Socket
Socket
Sign inDemoInstall

xero-node

Package Overview
Dependencies
88
Maintainers
3
Versions
164
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.35.0 to 4.36.0

8

dist/gen/api/appStoreApi.d.ts

@@ -5,3 +5,3 @@ /**

*
* The version of the OpenAPI document: 2.38.0
* The version of the OpenAPI document: 2.40.0
* Contact: api@xero.com

@@ -72,4 +72,5 @@ *

* @param createUsageRecord Contains the quantity for the usage record to create
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
postUsageRecords(subscriptionId: string, subscriptionItemId: string, createUsageRecord: CreateUsageRecord, options?: {
postUsageRecords(subscriptionId: string, subscriptionItemId: string, createUsageRecord: CreateUsageRecord, idempotencyKey?: string, options?: {
headers: {

@@ -89,4 +90,5 @@ [name: string]: string;

* @param updateUsageRecord Contains the quantity for the usage record to update
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
putUsageRecords(subscriptionId: string, subscriptionItemId: string, usageRecordId: string, updateUsageRecord: UpdateUsageRecord, options?: {
putUsageRecords(subscriptionId: string, subscriptionItemId: string, usageRecordId: string, updateUsageRecord: UpdateUsageRecord, idempotencyKey?: string, options?: {
headers: {

@@ -93,0 +95,0 @@ [name: string]: string;

@@ -6,3 +6,3 @@ "use strict";

*
* The version of the OpenAPI document: 2.38.0
* The version of the OpenAPI document: 2.40.0
* Contact: api@xero.com

@@ -38,3 +38,3 @@ *

this._basePath = defaultBasePath;
this.defaultHeaders = { 'user-agent': 'xero-node-4.35.0' };
this.defaultHeaders = { 'user-agent': 'xero-node-4.36.0' };
this._useQuerystring = false;

@@ -195,4 +195,5 @@ this.binaryHeaders = {};

* @param createUsageRecord Contains the quantity for the usage record to create
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
postUsageRecords(subscriptionId, subscriptionItemId, createUsageRecord, options = { headers: {} }) {
postUsageRecords(subscriptionId, subscriptionItemId, createUsageRecord, idempotencyKey, options = { headers: {} }) {
return __awaiter(this, void 0, void 0, function* () {

@@ -217,2 +218,3 @@ const localVarPath = this.basePath + '/subscriptions/{subscriptionId}/items/{subscriptionItemId}/usage-records'

}
localVarHeaderParams['Idempotency-Key'] = models_1.ObjectSerializer.serialize(idempotencyKey, "string");
Object.assign(localVarHeaderParams, options.headers);

@@ -267,4 +269,5 @@ let localVarUseFormData = false;

* @param updateUsageRecord Contains the quantity for the usage record to update
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
putUsageRecords(subscriptionId, subscriptionItemId, usageRecordId, updateUsageRecord, options = { headers: {} }) {
putUsageRecords(subscriptionId, subscriptionItemId, usageRecordId, updateUsageRecord, idempotencyKey, options = { headers: {} }) {
return __awaiter(this, void 0, void 0, function* () {

@@ -294,2 +297,3 @@ const localVarPath = this.basePath + '/subscriptions/{subscriptionId}/items/{subscriptionItemId}/usage-records/{usageRecordId}'

}
localVarHeaderParams['Idempotency-Key'] = models_1.ObjectSerializer.serialize(idempotencyKey, "string");
Object.assign(localVarHeaderParams, options.headers);

@@ -296,0 +300,0 @@ let localVarUseFormData = false;

@@ -5,3 +5,3 @@ /**

*
* The version of the OpenAPI document: 2.38.0
* The version of the OpenAPI document: 2.40.0
* Contact: api@xero.com

@@ -45,4 +45,5 @@ *

* @param asset Fixed asset you are creating
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createAsset(xeroTenantId: string, asset: Asset, options?: {
createAsset(xeroTenantId: string, asset: Asset, idempotencyKey?: string, options?: {
headers: {

@@ -59,5 +60,6 @@ [name: string]: string;

* @param xeroTenantId Xero identifier for Tenant
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
* @param assetType Asset type to add
*/
createAssetType(xeroTenantId: string, assetType?: AssetType, options?: {
createAssetType(xeroTenantId: string, idempotencyKey?: string, assetType?: AssetType, options?: {
headers: {

@@ -64,0 +66,0 @@ [name: string]: string;

@@ -6,3 +6,3 @@ "use strict";

*
* The version of the OpenAPI document: 2.38.0
* The version of the OpenAPI document: 2.40.0
* Contact: api@xero.com

@@ -38,3 +38,3 @@ *

this._basePath = defaultBasePath;
this.defaultHeaders = { 'user-agent': 'xero-node-4.35.0' };
this.defaultHeaders = { 'user-agent': 'xero-node-4.36.0' };
this._useQuerystring = false;

@@ -80,4 +80,5 @@ this.binaryHeaders = {};

* @param asset Fixed asset you are creating
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createAsset(xeroTenantId, asset, options = { headers: {} }) {
createAsset(xeroTenantId, asset, idempotencyKey, options = { headers: {} }) {
return __awaiter(this, void 0, void 0, function* () {

@@ -97,2 +98,3 @@ const localVarPath = this.basePath + '/Assets';

localVarHeaderParams['xero-tenant-id'] = models_1.ObjectSerializer.serialize(xeroTenantId, "string");
localVarHeaderParams['Idempotency-Key'] = models_1.ObjectSerializer.serialize(idempotencyKey, "string");
Object.assign(localVarHeaderParams, options.headers);

@@ -144,5 +146,6 @@ let localVarUseFormData = false;

* @param xeroTenantId Xero identifier for Tenant
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
* @param assetType Asset type to add
*/
createAssetType(xeroTenantId, assetType, options = { headers: {} }) {
createAssetType(xeroTenantId, idempotencyKey, assetType, options = { headers: {} }) {
return __awaiter(this, void 0, void 0, function* () {

@@ -158,2 +161,3 @@ const localVarPath = this.basePath + '/AssetTypes';

localVarHeaderParams['xero-tenant-id'] = models_1.ObjectSerializer.serialize(xeroTenantId, "string");
localVarHeaderParams['Idempotency-Key'] = models_1.ObjectSerializer.serialize(idempotencyKey, "string");
Object.assign(localVarHeaderParams, options.headers);

@@ -160,0 +164,0 @@ let localVarUseFormData = false;

@@ -5,3 +5,3 @@ /**

*
* The version of the OpenAPI document: 2.38.0
* The version of the OpenAPI document: 2.40.0
* Contact: api@xero.com

@@ -44,4 +44,5 @@ *

* @param feedConnections Feed Connection(s) array object in the body
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createFeedConnections(xeroTenantId: string, feedConnections: FeedConnections, options?: {
createFeedConnections(xeroTenantId: string, feedConnections: FeedConnections, idempotencyKey?: string, options?: {
headers: {

@@ -58,5 +59,6 @@ [name: string]: string;

* @param xeroTenantId Xero identifier for Tenant
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
* @param statements Statements array of objects in the body
*/
createStatements(xeroTenantId: string, statements?: Statements, options?: {
createStatements(xeroTenantId: string, idempotencyKey?: string, statements?: Statements, options?: {
headers: {

@@ -74,4 +76,5 @@ [name: string]: string;

* @param feedConnections Feed Connections array object in the body
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
deleteFeedConnections(xeroTenantId: string, feedConnections: FeedConnections, options?: {
deleteFeedConnections(xeroTenantId: string, feedConnections: FeedConnections, idempotencyKey?: string, options?: {
headers: {

@@ -78,0 +81,0 @@ [name: string]: string;

@@ -6,3 +6,3 @@ "use strict";

*
* The version of the OpenAPI document: 2.38.0
* The version of the OpenAPI document: 2.40.0
* Contact: api@xero.com

@@ -38,3 +38,3 @@ *

this._basePath = defaultBasePath;
this.defaultHeaders = { 'user-agent': 'xero-node-4.35.0' };
this.defaultHeaders = { 'user-agent': 'xero-node-4.36.0' };
this._useQuerystring = false;

@@ -80,4 +80,5 @@ this.binaryHeaders = {};

* @param feedConnections Feed Connection(s) array object in the body
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createFeedConnections(xeroTenantId, feedConnections, options = { headers: {} }) {
createFeedConnections(xeroTenantId, feedConnections, idempotencyKey, options = { headers: {} }) {
return __awaiter(this, void 0, void 0, function* () {

@@ -97,2 +98,3 @@ const localVarPath = this.basePath + '/FeedConnections';

localVarHeaderParams['Xero-Tenant-Id'] = models_1.ObjectSerializer.serialize(xeroTenantId, "string");
localVarHeaderParams['Idempotency-Key'] = models_1.ObjectSerializer.serialize(idempotencyKey, "string");
Object.assign(localVarHeaderParams, options.headers);

@@ -144,5 +146,6 @@ let localVarUseFormData = false;

* @param xeroTenantId Xero identifier for Tenant
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
* @param statements Statements array of objects in the body
*/
createStatements(xeroTenantId, statements, options = { headers: {} }) {
createStatements(xeroTenantId, idempotencyKey, statements, options = { headers: {} }) {
return __awaiter(this, void 0, void 0, function* () {

@@ -158,2 +161,3 @@ const localVarPath = this.basePath + '/Statements';

localVarHeaderParams['Xero-Tenant-Id'] = models_1.ObjectSerializer.serialize(xeroTenantId, "string");
localVarHeaderParams['Idempotency-Key'] = models_1.ObjectSerializer.serialize(idempotencyKey, "string");
Object.assign(localVarHeaderParams, options.headers);

@@ -206,4 +210,5 @@ let localVarUseFormData = false;

* @param feedConnections Feed Connections array object in the body
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
deleteFeedConnections(xeroTenantId, feedConnections, options = { headers: {} }) {
deleteFeedConnections(xeroTenantId, feedConnections, idempotencyKey, options = { headers: {} }) {
return __awaiter(this, void 0, void 0, function* () {

@@ -223,2 +228,3 @@ const localVarPath = this.basePath + '/FeedConnections/DeleteRequests';

localVarHeaderParams['Xero-Tenant-Id'] = models_1.ObjectSerializer.serialize(xeroTenantId, "string");
localVarHeaderParams['Idempotency-Key'] = models_1.ObjectSerializer.serialize(idempotencyKey, "string");
Object.assign(localVarHeaderParams, options.headers);

@@ -225,0 +231,0 @@ let localVarUseFormData = false;

@@ -5,3 +5,3 @@ /**

*
* The version of the OpenAPI document: 2.38.0
* The version of the OpenAPI document: 2.40.0
* Contact: api@xero.com

@@ -47,5 +47,6 @@ *

* @param fileId File id for single object
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
* @param association
*/
createFileAssociation(xeroTenantId: string, fileId: string, association?: Association, options?: {
createFileAssociation(xeroTenantId: string, fileId: string, idempotencyKey?: string, association?: Association, options?: {
headers: {

@@ -62,5 +63,6 @@ [name: string]: string;

* @param xeroTenantId Xero identifier for Tenant
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
* @param folder
*/
createFolder(xeroTenantId: string, folder?: Folder, options?: {
createFolder(xeroTenantId: string, idempotencyKey?: string, folder?: Folder, options?: {
headers: {

@@ -248,5 +250,6 @@ [name: string]: string;

* @param fileId File id for single object
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
* @param fileObject
*/
updateFile(xeroTenantId: string, fileId: string, fileObject?: FileObject, options?: {
updateFile(xeroTenantId: string, fileId: string, idempotencyKey?: string, fileObject?: FileObject, options?: {
headers: {

@@ -265,4 +268,5 @@ [name: string]: string;

* @param folder
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
updateFolder(xeroTenantId: string, folderId: string, folder: Folder, options?: {
updateFolder(xeroTenantId: string, folderId: string, folder: Folder, idempotencyKey?: string, options?: {
headers: {

@@ -282,5 +286,6 @@ [name: string]: string;

* @param filename
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
* @param mimeType
*/
uploadFile(xeroTenantId: string, body: fs.ReadStream, name: string, filename: string, mimeType?: string, options?: {
uploadFile(xeroTenantId: string, body: fs.ReadStream, name: string, filename: string, idempotencyKey?: string, mimeType?: string, options?: {
headers: {

@@ -301,5 +306,6 @@ [name: string]: string;

* @param filename
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
* @param mimeType
*/
uploadFileToFolder(xeroTenantId: string, folderId: string, body: fs.ReadStream, name: string, filename: string, mimeType?: string, options?: {
uploadFileToFolder(xeroTenantId: string, folderId: string, body: fs.ReadStream, name: string, filename: string, idempotencyKey?: string, mimeType?: string, options?: {
headers: {

@@ -306,0 +312,0 @@ [name: string]: string;

@@ -5,3 +5,3 @@ /**

*
* The version of the OpenAPI document: 2.38.0
* The version of the OpenAPI document: 2.40.0
* Contact: api@xero.com

@@ -8,0 +8,0 @@ *

@@ -6,3 +6,3 @@ "use strict";

*
* The version of the OpenAPI document: 2.38.0
* The version of the OpenAPI document: 2.40.0
* Contact: api@xero.com

@@ -38,3 +38,3 @@ *

this._basePath = defaultBasePath;
this.defaultHeaders = { 'user-agent': 'xero-node-4.35.0' };
this.defaultHeaders = { 'user-agent': 'xero-node-4.36.0' };
this._useQuerystring = false;

@@ -41,0 +41,0 @@ this.binaryHeaders = {};

@@ -5,3 +5,3 @@ /**

*
* The version of the OpenAPI document: 2.38.0
* The version of the OpenAPI document: 2.40.0
* Contact: api@xero.com

@@ -60,4 +60,5 @@ *

* @param leaveApplicationID Leave Application id for single object
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
approveLeaveApplication(xeroTenantId: string, leaveApplicationID: string, options?: {
approveLeaveApplication(xeroTenantId: string, leaveApplicationID: string, idempotencyKey?: string, options?: {
headers: {

@@ -75,4 +76,5 @@ [name: string]: string;

* @param employee
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createEmployee(xeroTenantId: string, employee: Array<Employee>, options?: {
createEmployee(xeroTenantId: string, employee: Array<Employee>, idempotencyKey?: string, options?: {
headers: {

@@ -90,4 +92,5 @@ [name: string]: string;

* @param leaveApplication
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createLeaveApplication(xeroTenantId: string, leaveApplication: Array<LeaveApplication>, options?: {
createLeaveApplication(xeroTenantId: string, leaveApplication: Array<LeaveApplication>, idempotencyKey?: string, options?: {
headers: {

@@ -105,4 +108,5 @@ [name: string]: string;

* @param payItem
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createPayItem(xeroTenantId: string, payItem: PayItem, options?: {
createPayItem(xeroTenantId: string, payItem: PayItem, idempotencyKey?: string, options?: {
headers: {

@@ -120,4 +124,5 @@ [name: string]: string;

* @param payRun
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createPayRun(xeroTenantId: string, payRun: Array<PayRun>, options?: {
createPayRun(xeroTenantId: string, payRun: Array<PayRun>, idempotencyKey?: string, options?: {
headers: {

@@ -135,4 +140,5 @@ [name: string]: string;

* @param payrollCalendar
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createPayrollCalendar(xeroTenantId: string, payrollCalendar: Array<PayrollCalendar>, options?: {
createPayrollCalendar(xeroTenantId: string, payrollCalendar: Array<PayrollCalendar>, idempotencyKey?: string, options?: {
headers: {

@@ -150,4 +156,5 @@ [name: string]: string;

* @param superFund
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createSuperfund(xeroTenantId: string, superFund: Array<SuperFund>, options?: {
createSuperfund(xeroTenantId: string, superFund: Array<SuperFund>, idempotencyKey?: string, options?: {
headers: {

@@ -165,4 +172,5 @@ [name: string]: string;

* @param timesheet
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createTimesheet(xeroTenantId: string, timesheet: Array<Timesheet>, options?: {
createTimesheet(xeroTenantId: string, timesheet: Array<Timesheet>, idempotencyKey?: string, options?: {
headers: {

@@ -442,4 +450,5 @@ [name: string]: string;

* @param leaveApplicationID Leave Application id for single object
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
rejectLeaveApplication(xeroTenantId: string, leaveApplicationID: string, options?: {
rejectLeaveApplication(xeroTenantId: string, leaveApplicationID: string, idempotencyKey?: string, options?: {
headers: {

@@ -457,5 +466,6 @@ [name: string]: string;

* @param employeeID Employee id for single object
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
* @param employee
*/
updateEmployee(xeroTenantId: string, employeeID: string, employee?: Array<Employee>, options?: {
updateEmployee(xeroTenantId: string, employeeID: string, idempotencyKey?: string, employee?: Array<Employee>, options?: {
headers: {

@@ -474,4 +484,5 @@ [name: string]: string;

* @param leaveApplication
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
updateLeaveApplication(xeroTenantId: string, leaveApplicationID: string, leaveApplication: Array<LeaveApplication>, options?: {
updateLeaveApplication(xeroTenantId: string, leaveApplicationID: string, leaveApplication: Array<LeaveApplication>, idempotencyKey?: string, options?: {
headers: {

@@ -489,5 +500,6 @@ [name: string]: string;

* @param payRunID PayRun id for single object
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
* @param payRun
*/
updatePayRun(xeroTenantId: string, payRunID: string, payRun?: Array<PayRun>, options?: {
updatePayRun(xeroTenantId: string, payRunID: string, idempotencyKey?: string, payRun?: Array<PayRun>, options?: {
headers: {

@@ -505,5 +517,6 @@ [name: string]: string;

* @param payslipID Payslip id for single object
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
* @param payslipLines
*/
updatePayslip(xeroTenantId: string, payslipID: string, payslipLines?: Array<PayslipLines>, options?: {
updatePayslip(xeroTenantId: string, payslipID: string, idempotencyKey?: string, payslipLines?: Array<PayslipLines>, options?: {
headers: {

@@ -521,5 +534,6 @@ [name: string]: string;

* @param superFundID Superfund id for single object
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
* @param superFund
*/
updateSuperfund(xeroTenantId: string, superFundID: string, superFund?: Array<SuperFund>, options?: {
updateSuperfund(xeroTenantId: string, superFundID: string, idempotencyKey?: string, superFund?: Array<SuperFund>, options?: {
headers: {

@@ -537,5 +551,6 @@ [name: string]: string;

* @param timesheetID Timesheet id for single object
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
* @param timesheet
*/
updateTimesheet(xeroTenantId: string, timesheetID: string, timesheet?: Array<Timesheet>, options?: {
updateTimesheet(xeroTenantId: string, timesheetID: string, idempotencyKey?: string, timesheet?: Array<Timesheet>, options?: {
headers: {

@@ -542,0 +557,0 @@ [name: string]: string;

@@ -5,3 +5,3 @@ /**

*
* The version of the OpenAPI document: 2.38.0
* The version of the OpenAPI document: 2.40.0
* Contact: api@xero.com

@@ -101,4 +101,5 @@ *

* @param timesheetID Identifier for the timesheet
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
approveTimesheet(xeroTenantId: string, timesheetID: string, options?: {
approveTimesheet(xeroTenantId: string, timesheetID: string, idempotencyKey?: string, options?: {
headers: {

@@ -116,4 +117,5 @@ [name: string]: string;

* @param deduction
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createDeduction(xeroTenantId: string, deduction: Deduction, options?: {
createDeduction(xeroTenantId: string, deduction: Deduction, idempotencyKey?: string, options?: {
headers: {

@@ -131,4 +133,5 @@ [name: string]: string;

* @param earningsRate
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createEarningsRate(xeroTenantId: string, earningsRate: EarningsRate, options?: {
createEarningsRate(xeroTenantId: string, earningsRate: EarningsRate, idempotencyKey?: string, options?: {
headers: {

@@ -146,4 +149,5 @@ [name: string]: string;

* @param employee
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createEmployee(xeroTenantId: string, employee: Employee, options?: {
createEmployee(xeroTenantId: string, employee: Employee, idempotencyKey?: string, options?: {
headers: {

@@ -162,4 +166,5 @@ [name: string]: string;

* @param earningsTemplate
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createEmployeeEarningsTemplate(xeroTenantId: string, employeeID: string, earningsTemplate: EarningsTemplate, options?: {
createEmployeeEarningsTemplate(xeroTenantId: string, employeeID: string, earningsTemplate: EarningsTemplate, idempotencyKey?: string, options?: {
headers: {

@@ -178,4 +183,5 @@ [name: string]: string;

* @param employeeLeave
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createEmployeeLeave(xeroTenantId: string, employeeID: string, employeeLeave: EmployeeLeave, options?: {
createEmployeeLeave(xeroTenantId: string, employeeID: string, employeeLeave: EmployeeLeave, idempotencyKey?: string, options?: {
headers: {

@@ -194,4 +200,5 @@ [name: string]: string;

* @param employeeLeaveSetup
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createEmployeeLeaveSetup(xeroTenantId: string, employeeID: string, employeeLeaveSetup: EmployeeLeaveSetup, options?: {
createEmployeeLeaveSetup(xeroTenantId: string, employeeID: string, employeeLeaveSetup: EmployeeLeaveSetup, idempotencyKey?: string, options?: {
headers: {

@@ -210,4 +217,5 @@ [name: string]: string;

* @param employeeLeaveType
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createEmployeeLeaveType(xeroTenantId: string, employeeID: string, employeeLeaveType: EmployeeLeaveType, options?: {
createEmployeeLeaveType(xeroTenantId: string, employeeID: string, employeeLeaveType: EmployeeLeaveType, idempotencyKey?: string, options?: {
headers: {

@@ -226,4 +234,5 @@ [name: string]: string;

* @param employeeOpeningBalance
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createEmployeeOpeningBalances(xeroTenantId: string, employeeID: string, employeeOpeningBalance: Array<EmployeeOpeningBalance>, options?: {
createEmployeeOpeningBalances(xeroTenantId: string, employeeID: string, employeeOpeningBalance: Array<EmployeeOpeningBalance>, idempotencyKey?: string, options?: {
headers: {

@@ -242,4 +251,5 @@ [name: string]: string;

* @param paymentMethod
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createEmployeePaymentMethod(xeroTenantId: string, employeeID: string, paymentMethod: PaymentMethod, options?: {
createEmployeePaymentMethod(xeroTenantId: string, employeeID: string, paymentMethod: PaymentMethod, idempotencyKey?: string, options?: {
headers: {

@@ -258,4 +268,5 @@ [name: string]: string;

* @param salaryAndWage
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createEmployeeSalaryAndWage(xeroTenantId: string, employeeID: string, salaryAndWage: SalaryAndWage, options?: {
createEmployeeSalaryAndWage(xeroTenantId: string, employeeID: string, salaryAndWage: SalaryAndWage, idempotencyKey?: string, options?: {
headers: {

@@ -274,4 +285,5 @@ [name: string]: string;

* @param employment
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createEmployment(xeroTenantId: string, employeeID: string, employment: Employment, options?: {
createEmployment(xeroTenantId: string, employeeID: string, employment: Employment, idempotencyKey?: string, options?: {
headers: {

@@ -289,4 +301,5 @@ [name: string]: string;

* @param leaveType
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createLeaveType(xeroTenantId: string, leaveType: LeaveType, options?: {
createLeaveType(xeroTenantId: string, leaveType: LeaveType, idempotencyKey?: string, options?: {
headers: {

@@ -305,4 +318,5 @@ [name: string]: string;

* @param earningsTemplate
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createMultipleEmployeeEarningsTemplate(xeroTenantId: string, employeeID: string, earningsTemplate: Array<EarningsTemplate>, options?: {
createMultipleEmployeeEarningsTemplate(xeroTenantId: string, employeeID: string, earningsTemplate: Array<EarningsTemplate>, idempotencyKey?: string, options?: {
headers: {

@@ -320,4 +334,5 @@ [name: string]: string;

* @param payRun
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createPayRun(xeroTenantId: string, payRun: PayRun, options?: {
createPayRun(xeroTenantId: string, payRun: PayRun, idempotencyKey?: string, options?: {
headers: {

@@ -335,4 +350,5 @@ [name: string]: string;

* @param payRunCalendar
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createPayRunCalendar(xeroTenantId: string, payRunCalendar: PayRunCalendar, options?: {
createPayRunCalendar(xeroTenantId: string, payRunCalendar: PayRunCalendar, idempotencyKey?: string, options?: {
headers: {

@@ -350,4 +366,5 @@ [name: string]: string;

* @param reimbursement
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createReimbursement(xeroTenantId: string, reimbursement: Reimbursement, options?: {
createReimbursement(xeroTenantId: string, reimbursement: Reimbursement, idempotencyKey?: string, options?: {
headers: {

@@ -365,4 +382,5 @@ [name: string]: string;

* @param benefit
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createSuperannuation(xeroTenantId: string, benefit: Benefit, options?: {
createSuperannuation(xeroTenantId: string, benefit: Benefit, idempotencyKey?: string, options?: {
headers: {

@@ -380,4 +398,5 @@ [name: string]: string;

* @param timesheet
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createTimesheet(xeroTenantId: string, timesheet: Timesheet, options?: {
createTimesheet(xeroTenantId: string, timesheet: Timesheet, idempotencyKey?: string, options?: {
headers: {

@@ -396,4 +415,5 @@ [name: string]: string;

* @param timesheetLine
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createTimesheetLine(xeroTenantId: string, timesheetID: string, timesheetLine: TimesheetLine, options?: {
createTimesheetLine(xeroTenantId: string, timesheetID: string, timesheetLine: TimesheetLine, idempotencyKey?: string, options?: {
headers: {

@@ -972,4 +992,5 @@ [name: string]: string;

* @param timesheetID Identifier for the timesheet
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
revertTimesheet(xeroTenantId: string, timesheetID: string, options?: {
revertTimesheet(xeroTenantId: string, timesheetID: string, idempotencyKey?: string, options?: {
headers: {

@@ -988,4 +1009,5 @@ [name: string]: string;

* @param employee
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
updateEmployee(xeroTenantId: string, employeeID: string, employee: Employee, options?: {
updateEmployee(xeroTenantId: string, employeeID: string, employee: Employee, idempotencyKey?: string, options?: {
headers: {

@@ -1005,4 +1027,5 @@ [name: string]: string;

* @param earningsTemplate
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
updateEmployeeEarningsTemplate(xeroTenantId: string, employeeID: string, payTemplateEarningID: string, earningsTemplate: EarningsTemplate, options?: {
updateEmployeeEarningsTemplate(xeroTenantId: string, employeeID: string, payTemplateEarningID: string, earningsTemplate: EarningsTemplate, idempotencyKey?: string, options?: {
headers: {

@@ -1022,4 +1045,5 @@ [name: string]: string;

* @param employeeLeave
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
updateEmployeeLeave(xeroTenantId: string, employeeID: string, leaveID: string, employeeLeave: EmployeeLeave, options?: {
updateEmployeeLeave(xeroTenantId: string, employeeID: string, leaveID: string, employeeLeave: EmployeeLeave, idempotencyKey?: string, options?: {
headers: {

@@ -1039,4 +1063,5 @@ [name: string]: string;

* @param salaryAndWage
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
updateEmployeeSalaryAndWage(xeroTenantId: string, employeeID: string, salaryAndWagesID: string, salaryAndWage: SalaryAndWage, options?: {
updateEmployeeSalaryAndWage(xeroTenantId: string, employeeID: string, salaryAndWagesID: string, salaryAndWage: SalaryAndWage, idempotencyKey?: string, options?: {
headers: {

@@ -1055,4 +1080,5 @@ [name: string]: string;

* @param employeeTax
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
updateEmployeeTax(xeroTenantId: string, employeeID: string, employeeTax: EmployeeTax, options?: {
updateEmployeeTax(xeroTenantId: string, employeeID: string, employeeTax: EmployeeTax, idempotencyKey?: string, options?: {
headers: {

@@ -1071,4 +1097,5 @@ [name: string]: string;

* @param payRun
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
updatePayRun(xeroTenantId: string, payRunID: string, payRun: PayRun, options?: {
updatePayRun(xeroTenantId: string, payRunID: string, payRun: PayRun, idempotencyKey?: string, options?: {
headers: {

@@ -1087,4 +1114,5 @@ [name: string]: string;

* @param paySlip
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
updatePaySlipLineItems(xeroTenantId: string, paySlipID: string, paySlip: PaySlip, options?: {
updatePaySlipLineItems(xeroTenantId: string, paySlipID: string, paySlip: PaySlip, idempotencyKey?: string, options?: {
headers: {

@@ -1104,4 +1132,5 @@ [name: string]: string;

* @param timesheetLine
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
updateTimesheetLine(xeroTenantId: string, timesheetID: string, timesheetLineID: string, timesheetLine: TimesheetLine, options?: {
updateTimesheetLine(xeroTenantId: string, timesheetID: string, timesheetLineID: string, timesheetLine: TimesheetLine, idempotencyKey?: string, options?: {
headers: {

@@ -1108,0 +1137,0 @@ [name: string]: string;

@@ -5,3 +5,3 @@ /**

*
* The version of the OpenAPI document: 2.38.0
* The version of the OpenAPI document: 2.40.0
* Contact: api@xero.com

@@ -101,4 +101,5 @@ *

* @param timesheetID Identifier for the timesheet
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
approveTimesheet(xeroTenantId: string, timesheetID: string, options?: {
approveTimesheet(xeroTenantId: string, timesheetID: string, idempotencyKey?: string, options?: {
headers: {

@@ -116,4 +117,5 @@ [name: string]: string;

* @param benefit
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createBenefit(xeroTenantId: string, benefit: Benefit, options?: {
createBenefit(xeroTenantId: string, benefit: Benefit, idempotencyKey?: string, options?: {
headers: {

@@ -131,4 +133,5 @@ [name: string]: string;

* @param deduction
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createDeduction(xeroTenantId: string, deduction: Deduction, options?: {
createDeduction(xeroTenantId: string, deduction: Deduction, idempotencyKey?: string, options?: {
headers: {

@@ -146,4 +149,5 @@ [name: string]: string;

* @param earningsRate
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createEarningsRate(xeroTenantId: string, earningsRate: EarningsRate, options?: {
createEarningsRate(xeroTenantId: string, earningsRate: EarningsRate, idempotencyKey?: string, options?: {
headers: {

@@ -161,4 +165,5 @@ [name: string]: string;

* @param employee
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createEmployee(xeroTenantId: string, employee: Employee, options?: {
createEmployee(xeroTenantId: string, employee: Employee, idempotencyKey?: string, options?: {
headers: {

@@ -177,4 +182,5 @@ [name: string]: string;

* @param earningsTemplate
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createEmployeeEarningsTemplate(xeroTenantId: string, employeeID: string, earningsTemplate: EarningsTemplate, options?: {
createEmployeeEarningsTemplate(xeroTenantId: string, employeeID: string, earningsTemplate: EarningsTemplate, idempotencyKey?: string, options?: {
headers: {

@@ -193,4 +199,5 @@ [name: string]: string;

* @param employeeLeave
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createEmployeeLeave(xeroTenantId: string, employeeID: string, employeeLeave: EmployeeLeave, options?: {
createEmployeeLeave(xeroTenantId: string, employeeID: string, employeeLeave: EmployeeLeave, idempotencyKey?: string, options?: {
headers: {

@@ -209,4 +216,5 @@ [name: string]: string;

* @param employeeLeaveType
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createEmployeeLeaveType(xeroTenantId: string, employeeID: string, employeeLeaveType: EmployeeLeaveType, options?: {
createEmployeeLeaveType(xeroTenantId: string, employeeID: string, employeeLeaveType: EmployeeLeaveType, idempotencyKey?: string, options?: {
headers: {

@@ -225,4 +233,5 @@ [name: string]: string;

* @param employeeOpeningBalances
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createEmployeeOpeningBalances(xeroTenantId: string, employeeID: string, employeeOpeningBalances: EmployeeOpeningBalances, options?: {
createEmployeeOpeningBalances(xeroTenantId: string, employeeID: string, employeeOpeningBalances: EmployeeOpeningBalances, idempotencyKey?: string, options?: {
headers: {

@@ -241,4 +250,5 @@ [name: string]: string;

* @param paymentMethod
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createEmployeePaymentMethod(xeroTenantId: string, employeeID: string, paymentMethod: PaymentMethod, options?: {
createEmployeePaymentMethod(xeroTenantId: string, employeeID: string, paymentMethod: PaymentMethod, idempotencyKey?: string, options?: {
headers: {

@@ -257,4 +267,5 @@ [name: string]: string;

* @param salaryAndWage
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createEmployeeSalaryAndWage(xeroTenantId: string, employeeID: string, salaryAndWage: SalaryAndWage, options?: {
createEmployeeSalaryAndWage(xeroTenantId: string, employeeID: string, salaryAndWage: SalaryAndWage, idempotencyKey?: string, options?: {
headers: {

@@ -272,4 +283,5 @@ [name: string]: string;

* @param employeeStatutorySickLeave
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createEmployeeStatutorySickLeave(xeroTenantId: string, employeeStatutorySickLeave: EmployeeStatutorySickLeave, options?: {
createEmployeeStatutorySickLeave(xeroTenantId: string, employeeStatutorySickLeave: EmployeeStatutorySickLeave, idempotencyKey?: string, options?: {
headers: {

@@ -288,4 +300,5 @@ [name: string]: string;

* @param employment
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createEmployment(xeroTenantId: string, employeeID: string, employment: Employment, options?: {
createEmployment(xeroTenantId: string, employeeID: string, employment: Employment, idempotencyKey?: string, options?: {
headers: {

@@ -303,4 +316,5 @@ [name: string]: string;

* @param leaveType
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createLeaveType(xeroTenantId: string, leaveType: LeaveType, options?: {
createLeaveType(xeroTenantId: string, leaveType: LeaveType, idempotencyKey?: string, options?: {
headers: {

@@ -319,4 +333,5 @@ [name: string]: string;

* @param earningsTemplate
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createMultipleEmployeeEarningsTemplate(xeroTenantId: string, employeeID: string, earningsTemplate: Array<EarningsTemplate>, options?: {
createMultipleEmployeeEarningsTemplate(xeroTenantId: string, employeeID: string, earningsTemplate: Array<EarningsTemplate>, idempotencyKey?: string, options?: {
headers: {

@@ -334,4 +349,5 @@ [name: string]: string;

* @param payRunCalendar
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createPayRunCalendar(xeroTenantId: string, payRunCalendar: PayRunCalendar, options?: {
createPayRunCalendar(xeroTenantId: string, payRunCalendar: PayRunCalendar, idempotencyKey?: string, options?: {
headers: {

@@ -349,4 +365,5 @@ [name: string]: string;

* @param reimbursement
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createReimbursement(xeroTenantId: string, reimbursement: Reimbursement, options?: {
createReimbursement(xeroTenantId: string, reimbursement: Reimbursement, idempotencyKey?: string, options?: {
headers: {

@@ -364,4 +381,5 @@ [name: string]: string;

* @param timesheet
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createTimesheet(xeroTenantId: string, timesheet: Timesheet, options?: {
createTimesheet(xeroTenantId: string, timesheet: Timesheet, idempotencyKey?: string, options?: {
headers: {

@@ -380,4 +398,5 @@ [name: string]: string;

* @param timesheetLine
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createTimesheetLine(xeroTenantId: string, timesheetID: string, timesheetLine: TimesheetLine, options?: {
createTimesheetLine(xeroTenantId: string, timesheetID: string, timesheetLine: TimesheetLine, idempotencyKey?: string, options?: {
headers: {

@@ -1016,4 +1035,5 @@ [name: string]: string;

* @param timesheetID Identifier for the timesheet
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
revertTimesheet(xeroTenantId: string, timesheetID: string, options?: {
revertTimesheet(xeroTenantId: string, timesheetID: string, idempotencyKey?: string, options?: {
headers: {

@@ -1032,4 +1052,5 @@ [name: string]: string;

* @param employee
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
updateEmployee(xeroTenantId: string, employeeID: string, employee: Employee, options?: {
updateEmployee(xeroTenantId: string, employeeID: string, employee: Employee, idempotencyKey?: string, options?: {
headers: {

@@ -1049,4 +1070,5 @@ [name: string]: string;

* @param earningsTemplate
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
updateEmployeeEarningsTemplate(xeroTenantId: string, employeeID: string, payTemplateEarningID: string, earningsTemplate: EarningsTemplate, options?: {
updateEmployeeEarningsTemplate(xeroTenantId: string, employeeID: string, payTemplateEarningID: string, earningsTemplate: EarningsTemplate, idempotencyKey?: string, options?: {
headers: {

@@ -1066,4 +1088,5 @@ [name: string]: string;

* @param employeeLeave
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
updateEmployeeLeave(xeroTenantId: string, employeeID: string, leaveID: string, employeeLeave: EmployeeLeave, options?: {
updateEmployeeLeave(xeroTenantId: string, employeeID: string, leaveID: string, employeeLeave: EmployeeLeave, idempotencyKey?: string, options?: {
headers: {

@@ -1082,4 +1105,5 @@ [name: string]: string;

* @param employeeOpeningBalances
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
updateEmployeeOpeningBalances(xeroTenantId: string, employeeID: string, employeeOpeningBalances: EmployeeOpeningBalances, options?: {
updateEmployeeOpeningBalances(xeroTenantId: string, employeeID: string, employeeOpeningBalances: EmployeeOpeningBalances, idempotencyKey?: string, options?: {
headers: {

@@ -1099,4 +1123,5 @@ [name: string]: string;

* @param salaryAndWage
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
updateEmployeeSalaryAndWage(xeroTenantId: string, employeeID: string, salaryAndWagesID: string, salaryAndWage: SalaryAndWage, options?: {
updateEmployeeSalaryAndWage(xeroTenantId: string, employeeID: string, salaryAndWagesID: string, salaryAndWage: SalaryAndWage, idempotencyKey?: string, options?: {
headers: {

@@ -1115,4 +1140,5 @@ [name: string]: string;

* @param payRun
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
updatePayRun(xeroTenantId: string, payRunID: string, payRun: PayRun, options?: {
updatePayRun(xeroTenantId: string, payRunID: string, payRun: PayRun, idempotencyKey?: string, options?: {
headers: {

@@ -1132,4 +1158,5 @@ [name: string]: string;

* @param timesheetLine
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
updateTimesheetLine(xeroTenantId: string, timesheetID: string, timesheetLineID: string, timesheetLine: TimesheetLine, options?: {
updateTimesheetLine(xeroTenantId: string, timesheetID: string, timesheetLineID: string, timesheetLine: TimesheetLine, idempotencyKey?: string, options?: {
headers: {

@@ -1136,0 +1163,0 @@ [name: string]: string;

@@ -5,3 +5,3 @@ /**

*
* The version of the OpenAPI document: 2.38.0
* The version of the OpenAPI document: 2.40.0
* Contact: api@xero.com

@@ -52,4 +52,5 @@ *

* @param projectCreateOrUpdate Create a new project with ProjectCreateOrUpdate object
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createProject(xeroTenantId: string, projectCreateOrUpdate: ProjectCreateOrUpdate, options?: {
createProject(xeroTenantId: string, projectCreateOrUpdate: ProjectCreateOrUpdate, idempotencyKey?: string, options?: {
headers: {

@@ -68,4 +69,5 @@ [name: string]: string;

* @param taskCreateOrUpdate The task object you are creating
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createTask(xeroTenantId: string, projectId: string, taskCreateOrUpdate: TaskCreateOrUpdate, options?: {
createTask(xeroTenantId: string, projectId: string, taskCreateOrUpdate: TaskCreateOrUpdate, idempotencyKey?: string, options?: {
headers: {

@@ -84,4 +86,5 @@ [name: string]: string;

* @param timeEntryCreateOrUpdate The time entry object you are creating
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
createTimeEntry(xeroTenantId: string, projectId: string, timeEntryCreateOrUpdate: TimeEntryCreateOrUpdate, options?: {
createTimeEntry(xeroTenantId: string, projectId: string, timeEntryCreateOrUpdate: TimeEntryCreateOrUpdate, idempotencyKey?: string, options?: {
headers: {

@@ -249,4 +252,5 @@ [name: string]: string;

* @param projectPatch Update the status of an existing Project
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
patchProject(xeroTenantId: string, projectId: string, projectPatch: ProjectPatch, options?: {
patchProject(xeroTenantId: string, projectId: string, projectPatch: ProjectPatch, idempotencyKey?: string, options?: {
headers: {

@@ -265,4 +269,5 @@ [name: string]: string;

* @param projectCreateOrUpdate Request of type ProjectCreateOrUpdate
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
updateProject(xeroTenantId: string, projectId: string, projectCreateOrUpdate: ProjectCreateOrUpdate, options?: {
updateProject(xeroTenantId: string, projectId: string, projectCreateOrUpdate: ProjectCreateOrUpdate, idempotencyKey?: string, options?: {
headers: {

@@ -282,4 +287,5 @@ [name: string]: string;

* @param taskCreateOrUpdate The task object you are updating
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
updateTask(xeroTenantId: string, projectId: string, taskId: string, taskCreateOrUpdate: TaskCreateOrUpdate, options?: {
updateTask(xeroTenantId: string, projectId: string, taskId: string, taskCreateOrUpdate: TaskCreateOrUpdate, idempotencyKey?: string, options?: {
headers: {

@@ -299,4 +305,5 @@ [name: string]: string;

* @param timeEntryCreateOrUpdate The time entry object you are updating
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
*/
updateTimeEntry(xeroTenantId: string, projectId: string, timeEntryId: string, timeEntryCreateOrUpdate: TimeEntryCreateOrUpdate, options?: {
updateTimeEntry(xeroTenantId: string, projectId: string, timeEntryId: string, timeEntryCreateOrUpdate: TimeEntryCreateOrUpdate, idempotencyKey?: string, options?: {
headers: {

@@ -303,0 +310,0 @@ [name: string]: string;

@@ -22,7 +22,3 @@ /**

TERMLIAB,
PAYGLIABILITY,
PAYG,
SUPERANNUATIONEXPENSE,
SUPERANNUATIONLIABILITY,
WAGESEXPENSE
PAYG
}

@@ -26,8 +26,4 @@ "use strict";

AccountType[AccountType["TERMLIAB"] = 'TERMLIAB'] = "TERMLIAB";
AccountType[AccountType["PAYGLIABILITY"] = 'PAYGLIABILITY'] = "PAYGLIABILITY";
AccountType[AccountType["PAYG"] = 'PAYG'] = "PAYG";
AccountType[AccountType["SUPERANNUATIONEXPENSE"] = 'SUPERANNUATIONEXPENSE'] = "SUPERANNUATIONEXPENSE";
AccountType[AccountType["SUPERANNUATIONLIABILITY"] = 'SUPERANNUATIONLIABILITY'] = "SUPERANNUATIONLIABILITY";
AccountType[AccountType["WAGESEXPENSE"] = 'WAGESEXPENSE'] = "WAGESEXPENSE";
})(AccountType = exports.AccountType || (exports.AccountType = {}));
//# sourceMappingURL=accountType.js.map

@@ -7,2 +7,6 @@ import { CreditNote } from '././creditNote';

export declare class Allocation {
/**
* Xero generated unique identifier
*/
'allocationID'?: string;
'invoice': Invoice;

@@ -21,2 +25,6 @@ 'overpayment'?: Overpayment;

/**
* A flag that returns true when the allocation is succesfully deleted
*/
'isDeleted'?: boolean;
/**
* A string to indicate if a invoice status

@@ -23,0 +31,0 @@ */

@@ -12,2 +12,7 @@ "use strict";

{
"name": "allocationID",
"baseName": "AllocationID",
"type": "string"
},
{
"name": "invoice",

@@ -43,2 +48,7 @@ "baseName": "Invoice",

{
"name": "isDeleted",
"baseName": "IsDeleted",
"type": "boolean"
},
{
"name": "statusAttributeString",

@@ -45,0 +55,0 @@ "baseName": "StatusAttributeString",

@@ -55,6 +55,2 @@ import { Address } from '././address';

/**
* Skype user name of contact
*/
'skypeUserName'?: string;
/**
* See contact persons

@@ -61,0 +57,0 @@ */

@@ -62,7 +62,2 @@ "use strict";

{
"name": "skypeUserName",
"baseName": "SkypeUserName",
"type": "string"
},
{
"name": "contactPersons",

@@ -69,0 +64,0 @@ "baseName": "ContactPersons",

@@ -357,2 +357,3 @@ "use strict";

"TaxType": taxType_1.TaxType,
"TenNinetyNineContact.FederalTaxClassificationEnum": tenNinetyNineContact_1.TenNinetyNineContact.FederalTaxClassificationEnum,
"TimeZone": timeZone_1.TimeZone,

@@ -359,0 +360,0 @@ "TrackingCategory.StatusEnum": trackingCategory_1.TrackingCategory.StatusEnum,

@@ -90,2 +90,14 @@ export declare class TenNinetyNineContact {

'contactId'?: string;
/**
* Contact legal name
*/
'legalName'?: string;
/**
* Contact business name
*/
'businessName'?: string;
/**
* Contact federal tax classification
*/
'federalTaxClassification'?: TenNinetyNineContact.FederalTaxClassificationEnum;
static discriminator: string | undefined;

@@ -103,1 +115,12 @@ static attributeTypeMap: Array<{

}
export declare namespace TenNinetyNineContact {
enum FederalTaxClassificationEnum {
SOLEPROPRIETOR,
PARTNERSHIP,
TRUSTORESTATE,
NONPROFIT,
CCORP,
SCORP,
OTHER
}
}

@@ -120,5 +120,33 @@ "use strict";

"type": "string"
},
{
"name": "legalName",
"baseName": "LegalName",
"type": "string"
},
{
"name": "businessName",
"baseName": "BusinessName",
"type": "string"
},
{
"name": "federalTaxClassification",
"baseName": "FederalTaxClassification",
"type": "TenNinetyNineContact.FederalTaxClassificationEnum"
}
];
exports.TenNinetyNineContact = TenNinetyNineContact;
(function (TenNinetyNineContact) {
let FederalTaxClassificationEnum;
(function (FederalTaxClassificationEnum) {
FederalTaxClassificationEnum[FederalTaxClassificationEnum["SOLEPROPRIETOR"] = 'SOLE_PROPRIETOR'] = "SOLEPROPRIETOR";
FederalTaxClassificationEnum[FederalTaxClassificationEnum["PARTNERSHIP"] = 'PARTNERSHIP'] = "PARTNERSHIP";
FederalTaxClassificationEnum[FederalTaxClassificationEnum["TRUSTORESTATE"] = 'TRUST_OR_ESTATE'] = "TRUSTORESTATE";
FederalTaxClassificationEnum[FederalTaxClassificationEnum["NONPROFIT"] = 'NONPROFIT'] = "NONPROFIT";
FederalTaxClassificationEnum[FederalTaxClassificationEnum["CCORP"] = 'C_CORP'] = "CCORP";
FederalTaxClassificationEnum[FederalTaxClassificationEnum["SCORP"] = 'S_CORP'] = "SCORP";
FederalTaxClassificationEnum[FederalTaxClassificationEnum["OTHER"] = 'OTHER'] = "OTHER";
})(FederalTaxClassificationEnum = TenNinetyNineContact.FederalTaxClassificationEnum || (TenNinetyNineContact.FederalTaxClassificationEnum = {}));
})(TenNinetyNineContact = exports.TenNinetyNineContact || (exports.TenNinetyNineContact = {}));
exports.TenNinetyNineContact = TenNinetyNineContact;
//# sourceMappingURL=tenNinetyNineContact.js.map

@@ -11,3 +11,4 @@ export declare enum ProblemType {

ServiceUnavailable,
Unauthorized
Unauthorized,
RateLimitError
}

@@ -16,3 +16,4 @@ "use strict";

ProblemType[ProblemType["Unauthorized"] = 'unauthorized'] = "Unauthorized";
ProblemType[ProblemType["RateLimitError"] = 'rate-limit-error'] = "RateLimitError";
})(ProblemType = exports.ProblemType || (exports.ProblemType = {}));
//# sourceMappingURL=problemType.js.map
export declare enum LeavePeriodStatus {
SCHEDULED,
PROCESSED
PROCESSED,
REQUESTED,
REJECTED
}

@@ -8,3 +8,5 @@ "use strict";

LeavePeriodStatus[LeavePeriodStatus["PROCESSED"] = 'PROCESSED'] = "PROCESSED";
LeavePeriodStatus[LeavePeriodStatus["REQUESTED"] = 'REQUESTED'] = "REQUESTED";
LeavePeriodStatus[LeavePeriodStatus["REJECTED"] = 'REJECTED'] = "REJECTED";
})(LeavePeriodStatus = exports.LeavePeriodStatus || (exports.LeavePeriodStatus = {}));
//# sourceMappingURL=leavePeriodStatus.js.map
{
"name": "xero-node",
"version": "4.35.0",
"version": "4.36.0",
"description": "Xero NodeJS OAuth 2.0 client for xero-node",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc