diff --git a/docs/accounting/AccountingApi.md b/docs/accounting/AccountingApi.md index 228ef4d2..437b8584 100644 --- a/docs/accounting/AccountingApi.md +++ b/docs/accounting/AccountingApi.md @@ -5795,7 +5795,7 @@ Name | Type | Description | Notes ## get_bank_transactions -> GetBankTransactionsResponse get_bank_transactions(xero_tenant_id, opts) +> BankTransactions get_bank_transactions(xero_tenant_id, opts) Retrieves any spent or received money transactions @@ -5863,7 +5863,7 @@ Name | Type | Description | Notes ### Return type -[**GetBankTransactionsResponse**](GetBankTransactionsResponse.md) +[**BankTransactions**](BankTransactions.md) ### Authorization @@ -7468,7 +7468,7 @@ Name | Type | Description | Notes ## get_contacts -> GetContactsResponse get_contacts(xero_tenant_id, opts) +> Contacts get_contacts(xero_tenant_id, opts) Retrieves all contacts in a Xero organisation @@ -7545,7 +7545,7 @@ Name | Type | Description | Notes ### Return type -[**GetContactsResponse**](GetContactsResponse.md) +[**Contacts**](Contacts.md) ### Authorization @@ -7956,7 +7956,7 @@ Name | Type | Description | Notes ## get_credit_notes -> GetCreditNotesResponse get_credit_notes(xero_tenant_id, opts) +> CreditNotes get_credit_notes(xero_tenant_id, opts) Retrieves any credit notes @@ -8024,7 +8024,7 @@ Name | Type | Description | Notes ### Return type -[**GetCreditNotesResponse**](GetCreditNotesResponse.md) +[**CreditNotes**](CreditNotes.md) ### Authorization @@ -8905,7 +8905,7 @@ Name | Type | Description | Notes ## get_invoices -> GetInvoicesResponse get_invoices(xero_tenant_id, opts) +> Invoices get_invoices(xero_tenant_id, opts) Retrieves sales invoices or purchase bills @@ -8960,7 +8960,9 @@ opts = { summary_only: false, # Boolean | Use summaryOnly=true in GET Contacts and Invoices endpoint to retrieve a smaller version of the response object. This returns only lightweight fields, excluding computation-heavy fields from the response, making the API calls quick and efficient. - page_size: 100 # Integer | Number of records to retrieve per page + page_size: 100, # Integer | Number of records to retrieve per page + + search_term: 'SearchTerm=REF12' # String | Search parameter that performs a case-insensitive text search across the fields e.g. InvoiceNumber, Reference. } begin @@ -8991,10 +8993,11 @@ Name | Type | Description | Notes **unitdp** | **Integer**| e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts | [optional] **summary_only** | **Boolean**| Use summaryOnly=true in GET Contacts and Invoices endpoint to retrieve a smaller version of the response object. This returns only lightweight fields, excluding computation-heavy fields from the response, making the API calls quick and efficient. | [optional] [default to false] **page_size** | **Integer**| Number of records to retrieve per page | [optional] + **search_term** | **String**| Search parameter that performs a case-insensitive text search across the fields e.g. InvoiceNumber, Reference. | [optional] ### Return type -[**GetInvoicesResponse**](GetInvoicesResponse.md) +[**Invoices**](Invoices.md) ### Authorization @@ -9828,7 +9831,7 @@ Name | Type | Description | Notes ## get_manual_journals -> GetManualJournalsResponse get_manual_journals(xero_tenant_id, opts) +> ManualJournals get_manual_journals(xero_tenant_id, opts) Retrieves manual journals @@ -9893,7 +9896,7 @@ Name | Type | Description | Notes ### Return type -[**GetManualJournalsResponse**](GetManualJournalsResponse.md) +[**ManualJournals**](ManualJournals.md) ### Authorization @@ -10351,7 +10354,7 @@ Name | Type | Description | Notes ## get_overpayments -> GetOverpaymentsResponse get_overpayments(xero_tenant_id, opts) +> Overpayments get_overpayments(xero_tenant_id, opts) Retrieves overpayments @@ -10390,7 +10393,9 @@ opts = { page: 1, # Integer | e.g. page=1 – Up to 100 overpayments will be returned in a single API call with line items shown for each overpayment - unitdp: 4 # Integer | e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts + unitdp: 4, # Integer | e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts + + page_size: 100 # Integer | Number of records to retrieve per page } begin @@ -10413,10 +10418,11 @@ Name | Type | Description | Notes **order** | **String**| Order by an any element | [optional] **page** | **Integer**| e.g. page=1 – Up to 100 overpayments will be returned in a single API call with line items shown for each overpayment | [optional] **unitdp** | **Integer**| e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts | [optional] + **page_size** | **Integer**| Number of records to retrieve per page | [optional] ### Return type -[**GetOverpaymentsResponse**](GetOverpaymentsResponse.md) +[**Overpayments**](Overpayments.md) ### Authorization @@ -10620,7 +10626,7 @@ Name | Type | Description | Notes ## get_payments -> GetPaymentsResponse get_payments(xero_tenant_id, opts) +> Payments get_payments(xero_tenant_id, opts) Retrieves payments for invoices and credit notes @@ -10685,7 +10691,7 @@ Name | Type | Description | Notes ### Return type -[**GetPaymentsResponse**](GetPaymentsResponse.md) +[**Payments**](Payments.md) ### Authorization @@ -10827,7 +10833,7 @@ Name | Type | Description | Notes ## get_prepayments -> GetPrepaymentsResponse get_prepayments(xero_tenant_id, opts) +> Prepayments get_prepayments(xero_tenant_id, opts) Retrieves prepayments @@ -10866,7 +10872,9 @@ opts = { page: 1, # Integer | e.g. page=1 – Up to 100 prepayments will be returned in a single API call with line items shown for each overpayment - unitdp: 4 # Integer | e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts + unitdp: 4, # Integer | e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts + + page_size: 100 # Integer | Number of records to retrieve per page } begin @@ -10889,10 +10897,11 @@ Name | Type | Description | Notes **order** | **String**| Order by an any element | [optional] **page** | **Integer**| e.g. page=1 – Up to 100 prepayments will be returned in a single API call with line items shown for each overpayment | [optional] **unitdp** | **Integer**| e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts | [optional] + **page_size** | **Integer**| Number of records to retrieve per page | [optional] ### Return type -[**GetPrepaymentsResponse**](GetPrepaymentsResponse.md) +[**Prepayments**](Prepayments.md) ### Authorization @@ -11362,7 +11371,7 @@ Name | Type | Description | Notes ## get_purchase_orders -> GetPurchaseOrdersResponse get_purchase_orders(xero_tenant_id, opts) +> PurchaseOrders get_purchase_orders(xero_tenant_id, opts) Retrieves purchase orders @@ -11433,7 +11442,7 @@ Name | Type | Description | Notes ### Return type -[**GetPurchaseOrdersResponse**](GetPurchaseOrdersResponse.md) +[**PurchaseOrders**](PurchaseOrders.md) ### Authorization diff --git a/docs/accounting/BankTransactions.md b/docs/accounting/BankTransactions.md index d938bf93..1a42933b 100644 --- a/docs/accounting/BankTransactions.md +++ b/docs/accounting/BankTransactions.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pagination** | [**Pagination**](Pagination.md) | | [optional] **bank_transactions** | [**Array<BankTransaction>**](BankTransaction.md) | | [optional] ## Code Sample @@ -11,7 +12,8 @@ Name | Type | Description | Notes ```ruby require 'XeroRuby::Accounting' -instance = XeroRuby::Accounting::BankTransactions.new(bank_transactions: null) +instance = XeroRuby::Accounting::BankTransactions.new(pagination: null, + bank_transactions: null) ``` diff --git a/docs/accounting/Contacts.md b/docs/accounting/Contacts.md index 98afdd46..9dd8acce 100644 --- a/docs/accounting/Contacts.md +++ b/docs/accounting/Contacts.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pagination** | [**Pagination**](Pagination.md) | | [optional] **contacts** | [**Array<Contact>**](Contact.md) | | [optional] ## Code Sample @@ -11,7 +12,8 @@ Name | Type | Description | Notes ```ruby require 'XeroRuby::Accounting' -instance = XeroRuby::Accounting::Contacts.new(contacts: null) +instance = XeroRuby::Accounting::Contacts.new(pagination: null, + contacts: null) ``` diff --git a/docs/accounting/CreditNotes.md b/docs/accounting/CreditNotes.md index f63b5afb..dc1dc2a2 100644 --- a/docs/accounting/CreditNotes.md +++ b/docs/accounting/CreditNotes.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pagination** | [**Pagination**](Pagination.md) | | [optional] **credit_notes** | [**Array<CreditNote>**](CreditNote.md) | | [optional] ## Code Sample @@ -11,7 +12,8 @@ Name | Type | Description | Notes ```ruby require 'XeroRuby::Accounting' -instance = XeroRuby::Accounting::CreditNotes.new(credit_notes: null) +instance = XeroRuby::Accounting::CreditNotes.new(pagination: null, + credit_notes: null) ``` diff --git a/docs/accounting/GetBankTransactionsResponse.md b/docs/accounting/GetBankTransactionsResponse.md deleted file mode 100644 index 9985f457..00000000 --- a/docs/accounting/GetBankTransactionsResponse.md +++ /dev/null @@ -1,27 +0,0 @@ -# XeroRuby::Accounting::GetBankTransactionsResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | | [optional] -**status** | **String** | | [optional] -**provider_name** | **String** | | [optional] -**date_time_utc** | **String** | | [optional] -**page_info** | [**PageInfo**](PageInfo.md) | | [optional] -**bank_transactions** | [**Array<BankTransaction>**](BankTransaction.md) | | [optional] - -## Code Sample - -```ruby -require 'XeroRuby::Accounting' - -instance = XeroRuby::Accounting::GetBankTransactionsResponse.new(id: null, - status: null, - provider_name: null, - date_time_utc: null, - page_info: null, - bank_transactions: null) -``` - - diff --git a/docs/accounting/GetContactsResponse.md b/docs/accounting/GetContactsResponse.md deleted file mode 100644 index 2756d909..00000000 --- a/docs/accounting/GetContactsResponse.md +++ /dev/null @@ -1,27 +0,0 @@ -# XeroRuby::Accounting::GetContactsResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | | [optional] -**status** | **String** | | [optional] -**provider_name** | **String** | | [optional] -**date_time_utc** | **String** | | [optional] -**page_info** | [**PageInfo**](PageInfo.md) | | [optional] -**contacts** | [**Array<Contact>**](Contact.md) | | [optional] - -## Code Sample - -```ruby -require 'XeroRuby::Accounting' - -instance = XeroRuby::Accounting::GetContactsResponse.new(id: null, - status: null, - provider_name: null, - date_time_utc: null, - page_info: null, - contacts: null) -``` - - diff --git a/docs/accounting/GetCreditNotesResponse.md b/docs/accounting/GetCreditNotesResponse.md deleted file mode 100644 index 944a57aa..00000000 --- a/docs/accounting/GetCreditNotesResponse.md +++ /dev/null @@ -1,27 +0,0 @@ -# XeroRuby::Accounting::GetCreditNotesResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | | [optional] -**status** | **String** | | [optional] -**provider_name** | **String** | | [optional] -**date_time_utc** | **String** | | [optional] -**page_info** | [**PageInfo**](PageInfo.md) | | [optional] -**credit_notes** | [**Array<CreditNote>**](CreditNote.md) | | [optional] - -## Code Sample - -```ruby -require 'XeroRuby::Accounting' - -instance = XeroRuby::Accounting::GetCreditNotesResponse.new(id: null, - status: null, - provider_name: null, - date_time_utc: null, - page_info: null, - credit_notes: null) -``` - - diff --git a/docs/accounting/GetInvoicesResponse.md b/docs/accounting/GetInvoicesResponse.md deleted file mode 100644 index 850c7954..00000000 --- a/docs/accounting/GetInvoicesResponse.md +++ /dev/null @@ -1,27 +0,0 @@ -# XeroRuby::Accounting::GetInvoicesResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | | [optional] -**status** | **String** | | [optional] -**provider_name** | **String** | | [optional] -**date_time_utc** | **String** | | [optional] -**page_info** | [**PageInfo**](PageInfo.md) | | [optional] -**invoices** | [**Array<Invoice>**](Invoice.md) | | [optional] - -## Code Sample - -```ruby -require 'XeroRuby::Accounting' - -instance = XeroRuby::Accounting::GetInvoicesResponse.new(id: null, - status: null, - provider_name: null, - date_time_utc: null, - page_info: null, - invoices: null) -``` - - diff --git a/docs/accounting/GetManualJournalsResponse.md b/docs/accounting/GetManualJournalsResponse.md deleted file mode 100644 index fec599a3..00000000 --- a/docs/accounting/GetManualJournalsResponse.md +++ /dev/null @@ -1,27 +0,0 @@ -# XeroRuby::Accounting::GetManualJournalsResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | | [optional] -**status** | **String** | | [optional] -**provider_name** | **String** | | [optional] -**date_time_utc** | **String** | | [optional] -**page_info** | [**PageInfo**](PageInfo.md) | | [optional] -**manual_journals** | [**Array<ManualJournal>**](ManualJournal.md) | | [optional] - -## Code Sample - -```ruby -require 'XeroRuby::Accounting' - -instance = XeroRuby::Accounting::GetManualJournalsResponse.new(id: null, - status: null, - provider_name: null, - date_time_utc: null, - page_info: null, - manual_journals: null) -``` - - diff --git a/docs/accounting/GetOverpaymentsResponse.md b/docs/accounting/GetOverpaymentsResponse.md deleted file mode 100644 index be1ae285..00000000 --- a/docs/accounting/GetOverpaymentsResponse.md +++ /dev/null @@ -1,27 +0,0 @@ -# XeroRuby::Accounting::GetOverpaymentsResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | | [optional] -**status** | **String** | | [optional] -**provider_name** | **String** | | [optional] -**date_time_utc** | **String** | | [optional] -**page_info** | [**PageInfo**](PageInfo.md) | | [optional] -**overpayments** | [**Array<Overpayment>**](Overpayment.md) | | [optional] - -## Code Sample - -```ruby -require 'XeroRuby::Accounting' - -instance = XeroRuby::Accounting::GetOverpaymentsResponse.new(id: null, - status: null, - provider_name: null, - date_time_utc: null, - page_info: null, - overpayments: null) -``` - - diff --git a/docs/accounting/GetPaymentsResponse.md b/docs/accounting/GetPaymentsResponse.md deleted file mode 100644 index 66d92ce7..00000000 --- a/docs/accounting/GetPaymentsResponse.md +++ /dev/null @@ -1,27 +0,0 @@ -# XeroRuby::Accounting::GetPaymentsResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | | [optional] -**status** | **String** | | [optional] -**provider_name** | **String** | | [optional] -**date_time_utc** | **String** | | [optional] -**page_info** | [**PageInfo**](PageInfo.md) | | [optional] -**payments** | [**Array<Payment>**](Payment.md) | | [optional] - -## Code Sample - -```ruby -require 'XeroRuby::Accounting' - -instance = XeroRuby::Accounting::GetPaymentsResponse.new(id: null, - status: null, - provider_name: null, - date_time_utc: null, - page_info: null, - payments: null) -``` - - diff --git a/docs/accounting/GetPrepaymentsResponse.md b/docs/accounting/GetPrepaymentsResponse.md deleted file mode 100644 index 1fa92e8c..00000000 --- a/docs/accounting/GetPrepaymentsResponse.md +++ /dev/null @@ -1,27 +0,0 @@ -# XeroRuby::Accounting::GetPrepaymentsResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | | [optional] -**status** | **String** | | [optional] -**provider_name** | **String** | | [optional] -**date_time_utc** | **String** | | [optional] -**page_info** | [**PageInfo**](PageInfo.md) | | [optional] -**prepayments** | [**Array<Prepayment>**](Prepayment.md) | | [optional] - -## Code Sample - -```ruby -require 'XeroRuby::Accounting' - -instance = XeroRuby::Accounting::GetPrepaymentsResponse.new(id: null, - status: null, - provider_name: null, - date_time_utc: null, - page_info: null, - prepayments: null) -``` - - diff --git a/docs/accounting/GetPurchaseOrdersResponse.md b/docs/accounting/GetPurchaseOrdersResponse.md deleted file mode 100644 index 638d57b6..00000000 --- a/docs/accounting/GetPurchaseOrdersResponse.md +++ /dev/null @@ -1,27 +0,0 @@ -# XeroRuby::Accounting::GetPurchaseOrdersResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | | [optional] -**status** | **String** | | [optional] -**provider_name** | **String** | | [optional] -**date_time_utc** | **String** | | [optional] -**page_info** | [**PageInfo**](PageInfo.md) | | [optional] -**purchase_orders** | [**Array<PurchaseOrder>**](PurchaseOrder.md) | | [optional] - -## Code Sample - -```ruby -require 'XeroRuby::Accounting' - -instance = XeroRuby::Accounting::GetPurchaseOrdersResponse.new(id: null, - status: null, - provider_name: null, - date_time_utc: null, - page_info: null, - purchase_orders: null) -``` - - diff --git a/docs/accounting/Invoices.md b/docs/accounting/Invoices.md index d240d4da..1b14144f 100644 --- a/docs/accounting/Invoices.md +++ b/docs/accounting/Invoices.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pagination** | [**Pagination**](Pagination.md) | | [optional] **invoices** | [**Array<Invoice>**](Invoice.md) | | [optional] ## Code Sample @@ -11,7 +12,8 @@ Name | Type | Description | Notes ```ruby require 'XeroRuby::Accounting' -instance = XeroRuby::Accounting::Invoices.new(invoices: null) +instance = XeroRuby::Accounting::Invoices.new(pagination: null, + invoices: null) ``` diff --git a/docs/accounting/ManualJournals.md b/docs/accounting/ManualJournals.md index 2e36a36f..1bf5bd45 100644 --- a/docs/accounting/ManualJournals.md +++ b/docs/accounting/ManualJournals.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pagination** | [**Pagination**](Pagination.md) | | [optional] **manual_journals** | [**Array<ManualJournal>**](ManualJournal.md) | | [optional] ## Code Sample @@ -11,7 +12,8 @@ Name | Type | Description | Notes ```ruby require 'XeroRuby::Accounting' -instance = XeroRuby::Accounting::ManualJournals.new(manual_journals: null) +instance = XeroRuby::Accounting::ManualJournals.new(pagination: null, + manual_journals: null) ``` diff --git a/docs/accounting/Overpayments.md b/docs/accounting/Overpayments.md index 899adeb5..5df81c8f 100644 --- a/docs/accounting/Overpayments.md +++ b/docs/accounting/Overpayments.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pagination** | [**Pagination**](Pagination.md) | | [optional] **overpayments** | [**Array<Overpayment>**](Overpayment.md) | | [optional] ## Code Sample @@ -11,7 +12,8 @@ Name | Type | Description | Notes ```ruby require 'XeroRuby::Accounting' -instance = XeroRuby::Accounting::Overpayments.new(overpayments: null) +instance = XeroRuby::Accounting::Overpayments.new(pagination: null, + overpayments: null) ``` diff --git a/docs/accounting/PageInfo.md b/docs/accounting/Pagination.md similarity index 51% rename from docs/accounting/PageInfo.md rename to docs/accounting/Pagination.md index 501deb21..9654925c 100644 --- a/docs/accounting/PageInfo.md +++ b/docs/accounting/Pagination.md @@ -1,4 +1,4 @@ -# XeroRuby::Accounting::PageInfo +# XeroRuby::Accounting::Pagination ## Properties @@ -6,18 +6,18 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **page** | **Integer** | | [optional] **page_size** | **Integer** | | [optional] -**total_pages** | **Integer** | | [optional] -**total_rows** | **Integer** | | [optional] +**page_count** | **Integer** | | [optional] +**item_count** | **Integer** | | [optional] ## Code Sample ```ruby require 'XeroRuby::Accounting' -instance = XeroRuby::Accounting::PageInfo.new(page: null, +instance = XeroRuby::Accounting::Pagination.new(page: null, page_size: null, - total_pages: null, - total_rows: null) + page_count: null, + item_count: null) ``` diff --git a/docs/accounting/Payments.md b/docs/accounting/Payments.md index 9506b5d8..b9b3aa86 100644 --- a/docs/accounting/Payments.md +++ b/docs/accounting/Payments.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pagination** | [**Pagination**](Pagination.md) | | [optional] **payments** | [**Array<Payment>**](Payment.md) | | [optional] ## Code Sample @@ -11,7 +12,8 @@ Name | Type | Description | Notes ```ruby require 'XeroRuby::Accounting' -instance = XeroRuby::Accounting::Payments.new(payments: null) +instance = XeroRuby::Accounting::Payments.new(pagination: null, + payments: null) ``` diff --git a/docs/accounting/Prepayments.md b/docs/accounting/Prepayments.md index eb097e83..93381a99 100644 --- a/docs/accounting/Prepayments.md +++ b/docs/accounting/Prepayments.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pagination** | [**Pagination**](Pagination.md) | | [optional] **prepayments** | [**Array<Prepayment>**](Prepayment.md) | | [optional] ## Code Sample @@ -11,7 +12,8 @@ Name | Type | Description | Notes ```ruby require 'XeroRuby::Accounting' -instance = XeroRuby::Accounting::Prepayments.new(prepayments: null) +instance = XeroRuby::Accounting::Prepayments.new(pagination: null, + prepayments: null) ``` diff --git a/docs/accounting/PurchaseOrders.md b/docs/accounting/PurchaseOrders.md index 12b2826b..c25a50a3 100644 --- a/docs/accounting/PurchaseOrders.md +++ b/docs/accounting/PurchaseOrders.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pagination** | [**Pagination**](Pagination.md) | | [optional] **purchase_orders** | [**Array<PurchaseOrder>**](PurchaseOrder.md) | | [optional] ## Code Sample @@ -11,7 +12,8 @@ Name | Type | Description | Notes ```ruby require 'XeroRuby::Accounting' -instance = XeroRuby::Accounting::PurchaseOrders.new(purchase_orders: null) +instance = XeroRuby::Accounting::PurchaseOrders.new(pagination: null, + purchase_orders: null) ``` diff --git a/docs/accounting/index.html b/docs/accounting/index.html index 9cf9f0db..7e148067 100644 --- a/docs/accounting/index.html +++ b/docs/accounting/index.html @@ -1465,6 +1465,9 @@ "title" : "", "type" : "object", "properties" : { + "pagination" : { + "$ref" : "#/components/schemas/Pagination" + }, "BankTransactions" : { "type" : "array", "items" : { @@ -2320,6 +2323,9 @@ "title" : "", "type" : "object", "properties" : { + "pagination" : { + "$ref" : "#/components/schemas/Pagination" + }, "Contacts" : { "type" : "array", "items" : { @@ -2555,6 +2561,9 @@ "title" : "", "type" : "object", "properties" : { + "pagination" : { + "$ref" : "#/components/schemas/Pagination" + }, "CreditNotes" : { "type" : "array", "items" : { @@ -2859,267 +2868,6 @@ "externalDocs" : { "url" : "http://developer.xero.com/documentation/api/organisation/" } -}; - defs["GetBankTransactionsResponse"] = { - "title" : "", - "type" : "object", - "properties" : { - "Id" : { - "type" : "string" - }, - "Status" : { - "type" : "string" - }, - "ProviderName" : { - "type" : "string" - }, - "DateTimeUTC" : { - "type" : "string" - }, - "PageInfo" : { - "$ref" : "#/components/schemas/PageInfo" - }, - "BankTransactions" : { - "minItems" : 1, - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/BankTransaction" - } - } - }, - "description" : "" -}; - defs["GetContactsResponse"] = { - "title" : "", - "type" : "object", - "properties" : { - "Id" : { - "type" : "string" - }, - "Status" : { - "type" : "string" - }, - "ProviderName" : { - "type" : "string" - }, - "DateTimeUTC" : { - "type" : "string" - }, - "PageInfo" : { - "$ref" : "#/components/schemas/PageInfo" - }, - "Contacts" : { - "minItems" : 1, - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/Contact" - } - } - }, - "description" : "" -}; - defs["GetCreditNotesResponse"] = { - "title" : "", - "type" : "object", - "properties" : { - "Id" : { - "type" : "string" - }, - "Status" : { - "type" : "string" - }, - "ProviderName" : { - "type" : "string" - }, - "DateTimeUTC" : { - "type" : "string" - }, - "PageInfo" : { - "$ref" : "#/components/schemas/PageInfo" - }, - "CreditNotes" : { - "minItems" : 1, - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/CreditNote" - } - } - }, - "description" : "" -}; - defs["GetInvoicesResponse"] = { - "title" : "", - "type" : "object", - "properties" : { - "Id" : { - "type" : "string" - }, - "Status" : { - "type" : "string" - }, - "ProviderName" : { - "type" : "string" - }, - "DateTimeUTC" : { - "type" : "string" - }, - "PageInfo" : { - "$ref" : "#/components/schemas/PageInfo" - }, - "Invoices" : { - "minItems" : 1, - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/Invoice" - } - } - }, - "description" : "" -}; - defs["GetManualJournalsResponse"] = { - "title" : "", - "type" : "object", - "properties" : { - "Id" : { - "type" : "string" - }, - "Status" : { - "type" : "string" - }, - "ProviderName" : { - "type" : "string" - }, - "DateTimeUTC" : { - "type" : "string" - }, - "PageInfo" : { - "$ref" : "#/components/schemas/PageInfo" - }, - "ManualJournals" : { - "minItems" : 1, - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/ManualJournal" - } - } - }, - "description" : "" -}; - defs["GetOverpaymentsResponse"] = { - "title" : "", - "type" : "object", - "properties" : { - "Id" : { - "type" : "string" - }, - "Status" : { - "type" : "string" - }, - "ProviderName" : { - "type" : "string" - }, - "DateTimeUTC" : { - "type" : "string" - }, - "PageInfo" : { - "$ref" : "#/components/schemas/PageInfo" - }, - "Overpayments" : { - "minItems" : 1, - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/Overpayment" - } - } - }, - "description" : "" -}; - defs["GetPaymentsResponse"] = { - "title" : "", - "type" : "object", - "properties" : { - "Id" : { - "type" : "string" - }, - "Status" : { - "type" : "string" - }, - "ProviderName" : { - "type" : "string" - }, - "DateTimeUTC" : { - "type" : "string" - }, - "PageInfo" : { - "$ref" : "#/components/schemas/PageInfo" - }, - "Payments" : { - "minItems" : 1, - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/Payment" - } - } - }, - "description" : "" -}; - defs["GetPrepaymentsResponse"] = { - "title" : "", - "type" : "object", - "properties" : { - "Id" : { - "type" : "string" - }, - "Status" : { - "type" : "string" - }, - "ProviderName" : { - "type" : "string" - }, - "DateTimeUTC" : { - "type" : "string" - }, - "PageInfo" : { - "$ref" : "#/components/schemas/PageInfo" - }, - "Prepayments" : { - "minItems" : 1, - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/Prepayment" - } - } - }, - "description" : "" -}; - defs["GetPurchaseOrdersResponse"] = { - "title" : "", - "type" : "object", - "properties" : { - "Id" : { - "type" : "string" - }, - "Status" : { - "type" : "string" - }, - "ProviderName" : { - "type" : "string" - }, - "DateTimeUTC" : { - "type" : "string" - }, - "PageInfo" : { - "$ref" : "#/components/schemas/PageInfo" - }, - "PurchaseOrders" : { - "minItems" : 1, - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/PurchaseOrder" - } - } - }, - "description" : "" }; defs["HistoryRecord"] = { "title" : "", @@ -3529,6 +3277,9 @@ "title" : "", "type" : "object", "properties" : { + "pagination" : { + "$ref" : "#/components/schemas/Pagination" + }, "Invoices" : { "type" : "array", "items" : { @@ -4165,6 +3916,9 @@ "title" : "", "type" : "object", "properties" : { + "pagination" : { + "$ref" : "#/components/schemas/Pagination" + }, "ManualJournals" : { "type" : "array", "items" : { @@ -4499,6 +4253,9 @@ "title" : "", "type" : "object", "properties" : { + "pagination" : { + "$ref" : "#/components/schemas/Pagination" + }, "Overpayments" : { "type" : "array", "items" : { @@ -4509,24 +4266,24 @@ "description" : "", "x-isObjectArray" : true }; - defs["PageInfo"] = { + defs["Pagination"] = { "title" : "", "type" : "object", "properties" : { - "Page" : { + "page" : { "type" : "integer" }, - "PageSize" : { + "pageSize" : { "type" : "integer" }, - "TotalPages" : { + "pageCount" : { "type" : "integer" }, - "TotalRows" : { + "itemCount" : { "type" : "integer" } }, - "description" : "Pagination information" + "description" : "" }; defs["Payment"] = { "title" : "", @@ -4764,6 +4521,9 @@ "title" : "", "type" : "object", "properties" : { + "pagination" : { + "$ref" : "#/components/schemas/Pagination" + }, "Payments" : { "type" : "array", "items" : { @@ -4929,6 +4689,9 @@ "title" : "", "type" : "object", "properties" : { + "pagination" : { + "$ref" : "#/components/schemas/Pagination" + }, "Prepayments" : { "type" : "array", "items" : { @@ -5128,6 +4891,9 @@ "title" : "", "type" : "object", "properties" : { + "pagination" : { + "$ref" : "#/components/schemas/Pagination" + }, "PurchaseOrders" : { "type" : "array", "items" : { @@ -6380,7 +6146,7 @@