diff --git a/Gemfile.lock b/Gemfile.lock index 20fb911c..cc699f1d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - xero-ruby (7.0.0) + xero-ruby (9.1.0) faraday (>= 2.0, < 3.0) json (~> 2.1, >= 2.1.0) json-jwt (~> 1.16, >= 1.16.3) @@ -28,15 +28,15 @@ GEM coderay (1.1.3) concurrent-ruby (1.3.3) connection_pool (2.4.1) - diff-lcs (1.5.0) + diff-lcs (1.5.1) drb (2.2.1) - faraday (2.8.1) - base64 - faraday-net_http (>= 2.0, < 3.1) - ruby2_keywords (>= 0.0.4) + faraday (2.10.1) + faraday-net_http (>= 2.0, < 3.2) + logger faraday-follow_redirects (0.3.0) faraday (>= 1, < 3) - faraday-net_http (3.0.2) + faraday-net_http (3.1.1) + net-http i18n (1.14.5) concurrent-ruby (~> 1.0) json (2.7.2) @@ -47,38 +47,41 @@ GEM bindata faraday (~> 2.0) faraday-follow_redirects - method_source (1.0.0) - minitest (5.24.0) + logger (1.6.0) + method_source (1.1.0) + minitest (5.24.1) mutex_m (0.2.0) + net-http (0.4.1) + uri parallel (1.25.1) - parser (3.3.3.0) + parser (3.3.4.0) ast (~> 2.4.1) racc - pry (0.13.1) + pry (0.14.2) coderay (~> 1.1) method_source (~> 1.0) - pry-byebug (3.9.0) + pry-byebug (3.10.1) byebug (~> 11.0) - pry (~> 0.13.0) - racc (1.8.0) + pry (>= 0.13, < 0.15) + racc (1.8.1) rainbow (3.1.1) rake (12.3.3) regexp_parser (2.9.2) - rexml (3.3.0) + rexml (3.3.4) strscan - rspec (3.10.0) - rspec-core (~> 3.10.0) - rspec-expectations (~> 3.10.0) - rspec-mocks (~> 3.10.0) - rspec-core (3.10.2) - rspec-support (~> 3.10.0) - rspec-expectations (3.10.2) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.0) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.1) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.10.0) - rspec-mocks (3.10.3) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.1) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.10.0) - rspec-support (3.10.3) + rspec-support (~> 3.13.0) + rspec-support (3.13.1) rubocop (0.93.1) parallel (~> 1.10) parser (>= 2.7.1.5) @@ -91,15 +94,15 @@ GEM rubocop-ast (1.31.3) parser (>= 3.3.1.0) ruby-progressbar (1.13.0) - ruby2_keywords (0.0.5) strscan (3.1.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) unicode-display_width (1.8.0) + uri (0.13.0) PLATFORMS + arm64-darwin-23 ruby - x86_64-darwin-20 DEPENDENCIES pry-byebug @@ -109,4 +112,4 @@ DEPENDENCIES xero-ruby! BUNDLED WITH - 2.4.22 + 2.5.11 diff --git a/docs/accounting/BankTransactions.md b/docs/accounting/BankTransactions.md index 1a42933b..4ee25c0a 100644 --- a/docs/accounting/BankTransactions.md +++ b/docs/accounting/BankTransactions.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pagination** | [**Pagination**](Pagination.md) | | [optional] +**warnings** | [**Array<ValidationError>**](ValidationError.md) | Displays array of warning messages from the API | [optional] **bank_transactions** | [**Array<BankTransaction>**](BankTransaction.md) | | [optional] ## Code Sample @@ -13,6 +14,7 @@ Name | Type | Description | Notes require 'XeroRuby::Accounting' instance = XeroRuby::Accounting::BankTransactions.new(pagination: null, + warnings: null, bank_transactions: null) ``` diff --git a/docs/accounting/Contacts.md b/docs/accounting/Contacts.md index 9dd8acce..e8d97d5e 100644 --- a/docs/accounting/Contacts.md +++ b/docs/accounting/Contacts.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pagination** | [**Pagination**](Pagination.md) | | [optional] +**warnings** | [**Array<ValidationError>**](ValidationError.md) | Displays array of warning messages from the API | [optional] **contacts** | [**Array<Contact>**](Contact.md) | | [optional] ## Code Sample @@ -13,6 +14,7 @@ Name | Type | Description | Notes require 'XeroRuby::Accounting' instance = XeroRuby::Accounting::Contacts.new(pagination: null, + warnings: null, contacts: null) ``` diff --git a/docs/accounting/CreditNotes.md b/docs/accounting/CreditNotes.md index dc1dc2a2..4cce5449 100644 --- a/docs/accounting/CreditNotes.md +++ b/docs/accounting/CreditNotes.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pagination** | [**Pagination**](Pagination.md) | | [optional] +**warnings** | [**Array<ValidationError>**](ValidationError.md) | Displays array of warning messages from the API | [optional] **credit_notes** | [**Array<CreditNote>**](CreditNote.md) | | [optional] ## Code Sample @@ -13,6 +14,7 @@ Name | Type | Description | Notes require 'XeroRuby::Accounting' instance = XeroRuby::Accounting::CreditNotes.new(pagination: null, + warnings: null, credit_notes: null) ``` diff --git a/docs/accounting/Invoices.md b/docs/accounting/Invoices.md index 1b14144f..25d4e7f4 100644 --- a/docs/accounting/Invoices.md +++ b/docs/accounting/Invoices.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pagination** | [**Pagination**](Pagination.md) | | [optional] +**warnings** | [**Array<ValidationError>**](ValidationError.md) | Displays array of warning messages from the API | [optional] **invoices** | [**Array<Invoice>**](Invoice.md) | | [optional] ## Code Sample @@ -13,6 +14,7 @@ Name | Type | Description | Notes require 'XeroRuby::Accounting' instance = XeroRuby::Accounting::Invoices.new(pagination: null, + warnings: null, invoices: null) ``` diff --git a/docs/accounting/Journals.md b/docs/accounting/Journals.md index bccd124b..b43a6943 100644 --- a/docs/accounting/Journals.md +++ b/docs/accounting/Journals.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**warnings** | [**Array<ValidationError>**](ValidationError.md) | Displays array of warning messages from the API | [optional] **journals** | [**Array<Journal>**](Journal.md) | | [optional] ## Code Sample @@ -11,7 +12,8 @@ Name | Type | Description | Notes ```ruby require 'XeroRuby::Accounting' -instance = XeroRuby::Accounting::Journals.new(journals: null) +instance = XeroRuby::Accounting::Journals.new(warnings: null, + journals: null) ``` diff --git a/docs/accounting/ManualJournals.md b/docs/accounting/ManualJournals.md index 1bf5bd45..6f591e34 100644 --- a/docs/accounting/ManualJournals.md +++ b/docs/accounting/ManualJournals.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pagination** | [**Pagination**](Pagination.md) | | [optional] +**warnings** | [**Array<ValidationError>**](ValidationError.md) | Displays array of warning messages from the API | [optional] **manual_journals** | [**Array<ManualJournal>**](ManualJournal.md) | | [optional] ## Code Sample @@ -13,6 +14,7 @@ Name | Type | Description | Notes require 'XeroRuby::Accounting' instance = XeroRuby::Accounting::ManualJournals.new(pagination: null, + warnings: null, manual_journals: null) ``` diff --git a/docs/accounting/Overpayments.md b/docs/accounting/Overpayments.md index 5df81c8f..48514049 100644 --- a/docs/accounting/Overpayments.md +++ b/docs/accounting/Overpayments.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pagination** | [**Pagination**](Pagination.md) | | [optional] +**warnings** | [**Array<ValidationError>**](ValidationError.md) | Displays array of warning messages from the API | [optional] **overpayments** | [**Array<Overpayment>**](Overpayment.md) | | [optional] ## Code Sample @@ -13,6 +14,7 @@ Name | Type | Description | Notes require 'XeroRuby::Accounting' instance = XeroRuby::Accounting::Overpayments.new(pagination: null, + warnings: null, overpayments: null) ``` diff --git a/docs/accounting/Payments.md b/docs/accounting/Payments.md index b9b3aa86..93913168 100644 --- a/docs/accounting/Payments.md +++ b/docs/accounting/Payments.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pagination** | [**Pagination**](Pagination.md) | | [optional] +**warnings** | [**Array<ValidationError>**](ValidationError.md) | Displays array of warning messages from the API | [optional] **payments** | [**Array<Payment>**](Payment.md) | | [optional] ## Code Sample @@ -13,6 +14,7 @@ Name | Type | Description | Notes require 'XeroRuby::Accounting' instance = XeroRuby::Accounting::Payments.new(pagination: null, + warnings: null, payments: null) ``` diff --git a/docs/accounting/Prepayments.md b/docs/accounting/Prepayments.md index 93381a99..165969e2 100644 --- a/docs/accounting/Prepayments.md +++ b/docs/accounting/Prepayments.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pagination** | [**Pagination**](Pagination.md) | | [optional] +**warnings** | [**Array<ValidationError>**](ValidationError.md) | Displays array of warning messages from the API | [optional] **prepayments** | [**Array<Prepayment>**](Prepayment.md) | | [optional] ## Code Sample @@ -13,6 +14,7 @@ Name | Type | Description | Notes require 'XeroRuby::Accounting' instance = XeroRuby::Accounting::Prepayments.new(pagination: null, + warnings: null, prepayments: null) ``` diff --git a/docs/accounting/PurchaseOrders.md b/docs/accounting/PurchaseOrders.md index c25a50a3..643ef35d 100644 --- a/docs/accounting/PurchaseOrders.md +++ b/docs/accounting/PurchaseOrders.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pagination** | [**Pagination**](Pagination.md) | | [optional] +**warnings** | [**Array<ValidationError>**](ValidationError.md) | Displays array of warning messages from the API | [optional] **purchase_orders** | [**Array<PurchaseOrder>**](PurchaseOrder.md) | | [optional] ## Code Sample @@ -13,6 +14,7 @@ Name | Type | Description | Notes require 'XeroRuby::Accounting' instance = XeroRuby::Accounting::PurchaseOrders.new(pagination: null, + warnings: null, purchase_orders: null) ``` diff --git a/docs/accounting/index.html b/docs/accounting/index.html index 938e36df..894ee70d 100644 --- a/docs/accounting/index.html +++ b/docs/accounting/index.html @@ -989,7 +989,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "accounts" }; defs["AccountsPayable"] = { "title" : "", @@ -1056,7 +1056,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "actions" }; defs["Address"] = { "title" : "", @@ -1245,7 +1245,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "allocations" }; defs["Attachment"] = { "title" : "", @@ -1298,7 +1298,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "attachments" }; defs["BalanceDetails"] = { "title" : "", @@ -1468,6 +1468,13 @@ "pagination" : { "$ref" : "#/components/schemas/Pagination" }, + "Warnings" : { + "type" : "array", + "description" : "Displays array of warning messages from the API", + "items" : { + "$ref" : "#/components/schemas/ValidationError" + } + }, "BankTransactions" : { "type" : "array", "items" : { @@ -1476,7 +1483,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "bank_transactions" }; defs["BankTransfer"] = { "title" : "", @@ -1580,7 +1587,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "bank_transfers" }; defs["BatchPayment"] = { "title" : "", @@ -1770,7 +1777,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "batch_payments" }; defs["Bill"] = { "title" : "", @@ -1840,7 +1847,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "branding_themes" }; defs["Budget"] = { "title" : "", @@ -1953,7 +1960,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "budgets" }; defs["CISOrgSetting"] = { "title" : "", @@ -1991,7 +1998,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "cis_settings" }; defs["CISSetting"] = { "title" : "", @@ -2025,7 +2032,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "cis_settings" }; defs["Contact"] = { "title" : "", @@ -2291,7 +2298,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "contact_groups" }; defs["ContactPerson"] = { "title" : "", @@ -2326,6 +2333,13 @@ "pagination" : { "$ref" : "#/components/schemas/Pagination" }, + "Warnings" : { + "type" : "array", + "description" : "Displays array of warning messages from the API", + "items" : { + "$ref" : "#/components/schemas/ValidationError" + } + }, "Contacts" : { "type" : "array", "items" : { @@ -2334,7 +2348,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "contacts" }; defs["ConversionBalances"] = { "title" : "", @@ -2564,6 +2578,13 @@ "pagination" : { "$ref" : "#/components/schemas/Pagination" }, + "Warnings" : { + "type" : "array", + "description" : "Displays array of warning messages from the API", + "items" : { + "$ref" : "#/components/schemas/ValidationError" + } + }, "CreditNotes" : { "type" : "array", "items" : { @@ -2572,7 +2593,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "credit_notes" }; defs["Currencies"] = { "title" : "", @@ -2586,7 +2607,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "currencies" }; defs["Currency"] = { "title" : "", @@ -2721,7 +2742,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "employees" }; defs["Error"] = { "title" : "", @@ -2845,7 +2866,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "expense_claims" }; defs["ExternalLink"] = { "title" : "", @@ -2910,7 +2931,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "history_records" }; defs["ImportSummary"] = { "title" : "", @@ -3271,7 +3292,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "invoice_reminders" }; defs["Invoices"] = { "title" : "", @@ -3280,6 +3301,13 @@ "pagination" : { "$ref" : "#/components/schemas/Pagination" }, + "Warnings" : { + "type" : "array", + "description" : "Displays array of warning messages from the API", + "items" : { + "$ref" : "#/components/schemas/ValidationError" + } + }, "Invoices" : { "type" : "array", "items" : { @@ -3288,7 +3316,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "invoices" }; defs["Item"] = { "title" : "", @@ -3390,7 +3418,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "items" }; defs["Journal"] = { "title" : "", @@ -3526,6 +3554,13 @@ "title" : "", "type" : "object", "properties" : { + "Warnings" : { + "type" : "array", + "description" : "Displays array of warning messages from the API", + "items" : { + "$ref" : "#/components/schemas/ValidationError" + } + }, "Journals" : { "type" : "array", "items" : { @@ -3534,7 +3569,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "journals" }; defs["LineAmountTypes"] = { "title" : "", @@ -3767,7 +3802,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "linked_transactions" }; defs["ManualJournal"] = { "title" : "", @@ -3919,6 +3954,13 @@ "pagination" : { "$ref" : "#/components/schemas/Pagination" }, + "Warnings" : { + "type" : "array", + "description" : "Displays array of warning messages from the API", + "items" : { + "$ref" : "#/components/schemas/ValidationError" + } + }, "ManualJournals" : { "type" : "array", "items" : { @@ -3927,7 +3969,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "manual_journals" }; defs["OnlineInvoice"] = { "title" : "", @@ -3955,7 +3997,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "online_invoices" }; defs["Organisation"] = { "title" : "", @@ -4130,7 +4172,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "organisations" }; defs["Overpayment"] = { "title" : "", @@ -4256,6 +4298,13 @@ "pagination" : { "$ref" : "#/components/schemas/Pagination" }, + "Warnings" : { + "type" : "array", + "description" : "Displays array of warning messages from the API", + "items" : { + "$ref" : "#/components/schemas/ValidationError" + } + }, "Overpayments" : { "type" : "array", "items" : { @@ -4264,7 +4313,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "overpayments" }; defs["Pagination"] = { "title" : "", @@ -4493,7 +4542,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "payment_services" }; defs["PaymentTerm"] = { "title" : "", @@ -4524,6 +4573,13 @@ "pagination" : { "$ref" : "#/components/schemas/Pagination" }, + "Warnings" : { + "type" : "array", + "description" : "Displays array of warning messages from the API", + "items" : { + "$ref" : "#/components/schemas/ValidationError" + } + }, "Payments" : { "type" : "array", "items" : { @@ -4532,7 +4588,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "payments" }; defs["Phone"] = { "title" : "", @@ -4692,6 +4748,13 @@ "pagination" : { "$ref" : "#/components/schemas/Pagination" }, + "Warnings" : { + "type" : "array", + "description" : "Displays array of warning messages from the API", + "items" : { + "$ref" : "#/components/schemas/ValidationError" + } + }, "Prepayments" : { "type" : "array", "items" : { @@ -4700,7 +4763,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "prepayments" }; defs["Purchase"] = { "title" : "", @@ -4894,6 +4957,13 @@ "pagination" : { "$ref" : "#/components/schemas/Pagination" }, + "Warnings" : { + "type" : "array", + "description" : "Displays array of warning messages from the API", + "items" : { + "$ref" : "#/components/schemas/ValidationError" + } + }, "PurchaseOrders" : { "type" : "array", "items" : { @@ -4902,7 +4972,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "purchase_orders" }; defs["Quote"] = { "title" : "", @@ -5061,7 +5131,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "quotes" }; defs["Receipt"] = { "title" : "", @@ -5182,7 +5252,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "receipts" }; defs["RepeatingInvoice"] = { "title" : "", @@ -5310,7 +5380,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "repeating_invoices" }; defs["Report"] = { "title" : "", @@ -5522,7 +5592,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "reports" }; defs["RequestEmpty"] = { "title" : "", @@ -5744,7 +5814,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "tax_rates" }; defs["TaxType"] = { "title" : "", @@ -5904,7 +5974,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "tracking_categories" }; defs["TrackingCategory"] = { "title" : "", @@ -5990,7 +6060,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "options" }; defs["User"] = { "title" : "", @@ -6047,7 +6117,7 @@ } }, "description" : "", - "x-isObjectArray" : true + "x-objectArrayKey" : "users" }; defs["ValidationError"] = { "title" : "", @@ -6146,7 +6216,7 @@