Skip to content

Commit

Permalink
Update for OAS 6.3.0 (#314)
Browse files Browse the repository at this point in the history
## What's Changed
* New optional property got added to the `EmployeeLeaveType` DTO for `scheduleOfAccrualDate`.
  • Loading branch information
actions-user committed Sep 10, 2024
1 parent 517631c commit 6b4f73b
Show file tree
Hide file tree
Showing 14 changed files with 46 additions and 420 deletions.
18 changes: 9 additions & 9 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
PATH
remote: .
specs:
xero-ruby (9.1.0)
xero-ruby (9.3.0)
faraday (>= 2.0, < 3.0)
json (~> 2.1, >= 2.1.0)
json-jwt (~> 1.16, >= 1.16.3)

GEM
remote: https://rubygems.org/
specs:
activesupport (7.1.3.4)
activesupport (7.1.4)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
Expand All @@ -26,16 +26,16 @@ GEM
bindata (2.5.0)
byebug (11.1.3)
coderay (1.1.3)
concurrent-ruby (1.3.3)
concurrent-ruby (1.3.4)
connection_pool (2.4.1)
diff-lcs (1.5.1)
drb (2.2.1)
faraday (2.10.1)
faraday-net_http (>= 2.0, < 3.2)
faraday (2.11.0)
faraday-net_http (>= 2.0, < 3.4)
logger
faraday-follow_redirects (0.3.0)
faraday (>= 1, < 3)
faraday-net_http (3.1.1)
faraday-net_http (3.3.0)
net-http
i18n (1.14.5)
concurrent-ruby (~> 1.0)
Expand All @@ -47,9 +47,9 @@ GEM
bindata
faraday (~> 2.0)
faraday-follow_redirects
logger (1.6.0)
logger (1.6.1)
method_source (1.1.0)
minitest (5.24.1)
minitest (5.25.1)
mutex_m (0.2.0)
net-http (0.4.1)
uri
Expand Down Expand Up @@ -98,7 +98,7 @@ GEM
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (1.8.0)
uri (0.13.0)
uri (0.13.1)

PLATFORMS
arm64-darwin-23
Expand Down
2 changes: 1 addition & 1 deletion docs/accounting/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6216,7 +6216,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>9.2.0</li>
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>9.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/app_store/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,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>9.2.0</li>
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>9.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 @@ -1392,7 +1392,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>9.2.0</li>
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>9.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/files/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1170,7 +1170,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>9.2.0</li>
<li class="nav-header" data-group="Files"><strong>VSN: </strong>9.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 @@ -2737,7 +2737,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>9.2.0</li>
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>9.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 @@ -3412,7 +3412,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>9.2.0</li>
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>9.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 @@ -4031,7 +4031,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>9.2.0</li>
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>9.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
4 changes: 3 additions & 1 deletion docs/payroll_uk/EmployeeLeaveType.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Name | Type | Description | Notes
**maximum_to_accrue** | **Float** | The maximum number of hours that can be accrued for the leave | [optional]
**opening_balance** | **Float** | The initial number of hours assigned when the leave was added to the employee | [optional]
**rate_accrued_hourly** | **Float** | 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 \&quot;OnHourWorked\&quot; | [optional]
**schedule_of_accrual_date** | **Date** | The date when an employee becomes entitled to their accrual. Only applicable when scheduleOfAccrual is \&quot;OnAnniversaryDate\&quot; | [optional]

## Code Sample

Expand All @@ -21,7 +22,8 @@ instance = XeroRuby::PayrollUk::EmployeeLeaveType.new(leave_type_id: null,
hours_accrued_annually: null,
maximum_to_accrue: null,
opening_balance: null,
rate_accrued_hourly: null)
rate_accrued_hourly: null,
schedule_of_accrual_date: Mon Apr 01 00:00:00 GMT 2024)
```


12 changes: 10 additions & 2 deletions docs/payroll_uk/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1750,6 +1750,13 @@
"type" : "number",
"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\"",
"format" : "double"
},
"scheduleOfAccrualDate" : {
"type" : "string",
"description" : "The date when an employee becomes entitled to their accrual. Only applicable when scheduleOfAccrual is \"OnAnniversaryDate\"",
"format" : "date",
"example" : "2024-04-01",
"x-is-date" : true
}
},
"description" : ""
Expand Down Expand Up @@ -3510,7 +3517,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>9.2.0</li>
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>9.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 Expand Up @@ -4844,7 +4851,8 @@ <h3>Usage and SDK Samples</h3>
employee_leave_type = {
leave_type_id: "00000000-0000-0000-0000-000000000000",
schedule_of_accrual: XeroRuby::PayrollUk::EmployeeLeaveType::schedule_of_accrual::BEGINNINGOFCALENDARYEAR,
opening_balance: 5.25
opening_balance: 5.25,
schedule_of_accrual_date:
}

begin
Expand Down
2 changes: 1 addition & 1 deletion docs/projects/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1462,7 +1462,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>9.2.0</li>
<li class="nav-header" data-group="Project"><strong>VSN: </strong>9.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
Loading

0 comments on commit 6b4f73b

Please sign in to comment.