Skip to content

Commit eb7f424

Browse files
authored
Merge pull request #718 from XeroAPI/OAS-6.3.0-node
Build from OAS 6.3.0
2 parents 467895f + 593ef6e commit eb7f424

28 files changed

+448
-32
lines changed

docs/accounting/index.html

+124-1
Original file line numberDiff line numberDiff line change
@@ -2564,6 +2564,13 @@
25642564
"items" : {
25652565
"$ref" : "#/components/schemas/ValidationError"
25662566
}
2567+
},
2568+
"InvoiceAddresses" : {
2569+
"type" : "array",
2570+
"description" : "An array of addresses used to auto calculate sales tax",
2571+
"items" : {
2572+
"$ref" : "#/components/schemas/InvoiceAddress"
2573+
}
25672574
}
25682575
},
25692576
"description" : "",
@@ -3259,12 +3266,63 @@
32593266
"items" : {
32603267
"$ref" : "#/components/schemas/ValidationError"
32613268
}
3269+
},
3270+
"InvoiceAddresses" : {
3271+
"type" : "array",
3272+
"description" : "An array of addresses used to auto calculate sales tax",
3273+
"items" : {
3274+
"$ref" : "#/components/schemas/InvoiceAddress"
3275+
}
32623276
}
32633277
},
32643278
"description" : "",
32653279
"externalDocs" : {
32663280
"url" : "http://developer.xero.com/documentation/api/invoices/"
32673281
}
3282+
};
3283+
defs["InvoiceAddress"] = {
3284+
"title" : "",
3285+
"type" : "object",
3286+
"properties" : {
3287+
"InvoiceAddressType" : {
3288+
"type" : "string",
3289+
"description" : "Indicates whether the address is defined as origin (FROM) or destination (TO)",
3290+
"enum" : [ "FROM", "TO" ]
3291+
},
3292+
"AddressLine1" : {
3293+
"type" : "string",
3294+
"description" : "First line of a physical address"
3295+
},
3296+
"AddressLine2" : {
3297+
"type" : "string",
3298+
"description" : "Second line of a physical address"
3299+
},
3300+
"AddressLine3" : {
3301+
"type" : "string",
3302+
"description" : "Third line of a physical address"
3303+
},
3304+
"AddressLine4" : {
3305+
"type" : "string",
3306+
"description" : "Fourth line of a physical address"
3307+
},
3308+
"City" : {
3309+
"type" : "string",
3310+
"description" : "City of a physical address"
3311+
},
3312+
"Region" : {
3313+
"type" : "string",
3314+
"description" : "Region or state of a physical address"
3315+
},
3316+
"PostalCode" : {
3317+
"type" : "string",
3318+
"description" : "Postal code of a physical address"
3319+
},
3320+
"Country" : {
3321+
"type" : "string",
3322+
"description" : "Country of a physical address"
3323+
}
3324+
},
3325+
"description" : ""
32683326
};
32693327
defs["InvoiceReminder"] = {
32703328
"title" : "",
@@ -3660,6 +3718,22 @@
36603718
"description" : "The Xero identifier for a Repeating Invoice",
36613719
"format" : "uuid",
36623720
"example" : "00000000-0000-0000-0000-000000000000"
3721+
},
3722+
"Taxability" : {
3723+
"type" : "string",
3724+
"description" : "The type of taxability",
3725+
"enum" : [ "TAXABLE", "NON_TAXABLE", "EXEMPT", "PART_TAXABLE", "NOT_APPLICABLE" ]
3726+
},
3727+
"SalesTaxCodeId" : {
3728+
"type" : "number",
3729+
"description" : "The ID of the sales tax code"
3730+
},
3731+
"TaxBreakdown" : {
3732+
"type" : "array",
3733+
"description" : "An array of tax components defined for this line item",
3734+
"items" : {
3735+
"$ref" : "#/components/schemas/TaxBreakdownComponent"
3736+
}
36633737
}
36643738
},
36653739
"description" : "",
@@ -5699,6 +5773,55 @@
56995773
"externalDocs" : {
57005774
"url" : "https://developer.xero.com/documentation/api-guides/conversions"
57015775
}
5776+
};
5777+
defs["TaxBreakdownComponent"] = {
5778+
"title" : "",
5779+
"type" : "object",
5780+
"properties" : {
5781+
"TaxComponentId" : {
5782+
"type" : "string",
5783+
"description" : "The unique ID number of this component",
5784+
"format" : "uuid"
5785+
},
5786+
"Type" : {
5787+
"type" : "string",
5788+
"description" : "The type of the jurisdiction",
5789+
"enum" : [ "SYSGST/USCOUNTRY", "SYSGST/USSTATE", "SYSGST/USCOUNTY", "SYSGST/USCITY", "SYSGST/USSPECIAL" ]
5790+
},
5791+
"Name" : {
5792+
"type" : "string",
5793+
"description" : "The name of the jurisdiction"
5794+
},
5795+
"TaxPercentage" : {
5796+
"type" : "number",
5797+
"description" : "The percentage of the tax"
5798+
},
5799+
"TaxAmount" : {
5800+
"type" : "number",
5801+
"description" : "The amount of the tax"
5802+
},
5803+
"TaxableAmount" : {
5804+
"type" : "number",
5805+
"description" : "The amount that is taxable"
5806+
},
5807+
"NonTaxableAmount" : {
5808+
"type" : "number",
5809+
"description" : "The amount that is not taxable"
5810+
},
5811+
"ExemptAmount" : {
5812+
"type" : "number",
5813+
"description" : "The amount that is exempt"
5814+
},
5815+
"StateAssignedNo" : {
5816+
"type" : "string",
5817+
"description" : "The state assigned number of the jurisdiction"
5818+
},
5819+
"JurisdictionRegion" : {
5820+
"type" : "string",
5821+
"description" : "Name identifying the region within the country"
5822+
}
5823+
},
5824+
"description" : ""
57025825
};
57035826
defs["TaxComponent"] = {
57045827
"title" : "",
@@ -6217,7 +6340,7 @@
62176340
<nav id="scrollingNav">
62186341
<ul class="sidenav nav nav-list">
62196342
<li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
6220-
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>9.2.0</li>
6343+
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>9.3.0</li>
62216344
<li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
62226345
<li data-group="Accounting" data-name="createAccount" class="">
62236346
<a href="#api-Accounting-createAccount">createAccount</a>

docs/appstore/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1242,7 +1242,7 @@
12421242
<nav id="scrollingNav">
12431243
<ul class="sidenav nav nav-list">
12441244
<li class="nav-header" data-group="AppStore"><strong>SDK: </strong><span id='sdk-name'></span></li>
1245-
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>9.2.0</li>
1245+
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>9.3.0</li>
12461246
<li class="nav-header" data-group="AppStore"><a href="#api-AppStore">Methods</a></li>
12471247
<li data-group="AppStore" data-name="getSubscription" class="">
12481248
<a href="#api-AppStore-getSubscription">getSubscription</a>

docs/assets/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1393,7 +1393,7 @@
13931393
<nav id="scrollingNav">
13941394
<ul class="sidenav nav nav-list">
13951395
<li class="nav-header" data-group="Asset"><strong>SDK: </strong><span id='sdk-name'></span></li>
1396-
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>9.2.0</li>
1396+
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>9.3.0</li>
13971397
<li class="nav-header" data-group="Asset"><a href="#api-Asset">Methods</a></li>
13981398
<li data-group="Asset" data-name="createAsset" class="">
13991399
<a href="#api-Asset-createAsset">createAsset</a>

docs/bankfeeds/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1269,7 +1269,7 @@
12691269
<nav id="scrollingNav">
12701270
<ul class="sidenav nav nav-list">
12711271
<li class="nav-header" data-group="BankFeeds"><strong>SDK: </strong><span id='sdk-name'></span></li>
1272-
<li class="nav-header" data-group="BankFeeds"><strong>VSN: </strong>9.2.0</li>
1272+
<li class="nav-header" data-group="BankFeeds"><strong>VSN: </strong>9.3.0</li>
12731273
<li class="nav-header" data-group="BankFeeds"><a href="#api-BankFeeds">Methods</a></li>
12741274
<li data-group="BankFeeds" data-name="createFeedConnections" class="">
12751275
<a href="#api-BankFeeds-createFeedConnections">createFeedConnections</a>

docs/files/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1171,7 +1171,7 @@
11711171
<nav id="scrollingNav">
11721172
<ul class="sidenav nav nav-list">
11731173
<li class="nav-header" data-group="Files"><strong>SDK: </strong><span id='sdk-name'></span></li>
1174-
<li class="nav-header" data-group="Files"><strong>VSN: </strong>9.2.0</li>
1174+
<li class="nav-header" data-group="Files"><strong>VSN: </strong>9.3.0</li>
11751175
<li class="nav-header" data-group="Files"><a href="#api-Files">Methods</a></li>
11761176
<li data-group="Files" data-name="createFileAssociation" class="">
11771177
<a href="#api-Files-createFileAssociation">createFileAssociation</a>

docs/finance/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2738,7 +2738,7 @@
27382738
<nav id="scrollingNav">
27392739
<ul class="sidenav nav nav-list">
27402740
<li class="nav-header" data-group="Finance"><strong>SDK: </strong><span id='sdk-name'></span></li>
2741-
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>9.2.0</li>
2741+
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>9.3.0</li>
27422742
<li class="nav-header" data-group="Finance"><a href="#api-Finance">Methods</a></li>
27432743
<li data-group="Finance" data-name="getAccountingActivityAccountUsage" class="">
27442744
<a href="#api-Finance-getAccountingActivityAccountUsage">getAccountingActivityAccountUsage</a>

docs/payroll-au/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3413,7 +3413,7 @@
34133413
<nav id="scrollingNav">
34143414
<ul class="sidenav nav nav-list">
34153415
<li class="nav-header" data-group="PayrollAu"><strong>SDK: </strong><span id='sdk-name'></span></li>
3416-
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>9.2.0</li>
3416+
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>9.3.0</li>
34173417
<li class="nav-header" data-group="PayrollAu"><a href="#api-PayrollAu">Methods</a></li>
34183418
<li data-group="PayrollAu" data-name="approveLeaveApplication" class="">
34193419
<a href="#api-PayrollAu-approveLeaveApplication">approveLeaveApplication</a>

docs/payroll-nz/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4032,7 +4032,7 @@
40324032
<nav id="scrollingNav">
40334033
<ul class="sidenav nav nav-list">
40344034
<li class="nav-header" data-group="PayrollNz"><strong>SDK: </strong><span id='sdk-name'></span></li>
4035-
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>9.2.0</li>
4035+
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>9.3.0</li>
40364036
<li class="nav-header" data-group="PayrollNz"><a href="#api-PayrollNz">Methods</a></li>
40374037
<li data-group="PayrollNz" data-name="approveTimesheet" class="">
40384038
<a href="#api-PayrollNz-approveTimesheet">approveTimesheet</a>

docs/payroll-uk/index.html

+10-2
Original file line numberDiff line numberDiff line change
@@ -1750,6 +1750,13 @@
17501750
"type" : "number",
17511751
"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\"",
17521752
"format" : "double"
1753+
},
1754+
"scheduleOfAccrualDate" : {
1755+
"type" : "string",
1756+
"description" : "The date when an employee becomes entitled to their accrual. Only applicable when scheduleOfAccrual is \"OnAnniversaryDate\"",
1757+
"format" : "date",
1758+
"example" : "2024-04-01",
1759+
"x-is-date" : true
17531760
}
17541761
},
17551762
"description" : ""
@@ -3511,7 +3518,7 @@
35113518
<nav id="scrollingNav">
35123519
<ul class="sidenav nav nav-list">
35133520
<li class="nav-header" data-group="PayrollUk"><strong>SDK: </strong><span id='sdk-name'></span></li>
3514-
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>9.2.0</li>
3521+
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>9.3.0</li>
35153522
<li class="nav-header" data-group="PayrollUk"><a href="#api-PayrollUk">Methods</a></li>
35163523
<li data-group="PayrollUk" data-name="approveTimesheet" class="">
35173524
<a href="#api-PayrollUk-approveTimesheet">approveTimesheet</a>
@@ -4845,7 +4852,8 @@ <h3>Usage and SDK Samples</h3>
48454852
const employeeLeaveType: EmployeeLeaveType = {
48464853
leaveTypeID: "00000000-0000-0000-0000-000000000000",
48474854
scheduleOfAccrual: EmployeeLeaveType.ScheduleOfAccrualEnum.BeginningOfCalendarYear,
4848-
openingBalance: 5.25
4855+
openingBalance: 5.25,
4856+
scheduleOfAccrualDate: 2024-05-01
48494857
};
48504858

48514859
try {

docs/projects/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1463,7 +1463,7 @@
14631463
<nav id="scrollingNav">
14641464
<ul class="sidenav nav nav-list">
14651465
<li class="nav-header" data-group="Project"><strong>SDK: </strong><span id='sdk-name'></span></li>
1466-
<li class="nav-header" data-group="Project"><strong>VSN: </strong>9.2.0</li>
1466+
<li class="nav-header" data-group="Project"><strong>VSN: </strong>9.3.0</li>
14671467
<li class="nav-header" data-group="Project"><a href="#api-Project">Methods</a></li>
14681468
<li data-group="Project" data-name="createProject" class="">
14691469
<a href="#api-Project-createProject">createProject</a>

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "xero-node",
3-
"version": "9.2.0",
3+
"version": "9.3.0",
44
"description": "Xero NodeJS OAuth 2.0 client for xero-node",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/gen/api/accountingApi.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Xero Accounting API
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: 6.2.0
5+
* The version of the OpenAPI document: 6.3.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -85,7 +85,7 @@ export enum AccountingApiApiKeys {
8585

8686
export class AccountingApi {
8787
protected _basePath = defaultBasePath;
88-
protected defaultHeaders : any = {'user-agent': 'xero-node-9.2.0'};
88+
protected defaultHeaders : any = {'user-agent': 'xero-node-9.3.0'};
8989
protected _useQuerystring : boolean = false;
9090
protected binaryHeaders : any = {};
9191

src/gen/api/appStoreApi.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Xero AppStore API
33
* These endpoints are for Xero Partners to interact with the App Store Billing platform
44
*
5-
* The version of the OpenAPI document: 6.2.0
5+
* The version of the OpenAPI document: 6.3.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -38,7 +38,7 @@ export enum AppStoreApiApiKeys {
3838

3939
export class AppStoreApi {
4040
protected _basePath = defaultBasePath;
41-
protected defaultHeaders : any = {'user-agent': 'xero-node-9.2.0'};
41+
protected defaultHeaders : any = {'user-agent': 'xero-node-9.3.0'};
4242
protected _useQuerystring : boolean = false;
4343
protected binaryHeaders : any = {};
4444

src/gen/api/assetApi.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Xero Assets API
33
* 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.
44
*
5-
* The version of the OpenAPI document: 6.2.0
5+
* The version of the OpenAPI document: 6.3.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -37,7 +37,7 @@ export enum AssetApiApiKeys {
3737

3838
export class AssetApi {
3939
protected _basePath = defaultBasePath;
40-
protected defaultHeaders : any = {'user-agent': 'xero-node-9.2.0'};
40+
protected defaultHeaders : any = {'user-agent': 'xero-node-9.3.0'};
4141
protected _useQuerystring : boolean = false;
4242
protected binaryHeaders : any = {};
4343

src/gen/api/bankfeedsApi.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Xero Bank Feeds API
33
* 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.
44
*
5-
* The version of the OpenAPI document: 6.2.0
5+
* The version of the OpenAPI document: 6.3.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -36,7 +36,7 @@ export enum BankFeedsApiApiKeys {
3636

3737
export class BankFeedsApi {
3838
protected _basePath = defaultBasePath;
39-
protected defaultHeaders : any = {'user-agent': 'xero-node-9.2.0'};
39+
protected defaultHeaders : any = {'user-agent': 'xero-node-9.3.0'};
4040
protected _useQuerystring : boolean = false;
4141
protected binaryHeaders : any = {};
4242

src/gen/api/filesApi.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Xero Files API
33
* These endpoints are specific to Xero Files API
44
*
5-
* The version of the OpenAPI document: 6.2.0
5+
* The version of the OpenAPI document: 6.3.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -36,7 +36,7 @@ export enum FilesApiApiKeys {
3636

3737
export class FilesApi {
3838
protected _basePath = defaultBasePath;
39-
protected defaultHeaders : any = {'user-agent': 'xero-node-9.2.0'};
39+
protected defaultHeaders : any = {'user-agent': 'xero-node-9.3.0'};
4040
protected _useQuerystring : boolean = false;
4141
protected binaryHeaders : any = {};
4242

src/gen/api/financeApi.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Xero Finance API
33
* 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.
44
*
5-
* The version of the OpenAPI document: 6.2.0
5+
* The version of the OpenAPI document: 6.3.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -44,7 +44,7 @@ export enum FinanceApiApiKeys {
4444

4545
export class FinanceApi {
4646
protected _basePath = defaultBasePath;
47-
protected defaultHeaders : any = {'user-agent': 'xero-node-9.2.0'};
47+
protected defaultHeaders : any = {'user-agent': 'xero-node-9.3.0'};
4848
protected _useQuerystring : boolean = false;
4949
protected binaryHeaders : any = {};
5050

0 commit comments

Comments
 (0)