Skip to content

Commit 51be1d7

Browse files
authored
Merge pull request #272 from XeroAPI/xero-ruby-5.0.0
Build from OpenAPI v2.39.0-v3.0.0
2 parents 57d8b44 + aa55b93 commit 51be1d7

Some content is hidden

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

45 files changed

+7766
-1203
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- name: Setup Ruby
1111
uses: ruby/setup-ruby@v1
1212
with:
13-
ruby-version: '2.7'
13+
ruby-version: '3.0.0'
1414
- name: Build and run tests
1515
run: |
1616
gem install bundler

Gemfile.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
PATH
22
remote: .
33
specs:
4-
xero-ruby (4.0.0)
4+
xero-ruby (5.0.0)
55
faraday (>= 2.0, < 3.0)
66
json (~> 2.1, >= 2.1.0)
7-
json-jwt (~> 1.5, >= 1.5.2)
7+
json-jwt (~> 1.16, >= 1.16.3)
88

99
GEM
1010
remote: https://rubygems.org/

docs/accounting/AccountingApi.md

+795-165
Large diffs are not rendered by default.

docs/accounting/Allocation.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7+
**allocation_id** | **String** | Xero generated unique identifier | [optional]
78
**invoice** | [**Invoice**](Invoice.md) | |
89
**overpayment** | [**Overpayment**](Overpayment.md) | | [optional]
910
**prepayment** | [**Prepayment**](Prepayment.md) | | [optional]
1011
**credit_note** | [**CreditNote**](CreditNote.md) | | [optional]
1112
**amount** | **BigDecimal** | the amount being applied to the invoice |
1213
**date** | **Date** | the date the allocation is applied YYYY-MM-DD. |
14+
**is_deleted** | **Boolean** | A flag that returns true when the allocation is succesfully deleted | [optional]
1315
**status_attribute_string** | **String** | A string to indicate if a invoice status | [optional]
1416
**validation_errors** | [**Array&lt;ValidationError&gt;**](ValidationError.md) | Displays array of validation error messages from the API | [optional]
1517

@@ -18,12 +20,14 @@ Name | Type | Description | Notes
1820
```ruby
1921
require 'XeroRuby::Accounting'
2022

21-
instance = XeroRuby::Accounting::Allocation.new(invoice: null,
23+
instance = XeroRuby::Accounting::Allocation.new(allocation_id: null,
24+
invoice: null,
2225
overpayment: null,
2326
prepayment: null,
2427
credit_note: null,
2528
amount: null,
2629
date: null,
30+
is_deleted: null,
2731
status_attribute_string: null,
2832
validation_errors: null)
2933
```

docs/accounting/Contact.md

-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ Name | Type | Description | Notes
1414
**last_name** | **String** | Last name of contact person (max length &#x3D; 255) | [optional]
1515
**company_number** | **String** | Company registration number (max length &#x3D; 50) | [optional]
1616
**email_address** | **String** | Email address of contact person (umlauts not supported) (max length &#x3D; 255) | [optional]
17-
**skype_user_name** | **String** | Skype user name of contact | [optional]
1817
**contact_persons** | [**Array&lt;ContactPerson&gt;**](ContactPerson.md) | See contact persons | [optional]
1918
**bank_account_details** | **String** | Bank account number of contact | [optional]
2019
**tax_number** | **String** | Tax number of contact – this is also known as the ABN (Australia), GST Number (New Zealand), VAT Number (UK) or Tax ID Number (US and global) in the Xero UI depending on which regionalized version of Xero you are using (max length &#x3D; 50) | [optional]
@@ -63,7 +62,6 @@ instance = XeroRuby::Accounting::Contact.new(contact_id: null,
6362
last_name: null,
6463
company_number: null,
6564
email_address: null,
66-
skype_user_name: null,
6765
contact_persons: null,
6866
bank_account_details: null,
6967
tax_number: null,

docs/accounting/TenNinetyNineContact.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ Name | Type | Description | Notes
2626
**street_address** | **String** | Contact address on 1099 Form | [optional]
2727
**tax_id** | **String** | Contact tax id on 1099 Form | [optional]
2828
**contact_id** | **String** | Contact contact id | [optional]
29+
**legal_name** | **String** | Contact legal name | [optional]
30+
**business_name** | **String** | Contact business name | [optional]
31+
**federal_tax_classification** | **String** | Contact federal tax classification | [optional]
2932

3033
## Code Sample
3134

@@ -53,7 +56,10 @@ instance = XeroRuby::Accounting::TenNinetyNineContact.new(box1: null,
5356
email: null,
5457
street_address: null,
5558
tax_id: null,
56-
contact_id: null)
59+
contact_id: null,
60+
legal_name: null,
61+
business_name: null,
62+
federal_tax_classification: null)
5763
```
5864

5965

0 commit comments

Comments
 (0)