xero-ruby 1.2.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +181 -72
- data/build_notes.md +52 -0
- data/docs/accounting/Account.md +1 -1
- data/docs/accounting/AccountingApi.md +23 -11
- data/docs/accounting/AccountsPayable.md +2 -2
- data/docs/accounting/AccountsReceivable.md +2 -2
- data/docs/accounting/Allocation.md +1 -1
- data/docs/accounting/Attachment.md +1 -1
- data/docs/accounting/BankTransaction.md +6 -6
- data/docs/accounting/BankTransfer.md +3 -3
- data/docs/accounting/BatchPayment.md +2 -2
- data/docs/accounting/BrandingTheme.md +1 -1
- data/docs/accounting/Contact.md +2 -2
- data/docs/accounting/CreditNote.md +6 -6
- data/docs/accounting/Employee.md +1 -1
- data/docs/accounting/ExpenseClaim.md +4 -4
- data/docs/accounting/HistoryRecord.md +1 -1
- data/docs/accounting/Invoice.md +10 -10
- data/docs/accounting/Item.md +3 -3
- data/docs/accounting/Journal.md +1 -1
- data/docs/accounting/JournalLine.md +3 -3
- data/docs/accounting/LineItem.md +6 -6
- data/docs/accounting/LinkedTransaction.md +1 -1
- data/docs/accounting/ManualJournal.md +1 -1
- data/docs/accounting/ManualJournalLine.md +4 -2
- data/docs/accounting/Organisation.md +2 -2
- data/docs/accounting/Overpayment.md +6 -6
- data/docs/accounting/Payment.md +3 -3
- data/docs/accounting/Prepayment.md +6 -6
- data/docs/accounting/Purchase.md +1 -1
- data/docs/accounting/PurchaseOrder.md +6 -6
- data/docs/accounting/Quote.md +5 -5
- data/docs/accounting/Receipt.md +4 -4
- data/docs/accounting/RepeatingInvoice.md +3 -3
- data/docs/accounting/Report.md +2 -2
- data/docs/accounting/ReportWithRow.md +1 -1
- data/docs/accounting/TaxComponent.md +1 -1
- data/docs/accounting/TaxRate.md +2 -2
- data/docs/accounting/{TenNinteyNineContact.md → TenNinetyNineContact.md} +15 -15
- data/docs/accounting/User.md +1 -1
- data/docs/assets/Asset.md +3 -3
- data/docs/assets/BookDepreciationDetail.md +6 -6
- data/docs/assets/BookDepreciationSetting.md +1 -1
- data/docs/projects/Amount.md +1 -1
- data/docs/projects/ProjectCreateOrUpdate.md +1 -1
- data/lib/xero-ruby.rb +2 -2
- data/lib/xero-ruby/api/accounting_api.rb +1311 -7
- data/lib/xero-ruby/api/asset_api.rb +37 -1
- data/lib/xero-ruby/api/project_api.rb +79 -1
- data/lib/xero-ruby/api_client.rb +72 -32
- data/lib/xero-ruby/api_error.rb +1 -1
- data/lib/xero-ruby/configuration.rb +2 -5
- data/lib/xero-ruby/models/accounting/account.rb +7 -2
- data/lib/xero-ruby/models/accounting/account_type.rb +1 -1
- data/lib/xero-ruby/models/accounting/accounts.rb +5 -1
- data/lib/xero-ruby/models/accounting/accounts_payable.rb +7 -3
- data/lib/xero-ruby/models/accounting/accounts_receivable.rb +7 -3
- data/lib/xero-ruby/models/accounting/address.rb +5 -1
- data/lib/xero-ruby/models/accounting/allocation.rb +6 -2
- data/lib/xero-ruby/models/accounting/allocations.rb +5 -1
- data/lib/xero-ruby/models/accounting/attachment.rb +6 -2
- data/lib/xero-ruby/models/accounting/attachments.rb +5 -1
- data/lib/xero-ruby/models/accounting/balances.rb +5 -1
- data/lib/xero-ruby/models/accounting/bank_transaction.rb +9 -10
- data/lib/xero-ruby/models/accounting/bank_transactions.rb +5 -1
- data/lib/xero-ruby/models/accounting/bank_transfer.rb +7 -3
- data/lib/xero-ruby/models/accounting/bank_transfers.rb +5 -1
- data/lib/xero-ruby/models/accounting/batch_payment.rb +6 -2
- data/lib/xero-ruby/models/accounting/batch_payment_details.rb +5 -1
- data/lib/xero-ruby/models/accounting/batch_payments.rb +5 -1
- data/lib/xero-ruby/models/accounting/bill.rb +5 -1
- data/lib/xero-ruby/models/accounting/branding_theme.rb +5 -1
- data/lib/xero-ruby/models/accounting/branding_themes.rb +5 -1
- data/lib/xero-ruby/models/accounting/cis_org_setting.rb +5 -1
- data/lib/xero-ruby/models/accounting/cis_setting.rb +5 -1
- data/lib/xero-ruby/models/accounting/cis_settings.rb +5 -1
- data/lib/xero-ruby/models/accounting/contact.rb +6 -2
- data/lib/xero-ruby/models/accounting/contact_group.rb +5 -1
- data/lib/xero-ruby/models/accounting/contact_groups.rb +5 -1
- data/lib/xero-ruby/models/accounting/contact_person.rb +5 -1
- data/lib/xero-ruby/models/accounting/contacts.rb +5 -1
- data/lib/xero-ruby/models/accounting/country_code.rb +1 -1
- data/lib/xero-ruby/models/accounting/credit_note.rb +10 -6
- data/lib/xero-ruby/models/accounting/credit_notes.rb +5 -1
- data/lib/xero-ruby/models/accounting/currencies.rb +5 -1
- data/lib/xero-ruby/models/accounting/currency.rb +5 -1
- data/lib/xero-ruby/models/accounting/currency_code.rb +1 -1
- data/lib/xero-ruby/models/accounting/element.rb +5 -1
- data/lib/xero-ruby/models/accounting/employee.rb +8 -3
- data/lib/xero-ruby/models/accounting/employees.rb +5 -1
- data/lib/xero-ruby/models/accounting/error.rb +5 -1
- data/lib/xero-ruby/models/accounting/expense_claim.rb +8 -4
- data/lib/xero-ruby/models/accounting/expense_claims.rb +5 -1
- data/lib/xero-ruby/models/accounting/external_link.rb +5 -1
- data/lib/xero-ruby/models/accounting/history_record.rb +5 -1
- data/lib/xero-ruby/models/accounting/history_records.rb +5 -1
- data/lib/xero-ruby/models/accounting/invoice.rb +14 -10
- data/lib/xero-ruby/models/accounting/invoice_reminder.rb +5 -1
- data/lib/xero-ruby/models/accounting/invoice_reminders.rb +5 -1
- data/lib/xero-ruby/models/accounting/invoices.rb +5 -1
- data/lib/xero-ruby/models/accounting/item.rb +7 -3
- data/lib/xero-ruby/models/accounting/items.rb +5 -1
- data/lib/xero-ruby/models/accounting/journal.rb +5 -1
- data/lib/xero-ruby/models/accounting/journal_line.rb +8 -4
- data/lib/xero-ruby/models/accounting/journals.rb +5 -1
- data/lib/xero-ruby/models/accounting/line_amount_types.rb +1 -1
- data/lib/xero-ruby/models/accounting/line_item.rb +11 -7
- data/lib/xero-ruby/models/accounting/line_item_tracking.rb +5 -1
- data/lib/xero-ruby/models/accounting/linked_transaction.rb +5 -1
- data/lib/xero-ruby/models/accounting/linked_transactions.rb +5 -1
- data/lib/xero-ruby/models/accounting/manual_journal.rb +5 -1
- data/lib/xero-ruby/models/accounting/manual_journal_line.rb +18 -4
- data/lib/xero-ruby/models/accounting/manual_journals.rb +5 -1
- data/lib/xero-ruby/models/accounting/online_invoice.rb +5 -1
- data/lib/xero-ruby/models/accounting/online_invoices.rb +5 -1
- data/lib/xero-ruby/models/accounting/organisation.rb +33 -3
- data/lib/xero-ruby/models/accounting/organisations.rb +5 -1
- data/lib/xero-ruby/models/accounting/overpayment.rb +10 -6
- data/lib/xero-ruby/models/accounting/overpayments.rb +5 -1
- data/lib/xero-ruby/models/accounting/payment.rb +7 -3
- data/lib/xero-ruby/models/accounting/payment_delete.rb +5 -1
- data/lib/xero-ruby/models/accounting/payment_service.rb +5 -1
- data/lib/xero-ruby/models/accounting/payment_services.rb +5 -1
- data/lib/xero-ruby/models/accounting/payment_term.rb +5 -1
- data/lib/xero-ruby/models/accounting/payment_term_type.rb +1 -1
- data/lib/xero-ruby/models/accounting/payments.rb +5 -1
- data/lib/xero-ruby/models/accounting/phone.rb +5 -1
- data/lib/xero-ruby/models/accounting/prepayment.rb +10 -6
- data/lib/xero-ruby/models/accounting/prepayments.rb +5 -1
- data/lib/xero-ruby/models/accounting/purchase.rb +6 -2
- data/lib/xero-ruby/models/accounting/purchase_order.rb +10 -6
- data/lib/xero-ruby/models/accounting/purchase_orders.rb +5 -1
- data/lib/xero-ruby/models/accounting/quote.rb +9 -5
- data/lib/xero-ruby/models/accounting/quote_line_amount_types.rb +1 -1
- data/lib/xero-ruby/models/accounting/quote_status_codes.rb +2 -1
- data/lib/xero-ruby/models/accounting/quotes.rb +5 -1
- data/lib/xero-ruby/models/accounting/receipt.rb +8 -4
- data/lib/xero-ruby/models/accounting/receipts.rb +5 -1
- data/lib/xero-ruby/models/accounting/repeating_invoice.rb +8 -4
- data/lib/xero-ruby/models/accounting/repeating_invoices.rb +5 -1
- data/lib/xero-ruby/models/accounting/report.rb +6 -2
- data/lib/xero-ruby/models/accounting/report_attribute.rb +5 -1
- data/lib/xero-ruby/models/accounting/report_cell.rb +5 -1
- data/lib/xero-ruby/models/accounting/report_fields.rb +5 -1
- data/lib/xero-ruby/models/accounting/report_row.rb +5 -1
- data/lib/xero-ruby/models/accounting/report_rows.rb +5 -1
- data/lib/xero-ruby/models/accounting/report_with_row.rb +5 -1
- data/lib/xero-ruby/models/accounting/report_with_rows.rb +5 -1
- data/lib/xero-ruby/models/accounting/reports.rb +5 -1
- data/lib/xero-ruby/models/accounting/request_empty.rb +5 -1
- data/lib/xero-ruby/models/accounting/row_type.rb +1 -1
- data/lib/xero-ruby/models/accounting/sales_tracking_category.rb +5 -1
- data/lib/xero-ruby/models/accounting/schedule.rb +5 -1
- data/lib/xero-ruby/models/accounting/tax_component.rb +6 -2
- data/lib/xero-ruby/models/accounting/tax_rate.rb +7 -3
- data/lib/xero-ruby/models/accounting/tax_rates.rb +5 -1
- data/lib/xero-ruby/models/accounting/tax_type.rb +1 -1
- data/lib/xero-ruby/models/accounting/{ten_nintey_nine_contact.rb → ten_ninety_nine_contact.rb} +21 -17
- data/lib/xero-ruby/models/accounting/time_zone.rb +1 -1
- data/lib/xero-ruby/models/accounting/tracking_categories.rb +5 -1
- data/lib/xero-ruby/models/accounting/tracking_category.rb +5 -1
- data/lib/xero-ruby/models/accounting/tracking_option.rb +5 -1
- data/lib/xero-ruby/models/accounting/tracking_options.rb +5 -1
- data/lib/xero-ruby/models/accounting/user.rb +5 -1
- data/lib/xero-ruby/models/accounting/users.rb +5 -1
- data/lib/xero-ruby/models/accounting/validation_error.rb +5 -1
- data/lib/xero-ruby/models/assets/asset.rb +8 -4
- data/lib/xero-ruby/models/assets/asset_status.rb +1 -1
- data/lib/xero-ruby/models/assets/asset_status_query_param.rb +1 -1
- data/lib/xero-ruby/models/assets/asset_type.rb +5 -1
- data/lib/xero-ruby/models/assets/assets.rb +5 -1
- data/lib/xero-ruby/models/assets/book_depreciation_detail.rb +11 -7
- data/lib/xero-ruby/models/assets/book_depreciation_setting.rb +6 -2
- data/lib/xero-ruby/models/assets/error.rb +5 -1
- data/lib/xero-ruby/models/assets/field_validation_errors_element.rb +5 -1
- data/lib/xero-ruby/models/assets/pagination.rb +5 -1
- data/lib/xero-ruby/models/assets/resource_validation_errors_element.rb +5 -1
- data/lib/xero-ruby/models/assets/setting.rb +5 -1
- data/lib/xero-ruby/models/projects/amount.rb +6 -2
- data/lib/xero-ruby/models/projects/charge_type.rb +1 -1
- data/lib/xero-ruby/models/projects/currency_code.rb +1 -1
- data/lib/xero-ruby/models/projects/error.rb +5 -1
- data/lib/xero-ruby/models/projects/pagination.rb +5 -1
- data/lib/xero-ruby/models/projects/project.rb +5 -1
- data/lib/xero-ruby/models/projects/project_create_or_update.rb +6 -2
- data/lib/xero-ruby/models/projects/project_patch.rb +5 -1
- data/lib/xero-ruby/models/projects/project_status.rb +1 -1
- data/lib/xero-ruby/models/projects/project_user.rb +5 -1
- data/lib/xero-ruby/models/projects/project_users.rb +5 -1
- data/lib/xero-ruby/models/projects/projects.rb +5 -1
- data/lib/xero-ruby/models/projects/task.rb +5 -1
- data/lib/xero-ruby/models/projects/task_create_or_update.rb +5 -1
- data/lib/xero-ruby/models/projects/tasks.rb +5 -1
- data/lib/xero-ruby/models/projects/time_entries.rb +5 -1
- data/lib/xero-ruby/models/projects/time_entry.rb +5 -1
- data/lib/xero-ruby/models/projects/time_entry_create_or_update.rb +5 -1
- data/lib/xero-ruby/version.rb +2 -2
- data/spec/accounting/models/ten_nintey_nine_contact_spec.rb +6 -6
- data/spec/api_client_spec.rb +103 -16
- data/xero-ruby.gemspec +1 -2
- metadata +5 -6
- data/Gemfile.lock +0 -68
- data/xero-ruby.gem +0 -0
data/docs/accounting/Purchase.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**unit_price** | **
|
7
|
+
**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]
|
8
8
|
**account_code** | **String** | Default account code to be used for purchased/sale. Not applicable to the purchase details of tracked items | [optional]
|
9
9
|
**cogs_account_code** | **String** | Cost of goods sold account. Only applicable to the purchase details of tracked items. | [optional]
|
10
10
|
**tax_type** | **String** | The tax type from TaxRates | [optional]
|
@@ -21,11 +21,11 @@ Name | Type | Description | Notes
|
|
21
21
|
**delivery_instructions** | **String** | A free text feild for instructions (500 characters max) | [optional]
|
22
22
|
**expected_arrival_date** | **Date** | The date the goods are expected to arrive. | [optional]
|
23
23
|
**purchase_order_id** | **String** | Xero generated unique identifier for purchase order | [optional]
|
24
|
-
**currency_rate** | **
|
25
|
-
**sub_total** | **
|
26
|
-
**total_tax** | **
|
27
|
-
**total** | **
|
28
|
-
**total_discount** | **
|
24
|
+
**currency_rate** | **BigDecimal** | The currency rate for a multicurrency purchase order. If no rate is specified, the XE.com day rate is used. | [optional]
|
25
|
+
**sub_total** | **BigDecimal** | Total of purchase order excluding taxes | [optional]
|
26
|
+
**total_tax** | **BigDecimal** | Total tax on purchase order | [optional]
|
27
|
+
**total** | **BigDecimal** | Total of Purchase Order tax inclusive (i.e. SubTotal + TotalTax) | [optional]
|
28
|
+
**total_discount** | **BigDecimal** | Total of discounts applied on the purchase order line items | [optional]
|
29
29
|
**has_attachments** | **Boolean** | boolean to indicate if a purchase order has an attachment | [optional] [default to false]
|
30
30
|
**updated_date_utc** | **DateTime** | Last modified date UTC format | [optional]
|
31
31
|
**status_attribute_string** | **String** | A string to indicate if a invoice status | [optional]
|
@@ -61,7 +61,7 @@ instance = XeroRuby::Accounting::PurchaseOrder.new(contact: null,
|
|
61
61
|
total: null,
|
62
62
|
total_discount: null,
|
63
63
|
has_attachments: false,
|
64
|
-
updated_date_utc:
|
64
|
+
updated_date_utc: /Date(1573755038314)/,
|
65
65
|
status_attribute_string: null,
|
66
66
|
validation_errors: null,
|
67
67
|
warnings: null,
|
data/docs/accounting/Quote.md
CHANGED
@@ -17,10 +17,10 @@ Name | Type | Description | Notes
|
|
17
17
|
**status** | [**QuoteStatusCodes**](QuoteStatusCodes.md) | | [optional]
|
18
18
|
**currency_code** | [**CurrencyCode**](CurrencyCode.md) | | [optional]
|
19
19
|
**currency_rate** | **Float** | The currency rate for a multicurrency quote | [optional]
|
20
|
-
**sub_total** | **
|
21
|
-
**total_tax** | **
|
22
|
-
**total** | **
|
23
|
-
**total_discount** | **
|
20
|
+
**sub_total** | **BigDecimal** | Total of quote excluding taxes. | [optional]
|
21
|
+
**total_tax** | **BigDecimal** | Total tax on quote | [optional]
|
22
|
+
**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]
|
23
|
+
**total_discount** | **BigDecimal** | Total of discounts applied on the quote line items | [optional]
|
24
24
|
**title** | **String** | Title text for the quote | [optional]
|
25
25
|
**summary** | **String** | Summary text for the quote | [optional]
|
26
26
|
**branding_theme_id** | **String** | See BrandingThemes | [optional]
|
@@ -54,7 +54,7 @@ instance = XeroRuby::Accounting::Quote.new(quote_id: null,
|
|
54
54
|
title: null,
|
55
55
|
summary: null,
|
56
56
|
branding_theme_id: null,
|
57
|
-
updated_date_utc:
|
57
|
+
updated_date_utc: /Date(1573755038314)/,
|
58
58
|
line_amount_types: null,
|
59
59
|
status_attribute_string: null,
|
60
60
|
validation_errors: null)
|
data/docs/accounting/Receipt.md
CHANGED
@@ -10,9 +10,9 @@ Name | Type | Description | Notes
|
|
10
10
|
**user** | [**User**](User.md) | | [optional]
|
11
11
|
**reference** | **String** | Additional reference number | [optional]
|
12
12
|
**line_amount_types** | [**LineAmountTypes**](LineAmountTypes.md) | | [optional]
|
13
|
-
**sub_total** | **
|
14
|
-
**total_tax** | **
|
15
|
-
**total** | **
|
13
|
+
**sub_total** | **BigDecimal** | Total of receipt excluding taxes | [optional]
|
14
|
+
**total_tax** | **BigDecimal** | Total tax on receipt | [optional]
|
15
|
+
**total** | **BigDecimal** | Total of receipt tax inclusive (i.e. SubTotal + TotalTax) | [optional]
|
16
16
|
**receipt_id** | **String** | Xero generated unique identifier for receipt | [optional]
|
17
17
|
**status** | **String** | Current status of receipt – see status types | [optional]
|
18
18
|
**receipt_number** | **String** | Xero generated sequence number for receipt in current claim for a given user | [optional]
|
@@ -40,7 +40,7 @@ instance = XeroRuby::Accounting::Receipt.new(date: null,
|
|
40
40
|
receipt_id: null,
|
41
41
|
status: null,
|
42
42
|
receipt_number: null,
|
43
|
-
updated_date_utc:
|
43
|
+
updated_date_utc: /Date(1573755038314)/,
|
44
44
|
has_attachments: false,
|
45
45
|
url: null,
|
46
46
|
validation_errors: null,
|
@@ -13,9 +13,9 @@ Name | Type | Description | Notes
|
|
13
13
|
**branding_theme_id** | **String** | See BrandingThemes | [optional]
|
14
14
|
**currency_code** | [**CurrencyCode**](CurrencyCode.md) | | [optional]
|
15
15
|
**status** | **String** | One of the following - DRAFT or AUTHORISED – See Invoice Status Codes | [optional]
|
16
|
-
**sub_total** | **
|
17
|
-
**total_tax** | **
|
18
|
-
**total** | **
|
16
|
+
**sub_total** | **BigDecimal** | Total of invoice excluding taxes | [optional]
|
17
|
+
**total_tax** | **BigDecimal** | Total tax on invoice | [optional]
|
18
|
+
**total** | **BigDecimal** | Total of Invoice tax inclusive (i.e. SubTotal + TotalTax) | [optional]
|
19
19
|
**repeating_invoice_id** | **String** | Xero generated unique identifier for repeating invoice template | [optional]
|
20
20
|
**id** | **String** | Xero generated unique identifier for repeating invoice template | [optional]
|
21
21
|
**has_attachments** | **Boolean** | boolean to indicate if an invoice has an attachment | [optional] [default to false]
|
data/docs/accounting/Report.md
CHANGED
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
10
10
|
**report_title** | **String** | See Prepayment Types | [optional]
|
11
11
|
**report_date** | **String** | Date of report | [optional]
|
12
12
|
**updated_date_utc** | **DateTime** | Updated Date | [optional]
|
13
|
-
**contacts** | [**Array<
|
13
|
+
**contacts** | [**Array<TenNinetyNineContact>**](TenNinetyNineContact.md) | | [optional]
|
14
14
|
|
15
15
|
## Code Sample
|
16
16
|
|
@@ -22,7 +22,7 @@ instance = XeroRuby::Accounting::Report.new(report_id: null,
|
|
22
22
|
report_type: null,
|
23
23
|
report_title: null,
|
24
24
|
report_date: null,
|
25
|
-
updated_date_utc:
|
25
|
+
updated_date_utc: /Date(1573755038314)/,
|
26
26
|
contacts: null)
|
27
27
|
```
|
28
28
|
|
@@ -5,7 +5,7 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**name** | **String** | Name of Tax Component | [optional]
|
8
|
-
**rate** | **
|
8
|
+
**rate** | **BigDecimal** | Tax Rate (up to 4dp) | [optional]
|
9
9
|
**is_compound** | **Boolean** | Boolean to describe if Tax rate is compounded. | [optional]
|
10
10
|
**is_non_recoverable** | **Boolean** | Boolean to describe if tax rate is non-recoverable. Non-recoverable rates are only applicable to Canadian organisations | [optional]
|
11
11
|
|
data/docs/accounting/TaxRate.md
CHANGED
@@ -14,8 +14,8 @@ Name | Type | Description | Notes
|
|
14
14
|
**can_apply_to_expenses** | **Boolean** | Boolean to describe if tax rate can be used for expense accounts i.e. true,false | [optional]
|
15
15
|
**can_apply_to_liabilities** | **Boolean** | Boolean to describe if tax rate can be used for liability accounts i.e. true,false | [optional]
|
16
16
|
**can_apply_to_revenue** | **Boolean** | Boolean to describe if tax rate can be used for revenue accounts i.e. true,false | [optional]
|
17
|
-
**display_tax_rate** | **
|
18
|
-
**effective_rate** | **
|
17
|
+
**display_tax_rate** | **BigDecimal** | Tax Rate (decimal to 4dp) e.g 12.5000 | [optional]
|
18
|
+
**effective_rate** | **BigDecimal** | Effective Tax Rate (decimal to 4dp) e.g 12.5000 | [optional]
|
19
19
|
|
20
20
|
## Code Sample
|
21
21
|
|
@@ -1,22 +1,22 @@
|
|
1
|
-
# XeroRuby::Accounting::
|
1
|
+
# XeroRuby::Accounting::TenNinetyNineContact
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**box1** | **
|
8
|
-
**box2** | **
|
9
|
-
**box3** | **
|
10
|
-
**box4** | **
|
11
|
-
**box5** | **
|
12
|
-
**box6** | **
|
13
|
-
**box7** | **
|
14
|
-
**box8** | **
|
15
|
-
**box9** | **
|
16
|
-
**box10** | **
|
17
|
-
**box11** | **
|
18
|
-
**box13** | **
|
19
|
-
**box14** | **
|
7
|
+
**box1** | **BigDecimal** | Box 1 on 1099 Form | [optional]
|
8
|
+
**box2** | **BigDecimal** | Box 2 on 1099 Form | [optional]
|
9
|
+
**box3** | **BigDecimal** | Box 3 on 1099 Form | [optional]
|
10
|
+
**box4** | **BigDecimal** | Box 4 on 1099 Form | [optional]
|
11
|
+
**box5** | **BigDecimal** | Box 5 on 1099 Form | [optional]
|
12
|
+
**box6** | **BigDecimal** | Box 6 on 1099 Form | [optional]
|
13
|
+
**box7** | **BigDecimal** | Box 7 on 1099 Form | [optional]
|
14
|
+
**box8** | **BigDecimal** | Box 8 on 1099 Form | [optional]
|
15
|
+
**box9** | **BigDecimal** | Box 9 on 1099 Form | [optional]
|
16
|
+
**box10** | **BigDecimal** | Box 10 on 1099 Form | [optional]
|
17
|
+
**box11** | **BigDecimal** | Box 11 on 1099 Form | [optional]
|
18
|
+
**box13** | **BigDecimal** | Box 13 on 1099 Form | [optional]
|
19
|
+
**box14** | **BigDecimal** | Box 14 on 1099 Form | [optional]
|
20
20
|
**name** | **String** | Contact name on 1099 Form | [optional]
|
21
21
|
**federal_tax_id_type** | **String** | Contact Fed Tax ID type | [optional]
|
22
22
|
**city** | **String** | Contact city on 1099 Form | [optional]
|
@@ -32,7 +32,7 @@ Name | Type | Description | Notes
|
|
32
32
|
```ruby
|
33
33
|
require 'XeroRuby::Accounting'
|
34
34
|
|
35
|
-
instance = XeroRuby::Accounting::
|
35
|
+
instance = XeroRuby::Accounting::TenNinetyNineContact.new(box1: null,
|
36
36
|
box2: null,
|
37
37
|
box3: null,
|
38
38
|
box4: null,
|
data/docs/accounting/User.md
CHANGED
data/docs/assets/Asset.md
CHANGED
@@ -9,15 +9,15 @@ Name | Type | Description | Notes
|
|
9
9
|
**asset_type_id** | **String** | The Xero-generated Id for the asset type | [optional]
|
10
10
|
**asset_number** | **String** | Must be unique. | [optional]
|
11
11
|
**purchase_date** | **Date** | The date the asset was purchased YYYY-MM-DD | [optional]
|
12
|
-
**purchase_price** | **
|
13
|
-
**disposal_price** | **
|
12
|
+
**purchase_price** | **BigDecimal** | The purchase price of the asset | [optional]
|
13
|
+
**disposal_price** | **BigDecimal** | The price the asset was disposed at | [optional]
|
14
14
|
**asset_status** | [**AssetStatus**](AssetStatus.md) | | [optional]
|
15
15
|
**warranty_expiry_date** | **String** | The date the asset’s warranty expires (if needed) YYYY-MM-DD | [optional]
|
16
16
|
**serial_number** | **String** | The asset's serial number | [optional]
|
17
17
|
**book_depreciation_setting** | [**BookDepreciationSetting**](BookDepreciationSetting.md) | | [optional]
|
18
18
|
**book_depreciation_detail** | [**BookDepreciationDetail**](BookDepreciationDetail.md) | | [optional]
|
19
19
|
**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]
|
20
|
-
**accounting_book_value** | **
|
20
|
+
**accounting_book_value** | **BigDecimal** | The accounting value of the asset | [optional]
|
21
21
|
**is_delete_enabled_for_date** | **Boolean** | Boolean to indicate whether delete is enabled | [optional]
|
22
22
|
|
23
23
|
## Code Sample
|
@@ -4,13 +4,13 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**current_capital_gain** | **
|
8
|
-
**current_gain_loss** | **
|
7
|
+
**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]
|
8
|
+
**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]
|
9
9
|
**depreciation_start_date** | **Date** | YYYY-MM-DD | [optional]
|
10
|
-
**cost_limit** | **
|
11
|
-
**residual_value** | **
|
12
|
-
**prior_accum_depreciation_amount** | **
|
13
|
-
**current_accum_depreciation_amount** | **
|
10
|
+
**cost_limit** | **BigDecimal** | The value of the asset you want to depreciate, if this is less than the cost of the asset. | [optional]
|
11
|
+
**residual_value** | **BigDecimal** | The value of the asset remaining when you've fully depreciated it. | [optional]
|
12
|
+
**prior_accum_depreciation_amount** | **BigDecimal** | All depreciation prior to the current financial year. | [optional]
|
13
|
+
**current_accum_depreciation_amount** | **BigDecimal** | All depreciation occurring in the current financial year. | [optional]
|
14
14
|
|
15
15
|
## Code Sample
|
16
16
|
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**depreciation_method** | **String** | The method of depreciation applied to this asset. See Depreciation Methods | [optional]
|
8
8
|
**averaging_method** | **String** | The method of averaging applied to this asset. See Averaging Methods | [optional]
|
9
|
-
**depreciation_rate** | **
|
9
|
+
**depreciation_rate** | **BigDecimal** | The rate of depreciation (e.g. 0.05) | [optional]
|
10
10
|
**effective_life_years** | **Integer** | Effective life of the asset in years (e.g. 5) | [optional]
|
11
11
|
**depreciation_calculation_method** | **String** | See Depreciation Calculation Methods | [optional]
|
12
12
|
**depreciable_object_id** | **String** | Unique Xero identifier for the depreciable object | [optional]
|
data/docs/projects/Amount.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**currency** | [**CurrencyCode**](CurrencyCode.md) | | [optional]
|
8
|
-
**value** | **
|
8
|
+
**value** | **BigDecimal** | | [optional]
|
9
9
|
|
10
10
|
## Code Sample
|
11
11
|
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**contact_id** | **String** | Identifier of the contact this project was created for. | [optional]
|
8
8
|
**name** | **String** | Name of the project. |
|
9
|
-
**estimate_amount** | **
|
9
|
+
**estimate_amount** | **BigDecimal** | | [optional]
|
10
10
|
**deadline_utc** | **DateTime** | Deadline for the project. UTC Date Time in ISO-8601 format. | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
data/lib/xero-ruby.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.2.
|
6
|
+
The version of the OpenAPI document: 2.2.14
|
7
7
|
Contact: api@xero.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -152,7 +152,7 @@ require 'xero-ruby/models/accounting/tax_component'
|
|
152
152
|
require 'xero-ruby/models/accounting/tax_rate'
|
153
153
|
require 'xero-ruby/models/accounting/tax_rates'
|
154
154
|
require 'xero-ruby/models/accounting/tax_type'
|
155
|
-
require 'xero-ruby/models/accounting/
|
155
|
+
require 'xero-ruby/models/accounting/ten_ninety_nine_contact'
|
156
156
|
require 'xero-ruby/models/accounting/time_zone'
|
157
157
|
require 'xero-ruby/models/accounting/tracking_categories'
|
158
158
|
require 'xero-ruby/models/accounting/tracking_category'
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.2.
|
6
|
+
The version of the OpenAPI document: 2.2.14
|
7
7
|
Contact: api@xero.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -49,8 +49,14 @@ module XeroRuby
|
|
49
49
|
# resource path
|
50
50
|
local_var_path = '/Accounts'
|
51
51
|
|
52
|
+
# camelize keys of incoming `where` opts
|
53
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
52
54
|
# query parameters
|
53
55
|
query_params = opts[:query_params] || {}
|
56
|
+
|
57
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
58
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
59
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
54
60
|
|
55
61
|
# header parameters
|
56
62
|
header_params = opts[:header_params] || {}
|
@@ -130,8 +136,14 @@ module XeroRuby
|
|
130
136
|
# resource path
|
131
137
|
local_var_path = '/Accounts/{AccountID}/Attachments/{FileName}'.sub('{' + 'AccountID' + '}', account_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
132
138
|
|
139
|
+
# camelize keys of incoming `where` opts
|
140
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
133
141
|
# query parameters
|
134
142
|
query_params = opts[:query_params] || {}
|
143
|
+
|
144
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
145
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
146
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
135
147
|
|
136
148
|
# header parameters
|
137
149
|
header_params = opts[:header_params] || {}
|
@@ -169,7 +181,7 @@ module XeroRuby
|
|
169
181
|
return data, status_code, headers
|
170
182
|
end
|
171
183
|
|
172
|
-
# Allows you to
|
184
|
+
# Allows you to create an Attachment on BankTransaction by Filename
|
173
185
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
174
186
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
175
187
|
# @param file_name [String] The name of the file being attached
|
@@ -181,7 +193,7 @@ module XeroRuby
|
|
181
193
|
data
|
182
194
|
end
|
183
195
|
|
184
|
-
# Allows you to
|
196
|
+
# Allows you to create an Attachment on BankTransaction by Filename
|
185
197
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
186
198
|
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
187
199
|
# @param file_name [String] The name of the file being attached
|
@@ -211,8 +223,14 @@ module XeroRuby
|
|
211
223
|
# resource path
|
212
224
|
local_var_path = '/BankTransactions/{BankTransactionID}/Attachments/{FileName}'.sub('{' + 'BankTransactionID' + '}', bank_transaction_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
213
225
|
|
226
|
+
# camelize keys of incoming `where` opts
|
227
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
214
228
|
# query parameters
|
215
229
|
query_params = opts[:query_params] || {}
|
230
|
+
|
231
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
232
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
233
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
216
234
|
|
217
235
|
# header parameters
|
218
236
|
header_params = opts[:header_params] || {}
|
@@ -286,8 +304,14 @@ module XeroRuby
|
|
286
304
|
# resource path
|
287
305
|
local_var_path = '/BankTransactions/{BankTransactionID}/History'.sub('{' + 'BankTransactionID' + '}', bank_transaction_id.to_s)
|
288
306
|
|
307
|
+
# camelize keys of incoming `where` opts
|
308
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
289
309
|
# query parameters
|
290
310
|
query_params = opts[:query_params] || {}
|
311
|
+
|
312
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
313
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
314
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
291
315
|
|
292
316
|
# header parameters
|
293
317
|
header_params = opts[:header_params] || {}
|
@@ -359,10 +383,16 @@ module XeroRuby
|
|
359
383
|
# resource path
|
360
384
|
local_var_path = '/BankTransactions'
|
361
385
|
|
386
|
+
# camelize keys of incoming `where` opts
|
387
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
362
388
|
# query parameters
|
363
389
|
query_params = opts[:query_params] || {}
|
364
390
|
query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
|
365
391
|
query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
|
392
|
+
|
393
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
394
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
395
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
366
396
|
|
367
397
|
# header parameters
|
368
398
|
header_params = opts[:header_params] || {}
|
@@ -430,8 +460,14 @@ module XeroRuby
|
|
430
460
|
# resource path
|
431
461
|
local_var_path = '/BankTransfers'
|
432
462
|
|
463
|
+
# camelize keys of incoming `where` opts
|
464
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
433
465
|
# query parameters
|
434
466
|
query_params = opts[:query_params] || {}
|
467
|
+
|
468
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
469
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
470
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
435
471
|
|
436
472
|
# header parameters
|
437
473
|
header_params = opts[:header_params] || {}
|
@@ -509,8 +545,14 @@ module XeroRuby
|
|
509
545
|
# resource path
|
510
546
|
local_var_path = '/BankTransfers/{BankTransferID}/Attachments/{FileName}'.sub('{' + 'BankTransferID' + '}', bank_transfer_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
511
547
|
|
548
|
+
# camelize keys of incoming `where` opts
|
549
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
512
550
|
# query parameters
|
513
551
|
query_params = opts[:query_params] || {}
|
552
|
+
|
553
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
554
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
555
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
514
556
|
|
515
557
|
# header parameters
|
516
558
|
header_params = opts[:header_params] || {}
|
@@ -582,8 +624,14 @@ module XeroRuby
|
|
582
624
|
# resource path
|
583
625
|
local_var_path = '/BankTransfers/{BankTransferID}/History'.sub('{' + 'BankTransferID' + '}', bank_transfer_id.to_s)
|
584
626
|
|
627
|
+
# camelize keys of incoming `where` opts
|
628
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
585
629
|
# query parameters
|
586
630
|
query_params = opts[:query_params] || {}
|
631
|
+
|
632
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
633
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
634
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
587
635
|
|
588
636
|
# header parameters
|
589
637
|
header_params = opts[:header_params] || {}
|
@@ -653,9 +701,15 @@ module XeroRuby
|
|
653
701
|
# resource path
|
654
702
|
local_var_path = '/BatchPayments'
|
655
703
|
|
704
|
+
# camelize keys of incoming `where` opts
|
705
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
656
706
|
# query parameters
|
657
707
|
query_params = opts[:query_params] || {}
|
658
708
|
query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
|
709
|
+
|
710
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
711
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
712
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
659
713
|
|
660
714
|
# header parameters
|
661
715
|
header_params = opts[:header_params] || {}
|
@@ -729,8 +783,14 @@ module XeroRuby
|
|
729
783
|
# resource path
|
730
784
|
local_var_path = '/BatchPayments/{BatchPaymentID}/History'.sub('{' + 'BatchPaymentID' + '}', batch_payment_id.to_s)
|
731
785
|
|
786
|
+
# camelize keys of incoming `where` opts
|
787
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
732
788
|
# query parameters
|
733
789
|
query_params = opts[:query_params] || {}
|
790
|
+
|
791
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
792
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
793
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
734
794
|
|
735
795
|
# header parameters
|
736
796
|
header_params = opts[:header_params] || {}
|
@@ -804,8 +864,14 @@ module XeroRuby
|
|
804
864
|
# resource path
|
805
865
|
local_var_path = '/BrandingThemes/{BrandingThemeID}/PaymentServices'.sub('{' + 'BrandingThemeID' + '}', branding_theme_id.to_s)
|
806
866
|
|
867
|
+
# camelize keys of incoming `where` opts
|
868
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
807
869
|
# query parameters
|
808
870
|
query_params = opts[:query_params] || {}
|
871
|
+
|
872
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
873
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
874
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
809
875
|
|
810
876
|
# header parameters
|
811
877
|
header_params = opts[:header_params] || {}
|
@@ -883,8 +949,14 @@ module XeroRuby
|
|
883
949
|
# resource path
|
884
950
|
local_var_path = '/Contacts/{ContactID}/Attachments/{FileName}'.sub('{' + 'ContactID' + '}', contact_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
885
951
|
|
952
|
+
# camelize keys of incoming `where` opts
|
953
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
886
954
|
# query parameters
|
887
955
|
query_params = opts[:query_params] || {}
|
956
|
+
|
957
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
958
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
959
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
888
960
|
|
889
961
|
# header parameters
|
890
962
|
header_params = opts[:header_params] || {}
|
@@ -952,8 +1024,14 @@ module XeroRuby
|
|
952
1024
|
# resource path
|
953
1025
|
local_var_path = '/ContactGroups'
|
954
1026
|
|
1027
|
+
# camelize keys of incoming `where` opts
|
1028
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
955
1029
|
# query parameters
|
956
1030
|
query_params = opts[:query_params] || {}
|
1031
|
+
|
1032
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
1033
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
1034
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
957
1035
|
|
958
1036
|
# header parameters
|
959
1037
|
header_params = opts[:header_params] || {}
|
@@ -1027,8 +1105,14 @@ module XeroRuby
|
|
1027
1105
|
# resource path
|
1028
1106
|
local_var_path = '/ContactGroups/{ContactGroupID}/Contacts'.sub('{' + 'ContactGroupID' + '}', contact_group_id.to_s)
|
1029
1107
|
|
1108
|
+
# camelize keys of incoming `where` opts
|
1109
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
1030
1110
|
# query parameters
|
1031
1111
|
query_params = opts[:query_params] || {}
|
1112
|
+
|
1113
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
1114
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
1115
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
1032
1116
|
|
1033
1117
|
# header parameters
|
1034
1118
|
header_params = opts[:header_params] || {}
|
@@ -1102,8 +1186,14 @@ module XeroRuby
|
|
1102
1186
|
# resource path
|
1103
1187
|
local_var_path = '/Contacts/{ContactID}/History'.sub('{' + 'ContactID' + '}', contact_id.to_s)
|
1104
1188
|
|
1189
|
+
# camelize keys of incoming `where` opts
|
1190
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
1105
1191
|
# query parameters
|
1106
1192
|
query_params = opts[:query_params] || {}
|
1193
|
+
|
1194
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
1195
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
1196
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
1107
1197
|
|
1108
1198
|
# header parameters
|
1109
1199
|
header_params = opts[:header_params] || {}
|
@@ -1173,9 +1263,15 @@ module XeroRuby
|
|
1173
1263
|
# resource path
|
1174
1264
|
local_var_path = '/Contacts'
|
1175
1265
|
|
1266
|
+
# camelize keys of incoming `where` opts
|
1267
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
1176
1268
|
# query parameters
|
1177
1269
|
query_params = opts[:query_params] || {}
|
1178
1270
|
query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
|
1271
|
+
|
1272
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
1273
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
1274
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
1179
1275
|
|
1180
1276
|
# header parameters
|
1181
1277
|
header_params = opts[:header_params] || {}
|
@@ -1218,6 +1314,7 @@ module XeroRuby
|
|
1218
1314
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
1219
1315
|
# @param allocations [Allocations] Allocations with array of Allocation object in body of request.
|
1220
1316
|
# @param [Hash] opts the optional parameters
|
1317
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created obejcts and any with validation errors (default to false)
|
1221
1318
|
# @return [Allocations]
|
1222
1319
|
def create_credit_note_allocation(xero_tenant_id, credit_note_id, allocations, opts = {})
|
1223
1320
|
data, _status_code, _headers = create_credit_note_allocation_with_http_info(xero_tenant_id, credit_note_id, allocations, opts)
|
@@ -1229,6 +1326,7 @@ module XeroRuby
|
|
1229
1326
|
# @param credit_note_id [String] Unique identifier for a Credit Note
|
1230
1327
|
# @param allocations [Allocations] Allocations with array of Allocation object in body of request.
|
1231
1328
|
# @param [Hash] opts the optional parameters
|
1329
|
+
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created obejcts and any with validation errors
|
1232
1330
|
# @return [Array<(Allocations, Integer, Hash)>] Allocations data, response status code and response headers
|
1233
1331
|
def create_credit_note_allocation_with_http_info(xero_tenant_id, credit_note_id, allocations, opts = {})
|
1234
1332
|
if @api_client.config.debugging
|
@@ -1249,8 +1347,15 @@ module XeroRuby
|
|
1249
1347
|
# resource path
|
1250
1348
|
local_var_path = '/CreditNotes/{CreditNoteID}/Allocations'.sub('{' + 'CreditNoteID' + '}', credit_note_id.to_s)
|
1251
1349
|
|
1350
|
+
# camelize keys of incoming `where` opts
|
1351
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
1252
1352
|
# query parameters
|
1253
1353
|
query_params = opts[:query_params] || {}
|
1354
|
+
query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
|
1355
|
+
|
1356
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
1357
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
1358
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
1254
1359
|
|
1255
1360
|
# header parameters
|
1256
1361
|
header_params = opts[:header_params] || {}
|
@@ -1332,9 +1437,15 @@ module XeroRuby
|
|
1332
1437
|
# resource path
|
1333
1438
|
local_var_path = '/CreditNotes/{CreditNoteID}/Attachments/{FileName}'.sub('{' + 'CreditNoteID' + '}', credit_note_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
1334
1439
|
|
1440
|
+
# camelize keys of incoming `where` opts
|
1441
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
1335
1442
|
# query parameters
|
1336
1443
|
query_params = opts[:query_params] || {}
|
1337
1444
|
query_params[:'IncludeOnline'] = opts[:'include_online'] if !opts[:'include_online'].nil?
|
1445
|
+
|
1446
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
1447
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
1448
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
1338
1449
|
|
1339
1450
|
# header parameters
|
1340
1451
|
header_params = opts[:header_params] || {}
|
@@ -1408,8 +1519,14 @@ module XeroRuby
|
|
1408
1519
|
# resource path
|
1409
1520
|
local_var_path = '/CreditNotes/{CreditNoteID}/History'.sub('{' + 'CreditNoteID' + '}', credit_note_id.to_s)
|
1410
1521
|
|
1522
|
+
# camelize keys of incoming `where` opts
|
1523
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
1411
1524
|
# query parameters
|
1412
1525
|
query_params = opts[:query_params] || {}
|
1526
|
+
|
1527
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
1528
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
1529
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
1413
1530
|
|
1414
1531
|
# header parameters
|
1415
1532
|
header_params = opts[:header_params] || {}
|
@@ -1481,10 +1598,16 @@ module XeroRuby
|
|
1481
1598
|
# resource path
|
1482
1599
|
local_var_path = '/CreditNotes'
|
1483
1600
|
|
1601
|
+
# camelize keys of incoming `where` opts
|
1602
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
1484
1603
|
# query parameters
|
1485
1604
|
query_params = opts[:query_params] || {}
|
1486
1605
|
query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
|
1487
1606
|
query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
|
1607
|
+
|
1608
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
1609
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
1610
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
1488
1611
|
|
1489
1612
|
# header parameters
|
1490
1613
|
header_params = opts[:header_params] || {}
|
@@ -1550,8 +1673,14 @@ module XeroRuby
|
|
1550
1673
|
# resource path
|
1551
1674
|
local_var_path = '/Currencies'
|
1552
1675
|
|
1676
|
+
# camelize keys of incoming `where` opts
|
1677
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
1553
1678
|
# query parameters
|
1554
1679
|
query_params = opts[:query_params] || {}
|
1680
|
+
|
1681
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
1682
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
1683
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
1555
1684
|
|
1556
1685
|
# header parameters
|
1557
1686
|
header_params = opts[:header_params] || {}
|
@@ -1621,9 +1750,15 @@ module XeroRuby
|
|
1621
1750
|
# resource path
|
1622
1751
|
local_var_path = '/Employees'
|
1623
1752
|
|
1753
|
+
# camelize keys of incoming `where` opts
|
1754
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
1624
1755
|
# query parameters
|
1625
1756
|
query_params = opts[:query_params] || {}
|
1626
1757
|
query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
|
1758
|
+
|
1759
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
1760
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
1761
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
1627
1762
|
|
1628
1763
|
# header parameters
|
1629
1764
|
header_params = opts[:header_params] || {}
|
@@ -1697,8 +1832,14 @@ module XeroRuby
|
|
1697
1832
|
# resource path
|
1698
1833
|
local_var_path = '/ExpenseClaims/{ExpenseClaimID}/History'.sub('{' + 'ExpenseClaimID' + '}', expense_claim_id.to_s)
|
1699
1834
|
|
1835
|
+
# camelize keys of incoming `where` opts
|
1836
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
1700
1837
|
# query parameters
|
1701
1838
|
query_params = opts[:query_params] || {}
|
1839
|
+
|
1840
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
1841
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
1842
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
1702
1843
|
|
1703
1844
|
# header parameters
|
1704
1845
|
header_params = opts[:header_params] || {}
|
@@ -1766,8 +1907,14 @@ module XeroRuby
|
|
1766
1907
|
# resource path
|
1767
1908
|
local_var_path = '/ExpenseClaims'
|
1768
1909
|
|
1910
|
+
# camelize keys of incoming `where` opts
|
1911
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
1769
1912
|
# query parameters
|
1770
1913
|
query_params = opts[:query_params] || {}
|
1914
|
+
|
1915
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
1916
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
1917
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
1771
1918
|
|
1772
1919
|
# header parameters
|
1773
1920
|
header_params = opts[:header_params] || {}
|
@@ -1849,9 +1996,15 @@ module XeroRuby
|
|
1849
1996
|
# resource path
|
1850
1997
|
local_var_path = '/Invoices/{InvoiceID}/Attachments/{FileName}'.sub('{' + 'InvoiceID' + '}', invoice_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
1851
1998
|
|
1999
|
+
# camelize keys of incoming `where` opts
|
2000
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
1852
2001
|
# query parameters
|
1853
2002
|
query_params = opts[:query_params] || {}
|
1854
2003
|
query_params[:'IncludeOnline'] = opts[:'include_online'] if !opts[:'include_online'].nil?
|
2004
|
+
|
2005
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
2006
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
2007
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
1855
2008
|
|
1856
2009
|
# header parameters
|
1857
2010
|
header_params = opts[:header_params] || {}
|
@@ -1925,8 +2078,14 @@ module XeroRuby
|
|
1925
2078
|
# resource path
|
1926
2079
|
local_var_path = '/Invoices/{InvoiceID}/History'.sub('{' + 'InvoiceID' + '}', invoice_id.to_s)
|
1927
2080
|
|
2081
|
+
# camelize keys of incoming `where` opts
|
2082
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
1928
2083
|
# query parameters
|
1929
2084
|
query_params = opts[:query_params] || {}
|
2085
|
+
|
2086
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
2087
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
2088
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
1930
2089
|
|
1931
2090
|
# header parameters
|
1932
2091
|
header_params = opts[:header_params] || {}
|
@@ -1998,10 +2157,16 @@ module XeroRuby
|
|
1998
2157
|
# resource path
|
1999
2158
|
local_var_path = '/Invoices'
|
2000
2159
|
|
2160
|
+
# camelize keys of incoming `where` opts
|
2161
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
2001
2162
|
# query parameters
|
2002
2163
|
query_params = opts[:query_params] || {}
|
2003
2164
|
query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
|
2004
2165
|
query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
|
2166
|
+
|
2167
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
2168
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
2169
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
2005
2170
|
|
2006
2171
|
# header parameters
|
2007
2172
|
header_params = opts[:header_params] || {}
|
@@ -2075,8 +2240,14 @@ module XeroRuby
|
|
2075
2240
|
# resource path
|
2076
2241
|
local_var_path = '/Items/{ItemID}/History'.sub('{' + 'ItemID' + '}', item_id.to_s)
|
2077
2242
|
|
2243
|
+
# camelize keys of incoming `where` opts
|
2244
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
2078
2245
|
# query parameters
|
2079
2246
|
query_params = opts[:query_params] || {}
|
2247
|
+
|
2248
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
2249
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
2250
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
2080
2251
|
|
2081
2252
|
# header parameters
|
2082
2253
|
header_params = opts[:header_params] || {}
|
@@ -2148,10 +2319,16 @@ module XeroRuby
|
|
2148
2319
|
# resource path
|
2149
2320
|
local_var_path = '/Items'
|
2150
2321
|
|
2322
|
+
# camelize keys of incoming `where` opts
|
2323
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
2151
2324
|
# query parameters
|
2152
2325
|
query_params = opts[:query_params] || {}
|
2153
2326
|
query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
|
2154
2327
|
query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
|
2328
|
+
|
2329
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
2330
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
2331
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
2155
2332
|
|
2156
2333
|
# header parameters
|
2157
2334
|
header_params = opts[:header_params] || {}
|
@@ -2219,8 +2396,14 @@ module XeroRuby
|
|
2219
2396
|
# resource path
|
2220
2397
|
local_var_path = '/LinkedTransactions'
|
2221
2398
|
|
2399
|
+
# camelize keys of incoming `where` opts
|
2400
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
2222
2401
|
# query parameters
|
2223
2402
|
query_params = opts[:query_params] || {}
|
2403
|
+
|
2404
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
2405
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
2406
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
2224
2407
|
|
2225
2408
|
# header parameters
|
2226
2409
|
header_params = opts[:header_params] || {}
|
@@ -2300,8 +2483,14 @@ module XeroRuby
|
|
2300
2483
|
# resource path
|
2301
2484
|
local_var_path = '/ManualJournals/{ManualJournalID}/Attachments/{FileName}'.sub('{' + 'ManualJournalID' + '}', manual_journal_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
2302
2485
|
|
2486
|
+
# camelize keys of incoming `where` opts
|
2487
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
2303
2488
|
# query parameters
|
2304
2489
|
query_params = opts[:query_params] || {}
|
2490
|
+
|
2491
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
2492
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
2493
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
2305
2494
|
|
2306
2495
|
# header parameters
|
2307
2496
|
header_params = opts[:header_params] || {}
|
@@ -2371,9 +2560,15 @@ module XeroRuby
|
|
2371
2560
|
# resource path
|
2372
2561
|
local_var_path = '/ManualJournals'
|
2373
2562
|
|
2563
|
+
# camelize keys of incoming `where` opts
|
2564
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
2374
2565
|
# query parameters
|
2375
2566
|
query_params = opts[:query_params] || {}
|
2376
2567
|
query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
|
2568
|
+
|
2569
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
2570
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
2571
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
2377
2572
|
|
2378
2573
|
# header parameters
|
2379
2574
|
header_params = opts[:header_params] || {}
|
@@ -2449,9 +2644,15 @@ module XeroRuby
|
|
2449
2644
|
# resource path
|
2450
2645
|
local_var_path = '/Overpayments/{OverpaymentID}/Allocations'.sub('{' + 'OverpaymentID' + '}', overpayment_id.to_s)
|
2451
2646
|
|
2647
|
+
# camelize keys of incoming `where` opts
|
2648
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
2452
2649
|
# query parameters
|
2453
2650
|
query_params = opts[:query_params] || {}
|
2454
2651
|
query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
|
2652
|
+
|
2653
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
2654
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
2655
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
2455
2656
|
|
2456
2657
|
# header parameters
|
2457
2658
|
header_params = opts[:header_params] || {}
|
@@ -2525,8 +2726,14 @@ module XeroRuby
|
|
2525
2726
|
# resource path
|
2526
2727
|
local_var_path = '/Overpayments/{OverpaymentID}/History'.sub('{' + 'OverpaymentID' + '}', overpayment_id.to_s)
|
2527
2728
|
|
2729
|
+
# camelize keys of incoming `where` opts
|
2730
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
2528
2731
|
# query parameters
|
2529
2732
|
query_params = opts[:query_params] || {}
|
2733
|
+
|
2734
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
2735
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
2736
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
2530
2737
|
|
2531
2738
|
# header parameters
|
2532
2739
|
header_params = opts[:header_params] || {}
|
@@ -2594,8 +2801,14 @@ module XeroRuby
|
|
2594
2801
|
# resource path
|
2595
2802
|
local_var_path = '/Payments'
|
2596
2803
|
|
2804
|
+
# camelize keys of incoming `where` opts
|
2805
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
2597
2806
|
# query parameters
|
2598
2807
|
query_params = opts[:query_params] || {}
|
2808
|
+
|
2809
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
2810
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
2811
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
2599
2812
|
|
2600
2813
|
# header parameters
|
2601
2814
|
header_params = opts[:header_params] || {}
|
@@ -2669,8 +2882,14 @@ module XeroRuby
|
|
2669
2882
|
# resource path
|
2670
2883
|
local_var_path = '/Payments/{PaymentID}/History'.sub('{' + 'PaymentID' + '}', payment_id.to_s)
|
2671
2884
|
|
2885
|
+
# camelize keys of incoming `where` opts
|
2886
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
2672
2887
|
# query parameters
|
2673
2888
|
query_params = opts[:query_params] || {}
|
2889
|
+
|
2890
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
2891
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
2892
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
2674
2893
|
|
2675
2894
|
# header parameters
|
2676
2895
|
header_params = opts[:header_params] || {}
|
@@ -2738,8 +2957,14 @@ module XeroRuby
|
|
2738
2957
|
# resource path
|
2739
2958
|
local_var_path = '/PaymentServices'
|
2740
2959
|
|
2960
|
+
# camelize keys of incoming `where` opts
|
2961
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
2741
2962
|
# query parameters
|
2742
2963
|
query_params = opts[:query_params] || {}
|
2964
|
+
|
2965
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
2966
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
2967
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
2743
2968
|
|
2744
2969
|
# header parameters
|
2745
2970
|
header_params = opts[:header_params] || {}
|
@@ -2809,9 +3034,15 @@ module XeroRuby
|
|
2809
3034
|
# resource path
|
2810
3035
|
local_var_path = '/Payments'
|
2811
3036
|
|
3037
|
+
# camelize keys of incoming `where` opts
|
3038
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
2812
3039
|
# query parameters
|
2813
3040
|
query_params = opts[:query_params] || {}
|
2814
3041
|
query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
|
3042
|
+
|
3043
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
3044
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
3045
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
2815
3046
|
|
2816
3047
|
# header parameters
|
2817
3048
|
header_params = opts[:header_params] || {}
|
@@ -2887,9 +3118,15 @@ module XeroRuby
|
|
2887
3118
|
# resource path
|
2888
3119
|
local_var_path = '/Prepayments/{PrepaymentID}/Allocations'.sub('{' + 'PrepaymentID' + '}', prepayment_id.to_s)
|
2889
3120
|
|
3121
|
+
# camelize keys of incoming `where` opts
|
3122
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
2890
3123
|
# query parameters
|
2891
3124
|
query_params = opts[:query_params] || {}
|
2892
3125
|
query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
|
3126
|
+
|
3127
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
3128
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
3129
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
2893
3130
|
|
2894
3131
|
# header parameters
|
2895
3132
|
header_params = opts[:header_params] || {}
|
@@ -2963,8 +3200,14 @@ module XeroRuby
|
|
2963
3200
|
# resource path
|
2964
3201
|
local_var_path = '/Prepayments/{PrepaymentID}/History'.sub('{' + 'PrepaymentID' + '}', prepayment_id.to_s)
|
2965
3202
|
|
3203
|
+
# camelize keys of incoming `where` opts
|
3204
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
2966
3205
|
# query parameters
|
2967
3206
|
query_params = opts[:query_params] || {}
|
3207
|
+
|
3208
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
3209
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
3210
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
2968
3211
|
|
2969
3212
|
# header parameters
|
2970
3213
|
header_params = opts[:header_params] || {}
|
@@ -3038,8 +3281,14 @@ module XeroRuby
|
|
3038
3281
|
# resource path
|
3039
3282
|
local_var_path = '/PurchaseOrders/{PurchaseOrderID}/History'.sub('{' + 'PurchaseOrderID' + '}', purchase_order_id.to_s)
|
3040
3283
|
|
3284
|
+
# camelize keys of incoming `where` opts
|
3285
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
3041
3286
|
# query parameters
|
3042
3287
|
query_params = opts[:query_params] || {}
|
3288
|
+
|
3289
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
3290
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
3291
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
3043
3292
|
|
3044
3293
|
# header parameters
|
3045
3294
|
header_params = opts[:header_params] || {}
|
@@ -3109,9 +3358,15 @@ module XeroRuby
|
|
3109
3358
|
# resource path
|
3110
3359
|
local_var_path = '/PurchaseOrders'
|
3111
3360
|
|
3361
|
+
# camelize keys of incoming `where` opts
|
3362
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
3112
3363
|
# query parameters
|
3113
3364
|
query_params = opts[:query_params] || {}
|
3114
3365
|
query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
|
3366
|
+
|
3367
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
3368
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
3369
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
3115
3370
|
|
3116
3371
|
# header parameters
|
3117
3372
|
header_params = opts[:header_params] || {}
|
@@ -3191,8 +3446,14 @@ module XeroRuby
|
|
3191
3446
|
# resource path
|
3192
3447
|
local_var_path = '/Quotes/{QuoteID}/Attachments/{FileName}'.sub('{' + 'QuoteID' + '}', quote_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
3193
3448
|
|
3449
|
+
# camelize keys of incoming `where` opts
|
3450
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
3194
3451
|
# query parameters
|
3195
3452
|
query_params = opts[:query_params] || {}
|
3453
|
+
|
3454
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
3455
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
3456
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
3196
3457
|
|
3197
3458
|
# header parameters
|
3198
3459
|
header_params = opts[:header_params] || {}
|
@@ -3266,8 +3527,14 @@ module XeroRuby
|
|
3266
3527
|
# resource path
|
3267
3528
|
local_var_path = '/Quotes/{QuoteID}/History'.sub('{' + 'QuoteID' + '}', quote_id.to_s)
|
3268
3529
|
|
3530
|
+
# camelize keys of incoming `where` opts
|
3531
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
3269
3532
|
# query parameters
|
3270
3533
|
query_params = opts[:query_params] || {}
|
3534
|
+
|
3535
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
3536
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
3537
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
3271
3538
|
|
3272
3539
|
# header parameters
|
3273
3540
|
header_params = opts[:header_params] || {}
|
@@ -3337,9 +3604,15 @@ module XeroRuby
|
|
3337
3604
|
# resource path
|
3338
3605
|
local_var_path = '/Quotes'
|
3339
3606
|
|
3607
|
+
# camelize keys of incoming `where` opts
|
3608
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
3340
3609
|
# query parameters
|
3341
3610
|
query_params = opts[:query_params] || {}
|
3342
3611
|
query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
|
3612
|
+
|
3613
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
3614
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
3615
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
3343
3616
|
|
3344
3617
|
# header parameters
|
3345
3618
|
header_params = opts[:header_params] || {}
|
@@ -3409,9 +3682,15 @@ module XeroRuby
|
|
3409
3682
|
# resource path
|
3410
3683
|
local_var_path = '/Receipts'
|
3411
3684
|
|
3685
|
+
# camelize keys of incoming `where` opts
|
3686
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
3412
3687
|
# query parameters
|
3413
3688
|
query_params = opts[:query_params] || {}
|
3414
3689
|
query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
|
3690
|
+
|
3691
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
3692
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
3693
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
3415
3694
|
|
3416
3695
|
# header parameters
|
3417
3696
|
header_params = opts[:header_params] || {}
|
@@ -3491,8 +3770,14 @@ module XeroRuby
|
|
3491
3770
|
# resource path
|
3492
3771
|
local_var_path = '/Receipts/{ReceiptID}/Attachments/{FileName}'.sub('{' + 'ReceiptID' + '}', receipt_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
3493
3772
|
|
3773
|
+
# camelize keys of incoming `where` opts
|
3774
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
3494
3775
|
# query parameters
|
3495
3776
|
query_params = opts[:query_params] || {}
|
3777
|
+
|
3778
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
3779
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
3780
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
3496
3781
|
|
3497
3782
|
# header parameters
|
3498
3783
|
header_params = opts[:header_params] || {}
|
@@ -3566,8 +3851,14 @@ module XeroRuby
|
|
3566
3851
|
# resource path
|
3567
3852
|
local_var_path = '/Receipts/{ReceiptID}/History'.sub('{' + 'ReceiptID' + '}', receipt_id.to_s)
|
3568
3853
|
|
3854
|
+
# camelize keys of incoming `where` opts
|
3855
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
3569
3856
|
# query parameters
|
3570
3857
|
query_params = opts[:query_params] || {}
|
3858
|
+
|
3859
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
3860
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
3861
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
3571
3862
|
|
3572
3863
|
# header parameters
|
3573
3864
|
header_params = opts[:header_params] || {}
|
@@ -3647,8 +3938,14 @@ module XeroRuby
|
|
3647
3938
|
# resource path
|
3648
3939
|
local_var_path = '/RepeatingInvoices/{RepeatingInvoiceID}/Attachments/{FileName}'.sub('{' + 'RepeatingInvoiceID' + '}', repeating_invoice_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
3649
3940
|
|
3941
|
+
# camelize keys of incoming `where` opts
|
3942
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
3650
3943
|
# query parameters
|
3651
3944
|
query_params = opts[:query_params] || {}
|
3945
|
+
|
3946
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
3947
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
3948
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
3652
3949
|
|
3653
3950
|
# header parameters
|
3654
3951
|
header_params = opts[:header_params] || {}
|
@@ -3722,8 +4019,14 @@ module XeroRuby
|
|
3722
4019
|
# resource path
|
3723
4020
|
local_var_path = '/RepeatingInvoices/{RepeatingInvoiceID}/History'.sub('{' + 'RepeatingInvoiceID' + '}', repeating_invoice_id.to_s)
|
3724
4021
|
|
4022
|
+
# camelize keys of incoming `where` opts
|
4023
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
3725
4024
|
# query parameters
|
3726
4025
|
query_params = opts[:query_params] || {}
|
4026
|
+
|
4027
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
4028
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
4029
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
3727
4030
|
|
3728
4031
|
# header parameters
|
3729
4032
|
header_params = opts[:header_params] || {}
|
@@ -3791,8 +4094,14 @@ module XeroRuby
|
|
3791
4094
|
# resource path
|
3792
4095
|
local_var_path = '/TaxRates'
|
3793
4096
|
|
4097
|
+
# camelize keys of incoming `where` opts
|
4098
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
3794
4099
|
# query parameters
|
3795
4100
|
query_params = opts[:query_params] || {}
|
4101
|
+
|
4102
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
4103
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
4104
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
3796
4105
|
|
3797
4106
|
# header parameters
|
3798
4107
|
header_params = opts[:header_params] || {}
|
@@ -3860,8 +4169,14 @@ module XeroRuby
|
|
3860
4169
|
# resource path
|
3861
4170
|
local_var_path = '/TrackingCategories'
|
3862
4171
|
|
4172
|
+
# camelize keys of incoming `where` opts
|
4173
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
3863
4174
|
# query parameters
|
3864
4175
|
query_params = opts[:query_params] || {}
|
4176
|
+
|
4177
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
4178
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
4179
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
3865
4180
|
|
3866
4181
|
# header parameters
|
3867
4182
|
header_params = opts[:header_params] || {}
|
@@ -3935,8 +4250,14 @@ module XeroRuby
|
|
3935
4250
|
# resource path
|
3936
4251
|
local_var_path = '/TrackingCategories/{TrackingCategoryID}/Options'.sub('{' + 'TrackingCategoryID' + '}', tracking_category_id.to_s)
|
3937
4252
|
|
4253
|
+
# camelize keys of incoming `where` opts
|
4254
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
3938
4255
|
# query parameters
|
3939
4256
|
query_params = opts[:query_params] || {}
|
4257
|
+
|
4258
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
4259
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
4260
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
3940
4261
|
|
3941
4262
|
# header parameters
|
3942
4263
|
header_params = opts[:header_params] || {}
|
@@ -4004,8 +4325,14 @@ module XeroRuby
|
|
4004
4325
|
# resource path
|
4005
4326
|
local_var_path = '/Accounts/{AccountID}'.sub('{' + 'AccountID' + '}', account_id.to_s)
|
4006
4327
|
|
4328
|
+
# camelize keys of incoming `where` opts
|
4329
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
4007
4330
|
# query parameters
|
4008
4331
|
query_params = opts[:query_params] || {}
|
4332
|
+
|
4333
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
4334
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
4335
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
4009
4336
|
|
4010
4337
|
# header parameters
|
4011
4338
|
header_params = opts[:header_params] || {}
|
@@ -4077,8 +4404,14 @@ module XeroRuby
|
|
4077
4404
|
# resource path
|
4078
4405
|
local_var_path = '/ContactGroups/{ContactGroupID}/Contacts/{ContactID}'.sub('{' + 'ContactGroupID' + '}', contact_group_id.to_s).sub('{' + 'ContactID' + '}', contact_id.to_s)
|
4079
4406
|
|
4407
|
+
# camelize keys of incoming `where` opts
|
4408
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
4080
4409
|
# query parameters
|
4081
4410
|
query_params = opts[:query_params] || {}
|
4411
|
+
|
4412
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
4413
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
4414
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
4082
4415
|
|
4083
4416
|
# header parameters
|
4084
4417
|
header_params = opts[:header_params] || {}
|
@@ -4144,8 +4477,14 @@ module XeroRuby
|
|
4144
4477
|
# resource path
|
4145
4478
|
local_var_path = '/ContactGroups/{ContactGroupID}/Contacts'.sub('{' + 'ContactGroupID' + '}', contact_group_id.to_s)
|
4146
4479
|
|
4480
|
+
# camelize keys of incoming `where` opts
|
4481
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
4147
4482
|
# query parameters
|
4148
4483
|
query_params = opts[:query_params] || {}
|
4484
|
+
|
4485
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
4486
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
4487
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
4149
4488
|
|
4150
4489
|
# header parameters
|
4151
4490
|
header_params = opts[:header_params] || {}
|
@@ -4209,8 +4548,14 @@ module XeroRuby
|
|
4209
4548
|
# resource path
|
4210
4549
|
local_var_path = '/Items/{ItemID}'.sub('{' + 'ItemID' + '}', item_id.to_s)
|
4211
4550
|
|
4551
|
+
# camelize keys of incoming `where` opts
|
4552
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
4212
4553
|
# query parameters
|
4213
4554
|
query_params = opts[:query_params] || {}
|
4555
|
+
|
4556
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
4557
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
4558
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
4214
4559
|
|
4215
4560
|
# header parameters
|
4216
4561
|
header_params = opts[:header_params] || {}
|
@@ -4276,8 +4621,14 @@ module XeroRuby
|
|
4276
4621
|
# resource path
|
4277
4622
|
local_var_path = '/LinkedTransactions/{LinkedTransactionID}'.sub('{' + 'LinkedTransactionID' + '}', linked_transaction_id.to_s)
|
4278
4623
|
|
4624
|
+
# camelize keys of incoming `where` opts
|
4625
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
4279
4626
|
# query parameters
|
4280
4627
|
query_params = opts[:query_params] || {}
|
4628
|
+
|
4629
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
4630
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
4631
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
4281
4632
|
|
4282
4633
|
# header parameters
|
4283
4634
|
header_params = opts[:header_params] || {}
|
@@ -4349,8 +4700,14 @@ module XeroRuby
|
|
4349
4700
|
# resource path
|
4350
4701
|
local_var_path = '/Payments/{PaymentID}'.sub('{' + 'PaymentID' + '}', payment_id.to_s)
|
4351
4702
|
|
4703
|
+
# camelize keys of incoming `where` opts
|
4704
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
4352
4705
|
# query parameters
|
4353
4706
|
query_params = opts[:query_params] || {}
|
4707
|
+
|
4708
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
4709
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
4710
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
4354
4711
|
|
4355
4712
|
# header parameters
|
4356
4713
|
header_params = opts[:header_params] || {}
|
@@ -4418,8 +4775,14 @@ module XeroRuby
|
|
4418
4775
|
# resource path
|
4419
4776
|
local_var_path = '/TrackingCategories/{TrackingCategoryID}'.sub('{' + 'TrackingCategoryID' + '}', tracking_category_id.to_s)
|
4420
4777
|
|
4778
|
+
# camelize keys of incoming `where` opts
|
4779
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
4421
4780
|
# query parameters
|
4422
4781
|
query_params = opts[:query_params] || {}
|
4782
|
+
|
4783
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
4784
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
4785
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
4423
4786
|
|
4424
4787
|
# header parameters
|
4425
4788
|
header_params = opts[:header_params] || {}
|
@@ -4491,8 +4854,14 @@ module XeroRuby
|
|
4491
4854
|
# resource path
|
4492
4855
|
local_var_path = '/TrackingCategories/{TrackingCategoryID}/Options/{TrackingOptionID}'.sub('{' + 'TrackingCategoryID' + '}', tracking_category_id.to_s).sub('{' + 'TrackingOptionID' + '}', tracking_option_id.to_s)
|
4493
4856
|
|
4857
|
+
# camelize keys of incoming `where` opts
|
4858
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
4494
4859
|
# query parameters
|
4495
4860
|
query_params = opts[:query_params] || {}
|
4861
|
+
|
4862
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
4863
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
4864
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
4496
4865
|
|
4497
4866
|
# header parameters
|
4498
4867
|
header_params = opts[:header_params] || {}
|
@@ -4564,8 +4933,14 @@ module XeroRuby
|
|
4564
4933
|
# resource path
|
4565
4934
|
local_var_path = '/Invoices/{InvoiceID}/Email'.sub('{' + 'InvoiceID' + '}', invoice_id.to_s)
|
4566
4935
|
|
4936
|
+
# camelize keys of incoming `where` opts
|
4937
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
4567
4938
|
# query parameters
|
4568
4939
|
query_params = opts[:query_params] || {}
|
4940
|
+
|
4941
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
4942
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
4943
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
4569
4944
|
|
4570
4945
|
# header parameters
|
4571
4946
|
header_params = opts[:header_params] || {}
|
@@ -4633,8 +5008,14 @@ module XeroRuby
|
|
4633
5008
|
# resource path
|
4634
5009
|
local_var_path = '/Accounts/{AccountID}'.sub('{' + 'AccountID' + '}', account_id.to_s)
|
4635
5010
|
|
5011
|
+
# camelize keys of incoming `where` opts
|
5012
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
4636
5013
|
# query parameters
|
4637
5014
|
query_params = opts[:query_params] || {}
|
5015
|
+
|
5016
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
5017
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
5018
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
4638
5019
|
|
4639
5020
|
# header parameters
|
4640
5021
|
header_params = opts[:header_params] || {}
|
@@ -4712,8 +5093,14 @@ module XeroRuby
|
|
4712
5093
|
# resource path
|
4713
5094
|
local_var_path = '/Accounts/{AccountID}/Attachments/{FileName}'.sub('{' + 'AccountID' + '}', account_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
4714
5095
|
|
5096
|
+
# camelize keys of incoming `where` opts
|
5097
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
4715
5098
|
# query parameters
|
4716
5099
|
query_params = opts[:query_params] || {}
|
5100
|
+
|
5101
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
5102
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
5103
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
4717
5104
|
|
4718
5105
|
# header parameters
|
4719
5106
|
header_params = opts[:header_params] || {}
|
@@ -4792,8 +5179,14 @@ module XeroRuby
|
|
4792
5179
|
# resource path
|
4793
5180
|
local_var_path = '/Accounts/{AccountID}/Attachments/{AttachmentID}'.sub('{' + 'AccountID' + '}', account_id.to_s).sub('{' + 'AttachmentID' + '}', attachment_id.to_s)
|
4794
5181
|
|
5182
|
+
# camelize keys of incoming `where` opts
|
5183
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
4795
5184
|
# query parameters
|
4796
5185
|
query_params = opts[:query_params] || {}
|
5186
|
+
|
5187
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
5188
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
5189
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
4797
5190
|
|
4798
5191
|
# header parameters
|
4799
5192
|
header_params = opts[:header_params] || {}
|
@@ -4860,8 +5253,14 @@ module XeroRuby
|
|
4860
5253
|
# resource path
|
4861
5254
|
local_var_path = '/Accounts/{AccountID}/Attachments'.sub('{' + 'AccountID' + '}', account_id.to_s)
|
4862
5255
|
|
5256
|
+
# camelize keys of incoming `where` opts
|
5257
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
4863
5258
|
# query parameters
|
4864
5259
|
query_params = opts[:query_params] || {}
|
5260
|
+
|
5261
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
5262
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
5263
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
4865
5264
|
|
4866
5265
|
# header parameters
|
4867
5266
|
header_params = opts[:header_params] || {}
|
@@ -4927,10 +5326,16 @@ module XeroRuby
|
|
4927
5326
|
# resource path
|
4928
5327
|
local_var_path = '/Accounts'
|
4929
5328
|
|
5329
|
+
# camelize keys of incoming `where` opts
|
5330
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
4930
5331
|
# query parameters
|
4931
5332
|
query_params = opts[:query_params] || {}
|
4932
5333
|
query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
|
4933
5334
|
query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
|
5335
|
+
|
5336
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
5337
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
5338
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
4934
5339
|
|
4935
5340
|
# header parameters
|
4936
5341
|
header_params = opts[:header_params] || {}
|
@@ -4999,9 +5404,15 @@ module XeroRuby
|
|
4999
5404
|
# resource path
|
5000
5405
|
local_var_path = '/BankTransactions/{BankTransactionID}'.sub('{' + 'BankTransactionID' + '}', bank_transaction_id.to_s)
|
5001
5406
|
|
5407
|
+
# camelize keys of incoming `where` opts
|
5408
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
5002
5409
|
# query parameters
|
5003
5410
|
query_params = opts[:query_params] || {}
|
5004
5411
|
query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
|
5412
|
+
|
5413
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
5414
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
5415
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
5005
5416
|
|
5006
5417
|
# header parameters
|
5007
5418
|
header_params = opts[:header_params] || {}
|
@@ -5079,8 +5490,14 @@ module XeroRuby
|
|
5079
5490
|
# resource path
|
5080
5491
|
local_var_path = '/BankTransactions/{BankTransactionID}/Attachments/{FileName}'.sub('{' + 'BankTransactionID' + '}', bank_transaction_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
5081
5492
|
|
5493
|
+
# camelize keys of incoming `where` opts
|
5494
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
5082
5495
|
# query parameters
|
5083
5496
|
query_params = opts[:query_params] || {}
|
5497
|
+
|
5498
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
5499
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
5500
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
5084
5501
|
|
5085
5502
|
# header parameters
|
5086
5503
|
header_params = opts[:header_params] || {}
|
@@ -5159,8 +5576,14 @@ module XeroRuby
|
|
5159
5576
|
# resource path
|
5160
5577
|
local_var_path = '/BankTransactions/{BankTransactionID}/Attachments/{AttachmentID}'.sub('{' + 'BankTransactionID' + '}', bank_transaction_id.to_s).sub('{' + 'AttachmentID' + '}', attachment_id.to_s)
|
5161
5578
|
|
5579
|
+
# camelize keys of incoming `where` opts
|
5580
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
5162
5581
|
# query parameters
|
5163
5582
|
query_params = opts[:query_params] || {}
|
5583
|
+
|
5584
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
5585
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
5586
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
5164
5587
|
|
5165
5588
|
# header parameters
|
5166
5589
|
header_params = opts[:header_params] || {}
|
@@ -5227,8 +5650,14 @@ module XeroRuby
|
|
5227
5650
|
# resource path
|
5228
5651
|
local_var_path = '/BankTransactions/{BankTransactionID}/Attachments'.sub('{' + 'BankTransactionID' + '}', bank_transaction_id.to_s)
|
5229
5652
|
|
5653
|
+
# camelize keys of incoming `where` opts
|
5654
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
5230
5655
|
# query parameters
|
5231
5656
|
query_params = opts[:query_params] || {}
|
5657
|
+
|
5658
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
5659
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
5660
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
5232
5661
|
|
5233
5662
|
# header parameters
|
5234
5663
|
header_params = opts[:header_params] || {}
|
@@ -5298,12 +5727,18 @@ module XeroRuby
|
|
5298
5727
|
# resource path
|
5299
5728
|
local_var_path = '/BankTransactions'
|
5300
5729
|
|
5730
|
+
# camelize keys of incoming `where` opts
|
5731
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
5301
5732
|
# query parameters
|
5302
5733
|
query_params = opts[:query_params] || {}
|
5303
5734
|
query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
|
5304
5735
|
query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
|
5305
5736
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
5306
5737
|
query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
|
5738
|
+
|
5739
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
5740
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
5741
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
5307
5742
|
|
5308
5743
|
# header parameters
|
5309
5744
|
header_params = opts[:header_params] || {}
|
@@ -5370,8 +5805,14 @@ module XeroRuby
|
|
5370
5805
|
# resource path
|
5371
5806
|
local_var_path = '/BankTransactions/{BankTransactionID}/History'.sub('{' + 'BankTransactionID' + '}', bank_transaction_id.to_s)
|
5372
5807
|
|
5808
|
+
# camelize keys of incoming `where` opts
|
5809
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
5373
5810
|
# query parameters
|
5374
5811
|
query_params = opts[:query_params] || {}
|
5812
|
+
|
5813
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
5814
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
5815
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
5375
5816
|
|
5376
5817
|
# header parameters
|
5377
5818
|
header_params = opts[:header_params] || {}
|
@@ -5437,8 +5878,14 @@ module XeroRuby
|
|
5437
5878
|
# resource path
|
5438
5879
|
local_var_path = '/BankTransfers/{BankTransferID}'.sub('{' + 'BankTransferID' + '}', bank_transfer_id.to_s)
|
5439
5880
|
|
5881
|
+
# camelize keys of incoming `where` opts
|
5882
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
5440
5883
|
# query parameters
|
5441
5884
|
query_params = opts[:query_params] || {}
|
5885
|
+
|
5886
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
5887
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
5888
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
5442
5889
|
|
5443
5890
|
# header parameters
|
5444
5891
|
header_params = opts[:header_params] || {}
|
@@ -5516,8 +5963,14 @@ module XeroRuby
|
|
5516
5963
|
# resource path
|
5517
5964
|
local_var_path = '/BankTransfers/{BankTransferID}/Attachments/{FileName}'.sub('{' + 'BankTransferID' + '}', bank_transfer_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
5518
5965
|
|
5966
|
+
# camelize keys of incoming `where` opts
|
5967
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
5519
5968
|
# query parameters
|
5520
5969
|
query_params = opts[:query_params] || {}
|
5970
|
+
|
5971
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
5972
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
5973
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
5521
5974
|
|
5522
5975
|
# header parameters
|
5523
5976
|
header_params = opts[:header_params] || {}
|
@@ -5596,8 +6049,14 @@ module XeroRuby
|
|
5596
6049
|
# resource path
|
5597
6050
|
local_var_path = '/BankTransfers/{BankTransferID}/Attachments/{AttachmentID}'.sub('{' + 'BankTransferID' + '}', bank_transfer_id.to_s).sub('{' + 'AttachmentID' + '}', attachment_id.to_s)
|
5598
6051
|
|
6052
|
+
# camelize keys of incoming `where` opts
|
6053
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
5599
6054
|
# query parameters
|
5600
6055
|
query_params = opts[:query_params] || {}
|
6056
|
+
|
6057
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
6058
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
6059
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
5601
6060
|
|
5602
6061
|
# header parameters
|
5603
6062
|
header_params = opts[:header_params] || {}
|
@@ -5664,8 +6123,14 @@ module XeroRuby
|
|
5664
6123
|
# resource path
|
5665
6124
|
local_var_path = '/BankTransfers/{BankTransferID}/Attachments'.sub('{' + 'BankTransferID' + '}', bank_transfer_id.to_s)
|
5666
6125
|
|
6126
|
+
# camelize keys of incoming `where` opts
|
6127
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
5667
6128
|
# query parameters
|
5668
6129
|
query_params = opts[:query_params] || {}
|
6130
|
+
|
6131
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
6132
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
6133
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
5669
6134
|
|
5670
6135
|
# header parameters
|
5671
6136
|
header_params = opts[:header_params] || {}
|
@@ -5731,8 +6196,14 @@ module XeroRuby
|
|
5731
6196
|
# resource path
|
5732
6197
|
local_var_path = '/BankTransfers/{BankTransferID}/History'.sub('{' + 'BankTransferID' + '}', bank_transfer_id.to_s)
|
5733
6198
|
|
6199
|
+
# camelize keys of incoming `where` opts
|
6200
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
5734
6201
|
# query parameters
|
5735
6202
|
query_params = opts[:query_params] || {}
|
6203
|
+
|
6204
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
6205
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
6206
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
5736
6207
|
|
5737
6208
|
# header parameters
|
5738
6209
|
header_params = opts[:header_params] || {}
|
@@ -5798,10 +6269,16 @@ module XeroRuby
|
|
5798
6269
|
# resource path
|
5799
6270
|
local_var_path = '/BankTransfers'
|
5800
6271
|
|
6272
|
+
# camelize keys of incoming `where` opts
|
6273
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
5801
6274
|
# query parameters
|
5802
6275
|
query_params = opts[:query_params] || {}
|
5803
6276
|
query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
|
5804
6277
|
query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
|
6278
|
+
|
6279
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
6280
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
6281
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
5805
6282
|
|
5806
6283
|
# header parameters
|
5807
6284
|
header_params = opts[:header_params] || {}
|
@@ -5868,8 +6345,14 @@ module XeroRuby
|
|
5868
6345
|
# resource path
|
5869
6346
|
local_var_path = '/BatchPayments/{BatchPaymentID}/History'.sub('{' + 'BatchPaymentID' + '}', batch_payment_id.to_s)
|
5870
6347
|
|
6348
|
+
# camelize keys of incoming `where` opts
|
6349
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
5871
6350
|
# query parameters
|
5872
6351
|
query_params = opts[:query_params] || {}
|
6352
|
+
|
6353
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
6354
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
6355
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
5873
6356
|
|
5874
6357
|
# header parameters
|
5875
6358
|
header_params = opts[:header_params] || {}
|
@@ -5935,10 +6418,16 @@ module XeroRuby
|
|
5935
6418
|
# resource path
|
5936
6419
|
local_var_path = '/BatchPayments'
|
5937
6420
|
|
6421
|
+
# camelize keys of incoming `where` opts
|
6422
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
5938
6423
|
# query parameters
|
5939
6424
|
query_params = opts[:query_params] || {}
|
5940
6425
|
query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
|
5941
6426
|
query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
|
6427
|
+
|
6428
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
6429
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
6430
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
5942
6431
|
|
5943
6432
|
# header parameters
|
5944
6433
|
header_params = opts[:header_params] || {}
|
@@ -6005,8 +6494,14 @@ module XeroRuby
|
|
6005
6494
|
# resource path
|
6006
6495
|
local_var_path = '/BrandingThemes/{BrandingThemeID}'.sub('{' + 'BrandingThemeID' + '}', branding_theme_id.to_s)
|
6007
6496
|
|
6497
|
+
# camelize keys of incoming `where` opts
|
6498
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
6008
6499
|
# query parameters
|
6009
6500
|
query_params = opts[:query_params] || {}
|
6501
|
+
|
6502
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
6503
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
6504
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
6010
6505
|
|
6011
6506
|
# header parameters
|
6012
6507
|
header_params = opts[:header_params] || {}
|
@@ -6072,8 +6567,14 @@ module XeroRuby
|
|
6072
6567
|
# resource path
|
6073
6568
|
local_var_path = '/BrandingThemes/{BrandingThemeID}/PaymentServices'.sub('{' + 'BrandingThemeID' + '}', branding_theme_id.to_s)
|
6074
6569
|
|
6570
|
+
# camelize keys of incoming `where` opts
|
6571
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
6075
6572
|
# query parameters
|
6076
6573
|
query_params = opts[:query_params] || {}
|
6574
|
+
|
6575
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
6576
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
6577
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
6077
6578
|
|
6078
6579
|
# header parameters
|
6079
6580
|
header_params = opts[:header_params] || {}
|
@@ -6133,8 +6634,14 @@ module XeroRuby
|
|
6133
6634
|
# resource path
|
6134
6635
|
local_var_path = '/BrandingThemes'
|
6135
6636
|
|
6637
|
+
# camelize keys of incoming `where` opts
|
6638
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
6136
6639
|
# query parameters
|
6137
6640
|
query_params = opts[:query_params] || {}
|
6641
|
+
|
6642
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
6643
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
6644
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
6138
6645
|
|
6139
6646
|
# header parameters
|
6140
6647
|
header_params = opts[:header_params] || {}
|
@@ -6200,8 +6707,14 @@ module XeroRuby
|
|
6200
6707
|
# resource path
|
6201
6708
|
local_var_path = '/Contacts/{ContactID}'.sub('{' + 'ContactID' + '}', contact_id.to_s)
|
6202
6709
|
|
6710
|
+
# camelize keys of incoming `where` opts
|
6711
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
6203
6712
|
# query parameters
|
6204
6713
|
query_params = opts[:query_params] || {}
|
6714
|
+
|
6715
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
6716
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
6717
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
6205
6718
|
|
6206
6719
|
# header parameters
|
6207
6720
|
header_params = opts[:header_params] || {}
|
@@ -6279,8 +6792,14 @@ module XeroRuby
|
|
6279
6792
|
# resource path
|
6280
6793
|
local_var_path = '/Contacts/{ContactID}/Attachments/{FileName}'.sub('{' + 'ContactID' + '}', contact_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
6281
6794
|
|
6795
|
+
# camelize keys of incoming `where` opts
|
6796
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
6282
6797
|
# query parameters
|
6283
6798
|
query_params = opts[:query_params] || {}
|
6799
|
+
|
6800
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
6801
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
6802
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
6284
6803
|
|
6285
6804
|
# header parameters
|
6286
6805
|
header_params = opts[:header_params] || {}
|
@@ -6359,8 +6878,14 @@ module XeroRuby
|
|
6359
6878
|
# resource path
|
6360
6879
|
local_var_path = '/Contacts/{ContactID}/Attachments/{AttachmentID}'.sub('{' + 'ContactID' + '}', contact_id.to_s).sub('{' + 'AttachmentID' + '}', attachment_id.to_s)
|
6361
6880
|
|
6881
|
+
# camelize keys of incoming `where` opts
|
6882
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
6362
6883
|
# query parameters
|
6363
6884
|
query_params = opts[:query_params] || {}
|
6885
|
+
|
6886
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
6887
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
6888
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
6364
6889
|
|
6365
6890
|
# header parameters
|
6366
6891
|
header_params = opts[:header_params] || {}
|
@@ -6427,8 +6952,14 @@ module XeroRuby
|
|
6427
6952
|
# resource path
|
6428
6953
|
local_var_path = '/Contacts/{ContactID}/Attachments'.sub('{' + 'ContactID' + '}', contact_id.to_s)
|
6429
6954
|
|
6955
|
+
# camelize keys of incoming `where` opts
|
6956
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
6430
6957
|
# query parameters
|
6431
6958
|
query_params = opts[:query_params] || {}
|
6959
|
+
|
6960
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
6961
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
6962
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
6432
6963
|
|
6433
6964
|
# header parameters
|
6434
6965
|
header_params = opts[:header_params] || {}
|
@@ -6494,8 +7025,14 @@ module XeroRuby
|
|
6494
7025
|
# resource path
|
6495
7026
|
local_var_path = '/Contacts/{ContactNumber}'.sub('{' + 'ContactNumber' + '}', contact_number.to_s)
|
6496
7027
|
|
7028
|
+
# camelize keys of incoming `where` opts
|
7029
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
6497
7030
|
# query parameters
|
6498
7031
|
query_params = opts[:query_params] || {}
|
7032
|
+
|
7033
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
7034
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
7035
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
6499
7036
|
|
6500
7037
|
# header parameters
|
6501
7038
|
header_params = opts[:header_params] || {}
|
@@ -6561,8 +7098,14 @@ module XeroRuby
|
|
6561
7098
|
# resource path
|
6562
7099
|
local_var_path = '/Contacts/{ContactID}/CISSettings'.sub('{' + 'ContactID' + '}', contact_id.to_s)
|
6563
7100
|
|
7101
|
+
# camelize keys of incoming `where` opts
|
7102
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
6564
7103
|
# query parameters
|
6565
7104
|
query_params = opts[:query_params] || {}
|
7105
|
+
|
7106
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
7107
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
7108
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
6566
7109
|
|
6567
7110
|
# header parameters
|
6568
7111
|
header_params = opts[:header_params] || {}
|
@@ -6628,8 +7171,14 @@ module XeroRuby
|
|
6628
7171
|
# resource path
|
6629
7172
|
local_var_path = '/ContactGroups/{ContactGroupID}'.sub('{' + 'ContactGroupID' + '}', contact_group_id.to_s)
|
6630
7173
|
|
7174
|
+
# camelize keys of incoming `where` opts
|
7175
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
6631
7176
|
# query parameters
|
6632
7177
|
query_params = opts[:query_params] || {}
|
7178
|
+
|
7179
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
7180
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
7181
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
6633
7182
|
|
6634
7183
|
# header parameters
|
6635
7184
|
header_params = opts[:header_params] || {}
|
@@ -6693,10 +7242,16 @@ module XeroRuby
|
|
6693
7242
|
# resource path
|
6694
7243
|
local_var_path = '/ContactGroups'
|
6695
7244
|
|
7245
|
+
# camelize keys of incoming `where` opts
|
7246
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
6696
7247
|
# query parameters
|
6697
7248
|
query_params = opts[:query_params] || {}
|
6698
7249
|
query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
|
6699
7250
|
query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
|
7251
|
+
|
7252
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
7253
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
7254
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
6700
7255
|
|
6701
7256
|
# header parameters
|
6702
7257
|
header_params = opts[:header_params] || {}
|
@@ -6762,8 +7317,14 @@ module XeroRuby
|
|
6762
7317
|
# resource path
|
6763
7318
|
local_var_path = '/Contacts/{ContactID}/History'.sub('{' + 'ContactID' + '}', contact_id.to_s)
|
6764
7319
|
|
7320
|
+
# camelize keys of incoming `where` opts
|
7321
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
6765
7322
|
# query parameters
|
6766
7323
|
query_params = opts[:query_params] || {}
|
7324
|
+
|
7325
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
7326
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
7327
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
6767
7328
|
|
6768
7329
|
# header parameters
|
6769
7330
|
header_params = opts[:header_params] || {}
|
@@ -6835,6 +7396,8 @@ module XeroRuby
|
|
6835
7396
|
# resource path
|
6836
7397
|
local_var_path = '/Contacts'
|
6837
7398
|
|
7399
|
+
# camelize keys of incoming `where` opts
|
7400
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
6838
7401
|
# query parameters
|
6839
7402
|
query_params = opts[:query_params] || {}
|
6840
7403
|
query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
|
@@ -6842,6 +7405,10 @@ module XeroRuby
|
|
6842
7405
|
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'i_ds'], :csv) if !opts[:'i_ds'].nil?
|
6843
7406
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
6844
7407
|
query_params[:'includeArchived'] = opts[:'include_archived'] if !opts[:'include_archived'].nil?
|
7408
|
+
|
7409
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
7410
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
7411
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
6845
7412
|
|
6846
7413
|
# header parameters
|
6847
7414
|
header_params = opts[:header_params] || {}
|
@@ -6910,9 +7477,15 @@ module XeroRuby
|
|
6910
7477
|
# resource path
|
6911
7478
|
local_var_path = '/CreditNotes/{CreditNoteID}'.sub('{' + 'CreditNoteID' + '}', credit_note_id.to_s)
|
6912
7479
|
|
7480
|
+
# camelize keys of incoming `where` opts
|
7481
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
6913
7482
|
# query parameters
|
6914
7483
|
query_params = opts[:query_params] || {}
|
6915
7484
|
query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
|
7485
|
+
|
7486
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
7487
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
7488
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
6916
7489
|
|
6917
7490
|
# header parameters
|
6918
7491
|
header_params = opts[:header_params] || {}
|
@@ -6978,8 +7551,14 @@ module XeroRuby
|
|
6978
7551
|
# resource path
|
6979
7552
|
local_var_path = '/CreditNotes/{CreditNoteID}'.sub('{' + 'CreditNoteID' + '}', credit_note_id.to_s)
|
6980
7553
|
|
7554
|
+
# camelize keys of incoming `where` opts
|
7555
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
6981
7556
|
# query parameters
|
6982
7557
|
query_params = opts[:query_params] || {}
|
7558
|
+
|
7559
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
7560
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
7561
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
6983
7562
|
|
6984
7563
|
# header parameters
|
6985
7564
|
header_params = opts[:header_params] || {}
|
@@ -7057,8 +7636,14 @@ module XeroRuby
|
|
7057
7636
|
# resource path
|
7058
7637
|
local_var_path = '/CreditNotes/{CreditNoteID}/Attachments/{FileName}'.sub('{' + 'CreditNoteID' + '}', credit_note_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
7059
7638
|
|
7639
|
+
# camelize keys of incoming `where` opts
|
7640
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
7060
7641
|
# query parameters
|
7061
7642
|
query_params = opts[:query_params] || {}
|
7643
|
+
|
7644
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
7645
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
7646
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
7062
7647
|
|
7063
7648
|
# header parameters
|
7064
7649
|
header_params = opts[:header_params] || {}
|
@@ -7137,8 +7722,14 @@ module XeroRuby
|
|
7137
7722
|
# resource path
|
7138
7723
|
local_var_path = '/CreditNotes/{CreditNoteID}/Attachments/{AttachmentID}'.sub('{' + 'CreditNoteID' + '}', credit_note_id.to_s).sub('{' + 'AttachmentID' + '}', attachment_id.to_s)
|
7139
7724
|
|
7725
|
+
# camelize keys of incoming `where` opts
|
7726
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
7140
7727
|
# query parameters
|
7141
7728
|
query_params = opts[:query_params] || {}
|
7729
|
+
|
7730
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
7731
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
7732
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
7142
7733
|
|
7143
7734
|
# header parameters
|
7144
7735
|
header_params = opts[:header_params] || {}
|
@@ -7205,8 +7796,14 @@ module XeroRuby
|
|
7205
7796
|
# resource path
|
7206
7797
|
local_var_path = '/CreditNotes/{CreditNoteID}/Attachments'.sub('{' + 'CreditNoteID' + '}', credit_note_id.to_s)
|
7207
7798
|
|
7799
|
+
# camelize keys of incoming `where` opts
|
7800
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
7208
7801
|
# query parameters
|
7209
7802
|
query_params = opts[:query_params] || {}
|
7803
|
+
|
7804
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
7805
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
7806
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
7210
7807
|
|
7211
7808
|
# header parameters
|
7212
7809
|
header_params = opts[:header_params] || {}
|
@@ -7272,8 +7869,14 @@ module XeroRuby
|
|
7272
7869
|
# resource path
|
7273
7870
|
local_var_path = '/CreditNotes/{CreditNoteID}/History'.sub('{' + 'CreditNoteID' + '}', credit_note_id.to_s)
|
7274
7871
|
|
7872
|
+
# camelize keys of incoming `where` opts
|
7873
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
7275
7874
|
# query parameters
|
7276
7875
|
query_params = opts[:query_params] || {}
|
7876
|
+
|
7877
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
7878
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
7879
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
7277
7880
|
|
7278
7881
|
# header parameters
|
7279
7882
|
header_params = opts[:header_params] || {}
|
@@ -7343,12 +7946,18 @@ module XeroRuby
|
|
7343
7946
|
# resource path
|
7344
7947
|
local_var_path = '/CreditNotes'
|
7345
7948
|
|
7949
|
+
# camelize keys of incoming `where` opts
|
7950
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
7346
7951
|
# query parameters
|
7347
7952
|
query_params = opts[:query_params] || {}
|
7348
7953
|
query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
|
7349
7954
|
query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
|
7350
7955
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
7351
7956
|
query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
|
7957
|
+
|
7958
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
7959
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
7960
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
7352
7961
|
|
7353
7962
|
# header parameters
|
7354
7963
|
header_params = opts[:header_params] || {}
|
@@ -7413,10 +8022,16 @@ module XeroRuby
|
|
7413
8022
|
# resource path
|
7414
8023
|
local_var_path = '/Currencies'
|
7415
8024
|
|
8025
|
+
# camelize keys of incoming `where` opts
|
8026
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
7416
8027
|
# query parameters
|
7417
8028
|
query_params = opts[:query_params] || {}
|
7418
8029
|
query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
|
7419
8030
|
query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
|
8031
|
+
|
8032
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
8033
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
8034
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
7420
8035
|
|
7421
8036
|
# header parameters
|
7422
8037
|
header_params = opts[:header_params] || {}
|
@@ -7482,8 +8097,14 @@ module XeroRuby
|
|
7482
8097
|
# resource path
|
7483
8098
|
local_var_path = '/Employees/{EmployeeID}'.sub('{' + 'EmployeeID' + '}', employee_id.to_s)
|
7484
8099
|
|
8100
|
+
# camelize keys of incoming `where` opts
|
8101
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
7485
8102
|
# query parameters
|
7486
8103
|
query_params = opts[:query_params] || {}
|
8104
|
+
|
8105
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
8106
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
8107
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
7487
8108
|
|
7488
8109
|
# header parameters
|
7489
8110
|
header_params = opts[:header_params] || {}
|
@@ -7549,10 +8170,16 @@ module XeroRuby
|
|
7549
8170
|
# resource path
|
7550
8171
|
local_var_path = '/Employees'
|
7551
8172
|
|
8173
|
+
# camelize keys of incoming `where` opts
|
8174
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
7552
8175
|
# query parameters
|
7553
8176
|
query_params = opts[:query_params] || {}
|
7554
8177
|
query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
|
7555
8178
|
query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
|
8179
|
+
|
8180
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
8181
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
8182
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
7556
8183
|
|
7557
8184
|
# header parameters
|
7558
8185
|
header_params = opts[:header_params] || {}
|
@@ -7619,8 +8246,14 @@ module XeroRuby
|
|
7619
8246
|
# resource path
|
7620
8247
|
local_var_path = '/ExpenseClaims/{ExpenseClaimID}'.sub('{' + 'ExpenseClaimID' + '}', expense_claim_id.to_s)
|
7621
8248
|
|
8249
|
+
# camelize keys of incoming `where` opts
|
8250
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
7622
8251
|
# query parameters
|
7623
8252
|
query_params = opts[:query_params] || {}
|
8253
|
+
|
8254
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
8255
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
8256
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
7624
8257
|
|
7625
8258
|
# header parameters
|
7626
8259
|
header_params = opts[:header_params] || {}
|
@@ -7686,8 +8319,14 @@ module XeroRuby
|
|
7686
8319
|
# resource path
|
7687
8320
|
local_var_path = '/ExpenseClaims/{ExpenseClaimID}/History'.sub('{' + 'ExpenseClaimID' + '}', expense_claim_id.to_s)
|
7688
8321
|
|
8322
|
+
# camelize keys of incoming `where` opts
|
8323
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
7689
8324
|
# query parameters
|
7690
8325
|
query_params = opts[:query_params] || {}
|
8326
|
+
|
8327
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
8328
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
8329
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
7691
8330
|
|
7692
8331
|
# header parameters
|
7693
8332
|
header_params = opts[:header_params] || {}
|
@@ -7753,10 +8392,16 @@ module XeroRuby
|
|
7753
8392
|
# resource path
|
7754
8393
|
local_var_path = '/ExpenseClaims'
|
7755
8394
|
|
8395
|
+
# camelize keys of incoming `where` opts
|
8396
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
7756
8397
|
# query parameters
|
7757
8398
|
query_params = opts[:query_params] || {}
|
7758
8399
|
query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
|
7759
8400
|
query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
|
8401
|
+
|
8402
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
8403
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
8404
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
7760
8405
|
|
7761
8406
|
# header parameters
|
7762
8407
|
header_params = opts[:header_params] || {}
|
@@ -7825,9 +8470,15 @@ module XeroRuby
|
|
7825
8470
|
# resource path
|
7826
8471
|
local_var_path = '/Invoices/{InvoiceID}'.sub('{' + 'InvoiceID' + '}', invoice_id.to_s)
|
7827
8472
|
|
8473
|
+
# camelize keys of incoming `where` opts
|
8474
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
7828
8475
|
# query parameters
|
7829
8476
|
query_params = opts[:query_params] || {}
|
7830
8477
|
query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
|
8478
|
+
|
8479
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
8480
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
8481
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
7831
8482
|
|
7832
8483
|
# header parameters
|
7833
8484
|
header_params = opts[:header_params] || {}
|
@@ -7893,8 +8544,14 @@ module XeroRuby
|
|
7893
8544
|
# resource path
|
7894
8545
|
local_var_path = '/Invoices/{InvoiceID}'.sub('{' + 'InvoiceID' + '}', invoice_id.to_s)
|
7895
8546
|
|
8547
|
+
# camelize keys of incoming `where` opts
|
8548
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
7896
8549
|
# query parameters
|
7897
8550
|
query_params = opts[:query_params] || {}
|
8551
|
+
|
8552
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
8553
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
8554
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
7898
8555
|
|
7899
8556
|
# header parameters
|
7900
8557
|
header_params = opts[:header_params] || {}
|
@@ -7972,8 +8629,14 @@ module XeroRuby
|
|
7972
8629
|
# resource path
|
7973
8630
|
local_var_path = '/Invoices/{InvoiceID}/Attachments/{FileName}'.sub('{' + 'InvoiceID' + '}', invoice_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
7974
8631
|
|
8632
|
+
# camelize keys of incoming `where` opts
|
8633
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
7975
8634
|
# query parameters
|
7976
8635
|
query_params = opts[:query_params] || {}
|
8636
|
+
|
8637
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
8638
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
8639
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
7977
8640
|
|
7978
8641
|
# header parameters
|
7979
8642
|
header_params = opts[:header_params] || {}
|
@@ -8052,8 +8715,14 @@ module XeroRuby
|
|
8052
8715
|
# resource path
|
8053
8716
|
local_var_path = '/Invoices/{InvoiceID}/Attachments/{AttachmentID}'.sub('{' + 'InvoiceID' + '}', invoice_id.to_s).sub('{' + 'AttachmentID' + '}', attachment_id.to_s)
|
8054
8717
|
|
8718
|
+
# camelize keys of incoming `where` opts
|
8719
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
8055
8720
|
# query parameters
|
8056
8721
|
query_params = opts[:query_params] || {}
|
8722
|
+
|
8723
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
8724
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
8725
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
8057
8726
|
|
8058
8727
|
# header parameters
|
8059
8728
|
header_params = opts[:header_params] || {}
|
@@ -8120,8 +8789,14 @@ module XeroRuby
|
|
8120
8789
|
# resource path
|
8121
8790
|
local_var_path = '/Invoices/{InvoiceID}/Attachments'.sub('{' + 'InvoiceID' + '}', invoice_id.to_s)
|
8122
8791
|
|
8792
|
+
# camelize keys of incoming `where` opts
|
8793
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
8123
8794
|
# query parameters
|
8124
8795
|
query_params = opts[:query_params] || {}
|
8796
|
+
|
8797
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
8798
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
8799
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
8125
8800
|
|
8126
8801
|
# header parameters
|
8127
8802
|
header_params = opts[:header_params] || {}
|
@@ -8187,8 +8862,14 @@ module XeroRuby
|
|
8187
8862
|
# resource path
|
8188
8863
|
local_var_path = '/Invoices/{InvoiceID}/History'.sub('{' + 'InvoiceID' + '}', invoice_id.to_s)
|
8189
8864
|
|
8865
|
+
# camelize keys of incoming `where` opts
|
8866
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
8190
8867
|
# query parameters
|
8191
8868
|
query_params = opts[:query_params] || {}
|
8869
|
+
|
8870
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
8871
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
8872
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
8192
8873
|
|
8193
8874
|
# header parameters
|
8194
8875
|
header_params = opts[:header_params] || {}
|
@@ -8248,8 +8929,14 @@ module XeroRuby
|
|
8248
8929
|
# resource path
|
8249
8930
|
local_var_path = '/InvoiceReminders/Settings'
|
8250
8931
|
|
8932
|
+
# camelize keys of incoming `where` opts
|
8933
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
8251
8934
|
# query parameters
|
8252
8935
|
query_params = opts[:query_params] || {}
|
8936
|
+
|
8937
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
8938
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
8939
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
8253
8940
|
|
8254
8941
|
# header parameters
|
8255
8942
|
header_params = opts[:header_params] || {}
|
@@ -8331,6 +9018,8 @@ module XeroRuby
|
|
8331
9018
|
# resource path
|
8332
9019
|
local_var_path = '/Invoices'
|
8333
9020
|
|
9021
|
+
# camelize keys of incoming `where` opts
|
9022
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
8334
9023
|
# query parameters
|
8335
9024
|
query_params = opts[:query_params] || {}
|
8336
9025
|
query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
|
@@ -8343,6 +9032,10 @@ module XeroRuby
|
|
8343
9032
|
query_params[:'includeArchived'] = opts[:'include_archived'] if !opts[:'include_archived'].nil?
|
8344
9033
|
query_params[:'createdByMyApp'] = opts[:'created_by_my_app'] if !opts[:'created_by_my_app'].nil?
|
8345
9034
|
query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
|
9035
|
+
|
9036
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
9037
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
9038
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
8346
9039
|
|
8347
9040
|
# header parameters
|
8348
9041
|
header_params = opts[:header_params] || {}
|
@@ -8411,9 +9104,15 @@ module XeroRuby
|
|
8411
9104
|
# resource path
|
8412
9105
|
local_var_path = '/Items/{ItemID}'.sub('{' + 'ItemID' + '}', item_id.to_s)
|
8413
9106
|
|
9107
|
+
# camelize keys of incoming `where` opts
|
9108
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
8414
9109
|
# query parameters
|
8415
9110
|
query_params = opts[:query_params] || {}
|
8416
9111
|
query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
|
9112
|
+
|
9113
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
9114
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
9115
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
8417
9116
|
|
8418
9117
|
# header parameters
|
8419
9118
|
header_params = opts[:header_params] || {}
|
@@ -8479,8 +9178,14 @@ module XeroRuby
|
|
8479
9178
|
# resource path
|
8480
9179
|
local_var_path = '/Items/{ItemID}/History'.sub('{' + 'ItemID' + '}', item_id.to_s)
|
8481
9180
|
|
9181
|
+
# camelize keys of incoming `where` opts
|
9182
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
8482
9183
|
# query parameters
|
8483
9184
|
query_params = opts[:query_params] || {}
|
9185
|
+
|
9186
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
9187
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
9188
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
8484
9189
|
|
8485
9190
|
# header parameters
|
8486
9191
|
header_params = opts[:header_params] || {}
|
@@ -8548,11 +9253,17 @@ module XeroRuby
|
|
8548
9253
|
# resource path
|
8549
9254
|
local_var_path = '/Items'
|
8550
9255
|
|
9256
|
+
# camelize keys of incoming `where` opts
|
9257
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
8551
9258
|
# query parameters
|
8552
9259
|
query_params = opts[:query_params] || {}
|
8553
9260
|
query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
|
8554
9261
|
query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
|
8555
9262
|
query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
|
9263
|
+
|
9264
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
9265
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
9266
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
8556
9267
|
|
8557
9268
|
# header parameters
|
8558
9269
|
header_params = opts[:header_params] || {}
|
@@ -8619,8 +9330,14 @@ module XeroRuby
|
|
8619
9330
|
# resource path
|
8620
9331
|
local_var_path = '/Journals/{JournalID}'.sub('{' + 'JournalID' + '}', journal_id.to_s)
|
8621
9332
|
|
9333
|
+
# camelize keys of incoming `where` opts
|
9334
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
8622
9335
|
# query parameters
|
8623
9336
|
query_params = opts[:query_params] || {}
|
9337
|
+
|
9338
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
9339
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
9340
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
8624
9341
|
|
8625
9342
|
# header parameters
|
8626
9343
|
header_params = opts[:header_params] || {}
|
@@ -8686,10 +9403,16 @@ module XeroRuby
|
|
8686
9403
|
# resource path
|
8687
9404
|
local_var_path = '/Journals'
|
8688
9405
|
|
9406
|
+
# camelize keys of incoming `where` opts
|
9407
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
8689
9408
|
# query parameters
|
8690
9409
|
query_params = opts[:query_params] || {}
|
8691
9410
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
8692
9411
|
query_params[:'paymentsOnly'] = opts[:'payments_only'] if !opts[:'payments_only'].nil?
|
9412
|
+
|
9413
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
9414
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
9415
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
8693
9416
|
|
8694
9417
|
# header parameters
|
8695
9418
|
header_params = opts[:header_params] || {}
|
@@ -8756,8 +9479,14 @@ module XeroRuby
|
|
8756
9479
|
# resource path
|
8757
9480
|
local_var_path = '/LinkedTransactions/{LinkedTransactionID}'.sub('{' + 'LinkedTransactionID' + '}', linked_transaction_id.to_s)
|
8758
9481
|
|
9482
|
+
# camelize keys of incoming `where` opts
|
9483
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
8759
9484
|
# query parameters
|
8760
9485
|
query_params = opts[:query_params] || {}
|
9486
|
+
|
9487
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
9488
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
9489
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
8761
9490
|
|
8762
9491
|
# header parameters
|
8763
9492
|
header_params = opts[:header_params] || {}
|
@@ -8829,6 +9558,8 @@ module XeroRuby
|
|
8829
9558
|
# resource path
|
8830
9559
|
local_var_path = '/LinkedTransactions'
|
8831
9560
|
|
9561
|
+
# camelize keys of incoming `where` opts
|
9562
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
8832
9563
|
# query parameters
|
8833
9564
|
query_params = opts[:query_params] || {}
|
8834
9565
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
@@ -8837,6 +9568,10 @@ module XeroRuby
|
|
8837
9568
|
query_params[:'ContactID'] = opts[:'contact_id'] if !opts[:'contact_id'].nil?
|
8838
9569
|
query_params[:'Status'] = opts[:'status'] if !opts[:'status'].nil?
|
8839
9570
|
query_params[:'TargetTransactionID'] = opts[:'target_transaction_id'] if !opts[:'target_transaction_id'].nil?
|
9571
|
+
|
9572
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
9573
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
9574
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
8840
9575
|
|
8841
9576
|
# header parameters
|
8842
9577
|
header_params = opts[:header_params] || {}
|
@@ -8902,8 +9637,14 @@ module XeroRuby
|
|
8902
9637
|
# resource path
|
8903
9638
|
local_var_path = '/ManualJournals/{ManualJournalID}'.sub('{' + 'ManualJournalID' + '}', manual_journal_id.to_s)
|
8904
9639
|
|
9640
|
+
# camelize keys of incoming `where` opts
|
9641
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
8905
9642
|
# query parameters
|
8906
9643
|
query_params = opts[:query_params] || {}
|
9644
|
+
|
9645
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
9646
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
9647
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
8907
9648
|
|
8908
9649
|
# header parameters
|
8909
9650
|
header_params = opts[:header_params] || {}
|
@@ -8981,8 +9722,14 @@ module XeroRuby
|
|
8981
9722
|
# resource path
|
8982
9723
|
local_var_path = '/ManualJournals/{ManualJournalID}/Attachments/{FileName}'.sub('{' + 'ManualJournalID' + '}', manual_journal_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
8983
9724
|
|
9725
|
+
# camelize keys of incoming `where` opts
|
9726
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
8984
9727
|
# query parameters
|
8985
9728
|
query_params = opts[:query_params] || {}
|
9729
|
+
|
9730
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
9731
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
9732
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
8986
9733
|
|
8987
9734
|
# header parameters
|
8988
9735
|
header_params = opts[:header_params] || {}
|
@@ -9061,8 +9808,14 @@ module XeroRuby
|
|
9061
9808
|
# resource path
|
9062
9809
|
local_var_path = '/ManualJournals/{ManualJournalID}/Attachments/{AttachmentID}'.sub('{' + 'ManualJournalID' + '}', manual_journal_id.to_s).sub('{' + 'AttachmentID' + '}', attachment_id.to_s)
|
9063
9810
|
|
9811
|
+
# camelize keys of incoming `where` opts
|
9812
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
9064
9813
|
# query parameters
|
9065
9814
|
query_params = opts[:query_params] || {}
|
9815
|
+
|
9816
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
9817
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
9818
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
9066
9819
|
|
9067
9820
|
# header parameters
|
9068
9821
|
header_params = opts[:header_params] || {}
|
@@ -9129,8 +9882,14 @@ module XeroRuby
|
|
9129
9882
|
# resource path
|
9130
9883
|
local_var_path = '/ManualJournals/{ManualJournalID}/Attachments'.sub('{' + 'ManualJournalID' + '}', manual_journal_id.to_s)
|
9131
9884
|
|
9885
|
+
# camelize keys of incoming `where` opts
|
9886
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
9132
9887
|
# query parameters
|
9133
9888
|
query_params = opts[:query_params] || {}
|
9889
|
+
|
9890
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
9891
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
9892
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
9134
9893
|
|
9135
9894
|
# header parameters
|
9136
9895
|
header_params = opts[:header_params] || {}
|
@@ -9198,11 +9957,17 @@ module XeroRuby
|
|
9198
9957
|
# resource path
|
9199
9958
|
local_var_path = '/ManualJournals'
|
9200
9959
|
|
9960
|
+
# camelize keys of incoming `where` opts
|
9961
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
9201
9962
|
# query parameters
|
9202
9963
|
query_params = opts[:query_params] || {}
|
9203
9964
|
query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
|
9204
9965
|
query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
|
9205
9966
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
9967
|
+
|
9968
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
9969
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
9970
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
9206
9971
|
|
9207
9972
|
# header parameters
|
9208
9973
|
header_params = opts[:header_params] || {}
|
@@ -9269,8 +10034,14 @@ module XeroRuby
|
|
9269
10034
|
# resource path
|
9270
10035
|
local_var_path = '/Invoices/{InvoiceID}/OnlineInvoice'.sub('{' + 'InvoiceID' + '}', invoice_id.to_s)
|
9271
10036
|
|
10037
|
+
# camelize keys of incoming `where` opts
|
10038
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
9272
10039
|
# query parameters
|
9273
10040
|
query_params = opts[:query_params] || {}
|
10041
|
+
|
10042
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
10043
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
10044
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
9274
10045
|
|
9275
10046
|
# header parameters
|
9276
10047
|
header_params = opts[:header_params] || {}
|
@@ -9336,8 +10107,14 @@ module XeroRuby
|
|
9336
10107
|
# resource path
|
9337
10108
|
local_var_path = '/Organisation/{OrganisationID}/CISSettings'.sub('{' + 'OrganisationID' + '}', organisation_id.to_s)
|
9338
10109
|
|
10110
|
+
# camelize keys of incoming `where` opts
|
10111
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
9339
10112
|
# query parameters
|
9340
10113
|
query_params = opts[:query_params] || {}
|
10114
|
+
|
10115
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
10116
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
10117
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
9341
10118
|
|
9342
10119
|
# header parameters
|
9343
10120
|
header_params = opts[:header_params] || {}
|
@@ -9397,8 +10174,14 @@ module XeroRuby
|
|
9397
10174
|
# resource path
|
9398
10175
|
local_var_path = '/Organisation'
|
9399
10176
|
|
10177
|
+
# camelize keys of incoming `where` opts
|
10178
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
9400
10179
|
# query parameters
|
9401
10180
|
query_params = opts[:query_params] || {}
|
10181
|
+
|
10182
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
10183
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
10184
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
9402
10185
|
|
9403
10186
|
# header parameters
|
9404
10187
|
header_params = opts[:header_params] || {}
|
@@ -9464,8 +10247,14 @@ module XeroRuby
|
|
9464
10247
|
# resource path
|
9465
10248
|
local_var_path = '/Overpayments/{OverpaymentID}'.sub('{' + 'OverpaymentID' + '}', overpayment_id.to_s)
|
9466
10249
|
|
10250
|
+
# camelize keys of incoming `where` opts
|
10251
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
9467
10252
|
# query parameters
|
9468
10253
|
query_params = opts[:query_params] || {}
|
10254
|
+
|
10255
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
10256
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
10257
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
9469
10258
|
|
9470
10259
|
# header parameters
|
9471
10260
|
header_params = opts[:header_params] || {}
|
@@ -9531,8 +10320,14 @@ module XeroRuby
|
|
9531
10320
|
# resource path
|
9532
10321
|
local_var_path = '/Overpayments/{OverpaymentID}/History'.sub('{' + 'OverpaymentID' + '}', overpayment_id.to_s)
|
9533
10322
|
|
10323
|
+
# camelize keys of incoming `where` opts
|
10324
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
9534
10325
|
# query parameters
|
9535
10326
|
query_params = opts[:query_params] || {}
|
10327
|
+
|
10328
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
10329
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
10330
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
9536
10331
|
|
9537
10332
|
# header parameters
|
9538
10333
|
header_params = opts[:header_params] || {}
|
@@ -9602,12 +10397,18 @@ module XeroRuby
|
|
9602
10397
|
# resource path
|
9603
10398
|
local_var_path = '/Overpayments'
|
9604
10399
|
|
10400
|
+
# camelize keys of incoming `where` opts
|
10401
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
9605
10402
|
# query parameters
|
9606
10403
|
query_params = opts[:query_params] || {}
|
9607
10404
|
query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
|
9608
10405
|
query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
|
9609
10406
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
9610
10407
|
query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
|
10408
|
+
|
10409
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
10410
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
10411
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
9611
10412
|
|
9612
10413
|
# header parameters
|
9613
10414
|
header_params = opts[:header_params] || {}
|
@@ -9674,8 +10475,14 @@ module XeroRuby
|
|
9674
10475
|
# resource path
|
9675
10476
|
local_var_path = '/Payments/{PaymentID}'.sub('{' + 'PaymentID' + '}', payment_id.to_s)
|
9676
10477
|
|
10478
|
+
# camelize keys of incoming `where` opts
|
10479
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
9677
10480
|
# query parameters
|
9678
10481
|
query_params = opts[:query_params] || {}
|
10482
|
+
|
10483
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
10484
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
10485
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
9679
10486
|
|
9680
10487
|
# header parameters
|
9681
10488
|
header_params = opts[:header_params] || {}
|
@@ -9741,8 +10548,14 @@ module XeroRuby
|
|
9741
10548
|
# resource path
|
9742
10549
|
local_var_path = '/Payments/{PaymentID}/History'.sub('{' + 'PaymentID' + '}', payment_id.to_s)
|
9743
10550
|
|
10551
|
+
# camelize keys of incoming `where` opts
|
10552
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
9744
10553
|
# query parameters
|
9745
10554
|
query_params = opts[:query_params] || {}
|
10555
|
+
|
10556
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
10557
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
10558
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
9746
10559
|
|
9747
10560
|
# header parameters
|
9748
10561
|
header_params = opts[:header_params] || {}
|
@@ -9802,8 +10615,14 @@ module XeroRuby
|
|
9802
10615
|
# resource path
|
9803
10616
|
local_var_path = '/PaymentServices'
|
9804
10617
|
|
10618
|
+
# camelize keys of incoming `where` opts
|
10619
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
9805
10620
|
# query parameters
|
9806
10621
|
query_params = opts[:query_params] || {}
|
10622
|
+
|
10623
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
10624
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
10625
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
9807
10626
|
|
9808
10627
|
# header parameters
|
9809
10628
|
header_params = opts[:header_params] || {}
|
@@ -9871,11 +10690,17 @@ module XeroRuby
|
|
9871
10690
|
# resource path
|
9872
10691
|
local_var_path = '/Payments'
|
9873
10692
|
|
10693
|
+
# camelize keys of incoming `where` opts
|
10694
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
9874
10695
|
# query parameters
|
9875
10696
|
query_params = opts[:query_params] || {}
|
9876
10697
|
query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
|
9877
10698
|
query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
|
9878
10699
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
10700
|
+
|
10701
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
10702
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
10703
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
9879
10704
|
|
9880
10705
|
# header parameters
|
9881
10706
|
header_params = opts[:header_params] || {}
|
@@ -9942,8 +10767,14 @@ module XeroRuby
|
|
9942
10767
|
# resource path
|
9943
10768
|
local_var_path = '/Prepayments/{PrepaymentID}'.sub('{' + 'PrepaymentID' + '}', prepayment_id.to_s)
|
9944
10769
|
|
10770
|
+
# camelize keys of incoming `where` opts
|
10771
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
9945
10772
|
# query parameters
|
9946
10773
|
query_params = opts[:query_params] || {}
|
10774
|
+
|
10775
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
10776
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
10777
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
9947
10778
|
|
9948
10779
|
# header parameters
|
9949
10780
|
header_params = opts[:header_params] || {}
|
@@ -10009,8 +10840,14 @@ module XeroRuby
|
|
10009
10840
|
# resource path
|
10010
10841
|
local_var_path = '/Prepayments/{PrepaymentID}/History'.sub('{' + 'PrepaymentID' + '}', prepayment_id.to_s)
|
10011
10842
|
|
10843
|
+
# camelize keys of incoming `where` opts
|
10844
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
10012
10845
|
# query parameters
|
10013
10846
|
query_params = opts[:query_params] || {}
|
10847
|
+
|
10848
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
10849
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
10850
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
10014
10851
|
|
10015
10852
|
# header parameters
|
10016
10853
|
header_params = opts[:header_params] || {}
|
@@ -10080,12 +10917,18 @@ module XeroRuby
|
|
10080
10917
|
# resource path
|
10081
10918
|
local_var_path = '/Prepayments'
|
10082
10919
|
|
10920
|
+
# camelize keys of incoming `where` opts
|
10921
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
10083
10922
|
# query parameters
|
10084
10923
|
query_params = opts[:query_params] || {}
|
10085
10924
|
query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
|
10086
10925
|
query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
|
10087
10926
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
10088
10927
|
query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
|
10928
|
+
|
10929
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
10930
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
10931
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
10089
10932
|
|
10090
10933
|
# header parameters
|
10091
10934
|
header_params = opts[:header_params] || {}
|
@@ -10152,8 +10995,14 @@ module XeroRuby
|
|
10152
10995
|
# resource path
|
10153
10996
|
local_var_path = '/PurchaseOrders/{PurchaseOrderID}'.sub('{' + 'PurchaseOrderID' + '}', purchase_order_id.to_s)
|
10154
10997
|
|
10998
|
+
# camelize keys of incoming `where` opts
|
10999
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
10155
11000
|
# query parameters
|
10156
11001
|
query_params = opts[:query_params] || {}
|
11002
|
+
|
11003
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
11004
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
11005
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
10157
11006
|
|
10158
11007
|
# header parameters
|
10159
11008
|
header_params = opts[:header_params] || {}
|
@@ -10219,8 +11068,14 @@ module XeroRuby
|
|
10219
11068
|
# resource path
|
10220
11069
|
local_var_path = '/PurchaseOrders/{PurchaseOrderID}'.sub('{' + 'PurchaseOrderID' + '}', purchase_order_id.to_s)
|
10221
11070
|
|
11071
|
+
# camelize keys of incoming `where` opts
|
11072
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
10222
11073
|
# query parameters
|
10223
11074
|
query_params = opts[:query_params] || {}
|
11075
|
+
|
11076
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
11077
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
11078
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
10224
11079
|
|
10225
11080
|
# header parameters
|
10226
11081
|
header_params = opts[:header_params] || {}
|
@@ -10286,8 +11141,14 @@ module XeroRuby
|
|
10286
11141
|
# resource path
|
10287
11142
|
local_var_path = '/PurchaseOrders/{PurchaseOrderNumber}'.sub('{' + 'PurchaseOrderNumber' + '}', purchase_order_number.to_s)
|
10288
11143
|
|
11144
|
+
# camelize keys of incoming `where` opts
|
11145
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
10289
11146
|
# query parameters
|
10290
11147
|
query_params = opts[:query_params] || {}
|
11148
|
+
|
11149
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
11150
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
11151
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
10291
11152
|
|
10292
11153
|
# header parameters
|
10293
11154
|
header_params = opts[:header_params] || {}
|
@@ -10353,8 +11214,14 @@ module XeroRuby
|
|
10353
11214
|
# resource path
|
10354
11215
|
local_var_path = '/PurchaseOrders/{PurchaseOrderID}/History'.sub('{' + 'PurchaseOrderID' + '}', purchase_order_id.to_s)
|
10355
11216
|
|
11217
|
+
# camelize keys of incoming `where` opts
|
11218
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
10356
11219
|
# query parameters
|
10357
11220
|
query_params = opts[:query_params] || {}
|
11221
|
+
|
11222
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
11223
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
11224
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
10358
11225
|
|
10359
11226
|
# header parameters
|
10360
11227
|
header_params = opts[:header_params] || {}
|
@@ -10430,6 +11297,8 @@ module XeroRuby
|
|
10430
11297
|
# resource path
|
10431
11298
|
local_var_path = '/PurchaseOrders'
|
10432
11299
|
|
11300
|
+
# camelize keys of incoming `where` opts
|
11301
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
10433
11302
|
# query parameters
|
10434
11303
|
query_params = opts[:query_params] || {}
|
10435
11304
|
query_params[:'Status'] = opts[:'status'] if !opts[:'status'].nil?
|
@@ -10437,6 +11306,10 @@ module XeroRuby
|
|
10437
11306
|
query_params[:'DateTo'] = opts[:'date_to'] if !opts[:'date_to'].nil?
|
10438
11307
|
query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
|
10439
11308
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
11309
|
+
|
11310
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
11311
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
11312
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
10440
11313
|
|
10441
11314
|
# header parameters
|
10442
11315
|
header_params = opts[:header_params] || {}
|
@@ -10503,8 +11376,14 @@ module XeroRuby
|
|
10503
11376
|
# resource path
|
10504
11377
|
local_var_path = '/Quotes/{QuoteID}'.sub('{' + 'QuoteID' + '}', quote_id.to_s)
|
10505
11378
|
|
11379
|
+
# camelize keys of incoming `where` opts
|
11380
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
10506
11381
|
# query parameters
|
10507
11382
|
query_params = opts[:query_params] || {}
|
11383
|
+
|
11384
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
11385
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
11386
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
10508
11387
|
|
10509
11388
|
# header parameters
|
10510
11389
|
header_params = opts[:header_params] || {}
|
@@ -10570,8 +11449,14 @@ module XeroRuby
|
|
10570
11449
|
# resource path
|
10571
11450
|
local_var_path = '/Quotes/{QuoteID}'.sub('{' + 'QuoteID' + '}', quote_id.to_s)
|
10572
11451
|
|
11452
|
+
# camelize keys of incoming `where` opts
|
11453
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
10573
11454
|
# query parameters
|
10574
11455
|
query_params = opts[:query_params] || {}
|
11456
|
+
|
11457
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
11458
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
11459
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
10575
11460
|
|
10576
11461
|
# header parameters
|
10577
11462
|
header_params = opts[:header_params] || {}
|
@@ -10649,8 +11534,14 @@ module XeroRuby
|
|
10649
11534
|
# resource path
|
10650
11535
|
local_var_path = '/Quotes/{QuoteID}/Attachments/{FileName}'.sub('{' + 'QuoteID' + '}', quote_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
10651
11536
|
|
11537
|
+
# camelize keys of incoming `where` opts
|
11538
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
10652
11539
|
# query parameters
|
10653
11540
|
query_params = opts[:query_params] || {}
|
11541
|
+
|
11542
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
11543
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
11544
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
10654
11545
|
|
10655
11546
|
# header parameters
|
10656
11547
|
header_params = opts[:header_params] || {}
|
@@ -10729,8 +11620,14 @@ module XeroRuby
|
|
10729
11620
|
# resource path
|
10730
11621
|
local_var_path = '/Quotes/{QuoteID}/Attachments/{AttachmentID}'.sub('{' + 'QuoteID' + '}', quote_id.to_s).sub('{' + 'AttachmentID' + '}', attachment_id.to_s)
|
10731
11622
|
|
11623
|
+
# camelize keys of incoming `where` opts
|
11624
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
10732
11625
|
# query parameters
|
10733
11626
|
query_params = opts[:query_params] || {}
|
11627
|
+
|
11628
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
11629
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
11630
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
10734
11631
|
|
10735
11632
|
# header parameters
|
10736
11633
|
header_params = opts[:header_params] || {}
|
@@ -10797,8 +11694,14 @@ module XeroRuby
|
|
10797
11694
|
# resource path
|
10798
11695
|
local_var_path = '/Quotes/{QuoteID}/Attachments'.sub('{' + 'QuoteID' + '}', quote_id.to_s)
|
10799
11696
|
|
11697
|
+
# camelize keys of incoming `where` opts
|
11698
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
10800
11699
|
# query parameters
|
10801
11700
|
query_params = opts[:query_params] || {}
|
11701
|
+
|
11702
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
11703
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
11704
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
10802
11705
|
|
10803
11706
|
# header parameters
|
10804
11707
|
header_params = opts[:header_params] || {}
|
@@ -10864,8 +11767,14 @@ module XeroRuby
|
|
10864
11767
|
# resource path
|
10865
11768
|
local_var_path = '/Quotes/{QuoteID}/History'.sub('{' + 'QuoteID' + '}', quote_id.to_s)
|
10866
11769
|
|
11770
|
+
# camelize keys of incoming `where` opts
|
11771
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
10867
11772
|
# query parameters
|
10868
11773
|
query_params = opts[:query_params] || {}
|
11774
|
+
|
11775
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
11776
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
11777
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
10869
11778
|
|
10870
11779
|
# header parameters
|
10871
11780
|
header_params = opts[:header_params] || {}
|
@@ -10943,6 +11852,8 @@ module XeroRuby
|
|
10943
11852
|
# resource path
|
10944
11853
|
local_var_path = '/Quotes'
|
10945
11854
|
|
11855
|
+
# camelize keys of incoming `where` opts
|
11856
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
10946
11857
|
# query parameters
|
10947
11858
|
query_params = opts[:query_params] || {}
|
10948
11859
|
query_params[:'DateFrom'] = opts[:'date_from'] if !opts[:'date_from'].nil?
|
@@ -10953,6 +11864,10 @@ module XeroRuby
|
|
10953
11864
|
query_params[:'Status'] = opts[:'status'] if !opts[:'status'].nil?
|
10954
11865
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
10955
11866
|
query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
|
11867
|
+
|
11868
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
11869
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
11870
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
10956
11871
|
|
10957
11872
|
# header parameters
|
10958
11873
|
header_params = opts[:header_params] || {}
|
@@ -11021,9 +11936,15 @@ module XeroRuby
|
|
11021
11936
|
# resource path
|
11022
11937
|
local_var_path = '/Receipts/{ReceiptID}'.sub('{' + 'ReceiptID' + '}', receipt_id.to_s)
|
11023
11938
|
|
11939
|
+
# camelize keys of incoming `where` opts
|
11940
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
11024
11941
|
# query parameters
|
11025
11942
|
query_params = opts[:query_params] || {}
|
11026
11943
|
query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
|
11944
|
+
|
11945
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
11946
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
11947
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
11027
11948
|
|
11028
11949
|
# header parameters
|
11029
11950
|
header_params = opts[:header_params] || {}
|
@@ -11101,8 +12022,14 @@ module XeroRuby
|
|
11101
12022
|
# resource path
|
11102
12023
|
local_var_path = '/Receipts/{ReceiptID}/Attachments/{FileName}'.sub('{' + 'ReceiptID' + '}', receipt_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
11103
12024
|
|
12025
|
+
# camelize keys of incoming `where` opts
|
12026
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
11104
12027
|
# query parameters
|
11105
12028
|
query_params = opts[:query_params] || {}
|
12029
|
+
|
12030
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
12031
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
12032
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
11106
12033
|
|
11107
12034
|
# header parameters
|
11108
12035
|
header_params = opts[:header_params] || {}
|
@@ -11181,8 +12108,14 @@ module XeroRuby
|
|
11181
12108
|
# resource path
|
11182
12109
|
local_var_path = '/Receipts/{ReceiptID}/Attachments/{AttachmentID}'.sub('{' + 'ReceiptID' + '}', receipt_id.to_s).sub('{' + 'AttachmentID' + '}', attachment_id.to_s)
|
11183
12110
|
|
12111
|
+
# camelize keys of incoming `where` opts
|
12112
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
11184
12113
|
# query parameters
|
11185
12114
|
query_params = opts[:query_params] || {}
|
12115
|
+
|
12116
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
12117
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
12118
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
11186
12119
|
|
11187
12120
|
# header parameters
|
11188
12121
|
header_params = opts[:header_params] || {}
|
@@ -11249,8 +12182,14 @@ module XeroRuby
|
|
11249
12182
|
# resource path
|
11250
12183
|
local_var_path = '/Receipts/{ReceiptID}/Attachments'.sub('{' + 'ReceiptID' + '}', receipt_id.to_s)
|
11251
12184
|
|
12185
|
+
# camelize keys of incoming `where` opts
|
12186
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
11252
12187
|
# query parameters
|
11253
12188
|
query_params = opts[:query_params] || {}
|
12189
|
+
|
12190
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
12191
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
12192
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
11254
12193
|
|
11255
12194
|
# header parameters
|
11256
12195
|
header_params = opts[:header_params] || {}
|
@@ -11316,8 +12255,14 @@ module XeroRuby
|
|
11316
12255
|
# resource path
|
11317
12256
|
local_var_path = '/Receipts/{ReceiptID}/History'.sub('{' + 'ReceiptID' + '}', receipt_id.to_s)
|
11318
12257
|
|
12258
|
+
# camelize keys of incoming `where` opts
|
12259
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
11319
12260
|
# query parameters
|
11320
12261
|
query_params = opts[:query_params] || {}
|
12262
|
+
|
12263
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
12264
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
12265
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
11321
12266
|
|
11322
12267
|
# header parameters
|
11323
12268
|
header_params = opts[:header_params] || {}
|
@@ -11385,11 +12330,17 @@ module XeroRuby
|
|
11385
12330
|
# resource path
|
11386
12331
|
local_var_path = '/Receipts'
|
11387
12332
|
|
12333
|
+
# camelize keys of incoming `where` opts
|
12334
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
11388
12335
|
# query parameters
|
11389
12336
|
query_params = opts[:query_params] || {}
|
11390
12337
|
query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
|
11391
12338
|
query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
|
11392
12339
|
query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
|
12340
|
+
|
12341
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
12342
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
12343
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
11393
12344
|
|
11394
12345
|
# header parameters
|
11395
12346
|
header_params = opts[:header_params] || {}
|
@@ -11456,8 +12407,14 @@ module XeroRuby
|
|
11456
12407
|
# resource path
|
11457
12408
|
local_var_path = '/RepeatingInvoices/{RepeatingInvoiceID}'.sub('{' + 'RepeatingInvoiceID' + '}', repeating_invoice_id.to_s)
|
11458
12409
|
|
12410
|
+
# camelize keys of incoming `where` opts
|
12411
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
11459
12412
|
# query parameters
|
11460
12413
|
query_params = opts[:query_params] || {}
|
12414
|
+
|
12415
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
12416
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
12417
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
11461
12418
|
|
11462
12419
|
# header parameters
|
11463
12420
|
header_params = opts[:header_params] || {}
|
@@ -11535,8 +12492,14 @@ module XeroRuby
|
|
11535
12492
|
# resource path
|
11536
12493
|
local_var_path = '/RepeatingInvoices/{RepeatingInvoiceID}/Attachments/{FileName}'.sub('{' + 'RepeatingInvoiceID' + '}', repeating_invoice_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
11537
12494
|
|
12495
|
+
# camelize keys of incoming `where` opts
|
12496
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
11538
12497
|
# query parameters
|
11539
12498
|
query_params = opts[:query_params] || {}
|
12499
|
+
|
12500
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
12501
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
12502
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
11540
12503
|
|
11541
12504
|
# header parameters
|
11542
12505
|
header_params = opts[:header_params] || {}
|
@@ -11615,8 +12578,14 @@ module XeroRuby
|
|
11615
12578
|
# resource path
|
11616
12579
|
local_var_path = '/RepeatingInvoices/{RepeatingInvoiceID}/Attachments/{AttachmentID}'.sub('{' + 'RepeatingInvoiceID' + '}', repeating_invoice_id.to_s).sub('{' + 'AttachmentID' + '}', attachment_id.to_s)
|
11617
12580
|
|
12581
|
+
# camelize keys of incoming `where` opts
|
12582
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
11618
12583
|
# query parameters
|
11619
12584
|
query_params = opts[:query_params] || {}
|
12585
|
+
|
12586
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
12587
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
12588
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
11620
12589
|
|
11621
12590
|
# header parameters
|
11622
12591
|
header_params = opts[:header_params] || {}
|
@@ -11683,8 +12652,14 @@ module XeroRuby
|
|
11683
12652
|
# resource path
|
11684
12653
|
local_var_path = '/RepeatingInvoices/{RepeatingInvoiceID}/Attachments'.sub('{' + 'RepeatingInvoiceID' + '}', repeating_invoice_id.to_s)
|
11685
12654
|
|
12655
|
+
# camelize keys of incoming `where` opts
|
12656
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
11686
12657
|
# query parameters
|
11687
12658
|
query_params = opts[:query_params] || {}
|
12659
|
+
|
12660
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
12661
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
12662
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
11688
12663
|
|
11689
12664
|
# header parameters
|
11690
12665
|
header_params = opts[:header_params] || {}
|
@@ -11750,8 +12725,14 @@ module XeroRuby
|
|
11750
12725
|
# resource path
|
11751
12726
|
local_var_path = '/RepeatingInvoices/{RepeatingInvoiceID}/History'.sub('{' + 'RepeatingInvoiceID' + '}', repeating_invoice_id.to_s)
|
11752
12727
|
|
12728
|
+
# camelize keys of incoming `where` opts
|
12729
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
11753
12730
|
# query parameters
|
11754
12731
|
query_params = opts[:query_params] || {}
|
12732
|
+
|
12733
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
12734
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
12735
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
11755
12736
|
|
11756
12737
|
# header parameters
|
11757
12738
|
header_params = opts[:header_params] || {}
|
@@ -11815,10 +12796,16 @@ module XeroRuby
|
|
11815
12796
|
# resource path
|
11816
12797
|
local_var_path = '/RepeatingInvoices'
|
11817
12798
|
|
12799
|
+
# camelize keys of incoming `where` opts
|
12800
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
11818
12801
|
# query parameters
|
11819
12802
|
query_params = opts[:query_params] || {}
|
11820
12803
|
query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
|
11821
12804
|
query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
|
12805
|
+
|
12806
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
12807
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
12808
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
11822
12809
|
|
11823
12810
|
# header parameters
|
11824
12811
|
header_params = opts[:header_params] || {}
|
@@ -11890,12 +12877,18 @@ module XeroRuby
|
|
11890
12877
|
# resource path
|
11891
12878
|
local_var_path = '/Reports/AgedPayablesByContact'
|
11892
12879
|
|
12880
|
+
# camelize keys of incoming `where` opts
|
12881
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
11893
12882
|
# query parameters
|
11894
12883
|
query_params = opts[:query_params] || {}
|
11895
12884
|
query_params[:'contactId'] = contact_id
|
11896
12885
|
query_params[:'date'] = opts[:'date'] if !opts[:'date'].nil?
|
11897
12886
|
query_params[:'fromDate'] = opts[:'from_date'] if !opts[:'from_date'].nil?
|
11898
12887
|
query_params[:'toDate'] = opts[:'to_date'] if !opts[:'to_date'].nil?
|
12888
|
+
|
12889
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
12890
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
12891
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
11899
12892
|
|
11900
12893
|
# header parameters
|
11901
12894
|
header_params = opts[:header_params] || {}
|
@@ -11967,12 +12960,18 @@ module XeroRuby
|
|
11967
12960
|
# resource path
|
11968
12961
|
local_var_path = '/Reports/AgedReceivablesByContact'
|
11969
12962
|
|
12963
|
+
# camelize keys of incoming `where` opts
|
12964
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
11970
12965
|
# query parameters
|
11971
12966
|
query_params = opts[:query_params] || {}
|
11972
12967
|
query_params[:'contactId'] = contact_id
|
11973
12968
|
query_params[:'date'] = opts[:'date'] if !opts[:'date'].nil?
|
11974
12969
|
query_params[:'fromDate'] = opts[:'from_date'] if !opts[:'from_date'].nil?
|
11975
12970
|
query_params[:'toDate'] = opts[:'to_date'] if !opts[:'to_date'].nil?
|
12971
|
+
|
12972
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
12973
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
12974
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
11976
12975
|
|
11977
12976
|
# header parameters
|
11978
12977
|
header_params = opts[:header_params] || {}
|
@@ -12038,8 +13037,14 @@ module XeroRuby
|
|
12038
13037
|
# resource path
|
12039
13038
|
local_var_path = '/Reports/{ReportID}'.sub('{' + 'ReportID' + '}', report_id.to_s)
|
12040
13039
|
|
13040
|
+
# camelize keys of incoming `where` opts
|
13041
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
12041
13042
|
# query parameters
|
12042
13043
|
query_params = opts[:query_params] || {}
|
13044
|
+
|
13045
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
13046
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
13047
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
12043
13048
|
|
12044
13049
|
# header parameters
|
12045
13050
|
header_params = opts[:header_params] || {}
|
@@ -12099,8 +13104,14 @@ module XeroRuby
|
|
12099
13104
|
# resource path
|
12100
13105
|
local_var_path = '/Reports'
|
12101
13106
|
|
13107
|
+
# camelize keys of incoming `where` opts
|
13108
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
12102
13109
|
# query parameters
|
12103
13110
|
query_params = opts[:query_params] || {}
|
13111
|
+
|
13112
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
13113
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
13114
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
12104
13115
|
|
12105
13116
|
# header parameters
|
12106
13117
|
header_params = opts[:header_params] || {}
|
@@ -12178,6 +13189,8 @@ module XeroRuby
|
|
12178
13189
|
# resource path
|
12179
13190
|
local_var_path = '/Reports/BalanceSheet'
|
12180
13191
|
|
13192
|
+
# camelize keys of incoming `where` opts
|
13193
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
12181
13194
|
# query parameters
|
12182
13195
|
query_params = opts[:query_params] || {}
|
12183
13196
|
query_params[:'date'] = opts[:'date'] if !opts[:'date'].nil?
|
@@ -12187,6 +13200,10 @@ module XeroRuby
|
|
12187
13200
|
query_params[:'trackingOptionID2'] = opts[:'tracking_option_id2'] if !opts[:'tracking_option_id2'].nil?
|
12188
13201
|
query_params[:'standardLayout'] = opts[:'standard_layout'] if !opts[:'standard_layout'].nil?
|
12189
13202
|
query_params[:'paymentsOnly'] = opts[:'payments_only'] if !opts[:'payments_only'].nil?
|
13203
|
+
|
13204
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
13205
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
13206
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
12190
13207
|
|
12191
13208
|
# header parameters
|
12192
13209
|
header_params = opts[:header_params] || {}
|
@@ -12250,10 +13267,16 @@ module XeroRuby
|
|
12250
13267
|
# resource path
|
12251
13268
|
local_var_path = '/Reports/BankSummary'
|
12252
13269
|
|
13270
|
+
# camelize keys of incoming `where` opts
|
13271
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
12253
13272
|
# query parameters
|
12254
13273
|
query_params = opts[:query_params] || {}
|
12255
13274
|
query_params[:'fromDate'] = opts[:'from_date'] if !opts[:'from_date'].nil?
|
12256
13275
|
query_params[:'toDate'] = opts[:'to_date'] if !opts[:'to_date'].nil?
|
13276
|
+
|
13277
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
13278
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
13279
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
12257
13280
|
|
12258
13281
|
# header parameters
|
12259
13282
|
header_params = opts[:header_params] || {}
|
@@ -12319,11 +13342,17 @@ module XeroRuby
|
|
12319
13342
|
# resource path
|
12320
13343
|
local_var_path = '/Reports/BudgetSummary'
|
12321
13344
|
|
13345
|
+
# camelize keys of incoming `where` opts
|
13346
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
12322
13347
|
# query parameters
|
12323
13348
|
query_params = opts[:query_params] || {}
|
12324
13349
|
query_params[:'date'] = opts[:'date'] if !opts[:'date'].nil?
|
12325
13350
|
query_params[:'period'] = opts[:'period'] if !opts[:'period'].nil?
|
12326
13351
|
query_params[:'timeframe'] = opts[:'timeframe'] if !opts[:'timeframe'].nil?
|
13352
|
+
|
13353
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
13354
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
13355
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
12327
13356
|
|
12328
13357
|
# header parameters
|
12329
13358
|
header_params = opts[:header_params] || {}
|
@@ -12385,9 +13414,15 @@ module XeroRuby
|
|
12385
13414
|
# resource path
|
12386
13415
|
local_var_path = '/Reports/ExecutiveSummary'
|
12387
13416
|
|
13417
|
+
# camelize keys of incoming `where` opts
|
13418
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
12388
13419
|
# query parameters
|
12389
13420
|
query_params = opts[:query_params] || {}
|
12390
13421
|
query_params[:'date'] = opts[:'date'] if !opts[:'date'].nil?
|
13422
|
+
|
13423
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
13424
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
13425
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
12391
13426
|
|
12392
13427
|
# header parameters
|
12393
13428
|
header_params = opts[:header_params] || {}
|
@@ -12471,6 +13506,8 @@ module XeroRuby
|
|
12471
13506
|
# resource path
|
12472
13507
|
local_var_path = '/Reports/ProfitAndLoss'
|
12473
13508
|
|
13509
|
+
# camelize keys of incoming `where` opts
|
13510
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
12474
13511
|
# query parameters
|
12475
13512
|
query_params = opts[:query_params] || {}
|
12476
13513
|
query_params[:'fromDate'] = opts[:'from_date'] if !opts[:'from_date'].nil?
|
@@ -12483,6 +13520,10 @@ module XeroRuby
|
|
12483
13520
|
query_params[:'trackingOptionID2'] = opts[:'tracking_option_id2'] if !opts[:'tracking_option_id2'].nil?
|
12484
13521
|
query_params[:'standardLayout'] = opts[:'standard_layout'] if !opts[:'standard_layout'].nil?
|
12485
13522
|
query_params[:'paymentsOnly'] = opts[:'payments_only'] if !opts[:'payments_only'].nil?
|
13523
|
+
|
13524
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
13525
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
13526
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
12486
13527
|
|
12487
13528
|
# header parameters
|
12488
13529
|
header_params = opts[:header_params] || {}
|
@@ -12544,9 +13585,15 @@ module XeroRuby
|
|
12544
13585
|
# resource path
|
12545
13586
|
local_var_path = '/Reports/TenNinetyNine'
|
12546
13587
|
|
13588
|
+
# camelize keys of incoming `where` opts
|
13589
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
12547
13590
|
# query parameters
|
12548
13591
|
query_params = opts[:query_params] || {}
|
12549
13592
|
query_params[:'reportYear'] = opts[:'report_year'] if !opts[:'report_year'].nil?
|
13593
|
+
|
13594
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
13595
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
13596
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
12550
13597
|
|
12551
13598
|
# header parameters
|
12552
13599
|
header_params = opts[:header_params] || {}
|
@@ -12610,10 +13657,16 @@ module XeroRuby
|
|
12610
13657
|
# resource path
|
12611
13658
|
local_var_path = '/Reports/TrialBalance'
|
12612
13659
|
|
13660
|
+
# camelize keys of incoming `where` opts
|
13661
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
12613
13662
|
# query parameters
|
12614
13663
|
query_params = opts[:query_params] || {}
|
12615
13664
|
query_params[:'date'] = opts[:'date'] if !opts[:'date'].nil?
|
12616
13665
|
query_params[:'paymentsOnly'] = opts[:'payments_only'] if !opts[:'payments_only'].nil?
|
13666
|
+
|
13667
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
13668
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
13669
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
12617
13670
|
|
12618
13671
|
# header parameters
|
12619
13672
|
header_params = opts[:header_params] || {}
|
@@ -12679,11 +13732,17 @@ module XeroRuby
|
|
12679
13732
|
# resource path
|
12680
13733
|
local_var_path = '/TaxRates'
|
12681
13734
|
|
13735
|
+
# camelize keys of incoming `where` opts
|
13736
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
12682
13737
|
# query parameters
|
12683
13738
|
query_params = opts[:query_params] || {}
|
12684
13739
|
query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
|
12685
13740
|
query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
|
12686
13741
|
query_params[:'TaxType'] = opts[:'tax_type'] if !opts[:'tax_type'].nil?
|
13742
|
+
|
13743
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
13744
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
13745
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
12687
13746
|
|
12688
13747
|
# header parameters
|
12689
13748
|
header_params = opts[:header_params] || {}
|
@@ -12749,11 +13808,17 @@ module XeroRuby
|
|
12749
13808
|
# resource path
|
12750
13809
|
local_var_path = '/TrackingCategories'
|
12751
13810
|
|
13811
|
+
# camelize keys of incoming `where` opts
|
13812
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
12752
13813
|
# query parameters
|
12753
13814
|
query_params = opts[:query_params] || {}
|
12754
13815
|
query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
|
12755
13816
|
query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
|
12756
13817
|
query_params[:'includeArchived'] = opts[:'include_archived'] if !opts[:'include_archived'].nil?
|
13818
|
+
|
13819
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
13820
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
13821
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
12757
13822
|
|
12758
13823
|
# header parameters
|
12759
13824
|
header_params = opts[:header_params] || {}
|
@@ -12819,8 +13884,14 @@ module XeroRuby
|
|
12819
13884
|
# resource path
|
12820
13885
|
local_var_path = '/TrackingCategories/{TrackingCategoryID}'.sub('{' + 'TrackingCategoryID' + '}', tracking_category_id.to_s)
|
12821
13886
|
|
13887
|
+
# camelize keys of incoming `where` opts
|
13888
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
12822
13889
|
# query parameters
|
12823
13890
|
query_params = opts[:query_params] || {}
|
13891
|
+
|
13892
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
13893
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
13894
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
12824
13895
|
|
12825
13896
|
# header parameters
|
12826
13897
|
header_params = opts[:header_params] || {}
|
@@ -12886,8 +13957,14 @@ module XeroRuby
|
|
12886
13957
|
# resource path
|
12887
13958
|
local_var_path = '/Users/{UserID}'.sub('{' + 'UserID' + '}', user_id.to_s)
|
12888
13959
|
|
13960
|
+
# camelize keys of incoming `where` opts
|
13961
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
12889
13962
|
# query parameters
|
12890
13963
|
query_params = opts[:query_params] || {}
|
13964
|
+
|
13965
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
13966
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
13967
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
12891
13968
|
|
12892
13969
|
# header parameters
|
12893
13970
|
header_params = opts[:header_params] || {}
|
@@ -12953,10 +14030,16 @@ module XeroRuby
|
|
12953
14030
|
# resource path
|
12954
14031
|
local_var_path = '/Users'
|
12955
14032
|
|
14033
|
+
# camelize keys of incoming `where` opts
|
14034
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
12956
14035
|
# query parameters
|
12957
14036
|
query_params = opts[:query_params] || {}
|
12958
14037
|
query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
|
12959
14038
|
query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
|
14039
|
+
|
14040
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
14041
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
14042
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
12960
14043
|
|
12961
14044
|
# header parameters
|
12962
14045
|
header_params = opts[:header_params] || {}
|
@@ -13029,8 +14112,14 @@ module XeroRuby
|
|
13029
14112
|
# resource path
|
13030
14113
|
local_var_path = '/Accounts/{AccountID}'.sub('{' + 'AccountID' + '}', account_id.to_s)
|
13031
14114
|
|
14115
|
+
# camelize keys of incoming `where` opts
|
14116
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
13032
14117
|
# query parameters
|
13033
14118
|
query_params = opts[:query_params] || {}
|
14119
|
+
|
14120
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
14121
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
14122
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
13034
14123
|
|
13035
14124
|
# header parameters
|
13036
14125
|
header_params = opts[:header_params] || {}
|
@@ -13110,8 +14199,14 @@ module XeroRuby
|
|
13110
14199
|
# resource path
|
13111
14200
|
local_var_path = '/Accounts/{AccountID}/Attachments/{FileName}'.sub('{' + 'AccountID' + '}', account_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
13112
14201
|
|
14202
|
+
# camelize keys of incoming `where` opts
|
14203
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
13113
14204
|
# query parameters
|
13114
14205
|
query_params = opts[:query_params] || {}
|
14206
|
+
|
14207
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
14208
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
14209
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
13115
14210
|
|
13116
14211
|
# header parameters
|
13117
14212
|
header_params = opts[:header_params] || {}
|
@@ -13149,20 +14244,26 @@ module XeroRuby
|
|
13149
14244
|
return data, status_code, headers
|
13150
14245
|
end
|
13151
14246
|
|
14247
|
+
# Allows you to update a single spend or receive money transaction
|
13152
14248
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
14249
|
+
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
13153
14250
|
# @param bank_transactions [BankTransactions]
|
13154
14251
|
# @param [Hash] opts the optional parameters
|
14252
|
+
# @option opts [Integer] :unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
13155
14253
|
# @return [BankTransactions]
|
13156
|
-
def update_bank_transaction(xero_tenant_id, bank_transactions, opts = {})
|
13157
|
-
data, _status_code, _headers = update_bank_transaction_with_http_info(xero_tenant_id, bank_transactions, opts)
|
14254
|
+
def update_bank_transaction(xero_tenant_id, bank_transaction_id, bank_transactions, opts = {})
|
14255
|
+
data, _status_code, _headers = update_bank_transaction_with_http_info(xero_tenant_id, bank_transaction_id, bank_transactions, opts)
|
13158
14256
|
data
|
13159
14257
|
end
|
13160
14258
|
|
14259
|
+
# Allows you to update a single spend or receive money transaction
|
13161
14260
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
14261
|
+
# @param bank_transaction_id [String] Xero generated unique identifier for a bank transaction
|
13162
14262
|
# @param bank_transactions [BankTransactions]
|
13163
14263
|
# @param [Hash] opts the optional parameters
|
14264
|
+
# @option opts [Integer] :unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
13164
14265
|
# @return [Array<(BankTransactions, Integer, Hash)>] BankTransactions data, response status code and response headers
|
13165
|
-
def update_bank_transaction_with_http_info(xero_tenant_id, bank_transactions, opts = {})
|
14266
|
+
def update_bank_transaction_with_http_info(xero_tenant_id, bank_transaction_id, bank_transactions, opts = {})
|
13166
14267
|
if @api_client.config.debugging
|
13167
14268
|
@api_client.config.logger.debug 'Calling API: AccountingApi.update_bank_transaction ...'
|
13168
14269
|
end
|
@@ -13170,15 +14271,26 @@ module XeroRuby
|
|
13170
14271
|
if @api_client.config.client_side_validation && xero_tenant_id.nil?
|
13171
14272
|
fail ArgumentError, "Missing the required parameter 'xero_tenant_id' when calling AccountingApi.update_bank_transaction"
|
13172
14273
|
end
|
14274
|
+
# verify the required parameter 'bank_transaction_id' is set
|
14275
|
+
if @api_client.config.client_side_validation && bank_transaction_id.nil?
|
14276
|
+
fail ArgumentError, "Missing the required parameter 'bank_transaction_id' when calling AccountingApi.update_bank_transaction"
|
14277
|
+
end
|
13173
14278
|
# verify the required parameter 'bank_transactions' is set
|
13174
14279
|
if @api_client.config.client_side_validation && bank_transactions.nil?
|
13175
14280
|
fail ArgumentError, "Missing the required parameter 'bank_transactions' when calling AccountingApi.update_bank_transaction"
|
13176
14281
|
end
|
13177
14282
|
# resource path
|
13178
|
-
local_var_path = '/BankTransactions/{BankTransactionID}'
|
14283
|
+
local_var_path = '/BankTransactions/{BankTransactionID}'.sub('{' + 'BankTransactionID' + '}', bank_transaction_id.to_s)
|
13179
14284
|
|
14285
|
+
# camelize keys of incoming `where` opts
|
14286
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
13180
14287
|
# query parameters
|
13181
14288
|
query_params = opts[:query_params] || {}
|
14289
|
+
query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
|
14290
|
+
|
14291
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
14292
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
14293
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
13182
14294
|
|
13183
14295
|
# header parameters
|
13184
14296
|
header_params = opts[:header_params] || {}
|
@@ -13258,8 +14370,14 @@ module XeroRuby
|
|
13258
14370
|
# resource path
|
13259
14371
|
local_var_path = '/BankTransactions/{BankTransactionID}/Attachments/{FileName}'.sub('{' + 'BankTransactionID' + '}', bank_transaction_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
13260
14372
|
|
14373
|
+
# camelize keys of incoming `where` opts
|
14374
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
13261
14375
|
# query parameters
|
13262
14376
|
query_params = opts[:query_params] || {}
|
14377
|
+
|
14378
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
14379
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
14380
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
13263
14381
|
|
13264
14382
|
# header parameters
|
13265
14383
|
header_params = opts[:header_params] || {}
|
@@ -13337,8 +14455,14 @@ module XeroRuby
|
|
13337
14455
|
# resource path
|
13338
14456
|
local_var_path = '/BankTransfers/{BankTransferID}/Attachments/{FileName}'.sub('{' + 'BankTransferID' + '}', bank_transfer_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
13339
14457
|
|
14458
|
+
# camelize keys of incoming `where` opts
|
14459
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
13340
14460
|
# query parameters
|
13341
14461
|
query_params = opts[:query_params] || {}
|
14462
|
+
|
14463
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
14464
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
14465
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
13342
14466
|
|
13343
14467
|
# header parameters
|
13344
14468
|
header_params = opts[:header_params] || {}
|
@@ -13410,8 +14534,14 @@ module XeroRuby
|
|
13410
14534
|
# resource path
|
13411
14535
|
local_var_path = '/Contacts/{ContactID}'.sub('{' + 'ContactID' + '}', contact_id.to_s)
|
13412
14536
|
|
14537
|
+
# camelize keys of incoming `where` opts
|
14538
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
13413
14539
|
# query parameters
|
13414
14540
|
query_params = opts[:query_params] || {}
|
14541
|
+
|
14542
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
14543
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
14544
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
13415
14545
|
|
13416
14546
|
# header parameters
|
13417
14547
|
header_params = opts[:header_params] || {}
|
@@ -13489,8 +14619,14 @@ module XeroRuby
|
|
13489
14619
|
# resource path
|
13490
14620
|
local_var_path = '/Contacts/{ContactID}/Attachments/{FileName}'.sub('{' + 'ContactID' + '}', contact_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
13491
14621
|
|
14622
|
+
# camelize keys of incoming `where` opts
|
14623
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
13492
14624
|
# query parameters
|
13493
14625
|
query_params = opts[:query_params] || {}
|
14626
|
+
|
14627
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
14628
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
14629
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
13494
14630
|
|
13495
14631
|
# header parameters
|
13496
14632
|
header_params = opts[:header_params] || {}
|
@@ -13564,8 +14700,14 @@ module XeroRuby
|
|
13564
14700
|
# resource path
|
13565
14701
|
local_var_path = '/ContactGroups/{ContactGroupID}'.sub('{' + 'ContactGroupID' + '}', contact_group_id.to_s)
|
13566
14702
|
|
14703
|
+
# camelize keys of incoming `where` opts
|
14704
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
13567
14705
|
# query parameters
|
13568
14706
|
query_params = opts[:query_params] || {}
|
14707
|
+
|
14708
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
14709
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
14710
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
13569
14711
|
|
13570
14712
|
# header parameters
|
13571
14713
|
header_params = opts[:header_params] || {}
|
@@ -13641,9 +14783,15 @@ module XeroRuby
|
|
13641
14783
|
# resource path
|
13642
14784
|
local_var_path = '/CreditNotes/{CreditNoteID}'.sub('{' + 'CreditNoteID' + '}', credit_note_id.to_s)
|
13643
14785
|
|
14786
|
+
# camelize keys of incoming `where` opts
|
14787
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
13644
14788
|
# query parameters
|
13645
14789
|
query_params = opts[:query_params] || {}
|
13646
14790
|
query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
|
14791
|
+
|
14792
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
14793
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
14794
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
13647
14795
|
|
13648
14796
|
# header parameters
|
13649
14797
|
header_params = opts[:header_params] || {}
|
@@ -13723,8 +14871,14 @@ module XeroRuby
|
|
13723
14871
|
# resource path
|
13724
14872
|
local_var_path = '/CreditNotes/{CreditNoteID}/Attachments/{FileName}'.sub('{' + 'CreditNoteID' + '}', credit_note_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
13725
14873
|
|
14874
|
+
# camelize keys of incoming `where` opts
|
14875
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
13726
14876
|
# query parameters
|
13727
14877
|
query_params = opts[:query_params] || {}
|
14878
|
+
|
14879
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
14880
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
14881
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
13728
14882
|
|
13729
14883
|
# header parameters
|
13730
14884
|
header_params = opts[:header_params] || {}
|
@@ -13798,8 +14952,14 @@ module XeroRuby
|
|
13798
14952
|
# resource path
|
13799
14953
|
local_var_path = '/ExpenseClaims/{ExpenseClaimID}'.sub('{' + 'ExpenseClaimID' + '}', expense_claim_id.to_s)
|
13800
14954
|
|
14955
|
+
# camelize keys of incoming `where` opts
|
14956
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
13801
14957
|
# query parameters
|
13802
14958
|
query_params = opts[:query_params] || {}
|
14959
|
+
|
14960
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
14961
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
14962
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
13803
14963
|
|
13804
14964
|
# header parameters
|
13805
14965
|
header_params = opts[:header_params] || {}
|
@@ -13875,9 +15035,15 @@ module XeroRuby
|
|
13875
15035
|
# resource path
|
13876
15036
|
local_var_path = '/Invoices/{InvoiceID}'.sub('{' + 'InvoiceID' + '}', invoice_id.to_s)
|
13877
15037
|
|
15038
|
+
# camelize keys of incoming `where` opts
|
15039
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
13878
15040
|
# query parameters
|
13879
15041
|
query_params = opts[:query_params] || {}
|
13880
15042
|
query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
|
15043
|
+
|
15044
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
15045
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
15046
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
13881
15047
|
|
13882
15048
|
# header parameters
|
13883
15049
|
header_params = opts[:header_params] || {}
|
@@ -13957,8 +15123,14 @@ module XeroRuby
|
|
13957
15123
|
# resource path
|
13958
15124
|
local_var_path = '/Invoices/{InvoiceID}/Attachments/{FileName}'.sub('{' + 'InvoiceID' + '}', invoice_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
13959
15125
|
|
15126
|
+
# camelize keys of incoming `where` opts
|
15127
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
13960
15128
|
# query parameters
|
13961
15129
|
query_params = opts[:query_params] || {}
|
15130
|
+
|
15131
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
15132
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
15133
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
13962
15134
|
|
13963
15135
|
# header parameters
|
13964
15136
|
header_params = opts[:header_params] || {}
|
@@ -14034,9 +15206,15 @@ module XeroRuby
|
|
14034
15206
|
# resource path
|
14035
15207
|
local_var_path = '/Items/{ItemID}'.sub('{' + 'ItemID' + '}', item_id.to_s)
|
14036
15208
|
|
15209
|
+
# camelize keys of incoming `where` opts
|
15210
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
14037
15211
|
# query parameters
|
14038
15212
|
query_params = opts[:query_params] || {}
|
14039
15213
|
query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
|
15214
|
+
|
15215
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
15216
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
15217
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
14040
15218
|
|
14041
15219
|
# header parameters
|
14042
15220
|
header_params = opts[:header_params] || {}
|
@@ -14110,8 +15288,14 @@ module XeroRuby
|
|
14110
15288
|
# resource path
|
14111
15289
|
local_var_path = '/LinkedTransactions/{LinkedTransactionID}'.sub('{' + 'LinkedTransactionID' + '}', linked_transaction_id.to_s)
|
14112
15290
|
|
15291
|
+
# camelize keys of incoming `where` opts
|
15292
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
14113
15293
|
# query parameters
|
14114
15294
|
query_params = opts[:query_params] || {}
|
15295
|
+
|
15296
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
15297
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
15298
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
14115
15299
|
|
14116
15300
|
# header parameters
|
14117
15301
|
header_params = opts[:header_params] || {}
|
@@ -14185,8 +15369,14 @@ module XeroRuby
|
|
14185
15369
|
# resource path
|
14186
15370
|
local_var_path = '/ManualJournals/{ManualJournalID}'.sub('{' + 'ManualJournalID' + '}', manual_journal_id.to_s)
|
14187
15371
|
|
15372
|
+
# camelize keys of incoming `where` opts
|
15373
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
14188
15374
|
# query parameters
|
14189
15375
|
query_params = opts[:query_params] || {}
|
15376
|
+
|
15377
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
15378
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
15379
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
14190
15380
|
|
14191
15381
|
# header parameters
|
14192
15382
|
header_params = opts[:header_params] || {}
|
@@ -14266,8 +15456,14 @@ module XeroRuby
|
|
14266
15456
|
# resource path
|
14267
15457
|
local_var_path = '/ManualJournals/{ManualJournalID}/Attachments/{FileName}'.sub('{' + 'ManualJournalID' + '}', manual_journal_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
14268
15458
|
|
15459
|
+
# camelize keys of incoming `where` opts
|
15460
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
14269
15461
|
# query parameters
|
14270
15462
|
query_params = opts[:query_params] || {}
|
15463
|
+
|
15464
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
15465
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
15466
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
14271
15467
|
|
14272
15468
|
# header parameters
|
14273
15469
|
header_params = opts[:header_params] || {}
|
@@ -14339,10 +15535,16 @@ module XeroRuby
|
|
14339
15535
|
# resource path
|
14340
15536
|
local_var_path = '/BankTransactions'
|
14341
15537
|
|
15538
|
+
# camelize keys of incoming `where` opts
|
15539
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
14342
15540
|
# query parameters
|
14343
15541
|
query_params = opts[:query_params] || {}
|
14344
15542
|
query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
|
14345
15543
|
query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
|
15544
|
+
|
15545
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
15546
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
15547
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
14346
15548
|
|
14347
15549
|
# header parameters
|
14348
15550
|
header_params = opts[:header_params] || {}
|
@@ -14412,9 +15614,15 @@ module XeroRuby
|
|
14412
15614
|
# resource path
|
14413
15615
|
local_var_path = '/Contacts'
|
14414
15616
|
|
15617
|
+
# camelize keys of incoming `where` opts
|
15618
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
14415
15619
|
# query parameters
|
14416
15620
|
query_params = opts[:query_params] || {}
|
14417
15621
|
query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
|
15622
|
+
|
15623
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
15624
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
15625
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
14418
15626
|
|
14419
15627
|
# header parameters
|
14420
15628
|
header_params = opts[:header_params] || {}
|
@@ -14486,10 +15694,16 @@ module XeroRuby
|
|
14486
15694
|
# resource path
|
14487
15695
|
local_var_path = '/CreditNotes'
|
14488
15696
|
|
15697
|
+
# camelize keys of incoming `where` opts
|
15698
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
14489
15699
|
# query parameters
|
14490
15700
|
query_params = opts[:query_params] || {}
|
14491
15701
|
query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
|
14492
15702
|
query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
|
15703
|
+
|
15704
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
15705
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
15706
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
14493
15707
|
|
14494
15708
|
# header parameters
|
14495
15709
|
header_params = opts[:header_params] || {}
|
@@ -14559,9 +15773,15 @@ module XeroRuby
|
|
14559
15773
|
# resource path
|
14560
15774
|
local_var_path = '/Employees'
|
14561
15775
|
|
15776
|
+
# camelize keys of incoming `where` opts
|
15777
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
14562
15778
|
# query parameters
|
14563
15779
|
query_params = opts[:query_params] || {}
|
14564
15780
|
query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
|
15781
|
+
|
15782
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
15783
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
15784
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
14565
15785
|
|
14566
15786
|
# header parameters
|
14567
15787
|
header_params = opts[:header_params] || {}
|
@@ -14633,10 +15853,16 @@ module XeroRuby
|
|
14633
15853
|
# resource path
|
14634
15854
|
local_var_path = '/Invoices'
|
14635
15855
|
|
15856
|
+
# camelize keys of incoming `where` opts
|
15857
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
14636
15858
|
# query parameters
|
14637
15859
|
query_params = opts[:query_params] || {}
|
14638
15860
|
query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
|
14639
15861
|
query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
|
15862
|
+
|
15863
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
15864
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
15865
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
14640
15866
|
|
14641
15867
|
# header parameters
|
14642
15868
|
header_params = opts[:header_params] || {}
|
@@ -14708,10 +15934,16 @@ module XeroRuby
|
|
14708
15934
|
# resource path
|
14709
15935
|
local_var_path = '/Items'
|
14710
15936
|
|
15937
|
+
# camelize keys of incoming `where` opts
|
15938
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
14711
15939
|
# query parameters
|
14712
15940
|
query_params = opts[:query_params] || {}
|
14713
15941
|
query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
|
14714
15942
|
query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
|
15943
|
+
|
15944
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
15945
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
15946
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
14715
15947
|
|
14716
15948
|
# header parameters
|
14717
15949
|
header_params = opts[:header_params] || {}
|
@@ -14781,9 +16013,15 @@ module XeroRuby
|
|
14781
16013
|
# resource path
|
14782
16014
|
local_var_path = '/ManualJournals'
|
14783
16015
|
|
16016
|
+
# camelize keys of incoming `where` opts
|
16017
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
14784
16018
|
# query parameters
|
14785
16019
|
query_params = opts[:query_params] || {}
|
14786
16020
|
query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
|
16021
|
+
|
16022
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
16023
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
16024
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
14787
16025
|
|
14788
16026
|
# header parameters
|
14789
16027
|
header_params = opts[:header_params] || {}
|
@@ -14853,9 +16091,15 @@ module XeroRuby
|
|
14853
16091
|
# resource path
|
14854
16092
|
local_var_path = '/PurchaseOrders'
|
14855
16093
|
|
16094
|
+
# camelize keys of incoming `where` opts
|
16095
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
14856
16096
|
# query parameters
|
14857
16097
|
query_params = opts[:query_params] || {}
|
14858
16098
|
query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
|
16099
|
+
|
16100
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
16101
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
16102
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
14859
16103
|
|
14860
16104
|
# header parameters
|
14861
16105
|
header_params = opts[:header_params] || {}
|
@@ -14925,9 +16169,15 @@ module XeroRuby
|
|
14925
16169
|
# resource path
|
14926
16170
|
local_var_path = '/Quotes'
|
14927
16171
|
|
16172
|
+
# camelize keys of incoming `where` opts
|
16173
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
14928
16174
|
# query parameters
|
14929
16175
|
query_params = opts[:query_params] || {}
|
14930
16176
|
query_params[:'summarizeErrors'] = opts[:'summarize_errors'] if !opts[:'summarize_errors'].nil?
|
16177
|
+
|
16178
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
16179
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
16180
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
14931
16181
|
|
14932
16182
|
# header parameters
|
14933
16183
|
header_params = opts[:header_params] || {}
|
@@ -15001,8 +16251,14 @@ module XeroRuby
|
|
15001
16251
|
# resource path
|
15002
16252
|
local_var_path = '/PurchaseOrders/{PurchaseOrderID}'.sub('{' + 'PurchaseOrderID' + '}', purchase_order_id.to_s)
|
15003
16253
|
|
16254
|
+
# camelize keys of incoming `where` opts
|
16255
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
15004
16256
|
# query parameters
|
15005
16257
|
query_params = opts[:query_params] || {}
|
16258
|
+
|
16259
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
16260
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
16261
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
15006
16262
|
|
15007
16263
|
# header parameters
|
15008
16264
|
header_params = opts[:header_params] || {}
|
@@ -15076,8 +16332,14 @@ module XeroRuby
|
|
15076
16332
|
# resource path
|
15077
16333
|
local_var_path = '/Quotes/{QuoteID}'.sub('{' + 'QuoteID' + '}', quote_id.to_s)
|
15078
16334
|
|
16335
|
+
# camelize keys of incoming `where` opts
|
16336
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
15079
16337
|
# query parameters
|
15080
16338
|
query_params = opts[:query_params] || {}
|
16339
|
+
|
16340
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
16341
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
16342
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
15081
16343
|
|
15082
16344
|
# header parameters
|
15083
16345
|
header_params = opts[:header_params] || {}
|
@@ -15157,8 +16419,14 @@ module XeroRuby
|
|
15157
16419
|
# resource path
|
15158
16420
|
local_var_path = '/Quotes/{QuoteID}/Attachments/{FileName}'.sub('{' + 'QuoteID' + '}', quote_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
15159
16421
|
|
16422
|
+
# camelize keys of incoming `where` opts
|
16423
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
15160
16424
|
# query parameters
|
15161
16425
|
query_params = opts[:query_params] || {}
|
16426
|
+
|
16427
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
16428
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
16429
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
15162
16430
|
|
15163
16431
|
# header parameters
|
15164
16432
|
header_params = opts[:header_params] || {}
|
@@ -15234,9 +16502,15 @@ module XeroRuby
|
|
15234
16502
|
# resource path
|
15235
16503
|
local_var_path = '/Receipts/{ReceiptID}'.sub('{' + 'ReceiptID' + '}', receipt_id.to_s)
|
15236
16504
|
|
16505
|
+
# camelize keys of incoming `where` opts
|
16506
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
15237
16507
|
# query parameters
|
15238
16508
|
query_params = opts[:query_params] || {}
|
15239
16509
|
query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
|
16510
|
+
|
16511
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
16512
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
16513
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
15240
16514
|
|
15241
16515
|
# header parameters
|
15242
16516
|
header_params = opts[:header_params] || {}
|
@@ -15316,8 +16590,14 @@ module XeroRuby
|
|
15316
16590
|
# resource path
|
15317
16591
|
local_var_path = '/Receipts/{ReceiptID}/Attachments/{FileName}'.sub('{' + 'ReceiptID' + '}', receipt_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
15318
16592
|
|
16593
|
+
# camelize keys of incoming `where` opts
|
16594
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
15319
16595
|
# query parameters
|
15320
16596
|
query_params = opts[:query_params] || {}
|
16597
|
+
|
16598
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
16599
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
16600
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
15321
16601
|
|
15322
16602
|
# header parameters
|
15323
16603
|
header_params = opts[:header_params] || {}
|
@@ -15397,8 +16677,14 @@ module XeroRuby
|
|
15397
16677
|
# resource path
|
15398
16678
|
local_var_path = '/RepeatingInvoices/{RepeatingInvoiceID}/Attachments/{FileName}'.sub('{' + 'RepeatingInvoiceID' + '}', repeating_invoice_id.to_s).sub('{' + 'FileName' + '}', file_name.to_s)
|
15399
16679
|
|
16680
|
+
# camelize keys of incoming `where` opts
|
16681
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
15400
16682
|
# query parameters
|
15401
16683
|
query_params = opts[:query_params] || {}
|
16684
|
+
|
16685
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
16686
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
16687
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
15402
16688
|
|
15403
16689
|
# header parameters
|
15404
16690
|
header_params = opts[:header_params] || {}
|
@@ -15466,8 +16752,14 @@ module XeroRuby
|
|
15466
16752
|
# resource path
|
15467
16753
|
local_var_path = '/TaxRates'
|
15468
16754
|
|
16755
|
+
# camelize keys of incoming `where` opts
|
16756
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
15469
16757
|
# query parameters
|
15470
16758
|
query_params = opts[:query_params] || {}
|
16759
|
+
|
16760
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
16761
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
16762
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
15471
16763
|
|
15472
16764
|
# header parameters
|
15473
16765
|
header_params = opts[:header_params] || {}
|
@@ -15541,8 +16833,14 @@ module XeroRuby
|
|
15541
16833
|
# resource path
|
15542
16834
|
local_var_path = '/TrackingCategories/{TrackingCategoryID}'.sub('{' + 'TrackingCategoryID' + '}', tracking_category_id.to_s)
|
15543
16835
|
|
16836
|
+
# camelize keys of incoming `where` opts
|
16837
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
15544
16838
|
# query parameters
|
15545
16839
|
query_params = opts[:query_params] || {}
|
16840
|
+
|
16841
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
16842
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
16843
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
15546
16844
|
|
15547
16845
|
# header parameters
|
15548
16846
|
header_params = opts[:header_params] || {}
|
@@ -15622,8 +16920,14 @@ module XeroRuby
|
|
15622
16920
|
# resource path
|
15623
16921
|
local_var_path = '/TrackingCategories/{TrackingCategoryID}/Options/{TrackingOptionID}'.sub('{' + 'TrackingCategoryID' + '}', tracking_category_id.to_s).sub('{' + 'TrackingOptionID' + '}', tracking_option_id.to_s)
|
15624
16922
|
|
16923
|
+
# camelize keys of incoming `where` opts
|
16924
|
+
opts[:'where'] = opts[:'where'].map{|k,v| "#{@api_client.camelize_key(k)}#{v}"}.join(' AND ') if !opts[:'where'].nil?
|
15625
16925
|
# query parameters
|
15626
16926
|
query_params = opts[:query_params] || {}
|
16927
|
+
|
16928
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
16929
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
16930
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
15627
16931
|
|
15628
16932
|
# header parameters
|
15629
16933
|
header_params = opts[:header_params] || {}
|