xero-node 17.0.0 → 19.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gen/api/accountingApi.d.ts +37 -2
- package/dist/gen/api/accountingApi.js +164 -4
- package/dist/gen/api/accountingApi.js.map +1 -1
- package/dist/gen/api/appStoreApi.d.ts +1 -1
- package/dist/gen/api/appStoreApi.js +2 -2
- package/dist/gen/api/assetApi.d.ts +1 -1
- package/dist/gen/api/assetApi.js +2 -2
- package/dist/gen/api/bankfeedsApi.d.ts +1 -1
- package/dist/gen/api/bankfeedsApi.js +2 -2
- package/dist/gen/api/filesApi.d.ts +1 -1
- package/dist/gen/api/filesApi.js +2 -2
- package/dist/gen/api/financeApi.d.ts +1 -1
- package/dist/gen/api/financeApi.js +2 -2
- package/dist/gen/api/payrollAUApi.d.ts +1 -1
- package/dist/gen/api/payrollAUApi.js +2 -2
- package/dist/gen/api/payrollAUV2Api.d.ts +1 -1
- package/dist/gen/api/payrollAUV2Api.js +2 -2
- package/dist/gen/api/payrollNZApi.d.ts +1 -1
- package/dist/gen/api/payrollNZApi.js +2 -2
- package/dist/gen/api/payrollUKApi.d.ts +1 -1
- package/dist/gen/api/payrollUKApi.js +2 -2
- package/dist/gen/api/projectApi.d.ts +1 -1
- package/dist/gen/api/projectApi.js +2 -2
- package/dist/gen/model/accounting/bankTransfer.d.ts +19 -0
- package/dist/gen/model/accounting/bankTransfer.js +22 -0
- package/dist/gen/model/accounting/bankTransfer.js.map +1 -1
- package/dist/gen/model/accounting/bankTransferDelete.d.ts +21 -0
- package/dist/gen/model/accounting/bankTransferDelete.js +23 -0
- package/dist/gen/model/accounting/bankTransferDelete.js.map +1 -0
- package/dist/gen/model/accounting/bankTransferDeleteByUrlParam.d.ts +17 -0
- package/dist/gen/model/accounting/bankTransferDeleteByUrlParam.js +18 -0
- package/dist/gen/model/accounting/bankTransferDeleteByUrlParam.js.map +1 -0
- package/dist/gen/model/accounting/bankTransfersDelete.d.ts +15 -0
- package/dist/gen/model/accounting/bankTransfersDelete.js +18 -0
- package/dist/gen/model/accounting/bankTransfersDelete.js.map +1 -0
- package/dist/gen/model/accounting/creditNote.d.ts +4 -0
- package/dist/gen/model/accounting/creditNote.js +5 -0
- package/dist/gen/model/accounting/creditNote.js.map +1 -1
- package/dist/gen/model/accounting/invoice.d.ts +5 -1
- package/dist/gen/model/accounting/invoice.js +5 -0
- package/dist/gen/model/accounting/invoice.js.map +1 -1
- package/dist/gen/model/accounting/models.d.ts +4 -0
- package/dist/gen/model/accounting/models.js +13 -0
- package/dist/gen/model/accounting/models.js.map +1 -1
- package/dist/gen/model/accounting/organisation.d.ts +2 -1
- package/dist/gen/model/accounting/organisation.js +1 -0
- package/dist/gen/model/accounting/organisation.js.map +1 -1
- package/dist/gen/model/accounting/overpayment.d.ts +4 -0
- package/dist/gen/model/accounting/overpayment.js +5 -0
- package/dist/gen/model/accounting/overpayment.js.map +1 -1
- package/dist/gen/model/accounting/payment.d.ts +4 -0
- package/dist/gen/model/accounting/payment.js +5 -0
- package/dist/gen/model/accounting/payment.js.map +1 -1
- package/dist/gen/model/accounting/prepayment.d.ts +4 -0
- package/dist/gen/model/accounting/prepayment.js +5 -0
- package/dist/gen/model/accounting/prepayment.js.map +1 -1
- package/dist/gen/model/accounting/trackingReference.d.ts +29 -0
- package/dist/gen/model/accounting/trackingReference.js +33 -0
- package/dist/gen/model/accounting/trackingReference.js.map +1 -0
- package/dist/gen/model/payroll-au/earningsRate.d.ts +2 -2
- package/dist/gen/model/payroll-au/leaveLine.d.ts +2 -2
- package/dist/gen/model/payroll-au/leaveType.d.ts +2 -2
- package/dist/gen/model/payroll-au/taxDeclaration.d.ts +1 -1
- package/dist/model/ApiError.js +12 -10
- package/dist/model/ApiError.js.map +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Xero Accounting API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 16.1.0
|
|
6
6
|
* Contact: api@xero.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,7 +17,9 @@ import { Allocation } from '../model/accounting/allocation';
|
|
|
17
17
|
import { Allocations } from '../model/accounting/allocations';
|
|
18
18
|
import { Attachments } from '../model/accounting/attachments';
|
|
19
19
|
import { BankTransactions } from '../model/accounting/bankTransactions';
|
|
20
|
+
import { BankTransferDeleteByUrlParam } from '../model/accounting/bankTransferDeleteByUrlParam';
|
|
20
21
|
import { BankTransfers } from '../model/accounting/bankTransfers';
|
|
22
|
+
import { BankTransfersDelete } from '../model/accounting/bankTransfersDelete';
|
|
21
23
|
import { BatchPaymentDelete } from '../model/accounting/batchPaymentDelete';
|
|
22
24
|
import { BatchPaymentDeleteByUrlParam } from '../model/accounting/batchPaymentDeleteByUrlParam';
|
|
23
25
|
import { BatchPayments } from '../model/accounting/batchPayments';
|
|
@@ -986,6 +988,38 @@ export declare class AccountingApi {
|
|
|
986
988
|
response: AxiosResponse;
|
|
987
989
|
body: Accounts;
|
|
988
990
|
}>;
|
|
991
|
+
/**
|
|
992
|
+
*
|
|
993
|
+
* @summary Deletes a specific bank transfer
|
|
994
|
+
* @param xeroTenantId Xero identifier for Tenant
|
|
995
|
+
* @param bankTransferID Xero generated unique identifier for a bank transfer
|
|
996
|
+
* @param bankTransferDeleteByUrlParam
|
|
997
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
998
|
+
*/
|
|
999
|
+
deleteBankTransfer(xeroTenantId: string, bankTransferID: string, bankTransferDeleteByUrlParam: BankTransferDeleteByUrlParam, idempotencyKey?: string, options?: {
|
|
1000
|
+
headers: {
|
|
1001
|
+
[name: string]: string;
|
|
1002
|
+
};
|
|
1003
|
+
}): Promise<{
|
|
1004
|
+
response: AxiosResponse;
|
|
1005
|
+
body: BankTransfers;
|
|
1006
|
+
}>;
|
|
1007
|
+
/**
|
|
1008
|
+
*
|
|
1009
|
+
* @summary Deletes one or more bank transfers
|
|
1010
|
+
* @param xeroTenantId Xero identifier for Tenant
|
|
1011
|
+
* @param bankTransfersDelete BankTransfers with array of BankTransfer objects in request body
|
|
1012
|
+
* @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
1013
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
1014
|
+
*/
|
|
1015
|
+
deleteBankTransfers(xeroTenantId: string, bankTransfersDelete: BankTransfersDelete, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
|
|
1016
|
+
headers: {
|
|
1017
|
+
[name: string]: string;
|
|
1018
|
+
};
|
|
1019
|
+
}): Promise<{
|
|
1020
|
+
response: AxiosResponse;
|
|
1021
|
+
body: BankTransfers;
|
|
1022
|
+
}>;
|
|
989
1023
|
/**
|
|
990
1024
|
*
|
|
991
1025
|
* @summary Updates a specific batch payment for invoices and credit notes
|
|
@@ -1431,8 +1465,9 @@ export declare class AccountingApi {
|
|
|
1431
1465
|
* @param ifModifiedSince Only records created or modified since this timestamp will be returned
|
|
1432
1466
|
* @param where Filter by an any element
|
|
1433
1467
|
* @param order Order by an any element
|
|
1468
|
+
* @param includeDeleted e.g. includeDeleted=true - Bank transfers with a status of DELETED will be included in the response
|
|
1434
1469
|
*/
|
|
1435
|
-
getBankTransfers(xeroTenantId: string, ifModifiedSince?: Date, where?: string, order?: string, options?: {
|
|
1470
|
+
getBankTransfers(xeroTenantId: string, ifModifiedSince?: Date, where?: string, order?: string, includeDeleted?: boolean, options?: {
|
|
1436
1471
|
headers: {
|
|
1437
1472
|
[name: string]: string;
|
|
1438
1473
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Xero Accounting API
|
|
4
4
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document:
|
|
6
|
+
* The version of the OpenAPI document: 16.1.0
|
|
7
7
|
* Contact: api@xero.com
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -39,7 +39,7 @@ var AccountingApiApiKeys;
|
|
|
39
39
|
class AccountingApi {
|
|
40
40
|
constructor(basePathOrUsername, password, basePath) {
|
|
41
41
|
this._basePath = defaultBasePath;
|
|
42
|
-
this.defaultHeaders = { 'user-agent': 'xero-node-
|
|
42
|
+
this.defaultHeaders = { 'user-agent': 'xero-node-19.0.0' };
|
|
43
43
|
this._useQuerystring = false;
|
|
44
44
|
this.binaryHeaders = {};
|
|
45
45
|
this.authentications = {
|
|
@@ -4750,6 +4750,162 @@ class AccountingApi {
|
|
|
4750
4750
|
});
|
|
4751
4751
|
});
|
|
4752
4752
|
}
|
|
4753
|
+
/**
|
|
4754
|
+
*
|
|
4755
|
+
* @summary Deletes a specific bank transfer
|
|
4756
|
+
* @param xeroTenantId Xero identifier for Tenant
|
|
4757
|
+
* @param bankTransferID Xero generated unique identifier for a bank transfer
|
|
4758
|
+
* @param bankTransferDeleteByUrlParam
|
|
4759
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
4760
|
+
*/
|
|
4761
|
+
deleteBankTransfer(xeroTenantId_1, bankTransferID_1, bankTransferDeleteByUrlParam_1, idempotencyKey_1) {
|
|
4762
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, bankTransferID, bankTransferDeleteByUrlParam, idempotencyKey, options = { headers: {} }) {
|
|
4763
|
+
const localVarPath = this.basePath + '/BankTransfers/{BankTransferID}'
|
|
4764
|
+
.replace('{' + 'BankTransferID' + '}', encodeURIComponent(String(bankTransferID)));
|
|
4765
|
+
let localVarQueryParameters = {};
|
|
4766
|
+
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
4767
|
+
let localVarFormParams = {};
|
|
4768
|
+
let acceptHeadersFromSpec = [
|
|
4769
|
+
"application/json"
|
|
4770
|
+
];
|
|
4771
|
+
const isBufferType = acceptHeadersFromSpec.includes("application/pdf") || acceptHeadersFromSpec.includes("application/octet-stream") || acceptHeadersFromSpec.includes("application/jpg");
|
|
4772
|
+
const responseTypeOption = isBufferType ? "arraybuffer" : "json";
|
|
4773
|
+
// verify required parameter 'xeroTenantId' is not null or undefined
|
|
4774
|
+
if (xeroTenantId === null || xeroTenantId === undefined) {
|
|
4775
|
+
throw new Error('Required parameter xeroTenantId was null or undefined when calling deleteBankTransfer.');
|
|
4776
|
+
}
|
|
4777
|
+
// verify required parameter 'bankTransferID' is not null or undefined
|
|
4778
|
+
if (bankTransferID === null || bankTransferID === undefined) {
|
|
4779
|
+
throw new Error('Required parameter bankTransferID was null or undefined when calling deleteBankTransfer.');
|
|
4780
|
+
}
|
|
4781
|
+
// verify required parameter 'bankTransferDeleteByUrlParam' is not null or undefined
|
|
4782
|
+
if (bankTransferDeleteByUrlParam === null || bankTransferDeleteByUrlParam === undefined) {
|
|
4783
|
+
throw new Error('Required parameter bankTransferDeleteByUrlParam was null or undefined when calling deleteBankTransfer.');
|
|
4784
|
+
}
|
|
4785
|
+
localVarHeaderParams['xero-tenant-id'] = models_1.ObjectSerializer.serialize(xeroTenantId, "string");
|
|
4786
|
+
localVarHeaderParams['Idempotency-Key'] = models_1.ObjectSerializer.serialize(idempotencyKey, "string");
|
|
4787
|
+
localVarHeaderParams['Accept'] = acceptHeadersFromSpec.join();
|
|
4788
|
+
Object.assign(localVarHeaderParams, options.headers);
|
|
4789
|
+
let localVarUseFormData = false;
|
|
4790
|
+
let localVarRequestOptions = {
|
|
4791
|
+
method: 'POST',
|
|
4792
|
+
params: localVarQueryParameters,
|
|
4793
|
+
headers: localVarHeaderParams,
|
|
4794
|
+
url: localVarPath,
|
|
4795
|
+
responseType: responseTypeOption,
|
|
4796
|
+
data: models_1.ObjectSerializer.serialize(bankTransferDeleteByUrlParam, "BankTransferDeleteByUrlParam"),
|
|
4797
|
+
};
|
|
4798
|
+
let authenticationPromise = Promise.resolve();
|
|
4799
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.OAuth2.applyToRequest(localVarRequestOptions));
|
|
4800
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
4801
|
+
return authenticationPromise.then(() => {
|
|
4802
|
+
if (Object.keys(localVarFormParams).length) {
|
|
4803
|
+
if (localVarUseFormData) {
|
|
4804
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
4805
|
+
localVarRequestOptions.headers = Object.assign(Object.assign({}, localVarRequestOptions.headers), { 'Content-Type': 'multipart/form-data' });
|
|
4806
|
+
}
|
|
4807
|
+
else {
|
|
4808
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
4809
|
+
localVarRequestOptions.headers = Object.assign(Object.assign({}, localVarRequestOptions.headers), { 'content-type': 'application/x-www-form-urlencoded' });
|
|
4810
|
+
}
|
|
4811
|
+
}
|
|
4812
|
+
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
|
4813
|
+
let body = null;
|
|
4814
|
+
try {
|
|
4815
|
+
const response = yield (0, axios_1.default)(localVarRequestOptions);
|
|
4816
|
+
body = models_1.ObjectSerializer.deserialize(response.data, "BankTransfers");
|
|
4817
|
+
if (response.status && response.status >= 200 && response.status <= 299) {
|
|
4818
|
+
resolve({ response: response, body: body });
|
|
4819
|
+
}
|
|
4820
|
+
else {
|
|
4821
|
+
reject({ response: response, body: body });
|
|
4822
|
+
}
|
|
4823
|
+
}
|
|
4824
|
+
catch (error) {
|
|
4825
|
+
const errorResponse = new ApiError_1.ApiError(error);
|
|
4826
|
+
reject(JSON.stringify(errorResponse.generateError()));
|
|
4827
|
+
}
|
|
4828
|
+
}));
|
|
4829
|
+
});
|
|
4830
|
+
});
|
|
4831
|
+
}
|
|
4832
|
+
/**
|
|
4833
|
+
*
|
|
4834
|
+
* @summary Deletes one or more bank transfers
|
|
4835
|
+
* @param xeroTenantId Xero identifier for Tenant
|
|
4836
|
+
* @param bankTransfersDelete BankTransfers with array of BankTransfer objects in request body
|
|
4837
|
+
* @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
4838
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
4839
|
+
*/
|
|
4840
|
+
deleteBankTransfers(xeroTenantId_1, bankTransfersDelete_1, summarizeErrors_1, idempotencyKey_1) {
|
|
4841
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, bankTransfersDelete, summarizeErrors, idempotencyKey, options = { headers: {} }) {
|
|
4842
|
+
const localVarPath = this.basePath + '/BankTransfers';
|
|
4843
|
+
let localVarQueryParameters = {};
|
|
4844
|
+
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
4845
|
+
let localVarFormParams = {};
|
|
4846
|
+
let acceptHeadersFromSpec = [
|
|
4847
|
+
"application/json"
|
|
4848
|
+
];
|
|
4849
|
+
const isBufferType = acceptHeadersFromSpec.includes("application/pdf") || acceptHeadersFromSpec.includes("application/octet-stream") || acceptHeadersFromSpec.includes("application/jpg");
|
|
4850
|
+
const responseTypeOption = isBufferType ? "arraybuffer" : "json";
|
|
4851
|
+
// verify required parameter 'xeroTenantId' is not null or undefined
|
|
4852
|
+
if (xeroTenantId === null || xeroTenantId === undefined) {
|
|
4853
|
+
throw new Error('Required parameter xeroTenantId was null or undefined when calling deleteBankTransfers.');
|
|
4854
|
+
}
|
|
4855
|
+
// verify required parameter 'bankTransfersDelete' is not null or undefined
|
|
4856
|
+
if (bankTransfersDelete === null || bankTransfersDelete === undefined) {
|
|
4857
|
+
throw new Error('Required parameter bankTransfersDelete was null or undefined when calling deleteBankTransfers.');
|
|
4858
|
+
}
|
|
4859
|
+
if (summarizeErrors !== undefined) {
|
|
4860
|
+
localVarQueryParameters['summarizeErrors'] = models_1.ObjectSerializer.serialize(summarizeErrors, "boolean");
|
|
4861
|
+
}
|
|
4862
|
+
localVarHeaderParams['xero-tenant-id'] = models_1.ObjectSerializer.serialize(xeroTenantId, "string");
|
|
4863
|
+
localVarHeaderParams['Idempotency-Key'] = models_1.ObjectSerializer.serialize(idempotencyKey, "string");
|
|
4864
|
+
localVarHeaderParams['Accept'] = acceptHeadersFromSpec.join();
|
|
4865
|
+
Object.assign(localVarHeaderParams, options.headers);
|
|
4866
|
+
let localVarUseFormData = false;
|
|
4867
|
+
let localVarRequestOptions = {
|
|
4868
|
+
method: 'POST',
|
|
4869
|
+
params: localVarQueryParameters,
|
|
4870
|
+
headers: localVarHeaderParams,
|
|
4871
|
+
url: localVarPath,
|
|
4872
|
+
responseType: responseTypeOption,
|
|
4873
|
+
data: models_1.ObjectSerializer.serialize(bankTransfersDelete, "BankTransfersDelete"),
|
|
4874
|
+
};
|
|
4875
|
+
let authenticationPromise = Promise.resolve();
|
|
4876
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.OAuth2.applyToRequest(localVarRequestOptions));
|
|
4877
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
4878
|
+
return authenticationPromise.then(() => {
|
|
4879
|
+
if (Object.keys(localVarFormParams).length) {
|
|
4880
|
+
if (localVarUseFormData) {
|
|
4881
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
4882
|
+
localVarRequestOptions.headers = Object.assign(Object.assign({}, localVarRequestOptions.headers), { 'Content-Type': 'multipart/form-data' });
|
|
4883
|
+
}
|
|
4884
|
+
else {
|
|
4885
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
4886
|
+
localVarRequestOptions.headers = Object.assign(Object.assign({}, localVarRequestOptions.headers), { 'content-type': 'application/x-www-form-urlencoded' });
|
|
4887
|
+
}
|
|
4888
|
+
}
|
|
4889
|
+
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
|
4890
|
+
let body = null;
|
|
4891
|
+
try {
|
|
4892
|
+
const response = yield (0, axios_1.default)(localVarRequestOptions);
|
|
4893
|
+
body = models_1.ObjectSerializer.deserialize(response.data, "BankTransfers");
|
|
4894
|
+
if (response.status && response.status >= 200 && response.status <= 299) {
|
|
4895
|
+
resolve({ response: response, body: body });
|
|
4896
|
+
}
|
|
4897
|
+
else {
|
|
4898
|
+
reject({ response: response, body: body });
|
|
4899
|
+
}
|
|
4900
|
+
}
|
|
4901
|
+
catch (error) {
|
|
4902
|
+
const errorResponse = new ApiError_1.ApiError(error);
|
|
4903
|
+
reject(JSON.stringify(errorResponse.generateError()));
|
|
4904
|
+
}
|
|
4905
|
+
}));
|
|
4906
|
+
});
|
|
4907
|
+
});
|
|
4908
|
+
}
|
|
4753
4909
|
/**
|
|
4754
4910
|
*
|
|
4755
4911
|
* @summary Updates a specific batch payment for invoices and credit notes
|
|
@@ -6986,9 +7142,10 @@ class AccountingApi {
|
|
|
6986
7142
|
* @param ifModifiedSince Only records created or modified since this timestamp will be returned
|
|
6987
7143
|
* @param where Filter by an any element
|
|
6988
7144
|
* @param order Order by an any element
|
|
7145
|
+
* @param includeDeleted e.g. includeDeleted=true - Bank transfers with a status of DELETED will be included in the response
|
|
6989
7146
|
*/
|
|
6990
|
-
getBankTransfers(xeroTenantId_1, ifModifiedSince_1, where_1, order_1) {
|
|
6991
|
-
return __awaiter(this, arguments, void 0, function* (xeroTenantId, ifModifiedSince, where, order, options = { headers: {} }) {
|
|
7147
|
+
getBankTransfers(xeroTenantId_1, ifModifiedSince_1, where_1, order_1, includeDeleted_1) {
|
|
7148
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, ifModifiedSince, where, order, includeDeleted, options = { headers: {} }) {
|
|
6992
7149
|
const localVarPath = this.basePath + '/BankTransfers';
|
|
6993
7150
|
let localVarQueryParameters = {};
|
|
6994
7151
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -7008,6 +7165,9 @@ class AccountingApi {
|
|
|
7008
7165
|
if (order !== undefined) {
|
|
7009
7166
|
localVarQueryParameters['order'] = models_1.ObjectSerializer.serialize(order, "string");
|
|
7010
7167
|
}
|
|
7168
|
+
if (includeDeleted !== undefined) {
|
|
7169
|
+
localVarQueryParameters['includeDeleted'] = models_1.ObjectSerializer.serialize(includeDeleted, "boolean");
|
|
7170
|
+
}
|
|
7011
7171
|
localVarHeaderParams['xero-tenant-id'] = models_1.ObjectSerializer.serialize(xeroTenantId, "string");
|
|
7012
7172
|
localVarHeaderParams['If-Modified-Since'] = models_1.ObjectSerializer.serialize(ifModifiedSince, "Date");
|
|
7013
7173
|
localVarHeaderParams['Accept'] = acceptHeadersFromSpec.join();
|