xero-node 8.0.0 → 9.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 +16 -22
- package/dist/gen/api/accountingApi.js +70 -234
- 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/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/bankTransactions.d.ts +2 -0
- package/dist/gen/model/accounting/bankTransactions.js +5 -0
- package/dist/gen/model/accounting/bankTransactions.js.map +1 -1
- package/dist/gen/model/accounting/contacts.d.ts +2 -0
- package/dist/gen/model/accounting/contacts.js +5 -0
- package/dist/gen/model/accounting/contacts.js.map +1 -1
- package/dist/gen/model/accounting/creditNotes.d.ts +2 -0
- package/dist/gen/model/accounting/creditNotes.js +5 -0
- package/dist/gen/model/accounting/creditNotes.js.map +1 -1
- package/dist/gen/model/accounting/invoices.d.ts +2 -0
- package/dist/gen/model/accounting/invoices.js +5 -0
- package/dist/gen/model/accounting/invoices.js.map +1 -1
- package/dist/gen/model/accounting/manualJournals.d.ts +2 -0
- package/dist/gen/model/accounting/manualJournals.js +5 -0
- package/dist/gen/model/accounting/manualJournals.js.map +1 -1
- package/dist/gen/model/accounting/models.d.ts +1 -10
- package/dist/gen/model/accounting/models.js +3 -30
- package/dist/gen/model/accounting/models.js.map +1 -1
- package/dist/gen/model/accounting/organisation.d.ts +4 -0
- package/dist/gen/model/accounting/organisation.js +4 -0
- package/dist/gen/model/accounting/organisation.js.map +1 -1
- package/dist/gen/model/accounting/overpayments.d.ts +2 -0
- package/dist/gen/model/accounting/overpayments.js +5 -0
- package/dist/gen/model/accounting/overpayments.js.map +1 -1
- package/dist/gen/model/accounting/pagination.d.ts +17 -0
- package/dist/gen/model/accounting/pagination.js +33 -0
- package/dist/gen/model/accounting/pagination.js.map +1 -0
- package/dist/gen/model/accounting/payments.d.ts +2 -0
- package/dist/gen/model/accounting/payments.js +5 -0
- package/dist/gen/model/accounting/payments.js.map +1 -1
- package/dist/gen/model/accounting/prepayments.d.ts +2 -0
- package/dist/gen/model/accounting/prepayments.js +5 -0
- package/dist/gen/model/accounting/prepayments.js.map +1 -1
- package/dist/gen/model/accounting/purchaseOrders.d.ts +2 -0
- package/dist/gen/model/accounting/purchaseOrders.js +5 -0
- package/dist/gen/model/accounting/purchaseOrders.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: 6.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).
|
|
@@ -35,15 +35,6 @@ import { Currencies } from '../model/accounting/currencies';
|
|
|
35
35
|
import { Currency } from '../model/accounting/currency';
|
|
36
36
|
import { Employees } from '../model/accounting/employees';
|
|
37
37
|
import { ExpenseClaims } from '../model/accounting/expenseClaims';
|
|
38
|
-
import { GetBankTransactionsResponse } from '../model/accounting/getBankTransactionsResponse';
|
|
39
|
-
import { GetContactsResponse } from '../model/accounting/getContactsResponse';
|
|
40
|
-
import { GetCreditNotesResponse } from '../model/accounting/getCreditNotesResponse';
|
|
41
|
-
import { GetInvoicesResponse } from '../model/accounting/getInvoicesResponse';
|
|
42
|
-
import { GetManualJournalsResponse } from '../model/accounting/getManualJournalsResponse';
|
|
43
|
-
import { GetOverpaymentsResponse } from '../model/accounting/getOverpaymentsResponse';
|
|
44
|
-
import { GetPaymentsResponse } from '../model/accounting/getPaymentsResponse';
|
|
45
|
-
import { GetPrepaymentsResponse } from '../model/accounting/getPrepaymentsResponse';
|
|
46
|
-
import { GetPurchaseOrdersResponse } from '../model/accounting/getPurchaseOrdersResponse';
|
|
47
38
|
import { HistoryRecords } from '../model/accounting/historyRecords';
|
|
48
39
|
import { ImportSummaryObject } from '../model/accounting/importSummaryObject';
|
|
49
40
|
import { InvoiceReminders } from '../model/accounting/invoiceReminders';
|
|
@@ -1363,7 +1354,7 @@ export declare class AccountingApi {
|
|
|
1363
1354
|
};
|
|
1364
1355
|
}): Promise<{
|
|
1365
1356
|
response: AxiosResponse;
|
|
1366
|
-
body:
|
|
1357
|
+
body: BankTransactions;
|
|
1367
1358
|
}>;
|
|
1368
1359
|
/**
|
|
1369
1360
|
*
|
|
@@ -1737,7 +1728,7 @@ export declare class AccountingApi {
|
|
|
1737
1728
|
};
|
|
1738
1729
|
}): Promise<{
|
|
1739
1730
|
response: AxiosResponse;
|
|
1740
|
-
body:
|
|
1731
|
+
body: Contacts;
|
|
1741
1732
|
}>;
|
|
1742
1733
|
/**
|
|
1743
1734
|
*
|
|
@@ -1845,7 +1836,7 @@ export declare class AccountingApi {
|
|
|
1845
1836
|
};
|
|
1846
1837
|
}): Promise<{
|
|
1847
1838
|
response: AxiosResponse;
|
|
1848
|
-
body:
|
|
1839
|
+
body: CreditNotes;
|
|
1849
1840
|
}>;
|
|
1850
1841
|
/**
|
|
1851
1842
|
*
|
|
@@ -2055,14 +2046,15 @@ export declare class AccountingApi {
|
|
|
2055
2046
|
* @param unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
2056
2047
|
* @param summaryOnly Use summaryOnly=true in GET Contacts and Invoices endpoint to retrieve a smaller version of the response object. This returns only lightweight fields, excluding computation-heavy fields from the response, making the API calls quick and efficient.
|
|
2057
2048
|
* @param pageSize Number of records to retrieve per page
|
|
2049
|
+
* @param searchTerm Search parameter that performs a case-insensitive text search across the fields e.g. InvoiceNumber, Reference.
|
|
2058
2050
|
*/
|
|
2059
|
-
getInvoices(xeroTenantId: string, ifModifiedSince?: Date, where?: string, order?: string, iDs?: Array<string>, invoiceNumbers?: Array<string>, contactIDs?: Array<string>, statuses?: Array<string>, page?: number, includeArchived?: boolean, createdByMyApp?: boolean, unitdp?: number, summaryOnly?: boolean, pageSize?: number, options?: {
|
|
2051
|
+
getInvoices(xeroTenantId: string, ifModifiedSince?: Date, where?: string, order?: string, iDs?: Array<string>, invoiceNumbers?: Array<string>, contactIDs?: Array<string>, statuses?: Array<string>, page?: number, includeArchived?: boolean, createdByMyApp?: boolean, unitdp?: number, summaryOnly?: boolean, pageSize?: number, searchTerm?: string, options?: {
|
|
2060
2052
|
headers: {
|
|
2061
2053
|
[name: string]: string;
|
|
2062
2054
|
};
|
|
2063
2055
|
}): Promise<{
|
|
2064
2056
|
response: AxiosResponse;
|
|
2065
|
-
body:
|
|
2057
|
+
body: Invoices;
|
|
2066
2058
|
}>;
|
|
2067
2059
|
/**
|
|
2068
2060
|
*
|
|
@@ -2263,7 +2255,7 @@ export declare class AccountingApi {
|
|
|
2263
2255
|
};
|
|
2264
2256
|
}): Promise<{
|
|
2265
2257
|
response: AxiosResponse;
|
|
2266
|
-
body:
|
|
2258
|
+
body: ManualJournals;
|
|
2267
2259
|
}>;
|
|
2268
2260
|
/**
|
|
2269
2261
|
*
|
|
@@ -2370,14 +2362,15 @@ export declare class AccountingApi {
|
|
|
2370
2362
|
* @param order Order by an any element
|
|
2371
2363
|
* @param page e.g. page=1 – Up to 100 overpayments will be returned in a single API call with line items shown for each overpayment
|
|
2372
2364
|
* @param unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
2365
|
+
* @param pageSize Number of records to retrieve per page
|
|
2373
2366
|
*/
|
|
2374
|
-
getOverpayments(xeroTenantId: string, ifModifiedSince?: Date, where?: string, order?: string, page?: number, unitdp?: number, options?: {
|
|
2367
|
+
getOverpayments(xeroTenantId: string, ifModifiedSince?: Date, where?: string, order?: string, page?: number, unitdp?: number, pageSize?: number, options?: {
|
|
2375
2368
|
headers: {
|
|
2376
2369
|
[name: string]: string;
|
|
2377
2370
|
};
|
|
2378
2371
|
}): Promise<{
|
|
2379
2372
|
response: AxiosResponse;
|
|
2380
|
-
body:
|
|
2373
|
+
body: Overpayments;
|
|
2381
2374
|
}>;
|
|
2382
2375
|
/**
|
|
2383
2376
|
*
|
|
@@ -2436,7 +2429,7 @@ export declare class AccountingApi {
|
|
|
2436
2429
|
};
|
|
2437
2430
|
}): Promise<{
|
|
2438
2431
|
response: AxiosResponse;
|
|
2439
|
-
body:
|
|
2432
|
+
body: Payments;
|
|
2440
2433
|
}>;
|
|
2441
2434
|
/**
|
|
2442
2435
|
*
|
|
@@ -2475,14 +2468,15 @@ export declare class AccountingApi {
|
|
|
2475
2468
|
* @param order Order by an any element
|
|
2476
2469
|
* @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
|
|
2477
2470
|
* @param unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
2471
|
+
* @param pageSize Number of records to retrieve per page
|
|
2478
2472
|
*/
|
|
2479
|
-
getPrepayments(xeroTenantId: string, ifModifiedSince?: Date, where?: string, order?: string, page?: number, unitdp?: number, options?: {
|
|
2473
|
+
getPrepayments(xeroTenantId: string, ifModifiedSince?: Date, where?: string, order?: string, page?: number, unitdp?: number, pageSize?: number, options?: {
|
|
2480
2474
|
headers: {
|
|
2481
2475
|
[name: string]: string;
|
|
2482
2476
|
};
|
|
2483
2477
|
}): Promise<{
|
|
2484
2478
|
response: AxiosResponse;
|
|
2485
|
-
body:
|
|
2479
|
+
body: Prepayments;
|
|
2486
2480
|
}>;
|
|
2487
2481
|
/**
|
|
2488
2482
|
*
|
|
@@ -2604,7 +2598,7 @@ export declare class AccountingApi {
|
|
|
2604
2598
|
};
|
|
2605
2599
|
}): Promise<{
|
|
2606
2600
|
response: AxiosResponse;
|
|
2607
|
-
body:
|
|
2601
|
+
body: PurchaseOrders;
|
|
2608
2602
|
}>;
|
|
2609
2603
|
/**
|
|
2610
2604
|
*
|