Skip to content

Commit 6942fad

Browse files
Release OpenAPI Specification 10.1.0 (#353)
Co-authored-by: Github Actions <actions@github.com>
1 parent 2e32b38 commit 6942fad

File tree

20 files changed

+69
-85
lines changed

20 files changed

+69
-85
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
xero-ruby (12.3.0)
4+
xero-ruby (12.4.0)
55
faraday (>= 2.0, < 3.0)
66
json (~> 2.1, >= 2.1.0)
77
json-jwt (~> 1.16, >= 1.16.3)

docs/accounting/AccountingApi.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10401,7 +10401,9 @@ opts = {
1040110401

1040210402
unitdp: 4, # Integer | e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
1040310403

10404-
page_size: 100 # Integer | Number of records to retrieve per page
10404+
page_size: 100, # Integer | Number of records to retrieve per page
10405+
10406+
references: ['&quot;Ref1&quot;, &quot;Ref2&quot;'] # Array<String> | Filter by a comma-separated list of References
1040510407
}
1040610408

1040710409
begin
@@ -10425,6 +10427,7 @@ Name | Type | Description | Notes
1042510427
**page** | **Integer**| e.g. page&#x3D;1 – Up to 100 overpayments will be returned in a single API call with line items shown for each overpayment | [optional]
1042610428
**unitdp** | **Integer**| e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts | [optional]
1042710429
**page_size** | **Integer**| Number of records to retrieve per page | [optional]
10430+
**references** | [**Array&lt;String&gt;**](String.md)| Filter by a comma-separated list of References | [optional]
1042810431

1042910432
### Return type
1043010433

docs/accounting/Overpayment.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Name | Type | Description | Notes
2222
**applied_amount** | **Float** | The amount of applied to an invoice | [optional]
2323
**payments** | [**Array&lt;Payment&gt;**](Payment.md) | See Payments | [optional]
2424
**has_attachments** | **Boolean** | boolean to indicate if a overpayment has an attachment | [optional] [default to false]
25+
**reference** | **String** | An optional description for Overpayment | [optional]
2526
**attachments** | [**Array&lt;Attachment&gt;**](Attachment.md) | See Attachments | [optional]
2627

2728
## Code Sample
@@ -47,6 +48,7 @@ instance = XeroRuby::Accounting::Overpayment.new(type: null,
4748
applied_amount: 2.0,
4849
payments: null,
4950
has_attachments: false,
51+
reference: Ref for payment,
5052
attachments: null)
5153
```
5254

docs/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>12.3.0</li>
6352+
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>12.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>
@@ -30613,9 +30618,10 @@ <h3>Usage and SDK Samples</h3>
3061330618
page = 1
3061430619
unitdp = 4
3061530620
pageSize = 100
30621+
references = [&quot;Ref1&quot;, &quot;Ref2&quot;]
3061630622

3061730623
begin
30618-
response = xero_client.accounting_api.get_overpayments(xero_tenant_id, if_modified_since, where, order, page, unitdp, pageSize)
30624+
response = xero_client.accounting_api.get_overpayments(xero_tenant_id, if_modified_since, where, order, page, unitdp, pageSize, references)
3061930625
return response
3062030626
rescue XeroRuby::ApiError => e
3062130627
puts "Exception when calling get_overpayments: #{e}"
@@ -30795,6 +30801,26 @@ <h2>Parameters</h2>
3079530801
</div>
3079630802
</div>
3079730803
</td>
30804+
</tr>
30805+
30806+
<tr><td style="width:150px;">References</td>
30807+
<td>
30808+
30809+
30810+
<div id="d2e199_getOverpayments_references">
30811+
<div class="json-schema-view">
30812+
<div class="primitive">
30813+
<span class="type">
30814+
array[String]
30815+
</span>
30816+
30817+
<div class="inner description marked">
30818+
Filter by a comma-separated list of References
30819+
</div>
30820+
</div>
30821+
</div>
30822+
</div>
30823+
</td>
3079830824
</tr>
3079930825

3080030826
</table>

docs/app_store/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>12.3.0</li>
1244+
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>12.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/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>12.3.0</li>
1422+
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>12.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/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>12.3.0</li>
1173+
<li class="nav-header" data-group="Files"><strong>VSN: </strong>12.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/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>12.3.0</li>
2719+
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>12.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/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>12.3.0</li>
3415+
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>12.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/payroll_nz/EmployeeLeaveSetup.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ Name | Type | Description | Notes
88
**holiday_pay_opening_balance** | **BigDecimal** | Initial holiday pay balance. A percentage — usually 8% — of gross earnings since their last work anniversary. | [optional]
99
**annual_leave_opening_balance** | **BigDecimal** | Initial annual leave balance. The balance at their last anniversary, less any leave taken since then and excluding accrued annual leave. | [optional]
1010
**negative_annual_leave_balance_paid_amount** | **BigDecimal** | The dollar value of annual leave opening balance if negative. | [optional]
11-
**sick_leave_hours_to_accrue_annually** | **BigDecimal** | Deprecated use SickLeaveToAccrueAnnually | [optional]
12-
**sick_leave_maximum_hours_to_accrue** | **BigDecimal** | Deprecated use SickLeaveMaximumToAccrue | [optional]
1311
**sick_leave_to_accrue_annually** | **BigDecimal** | Number of units accrued annually for sick leave. The type of units is determined by the property \&quot;TypeOfUnitsToAccrue\&quot; on the \&quot;Sick Leave\&quot; leave type | [optional]
1412
**sick_leave_maximum_to_accrue** | **BigDecimal** | Maximum number of units accrued annually for sick leave. The type of units is determined by the property \&quot;TypeOfUnitsToAccrue\&quot; on the \&quot;Sick Leave\&quot; leave type | [optional]
1513
**sick_leave_opening_balance** | **BigDecimal** | Initial sick leave balance. This will be positive unless they&#39;ve taken sick leave in advance | [optional]
@@ -26,8 +24,6 @@ instance = XeroRuby::PayrollNz::EmployeeLeaveSetup.new(include_holiday_pay: fals
2624
holiday_pay_opening_balance: 10.5,
2725
annual_leave_opening_balance: 25.89,
2826
negative_annual_leave_balance_paid_amount: 10.0,
29-
sick_leave_hours_to_accrue_annually: 100.5,
30-
sick_leave_maximum_hours_to_accrue: 200.5,
3127
sick_leave_to_accrue_annually: 100.5,
3228
sick_leave_maximum_to_accrue: 200.5,
3329
sick_leave_opening_balance: 10.5,

0 commit comments

Comments
 (0)