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
|
@@ -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
|
|
|
@@ -53,7 +53,7 @@ describe 'TaxRate' do
|
|
|
53
53
|
describe 'test attribute "status"' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["ACTIVE", "DELETED", "ARCHIVED"])
|
|
56
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["ACTIVE", "DELETED", "ARCHIVED", "PENDING"])
|
|
57
57
|
# validator.allowable_values.each do |value|
|
|
58
58
|
# expect { @instance.status = value }.not_to raise_error
|
|
59
59
|
# end
|
|
@@ -63,7 +63,7 @@ describe 'TaxRate' do
|
|
|
63
63
|
describe 'test attribute "report_tax_type"' do
|
|
64
64
|
it 'should work' do
|
|
65
65
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
66
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
66
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["AVALARA", "BASEXCLUDED", "CAPITALSALESOUTPUT", "CAPITALEXPENSESINPUT", "ECOUTPUT", "ECOUTPUTSERVICES", "ECINPUT", "ECACQUISITIONS", "EXEMPTEXPENSES", "EXEMPTINPUT", "EXEMPTOUTPUT", "GSTONIMPORTS", "INPUT", "INPUTTAXED", "MOSSSALES", "NONE", "NONEOUTPUT", "OUTPUT", "PURCHASESINPUT", "SALESOUTPUT", "EXEMPTCAPITAL", "EXEMPTEXPORT", "CAPITALEXINPUT", "GSTONCAPIMPORTS", "GSTONCAPITALIMPORTS", "REVERSECHARGES", "PAYMENTS", "INVOICE", "CASH", "ACCRUAL", "FLATRATECASH", "FLATRATEACCRUAL", "ACCRUALS", "TXCA", "SRCAS", "DSOUTPUT", "BLINPUT2", "EPINPUT", "IMINPUT2", "MEINPUT", "IGDSINPUT2", "ESN33OUTPUT", "OPINPUT", "OSOUTPUT", "TXN33INPUT", "TXESSINPUT", "TXREINPUT", "TXPETINPUT", "NRINPUT", "ES33OUTPUT", "ZERORATEDINPUT", "ZERORATEDOUTPUT"])
|
|
67
67
|
# validator.allowable_values.each do |value|
|
|
68
68
|
# expect { @instance.report_tax_type = value }.not_to raise_error
|
|
69
69
|
# 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
|
|
|
@@ -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
|
|
data/spec/models/user_spec.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/spec/models/users_spec.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
|
|
data/spec/spec_helper.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/xero-ruby.gemspec
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.0.
|
|
8
|
+
The version of the OpenAPI document: 2.0.1
|
|
9
9
|
Contact: api@xero.com
|
|
10
10
|
Generated by: https://openapi-generator.tech
|
|
11
|
-
OpenAPI Generator version: 4.0
|
|
11
|
+
OpenAPI Generator version: 4.2.0
|
|
12
12
|
|
|
13
13
|
=end
|
|
14
14
|
|
|
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
|
|
|
19
19
|
s.name = "xero-ruby"
|
|
20
20
|
s.version = XeroRuby::VERSION
|
|
21
21
|
s.platform = Gem::Platform::RUBY
|
|
22
|
-
s.authors = ["Xero
|
|
22
|
+
s.authors = ["Xero API Team"]
|
|
23
23
|
s.email = ["api@xero.com"]
|
|
24
24
|
s.homepage = "https://developer.xero.com"
|
|
25
25
|
s.summary = "Accounting API Ruby Gem"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: xero-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
- Xero
|
|
7
|
+
- Xero API Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-02-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -78,7 +78,6 @@ extensions: []
|
|
|
78
78
|
extra_rdoc_files: []
|
|
79
79
|
files:
|
|
80
80
|
- Gemfile
|
|
81
|
-
- Gemfile.lock
|
|
82
81
|
- README.md
|
|
83
82
|
- Rakefile
|
|
84
83
|
- docs/Account.md
|
|
@@ -161,6 +160,10 @@ files:
|
|
|
161
160
|
- docs/Purchase.md
|
|
162
161
|
- docs/PurchaseOrder.md
|
|
163
162
|
- docs/PurchaseOrders.md
|
|
163
|
+
- docs/Quote.md
|
|
164
|
+
- docs/QuoteLineAmountTypes.md
|
|
165
|
+
- docs/QuoteStatusCodes.md
|
|
166
|
+
- docs/Quotes.md
|
|
164
167
|
- docs/Receipt.md
|
|
165
168
|
- docs/Receipts.md
|
|
166
169
|
- docs/RepeatingInvoice.md
|
|
@@ -192,6 +195,7 @@ files:
|
|
|
192
195
|
- docs/Users.md
|
|
193
196
|
- docs/ValidationError.md
|
|
194
197
|
- git_push.sh
|
|
198
|
+
- lib/.DS_Store
|
|
195
199
|
- lib/xero-ruby.rb
|
|
196
200
|
- lib/xero-ruby/api/accounting_api.rb
|
|
197
201
|
- lib/xero-ruby/api_client.rb
|
|
@@ -276,6 +280,10 @@ files:
|
|
|
276
280
|
- lib/xero-ruby/models/purchase.rb
|
|
277
281
|
- lib/xero-ruby/models/purchase_order.rb
|
|
278
282
|
- lib/xero-ruby/models/purchase_orders.rb
|
|
283
|
+
- lib/xero-ruby/models/quote.rb
|
|
284
|
+
- lib/xero-ruby/models/quote_line_amount_types.rb
|
|
285
|
+
- lib/xero-ruby/models/quote_status_codes.rb
|
|
286
|
+
- lib/xero-ruby/models/quotes.rb
|
|
279
287
|
- lib/xero-ruby/models/receipt.rb
|
|
280
288
|
- lib/xero-ruby/models/receipts.rb
|
|
281
289
|
- lib/xero-ruby/models/repeating_invoice.rb
|
|
@@ -307,7 +315,7 @@ files:
|
|
|
307
315
|
- lib/xero-ruby/models/users.rb
|
|
308
316
|
- lib/xero-ruby/models/validation_error.rb
|
|
309
317
|
- lib/xero-ruby/version.rb
|
|
310
|
-
- pkg/xero-ruby-0.
|
|
318
|
+
- pkg/xero-ruby-0.2.0.gem
|
|
311
319
|
- spec/api/accounting_api_spec.rb
|
|
312
320
|
- spec/api_client_spec.rb
|
|
313
321
|
- spec/configuration_spec.rb
|
|
@@ -390,6 +398,10 @@ files:
|
|
|
390
398
|
- spec/models/purchase_order_spec.rb
|
|
391
399
|
- spec/models/purchase_orders_spec.rb
|
|
392
400
|
- spec/models/purchase_spec.rb
|
|
401
|
+
- spec/models/quote_line_amount_types_spec.rb
|
|
402
|
+
- spec/models/quote_spec.rb
|
|
403
|
+
- spec/models/quote_status_codes_spec.rb
|
|
404
|
+
- spec/models/quotes_spec.rb
|
|
393
405
|
- spec/models/receipt_spec.rb
|
|
394
406
|
- spec/models/receipts_spec.rb
|
|
395
407
|
- spec/models/repeating_invoice_spec.rb
|
|
@@ -496,6 +508,7 @@ test_files:
|
|
|
496
508
|
- spec/models/repeating_invoice_spec.rb
|
|
497
509
|
- spec/models/tracking_categories_spec.rb
|
|
498
510
|
- spec/models/tax_rates_spec.rb
|
|
511
|
+
- spec/models/quote_status_codes_spec.rb
|
|
499
512
|
- spec/models/element_spec.rb
|
|
500
513
|
- spec/models/manual_journal_line_spec.rb
|
|
501
514
|
- spec/models/payment_spec.rb
|
|
@@ -511,6 +524,7 @@ test_files:
|
|
|
511
524
|
- spec/models/contact_group_spec.rb
|
|
512
525
|
- spec/models/branding_themes_spec.rb
|
|
513
526
|
- spec/models/sales_tracking_category_spec.rb
|
|
527
|
+
- spec/models/quote_line_amount_types_spec.rb
|
|
514
528
|
- spec/models/expense_claim_spec.rb
|
|
515
529
|
- spec/models/receipts_spec.rb
|
|
516
530
|
- spec/models/report_attribute_spec.rb
|
|
@@ -531,6 +545,7 @@ test_files:
|
|
|
531
545
|
- spec/models/contact_groups_spec.rb
|
|
532
546
|
- spec/models/reports_spec.rb
|
|
533
547
|
- spec/models/prepayment_spec.rb
|
|
548
|
+
- spec/models/quotes_spec.rb
|
|
534
549
|
- spec/models/journals_spec.rb
|
|
535
550
|
- spec/models/organisation_spec.rb
|
|
536
551
|
- spec/models/manual_journal_spec.rb
|
|
@@ -538,6 +553,7 @@ test_files:
|
|
|
538
553
|
- spec/models/payment_services_spec.rb
|
|
539
554
|
- spec/models/users_spec.rb
|
|
540
555
|
- spec/models/purchase_orders_spec.rb
|
|
556
|
+
- spec/models/quote_spec.rb
|
|
541
557
|
- spec/models/report_cell_spec.rb
|
|
542
558
|
- spec/models/report_row_spec.rb
|
|
543
559
|
- spec/models/expense_claims_spec.rb
|
data/Gemfile.lock
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
xero-ruby (0.1.2)
|
|
5
|
-
json (~> 2.1, >= 2.1.0)
|
|
6
|
-
typhoeus (~> 1.0, >= 1.0.1)
|
|
7
|
-
|
|
8
|
-
GEM
|
|
9
|
-
remote: https://rubygems.org/
|
|
10
|
-
specs:
|
|
11
|
-
ZenTest (4.11.2)
|
|
12
|
-
addressable (2.5.2)
|
|
13
|
-
public_suffix (>= 2.0.2, < 4.0)
|
|
14
|
-
autotest (4.4.6)
|
|
15
|
-
ZenTest (>= 4.4.1)
|
|
16
|
-
autotest-fsevent (0.2.14)
|
|
17
|
-
sys-uname
|
|
18
|
-
autotest-growl (0.2.16)
|
|
19
|
-
autotest-rails-pure (4.1.2)
|
|
20
|
-
byebug (10.0.2)
|
|
21
|
-
coderay (1.1.2)
|
|
22
|
-
crack (0.4.3)
|
|
23
|
-
safe_yaml (~> 1.0.0)
|
|
24
|
-
diff-lcs (1.3)
|
|
25
|
-
ethon (0.11.0)
|
|
26
|
-
ffi (>= 1.3.0)
|
|
27
|
-
ffi (1.9.25)
|
|
28
|
-
hashdiff (0.3.7)
|
|
29
|
-
json (2.1.0)
|
|
30
|
-
method_source (0.9.0)
|
|
31
|
-
pry (0.11.3)
|
|
32
|
-
coderay (~> 1.1.0)
|
|
33
|
-
method_source (~> 0.9.0)
|
|
34
|
-
pry-byebug (3.6.0)
|
|
35
|
-
byebug (~> 10.0)
|
|
36
|
-
pry (~> 0.10)
|
|
37
|
-
public_suffix (3.0.3)
|
|
38
|
-
rake (12.0.0)
|
|
39
|
-
rspec (3.8.0)
|
|
40
|
-
rspec-core (~> 3.8.0)
|
|
41
|
-
rspec-expectations (~> 3.8.0)
|
|
42
|
-
rspec-mocks (~> 3.8.0)
|
|
43
|
-
rspec-core (3.8.0)
|
|
44
|
-
rspec-support (~> 3.8.0)
|
|
45
|
-
rspec-expectations (3.8.1)
|
|
46
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
47
|
-
rspec-support (~> 3.8.0)
|
|
48
|
-
rspec-mocks (3.8.0)
|
|
49
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
50
|
-
rspec-support (~> 3.8.0)
|
|
51
|
-
rspec-support (3.8.0)
|
|
52
|
-
safe_yaml (1.0.4)
|
|
53
|
-
sys-uname (1.0.3)
|
|
54
|
-
ffi (>= 1.0.0)
|
|
55
|
-
typhoeus (1.3.0)
|
|
56
|
-
ethon (>= 0.9.0)
|
|
57
|
-
vcr (3.0.3)
|
|
58
|
-
webmock (1.24.6)
|
|
59
|
-
addressable (>= 2.3.6)
|
|
60
|
-
crack (>= 0.3.2)
|
|
61
|
-
hashdiff
|
|
62
|
-
|
|
63
|
-
PLATFORMS
|
|
64
|
-
ruby
|
|
65
|
-
|
|
66
|
-
DEPENDENCIES
|
|
67
|
-
autotest (~> 4.4, >= 4.4.6)
|
|
68
|
-
autotest-fsevent (~> 0.2, >= 0.2.12)
|
|
69
|
-
autotest-growl (~> 0.2, >= 0.2.16)
|
|
70
|
-
autotest-rails-pure (~> 4.1, >= 4.1.2)
|
|
71
|
-
xero-ruby!
|
|
72
|
-
pry-byebug
|
|
73
|
-
rake (~> 12.0.0)
|
|
74
|
-
rspec (~> 3.6, >= 3.6.0)
|
|
75
|
-
vcr (~> 3.0, >= 3.0.1)
|
|
76
|
-
webmock (~> 1.24, >= 1.24.3)
|
|
77
|
-
|
|
78
|
-
BUNDLED WITH
|
|
79
|
-
1.16.1
|
data/pkg/xero-ruby-0.1.2.gem
DELETED
|
Binary file
|