diff --git a/docs/accounting/index.html b/docs/accounting/index.html index 3d99d332..8e764b4e 100644 --- a/docs/accounting/index.html +++ b/docs/accounting/index.html @@ -6217,7 +6217,7 @@ SDK: - VSN: 9.2.0 + VSN: 9.3.0 Methods createAccount diff --git a/docs/appstore/index.html b/docs/appstore/index.html index 1061222e..91b318e9 100644 --- a/docs/appstore/index.html +++ b/docs/appstore/index.html @@ -1242,7 +1242,7 @@ SDK: - VSN: 9.2.0 + VSN: 9.3.0 Methods getSubscription diff --git a/docs/assets/index.html b/docs/assets/index.html index 505c7692..344058b1 100644 --- a/docs/assets/index.html +++ b/docs/assets/index.html @@ -1393,7 +1393,7 @@ SDK: - VSN: 9.2.0 + VSN: 9.3.0 Methods createAsset diff --git a/docs/bankfeeds/index.html b/docs/bankfeeds/index.html index 5f5b52e7..5612b651 100644 --- a/docs/bankfeeds/index.html +++ b/docs/bankfeeds/index.html @@ -1269,7 +1269,7 @@ SDK: - VSN: 9.2.0 + VSN: 9.3.0 Methods createFeedConnections diff --git a/docs/files/index.html b/docs/files/index.html index 5df9d768..4c900216 100644 --- a/docs/files/index.html +++ b/docs/files/index.html @@ -1171,7 +1171,7 @@ SDK: - VSN: 9.2.0 + VSN: 9.3.0 Methods createFileAssociation diff --git a/docs/finance/index.html b/docs/finance/index.html index 5c8fca2f..93ea874d 100644 --- a/docs/finance/index.html +++ b/docs/finance/index.html @@ -2738,7 +2738,7 @@ SDK: - VSN: 9.2.0 + VSN: 9.3.0 Methods getAccountingActivityAccountUsage diff --git a/docs/payroll-au/index.html b/docs/payroll-au/index.html index b26664f7..2e0283fc 100644 --- a/docs/payroll-au/index.html +++ b/docs/payroll-au/index.html @@ -3413,7 +3413,7 @@ SDK: - VSN: 9.2.0 + VSN: 9.3.0 Methods approveLeaveApplication diff --git a/docs/payroll-nz/index.html b/docs/payroll-nz/index.html index e3199658..2011dbce 100644 --- a/docs/payroll-nz/index.html +++ b/docs/payroll-nz/index.html @@ -4032,7 +4032,7 @@ SDK: - VSN: 9.2.0 + VSN: 9.3.0 Methods approveTimesheet diff --git a/docs/payroll-uk/index.html b/docs/payroll-uk/index.html index bd0a76f3..0ed33ea3 100644 --- a/docs/payroll-uk/index.html +++ b/docs/payroll-uk/index.html @@ -1750,6 +1750,13 @@ "type" : "number", "description" : "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\"", "format" : "double" + }, + "scheduleOfAccrualDate" : { + "type" : "string", + "description" : "The date when an employee becomes entitled to their accrual. Only applicable when scheduleOfAccrual is \"OnAnniversaryDate\"", + "format" : "date", + "example" : "2024-04-01", + "x-is-date" : true } }, "description" : "" @@ -3511,7 +3518,7 @@ SDK: - VSN: 9.2.0 + VSN: 9.3.0 Methods approveTimesheet @@ -4845,7 +4852,8 @@ Usage and SDK Samples const employeeLeaveType: EmployeeLeaveType = { leaveTypeID: "00000000-0000-0000-0000-000000000000", scheduleOfAccrual: EmployeeLeaveType.ScheduleOfAccrualEnum.BeginningOfCalendarYear, - openingBalance: 5.25 + openingBalance: 5.25, + scheduleOfAccrualDate: 2024-05-01 }; try { diff --git a/docs/projects/index.html b/docs/projects/index.html index 14b4a957..5d982425 100644 --- a/docs/projects/index.html +++ b/docs/projects/index.html @@ -1463,7 +1463,7 @@ SDK: - VSN: 9.2.0 + VSN: 9.3.0 Methods createProject diff --git a/package.json b/package.json index 9c96f43e..47485b0a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xero-node", - "version": "9.2.0", + "version": "9.3.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 2ff8079d..e5faf9e9 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.2.0 + * The version of the OpenAPI document: 6.3.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.2.0'}; + protected defaultHeaders : any = {'user-agent': 'xero-node-9.3.0'}; protected _useQuerystring : boolean = false; protected binaryHeaders : any = {}; diff --git a/src/gen/api/appStoreApi.ts b/src/gen/api/appStoreApi.ts index fc844c62..be416be0 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.2.0 + * The version of the OpenAPI document: 6.3.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.2.0'}; + protected defaultHeaders : any = {'user-agent': 'xero-node-9.3.0'}; protected _useQuerystring : boolean = false; protected binaryHeaders : any = {}; diff --git a/src/gen/api/assetApi.ts b/src/gen/api/assetApi.ts index 7ba065fd..f4ab82ec 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.2.0 + * The version of the OpenAPI document: 6.3.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.2.0'}; + protected defaultHeaders : any = {'user-agent': 'xero-node-9.3.0'}; protected _useQuerystring : boolean = false; protected binaryHeaders : any = {}; diff --git a/src/gen/api/bankfeedsApi.ts b/src/gen/api/bankfeedsApi.ts index b4c9d837..a1887181 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.2.0 + * The version of the OpenAPI document: 6.3.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.2.0'}; + protected defaultHeaders : any = {'user-agent': 'xero-node-9.3.0'}; protected _useQuerystring : boolean = false; protected binaryHeaders : any = {}; diff --git a/src/gen/api/filesApi.ts b/src/gen/api/filesApi.ts index dc0c6bb6..0e87e135 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.2.0 + * The version of the OpenAPI document: 6.3.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.2.0'}; + protected defaultHeaders : any = {'user-agent': 'xero-node-9.3.0'}; protected _useQuerystring : boolean = false; protected binaryHeaders : any = {}; diff --git a/src/gen/api/financeApi.ts b/src/gen/api/financeApi.ts index 60931392..fcfd7cc4 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.2.0 + * The version of the OpenAPI document: 6.3.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.2.0'}; + protected defaultHeaders : any = {'user-agent': 'xero-node-9.3.0'}; protected _useQuerystring : boolean = false; protected binaryHeaders : any = {}; diff --git a/src/gen/api/payrollAUApi.ts b/src/gen/api/payrollAUApi.ts index c4f6d233..26d49c1b 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.2.0 + * The version of the OpenAPI document: 6.3.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.2.0'}; + protected defaultHeaders : any = {'user-agent': 'xero-node-9.3.0'}; protected _useQuerystring : boolean = false; protected binaryHeaders : any = {}; diff --git a/src/gen/api/payrollNZApi.ts b/src/gen/api/payrollNZApi.ts index 2db40a06..b2c8b2d6 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.2.0 + * The version of the OpenAPI document: 6.3.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.2.0'}; + protected defaultHeaders : any = {'user-agent': 'xero-node-9.3.0'}; protected _useQuerystring : boolean = false; protected binaryHeaders : any = {}; diff --git a/src/gen/api/payrollUKApi.ts b/src/gen/api/payrollUKApi.ts index 26b09865..8ec54fc4 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.2.0 + * The version of the OpenAPI document: 6.3.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.2.0'}; + protected defaultHeaders : any = {'user-agent': 'xero-node-9.3.0'}; protected _useQuerystring : boolean = false; protected binaryHeaders : any = {}; diff --git a/src/gen/api/projectApi.ts b/src/gen/api/projectApi.ts index 8840a85c..4700fdd5 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.2.0 + * The version of the OpenAPI document: 6.3.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.2.0'}; + protected defaultHeaders : any = {'user-agent': 'xero-node-9.3.0'}; protected _useQuerystring : boolean = false; protected binaryHeaders : any = {}; diff --git a/src/gen/model/payroll-uk/employeeLeaveType.ts b/src/gen/model/payroll-uk/employeeLeaveType.ts index a9f9ed6f..4f5ebfa5 100644 --- a/src/gen/model/payroll-uk/employeeLeaveType.ts +++ b/src/gen/model/payroll-uk/employeeLeaveType.ts @@ -24,6 +24,10 @@ export class EmployeeLeaveType { * 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\" */ 'rateAccruedHourly'?: number; + /** + * The date when an employee becomes entitled to their accrual. Only applicable when scheduleOfAccrual is \"OnAnniversaryDate\" + */ + 'scheduleOfAccrualDate'?: string; static discriminator: string | undefined = undefined; @@ -57,6 +61,11 @@ export class EmployeeLeaveType { "name": "rateAccruedHourly", "baseName": "rateAccruedHourly", "type": "number" + }, + { + "name": "scheduleOfAccrualDate", + "baseName": "scheduleOfAccrualDate", + "type": "string" } ]; static getAttributeTypeMap() {