Skip to content

Commit 45f0415

Browse files
Build for version 12.0.0 (#762)
Build for version 12.0.0 (#762)
1 parent e818cc4 commit 45f0415

File tree

26 files changed

+76
-46
lines changed

26 files changed

+76
-46
lines changed

docs/accounting/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6220,7 +6220,7 @@
62206220
"OrganisationRole" : {
62216221
"type" : "string",
62226222
"description" : "User role that defines permissions in Xero and via API (READONLY, INVOICEONLY, STANDARD, FINANCIALADVISER, etc)",
6223-
"enum" : [ "READONLY", "INVOICEONLY", "STANDARD", "FINANCIALADVISER", "MANAGEDCLIENT", "CASHBOOKCLIENT", "UNKNOWN" ]
6223+
"enum" : [ "READONLY", "INVOICEONLY", "STANDARD", "FINANCIALADVISER", "MANAGEDCLIENT", "CASHBOOKCLIENT", "UNKNOWN", "REMOVED" ]
62246224
}
62256225
},
62266226
"description" : "",
@@ -6340,7 +6340,7 @@
63406340
<nav id="scrollingNav">
63416341
<ul class="sidenav nav nav-list">
63426342
<li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
6343-
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>11.2.0</li>
6343+
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>12.0.0</li>
63446344
<li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
63456345
<li data-group="Accounting" data-name="createAccount" class="">
63466346
<a href="#api-Accounting-createAccount">createAccount</a>

docs/appstore/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -976,8 +976,8 @@
976976
},
977977
"type" : {
978978
"type" : "string",
979-
"description" : "The pricing model of the product:\n* FIXED: Customers are charged a fixed amount for each billing period\n* PER_SEAT: Customers are charged based on the number of units they purchase\n* METERED: Customers are charged per use of this product\n",
980-
"enum" : [ "FIXED", "PER_SEAT", "METERED" ]
979+
"description" : "The pricing model of the product:\n* FIXED: Customers are charged a fixed amount for each billing period\n* PER_SEAT: Customers are charged based on the number of units they purchase\n* METERED: Customers are charged per use of this product\n* SIMPLE: Customers are charged on a fixed amount for each billing period with an optional add-on feature\n",
980+
"enum" : [ "FIXED", "PER_SEAT", "METERED", "SIMPLE" ]
981981
},
982982
"usageUnit" : {
983983
"type" : "string",
@@ -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>11.2.0</li>
1245+
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>12.0.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

Lines changed: 1 addition & 1 deletion
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>11.2.0</li>
1396+
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>12.0.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

Lines changed: 1 addition & 1 deletion
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>11.2.0</li>
1272+
<li class="nav-header" data-group="BankFeeds"><strong>VSN: </strong>12.0.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

Lines changed: 24 additions & 3 deletions
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>11.2.0</li>
1174+
<li class="nav-header" data-group="Files"><strong>VSN: </strong>12.0.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>
@@ -2626,10 +2626,11 @@ <h3>Usage and SDK Samples</h3>
26262626
const xeroTenantId = 'YOUR_XERO_TENANT_ID';
26272627
const pagesize = 50;
26282628
const page = 2;
2629-
const sort = 'CreatedDateUTC DESC';
2629+
const sort = 'CreatedDateUTC';
2630+
const direction = 'ASC';
26302631

26312632
try {
2632-
const response = await xero.accountingApi.getFiles(xeroTenantId, pagesize, page, sort);
2633+
const response = await xero.accountingApi.getFiles(xeroTenantId, pagesize, page, sort, direction);
26332634
console.log(response.body || response.response.statusCode)
26342635
} catch (err) {
26352636
const error = JSON.stringify(err.response.body, null, 2)
@@ -2746,6 +2747,26 @@ <h2>Parameters</h2>
27462747
</div>
27472748
</div>
27482749
</td>
2750+
</tr>
2751+
2752+
<tr><td style="width:150px;">direction</td>
2753+
<td>
2754+
2755+
2756+
<div id="d2e199_getFiles_direction">
2757+
<div class="json-schema-view">
2758+
<div class="primitive">
2759+
<span class="type">
2760+
String
2761+
</span>
2762+
2763+
<div class="inner description marked">
2764+
sort direction
2765+
</div>
2766+
</div>
2767+
</div>
2768+
</div>
2769+
</td>
27492770
</tr>
27502771

27512772
</table>

docs/finance/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2717,7 +2717,7 @@
27172717
<nav id="scrollingNav">
27182718
<ul class="sidenav nav nav-list">
27192719
<li class="nav-header" data-group="Finance"><strong>SDK: </strong><span id='sdk-name'></span></li>
2720-
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>11.2.0</li>
2720+
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>12.0.0</li>
27212721
<li class="nav-header" data-group="Finance"><a href="#api-Finance">Methods</a></li>
27222722
<li data-group="Finance" data-name="getAccountingActivityAccountUsage" class="">
27232723
<a href="#api-Finance-getAccountingActivityAccountUsage">getAccountingActivityAccountUsage</a>

docs/payroll-au/index.html

Lines changed: 1 addition & 1 deletion
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>11.2.0</li>
3416+
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>12.0.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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4088,7 +4088,7 @@
40884088
<nav id="scrollingNav">
40894089
<ul class="sidenav nav nav-list">
40904090
<li class="nav-header" data-group="PayrollNz"><strong>SDK: </strong><span id='sdk-name'></span></li>
4091-
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>11.2.0</li>
4091+
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>12.0.0</li>
40924092
<li class="nav-header" data-group="PayrollNz"><a href="#api-PayrollNz">Methods</a></li>
40934093
<li data-group="PayrollNz" data-name="approveTimesheet" class="">
40944094
<a href="#api-PayrollNz-approveTimesheet">approveTimesheet</a>

docs/payroll-uk/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1954,7 +1954,7 @@
19541954
"leaveType" : {
19551955
"type" : "string",
19561956
"description" : "The type of statutory leave",
1957-
"enum" : [ "Sick", "Adoption", "Maternity", "Paternity", "Sharedparental", "Bereavement" ]
1957+
"enum" : [ "Sick", "Adoption", "Maternity", "Paternity", "Sharedparental", "Bereavement", "NeonatalCare" ]
19581958
},
19591959
"balanceRemaining" : {
19601960
"type" : "number",
@@ -2002,7 +2002,7 @@
20022002
"type" : {
20032003
"type" : "string",
20042004
"description" : "The category of statutory leave",
2005-
"enum" : [ "Sick", "Adoption", "Maternity", "Paternity", "Sharedparental", "Bereavement" ]
2005+
"enum" : [ "Sick", "Adoption", "Maternity", "Paternity", "Sharedparental", "Bereavement", "NeonatalCare" ]
20062006
},
20072007
"startDate" : {
20082008
"type" : "string",
@@ -3601,7 +3601,7 @@
36013601
<nav id="scrollingNav">
36023602
<ul class="sidenav nav nav-list">
36033603
<li class="nav-header" data-group="PayrollUk"><strong>SDK: </strong><span id='sdk-name'></span></li>
3604-
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>11.2.0</li>
3604+
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>12.0.0</li>
36053605
<li class="nav-header" data-group="PayrollUk"><a href="#api-PayrollUk">Methods</a></li>
36063606
<li data-group="PayrollUk" data-name="approveTimesheet" class="">
36073607
<a href="#api-PayrollUk-approveTimesheet">approveTimesheet</a>

docs/projects/index.html

Lines changed: 1 addition & 1 deletion
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>11.2.0</li>
1466+
<li class="nav-header" data-group="Project"><strong>VSN: </strong>12.0.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>

0 commit comments

Comments
 (0)