xero-node 13.3.0 → 13.4.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 (33) hide show
  1. package/dist/XeroClient.js +17 -7
  2. package/dist/XeroClient.js.map +1 -1
  3. package/dist/gen/api/accountingApi.d.ts +3 -2
  4. package/dist/gen/api/accountingApi.js +8 -4
  5. package/dist/gen/api/accountingApi.js.map +1 -1
  6. package/dist/gen/api/appStoreApi.d.ts +1 -1
  7. package/dist/gen/api/appStoreApi.js +2 -2
  8. package/dist/gen/api/assetApi.d.ts +1 -1
  9. package/dist/gen/api/assetApi.js +2 -2
  10. package/dist/gen/api/bankfeedsApi.d.ts +1 -1
  11. package/dist/gen/api/bankfeedsApi.js +2 -2
  12. package/dist/gen/api/filesApi.d.ts +1 -1
  13. package/dist/gen/api/filesApi.js +2 -2
  14. package/dist/gen/api/financeApi.d.ts +1 -1
  15. package/dist/gen/api/financeApi.js +2 -2
  16. package/dist/gen/api/payrollAUApi.d.ts +1 -1
  17. package/dist/gen/api/payrollAUApi.js +2 -2
  18. package/dist/gen/api/payrollNZApi.d.ts +1 -1
  19. package/dist/gen/api/payrollNZApi.js +2 -2
  20. package/dist/gen/api/payrollUKApi.d.ts +1 -1
  21. package/dist/gen/api/payrollUKApi.js +2 -2
  22. package/dist/gen/api/projectApi.d.ts +1 -1
  23. package/dist/gen/api/projectApi.js +2 -2
  24. package/dist/gen/model/accounting/overpayment.d.ts +4 -0
  25. package/dist/gen/model/accounting/overpayment.js +5 -0
  26. package/dist/gen/model/accounting/overpayment.js.map +1 -1
  27. package/dist/gen/model/payroll-nz/employeeLeaveSetup.d.ts +0 -8
  28. package/dist/gen/model/payroll-nz/employeeLeaveSetup.js +0 -10
  29. package/dist/gen/model/payroll-nz/employeeLeaveSetup.js.map +1 -1
  30. package/dist/gen/model/payroll-nz/employeeLeaveType.d.ts +1 -5
  31. package/dist/gen/model/payroll-nz/employeeLeaveType.js +1 -6
  32. package/dist/gen/model/payroll-nz/employeeLeaveType.js.map +1 -1
  33. package/package.json +1 -1
@@ -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: 9.3.0
5
+ * The version of the OpenAPI document: 10.1.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: 9.3.0
6
+ * The version of the OpenAPI document: 10.1.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-13.3.0' };
41
+ this.defaultHeaders = { 'user-agent': 'xero-node-13.4.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: 9.3.0
5
+ * The version of the OpenAPI document: 10.1.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: 9.3.0
6
+ * The version of the OpenAPI document: 10.1.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-13.3.0' };
41
+ this.defaultHeaders = { 'user-agent': 'xero-node-13.4.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: 9.3.0
5
+ * The version of the OpenAPI document: 10.1.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: 9.3.0
6
+ * The version of the OpenAPI document: 10.1.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-13.3.0' };
41
+ this.defaultHeaders = { 'user-agent': 'xero-node-13.4.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: 9.3.0
5
+ * The version of the OpenAPI document: 10.1.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: 9.3.0
6
+ * The version of the OpenAPI document: 10.1.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-13.3.0' };
41
+ this.defaultHeaders = { 'user-agent': 'xero-node-13.4.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: 9.3.0
5
+ * The version of the OpenAPI document: 10.1.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: 9.3.0
6
+ * The version of the OpenAPI document: 10.1.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-13.3.0' };
41
+ this.defaultHeaders = { 'user-agent': 'xero-node-13.4.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: 9.3.0
5
+ * The version of the OpenAPI document: 10.1.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: 9.3.0
6
+ * The version of the OpenAPI document: 10.1.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-13.3.0' };
41
+ this.defaultHeaders = { 'user-agent': 'xero-node-13.4.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: 9.3.0
5
+ * The version of the OpenAPI document: 10.1.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: 9.3.0
6
+ * The version of the OpenAPI document: 10.1.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-13.3.0' };
41
+ this.defaultHeaders = { 'user-agent': 'xero-node-13.4.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: 9.3.0
5
+ * The version of the OpenAPI document: 10.1.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: 9.3.0
6
+ * The version of the OpenAPI document: 10.1.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-13.3.0' };
41
+ this.defaultHeaders = { 'user-agent': 'xero-node-13.4.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: 9.3.0
5
+ * The version of the OpenAPI document: 10.1.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: 9.3.0
6
+ * The version of the OpenAPI document: 10.1.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-13.3.0' };
41
+ this.defaultHeaders = { 'user-agent': 'xero-node-13.4.0' };
42
42
  this._useQuerystring = false;
43
43
  this.binaryHeaders = {};
44
44
  this.authentications = {
@@ -70,6 +70,10 @@ export declare class Overpayment {
70
70
  */
71
71
  'hasAttachments'?: boolean;
72
72
  /**
73
+ * An optional description for Overpayment
74
+ */
75
+ 'reference'?: string;
76
+ /**
73
77
  * See Attachments
74
78
  */
75
79
  'attachments'?: Array<Attachment>;
@@ -99,6 +99,11 @@ Overpayment.attributeTypeMap = [
99
99
  "baseName": "HasAttachments",
100
100
  "type": "boolean"
101
101
  },
102
+ {
103
+ "name": "reference",
104
+ "baseName": "Reference",
105
+ "type": "string"
106
+ },
102
107
  {
103
108
  "name": "attachments",
104
109
  "baseName": "Attachments",
@@ -1 +1 @@
1
- {"version":3,"file":"overpayment.js","sourceRoot":"","sources":["../../../../src/gen/model/accounting/overpayment.ts"],"names":[],"mappings":";;;AAQA,MAAa,WAAW;IAwKpB,MAAM,CAAC,mBAAmB;QACtB,OAAO,WAAW,CAAC,gBAAgB,CAAC;IACxC,CAAC;;AA1KL,kCA2KC;AAtGU,yBAAa,GAAuB,SAAS,CAAC;AAE9C,4BAAgB,GAA0D;IAC7E;QACI,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,MAAM;QAClB,MAAM,EAAE,sBAAsB;KACjC;IACD;QACI,MAAM,EAAE,SAAS;QACjB,UAAU,EAAE,SAAS;QACrB,MAAM,EAAE,SAAS;KACpB;IACD;QAC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AU;QACtB,MAAM,EAAE,gBAAgB;KAC3B;IACD;QACI,MAAM,EAAE,gBAAgB;QACxB,UAAU,EAAE,gBAAgB;QAC5B,MAAM,EAAE,SAAS;KACpB;IACD;QACI,MAAM,EAAE,aAAa;QACrB,UAAU,EAAE,aAAa;QACzB,MAAM,EAAE,mBAAmB;KAC9B;CAAK,CAAC;AAOf,WAAiB,WAAW;IACxB,IAAY,QAIX;IAJD,WAAY,QAAQ;QAChB,0CAA2B,qBAAqB,wBAAA,CAAA;QAChD,wCAAyB,mBAAmB,sBAAA,CAAA;QAC5C,qCAAsB,eAAe,mBAAA,CAAA;IACzC,CAAC,EAJW,QAAQ,GAAR,oBAAQ,KAAR,oBAAQ,QAInB;IACD,IAAY,UAIX;IAJD,WAAY,UAAU;QAClB,sCAAmB,YAAY,gBAAA,CAAA;QAC/B,gCAAa,MAAM,UAAA,CAAA;QACnB,kCAAe,QAAQ,YAAA,CAAA;IAC3B,CAAC,EAJW,UAAU,GAAV,sBAAU,KAAV,sBAAU,QAIrB;AACL,CAAC,EAXgB,WAAW,2BAAX,WAAW,QAW3B"}
1
+ {"version":3,"file":"overpayment.js","sourceRoot":"","sources":["../../../../src/gen/model/accounting/overpayment.ts"],"names":[],"mappings":";;;AAQA,MAAa,WAAW;IAiLpB,MAAM,CAAC,mBAAmB;QACtB,OAAO,WAAW,CAAC,gBAAgB,CAAC;IACxC,CAAC;;AAnLL,kCAoLC;AA3GU,yBAAa,GAAuB,SAAS,CAAC;AAE9C,4BAAgB,GAA0D;IAC7E;QACI,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,MAAM;QAClB,MAAM,EAAE,sBAAsB;KACjC;IACD;QACI,MAAM,EAAE,SAAS;QACjB,UAAU,EAAE,SAAS;QACrB,MAAM,EAAE,SAAS;KACpB;IACD;QACI,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,MAAM;QAClB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,QAAQ;QAChB,UAAU,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AS;KACpB;IACD;QACI,MAAM,EAAE,WAAW;QACnB,UAAU,EAAE,WAAW;QACvB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,aAAa;QACrB,UAAU,EAAE,aAAa;QACzB,MAAM,EAAE,mBAAmB;KAC9B;CAAK,CAAC;AAOf,WAAiB,WAAW;IACxB,IAAY,QAIX;IAJD,WAAY,QAAQ;QAChB,0CAA2B,qBAAqB,wBAAA,CAAA;QAChD,wCAAyB,mBAAmB,sBAAA,CAAA;QAC5C,qCAAsB,eAAe,mBAAA,CAAA;IACzC,CAAC,EAJW,QAAQ,GAAR,oBAAQ,KAAR,oBAAQ,QAInB;IACD,IAAY,UAIX;IAJD,WAAY,UAAU;QAClB,sCAAmB,YAAY,gBAAA,CAAA;QAC/B,gCAAa,MAAM,UAAA,CAAA;QACnB,kCAAe,QAAQ,YAAA,CAAA;IAC3B,CAAC,EAJW,UAAU,GAAV,sBAAU,KAAV,sBAAU,QAIrB;AACL,CAAC,EAXgB,WAAW,2BAAX,WAAW,QAW3B"}
@@ -16,14 +16,6 @@ export declare class EmployeeLeaveSetup {
16
16
  */
17
17
  'negativeAnnualLeaveBalancePaidAmount'?: number;
18
18
  /**
19
- * Deprecated use SickLeaveToAccrueAnnually
20
- */
21
- 'sickLeaveHoursToAccrueAnnually'?: number;
22
- /**
23
- * Deprecated use SickLeaveMaximumToAccrue
24
- */
25
- 'sickLeaveMaximumHoursToAccrue'?: number;
26
- /**
27
19
  * Number of units accrued annually for sick leave. The type of units is determined by the property \"TypeOfUnitsToAccrue\" on the \"Sick Leave\" leave type
28
20
  */
29
21
  'sickLeaveToAccrueAnnually'?: number;
@@ -29,16 +29,6 @@ EmployeeLeaveSetup.attributeTypeMap = [
29
29
  "baseName": "negativeAnnualLeaveBalancePaidAmount",
30
30
  "type": "number"
31
31
  },
32
- {
33
- "name": "sickLeaveHoursToAccrueAnnually",
34
- "baseName": "sickLeaveHoursToAccrueAnnually",
35
- "type": "number"
36
- },
37
- {
38
- "name": "sickLeaveMaximumHoursToAccrue",
39
- "baseName": "sickLeaveMaximumHoursToAccrue",
40
- "type": "number"
41
- },
42
32
  {
43
33
  "name": "sickLeaveToAccrueAnnually",
44
34
  "baseName": "SickLeaveToAccrueAnnually",
@@ -1 +1 @@
1
- {"version":3,"file":"employeeLeaveSetup.js","sourceRoot":"","sources":["../../../../src/gen/model/payroll-nz/employeeLeaveSetup.ts"],"names":[],"mappings":";;;AACA,MAAa,kBAAkB;IAkH3B,MAAM,CAAC,mBAAmB;QACtB,OAAO,kBAAkB,CAAC,gBAAgB,CAAC;IAC/C,CAAC;;AApHL,gDAqHC;AAnEU,gCAAa,GAAuB,SAAS,CAAC;AAE9C,mCAAgB,GAA0D;IAC7E;QACI,MAAM,EAAE,mBAAmB;QAC3B,UAAU,EAAE,mBAAmB;QAC/B,MAAM,EAAE,SAAS;KACpB;IACD;QACI,MAAM,EAAE,0BAA0B;QAClC,UAAU,EAAE,0BAA0B;QACtC,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,2BAA2B;QACnC,UAAU,EAAE,2BAA2B;QACvC,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,sCAAsC;QAC9C,UAAU,EAAE,sCAAsC;QAClD,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,gCAAgC;QACxC,UAAU,EAAE,gCAAgC;QAC5C,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,+BAA+B;QACvC,UAAU,EAAE,+BAA+B;QAC3C,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,2BAA2B;QACnC,UAAU,EAAE,2BAA2B;QACvC,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,0BAA0B;QAClC,UAAU,EAAE,0BAA0B;QACtC,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,yBAAyB;QACjC,UAAU,EAAE,yBAAyB;QACrC,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,4BAA4B;QACpC,UAAU,EAAE,4BAA4B;QACxC,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,0BAA0B;QAClC,UAAU,EAAE,0BAA0B;QACtC,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,4BAA4B;QACpC,UAAU,EAAE,4BAA4B;QACxC,MAAM,EAAE,QAAQ;KACnB;CAAK,CAAC"}
1
+ {"version":3,"file":"employeeLeaveSetup.js","sourceRoot":"","sources":["../../../../src/gen/model/payroll-nz/employeeLeaveSetup.ts"],"names":[],"mappings":";;;AACA,MAAa,kBAAkB;IAgG3B,MAAM,CAAC,mBAAmB;QACtB,OAAO,kBAAkB,CAAC,gBAAgB,CAAC;IAC/C,CAAC;;AAlGL,gDAmGC;AAzDU,gCAAa,GAAuB,SAAS,CAAC;AAE9C,mCAAgB,GAA0D;IAC7E;QACI,MAAM,EAAE,mBAAmB;QAC3B,UAAU,EAAE,mBAAmB;QAC/B,MAAM,EAAE,SAAS;KACpB;IACD;QACI,MAAM,EAAE,0BAA0B;QAClC,UAAU,EAAE,0BAA0B;QACtC,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,2BAA2B;QACnC,UAAU,EAAE,2BAA2B;QACvC,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,sCAAsC;QAC9C,UAAU,EAAE,sCAAsC;QAClD,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,2BAA2B;QACnC,UAAU,EAAE,2BAA2B;QACvC,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,0BAA0B;QAClC,UAAU,EAAE,0BAA0B;QACtC,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,yBAAyB;QACjC,UAAU,EAAE,yBAAyB;QACrC,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,4BAA4B;QACpC,UAAU,EAAE,4BAA4B;QACxC,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,0BAA0B;QAClC,UAAU,EAAE,0BAA0B;QACtC,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,4BAA4B;QACpC,UAAU,EAAE,4BAA4B;QACxC,MAAM,EAAE,QAAQ;KACnB;CAAK,CAAC"}
@@ -8,10 +8,6 @@ export declare class EmployeeLeaveType {
8
8
  */
9
9
  'scheduleOfAccrual'?: EmployeeLeaveType.ScheduleOfAccrualEnum;
10
10
  /**
11
- * Deprecated use UnitsAccruedAnnually
12
- */
13
- 'hoursAccruedAnnually'?: number;
14
- /**
15
11
  * The number of units accrued for the leave annually. This is 0 when the ScheduleOfAccrual chosen is \"NoAccruals\"
16
12
  */
17
13
  'unitsAccruedAnnually'?: number;
@@ -32,7 +28,7 @@ export declare class EmployeeLeaveType {
32
28
  */
33
29
  'openingBalanceTypeOfUnits'?: string;
34
30
  /**
35
- * The number of hours added to the leave balance for every hour worked by the employee. This is normally 0, unless the scheduleOfAccrual chosen is \"OnHourWorked\"
31
+ * not supported in Payroll NZ
36
32
  */
37
33
  'rateAccruedHourly'?: number;
38
34
  /**
@@ -19,14 +19,9 @@ EmployeeLeaveType.attributeTypeMap = [
19
19
  "baseName": "scheduleOfAccrual",
20
20
  "type": "EmployeeLeaveType.ScheduleOfAccrualEnum"
21
21
  },
22
- {
23
- "name": "hoursAccruedAnnually",
24
- "baseName": "hoursAccruedAnnually",
25
- "type": "number"
26
- },
27
22
  {
28
23
  "name": "unitsAccruedAnnually",
29
- "baseName": "UnitsAccruedAnnually",
24
+ "baseName": "unitsAccruedAnnually",
30
25
  "type": "number"
31
26
  },
32
27
  {
@@ -1 +1 @@
1
- {"version":3,"file":"employeeLeaveType.js","sourceRoot":"","sources":["../../../../src/gen/model/payroll-nz/employeeLeaveType.ts"],"names":[],"mappings":";;;AACA,MAAa,iBAAiB;IAoI1B,MAAM,CAAC,mBAAmB;Q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AE,4BAA4B;QACxC,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,uBAAuB;QAC/B,UAAU,EAAE,uBAAuB;QACnC,MAAM,EAAE,QAAQ;KACnB;CAAK,CAAC;AAOf,WAAiB,iBAAiB;IAC9B,IAAY,qBAKX;IALD,WAAY,qBAAqB;QAC7B,sEAA6B,sBAAsB,0BAAA,CAAA;QACnD,mEAA0B,mBAAmB,uBAAA,CAAA;QAC7C,2EAAkC,2BAA2B,+BAAA,CAAA;QAC7D,4DAAmB,YAAY,gBAAA,CAAA;IACnC,CAAC,EALW,qBAAqB,GAArB,uCAAqB,KAArB,uCAAqB,QAKhC;AACL,CAAC,EAPgB,iBAAiB,iCAAjB,iBAAiB,QAOjC"}
1
+ {"version":3,"file":"employeeLeaveType.js","sourceRoot":"","sources":["../../../../src/gen/model/payroll-nz/employeeLeaveType.ts"],"names":[],"mappings":";;;AACA,MAAa,iBAAiB;IA2H1B,MAAM,CAAC,mBAAmB;QACtB,OAAO,iBAAiB,CAAC,gBAAgB,CAAC;IAC9C,CAAC;;AA7HL,8CA8HC;AAxEU,+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,mBAAmB;QAC3B,UAAU,EAAE,mBAAmB;QAC/B,MAAM,EAAE,yCAAyC;KACpD;IACD;QACI,MAAM,EAAE,sBAAsB;QAC9B,UAAU,EAAE,sBAAsB;QAClC,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,qBAAqB;QAC7B,UAAU,EAAE,qBAAqB;QACjC,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,iBAAiB;QACzB,UAAU,EAAE,iBAAiB;QAC7B,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,gBAAgB;QACxB,UAAU,EAAE,gBAAgB;QAC5B,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,2BAA2B;QACnC,UAAU,EAAE,2BAA2B;QACvC,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,mBAAmB;QAC3B,UAAU,EAAE,mBAAmB;QAC/B,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,2BAA2B;QACnC,UAAU,EAAE,2BAA2B;QACvC,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,2BAA2B;QACnC,UAAU,EAAE,2BAA2B;QACvC,MAAM,EAAE,SAAS;KACpB;IACD;QACI,MAAM,EAAE,0BAA0B;QAClC,UAAU,EAAE,0BAA0B;QACtC,MAAM,EAAE,SAAS;KACpB;IACD;QACI,MAAM,EAAE,4BAA4B;QACpC,UAAU,EAAE,4BAA4B;QACxC,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,uBAAuB;QAC/B,UAAU,EAAE,uBAAuB;QACnC,MAAM,EAAE,QAAQ;KACnB;CAAK,CAAC;AAOf,WAAiB,iBAAiB;IAC9B,IAAY,qBAKX;IALD,WAAY,qBAAqB;QAC7B,sEAA6B,sBAAsB,0BAAA,CAAA;QACnD,mEAA0B,mBAAmB,uBAAA,CAAA;QAC7C,2EAAkC,2BAA2B,+BAAA,CAAA;QAC7D,4DAAmB,YAAY,gBAAA,CAAA;IACnC,CAAC,EALW,qBAAqB,GAArB,uCAAqB,KAArB,uCAAqB,QAKhC;AACL,CAAC,EAPgB,iBAAiB,iCAAjB,iBAAiB,QAOjC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xero-node",
3
- "version": "13.3.0",
3
+ "version": "13.4.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",