xero-node 4.16.1 → 4.19.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/XeroClient.d.ts +1 -0
- package/dist/XeroClient.js +2 -0
- package/dist/XeroClient.js.map +1 -1
- package/dist/gen/api/accountingApi.d.ts +1 -1
- package/dist/gen/api/accountingApi.js +2 -2
- package/dist/gen/api/apis.d.ts +3 -1
- package/dist/gen/api/apis.js +3 -1
- package/dist/gen/api/apis.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 +58 -5
- package/dist/gen/api/financeApi.js +237 -6
- package/dist/gen/api/financeApi.js.map +1 -1
- 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 +2 -2
- package/dist/gen/api/payrollUKApi.js +3 -3
- package/dist/gen/api/projectApi.d.ts +1 -1
- package/dist/gen/api/projectApi.js +2 -2
- package/dist/gen/model/accounting/contact.d.ts +26 -0
- package/dist/gen/model/accounting/contact.js +32 -0
- package/dist/gen/model/accounting/contact.js.map +1 -1
- package/dist/gen/model/accounting/lineItem.d.ts +2 -0
- package/dist/gen/model/accounting/lineItem.js +5 -0
- package/dist/gen/model/accounting/lineItem.js.map +1 -1
- package/dist/gen/model/accounting/lineItemItem.d.ts +25 -0
- package/dist/gen/model/accounting/lineItemItem.js +28 -0
- package/dist/gen/model/accounting/lineItemItem.js.map +1 -0
- package/dist/gen/model/accounting/models.d.ts +1 -0
- package/dist/gen/model/accounting/models.js +5 -0
- package/dist/gen/model/accounting/models.js.map +1 -1
- package/dist/gen/model/appstore/models.js +2 -0
- package/dist/gen/model/appstore/models.js.map +1 -1
- package/dist/gen/model/appstore/plan.d.ts +2 -1
- package/dist/gen/model/appstore/plan.js +1 -0
- package/dist/gen/model/appstore/plan.js.map +1 -1
- package/dist/gen/model/appstore/subscription.d.ts +8 -1
- package/dist/gen/model/appstore/subscription.js +9 -1
- package/dist/gen/model/appstore/subscription.js.map +1 -1
- package/dist/gen/model/appstore/subscriptionItem.d.ts +11 -0
- package/dist/gen/model/appstore/subscriptionItem.js +13 -0
- package/dist/gen/model/appstore/subscriptionItem.js.map +1 -1
- package/dist/gen/model/files/objectGroup.d.ts +1 -0
- package/dist/gen/model/files/objectGroup.js +1 -0
- package/dist/gen/model/files/objectGroup.js.map +1 -1
- package/dist/gen/model/files/objectType.d.ts +2 -1
- package/dist/gen/model/files/objectType.js +1 -0
- package/dist/gen/model/files/objectType.js.map +1 -1
- package/dist/gen/model/finance/bankStatementAccountingResponse.d.ts +30 -0
- package/dist/gen/model/finance/bankStatementAccountingResponse.js +33 -0
- package/dist/gen/model/finance/bankStatementAccountingResponse.js.map +1 -0
- package/dist/gen/model/finance/bankTransactionResponse.d.ts +36 -0
- package/dist/gen/model/finance/bankTransactionResponse.js +43 -0
- package/dist/gen/model/finance/bankTransactionResponse.js.map +1 -0
- package/dist/gen/model/finance/contactDetail.d.ts +33 -0
- package/dist/gen/model/finance/contactDetail.js +43 -0
- package/dist/gen/model/finance/contactDetail.js.map +1 -0
- package/dist/gen/model/finance/contactResponse.d.ts +21 -0
- package/dist/gen/model/finance/contactResponse.js +23 -0
- package/dist/gen/model/finance/contactResponse.js.map +1 -0
- package/dist/gen/model/finance/contactTotalDetail.d.ts +25 -0
- package/dist/gen/model/finance/contactTotalDetail.js +28 -0
- package/dist/gen/model/finance/contactTotalDetail.js.map +1 -0
- package/dist/gen/model/finance/contactTotalOther.d.ts +29 -0
- package/dist/gen/model/finance/contactTotalOther.js +33 -0
- package/dist/gen/model/finance/contactTotalOther.js.map +1 -0
- package/dist/gen/model/finance/creditNoteResponse.d.ts +28 -0
- package/dist/gen/model/finance/creditNoteResponse.js +33 -0
- package/dist/gen/model/finance/creditNoteResponse.js.map +1 -0
- package/dist/gen/model/finance/incomeByContactResponse.d.ts +33 -0
- package/dist/gen/model/finance/incomeByContactResponse.js +48 -0
- package/dist/gen/model/finance/incomeByContactResponse.js.map +1 -0
- package/dist/gen/model/finance/invoiceResponse.d.ts +28 -0
- package/dist/gen/model/finance/invoiceResponse.js +33 -0
- package/dist/gen/model/finance/invoiceResponse.js.map +1 -0
- package/dist/gen/model/finance/lineItemResponse.d.ts +29 -0
- package/dist/gen/model/finance/lineItemResponse.js +33 -0
- package/dist/gen/model/finance/lineItemResponse.js.map +1 -0
- package/dist/gen/model/finance/manualJournalTotal.d.ts +17 -0
- package/dist/gen/model/finance/manualJournalTotal.js +18 -0
- package/dist/gen/model/finance/manualJournalTotal.js.map +1 -0
- package/dist/gen/model/finance/models.d.ts +18 -0
- package/dist/gen/model/finance/models.js +54 -0
- package/dist/gen/model/finance/models.js.map +1 -1
- package/dist/gen/model/finance/overpaymentResponse.d.ts +28 -0
- package/dist/gen/model/finance/overpaymentResponse.js +33 -0
- package/dist/gen/model/finance/overpaymentResponse.js.map +1 -0
- package/dist/gen/model/finance/paymentResponse.d.ts +45 -0
- package/dist/gen/model/finance/paymentResponse.js +63 -0
- package/dist/gen/model/finance/paymentResponse.js.map +1 -0
- package/dist/gen/model/finance/prepaymentResponse.d.ts +28 -0
- package/dist/gen/model/finance/prepaymentResponse.js +33 -0
- package/dist/gen/model/finance/prepaymentResponse.js.map +1 -0
- package/dist/gen/model/finance/problemType.d.ts +7 -2
- package/dist/gen/model/finance/problemType.js +7 -2
- package/dist/gen/model/finance/problemType.js.map +1 -1
- package/dist/gen/model/finance/statementLineResponse.d.ts +67 -0
- package/dist/gen/model/finance/statementLineResponse.js +78 -0
- package/dist/gen/model/finance/statementLineResponse.js.map +1 -0
- package/dist/gen/model/finance/statementResponse.d.ts +38 -0
- package/dist/gen/model/finance/statementResponse.js +43 -0
- package/dist/gen/model/finance/statementResponse.js.map +1 -0
- package/dist/gen/model/finance/totalDetail.d.ts +25 -0
- package/dist/gen/model/finance/totalDetail.js +28 -0
- package/dist/gen/model/finance/totalDetail.js.map +1 -0
- package/dist/gen/model/finance/totalOther.d.ts +25 -0
- package/dist/gen/model/finance/totalOther.js +28 -0
- package/dist/gen/model/finance/totalOther.js.map +1 -0
- package/dist/gen/model/payroll-au/allowanceCategory.d.ts +9 -0
- package/dist/gen/model/payroll-au/allowanceCategory.js +14 -0
- package/dist/gen/model/payroll-au/allowanceCategory.js.map +1 -0
- package/dist/gen/model/payroll-au/allowanceType.d.ts +5 -2
- package/dist/gen/model/payroll-au/allowanceType.js +5 -2
- package/dist/gen/model/payroll-au/allowanceType.js.map +1 -1
- package/dist/gen/model/payroll-au/earningsRate.d.ts +2 -0
- package/dist/gen/model/payroll-au/earningsRate.js +5 -0
- package/dist/gen/model/payroll-au/earningsRate.js.map +1 -1
- package/dist/gen/model/payroll-au/models.d.ts +1 -0
- package/dist/gen/model/payroll-au/models.js +3 -0
- package/dist/gen/model/payroll-au/models.js.map +1 -1
- package/dist/gen/model/payroll-uk/employee.d.ts +4 -0
- package/dist/gen/model/payroll-uk/employee.js +5 -0
- package/dist/gen/model/payroll-uk/employee.js.map +1 -1
- package/package.json +2 -2
package/dist/XeroClient.d.ts
CHANGED
|
@@ -58,6 +58,7 @@ export declare class XeroClient {
|
|
|
58
58
|
readonly payrollUKApi: xero.PayrollUkApi;
|
|
59
59
|
readonly payrollNZApi: xero.PayrollNzApi;
|
|
60
60
|
readonly appStoreApi: xero.AppStoreApi;
|
|
61
|
+
readonly financeApi: xero.FinanceApi;
|
|
61
62
|
openIdClient: Client;
|
|
62
63
|
get tenants(): any[];
|
|
63
64
|
initialize(): Promise<XeroClient>;
|
package/dist/XeroClient.js
CHANGED
|
@@ -51,6 +51,7 @@ class XeroClient {
|
|
|
51
51
|
this.payrollUKApi = new xero.PayrollUkApi();
|
|
52
52
|
this.payrollNZApi = new xero.PayrollNzApi();
|
|
53
53
|
this.appStoreApi = new xero.AppStoreApi();
|
|
54
|
+
this.financeApi = new xero.FinanceApi();
|
|
54
55
|
}
|
|
55
56
|
;
|
|
56
57
|
get tenants() {
|
|
@@ -263,6 +264,7 @@ class XeroClient {
|
|
|
263
264
|
this.payrollUKApi.accessToken = accessToken;
|
|
264
265
|
this.payrollNZApi.accessToken = accessToken;
|
|
265
266
|
this.appStoreApi.accessToken = accessToken;
|
|
267
|
+
this.financeApi.accessToken = accessToken;
|
|
266
268
|
}
|
|
267
269
|
}
|
|
268
270
|
exports.XeroClient = XeroClient;
|
package/dist/XeroClient.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XeroClient.js","sourceRoot":"","sources":["../src/XeroClient.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAqF;AACrF,gDAAkC;AAClC,mCAAoC;AAGpC,+CAA6D;AAApD,yGAAA,QAAQ,OAAA;AAUhB,CAAC;AAoBD,CAAC;AAgBD,CAAC;AAEF,MAAa,UAAU;IACrB,YAAqB,MAA0B;QAA1B,WAAM,GAAN,MAAM,CAAoB;
|
|
1
|
+
{"version":3,"file":"XeroClient.js","sourceRoot":"","sources":["../src/XeroClient.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAqF;AACrF,gDAAkC;AAClC,mCAAoC;AAGpC,+CAA6D;AAApD,yGAAA,QAAQ,OAAA;AAUhB,CAAC;AAoBD,CAAC;AAgBD,CAAC;AAEF,MAAa,UAAU;IACrB,YAAqB,MAA0B;QAA1B,WAAM,GAAN,MAAM,CAAoB;QAavC,cAAS,GAAa,IAAI,wBAAQ,CAAC;QACnC,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I,CAAC,YAAY,CAAC,WAAW,GAAG,WAAW,CAAC;QAC5C,IAAI,CAAC,YAAY,CAAC,WAAW,GAAG,WAAW,CAAC;QAC5C,IAAI,CAAC,WAAW,CAAC,WAAW,GAAG,WAAW,CAAC;QAC3C,IAAI,CAAC,UAAU,CAAC,WAAW,GAAG,WAAW,CAAC;IAC5C,CAAC;CACF;AA5OD,gCA4OC"}
|
|
@@ -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: 2.
|
|
5
|
+
* The version of the OpenAPI document: 2.19.1
|
|
6
6
|
* Contact: api@xero.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 2.
|
|
6
|
+
* The version of the OpenAPI document: 2.19.1
|
|
7
7
|
* Contact: api@xero.com
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -34,7 +34,7 @@ var AccountingApiApiKeys;
|
|
|
34
34
|
class AccountingApi {
|
|
35
35
|
constructor(basePathOrUsername, password, basePath) {
|
|
36
36
|
this._basePath = defaultBasePath;
|
|
37
|
-
this.defaultHeaders = { 'user-agent': 'xero-node-4.
|
|
37
|
+
this.defaultHeaders = { 'user-agent': 'xero-node-4.19.0' };
|
|
38
38
|
this._useQuerystring = false;
|
|
39
39
|
this.binaryHeaders = {};
|
|
40
40
|
this.authentications = {
|
package/dist/gen/api/apis.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export * from './bankfeedsApi';
|
|
|
7
7
|
export * from './payrollUKApi';
|
|
8
8
|
export * from './payrollNZApi';
|
|
9
9
|
export * from './appStoreApi';
|
|
10
|
+
export * from './financeApi';
|
|
10
11
|
import { AccountingApi } from './accountingApi';
|
|
11
12
|
import { AssetApi } from './assetApi';
|
|
12
13
|
import { FilesApi } from './filesApi';
|
|
@@ -16,4 +17,5 @@ import { BankFeedsApi } from './bankfeedsApi';
|
|
|
16
17
|
import { PayrollUkApi } from './payrollUKApi';
|
|
17
18
|
import { PayrollNzApi } from './payrollNZApi';
|
|
18
19
|
import { AppStoreApi } from './appStoreApi';
|
|
19
|
-
|
|
20
|
+
import { FinanceApi } from './financeApi';
|
|
21
|
+
export declare const APIS: (typeof AccountingApi | typeof AssetApi | typeof ProjectApi | typeof FilesApi | typeof PayrollAuApi | typeof BankFeedsApi | typeof PayrollUkApi | typeof PayrollNzApi | typeof AppStoreApi | typeof FinanceApi)[];
|
package/dist/gen/api/apis.js
CHANGED
|
@@ -20,6 +20,7 @@ __exportStar(require("./bankfeedsApi"), exports);
|
|
|
20
20
|
__exportStar(require("./payrollUKApi"), exports);
|
|
21
21
|
__exportStar(require("./payrollNZApi"), exports);
|
|
22
22
|
__exportStar(require("./appStoreApi"), exports);
|
|
23
|
+
__exportStar(require("./financeApi"), exports);
|
|
23
24
|
const accountingApi_1 = require("./accountingApi");
|
|
24
25
|
const assetApi_1 = require("./assetApi");
|
|
25
26
|
const filesApi_1 = require("./filesApi");
|
|
@@ -29,5 +30,6 @@ const bankfeedsApi_1 = require("./bankfeedsApi");
|
|
|
29
30
|
const payrollUKApi_1 = require("./payrollUKApi");
|
|
30
31
|
const payrollNZApi_1 = require("./payrollNZApi");
|
|
31
32
|
const appStoreApi_1 = require("./appStoreApi");
|
|
32
|
-
|
|
33
|
+
const financeApi_1 = require("./financeApi");
|
|
34
|
+
exports.APIS = [accountingApi_1.AccountingApi, assetApi_1.AssetApi, filesApi_1.FilesApi, projectApi_1.ProjectApi, payrollAUApi_1.PayrollAuApi, bankfeedsApi_1.BankFeedsApi, payrollUKApi_1.PayrollUkApi, payrollNZApi_1.PayrollNzApi, appStoreApi_1.AppStoreApi, financeApi_1.FinanceApi];
|
|
33
35
|
//# sourceMappingURL=apis.js.map
|
package/dist/gen/api/apis.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apis.js","sourceRoot":"","sources":["../../../src/gen/api/apis.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,kDAAgC;AAChC,6CAA2B;AAC3B,+CAA6B;AAC7B,6CAA2B;AAC3B,iDAA+B;AAC/B,iDAA+B;AAC/B,iDAA+B;AAC/B,iDAA+B;AAC/B,gDAA8B;AAC9B,mDAAgD;AAChD,yCAAsC;AACtC,yCAAsC;AACtC,6CAA0C;AAC1C,iDAA8C;AAC9C,iDAA8C;AAC9C,iDAA8C;AAC9C,iDAA8C;AAC9C,+CAA4C;
|
|
1
|
+
{"version":3,"file":"apis.js","sourceRoot":"","sources":["../../../src/gen/api/apis.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,kDAAgC;AAChC,6CAA2B;AAC3B,+CAA6B;AAC7B,6CAA2B;AAC3B,iDAA+B;AAC/B,iDAA+B;AAC/B,iDAA+B;AAC/B,iDAA+B;AAC/B,gDAA8B;AAC9B,+CAA6B;AAC7B,mDAAgD;AAChD,yCAAsC;AACtC,yCAAsC;AACtC,6CAA0C;AAC1C,iDAA8C;AAC9C,iDAA8C;AAC9C,iDAA8C;AAC9C,iDAA8C;AAC9C,+CAA4C;AAC5C,6CAA0C;AAC7B,QAAA,IAAI,GAAG,CAAC,6BAAa,EAAE,mBAAQ,EAAE,mBAAQ,EAAE,uBAAU,EAAE,2BAAY,EAAE,2BAAY,EAAE,2BAAY,EAAE,2BAAY,EAAE,yBAAW,EAAE,uBAAU,CAAC,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Xero AppStore API
|
|
3
3
|
* These endpoints are for Xero Partners to interact with the App Store Billing platform
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.
|
|
5
|
+
* The version of the OpenAPI document: 2.19.1
|
|
6
6
|
* Contact: api@xero.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Xero AppStore API
|
|
4
4
|
* These endpoints are for Xero Partners to interact with the App Store Billing platform
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 2.
|
|
6
|
+
* The version of the OpenAPI document: 2.19.1
|
|
7
7
|
* Contact: api@xero.com
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -34,7 +34,7 @@ var AppStoreApiApiKeys;
|
|
|
34
34
|
class AppStoreApi {
|
|
35
35
|
constructor(basePathOrUsername, password, basePath) {
|
|
36
36
|
this._basePath = defaultBasePath;
|
|
37
|
-
this.defaultHeaders = { 'user-agent': 'xero-node-4.
|
|
37
|
+
this.defaultHeaders = { 'user-agent': 'xero-node-4.19.0' };
|
|
38
38
|
this._useQuerystring = false;
|
|
39
39
|
this.binaryHeaders = {};
|
|
40
40
|
this.authentications = {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Xero Assets API
|
|
3
3
|
* The Assets API exposes fixed asset related functions of the Xero Accounting application and can be used for a variety of purposes such as creating assets, retrieving asset valuations etc.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.
|
|
5
|
+
* The version of the OpenAPI document: 2.19.1
|
|
6
6
|
* Contact: api@xero.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/gen/api/assetApi.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Xero Assets API
|
|
4
4
|
* The Assets API exposes fixed asset related functions of the Xero Accounting application and can be used for a variety of purposes such as creating assets, retrieving asset valuations etc.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 2.
|
|
6
|
+
* The version of the OpenAPI document: 2.19.1
|
|
7
7
|
* Contact: api@xero.com
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -34,7 +34,7 @@ var AssetApiApiKeys;
|
|
|
34
34
|
class AssetApi {
|
|
35
35
|
constructor(basePathOrUsername, password, basePath) {
|
|
36
36
|
this._basePath = defaultBasePath;
|
|
37
|
-
this.defaultHeaders = { 'user-agent': 'xero-node-4.
|
|
37
|
+
this.defaultHeaders = { 'user-agent': 'xero-node-4.19.0' };
|
|
38
38
|
this._useQuerystring = false;
|
|
39
39
|
this.binaryHeaders = {};
|
|
40
40
|
this.authentications = {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Xero Bank Feeds API
|
|
3
3
|
* The Bank Feeds API is a closed API that is only available to financial institutions that have an established financial services partnership with Xero. If you\'re an existing financial services partner that wants access, contact your local Partner Manager. If you\'re a financial institution who wants to provide bank feeds to your business customers, contact us to become a financial services partner.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.
|
|
5
|
+
* The version of the OpenAPI document: 2.19.1
|
|
6
6
|
* Contact: api@xero.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Xero Bank Feeds API
|
|
4
4
|
* The Bank Feeds API is a closed API that is only available to financial institutions that have an established financial services partnership with Xero. If you\'re an existing financial services partner that wants access, contact your local Partner Manager. If you\'re a financial institution who wants to provide bank feeds to your business customers, contact us to become a financial services partner.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 2.
|
|
6
|
+
* The version of the OpenAPI document: 2.19.1
|
|
7
7
|
* Contact: api@xero.com
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -34,7 +34,7 @@ var BankFeedsApiApiKeys;
|
|
|
34
34
|
class BankFeedsApi {
|
|
35
35
|
constructor(basePathOrUsername, password, basePath) {
|
|
36
36
|
this._basePath = defaultBasePath;
|
|
37
|
-
this.defaultHeaders = { 'user-agent': 'xero-node-4.
|
|
37
|
+
this.defaultHeaders = { 'user-agent': 'xero-node-4.19.0' };
|
|
38
38
|
this._useQuerystring = false;
|
|
39
39
|
this.binaryHeaders = {};
|
|
40
40
|
this.authentications = {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Xero Files API
|
|
3
3
|
* These endpoints are specific to Xero Files API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.
|
|
5
|
+
* The version of the OpenAPI document: 2.19.1
|
|
6
6
|
* Contact: api@xero.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/gen/api/filesApi.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Xero Files API
|
|
4
4
|
* These endpoints are specific to Xero Files API
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 2.
|
|
6
|
+
* The version of the OpenAPI document: 2.19.1
|
|
7
7
|
* Contact: api@xero.com
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -34,7 +34,7 @@ var FilesApiApiKeys;
|
|
|
34
34
|
class FilesApi {
|
|
35
35
|
constructor(basePathOrUsername, password, basePath) {
|
|
36
36
|
this._basePath = defaultBasePath;
|
|
37
|
-
this.defaultHeaders = { 'user-agent': 'xero-node-4.
|
|
37
|
+
this.defaultHeaders = { 'user-agent': 'xero-node-4.19.0' };
|
|
38
38
|
this._useQuerystring = false;
|
|
39
39
|
this.binaryHeaders = {};
|
|
40
40
|
this.authentications = {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Xero Finance API
|
|
3
3
|
* The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.
|
|
5
|
+
* The version of the OpenAPI document: 2.19.1
|
|
6
6
|
* Contact: api@xero.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,8 +13,10 @@
|
|
|
13
13
|
import http = require('http');
|
|
14
14
|
import { AccountUsageResponse } from '../model/finance/accountUsageResponse';
|
|
15
15
|
import { BalanceSheetResponse } from '../model/finance/balanceSheetResponse';
|
|
16
|
+
import { BankStatementAccountingResponse } from '../model/finance/bankStatementAccountingResponse';
|
|
16
17
|
import { CashValidationResponse } from '../model/finance/cashValidationResponse';
|
|
17
18
|
import { CashflowResponse } from '../model/finance/cashflowResponse';
|
|
19
|
+
import { IncomeByContactResponse } from '../model/finance/incomeByContactResponse';
|
|
18
20
|
import { LockHistoryResponse } from '../model/finance/lockHistoryResponse';
|
|
19
21
|
import { ProfitAndLossResponse } from '../model/finance/profitAndLossResponse';
|
|
20
22
|
import { ReportHistoryResponse } from '../model/finance/reportHistoryResponse';
|
|
@@ -59,7 +61,7 @@ export declare class FinanceApi {
|
|
|
59
61
|
* Provides a history of locking of accounting books. Locking may be an indicator of good accounting practices that could reduce the risk of changes to accounting records in prior periods.
|
|
60
62
|
* @summary Get lock history
|
|
61
63
|
* @param xeroTenantId Xero identifier for Tenant
|
|
62
|
-
* @param endDate date, yyyy-MM-dd If no parameter is provided, the current date will be used.
|
|
64
|
+
* @param endDate date, yyyy-MM-dd If no parameter is provided, the current date will be used. Any changes to hard or soft lock dates that were made within the period up to 12 months before this date will be returned. Please be aware that there may be a delay of up to 3 days before a change is visible from this API.
|
|
63
65
|
*/
|
|
64
66
|
getAccountingActivityLockHistory(xeroTenantId: string, endDate?: string, options?: {
|
|
65
67
|
headers: {
|
|
@@ -70,10 +72,10 @@ export declare class FinanceApi {
|
|
|
70
72
|
body: LockHistoryResponse;
|
|
71
73
|
}>;
|
|
72
74
|
/**
|
|
73
|
-
* For a specified organisation, provides a summary of all the reports
|
|
75
|
+
* For a specified organisation, provides a summary of all the reports published within a given period, which may be an indicator for good business management and oversight.
|
|
74
76
|
* @summary Get report history
|
|
75
77
|
* @param xeroTenantId Xero identifier for Tenant
|
|
76
|
-
* @param endDate date, yyyy-MM-dd If no parameter is provided, the current date will be used.
|
|
78
|
+
* @param endDate date, yyyy-MM-dd If no parameter is provided, the current date will be used. Any reports that were published within the period up to 12 months before this date will be returned. Please be aware that there may be a delay of up to 3 days before a published report is visible from this API.
|
|
77
79
|
*/
|
|
78
80
|
getAccountingActivityReportHistory(xeroTenantId: string, endDate?: string, options?: {
|
|
79
81
|
headers: {
|
|
@@ -87,7 +89,7 @@ export declare class FinanceApi {
|
|
|
87
89
|
* For a specified organisation, provides a list of all the users registered, and a history of their accounting transactions. Also identifies the existence of an external accounting advisor and the level of interaction.
|
|
88
90
|
* @summary Get user activities
|
|
89
91
|
* @param xeroTenantId Xero identifier for Tenant
|
|
90
|
-
* @param dataMonth date, yyyy-MM If no parameter is provided, the month immediately previous to the current month will be used.
|
|
92
|
+
* @param dataMonth date, yyyy-MM The specified month must be complete (in the past); The current month cannot be specified since it is not complete. If no parameter is provided, the month immediately previous to the current month will be used. Any user activities occurring within the specified month will be returned. Please be aware that there may be a delay of up to 3 days before a user activity is visible from this API.
|
|
91
93
|
*/
|
|
92
94
|
getAccountingActivityUserActivities(xeroTenantId: string, dataMonth?: string, options?: {
|
|
93
95
|
headers: {
|
|
@@ -97,6 +99,23 @@ export declare class FinanceApi {
|
|
|
97
99
|
response: http.IncomingMessage;
|
|
98
100
|
body: UserActivitiesResponse;
|
|
99
101
|
}>;
|
|
102
|
+
/**
|
|
103
|
+
* For lenders that prefer using bank statement data as the source of truth. We provide a data point that will allow access to customer bank statements, plus for reconciled bank transactions the matching accounting, invoice and billing data as well. As customers reconcile bank statements to invoices and bills, this transaction detail will provide valuable insight for lender\'s assessment measures.
|
|
104
|
+
* @summary Get Bank Statement Accounting
|
|
105
|
+
* @param xeroTenantId Xero identifier for Tenant
|
|
106
|
+
* @param bankAccountID string, GUID Bank account Id
|
|
107
|
+
* @param fromDate date, yyyy-MM-dd Specifies the start date of the query period. The maximum range of the query period is 12 months. If the specified query period is more than 12 months the request will be rejected.
|
|
108
|
+
* @param toDate date, yyyy-MM-dd Specifies the end date of the query period. If the end date is a future date, the request will be rejected.
|
|
109
|
+
* @param summaryOnly boolean, true/false The default value is true if no parameter is provided. In summary mode, the response will exclude the computation-heavy LineItems fields from bank transaction, invoice, credit note, prepayment and overpayment data, making the API calls quicker and more efficient.
|
|
110
|
+
*/
|
|
111
|
+
getBankStatementAccounting(xeroTenantId: string, bankAccountID: string, fromDate: string, toDate: string, summaryOnly?: boolean, options?: {
|
|
112
|
+
headers: {
|
|
113
|
+
[name: string]: string;
|
|
114
|
+
};
|
|
115
|
+
}): Promise<{
|
|
116
|
+
response: http.IncomingMessage;
|
|
117
|
+
body: BankStatementAccountingResponse;
|
|
118
|
+
}>;
|
|
100
119
|
/**
|
|
101
120
|
* Summarizes the total cash position for each account for an org
|
|
102
121
|
* @summary Get cash validation
|
|
@@ -142,6 +161,40 @@ export declare class FinanceApi {
|
|
|
142
161
|
response: http.IncomingMessage;
|
|
143
162
|
body: CashflowResponse;
|
|
144
163
|
}>;
|
|
164
|
+
/**
|
|
165
|
+
* The expense by contact report provides a year to date profit and loss for customers and suppliers for a given organisation, including detailed contact information.
|
|
166
|
+
* @summary Get expense by contacts report
|
|
167
|
+
* @param xeroTenantId Xero identifier for Tenant
|
|
168
|
+
* @param contactIds Specifies the customer contacts to be included in the report. If no parameter is provided, all customer contacts will be included
|
|
169
|
+
* @param includeManualJournals Specifies whether to include the manual journals in the report. If no parameter is provided, manual journals will not be included.
|
|
170
|
+
* @param startDate Date yyyy-MM-dd Specifies the start date for the report. If no parameter is provided, the date of 12 months before the end date will be used. It is recommended to always specify both a start date and end date; While the initial range may be set to 12 months, this may need to be reduced for high volume organisations in order to improve latency.
|
|
171
|
+
* @param endDate Date yyyy-MM-dd Specifies the end date for the report. If no parameter is provided, the current date will be used. It is recommended to always specify both a start date and end date; While the initial range may be set to 12 months, this may need to be reduced for high volume organisations in order to improve latency.
|
|
172
|
+
*/
|
|
173
|
+
getFinancialStatementContactsExpense(xeroTenantId: string, contactIds?: Array<string>, includeManualJournals?: boolean, startDate?: string, endDate?: string, options?: {
|
|
174
|
+
headers: {
|
|
175
|
+
[name: string]: string;
|
|
176
|
+
};
|
|
177
|
+
}): Promise<{
|
|
178
|
+
response: http.IncomingMessage;
|
|
179
|
+
body: IncomeByContactResponse;
|
|
180
|
+
}>;
|
|
181
|
+
/**
|
|
182
|
+
* The revenue by contact report provides a year to date profit and loss for customers and suppliers for a given organisation, including detailed contact information.
|
|
183
|
+
* @summary Get revenue by contacts report
|
|
184
|
+
* @param xeroTenantId Xero identifier for Tenant
|
|
185
|
+
* @param contactIds Specifies the customer contacts to be included in the report. If no parameter is provided, all customer contacts will be included
|
|
186
|
+
* @param includeManualJournals Specifies whether to include the manual journals in the report. If no parameter is provided, manual journals will not be included.
|
|
187
|
+
* @param startDate Date yyyy-MM-dd Specifies the start date for the report. If no parameter is provided, the date of 12 months before the end date will be used. It is recommended to always specify both a start date and end date; While the initial range may be set to 12 months, this may need to be reduced for high volume organisations in order to improve latency.
|
|
188
|
+
* @param endDate Date yyyy-MM-dd Specifies the end date for the report. If no parameter is provided, the current date will be used. It is recommended to always specify both a start date and end date; While the initial range may be set to 12 months, this may need to be reduced for high volume organisations in order to improve latency.
|
|
189
|
+
*/
|
|
190
|
+
getFinancialStatementContactsRevenue(xeroTenantId: string, contactIds?: Array<string>, includeManualJournals?: boolean, startDate?: string, endDate?: string, options?: {
|
|
191
|
+
headers: {
|
|
192
|
+
[name: string]: string;
|
|
193
|
+
};
|
|
194
|
+
}): Promise<{
|
|
195
|
+
response: http.IncomingMessage;
|
|
196
|
+
body: IncomeByContactResponse;
|
|
197
|
+
}>;
|
|
145
198
|
/**
|
|
146
199
|
* The profit and loss statement is a standard financial report providing detailed year to date income and expense detail for an organisation.
|
|
147
200
|
* @summary Get Profit & Loss report
|