Skip to content

Commit

Permalink
Merge pull request #27 from XeroAPI/regenerated-against-OAS-v2-0-7
Browse files Browse the repository at this point in the history
genereated against OAS 2.0.7
  • Loading branch information
jenksguo authored Apr 3, 2020
2 parents f26d61b + 3d7f144 commit 3087c03
Show file tree
Hide file tree
Showing 254 changed files with 330 additions and 289 deletions.
2 changes: 1 addition & 1 deletion accounting/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ script:
- bundle install --path vendor/bundle
- bundle exec rspec
- gem build xero-ruby.gemspec
- gem install ./xero-ruby-0.2.3.gem
- gem install ./xero-ruby-0.2.4.gem
10 changes: 5 additions & 5 deletions accounting/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ No description provided (generated by Openapi Generator https://github.com/opena

This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 2.0.6
- Package version: 0.2.3
- API version: 2.0.7
- Package version: 0.2.4
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
For more information, please visit [https://developer.xero.com](https://developer.xero.com)

Expand All @@ -24,16 +24,16 @@ gem build xero-ruby.gemspec
Then either install the gem locally:

```shell
gem install ./xero-ruby-0.2.3.gem
gem install ./xero-ruby-0.2.4.gem
```

(for development, run `gem install --dev ./xero-ruby-0.2.3.gem` to install the development dependencies)
(for development, run `gem install --dev ./xero-ruby-0.2.4.gem` to install the development dependencies)

or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).

Finally add this to the Gemfile:

gem 'xero-ruby', '~> 0.2.3'
gem 'xero-ruby', '~> 0.2.4'

### Install from Git

Expand Down
4 changes: 2 additions & 2 deletions accounting/docs/Account.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Name | Type | Description | Notes
**system_account** | **String** | If this is a system account then this element is returned. See System Account types. Note that non-system accounts may have this element set as either “” or null. | [optional]
**reporting_code** | **String** | Shown if set | [optional]
**reporting_code_name** | **String** | Shown if set | [optional]
**has_attachments** | **Boolean** | boolean to indicate if an account has an attachment (read only) | [optional]
**has_attachments** | **Boolean** | boolean to indicate if an account has an attachment (read only) | [optional] [default to false]
**updated_date_utc** | **DateTime** | Last modified date UTC format | [optional]
**add_to_watchlist** | **Boolean** | Boolean – describes whether the account is shown in the watchlist widget on the dashboard | [optional]
**validation_errors** | [**Array<ValidationError>**](ValidationError.md) | Displays array of validation error messages from the API | [optional]
Expand All @@ -46,7 +46,7 @@ instance = XeroRuby::Account.new(code: 4400,
system_account: null,
reporting_code: null,
reporting_code_name: null,
has_attachments: null,
has_attachments: false,
updated_date_utc: null,
add_to_watchlist: null,
validation_errors: null)
Expand Down
4 changes: 2 additions & 2 deletions accounting/docs/BankTransaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Name | Type | Description | Notes
**prepayment_id** | **String** | Xero generated unique identifier for a Prepayment. This will be returned on BankTransactions with a Type of SPEND-PREPAYMENT or RECEIVE-PREPAYMENT | [optional]
**overpayment_id** | **String** | Xero generated unique identifier for an Overpayment. This will be returned on BankTransactions with a Type of SPEND-OVERPAYMENT or RECEIVE-OVERPAYMENT | [optional]
**updated_date_utc** | **DateTime** | Last modified date UTC format | [optional]
**has_attachments** | **Boolean** | Boolean to indicate if a bank transaction has an attachment | [optional]
**has_attachments** | **Boolean** | Boolean to indicate if a bank transaction has an attachment | [optional] [default to false]
**status_attribute_string** | **String** | A string to indicate if a invoice status | [optional]
**validation_errors** | [**Array<ValidationError>**](ValidationError.md) | Displays array of validation error messages from the API | [optional]

Expand Down Expand Up @@ -51,7 +51,7 @@ instance = XeroRuby::BankTransaction.new(type: null,
prepayment_id: 00000000-0000-0000-0000-000000000000,
overpayment_id: 00000000-0000-0000-0000-000000000000,
updated_date_utc: null,
has_attachments: null,
has_attachments: false,
status_attribute_string: null,
validation_errors: null)
```
Expand Down
4 changes: 2 additions & 2 deletions accounting/docs/BankTransfer.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Name | Type | Description | Notes
**currency_rate** | **Float** | The currency rate | [optional]
**from_bank_transaction_id** | **String** | The Bank Transaction ID for the source account | [optional]
**to_bank_transaction_id** | **String** | The Bank Transaction ID for the destination account | [optional]
**has_attachments** | **Boolean** | Boolean to indicate if a Bank Transfer has an attachment | [optional]
**has_attachments** | **Boolean** | Boolean to indicate if a Bank Transfer has an attachment | [optional] [default to false]
**created_date_utc** | **DateTime** | UTC timestamp of creation date of bank transfer | [optional]
**validation_errors** | [**Array<ValidationError>**](ValidationError.md) | Displays array of validation error messages from the API | [optional]

Expand All @@ -29,7 +29,7 @@ instance = XeroRuby::BankTransfer.new(from_bank_account: null,
currency_rate: null,
from_bank_transaction_id: null,
to_bank_transaction_id: null,
has_attachments: null,
has_attachments: false,
created_date_utc: null,
validation_errors: null)
```
Expand Down
4 changes: 2 additions & 2 deletions accounting/docs/Contact.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Name | Type | Description | Notes
**discount** | **Float** | The default discount rate for the contact (read only) | [optional]
**balances** | [**Balances**](Balances.md) | | [optional]
**attachments** | [**Array<Attachment>**](Attachment.md) | Displays array of attachments from the API | [optional]
**has_attachments** | **Boolean** | A boolean to indicate if a contact has an attachment | [optional]
**has_attachments** | **Boolean** | A boolean to indicate if a contact has an attachment | [optional] [default to false]
**validation_errors** | [**Array<ValidationError>**](ValidationError.md) | Displays validation errors returned from the API | [optional]
**has_validation_errors** | **Boolean** | A boolean to indicate if a contact has an validation errors | [optional]
**status_attribute_string** | **String** | Status of object | [optional]
Expand Down Expand Up @@ -84,7 +84,7 @@ instance = XeroRuby::Contact.new(contact_id: null,
discount: null,
balances: null,
attachments: null,
has_attachments: null,
has_attachments: false,
validation_errors: null,
has_validation_errors: null,
status_attribute_string: null)
Expand Down
6 changes: 4 additions & 2 deletions accounting/docs/CreditNote.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ Name | Type | Description | Notes
**applied_amount** | **Float** | The amount of applied to an invoice | [optional]
**payments** | [**Array<Payment>**](Payment.md) | See Payments | [optional]
**branding_theme_id** | **String** | See BrandingThemes | [optional]
**has_attachments** | **Boolean** | boolean to indicate if a credit note has an attachment | [optional]
**status_attribute_string** | **String** | A string to indicate if a invoice status | [optional]
**has_attachments** | **Boolean** | boolean to indicate if a credit note has an attachment | [optional] [default to false]
**has_errors** | **Boolean** | A boolean to indicate if a credit note has an validation errors | [optional]
**validation_errors** | [**Array<ValidationError>**](ValidationError.md) | Displays array of validation error messages from the API | [optional]

Expand Down Expand Up @@ -57,7 +58,8 @@ instance = XeroRuby::CreditNote.new(type: null,
applied_amount: 2.0,
payments: null,
branding_theme_id: null,
has_attachments: null,
status_attribute_string: null,
has_attachments: false,
has_errors: null,
validation_errors: null)
```
Expand Down
4 changes: 2 additions & 2 deletions accounting/docs/Invoice.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Name | Type | Description | Notes
**total** | **Float** | Total of Invoice tax inclusive (i.e. SubTotal + TotalTax). This will be ignored if it doesn’t equal the sum of the LineAmounts | [optional]
**total_discount** | **Float** | Total of discounts applied on the invoice line items | [optional]
**invoice_id** | **String** | Xero generated unique identifier for invoice | [optional]
**has_attachments** | **Boolean** | boolean to indicate if an invoice has an attachment | [optional]
**has_attachments** | **Boolean** | boolean to indicate if an invoice has an attachment | [optional] [default to false]
**is_discounted** | **Boolean** | boolean to indicate if an invoice has a discount | [optional]
**payments** | [**Array<Payment>**](Payment.md) | See Payments | [optional]
**prepayments** | [**Array<Prepayment>**](Prepayment.md) | See Prepayments | [optional]
Expand Down Expand Up @@ -70,7 +70,7 @@ instance = XeroRuby::Invoice.new(type: null,
total: null,
total_discount: null,
invoice_id: null,
has_attachments: null,
has_attachments: false,
is_discounted: null,
payments: null,
prepayments: null,
Expand Down
4 changes: 2 additions & 2 deletions accounting/docs/ManualJournal.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Name | Type | Description | Notes
**status** | **String** | See Manual Journal Status Codes | [optional]
**url** | **String** | Url link to a source document – shown as “Go to [appName]” in the Xero app | [optional]
**show_on_cash_basis_reports** | **Boolean** | Boolean – default is true if not specified | [optional]
**has_attachments** | **Boolean** | Boolean to indicate if a manual journal has an attachment | [optional]
**has_attachments** | **Boolean** | Boolean to indicate if a manual journal has an attachment | [optional] [default to false]
**updated_date_utc** | **DateTime** | Last modified date UTC format | [optional]
**manual_journal_id** | **String** | The Xero identifier for a Manual Journal | [optional]
**status_attribute_string** | **String** | A string to indicate if a invoice status | [optional]
Expand All @@ -31,7 +31,7 @@ instance = XeroRuby::ManualJournal.new(narration: null,
status: null,
url: null,
show_on_cash_basis_reports: null,
has_attachments: null,
has_attachments: false,
updated_date_utc: null,
manual_journal_id: null,
status_attribute_string: ERROR,
Expand Down
4 changes: 2 additions & 2 deletions accounting/docs/Overpayment.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Name | Type | Description | Notes
**allocations** | [**Array<Allocation>**](Allocation.md) | See Allocations | [optional]
**applied_amount** | **Float** | The amount of applied to an invoice | [optional]
**payments** | [**Array<Payment>**](Payment.md) | See Payments | [optional]
**has_attachments** | **Boolean** | boolean to indicate if a overpayment has an attachment | [optional]
**has_attachments** | **Boolean** | boolean to indicate if a overpayment has an attachment | [optional] [default to false]
**attachments** | [**Array<Attachment>**](Attachment.md) | See Attachments | [optional]

## Code Sample
Expand All @@ -46,7 +46,7 @@ instance = XeroRuby::Overpayment.new(type: null,
allocations: null,
applied_amount: 2.0,
payments: null,
has_attachments: null,
has_attachments: false,
attachments: null)
```

Expand Down
4 changes: 2 additions & 2 deletions accounting/docs/Prepayment.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Name | Type | Description | Notes
**remaining_credit** | **Float** | The remaining credit balance on the prepayment | [optional]
**allocations** | [**Array<Allocation>**](Allocation.md) | See Allocations | [optional]
**applied_amount** | **Float** | The amount of applied to an invoice | [optional]
**has_attachments** | **Boolean** | boolean to indicate if a prepayment has an attachment | [optional]
**has_attachments** | **Boolean** | boolean to indicate if a prepayment has an attachment | [optional] [default to false]
**attachments** | [**Array<Attachment>**](Attachment.md) | See Attachments | [optional]

## Code Sample
Expand All @@ -46,7 +46,7 @@ instance = XeroRuby::Prepayment.new(type: null,
remaining_credit: null,
allocations: null,
applied_amount: 2.0,
has_attachments: null,
has_attachments: false,
attachments: null)
```

Expand Down
4 changes: 2 additions & 2 deletions accounting/docs/PurchaseOrder.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Name | Type | Description | Notes
**total_tax** | **Float** | Total tax on purchase order | [optional]
**total** | **Float** | Total of Purchase Order tax inclusive (i.e. SubTotal + TotalTax) | [optional]
**total_discount** | **Float** | Total of discounts applied on the purchase order line items | [optional]
**has_attachments** | **Boolean** | boolean to indicate if a purchase order has an attachment | [optional]
**has_attachments** | **Boolean** | boolean to indicate if a purchase order has an attachment | [optional] [default to false]
**updated_date_utc** | **DateTime** | Last modified date UTC format | [optional]
**status_attribute_string** | **String** | A string to indicate if a invoice status | [optional]
**validation_errors** | [**Array<ValidationError>**](ValidationError.md) | Displays array of validation error messages from the API | [optional]
Expand Down Expand Up @@ -60,7 +60,7 @@ instance = XeroRuby::PurchaseOrder.new(contact: null,
total_tax: null,
total: null,
total_discount: null,
has_attachments: null,
has_attachments: false,
updated_date_utc: null,
status_attribute_string: null,
validation_errors: null,
Expand Down
4 changes: 2 additions & 2 deletions accounting/docs/Quote.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Name | Type | Description | Notes
**title** | **String** | Title text for the quote | [optional]
**summary** | **String** | Summary text for the quote | [optional]
**branding_theme_id** | **String** | See BrandingThemes | [optional]
**updated_date_utc** | **DateTime** | Last modified date UTC format | [optional]
**updated_date_utc** | **String** | Last modified date UTC format | [optional]
**line_amount_types** | [**QuoteLineAmountTypes**](QuoteLineAmountTypes.md) | | [optional]

## Code Sample
Expand Down Expand Up @@ -52,7 +52,7 @@ instance = XeroRuby::Quote.new(quote_id: null,
title: null,
summary: null,
branding_theme_id: null,
updated_date_utc: null,
updated_date_utc: /Date(1573755038314)/,
line_amount_types: null)
```

Expand Down
4 changes: 2 additions & 2 deletions accounting/docs/Receipt.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Name | Type | Description | Notes
**status** | **String** | Current status of receipt – see status types | [optional]
**receipt_number** | **String** | Xero generated sequence number for receipt in current claim for a given user | [optional]
**updated_date_utc** | **DateTime** | Last modified date UTC format | [optional]
**has_attachments** | **Boolean** | boolean to indicate if a receipt has an attachment | [optional]
**has_attachments** | **Boolean** | boolean to indicate if a receipt has an attachment | [optional] [default to false]
**url** | **String** | URL link to a source document – shown as “Go to [appName]” in the Xero app | [optional]
**validation_errors** | [**Array<ValidationError>**](ValidationError.md) | Displays array of validation error messages from the API | [optional]
**warnings** | [**Array<ValidationError>**](ValidationError.md) | Displays array of warning messages from the API | [optional]
Expand All @@ -41,7 +41,7 @@ instance = XeroRuby::Receipt.new(date: null,
status: null,
receipt_number: null,
updated_date_utc: null,
has_attachments: null,
has_attachments: false,
url: null,
validation_errors: null,
warnings: null,
Expand Down
4 changes: 2 additions & 2 deletions accounting/docs/RepeatingInvoice.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Name | Type | Description | Notes
**total** | **Float** | Total of Invoice tax inclusive (i.e. SubTotal + TotalTax) | [optional]
**repeating_invoice_id** | **String** | Xero generated unique identifier for repeating invoice template | [optional]
**id** | **String** | Xero generated unique identifier for repeating invoice template | [optional]
**has_attachments** | **Boolean** | boolean to indicate if an invoice has an attachment | [optional]
**has_attachments** | **Boolean** | boolean to indicate if an invoice has an attachment | [optional] [default to false]
**attachments** | [**Array<Attachment>**](Attachment.md) | Displays array of attachments from the API | [optional]

## Code Sample
Expand All @@ -40,7 +40,7 @@ instance = XeroRuby::RepeatingInvoice.new(type: null,
total: null,
repeating_invoice_id: null,
id: null,
has_attachments: null,
has_attachments: false,
attachments: null)
```

Expand Down
2 changes: 1 addition & 1 deletion accounting/lib/xero-ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.0.6
The version of the OpenAPI document: 2.0.7
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.2.0
Expand Down
2 changes: 1 addition & 1 deletion accounting/lib/xero-ruby/api/accounting_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

The version of the OpenAPI document: 2.0.6
The version of the OpenAPI document: 2.0.7
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.2.0
Expand Down
2 changes: 1 addition & 1 deletion accounting/lib/xero-ruby/api_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.0.6
The version of the OpenAPI document: 2.0.7
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.2.0
Expand Down
2 changes: 1 addition & 1 deletion accounting/lib/xero-ruby/api_error.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.0.6
The version of the OpenAPI document: 2.0.7
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.2.0
Expand Down
2 changes: 1 addition & 1 deletion accounting/lib/xero-ruby/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.0.6
The version of the OpenAPI document: 2.0.7
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.2.0
Expand Down
Loading

0 comments on commit 3087c03

Please sign in to comment.