From f913996e0f7ff59184baec97b2e6b0e7d7251eea Mon Sep 17 00:00:00 2001 From: serknight Date: Mon, 18 May 2020 16:21:04 -0600 Subject: [PATCH] regenerated from OAS 2.1.3 --- README.md | 2 +- docs/accounting/AccountingApi.md | 84 +++++++++++++++++-- docs/accounting/Journal.md | 2 +- docs/accounting/Payment.md | 2 + lib/xero-ruby.rb | 2 +- lib/xero-ruby/api/accounting_api.rb | 80 ++++++++++++++++-- lib/xero-ruby/api/asset_api.rb | 2 +- lib/xero-ruby/api_client.rb | 2 +- lib/xero-ruby/api_error.rb | 2 +- lib/xero-ruby/configuration.rb | 2 +- lib/xero-ruby/models/accounting/account.rb | 2 +- .../models/accounting/account_type.rb | 2 +- lib/xero-ruby/models/accounting/accounts.rb | 2 +- .../models/accounting/accounts_payable.rb | 2 +- .../models/accounting/accounts_receivable.rb | 2 +- lib/xero-ruby/models/accounting/address.rb | 2 +- lib/xero-ruby/models/accounting/allocation.rb | 2 +- .../models/accounting/allocations.rb | 2 +- lib/xero-ruby/models/accounting/attachment.rb | 2 +- .../models/accounting/attachments.rb | 2 +- lib/xero-ruby/models/accounting/balances.rb | 2 +- .../models/accounting/bank_transaction.rb | 2 +- .../models/accounting/bank_transactions.rb | 2 +- .../models/accounting/bank_transfer.rb | 2 +- .../models/accounting/bank_transfers.rb | 2 +- .../models/accounting/batch_payment.rb | 2 +- .../accounting/batch_payment_details.rb | 2 +- .../models/accounting/batch_payments.rb | 2 +- lib/xero-ruby/models/accounting/bill.rb | 2 +- .../models/accounting/branding_theme.rb | 2 +- .../models/accounting/branding_themes.rb | 2 +- .../models/accounting/cis_org_setting.rb | 2 +- .../models/accounting/cis_setting.rb | 2 +- .../models/accounting/cis_settings.rb | 2 +- lib/xero-ruby/models/accounting/contact.rb | 2 +- .../models/accounting/contact_group.rb | 2 +- .../models/accounting/contact_groups.rb | 2 +- .../models/accounting/contact_person.rb | 2 +- lib/xero-ruby/models/accounting/contacts.rb | 2 +- .../models/accounting/country_code.rb | 2 +- .../models/accounting/credit_note.rb | 2 +- .../models/accounting/credit_notes.rb | 2 +- lib/xero-ruby/models/accounting/currencies.rb | 2 +- lib/xero-ruby/models/accounting/currency.rb | 2 +- .../models/accounting/currency_code.rb | 6 +- lib/xero-ruby/models/accounting/element.rb | 2 +- lib/xero-ruby/models/accounting/employee.rb | 2 +- lib/xero-ruby/models/accounting/employees.rb | 2 +- lib/xero-ruby/models/accounting/error.rb | 2 +- .../models/accounting/expense_claim.rb | 2 +- .../models/accounting/expense_claims.rb | 2 +- .../models/accounting/external_link.rb | 2 +- .../models/accounting/history_record.rb | 2 +- .../models/accounting/history_records.rb | 2 +- lib/xero-ruby/models/accounting/invoice.rb | 2 +- .../models/accounting/invoice_reminder.rb | 2 +- .../models/accounting/invoice_reminders.rb | 2 +- lib/xero-ruby/models/accounting/invoices.rb | 2 +- lib/xero-ruby/models/accounting/item.rb | 2 +- lib/xero-ruby/models/accounting/items.rb | 2 +- lib/xero-ruby/models/accounting/journal.rb | 4 +- .../models/accounting/journal_line.rb | 2 +- lib/xero-ruby/models/accounting/journals.rb | 2 +- .../models/accounting/line_amount_types.rb | 2 +- lib/xero-ruby/models/accounting/line_item.rb | 2 +- .../models/accounting/line_item_tracking.rb | 2 +- .../models/accounting/linked_transaction.rb | 2 +- .../models/accounting/linked_transactions.rb | 2 +- .../models/accounting/manual_journal.rb | 2 +- .../models/accounting/manual_journal_line.rb | 2 +- .../models/accounting/manual_journals.rb | 2 +- .../models/accounting/online_invoice.rb | 2 +- .../models/accounting/online_invoices.rb | 2 +- .../models/accounting/organisation.rb | 2 +- .../models/accounting/organisations.rb | 2 +- .../models/accounting/overpayment.rb | 2 +- .../models/accounting/overpayments.rb | 2 +- lib/xero-ruby/models/accounting/payment.rb | 14 +++- .../models/accounting/payment_delete.rb | 2 +- .../models/accounting/payment_service.rb | 2 +- .../models/accounting/payment_services.rb | 2 +- .../models/accounting/payment_term.rb | 2 +- .../models/accounting/payment_term_type.rb | 2 +- lib/xero-ruby/models/accounting/payments.rb | 2 +- lib/xero-ruby/models/accounting/phone.rb | 2 +- lib/xero-ruby/models/accounting/prepayment.rb | 2 +- .../models/accounting/prepayments.rb | 2 +- lib/xero-ruby/models/accounting/purchase.rb | 2 +- .../models/accounting/purchase_order.rb | 2 +- .../models/accounting/purchase_orders.rb | 2 +- lib/xero-ruby/models/accounting/quote.rb | 2 +- .../accounting/quote_line_amount_types.rb | 2 +- .../models/accounting/quote_status_codes.rb | 2 +- lib/xero-ruby/models/accounting/quotes.rb | 2 +- lib/xero-ruby/models/accounting/receipt.rb | 2 +- lib/xero-ruby/models/accounting/receipts.rb | 2 +- .../models/accounting/repeating_invoice.rb | 2 +- .../models/accounting/repeating_invoices.rb | 2 +- lib/xero-ruby/models/accounting/report.rb | 2 +- .../models/accounting/report_attribute.rb | 2 +- .../models/accounting/report_cell.rb | 2 +- .../models/accounting/report_fields.rb | 2 +- lib/xero-ruby/models/accounting/report_row.rb | 2 +- .../models/accounting/report_rows.rb | 2 +- .../models/accounting/report_with_row.rb | 2 +- .../models/accounting/report_with_rows.rb | 2 +- lib/xero-ruby/models/accounting/reports.rb | 2 +- .../models/accounting/request_empty.rb | 2 +- lib/xero-ruby/models/accounting/row_type.rb | 2 +- .../accounting/sales_tracking_category.rb | 2 +- lib/xero-ruby/models/accounting/schedule.rb | 2 +- .../models/accounting/tax_component.rb | 2 +- lib/xero-ruby/models/accounting/tax_rate.rb | 6 +- lib/xero-ruby/models/accounting/tax_rates.rb | 2 +- lib/xero-ruby/models/accounting/tax_type.rb | 6 +- .../accounting/ten_nintey_nine_contact.rb | 2 +- lib/xero-ruby/models/accounting/time_zone.rb | 2 +- .../models/accounting/tracking_categories.rb | 2 +- .../models/accounting/tracking_category.rb | 2 +- .../models/accounting/tracking_option.rb | 2 +- .../models/accounting/tracking_options.rb | 2 +- lib/xero-ruby/models/accounting/user.rb | 2 +- lib/xero-ruby/models/accounting/users.rb | 2 +- .../models/accounting/validation_error.rb | 2 +- lib/xero-ruby/models/assets/asset.rb | 2 +- lib/xero-ruby/models/assets/asset_status.rb | 2 +- .../models/assets/asset_status_query_param.rb | 2 +- lib/xero-ruby/models/assets/asset_type.rb | 2 +- lib/xero-ruby/models/assets/assets.rb | 2 +- .../models/assets/book_depreciation_detail.rb | 2 +- .../assets/book_depreciation_setting.rb | 2 +- lib/xero-ruby/models/assets/error.rb | 2 +- .../assets/field_validation_errors_element.rb | 2 +- lib/xero-ruby/models/assets/pagination.rb | 2 +- .../resource_validation_errors_element.rb | 2 +- lib/xero-ruby/models/assets/setting.rb | 2 +- lib/xero-ruby/version.rb | 4 +- spec/accounting/api/accounting_api_spec.rb | 19 ++++- spec/accounting/models/account_spec.rb | 2 +- spec/accounting/models/account_type_spec.rb | 2 +- .../models/accounts_payable_spec.rb | 2 +- .../models/accounts_receivable_spec.rb | 2 +- spec/accounting/models/accounts_spec.rb | 2 +- spec/accounting/models/address_spec.rb | 2 +- spec/accounting/models/allocation_spec.rb | 2 +- spec/accounting/models/allocations_spec.rb | 2 +- spec/accounting/models/attachment_spec.rb | 2 +- spec/accounting/models/attachments_spec.rb | 2 +- spec/accounting/models/balances_spec.rb | 2 +- .../models/bank_transaction_spec.rb | 2 +- .../models/bank_transactions_spec.rb | 2 +- spec/accounting/models/bank_transfer_spec.rb | 2 +- spec/accounting/models/bank_transfers_spec.rb | 2 +- .../models/batch_payment_details_spec.rb | 2 +- spec/accounting/models/batch_payment_spec.rb | 2 +- spec/accounting/models/batch_payments_spec.rb | 2 +- spec/accounting/models/bill_spec.rb | 2 +- spec/accounting/models/branding_theme_spec.rb | 2 +- .../accounting/models/branding_themes_spec.rb | 2 +- .../accounting/models/cis_org_setting_spec.rb | 2 +- spec/accounting/models/cis_setting_spec.rb | 2 +- spec/accounting/models/cis_settings_spec.rb | 2 +- spec/accounting/models/contact_group_spec.rb | 2 +- spec/accounting/models/contact_groups_spec.rb | 2 +- spec/accounting/models/contact_person_spec.rb | 2 +- spec/accounting/models/contact_spec.rb | 2 +- spec/accounting/models/contacts_spec.rb | 2 +- spec/accounting/models/country_code_spec.rb | 2 +- spec/accounting/models/credit_note_spec.rb | 2 +- spec/accounting/models/credit_notes_spec.rb | 2 +- spec/accounting/models/currencies_spec.rb | 2 +- spec/accounting/models/currency_code_spec.rb | 2 +- spec/accounting/models/currency_spec.rb | 2 +- spec/accounting/models/element_spec.rb | 2 +- spec/accounting/models/employee_spec.rb | 2 +- spec/accounting/models/employees_spec.rb | 2 +- spec/accounting/models/error_spec.rb | 2 +- spec/accounting/models/expense_claim_spec.rb | 2 +- spec/accounting/models/expense_claims_spec.rb | 2 +- spec/accounting/models/external_link_spec.rb | 2 +- spec/accounting/models/history_record_spec.rb | 2 +- .../accounting/models/history_records_spec.rb | 2 +- .../models/invoice_reminder_spec.rb | 2 +- .../models/invoice_reminders_spec.rb | 2 +- spec/accounting/models/invoice_spec.rb | 2 +- spec/accounting/models/invoices_spec.rb | 2 +- spec/accounting/models/item_spec.rb | 2 +- spec/accounting/models/items_spec.rb | 2 +- spec/accounting/models/journal_line_spec.rb | 2 +- spec/accounting/models/journal_spec.rb | 2 +- spec/accounting/models/journals_spec.rb | 2 +- .../models/line_amount_types_spec.rb | 2 +- spec/accounting/models/line_item_spec.rb | 2 +- .../models/line_item_tracking_spec.rb | 2 +- .../models/linked_transaction_spec.rb | 2 +- .../models/linked_transactions_spec.rb | 2 +- .../models/manual_journal_line_spec.rb | 2 +- spec/accounting/models/manual_journal_spec.rb | 2 +- .../accounting/models/manual_journals_spec.rb | 2 +- spec/accounting/models/online_invoice_spec.rb | 2 +- .../accounting/models/online_invoices_spec.rb | 2 +- spec/accounting/models/organisation_spec.rb | 2 +- spec/accounting/models/organisations_spec.rb | 2 +- spec/accounting/models/overpayment_spec.rb | 2 +- spec/accounting/models/overpayments_spec.rb | 2 +- spec/accounting/models/payment_delete_spec.rb | 2 +- .../accounting/models/payment_service_spec.rb | 2 +- .../models/payment_services_spec.rb | 2 +- spec/accounting/models/payment_spec.rb | 8 +- spec/accounting/models/payment_term_spec.rb | 2 +- .../models/payment_term_type_spec.rb | 2 +- spec/accounting/models/payments_spec.rb | 2 +- spec/accounting/models/phone_spec.rb | 2 +- spec/accounting/models/prepayment_spec.rb | 2 +- spec/accounting/models/prepayments_spec.rb | 2 +- spec/accounting/models/purchase_order_spec.rb | 2 +- .../accounting/models/purchase_orders_spec.rb | 2 +- spec/accounting/models/purchase_spec.rb | 2 +- .../models/quote_line_amount_types_spec.rb | 2 +- spec/accounting/models/quote_spec.rb | 2 +- .../models/quote_status_codes_spec.rb | 2 +- spec/accounting/models/quotes_spec.rb | 2 +- spec/accounting/models/receipt_spec.rb | 2 +- spec/accounting/models/receipts_spec.rb | 2 +- .../models/repeating_invoice_spec.rb | 2 +- .../models/repeating_invoices_spec.rb | 2 +- .../models/report_attribute_spec.rb | 2 +- spec/accounting/models/report_cell_spec.rb | 2 +- spec/accounting/models/report_fields_spec.rb | 2 +- spec/accounting/models/report_row_spec.rb | 2 +- spec/accounting/models/report_rows_spec.rb | 2 +- spec/accounting/models/report_spec.rb | 2 +- .../accounting/models/report_with_row_spec.rb | 2 +- .../models/report_with_rows_spec.rb | 2 +- spec/accounting/models/reports_spec.rb | 2 +- spec/accounting/models/request_empty_spec.rb | 2 +- spec/accounting/models/row_type_spec.rb | 2 +- .../models/sales_tracking_category_spec.rb | 2 +- spec/accounting/models/schedule_spec.rb | 2 +- spec/accounting/models/tax_component_spec.rb | 2 +- spec/accounting/models/tax_rate_spec.rb | 4 +- spec/accounting/models/tax_rates_spec.rb | 2 +- spec/accounting/models/tax_type_spec.rb | 2 +- .../models/ten_nintey_nine_contact_spec.rb | 2 +- spec/accounting/models/time_zone_spec.rb | 2 +- .../models/tracking_categories_spec.rb | 2 +- .../models/tracking_category_spec.rb | 2 +- .../accounting/models/tracking_option_spec.rb | 2 +- .../models/tracking_options_spec.rb | 2 +- spec/accounting/models/user_spec.rb | 2 +- spec/accounting/models/users_spec.rb | 2 +- .../models/validation_error_spec.rb | 2 +- spec/api_client_spec.rb | 2 +- spec/assets/api/asset_api_spec.rb | 2 +- spec/assets/models/asset_spec.rb | 2 +- .../models/asset_status_query_param_spec.rb | 2 +- spec/assets/models/asset_status_spec.rb | 2 +- spec/assets/models/asset_type_spec.rb | 2 +- spec/assets/models/assets_spec.rb | 2 +- .../models/book_depreciation_detail_spec.rb | 2 +- .../models/book_depreciation_setting_spec.rb | 2 +- spec/assets/models/error_spec.rb | 2 +- .../field_validation_errors_element_spec.rb | 2 +- spec/assets/models/pagination_spec.rb | 2 +- ...resource_validation_errors_element_spec.rb | 2 +- spec/assets/models/setting_spec.rb | 2 +- spec/configuration_spec.rb | 2 +- spec/spec_helper.rb | 2 +- xero-ruby.gemspec | 2 +- 269 files changed, 462 insertions(+), 289 deletions(-) diff --git a/README.md b/README.md index 3bf2afa7..f9463c32 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # xero-ruby Xero Ruby SDK for OAuth 2.0 generated from [Xero API OpenAPI Spec](https://github.com/XeroAPI/Xero-OpenAPI) -[![RubyGem](https://img.shields.io/badge/xero--ruby%20gem-v1.0-brightgree)](https://rubygems.org/gems/xero-ruby) +[![RubyGem](https://img.shields.io/badge/xero--ruby%20gem-v0.2.4-brightgreen)](https://rubygems.org/gems/xero-ruby) ## Current release of SDK with OAuth 2.0 support Xero Ruby SDK supports Xero's OAuth2.0 authentication (token generation & refresh) and supports the following Xero API sets. diff --git a/docs/accounting/AccountingApi.md b/docs/accounting/AccountingApi.md index 048d4292..8b412696 100644 --- a/docs/accounting/AccountingApi.md +++ b/docs/accounting/AccountingApi.md @@ -88,7 +88,7 @@ Method | HTTP request | Description [**get_branding_theme**](AccountingApi.md#get_branding_theme) | **GET** /BrandingThemes/{BrandingThemeID} | Allows you to retrieve a specific BrandingThemes [**get_branding_theme_payment_services**](AccountingApi.md#get_branding_theme_payment_services) | **GET** /BrandingThemes/{BrandingThemeID}/PaymentServices | Allows you to retrieve the Payment services for a Branding Theme [**get_branding_themes**](AccountingApi.md#get_branding_themes) | **GET** /BrandingThemes | Allows you to retrieve all the BrandingThemes -[**get_contact**](AccountingApi.md#get_contact) | **GET** /Contacts/{ContactID} | Allows you to retrieve, add and update contacts in a Xero organisation +[**get_contact**](AccountingApi.md#get_contact) | **GET** /Contacts/{ContactID} | Allows you to retrieve a single contacts in a Xero organisation [**get_contact_attachment_by_file_name**](AccountingApi.md#get_contact_attachment_by_file_name) | **GET** /Contacts/{ContactID}/Attachments/{FileName} | Allows you to retrieve Attachments on Contacts by file name [**get_contact_attachment_by_id**](AccountingApi.md#get_contact_attachment_by_id) | **GET** /Contacts/{ContactID}/Attachments/{AttachmentID} | Allows you to retrieve Attachments on Contacts [**get_contact_attachments**](AccountingApi.md#get_contact_attachments) | **GET** /Contacts/{ContactID}/Attachments | Allows you to retrieve, add and update contacts in a Xero organisation @@ -96,7 +96,7 @@ Method | HTTP request | Description [**get_contact_group**](AccountingApi.md#get_contact_group) | **GET** /ContactGroups/{ContactGroupID} | Allows you to retrieve a unique Contact Group by ID [**get_contact_groups**](AccountingApi.md#get_contact_groups) | **GET** /ContactGroups | Allows you to retrieve the ContactID and Name of all the contacts in a contact group [**get_contact_history**](AccountingApi.md#get_contact_history) | **GET** /Contacts/{ContactID}/History | Allows you to retrieve a history records of an Contact -[**get_contacts**](AccountingApi.md#get_contacts) | **GET** /Contacts | Allows you to retrieve, add and update contacts in a Xero organisation +[**get_contacts**](AccountingApi.md#get_contacts) | **GET** /Contacts | Allows you to retrieve all contacts in a Xero organisation [**get_credit_note**](AccountingApi.md#get_credit_note) | **GET** /CreditNotes/{CreditNoteID} | Allows you to retrieve a specific credit note [**get_credit_note_as_pdf**](AccountingApi.md#get_credit_note_as_pdf) | **GET** /CreditNotes/{CreditNoteID}/pdf | Allows you to retrieve Credit Note as PDF files [**get_credit_note_attachment_by_file_name**](AccountingApi.md#get_credit_note_attachment_by_file_name) | **GET** /CreditNotes/{CreditNoteID}/Attachments/{FileName} | Allows you to retrieve Attachments on CreditNote by file name @@ -141,6 +141,7 @@ Method | HTTP request | Description [**get_payment_services**](AccountingApi.md#get_payment_services) | **GET** /PaymentServices | Allows you to retrieve payment services [**get_payments**](AccountingApi.md#get_payments) | **GET** /Payments | Allows you to retrieve payments for invoices and credit notes [**get_prepayment**](AccountingApi.md#get_prepayment) | **GET** /Prepayments/{PrepaymentID} | Allows you to retrieve a specified prepayments +[**get_prepayment_as_pdf**](AccountingApi.md#get_prepayment_as_pdf) | **GET** /Prepayments/{PrepaymentID}/pdf | Allows you to retrieve prepayments as PDF files [**get_prepayment_history**](AccountingApi.md#get_prepayment_history) | **GET** /Prepayments/{PrepaymentID}/History | Allows you to retrieve a history records of an Prepayment [**get_prepayments**](AccountingApi.md#get_prepayments) | **GET** /Prepayments | Allows you to retrieve prepayments [**get_purchase_order**](AccountingApi.md#get_purchase_order) | **GET** /PurchaseOrders/{PurchaseOrderID} | Allows you to retrieve a specified purchase orders @@ -2658,7 +2659,7 @@ Name | Type | Description | Notes ## create_payments -> Payments create_payments(xero_tenant_id, payments) +> Payments create_payments(xero_tenant_id, payments, opts) Allows you to create multiple payments for invoices or credit notes @@ -2687,10 +2688,13 @@ api_instance = xero_client.asset_api xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant payments = { payments:[ { invoice:{ invoiceID:"00000000-0000-0000-000-000000000000", lineItems:[], contact: {}, type: Invoice.TypeEnum.ACCPAY }, account:{ code:"970" }, date:"2019-03-12", amount:1.0 } ] } # Payments | Payments array with Payment object in body of request +opts = { + summarize_errors: false # Boolean | If false return 200 OK and mix of successfully created obejcts and any with validation errors +} begin #Allows you to create multiple payments for invoices or credit notes - result = api_instance.create_payments(xero_tenant_id, payments) + result = api_instance.create_payments(xero_tenant_id, payments, opts) p result rescue XeroRuby::Accounting::ApiError => e puts "Exception when calling AccountingApi->create_payments: #{e}" @@ -2704,6 +2708,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **xero_tenant_id** | **String**| Xero identifier for Tenant | **payments** | [**Payments**](Payments.md)| Payments array with Payment object in body of request | + **summarize_errors** | **Boolean**| If false return 200 OK and mix of successfully created obejcts and any with validation errors | [optional] [default to false] ### Return type @@ -5720,7 +5725,7 @@ Name | Type | Description | Notes > Contacts get_contact(xero_tenant_id, contact_id) -Allows you to retrieve, add and update contacts in a Xero organisation +Allows you to retrieve a single contacts in a Xero organisation ### Example @@ -5749,7 +5754,7 @@ xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant contact_id = '00000000-0000-0000-000-000000000000' # String | Unique identifier for a Contact begin - #Allows you to retrieve, add and update contacts in a Xero organisation + #Allows you to retrieve a single contacts in a Xero organisation result = api_instance.get_contact(xero_tenant_id, contact_id) p result rescue XeroRuby::Accounting::ApiError => e @@ -6236,7 +6241,7 @@ Name | Type | Description | Notes > Contacts get_contacts(xero_tenant_id, opts) -Allows you to retrieve, add and update contacts in a Xero organisation +Allows you to retrieve all contacts in a Xero organisation ### Example @@ -6272,7 +6277,7 @@ opts = { } begin - #Allows you to retrieve, add and update contacts in a Xero organisation + #Allows you to retrieve all contacts in a Xero organisation result = api_instance.get_contacts(xero_tenant_id, opts) p result rescue XeroRuby::Accounting::ApiError => e @@ -9207,6 +9212,69 @@ Name | Type | Description | Notes - **Accept**: application/json +## get_prepayment_as_pdf + +> File get_prepayment_as_pdf(xero_tenant_id, prepayment_id) + +Allows you to retrieve prepayments as PDF files + +### Example + +```ruby +# load the gem +require 'xero-ruby' + +creds = { + client_id: ENV['CLIENT_ID'], + client_secret: ENV['CLIENT_SECRET'], + redirect_uri: ENV['REDIRECT_URI'], + scopes: ENV['SCOPES'] +} +xero_client = XeroRuby::ApiClient.new(credentials: creds) + +token_set = fetch_valid_token_set(user) # example + +xero_client.refresh_token_set(token_set) + +# If using the Accounting API +api_instance = xero_client.accounting_api +# Or for methods in the Assets API +api_instance = xero_client.asset_api + +xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant +prepayment_id = '00000000-0000-0000-000-000000000000' # String | Unique identifier for a PrePayment + +begin + #Allows you to retrieve prepayments as PDF files + result = api_instance.get_prepayment_as_pdf(xero_tenant_id, prepayment_id) + p result +rescue XeroRuby::Accounting::ApiError => e + puts "Exception when calling AccountingApi->get_prepayment_as_pdf: #{e}" +end +``` + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **xero_tenant_id** | **String**| Xero identifier for Tenant | + **prepayment_id** | [**String**](.md)| Unique identifier for a PrePayment | + +### Return type + +**File** + +### Authorization + +[OAuth2](../README.md#OAuth2) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/pdf + + ## get_prepayment_history > HistoryRecords get_prepayment_history(xero_tenant_id, prepayment_id) diff --git a/docs/accounting/Journal.md b/docs/accounting/Journal.md index 358426f1..f6b7fc82 100644 --- a/docs/accounting/Journal.md +++ b/docs/accounting/Journal.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **journal_id** | **String** | Xero identifier | [optional] **journal_date** | **Date** | Date the journal was posted | [optional] -**journal_number** | **String** | Xero generated journal number | [optional] +**journal_number** | **Integer** | Xero generated journal number | [optional] **created_date_utc** | **DateTime** | Created date UTC format | [optional] **reference** | **String** | reference field for additional indetifying information | [optional] **source_id** | **String** | The identifier for the source transaction (e.g. InvoiceID) | [optional] diff --git a/docs/accounting/Payment.md b/docs/accounting/Payment.md index 674a3f8d..359a0380 100644 --- a/docs/accounting/Payment.md +++ b/docs/accounting/Payment.md @@ -26,6 +26,7 @@ Name | Type | Description | Notes **details** | **String** | The information to appear on the supplier's bank account | [optional] **has_account** | **Boolean** | A boolean to indicate if a contact has an validation errors | [optional] **has_validation_errors** | **Boolean** | A boolean to indicate if a contact has an validation errors | [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] ## Code Sample @@ -55,6 +56,7 @@ instance = XeroRuby::Accounting::Payment.new(invoice: null, details: null, has_account: null, has_validation_errors: null, + status_attribute_string: null, validation_errors: null) ``` diff --git a/lib/xero-ruby.rb b/lib/xero-ruby.rb index dfd1b2e9..5f472e9a 100644 --- a/lib/xero-ruby.rb +++ b/lib/xero-ruby.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/api/accounting_api.rb b/lib/xero-ruby/api/accounting_api.rb index ffe5bb07..37ef9b66 100644 --- a/lib/xero-ruby/api/accounting_api.rb +++ b/lib/xero-ruby/api/accounting_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 @@ -2781,6 +2781,7 @@ def create_payment_service_with_http_info(xero_tenant_id, payment_services, opts # @param xero_tenant_id [String] Xero identifier for Tenant # @param payments [Payments] Payments array with Payment object in body of request # @param [Hash] opts the optional parameters + # @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created obejcts and any with validation errors (default to false) # @return [Payments] def create_payments(xero_tenant_id, payments, opts = {}) data, _status_code, _headers = create_payments_with_http_info(xero_tenant_id, payments, opts) @@ -2791,6 +2792,7 @@ def create_payments(xero_tenant_id, payments, opts = {}) # @param xero_tenant_id [String] Xero identifier for Tenant # @param payments [Payments] Payments array with Payment object in body of request # @param [Hash] opts the optional parameters + # @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created obejcts and any with validation errors # @return [Array<(Payments, Integer, Hash)>] Payments data, response status code and response headers def create_payments_with_http_info(xero_tenant_id, payments, opts = {}) if @api_client.config.debugging @@ -2809,6 +2811,7 @@ def create_payments_with_http_info(xero_tenant_id, payments, opts = {}) # query parameters query_params = opts[:query_params] || {} + query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil? # header parameters header_params = opts[:header_params] || {} @@ -6167,7 +6170,7 @@ def get_branding_themes_with_http_info(xero_tenant_id, opts = {}) return data, status_code, headers end - # Allows you to retrieve, add and update contacts in a Xero organisation + # Allows you to retrieve a single contacts in a Xero organisation # @param xero_tenant_id [String] Xero identifier for Tenant # @param contact_id [String] Unique identifier for a Contact # @param [Hash] opts the optional parameters @@ -6177,7 +6180,7 @@ def get_contact(xero_tenant_id, contact_id, opts = {}) data end - # Allows you to retrieve, add and update contacts in a Xero organisation + # Allows you to retrieve a single contacts in a Xero organisation # @param xero_tenant_id [String] Xero identifier for Tenant # @param contact_id [String] Unique identifier for a Contact # @param [Hash] opts the optional parameters @@ -6729,7 +6732,7 @@ def get_contact_history_with_http_info(xero_tenant_id, contact_id, opts = {}) return data, status_code, headers end - # Allows you to retrieve, add and update contacts in a Xero organisation + # Allows you to retrieve all contacts in a Xero organisation # @param xero_tenant_id [String] Xero identifier for Tenant # @param [Hash] opts the optional parameters # @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned @@ -6744,7 +6747,7 @@ def get_contacts(xero_tenant_id, opts = {}) data end - # Allows you to retrieve, add and update contacts in a Xero organisation + # Allows you to retrieve all contacts in a Xero organisation # @param xero_tenant_id [String] Xero identifier for Tenant # @param [Hash] opts the optional parameters # @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned @@ -9906,6 +9909,73 @@ def get_prepayment_with_http_info(xero_tenant_id, prepayment_id, opts = {}) return data, status_code, headers end + # Allows you to retrieve prepayments as PDF files + # @param xero_tenant_id [String] Xero identifier for Tenant + # @param prepayment_id [String] Unique identifier for a PrePayment + # @param [Hash] opts the optional parameters + # @return [File] + def get_prepayment_as_pdf(xero_tenant_id, prepayment_id, opts = {}) + data, _status_code, _headers = get_prepayment_as_pdf_with_http_info(xero_tenant_id, prepayment_id, opts) + data + end + + # Allows you to retrieve prepayments as PDF files + # @param xero_tenant_id [String] Xero identifier for Tenant + # @param prepayment_id [String] Unique identifier for a PrePayment + # @param [Hash] opts the optional parameters + # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers + def get_prepayment_as_pdf_with_http_info(xero_tenant_id, prepayment_id, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: AccountingApi.get_prepayment_as_pdf ...' + end + # verify the required parameter 'xero_tenant_id' is set + if @api_client.config.client_side_validation && xero_tenant_id.nil? + fail ArgumentError, "Missing the required parameter 'xero_tenant_id' when calling AccountingApi.get_prepayment_as_pdf" + end + # verify the required parameter 'prepayment_id' is set + if @api_client.config.client_side_validation && prepayment_id.nil? + fail ArgumentError, "Missing the required parameter 'prepayment_id' when calling AccountingApi.get_prepayment_as_pdf" + end + # resource path + local_var_path = '/Prepayments/{PrepaymentID}'.sub('{' + 'PrepaymentID' + '}', prepayment_id.to_s) + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/pdf']) + header_params[:'xero-tenant-id'] = xero_tenant_id + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:body] + + # return_type + return_type = opts[:return_type] || 'File' + + # auth_names + auth_names = opts[:auth_names] || ['OAuth2'] + + new_options = opts.merge( + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AccountingApi#get_prepayment_as_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Allows you to retrieve a history records of an Prepayment # @param xero_tenant_id [String] Xero identifier for Tenant # @param prepayment_id [String] Unique identifier for a PrePayment diff --git a/lib/xero-ruby/api/asset_api.rb b/lib/xero-ruby/api/asset_api.rb index a3b13afe..1932e176 100644 --- a/lib/xero-ruby/api/asset_api.rb +++ b/lib/xero-ruby/api/asset_api.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/api_client.rb b/lib/xero-ruby/api_client.rb index b841b2b2..2b4f9814 100644 --- a/lib/xero-ruby/api_client.rb +++ b/lib/xero-ruby/api_client.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/api_error.rb b/lib/xero-ruby/api_error.rb index c93de9be..f68d1efd 100644 --- a/lib/xero-ruby/api_error.rb +++ b/lib/xero-ruby/api_error.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/configuration.rb b/lib/xero-ruby/configuration.rb index 91c08fb6..e6b4967a 100644 --- a/lib/xero-ruby/configuration.rb +++ b/lib/xero-ruby/configuration.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/account.rb b/lib/xero-ruby/models/accounting/account.rb index 39cd1c34..01bbe4de 100644 --- a/lib/xero-ruby/models/accounting/account.rb +++ b/lib/xero-ruby/models/accounting/account.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/account_type.rb b/lib/xero-ruby/models/accounting/account_type.rb index 6792db3c..0cdac88e 100644 --- a/lib/xero-ruby/models/accounting/account_type.rb +++ b/lib/xero-ruby/models/accounting/account_type.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/accounts.rb b/lib/xero-ruby/models/accounting/accounts.rb index 644937bd..3387a3ec 100644 --- a/lib/xero-ruby/models/accounting/accounts.rb +++ b/lib/xero-ruby/models/accounting/accounts.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/accounts_payable.rb b/lib/xero-ruby/models/accounting/accounts_payable.rb index 984bd93d..6c1041a4 100644 --- a/lib/xero-ruby/models/accounting/accounts_payable.rb +++ b/lib/xero-ruby/models/accounting/accounts_payable.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/accounts_receivable.rb b/lib/xero-ruby/models/accounting/accounts_receivable.rb index e997ea04..ac763b69 100644 --- a/lib/xero-ruby/models/accounting/accounts_receivable.rb +++ b/lib/xero-ruby/models/accounting/accounts_receivable.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/address.rb b/lib/xero-ruby/models/accounting/address.rb index 66cf602f..a4642807 100644 --- a/lib/xero-ruby/models/accounting/address.rb +++ b/lib/xero-ruby/models/accounting/address.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/allocation.rb b/lib/xero-ruby/models/accounting/allocation.rb index 46dc0cc5..4a74ad18 100644 --- a/lib/xero-ruby/models/accounting/allocation.rb +++ b/lib/xero-ruby/models/accounting/allocation.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/allocations.rb b/lib/xero-ruby/models/accounting/allocations.rb index 1d697707..97405577 100644 --- a/lib/xero-ruby/models/accounting/allocations.rb +++ b/lib/xero-ruby/models/accounting/allocations.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/attachment.rb b/lib/xero-ruby/models/accounting/attachment.rb index 8dd96c80..90858b61 100644 --- a/lib/xero-ruby/models/accounting/attachment.rb +++ b/lib/xero-ruby/models/accounting/attachment.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/attachments.rb b/lib/xero-ruby/models/accounting/attachments.rb index 7252c165..dcb1096e 100644 --- a/lib/xero-ruby/models/accounting/attachments.rb +++ b/lib/xero-ruby/models/accounting/attachments.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/balances.rb b/lib/xero-ruby/models/accounting/balances.rb index 070c0879..54ebf302 100644 --- a/lib/xero-ruby/models/accounting/balances.rb +++ b/lib/xero-ruby/models/accounting/balances.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/bank_transaction.rb b/lib/xero-ruby/models/accounting/bank_transaction.rb index bd00cf2b..f3359d2d 100644 --- a/lib/xero-ruby/models/accounting/bank_transaction.rb +++ b/lib/xero-ruby/models/accounting/bank_transaction.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/bank_transactions.rb b/lib/xero-ruby/models/accounting/bank_transactions.rb index 1073fcd9..d3659718 100644 --- a/lib/xero-ruby/models/accounting/bank_transactions.rb +++ b/lib/xero-ruby/models/accounting/bank_transactions.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/bank_transfer.rb b/lib/xero-ruby/models/accounting/bank_transfer.rb index 4a470f6d..974e2ad0 100644 --- a/lib/xero-ruby/models/accounting/bank_transfer.rb +++ b/lib/xero-ruby/models/accounting/bank_transfer.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/bank_transfers.rb b/lib/xero-ruby/models/accounting/bank_transfers.rb index 23aaa69c..03dce00c 100644 --- a/lib/xero-ruby/models/accounting/bank_transfers.rb +++ b/lib/xero-ruby/models/accounting/bank_transfers.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/batch_payment.rb b/lib/xero-ruby/models/accounting/batch_payment.rb index f0154ff8..cb49e2e3 100644 --- a/lib/xero-ruby/models/accounting/batch_payment.rb +++ b/lib/xero-ruby/models/accounting/batch_payment.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/batch_payment_details.rb b/lib/xero-ruby/models/accounting/batch_payment_details.rb index a2b63216..4798f946 100644 --- a/lib/xero-ruby/models/accounting/batch_payment_details.rb +++ b/lib/xero-ruby/models/accounting/batch_payment_details.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/batch_payments.rb b/lib/xero-ruby/models/accounting/batch_payments.rb index 5f2ddecc..54144a2a 100644 --- a/lib/xero-ruby/models/accounting/batch_payments.rb +++ b/lib/xero-ruby/models/accounting/batch_payments.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/bill.rb b/lib/xero-ruby/models/accounting/bill.rb index 2079e670..497dfc90 100644 --- a/lib/xero-ruby/models/accounting/bill.rb +++ b/lib/xero-ruby/models/accounting/bill.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/branding_theme.rb b/lib/xero-ruby/models/accounting/branding_theme.rb index 1583144d..c5afb4c7 100644 --- a/lib/xero-ruby/models/accounting/branding_theme.rb +++ b/lib/xero-ruby/models/accounting/branding_theme.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/branding_themes.rb b/lib/xero-ruby/models/accounting/branding_themes.rb index 84110e18..41ff2a06 100644 --- a/lib/xero-ruby/models/accounting/branding_themes.rb +++ b/lib/xero-ruby/models/accounting/branding_themes.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/cis_org_setting.rb b/lib/xero-ruby/models/accounting/cis_org_setting.rb index 78416221..90008d4d 100644 --- a/lib/xero-ruby/models/accounting/cis_org_setting.rb +++ b/lib/xero-ruby/models/accounting/cis_org_setting.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/cis_setting.rb b/lib/xero-ruby/models/accounting/cis_setting.rb index 3bd70825..2bbf486b 100644 --- a/lib/xero-ruby/models/accounting/cis_setting.rb +++ b/lib/xero-ruby/models/accounting/cis_setting.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/cis_settings.rb b/lib/xero-ruby/models/accounting/cis_settings.rb index 59c9517d..764803eb 100644 --- a/lib/xero-ruby/models/accounting/cis_settings.rb +++ b/lib/xero-ruby/models/accounting/cis_settings.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/contact.rb b/lib/xero-ruby/models/accounting/contact.rb index 50ddb72b..f06b92ce 100644 --- a/lib/xero-ruby/models/accounting/contact.rb +++ b/lib/xero-ruby/models/accounting/contact.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/contact_group.rb b/lib/xero-ruby/models/accounting/contact_group.rb index adee3992..2d4a47cd 100644 --- a/lib/xero-ruby/models/accounting/contact_group.rb +++ b/lib/xero-ruby/models/accounting/contact_group.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/contact_groups.rb b/lib/xero-ruby/models/accounting/contact_groups.rb index 99873b29..164cc161 100644 --- a/lib/xero-ruby/models/accounting/contact_groups.rb +++ b/lib/xero-ruby/models/accounting/contact_groups.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/contact_person.rb b/lib/xero-ruby/models/accounting/contact_person.rb index f478267b..32e7d216 100644 --- a/lib/xero-ruby/models/accounting/contact_person.rb +++ b/lib/xero-ruby/models/accounting/contact_person.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/contacts.rb b/lib/xero-ruby/models/accounting/contacts.rb index 6b84766e..ba182ae5 100644 --- a/lib/xero-ruby/models/accounting/contacts.rb +++ b/lib/xero-ruby/models/accounting/contacts.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/country_code.rb b/lib/xero-ruby/models/accounting/country_code.rb index 57bbb2b6..cc141c70 100644 --- a/lib/xero-ruby/models/accounting/country_code.rb +++ b/lib/xero-ruby/models/accounting/country_code.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/credit_note.rb b/lib/xero-ruby/models/accounting/credit_note.rb index c096f324..9ffd0d92 100644 --- a/lib/xero-ruby/models/accounting/credit_note.rb +++ b/lib/xero-ruby/models/accounting/credit_note.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/credit_notes.rb b/lib/xero-ruby/models/accounting/credit_notes.rb index 79e3388e..69b96c2f 100644 --- a/lib/xero-ruby/models/accounting/credit_notes.rb +++ b/lib/xero-ruby/models/accounting/credit_notes.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/currencies.rb b/lib/xero-ruby/models/accounting/currencies.rb index 5387b6e4..2cc1a5ea 100644 --- a/lib/xero-ruby/models/accounting/currencies.rb +++ b/lib/xero-ruby/models/accounting/currencies.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/currency.rb b/lib/xero-ruby/models/accounting/currency.rb index 89f2c781..d1cfcce1 100644 --- a/lib/xero-ruby/models/accounting/currency.rb +++ b/lib/xero-ruby/models/accounting/currency.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/currency_code.rb b/lib/xero-ruby/models/accounting/currency_code.rb index 1693281b..38742ca7 100644 --- a/lib/xero-ruby/models/accounting/currency_code.rb +++ b/lib/xero-ruby/models/accounting/currency_code.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 @@ -154,7 +154,7 @@ class CurrencyCode TMT = "TMT".freeze TND = "TND".freeze TOP = "TOP".freeze - TRY = "TRY".freeze + _TRY = "TRY".freeze TTD = "TTD".freeze TVD = "TVD".freeze TWD = "TWD".freeze @@ -178,7 +178,7 @@ class CurrencyCode ZMW = "ZMW".freeze ZMK = "ZMK".freeze ZWD = "ZWD".freeze - EMPTY = "".freeze + _EMPTY = "".freeze # Builds the enum from string # @param [String] The enum value in the form of the string diff --git a/lib/xero-ruby/models/accounting/element.rb b/lib/xero-ruby/models/accounting/element.rb index 231b861e..b693a966 100644 --- a/lib/xero-ruby/models/accounting/element.rb +++ b/lib/xero-ruby/models/accounting/element.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/employee.rb b/lib/xero-ruby/models/accounting/employee.rb index fb05da82..b5ca9937 100644 --- a/lib/xero-ruby/models/accounting/employee.rb +++ b/lib/xero-ruby/models/accounting/employee.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/employees.rb b/lib/xero-ruby/models/accounting/employees.rb index e01a2e7c..fdae6962 100644 --- a/lib/xero-ruby/models/accounting/employees.rb +++ b/lib/xero-ruby/models/accounting/employees.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/error.rb b/lib/xero-ruby/models/accounting/error.rb index 59e130b0..bab0b99f 100644 --- a/lib/xero-ruby/models/accounting/error.rb +++ b/lib/xero-ruby/models/accounting/error.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/expense_claim.rb b/lib/xero-ruby/models/accounting/expense_claim.rb index 251c0c19..14539bf0 100644 --- a/lib/xero-ruby/models/accounting/expense_claim.rb +++ b/lib/xero-ruby/models/accounting/expense_claim.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/expense_claims.rb b/lib/xero-ruby/models/accounting/expense_claims.rb index 3d0e948c..3ebcf984 100644 --- a/lib/xero-ruby/models/accounting/expense_claims.rb +++ b/lib/xero-ruby/models/accounting/expense_claims.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/external_link.rb b/lib/xero-ruby/models/accounting/external_link.rb index dd0d465f..47e61786 100644 --- a/lib/xero-ruby/models/accounting/external_link.rb +++ b/lib/xero-ruby/models/accounting/external_link.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/history_record.rb b/lib/xero-ruby/models/accounting/history_record.rb index 5dbec76b..7465b2ec 100644 --- a/lib/xero-ruby/models/accounting/history_record.rb +++ b/lib/xero-ruby/models/accounting/history_record.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/history_records.rb b/lib/xero-ruby/models/accounting/history_records.rb index 1e4f3d8e..a0b07358 100644 --- a/lib/xero-ruby/models/accounting/history_records.rb +++ b/lib/xero-ruby/models/accounting/history_records.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/invoice.rb b/lib/xero-ruby/models/accounting/invoice.rb index c60c0551..94925fdd 100644 --- a/lib/xero-ruby/models/accounting/invoice.rb +++ b/lib/xero-ruby/models/accounting/invoice.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/invoice_reminder.rb b/lib/xero-ruby/models/accounting/invoice_reminder.rb index 2452569d..e7d95d1c 100644 --- a/lib/xero-ruby/models/accounting/invoice_reminder.rb +++ b/lib/xero-ruby/models/accounting/invoice_reminder.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/invoice_reminders.rb b/lib/xero-ruby/models/accounting/invoice_reminders.rb index dbee6f0d..200cdf51 100644 --- a/lib/xero-ruby/models/accounting/invoice_reminders.rb +++ b/lib/xero-ruby/models/accounting/invoice_reminders.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/invoices.rb b/lib/xero-ruby/models/accounting/invoices.rb index b8c0df56..cc4ee93c 100644 --- a/lib/xero-ruby/models/accounting/invoices.rb +++ b/lib/xero-ruby/models/accounting/invoices.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/item.rb b/lib/xero-ruby/models/accounting/item.rb index 29bdec98..58b3c660 100644 --- a/lib/xero-ruby/models/accounting/item.rb +++ b/lib/xero-ruby/models/accounting/item.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/items.rb b/lib/xero-ruby/models/accounting/items.rb index f3a4f170..c3629e26 100644 --- a/lib/xero-ruby/models/accounting/items.rb +++ b/lib/xero-ruby/models/accounting/items.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/journal.rb b/lib/xero-ruby/models/accounting/journal.rb index 19bc597a..6f04470a 100644 --- a/lib/xero-ruby/models/accounting/journal.rb +++ b/lib/xero-ruby/models/accounting/journal.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 @@ -80,7 +80,7 @@ def self.openapi_types { :'journal_id' => :'String', :'journal_date' => :'Date', - :'journal_number' => :'String', + :'journal_number' => :'Integer', :'created_date_utc' => :'DateTime', :'reference' => :'String', :'source_id' => :'String', diff --git a/lib/xero-ruby/models/accounting/journal_line.rb b/lib/xero-ruby/models/accounting/journal_line.rb index 9f2306b3..ec32b466 100644 --- a/lib/xero-ruby/models/accounting/journal_line.rb +++ b/lib/xero-ruby/models/accounting/journal_line.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/journals.rb b/lib/xero-ruby/models/accounting/journals.rb index 3ccb61bc..5db857c3 100644 --- a/lib/xero-ruby/models/accounting/journals.rb +++ b/lib/xero-ruby/models/accounting/journals.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/line_amount_types.rb b/lib/xero-ruby/models/accounting/line_amount_types.rb index 71b2dc6f..326670a3 100644 --- a/lib/xero-ruby/models/accounting/line_amount_types.rb +++ b/lib/xero-ruby/models/accounting/line_amount_types.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/line_item.rb b/lib/xero-ruby/models/accounting/line_item.rb index 6756e96a..0a21912a 100644 --- a/lib/xero-ruby/models/accounting/line_item.rb +++ b/lib/xero-ruby/models/accounting/line_item.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/line_item_tracking.rb b/lib/xero-ruby/models/accounting/line_item_tracking.rb index 143c7280..c761b408 100644 --- a/lib/xero-ruby/models/accounting/line_item_tracking.rb +++ b/lib/xero-ruby/models/accounting/line_item_tracking.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/linked_transaction.rb b/lib/xero-ruby/models/accounting/linked_transaction.rb index e489c67c..84ec1f5b 100644 --- a/lib/xero-ruby/models/accounting/linked_transaction.rb +++ b/lib/xero-ruby/models/accounting/linked_transaction.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/linked_transactions.rb b/lib/xero-ruby/models/accounting/linked_transactions.rb index 875bc515..9cfb4a43 100644 --- a/lib/xero-ruby/models/accounting/linked_transactions.rb +++ b/lib/xero-ruby/models/accounting/linked_transactions.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/manual_journal.rb b/lib/xero-ruby/models/accounting/manual_journal.rb index 7a5ee9dd..911dcc1f 100644 --- a/lib/xero-ruby/models/accounting/manual_journal.rb +++ b/lib/xero-ruby/models/accounting/manual_journal.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/manual_journal_line.rb b/lib/xero-ruby/models/accounting/manual_journal_line.rb index 3d9322c7..98ec2128 100644 --- a/lib/xero-ruby/models/accounting/manual_journal_line.rb +++ b/lib/xero-ruby/models/accounting/manual_journal_line.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/manual_journals.rb b/lib/xero-ruby/models/accounting/manual_journals.rb index 9c9509c9..ad8cf84d 100644 --- a/lib/xero-ruby/models/accounting/manual_journals.rb +++ b/lib/xero-ruby/models/accounting/manual_journals.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/online_invoice.rb b/lib/xero-ruby/models/accounting/online_invoice.rb index 81610b77..6d61ef5d 100644 --- a/lib/xero-ruby/models/accounting/online_invoice.rb +++ b/lib/xero-ruby/models/accounting/online_invoice.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/online_invoices.rb b/lib/xero-ruby/models/accounting/online_invoices.rb index b13d4309..78165c40 100644 --- a/lib/xero-ruby/models/accounting/online_invoices.rb +++ b/lib/xero-ruby/models/accounting/online_invoices.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/organisation.rb b/lib/xero-ruby/models/accounting/organisation.rb index db23b247..c9ff663a 100644 --- a/lib/xero-ruby/models/accounting/organisation.rb +++ b/lib/xero-ruby/models/accounting/organisation.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/organisations.rb b/lib/xero-ruby/models/accounting/organisations.rb index 088ea942..7aab57a2 100644 --- a/lib/xero-ruby/models/accounting/organisations.rb +++ b/lib/xero-ruby/models/accounting/organisations.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/overpayment.rb b/lib/xero-ruby/models/accounting/overpayment.rb index 8971bf92..7d4ba929 100644 --- a/lib/xero-ruby/models/accounting/overpayment.rb +++ b/lib/xero-ruby/models/accounting/overpayment.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/overpayments.rb b/lib/xero-ruby/models/accounting/overpayments.rb index 398c3d9d..8af96d9e 100644 --- a/lib/xero-ruby/models/accounting/overpayments.rb +++ b/lib/xero-ruby/models/accounting/overpayments.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/payment.rb b/lib/xero-ruby/models/accounting/payment.rb index a10d8d89..ae7fb809 100644 --- a/lib/xero-ruby/models/accounting/payment.rb +++ b/lib/xero-ruby/models/accounting/payment.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 @@ -76,6 +76,9 @@ class Payment # A boolean to indicate if a contact has an validation errors attr_accessor :has_validation_errors + # A string to indicate if a invoice status + attr_accessor :status_attribute_string + # Displays array of validation error messages from the API attr_accessor :validation_errors @@ -126,6 +129,7 @@ def self.attribute_map :'details' => :'Details', :'has_account' => :'HasAccount', :'has_validation_errors' => :'HasValidationErrors', + :'status_attribute_string' => :'StatusAttributeString', :'validation_errors' => :'ValidationErrors' } end @@ -155,6 +159,7 @@ def self.openapi_types :'details' => :'String', :'has_account' => :'Boolean', :'has_validation_errors' => :'Boolean', + :'status_attribute_string' => :'String', :'validation_errors' => :'Array' } end @@ -262,6 +267,10 @@ def initialize(attributes = {}) self.has_validation_errors = attributes[:'has_validation_errors'] end + if attributes.key?(:'status_attribute_string') + self.status_attribute_string = attributes[:'status_attribute_string'] + end + if attributes.key?(:'validation_errors') if (value = attributes[:'validation_errors']).is_a?(Array) self.validation_errors = value @@ -333,6 +342,7 @@ def ==(o) details == o.details && has_account == o.has_account && has_validation_errors == o.has_validation_errors && + status_attribute_string == o.status_attribute_string && validation_errors == o.validation_errors end @@ -345,7 +355,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [invoice, credit_note, prepayment, overpayment, invoice_number, credit_note_number, account, code, date, currency_rate, amount, reference, is_reconciled, status, payment_type, updated_date_utc, payment_id, bank_account_number, particulars, details, has_account, has_validation_errors, validation_errors].hash + [invoice, credit_note, prepayment, overpayment, invoice_number, credit_note_number, account, code, date, currency_rate, amount, reference, is_reconciled, status, payment_type, updated_date_utc, payment_id, bank_account_number, particulars, details, has_account, has_validation_errors, status_attribute_string, validation_errors].hash end # Builds the object from hash diff --git a/lib/xero-ruby/models/accounting/payment_delete.rb b/lib/xero-ruby/models/accounting/payment_delete.rb index cfa2f284..394332fa 100644 --- a/lib/xero-ruby/models/accounting/payment_delete.rb +++ b/lib/xero-ruby/models/accounting/payment_delete.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/payment_service.rb b/lib/xero-ruby/models/accounting/payment_service.rb index d22aa9f2..0b114841 100644 --- a/lib/xero-ruby/models/accounting/payment_service.rb +++ b/lib/xero-ruby/models/accounting/payment_service.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/payment_services.rb b/lib/xero-ruby/models/accounting/payment_services.rb index 6ede4a91..6d11412e 100644 --- a/lib/xero-ruby/models/accounting/payment_services.rb +++ b/lib/xero-ruby/models/accounting/payment_services.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/payment_term.rb b/lib/xero-ruby/models/accounting/payment_term.rb index c0649ed7..1314ebba 100644 --- a/lib/xero-ruby/models/accounting/payment_term.rb +++ b/lib/xero-ruby/models/accounting/payment_term.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/payment_term_type.rb b/lib/xero-ruby/models/accounting/payment_term_type.rb index 4a5a0ad1..53d319ce 100644 --- a/lib/xero-ruby/models/accounting/payment_term_type.rb +++ b/lib/xero-ruby/models/accounting/payment_term_type.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/payments.rb b/lib/xero-ruby/models/accounting/payments.rb index 51a12564..09821200 100644 --- a/lib/xero-ruby/models/accounting/payments.rb +++ b/lib/xero-ruby/models/accounting/payments.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/phone.rb b/lib/xero-ruby/models/accounting/phone.rb index 98572d60..87f18653 100644 --- a/lib/xero-ruby/models/accounting/phone.rb +++ b/lib/xero-ruby/models/accounting/phone.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/prepayment.rb b/lib/xero-ruby/models/accounting/prepayment.rb index f065b35a..5dfb0143 100644 --- a/lib/xero-ruby/models/accounting/prepayment.rb +++ b/lib/xero-ruby/models/accounting/prepayment.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/prepayments.rb b/lib/xero-ruby/models/accounting/prepayments.rb index 46454112..518ca013 100644 --- a/lib/xero-ruby/models/accounting/prepayments.rb +++ b/lib/xero-ruby/models/accounting/prepayments.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/purchase.rb b/lib/xero-ruby/models/accounting/purchase.rb index 9dda663b..866881fd 100644 --- a/lib/xero-ruby/models/accounting/purchase.rb +++ b/lib/xero-ruby/models/accounting/purchase.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/purchase_order.rb b/lib/xero-ruby/models/accounting/purchase_order.rb index fd6a19fc..9471cb05 100644 --- a/lib/xero-ruby/models/accounting/purchase_order.rb +++ b/lib/xero-ruby/models/accounting/purchase_order.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/purchase_orders.rb b/lib/xero-ruby/models/accounting/purchase_orders.rb index e6b67340..79f9587b 100644 --- a/lib/xero-ruby/models/accounting/purchase_orders.rb +++ b/lib/xero-ruby/models/accounting/purchase_orders.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/quote.rb b/lib/xero-ruby/models/accounting/quote.rb index 56d6f481..4e3256be 100644 --- a/lib/xero-ruby/models/accounting/quote.rb +++ b/lib/xero-ruby/models/accounting/quote.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/quote_line_amount_types.rb b/lib/xero-ruby/models/accounting/quote_line_amount_types.rb index 3547f627..2e0f8cfa 100644 --- a/lib/xero-ruby/models/accounting/quote_line_amount_types.rb +++ b/lib/xero-ruby/models/accounting/quote_line_amount_types.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/quote_status_codes.rb b/lib/xero-ruby/models/accounting/quote_status_codes.rb index fd2a934c..d1b877b0 100644 --- a/lib/xero-ruby/models/accounting/quote_status_codes.rb +++ b/lib/xero-ruby/models/accounting/quote_status_codes.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/quotes.rb b/lib/xero-ruby/models/accounting/quotes.rb index 92194581..9f03458a 100644 --- a/lib/xero-ruby/models/accounting/quotes.rb +++ b/lib/xero-ruby/models/accounting/quotes.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/receipt.rb b/lib/xero-ruby/models/accounting/receipt.rb index fca536ba..e6082824 100644 --- a/lib/xero-ruby/models/accounting/receipt.rb +++ b/lib/xero-ruby/models/accounting/receipt.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/receipts.rb b/lib/xero-ruby/models/accounting/receipts.rb index c208bf1d..caaf1b5b 100644 --- a/lib/xero-ruby/models/accounting/receipts.rb +++ b/lib/xero-ruby/models/accounting/receipts.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/repeating_invoice.rb b/lib/xero-ruby/models/accounting/repeating_invoice.rb index 78f1e13d..caed71db 100644 --- a/lib/xero-ruby/models/accounting/repeating_invoice.rb +++ b/lib/xero-ruby/models/accounting/repeating_invoice.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/repeating_invoices.rb b/lib/xero-ruby/models/accounting/repeating_invoices.rb index 489f60a2..95c26507 100644 --- a/lib/xero-ruby/models/accounting/repeating_invoices.rb +++ b/lib/xero-ruby/models/accounting/repeating_invoices.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/report.rb b/lib/xero-ruby/models/accounting/report.rb index c7917e2d..046f3919 100644 --- a/lib/xero-ruby/models/accounting/report.rb +++ b/lib/xero-ruby/models/accounting/report.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/report_attribute.rb b/lib/xero-ruby/models/accounting/report_attribute.rb index 7d6be0b0..8d9e10e1 100644 --- a/lib/xero-ruby/models/accounting/report_attribute.rb +++ b/lib/xero-ruby/models/accounting/report_attribute.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/report_cell.rb b/lib/xero-ruby/models/accounting/report_cell.rb index 7a8b407d..b96e617e 100644 --- a/lib/xero-ruby/models/accounting/report_cell.rb +++ b/lib/xero-ruby/models/accounting/report_cell.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/report_fields.rb b/lib/xero-ruby/models/accounting/report_fields.rb index ace5efbd..da17d560 100644 --- a/lib/xero-ruby/models/accounting/report_fields.rb +++ b/lib/xero-ruby/models/accounting/report_fields.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/report_row.rb b/lib/xero-ruby/models/accounting/report_row.rb index a6629448..4158e4cd 100644 --- a/lib/xero-ruby/models/accounting/report_row.rb +++ b/lib/xero-ruby/models/accounting/report_row.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/report_rows.rb b/lib/xero-ruby/models/accounting/report_rows.rb index 9f379304..a26ce593 100644 --- a/lib/xero-ruby/models/accounting/report_rows.rb +++ b/lib/xero-ruby/models/accounting/report_rows.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/report_with_row.rb b/lib/xero-ruby/models/accounting/report_with_row.rb index c10465a3..be7fae79 100644 --- a/lib/xero-ruby/models/accounting/report_with_row.rb +++ b/lib/xero-ruby/models/accounting/report_with_row.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/report_with_rows.rb b/lib/xero-ruby/models/accounting/report_with_rows.rb index 331fccb8..b1174cb0 100644 --- a/lib/xero-ruby/models/accounting/report_with_rows.rb +++ b/lib/xero-ruby/models/accounting/report_with_rows.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/reports.rb b/lib/xero-ruby/models/accounting/reports.rb index 77294f22..97c45855 100644 --- a/lib/xero-ruby/models/accounting/reports.rb +++ b/lib/xero-ruby/models/accounting/reports.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/request_empty.rb b/lib/xero-ruby/models/accounting/request_empty.rb index 36aa701c..3b1800f9 100644 --- a/lib/xero-ruby/models/accounting/request_empty.rb +++ b/lib/xero-ruby/models/accounting/request_empty.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/row_type.rb b/lib/xero-ruby/models/accounting/row_type.rb index 118bda1c..a7bc9b68 100644 --- a/lib/xero-ruby/models/accounting/row_type.rb +++ b/lib/xero-ruby/models/accounting/row_type.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/sales_tracking_category.rb b/lib/xero-ruby/models/accounting/sales_tracking_category.rb index feafa5bb..faa841b5 100644 --- a/lib/xero-ruby/models/accounting/sales_tracking_category.rb +++ b/lib/xero-ruby/models/accounting/sales_tracking_category.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/schedule.rb b/lib/xero-ruby/models/accounting/schedule.rb index b2a6e88b..913dd2e2 100644 --- a/lib/xero-ruby/models/accounting/schedule.rb +++ b/lib/xero-ruby/models/accounting/schedule.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/tax_component.rb b/lib/xero-ruby/models/accounting/tax_component.rb index 013e5a4f..ae5419ee 100644 --- a/lib/xero-ruby/models/accounting/tax_component.rb +++ b/lib/xero-ruby/models/accounting/tax_component.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/tax_rate.rb b/lib/xero-ruby/models/accounting/tax_rate.rb index ebf6ef46..46a67a54 100644 --- a/lib/xero-ruby/models/accounting/tax_rate.rb +++ b/lib/xero-ruby/models/accounting/tax_rate.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 @@ -187,7 +187,7 @@ def list_invalid_properties def valid? status_validator = EnumAttributeValidator.new('String', ["ACTIVE", "DELETED", "ARCHIVED", "PENDING"]) return false unless status_validator.valid?(@status) - report_tax_type_validator = EnumAttributeValidator.new('String', ["AVALARA", "BASEXCLUDED", "CAPITALSALESOUTPUT", "CAPITALEXPENSESINPUT", "ECOUTPUT", "ECOUTPUTSERVICES", "ECINPUT", "ECACQUISITIONS", "EXEMPTEXPENSES", "EXEMPTINPUT", "EXEMPTOUTPUT", "GSTONIMPORTS", "INPUT", "INPUTTAXED", "MOSSSALES", "NONE", "NONEOUTPUT", "OUTPUT", "PURCHASESINPUT", "SALESOUTPUT", "EXEMPTCAPITAL", "EXEMPTEXPORT", "CAPITALEXINPUT", "GSTONCAPIMPORTS", "GSTONCAPITALIMPORTS", "REVERSECHARGES", "PAYMENTS", "INVOICE", "CASH", "ACCRUAL", "FLATRATECASH", "FLATRATEACCRUAL", "ACCRUALS", "TXCA", "SRCAS", "DSOUTPUT", "BLINPUT2", "EPINPUT", "IMINPUT2", "MEINPUT", "IGDSINPUT2", "ESN33OUTPUT", "OPINPUT", "OSOUTPUT", "TXN33INPUT", "TXESSINPUT", "TXREINPUT", "TXPETINPUT", "NRINPUT", "ES33OUTPUT", "ZERORATEDINPUT", "ZERORATEDOUTPUT"]) + report_tax_type_validator = EnumAttributeValidator.new('String', ["AVALARA", "BASEXCLUDED", "CAPITALSALESOUTPUT", "CAPITALEXPENSESINPUT", "ECOUTPUT", "ECOUTPUTSERVICES", "ECINPUT", "ECACQUISITIONS", "EXEMPTEXPENSES", "EXEMPTINPUT", "EXEMPTOUTPUT", "GSTONIMPORTS", "INPUT", "INPUTTAXED", "MOSSSALES", "NONE", "NONEOUTPUT", "OUTPUT", "PURCHASESINPUT", "SALESOUTPUT", "EXEMPTCAPITAL", "EXEMPTEXPORT", "CAPITALEXINPUT", "GSTONCAPIMPORTS", "GSTONCAPITALIMPORTS", "REVERSECHARGES", "PAYMENTS", "INVOICE", "CASH", "ACCRUAL", "FLATRATECASH", "FLATRATEACCRUAL", "ACCRUALS", "TXCA", "SRCAS", "DSOUTPUT", "BLINPUT2", "EPINPUT", "IMINPUT2", "MEINPUT", "IGDSINPUT2", "ESN33OUTPUT", "OPINPUT", "OSOUTPUT", "TXN33INPUT", "TXESSINPUT", "TXREINPUT", "TXPETINPUT", "NRINPUT", "ES33OUTPUT", "ZERORATEDINPUT", "ZERORATEDOUTPUT", "DRCHARGESUPPLY", "DRCHARGE"]) return false unless report_tax_type_validator.valid?(@report_tax_type) true end @@ -205,7 +205,7 @@ def status=(status) # Custom attribute writer method checking allowed values (enum). # @param [Object] report_tax_type Object to be assigned def report_tax_type=(report_tax_type) - validator = EnumAttributeValidator.new('String', ["AVALARA", "BASEXCLUDED", "CAPITALSALESOUTPUT", "CAPITALEXPENSESINPUT", "ECOUTPUT", "ECOUTPUTSERVICES", "ECINPUT", "ECACQUISITIONS", "EXEMPTEXPENSES", "EXEMPTINPUT", "EXEMPTOUTPUT", "GSTONIMPORTS", "INPUT", "INPUTTAXED", "MOSSSALES", "NONE", "NONEOUTPUT", "OUTPUT", "PURCHASESINPUT", "SALESOUTPUT", "EXEMPTCAPITAL", "EXEMPTEXPORT", "CAPITALEXINPUT", "GSTONCAPIMPORTS", "GSTONCAPITALIMPORTS", "REVERSECHARGES", "PAYMENTS", "INVOICE", "CASH", "ACCRUAL", "FLATRATECASH", "FLATRATEACCRUAL", "ACCRUALS", "TXCA", "SRCAS", "DSOUTPUT", "BLINPUT2", "EPINPUT", "IMINPUT2", "MEINPUT", "IGDSINPUT2", "ESN33OUTPUT", "OPINPUT", "OSOUTPUT", "TXN33INPUT", "TXESSINPUT", "TXREINPUT", "TXPETINPUT", "NRINPUT", "ES33OUTPUT", "ZERORATEDINPUT", "ZERORATEDOUTPUT"]) + validator = EnumAttributeValidator.new('String', ["AVALARA", "BASEXCLUDED", "CAPITALSALESOUTPUT", "CAPITALEXPENSESINPUT", "ECOUTPUT", "ECOUTPUTSERVICES", "ECINPUT", "ECACQUISITIONS", "EXEMPTEXPENSES", "EXEMPTINPUT", "EXEMPTOUTPUT", "GSTONIMPORTS", "INPUT", "INPUTTAXED", "MOSSSALES", "NONE", "NONEOUTPUT", "OUTPUT", "PURCHASESINPUT", "SALESOUTPUT", "EXEMPTCAPITAL", "EXEMPTEXPORT", "CAPITALEXINPUT", "GSTONCAPIMPORTS", "GSTONCAPITALIMPORTS", "REVERSECHARGES", "PAYMENTS", "INVOICE", "CASH", "ACCRUAL", "FLATRATECASH", "FLATRATEACCRUAL", "ACCRUALS", "TXCA", "SRCAS", "DSOUTPUT", "BLINPUT2", "EPINPUT", "IMINPUT2", "MEINPUT", "IGDSINPUT2", "ESN33OUTPUT", "OPINPUT", "OSOUTPUT", "TXN33INPUT", "TXESSINPUT", "TXREINPUT", "TXPETINPUT", "NRINPUT", "ES33OUTPUT", "ZERORATEDINPUT", "ZERORATEDOUTPUT", "DRCHARGESUPPLY", "DRCHARGE"]) unless validator.valid?(report_tax_type) fail ArgumentError, "invalid value for \"report_tax_type\", must be one of #{validator.allowable_values}." end diff --git a/lib/xero-ruby/models/accounting/tax_rates.rb b/lib/xero-ruby/models/accounting/tax_rates.rb index a6126fcb..62db3929 100644 --- a/lib/xero-ruby/models/accounting/tax_rates.rb +++ b/lib/xero-ruby/models/accounting/tax_rates.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/tax_type.rb b/lib/xero-ruby/models/accounting/tax_type.rb index 1d0346ab..ee961247 100644 --- a/lib/xero-ruby/models/accounting/tax_type.rb +++ b/lib/xero-ruby/models/accounting/tax_type.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 @@ -70,6 +70,10 @@ class TaxType TXCA = "TXCA".freeze SRCAS = "SRCAS".freeze BLINPUT2 = "BLINPUT2".freeze + DRCHARGESUPPLY20 = "DRCHARGESUPPLY20".freeze + DRCHARGE20 = "DRCHARGE20".freeze + DRCHARGESUPPLY5 = "DRCHARGESUPPLY5".freeze + DRCHARGE5 = "DRCHARGE5".freeze # Builds the enum from string # @param [String] The enum value in the form of the string diff --git a/lib/xero-ruby/models/accounting/ten_nintey_nine_contact.rb b/lib/xero-ruby/models/accounting/ten_nintey_nine_contact.rb index e80e4378..e8f96945 100644 --- a/lib/xero-ruby/models/accounting/ten_nintey_nine_contact.rb +++ b/lib/xero-ruby/models/accounting/ten_nintey_nine_contact.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/time_zone.rb b/lib/xero-ruby/models/accounting/time_zone.rb index 3748832b..6f663e81 100644 --- a/lib/xero-ruby/models/accounting/time_zone.rb +++ b/lib/xero-ruby/models/accounting/time_zone.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/tracking_categories.rb b/lib/xero-ruby/models/accounting/tracking_categories.rb index 68b64a54..82925ce4 100644 --- a/lib/xero-ruby/models/accounting/tracking_categories.rb +++ b/lib/xero-ruby/models/accounting/tracking_categories.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/tracking_category.rb b/lib/xero-ruby/models/accounting/tracking_category.rb index 4e3c1a13..91e15678 100644 --- a/lib/xero-ruby/models/accounting/tracking_category.rb +++ b/lib/xero-ruby/models/accounting/tracking_category.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/tracking_option.rb b/lib/xero-ruby/models/accounting/tracking_option.rb index 5c2f1888..75c07523 100644 --- a/lib/xero-ruby/models/accounting/tracking_option.rb +++ b/lib/xero-ruby/models/accounting/tracking_option.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/tracking_options.rb b/lib/xero-ruby/models/accounting/tracking_options.rb index 3a15f011..5319745c 100644 --- a/lib/xero-ruby/models/accounting/tracking_options.rb +++ b/lib/xero-ruby/models/accounting/tracking_options.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/user.rb b/lib/xero-ruby/models/accounting/user.rb index 8ab145a5..becb2d62 100644 --- a/lib/xero-ruby/models/accounting/user.rb +++ b/lib/xero-ruby/models/accounting/user.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/users.rb b/lib/xero-ruby/models/accounting/users.rb index e213e1a0..429a978e 100644 --- a/lib/xero-ruby/models/accounting/users.rb +++ b/lib/xero-ruby/models/accounting/users.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/accounting/validation_error.rb b/lib/xero-ruby/models/accounting/validation_error.rb index c441958f..8ba1b3c3 100644 --- a/lib/xero-ruby/models/accounting/validation_error.rb +++ b/lib/xero-ruby/models/accounting/validation_error.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/assets/asset.rb b/lib/xero-ruby/models/assets/asset.rb index a1b9a28f..490889a7 100644 --- a/lib/xero-ruby/models/assets/asset.rb +++ b/lib/xero-ruby/models/assets/asset.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/assets/asset_status.rb b/lib/xero-ruby/models/assets/asset_status.rb index 02ada16e..8b7baf1b 100644 --- a/lib/xero-ruby/models/assets/asset_status.rb +++ b/lib/xero-ruby/models/assets/asset_status.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/assets/asset_status_query_param.rb b/lib/xero-ruby/models/assets/asset_status_query_param.rb index 2afa0682..6a815776 100644 --- a/lib/xero-ruby/models/assets/asset_status_query_param.rb +++ b/lib/xero-ruby/models/assets/asset_status_query_param.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/assets/asset_type.rb b/lib/xero-ruby/models/assets/asset_type.rb index 4738a37e..bb4c309f 100644 --- a/lib/xero-ruby/models/assets/asset_type.rb +++ b/lib/xero-ruby/models/assets/asset_type.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/assets/assets.rb b/lib/xero-ruby/models/assets/assets.rb index ecf8f201..f18ec70f 100644 --- a/lib/xero-ruby/models/assets/assets.rb +++ b/lib/xero-ruby/models/assets/assets.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/assets/book_depreciation_detail.rb b/lib/xero-ruby/models/assets/book_depreciation_detail.rb index 1b7cf6e4..db0221f7 100644 --- a/lib/xero-ruby/models/assets/book_depreciation_detail.rb +++ b/lib/xero-ruby/models/assets/book_depreciation_detail.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/assets/book_depreciation_setting.rb b/lib/xero-ruby/models/assets/book_depreciation_setting.rb index 309918f4..ca670af8 100644 --- a/lib/xero-ruby/models/assets/book_depreciation_setting.rb +++ b/lib/xero-ruby/models/assets/book_depreciation_setting.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/assets/error.rb b/lib/xero-ruby/models/assets/error.rb index 5ad9a50b..6dc58ce1 100644 --- a/lib/xero-ruby/models/assets/error.rb +++ b/lib/xero-ruby/models/assets/error.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/assets/field_validation_errors_element.rb b/lib/xero-ruby/models/assets/field_validation_errors_element.rb index 1b20c241..02dfacee 100644 --- a/lib/xero-ruby/models/assets/field_validation_errors_element.rb +++ b/lib/xero-ruby/models/assets/field_validation_errors_element.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/assets/pagination.rb b/lib/xero-ruby/models/assets/pagination.rb index 5e8d2926..61a0c522 100644 --- a/lib/xero-ruby/models/assets/pagination.rb +++ b/lib/xero-ruby/models/assets/pagination.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/assets/resource_validation_errors_element.rb b/lib/xero-ruby/models/assets/resource_validation_errors_element.rb index 910ae204..c03ae9c8 100644 --- a/lib/xero-ruby/models/assets/resource_validation_errors_element.rb +++ b/lib/xero-ruby/models/assets/resource_validation_errors_element.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/models/assets/setting.rb b/lib/xero-ruby/models/assets/setting.rb index cece1d56..7b9f55f9 100644 --- a/lib/xero-ruby/models/assets/setting.rb +++ b/lib/xero-ruby/models/assets/setting.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/lib/xero-ruby/version.rb b/lib/xero-ruby/version.rb index 67b71133..08cc1ee3 100644 --- a/lib/xero-ruby/version.rb +++ b/lib/xero-ruby/version.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 @@ -11,5 +11,5 @@ =end module XeroRuby - VERSION = '1.0' + VERSION = '0.4.1' end diff --git a/spec/accounting/api/accounting_api_spec.rb b/spec/accounting/api/accounting_api_spec.rb index 628b8533..42360ae0 100644 --- a/spec/accounting/api/accounting_api_spec.rb +++ b/spec/accounting/api/accounting_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 @@ -520,6 +520,7 @@ # @param xero_tenant_id Xero identifier for Tenant # @param payments Payments array with Payment object in body of request # @param [Hash] opts the optional parameters + # @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created obejcts and any with validation errors # @return [Payments] describe 'create_payments test' do it 'should work' do @@ -1123,7 +1124,7 @@ end # unit tests for get_contact - # Allows you to retrieve, add and update contacts in a Xero organisation + # Allows you to retrieve a single contacts in a Xero organisation # @param xero_tenant_id Xero identifier for Tenant # @param contact_id Unique identifier for a Contact # @param [Hash] opts the optional parameters @@ -1224,7 +1225,7 @@ end # unit tests for get_contacts - # Allows you to retrieve, add and update contacts in a Xero organisation + # Allows you to retrieve all contacts in a Xero organisation # @param xero_tenant_id Xero identifier for Tenant # @param [Hash] opts the optional parameters # @option opts [DateTime] :if_modified_since Only records created or modified since this timestamp will be returned @@ -1818,6 +1819,18 @@ end end + # unit tests for get_prepayment_as_pdf + # Allows you to retrieve prepayments as PDF files + # @param xero_tenant_id Xero identifier for Tenant + # @param prepayment_id Unique identifier for a PrePayment + # @param [Hash] opts the optional parameters + # @return [File] + describe 'get_prepayment_as_pdf test' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for get_prepayment_history # Allows you to retrieve a history records of an Prepayment # @param xero_tenant_id Xero identifier for Tenant diff --git a/spec/accounting/models/account_spec.rb b/spec/accounting/models/account_spec.rb index 7483ddb9..3b5f6741 100644 --- a/spec/accounting/models/account_spec.rb +++ b/spec/accounting/models/account_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/account_type_spec.rb b/spec/accounting/models/account_type_spec.rb index 285c0639..5b532cae 100644 --- a/spec/accounting/models/account_type_spec.rb +++ b/spec/accounting/models/account_type_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/accounts_payable_spec.rb b/spec/accounting/models/accounts_payable_spec.rb index da3ba9f4..eb96afea 100644 --- a/spec/accounting/models/accounts_payable_spec.rb +++ b/spec/accounting/models/accounts_payable_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/accounts_receivable_spec.rb b/spec/accounting/models/accounts_receivable_spec.rb index 641ecb0d..5fcc5c77 100644 --- a/spec/accounting/models/accounts_receivable_spec.rb +++ b/spec/accounting/models/accounts_receivable_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/accounts_spec.rb b/spec/accounting/models/accounts_spec.rb index d3fb0fb9..d43fad17 100644 --- a/spec/accounting/models/accounts_spec.rb +++ b/spec/accounting/models/accounts_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/address_spec.rb b/spec/accounting/models/address_spec.rb index 571b612e..c4e032af 100644 --- a/spec/accounting/models/address_spec.rb +++ b/spec/accounting/models/address_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/allocation_spec.rb b/spec/accounting/models/allocation_spec.rb index e4a466b2..4941de23 100644 --- a/spec/accounting/models/allocation_spec.rb +++ b/spec/accounting/models/allocation_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/allocations_spec.rb b/spec/accounting/models/allocations_spec.rb index 0674b29a..5eed39ec 100644 --- a/spec/accounting/models/allocations_spec.rb +++ b/spec/accounting/models/allocations_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/attachment_spec.rb b/spec/accounting/models/attachment_spec.rb index 8c073d53..30a21d44 100644 --- a/spec/accounting/models/attachment_spec.rb +++ b/spec/accounting/models/attachment_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/attachments_spec.rb b/spec/accounting/models/attachments_spec.rb index 0703500e..e8be127f 100644 --- a/spec/accounting/models/attachments_spec.rb +++ b/spec/accounting/models/attachments_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/balances_spec.rb b/spec/accounting/models/balances_spec.rb index f8da7d2b..7e9d528d 100644 --- a/spec/accounting/models/balances_spec.rb +++ b/spec/accounting/models/balances_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/bank_transaction_spec.rb b/spec/accounting/models/bank_transaction_spec.rb index 67d33027..825c461a 100644 --- a/spec/accounting/models/bank_transaction_spec.rb +++ b/spec/accounting/models/bank_transaction_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/bank_transactions_spec.rb b/spec/accounting/models/bank_transactions_spec.rb index ef453c28..6b97a3f4 100644 --- a/spec/accounting/models/bank_transactions_spec.rb +++ b/spec/accounting/models/bank_transactions_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/bank_transfer_spec.rb b/spec/accounting/models/bank_transfer_spec.rb index 7344f974..6d1cbf9f 100644 --- a/spec/accounting/models/bank_transfer_spec.rb +++ b/spec/accounting/models/bank_transfer_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/bank_transfers_spec.rb b/spec/accounting/models/bank_transfers_spec.rb index 9d4839e9..554ac97e 100644 --- a/spec/accounting/models/bank_transfers_spec.rb +++ b/spec/accounting/models/bank_transfers_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/batch_payment_details_spec.rb b/spec/accounting/models/batch_payment_details_spec.rb index 4b3673ac..07e02fe9 100644 --- a/spec/accounting/models/batch_payment_details_spec.rb +++ b/spec/accounting/models/batch_payment_details_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/batch_payment_spec.rb b/spec/accounting/models/batch_payment_spec.rb index 97de6ad3..b6bd2edb 100644 --- a/spec/accounting/models/batch_payment_spec.rb +++ b/spec/accounting/models/batch_payment_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/batch_payments_spec.rb b/spec/accounting/models/batch_payments_spec.rb index 11c4e8d3..e990d18e 100644 --- a/spec/accounting/models/batch_payments_spec.rb +++ b/spec/accounting/models/batch_payments_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/bill_spec.rb b/spec/accounting/models/bill_spec.rb index 18ab4fdd..f4ae1a05 100644 --- a/spec/accounting/models/bill_spec.rb +++ b/spec/accounting/models/bill_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/branding_theme_spec.rb b/spec/accounting/models/branding_theme_spec.rb index 36ddb9be..64a1fa8b 100644 --- a/spec/accounting/models/branding_theme_spec.rb +++ b/spec/accounting/models/branding_theme_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/branding_themes_spec.rb b/spec/accounting/models/branding_themes_spec.rb index cb872283..306baad0 100644 --- a/spec/accounting/models/branding_themes_spec.rb +++ b/spec/accounting/models/branding_themes_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/cis_org_setting_spec.rb b/spec/accounting/models/cis_org_setting_spec.rb index 3ed96616..cbe9023e 100644 --- a/spec/accounting/models/cis_org_setting_spec.rb +++ b/spec/accounting/models/cis_org_setting_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/cis_setting_spec.rb b/spec/accounting/models/cis_setting_spec.rb index 60114f42..26c85520 100644 --- a/spec/accounting/models/cis_setting_spec.rb +++ b/spec/accounting/models/cis_setting_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/cis_settings_spec.rb b/spec/accounting/models/cis_settings_spec.rb index f45120e0..80374330 100644 --- a/spec/accounting/models/cis_settings_spec.rb +++ b/spec/accounting/models/cis_settings_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/contact_group_spec.rb b/spec/accounting/models/contact_group_spec.rb index 585be699..11f5fd76 100644 --- a/spec/accounting/models/contact_group_spec.rb +++ b/spec/accounting/models/contact_group_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/contact_groups_spec.rb b/spec/accounting/models/contact_groups_spec.rb index c337f049..8e46617e 100644 --- a/spec/accounting/models/contact_groups_spec.rb +++ b/spec/accounting/models/contact_groups_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/contact_person_spec.rb b/spec/accounting/models/contact_person_spec.rb index e8c1fcc0..58e5e69e 100644 --- a/spec/accounting/models/contact_person_spec.rb +++ b/spec/accounting/models/contact_person_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/contact_spec.rb b/spec/accounting/models/contact_spec.rb index 61cb168f..8c81d2e4 100644 --- a/spec/accounting/models/contact_spec.rb +++ b/spec/accounting/models/contact_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/contacts_spec.rb b/spec/accounting/models/contacts_spec.rb index bf1d38b2..659d9952 100644 --- a/spec/accounting/models/contacts_spec.rb +++ b/spec/accounting/models/contacts_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/country_code_spec.rb b/spec/accounting/models/country_code_spec.rb index 7fbea813..64f78c15 100644 --- a/spec/accounting/models/country_code_spec.rb +++ b/spec/accounting/models/country_code_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/credit_note_spec.rb b/spec/accounting/models/credit_note_spec.rb index cee1eac4..d46a4957 100644 --- a/spec/accounting/models/credit_note_spec.rb +++ b/spec/accounting/models/credit_note_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/credit_notes_spec.rb b/spec/accounting/models/credit_notes_spec.rb index a31ca2be..39e92967 100644 --- a/spec/accounting/models/credit_notes_spec.rb +++ b/spec/accounting/models/credit_notes_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/currencies_spec.rb b/spec/accounting/models/currencies_spec.rb index 5cc5c44e..246ab1bd 100644 --- a/spec/accounting/models/currencies_spec.rb +++ b/spec/accounting/models/currencies_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/currency_code_spec.rb b/spec/accounting/models/currency_code_spec.rb index b979c3a3..b3334557 100644 --- a/spec/accounting/models/currency_code_spec.rb +++ b/spec/accounting/models/currency_code_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/currency_spec.rb b/spec/accounting/models/currency_spec.rb index 9b3226d5..3039c39a 100644 --- a/spec/accounting/models/currency_spec.rb +++ b/spec/accounting/models/currency_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/element_spec.rb b/spec/accounting/models/element_spec.rb index 78f1bf46..331f971c 100644 --- a/spec/accounting/models/element_spec.rb +++ b/spec/accounting/models/element_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/employee_spec.rb b/spec/accounting/models/employee_spec.rb index 0f9a1ee5..8b5bbe1f 100644 --- a/spec/accounting/models/employee_spec.rb +++ b/spec/accounting/models/employee_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/employees_spec.rb b/spec/accounting/models/employees_spec.rb index 545767ca..449ae7ca 100644 --- a/spec/accounting/models/employees_spec.rb +++ b/spec/accounting/models/employees_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/error_spec.rb b/spec/accounting/models/error_spec.rb index 27b3fe2d..fd52e6f2 100644 --- a/spec/accounting/models/error_spec.rb +++ b/spec/accounting/models/error_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/expense_claim_spec.rb b/spec/accounting/models/expense_claim_spec.rb index 4c0e212d..fbbd266e 100644 --- a/spec/accounting/models/expense_claim_spec.rb +++ b/spec/accounting/models/expense_claim_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/expense_claims_spec.rb b/spec/accounting/models/expense_claims_spec.rb index 27b9f6bd..1505cdda 100644 --- a/spec/accounting/models/expense_claims_spec.rb +++ b/spec/accounting/models/expense_claims_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/external_link_spec.rb b/spec/accounting/models/external_link_spec.rb index 5237008f..7ae489ef 100644 --- a/spec/accounting/models/external_link_spec.rb +++ b/spec/accounting/models/external_link_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/history_record_spec.rb b/spec/accounting/models/history_record_spec.rb index ec10db47..58e0eb00 100644 --- a/spec/accounting/models/history_record_spec.rb +++ b/spec/accounting/models/history_record_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/history_records_spec.rb b/spec/accounting/models/history_records_spec.rb index 6d0cd10a..aebef945 100644 --- a/spec/accounting/models/history_records_spec.rb +++ b/spec/accounting/models/history_records_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/invoice_reminder_spec.rb b/spec/accounting/models/invoice_reminder_spec.rb index 66182b07..def57baa 100644 --- a/spec/accounting/models/invoice_reminder_spec.rb +++ b/spec/accounting/models/invoice_reminder_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/invoice_reminders_spec.rb b/spec/accounting/models/invoice_reminders_spec.rb index 98d52610..7dbcba0f 100644 --- a/spec/accounting/models/invoice_reminders_spec.rb +++ b/spec/accounting/models/invoice_reminders_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/invoice_spec.rb b/spec/accounting/models/invoice_spec.rb index c532812e..c75ea51a 100644 --- a/spec/accounting/models/invoice_spec.rb +++ b/spec/accounting/models/invoice_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/invoices_spec.rb b/spec/accounting/models/invoices_spec.rb index bf2ca68e..bbf53f62 100644 --- a/spec/accounting/models/invoices_spec.rb +++ b/spec/accounting/models/invoices_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/item_spec.rb b/spec/accounting/models/item_spec.rb index 9bc52750..80f5518e 100644 --- a/spec/accounting/models/item_spec.rb +++ b/spec/accounting/models/item_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/items_spec.rb b/spec/accounting/models/items_spec.rb index a8dd83b4..ffd25664 100644 --- a/spec/accounting/models/items_spec.rb +++ b/spec/accounting/models/items_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/journal_line_spec.rb b/spec/accounting/models/journal_line_spec.rb index 1d857c21..db04e577 100644 --- a/spec/accounting/models/journal_line_spec.rb +++ b/spec/accounting/models/journal_line_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/journal_spec.rb b/spec/accounting/models/journal_spec.rb index 52f0758a..94a545cb 100644 --- a/spec/accounting/models/journal_spec.rb +++ b/spec/accounting/models/journal_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/journals_spec.rb b/spec/accounting/models/journals_spec.rb index 0efa01db..3053a0fd 100644 --- a/spec/accounting/models/journals_spec.rb +++ b/spec/accounting/models/journals_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/line_amount_types_spec.rb b/spec/accounting/models/line_amount_types_spec.rb index 7e661c47..9f96dc5e 100644 --- a/spec/accounting/models/line_amount_types_spec.rb +++ b/spec/accounting/models/line_amount_types_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/line_item_spec.rb b/spec/accounting/models/line_item_spec.rb index bb769662..f683098f 100644 --- a/spec/accounting/models/line_item_spec.rb +++ b/spec/accounting/models/line_item_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/line_item_tracking_spec.rb b/spec/accounting/models/line_item_tracking_spec.rb index 25c934b3..0f69c5ec 100644 --- a/spec/accounting/models/line_item_tracking_spec.rb +++ b/spec/accounting/models/line_item_tracking_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/linked_transaction_spec.rb b/spec/accounting/models/linked_transaction_spec.rb index 8dcb79c7..47405cd8 100644 --- a/spec/accounting/models/linked_transaction_spec.rb +++ b/spec/accounting/models/linked_transaction_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/linked_transactions_spec.rb b/spec/accounting/models/linked_transactions_spec.rb index 73986fc1..d4e756ec 100644 --- a/spec/accounting/models/linked_transactions_spec.rb +++ b/spec/accounting/models/linked_transactions_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/manual_journal_line_spec.rb b/spec/accounting/models/manual_journal_line_spec.rb index dd80f228..73c0fd4c 100644 --- a/spec/accounting/models/manual_journal_line_spec.rb +++ b/spec/accounting/models/manual_journal_line_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/manual_journal_spec.rb b/spec/accounting/models/manual_journal_spec.rb index e52690be..afbee0bf 100644 --- a/spec/accounting/models/manual_journal_spec.rb +++ b/spec/accounting/models/manual_journal_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/manual_journals_spec.rb b/spec/accounting/models/manual_journals_spec.rb index fd004b38..13d6dcbb 100644 --- a/spec/accounting/models/manual_journals_spec.rb +++ b/spec/accounting/models/manual_journals_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/online_invoice_spec.rb b/spec/accounting/models/online_invoice_spec.rb index d1712b93..bf6e3aaf 100644 --- a/spec/accounting/models/online_invoice_spec.rb +++ b/spec/accounting/models/online_invoice_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/online_invoices_spec.rb b/spec/accounting/models/online_invoices_spec.rb index 78dc3c57..cf2f6ab8 100644 --- a/spec/accounting/models/online_invoices_spec.rb +++ b/spec/accounting/models/online_invoices_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/organisation_spec.rb b/spec/accounting/models/organisation_spec.rb index 69f5fe7c..744b0398 100644 --- a/spec/accounting/models/organisation_spec.rb +++ b/spec/accounting/models/organisation_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/organisations_spec.rb b/spec/accounting/models/organisations_spec.rb index 66d6a54b..6c3492e1 100644 --- a/spec/accounting/models/organisations_spec.rb +++ b/spec/accounting/models/organisations_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/overpayment_spec.rb b/spec/accounting/models/overpayment_spec.rb index b449609a..01ef7b9d 100644 --- a/spec/accounting/models/overpayment_spec.rb +++ b/spec/accounting/models/overpayment_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/overpayments_spec.rb b/spec/accounting/models/overpayments_spec.rb index aa3fc9da..6d474bd7 100644 --- a/spec/accounting/models/overpayments_spec.rb +++ b/spec/accounting/models/overpayments_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/payment_delete_spec.rb b/spec/accounting/models/payment_delete_spec.rb index d7e40344..c77eb66f 100644 --- a/spec/accounting/models/payment_delete_spec.rb +++ b/spec/accounting/models/payment_delete_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/payment_service_spec.rb b/spec/accounting/models/payment_service_spec.rb index 110753c0..1ba79ad0 100644 --- a/spec/accounting/models/payment_service_spec.rb +++ b/spec/accounting/models/payment_service_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/payment_services_spec.rb b/spec/accounting/models/payment_services_spec.rb index 8a83dfd2..e7c7291d 100644 --- a/spec/accounting/models/payment_services_spec.rb +++ b/spec/accounting/models/payment_services_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/payment_spec.rb b/spec/accounting/models/payment_spec.rb index 92e974a4..09b76ea0 100644 --- a/spec/accounting/models/payment_spec.rb +++ b/spec/accounting/models/payment_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 @@ -172,6 +172,12 @@ end end + describe 'test attribute "status_attribute_string"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "validation_errors"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/spec/accounting/models/payment_term_spec.rb b/spec/accounting/models/payment_term_spec.rb index 216e6aa4..d42226ec 100644 --- a/spec/accounting/models/payment_term_spec.rb +++ b/spec/accounting/models/payment_term_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/payment_term_type_spec.rb b/spec/accounting/models/payment_term_type_spec.rb index 84ba53df..b848605f 100644 --- a/spec/accounting/models/payment_term_type_spec.rb +++ b/spec/accounting/models/payment_term_type_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/payments_spec.rb b/spec/accounting/models/payments_spec.rb index a67961d9..519857f9 100644 --- a/spec/accounting/models/payments_spec.rb +++ b/spec/accounting/models/payments_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/phone_spec.rb b/spec/accounting/models/phone_spec.rb index a5dfffdd..4c3a05bf 100644 --- a/spec/accounting/models/phone_spec.rb +++ b/spec/accounting/models/phone_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/prepayment_spec.rb b/spec/accounting/models/prepayment_spec.rb index f8d2da16..047b2887 100644 --- a/spec/accounting/models/prepayment_spec.rb +++ b/spec/accounting/models/prepayment_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/prepayments_spec.rb b/spec/accounting/models/prepayments_spec.rb index ed76c368..664f4597 100644 --- a/spec/accounting/models/prepayments_spec.rb +++ b/spec/accounting/models/prepayments_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/purchase_order_spec.rb b/spec/accounting/models/purchase_order_spec.rb index 2ee11d49..635e7eec 100644 --- a/spec/accounting/models/purchase_order_spec.rb +++ b/spec/accounting/models/purchase_order_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/purchase_orders_spec.rb b/spec/accounting/models/purchase_orders_spec.rb index d322453c..84613045 100644 --- a/spec/accounting/models/purchase_orders_spec.rb +++ b/spec/accounting/models/purchase_orders_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/purchase_spec.rb b/spec/accounting/models/purchase_spec.rb index da6f7841..c961bd23 100644 --- a/spec/accounting/models/purchase_spec.rb +++ b/spec/accounting/models/purchase_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/quote_line_amount_types_spec.rb b/spec/accounting/models/quote_line_amount_types_spec.rb index 86a699a0..fc4abc58 100644 --- a/spec/accounting/models/quote_line_amount_types_spec.rb +++ b/spec/accounting/models/quote_line_amount_types_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/quote_spec.rb b/spec/accounting/models/quote_spec.rb index 5fec9c1e..e2bdf399 100644 --- a/spec/accounting/models/quote_spec.rb +++ b/spec/accounting/models/quote_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/quote_status_codes_spec.rb b/spec/accounting/models/quote_status_codes_spec.rb index 932665d5..2651b381 100644 --- a/spec/accounting/models/quote_status_codes_spec.rb +++ b/spec/accounting/models/quote_status_codes_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/quotes_spec.rb b/spec/accounting/models/quotes_spec.rb index a6d7d9aa..4d3253d5 100644 --- a/spec/accounting/models/quotes_spec.rb +++ b/spec/accounting/models/quotes_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/receipt_spec.rb b/spec/accounting/models/receipt_spec.rb index e75ad2c1..9633b070 100644 --- a/spec/accounting/models/receipt_spec.rb +++ b/spec/accounting/models/receipt_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/receipts_spec.rb b/spec/accounting/models/receipts_spec.rb index 17103168..b5dcc7f3 100644 --- a/spec/accounting/models/receipts_spec.rb +++ b/spec/accounting/models/receipts_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/repeating_invoice_spec.rb b/spec/accounting/models/repeating_invoice_spec.rb index 6b9b078f..8c7c06c9 100644 --- a/spec/accounting/models/repeating_invoice_spec.rb +++ b/spec/accounting/models/repeating_invoice_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/repeating_invoices_spec.rb b/spec/accounting/models/repeating_invoices_spec.rb index 7f1e6534..dbf2e966 100644 --- a/spec/accounting/models/repeating_invoices_spec.rb +++ b/spec/accounting/models/repeating_invoices_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/report_attribute_spec.rb b/spec/accounting/models/report_attribute_spec.rb index 160c46ed..3bcd13b4 100644 --- a/spec/accounting/models/report_attribute_spec.rb +++ b/spec/accounting/models/report_attribute_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/report_cell_spec.rb b/spec/accounting/models/report_cell_spec.rb index 478f91a5..91a3003a 100644 --- a/spec/accounting/models/report_cell_spec.rb +++ b/spec/accounting/models/report_cell_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/report_fields_spec.rb b/spec/accounting/models/report_fields_spec.rb index 37bfb0b0..15060bc0 100644 --- a/spec/accounting/models/report_fields_spec.rb +++ b/spec/accounting/models/report_fields_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/report_row_spec.rb b/spec/accounting/models/report_row_spec.rb index bbcdbb61..face5ba6 100644 --- a/spec/accounting/models/report_row_spec.rb +++ b/spec/accounting/models/report_row_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/report_rows_spec.rb b/spec/accounting/models/report_rows_spec.rb index b34893af..b3533c86 100644 --- a/spec/accounting/models/report_rows_spec.rb +++ b/spec/accounting/models/report_rows_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/report_spec.rb b/spec/accounting/models/report_spec.rb index 65909847..9f9ba7aa 100644 --- a/spec/accounting/models/report_spec.rb +++ b/spec/accounting/models/report_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/report_with_row_spec.rb b/spec/accounting/models/report_with_row_spec.rb index bf634f35..739efce9 100644 --- a/spec/accounting/models/report_with_row_spec.rb +++ b/spec/accounting/models/report_with_row_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/report_with_rows_spec.rb b/spec/accounting/models/report_with_rows_spec.rb index 79b5ee6d..673dae20 100644 --- a/spec/accounting/models/report_with_rows_spec.rb +++ b/spec/accounting/models/report_with_rows_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/reports_spec.rb b/spec/accounting/models/reports_spec.rb index 9922b9f6..d647a539 100644 --- a/spec/accounting/models/reports_spec.rb +++ b/spec/accounting/models/reports_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/request_empty_spec.rb b/spec/accounting/models/request_empty_spec.rb index 5a9319ec..2c2a461a 100644 --- a/spec/accounting/models/request_empty_spec.rb +++ b/spec/accounting/models/request_empty_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/row_type_spec.rb b/spec/accounting/models/row_type_spec.rb index f3d8a705..dcdcad3d 100644 --- a/spec/accounting/models/row_type_spec.rb +++ b/spec/accounting/models/row_type_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/sales_tracking_category_spec.rb b/spec/accounting/models/sales_tracking_category_spec.rb index af38a5ed..a8edfe75 100644 --- a/spec/accounting/models/sales_tracking_category_spec.rb +++ b/spec/accounting/models/sales_tracking_category_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/schedule_spec.rb b/spec/accounting/models/schedule_spec.rb index b5679710..97e1e742 100644 --- a/spec/accounting/models/schedule_spec.rb +++ b/spec/accounting/models/schedule_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/tax_component_spec.rb b/spec/accounting/models/tax_component_spec.rb index 14f4ccfc..0a3f482e 100644 --- a/spec/accounting/models/tax_component_spec.rb +++ b/spec/accounting/models/tax_component_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/tax_rate_spec.rb b/spec/accounting/models/tax_rate_spec.rb index 9dc83e87..c93e753a 100644 --- a/spec/accounting/models/tax_rate_spec.rb +++ b/spec/accounting/models/tax_rate_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 @@ -63,7 +63,7 @@ describe 'test attribute "report_tax_type"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["AVALARA", "BASEXCLUDED", "CAPITALSALESOUTPUT", "CAPITALEXPENSESINPUT", "ECOUTPUT", "ECOUTPUTSERVICES", "ECINPUT", "ECACQUISITIONS", "EXEMPTEXPENSES", "EXEMPTINPUT", "EXEMPTOUTPUT", "GSTONIMPORTS", "INPUT", "INPUTTAXED", "MOSSSALES", "NONE", "NONEOUTPUT", "OUTPUT", "PURCHASESINPUT", "SALESOUTPUT", "EXEMPTCAPITAL", "EXEMPTEXPORT", "CAPITALEXINPUT", "GSTONCAPIMPORTS", "GSTONCAPITALIMPORTS", "REVERSECHARGES", "PAYMENTS", "INVOICE", "CASH", "ACCRUAL", "FLATRATECASH", "FLATRATEACCRUAL", "ACCRUALS", "TXCA", "SRCAS", "DSOUTPUT", "BLINPUT2", "EPINPUT", "IMINPUT2", "MEINPUT", "IGDSINPUT2", "ESN33OUTPUT", "OPINPUT", "OSOUTPUT", "TXN33INPUT", "TXESSINPUT", "TXREINPUT", "TXPETINPUT", "NRINPUT", "ES33OUTPUT", "ZERORATEDINPUT", "ZERORATEDOUTPUT"]) + # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["AVALARA", "BASEXCLUDED", "CAPITALSALESOUTPUT", "CAPITALEXPENSESINPUT", "ECOUTPUT", "ECOUTPUTSERVICES", "ECINPUT", "ECACQUISITIONS", "EXEMPTEXPENSES", "EXEMPTINPUT", "EXEMPTOUTPUT", "GSTONIMPORTS", "INPUT", "INPUTTAXED", "MOSSSALES", "NONE", "NONEOUTPUT", "OUTPUT", "PURCHASESINPUT", "SALESOUTPUT", "EXEMPTCAPITAL", "EXEMPTEXPORT", "CAPITALEXINPUT", "GSTONCAPIMPORTS", "GSTONCAPITALIMPORTS", "REVERSECHARGES", "PAYMENTS", "INVOICE", "CASH", "ACCRUAL", "FLATRATECASH", "FLATRATEACCRUAL", "ACCRUALS", "TXCA", "SRCAS", "DSOUTPUT", "BLINPUT2", "EPINPUT", "IMINPUT2", "MEINPUT", "IGDSINPUT2", "ESN33OUTPUT", "OPINPUT", "OSOUTPUT", "TXN33INPUT", "TXESSINPUT", "TXREINPUT", "TXPETINPUT", "NRINPUT", "ES33OUTPUT", "ZERORATEDINPUT", "ZERORATEDOUTPUT", "DRCHARGESUPPLY", "DRCHARGE"]) # validator.allowable_values.each do |value| # expect { @instance.report_tax_type = value }.not_to raise_error # end diff --git a/spec/accounting/models/tax_rates_spec.rb b/spec/accounting/models/tax_rates_spec.rb index 95a629cd..e2fe1453 100644 --- a/spec/accounting/models/tax_rates_spec.rb +++ b/spec/accounting/models/tax_rates_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/tax_type_spec.rb b/spec/accounting/models/tax_type_spec.rb index c4d3af1f..b3a93022 100644 --- a/spec/accounting/models/tax_type_spec.rb +++ b/spec/accounting/models/tax_type_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/ten_nintey_nine_contact_spec.rb b/spec/accounting/models/ten_nintey_nine_contact_spec.rb index b312cffb..ea961c45 100644 --- a/spec/accounting/models/ten_nintey_nine_contact_spec.rb +++ b/spec/accounting/models/ten_nintey_nine_contact_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/time_zone_spec.rb b/spec/accounting/models/time_zone_spec.rb index 6464a113..5cca8c36 100644 --- a/spec/accounting/models/time_zone_spec.rb +++ b/spec/accounting/models/time_zone_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/tracking_categories_spec.rb b/spec/accounting/models/tracking_categories_spec.rb index 10df9fca..265f1925 100644 --- a/spec/accounting/models/tracking_categories_spec.rb +++ b/spec/accounting/models/tracking_categories_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/tracking_category_spec.rb b/spec/accounting/models/tracking_category_spec.rb index ae2e77a1..c90170ed 100644 --- a/spec/accounting/models/tracking_category_spec.rb +++ b/spec/accounting/models/tracking_category_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/tracking_option_spec.rb b/spec/accounting/models/tracking_option_spec.rb index a717d11e..dba615f2 100644 --- a/spec/accounting/models/tracking_option_spec.rb +++ b/spec/accounting/models/tracking_option_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/tracking_options_spec.rb b/spec/accounting/models/tracking_options_spec.rb index ac899b5c..7d6487f3 100644 --- a/spec/accounting/models/tracking_options_spec.rb +++ b/spec/accounting/models/tracking_options_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/user_spec.rb b/spec/accounting/models/user_spec.rb index 3bed1526..692d9864 100644 --- a/spec/accounting/models/user_spec.rb +++ b/spec/accounting/models/user_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/users_spec.rb b/spec/accounting/models/users_spec.rb index c22fdf67..1a3dc779 100644 --- a/spec/accounting/models/users_spec.rb +++ b/spec/accounting/models/users_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/accounting/models/validation_error_spec.rb b/spec/accounting/models/validation_error_spec.rb index f1a26410..39f0a7d5 100644 --- a/spec/accounting/models/validation_error_spec.rb +++ b/spec/accounting/models/validation_error_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/api_client_spec.rb b/spec/api_client_spec.rb index f5868f46..3793d524 100644 --- a/spec/api_client_spec.rb +++ b/spec/api_client_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/assets/api/asset_api_spec.rb b/spec/assets/api/asset_api_spec.rb index ca40d504..a474b1e7 100644 --- a/spec/assets/api/asset_api_spec.rb +++ b/spec/assets/api/asset_api_spec.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/assets/models/asset_spec.rb b/spec/assets/models/asset_spec.rb index 5b31f9da..029d9303 100644 --- a/spec/assets/models/asset_spec.rb +++ b/spec/assets/models/asset_spec.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/assets/models/asset_status_query_param_spec.rb b/spec/assets/models/asset_status_query_param_spec.rb index aeaae00d..8a373f8b 100644 --- a/spec/assets/models/asset_status_query_param_spec.rb +++ b/spec/assets/models/asset_status_query_param_spec.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/assets/models/asset_status_spec.rb b/spec/assets/models/asset_status_spec.rb index 1b085cd0..1cf350a7 100644 --- a/spec/assets/models/asset_status_spec.rb +++ b/spec/assets/models/asset_status_spec.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/assets/models/asset_type_spec.rb b/spec/assets/models/asset_type_spec.rb index 4e0d6104..ca6a3ac9 100644 --- a/spec/assets/models/asset_type_spec.rb +++ b/spec/assets/models/asset_type_spec.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/assets/models/assets_spec.rb b/spec/assets/models/assets_spec.rb index 47c901fb..8cd8c4af 100644 --- a/spec/assets/models/assets_spec.rb +++ b/spec/assets/models/assets_spec.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/assets/models/book_depreciation_detail_spec.rb b/spec/assets/models/book_depreciation_detail_spec.rb index e88a2260..742b6bc5 100644 --- a/spec/assets/models/book_depreciation_detail_spec.rb +++ b/spec/assets/models/book_depreciation_detail_spec.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/assets/models/book_depreciation_setting_spec.rb b/spec/assets/models/book_depreciation_setting_spec.rb index aa294871..bb78bce6 100644 --- a/spec/assets/models/book_depreciation_setting_spec.rb +++ b/spec/assets/models/book_depreciation_setting_spec.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/assets/models/error_spec.rb b/spec/assets/models/error_spec.rb index 828876ee..5122d3ca 100644 --- a/spec/assets/models/error_spec.rb +++ b/spec/assets/models/error_spec.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/assets/models/field_validation_errors_element_spec.rb b/spec/assets/models/field_validation_errors_element_spec.rb index 603ab15c..65475a76 100644 --- a/spec/assets/models/field_validation_errors_element_spec.rb +++ b/spec/assets/models/field_validation_errors_element_spec.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/assets/models/pagination_spec.rb b/spec/assets/models/pagination_spec.rb index dd45369a..30903bd5 100644 --- a/spec/assets/models/pagination_spec.rb +++ b/spec/assets/models/pagination_spec.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/assets/models/resource_validation_errors_element_spec.rb b/spec/assets/models/resource_validation_errors_element_spec.rb index eea5b0a7..e09eea8d 100644 --- a/spec/assets/models/resource_validation_errors_element_spec.rb +++ b/spec/assets/models/resource_validation_errors_element_spec.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/assets/models/setting_spec.rb b/spec/assets/models/setting_spec.rb index 85cbfb2a..202f733a 100644 --- a/spec/assets/models/setting_spec.rb +++ b/spec/assets/models/setting_spec.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/configuration_spec.rb b/spec/configuration_spec.rb index 37d3cf66..a201299c 100644 --- a/spec/configuration_spec.rb +++ b/spec/configuration_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index bce564b9..daa88568 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0 diff --git a/xero-ruby.gemspec b/xero-ruby.gemspec index da652a0b..f905e45c 100644 --- a/xero-ruby.gemspec +++ b/xero-ruby.gemspec @@ -5,7 +5,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.1.0 +The version of the OpenAPI document: 2.1.3 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.0