xero-node 4.31.0 → 4.32.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.
Files changed (32) hide show
  1. package/dist/gen/api/accountingApi.d.ts +1 -1
  2. package/dist/gen/api/accountingApi.js +2 -2
  3. package/dist/gen/api/appStoreApi.d.ts +1 -1
  4. package/dist/gen/api/appStoreApi.js +2 -2
  5. package/dist/gen/api/assetApi.d.ts +1 -1
  6. package/dist/gen/api/assetApi.js +2 -2
  7. package/dist/gen/api/bankfeedsApi.d.ts +1 -1
  8. package/dist/gen/api/bankfeedsApi.js +2 -2
  9. package/dist/gen/api/filesApi.d.ts +1 -1
  10. package/dist/gen/api/filesApi.js +2 -2
  11. package/dist/gen/api/financeApi.d.ts +1 -1
  12. package/dist/gen/api/financeApi.js +2 -2
  13. package/dist/gen/api/payrollAUApi.d.ts +1 -1
  14. package/dist/gen/api/payrollAUApi.js +2 -2
  15. package/dist/gen/api/payrollNZApi.d.ts +1 -1
  16. package/dist/gen/api/payrollNZApi.js +2 -2
  17. package/dist/gen/api/payrollUKApi.d.ts +1 -1
  18. package/dist/gen/api/payrollUKApi.js +2 -2
  19. package/dist/gen/api/projectApi.d.ts +1 -1
  20. package/dist/gen/api/projectApi.js +2 -2
  21. package/dist/gen/model/finance/statementLineResponse.d.ts +4 -0
  22. package/dist/gen/model/finance/statementLineResponse.js +5 -0
  23. package/dist/gen/model/finance/statementLineResponse.js.map +1 -1
  24. package/dist/gen/model/finance/statementResponse.d.ts +10 -2
  25. package/dist/gen/model/finance/statementResponse.js +10 -0
  26. package/dist/gen/model/finance/statementResponse.js.map +1 -1
  27. package/dist/gen/model/payroll-au/earningsRate.d.ts +8 -0
  28. package/dist/gen/model/payroll-au/earningsRate.js +10 -0
  29. package/dist/gen/model/payroll-au/earningsRate.js.map +1 -1
  30. package/dist/gen/model/payroll-uk/earningsRate.d.ts +1 -1
  31. package/dist/gen/model/payroll-uk/earningsRate.js +1 -1
  32. 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: 2.33.1
5
+ * The version of the OpenAPI document: 2.35.0
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.33.1
6
+ * The version of the OpenAPI document: 2.35.0
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.31.0' };
37
+ this.defaultHeaders = { 'user-agent': 'xero-node-4.32.0' };
38
38
  this._useQuerystring = false;
39
39
  this.binaryHeaders = {};
40
40
  this.authentications = {
@@ -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.33.1
5
+ * The version of the OpenAPI document: 2.35.0
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.33.1
6
+ * The version of the OpenAPI document: 2.35.0
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.31.0' };
37
+ this.defaultHeaders = { 'user-agent': 'xero-node-4.32.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.33.1
5
+ * The version of the OpenAPI document: 2.35.0
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 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.33.1
6
+ * The version of the OpenAPI document: 2.35.0
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.31.0' };
37
+ this.defaultHeaders = { 'user-agent': 'xero-node-4.32.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.33.1
5
+ * The version of the OpenAPI document: 2.35.0
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.33.1
6
+ * The version of the OpenAPI document: 2.35.0
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.31.0' };
37
+ this.defaultHeaders = { 'user-agent': 'xero-node-4.32.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.33.1
5
+ * The version of the OpenAPI document: 2.35.0
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 Files API
4
4
  * These endpoints are specific to Xero Files API
5
5
  *
6
- * The version of the OpenAPI document: 2.33.1
6
+ * The version of the OpenAPI document: 2.35.0
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.31.0' };
37
+ this.defaultHeaders = { 'user-agent': 'xero-node-4.32.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.33.1
5
+ * The version of the OpenAPI document: 2.35.0
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 Finance API
4
4
  * 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.
5
5
  *
6
- * The version of the OpenAPI document: 2.33.1
6
+ * The version of the OpenAPI document: 2.35.0
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 FinanceApiApiKeys;
34
34
  class FinanceApi {
35
35
  constructor(basePathOrUsername, password, basePath) {
36
36
  this._basePath = defaultBasePath;
37
- this.defaultHeaders = { 'user-agent': 'xero-node-4.31.0' };
37
+ this.defaultHeaders = { 'user-agent': 'xero-node-4.32.0' };
38
38
  this._useQuerystring = false;
39
39
  this.binaryHeaders = {};
40
40
  this.authentications = {
@@ -2,7 +2,7 @@
2
2
  * Xero Payroll AU API
3
3
  * This is the Xero Payroll API for orgs in Australia region.
4
4
  *
5
- * The version of the OpenAPI document: 2.33.1
5
+ * The version of the OpenAPI document: 2.35.0
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 Payroll AU API
4
4
  * This is the Xero Payroll API for orgs in Australia region.
5
5
  *
6
- * The version of the OpenAPI document: 2.33.1
6
+ * The version of the OpenAPI document: 2.35.0
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 PayrollAuApiApiKeys;
34
34
  class PayrollAuApi {
35
35
  constructor(basePathOrUsername, password, basePath) {
36
36
  this._basePath = defaultBasePath;
37
- this.defaultHeaders = { 'user-agent': 'xero-node-4.31.0' };
37
+ this.defaultHeaders = { 'user-agent': 'xero-node-4.32.0' };
38
38
  this._useQuerystring = false;
39
39
  this.binaryHeaders = {};
40
40
  this.authentications = {
@@ -2,7 +2,7 @@
2
2
  * Xero Payroll NZ
3
3
  * This is the Xero Payroll API for orgs in the NZ region.
4
4
  *
5
- * The version of the OpenAPI document: 2.33.1
5
+ * The version of the OpenAPI document: 2.35.0
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 Payroll NZ
4
4
  * This is the Xero Payroll API for orgs in the NZ region.
5
5
  *
6
- * The version of the OpenAPI document: 2.33.1
6
+ * The version of the OpenAPI document: 2.35.0
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 PayrollNzApiApiKeys;
34
34
  class PayrollNzApi {
35
35
  constructor(basePathOrUsername, password, basePath) {
36
36
  this._basePath = defaultBasePath;
37
- this.defaultHeaders = { 'user-agent': 'xero-node-4.31.0' };
37
+ this.defaultHeaders = { 'user-agent': 'xero-node-4.32.0' };
38
38
  this._useQuerystring = false;
39
39
  this.binaryHeaders = {};
40
40
  this.authentications = {
@@ -2,7 +2,7 @@
2
2
  * Xero Payroll UK
3
3
  * This is the Xero Payroll API for orgs in the UK region.
4
4
  *
5
- * The version of the OpenAPI document: 2.33.1
5
+ * The version of the OpenAPI document: 2.35.0
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 Payroll UK
4
4
  * This is the Xero Payroll API for orgs in the UK region.
5
5
  *
6
- * The version of the OpenAPI document: 2.33.1
6
+ * The version of the OpenAPI document: 2.35.0
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 PayrollUkApiApiKeys;
34
34
  class PayrollUkApi {
35
35
  constructor(basePathOrUsername, password, basePath) {
36
36
  this._basePath = defaultBasePath;
37
- this.defaultHeaders = { 'user-agent': 'xero-node-4.31.0' };
37
+ this.defaultHeaders = { 'user-agent': 'xero-node-4.32.0' };
38
38
  this._useQuerystring = false;
39
39
  this.binaryHeaders = {};
40
40
  this.authentications = {
@@ -2,7 +2,7 @@
2
2
  * Xero Projects API
3
3
  * This is the Xero Projects API
4
4
  *
5
- * The version of the OpenAPI document: 2.33.1
5
+ * The version of the OpenAPI document: 2.35.0
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 Projects API
4
4
  * This is the Xero Projects API
5
5
  *
6
- * The version of the OpenAPI document: 2.33.1
6
+ * The version of the OpenAPI document: 2.35.0
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 ProjectApiApiKeys;
34
34
  class ProjectApi {
35
35
  constructor(basePathOrUsername, password, basePath) {
36
36
  this._basePath = defaultBasePath;
37
- this.defaultHeaders = { 'user-agent': 'xero-node-4.31.0' };
37
+ this.defaultHeaders = { 'user-agent': 'xero-node-4.32.0' };
38
38
  this._useQuerystring = false;
39
39
  this.binaryHeaders = {};
40
40
  this.authentications = {
@@ -10,6 +10,10 @@ export declare class StatementLineResponse {
10
10
  */
11
11
  'postedDate'?: string;
12
12
  /**
13
+ * Payee description of statement line
14
+ */
15
+ 'payee'?: string;
16
+ /**
13
17
  * Reference description of statement line
14
18
  */
15
19
  'reference'?: string;
@@ -19,6 +19,11 @@ StatementLineResponse.attributeTypeMap = [
19
19
  "baseName": "postedDate",
20
20
  "type": "string"
21
21
  },
22
+ {
23
+ "name": "payee",
24
+ "baseName": "payee",
25
+ "type": "string"
26
+ },
22
27
  {
23
28
  "name": "reference",
24
29
  "baseName": "reference",
@@ -1 +1 @@
1
- {"version":3,"file":"statementLineResponse.js","sourceRoot":"","sources":["../../../../src/gen/model/finance/statementLineResponse.ts"],"names":[],"mappings":";;;AAGA,MAAa,qBAAqB;IA2H9B,MAAM,CAAC,mBAAmB;QACtB,OAAO,qBAAqB,CAAC,gBAAgB,CAAC;IAClD,CAAC;;AA7HL,sDA8HC;AAxEU,mCAAa,GAAuB,SAAS,CAAC;AAE9C,sCAAgB,GAA0D;IAC7E;QACI,MAAM,EAAE,iBAAiB;QACzB,UAAU,EAAE,iBAAiB;QAC7B,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,YAAY;QACpB,UAAU,EAAE,YAAY;QACxB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,WAAW;QACnB,UAAU,EAAE,WAAW;QACvB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,OAAO;QACf,UAAU,EAAE,OAAO;QACnB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,UAAU;QAClB,UAAU,EAAE,UAAU;QACtB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,QAAQ;QAChB,UAAU,EAAE,QAAQ;QACpB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,iBAAiB;QACzB,UAAU,EAAE,iBAAiB;QAC7B,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,MAAM;QAClB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,cAAc;QACtB,UAAU,EAAE,cAAc;QAC1B,MAAM,EAAE,SAAS;KACpB;IACD;QACI,MAAM,EAAE,aAAa;QACrB,UAAU,EAAE,aAAa;QACzB,MAAM,EAAE,SAAS;KACpB;IACD;QACI,MAAM,EAAE,WAAW;QACnB,UAAU,EAAE,WAAW;QACvB,MAAM,EAAE,SAAS;KACpB;IACD;QACI,MAAM,EAAE,UAAU;QAClB,UAAU,EAAE,UAAU;QACtB,MAAM,EAAE,wBAAwB;KACnC;IACD;QACI,MAAM,EAAE,kBAAkB;QAC1B,UAAU,EAAE,kBAAkB;QAC9B,MAAM,EAAE,gCAAgC;KAC3C;CAAK,CAAC"}
1
+ {"version":3,"file":"statementLineResponse.js","sourceRoot":"","sources":["../../../../src/gen/model/finance/statementLineResponse.ts"],"names":[],"mappings":";;;AAGA,MAAa,qBAAqB;IAoI9B,MAAM,CAAC,mBAAmB;QACtB,OAAO,qBAAqB,CAAC,gBAAgB,CAAC;IAClD,CAAC;;AAtIL,sDAuIC;AA7EU,mCAAa,GAAuB,SAAS,CAAC;AAE9C,sCAAgB,GAA0D;IAC7E;QACI,MAAM,EAAE,iBAAiB;QACzB,UAAU,EAAE,iBAAiB;QAC7B,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,YAAY;QACpB,UAAU,EAAE,YAAY;QACxB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,OAAO;QACf,UAAU,EAAE,OAAO;QACnB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,WAAW;QACnB,UAAU,EAAE,WAAW;QACvB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,OAAO;QACf,UAAU,EAAE,OAAO;QACnB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,UAAU;QAClB,UAAU,EAAE,UAAU;QACtB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,QAAQ;QAChB,UAAU,EAAE,QAAQ;QACpB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,iBAAiB;QACzB,UAAU,EAAE,iBAAiB;QAC7B,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,MAAM;QAClB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,cAAc;QACtB,UAAU,EAAE,cAAc;QAC1B,MAAM,EAAE,SAAS;KACpB;IACD;QACI,MAAM,EAAE,aAAa;QACrB,UAAU,EAAE,aAAa;QACzB,MAAM,EAAE,SAAS;KACpB;IACD;QACI,MAAM,EAAE,WAAW;QACnB,UAAU,EAAE,WAAW;QACvB,MAAM,EAAE,SAAS;KACpB;IACD;QACI,MAAM,EAAE,UAAU;QAClB,UAAU,EAAE,UAAU;QACtB,MAAM,EAAE,wBAAwB;KACnC;IACD;QACI,MAAM,EAAE,kBAAkB;QAC1B,UAAU,EAAE,kBAAkB;QAC9B,MAAM,EAAE,gCAAgC;KAC3C;CAAK,CAAC"}
@@ -21,14 +21,22 @@ export declare class StatementResponse {
21
21
  */
22
22
  'importSource'?: string;
23
23
  /**
24
- * Opening balance sourced from imported bank statements (if supplied). Note, for manually uploaded statements, this balance is also manual and usually not supplied.
24
+ * Opening balance sourced from imported bank statements (if supplied). Note, for manually uploaded statements, this balance is also manual and usually not supplied. Where not supplied, the value will be 0.
25
25
  */
26
26
  'startBalance'?: number;
27
27
  /**
28
- * Closing balance sourced from imported bank statements (if supplied). Note, for manually uploaded statements, this balance is also manual and usually not supplied.
28
+ * Closing balance sourced from imported bank statements (if supplied). Note, for manually uploaded statements, this balance is also manual and usually not supplied. Where not supplied, the value will be 0.
29
29
  */
30
30
  'endBalance'?: number;
31
31
  /**
32
+ * Opening statement balance calculated in Xero (= bank account conversion balance plus sum of imported bank statement lines). Note: If indicative statement balance doesn\'t match imported statement balance for the same date, either the conversion (opening at inception) balance in Xero is wrong or there\'s an error in the bank statement lines in Xero. Ref: https://central.xero.com/s/article/Compare-the-statement-balance-in-Xero-to-your-actual-bank-balance?userregion=true
33
+ */
34
+ 'indicativeStartBalance'?: number;
35
+ /**
36
+ * Closing statement balance calculated in Xero (= bank account conversion balance plus sum of imported bank statement lines). Note: If indicative statement balance doesn\'t match imported statement balance for the same date, either the conversion (opening at inception) balance in Xero is wrong or there\'s an error in the bank statement lines in Xero. Ref: https://central.xero.com/s/article/Compare-the-statement-balance-in-Xero-to-your-actual-bank-balance?userregion=true
37
+ */
38
+ 'indicativeEndBalance'?: number;
39
+ /**
32
40
  * List of statement lines
33
41
  */
34
42
  'statementLines'?: Array<StatementLineResponse>;
@@ -44,6 +44,16 @@ StatementResponse.attributeTypeMap = [
44
44
  "baseName": "endBalance",
45
45
  "type": "number"
46
46
  },
47
+ {
48
+ "name": "indicativeStartBalance",
49
+ "baseName": "indicativeStartBalance",
50
+ "type": "number"
51
+ },
52
+ {
53
+ "name": "indicativeEndBalance",
54
+ "baseName": "indicativeEndBalance",
55
+ "type": "number"
56
+ },
47
57
  {
48
58
  "name": "statementLines",
49
59
  "baseName": "statementLines",
@@ -1 +1 @@
1
- {"version":3,"file":"statementResponse.js","sourceRoot":"","sources":["../../../../src/gen/model/finance/statementResponse.ts"],"names":[],"mappings":";;;AAEA,MAAa,iBAAiB;IA8E1B,MAAM,CAAC,mBAAmB;QACtB,OAAO,iBAAiB,CAAC,gBAAgB,CAAC;IAC9C,CAAC;;AAhFL,8CAiFC;AA/CU,+BAAa,GAAuB,SAAS,CAAC;AAE9C,kCAAgB,GAA0D;IAC7E;QACI,MAAM,EAAE,aAAa;QACrB,UAAU,EAAE,aAAa;QACzB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,WAAW;QACnB,UAAU,EAAE,WAAW;QACvB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,SAAS;QACjB,UAAU,EAAE,SAAS;QACrB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,qBAAqB;QAC7B,UAAU,EAAE,qBAAqB;QACjC,MAAM,EAAE,MAAM;KACjB;IACD;QACI,MAAM,EAAE,cAAc;QACtB,UAAU,EAAE,cAAc;QAC1B,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,cAAc;QACtB,UAAU,EAAE,cAAc;QAC1B,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,YAAY;QACpB,UAAU,EAAE,YAAY;QACxB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,gBAAgB;QACxB,UAAU,EAAE,gBAAgB;QAC5B,MAAM,EAAE,8BAA8B;KACzC;CAAK,CAAC"}
1
+ {"version":3,"file":"statementResponse.js","sourceRoot":"","sources":["../../../../src/gen/model/finance/statementResponse.ts"],"names":[],"mappings":";;;AAEA,MAAa,iBAAiB;IAgG1B,MAAM,CAAC,mBAAmB;QACtB,OAAO,iBAAiB,CAAC,gBAAgB,CAAC;IAC9C,CAAC;;AAlGL,8CAmGC;AAzDU,+BAAa,GAAuB,SAAS,CAAC;AAE9C,kCAAgB,GAA0D;IAC7E;QACI,MAAM,EAAE,aAAa;QACrB,UAAU,EAAE,aAAa;QACzB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,WAAW;QACnB,UAAU,EAAE,WAAW;QACvB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,SAAS;QACjB,UAAU,EAAE,SAAS;QACrB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,qBAAqB;QAC7B,UAAU,EAAE,qBAAqB;QACjC,MAAM,EAAE,MAAM;KACjB;IACD;QACI,MAAM,EAAE,cAAc;QACtB,UAAU,EAAE,cAAc;QAC1B,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,cAAc;QACtB,UAAU,EAAE,cAAc;QAC1B,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,YAAY;QACpB,UAAU,EAAE,YAAY;QACxB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,wBAAwB;QAChC,UAAU,EAAE,wBAAwB;QACpC,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,sBAAsB;QAC9B,UAAU,EAAE,sBAAsB;QAClC,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,gBAAgB;QACxB,UAAU,EAAE,gBAAgB;QAC5B,MAAM,EAAE,8BAA8B;KACzC;CAAK,CAAC"}
@@ -28,6 +28,14 @@ export declare class EarningsRate {
28
28
  * Boolean to determine if the earnings rate is reportable or exempt from W1
29
29
  */
30
30
  'isReportableAsW1'?: boolean;
31
+ /**
32
+ * Boolean to determine if the allowance earnings rate contributes towards annual leave rate. Only applicable if EarningsType is ALLOWANCE and RateType is RATEPERUNIT
33
+ */
34
+ 'allowanceContributesToAnnualLeaveRate'?: boolean;
35
+ /**
36
+ * Boolean to determine if the allowance earnings rate contributes towards overtime allowance rate. Only applicable if EarningsType is ALLOWANCE and RateType is RATEPERUNIT
37
+ */
38
+ 'allowanceContributesToOvertimeRate'?: boolean;
31
39
  'earningsType'?: EarningsType;
32
40
  /**
33
41
  * Xero identifier
@@ -39,6 +39,16 @@ EarningsRate.attributeTypeMap = [
39
39
  "baseName": "IsReportableAsW1",
40
40
  "type": "boolean"
41
41
  },
42
+ {
43
+ "name": "allowanceContributesToAnnualLeaveRate",
44
+ "baseName": "AllowanceContributesToAnnualLeaveRate",
45
+ "type": "boolean"
46
+ },
47
+ {
48
+ "name": "allowanceContributesToOvertimeRate",
49
+ "baseName": "AllowanceContributesToOvertimeRate",
50
+ "type": "boolean"
51
+ },
42
52
  {
43
53
  "name": "earningsType",
44
54
  "baseName": "EarningsType",
@@ -1 +1 @@
1
- {"version":3,"file":"earningsRate.js","sourceRoot":"","sources":["../../../../src/gen/model/payroll-au/earningsRate.ts"],"names":[],"mappings":";;;AAMA,MAAa,YAAY;IAyJrB,MAAM,CAAC,mBAAmB;QACtB,OAAO,YAAY,CAAC,gBAAg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C,UAAU,EAAE,kCAAkC;QAC9C,MAAM,EAAE,kCAAkC;KAC7C;IACD;QACI,MAAM,EAAE,gBAAgB;QACxB,UAAU,EAAE,gBAAgB;QAC5B,MAAM,EAAE,MAAM;KACjB;IACD;QACI,MAAM,EAAE,eAAe;QACvB,UAAU,EAAE,eAAe;QAC3B,MAAM,EAAE,SAAS;KACpB;IACD;QACI,MAAM,EAAE,eAAe;QACvB,UAAU,EAAE,eAAe;QAC3B,MAAM,EAAE,eAAe;KAC1B;IACD;QACI,MAAM,EAAE,mBAAmB;QAC3B,UAAU,EAAE,mBAAmB;QAC/B,MAAM,EAAE,mBAAmB;KAC9B;CAAK,CAAC"}
1
+ {"version":3,"file":"earningsRate.js","sourceRoot":"","sources":["../../../../src/gen/model/payroll-au/earningsRate.ts"],"names":[],"mappings":";;;AAMA,MAAa,YAAY;IA2KrB,MAAM,CAAC,mBAAmB;QACtB,OAAO,YAAY,CAAC,gBAAgB,CAAC;IACzC,CAAC;;AA7KL,oCA8KC;AA3GU,0BAAa,GAAuB,SAAS,CAAC;AAE9C,6BAAgB,GAA0D;IAC7E;QACI,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,MAAM;QAClB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,aAAa;QACrB,UAAU,EAAE,aAAa;QACzB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,aAAa;QACrB,UAAU,EAAE,aAAa;QACzB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,iBAAiB;QACzB,UAAU,EAAE,iBAAiB;QAC7B,MAAM,EAAE,SAAS;KACpB;IACD;QACI,MAAM,EAAE,mBAAmB;QAC3B,UAAU,EAAE,mBAAmB;QAC/B,MAAM,EAAE,SAAS;KACpB;IACD;QACI,MAAM,EAAE,kBAAkB;QAC1B,UAAU,EAAE,kBAAkB;QAC9B,MAAM,EAAE,SAAS;KACpB;IACD;QACI,MAAM,EAAE,uCAAuC;QAC/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ningsRate {
55
55
  enum EarningsTypeEnum {
56
56
  Allowance,
57
- Backpay,
57
+ BackPay,
58
58
  Bonus,
59
59
  Commission,
60
60
  LumpSum,
@@ -64,7 +64,7 @@ EarningsRate.attributeTypeMap = [
64
64
  let EarningsTypeEnum;
65
65
  (function (EarningsTypeEnum) {
66
66
  EarningsTypeEnum[EarningsTypeEnum["Allowance"] = 'Allowance'] = "Allowance";
67
- EarningsTypeEnum[EarningsTypeEnum["Backpay"] = 'Backpay'] = "Backpay";
67
+ EarningsTypeEnum[EarningsTypeEnum["BackPay"] = 'BackPay'] = "BackPay";
68
68
  EarningsTypeEnum[EarningsTypeEnum["Bonus"] = 'Bonus'] = "Bonus";
69
69
  EarningsTypeEnum[EarningsTypeEnum["Commission"] = 'Commission'] = "Commission";
70
70
  EarningsTypeEnum[EarningsTypeEnum["LumpSum"] = 'LumpSum'] = "LumpSum";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xero-node",
3
- "version": "4.31.0",
3
+ "version": "4.32.0",
4
4
  "description": "Xero NodeJS OAuth 2.0 client for xero-node",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",