xero-node 19.1.0 → 19.2.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.
@@ -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: 16.2.0
5
+ * The version of the OpenAPI document: 19.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).
@@ -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: 16.2.0
6
+ * The version of the OpenAPI document: 19.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-19.1.0' };
42
+ this.defaultHeaders = { 'user-agent': 'xero-node-19.2.0' };
43
43
  this._useQuerystring = false;
44
44
  this.binaryHeaders = {};
45
45
  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: 16.2.0
5
+ * The version of the OpenAPI document: 19.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).
@@ -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: 16.2.0
6
+ * The version of the OpenAPI document: 19.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).
@@ -38,7 +38,7 @@ var AppStoreApiApiKeys;
38
38
  class AppStoreApi {
39
39
  constructor(basePathOrUsername, password, basePath) {
40
40
  this._basePath = defaultBasePath;
41
- this.defaultHeaders = { 'user-agent': 'xero-node-19.1.0' };
41
+ this.defaultHeaders = { 'user-agent': 'xero-node-19.2.0' };
42
42
  this._useQuerystring = false;
43
43
  this.binaryHeaders = {};
44
44
  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: 16.2.0
5
+ * The version of the OpenAPI document: 19.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).
@@ -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: 16.2.0
6
+ * The version of the OpenAPI document: 19.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).
@@ -38,7 +38,7 @@ var AssetApiApiKeys;
38
38
  class AssetApi {
39
39
  constructor(basePathOrUsername, password, basePath) {
40
40
  this._basePath = defaultBasePath;
41
- this.defaultHeaders = { 'user-agent': 'xero-node-19.1.0' };
41
+ this.defaultHeaders = { 'user-agent': 'xero-node-19.2.0' };
42
42
  this._useQuerystring = false;
43
43
  this.binaryHeaders = {};
44
44
  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: 16.2.0
5
+ * The version of the OpenAPI document: 19.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).
@@ -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: 16.2.0
6
+ * The version of the OpenAPI document: 19.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).
@@ -38,7 +38,7 @@ var BankFeedsApiApiKeys;
38
38
  class BankFeedsApi {
39
39
  constructor(basePathOrUsername, password, basePath) {
40
40
  this._basePath = defaultBasePath;
41
- this.defaultHeaders = { 'user-agent': 'xero-node-19.1.0' };
41
+ this.defaultHeaders = { 'user-agent': 'xero-node-19.2.0' };
42
42
  this._useQuerystring = false;
43
43
  this.binaryHeaders = {};
44
44
  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: 16.2.0
5
+ * The version of the OpenAPI document: 19.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).
@@ -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: 16.2.0
6
+ * The version of the OpenAPI document: 19.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).
@@ -38,7 +38,7 @@ var FilesApiApiKeys;
38
38
  class FilesApi {
39
39
  constructor(basePathOrUsername, password, basePath) {
40
40
  this._basePath = defaultBasePath;
41
- this.defaultHeaders = { 'user-agent': 'xero-node-19.1.0' };
41
+ this.defaultHeaders = { 'user-agent': 'xero-node-19.2.0' };
42
42
  this._useQuerystring = false;
43
43
  this.binaryHeaders = {};
44
44
  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: 16.2.0
5
+ * The version of the OpenAPI document: 19.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).
@@ -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: 16.2.0
6
+ * The version of the OpenAPI document: 19.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).
@@ -38,7 +38,7 @@ var FinanceApiApiKeys;
38
38
  class FinanceApi {
39
39
  constructor(basePathOrUsername, password, basePath) {
40
40
  this._basePath = defaultBasePath;
41
- this.defaultHeaders = { 'user-agent': 'xero-node-19.1.0' };
41
+ this.defaultHeaders = { 'user-agent': 'xero-node-19.2.0' };
42
42
  this._useQuerystring = false;
43
43
  this.binaryHeaders = {};
44
44
  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: 16.2.0
5
+ * The version of the OpenAPI document: 19.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).
@@ -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: 16.2.0
6
+ * The version of the OpenAPI document: 19.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).
@@ -38,7 +38,7 @@ var PayrollAuApiApiKeys;
38
38
  class PayrollAuApi {
39
39
  constructor(basePathOrUsername, password, basePath) {
40
40
  this._basePath = defaultBasePath;
41
- this.defaultHeaders = { 'user-agent': 'xero-node-19.1.0' };
41
+ this.defaultHeaders = { 'user-agent': 'xero-node-19.2.0' };
42
42
  this._useQuerystring = false;
43
43
  this.binaryHeaders = {};
44
44
  this.authentications = {
@@ -2,7 +2,7 @@
2
2
  * Xero Payroll AU API 2.0
3
3
  * This is the Xero Payroll API 2.0 for orgs in Australia region.
4
4
  *
5
- * The version of the OpenAPI document: 16.2.0
5
+ * The version of the OpenAPI document: 19.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).
@@ -3,7 +3,7 @@
3
3
  * Xero Payroll AU API 2.0
4
4
  * This is the Xero Payroll API 2.0 for orgs in Australia region.
5
5
  *
6
- * The version of the OpenAPI document: 16.2.0
6
+ * The version of the OpenAPI document: 19.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).
@@ -38,7 +38,7 @@ var PayrollAuV2ApiApiKeys;
38
38
  class PayrollAuV2Api {
39
39
  constructor(basePathOrUsername, password, basePath) {
40
40
  this._basePath = defaultBasePath;
41
- this.defaultHeaders = { 'user-agent': 'xero-node-19.1.0' };
41
+ this.defaultHeaders = { 'user-agent': 'xero-node-19.2.0' };
42
42
  this._useQuerystring = false;
43
43
  this.binaryHeaders = {};
44
44
  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: 16.2.0
5
+ * The version of the OpenAPI document: 19.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).
@@ -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: 16.2.0
6
+ * The version of the OpenAPI document: 19.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).
@@ -38,7 +38,7 @@ var PayrollNzApiApiKeys;
38
38
  class PayrollNzApi {
39
39
  constructor(basePathOrUsername, password, basePath) {
40
40
  this._basePath = defaultBasePath;
41
- this.defaultHeaders = { 'user-agent': 'xero-node-19.1.0' };
41
+ this.defaultHeaders = { 'user-agent': 'xero-node-19.2.0' };
42
42
  this._useQuerystring = false;
43
43
  this.binaryHeaders = {};
44
44
  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: 16.2.0
5
+ * The version of the OpenAPI document: 19.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).
@@ -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: 16.2.0
6
+ * The version of the OpenAPI document: 19.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).
@@ -38,7 +38,7 @@ var PayrollUkApiApiKeys;
38
38
  class PayrollUkApi {
39
39
  constructor(basePathOrUsername, password, basePath) {
40
40
  this._basePath = defaultBasePath;
41
- this.defaultHeaders = { 'user-agent': 'xero-node-19.1.0' };
41
+ this.defaultHeaders = { 'user-agent': 'xero-node-19.2.0' };
42
42
  this._useQuerystring = false;
43
43
  this.binaryHeaders = {};
44
44
  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: 16.2.0
5
+ * The version of the OpenAPI document: 19.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).
@@ -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: 16.2.0
6
+ * The version of the OpenAPI document: 19.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).
@@ -38,7 +38,7 @@ var ProjectApiApiKeys;
38
38
  class ProjectApi {
39
39
  constructor(basePathOrUsername, password, basePath) {
40
40
  this._basePath = defaultBasePath;
41
- this.defaultHeaders = { 'user-agent': 'xero-node-19.1.0' };
41
+ this.defaultHeaders = { 'user-agent': 'xero-node-19.2.0' };
42
42
  this._useQuerystring = false;
43
43
  this.binaryHeaders = {};
44
44
  this.authentications = {
@@ -74,15 +74,15 @@ export declare class Invoice {
74
74
  */
75
75
  'cISRate'?: number;
76
76
  /**
77
- * Total of invoice excluding taxes
77
+ * Total of invoice excluding taxes. Calculated automatically by Xero from the invoice\'s line items. Only for ACCPAY and ACCREC invoices, where this opt-in capability is enabled for your organisation, can SubTotal be supplied on write – on a SUBMITTED or AUTHORISED invoice supplied together with TotalTax and Total, it is validated against the calculated line item totals (see RoundingAmount); it is ignored in all other cases. This write behaviour, and the returned value reflecting it, only applies to the Create and Update endpoints (POST/PUT) and to retrieving a single invoice by ID (GET by ID) – it does not apply when listing invoices (GET)
78
78
  */
79
79
  'subTotal'?: number;
80
80
  /**
81
- * Total tax on invoice
81
+ * Total tax on invoice. Calculated automatically by Xero from the invoice\'s line items. Only for ACCPAY and ACCREC invoices, where this opt-in capability is enabled for your organisation, can TotalTax be supplied on write – on a SUBMITTED or AUTHORISED invoice supplied together with SubTotal and Total, it is validated against the calculated line item totals (see RoundingAmount); it is ignored in all other cases. This write behaviour, and the returned value reflecting it, only applies to the Create and Update endpoints (POST/PUT) and to retrieving a single invoice by ID (GET by ID) – it does not apply when listing invoices (GET)
82
82
  */
83
83
  'totalTax'?: number;
84
84
  /**
85
- * Total of Invoice tax inclusive (i.e. SubTotal + TotalTax). This will be ignored if it doesn’t equal the sum of the LineAmounts
85
+ * Total of Invoice tax inclusive (i.e. SubTotal + TotalTax + RoundingAmount). Calculated automatically by Xero from the invoice\'s line items. Only for ACCPAY and ACCREC invoices, where this opt-in capability is enabled for your organisation, can Total be supplied on write – on a SUBMITTED or AUTHORISED invoice supplied together with SubTotal and TotalTax, it is validated against the calculated line item totals plus RoundingAmount; in all other cases this will be ignored if it does not equal the sum of the LineAmounts. This write behaviour, and the returned value reflecting it, only applies to the Create and Update endpoints (POST/PUT) and to retrieving a single invoice by ID (GET by ID) – it does not apply when listing invoices (GET)
86
86
  */
87
87
  'total'?: number;
88
88
  /**
@@ -90,6 +90,14 @@ export declare class Invoice {
90
90
  */
91
91
  'totalDiscount'?: number;
92
92
  /**
93
+ * An optional rounding adjustment added to SubTotal + TotalTax to give Total (i.e. Total = SubTotal + TotalTax + RoundingAmount). Only applies to ACCPAY and ACCREC invoices, and only if this opt-in capability has been enabled for your organisation. Not validated while the invoice is DRAFT. For SUBMITTED and AUTHORISED invoices, RoundingAmount is only applied when SubTotal, TotalTax and Total are all supplied together, and must be between -0.10 and 0.10 – values outside this range are rejected with a validation error (on DRAFT invoices, an out-of-range value is ignored instead). This field is only settable and only returned via the Create and Update endpoints (POST/PUT) and when retrieving a single invoice by ID (GET by ID) – it is not returned when listing invoices (GET)
94
+ */
95
+ 'roundingAmount'?: number;
96
+ /**
97
+ * The total amount as originally entered for the invoice, before any RoundingAmount adjustment is applied. Only applies to ACCPAY and ACCREC invoices, and only if this opt-in capability has been enabled for your organisation. Can only be set while the invoice is DRAFT; once the invoice is no longer DRAFT this reflects Total. This field is only settable and only returned via the Create and Update endpoints (POST/PUT) and when retrieving a single invoice by ID (GET by ID) – it is not returned when listing invoices (GET)
98
+ */
99
+ 'enteredTotal'?: number;
100
+ /**
93
101
  * Xero generated unique identifier for invoice
94
102
  */
95
103
  'invoiceID'?: string;
@@ -119,6 +119,16 @@ Invoice.attributeTypeMap = [
119
119
  "baseName": "TotalDiscount",
120
120
  "type": "number"
121
121
  },
122
+ {
123
+ "name": "roundingAmount",
124
+ "baseName": "RoundingAmount",
125
+ "type": "number"
126
+ },
127
+ {
128
+ "name": "enteredTotal",
129
+ "baseName": "EnteredTotal",
130
+ "type": "number"
131
+ },
122
132
  {
123
133
  "name": "invoiceID",
124
134
  "baseName": "InvoiceID",
@@ -1 +1 @@
1
- {"version":3,"file":"invoice.js","sourceRoot":"","sources":["../../../../src/gen/model/accounting/invoice.ts"],"names":[],"mappings":";;;AAYA,MAAa,OAAO;IAuXhB,MAAM,CAAC,mBAAmB;QACtB,OAAO,OAAO,CAAC,gBAAgB,CAAC;IACpC,CAAC;;AAzXL,0BA0XC;AAzNU,qBAAa,GAAuB,SAAS,CAAC;AAE9C,wBAAgB,GAA0D;IAC7E;QACI,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,MAAM;QAClB,MAAM,EAAE,kBAAkB;KAC7B;IACD;QACI,MAAM,EAAE,SAAS;QACjB,UAAU,EAAE,SAAS;QACrB,MAAM,EAAE,SAAS;KACpB;IACD;QACI,MAAM,EAAE,WAAW;QACnB,UAAU,EAAE,WAAW;QACvB,MAAM,EAAE,iBAAiB;KAC5B;IACD;QACI,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,MAAM;QAClB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,SAAS;QACjB,UAAU,EAAE,SAAS;QACrB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,iBAAiB;QACzB,UAAU,EAAE,iBAAiB;QAC7B,MAAM,EAAE,iBAAiB;KAC5B;IACD;QACI,MAA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C3B,CAAC,EAPW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAOrB;AACL,CAAC,EAnBgB,OAAO,uBAAP,OAAO,QAmBvB"}
1
+ {"version":3,"file":"invoice.js","sourceRoot":"","sources":["../../../../src/gen/model/accounting/invoice.ts"],"names":[],"mappings":";;;AAYA,MAAa,OAAO;IAyYhB,MAAM,CAAC,mBAAmB;QACtB,OAAO,OAAO,CAAC,gBAAgB,CAAC;IACpC,CAAC;;AA3YL,0BA4YC;AAnOU,qBAAa,GAAuB,SAAS,CAAC;AAE9C,wBAAgB,GAA0D;IAC7E;QACI,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,MAAM;QAClB,MAAM,EAAE,kBAAkB;KAC7B;IACD;QACI,MAAM,EAAE,SAAS;QACjB,UAAU,EAAE,SAAS;QACrB,MAAM,EAAE,SAAS;KACpB;IACD;QACI,MAAM,EAAE,WAAW;QACnB,UAAU,EAAE,WAAW;QACvB,MAAM,EAAE,iBAAiB;KAC5B;IACD;QACI,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,MAAM;QAClB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,SAAS;QACjB,UAAU,EAAE,SAAS;QACrB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,iBAAiB;QACzB,UAAU,EAAE,iBAAiB;QAC7B,MAAM,EAAE,iBAAiB;KAC5B;IACD;QACI,MAAM,EAAE,eAAe;QACvB,UAAU,EAAE,eAAe;QAC3B,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,WAAW;QACnB,UAAU,EAAE,WAAW;QACvB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,iBAAiB;QACzB,UAAU,EAAE,iBAAiB;QAC7B,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,KAAK;QACb,UAAU,EAAE,KAAK;QACjB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,cA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- Unspecified
7
+ Unspecified,
8
+ OffPayrollWorker
8
9
  }
@@ -9,5 +9,6 @@ var EmploymentStatus;
9
9
  EmploymentStatus[EmploymentStatus["Employee"] = 'Employee'] = "Employee";
10
10
  EmploymentStatus[EmploymentStatus["Worker"] = 'Worker'] = "Worker";
11
11
  EmploymentStatus[EmploymentStatus["Unspecified"] = 'Unspecified'] = "Unspecified";
12
+ EmploymentStatus[EmploymentStatus["OffPayrollWorker"] = 'OffPayrollWorker'] = "OffPayrollWorker";
12
13
  })(EmploymentStatus || (exports.EmploymentStatus = EmploymentStatus = {}));
13
14
  //# sourceMappingURL=employmentStatus.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"employmentStatus.js","sourceRoot":"","sources":["../../../../src/gen/model/payroll-uk/employmentStatus.ts"],"names":[],"mappings":";;;AACA;;EAEE;AACF,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IACxB,gDAAiB,UAAU,cAAA,CAAA;IAC3B,8CAAe,QAAQ,YAAA,CAAA;IACvB,mDAAoB,aAAa,iBAAA,CAAA;AACrC,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B"}
1
+ {"version":3,"file":"employmentStatus.js","sourceRoot":"","sources":["../../../../src/gen/model/payroll-uk/employmentStatus.ts"],"names":[],"mappings":";;;AACA;;EAEE;AACF,IAAY,gBAKX;AALD,WAAY,gBAAgB;IACxB,gDAAiB,UAAU,cAAA,CAAA;IAC3B,8CAAe,QAAQ,YAAA,CAAA;IACvB,mDAAoB,aAAa,iBAAA,CAAA;IACjC,wDAAyB,kBAAkB,sBAAA,CAAA;AAC/C,CAAC,EALW,gBAAgB,gCAAhB,gBAAgB,QAK3B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xero-node",
3
- "version": "19.1.0",
3
+ "version": "19.2.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",