Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/accounting/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6345,7 +6345,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>13.2.0</li>
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>13.3.0</li>
<li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
<li data-group="Accounting" data-name="createAccount" class="">
<a href="#api-Accounting-createAccount">createAccount</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/appstore/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="AppStore"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>13.2.0</li>
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>13.3.0</li>
<li class="nav-header" data-group="AppStore"><a href="#api-AppStore">Methods</a></li>
<li data-group="AppStore" data-name="getSubscription" class="">
<a href="#api-AppStore-getSubscription">getSubscription</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1420,7 +1420,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Asset"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>13.2.0</li>
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>13.3.0</li>
<li class="nav-header" data-group="Asset"><a href="#api-Asset">Methods</a></li>
<li data-group="Asset" data-name="createAsset" class="">
<a href="#api-Asset-createAsset">createAsset</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/bankfeeds/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="BankFeeds"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="BankFeeds"><strong>VSN: </strong>13.2.0</li>
<li class="nav-header" data-group="BankFeeds"><strong>VSN: </strong>13.3.0</li>
<li class="nav-header" data-group="BankFeeds"><a href="#api-BankFeeds">Methods</a></li>
<li data-group="BankFeeds" data-name="createFeedConnections" class="">
<a href="#api-BankFeeds-createFeedConnections">createFeedConnections</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/files/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Files"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Files"><strong>VSN: </strong>13.2.0</li>
<li class="nav-header" data-group="Files"><strong>VSN: </strong>13.3.0</li>
<li class="nav-header" data-group="Files"><a href="#api-Files">Methods</a></li>
<li data-group="Files" data-name="createFileAssociation" class="">
<a href="#api-Files-createFileAssociation">createFileAssociation</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/finance/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2717,7 +2717,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Finance"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>13.2.0</li>
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>13.3.0</li>
<li class="nav-header" data-group="Finance"><a href="#api-Finance">Methods</a></li>
<li data-group="Finance" data-name="getAccountingActivityAccountUsage" class="">
<a href="#api-Finance-getAccountingActivityAccountUsage">getAccountingActivityAccountUsage</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/payroll-au/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3413,7 +3413,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="PayrollAu"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>13.2.0</li>
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>13.3.0</li>
<li class="nav-header" data-group="PayrollAu"><a href="#api-PayrollAu">Methods</a></li>
<li data-group="PayrollAu" data-name="approveLeaveApplication" class="">
<a href="#api-PayrollAu-approveLeaveApplication">approveLeaveApplication</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/payroll-nz/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4088,7 +4088,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="PayrollNz"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>13.2.0</li>
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>13.3.0</li>
<li class="nav-header" data-group="PayrollNz"><a href="#api-PayrollNz">Methods</a></li>
<li data-group="PayrollNz" data-name="approveTimesheet" class="">
<a href="#api-PayrollNz-approveTimesheet">approveTimesheet</a>
Expand Down
102 changes: 101 additions & 1 deletion docs/payroll-uk/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1091,6 +1091,53 @@
}
},
"description" : ""
};
defs["ContractType"] = {
"title" : "",
"type" : "string",
"description" : "The contract type of the employee.",
"example" : "FullTime",
"enum" : [ "FullTime", "PartTime", "ZeroHour", "Unspecified" ]
};
defs["Contracts"] = {
"title" : "",
"required" : [ "contractType", "employmentStatus", "startDate" ],
"type" : "object",
"properties" : {
"startDate" : {
"type" : "string",
"description" : "The contract start date of the employee. This will be locked once an employee has been paid and cannot be changed (YYYY-MM-DD)",
"format" : "date",
"example" : "2024-12-02",
"x-is-date" : true
},
"employmentStatus" : {
"$ref" : "#/components/schemas/EmploymentStatus"
},
"contractType" : {
"$ref" : "#/components/schemas/ContractType"
},
"publicKey" : {
"type" : "string",
"description" : "The public key of the contract. Public key is required if the intention is to edit an existing contract. If no key is supplied a new contract will be created",
"format" : "uuid"
},
"isFixedTerm" : {
"type" : "boolean",
"description" : "describes whether the contract is fixed term (required if trying to create Fixed term contract)"
},
"fixedTermEndDate" : {
"type" : "string",
"description" : "The fixed term end date of the employee. Not required if isFixedTerm is false or not provided (required if trying to create Fixed term contract)",
"format" : "date",
"example" : "2025-11-01",
"x-is-date" : true
},
"developmentalRoleDetails" : {
"$ref" : "#/components/schemas/DevelopmentalRoleDetails"
}
},
"description" : ""
};
defs["CourtOrderLine"] = {
"title" : "",
Expand Down Expand Up @@ -1249,6 +1296,38 @@
}
},
"description" : ""
};
defs["DevelopmentalRoleDetails"] = {
"title" : "",
"required" : [ "developmentalRole", "endDate", "startDate" ],
"type" : "object",
"properties" : {
"startDate" : {
"type" : "string",
"description" : "The start date of the developmental role",
"format" : "date",
"example" : "2024-12-02",
"x-is-date" : true
},
"endDate" : {
"type" : "string",
"description" : "The end date of the developmental role",
"format" : "date",
"example" : "2024-12-02",
"x-is-date" : true
},
"developmentalRole" : {
"type" : "string",
"description" : "The developmental role type - \"Apprentice\" is the only supported role currently",
"example" : "Apprentice"
},
"publicKey" : {
"type" : "string",
"description" : "The public key of the developmental role. Public key is required if the intention is to edit an existing developmental role. If no key is supplied a new developmental role will be created",
"format" : "uuid"
}
},
"description" : ""
};
defs["EarningsLine"] = {
"title" : "",
Expand Down Expand Up @@ -1613,6 +1692,13 @@
"isOffPayrollWorker" : {
"type" : "boolean",
"description" : "Whether the employee is an off payroll worker"
},
"contracts" : {
"type" : "array",
"description" : "The employee's contracts",
"items" : {
"$ref" : "#/components/schemas/Contracts"
}
}
},
"description" : ""
Expand Down Expand Up @@ -2300,6 +2386,13 @@
"items" : {
"$ref" : "#/components/schemas/NICategory"
}
},
"contracts" : {
"type" : "array",
"description" : "The employee's contracts",
"items" : {
"$ref" : "#/components/schemas/Contracts"
}
}
},
"description" : ""
Expand All @@ -2319,6 +2412,13 @@
}
},
"description" : ""
};
defs["EmploymentStatus"] = {
"title" : "",
"type" : "string",
"description" : "The employment status of the employee.",
"example" : "Employee",
"enum" : [ "Employee", "Worker", "Unspecified" ]
};
defs["InvalidField"] = {
"title" : "",
Expand Down Expand Up @@ -3601,7 +3701,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="PayrollUk"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>13.2.0</li>
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>13.3.0</li>
<li class="nav-header" data-group="PayrollUk"><a href="#api-PayrollUk">Methods</a></li>
<li data-group="PayrollUk" data-name="approveTimesheet" class="">
<a href="#api-PayrollUk-approveTimesheet">approveTimesheet</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/projects/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1463,7 +1463,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Project"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Project"><strong>VSN: </strong>13.2.0</li>
<li class="nav-header" data-group="Project"><strong>VSN: </strong>13.3.0</li>
<li class="nav-header" data-group="Project"><a href="#api-Project">Methods</a></li>
<li data-group="Project" data-name="createProject" class="">
<a href="#api-Project-createProject">createProject</a>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xero-node",
"version": "13.2.0",
"version": "13.3.0",
"description": "Xero NodeJS OAuth 2.0 client for xero-node",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/gen/api/accountingApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: 9.2.0
* The version of the OpenAPI document: 9.3.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -85,7 +85,7 @@ export enum AccountingApiApiKeys {

export class AccountingApi {
protected _basePath = defaultBasePath;
protected defaultHeaders : any = {'user-agent': 'xero-node-13.2.0'};
protected defaultHeaders : any = {'user-agent': 'xero-node-13.3.0'};
protected _useQuerystring : boolean = false;
protected binaryHeaders : any = {};

Expand Down
4 changes: 2 additions & 2 deletions src/gen/api/appStoreApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: 9.2.0
* The version of the OpenAPI document: 9.3.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -38,7 +38,7 @@ export enum AppStoreApiApiKeys {

export class AppStoreApi {
protected _basePath = defaultBasePath;
protected defaultHeaders : any = {'user-agent': 'xero-node-13.2.0'};
protected defaultHeaders : any = {'user-agent': 'xero-node-13.3.0'};
protected _useQuerystring : boolean = false;
protected binaryHeaders : any = {};

Expand Down
4 changes: 2 additions & 2 deletions src/gen/api/assetApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: 9.2.0
* The version of the OpenAPI document: 9.3.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -37,7 +37,7 @@ export enum AssetApiApiKeys {

export class AssetApi {
protected _basePath = defaultBasePath;
protected defaultHeaders : any = {'user-agent': 'xero-node-13.2.0'};
protected defaultHeaders : any = {'user-agent': 'xero-node-13.3.0'};
protected _useQuerystring : boolean = false;
protected binaryHeaders : any = {};

Expand Down
4 changes: 2 additions & 2 deletions src/gen/api/bankfeedsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: 9.2.0
* The version of the OpenAPI document: 9.3.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -36,7 +36,7 @@ export enum BankFeedsApiApiKeys {

export class BankFeedsApi {
protected _basePath = defaultBasePath;
protected defaultHeaders : any = {'user-agent': 'xero-node-13.2.0'};
protected defaultHeaders : any = {'user-agent': 'xero-node-13.3.0'};
protected _useQuerystring : boolean = false;
protected binaryHeaders : any = {};

Expand Down
4 changes: 2 additions & 2 deletions src/gen/api/filesApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Files API
* These endpoints are specific to Xero Files API
*
* The version of the OpenAPI document: 9.2.0
* The version of the OpenAPI document: 9.3.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -36,7 +36,7 @@ export enum FilesApiApiKeys {

export class FilesApi {
protected _basePath = defaultBasePath;
protected defaultHeaders : any = {'user-agent': 'xero-node-13.2.0'};
protected defaultHeaders : any = {'user-agent': 'xero-node-13.3.0'};
protected _useQuerystring : boolean = false;
protected binaryHeaders : any = {};

Expand Down
4 changes: 2 additions & 2 deletions src/gen/api/financeApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: 9.2.0
* The version of the OpenAPI document: 9.3.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -44,7 +44,7 @@ export enum FinanceApiApiKeys {

export class FinanceApi {
protected _basePath = defaultBasePath;
protected defaultHeaders : any = {'user-agent': 'xero-node-13.2.0'};
protected defaultHeaders : any = {'user-agent': 'xero-node-13.3.0'};
protected _useQuerystring : boolean = false;
protected binaryHeaders : any = {};

Expand Down
4 changes: 2 additions & 2 deletions src/gen/api/payrollAUApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: 9.2.0
* The version of the OpenAPI document: 9.3.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -53,7 +53,7 @@ export enum PayrollAuApiApiKeys {

export class PayrollAuApi {
protected _basePath = defaultBasePath;
protected defaultHeaders : any = {'user-agent': 'xero-node-13.2.0'};
protected defaultHeaders : any = {'user-agent': 'xero-node-13.3.0'};
protected _useQuerystring : boolean = false;
protected binaryHeaders : any = {};

Expand Down
4 changes: 2 additions & 2 deletions src/gen/api/payrollNZApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: 9.2.0
* The version of the OpenAPI document: 9.3.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -97,7 +97,7 @@ export enum PayrollNzApiApiKeys {

export class PayrollNzApi {
protected _basePath = defaultBasePath;
protected defaultHeaders : any = {'user-agent': 'xero-node-13.2.0'};
protected defaultHeaders : any = {'user-agent': 'xero-node-13.3.0'};
protected _useQuerystring : boolean = false;
protected binaryHeaders : any = {};

Expand Down
4 changes: 2 additions & 2 deletions src/gen/api/payrollUKApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: 9.2.0
* The version of the OpenAPI document: 9.3.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -93,7 +93,7 @@ export enum PayrollUkApiApiKeys {

export class PayrollUkApi {
protected _basePath = defaultBasePath;
protected defaultHeaders : any = {'user-agent': 'xero-node-13.2.0'};
protected defaultHeaders : any = {'user-agent': 'xero-node-13.3.0'};
protected _useQuerystring : boolean = false;
protected binaryHeaders : any = {};

Expand Down
Loading
Loading