Skip to content

Commit 3904bf5

Browse files
Release OpenAPI Specification 10.1.0 (#207)
Co-authored-by: Github Actions <actions@github.com>
1 parent f7ae37a commit 3904bf5

File tree

30 files changed

+101
-152
lines changed

30 files changed

+101
-152
lines changed

docs/v1/accounting/index.html

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4357,6 +4357,11 @@
43574357
"example" : false,
43584358
"default" : false
43594359
},
4360+
"Reference" : {
4361+
"type" : "string",
4362+
"description" : "An optional description for Overpayment",
4363+
"example" : "Ref for payment"
4364+
},
43604365
"Attachments" : {
43614366
"type" : "array",
43624367
"description" : "See Attachments",
@@ -6344,7 +6349,7 @@
63446349
<nav id="scrollingNav">
63456350
<ul class="sidenav nav nav-list">
63466351
<li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
6347-
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>9.3.0</li>
6352+
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>9.4.0</li>
63486353
<li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
63496354
<li data-group="Accounting" data-name="createAccount" class="">
63506355
<a href="#api-Accounting-createAccount">createAccount</a>
@@ -32134,9 +32139,10 @@ <h3>Usage and SDK Samples</h3>
3213432139
if_modified_since = dateutil.parser.parse("2020-02-06T12:17:43.202-08:00")
3213532140
where = 'Status=="AUTHORISED"'
3213632141
order = 'Status ASC'
32142+
references = [&quot;Ref1&quot;, &quot;Ref2&quot;]
3213732143

3213832144
try:
32139-
api_response = api_instance.get_overpayments(xero_tenant_id, if_modified_since, where, order, page, unitdp, pageSize)
32145+
api_response = api_instance.get_overpayments(xero_tenant_id, if_modified_since, where, order, page, unitdp, pageSize, references)
3214032146
print(api_response)
3214132147
except AccountingBadRequestException as e:
3214232148
print("Exception when calling AccountingApi->getOverpayments: %s\n" % e)</code></pre>
@@ -32314,6 +32320,26 @@ <h2>Parameters</h2>
3231432320
</div>
3231532321
</div>
3231632322
</td>
32323+
</tr>
32324+
32325+
<tr><td style="width:150px;">References</td>
32326+
<td>
32327+
32328+
32329+
<div id="d2e199_getOverpayments_references">
32330+
<div class="json-schema-view">
32331+
<div class="primitive">
32332+
<span class="type">
32333+
array[String]
32334+
</span>
32335+
32336+
<div class="inner description marked">
32337+
Filter by a comma-separated list of References
32338+
</div>
32339+
</div>
32340+
</div>
32341+
</div>
32342+
</td>
3231732343
</tr>
3231832344

3231932345
</table>

docs/v1/appstore/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,7 @@
12411241
<nav id="scrollingNav">
12421242
<ul class="sidenav nav nav-list">
12431243
<li class="nav-header" data-group="AppStore"><strong>SDK: </strong><span id='sdk-name'></span></li>
1244-
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>9.3.0</li>
1244+
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>9.4.0</li>
12451245
<li class="nav-header" data-group="AppStore"><a href="#api-AppStore">Methods</a></li>
12461246
<li data-group="AppStore" data-name="getSubscription" class="">
12471247
<a href="#api-AppStore-getSubscription">getSubscription</a>

docs/v1/assets/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1419,7 +1419,7 @@
14191419
<nav id="scrollingNav">
14201420
<ul class="sidenav nav nav-list">
14211421
<li class="nav-header" data-group="Asset"><strong>SDK: </strong><span id='sdk-name'></span></li>
1422-
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>9.3.0</li>
1422+
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>9.4.0</li>
14231423
<li class="nav-header" data-group="Asset"><a href="#api-Asset">Methods</a></li>
14241424
<li data-group="Asset" data-name="createAsset" class="">
14251425
<a href="#api-Asset-createAsset">createAsset</a>

docs/v1/files/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,7 @@
11701170
<nav id="scrollingNav">
11711171
<ul class="sidenav nav nav-list">
11721172
<li class="nav-header" data-group="Files"><strong>SDK: </strong><span id='sdk-name'></span></li>
1173-
<li class="nav-header" data-group="Files"><strong>VSN: </strong>9.3.0</li>
1173+
<li class="nav-header" data-group="Files"><strong>VSN: </strong>9.4.0</li>
11741174
<li class="nav-header" data-group="Files"><a href="#api-Files">Methods</a></li>
11751175
<li data-group="Files" data-name="createFileAssociation" class="">
11761176
<a href="#api-Files-createFileAssociation">createFileAssociation</a>

docs/v1/finance/index.html

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

docs/v1/payroll-au/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3412,7 +3412,7 @@
34123412
<nav id="scrollingNav">
34133413
<ul class="sidenav nav nav-list">
34143414
<li class="nav-header" data-group="PayrollAu"><strong>SDK: </strong><span id='sdk-name'></span></li>
3415-
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>9.3.0</li>
3415+
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>9.4.0</li>
34163416
<li class="nav-header" data-group="PayrollAu"><a href="#api-PayrollAu">Methods</a></li>
34173417
<li data-group="PayrollAu" data-name="approveLeaveApplication" class="">
34183418
<a href="#api-PayrollAu-approveLeaveApplication">approveLeaveApplication</a>

docs/v1/payroll-nz/index.html

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1682,20 +1682,6 @@
16821682
"example" : 10.0,
16831683
"x-is-money" : true
16841684
},
1685-
"sickLeaveHoursToAccrueAnnually" : {
1686-
"type" : "number",
1687-
"description" : "Deprecated use SickLeaveToAccrueAnnually",
1688-
"format" : "double",
1689-
"example" : 100.5,
1690-
"x-is-money" : true
1691-
},
1692-
"sickLeaveMaximumHoursToAccrue" : {
1693-
"type" : "number",
1694-
"description" : "Deprecated use SickLeaveMaximumToAccrue",
1695-
"format" : "double",
1696-
"example" : 200.5,
1697-
"x-is-money" : true
1698-
},
16991685
"SickLeaveToAccrueAnnually" : {
17001686
"type" : "number",
17011687
"description" : "Number of units accrued annually for sick leave. The type of units is determined by the property \"TypeOfUnitsToAccrue\" on the \"Sick Leave\" leave type",
@@ -1769,13 +1755,7 @@
17691755
"description" : "The schedule of accrual",
17701756
"enum" : [ "AnnuallyAfter6Months", "OnAnniversaryDate", "PercentageOfGrossEarnings", "NoAccruals" ]
17711757
},
1772-
"hoursAccruedAnnually" : {
1773-
"type" : "number",
1774-
"description" : "Deprecated use UnitsAccruedAnnually",
1775-
"format" : "double",
1776-
"x-is-money" : true
1777-
},
1778-
"UnitsAccruedAnnually" : {
1758+
"unitsAccruedAnnually" : {
17791759
"type" : "number",
17801760
"description" : "The number of units accrued for the leave annually. This is 0 when the ScheduleOfAccrual chosen is \"NoAccruals\"",
17811761
"format" : "double",
@@ -1803,7 +1783,7 @@
18031783
},
18041784
"rateAccruedHourly" : {
18051785
"type" : "number",
1806-
"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\"",
1786+
"description" : "not supported in Payroll NZ",
18071787
"format" : "double",
18081788
"x-is-money" : true
18091789
},
@@ -4087,7 +4067,7 @@
40874067
<nav id="scrollingNav">
40884068
<ul class="sidenav nav nav-list">
40894069
<li class="nav-header" data-group="PayrollNz"><strong>SDK: </strong><span id='sdk-name'></span></li>
4090-
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>9.3.0</li>
4070+
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>9.4.0</li>
40914071
<li class="nav-header" data-group="PayrollNz"><a href="#api-PayrollNz">Methods</a></li>
40924072
<li data-group="PayrollNz" data-name="approveTimesheet" class="">
40934073
<a href="#api-PayrollNz-approveTimesheet">approveTimesheet</a>
@@ -5390,8 +5370,6 @@ <h3>Usage and SDK Samples</h3>
53905370
include_holiday_pay = false,
53915371
holiday_pay_opening_balance = 10.5,
53925372
annual_leave_opening_balance = 25.89,
5393-
sick_leave_hours_to_accrue_annually = 100.0,
5394-
sick_leave_maximum_hours_to_accrue = 200.0,
53955373
sick_leave_opening_balance = 10.5,
53965374
sick_leave_to_accrue_annually = 100.0,
53975375
sick_leave_maximum_to_accrue = 200.0,
@@ -5531,7 +5509,6 @@ <h2>Parameters</h2>
55315509
"example" : {
55325510
"holidayPayOpeningBalance" : 10,
55335511
"annualLeaveOpeningBalance" : 100,
5534-
"sickLeaveHoursToAccrueAnnually" : 20,
55355512
"sickLeaveToAccrueAnnually" : 20,
55365513
"sickLeaveOpeningBalance" : 10,
55375514
"sickLeaveScheduleOfAccrual" : "OnAnniversaryDate",
@@ -5727,13 +5704,12 @@ <h2>Parameters</h2>
57275704
"example" : {
57285705
"leaveTypeID" : "35da97ae-05b9-427f-9a98-69157ba42cec",
57295706
"scheduleOfAccrual" : "AnnuallyAfter6Months",
5730-
"hoursAccruedAnnually" : 10,
57315707
"unitsAccruedAnnually" : 10,
57325708
"typeOfUnitsToAccrue" : "Hours",
57335709
"openingBalanceTypeOfUnits" : "Hours",
57345710
"maximumToAccrue" : 80,
57355711
"openingBalance" : 100,
5736-
"rateAccruedHourly" : 3.5
5712+
"rateAccruedHourly" : null
57375713
}
57385714
}
57395715
},

docs/v1/payroll-uk/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3700,7 +3700,7 @@
37003700
<nav id="scrollingNav">
37013701
<ul class="sidenav nav nav-list">
37023702
<li class="nav-header" data-group="PayrollUk"><strong>SDK: </strong><span id='sdk-name'></span></li>
3703-
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>9.3.0</li>
3703+
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>9.4.0</li>
37043704
<li class="nav-header" data-group="PayrollUk"><a href="#api-PayrollUk">Methods</a></li>
37053705
<li data-group="PayrollUk" data-name="approveTimesheet" class="">
37063706
<a href="#api-PayrollUk-approveTimesheet">approveTimesheet</a>

docs/v1/projects/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,7 @@
14621462
<nav id="scrollingNav">
14631463
<ul class="sidenav nav nav-list">
14641464
<li class="nav-header" data-group="Project"><strong>SDK: </strong><span id='sdk-name'></span></li>
1465-
<li class="nav-header" data-group="Project"><strong>VSN: </strong>9.3.0</li>
1465+
<li class="nav-header" data-group="Project"><strong>VSN: </strong>9.4.0</li>
14661466
<li class="nav-header" data-group="Project"><a href="#api-Project">Methods</a></li>
14671467
<li data-group="Project" data-name="createProject" class="">
14681468
<a href="#api-Project-createProject">createProject</a>

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ def read_file(filename):
4848
keywords="xero python sdk API oAuth",
4949
name="xero_python",
5050
packages=find_packages(include=["xero_python", "xero_python.*"]),
51-
version="9.3.0",
51+
version="9.4.0",
5252
)

0 commit comments

Comments
 (0)