xero-ruby 0.1.2 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +44 -35
- data/docs/Account.md +3 -1
- data/docs/AccountingApi.md +2667 -2323
- data/docs/Attachment.md +2 -2
- data/docs/BankTransaction.md +3 -3
- data/docs/BrandingTheme.md +4 -0
- data/docs/Contact.md +3 -1
- data/docs/CreditNote.md +2 -0
- data/docs/Element.md +15 -1
- data/docs/Employee.md +5 -1
- data/docs/Invoice.md +6 -4
- data/docs/Item.md +3 -1
- data/docs/LineItem.md +4 -4
- data/docs/LineItemTracking.md +3 -1
- data/docs/LinkedTransaction.md +2 -2
- data/docs/ManualJournal.md +3 -1
- data/docs/Prepayment.md +2 -0
- data/docs/PurchaseOrder.md +3 -3
- data/docs/Quote.md +59 -0
- data/docs/QuoteLineAmountTypes.md +16 -0
- data/docs/QuoteStatusCodes.md +16 -0
- data/docs/Quotes.md +17 -0
- data/docs/Receipt.md +6 -4
- data/docs/ReportWithRow.md +2 -2
- data/docs/TaxRate.md +1 -1
- data/git_push.sh +1 -1
- data/lib/.DS_Store +0 -0
- data/lib/xero-ruby/api/accounting_api.rb +1741 -1334
- data/lib/xero-ruby/api_client.rb +2 -2
- data/lib/xero-ruby/api_error.rb +2 -2
- data/lib/xero-ruby/configuration.rb +3 -7
- data/lib/xero-ruby/models/account.rb +15 -5
- data/lib/xero-ruby/models/account_type.rb +2 -2
- data/lib/xero-ruby/models/accounts.rb +2 -2
- data/lib/xero-ruby/models/accounts_payable.rb +2 -2
- data/lib/xero-ruby/models/accounts_receivable.rb +2 -2
- data/lib/xero-ruby/models/address.rb +2 -2
- data/lib/xero-ruby/models/allocation.rb +2 -2
- data/lib/xero-ruby/models/allocations.rb +2 -2
- data/lib/xero-ruby/models/attachment.rb +2 -2
- data/lib/xero-ruby/models/attachments.rb +2 -2
- data/lib/xero-ruby/models/balances.rb +2 -2
- data/lib/xero-ruby/models/bank_transaction.rb +2 -2
- data/lib/xero-ruby/models/bank_transactions.rb +2 -2
- data/lib/xero-ruby/models/bank_transfer.rb +2 -2
- data/lib/xero-ruby/models/bank_transfers.rb +2 -2
- data/lib/xero-ruby/models/batch_payment.rb +48 -2
- data/lib/xero-ruby/models/batch_payment_details.rb +2 -2
- data/lib/xero-ruby/models/batch_payments.rb +2 -2
- data/lib/xero-ruby/models/bill.rb +2 -2
- data/lib/xero-ruby/models/branding_theme.rb +57 -3
- data/lib/xero-ruby/models/branding_themes.rb +2 -2
- data/lib/xero-ruby/models/cis_org_setting.rb +2 -2
- data/lib/xero-ruby/models/cis_setting.rb +2 -2
- data/lib/xero-ruby/models/cis_settings.rb +2 -2
- data/lib/xero-ruby/models/contact.rb +16 -6
- data/lib/xero-ruby/models/contact_group.rb +2 -2
- data/lib/xero-ruby/models/contact_groups.rb +2 -2
- data/lib/xero-ruby/models/contact_person.rb +2 -2
- data/lib/xero-ruby/models/contacts.rb +2 -2
- data/lib/xero-ruby/models/country_code.rb +2 -2
- data/lib/xero-ruby/models/credit_note.rb +13 -3
- data/lib/xero-ruby/models/credit_notes.rb +2 -2
- data/lib/xero-ruby/models/currencies.rb +2 -2
- data/lib/xero-ruby/models/currency.rb +2 -2
- data/lib/xero-ruby/models/currency_code.rb +2 -2
- data/lib/xero-ruby/models/element.rb +70 -6
- data/lib/xero-ruby/models/employee.rb +28 -6
- data/lib/xero-ruby/models/employees.rb +2 -2
- data/lib/xero-ruby/models/error.rb +2 -2
- data/lib/xero-ruby/models/expense_claim.rb +4 -4
- data/lib/xero-ruby/models/expense_claims.rb +2 -2
- data/lib/xero-ruby/models/external_link.rb +2 -2
- data/lib/xero-ruby/models/history_record.rb +2 -2
- data/lib/xero-ruby/models/history_records.rb +2 -2
- data/lib/xero-ruby/models/invoice.rb +20 -23
- data/lib/xero-ruby/models/invoice_reminder.rb +2 -2
- data/lib/xero-ruby/models/invoice_reminders.rb +2 -2
- data/lib/xero-ruby/models/invoices.rb +2 -2
- data/lib/xero-ruby/models/item.rb +13 -8
- data/lib/xero-ruby/models/items.rb +2 -2
- data/lib/xero-ruby/models/journal.rb +2 -2
- data/lib/xero-ruby/models/journal_line.rb +2 -2
- data/lib/xero-ruby/models/journals.rb +2 -2
- data/lib/xero-ruby/models/line_amount_types.rb +2 -2
- data/lib/xero-ruby/models/line_item.rb +4 -4
- data/lib/xero-ruby/models/line_item_tracking.rb +13 -3
- data/lib/xero-ruby/models/linked_transaction.rb +3 -8
- data/lib/xero-ruby/models/linked_transactions.rb +2 -2
- data/lib/xero-ruby/models/manual_journal.rb +15 -10
- data/lib/xero-ruby/models/manual_journal_line.rb +2 -2
- data/lib/xero-ruby/models/manual_journals.rb +2 -2
- data/lib/xero-ruby/models/online_invoice.rb +2 -2
- data/lib/xero-ruby/models/online_invoices.rb +2 -2
- data/lib/xero-ruby/models/organisation.rb +8 -8
- data/lib/xero-ruby/models/organisations.rb +2 -2
- data/lib/xero-ruby/models/overpayment.rb +2 -2
- data/lib/xero-ruby/models/overpayments.rb +2 -2
- data/lib/xero-ruby/models/payment.rb +2 -2
- data/lib/xero-ruby/models/payment_service.rb +2 -2
- data/lib/xero-ruby/models/payment_services.rb +2 -2
- data/lib/xero-ruby/models/payment_term.rb +2 -2
- data/lib/xero-ruby/models/payment_term_type.rb +2 -2
- data/lib/xero-ruby/models/payments.rb +2 -2
- data/lib/xero-ruby/models/phone.rb +2 -2
- data/lib/xero-ruby/models/prepayment.rb +13 -3
- data/lib/xero-ruby/models/prepayments.rb +2 -2
- data/lib/xero-ruby/models/purchase.rb +2 -2
- data/lib/xero-ruby/models/purchase_order.rb +3 -13
- data/lib/xero-ruby/models/purchase_orders.rb +2 -2
- data/lib/xero-ruby/models/quote.rb +487 -0
- data/lib/xero-ruby/models/quote_line_amount_types.rb +38 -0
- data/lib/xero-ruby/models/quote_status_codes.rb +40 -0
- data/lib/xero-ruby/models/quotes.rb +205 -0
- data/lib/xero-ruby/models/receipt.rb +17 -25
- data/lib/xero-ruby/models/receipts.rb +2 -2
- data/lib/xero-ruby/models/repeating_invoice.rb +4 -4
- data/lib/xero-ruby/models/repeating_invoices.rb +2 -2
- data/lib/xero-ruby/models/report.rb +2 -2
- data/lib/xero-ruby/models/report_attribute.rb +2 -2
- data/lib/xero-ruby/models/report_cell.rb +2 -2
- data/lib/xero-ruby/models/report_fields.rb +2 -2
- data/lib/xero-ruby/models/report_row.rb +2 -2
- data/lib/xero-ruby/models/report_rows.rb +2 -2
- data/lib/xero-ruby/models/report_with_row.rb +12 -12
- data/lib/xero-ruby/models/report_with_rows.rb +2 -2
- data/lib/xero-ruby/models/reports.rb +2 -2
- data/lib/xero-ruby/models/request_empty.rb +2 -2
- data/lib/xero-ruby/models/row_type.rb +2 -2
- data/lib/xero-ruby/models/sales_tracking_category.rb +2 -2
- data/lib/xero-ruby/models/schedule.rb +2 -2
- data/lib/xero-ruby/models/tax_component.rb +2 -2
- data/lib/xero-ruby/models/tax_rate.rb +6 -11
- data/lib/xero-ruby/models/tax_rates.rb +2 -2
- data/lib/xero-ruby/models/tax_type.rb +5 -2
- data/lib/xero-ruby/models/ten_nintey_nine_contact.rb +2 -2
- data/lib/xero-ruby/models/time_zone.rb +2 -2
- data/lib/xero-ruby/models/tracking_categories.rb +2 -2
- data/lib/xero-ruby/models/tracking_category.rb +2 -2
- data/lib/xero-ruby/models/tracking_option.rb +2 -2
- data/lib/xero-ruby/models/tracking_options.rb +2 -2
- data/lib/xero-ruby/models/user.rb +2 -2
- data/lib/xero-ruby/models/users.rb +2 -2
- data/lib/xero-ruby/models/validation_error.rb +2 -2
- data/lib/xero-ruby/version.rb +3 -3
- data/lib/xero-ruby.rb +6 -2
- data/pkg/xero-ruby-0.2.0.gem +0 -0
- data/spec/api/accounting_api_spec.rb +304 -209
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/account_spec.rb +9 -3
- data/spec/models/account_type_spec.rb +2 -2
- data/spec/models/accounts_payable_spec.rb +2 -2
- data/spec/models/accounts_receivable_spec.rb +2 -2
- data/spec/models/accounts_spec.rb +2 -2
- data/spec/models/address_spec.rb +2 -2
- data/spec/models/allocation_spec.rb +2 -2
- data/spec/models/allocations_spec.rb +2 -2
- data/spec/models/attachment_spec.rb +2 -2
- data/spec/models/attachments_spec.rb +2 -2
- data/spec/models/balances_spec.rb +2 -2
- data/spec/models/bank_transaction_spec.rb +2 -2
- data/spec/models/bank_transactions_spec.rb +2 -2
- data/spec/models/bank_transfer_spec.rb +2 -2
- data/spec/models/bank_transfers_spec.rb +2 -2
- data/spec/models/batch_payment_details_spec.rb +2 -2
- data/spec/models/batch_payment_spec.rb +10 -2
- data/spec/models/batch_payments_spec.rb +2 -2
- data/spec/models/bill_spec.rb +2 -2
- data/spec/models/branding_theme_spec.rb +18 -2
- data/spec/models/branding_themes_spec.rb +2 -2
- data/spec/models/cis_org_setting_spec.rb +2 -2
- data/spec/models/cis_setting_spec.rb +2 -2
- data/spec/models/cis_settings_spec.rb +2 -2
- data/spec/models/contact_group_spec.rb +2 -2
- data/spec/models/contact_groups_spec.rb +2 -2
- data/spec/models/contact_person_spec.rb +2 -2
- data/spec/models/contact_spec.rb +8 -2
- data/spec/models/contacts_spec.rb +2 -2
- data/spec/models/country_code_spec.rb +2 -2
- data/spec/models/credit_note_spec.rb +8 -2
- data/spec/models/credit_notes_spec.rb +2 -2
- data/spec/models/currencies_spec.rb +2 -2
- data/spec/models/currency_code_spec.rb +2 -2
- data/spec/models/currency_spec.rb +2 -2
- data/spec/models/element_spec.rb +44 -2
- data/spec/models/employee_spec.rb +14 -2
- data/spec/models/employees_spec.rb +2 -2
- data/spec/models/error_spec.rb +2 -2
- data/spec/models/expense_claim_spec.rb +3 -3
- data/spec/models/expense_claims_spec.rb +2 -2
- data/spec/models/external_link_spec.rb +2 -2
- data/spec/models/history_record_spec.rb +2 -2
- data/spec/models/history_records_spec.rb +2 -2
- data/spec/models/invoice_reminder_spec.rb +2 -2
- data/spec/models/invoice_reminders_spec.rb +2 -2
- data/spec/models/invoice_spec.rb +9 -3
- data/spec/models/invoices_spec.rb +2 -2
- data/spec/models/item_spec.rb +8 -2
- data/spec/models/items_spec.rb +2 -2
- data/spec/models/journal_line_spec.rb +2 -2
- data/spec/models/journal_spec.rb +2 -2
- data/spec/models/journals_spec.rb +2 -2
- data/spec/models/line_amount_types_spec.rb +2 -2
- data/spec/models/line_item_spec.rb +2 -2
- data/spec/models/line_item_tracking_spec.rb +8 -2
- data/spec/models/linked_transaction_spec.rb +2 -2
- data/spec/models/linked_transactions_spec.rb +2 -2
- data/spec/models/manual_journal_line_spec.rb +2 -2
- data/spec/models/manual_journal_spec.rb +9 -3
- data/spec/models/manual_journals_spec.rb +2 -2
- data/spec/models/online_invoice_spec.rb +2 -2
- data/spec/models/online_invoices_spec.rb +2 -2
- data/spec/models/organisation_spec.rb +5 -5
- data/spec/models/organisations_spec.rb +2 -2
- data/spec/models/overpayment_spec.rb +2 -2
- data/spec/models/overpayments_spec.rb +2 -2
- data/spec/models/payment_service_spec.rb +2 -2
- data/spec/models/payment_services_spec.rb +2 -2
- data/spec/models/payment_spec.rb +2 -2
- data/spec/models/payment_term_spec.rb +2 -2
- data/spec/models/payment_term_type_spec.rb +2 -2
- data/spec/models/payments_spec.rb +2 -2
- data/spec/models/phone_spec.rb +2 -2
- data/spec/models/prepayment_spec.rb +8 -2
- data/spec/models/prepayments_spec.rb +2 -2
- data/spec/models/purchase_order_spec.rb +2 -2
- data/spec/models/purchase_orders_spec.rb +2 -2
- data/spec/models/purchase_spec.rb +2 -2
- data/spec/models/quote_line_amount_types_spec.rb +35 -0
- data/spec/models/quote_spec.rb +167 -0
- data/spec/models/quote_status_codes_spec.rb +35 -0
- data/spec/models/quotes_spec.rb +41 -0
- data/spec/models/receipt_spec.rb +9 -3
- data/spec/models/receipts_spec.rb +2 -2
- data/spec/models/repeating_invoice_spec.rb +3 -3
- data/spec/models/repeating_invoices_spec.rb +2 -2
- data/spec/models/report_attribute_spec.rb +2 -2
- data/spec/models/report_cell_spec.rb +2 -2
- data/spec/models/report_fields_spec.rb +2 -2
- data/spec/models/report_row_spec.rb +2 -2
- data/spec/models/report_rows_spec.rb +2 -2
- data/spec/models/report_spec.rb +2 -2
- data/spec/models/report_with_row_spec.rb +4 -4
- data/spec/models/report_with_rows_spec.rb +2 -2
- data/spec/models/reports_spec.rb +2 -2
- data/spec/models/request_empty_spec.rb +2 -2
- data/spec/models/row_type_spec.rb +2 -2
- data/spec/models/sales_tracking_category_spec.rb +2 -2
- data/spec/models/schedule_spec.rb +2 -2
- data/spec/models/tax_component_spec.rb +2 -2
- data/spec/models/tax_rate_spec.rb +4 -4
- data/spec/models/tax_rates_spec.rb +2 -2
- data/spec/models/tax_type_spec.rb +2 -2
- data/spec/models/ten_nintey_nine_contact_spec.rb +2 -2
- data/spec/models/time_zone_spec.rb +2 -2
- data/spec/models/tracking_categories_spec.rb +2 -2
- data/spec/models/tracking_category_spec.rb +2 -2
- data/spec/models/tracking_option_spec.rb +2 -2
- data/spec/models/tracking_options_spec.rb +2 -2
- data/spec/models/user_spec.rb +2 -2
- data/spec/models/users_spec.rb +2 -2
- data/spec/models/validation_error_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- data/xero-ruby.gemspec +3 -3
- metadata +21 -5
- data/Gemfile.lock +0 -79
- data/pkg/xero-ruby-0.1.2.gem +0 -0
data/lib/xero-ruby/api_client.rb
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
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.0.
|
|
6
|
+
The version of the OpenAPI document: 2.0.1
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0
|
|
9
|
+
OpenAPI Generator version: 4.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
data/lib/xero-ruby/api_error.rb
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
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.0.
|
|
6
|
+
The version of the OpenAPI document: 2.0.1
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0
|
|
9
|
+
OpenAPI Generator version: 4.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
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.0.
|
|
6
|
+
The version of the OpenAPI document: 2.0.1
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0
|
|
9
|
+
OpenAPI Generator version: 4.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -208,11 +208,7 @@ module XeroRuby
|
|
|
208
208
|
[
|
|
209
209
|
{
|
|
210
210
|
url: "https://api.xero.com/api.xro/2.0",
|
|
211
|
-
description: "
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
url: "https://virtserver.swaggerhub.com/Xero/accounting/2.0.0",
|
|
215
|
-
description: "No descriptoin provided",
|
|
211
|
+
description: "Xero Accounting API servers",
|
|
216
212
|
}
|
|
217
213
|
]
|
|
218
214
|
end
|
|
@@ -3,10 +3,10 @@
|
|
|
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.0.
|
|
6
|
+
The version of the OpenAPI document: 2.0.1
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0
|
|
9
|
+
OpenAPI Generator version: 4.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -67,6 +67,9 @@ module XeroRuby
|
|
|
67
67
|
# Last modified date UTC format
|
|
68
68
|
attr_accessor :updated_date_utc
|
|
69
69
|
|
|
70
|
+
# Boolean – describes whether the account is shown in the watchlist widget on the dashboard
|
|
71
|
+
attr_accessor :add_to_watchlist
|
|
72
|
+
|
|
70
73
|
# Displays array of validation error messages from the API
|
|
71
74
|
attr_accessor :validation_errors
|
|
72
75
|
|
|
@@ -113,6 +116,7 @@ module XeroRuby
|
|
|
113
116
|
:'reporting_code_name' => :'ReportingCodeName',
|
|
114
117
|
:'has_attachments' => :'HasAttachments',
|
|
115
118
|
:'updated_date_utc' => :'UpdatedDateUTC',
|
|
119
|
+
:'add_to_watchlist' => :'AddToWatchlist',
|
|
116
120
|
:'validation_errors' => :'ValidationErrors'
|
|
117
121
|
}
|
|
118
122
|
end
|
|
@@ -138,6 +142,7 @@ module XeroRuby
|
|
|
138
142
|
:'reporting_code_name' => :'String',
|
|
139
143
|
:'has_attachments' => :'Boolean',
|
|
140
144
|
:'updated_date_utc' => :'DateTime',
|
|
145
|
+
:'add_to_watchlist' => :'Boolean',
|
|
141
146
|
:'validation_errors' => :'Array<ValidationError>'
|
|
142
147
|
}
|
|
143
148
|
end
|
|
@@ -229,6 +234,10 @@ module XeroRuby
|
|
|
229
234
|
self.updated_date_utc = attributes[:'updated_date_utc']
|
|
230
235
|
end
|
|
231
236
|
|
|
237
|
+
if attributes.key?(:'add_to_watchlist')
|
|
238
|
+
self.add_to_watchlist = attributes[:'add_to_watchlist']
|
|
239
|
+
end
|
|
240
|
+
|
|
232
241
|
if attributes.key?(:'validation_errors')
|
|
233
242
|
if (value = attributes[:'validation_errors']).is_a?(Array)
|
|
234
243
|
self.validation_errors = value
|
|
@@ -262,7 +271,7 @@ module XeroRuby
|
|
|
262
271
|
return false unless bank_account_type_validator.valid?(@bank_account_type)
|
|
263
272
|
_class_validator = EnumAttributeValidator.new('String', ["ASSET", "EQUITY", "EXPENSE", "LIABILITY", "REVENUE"])
|
|
264
273
|
return false unless _class_validator.valid?(@_class)
|
|
265
|
-
system_account_validator = EnumAttributeValidator.new('String', ["DEBTORS", "CREDITORS", "BANKCURRENCYGAIN", "GST", "GSTONIMPORTS", "HISTORICAL", "REALISEDCURRENCYGAIN", "RETAINEDEARNINGS", "ROUNDING", "TRACKINGTRANSFERS", "UNPAIDEXPCLM", "UNREALISEDCURRENCYGAIN", "WAGEPAYABLES", ""])
|
|
274
|
+
system_account_validator = EnumAttributeValidator.new('String', ["DEBTORS", "CREDITORS", "BANKCURRENCYGAIN", "GST", "GSTONIMPORTS", "HISTORICAL", "REALISEDCURRENCYGAIN", "RETAINEDEARNINGS", "ROUNDING", "TRACKINGTRANSFERS", "UNPAIDEXPCLM", "UNREALISEDCURRENCYGAIN", "WAGEPAYABLES", "CISASSETS", "CISASSET", "CISLABOUR", "CISLABOUREXPENSE", "CISLABOURINCOME", "CISLIABILITY", "CISMATERIALS", ""])
|
|
266
275
|
return false unless system_account_validator.valid?(@system_account)
|
|
267
276
|
true
|
|
268
277
|
end
|
|
@@ -320,7 +329,7 @@ module XeroRuby
|
|
|
320
329
|
# Custom attribute writer method checking allowed values (enum).
|
|
321
330
|
# @param [Object] system_account Object to be assigned
|
|
322
331
|
def system_account=(system_account)
|
|
323
|
-
validator = EnumAttributeValidator.new('String', ["DEBTORS", "CREDITORS", "BANKCURRENCYGAIN", "GST", "GSTONIMPORTS", "HISTORICAL", "REALISEDCURRENCYGAIN", "RETAINEDEARNINGS", "ROUNDING", "TRACKINGTRANSFERS", "UNPAIDEXPCLM", "UNREALISEDCURRENCYGAIN", "WAGEPAYABLES", ""])
|
|
332
|
+
validator = EnumAttributeValidator.new('String', ["DEBTORS", "CREDITORS", "BANKCURRENCYGAIN", "GST", "GSTONIMPORTS", "HISTORICAL", "REALISEDCURRENCYGAIN", "RETAINEDEARNINGS", "ROUNDING", "TRACKINGTRANSFERS", "UNPAIDEXPCLM", "UNREALISEDCURRENCYGAIN", "WAGEPAYABLES", "CISASSETS", "CISASSET", "CISLABOUR", "CISLABOUREXPENSE", "CISLABOURINCOME", "CISLIABILITY", "CISMATERIALS", ""])
|
|
324
333
|
unless validator.valid?(system_account)
|
|
325
334
|
fail ArgumentError, "invalid value for \"system_account\", must be one of #{validator.allowable_values}."
|
|
326
335
|
end
|
|
@@ -350,6 +359,7 @@ module XeroRuby
|
|
|
350
359
|
reporting_code_name == o.reporting_code_name &&
|
|
351
360
|
has_attachments == o.has_attachments &&
|
|
352
361
|
updated_date_utc == o.updated_date_utc &&
|
|
362
|
+
add_to_watchlist == o.add_to_watchlist &&
|
|
353
363
|
validation_errors == o.validation_errors
|
|
354
364
|
end
|
|
355
365
|
|
|
@@ -362,7 +372,7 @@ module XeroRuby
|
|
|
362
372
|
# Calculates hash code according to all attributes.
|
|
363
373
|
# @return [Integer] Hash code
|
|
364
374
|
def hash
|
|
365
|
-
[code, name, account_id, type, bank_account_number, status, description, bank_account_type, currency_code, tax_type, enable_payments_to_account, show_in_expense_claims, _class, system_account, reporting_code, reporting_code_name, has_attachments, updated_date_utc, validation_errors].hash
|
|
375
|
+
[code, name, account_id, type, bank_account_number, status, description, bank_account_type, currency_code, tax_type, enable_payments_to_account, show_in_expense_claims, _class, system_account, reporting_code, reporting_code_name, has_attachments, updated_date_utc, add_to_watchlist, validation_errors].hash
|
|
366
376
|
end
|
|
367
377
|
|
|
368
378
|
# Builds the object from hash
|
|
@@ -3,10 +3,10 @@
|
|
|
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.0.
|
|
6
|
+
The version of the OpenAPI document: 2.0.1
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0
|
|
9
|
+
OpenAPI Generator version: 4.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
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.0.
|
|
6
|
+
The version of the OpenAPI document: 2.0.1
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0
|
|
9
|
+
OpenAPI Generator version: 4.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
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.0.
|
|
6
|
+
The version of the OpenAPI document: 2.0.1
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0
|
|
9
|
+
OpenAPI Generator version: 4.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
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.0.
|
|
6
|
+
The version of the OpenAPI document: 2.0.1
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0
|
|
9
|
+
OpenAPI Generator version: 4.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
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.0.
|
|
6
|
+
The version of the OpenAPI document: 2.0.1
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0
|
|
9
|
+
OpenAPI Generator version: 4.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
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.0.
|
|
6
|
+
The version of the OpenAPI document: 2.0.1
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0
|
|
9
|
+
OpenAPI Generator version: 4.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
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.0.
|
|
6
|
+
The version of the OpenAPI document: 2.0.1
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0
|
|
9
|
+
OpenAPI Generator version: 4.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
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.0.
|
|
6
|
+
The version of the OpenAPI document: 2.0.1
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0
|
|
9
|
+
OpenAPI Generator version: 4.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
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.0.
|
|
6
|
+
The version of the OpenAPI document: 2.0.1
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0
|
|
9
|
+
OpenAPI Generator version: 4.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
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.0.
|
|
6
|
+
The version of the OpenAPI document: 2.0.1
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0
|
|
9
|
+
OpenAPI Generator version: 4.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
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.0.
|
|
6
|
+
The version of the OpenAPI document: 2.0.1
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0
|
|
9
|
+
OpenAPI Generator version: 4.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
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.0.
|
|
6
|
+
The version of the OpenAPI document: 2.0.1
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0
|
|
9
|
+
OpenAPI Generator version: 4.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
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.0.
|
|
6
|
+
The version of the OpenAPI document: 2.0.1
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0
|
|
9
|
+
OpenAPI Generator version: 4.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
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.0.
|
|
6
|
+
The version of the OpenAPI document: 2.0.1
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0
|
|
9
|
+
OpenAPI Generator version: 4.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
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.0.
|
|
6
|
+
The version of the OpenAPI document: 2.0.1
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0
|
|
9
|
+
OpenAPI Generator version: 4.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -61,6 +61,28 @@ module XeroRuby
|
|
|
61
61
|
# Booelan that tells you if the batch payment has been reconciled (read-only)
|
|
62
62
|
attr_accessor :is_reconciled
|
|
63
63
|
|
|
64
|
+
class EnumAttributeValidator
|
|
65
|
+
attr_reader :datatype
|
|
66
|
+
attr_reader :allowable_values
|
|
67
|
+
|
|
68
|
+
def initialize(datatype, allowable_values)
|
|
69
|
+
@allowable_values = allowable_values.map do |value|
|
|
70
|
+
case datatype.to_s
|
|
71
|
+
when /Integer/i
|
|
72
|
+
value.to_i
|
|
73
|
+
when /Float/i
|
|
74
|
+
value.to_f
|
|
75
|
+
else
|
|
76
|
+
value
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
def valid?(value)
|
|
82
|
+
!value || allowable_values.include?(value)
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
|
|
64
86
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
65
87
|
def self.attribute_map
|
|
66
88
|
{
|
|
@@ -222,6 +244,10 @@ module XeroRuby
|
|
|
222
244
|
return false if !@code.nil? && @code.to_s.length > 12
|
|
223
245
|
return false if !@details.nil? && @details.to_s.length > 18
|
|
224
246
|
return false if !@narrative.nil? && @narrative.to_s.length > 18
|
|
247
|
+
type_validator = EnumAttributeValidator.new('String', ["PAYBATCH", "RECBATCH"])
|
|
248
|
+
return false unless type_validator.valid?(@type)
|
|
249
|
+
status_validator = EnumAttributeValidator.new('String', ["AUTHORISED", "DELETED"])
|
|
250
|
+
return false unless status_validator.valid?(@status)
|
|
225
251
|
true
|
|
226
252
|
end
|
|
227
253
|
|
|
@@ -275,6 +301,26 @@ module XeroRuby
|
|
|
275
301
|
@narrative = narrative
|
|
276
302
|
end
|
|
277
303
|
|
|
304
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
305
|
+
# @param [Object] type Object to be assigned
|
|
306
|
+
def type=(type)
|
|
307
|
+
validator = EnumAttributeValidator.new('String', ["PAYBATCH", "RECBATCH"])
|
|
308
|
+
unless validator.valid?(type)
|
|
309
|
+
fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
|
|
310
|
+
end
|
|
311
|
+
@type = type
|
|
312
|
+
end
|
|
313
|
+
|
|
314
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
315
|
+
# @param [Object] status Object to be assigned
|
|
316
|
+
def status=(status)
|
|
317
|
+
validator = EnumAttributeValidator.new('String', ["AUTHORISED", "DELETED"])
|
|
318
|
+
unless validator.valid?(status)
|
|
319
|
+
fail ArgumentError, "invalid value for \"status\", must be one of #{validator.allowable_values}."
|
|
320
|
+
end
|
|
321
|
+
@status = status
|
|
322
|
+
end
|
|
323
|
+
|
|
278
324
|
# Checks equality by comparing each attribute.
|
|
279
325
|
# @param [Object] Object to be compared
|
|
280
326
|
def ==(o)
|
|
@@ -3,10 +3,10 @@
|
|
|
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.0.
|
|
6
|
+
The version of the OpenAPI document: 2.0.1
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0
|
|
9
|
+
OpenAPI Generator version: 4.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
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.0.
|
|
6
|
+
The version of the OpenAPI document: 2.0.1
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0
|
|
9
|
+
OpenAPI Generator version: 4.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
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.0.
|
|
6
|
+
The version of the OpenAPI document: 2.0.1
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0
|
|
9
|
+
OpenAPI Generator version: 4.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
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.0.
|
|
6
|
+
The version of the OpenAPI document: 2.0.1
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0
|
|
9
|
+
OpenAPI Generator version: 4.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -21,17 +21,47 @@ module XeroRuby
|
|
|
21
21
|
# Name of branding theme
|
|
22
22
|
attr_accessor :name
|
|
23
23
|
|
|
24
|
+
# The location of the image file used as the logo on this branding theme
|
|
25
|
+
attr_accessor :logo_url
|
|
26
|
+
|
|
27
|
+
# Always INVOICE
|
|
28
|
+
attr_accessor :type
|
|
29
|
+
|
|
24
30
|
# Integer – ranked order of branding theme. The default branding theme has a value of 0
|
|
25
31
|
attr_accessor :sort_order
|
|
26
32
|
|
|
27
33
|
# UTC timestamp of creation date of branding theme
|
|
28
34
|
attr_accessor :created_date_utc
|
|
29
35
|
|
|
36
|
+
class EnumAttributeValidator
|
|
37
|
+
attr_reader :datatype
|
|
38
|
+
attr_reader :allowable_values
|
|
39
|
+
|
|
40
|
+
def initialize(datatype, allowable_values)
|
|
41
|
+
@allowable_values = allowable_values.map do |value|
|
|
42
|
+
case datatype.to_s
|
|
43
|
+
when /Integer/i
|
|
44
|
+
value.to_i
|
|
45
|
+
when /Float/i
|
|
46
|
+
value.to_f
|
|
47
|
+
else
|
|
48
|
+
value
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
def valid?(value)
|
|
54
|
+
!value || allowable_values.include?(value)
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
30
58
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
31
59
|
def self.attribute_map
|
|
32
60
|
{
|
|
33
61
|
:'branding_theme_id' => :'BrandingThemeID',
|
|
34
62
|
:'name' => :'Name',
|
|
63
|
+
:'logo_url' => :'LogoUrl',
|
|
64
|
+
:'type' => :'Type',
|
|
35
65
|
:'sort_order' => :'SortOrder',
|
|
36
66
|
:'created_date_utc' => :'CreatedDateUTC'
|
|
37
67
|
}
|
|
@@ -42,6 +72,8 @@ module XeroRuby
|
|
|
42
72
|
{
|
|
43
73
|
:'branding_theme_id' => :'String',
|
|
44
74
|
:'name' => :'String',
|
|
75
|
+
:'logo_url' => :'String',
|
|
76
|
+
:'type' => :'String',
|
|
45
77
|
:'sort_order' => :'Integer',
|
|
46
78
|
:'created_date_utc' => :'DateTime'
|
|
47
79
|
}
|
|
@@ -70,6 +102,14 @@ module XeroRuby
|
|
|
70
102
|
self.name = attributes[:'name']
|
|
71
103
|
end
|
|
72
104
|
|
|
105
|
+
if attributes.key?(:'logo_url')
|
|
106
|
+
self.logo_url = attributes[:'logo_url']
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
if attributes.key?(:'type')
|
|
110
|
+
self.type = attributes[:'type']
|
|
111
|
+
end
|
|
112
|
+
|
|
73
113
|
if attributes.key?(:'sort_order')
|
|
74
114
|
self.sort_order = attributes[:'sort_order']
|
|
75
115
|
end
|
|
@@ -89,9 +129,21 @@ module XeroRuby
|
|
|
89
129
|
# Check to see if the all the properties in the model are valid
|
|
90
130
|
# @return true if the model is valid
|
|
91
131
|
def valid?
|
|
132
|
+
type_validator = EnumAttributeValidator.new('String', ["INVOICE"])
|
|
133
|
+
return false unless type_validator.valid?(@type)
|
|
92
134
|
true
|
|
93
135
|
end
|
|
94
136
|
|
|
137
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
138
|
+
# @param [Object] type Object to be assigned
|
|
139
|
+
def type=(type)
|
|
140
|
+
validator = EnumAttributeValidator.new('String', ["INVOICE"])
|
|
141
|
+
unless validator.valid?(type)
|
|
142
|
+
fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
|
|
143
|
+
end
|
|
144
|
+
@type = type
|
|
145
|
+
end
|
|
146
|
+
|
|
95
147
|
# Checks equality by comparing each attribute.
|
|
96
148
|
# @param [Object] Object to be compared
|
|
97
149
|
def ==(o)
|
|
@@ -99,6 +151,8 @@ module XeroRuby
|
|
|
99
151
|
self.class == o.class &&
|
|
100
152
|
branding_theme_id == o.branding_theme_id &&
|
|
101
153
|
name == o.name &&
|
|
154
|
+
logo_url == o.logo_url &&
|
|
155
|
+
type == o.type &&
|
|
102
156
|
sort_order == o.sort_order &&
|
|
103
157
|
created_date_utc == o.created_date_utc
|
|
104
158
|
end
|
|
@@ -112,7 +166,7 @@ module XeroRuby
|
|
|
112
166
|
# Calculates hash code according to all attributes.
|
|
113
167
|
# @return [Integer] Hash code
|
|
114
168
|
def hash
|
|
115
|
-
[branding_theme_id, name, sort_order, created_date_utc].hash
|
|
169
|
+
[branding_theme_id, name, logo_url, type, sort_order, created_date_utc].hash
|
|
116
170
|
end
|
|
117
171
|
|
|
118
172
|
# Builds the object from hash
|
|
@@ -3,10 +3,10 @@
|
|
|
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.0.
|
|
6
|
+
The version of the OpenAPI document: 2.0.1
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0
|
|
9
|
+
OpenAPI Generator version: 4.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
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.0.
|
|
6
|
+
The version of the OpenAPI document: 2.0.1
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0
|
|
9
|
+
OpenAPI Generator version: 4.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
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.0.
|
|
6
|
+
The version of the OpenAPI document: 2.0.1
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0
|
|
9
|
+
OpenAPI Generator version: 4.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
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.0.
|
|
6
|
+
The version of the OpenAPI document: 2.0.1
|
|
7
7
|
Contact: api@xero.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.0
|
|
9
|
+
OpenAPI Generator version: 4.2.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|