diff --git a/docs/accounting/index.html b/docs/accounting/index.html
index 768dd080..3d99d332 100644
--- a/docs/accounting/index.html
+++ b/docs/accounting/index.html
@@ -2494,7 +2494,7 @@
},
"SentToContact" : {
"type" : "boolean",
- "description" : "boolean to indicate if a credit note has been sent to a contact via the Xero app (currently read only)",
+ "description" : "Boolean to set whether the credit note in the Xero app should be marked as “sent”. This can be set only on credit notes that have been approved",
"readOnly" : true
},
"CurrencyRate" : {
@@ -6217,7 +6217,7 @@
-
+
createAccount
@@ -39737,7 +39737,7 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/CreditNotes"
},
- "example" : "{ \"CreditNotes\": [ { \"Type\": \"ACCPAYCREDIT\", \"Contact\": { \"ContactID\": \"430fa14a-f945-44d3-9f97-5df5e28441b8\" }, \"Date\": \"2019-01-05\", \"Status\": \"AUTHORISED\", \"Reference\": \"HelloWorld\", \"LineItems\": [ { \"Description\": \"Foobar\", \"Quantity\": 2, \"UnitAmount\": 20, \"AccountCode\": \"400\" } ] } ] }"
+ "example" : "{ \"CreditNotes\": [ { \"Type\": \"ACCPAYCREDIT\", \"Contact\": { \"ContactID\": \"430fa14a-f945-44d3-9f97-5df5e28441b8\" }, \"Date\": \"2019-01-05\", \"Status\": \"AUTHORISED\", \"Reference\": \"HelloWorld\", \"SentToContact\": true, \"LineItems\": [ { \"Description\": \"Foobar\", \"Quantity\": 2, \"UnitAmount\": 20, \"AccountCode\": \"400\" } ] } ] }"
}
},
"required" : true
diff --git a/docs/appstore/index.html b/docs/appstore/index.html
index 67710b2b..1061222e 100644
--- a/docs/appstore/index.html
+++ b/docs/appstore/index.html
@@ -1242,7 +1242,7 @@
-
+
getSubscription
diff --git a/docs/assets/index.html b/docs/assets/index.html
index 2a699c12..505c7692 100644
--- a/docs/assets/index.html
+++ b/docs/assets/index.html
@@ -1393,7 +1393,7 @@
-
+
createAsset
diff --git a/docs/bankfeeds/index.html b/docs/bankfeeds/index.html
index 435218d5..5f5b52e7 100644
--- a/docs/bankfeeds/index.html
+++ b/docs/bankfeeds/index.html
@@ -1269,7 +1269,7 @@
-
+
createFeedConnections
diff --git a/docs/files/index.html b/docs/files/index.html
index f75589cd..5df9d768 100644
--- a/docs/files/index.html
+++ b/docs/files/index.html
@@ -1171,7 +1171,7 @@
-
+
createFileAssociation
diff --git a/docs/finance/index.html b/docs/finance/index.html
index 2d805b22..5c8fca2f 100644
--- a/docs/finance/index.html
+++ b/docs/finance/index.html
@@ -2738,7 +2738,7 @@
-
+
getAccountingActivityAccountUsage
diff --git a/docs/payroll-au/index.html b/docs/payroll-au/index.html
index 87fe7cce..b26664f7 100644
--- a/docs/payroll-au/index.html
+++ b/docs/payroll-au/index.html
@@ -3413,7 +3413,7 @@
-
+
approveLeaveApplication
diff --git a/docs/payroll-nz/index.html b/docs/payroll-nz/index.html
index aa0a7efc..e3199658 100644
--- a/docs/payroll-nz/index.html
+++ b/docs/payroll-nz/index.html
@@ -4032,7 +4032,7 @@
-
+
approveTimesheet
diff --git a/docs/payroll-uk/index.html b/docs/payroll-uk/index.html
index 3f319169..bd0a76f3 100644
--- a/docs/payroll-uk/index.html
+++ b/docs/payroll-uk/index.html
@@ -3511,7 +3511,7 @@
-
+
approveTimesheet
diff --git a/docs/projects/index.html b/docs/projects/index.html
index 8b6006cf..14b4a957 100644
--- a/docs/projects/index.html
+++ b/docs/projects/index.html
@@ -1463,7 +1463,7 @@
-
+
createProject
diff --git a/package.json b/package.json
index 3f16fbf8..9c96f43e 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "xero-node",
- "version": "9.1.0",
+ "version": "9.2.0",
"description": "Xero NodeJS OAuth 2.0 client for xero-node",
"main": "dist/index.js",
"types": "dist/index.d.ts",
diff --git a/src/gen/api/accountingApi.ts b/src/gen/api/accountingApi.ts
index a583d349..2ff8079d 100644
--- a/src/gen/api/accountingApi.ts
+++ b/src/gen/api/accountingApi.ts
@@ -2,7 +2,7 @@
* Xero Accounting API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
- * The version of the OpenAPI document: 6.1.1
+ * The version of the OpenAPI document: 6.2.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -85,7 +85,7 @@ export enum AccountingApiApiKeys {
export class AccountingApi {
protected _basePath = defaultBasePath;
- protected defaultHeaders : any = {'user-agent': 'xero-node-9.1.0'};
+ protected defaultHeaders : any = {'user-agent': 'xero-node-9.2.0'};
protected _useQuerystring : boolean = false;
protected binaryHeaders : any = {};
diff --git a/src/gen/api/appStoreApi.ts b/src/gen/api/appStoreApi.ts
index 025f8234..fc844c62 100644
--- a/src/gen/api/appStoreApi.ts
+++ b/src/gen/api/appStoreApi.ts
@@ -2,7 +2,7 @@
* Xero AppStore API
* These endpoints are for Xero Partners to interact with the App Store Billing platform
*
- * The version of the OpenAPI document: 6.1.1
+ * The version of the OpenAPI document: 6.2.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -38,7 +38,7 @@ export enum AppStoreApiApiKeys {
export class AppStoreApi {
protected _basePath = defaultBasePath;
- protected defaultHeaders : any = {'user-agent': 'xero-node-9.1.0'};
+ protected defaultHeaders : any = {'user-agent': 'xero-node-9.2.0'};
protected _useQuerystring : boolean = false;
protected binaryHeaders : any = {};
diff --git a/src/gen/api/assetApi.ts b/src/gen/api/assetApi.ts
index 2ec085e5..7ba065fd 100644
--- a/src/gen/api/assetApi.ts
+++ b/src/gen/api/assetApi.ts
@@ -2,7 +2,7 @@
* Xero Assets API
* 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.
*
- * The version of the OpenAPI document: 6.1.1
+ * The version of the OpenAPI document: 6.2.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -37,7 +37,7 @@ export enum AssetApiApiKeys {
export class AssetApi {
protected _basePath = defaultBasePath;
- protected defaultHeaders : any = {'user-agent': 'xero-node-9.1.0'};
+ protected defaultHeaders : any = {'user-agent': 'xero-node-9.2.0'};
protected _useQuerystring : boolean = false;
protected binaryHeaders : any = {};
diff --git a/src/gen/api/bankfeedsApi.ts b/src/gen/api/bankfeedsApi.ts
index 55ba5d88..b4c9d837 100644
--- a/src/gen/api/bankfeedsApi.ts
+++ b/src/gen/api/bankfeedsApi.ts
@@ -2,7 +2,7 @@
* Xero Bank Feeds API
* 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.
*
- * The version of the OpenAPI document: 6.1.1
+ * The version of the OpenAPI document: 6.2.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -36,7 +36,7 @@ export enum BankFeedsApiApiKeys {
export class BankFeedsApi {
protected _basePath = defaultBasePath;
- protected defaultHeaders : any = {'user-agent': 'xero-node-9.1.0'};
+ protected defaultHeaders : any = {'user-agent': 'xero-node-9.2.0'};
protected _useQuerystring : boolean = false;
protected binaryHeaders : any = {};
diff --git a/src/gen/api/filesApi.ts b/src/gen/api/filesApi.ts
index 4249899c..dc0c6bb6 100644
--- a/src/gen/api/filesApi.ts
+++ b/src/gen/api/filesApi.ts
@@ -2,7 +2,7 @@
* Xero Files API
* These endpoints are specific to Xero Files API
*
- * The version of the OpenAPI document: 6.1.1
+ * The version of the OpenAPI document: 6.2.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -36,7 +36,7 @@ export enum FilesApiApiKeys {
export class FilesApi {
protected _basePath = defaultBasePath;
- protected defaultHeaders : any = {'user-agent': 'xero-node-9.1.0'};
+ protected defaultHeaders : any = {'user-agent': 'xero-node-9.2.0'};
protected _useQuerystring : boolean = false;
protected binaryHeaders : any = {};
diff --git a/src/gen/api/financeApi.ts b/src/gen/api/financeApi.ts
index 125a7b2a..60931392 100644
--- a/src/gen/api/financeApi.ts
+++ b/src/gen/api/financeApi.ts
@@ -2,7 +2,7 @@
* Xero Finance API
* 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.
*
- * The version of the OpenAPI document: 6.1.1
+ * The version of the OpenAPI document: 6.2.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -44,7 +44,7 @@ export enum FinanceApiApiKeys {
export class FinanceApi {
protected _basePath = defaultBasePath;
- protected defaultHeaders : any = {'user-agent': 'xero-node-9.1.0'};
+ protected defaultHeaders : any = {'user-agent': 'xero-node-9.2.0'};
protected _useQuerystring : boolean = false;
protected binaryHeaders : any = {};
diff --git a/src/gen/api/payrollAUApi.ts b/src/gen/api/payrollAUApi.ts
index b30b4419..c4f6d233 100644
--- a/src/gen/api/payrollAUApi.ts
+++ b/src/gen/api/payrollAUApi.ts
@@ -2,7 +2,7 @@
* Xero Payroll AU API
* This is the Xero Payroll API for orgs in Australia region.
*
- * The version of the OpenAPI document: 6.1.1
+ * The version of the OpenAPI document: 6.2.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -53,7 +53,7 @@ export enum PayrollAuApiApiKeys {
export class PayrollAuApi {
protected _basePath = defaultBasePath;
- protected defaultHeaders : any = {'user-agent': 'xero-node-9.1.0'};
+ protected defaultHeaders : any = {'user-agent': 'xero-node-9.2.0'};
protected _useQuerystring : boolean = false;
protected binaryHeaders : any = {};
diff --git a/src/gen/api/payrollNZApi.ts b/src/gen/api/payrollNZApi.ts
index 7488035e..2db40a06 100644
--- a/src/gen/api/payrollNZApi.ts
+++ b/src/gen/api/payrollNZApi.ts
@@ -2,7 +2,7 @@
* Xero Payroll NZ
* This is the Xero Payroll API for orgs in the NZ region.
*
- * The version of the OpenAPI document: 6.1.1
+ * The version of the OpenAPI document: 6.2.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -97,7 +97,7 @@ export enum PayrollNzApiApiKeys {
export class PayrollNzApi {
protected _basePath = defaultBasePath;
- protected defaultHeaders : any = {'user-agent': 'xero-node-9.1.0'};
+ protected defaultHeaders : any = {'user-agent': 'xero-node-9.2.0'};
protected _useQuerystring : boolean = false;
protected binaryHeaders : any = {};
diff --git a/src/gen/api/payrollUKApi.ts b/src/gen/api/payrollUKApi.ts
index 711dccc5..26b09865 100644
--- a/src/gen/api/payrollUKApi.ts
+++ b/src/gen/api/payrollUKApi.ts
@@ -2,7 +2,7 @@
* Xero Payroll UK
* This is the Xero Payroll API for orgs in the UK region.
*
- * The version of the OpenAPI document: 6.1.1
+ * The version of the OpenAPI document: 6.2.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -94,7 +94,7 @@ export enum PayrollUkApiApiKeys {
export class PayrollUkApi {
protected _basePath = defaultBasePath;
- protected defaultHeaders : any = {'user-agent': 'xero-node-9.1.0'};
+ protected defaultHeaders : any = {'user-agent': 'xero-node-9.2.0'};
protected _useQuerystring : boolean = false;
protected binaryHeaders : any = {};
diff --git a/src/gen/api/projectApi.ts b/src/gen/api/projectApi.ts
index 3f5f799a..8840a85c 100644
--- a/src/gen/api/projectApi.ts
+++ b/src/gen/api/projectApi.ts
@@ -2,7 +2,7 @@
* Xero Projects API
* This is the Xero Projects API
*
- * The version of the OpenAPI document: 6.1.1
+ * The version of the OpenAPI document: 6.2.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -44,7 +44,7 @@ export enum ProjectApiApiKeys {
export class ProjectApi {
protected _basePath = defaultBasePath;
- protected defaultHeaders : any = {'user-agent': 'xero-node-9.1.0'};
+ protected defaultHeaders : any = {'user-agent': 'xero-node-9.2.0'};
protected _useQuerystring : boolean = false;
protected binaryHeaders : any = {};
diff --git a/src/gen/model/accounting/creditNote.ts b/src/gen/model/accounting/creditNote.ts
index 503cdc45..f7d8b6be 100644
--- a/src/gen/model/accounting/creditNote.ts
+++ b/src/gen/model/accounting/creditNote.ts
@@ -71,7 +71,7 @@ export class CreditNote {
*/
'reference'?: string;
/**
- * boolean to indicate if a credit note has been sent to a contact via the Xero app (currently read only)
+ * Boolean to set whether the credit note in the Xero app should be marked as “sent”. This can be set only on credit notes that have been approved
*/
'sentToContact'?: boolean;
/**