Skip to content

Commit 9eba2a1

Browse files
authored
Merge pull request #229 from XeroAPI/xero-ruby-3.12.0
generates from OAS 2.27.0
2 parents 0d80354 + 5c1d6be commit 9eba2a1

File tree

19 files changed

+127
-24
lines changed

19 files changed

+127
-24
lines changed

docs/accounting/AccountingApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6979,7 +6979,7 @@ opts = {
69796979

69806980
summary_only: false, # Boolean | Use summaryOnly=true in GET Contacts and Invoices endpoint to retrieve a smaller version of the response object. This returns only lightweight fields, excluding computation-heavy fields from the response, making the API calls quick and efficient.
69816981

6982-
search_term: 'searchTerm=Joe Bloggs' # String | Search parameter that performs a case-insensitive text search across the Name, FirstName, LastName, ContactNumber and EmailAddress fields.
6982+
search_term: 'Joe Bloggs' # String | Search parameter that performs a case-insensitive text search across the Name, FirstName, LastName, ContactNumber and EmailAddress fields.
69836983
}
69846984

69856985
begin

docs/accounting/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4054,7 +4054,7 @@
40544054
"Class" : {
40554055
"type" : "string",
40564056
"description" : "Organisation Classes describe which plan the Xero organisation is on (e.g. DEMO, TRIAL, PREMIUM)",
4057-
"enum" : [ "DEMO", "TRIAL", "STARTER", "STANDARD", "PREMIUM", "PREMIUM_20", "PREMIUM_50", "PREMIUM_100", "LEDGER", "GST_CASHBOOK", "NON_GST_CASHBOOK", "ULTIMATE" ]
4057+
"enum" : [ "DEMO", "TRIAL", "STARTER", "STANDARD", "PREMIUM", "PREMIUM_20", "PREMIUM_50", "PREMIUM_100", "LEDGER", "GST_CASHBOOK", "NON_GST_CASHBOOK", "ULTIMATE", "LITE" ]
40584058
},
40594059
"Edition" : {
40604060
"type" : "string",
@@ -6069,7 +6069,7 @@
60696069
<nav id="scrollingNav">
60706070
<ul class="sidenav nav nav-list">
60716071
<li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
6072-
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>3.11.0</li>
6072+
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>3.12.0</li>
60736073
<li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
60746074
<li data-group="Accounting" data-name="createAccount" class="">
60756075
<a href="#api-Accounting-createAccount">createAccount</a>
@@ -21880,7 +21880,7 @@ <h3>Usage and SDK Samples</h3>
2188021880
page = 1
2188121881
include_archived = true
2188221882
summary_only = true
21883-
search_term = 'searchTerm=Joe Bloggs'
21883+
search_term = 'Joe Bloggs'
2188421884

2188521885
begin
2188621886
response = xero_client.accounting_api.get_contacts(xero_tenant_id, if_modified_since, where, order, ids, page, include_archived, summary_only, search_term)

docs/app_store/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1141,7 +1141,7 @@
11411141
<nav id="scrollingNav">
11421142
<ul class="sidenav nav nav-list">
11431143
<li class="nav-header" data-group="AppStore"><strong>SDK: </strong><span id='sdk-name'></span></li>
1144-
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>3.11.0</li>
1144+
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>3.12.0</li>
11451145
<li class="nav-header" data-group="AppStore"><a href="#api-AppStore">Methods</a></li>
11461146
<li data-group="AppStore" data-name="getSubscription" class="">
11471147
<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
@@ -1392,7 +1392,7 @@
13921392
<nav id="scrollingNav">
13931393
<ul class="sidenav nav nav-list">
13941394
<li class="nav-header" data-group="Asset"><strong>SDK: </strong><span id='sdk-name'></span></li>
1395-
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>3.11.0</li>
1395+
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>3.12.0</li>
13961396
<li class="nav-header" data-group="Asset"><a href="#api-Asset">Methods</a></li>
13971397
<li data-group="Asset" data-name="createAsset" class="">
13981398
<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
@@ -1155,7 +1155,7 @@
11551155
<nav id="scrollingNav">
11561156
<ul class="sidenav nav nav-list">
11571157
<li class="nav-header" data-group="Files"><strong>SDK: </strong><span id='sdk-name'></span></li>
1158-
<li class="nav-header" data-group="Files"><strong>VSN: </strong>3.11.0</li>
1158+
<li class="nav-header" data-group="Files"><strong>VSN: </strong>3.12.0</li>
11591159
<li class="nav-header" data-group="Files"><a href="#api-Files">Methods</a></li>
11601160
<li data-group="Files" data-name="createFileAssociation" class="">
11611161
<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
@@ -2718,7 +2718,7 @@
27182718
<nav id="scrollingNav">
27192719
<ul class="sidenav nav nav-list">
27202720
<li class="nav-header" data-group="Finance"><strong>SDK: </strong><span id='sdk-name'></span></li>
2721-
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>3.11.0</li>
2721+
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>3.12.0</li>
27222722
<li class="nav-header" data-group="Finance"><a href="#api-Finance">Methods</a></li>
27232723
<li data-group="Finance" data-name="getAccountingActivityAccountUsage" class="">
27242724
<a href="#api-Finance-getAccountingActivityAccountUsage">getAccountingActivityAccountUsage</a>

docs/payroll_au/Employee.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
1212
**title** | **String** | Title of the employee | [optional]
1313
**middle_names** | **String** | Middle name(s) of the employee | [optional]
1414
**email** | **String** | The email address for the employee | [optional]
15-
**gender** | **String** | The employee’s gender. See Employee Gender | [optional]
15+
**gender** | **String** | The employee’s gender. See Employee Gender | [optional]
1616
**phone** | **String** | Employee phone number | [optional]
1717
**mobile** | **String** | Employee mobile number | [optional]
1818
**twitter_user_name** | **String** | Employee’s twitter name | [optional]
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# XeroRuby::PayrollAu::LeaveCategoryCode
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
8+
## Code Sample
9+
10+
```ruby
11+
require 'XeroRuby::PayrollAu'
12+
13+
instance = XeroRuby::PayrollAu::LeaveCategoryCode.new()
14+
```
15+
16+

docs/payroll_au/LeaveType.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Name | Type | Description | Notes
1313
**is_paid_leave** | **Boolean** | Set this to indicate that an employee will be paid when taking this type of leave | [optional]
1414
**show_on_payslip** | **Boolean** | Set this if you want a balance for this leave type to be shown on your employee’s payslips | [optional]
1515
**current_record** | **Boolean** | Is the current record | [optional]
16+
**leave_category_code** | [**LeaveCategoryCode**](LeaveCategoryCode.md) | | [optional]
17+
**sgc_exempt** | **Boolean** | Set this to indicate that the leave type is exempt from superannuation guarantee contribution | [optional]
1618

1719
## Code Sample
1820

@@ -27,7 +29,9 @@ instance = XeroRuby::PayrollAu::LeaveType.new(name: PTO,
2729
updated_date_utc: /Date(1583967733054+0000)/,
2830
is_paid_leave: true,
2931
show_on_payslip: true,
30-
current_record: true)
32+
current_record: true,
33+
leave_category_code: null,
34+
sgc_exempt: true)
3135
```
3236

3337

docs/payroll_au/index.html

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1294,7 +1294,7 @@
12941294
},
12951295
"Gender" : {
12961296
"type" : "string",
1297-
"description" : "The employee’s gender. See Employee Gender",
1297+
"description" : "The employee’s gender. See Employee Gender",
12981298
"example" : "F",
12991299
"enum" : [ "N", "M", "F", "I" ]
13001300
},
@@ -1628,6 +1628,13 @@
16281628
}
16291629
},
16301630
"description" : ""
1631+
};
1632+
defs["LeaveCategoryCode"] = {
1633+
"title" : "",
1634+
"type" : "string",
1635+
"description" : "Code used to identify the Leave Category",
1636+
"example" : "ANNUALLEAVE",
1637+
"enum" : [ "ANNUALLEAVE", "LONGSERVICELEAVE", "PERSONALCARERSLEAVE", "ROSTEREDDAYOFF", "TIMEOFFINLIEU", "COMPASSIONATEANDBEREAVEMENTLEAVE", "STUDYLEAVE", "FAMILYANDDOMESTICVIOLENCELEAVE", "SPECIALPAIDLEAVE", "COMMUNITYSERVICELEAVE", "JURYDUTYLEAVE", "DEFENCERESERVELEAVE" ]
16311638
};
16321639
defs["LeaveEarningsLine"] = {
16331640
"title" : "",
@@ -1813,6 +1820,14 @@
18131820
"type" : "boolean",
18141821
"description" : "Is the current record",
18151822
"example" : true
1823+
},
1824+
"LeaveCategoryCode" : {
1825+
"$ref" : "#/components/schemas/LeaveCategoryCode"
1826+
},
1827+
"SGCExempt" : {
1828+
"type" : "boolean",
1829+
"description" : "Set this to indicate that the leave type is exempt from superannuation guarantee contribution",
1830+
"example" : true
18161831
}
18171832
},
18181833
"description" : ""
@@ -3259,7 +3274,7 @@
32593274
<nav id="scrollingNav">
32603275
<ul class="sidenav nav nav-list">
32613276
<li class="nav-header" data-group="PayrollAu"><strong>SDK: </strong><span id='sdk-name'></span></li>
3262-
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>3.11.0</li>
3277+
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>3.12.0</li>
32633278
<li class="nav-header" data-group="PayrollAu"><a href="#api-PayrollAu">Methods</a></li>
32643279
<li data-group="PayrollAu" data-name="createEmployee" class="">
32653280
<a href="#api-PayrollAu-createEmployee">createEmployee</a>

0 commit comments

Comments
 (0)