From 36dd93c65f9cbb690579bb1116d164b2ce839040 Mon Sep 17 00:00:00 2001 From: serknight Date: Wed, 26 Aug 2020 11:02:02 -0600 Subject: [PATCH 1/3] pr review for date as string --- docs/accounting/Account.md | 4 +-- docs/accounting/Allocation.md | 2 +- docs/accounting/BankTransaction.md | 8 ++--- docs/accounting/BankTransfer.md | 6 ++-- docs/accounting/BatchPayment.md | 6 ++-- docs/accounting/BrandingTheme.md | 4 +-- docs/accounting/Contact.md | 4 +-- docs/accounting/CreditNote.md | 8 ++--- docs/accounting/Employee.md | 4 +-- docs/accounting/ExpenseClaim.md | 8 ++--- docs/accounting/HistoryRecord.md | 4 +-- docs/accounting/Invoice.md | 14 ++++---- docs/accounting/Item.md | 4 +-- docs/accounting/Journal.md | 6 ++-- docs/accounting/LinkedTransaction.md | 4 +-- docs/accounting/ManualJournal.md | 6 ++-- docs/accounting/Organisation.md | 8 ++--- docs/accounting/Overpayment.md | 6 ++-- docs/accounting/Payment.md | 6 ++-- docs/accounting/Prepayment.md | 6 ++-- docs/accounting/PurchaseOrder.md | 10 +++--- docs/accounting/Quote.md | 8 ++--- docs/accounting/Receipt.md | 6 ++-- docs/accounting/Report.md | 4 +-- docs/accounting/ReportWithRow.md | 4 +-- docs/accounting/Schedule.md | 6 ++-- docs/accounting/User.md | 4 +-- lib/xero-ruby.rb | 2 +- lib/xero-ruby/api/accounting_api.rb | 2 +- lib/xero-ruby/api/asset_api.rb | 2 +- lib/xero-ruby/api/project_api.rb | 2 +- lib/xero-ruby/api_client.rb | 2 +- lib/xero-ruby/api_error.rb | 2 +- lib/xero-ruby/configuration.rb | 4 +-- lib/xero-ruby/models/accounting/account.rb | 7 ++-- .../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 | 4 +-- .../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 | 11 ++---- .../models/accounting/bank_transactions.rb | 2 +- .../models/accounting/bank_transfer.rb | 6 ++-- .../models/accounting/bank_transfers.rb | 2 +- .../models/accounting/batch_payment.rb | 6 ++-- .../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 | 4 +-- .../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 | 4 +-- .../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 | 8 ++--- .../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 | 2 +- lib/xero-ruby/models/accounting/element.rb | 2 +- lib/xero-ruby/models/accounting/employee.rb | 9 ++--- lib/xero-ruby/models/accounting/employees.rb | 2 +- lib/xero-ruby/models/accounting/error.rb | 2 +- .../models/accounting/expense_claim.rb | 8 ++--- .../models/accounting/expense_claims.rb | 2 +- .../models/accounting/external_link.rb | 2 +- .../models/accounting/history_record.rb | 4 +-- .../models/accounting/history_records.rb | 2 +- lib/xero-ruby/models/accounting/invoice.rb | 14 ++++---- .../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 | 4 +-- lib/xero-ruby/models/accounting/items.rb | 2 +- lib/xero-ruby/models/accounting/journal.rb | 6 ++-- .../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 | 4 +-- .../models/accounting/linked_transactions.rb | 2 +- .../models/accounting/manual_journal.rb | 6 ++-- .../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 | 36 +++++++++---------- .../models/accounting/organisations.rb | 2 +- .../models/accounting/overpayment.rb | 6 ++-- .../models/accounting/overpayments.rb | 2 +- lib/xero-ruby/models/accounting/payment.rb | 6 ++-- .../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 | 6 ++-- .../models/accounting/prepayments.rb | 2 +- lib/xero-ruby/models/accounting/purchase.rb | 2 +- .../models/accounting/purchase_order.rb | 10 +++--- .../models/accounting/purchase_orders.rb | 2 +- lib/xero-ruby/models/accounting/quote.rb | 8 ++--- .../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 | 6 ++-- 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 | 4 +-- .../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 | 4 +-- .../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 | 8 ++--- .../models/accounting/tax_component.rb | 2 +- lib/xero-ruby/models/accounting/tax_rate.rb | 2 +- lib/xero-ruby/models/accounting/tax_rates.rb | 2 +- lib/xero-ruby/models/accounting/tax_type.rb | 2 +- .../accounting/ten_ninety_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 | 4 +-- 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/models/projects/amount.rb | 2 +- lib/xero-ruby/models/projects/charge_type.rb | 2 +- .../models/projects/currency_code.rb | 2 +- lib/xero-ruby/models/projects/error.rb | 2 +- lib/xero-ruby/models/projects/pagination.rb | 2 +- lib/xero-ruby/models/projects/project.rb | 2 +- .../projects/project_create_or_update.rb | 2 +- .../models/projects/project_patch.rb | 2 +- .../models/projects/project_status.rb | 2 +- lib/xero-ruby/models/projects/project_user.rb | 2 +- .../models/projects/project_users.rb | 2 +- lib/xero-ruby/models/projects/projects.rb | 2 +- lib/xero-ruby/models/projects/task.rb | 2 +- .../models/projects/task_create_or_update.rb | 2 +- lib/xero-ruby/models/projects/tasks.rb | 2 +- lib/xero-ruby/models/projects/time_entries.rb | 2 +- lib/xero-ruby/models/projects/time_entry.rb | 2 +- .../projects/time_entry_create_or_update.rb | 2 +- lib/xero-ruby/version.rb | 2 +- xero-ruby.gemspec | 2 +- 180 files changed, 305 insertions(+), 312 deletions(-) diff --git a/docs/accounting/Account.md b/docs/accounting/Account.md index 2acad17d..698540ac 100644 --- a/docs/accounting/Account.md +++ b/docs/accounting/Account.md @@ -21,7 +21,7 @@ Name | Type | Description | Notes **reporting_code** | **String** | Shown if set | [optional] **reporting_code_name** | **String** | Shown if set | [optional] **has_attachments** | **Boolean** | boolean to indicate if an account has an attachment (read only) | [optional] [default to false] -**updated_date_utc** | **DateTime** | Last modified date UTC format | [optional] +**updated_date_utc** | **String** | Last modified date UTC format | [optional] **add_to_watchlist** | **Boolean** | Boolean – describes whether the account is shown in the watchlist widget on the dashboard | [optional] **validation_errors** | [**Array<ValidationError>**](ValidationError.md) | Displays array of validation error messages from the API | [optional] @@ -47,7 +47,7 @@ instance = XeroRuby::Accounting::Account.new(code: 4400, reporting_code: null, reporting_code_name: null, has_attachments: false, - updated_date_utc: null, + updated_date_utc: /Date(1573755038314)/, add_to_watchlist: null, validation_errors: null) ``` diff --git a/docs/accounting/Allocation.md b/docs/accounting/Allocation.md index ef621144..97d20cc7 100644 --- a/docs/accounting/Allocation.md +++ b/docs/accounting/Allocation.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **prepayment** | [**Prepayment**](Prepayment.md) | | [optional] **credit_note** | [**CreditNote**](CreditNote.md) | | [optional] **amount** | **Float** | the amount being applied to the invoice | -**date** | **Date** | the date the allocation is applied YYYY-MM-DD. | +**date** | **String** | the date the allocation is applied YYYY-MM-DD. | **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] diff --git a/docs/accounting/BankTransaction.md b/docs/accounting/BankTransaction.md index ef09baaa..360144f5 100644 --- a/docs/accounting/BankTransaction.md +++ b/docs/accounting/BankTransaction.md @@ -5,11 +5,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **String** | See Bank Transaction Types | -**contact** | [**Contact**](Contact.md) | | +**contact** | [**Contact**](Contact.md) | | [optional] **line_items** | [**Array<LineItem>**](LineItem.md) | See LineItems | **bank_account** | [**Account**](Account.md) | | **is_reconciled** | **Boolean** | Boolean to show if transaction is reconciled | [optional] -**date** | **Date** | Date of transaction – YYYY-MM-DD | [optional] +**date** | **String** | Date of transaction – YYYY-MM-DD | [optional] **reference** | **String** | Reference for the transaction. Only supported for SPEND and RECEIVE transactions. | [optional] **currency_code** | [**CurrencyCode**](CurrencyCode.md) | | [optional] **currency_rate** | **Float** | Exchange rate to base currency when money is spent or received. e.g.0.7500 Only used for bank transactions in non base currency. If this isn’t specified for non base currency accounts then either the user-defined rate (preference) or the XE.com day rate will be used. Setting currency is only supported on overpayments. | [optional] @@ -22,7 +22,7 @@ Name | Type | Description | Notes **bank_transaction_id** | **String** | Xero generated unique identifier for bank transaction | [optional] **prepayment_id** | **String** | Xero generated unique identifier for a Prepayment. This will be returned on BankTransactions with a Type of SPEND-PREPAYMENT or RECEIVE-PREPAYMENT | [optional] **overpayment_id** | **String** | Xero generated unique identifier for an Overpayment. This will be returned on BankTransactions with a Type of SPEND-OVERPAYMENT or RECEIVE-OVERPAYMENT | [optional] -**updated_date_utc** | **DateTime** | Last modified date UTC format | [optional] +**updated_date_utc** | **String** | Last modified date UTC format | [optional] **has_attachments** | **Boolean** | Boolean to indicate if a bank transaction has an attachment | [optional] [default to false] **status_attribute_string** | **String** | A string to indicate if a invoice status | [optional] **validation_errors** | [**Array<ValidationError>**](ValidationError.md) | Displays array of validation error messages from the API | [optional] @@ -50,7 +50,7 @@ instance = XeroRuby::Accounting::BankTransaction.new(type: null, bank_transaction_id: 00000000-0000-0000-0000-000000000000, prepayment_id: 00000000-0000-0000-0000-000000000000, overpayment_id: 00000000-0000-0000-0000-000000000000, - updated_date_utc: null, + updated_date_utc: /Date(1573755038314)/, has_attachments: false, status_attribute_string: null, validation_errors: null) diff --git a/docs/accounting/BankTransfer.md b/docs/accounting/BankTransfer.md index 0d783530..0fe15298 100644 --- a/docs/accounting/BankTransfer.md +++ b/docs/accounting/BankTransfer.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **from_bank_account** | [**Account**](Account.md) | | **to_bank_account** | [**Account**](Account.md) | | **amount** | **Float** | amount of the transaction | -**date** | **Date** | The date of the Transfer YYYY-MM-DD | [optional] +**date** | **String** | The date of the Transfer YYYY-MM-DD | [optional] **bank_transfer_id** | **String** | The identifier of the Bank Transfer | [optional] **currency_rate** | **Float** | The currency rate | [optional] **from_bank_transaction_id** | **String** | The Bank Transaction ID for the source account | [optional] **to_bank_transaction_id** | **String** | The Bank Transaction ID for the destination account | [optional] **has_attachments** | **Boolean** | Boolean to indicate if a Bank Transfer has an attachment | [optional] [default to false] -**created_date_utc** | **DateTime** | UTC timestamp of creation date of bank transfer | [optional] +**created_date_utc** | **String** | UTC timestamp of creation date of bank transfer | [optional] **validation_errors** | [**Array<ValidationError>**](ValidationError.md) | Displays array of validation error messages from the API | [optional] ## Code Sample @@ -30,7 +30,7 @@ instance = XeroRuby::Accounting::BankTransfer.new(from_bank_account: null, from_bank_transaction_id: null, to_bank_transaction_id: null, has_attachments: false, - created_date_utc: null, + created_date_utc: /Date(1573755038314)/, validation_errors: null) ``` diff --git a/docs/accounting/BatchPayment.md b/docs/accounting/BatchPayment.md index 992f92a5..ffc5c19e 100644 --- a/docs/accounting/BatchPayment.md +++ b/docs/accounting/BatchPayment.md @@ -12,13 +12,13 @@ Name | Type | Description | Notes **narrative** | **String** | (UK Only) Only shows on the statement line in Xero. Max length =18 | [optional] **batch_payment_id** | **String** | The Xero generated unique identifier for the bank transaction (read-only) | [optional] **date_string** | **String** | Date the payment is being made (YYYY-MM-DD) e.g. 2009-09-06 | [optional] -**date** | **Date** | Date the payment is being made (YYYY-MM-DD) e.g. 2009-09-06 | [optional] +**date** | **String** | Date the payment is being made (YYYY-MM-DD) e.g. 2009-09-06 | [optional] **amount** | **Float** | The amount of the payment. Must be less than or equal to the outstanding amount owing on the invoice e.g. 200.00 | [optional] **payments** | [**Array<Payment>**](Payment.md) | An array of payments | [optional] **type** | **String** | PAYBATCH for bill payments or RECBATCH for sales invoice payments (read-only) | [optional] **status** | **String** | AUTHORISED or DELETED (read-only). New batch payments will have a status of AUTHORISED. It is not possible to delete batch payments via the API. | [optional] **total_amount** | **String** | The total of the payments that make up the batch (read-only) | [optional] -**updated_date_utc** | **DateTime** | UTC timestamp of last update to the payment | [optional] +**updated_date_utc** | **String** | UTC timestamp of last update to the payment | [optional] **is_reconciled** | **String** | Booelan that tells you if the batch payment has been reconciled (read-only) | [optional] ## Code Sample @@ -40,7 +40,7 @@ instance = XeroRuby::Accounting::BatchPayment.new(account: null, type: null, status: null, total_amount: null, - updated_date_utc: null, + updated_date_utc: /Date(1573755038314)/, is_reconciled: null) ``` diff --git a/docs/accounting/BrandingTheme.md b/docs/accounting/BrandingTheme.md index 655662f9..8f9b9649 100644 --- a/docs/accounting/BrandingTheme.md +++ b/docs/accounting/BrandingTheme.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **logo_url** | **String** | The location of the image file used as the logo on this branding theme | [optional] **type** | **String** | Always INVOICE | [optional] **sort_order** | **Integer** | Integer – ranked order of branding theme. The default branding theme has a value of 0 | [optional] -**created_date_utc** | **DateTime** | UTC timestamp of creation date of branding theme | [optional] +**created_date_utc** | **String** | UTC timestamp of creation date of branding theme | [optional] ## Code Sample @@ -21,7 +21,7 @@ instance = XeroRuby::Accounting::BrandingTheme.new(branding_theme_id: null, logo_url: null, type: null, sort_order: null, - created_date_utc: null) + created_date_utc: /Date(1573755038314)/) ``` diff --git a/docs/accounting/Contact.md b/docs/accounting/Contact.md index e9aacf1d..87aafd8f 100644 --- a/docs/accounting/Contact.md +++ b/docs/accounting/Contact.md @@ -31,7 +31,7 @@ Name | Type | Description | Notes **tracking_category_name** | **String** | The name of the Tracking Category assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories | [optional] **tracking_category_option** | **String** | The name of the Tracking Option assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories | [optional] **payment_terms** | [**PaymentTerm**](PaymentTerm.md) | | [optional] -**updated_date_utc** | **DateTime** | UTC timestamp of last update to contact | [optional] +**updated_date_utc** | **String** | UTC timestamp of last update to contact | [optional] **contact_groups** | [**Array<ContactGroup>**](ContactGroup.md) | Displays which contact groups a contact is included in | [optional] **website** | **String** | Website address for contact (read only) | [optional] **branding_theme** | [**BrandingTheme**](BrandingTheme.md) | | [optional] @@ -76,7 +76,7 @@ instance = XeroRuby::Accounting::Contact.new(contact_id: null, tracking_category_name: null, tracking_category_option: null, payment_terms: null, - updated_date_utc: null, + updated_date_utc: /Date(1573755038314)/, contact_groups: null, website: null, branding_theme: null, diff --git a/docs/accounting/CreditNote.md b/docs/accounting/CreditNote.md index e235b2cb..925e621d 100644 --- a/docs/accounting/CreditNote.md +++ b/docs/accounting/CreditNote.md @@ -6,16 +6,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **String** | See Credit Note Types | [optional] **contact** | [**Contact**](Contact.md) | | [optional] -**date** | **Date** | The date the credit note is issued YYYY-MM-DD. If the Date element is not specified then it will default to the current date based on the timezone setting of the organisation | [optional] +**date** | **String** | The date the credit note is issued YYYY-MM-DD. If the Date element is not specified then it will default to the current date based on the timezone setting of the organisation | [optional] **status** | **String** | See Credit Note Status Codes | [optional] **line_amount_types** | [**LineAmountTypes**](LineAmountTypes.md) | | [optional] **line_items** | [**Array<LineItem>**](LineItem.md) | See Invoice Line Items | [optional] **sub_total** | **Float** | The subtotal of the credit note excluding taxes | [optional] **total_tax** | **Float** | The total tax on the credit note | [optional] **total** | **Float** | The total of the Credit Note(subtotal + total tax) | [optional] -**updated_date_utc** | **DateTime** | UTC timestamp of last update to the credit note | [optional] +**updated_date_utc** | **String** | UTC timestamp of last update to the credit note | [optional] **currency_code** | [**CurrencyCode**](CurrencyCode.md) | | [optional] -**fully_paid_on_date** | **Date** | Date when credit note was fully paid(UTC format) | [optional] +**fully_paid_on_date** | **String** | Date when credit note was fully paid(UTC format) | [optional] **credit_note_id** | **String** | Xero generated unique identifier | [optional] **credit_note_number** | **String** | ACCRECCREDIT – Unique alpha numeric code identifying credit note (when missing will auto-generate from your Organisation Invoice Settings) | [optional] **reference** | **String** | ACCRECCREDIT only – additional reference number | [optional] @@ -45,7 +45,7 @@ instance = XeroRuby::Accounting::CreditNote.new(type: null, sub_total: null, total_tax: null, total: null, - updated_date_utc: null, + updated_date_utc: /Date(1573755038314)/, currency_code: null, fully_paid_on_date: null, credit_note_id: null, diff --git a/docs/accounting/Employee.md b/docs/accounting/Employee.md index ac0f0708..470fa7ea 100644 --- a/docs/accounting/Employee.md +++ b/docs/accounting/Employee.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **first_name** | **String** | First name of an employee (max length = 255) | [optional] **last_name** | **String** | Last name of an employee (max length = 255) | [optional] **external_link** | [**ExternalLink**](ExternalLink.md) | | [optional] -**updated_date_utc** | **DateTime** | | [optional] +**updated_date_utc** | **String** | | [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] @@ -23,7 +23,7 @@ instance = XeroRuby::Accounting::Employee.new(employee_id: null, first_name: null, last_name: null, external_link: null, - updated_date_utc: null, + updated_date_utc: /Date(1573755038314)/, status_attribute_string: ERROR, validation_errors: null) ``` diff --git a/docs/accounting/ExpenseClaim.md b/docs/accounting/ExpenseClaim.md index b5e7c7d6..1c4b4928 100644 --- a/docs/accounting/ExpenseClaim.md +++ b/docs/accounting/ExpenseClaim.md @@ -9,12 +9,12 @@ Name | Type | Description | Notes **payments** | [**Array<Payment>**](Payment.md) | See Payments | [optional] **user** | [**User**](User.md) | | [optional] **receipts** | [**Array<Receipt>**](Receipt.md) | | [optional] -**updated_date_utc** | **DateTime** | Last modified date UTC format | [optional] +**updated_date_utc** | **String** | Last modified date UTC format | [optional] **total** | **Float** | The total of an expense claim being paid | [optional] **amount_due** | **Float** | The amount due to be paid for an expense claim | [optional] **amount_paid** | **Float** | The amount still to pay for an expense claim | [optional] -**payment_due_date** | **Date** | The date when the expense claim is due to be paid YYYY-MM-DD | [optional] -**reporting_date** | **Date** | The date the expense claim will be reported in Xero YYYY-MM-DD | [optional] +**payment_due_date** | **String** | The date when the expense claim is due to be paid YYYY-MM-DD | [optional] +**reporting_date** | **String** | The date the expense claim will be reported in Xero YYYY-MM-DD | [optional] **receipt_id** | **String** | The Xero identifier for the Receipt e.g. e59a2c7f-1306-4078-a0f3-73537afcbba9 | [optional] ## Code Sample @@ -27,7 +27,7 @@ instance = XeroRuby::Accounting::ExpenseClaim.new(expense_claim_id: null, payments: null, user: null, receipts: null, - updated_date_utc: null, + updated_date_utc: /Date(1573755038314)/, total: null, amount_due: null, amount_paid: null, diff --git a/docs/accounting/HistoryRecord.md b/docs/accounting/HistoryRecord.md index 4f22ed61..7215bfee 100644 --- a/docs/accounting/HistoryRecord.md +++ b/docs/accounting/HistoryRecord.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **details** | **String** | details | [optional] **changes** | **String** | Name of branding theme | [optional] **user** | **String** | has a value of 0 | [optional] -**date_utc** | **DateTime** | UTC timestamp of creation date of branding theme | [optional] +**date_utc** | **String** | UTC timestamp of creation date of branding theme | [optional] ## Code Sample @@ -17,7 +17,7 @@ require 'XeroRuby::Accounting' instance = XeroRuby::Accounting::HistoryRecord.new(details: null, changes: null, user: null, - date_utc: null) + date_utc: /Date(1573755038314)/) ``` diff --git a/docs/accounting/Invoice.md b/docs/accounting/Invoice.md index 6f67cd3f..71a5db09 100644 --- a/docs/accounting/Invoice.md +++ b/docs/accounting/Invoice.md @@ -7,8 +7,8 @@ Name | Type | Description | Notes **type** | **String** | See Invoice Types | [optional] **contact** | [**Contact**](Contact.md) | | [optional] **line_items** | [**Array<LineItem>**](LineItem.md) | See LineItems | [optional] -**date** | **Date** | Date invoice was issued – YYYY-MM-DD. If the Date element is not specified it will default to the current date based on the timezone setting of the organisation | [optional] -**due_date** | **Date** | Date invoice is due – YYYY-MM-DD | [optional] +**date** | **String** | Date invoice was issued – YYYY-MM-DD. If the Date element is not specified it will default to the current date based on the timezone setting of the organisation | [optional] +**due_date** | **String** | Date invoice is due – YYYY-MM-DD | [optional] **line_amount_types** | [**LineAmountTypes**](LineAmountTypes.md) | | [optional] **invoice_number** | **String** | ACCREC – Unique alpha numeric code identifying invoice (when missing will auto-generate from your Organisation Invoice Settings) (max length = 255) | [optional] **reference** | **String** | ACCREC only – additional reference number (max length = 255) | [optional] @@ -18,8 +18,8 @@ Name | Type | Description | Notes **currency_rate** | **Float** | The currency rate for a multicurrency invoice. If no rate is specified, the XE.com day rate is used. (max length = [18].[6]) | [optional] **status** | **String** | See Invoice Status Codes | [optional] **sent_to_contact** | **Boolean** | Boolean to set whether the invoice in the Xero app should be marked as “sent”. This can be set only on invoices that have been approved | [optional] -**expected_payment_date** | **Date** | Shown on sales invoices (Accounts Receivable) when this has been set | [optional] -**planned_payment_date** | **Date** | Shown on bills (Accounts Payable) when this has been set | [optional] +**expected_payment_date** | **String** | Shown on sales invoices (Accounts Receivable) when this has been set | [optional] +**planned_payment_date** | **String** | Shown on bills (Accounts Payable) when this has been set | [optional] **cis_deduction** | **Float** | CIS deduction for UK contractors | [optional] **sub_total** | **Float** | Total of invoice excluding taxes | [optional] **total_tax** | **Float** | Total tax on invoice | [optional] @@ -33,9 +33,9 @@ Name | Type | Description | Notes **overpayments** | [**Array<Overpayment>**](Overpayment.md) | See Overpayments | [optional] **amount_due** | **Float** | Amount remaining to be paid on invoice | [optional] **amount_paid** | **Float** | Sum of payments received for invoice | [optional] -**fully_paid_on_date** | **Date** | The date the invoice was fully paid. Only returned on fully paid invoices | [optional] +**fully_paid_on_date** | **String** | The date the invoice was fully paid. Only returned on fully paid invoices | [optional] **amount_credited** | **Float** | Sum of all credit notes, over-payments and pre-payments applied to invoice | [optional] -**updated_date_utc** | **DateTime** | Last modified date UTC format | [optional] +**updated_date_utc** | **String** | Last modified date UTC format | [optional] **credit_notes** | [**Array<CreditNote>**](CreditNote.md) | Details of credit notes that have been applied to an invoice | [optional] **attachments** | [**Array<Attachment>**](Attachment.md) | Displays array of attachments from the API | [optional] **has_errors** | **Boolean** | A boolean to indicate if a invoice has an validation errors | [optional] [default to false] @@ -79,7 +79,7 @@ instance = XeroRuby::Accounting::Invoice.new(type: null, amount_paid: null, fully_paid_on_date: null, amount_credited: null, - updated_date_utc: null, + updated_date_utc: /Date(1573755038314)/, credit_notes: null, attachments: null, has_errors: false, diff --git a/docs/accounting/Item.md b/docs/accounting/Item.md index a729242f..5ba9b68b 100644 --- a/docs/accounting/Item.md +++ b/docs/accounting/Item.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes **is_tracked_as_inventory** | **Boolean** | True for items that are tracked as inventory. An item will be tracked as inventory if the InventoryAssetAccountCode and COGSAccountCode are set. | [optional] **total_cost_pool** | **Float** | The value of the item on hand. Calculated using average cost accounting. | [optional] **quantity_on_hand** | **Float** | The quantity of the item on hand | [optional] -**updated_date_utc** | **DateTime** | Last modified date in UTC format | [optional] +**updated_date_utc** | **String** | Last modified date in UTC format | [optional] **item_id** | **String** | The Xero identifier for an Item | [optional] **status_attribute_string** | **String** | Status of object | [optional] **validation_errors** | [**Array<ValidationError>**](ValidationError.md) | Displays array of validation error messages from the API | [optional] @@ -38,7 +38,7 @@ instance = XeroRuby::Accounting::Item.new(code: null, is_tracked_as_inventory: null, total_cost_pool: null, quantity_on_hand: null, - updated_date_utc: null, + updated_date_utc: /Date(1573755038314)/, item_id: null, status_attribute_string: null, validation_errors: null) diff --git a/docs/accounting/Journal.md b/docs/accounting/Journal.md index f6b7fc82..a936a643 100644 --- a/docs/accounting/Journal.md +++ b/docs/accounting/Journal.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **journal_id** | **String** | Xero identifier | [optional] -**journal_date** | **Date** | Date the journal was posted | [optional] +**journal_date** | **String** | Date the journal was posted | [optional] **journal_number** | **Integer** | Xero generated journal number | [optional] -**created_date_utc** | **DateTime** | Created date UTC format | [optional] +**created_date_utc** | **String** | 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] **source_type** | **String** | The journal source type. The type of transaction that created the journal | [optional] @@ -21,7 +21,7 @@ require 'XeroRuby::Accounting' instance = XeroRuby::Accounting::Journal.new(journal_id: null, journal_date: null, journal_number: null, - created_date_utc: null, + created_date_utc: /Date(1573755038314)/, reference: null, source_id: null, source_type: null, diff --git a/docs/accounting/LinkedTransaction.md b/docs/accounting/LinkedTransaction.md index 08904c3a..d2a61a26 100644 --- a/docs/accounting/LinkedTransaction.md +++ b/docs/accounting/LinkedTransaction.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **linked_transaction_id** | **String** | The Xero identifier for an Linked Transaction e.g./LinkedTransactions/297c2dc5-cc47-4afd-8ec8-74990b8761e9 | [optional] **status** | **String** | Filter by the combination of ContactID and Status. Get all the linked transactions that have been assigned to a particular customer and have a particular status e.g. GET /LinkedTransactions?ContactID=4bb34b03-3378-4bb2-a0ed-6345abf3224e&Status=APPROVED. | [optional] **type** | **String** | This will always be BILLABLEEXPENSE. More types may be added in future. | [optional] -**updated_date_utc** | **DateTime** | The last modified date in UTC format | [optional] +**updated_date_utc** | **String** | The last modified date in UTC format | [optional] **source_transaction_type_code** | **String** | The Type of the source tranasction. This will be ACCPAY if the linked transaction was created from an invoice and SPEND if it was created from a bank transaction. | [optional] **validation_errors** | [**Array<ValidationError>**](ValidationError.md) | Displays array of validation error messages from the API | [optional] @@ -29,7 +29,7 @@ instance = XeroRuby::Accounting::LinkedTransaction.new(source_transaction_id: nu linked_transaction_id: null, status: null, type: null, - updated_date_utc: null, + updated_date_utc: /Date(1573755038314)/, source_transaction_type_code: null, validation_errors: null) ``` diff --git a/docs/accounting/ManualJournal.md b/docs/accounting/ManualJournal.md index 5b189fc2..027ef7c8 100644 --- a/docs/accounting/ManualJournal.md +++ b/docs/accounting/ManualJournal.md @@ -6,13 +6,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **narration** | **String** | Description of journal being posted | **journal_lines** | [**Array<ManualJournalLine>**](ManualJournalLine.md) | See JournalLines | [optional] -**date** | **Date** | Date journal was posted – YYYY-MM-DD | [optional] +**date** | **String** | Date journal was posted – YYYY-MM-DD | [optional] **line_amount_types** | [**LineAmountTypes**](LineAmountTypes.md) | | [optional] **status** | **String** | See Manual Journal Status Codes | [optional] **url** | **String** | Url link to a source document – shown as “Go to [appName]” in the Xero app | [optional] **show_on_cash_basis_reports** | **Boolean** | Boolean – default is true if not specified | [optional] **has_attachments** | **Boolean** | Boolean to indicate if a manual journal has an attachment | [optional] [default to false] -**updated_date_utc** | **DateTime** | Last modified date UTC format | [optional] +**updated_date_utc** | **String** | Last modified date UTC format | [optional] **manual_journal_id** | **String** | The Xero identifier for a Manual Journal | [optional] **status_attribute_string** | **String** | A string to indicate if a invoice status | [optional] **warnings** | [**Array<ValidationError>**](ValidationError.md) | Displays array of warning messages from the API | [optional] @@ -32,7 +32,7 @@ instance = XeroRuby::Accounting::ManualJournal.new(narration: null, url: null, show_on_cash_basis_reports: null, has_attachments: false, - updated_date_utc: null, + updated_date_utc: /Date(1573755038314)/, manual_journal_id: null, status_attribute_string: ERROR, warnings: null, diff --git a/docs/accounting/Organisation.md b/docs/accounting/Organisation.md index 3f4a504a..0b283330 100644 --- a/docs/accounting/Organisation.md +++ b/docs/accounting/Organisation.md @@ -24,9 +24,9 @@ Name | Type | Description | Notes **sales_tax_period** | **String** | The frequency with which tax returns are processed. See Sales Tax Period | [optional] **default_sales_tax** | **String** | The default for LineAmountTypes on sales transactions | [optional] **default_purchases_tax** | **String** | The default for LineAmountTypes on purchase transactions | [optional] -**period_lock_date** | **Date** | Shown if set. See lock dates | [optional] -**end_of_year_lock_date** | **Date** | Shown if set. See lock dates | [optional] -**created_date_utc** | **DateTime** | Timestamp when the organisation was created in Xero | [optional] +**period_lock_date** | **String** | Shown if set. See lock dates | [optional] +**end_of_year_lock_date** | **String** | Shown if set. See lock dates | [optional] +**created_date_utc** | **String** | Timestamp when the organisation was created in Xero | [optional] **timezone** | [**TimeZone**](TimeZone.md) | | [optional] **organisation_entity_type** | **String** | Organisation Entity Type | [optional] **short_code** | **String** | A unique identifier for the organisation. Potential uses. | [optional] @@ -65,7 +65,7 @@ instance = XeroRuby::Accounting::Organisation.new(organisation_id: 8be9db36-3598 default_purchases_tax: null, period_lock_date: null, end_of_year_lock_date: null, - created_date_utc: null, + created_date_utc: /Date(1573755038314)/, timezone: null, organisation_entity_type: null, short_code: null, diff --git a/docs/accounting/Overpayment.md b/docs/accounting/Overpayment.md index 94c4b024..7c1fe9fe 100644 --- a/docs/accounting/Overpayment.md +++ b/docs/accounting/Overpayment.md @@ -6,14 +6,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **String** | See Overpayment Types | [optional] **contact** | [**Contact**](Contact.md) | | [optional] -**date** | **Date** | The date the overpayment is created YYYY-MM-DD | [optional] +**date** | **String** | The date the overpayment is created YYYY-MM-DD | [optional] **status** | **String** | See Overpayment Status Codes | [optional] **line_amount_types** | [**LineAmountTypes**](LineAmountTypes.md) | | [optional] **line_items** | [**Array<LineItem>**](LineItem.md) | See Overpayment Line Items | [optional] **sub_total** | **Float** | The subtotal of the overpayment excluding taxes | [optional] **total_tax** | **Float** | The total tax on the overpayment | [optional] **total** | **Float** | The total of the overpayment (subtotal + total tax) | [optional] -**updated_date_utc** | **DateTime** | UTC timestamp of last update to the overpayment | [optional] +**updated_date_utc** | **String** | UTC timestamp of last update to the overpayment | [optional] **currency_code** | [**CurrencyCode**](CurrencyCode.md) | | [optional] **overpayment_id** | **String** | Xero generated unique identifier | [optional] **currency_rate** | **Float** | The currency rate for a multicurrency overpayment. If no rate is specified, the XE.com day rate is used | [optional] @@ -38,7 +38,7 @@ instance = XeroRuby::Accounting::Overpayment.new(type: null, sub_total: null, total_tax: null, total: null, - updated_date_utc: null, + updated_date_utc: /Date(1573755038314)/, currency_code: null, overpayment_id: null, currency_rate: null, diff --git a/docs/accounting/Payment.md b/docs/accounting/Payment.md index c1c29b6b..9eb83801 100644 --- a/docs/accounting/Payment.md +++ b/docs/accounting/Payment.md @@ -12,14 +12,14 @@ Name | Type | Description | Notes **credit_note_number** | **String** | Number of invoice or credit note you are applying payment to e.g. INV-4003 | [optional] **account** | [**Account**](Account.md) | | [optional] **code** | **String** | Code of account you are using to make the payment e.g. 001 (note- not all accounts have a code value) | [optional] -**date** | **Date** | Date the payment is being made (YYYY-MM-DD) e.g. 2009-09-06 | [optional] +**date** | **String** | Date the payment is being made (YYYY-MM-DD) e.g. 2009-09-06 | [optional] **currency_rate** | **Float** | Exchange rate when payment is received. Only used for non base currency invoices and credit notes e.g. 0.7500 | [optional] **amount** | **Float** | The amount of the payment. Must be less than or equal to the outstanding amount owing on the invoice e.g. 200.00 | [optional] **reference** | **String** | An optional description for the payment e.g. Direct Debit | [optional] **is_reconciled** | **Boolean** | An optional parameter for the payment. A boolean indicating whether you would like the payment to be created as reconciled when using PUT, or whether a payment has been reconciled when using GET | [optional] **status** | **String** | The status of the payment. | [optional] **payment_type** | **String** | See Payment Types. | [optional] -**updated_date_utc** | **DateTime** | UTC timestamp of last update to the payment | [optional] +**updated_date_utc** | **String** | UTC timestamp of last update to the payment | [optional] **payment_id** | **String** | The Xero identifier for an Payment e.g. 297c2dc5-cc47-4afd-8ec8-74990b8761e9 | [optional] **bank_account_number** | **String** | The suppliers bank account number the payment is being made to | [optional] **particulars** | **String** | The suppliers bank account number the payment is being made to | [optional] @@ -49,7 +49,7 @@ instance = XeroRuby::Accounting::Payment.new(invoice: null, is_reconciled: null, status: null, payment_type: null, - updated_date_utc: null, + updated_date_utc: /Date(1573755038314)/, payment_id: null, bank_account_number: null, particulars: null, diff --git a/docs/accounting/Prepayment.md b/docs/accounting/Prepayment.md index 8fdfc6fd..acb505e2 100644 --- a/docs/accounting/Prepayment.md +++ b/docs/accounting/Prepayment.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **String** | See Prepayment Types | [optional] **contact** | [**Contact**](Contact.md) | | [optional] -**date** | **Date** | The date the prepayment is created YYYY-MM-DD | [optional] +**date** | **String** | The date the prepayment is created YYYY-MM-DD | [optional] **status** | **String** | See Prepayment Status Codes | [optional] **line_amount_types** | [**LineAmountTypes**](LineAmountTypes.md) | | [optional] **line_items** | [**Array<LineItem>**](LineItem.md) | See Prepayment Line Items | [optional] @@ -14,7 +14,7 @@ Name | Type | Description | Notes **total_tax** | **Float** | The total tax on the prepayment | [optional] **total** | **Float** | The total of the prepayment(subtotal + total tax) | [optional] **reference** | **String** | Returns Invoice number field. Reference field isn't available. | [optional] -**updated_date_utc** | **DateTime** | UTC timestamp of last update to the prepayment | [optional] +**updated_date_utc** | **String** | UTC timestamp of last update to the prepayment | [optional] **currency_code** | [**CurrencyCode**](CurrencyCode.md) | | [optional] **prepayment_id** | **String** | Xero generated unique identifier | [optional] **currency_rate** | **Float** | The currency rate for a multicurrency prepayment. If no rate is specified, the XE.com day rate is used | [optional] @@ -39,7 +39,7 @@ instance = XeroRuby::Accounting::Prepayment.new(type: null, total_tax: null, total: null, reference: null, - updated_date_utc: null, + updated_date_utc: /Date(1573755038314)/, currency_code: null, prepayment_id: null, currency_rate: null, diff --git a/docs/accounting/PurchaseOrder.md b/docs/accounting/PurchaseOrder.md index 262f2316..d59fcdda 100644 --- a/docs/accounting/PurchaseOrder.md +++ b/docs/accounting/PurchaseOrder.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **contact** | [**Contact**](Contact.md) | | [optional] **line_items** | [**Array<LineItem>**](LineItem.md) | See LineItems | [optional] -**date** | **Date** | Date purchase order was issued – YYYY-MM-DD. If the Date element is not specified then it will default to the current date based on the timezone setting of the organisation | [optional] -**delivery_date** | **Date** | Date the goods are to be delivered – YYYY-MM-DD | [optional] +**date** | **String** | Date purchase order was issued – YYYY-MM-DD. If the Date element is not specified then it will default to the current date based on the timezone setting of the organisation | [optional] +**delivery_date** | **String** | Date the goods are to be delivered – YYYY-MM-DD | [optional] **line_amount_types** | [**LineAmountTypes**](LineAmountTypes.md) | | [optional] **purchase_order_number** | **String** | Unique alpha numeric code identifying purchase order (when missing will auto-generate from your Organisation Invoice Settings) | [optional] **reference** | **String** | Additional reference number | [optional] @@ -19,7 +19,7 @@ Name | Type | Description | Notes **attention_to** | **String** | The person that the delivery is going to | [optional] **telephone** | **String** | The phone number for the person accepting the delivery | [optional] **delivery_instructions** | **String** | A free text feild for instructions (500 characters max) | [optional] -**expected_arrival_date** | **Date** | The date the goods are expected to arrive. | [optional] +**expected_arrival_date** | **String** | The date the goods are expected to arrive. | [optional] **purchase_order_id** | **String** | Xero generated unique identifier for purchase order | [optional] **currency_rate** | **Float** | The currency rate for a multicurrency purchase order. If no rate is specified, the XE.com day rate is used. | [optional] **sub_total** | **Float** | Total of purchase order excluding taxes | [optional] @@ -27,7 +27,7 @@ Name | Type | Description | Notes **total** | **Float** | Total of Purchase Order tax inclusive (i.e. SubTotal + TotalTax) | [optional] **total_discount** | **Float** | Total of discounts applied on the purchase order line items | [optional] **has_attachments** | **Boolean** | boolean to indicate if a purchase order has an attachment | [optional] [default to false] -**updated_date_utc** | **DateTime** | Last modified date UTC format | [optional] +**updated_date_utc** | **String** | Last modified date UTC format | [optional] **status_attribute_string** | **String** | A string to indicate if a invoice status | [optional] **validation_errors** | [**Array<ValidationError>**](ValidationError.md) | Displays array of validation error messages from the API | [optional] **warnings** | [**Array<ValidationError>**](ValidationError.md) | Displays array of warning messages from the API | [optional] @@ -61,7 +61,7 @@ instance = XeroRuby::Accounting::PurchaseOrder.new(contact: null, total: null, total_discount: null, has_attachments: false, - updated_date_utc: null, + updated_date_utc: /Date(1573755038314)/, status_attribute_string: null, validation_errors: null, warnings: null, diff --git a/docs/accounting/Quote.md b/docs/accounting/Quote.md index 229c901e..bbbd6f99 100644 --- a/docs/accounting/Quote.md +++ b/docs/accounting/Quote.md @@ -10,9 +10,9 @@ Name | Type | Description | Notes **terms** | **String** | Terms of the quote | [optional] **contact** | [**Contact**](Contact.md) | | [optional] **line_items** | [**Array<LineItem>**](LineItem.md) | See LineItems | [optional] -**date** | **Date** | Date quote was issued – YYYY-MM-DD. If the Date element is not specified it will default to the current date based on the timezone setting of the organisation | [optional] +**date** | **String** | Date quote was issued – YYYY-MM-DD. If the Date element is not specified it will default to the current date based on the timezone setting of the organisation | [optional] **date_string** | **String** | Date the quote was issued (YYYY-MM-DD) | [optional] -**expiry_date** | **Date** | Date the quote expires – YYYY-MM-DD. | [optional] +**expiry_date** | **String** | Date the quote expires – YYYY-MM-DD. | [optional] **expiry_date_string** | **String** | Date the quote expires – YYYY-MM-DD. | [optional] **status** | [**QuoteStatusCodes**](QuoteStatusCodes.md) | | [optional] **currency_code** | [**CurrencyCode**](CurrencyCode.md) | | [optional] @@ -24,7 +24,7 @@ Name | Type | Description | Notes **title** | **String** | Title text for the quote | [optional] **summary** | **String** | Summary text for the quote | [optional] **branding_theme_id** | **String** | See BrandingThemes | [optional] -**updated_date_utc** | **DateTime** | Last modified date UTC format | [optional] +**updated_date_utc** | **String** | Last modified date UTC format | [optional] **line_amount_types** | [**QuoteLineAmountTypes**](QuoteLineAmountTypes.md) | | [optional] **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] @@ -54,7 +54,7 @@ instance = XeroRuby::Accounting::Quote.new(quote_id: null, title: null, summary: null, branding_theme_id: null, - updated_date_utc: null, + updated_date_utc: /Date(1573755038314)/, line_amount_types: null, status_attribute_string: null, validation_errors: null) diff --git a/docs/accounting/Receipt.md b/docs/accounting/Receipt.md index 5f44e6df..a570f126 100644 --- a/docs/accounting/Receipt.md +++ b/docs/accounting/Receipt.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**date** | **Date** | Date of receipt – YYYY-MM-DD | [optional] +**date** | **String** | Date of receipt – YYYY-MM-DD | [optional] **contact** | [**Contact**](Contact.md) | | [optional] **line_items** | [**Array<LineItem>**](LineItem.md) | | [optional] **user** | [**User**](User.md) | | [optional] @@ -16,7 +16,7 @@ Name | Type | Description | Notes **receipt_id** | **String** | Xero generated unique identifier for receipt | [optional] **status** | **String** | Current status of receipt – see status types | [optional] **receipt_number** | **String** | Xero generated sequence number for receipt in current claim for a given user | [optional] -**updated_date_utc** | **DateTime** | Last modified date UTC format | [optional] +**updated_date_utc** | **String** | Last modified date UTC format | [optional] **has_attachments** | **Boolean** | boolean to indicate if a receipt has an attachment | [optional] [default to false] **url** | **String** | URL link to a source document – shown as “Go to [appName]” in the Xero app | [optional] **validation_errors** | [**Array<ValidationError>**](ValidationError.md) | Displays array of validation error messages from the API | [optional] @@ -40,7 +40,7 @@ instance = XeroRuby::Accounting::Receipt.new(date: null, receipt_id: null, status: null, receipt_number: null, - updated_date_utc: null, + updated_date_utc: /Date(1573755038314)/, has_attachments: false, url: null, validation_errors: null, diff --git a/docs/accounting/Report.md b/docs/accounting/Report.md index 8111554d..90fa7ff5 100644 --- a/docs/accounting/Report.md +++ b/docs/accounting/Report.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **report_type** | **String** | See Prepayment Types | [optional] **report_title** | **String** | See Prepayment Types | [optional] **report_date** | **String** | Date of report | [optional] -**updated_date_utc** | **DateTime** | Updated Date | [optional] +**updated_date_utc** | **String** | Updated Date | [optional] **contacts** | [**Array<TenNinetyNineContact>**](TenNinetyNineContact.md) | | [optional] ## Code Sample @@ -22,7 +22,7 @@ instance = XeroRuby::Accounting::Report.new(report_id: null, report_type: null, report_title: null, report_date: null, - updated_date_utc: null, + updated_date_utc: /Date(1573755038314)/, contacts: null) ``` diff --git a/docs/accounting/ReportWithRow.md b/docs/accounting/ReportWithRow.md index 8b5f671f..f66fa346 100644 --- a/docs/accounting/ReportWithRow.md +++ b/docs/accounting/ReportWithRow.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **report_titles** | **Array<String>** | Report titles array (3 to 4 strings with the report name, orgnisation name and time frame of report) | [optional] **report_date** | **String** | Date of report | [optional] **rows** | [**Array<ReportRows>**](ReportRows.md) | | [optional] -**updated_date_utc** | **DateTime** | Updated Date | [optional] +**updated_date_utc** | **String** | Updated Date | [optional] **fields** | [**Array<ReportFields>**](ReportFields.md) | | [optional] ## Code Sample @@ -26,7 +26,7 @@ instance = XeroRuby::Accounting::ReportWithRow.new(report_id: null, report_titles: null, report_date: null, rows: null, - updated_date_utc: null, + updated_date_utc: /Date(1573755038314)/, fields: null) ``` diff --git a/docs/accounting/Schedule.md b/docs/accounting/Schedule.md index acb68f36..514bfed1 100644 --- a/docs/accounting/Schedule.md +++ b/docs/accounting/Schedule.md @@ -8,9 +8,9 @@ Name | Type | Description | Notes **unit** | **String** | One of the following - WEEKLY or MONTHLY | [optional] **due_date** | **Integer** | Integer used with due date type e.g 20 (of following month), 31 (of current month) | [optional] **due_date_type** | **String** | the payment terms | [optional] -**start_date** | **Date** | Date the first invoice of the current version of the repeating schedule was generated (changes when repeating invoice is edited) | [optional] -**next_scheduled_date** | **Date** | The calendar date of the next invoice in the schedule to be generated | [optional] -**end_date** | **Date** | Invoice end date – only returned if the template has an end date set | [optional] +**start_date** | **String** | Date the first invoice of the current version of the repeating schedule was generated (changes when repeating invoice is edited) | [optional] +**next_scheduled_date** | **String** | The calendar date of the next invoice in the schedule to be generated | [optional] +**end_date** | **String** | Invoice end date – only returned if the template has an end date set | [optional] ## Code Sample diff --git a/docs/accounting/User.md b/docs/accounting/User.md index 0c6095a9..e26dd53e 100644 --- a/docs/accounting/User.md +++ b/docs/accounting/User.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **email_address** | **String** | Email address of user | [optional] **first_name** | **String** | First name of user | [optional] **last_name** | **String** | Last name of user | [optional] -**updated_date_utc** | **DateTime** | Timestamp of last change to user | [optional] +**updated_date_utc** | **String** | Timestamp of last change to user | [optional] **is_subscriber** | **Boolean** | Boolean to indicate if user is the subscriber | [optional] **organisation_role** | **String** | User role that defines permissions in Xero and via API (READONLY, INVOICEONLY, STANDARD, FINANCIALADVISER, etc) | [optional] @@ -21,7 +21,7 @@ instance = XeroRuby::Accounting::User.new(user_id: null, email_address: null, first_name: null, last_name: null, - updated_date_utc: null, + updated_date_utc: /Date(1573755038314)/, is_subscriber: null, organisation_role: null) ``` diff --git a/lib/xero-ruby.rb b/lib/xero-ruby.rb index bef55caf..518d4d29 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/api/accounting_api.rb b/lib/xero-ruby/api/accounting_api.rb index 0bc11195..d6523ece 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/api/asset_api.rb b/lib/xero-ruby/api/asset_api.rb index 19fc4a43..7cbf4450 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/api/project_api.rb b/lib/xero-ruby/api/project_api.rb index d791ca76..c8803064 100644 --- a/lib/xero-ruby/api/project_api.rb +++ b/lib/xero-ruby/api/project_api.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/api_client.rb b/lib/xero-ruby/api_client.rb index 3bee0012..2a68f3d6 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/api_error.rb b/lib/xero-ruby/api_error.rb index 6c56c019..3f9c0ae9 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/configuration.rb b/lib/xero-ruby/configuration.rb index 3a07ae5f..1e1a949c 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -218,7 +218,7 @@ def server_settings [ { url: "https://api.xero.com/api.xro/2.0", - description: "Xero Accounting API servers", + description: "Xero Accounting API server", } ] end diff --git a/lib/xero-ruby/models/accounting/account.rb b/lib/xero-ruby/models/accounting/account.rb index 973aec5b..23ce0c80 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -91,8 +91,7 @@ class Account CISLABOURINCOME = "CISLABOURINCOME".freeze CISLIABILITY = "CISLIABILITY".freeze CISMATERIALS = "CISMATERIALS".freeze - # duplicate definitions generated: https://github.com/XeroAPI/xero-ruby/issues/53#issuecomment-668893305 - # EMPTY = "".freeze + EMPTY = "".freeze # Shown if set attr_accessor :reporting_code @@ -180,7 +179,7 @@ def self.openapi_types :'reporting_code' => :'String', :'reporting_code_name' => :'String', :'has_attachments' => :'Boolean', - :'updated_date_utc' => :'DateTime', + :'updated_date_utc' => :'String', :'add_to_watchlist' => :'Boolean', :'validation_errors' => :'Array' } diff --git a/lib/xero-ruby/models/accounting/account_type.rb b/lib/xero-ruby/models/accounting/account_type.rb index bc4e5001..1d6a13a7 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/accounts.rb b/lib/xero-ruby/models/accounting/accounts.rb index 3238a27d..b29b2d52 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/accounts_payable.rb b/lib/xero-ruby/models/accounting/accounts_payable.rb index c435f3d6..4bf5856f 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/accounts_receivable.rb b/lib/xero-ruby/models/accounting/accounts_receivable.rb index ec6076d9..06ea865a 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/address.rb b/lib/xero-ruby/models/accounting/address.rb index 2f875696..9c391e2c 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/allocation.rb b/lib/xero-ruby/models/accounting/allocation.rb index 7e3fc961..a81d6ad8 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -63,7 +63,7 @@ def self.openapi_types :'prepayment' => :'Prepayment', :'credit_note' => :'CreditNote', :'amount' => :'BigDecimal', - :'date' => :'Date', + :'date' => :'String', :'status_attribute_string' => :'String', :'validation_errors' => :'Array' } diff --git a/lib/xero-ruby/models/accounting/allocations.rb b/lib/xero-ruby/models/accounting/allocations.rb index a56b5ffa..9e7809c3 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/attachment.rb b/lib/xero-ruby/models/accounting/attachment.rb index bb70ee26..c1e23d6c 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/attachments.rb b/lib/xero-ruby/models/accounting/attachments.rb index 01071fc2..a194f864 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/balances.rb b/lib/xero-ruby/models/accounting/balances.rb index cc9b98e1..1cfb13cf 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/bank_transaction.rb b/lib/xero-ruby/models/accounting/bank_transaction.rb index e5098703..a8c29097 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -152,7 +152,7 @@ def self.openapi_types :'line_items' => :'Array', :'bank_account' => :'Account', :'is_reconciled' => :'Boolean', - :'date' => :'Date', + :'date' => :'String', :'reference' => :'String', :'currency_code' => :'CurrencyCode', :'currency_rate' => :'BigDecimal', @@ -165,7 +165,7 @@ def self.openapi_types :'bank_transaction_id' => :'String', :'prepayment_id' => :'String', :'overpayment_id' => :'String', - :'updated_date_utc' => :'DateTime', + :'updated_date_utc' => :'String', :'has_attachments' => :'Boolean', :'status_attribute_string' => :'String', :'validation_errors' => :'Array' @@ -290,10 +290,6 @@ def list_invalid_properties invalid_properties.push('invalid value for "type", type cannot be nil.') end - if @contact.nil? - invalid_properties.push('invalid value for "contact", contact cannot be nil.') - end - if @line_items.nil? invalid_properties.push('invalid value for "line_items", line_items cannot be nil.') end @@ -311,7 +307,6 @@ def valid? return false if @type.nil? type_validator = EnumAttributeValidator.new('String', ["RECEIVE", "RECEIVE-OVERPAYMENT", "RECEIVE-PREPAYMENT", "SPEND", "SPEND-OVERPAYMENT", "SPEND-PREPAYMENT", "RECEIVE-TRANSFER", "SPEND-TRANSFER"]) return false unless type_validator.valid?(@type) - return false if @contact.nil? return false if @line_items.nil? return false if @bank_account.nil? status_validator = EnumAttributeValidator.new('String', ["AUTHORISED", "DELETED", "VOIDED"]) diff --git a/lib/xero-ruby/models/accounting/bank_transactions.rb b/lib/xero-ruby/models/accounting/bank_transactions.rb index 2b77a1a2..73b51935 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/bank_transfer.rb b/lib/xero-ruby/models/accounting/bank_transfer.rb index 8226fcf6..88c6e8c8 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -73,13 +73,13 @@ def self.openapi_types :'from_bank_account' => :'Account', :'to_bank_account' => :'Account', :'amount' => :'BigDecimal', - :'date' => :'Date', + :'date' => :'String', :'bank_transfer_id' => :'String', :'currency_rate' => :'BigDecimal', :'from_bank_transaction_id' => :'String', :'to_bank_transaction_id' => :'String', :'has_attachments' => :'Boolean', - :'created_date_utc' => :'DateTime', + :'created_date_utc' => :'String', :'validation_errors' => :'Array' } end diff --git a/lib/xero-ruby/models/accounting/bank_transfers.rb b/lib/xero-ruby/models/accounting/bank_transfers.rb index fe0e4125..4fc9399c 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/batch_payment.rb b/lib/xero-ruby/models/accounting/batch_payment.rb index 8b62a5e0..e987e932 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -124,13 +124,13 @@ def self.openapi_types :'narrative' => :'String', :'batch_payment_id' => :'String', :'date_string' => :'String', - :'date' => :'Date', + :'date' => :'String', :'amount' => :'BigDecimal', :'payments' => :'Array', :'type' => :'String', :'status' => :'String', :'total_amount' => :'String', - :'updated_date_utc' => :'DateTime', + :'updated_date_utc' => :'String', :'is_reconciled' => :'String' } end diff --git a/lib/xero-ruby/models/accounting/batch_payment_details.rb b/lib/xero-ruby/models/accounting/batch_payment_details.rb index f6c7d340..c472106b 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/batch_payments.rb b/lib/xero-ruby/models/accounting/batch_payments.rb index 372b8dcd..85378f50 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/bill.rb b/lib/xero-ruby/models/accounting/bill.rb index c6ca21d1..91cad8cf 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/branding_theme.rb b/lib/xero-ruby/models/accounting/branding_theme.rb index fb9a3010..3989bb7e 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -78,7 +78,7 @@ def self.openapi_types :'logo_url' => :'String', :'type' => :'String', :'sort_order' => :'Integer', - :'created_date_utc' => :'DateTime' + :'created_date_utc' => :'String' } end diff --git a/lib/xero-ruby/models/accounting/branding_themes.rb b/lib/xero-ruby/models/accounting/branding_themes.rb index bcdceda2..4e1ae1e5 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/cis_org_setting.rb b/lib/xero-ruby/models/accounting/cis_org_setting.rb index f3656d73..b56cdb8f 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/cis_setting.rb b/lib/xero-ruby/models/accounting/cis_setting.rb index 06776b73..d227ed20 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/cis_settings.rb b/lib/xero-ruby/models/accounting/cis_settings.rb index d64da401..6311f373 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/contact.rb b/lib/xero-ruby/models/accounting/contact.rb index d2fd415b..0893789c 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -234,7 +234,7 @@ def self.openapi_types :'tracking_category_name' => :'String', :'tracking_category_option' => :'String', :'payment_terms' => :'PaymentTerm', - :'updated_date_utc' => :'DateTime', + :'updated_date_utc' => :'String', :'contact_groups' => :'Array', :'website' => :'String', :'branding_theme' => :'BrandingTheme', diff --git a/lib/xero-ruby/models/accounting/contact_group.rb b/lib/xero-ruby/models/accounting/contact_group.rb index d2f567bc..053ba0d7 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/contact_groups.rb b/lib/xero-ruby/models/accounting/contact_groups.rb index 72f797c5..b01c19a7 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/contact_person.rb b/lib/xero-ruby/models/accounting/contact_person.rb index 7e75bf65..c8cc3758 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/contacts.rb b/lib/xero-ruby/models/accounting/contacts.rb index b147ec4f..3eff24e2 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/country_code.rb b/lib/xero-ruby/models/accounting/country_code.rb index 7d6e5877..9b8a50e2 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/credit_note.rb b/lib/xero-ruby/models/accounting/credit_note.rb index 68b2e634..56fa4554 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -162,16 +162,16 @@ def self.openapi_types { :'type' => :'String', :'contact' => :'Contact', - :'date' => :'Date', + :'date' => :'String', :'status' => :'String', :'line_amount_types' => :'LineAmountTypes', :'line_items' => :'Array', :'sub_total' => :'BigDecimal', :'total_tax' => :'BigDecimal', :'total' => :'BigDecimal', - :'updated_date_utc' => :'DateTime', + :'updated_date_utc' => :'String', :'currency_code' => :'CurrencyCode', - :'fully_paid_on_date' => :'Date', + :'fully_paid_on_date' => :'String', :'credit_note_id' => :'String', :'credit_note_number' => :'String', :'reference' => :'String', diff --git a/lib/xero-ruby/models/accounting/credit_notes.rb b/lib/xero-ruby/models/accounting/credit_notes.rb index 71561d02..de0ad3d7 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/currencies.rb b/lib/xero-ruby/models/accounting/currencies.rb index 73f83ff5..69a4e6f0 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/currency.rb b/lib/xero-ruby/models/accounting/currency.rb index 38ce3257..7e0074d4 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/currency_code.rb b/lib/xero-ruby/models/accounting/currency_code.rb index 070b8f5f..6bf15338 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/element.rb b/lib/xero-ruby/models/accounting/element.rb index d319bdb3..3c6bb660 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/employee.rb b/lib/xero-ruby/models/accounting/employee.rb index b5eea108..e67997af 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -25,6 +25,7 @@ class Employee ACTIVE = "ACTIVE".freeze ARCHIVED = "ARCHIVED".freeze GDPRREQUEST = "GDPRREQUEST".freeze + DELETED = "DELETED".freeze # First name of an employee (max length = 255) attr_accessor :first_name @@ -88,7 +89,7 @@ def self.openapi_types :'first_name' => :'String', :'last_name' => :'String', :'external_link' => :'ExternalLink', - :'updated_date_utc' => :'DateTime', + :'updated_date_utc' => :'String', :'status_attribute_string' => :'String', :'validation_errors' => :'Array' } @@ -162,7 +163,7 @@ def list_invalid_properties # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? - status_validator = EnumAttributeValidator.new('String', ["ACTIVE", "ARCHIVED", "GDPRREQUEST"]) + status_validator = EnumAttributeValidator.new('String', ["ACTIVE", "ARCHIVED", "GDPRREQUEST", "DELETED"]) return false unless status_validator.valid?(@status) return false if !@first_name.nil? && @first_name.to_s.length > 255 return false if !@last_name.nil? && @last_name.to_s.length > 255 @@ -172,7 +173,7 @@ def valid? # Custom attribute writer method checking allowed values (enum). # @param [Object] status Object to be assigned def status=(status) - validator = EnumAttributeValidator.new('String', ["ACTIVE", "ARCHIVED", "GDPRREQUEST"]) + validator = EnumAttributeValidator.new('String', ["ACTIVE", "ARCHIVED", "GDPRREQUEST", "DELETED"]) unless validator.valid?(status) fail ArgumentError, "invalid value for \"status\", must be one of #{validator.allowable_values}." end diff --git a/lib/xero-ruby/models/accounting/employees.rb b/lib/xero-ruby/models/accounting/employees.rb index 0dfcf23f..d9af6034 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/error.rb b/lib/xero-ruby/models/accounting/error.rb index 3be49b0e..1b11e8d1 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/expense_claim.rb b/lib/xero-ruby/models/accounting/expense_claim.rb index 093b00c6..6370bb19 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -106,12 +106,12 @@ def self.openapi_types :'payments' => :'Array', :'user' => :'User', :'receipts' => :'Array', - :'updated_date_utc' => :'DateTime', + :'updated_date_utc' => :'String', :'total' => :'BigDecimal', :'amount_due' => :'BigDecimal', :'amount_paid' => :'BigDecimal', - :'payment_due_date' => :'Date', - :'reporting_date' => :'Date', + :'payment_due_date' => :'String', + :'reporting_date' => :'String', :'receipt_id' => :'String' } end diff --git a/lib/xero-ruby/models/accounting/expense_claims.rb b/lib/xero-ruby/models/accounting/expense_claims.rb index 5adb6b73..f0c23de7 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/external_link.rb b/lib/xero-ruby/models/accounting/external_link.rb index ddfed33c..983b7547 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/history_record.rb b/lib/xero-ruby/models/accounting/history_record.rb index 91808a9a..f7a07c38 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -45,7 +45,7 @@ def self.openapi_types :'details' => :'String', :'changes' => :'String', :'user' => :'String', - :'date_utc' => :'DateTime' + :'date_utc' => :'String' } end diff --git a/lib/xero-ruby/models/accounting/history_records.rb b/lib/xero-ruby/models/accounting/history_records.rb index 382789c4..c4eeb048 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/invoice.rb b/lib/xero-ruby/models/accounting/invoice.rb index 8696afe6..0774e916 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -217,8 +217,8 @@ def self.openapi_types :'type' => :'String', :'contact' => :'Contact', :'line_items' => :'Array', - :'date' => :'Date', - :'due_date' => :'Date', + :'date' => :'String', + :'due_date' => :'String', :'line_amount_types' => :'LineAmountTypes', :'invoice_number' => :'String', :'reference' => :'String', @@ -228,8 +228,8 @@ def self.openapi_types :'currency_rate' => :'BigDecimal', :'status' => :'String', :'sent_to_contact' => :'Boolean', - :'expected_payment_date' => :'Date', - :'planned_payment_date' => :'Date', + :'expected_payment_date' => :'String', + :'planned_payment_date' => :'String', :'cis_deduction' => :'BigDecimal', :'sub_total' => :'BigDecimal', :'total_tax' => :'BigDecimal', @@ -243,9 +243,9 @@ def self.openapi_types :'overpayments' => :'Array', :'amount_due' => :'BigDecimal', :'amount_paid' => :'BigDecimal', - :'fully_paid_on_date' => :'Date', + :'fully_paid_on_date' => :'String', :'amount_credited' => :'BigDecimal', - :'updated_date_utc' => :'DateTime', + :'updated_date_utc' => :'String', :'credit_notes' => :'Array', :'attachments' => :'Array', :'has_errors' => :'Boolean', diff --git a/lib/xero-ruby/models/accounting/invoice_reminder.rb b/lib/xero-ruby/models/accounting/invoice_reminder.rb index 56bbc061..8b588d51 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/invoice_reminders.rb b/lib/xero-ruby/models/accounting/invoice_reminders.rb index eea19c06..cbbfc534 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/invoices.rb b/lib/xero-ruby/models/accounting/invoices.rb index b75870a3..3cc53a72 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/item.rb b/lib/xero-ruby/models/accounting/item.rb index 72d638f5..0bd6691e 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -102,7 +102,7 @@ def self.openapi_types :'is_tracked_as_inventory' => :'Boolean', :'total_cost_pool' => :'BigDecimal', :'quantity_on_hand' => :'BigDecimal', - :'updated_date_utc' => :'DateTime', + :'updated_date_utc' => :'String', :'item_id' => :'String', :'status_attribute_string' => :'String', :'validation_errors' => :'Array' diff --git a/lib/xero-ruby/models/accounting/items.rb b/lib/xero-ruby/models/accounting/items.rb index eef689ca..f7d1acf2 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/journal.rb b/lib/xero-ruby/models/accounting/journal.rb index 9157cc9f..bdf95ffd 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -106,9 +106,9 @@ def self.attribute_map def self.openapi_types { :'journal_id' => :'String', - :'journal_date' => :'Date', + :'journal_date' => :'String', :'journal_number' => :'Integer', - :'created_date_utc' => :'DateTime', + :'created_date_utc' => :'String', :'reference' => :'String', :'source_id' => :'String', :'source_type' => :'String', diff --git a/lib/xero-ruby/models/accounting/journal_line.rb b/lib/xero-ruby/models/accounting/journal_line.rb index 73f150a2..ebc7cfe1 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/journals.rb b/lib/xero-ruby/models/accounting/journals.rb index 2ff1b4f3..f170efb7 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/line_amount_types.rb b/lib/xero-ruby/models/accounting/line_amount_types.rb index 6abc62d5..57244e93 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/line_item.rb b/lib/xero-ruby/models/accounting/line_item.rb index e90e1598..a1d5d43c 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/line_item_tracking.rb b/lib/xero-ruby/models/accounting/line_item_tracking.rb index 8747d9ce..a1490ab1 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/linked_transaction.rb b/lib/xero-ruby/models/accounting/linked_transaction.rb index 0e4cf6bd..17c3a8c6 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -108,7 +108,7 @@ def self.openapi_types :'linked_transaction_id' => :'String', :'status' => :'String', :'type' => :'String', - :'updated_date_utc' => :'DateTime', + :'updated_date_utc' => :'String', :'source_transaction_type_code' => :'String', :'validation_errors' => :'Array' } diff --git a/lib/xero-ruby/models/accounting/linked_transactions.rb b/lib/xero-ruby/models/accounting/linked_transactions.rb index 01347ac9..de1b4131 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/manual_journal.rb b/lib/xero-ruby/models/accounting/manual_journal.rb index 583906a3..a7391239 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -111,13 +111,13 @@ def self.openapi_types { :'narration' => :'String', :'journal_lines' => :'Array', - :'date' => :'Date', + :'date' => :'String', :'line_amount_types' => :'LineAmountTypes', :'status' => :'String', :'url' => :'String', :'show_on_cash_basis_reports' => :'Boolean', :'has_attachments' => :'Boolean', - :'updated_date_utc' => :'DateTime', + :'updated_date_utc' => :'String', :'manual_journal_id' => :'String', :'status_attribute_string' => :'String', :'warnings' => :'Array', diff --git a/lib/xero-ruby/models/accounting/manual_journal_line.rb b/lib/xero-ruby/models/accounting/manual_journal_line.rb index d5d1a4ca..27b08156 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/manual_journals.rb b/lib/xero-ruby/models/accounting/manual_journals.rb index 535282dc..6b7d57ca 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/online_invoice.rb b/lib/xero-ruby/models/accounting/online_invoice.rb index 1af82b1b..e006bb9f 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/online_invoices.rb b/lib/xero-ruby/models/accounting/online_invoices.rb index 4824229e..d4113615 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/organisation.rb b/lib/xero-ruby/models/accounting/organisation.rb index 4187e2c6..ef646ac9 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -114,8 +114,7 @@ class Organisation N6_MONTHLY = "6MONTHLY".freeze QUARTERLY = "QUARTERLY".freeze YEARLY = "YEARLY".freeze - # duplicate definitions generated: https://github.com/XeroAPI/xero-ruby/issues/53#issuecomment-668893305 - # NONE = "NONE".freeze + NONE = "NONE".freeze # The default for LineAmountTypes on sales transactions attr_accessor :default_sales_tax @@ -137,19 +136,18 @@ class Organisation # Organisation Entity Type attr_accessor :organisation_entity_type - # duplicate definitions generated: https://github.com/XeroAPI/xero-ruby/issues/53#issuecomment-668893305 - # ACCOUNTING_PRACTICE = "ACCOUNTING_PRACTICE".freeze - # COMPANY = "COMPANY".freeze - # CHARITY = "CHARITY".freeze - # CLUB_OR_SOCIETY = "CLUB_OR_SOCIETY".freeze - # LOOK_THROUGH_COMPANY = "LOOK_THROUGH_COMPANY".freeze - # NOT_FOR_PROFIT = "NOT_FOR_PROFIT".freeze - # PARTNERSHIP = "PARTNERSHIP".freeze - # S_CORPORATION = "S_CORPORATION".freeze - # SELF_MANAGED_SUPERANNUATION_FUND = "SELF_MANAGED_SUPERANNUATION_FUND".freeze - # SOLE_TRADER = "SOLE_TRADER".freeze - # SUPERANNUATION_FUND = "SUPERANNUATION_FUND".freeze - # TRUST = "TRUST".freeze + ACCOUNTING_PRACTICE = "ACCOUNTING_PRACTICE".freeze + COMPANY = "COMPANY".freeze + CHARITY = "CHARITY".freeze + CLUB_OR_SOCIETY = "CLUB_OR_SOCIETY".freeze + LOOK_THROUGH_COMPANY = "LOOK_THROUGH_COMPANY".freeze + NOT_FOR_PROFIT = "NOT_FOR_PROFIT".freeze + PARTNERSHIP = "PARTNERSHIP".freeze + S_CORPORATION = "S_CORPORATION".freeze + SELF_MANAGED_SUPERANNUATION_FUND = "SELF_MANAGED_SUPERANNUATION_FUND".freeze + SOLE_TRADER = "SOLE_TRADER".freeze + SUPERANNUATION_FUND = "SUPERANNUATION_FUND".freeze + TRUST = "TRUST".freeze # A unique identifier for the organisation. Potential uses. attr_accessor :short_code @@ -272,9 +270,9 @@ def self.openapi_types :'sales_tax_period' => :'String', :'default_sales_tax' => :'String', :'default_purchases_tax' => :'String', - :'period_lock_date' => :'Date', - :'end_of_year_lock_date' => :'Date', - :'created_date_utc' => :'DateTime', + :'period_lock_date' => :'String', + :'end_of_year_lock_date' => :'String', + :'created_date_utc' => :'String', :'timezone' => :'TimeZone', :'organisation_entity_type' => :'String', :'short_code' => :'String', diff --git a/lib/xero-ruby/models/accounting/organisations.rb b/lib/xero-ruby/models/accounting/organisations.rb index 2833acd9..9c44a947 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/overpayment.rb b/lib/xero-ruby/models/accounting/overpayment.rb index 6bcbab0c..52e11349 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -132,14 +132,14 @@ def self.openapi_types { :'type' => :'String', :'contact' => :'Contact', - :'date' => :'Date', + :'date' => :'String', :'status' => :'String', :'line_amount_types' => :'LineAmountTypes', :'line_items' => :'Array', :'sub_total' => :'BigDecimal', :'total_tax' => :'BigDecimal', :'total' => :'BigDecimal', - :'updated_date_utc' => :'DateTime', + :'updated_date_utc' => :'String', :'currency_code' => :'CurrencyCode', :'overpayment_id' => :'String', :'currency_rate' => :'BigDecimal', diff --git a/lib/xero-ruby/models/accounting/overpayments.rb b/lib/xero-ruby/models/accounting/overpayments.rb index 43938339..213e56f4 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/payment.rb b/lib/xero-ruby/models/accounting/payment.rb index 31ef4e36..548246aa 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -162,14 +162,14 @@ def self.openapi_types :'credit_note_number' => :'String', :'account' => :'Account', :'code' => :'String', - :'date' => :'Date', + :'date' => :'String', :'currency_rate' => :'BigDecimal', :'amount' => :'BigDecimal', :'reference' => :'String', :'is_reconciled' => :'Boolean', :'status' => :'String', :'payment_type' => :'String', - :'updated_date_utc' => :'DateTime', + :'updated_date_utc' => :'String', :'payment_id' => :'String', :'bank_account_number' => :'String', :'particulars' => :'String', diff --git a/lib/xero-ruby/models/accounting/payment_delete.rb b/lib/xero-ruby/models/accounting/payment_delete.rb index 8403c2ee..ee4e17dd 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/payment_service.rb b/lib/xero-ruby/models/accounting/payment_service.rb index 9ffd50d0..72d18de5 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/payment_services.rb b/lib/xero-ruby/models/accounting/payment_services.rb index 23343701..00aa6ffa 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/payment_term.rb b/lib/xero-ruby/models/accounting/payment_term.rb index 57fbed83..bfeedb02 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/payment_term_type.rb b/lib/xero-ruby/models/accounting/payment_term_type.rb index 069e1354..201c3930 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/payments.rb b/lib/xero-ruby/models/accounting/payments.rb index 6232b91d..7f699d8b 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/phone.rb b/lib/xero-ruby/models/accounting/phone.rb index e7675e77..979b84e0 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/prepayment.rb b/lib/xero-ruby/models/accounting/prepayment.rb index 8e9ae685..346478fb 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -133,7 +133,7 @@ def self.openapi_types { :'type' => :'String', :'contact' => :'Contact', - :'date' => :'Date', + :'date' => :'String', :'status' => :'String', :'line_amount_types' => :'LineAmountTypes', :'line_items' => :'Array', @@ -141,7 +141,7 @@ def self.openapi_types :'total_tax' => :'BigDecimal', :'total' => :'BigDecimal', :'reference' => :'String', - :'updated_date_utc' => :'DateTime', + :'updated_date_utc' => :'String', :'currency_code' => :'CurrencyCode', :'prepayment_id' => :'String', :'currency_rate' => :'BigDecimal', diff --git a/lib/xero-ruby/models/accounting/prepayments.rb b/lib/xero-ruby/models/accounting/prepayments.rb index d8cb0a29..f1f65eb6 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/purchase.rb b/lib/xero-ruby/models/accounting/purchase.rb index 4f39dc14..76292217 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/purchase_order.rb b/lib/xero-ruby/models/accounting/purchase_order.rb index 1752b0f8..9c87faad 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -167,8 +167,8 @@ def self.openapi_types { :'contact' => :'Contact', :'line_items' => :'Array', - :'date' => :'Date', - :'delivery_date' => :'Date', + :'date' => :'String', + :'delivery_date' => :'String', :'line_amount_types' => :'LineAmountTypes', :'purchase_order_number' => :'String', :'reference' => :'String', @@ -180,7 +180,7 @@ def self.openapi_types :'attention_to' => :'String', :'telephone' => :'String', :'delivery_instructions' => :'String', - :'expected_arrival_date' => :'Date', + :'expected_arrival_date' => :'String', :'purchase_order_id' => :'String', :'currency_rate' => :'BigDecimal', :'sub_total' => :'BigDecimal', @@ -188,7 +188,7 @@ def self.openapi_types :'total' => :'BigDecimal', :'total_discount' => :'BigDecimal', :'has_attachments' => :'Boolean', - :'updated_date_utc' => :'DateTime', + :'updated_date_utc' => :'String', :'status_attribute_string' => :'String', :'validation_errors' => :'Array', :'warnings' => :'Array', diff --git a/lib/xero-ruby/models/accounting/purchase_orders.rb b/lib/xero-ruby/models/accounting/purchase_orders.rb index cc0a6aad..d5ee432d 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/quote.rb b/lib/xero-ruby/models/accounting/quote.rb index 84e5fdb2..baa610d7 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -128,9 +128,9 @@ def self.openapi_types :'terms' => :'String', :'contact' => :'Contact', :'line_items' => :'Array', - :'date' => :'Date', + :'date' => :'String', :'date_string' => :'String', - :'expiry_date' => :'Date', + :'expiry_date' => :'String', :'expiry_date_string' => :'String', :'status' => :'QuoteStatusCodes', :'currency_code' => :'CurrencyCode', @@ -142,7 +142,7 @@ def self.openapi_types :'title' => :'String', :'summary' => :'String', :'branding_theme_id' => :'String', - :'updated_date_utc' => :'DateTime', + :'updated_date_utc' => :'String', :'line_amount_types' => :'QuoteLineAmountTypes', :'status_attribute_string' => :'String', :'validation_errors' => :'Array' 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 15e41ad7..90ad7e33 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/quote_status_codes.rb b/lib/xero-ruby/models/accounting/quote_status_codes.rb index c3404240..2c827f29 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/quotes.rb b/lib/xero-ruby/models/accounting/quotes.rb index 010e9ca3..5e0bcf9f 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/receipt.rb b/lib/xero-ruby/models/accounting/receipt.rb index 32654108..aef7b304 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -125,7 +125,7 @@ def self.attribute_map # Attribute type mapping. def self.openapi_types { - :'date' => :'Date', + :'date' => :'String', :'contact' => :'Contact', :'line_items' => :'Array', :'user' => :'User', @@ -137,7 +137,7 @@ def self.openapi_types :'receipt_id' => :'String', :'status' => :'String', :'receipt_number' => :'String', - :'updated_date_utc' => :'DateTime', + :'updated_date_utc' => :'String', :'has_attachments' => :'Boolean', :'url' => :'String', :'validation_errors' => :'Array', diff --git a/lib/xero-ruby/models/accounting/receipts.rb b/lib/xero-ruby/models/accounting/receipts.rb index 88030690..d89a8c36 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/repeating_invoice.rb b/lib/xero-ruby/models/accounting/repeating_invoice.rb index 9a646ccc..86d009e6 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/repeating_invoices.rb b/lib/xero-ruby/models/accounting/repeating_invoices.rb index 3b4e6cff..e356368a 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/report.rb b/lib/xero-ruby/models/accounting/report.rb index 2ee11d4b..6991916c 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -82,7 +82,7 @@ def self.openapi_types :'report_type' => :'String', :'report_title' => :'String', :'report_date' => :'String', - :'updated_date_utc' => :'DateTime', + :'updated_date_utc' => :'String', :'contacts' => :'Array' } end diff --git a/lib/xero-ruby/models/accounting/report_attribute.rb b/lib/xero-ruby/models/accounting/report_attribute.rb index 8e0e02dc..6619f563 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/report_cell.rb b/lib/xero-ruby/models/accounting/report_cell.rb index a782fb45..c00b8121 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/report_fields.rb b/lib/xero-ruby/models/accounting/report_fields.rb index c0862aaa..ff8e0bba 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/report_row.rb b/lib/xero-ruby/models/accounting/report_row.rb index c7516d9c..53577fe8 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/report_rows.rb b/lib/xero-ruby/models/accounting/report_rows.rb index ca1f59bf..900c7322 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/report_with_row.rb b/lib/xero-ruby/models/accounting/report_with_row.rb index 73fd9fa5..3ba42502 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -69,7 +69,7 @@ def self.openapi_types :'report_titles' => :'Array', :'report_date' => :'String', :'rows' => :'Array', - :'updated_date_utc' => :'DateTime', + :'updated_date_utc' => :'String', :'fields' => :'Array' } end diff --git a/lib/xero-ruby/models/accounting/report_with_rows.rb b/lib/xero-ruby/models/accounting/report_with_rows.rb index e9305156..d93a3fce 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/reports.rb b/lib/xero-ruby/models/accounting/reports.rb index 9bf4bce0..921e780a 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/request_empty.rb b/lib/xero-ruby/models/accounting/request_empty.rb index f582293f..4bff8f90 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/row_type.rb b/lib/xero-ruby/models/accounting/row_type.rb index 1dc373cd..6e159a36 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/sales_tracking_category.rb b/lib/xero-ruby/models/accounting/sales_tracking_category.rb index 9c3c14f8..9363d48d 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/schedule.rb b/lib/xero-ruby/models/accounting/schedule.rb index addba489..5f25dc63 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -88,9 +88,9 @@ def self.openapi_types :'unit' => :'String', :'due_date' => :'Integer', :'due_date_type' => :'String', - :'start_date' => :'Date', - :'next_scheduled_date' => :'Date', - :'end_date' => :'Date' + :'start_date' => :'String', + :'next_scheduled_date' => :'String', + :'end_date' => :'String' } end diff --git a/lib/xero-ruby/models/accounting/tax_component.rb b/lib/xero-ruby/models/accounting/tax_component.rb index 32210f96..d3a6b5d4 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/tax_rate.rb b/lib/xero-ruby/models/accounting/tax_rate.rb index 4231ec92..80da08fb 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/tax_rates.rb b/lib/xero-ruby/models/accounting/tax_rates.rb index c54e285d..b81a2a50 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/tax_type.rb b/lib/xero-ruby/models/accounting/tax_type.rb index ad706488..63e24559 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/ten_ninety_nine_contact.rb b/lib/xero-ruby/models/accounting/ten_ninety_nine_contact.rb index d406de2b..55dafbb0 100644 --- a/lib/xero-ruby/models/accounting/ten_ninety_nine_contact.rb +++ b/lib/xero-ruby/models/accounting/ten_ninety_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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/time_zone.rb b/lib/xero-ruby/models/accounting/time_zone.rb index adfdfa0f..33e4ecaa 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/tracking_categories.rb b/lib/xero-ruby/models/accounting/tracking_categories.rb index b111e856..fd071e3f 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/tracking_category.rb b/lib/xero-ruby/models/accounting/tracking_category.rb index c7f76847..cf3ef7f5 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/tracking_option.rb b/lib/xero-ruby/models/accounting/tracking_option.rb index f6b0d5fa..29e964e8 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/tracking_options.rb b/lib/xero-ruby/models/accounting/tracking_options.rb index 9c0ddb97..c05baf73 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/user.rb b/lib/xero-ruby/models/accounting/user.rb index a8e03873..5ec5238e 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -87,7 +87,7 @@ def self.openapi_types :'email_address' => :'String', :'first_name' => :'String', :'last_name' => :'String', - :'updated_date_utc' => :'DateTime', + :'updated_date_utc' => :'String', :'is_subscriber' => :'Boolean', :'organisation_role' => :'String' } diff --git a/lib/xero-ruby/models/accounting/users.rb b/lib/xero-ruby/models/accounting/users.rb index 182adc20..882ede20 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/validation_error.rb b/lib/xero-ruby/models/accounting/validation_error.rb index 78ff405f..b4454515 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/assets/asset.rb b/lib/xero-ruby/models/assets/asset.rb index ef67358b..f2d3147c 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/assets/asset_status.rb b/lib/xero-ruby/models/assets/asset_status.rb index a0d6ea80..657632a0 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 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 dcd8ac7d..3fd7fdb5 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/assets/asset_type.rb b/lib/xero-ruby/models/assets/asset_type.rb index f68110e1..4103b432 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/assets/assets.rb b/lib/xero-ruby/models/assets/assets.rb index 09f9b458..193411cc 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/assets/book_depreciation_detail.rb b/lib/xero-ruby/models/assets/book_depreciation_detail.rb index 70b201d3..9c1723aa 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/assets/book_depreciation_setting.rb b/lib/xero-ruby/models/assets/book_depreciation_setting.rb index 62d549c5..cfc48486 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/assets/error.rb b/lib/xero-ruby/models/assets/error.rb index b37d95e0..676fd48f 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 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 26c584da..5a650fe0 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/assets/pagination.rb b/lib/xero-ruby/models/assets/pagination.rb index adc4f561..2a7432b1 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 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 57633bc2..323548ab 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/assets/setting.rb b/lib/xero-ruby/models/assets/setting.rb index 37f9c85f..c763f668 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/amount.rb b/lib/xero-ruby/models/projects/amount.rb index abb89b9c..aa24cf2e 100644 --- a/lib/xero-ruby/models/projects/amount.rb +++ b/lib/xero-ruby/models/projects/amount.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/charge_type.rb b/lib/xero-ruby/models/projects/charge_type.rb index df65b423..8f26c613 100644 --- a/lib/xero-ruby/models/projects/charge_type.rb +++ b/lib/xero-ruby/models/projects/charge_type.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/currency_code.rb b/lib/xero-ruby/models/projects/currency_code.rb index 3e8350c3..8cef49cc 100644 --- a/lib/xero-ruby/models/projects/currency_code.rb +++ b/lib/xero-ruby/models/projects/currency_code.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/error.rb b/lib/xero-ruby/models/projects/error.rb index 3813324f..c1e47538 100644 --- a/lib/xero-ruby/models/projects/error.rb +++ b/lib/xero-ruby/models/projects/error.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/pagination.rb b/lib/xero-ruby/models/projects/pagination.rb index 2425159a..740039a6 100644 --- a/lib/xero-ruby/models/projects/pagination.rb +++ b/lib/xero-ruby/models/projects/pagination.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/project.rb b/lib/xero-ruby/models/projects/project.rb index b554c4ac..ee2fb5c2 100644 --- a/lib/xero-ruby/models/projects/project.rb +++ b/lib/xero-ruby/models/projects/project.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/project_create_or_update.rb b/lib/xero-ruby/models/projects/project_create_or_update.rb index 73501b62..9a79daca 100644 --- a/lib/xero-ruby/models/projects/project_create_or_update.rb +++ b/lib/xero-ruby/models/projects/project_create_or_update.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/project_patch.rb b/lib/xero-ruby/models/projects/project_patch.rb index d099dc91..71e335e8 100644 --- a/lib/xero-ruby/models/projects/project_patch.rb +++ b/lib/xero-ruby/models/projects/project_patch.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/project_status.rb b/lib/xero-ruby/models/projects/project_status.rb index 413eb487..29f0c15d 100644 --- a/lib/xero-ruby/models/projects/project_status.rb +++ b/lib/xero-ruby/models/projects/project_status.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/project_user.rb b/lib/xero-ruby/models/projects/project_user.rb index b3219af2..42279132 100644 --- a/lib/xero-ruby/models/projects/project_user.rb +++ b/lib/xero-ruby/models/projects/project_user.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/project_users.rb b/lib/xero-ruby/models/projects/project_users.rb index 3239ee7a..ef09f535 100644 --- a/lib/xero-ruby/models/projects/project_users.rb +++ b/lib/xero-ruby/models/projects/project_users.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/projects.rb b/lib/xero-ruby/models/projects/projects.rb index 92dc7c54..0fb83d7e 100644 --- a/lib/xero-ruby/models/projects/projects.rb +++ b/lib/xero-ruby/models/projects/projects.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/task.rb b/lib/xero-ruby/models/projects/task.rb index 7aefe30b..fca3a698 100644 --- a/lib/xero-ruby/models/projects/task.rb +++ b/lib/xero-ruby/models/projects/task.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/task_create_or_update.rb b/lib/xero-ruby/models/projects/task_create_or_update.rb index 6b471910..00c438b8 100644 --- a/lib/xero-ruby/models/projects/task_create_or_update.rb +++ b/lib/xero-ruby/models/projects/task_create_or_update.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/tasks.rb b/lib/xero-ruby/models/projects/tasks.rb index c808a1ec..34d04f51 100644 --- a/lib/xero-ruby/models/projects/tasks.rb +++ b/lib/xero-ruby/models/projects/tasks.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/time_entries.rb b/lib/xero-ruby/models/projects/time_entries.rb index 851aca55..eb2c93c7 100644 --- a/lib/xero-ruby/models/projects/time_entries.rb +++ b/lib/xero-ruby/models/projects/time_entries.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/time_entry.rb b/lib/xero-ruby/models/projects/time_entry.rb index 5b013550..0792c5d3 100644 --- a/lib/xero-ruby/models/projects/time_entry.rb +++ b/lib/xero-ruby/models/projects/time_entry.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/time_entry_create_or_update.rb b/lib/xero-ruby/models/projects/time_entry_create_or_update.rb index 37b4f63f..1a70fff9 100644 --- a/lib/xero-ruby/models/projects/time_entry_create_or_update.rb +++ b/lib/xero-ruby/models/projects/time_entry_create_or_update.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/version.rb b/lib/xero-ruby/version.rb index ddf3cefc..96459242 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/xero-ruby.gemspec b/xero-ruby.gemspec index 4f0f88ae..97acc0bd 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.2.12 +The version of the OpenAPI document: 2.2.14 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 From b3521f8e4cec2dff2e49c9d09c70ba83831c64ca Mon Sep 17 00:00:00 2001 From: serknight Date: Thu, 27 Aug 2020 11:31:21 -0600 Subject: [PATCH 2/3] docs and generation keyed off the master branch of OAS --- docs/accounting/Account.md | 2 +- docs/accounting/AccountsPayable.md | 4 +-- docs/accounting/AccountsReceivable.md | 4 +-- docs/accounting/Allocation.md | 4 +-- docs/accounting/BankTransaction.md | 12 ++++---- docs/accounting/BankTransfer.md | 8 ++--- docs/accounting/BatchPayment.md | 6 ++-- docs/accounting/BrandingTheme.md | 2 +- docs/accounting/Contact.md | 4 +-- docs/accounting/CreditNote.md | 16 +++++----- docs/accounting/Employee.md | 2 +- docs/accounting/ExpenseClaim.md | 12 ++++---- docs/accounting/HistoryRecord.md | 2 +- docs/accounting/Invoice.md | 30 +++++++++---------- docs/accounting/Item.md | 6 ++-- docs/accounting/Journal.md | 4 +-- docs/accounting/JournalLine.md | 6 ++-- docs/accounting/LineItem.md | 12 ++++---- docs/accounting/LinkedTransaction.md | 2 +- docs/accounting/ManualJournal.md | 4 +-- docs/accounting/ManualJournalLine.md | 4 +-- docs/accounting/Organisation.md | 6 ++-- docs/accounting/Overpayment.md | 14 ++++----- docs/accounting/Payment.md | 8 ++--- docs/accounting/Prepayment.md | 14 ++++----- docs/accounting/Purchase.md | 2 +- docs/accounting/PurchaseOrder.md | 18 +++++------ docs/accounting/Quote.md | 14 ++++----- docs/accounting/Receipt.md | 10 +++---- docs/accounting/RepeatingInvoice.md | 6 ++-- docs/accounting/Report.md | 2 +- docs/accounting/ReportWithRow.md | 2 +- docs/accounting/Schedule.md | 6 ++-- docs/accounting/TaxComponent.md | 2 +- docs/accounting/TaxRate.md | 4 +-- docs/accounting/TenNinetyNineContact.md | 26 ++++++++-------- docs/accounting/User.md | 2 +- docs/assets/Asset.md | 6 ++-- docs/assets/BookDepreciationDetail.md | 12 ++++---- docs/assets/BookDepreciationSetting.md | 2 +- docs/projects/Amount.md | 2 +- docs/projects/ProjectCreateOrUpdate.md | 2 +- lib/xero-ruby/models/accounting/account.rb | 2 +- lib/xero-ruby/models/accounting/allocation.rb | 2 +- .../models/accounting/bank_transaction.rb | 4 +-- .../models/accounting/bank_transfer.rb | 4 +-- .../models/accounting/batch_payment.rb | 4 +-- .../models/accounting/branding_theme.rb | 2 +- lib/xero-ruby/models/accounting/contact.rb | 2 +- .../models/accounting/credit_note.rb | 6 ++-- lib/xero-ruby/models/accounting/employee.rb | 2 +- .../models/accounting/expense_claim.rb | 6 ++-- .../models/accounting/history_record.rb | 2 +- lib/xero-ruby/models/accounting/invoice.rb | 12 ++++---- lib/xero-ruby/models/accounting/item.rb | 2 +- lib/xero-ruby/models/accounting/journal.rb | 4 +-- .../models/accounting/linked_transaction.rb | 2 +- .../models/accounting/manual_journal.rb | 4 +-- .../models/accounting/organisation.rb | 6 ++-- .../models/accounting/overpayment.rb | 4 +-- lib/xero-ruby/models/accounting/payment.rb | 4 +-- lib/xero-ruby/models/accounting/prepayment.rb | 4 +-- .../models/accounting/purchase_order.rb | 8 ++--- lib/xero-ruby/models/accounting/quote.rb | 6 ++-- lib/xero-ruby/models/accounting/receipt.rb | 4 +-- lib/xero-ruby/models/accounting/report.rb | 2 +- .../models/accounting/report_with_row.rb | 2 +- lib/xero-ruby/models/accounting/schedule.rb | 6 ++-- lib/xero-ruby/models/accounting/user.rb | 2 +- 69 files changed, 207 insertions(+), 207 deletions(-) diff --git a/docs/accounting/Account.md b/docs/accounting/Account.md index 698540ac..9ca31be3 100644 --- a/docs/accounting/Account.md +++ b/docs/accounting/Account.md @@ -21,7 +21,7 @@ Name | Type | Description | Notes **reporting_code** | **String** | Shown if set | [optional] **reporting_code_name** | **String** | Shown if set | [optional] **has_attachments** | **Boolean** | boolean to indicate if an account has an attachment (read only) | [optional] [default to false] -**updated_date_utc** | **String** | Last modified date UTC format | [optional] +**updated_date_utc** | **DateTime** | Last modified date UTC format | [optional] **add_to_watchlist** | **Boolean** | Boolean – describes whether the account is shown in the watchlist widget on the dashboard | [optional] **validation_errors** | [**Array<ValidationError>**](ValidationError.md) | Displays array of validation error messages from the API | [optional] diff --git a/docs/accounting/AccountsPayable.md b/docs/accounting/AccountsPayable.md index 812ad37d..3eaaf8ce 100644 --- a/docs/accounting/AccountsPayable.md +++ b/docs/accounting/AccountsPayable.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**outstanding** | **Float** | | [optional] -**overdue** | **Float** | | [optional] +**outstanding** | **BigDecimal** | | [optional] +**overdue** | **BigDecimal** | | [optional] ## Code Sample diff --git a/docs/accounting/AccountsReceivable.md b/docs/accounting/AccountsReceivable.md index 4380c5b3..5ee6b7cc 100644 --- a/docs/accounting/AccountsReceivable.md +++ b/docs/accounting/AccountsReceivable.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**outstanding** | **Float** | | [optional] -**overdue** | **Float** | | [optional] +**outstanding** | **BigDecimal** | | [optional] +**overdue** | **BigDecimal** | | [optional] ## Code Sample diff --git a/docs/accounting/Allocation.md b/docs/accounting/Allocation.md index 97d20cc7..19584807 100644 --- a/docs/accounting/Allocation.md +++ b/docs/accounting/Allocation.md @@ -8,8 +8,8 @@ Name | Type | Description | Notes **overpayment** | [**Overpayment**](Overpayment.md) | | [optional] **prepayment** | [**Prepayment**](Prepayment.md) | | [optional] **credit_note** | [**CreditNote**](CreditNote.md) | | [optional] -**amount** | **Float** | the amount being applied to the invoice | -**date** | **String** | the date the allocation is applied YYYY-MM-DD. | +**amount** | **BigDecimal** | the amount being applied to the invoice | +**date** | **Date** | the date the allocation is applied YYYY-MM-DD. | **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] diff --git a/docs/accounting/BankTransaction.md b/docs/accounting/BankTransaction.md index 360144f5..4b76aad1 100644 --- a/docs/accounting/BankTransaction.md +++ b/docs/accounting/BankTransaction.md @@ -9,20 +9,20 @@ Name | Type | Description | Notes **line_items** | [**Array<LineItem>**](LineItem.md) | See LineItems | **bank_account** | [**Account**](Account.md) | | **is_reconciled** | **Boolean** | Boolean to show if transaction is reconciled | [optional] -**date** | **String** | Date of transaction – YYYY-MM-DD | [optional] +**date** | **Date** | Date of transaction – YYYY-MM-DD | [optional] **reference** | **String** | Reference for the transaction. Only supported for SPEND and RECEIVE transactions. | [optional] **currency_code** | [**CurrencyCode**](CurrencyCode.md) | | [optional] -**currency_rate** | **Float** | Exchange rate to base currency when money is spent or received. e.g.0.7500 Only used for bank transactions in non base currency. If this isn’t specified for non base currency accounts then either the user-defined rate (preference) or the XE.com day rate will be used. Setting currency is only supported on overpayments. | [optional] +**currency_rate** | **BigDecimal** | Exchange rate to base currency when money is spent or received. e.g.0.7500 Only used for bank transactions in non base currency. If this isn’t specified for non base currency accounts then either the user-defined rate (preference) or the XE.com day rate will be used. Setting currency is only supported on overpayments. | [optional] **url** | **String** | URL link to a source document – shown as “Go to App Name” | [optional] **status** | **String** | See Bank Transaction Status Codes | [optional] **line_amount_types** | [**LineAmountTypes**](LineAmountTypes.md) | | [optional] -**sub_total** | **Float** | Total of bank transaction excluding taxes | [optional] -**total_tax** | **Float** | Total tax on bank transaction | [optional] -**total** | **Float** | Total of bank transaction tax inclusive | [optional] +**sub_total** | **BigDecimal** | Total of bank transaction excluding taxes | [optional] +**total_tax** | **BigDecimal** | Total tax on bank transaction | [optional] +**total** | **BigDecimal** | Total of bank transaction tax inclusive | [optional] **bank_transaction_id** | **String** | Xero generated unique identifier for bank transaction | [optional] **prepayment_id** | **String** | Xero generated unique identifier for a Prepayment. This will be returned on BankTransactions with a Type of SPEND-PREPAYMENT or RECEIVE-PREPAYMENT | [optional] **overpayment_id** | **String** | Xero generated unique identifier for an Overpayment. This will be returned on BankTransactions with a Type of SPEND-OVERPAYMENT or RECEIVE-OVERPAYMENT | [optional] -**updated_date_utc** | **String** | Last modified date UTC format | [optional] +**updated_date_utc** | **DateTime** | Last modified date UTC format | [optional] **has_attachments** | **Boolean** | Boolean to indicate if a bank transaction has an attachment | [optional] [default to false] **status_attribute_string** | **String** | A string to indicate if a invoice status | [optional] **validation_errors** | [**Array<ValidationError>**](ValidationError.md) | Displays array of validation error messages from the API | [optional] diff --git a/docs/accounting/BankTransfer.md b/docs/accounting/BankTransfer.md index 0fe15298..61fb0677 100644 --- a/docs/accounting/BankTransfer.md +++ b/docs/accounting/BankTransfer.md @@ -6,14 +6,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **from_bank_account** | [**Account**](Account.md) | | **to_bank_account** | [**Account**](Account.md) | | -**amount** | **Float** | amount of the transaction | -**date** | **String** | The date of the Transfer YYYY-MM-DD | [optional] +**amount** | **BigDecimal** | amount of the transaction | +**date** | **Date** | The date of the Transfer YYYY-MM-DD | [optional] **bank_transfer_id** | **String** | The identifier of the Bank Transfer | [optional] -**currency_rate** | **Float** | The currency rate | [optional] +**currency_rate** | **BigDecimal** | The currency rate | [optional] **from_bank_transaction_id** | **String** | The Bank Transaction ID for the source account | [optional] **to_bank_transaction_id** | **String** | The Bank Transaction ID for the destination account | [optional] **has_attachments** | **Boolean** | Boolean to indicate if a Bank Transfer has an attachment | [optional] [default to false] -**created_date_utc** | **String** | UTC timestamp of creation date of bank transfer | [optional] +**created_date_utc** | **DateTime** | UTC timestamp of creation date of bank transfer | [optional] **validation_errors** | [**Array<ValidationError>**](ValidationError.md) | Displays array of validation error messages from the API | [optional] ## Code Sample diff --git a/docs/accounting/BatchPayment.md b/docs/accounting/BatchPayment.md index ffc5c19e..6f8cc9dc 100644 --- a/docs/accounting/BatchPayment.md +++ b/docs/accounting/BatchPayment.md @@ -12,13 +12,13 @@ Name | Type | Description | Notes **narrative** | **String** | (UK Only) Only shows on the statement line in Xero. Max length =18 | [optional] **batch_payment_id** | **String** | The Xero generated unique identifier for the bank transaction (read-only) | [optional] **date_string** | **String** | Date the payment is being made (YYYY-MM-DD) e.g. 2009-09-06 | [optional] -**date** | **String** | Date the payment is being made (YYYY-MM-DD) e.g. 2009-09-06 | [optional] -**amount** | **Float** | The amount of the payment. Must be less than or equal to the outstanding amount owing on the invoice e.g. 200.00 | [optional] +**date** | **Date** | Date the payment is being made (YYYY-MM-DD) e.g. 2009-09-06 | [optional] +**amount** | **BigDecimal** | The amount of the payment. Must be less than or equal to the outstanding amount owing on the invoice e.g. 200.00 | [optional] **payments** | [**Array<Payment>**](Payment.md) | An array of payments | [optional] **type** | **String** | PAYBATCH for bill payments or RECBATCH for sales invoice payments (read-only) | [optional] **status** | **String** | AUTHORISED or DELETED (read-only). New batch payments will have a status of AUTHORISED. It is not possible to delete batch payments via the API. | [optional] **total_amount** | **String** | The total of the payments that make up the batch (read-only) | [optional] -**updated_date_utc** | **String** | UTC timestamp of last update to the payment | [optional] +**updated_date_utc** | **DateTime** | UTC timestamp of last update to the payment | [optional] **is_reconciled** | **String** | Booelan that tells you if the batch payment has been reconciled (read-only) | [optional] ## Code Sample diff --git a/docs/accounting/BrandingTheme.md b/docs/accounting/BrandingTheme.md index 8f9b9649..af472ec7 100644 --- a/docs/accounting/BrandingTheme.md +++ b/docs/accounting/BrandingTheme.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **logo_url** | **String** | The location of the image file used as the logo on this branding theme | [optional] **type** | **String** | Always INVOICE | [optional] **sort_order** | **Integer** | Integer – ranked order of branding theme. The default branding theme has a value of 0 | [optional] -**created_date_utc** | **String** | UTC timestamp of creation date of branding theme | [optional] +**created_date_utc** | **DateTime** | UTC timestamp of creation date of branding theme | [optional] ## Code Sample diff --git a/docs/accounting/Contact.md b/docs/accounting/Contact.md index 87aafd8f..8f06e50c 100644 --- a/docs/accounting/Contact.md +++ b/docs/accounting/Contact.md @@ -31,12 +31,12 @@ Name | Type | Description | Notes **tracking_category_name** | **String** | The name of the Tracking Category assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories | [optional] **tracking_category_option** | **String** | The name of the Tracking Option assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories | [optional] **payment_terms** | [**PaymentTerm**](PaymentTerm.md) | | [optional] -**updated_date_utc** | **String** | UTC timestamp of last update to contact | [optional] +**updated_date_utc** | **DateTime** | UTC timestamp of last update to contact | [optional] **contact_groups** | [**Array<ContactGroup>**](ContactGroup.md) | Displays which contact groups a contact is included in | [optional] **website** | **String** | Website address for contact (read only) | [optional] **branding_theme** | [**BrandingTheme**](BrandingTheme.md) | | [optional] **batch_payments** | [**BatchPaymentDetails**](BatchPaymentDetails.md) | | [optional] -**discount** | **Float** | The default discount rate for the contact (read only) | [optional] +**discount** | **BigDecimal** | The default discount rate for the contact (read only) | [optional] **balances** | [**Balances**](Balances.md) | | [optional] **attachments** | [**Array<Attachment>**](Attachment.md) | Displays array of attachments from the API | [optional] **has_attachments** | **Boolean** | A boolean to indicate if a contact has an attachment | [optional] [default to false] diff --git a/docs/accounting/CreditNote.md b/docs/accounting/CreditNote.md index 925e621d..db2b55c2 100644 --- a/docs/accounting/CreditNote.md +++ b/docs/accounting/CreditNote.md @@ -6,22 +6,22 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **String** | See Credit Note Types | [optional] **contact** | [**Contact**](Contact.md) | | [optional] -**date** | **String** | The date the credit note is issued YYYY-MM-DD. If the Date element is not specified then it will default to the current date based on the timezone setting of the organisation | [optional] +**date** | **Date** | The date the credit note is issued YYYY-MM-DD. If the Date element is not specified then it will default to the current date based on the timezone setting of the organisation | [optional] **status** | **String** | See Credit Note Status Codes | [optional] **line_amount_types** | [**LineAmountTypes**](LineAmountTypes.md) | | [optional] **line_items** | [**Array<LineItem>**](LineItem.md) | See Invoice Line Items | [optional] -**sub_total** | **Float** | The subtotal of the credit note excluding taxes | [optional] -**total_tax** | **Float** | The total tax on the credit note | [optional] -**total** | **Float** | The total of the Credit Note(subtotal + total tax) | [optional] -**updated_date_utc** | **String** | UTC timestamp of last update to the credit note | [optional] +**sub_total** | **BigDecimal** | The subtotal of the credit note excluding taxes | [optional] +**total_tax** | **BigDecimal** | The total tax on the credit note | [optional] +**total** | **BigDecimal** | The total of the Credit Note(subtotal + total tax) | [optional] +**updated_date_utc** | **DateTime** | UTC timestamp of last update to the credit note | [optional] **currency_code** | [**CurrencyCode**](CurrencyCode.md) | | [optional] -**fully_paid_on_date** | **String** | Date when credit note was fully paid(UTC format) | [optional] +**fully_paid_on_date** | **Date** | Date when credit note was fully paid(UTC format) | [optional] **credit_note_id** | **String** | Xero generated unique identifier | [optional] **credit_note_number** | **String** | ACCRECCREDIT – Unique alpha numeric code identifying credit note (when missing will auto-generate from your Organisation Invoice Settings) | [optional] **reference** | **String** | ACCRECCREDIT only – additional reference number | [optional] **sent_to_contact** | **Boolean** | boolean to indicate if a credit note has been sent to a contact via the Xero app (currently read only) | [optional] -**currency_rate** | **Float** | The currency rate for a multicurrency invoice. If no rate is specified, the XE.com day rate is used | [optional] -**remaining_credit** | **Float** | The remaining credit balance on the Credit Note | [optional] +**currency_rate** | **BigDecimal** | The currency rate for a multicurrency invoice. If no rate is specified, the XE.com day rate is used | [optional] +**remaining_credit** | **BigDecimal** | The remaining credit balance on the Credit Note | [optional] **allocations** | [**Array<Allocation>**](Allocation.md) | See Allocations | [optional] **applied_amount** | **Float** | The amount of applied to an invoice | [optional] **payments** | [**Array<Payment>**](Payment.md) | See Payments | [optional] diff --git a/docs/accounting/Employee.md b/docs/accounting/Employee.md index 470fa7ea..bd61fb2d 100644 --- a/docs/accounting/Employee.md +++ b/docs/accounting/Employee.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **first_name** | **String** | First name of an employee (max length = 255) | [optional] **last_name** | **String** | Last name of an employee (max length = 255) | [optional] **external_link** | [**ExternalLink**](ExternalLink.md) | | [optional] -**updated_date_utc** | **String** | | [optional] +**updated_date_utc** | **DateTime** | | [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] diff --git a/docs/accounting/ExpenseClaim.md b/docs/accounting/ExpenseClaim.md index 1c4b4928..4335c24e 100644 --- a/docs/accounting/ExpenseClaim.md +++ b/docs/accounting/ExpenseClaim.md @@ -9,12 +9,12 @@ Name | Type | Description | Notes **payments** | [**Array<Payment>**](Payment.md) | See Payments | [optional] **user** | [**User**](User.md) | | [optional] **receipts** | [**Array<Receipt>**](Receipt.md) | | [optional] -**updated_date_utc** | **String** | Last modified date UTC format | [optional] -**total** | **Float** | The total of an expense claim being paid | [optional] -**amount_due** | **Float** | The amount due to be paid for an expense claim | [optional] -**amount_paid** | **Float** | The amount still to pay for an expense claim | [optional] -**payment_due_date** | **String** | The date when the expense claim is due to be paid YYYY-MM-DD | [optional] -**reporting_date** | **String** | The date the expense claim will be reported in Xero YYYY-MM-DD | [optional] +**updated_date_utc** | **DateTime** | Last modified date UTC format | [optional] +**total** | **BigDecimal** | The total of an expense claim being paid | [optional] +**amount_due** | **BigDecimal** | The amount due to be paid for an expense claim | [optional] +**amount_paid** | **BigDecimal** | The amount still to pay for an expense claim | [optional] +**payment_due_date** | **Date** | The date when the expense claim is due to be paid YYYY-MM-DD | [optional] +**reporting_date** | **Date** | The date the expense claim will be reported in Xero YYYY-MM-DD | [optional] **receipt_id** | **String** | The Xero identifier for the Receipt e.g. e59a2c7f-1306-4078-a0f3-73537afcbba9 | [optional] ## Code Sample diff --git a/docs/accounting/HistoryRecord.md b/docs/accounting/HistoryRecord.md index 7215bfee..349794a2 100644 --- a/docs/accounting/HistoryRecord.md +++ b/docs/accounting/HistoryRecord.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **details** | **String** | details | [optional] **changes** | **String** | Name of branding theme | [optional] **user** | **String** | has a value of 0 | [optional] -**date_utc** | **String** | UTC timestamp of creation date of branding theme | [optional] +**date_utc** | **DateTime** | UTC timestamp of creation date of branding theme | [optional] ## Code Sample diff --git a/docs/accounting/Invoice.md b/docs/accounting/Invoice.md index 71a5db09..8171af39 100644 --- a/docs/accounting/Invoice.md +++ b/docs/accounting/Invoice.md @@ -7,35 +7,35 @@ Name | Type | Description | Notes **type** | **String** | See Invoice Types | [optional] **contact** | [**Contact**](Contact.md) | | [optional] **line_items** | [**Array<LineItem>**](LineItem.md) | See LineItems | [optional] -**date** | **String** | Date invoice was issued – YYYY-MM-DD. If the Date element is not specified it will default to the current date based on the timezone setting of the organisation | [optional] -**due_date** | **String** | Date invoice is due – YYYY-MM-DD | [optional] +**date** | **Date** | Date invoice was issued – YYYY-MM-DD. If the Date element is not specified it will default to the current date based on the timezone setting of the organisation | [optional] +**due_date** | **Date** | Date invoice is due – YYYY-MM-DD | [optional] **line_amount_types** | [**LineAmountTypes**](LineAmountTypes.md) | | [optional] **invoice_number** | **String** | ACCREC – Unique alpha numeric code identifying invoice (when missing will auto-generate from your Organisation Invoice Settings) (max length = 255) | [optional] **reference** | **String** | ACCREC only – additional reference number (max length = 255) | [optional] **branding_theme_id** | **String** | See BrandingThemes | [optional] **url** | **String** | URL link to a source document – shown as “Go to [appName]” in the Xero app | [optional] **currency_code** | [**CurrencyCode**](CurrencyCode.md) | | [optional] -**currency_rate** | **Float** | The currency rate for a multicurrency invoice. If no rate is specified, the XE.com day rate is used. (max length = [18].[6]) | [optional] +**currency_rate** | **BigDecimal** | The currency rate for a multicurrency invoice. If no rate is specified, the XE.com day rate is used. (max length = [18].[6]) | [optional] **status** | **String** | See Invoice Status Codes | [optional] **sent_to_contact** | **Boolean** | Boolean to set whether the invoice in the Xero app should be marked as “sent”. This can be set only on invoices that have been approved | [optional] -**expected_payment_date** | **String** | Shown on sales invoices (Accounts Receivable) when this has been set | [optional] -**planned_payment_date** | **String** | Shown on bills (Accounts Payable) when this has been set | [optional] -**cis_deduction** | **Float** | CIS deduction for UK contractors | [optional] -**sub_total** | **Float** | Total of invoice excluding taxes | [optional] -**total_tax** | **Float** | Total tax on invoice | [optional] -**total** | **Float** | Total of Invoice tax inclusive (i.e. SubTotal + TotalTax). This will be ignored if it doesn’t equal the sum of the LineAmounts | [optional] -**total_discount** | **Float** | Total of discounts applied on the invoice line items | [optional] +**expected_payment_date** | **Date** | Shown on sales invoices (Accounts Receivable) when this has been set | [optional] +**planned_payment_date** | **Date** | Shown on bills (Accounts Payable) when this has been set | [optional] +**cis_deduction** | **BigDecimal** | CIS deduction for UK contractors | [optional] +**sub_total** | **BigDecimal** | Total of invoice excluding taxes | [optional] +**total_tax** | **BigDecimal** | Total tax on invoice | [optional] +**total** | **BigDecimal** | Total of Invoice tax inclusive (i.e. SubTotal + TotalTax). This will be ignored if it doesn’t equal the sum of the LineAmounts | [optional] +**total_discount** | **BigDecimal** | Total of discounts applied on the invoice line items | [optional] **invoice_id** | **String** | Xero generated unique identifier for invoice | [optional] **has_attachments** | **Boolean** | boolean to indicate if an invoice has an attachment | [optional] [default to false] **is_discounted** | **Boolean** | boolean to indicate if an invoice has a discount | [optional] **payments** | [**Array<Payment>**](Payment.md) | See Payments | [optional] **prepayments** | [**Array<Prepayment>**](Prepayment.md) | See Prepayments | [optional] **overpayments** | [**Array<Overpayment>**](Overpayment.md) | See Overpayments | [optional] -**amount_due** | **Float** | Amount remaining to be paid on invoice | [optional] -**amount_paid** | **Float** | Sum of payments received for invoice | [optional] -**fully_paid_on_date** | **String** | The date the invoice was fully paid. Only returned on fully paid invoices | [optional] -**amount_credited** | **Float** | Sum of all credit notes, over-payments and pre-payments applied to invoice | [optional] -**updated_date_utc** | **String** | Last modified date UTC format | [optional] +**amount_due** | **BigDecimal** | Amount remaining to be paid on invoice | [optional] +**amount_paid** | **BigDecimal** | Sum of payments received for invoice | [optional] +**fully_paid_on_date** | **Date** | The date the invoice was fully paid. Only returned on fully paid invoices | [optional] +**amount_credited** | **BigDecimal** | Sum of all credit notes, over-payments and pre-payments applied to invoice | [optional] +**updated_date_utc** | **DateTime** | Last modified date UTC format | [optional] **credit_notes** | [**Array<CreditNote>**](CreditNote.md) | Details of credit notes that have been applied to an invoice | [optional] **attachments** | [**Array<Attachment>**](Attachment.md) | Displays array of attachments from the API | [optional] **has_errors** | **Boolean** | A boolean to indicate if a invoice has an validation errors | [optional] [default to false] diff --git a/docs/accounting/Item.md b/docs/accounting/Item.md index 5ba9b68b..c04f06fc 100644 --- a/docs/accounting/Item.md +++ b/docs/accounting/Item.md @@ -14,9 +14,9 @@ Name | Type | Description | Notes **purchase_details** | [**Purchase**](Purchase.md) | | [optional] **sales_details** | [**Purchase**](Purchase.md) | | [optional] **is_tracked_as_inventory** | **Boolean** | True for items that are tracked as inventory. An item will be tracked as inventory if the InventoryAssetAccountCode and COGSAccountCode are set. | [optional] -**total_cost_pool** | **Float** | The value of the item on hand. Calculated using average cost accounting. | [optional] -**quantity_on_hand** | **Float** | The quantity of the item on hand | [optional] -**updated_date_utc** | **String** | Last modified date in UTC format | [optional] +**total_cost_pool** | **BigDecimal** | The value of the item on hand. Calculated using average cost accounting. | [optional] +**quantity_on_hand** | **BigDecimal** | The quantity of the item on hand | [optional] +**updated_date_utc** | **DateTime** | Last modified date in UTC format | [optional] **item_id** | **String** | The Xero identifier for an Item | [optional] **status_attribute_string** | **String** | Status of object | [optional] **validation_errors** | [**Array<ValidationError>**](ValidationError.md) | Displays array of validation error messages from the API | [optional] diff --git a/docs/accounting/Journal.md b/docs/accounting/Journal.md index a936a643..421ec4ff 100644 --- a/docs/accounting/Journal.md +++ b/docs/accounting/Journal.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **journal_id** | **String** | Xero identifier | [optional] -**journal_date** | **String** | Date the journal was posted | [optional] +**journal_date** | **Date** | Date the journal was posted | [optional] **journal_number** | **Integer** | Xero generated journal number | [optional] -**created_date_utc** | **String** | Created date UTC format | [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] **source_type** | **String** | The journal source type. The type of transaction that created the journal | [optional] diff --git a/docs/accounting/JournalLine.md b/docs/accounting/JournalLine.md index 55468a7e..66f23e10 100644 --- a/docs/accounting/JournalLine.md +++ b/docs/accounting/JournalLine.md @@ -10,9 +10,9 @@ Name | Type | Description | Notes **account_type** | [**AccountType**](AccountType.md) | | [optional] **account_name** | **String** | See AccountCodes | [optional] **description** | **String** | The description from the source transaction line item. Only returned if populated. | [optional] -**net_amount** | **Float** | Net amount of journal line. This will be a positive value for a debit and negative for a credit | [optional] -**gross_amount** | **Float** | Gross amount of journal line (NetAmount + TaxAmount). | [optional] -**tax_amount** | **Float** | Total tax on a journal line | [optional] +**net_amount** | **BigDecimal** | Net amount of journal line. This will be a positive value for a debit and negative for a credit | [optional] +**gross_amount** | **BigDecimal** | Gross amount of journal line (NetAmount + TaxAmount). | [optional] +**tax_amount** | **BigDecimal** | Total tax on a journal line | [optional] **tax_type** | **String** | The tax type from TaxRates | [optional] **tax_name** | **String** | see TaxRates | [optional] **tracking_categories** | [**Array<TrackingCategory>**](TrackingCategory.md) | Optional Tracking Category – see Tracking. Any JournalLine can have a maximum of 2 <TrackingCategory> elements. | [optional] diff --git a/docs/accounting/LineItem.md b/docs/accounting/LineItem.md index 3ec2f7ff..cbd08c8f 100644 --- a/docs/accounting/LineItem.md +++ b/docs/accounting/LineItem.md @@ -6,16 +6,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **line_item_id** | **String** | LineItem unique ID | [optional] **description** | **String** | Description needs to be at least 1 char long. A line item with just a description (i.e no unit amount or quantity) can be created by specifying just a <Description> element that contains at least 1 character | [optional] -**quantity** | **Float** | LineItem Quantity | [optional] -**unit_amount** | **Float** | LineItem Unit Amount | [optional] +**quantity** | **BigDecimal** | LineItem Quantity | [optional] +**unit_amount** | **BigDecimal** | LineItem Unit Amount | [optional] **item_code** | **String** | See Items | [optional] **account_code** | **String** | See Accounts | [optional] **tax_type** | **String** | The tax type from TaxRates | [optional] -**tax_amount** | **Float** | The tax amount is auto calculated as a percentage of the line amount (see below) based on the tax rate. This value can be overriden if the calculated <TaxAmount> is not correct. | [optional] -**line_amount** | **Float** | If you wish to omit either of the <Quantity> or <UnitAmount> you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if a DiscountRate has been used . i.e LineAmount = Quantity * Unit Amount * ((100 – DiscountRate)/100) | [optional] +**tax_amount** | **BigDecimal** | The tax amount is auto calculated as a percentage of the line amount (see below) based on the tax rate. This value can be overriden if the calculated <TaxAmount> is not correct. | [optional] +**line_amount** | **BigDecimal** | If you wish to omit either of the <Quantity> or <UnitAmount> you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if a DiscountRate has been used . i.e LineAmount = Quantity * Unit Amount * ((100 – DiscountRate)/100) | [optional] **tracking** | [**Array<LineItemTracking>**](LineItemTracking.md) | Optional Tracking Category – see Tracking. Any LineItem can have a maximum of 2 <TrackingCategory> elements. | [optional] -**discount_rate** | **Float** | Percentage discount being applied to a line item (only supported on ACCREC invoices – ACC PAY invoices and credit notes in Xero do not support discounts | [optional] -**discount_amount** | **Float** | Discount amount being applied to a line item. Only supported on ACCREC invoices - ACCPAY invoices and credit notes in Xero do not support discounts. | [optional] +**discount_rate** | **BigDecimal** | Percentage discount being applied to a line item (only supported on ACCREC invoices – ACC PAY invoices and credit notes in Xero do not support discounts | [optional] +**discount_amount** | **BigDecimal** | Discount amount being applied to a line item. Only supported on ACCREC invoices - ACCPAY invoices and credit notes in Xero do not support discounts. | [optional] **repeating_invoice_id** | **String** | The Xero identifier for a Repeating Invoice | [optional] ## Code Sample diff --git a/docs/accounting/LinkedTransaction.md b/docs/accounting/LinkedTransaction.md index d2a61a26..dc210aad 100644 --- a/docs/accounting/LinkedTransaction.md +++ b/docs/accounting/LinkedTransaction.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **linked_transaction_id** | **String** | The Xero identifier for an Linked Transaction e.g./LinkedTransactions/297c2dc5-cc47-4afd-8ec8-74990b8761e9 | [optional] **status** | **String** | Filter by the combination of ContactID and Status. Get all the linked transactions that have been assigned to a particular customer and have a particular status e.g. GET /LinkedTransactions?ContactID=4bb34b03-3378-4bb2-a0ed-6345abf3224e&Status=APPROVED. | [optional] **type** | **String** | This will always be BILLABLEEXPENSE. More types may be added in future. | [optional] -**updated_date_utc** | **String** | The last modified date in UTC format | [optional] +**updated_date_utc** | **DateTime** | The last modified date in UTC format | [optional] **source_transaction_type_code** | **String** | The Type of the source tranasction. This will be ACCPAY if the linked transaction was created from an invoice and SPEND if it was created from a bank transaction. | [optional] **validation_errors** | [**Array<ValidationError>**](ValidationError.md) | Displays array of validation error messages from the API | [optional] diff --git a/docs/accounting/ManualJournal.md b/docs/accounting/ManualJournal.md index 027ef7c8..910b17d2 100644 --- a/docs/accounting/ManualJournal.md +++ b/docs/accounting/ManualJournal.md @@ -6,13 +6,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **narration** | **String** | Description of journal being posted | **journal_lines** | [**Array<ManualJournalLine>**](ManualJournalLine.md) | See JournalLines | [optional] -**date** | **String** | Date journal was posted – YYYY-MM-DD | [optional] +**date** | **Date** | Date journal was posted – YYYY-MM-DD | [optional] **line_amount_types** | [**LineAmountTypes**](LineAmountTypes.md) | | [optional] **status** | **String** | See Manual Journal Status Codes | [optional] **url** | **String** | Url link to a source document – shown as “Go to [appName]” in the Xero app | [optional] **show_on_cash_basis_reports** | **Boolean** | Boolean – default is true if not specified | [optional] **has_attachments** | **Boolean** | Boolean to indicate if a manual journal has an attachment | [optional] [default to false] -**updated_date_utc** | **String** | Last modified date UTC format | [optional] +**updated_date_utc** | **DateTime** | Last modified date UTC format | [optional] **manual_journal_id** | **String** | The Xero identifier for a Manual Journal | [optional] **status_attribute_string** | **String** | A string to indicate if a invoice status | [optional] **warnings** | [**Array<ValidationError>**](ValidationError.md) | Displays array of warning messages from the API | [optional] diff --git a/docs/accounting/ManualJournalLine.md b/docs/accounting/ManualJournalLine.md index 6e514b47..cbfe592c 100644 --- a/docs/accounting/ManualJournalLine.md +++ b/docs/accounting/ManualJournalLine.md @@ -4,13 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**line_amount** | **Float** | total for line. Debits are positive, credits are negative value | [optional] +**line_amount** | **BigDecimal** | total for line. Debits are positive, credits are negative value | [optional] **account_code** | **String** | See Accounts | [optional] **account_id** | **String** | See Accounts | [optional] **description** | **String** | Description for journal line | [optional] **tax_type** | **String** | The tax type from TaxRates | [optional] **tracking** | [**Array<TrackingCategory>**](TrackingCategory.md) | Optional Tracking Category – see Tracking. Any JournalLine can have a maximum of 2 <TrackingCategory> elements. | [optional] -**tax_amount** | **Float** | The calculated tax amount based on the TaxType and LineAmount | [optional] +**tax_amount** | **BigDecimal** | The calculated tax amount based on the TaxType and LineAmount | [optional] **is_blank** | **Boolean** | is the line blank | [optional] ## Code Sample diff --git a/docs/accounting/Organisation.md b/docs/accounting/Organisation.md index 0b283330..f6718192 100644 --- a/docs/accounting/Organisation.md +++ b/docs/accounting/Organisation.md @@ -24,9 +24,9 @@ Name | Type | Description | Notes **sales_tax_period** | **String** | The frequency with which tax returns are processed. See Sales Tax Period | [optional] **default_sales_tax** | **String** | The default for LineAmountTypes on sales transactions | [optional] **default_purchases_tax** | **String** | The default for LineAmountTypes on purchase transactions | [optional] -**period_lock_date** | **String** | Shown if set. See lock dates | [optional] -**end_of_year_lock_date** | **String** | Shown if set. See lock dates | [optional] -**created_date_utc** | **String** | Timestamp when the organisation was created in Xero | [optional] +**period_lock_date** | **Date** | Shown if set. See lock dates | [optional] +**end_of_year_lock_date** | **Date** | Shown if set. See lock dates | [optional] +**created_date_utc** | **DateTime** | Timestamp when the organisation was created in Xero | [optional] **timezone** | [**TimeZone**](TimeZone.md) | | [optional] **organisation_entity_type** | **String** | Organisation Entity Type | [optional] **short_code** | **String** | A unique identifier for the organisation. Potential uses. | [optional] diff --git a/docs/accounting/Overpayment.md b/docs/accounting/Overpayment.md index 7c1fe9fe..c53203fc 100644 --- a/docs/accounting/Overpayment.md +++ b/docs/accounting/Overpayment.md @@ -6,18 +6,18 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **String** | See Overpayment Types | [optional] **contact** | [**Contact**](Contact.md) | | [optional] -**date** | **String** | The date the overpayment is created YYYY-MM-DD | [optional] +**date** | **Date** | The date the overpayment is created YYYY-MM-DD | [optional] **status** | **String** | See Overpayment Status Codes | [optional] **line_amount_types** | [**LineAmountTypes**](LineAmountTypes.md) | | [optional] **line_items** | [**Array<LineItem>**](LineItem.md) | See Overpayment Line Items | [optional] -**sub_total** | **Float** | The subtotal of the overpayment excluding taxes | [optional] -**total_tax** | **Float** | The total tax on the overpayment | [optional] -**total** | **Float** | The total of the overpayment (subtotal + total tax) | [optional] -**updated_date_utc** | **String** | UTC timestamp of last update to the overpayment | [optional] +**sub_total** | **BigDecimal** | The subtotal of the overpayment excluding taxes | [optional] +**total_tax** | **BigDecimal** | The total tax on the overpayment | [optional] +**total** | **BigDecimal** | The total of the overpayment (subtotal + total tax) | [optional] +**updated_date_utc** | **DateTime** | UTC timestamp of last update to the overpayment | [optional] **currency_code** | [**CurrencyCode**](CurrencyCode.md) | | [optional] **overpayment_id** | **String** | Xero generated unique identifier | [optional] -**currency_rate** | **Float** | The currency rate for a multicurrency overpayment. If no rate is specified, the XE.com day rate is used | [optional] -**remaining_credit** | **Float** | The remaining credit balance on the overpayment | [optional] +**currency_rate** | **BigDecimal** | The currency rate for a multicurrency overpayment. If no rate is specified, the XE.com day rate is used | [optional] +**remaining_credit** | **BigDecimal** | The remaining credit balance on the overpayment | [optional] **allocations** | [**Array<Allocation>**](Allocation.md) | See Allocations | [optional] **applied_amount** | **Float** | The amount of applied to an invoice | [optional] **payments** | [**Array<Payment>**](Payment.md) | See Payments | [optional] diff --git a/docs/accounting/Payment.md b/docs/accounting/Payment.md index 9eb83801..3ac01ebb 100644 --- a/docs/accounting/Payment.md +++ b/docs/accounting/Payment.md @@ -12,14 +12,14 @@ Name | Type | Description | Notes **credit_note_number** | **String** | Number of invoice or credit note you are applying payment to e.g. INV-4003 | [optional] **account** | [**Account**](Account.md) | | [optional] **code** | **String** | Code of account you are using to make the payment e.g. 001 (note- not all accounts have a code value) | [optional] -**date** | **String** | Date the payment is being made (YYYY-MM-DD) e.g. 2009-09-06 | [optional] -**currency_rate** | **Float** | Exchange rate when payment is received. Only used for non base currency invoices and credit notes e.g. 0.7500 | [optional] -**amount** | **Float** | The amount of the payment. Must be less than or equal to the outstanding amount owing on the invoice e.g. 200.00 | [optional] +**date** | **Date** | Date the payment is being made (YYYY-MM-DD) e.g. 2009-09-06 | [optional] +**currency_rate** | **BigDecimal** | Exchange rate when payment is received. Only used for non base currency invoices and credit notes e.g. 0.7500 | [optional] +**amount** | **BigDecimal** | The amount of the payment. Must be less than or equal to the outstanding amount owing on the invoice e.g. 200.00 | [optional] **reference** | **String** | An optional description for the payment e.g. Direct Debit | [optional] **is_reconciled** | **Boolean** | An optional parameter for the payment. A boolean indicating whether you would like the payment to be created as reconciled when using PUT, or whether a payment has been reconciled when using GET | [optional] **status** | **String** | The status of the payment. | [optional] **payment_type** | **String** | See Payment Types. | [optional] -**updated_date_utc** | **String** | UTC timestamp of last update to the payment | [optional] +**updated_date_utc** | **DateTime** | UTC timestamp of last update to the payment | [optional] **payment_id** | **String** | The Xero identifier for an Payment e.g. 297c2dc5-cc47-4afd-8ec8-74990b8761e9 | [optional] **bank_account_number** | **String** | The suppliers bank account number the payment is being made to | [optional] **particulars** | **String** | The suppliers bank account number the payment is being made to | [optional] diff --git a/docs/accounting/Prepayment.md b/docs/accounting/Prepayment.md index acb505e2..76ee08be 100644 --- a/docs/accounting/Prepayment.md +++ b/docs/accounting/Prepayment.md @@ -6,19 +6,19 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **String** | See Prepayment Types | [optional] **contact** | [**Contact**](Contact.md) | | [optional] -**date** | **String** | The date the prepayment is created YYYY-MM-DD | [optional] +**date** | **Date** | The date the prepayment is created YYYY-MM-DD | [optional] **status** | **String** | See Prepayment Status Codes | [optional] **line_amount_types** | [**LineAmountTypes**](LineAmountTypes.md) | | [optional] **line_items** | [**Array<LineItem>**](LineItem.md) | See Prepayment Line Items | [optional] -**sub_total** | **Float** | The subtotal of the prepayment excluding taxes | [optional] -**total_tax** | **Float** | The total tax on the prepayment | [optional] -**total** | **Float** | The total of the prepayment(subtotal + total tax) | [optional] +**sub_total** | **BigDecimal** | The subtotal of the prepayment excluding taxes | [optional] +**total_tax** | **BigDecimal** | The total tax on the prepayment | [optional] +**total** | **BigDecimal** | The total of the prepayment(subtotal + total tax) | [optional] **reference** | **String** | Returns Invoice number field. Reference field isn't available. | [optional] -**updated_date_utc** | **String** | UTC timestamp of last update to the prepayment | [optional] +**updated_date_utc** | **DateTime** | UTC timestamp of last update to the prepayment | [optional] **currency_code** | [**CurrencyCode**](CurrencyCode.md) | | [optional] **prepayment_id** | **String** | Xero generated unique identifier | [optional] -**currency_rate** | **Float** | The currency rate for a multicurrency prepayment. If no rate is specified, the XE.com day rate is used | [optional] -**remaining_credit** | **Float** | The remaining credit balance on the prepayment | [optional] +**currency_rate** | **BigDecimal** | The currency rate for a multicurrency prepayment. If no rate is specified, the XE.com day rate is used | [optional] +**remaining_credit** | **BigDecimal** | The remaining credit balance on the prepayment | [optional] **allocations** | [**Array<Allocation>**](Allocation.md) | See Allocations | [optional] **applied_amount** | **Float** | The amount of applied to an invoice | [optional] **has_attachments** | **Boolean** | boolean to indicate if a prepayment has an attachment | [optional] [default to false] diff --git a/docs/accounting/Purchase.md b/docs/accounting/Purchase.md index c5fdecb4..9a1f6d02 100644 --- a/docs/accounting/Purchase.md +++ b/docs/accounting/Purchase.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**unit_price** | **Float** | Unit Price of the item. By default UnitPrice is rounded to two decimal places. You can use 4 decimal places by adding the unitdp=4 querystring parameter to your request. | [optional] +**unit_price** | **BigDecimal** | Unit Price of the item. By default UnitPrice is rounded to two decimal places. You can use 4 decimal places by adding the unitdp=4 querystring parameter to your request. | [optional] **account_code** | **String** | Default account code to be used for purchased/sale. Not applicable to the purchase details of tracked items | [optional] **cogs_account_code** | **String** | Cost of goods sold account. Only applicable to the purchase details of tracked items. | [optional] **tax_type** | **String** | The tax type from TaxRates | [optional] diff --git a/docs/accounting/PurchaseOrder.md b/docs/accounting/PurchaseOrder.md index d59fcdda..27709047 100644 --- a/docs/accounting/PurchaseOrder.md +++ b/docs/accounting/PurchaseOrder.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **contact** | [**Contact**](Contact.md) | | [optional] **line_items** | [**Array<LineItem>**](LineItem.md) | See LineItems | [optional] -**date** | **String** | Date purchase order was issued – YYYY-MM-DD. If the Date element is not specified then it will default to the current date based on the timezone setting of the organisation | [optional] -**delivery_date** | **String** | Date the goods are to be delivered – YYYY-MM-DD | [optional] +**date** | **Date** | Date purchase order was issued – YYYY-MM-DD. If the Date element is not specified then it will default to the current date based on the timezone setting of the organisation | [optional] +**delivery_date** | **Date** | Date the goods are to be delivered – YYYY-MM-DD | [optional] **line_amount_types** | [**LineAmountTypes**](LineAmountTypes.md) | | [optional] **purchase_order_number** | **String** | Unique alpha numeric code identifying purchase order (when missing will auto-generate from your Organisation Invoice Settings) | [optional] **reference** | **String** | Additional reference number | [optional] @@ -19,15 +19,15 @@ Name | Type | Description | Notes **attention_to** | **String** | The person that the delivery is going to | [optional] **telephone** | **String** | The phone number for the person accepting the delivery | [optional] **delivery_instructions** | **String** | A free text feild for instructions (500 characters max) | [optional] -**expected_arrival_date** | **String** | The date the goods are expected to arrive. | [optional] +**expected_arrival_date** | **Date** | The date the goods are expected to arrive. | [optional] **purchase_order_id** | **String** | Xero generated unique identifier for purchase order | [optional] -**currency_rate** | **Float** | The currency rate for a multicurrency purchase order. If no rate is specified, the XE.com day rate is used. | [optional] -**sub_total** | **Float** | Total of purchase order excluding taxes | [optional] -**total_tax** | **Float** | Total tax on purchase order | [optional] -**total** | **Float** | Total of Purchase Order tax inclusive (i.e. SubTotal + TotalTax) | [optional] -**total_discount** | **Float** | Total of discounts applied on the purchase order line items | [optional] +**currency_rate** | **BigDecimal** | The currency rate for a multicurrency purchase order. If no rate is specified, the XE.com day rate is used. | [optional] +**sub_total** | **BigDecimal** | Total of purchase order excluding taxes | [optional] +**total_tax** | **BigDecimal** | Total tax on purchase order | [optional] +**total** | **BigDecimal** | Total of Purchase Order tax inclusive (i.e. SubTotal + TotalTax) | [optional] +**total_discount** | **BigDecimal** | Total of discounts applied on the purchase order line items | [optional] **has_attachments** | **Boolean** | boolean to indicate if a purchase order has an attachment | [optional] [default to false] -**updated_date_utc** | **String** | Last modified date UTC format | [optional] +**updated_date_utc** | **DateTime** | Last modified date UTC format | [optional] **status_attribute_string** | **String** | A string to indicate if a invoice status | [optional] **validation_errors** | [**Array<ValidationError>**](ValidationError.md) | Displays array of validation error messages from the API | [optional] **warnings** | [**Array<ValidationError>**](ValidationError.md) | Displays array of warning messages from the API | [optional] diff --git a/docs/accounting/Quote.md b/docs/accounting/Quote.md index bbbd6f99..e9e7fe8b 100644 --- a/docs/accounting/Quote.md +++ b/docs/accounting/Quote.md @@ -10,21 +10,21 @@ Name | Type | Description | Notes **terms** | **String** | Terms of the quote | [optional] **contact** | [**Contact**](Contact.md) | | [optional] **line_items** | [**Array<LineItem>**](LineItem.md) | See LineItems | [optional] -**date** | **String** | Date quote was issued – YYYY-MM-DD. If the Date element is not specified it will default to the current date based on the timezone setting of the organisation | [optional] +**date** | **Date** | Date quote was issued – YYYY-MM-DD. If the Date element is not specified it will default to the current date based on the timezone setting of the organisation | [optional] **date_string** | **String** | Date the quote was issued (YYYY-MM-DD) | [optional] -**expiry_date** | **String** | Date the quote expires – YYYY-MM-DD. | [optional] +**expiry_date** | **Date** | Date the quote expires – YYYY-MM-DD. | [optional] **expiry_date_string** | **String** | Date the quote expires – YYYY-MM-DD. | [optional] **status** | [**QuoteStatusCodes**](QuoteStatusCodes.md) | | [optional] **currency_code** | [**CurrencyCode**](CurrencyCode.md) | | [optional] **currency_rate** | **Float** | The currency rate for a multicurrency quote | [optional] -**sub_total** | **Float** | Total of quote excluding taxes. | [optional] -**total_tax** | **Float** | Total tax on quote | [optional] -**total** | **Float** | Total of Quote tax inclusive (i.e. SubTotal + TotalTax). This will be ignored if it doesn’t equal the sum of the LineAmounts | [optional] -**total_discount** | **Float** | Total of discounts applied on the quote line items | [optional] +**sub_total** | **BigDecimal** | Total of quote excluding taxes. | [optional] +**total_tax** | **BigDecimal** | Total tax on quote | [optional] +**total** | **BigDecimal** | Total of Quote tax inclusive (i.e. SubTotal + TotalTax). This will be ignored if it doesn’t equal the sum of the LineAmounts | [optional] +**total_discount** | **BigDecimal** | Total of discounts applied on the quote line items | [optional] **title** | **String** | Title text for the quote | [optional] **summary** | **String** | Summary text for the quote | [optional] **branding_theme_id** | **String** | See BrandingThemes | [optional] -**updated_date_utc** | **String** | Last modified date UTC format | [optional] +**updated_date_utc** | **DateTime** | Last modified date UTC format | [optional] **line_amount_types** | [**QuoteLineAmountTypes**](QuoteLineAmountTypes.md) | | [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] diff --git a/docs/accounting/Receipt.md b/docs/accounting/Receipt.md index a570f126..a1abb4f4 100644 --- a/docs/accounting/Receipt.md +++ b/docs/accounting/Receipt.md @@ -4,19 +4,19 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**date** | **String** | Date of receipt – YYYY-MM-DD | [optional] +**date** | **Date** | Date of receipt – YYYY-MM-DD | [optional] **contact** | [**Contact**](Contact.md) | | [optional] **line_items** | [**Array<LineItem>**](LineItem.md) | | [optional] **user** | [**User**](User.md) | | [optional] **reference** | **String** | Additional reference number | [optional] **line_amount_types** | [**LineAmountTypes**](LineAmountTypes.md) | | [optional] -**sub_total** | **Float** | Total of receipt excluding taxes | [optional] -**total_tax** | **Float** | Total tax on receipt | [optional] -**total** | **Float** | Total of receipt tax inclusive (i.e. SubTotal + TotalTax) | [optional] +**sub_total** | **BigDecimal** | Total of receipt excluding taxes | [optional] +**total_tax** | **BigDecimal** | Total tax on receipt | [optional] +**total** | **BigDecimal** | Total of receipt tax inclusive (i.e. SubTotal + TotalTax) | [optional] **receipt_id** | **String** | Xero generated unique identifier for receipt | [optional] **status** | **String** | Current status of receipt – see status types | [optional] **receipt_number** | **String** | Xero generated sequence number for receipt in current claim for a given user | [optional] -**updated_date_utc** | **String** | Last modified date UTC format | [optional] +**updated_date_utc** | **DateTime** | Last modified date UTC format | [optional] **has_attachments** | **Boolean** | boolean to indicate if a receipt has an attachment | [optional] [default to false] **url** | **String** | URL link to a source document – shown as “Go to [appName]” in the Xero app | [optional] **validation_errors** | [**Array<ValidationError>**](ValidationError.md) | Displays array of validation error messages from the API | [optional] diff --git a/docs/accounting/RepeatingInvoice.md b/docs/accounting/RepeatingInvoice.md index 16acd6e2..639fe0be 100644 --- a/docs/accounting/RepeatingInvoice.md +++ b/docs/accounting/RepeatingInvoice.md @@ -13,9 +13,9 @@ Name | Type | Description | Notes **branding_theme_id** | **String** | See BrandingThemes | [optional] **currency_code** | [**CurrencyCode**](CurrencyCode.md) | | [optional] **status** | **String** | One of the following - DRAFT or AUTHORISED – See Invoice Status Codes | [optional] -**sub_total** | **Float** | Total of invoice excluding taxes | [optional] -**total_tax** | **Float** | Total tax on invoice | [optional] -**total** | **Float** | Total of Invoice tax inclusive (i.e. SubTotal + TotalTax) | [optional] +**sub_total** | **BigDecimal** | Total of invoice excluding taxes | [optional] +**total_tax** | **BigDecimal** | Total tax on invoice | [optional] +**total** | **BigDecimal** | Total of Invoice tax inclusive (i.e. SubTotal + TotalTax) | [optional] **repeating_invoice_id** | **String** | Xero generated unique identifier for repeating invoice template | [optional] **id** | **String** | Xero generated unique identifier for repeating invoice template | [optional] **has_attachments** | **Boolean** | boolean to indicate if an invoice has an attachment | [optional] [default to false] diff --git a/docs/accounting/Report.md b/docs/accounting/Report.md index 90fa7ff5..2cc678c4 100644 --- a/docs/accounting/Report.md +++ b/docs/accounting/Report.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **report_type** | **String** | See Prepayment Types | [optional] **report_title** | **String** | See Prepayment Types | [optional] **report_date** | **String** | Date of report | [optional] -**updated_date_utc** | **String** | Updated Date | [optional] +**updated_date_utc** | **DateTime** | Updated Date | [optional] **contacts** | [**Array<TenNinetyNineContact>**](TenNinetyNineContact.md) | | [optional] ## Code Sample diff --git a/docs/accounting/ReportWithRow.md b/docs/accounting/ReportWithRow.md index f66fa346..af9c9af9 100644 --- a/docs/accounting/ReportWithRow.md +++ b/docs/accounting/ReportWithRow.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **report_titles** | **Array<String>** | Report titles array (3 to 4 strings with the report name, orgnisation name and time frame of report) | [optional] **report_date** | **String** | Date of report | [optional] **rows** | [**Array<ReportRows>**](ReportRows.md) | | [optional] -**updated_date_utc** | **String** | Updated Date | [optional] +**updated_date_utc** | **DateTime** | Updated Date | [optional] **fields** | [**Array<ReportFields>**](ReportFields.md) | | [optional] ## Code Sample diff --git a/docs/accounting/Schedule.md b/docs/accounting/Schedule.md index 514bfed1..acb68f36 100644 --- a/docs/accounting/Schedule.md +++ b/docs/accounting/Schedule.md @@ -8,9 +8,9 @@ Name | Type | Description | Notes **unit** | **String** | One of the following - WEEKLY or MONTHLY | [optional] **due_date** | **Integer** | Integer used with due date type e.g 20 (of following month), 31 (of current month) | [optional] **due_date_type** | **String** | the payment terms | [optional] -**start_date** | **String** | Date the first invoice of the current version of the repeating schedule was generated (changes when repeating invoice is edited) | [optional] -**next_scheduled_date** | **String** | The calendar date of the next invoice in the schedule to be generated | [optional] -**end_date** | **String** | Invoice end date – only returned if the template has an end date set | [optional] +**start_date** | **Date** | Date the first invoice of the current version of the repeating schedule was generated (changes when repeating invoice is edited) | [optional] +**next_scheduled_date** | **Date** | The calendar date of the next invoice in the schedule to be generated | [optional] +**end_date** | **Date** | Invoice end date – only returned if the template has an end date set | [optional] ## Code Sample diff --git a/docs/accounting/TaxComponent.md b/docs/accounting/TaxComponent.md index 73d61537..50f4e250 100644 --- a/docs/accounting/TaxComponent.md +++ b/docs/accounting/TaxComponent.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | Name of Tax Component | [optional] -**rate** | **Float** | Tax Rate (up to 4dp) | [optional] +**rate** | **BigDecimal** | Tax Rate (up to 4dp) | [optional] **is_compound** | **Boolean** | Boolean to describe if Tax rate is compounded. | [optional] **is_non_recoverable** | **Boolean** | Boolean to describe if tax rate is non-recoverable. Non-recoverable rates are only applicable to Canadian organisations | [optional] diff --git a/docs/accounting/TaxRate.md b/docs/accounting/TaxRate.md index 045d24cc..07206937 100644 --- a/docs/accounting/TaxRate.md +++ b/docs/accounting/TaxRate.md @@ -14,8 +14,8 @@ Name | Type | Description | Notes **can_apply_to_expenses** | **Boolean** | Boolean to describe if tax rate can be used for expense accounts i.e. true,false | [optional] **can_apply_to_liabilities** | **Boolean** | Boolean to describe if tax rate can be used for liability accounts i.e. true,false | [optional] **can_apply_to_revenue** | **Boolean** | Boolean to describe if tax rate can be used for revenue accounts i.e. true,false | [optional] -**display_tax_rate** | **Float** | Tax Rate (decimal to 4dp) e.g 12.5000 | [optional] -**effective_rate** | **Float** | Effective Tax Rate (decimal to 4dp) e.g 12.5000 | [optional] +**display_tax_rate** | **BigDecimal** | Tax Rate (decimal to 4dp) e.g 12.5000 | [optional] +**effective_rate** | **BigDecimal** | Effective Tax Rate (decimal to 4dp) e.g 12.5000 | [optional] ## Code Sample diff --git a/docs/accounting/TenNinetyNineContact.md b/docs/accounting/TenNinetyNineContact.md index db9ba587..69bc3ce8 100644 --- a/docs/accounting/TenNinetyNineContact.md +++ b/docs/accounting/TenNinetyNineContact.md @@ -4,19 +4,19 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**box1** | **Float** | Box 1 on 1099 Form | [optional] -**box2** | **Float** | Box 2 on 1099 Form | [optional] -**box3** | **Float** | Box 3 on 1099 Form | [optional] -**box4** | **Float** | Box 4 on 1099 Form | [optional] -**box5** | **Float** | Box 5 on 1099 Form | [optional] -**box6** | **Float** | Box 6 on 1099 Form | [optional] -**box7** | **Float** | Box 7 on 1099 Form | [optional] -**box8** | **Float** | Box 8 on 1099 Form | [optional] -**box9** | **Float** | Box 9 on 1099 Form | [optional] -**box10** | **Float** | Box 10 on 1099 Form | [optional] -**box11** | **Float** | Box 11 on 1099 Form | [optional] -**box13** | **Float** | Box 13 on 1099 Form | [optional] -**box14** | **Float** | Box 14 on 1099 Form | [optional] +**box1** | **BigDecimal** | Box 1 on 1099 Form | [optional] +**box2** | **BigDecimal** | Box 2 on 1099 Form | [optional] +**box3** | **BigDecimal** | Box 3 on 1099 Form | [optional] +**box4** | **BigDecimal** | Box 4 on 1099 Form | [optional] +**box5** | **BigDecimal** | Box 5 on 1099 Form | [optional] +**box6** | **BigDecimal** | Box 6 on 1099 Form | [optional] +**box7** | **BigDecimal** | Box 7 on 1099 Form | [optional] +**box8** | **BigDecimal** | Box 8 on 1099 Form | [optional] +**box9** | **BigDecimal** | Box 9 on 1099 Form | [optional] +**box10** | **BigDecimal** | Box 10 on 1099 Form | [optional] +**box11** | **BigDecimal** | Box 11 on 1099 Form | [optional] +**box13** | **BigDecimal** | Box 13 on 1099 Form | [optional] +**box14** | **BigDecimal** | Box 14 on 1099 Form | [optional] **name** | **String** | Contact name on 1099 Form | [optional] **federal_tax_id_type** | **String** | Contact Fed Tax ID type | [optional] **city** | **String** | Contact city on 1099 Form | [optional] diff --git a/docs/accounting/User.md b/docs/accounting/User.md index e26dd53e..77fb45cd 100644 --- a/docs/accounting/User.md +++ b/docs/accounting/User.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **email_address** | **String** | Email address of user | [optional] **first_name** | **String** | First name of user | [optional] **last_name** | **String** | Last name of user | [optional] -**updated_date_utc** | **String** | Timestamp of last change to user | [optional] +**updated_date_utc** | **DateTime** | Timestamp of last change to user | [optional] **is_subscriber** | **Boolean** | Boolean to indicate if user is the subscriber | [optional] **organisation_role** | **String** | User role that defines permissions in Xero and via API (READONLY, INVOICEONLY, STANDARD, FINANCIALADVISER, etc) | [optional] diff --git a/docs/assets/Asset.md b/docs/assets/Asset.md index 76f1a8a8..c3a328b5 100644 --- a/docs/assets/Asset.md +++ b/docs/assets/Asset.md @@ -9,15 +9,15 @@ Name | Type | Description | Notes **asset_type_id** | **String** | The Xero-generated Id for the asset type | [optional] **asset_number** | **String** | Must be unique. | [optional] **purchase_date** | **Date** | The date the asset was purchased YYYY-MM-DD | [optional] -**purchase_price** | **Float** | The purchase price of the asset | [optional] -**disposal_price** | **Float** | The price the asset was disposed at | [optional] +**purchase_price** | **BigDecimal** | The purchase price of the asset | [optional] +**disposal_price** | **BigDecimal** | The price the asset was disposed at | [optional] **asset_status** | [**AssetStatus**](AssetStatus.md) | | [optional] **warranty_expiry_date** | **String** | The date the asset’s warranty expires (if needed) YYYY-MM-DD | [optional] **serial_number** | **String** | The asset's serial number | [optional] **book_depreciation_setting** | [**BookDepreciationSetting**](BookDepreciationSetting.md) | | [optional] **book_depreciation_detail** | [**BookDepreciationDetail**](BookDepreciationDetail.md) | | [optional] **can_rollback** | **Boolean** | Boolean to indicate whether depreciation can be rolled back for this asset individually. This is true if it doesn't have 'legacy' journal entries and if there is no lock period that would prevent this asset from rolling back. | [optional] -**accounting_book_value** | **Float** | The accounting value of the asset | [optional] +**accounting_book_value** | **BigDecimal** | The accounting value of the asset | [optional] **is_delete_enabled_for_date** | **Boolean** | Boolean to indicate whether delete is enabled | [optional] ## Code Sample diff --git a/docs/assets/BookDepreciationDetail.md b/docs/assets/BookDepreciationDetail.md index 0117c97b..586b2c79 100644 --- a/docs/assets/BookDepreciationDetail.md +++ b/docs/assets/BookDepreciationDetail.md @@ -4,13 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**current_capital_gain** | **Float** | When an asset is disposed, this will be the sell price minus the purchase price if a profit was made. | [optional] -**current_gain_loss** | **Float** | When an asset is disposed, this will be the lowest one of sell price or purchase price, minus the current book value. | [optional] +**current_capital_gain** | **BigDecimal** | When an asset is disposed, this will be the sell price minus the purchase price if a profit was made. | [optional] +**current_gain_loss** | **BigDecimal** | When an asset is disposed, this will be the lowest one of sell price or purchase price, minus the current book value. | [optional] **depreciation_start_date** | **Date** | YYYY-MM-DD | [optional] -**cost_limit** | **Float** | The value of the asset you want to depreciate, if this is less than the cost of the asset. | [optional] -**residual_value** | **Float** | The value of the asset remaining when you've fully depreciated it. | [optional] -**prior_accum_depreciation_amount** | **Float** | All depreciation prior to the current financial year. | [optional] -**current_accum_depreciation_amount** | **Float** | All depreciation occurring in the current financial year. | [optional] +**cost_limit** | **BigDecimal** | The value of the asset you want to depreciate, if this is less than the cost of the asset. | [optional] +**residual_value** | **BigDecimal** | The value of the asset remaining when you've fully depreciated it. | [optional] +**prior_accum_depreciation_amount** | **BigDecimal** | All depreciation prior to the current financial year. | [optional] +**current_accum_depreciation_amount** | **BigDecimal** | All depreciation occurring in the current financial year. | [optional] ## Code Sample diff --git a/docs/assets/BookDepreciationSetting.md b/docs/assets/BookDepreciationSetting.md index febeb256..82c5a6c7 100644 --- a/docs/assets/BookDepreciationSetting.md +++ b/docs/assets/BookDepreciationSetting.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **depreciation_method** | **String** | The method of depreciation applied to this asset. See Depreciation Methods | [optional] **averaging_method** | **String** | The method of averaging applied to this asset. See Averaging Methods | [optional] -**depreciation_rate** | **Float** | The rate of depreciation (e.g. 0.05) | [optional] +**depreciation_rate** | **BigDecimal** | The rate of depreciation (e.g. 0.05) | [optional] **effective_life_years** | **Integer** | Effective life of the asset in years (e.g. 5) | [optional] **depreciation_calculation_method** | **String** | See Depreciation Calculation Methods | [optional] **depreciable_object_id** | **String** | Unique Xero identifier for the depreciable object | [optional] diff --git a/docs/projects/Amount.md b/docs/projects/Amount.md index 0481aaae..a160a1d0 100644 --- a/docs/projects/Amount.md +++ b/docs/projects/Amount.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **currency** | [**CurrencyCode**](CurrencyCode.md) | | [optional] -**value** | **Float** | | [optional] +**value** | **BigDecimal** | | [optional] ## Code Sample diff --git a/docs/projects/ProjectCreateOrUpdate.md b/docs/projects/ProjectCreateOrUpdate.md index ec06bb1d..b4c955e1 100644 --- a/docs/projects/ProjectCreateOrUpdate.md +++ b/docs/projects/ProjectCreateOrUpdate.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **contact_id** | **String** | Identifier of the contact this project was created for. | [optional] **name** | **String** | Name of the project. | -**estimate_amount** | **Float** | | [optional] +**estimate_amount** | **BigDecimal** | | [optional] **deadline_utc** | **DateTime** | Deadline for the project. UTC Date Time in ISO-8601 format. | [optional] ## Code Sample diff --git a/lib/xero-ruby/models/accounting/account.rb b/lib/xero-ruby/models/accounting/account.rb index 23ce0c80..8bcaa8aa 100644 --- a/lib/xero-ruby/models/accounting/account.rb +++ b/lib/xero-ruby/models/accounting/account.rb @@ -179,7 +179,7 @@ def self.openapi_types :'reporting_code' => :'String', :'reporting_code_name' => :'String', :'has_attachments' => :'Boolean', - :'updated_date_utc' => :'String', + :'updated_date_utc' => :'DateTime', :'add_to_watchlist' => :'Boolean', :'validation_errors' => :'Array' } diff --git a/lib/xero-ruby/models/accounting/allocation.rb b/lib/xero-ruby/models/accounting/allocation.rb index a81d6ad8..308fec4d 100644 --- a/lib/xero-ruby/models/accounting/allocation.rb +++ b/lib/xero-ruby/models/accounting/allocation.rb @@ -63,7 +63,7 @@ def self.openapi_types :'prepayment' => :'Prepayment', :'credit_note' => :'CreditNote', :'amount' => :'BigDecimal', - :'date' => :'String', + :'date' => :'Date', :'status_attribute_string' => :'String', :'validation_errors' => :'Array' } diff --git a/lib/xero-ruby/models/accounting/bank_transaction.rb b/lib/xero-ruby/models/accounting/bank_transaction.rb index a8c29097..70861af6 100644 --- a/lib/xero-ruby/models/accounting/bank_transaction.rb +++ b/lib/xero-ruby/models/accounting/bank_transaction.rb @@ -152,7 +152,7 @@ def self.openapi_types :'line_items' => :'Array', :'bank_account' => :'Account', :'is_reconciled' => :'Boolean', - :'date' => :'String', + :'date' => :'Date', :'reference' => :'String', :'currency_code' => :'CurrencyCode', :'currency_rate' => :'BigDecimal', @@ -165,7 +165,7 @@ def self.openapi_types :'bank_transaction_id' => :'String', :'prepayment_id' => :'String', :'overpayment_id' => :'String', - :'updated_date_utc' => :'String', + :'updated_date_utc' => :'DateTime', :'has_attachments' => :'Boolean', :'status_attribute_string' => :'String', :'validation_errors' => :'Array' diff --git a/lib/xero-ruby/models/accounting/bank_transfer.rb b/lib/xero-ruby/models/accounting/bank_transfer.rb index 88c6e8c8..d433e33b 100644 --- a/lib/xero-ruby/models/accounting/bank_transfer.rb +++ b/lib/xero-ruby/models/accounting/bank_transfer.rb @@ -73,13 +73,13 @@ def self.openapi_types :'from_bank_account' => :'Account', :'to_bank_account' => :'Account', :'amount' => :'BigDecimal', - :'date' => :'String', + :'date' => :'Date', :'bank_transfer_id' => :'String', :'currency_rate' => :'BigDecimal', :'from_bank_transaction_id' => :'String', :'to_bank_transaction_id' => :'String', :'has_attachments' => :'Boolean', - :'created_date_utc' => :'String', + :'created_date_utc' => :'DateTime', :'validation_errors' => :'Array' } end diff --git a/lib/xero-ruby/models/accounting/batch_payment.rb b/lib/xero-ruby/models/accounting/batch_payment.rb index e987e932..83e072b2 100644 --- a/lib/xero-ruby/models/accounting/batch_payment.rb +++ b/lib/xero-ruby/models/accounting/batch_payment.rb @@ -124,13 +124,13 @@ def self.openapi_types :'narrative' => :'String', :'batch_payment_id' => :'String', :'date_string' => :'String', - :'date' => :'String', + :'date' => :'Date', :'amount' => :'BigDecimal', :'payments' => :'Array', :'type' => :'String', :'status' => :'String', :'total_amount' => :'String', - :'updated_date_utc' => :'String', + :'updated_date_utc' => :'DateTime', :'is_reconciled' => :'String' } end diff --git a/lib/xero-ruby/models/accounting/branding_theme.rb b/lib/xero-ruby/models/accounting/branding_theme.rb index 3989bb7e..115b8df6 100644 --- a/lib/xero-ruby/models/accounting/branding_theme.rb +++ b/lib/xero-ruby/models/accounting/branding_theme.rb @@ -78,7 +78,7 @@ def self.openapi_types :'logo_url' => :'String', :'type' => :'String', :'sort_order' => :'Integer', - :'created_date_utc' => :'String' + :'created_date_utc' => :'DateTime' } end diff --git a/lib/xero-ruby/models/accounting/contact.rb b/lib/xero-ruby/models/accounting/contact.rb index 0893789c..4a4aeb5b 100644 --- a/lib/xero-ruby/models/accounting/contact.rb +++ b/lib/xero-ruby/models/accounting/contact.rb @@ -234,7 +234,7 @@ def self.openapi_types :'tracking_category_name' => :'String', :'tracking_category_option' => :'String', :'payment_terms' => :'PaymentTerm', - :'updated_date_utc' => :'String', + :'updated_date_utc' => :'DateTime', :'contact_groups' => :'Array', :'website' => :'String', :'branding_theme' => :'BrandingTheme', diff --git a/lib/xero-ruby/models/accounting/credit_note.rb b/lib/xero-ruby/models/accounting/credit_note.rb index 56fa4554..03546004 100644 --- a/lib/xero-ruby/models/accounting/credit_note.rb +++ b/lib/xero-ruby/models/accounting/credit_note.rb @@ -162,16 +162,16 @@ def self.openapi_types { :'type' => :'String', :'contact' => :'Contact', - :'date' => :'String', + :'date' => :'Date', :'status' => :'String', :'line_amount_types' => :'LineAmountTypes', :'line_items' => :'Array', :'sub_total' => :'BigDecimal', :'total_tax' => :'BigDecimal', :'total' => :'BigDecimal', - :'updated_date_utc' => :'String', + :'updated_date_utc' => :'DateTime', :'currency_code' => :'CurrencyCode', - :'fully_paid_on_date' => :'String', + :'fully_paid_on_date' => :'Date', :'credit_note_id' => :'String', :'credit_note_number' => :'String', :'reference' => :'String', diff --git a/lib/xero-ruby/models/accounting/employee.rb b/lib/xero-ruby/models/accounting/employee.rb index e67997af..8f548920 100644 --- a/lib/xero-ruby/models/accounting/employee.rb +++ b/lib/xero-ruby/models/accounting/employee.rb @@ -89,7 +89,7 @@ def self.openapi_types :'first_name' => :'String', :'last_name' => :'String', :'external_link' => :'ExternalLink', - :'updated_date_utc' => :'String', + :'updated_date_utc' => :'DateTime', :'status_attribute_string' => :'String', :'validation_errors' => :'Array' } diff --git a/lib/xero-ruby/models/accounting/expense_claim.rb b/lib/xero-ruby/models/accounting/expense_claim.rb index 6370bb19..36e2f3a5 100644 --- a/lib/xero-ruby/models/accounting/expense_claim.rb +++ b/lib/xero-ruby/models/accounting/expense_claim.rb @@ -106,12 +106,12 @@ def self.openapi_types :'payments' => :'Array', :'user' => :'User', :'receipts' => :'Array', - :'updated_date_utc' => :'String', + :'updated_date_utc' => :'DateTime', :'total' => :'BigDecimal', :'amount_due' => :'BigDecimal', :'amount_paid' => :'BigDecimal', - :'payment_due_date' => :'String', - :'reporting_date' => :'String', + :'payment_due_date' => :'Date', + :'reporting_date' => :'Date', :'receipt_id' => :'String' } end diff --git a/lib/xero-ruby/models/accounting/history_record.rb b/lib/xero-ruby/models/accounting/history_record.rb index f7a07c38..399f2b6d 100644 --- a/lib/xero-ruby/models/accounting/history_record.rb +++ b/lib/xero-ruby/models/accounting/history_record.rb @@ -45,7 +45,7 @@ def self.openapi_types :'details' => :'String', :'changes' => :'String', :'user' => :'String', - :'date_utc' => :'String' + :'date_utc' => :'DateTime' } end diff --git a/lib/xero-ruby/models/accounting/invoice.rb b/lib/xero-ruby/models/accounting/invoice.rb index 0774e916..405fc82b 100644 --- a/lib/xero-ruby/models/accounting/invoice.rb +++ b/lib/xero-ruby/models/accounting/invoice.rb @@ -217,8 +217,8 @@ def self.openapi_types :'type' => :'String', :'contact' => :'Contact', :'line_items' => :'Array', - :'date' => :'String', - :'due_date' => :'String', + :'date' => :'Date', + :'due_date' => :'Date', :'line_amount_types' => :'LineAmountTypes', :'invoice_number' => :'String', :'reference' => :'String', @@ -228,8 +228,8 @@ def self.openapi_types :'currency_rate' => :'BigDecimal', :'status' => :'String', :'sent_to_contact' => :'Boolean', - :'expected_payment_date' => :'String', - :'planned_payment_date' => :'String', + :'expected_payment_date' => :'Date', + :'planned_payment_date' => :'Date', :'cis_deduction' => :'BigDecimal', :'sub_total' => :'BigDecimal', :'total_tax' => :'BigDecimal', @@ -243,9 +243,9 @@ def self.openapi_types :'overpayments' => :'Array', :'amount_due' => :'BigDecimal', :'amount_paid' => :'BigDecimal', - :'fully_paid_on_date' => :'String', + :'fully_paid_on_date' => :'Date', :'amount_credited' => :'BigDecimal', - :'updated_date_utc' => :'String', + :'updated_date_utc' => :'DateTime', :'credit_notes' => :'Array', :'attachments' => :'Array', :'has_errors' => :'Boolean', diff --git a/lib/xero-ruby/models/accounting/item.rb b/lib/xero-ruby/models/accounting/item.rb index 0bd6691e..34d6f15e 100644 --- a/lib/xero-ruby/models/accounting/item.rb +++ b/lib/xero-ruby/models/accounting/item.rb @@ -102,7 +102,7 @@ def self.openapi_types :'is_tracked_as_inventory' => :'Boolean', :'total_cost_pool' => :'BigDecimal', :'quantity_on_hand' => :'BigDecimal', - :'updated_date_utc' => :'String', + :'updated_date_utc' => :'DateTime', :'item_id' => :'String', :'status_attribute_string' => :'String', :'validation_errors' => :'Array' diff --git a/lib/xero-ruby/models/accounting/journal.rb b/lib/xero-ruby/models/accounting/journal.rb index bdf95ffd..3d5296c6 100644 --- a/lib/xero-ruby/models/accounting/journal.rb +++ b/lib/xero-ruby/models/accounting/journal.rb @@ -106,9 +106,9 @@ def self.attribute_map def self.openapi_types { :'journal_id' => :'String', - :'journal_date' => :'String', + :'journal_date' => :'Date', :'journal_number' => :'Integer', - :'created_date_utc' => :'String', + :'created_date_utc' => :'DateTime', :'reference' => :'String', :'source_id' => :'String', :'source_type' => :'String', diff --git a/lib/xero-ruby/models/accounting/linked_transaction.rb b/lib/xero-ruby/models/accounting/linked_transaction.rb index 17c3a8c6..3515275f 100644 --- a/lib/xero-ruby/models/accounting/linked_transaction.rb +++ b/lib/xero-ruby/models/accounting/linked_transaction.rb @@ -108,7 +108,7 @@ def self.openapi_types :'linked_transaction_id' => :'String', :'status' => :'String', :'type' => :'String', - :'updated_date_utc' => :'String', + :'updated_date_utc' => :'DateTime', :'source_transaction_type_code' => :'String', :'validation_errors' => :'Array' } diff --git a/lib/xero-ruby/models/accounting/manual_journal.rb b/lib/xero-ruby/models/accounting/manual_journal.rb index a7391239..c405359a 100644 --- a/lib/xero-ruby/models/accounting/manual_journal.rb +++ b/lib/xero-ruby/models/accounting/manual_journal.rb @@ -111,13 +111,13 @@ def self.openapi_types { :'narration' => :'String', :'journal_lines' => :'Array', - :'date' => :'String', + :'date' => :'Date', :'line_amount_types' => :'LineAmountTypes', :'status' => :'String', :'url' => :'String', :'show_on_cash_basis_reports' => :'Boolean', :'has_attachments' => :'Boolean', - :'updated_date_utc' => :'String', + :'updated_date_utc' => :'DateTime', :'manual_journal_id' => :'String', :'status_attribute_string' => :'String', :'warnings' => :'Array', diff --git a/lib/xero-ruby/models/accounting/organisation.rb b/lib/xero-ruby/models/accounting/organisation.rb index ef646ac9..8d1b707f 100644 --- a/lib/xero-ruby/models/accounting/organisation.rb +++ b/lib/xero-ruby/models/accounting/organisation.rb @@ -270,9 +270,9 @@ def self.openapi_types :'sales_tax_period' => :'String', :'default_sales_tax' => :'String', :'default_purchases_tax' => :'String', - :'period_lock_date' => :'String', - :'end_of_year_lock_date' => :'String', - :'created_date_utc' => :'String', + :'period_lock_date' => :'Date', + :'end_of_year_lock_date' => :'Date', + :'created_date_utc' => :'DateTime', :'timezone' => :'TimeZone', :'organisation_entity_type' => :'String', :'short_code' => :'String', diff --git a/lib/xero-ruby/models/accounting/overpayment.rb b/lib/xero-ruby/models/accounting/overpayment.rb index 52e11349..2413b601 100644 --- a/lib/xero-ruby/models/accounting/overpayment.rb +++ b/lib/xero-ruby/models/accounting/overpayment.rb @@ -132,14 +132,14 @@ def self.openapi_types { :'type' => :'String', :'contact' => :'Contact', - :'date' => :'String', + :'date' => :'Date', :'status' => :'String', :'line_amount_types' => :'LineAmountTypes', :'line_items' => :'Array', :'sub_total' => :'BigDecimal', :'total_tax' => :'BigDecimal', :'total' => :'BigDecimal', - :'updated_date_utc' => :'String', + :'updated_date_utc' => :'DateTime', :'currency_code' => :'CurrencyCode', :'overpayment_id' => :'String', :'currency_rate' => :'BigDecimal', diff --git a/lib/xero-ruby/models/accounting/payment.rb b/lib/xero-ruby/models/accounting/payment.rb index 548246aa..b105da4e 100644 --- a/lib/xero-ruby/models/accounting/payment.rb +++ b/lib/xero-ruby/models/accounting/payment.rb @@ -162,14 +162,14 @@ def self.openapi_types :'credit_note_number' => :'String', :'account' => :'Account', :'code' => :'String', - :'date' => :'String', + :'date' => :'Date', :'currency_rate' => :'BigDecimal', :'amount' => :'BigDecimal', :'reference' => :'String', :'is_reconciled' => :'Boolean', :'status' => :'String', :'payment_type' => :'String', - :'updated_date_utc' => :'String', + :'updated_date_utc' => :'DateTime', :'payment_id' => :'String', :'bank_account_number' => :'String', :'particulars' => :'String', diff --git a/lib/xero-ruby/models/accounting/prepayment.rb b/lib/xero-ruby/models/accounting/prepayment.rb index 346478fb..3ba985da 100644 --- a/lib/xero-ruby/models/accounting/prepayment.rb +++ b/lib/xero-ruby/models/accounting/prepayment.rb @@ -133,7 +133,7 @@ def self.openapi_types { :'type' => :'String', :'contact' => :'Contact', - :'date' => :'String', + :'date' => :'Date', :'status' => :'String', :'line_amount_types' => :'LineAmountTypes', :'line_items' => :'Array', @@ -141,7 +141,7 @@ def self.openapi_types :'total_tax' => :'BigDecimal', :'total' => :'BigDecimal', :'reference' => :'String', - :'updated_date_utc' => :'String', + :'updated_date_utc' => :'DateTime', :'currency_code' => :'CurrencyCode', :'prepayment_id' => :'String', :'currency_rate' => :'BigDecimal', diff --git a/lib/xero-ruby/models/accounting/purchase_order.rb b/lib/xero-ruby/models/accounting/purchase_order.rb index 9c87faad..ddb0e108 100644 --- a/lib/xero-ruby/models/accounting/purchase_order.rb +++ b/lib/xero-ruby/models/accounting/purchase_order.rb @@ -167,8 +167,8 @@ def self.openapi_types { :'contact' => :'Contact', :'line_items' => :'Array', - :'date' => :'String', - :'delivery_date' => :'String', + :'date' => :'Date', + :'delivery_date' => :'Date', :'line_amount_types' => :'LineAmountTypes', :'purchase_order_number' => :'String', :'reference' => :'String', @@ -180,7 +180,7 @@ def self.openapi_types :'attention_to' => :'String', :'telephone' => :'String', :'delivery_instructions' => :'String', - :'expected_arrival_date' => :'String', + :'expected_arrival_date' => :'Date', :'purchase_order_id' => :'String', :'currency_rate' => :'BigDecimal', :'sub_total' => :'BigDecimal', @@ -188,7 +188,7 @@ def self.openapi_types :'total' => :'BigDecimal', :'total_discount' => :'BigDecimal', :'has_attachments' => :'Boolean', - :'updated_date_utc' => :'String', + :'updated_date_utc' => :'DateTime', :'status_attribute_string' => :'String', :'validation_errors' => :'Array', :'warnings' => :'Array', diff --git a/lib/xero-ruby/models/accounting/quote.rb b/lib/xero-ruby/models/accounting/quote.rb index baa610d7..18bc2b33 100644 --- a/lib/xero-ruby/models/accounting/quote.rb +++ b/lib/xero-ruby/models/accounting/quote.rb @@ -128,9 +128,9 @@ def self.openapi_types :'terms' => :'String', :'contact' => :'Contact', :'line_items' => :'Array', - :'date' => :'String', + :'date' => :'Date', :'date_string' => :'String', - :'expiry_date' => :'String', + :'expiry_date' => :'Date', :'expiry_date_string' => :'String', :'status' => :'QuoteStatusCodes', :'currency_code' => :'CurrencyCode', @@ -142,7 +142,7 @@ def self.openapi_types :'title' => :'String', :'summary' => :'String', :'branding_theme_id' => :'String', - :'updated_date_utc' => :'String', + :'updated_date_utc' => :'DateTime', :'line_amount_types' => :'QuoteLineAmountTypes', :'status_attribute_string' => :'String', :'validation_errors' => :'Array' diff --git a/lib/xero-ruby/models/accounting/receipt.rb b/lib/xero-ruby/models/accounting/receipt.rb index aef7b304..d0e6c0fd 100644 --- a/lib/xero-ruby/models/accounting/receipt.rb +++ b/lib/xero-ruby/models/accounting/receipt.rb @@ -125,7 +125,7 @@ def self.attribute_map # Attribute type mapping. def self.openapi_types { - :'date' => :'String', + :'date' => :'Date', :'contact' => :'Contact', :'line_items' => :'Array', :'user' => :'User', @@ -137,7 +137,7 @@ def self.openapi_types :'receipt_id' => :'String', :'status' => :'String', :'receipt_number' => :'String', - :'updated_date_utc' => :'String', + :'updated_date_utc' => :'DateTime', :'has_attachments' => :'Boolean', :'url' => :'String', :'validation_errors' => :'Array', diff --git a/lib/xero-ruby/models/accounting/report.rb b/lib/xero-ruby/models/accounting/report.rb index 6991916c..d116742f 100644 --- a/lib/xero-ruby/models/accounting/report.rb +++ b/lib/xero-ruby/models/accounting/report.rb @@ -82,7 +82,7 @@ def self.openapi_types :'report_type' => :'String', :'report_title' => :'String', :'report_date' => :'String', - :'updated_date_utc' => :'String', + :'updated_date_utc' => :'DateTime', :'contacts' => :'Array' } end diff --git a/lib/xero-ruby/models/accounting/report_with_row.rb b/lib/xero-ruby/models/accounting/report_with_row.rb index 3ba42502..9be330d8 100644 --- a/lib/xero-ruby/models/accounting/report_with_row.rb +++ b/lib/xero-ruby/models/accounting/report_with_row.rb @@ -69,7 +69,7 @@ def self.openapi_types :'report_titles' => :'Array', :'report_date' => :'String', :'rows' => :'Array', - :'updated_date_utc' => :'String', + :'updated_date_utc' => :'DateTime', :'fields' => :'Array' } end diff --git a/lib/xero-ruby/models/accounting/schedule.rb b/lib/xero-ruby/models/accounting/schedule.rb index 5f25dc63..1001338b 100644 --- a/lib/xero-ruby/models/accounting/schedule.rb +++ b/lib/xero-ruby/models/accounting/schedule.rb @@ -88,9 +88,9 @@ def self.openapi_types :'unit' => :'String', :'due_date' => :'Integer', :'due_date_type' => :'String', - :'start_date' => :'String', - :'next_scheduled_date' => :'String', - :'end_date' => :'String' + :'start_date' => :'Date', + :'next_scheduled_date' => :'Date', + :'end_date' => :'Date' } end diff --git a/lib/xero-ruby/models/accounting/user.rb b/lib/xero-ruby/models/accounting/user.rb index 5ec5238e..dda388ad 100644 --- a/lib/xero-ruby/models/accounting/user.rb +++ b/lib/xero-ruby/models/accounting/user.rb @@ -87,7 +87,7 @@ def self.openapi_types :'email_address' => :'String', :'first_name' => :'String', :'last_name' => :'String', - :'updated_date_utc' => :'String', + :'updated_date_utc' => :'DateTime', :'is_subscriber' => :'Boolean', :'organisation_role' => :'String' } From 25aed4674610ad0476fc3ecbdf4cfc6fcda44e93 Mon Sep 17 00:00:00 2001 From: serknight Date: Thu, 27 Aug 2020 11:33:18 -0600 Subject: [PATCH 3/3] comment out duplicate enums --- lib/xero-ruby/models/accounting/account.rb | 3 +- .../models/accounting/organisation.rb | 28 ++++++++++--------- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/lib/xero-ruby/models/accounting/account.rb b/lib/xero-ruby/models/accounting/account.rb index 8bcaa8aa..44d8fdb3 100644 --- a/lib/xero-ruby/models/accounting/account.rb +++ b/lib/xero-ruby/models/accounting/account.rb @@ -91,7 +91,8 @@ class Account CISLABOURINCOME = "CISLABOURINCOME".freeze CISLIABILITY = "CISLIABILITY".freeze CISMATERIALS = "CISMATERIALS".freeze - EMPTY = "".freeze + # duplicate definitions generated: https://github.com/XeroAPI/xero-ruby/issues/53#issuecomment-668893305 + # EMPTY = "".freeze # Shown if set attr_accessor :reporting_code diff --git a/lib/xero-ruby/models/accounting/organisation.rb b/lib/xero-ruby/models/accounting/organisation.rb index 8d1b707f..bcb37a99 100644 --- a/lib/xero-ruby/models/accounting/organisation.rb +++ b/lib/xero-ruby/models/accounting/organisation.rb @@ -114,7 +114,8 @@ class Organisation N6_MONTHLY = "6MONTHLY".freeze QUARTERLY = "QUARTERLY".freeze YEARLY = "YEARLY".freeze - NONE = "NONE".freeze + # duplicate definitions generated: https://github.com/XeroAPI/xero-ruby/issues/53#issuecomment-668893305 + # NONE = "NONE".freeze # The default for LineAmountTypes on sales transactions attr_accessor :default_sales_tax @@ -136,18 +137,19 @@ class Organisation # Organisation Entity Type attr_accessor :organisation_entity_type - ACCOUNTING_PRACTICE = "ACCOUNTING_PRACTICE".freeze - COMPANY = "COMPANY".freeze - CHARITY = "CHARITY".freeze - CLUB_OR_SOCIETY = "CLUB_OR_SOCIETY".freeze - LOOK_THROUGH_COMPANY = "LOOK_THROUGH_COMPANY".freeze - NOT_FOR_PROFIT = "NOT_FOR_PROFIT".freeze - PARTNERSHIP = "PARTNERSHIP".freeze - S_CORPORATION = "S_CORPORATION".freeze - SELF_MANAGED_SUPERANNUATION_FUND = "SELF_MANAGED_SUPERANNUATION_FUND".freeze - SOLE_TRADER = "SOLE_TRADER".freeze - SUPERANNUATION_FUND = "SUPERANNUATION_FUND".freeze - TRUST = "TRUST".freeze + # duplicate definitions generated: https://github.com/XeroAPI/xero-ruby/issues/53#issuecomment-668893305 + # ACCOUNTING_PRACTICE = "ACCOUNTING_PRACTICE".freeze + # COMPANY = "COMPANY".freeze + # CHARITY = "CHARITY".freeze + # CLUB_OR_SOCIETY = "CLUB_OR_SOCIETY".freeze + # LOOK_THROUGH_COMPANY = "LOOK_THROUGH_COMPANY".freeze + # NOT_FOR_PROFIT = "NOT_FOR_PROFIT".freeze + # PARTNERSHIP = "PARTNERSHIP".freeze + # S_CORPORATION = "S_CORPORATION".freeze + # SELF_MANAGED_SUPERANNUATION_FUND = "SELF_MANAGED_SUPERANNUATION_FUND".freeze + # SOLE_TRADER = "SOLE_TRADER".freeze + # SUPERANNUATION_FUND = "SUPERANNUATION_FUND".freeze + # TRUST = "TRUST".freeze # A unique identifier for the organisation. Potential uses. attr_accessor :short_code