xero-node 14.0.0 → 15.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 +3 -2
- package/dist/gen/api/accountingApi.js +8 -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/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/payroll-uk/earningsRate.d.ts +2 -1
- package/dist/gen/model/payroll-uk/earningsRate.js +1 -0
- package/dist/gen/model/payroll-uk/earningsRate.js.map +1 -1
- package/dist/gen/model/payroll-uk/employeeStatutoryLeaveSummary.d.ts +2 -1
- package/dist/gen/model/payroll-uk/employeeStatutoryLeaveSummary.js +1 -0
- package/dist/gen/model/payroll-uk/employeeStatutoryLeaveSummary.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: 12.0.0
|
|
6
6
|
* Contact: api@xero.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2467,8 +2467,9 @@ export declare class AccountingApi {
|
|
|
2467
2467
|
* @param page e.g. page=1 – Up to 100 prepayments will be returned in a single API call with line items shown for each overpayment
|
|
2468
2468
|
* @param unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
2469
2469
|
* @param pageSize Number of records to retrieve per page
|
|
2470
|
+
* @param invoiceNumbers Filter by a comma-separated list of InvoiceNumbers
|
|
2470
2471
|
*/
|
|
2471
|
-
getPrepayments(xeroTenantId: string, ifModifiedSince?: Date, where?: string, order?: string, page?: number, unitdp?: number, pageSize?: number, options?: {
|
|
2472
|
+
getPrepayments(xeroTenantId: string, ifModifiedSince?: Date, where?: string, order?: string, page?: number, unitdp?: number, pageSize?: number, invoiceNumbers?: Array<string>, options?: {
|
|
2472
2473
|
headers: {
|
|
2473
2474
|
[name: string]: string;
|
|
2474
2475
|
};
|
|
@@ -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: 12.0.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-15.0.0' };
|
|
43
43
|
this._useQuerystring = false;
|
|
44
44
|
this.binaryHeaders = {};
|
|
45
45
|
this.authentications = {
|
|
@@ -12168,9 +12168,10 @@ class AccountingApi {
|
|
|
12168
12168
|
* @param page e.g. page=1 – Up to 100 prepayments will be returned in a single API call with line items shown for each overpayment
|
|
12169
12169
|
* @param unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
12170
12170
|
* @param pageSize Number of records to retrieve per page
|
|
12171
|
+
* @param invoiceNumbers Filter by a comma-separated list of InvoiceNumbers
|
|
12171
12172
|
*/
|
|
12172
|
-
getPrepayments(xeroTenantId_1, ifModifiedSince_1, where_1, order_1, page_1, unitdp_1, pageSize_1) {
|
|
12173
|
-
return __awaiter(this, arguments, void 0, function* (xeroTenantId, ifModifiedSince, where, order, page, unitdp, pageSize, options = { headers: {} }) {
|
|
12173
|
+
getPrepayments(xeroTenantId_1, ifModifiedSince_1, where_1, order_1, page_1, unitdp_1, pageSize_1, invoiceNumbers_1) {
|
|
12174
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, ifModifiedSince, where, order, page, unitdp, pageSize, invoiceNumbers, options = { headers: {} }) {
|
|
12174
12175
|
const localVarPath = this.basePath + '/Prepayments';
|
|
12175
12176
|
let localVarQueryParameters = {};
|
|
12176
12177
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -12199,6 +12200,9 @@ class AccountingApi {
|
|
|
12199
12200
|
if (pageSize !== undefined) {
|
|
12200
12201
|
localVarQueryParameters['pageSize'] = models_1.ObjectSerializer.serialize(pageSize, "number");
|
|
12201
12202
|
}
|
|
12203
|
+
if (invoiceNumbers !== undefined) {
|
|
12204
|
+
localVarQueryParameters['InvoiceNumbers'] = models_1.ObjectSerializer.serialize(invoiceNumbers, "Array<string>");
|
|
12205
|
+
}
|
|
12202
12206
|
localVarHeaderParams['xero-tenant-id'] = models_1.ObjectSerializer.serialize(xeroTenantId, "string");
|
|
12203
12207
|
localVarHeaderParams['If-Modified-Since'] = models_1.ObjectSerializer.serialize(ifModifiedSince, "Date");
|
|
12204
12208
|
localVarHeaderParams['Accept'] = acceptHeadersFromSpec.join();
|