Skip to content

Commit 53f0118

Browse files
authored
Merge pull request #217 from XeroAPI/xero-ruby-3.6.0
Xero ruby 3.6.0
2 parents 9fd301b + 1624911 commit 53f0118

141 files changed

Lines changed: 1874 additions & 1689 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
/test/tmp/
1010
/test/version_tmp/
1111
/tmp/
12-
.ruby-version
13-
.ruby-gemset
1412

1513
# Used by dotenv library to load environment variables.
1614
.env
@@ -44,9 +42,9 @@ build-iPhoneSimulator/
4442

4543
# for a library or gem, you might want to ignore these files since the code is
4644
# intended to run in multiple environments; otherwise, check them in:
47-
# Gemfile.lock
48-
# .ruby-version
49-
# .ruby-gemset
45+
Gemfile.lock
46+
.ruby-version
47+
.ruby-gemset
5048

5149
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
5250
.rvmrc

Gemfile.lock

Lines changed: 28 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,82 +1,86 @@
11
PATH
22
remote: .
33
specs:
4-
xero-ruby (3.4.0)
4+
xero-ruby (3.6.0)
55
faraday (~> 1.0, >= 1.0.1)
66
json (~> 2.1, >= 2.1.0)
77
json-jwt (~> 1.5, >= 1.5.2)
88

99
GEM
1010
remote: https://rubygems.org/
1111
specs:
12-
activesupport (6.1.4.1)
12+
activesupport (7.0.1)
1313
concurrent-ruby (~> 1.0, >= 1.0.2)
1414
i18n (>= 1.6, < 2)
1515
minitest (>= 5.1)
1616
tzinfo (~> 2.0)
17-
zeitwerk (~> 2.3)
1817
aes_key_wrap (1.1.0)
19-
ast (2.4.1)
18+
ast (2.4.2)
2019
bindata (2.4.10)
2120
byebug (11.1.3)
2221
coderay (1.1.3)
2322
concurrent-ruby (1.1.9)
24-
diff-lcs (1.4.4)
25-
faraday (1.8.0)
23+
diff-lcs (1.5.0)
24+
faraday (1.9.3)
2625
faraday-em_http (~> 1.0)
2726
faraday-em_synchrony (~> 1.0)
2827
faraday-excon (~> 1.1)
29-
faraday-httpclient (~> 1.0.1)
28+
faraday-httpclient (~> 1.0)
29+
faraday-multipart (~> 1.0)
3030
faraday-net_http (~> 1.0)
31-
faraday-net_http_persistent (~> 1.1)
31+
faraday-net_http_persistent (~> 1.0)
3232
faraday-patron (~> 1.0)
3333
faraday-rack (~> 1.0)
34-
multipart-post (>= 1.2, < 3)
34+
faraday-retry (~> 1.0)
3535
ruby2_keywords (>= 0.0.4)
3636
faraday-em_http (1.0.0)
3737
faraday-em_synchrony (1.0.0)
3838
faraday-excon (1.1.0)
3939
faraday-httpclient (1.0.1)
40+
faraday-multipart (1.0.3)
41+
multipart-post (>= 1.2, < 3)
4042
faraday-net_http (1.0.1)
4143
faraday-net_http_persistent (1.2.0)
4244
faraday-patron (1.0.0)
4345
faraday-rack (1.0.0)
44-
i18n (1.8.10)
46+
faraday-retry (1.0.3)
47+
i18n (1.9.1)
4548
concurrent-ruby (~> 1.0)
4649
jaro_winkler (1.5.4)
47-
json (2.5.1)
50+
json (2.6.1)
4851
json-jwt (1.13.0)
4952
activesupport (>= 4.2)
5053
aes_key_wrap
5154
bindata
5255
method_source (1.0.0)
53-
minitest (5.14.4)
56+
minitest (5.15.0)
5457
multipart-post (2.1.1)
55-
parallel (1.20.1)
56-
parser (2.7.2.0)
58+
parallel (1.21.0)
59+
parser (3.1.0.0)
5760
ast (~> 2.4.1)
5861
pry (0.13.1)
5962
coderay (~> 1.1)
6063
method_source (~> 1.0)
6164
pry-byebug (3.9.0)
6265
byebug (~> 11.0)
6366
pry (~> 0.13.0)
64-
psych (3.2.1)
65-
rainbow (3.0.0)
67+
psych (4.0.3)
68+
stringio
69+
rainbow (3.1.1)
6670
rake (12.3.3)
6771
rspec (3.10.0)
6872
rspec-core (~> 3.10.0)
6973
rspec-expectations (~> 3.10.0)
7074
rspec-mocks (~> 3.10.0)
71-
rspec-core (3.10.0)
75+
rspec-core (3.10.2)
7276
rspec-support (~> 3.10.0)
73-
rspec-expectations (3.10.0)
77+
rspec-expectations (3.10.2)
7478
diff-lcs (>= 1.2.0, < 2.0)
7579
rspec-support (~> 3.10.0)
76-
rspec-mocks (3.10.0)
80+
rspec-mocks (3.10.3)
7781
diff-lcs (>= 1.2.0, < 2.0)
7882
rspec-support (~> 3.10.0)
79-
rspec-support (3.10.0)
83+
rspec-support (3.10.3)
8084
rubocop (0.66.0)
8185
jaro_winkler (~> 1.5.1)
8286
parallel (~> 1.10)
@@ -85,15 +89,16 @@ GEM
8589
rainbow (>= 2.2.2, < 4.0)
8690
ruby-progressbar (~> 1.7)
8791
unicode-display_width (>= 1.4.0, < 1.6)
88-
ruby-progressbar (1.10.1)
92+
ruby-progressbar (1.11.0)
8993
ruby2_keywords (0.0.5)
94+
stringio (3.0.1)
9095
tzinfo (2.0.4)
9196
concurrent-ruby (~> 1.0)
9297
unicode-display_width (1.5.0)
93-
zeitwerk (2.4.2)
9498

9599
PLATFORMS
96100
ruby
101+
x86_64-darwin-20
97102

98103
DEPENDENCIES
99104
pry-byebug
@@ -103,4 +108,4 @@ DEPENDENCIES
103108
xero-ruby!
104109

105110
BUNDLED WITH
106-
2.2.26
111+
2.2.3

docs/accounting/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5984,7 +5984,7 @@
59845984
<nav id="scrollingNav">
59855985
<ul class="sidenav nav nav-list">
59865986
<li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
5987-
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>3.4.0</li>
5987+
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>3.6.0</li>
59885988
<li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
59895989
<li data-group="Accounting" data-name="createAccount" class="">
59905990
<a href="#api-Accounting-createAccount">createAccount</a>

docs/app_store/Plan.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**id** | **String** | The unique identifier of the plan |
88
**name** | **String** | The name of the plan. It is used in the invoice line item description. |
9-
**status** | **String** | Status of the plan. Available statuses are ACTIVE, PENDING_ACTIVATION. |
9+
**status** | **String** | Status of the plan. Available statuses are ACTIVE, CANCELED, and PENDING_ACTIVATION. |
1010
**subscription_items** | [**Array&lt;SubscriptionItem&gt;**](SubscriptionItem.md) | List of the subscription items belonging to the plan. It does not include cancelled subscription items. |
1111

1212
## Code Sample

docs/app_store/SubscriptionItem.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
99
**price** | [**Price**](Price.md) | |
1010
**product** | [**Product**](Product.md) | |
1111
**start_date** | **DateTime** | Date the subscription started, or will start. Note: this could be in the future for downgrades or reduced number of seats that haven&#39;t taken effect yet. |
12+
**status** | **String** | Status of the subscription item. Available statuses are ACTIVE, CANCELED, and PENDING_ACTIVATION. |
1213
**test_mode** | **Boolean** | If the subscription is a test subscription | [optional]
1314

1415
## Code Sample
@@ -21,6 +22,7 @@ instance = XeroRuby::AppStore::SubscriptionItem.new(end_date: null,
2122
price: null,
2223
product: null,
2324
start_date: null,
25+
status: null,
2426
test_mode: null)
2527
```
2628

docs/app_store/index.html

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -878,8 +878,8 @@
878878
},
879879
"status" : {
880880
"type" : "string",
881-
"description" : "Status of the plan. Available statuses are ACTIVE,\nPENDING_ACTIVATION.\n",
882-
"enum" : [ "ACTIVE", "PENDING_ACTIVATION" ]
881+
"description" : "Status of the plan. Available statuses are ACTIVE, CANCELED, and\nPENDING_ACTIVATION.\n",
882+
"enum" : [ "ACTIVE", "CANCELED", "PENDING_ACTIVATION" ]
883883
},
884884
"subscriptionItems" : {
885885
"type" : "array",
@@ -1002,7 +1002,8 @@
10021002
},
10031003
"status" : {
10041004
"type" : "string",
1005-
"description" : "Status of the subscription. Available statuses are ACTIVE, CANCELED, and PAST_DUE."
1005+
"description" : "Status of the subscription. Available statuses are ACTIVE, CANCELED, and PAST_DUE.",
1006+
"enum" : [ "ACTIVE", "CANCELED", "PAST_DUE" ]
10061007
},
10071008
"testMode" : {
10081009
"type" : "boolean",
@@ -1013,7 +1014,7 @@
10131014
};
10141015
defs["SubscriptionItem"] = {
10151016
"title" : "",
1016-
"required" : [ "id", "price", "product", "startDate" ],
1017+
"required" : [ "id", "price", "product", "startDate", "status" ],
10171018
"type" : "object",
10181019
"properties" : {
10191020
"endDate" : {
@@ -1037,6 +1038,11 @@
10371038
"description" : "Date the subscription started, or will start. Note: this could be in\nthe future for downgrades or reduced number of seats that haven't taken effect yet.\n",
10381039
"format" : "date-time"
10391040
},
1041+
"status" : {
1042+
"type" : "string",
1043+
"description" : "Status of the subscription item. Available statuses are ACTIVE, CANCELED, and\nPENDING_ACTIVATION.\n",
1044+
"enum" : [ "ACTIVE", "CANCELED", "PENDING_ACTIVATION" ]
1045+
},
10401046
"testMode" : {
10411047
"type" : "boolean",
10421048
"description" : "If the subscription is a test subscription"
@@ -1127,7 +1133,7 @@
11271133
<nav id="scrollingNav">
11281134
<ul class="sidenav nav nav-list">
11291135
<li class="nav-header" data-group="AppStore"><strong>SDK: </strong><span id='sdk-name'></span></li>
1130-
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>3.4.0</li>
1136+
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>3.6.0</li>
11311137
<li class="nav-header" data-group="AppStore"><a href="#api-AppStore">Methods</a></li>
11321138
<li data-group="AppStore" data-name="getSubscription" class="">
11331139
<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
@@ -1391,7 +1391,7 @@
13911391
<nav id="scrollingNav">
13921392
<ul class="sidenav nav nav-list">
13931393
<li class="nav-header" data-group="Asset"><strong>SDK: </strong><span id='sdk-name'></span></li>
1394-
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>3.4.0</li>
1394+
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>3.6.0</li>
13951395
<li class="nav-header" data-group="Asset"><a href="#api-Asset">Methods</a></li>
13961396
<li data-group="Asset" data-name="createAsset" class="">
13971397
<a href="#api-Asset-createAsset">createAsset</a>

docs/files/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,13 +1008,13 @@
10081008
"title" : "",
10091009
"type" : "string",
10101010
"description" : "The Object Group that the object is in. These roughly correlate to the endpoints that can be used to retrieve the object via the core accounting API.",
1011-
"enum" : [ "Account", "BankTransaction", "Contact", "CreditNote", "Invoice", "Item", "ManualJournal", "Overpayment", "Payment", "Prepayment", "Receipt" ]
1011+
"enum" : [ "Account", "BankTransaction", "Contact", "CreditNote", "Invoice", "Item", "ManualJournal", "Overpayment", "Payment", "Prepayment", "Quote", "Receipt" ]
10121012
};
10131013
defs["ObjectType"] = {
10141014
"title" : "",
10151015
"type" : "string",
10161016
"description" : "The Object Type",
1017-
"enum" : [ "Unknown", "Accpay", "AccPayCredit", "AccPayPayment", "AccRec", "AccRecCredit", "AccRecPayment", "Adjustment", "ApCreditPayment", "ApOverPayment", "ApOverPaymentPayment", "ApOverPaymentSourcePayment", "ApPrepayment", "ApPrepaymentPayment", "ApPrepaymentSourcePayment", "ArCreditPayment", "ArOverPayment", "ArOverpaymentPayment", "ArOverpaymentSourcePayment", "ArPrepayment", "ArPrepaymentPayment", "ArPrepaymentSourcePayment", "CashPaid", "CashRec", "ExpPayment", "ManJournal", "PurchaseOrder", "Receipt", "Transfer", "Account", "Contact", "Business", "Employee", "Person", "User", "Org", "FixedAsset", "PayRun", "PriceListItem", "Bank", "Current", "Equity", "Expense", "Fixed", "Liability", "Prepayment", "Revenue", "Sales", "Overheads", "Depreciatn", "OtherIncome", "DirectCosts", "Currliab", "Termliab", "NonCurrent" ]
1017+
"enum" : [ "Unknown", "Accpay", "AccPayCredit", "AccPayPayment", "AccRec", "AccRecCredit", "AccRecPayment", "Adjustment", "ApCreditPayment", "ApOverPayment", "ApOverPaymentPayment", "ApOverPaymentSourcePayment", "ApPrepayment", "ApPrepaymentPayment", "ApPrepaymentSourcePayment", "ArCreditPayment", "ArOverPayment", "ArOverpaymentPayment", "ArOverpaymentSourcePayment", "ArPrepayment", "ArPrepaymentPayment", "ArPrepaymentSourcePayment", "CashPaid", "CashRec", "ExpPayment", "ManJournal", "PurchaseOrder", "Receipt", "Transfer", "Account", "Contact", "Business", "Employee", "Person", "User", "Org", "FixedAsset", "PayRun", "PriceListItem", "Bank", "Current", "Equity", "Expense", "Fixed", "Liability", "Prepayment", "Revenue", "Sales", "Overheads", "Depreciatn", "OtherIncome", "DirectCosts", "Currliab", "Termliab", "NonCurrent", "SalesQuote" ]
10181018
};
10191019
defs["UploadObject"] = {
10201020
"title" : "",
@@ -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.4.0</li>
1158+
<li class="nav-header" data-group="Files"><strong>VSN: </strong>3.6.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
@@ -2317,7 +2317,7 @@
23172317
<nav id="scrollingNav">
23182318
<ul class="sidenav nav nav-list">
23192319
<li class="nav-header" data-group="Finance"><strong>SDK: </strong><span id='sdk-name'></span></li>
2320-
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>3.4.0</li>
2320+
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>3.6.0</li>
23212321
<li class="nav-header" data-group="Finance"><a href="#api-Finance">Methods</a></li>
23222322
<li data-group="Finance" data-name="getAccountingActivityAccountUsage" class="">
23232323
<a href="#api-Finance-getAccountingActivityAccountUsage">getAccountingActivityAccountUsage</a>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# XeroRuby::PayrollAu::AllowanceCategory
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::AllowanceCategory.new()
14+
```
15+
16+

0 commit comments

Comments
 (0)