From 9eac2b53cbd9164e45bd8641c31874fbddb67636 Mon Sep 17 00:00:00 2001 From: Rett Behrens Date: Thu, 27 Jan 2022 11:16:43 -0700 Subject: [PATCH 1/5] generated from xero-openapi 2.17.4 --- Gemfile.lock | 24 +- docs/accounting/index.html | 2 +- docs/app_store/Plan.md | 2 +- docs/app_store/SubscriptionItem.md | 2 + docs/app_store/index.html | 16 +- docs/assets/index.html | 2 +- docs/files/index.html | 6 +- docs/finance/index.html | 2 +- docs/payroll_au/AllowanceCategory.md | 16 + docs/payroll_au/EarningsRate.md | 4 +- docs/payroll_au/index.html | 13 +- docs/payroll_nz/index.html | 2 +- docs/payroll_uk/index.html | 2 +- docs/projects/index.html | 2 +- lib/xero-ruby.rb | 1 + lib/xero-ruby/api_client.rb | 2 +- lib/xero-ruby/models/accounting/account.rb | 68 +-- .../models/accounting/account_type.rb | 44 +- lib/xero-ruby/models/accounting/action.rb | 4 +- lib/xero-ruby/models/accounting/address.rb | 4 +- .../accounting/address_for_organisation.rb | 6 +- .../models/accounting/bank_transaction.rb | 22 +- .../models/accounting/batch_payment.rb | 8 +- .../models/accounting/branding_theme.rb | 2 +- lib/xero-ruby/models/accounting/budget.rb | 4 +- lib/xero-ruby/models/accounting/contact.rb | 18 +- .../models/accounting/contact_group.rb | 4 +- .../models/accounting/country_code.rb | 480 +++++++++--------- .../models/accounting/credit_note.rb | 16 +- .../models/accounting/currency_code.rb | 332 ++++++------ lib/xero-ruby/models/accounting/employee.rb | 8 +- .../models/accounting/expense_claim.rb | 10 +- .../models/accounting/external_link.rb | 10 +- lib/xero-ruby/models/accounting/invoice.rb | 28 +- lib/xero-ruby/models/accounting/journal.rb | 50 +- .../models/accounting/line_amount_types.rb | 6 +- .../models/accounting/linked_transaction.rb | 16 +- .../models/accounting/manual_journal.rb | 10 +- .../models/accounting/organisation.rb | 140 ++--- .../models/accounting/overpayment.rb | 12 +- lib/xero-ruby/models/accounting/payment.rb | 20 +- .../models/accounting/payment_term_type.rb | 8 +- lib/xero-ruby/models/accounting/phone.rb | 10 +- lib/xero-ruby/models/accounting/prepayment.rb | 14 +- .../models/accounting/purchase_order.rb | 10 +- .../accounting/quote_line_amount_types.rb | 6 +- .../models/accounting/quote_status_codes.rb | 12 +- lib/xero-ruby/models/accounting/receipt.rb | 10 +- .../models/accounting/repeating_invoice.rb | 10 +- lib/xero-ruby/models/accounting/report.rb | 2 +- lib/xero-ruby/models/accounting/row_type.rb | 8 +- lib/xero-ruby/models/accounting/schedule.rb | 16 +- lib/xero-ruby/models/accounting/tax_rate.rb | 156 +++--- lib/xero-ruby/models/accounting/tax_type.rb | 118 ++--- lib/xero-ruby/models/accounting/time_zone.rb | 218 ++++---- .../models/accounting/tracking_category.rb | 6 +- .../models/accounting/tracking_option.rb | 6 +- lib/xero-ruby/models/accounting/user.rb | 14 +- lib/xero-ruby/models/app_store/plan.rb | 11 +- lib/xero-ruby/models/app_store/product.rb | 4 +- .../models/app_store/subscription.rb | 37 ++ .../models/app_store/subscription_item.rb | 54 +- lib/xero-ruby/models/assets/asset_status.rb | 6 +- .../models/assets/asset_status_query_param.rb | 6 +- .../assets/book_depreciation_setting.rb | 22 +- lib/xero-ruby/models/files/object_group.rb | 23 +- lib/xero-ruby/models/files/object_type.rb | 111 ++-- lib/xero-ruby/models/finance/problem_type.rb | 10 +- .../models/payroll_au/account_type.rb | 46 +- .../models/payroll_au/allowance_category.rb | 41 ++ .../models/payroll_au/allowance_type.rb | 17 +- .../models/payroll_au/calendar_type.rb | 12 +- .../models/payroll_au/deduction_type.rb | 6 +- .../deduction_type_calculation_type.rb | 6 +- .../models/payroll_au/earnings_rate.rb | 18 +- .../earnings_rate_calculation_type.rb | 6 +- .../models/payroll_au/earnings_type.rb | 24 +- lib/xero-ruby/models/payroll_au/employee.rb | 22 +- .../models/payroll_au/employee_status.rb | 4 +- .../models/payroll_au/employment_basis.rb | 10 +- .../employment_termination_payment_type.rb | 4 +- .../entitlement_final_pay_payout_type.rb | 4 +- .../payroll_au/leave_line_calculation_type.rb | 10 +- .../models/payroll_au/leave_period_status.rb | 4 +- .../leave_type_contribution_type.rb | 8 +- .../models/payroll_au/manual_tax_type.rb | 12 +- .../models/payroll_au/pay_run_status.rb | 4 +- .../payroll_au/payment_frequency_type.rb | 14 +- lib/xero-ruby/models/payroll_au/rate_type.rb | 6 +- .../models/payroll_au/residency_status.rb | 6 +- lib/xero-ruby/models/payroll_au/state.rb | 16 +- .../models/payroll_au/super_fund_type.rb | 4 +- .../superannuation_calculation_type.rb | 6 +- .../superannuation_contribution_type.rb | 8 +- .../models/payroll_au/tfn_exemption_type.rb | 8 +- .../models/payroll_au/timesheet_status.rb | 10 +- lib/xero-ruby/models/payroll_nz/account.rb | 8 +- .../models/payroll_nz/bank_account.rb | 4 +- lib/xero-ruby/models/payroll_nz/benefit.rb | 10 +- .../models/payroll_nz/calendar_type.rb | 14 +- lib/xero-ruby/models/payroll_nz/deduction.rb | 8 +- .../models/payroll_nz/earnings_rate.rb | 36 +- lib/xero-ruby/models/payroll_nz/employee.rb | 4 +- .../models/payroll_nz/employee_leave_type.rb | 8 +- .../employee_statutory_leave_balance.rb | 12 +- .../employee_statutory_leave_summary.rb | 16 +- .../models/payroll_nz/employee_tax.rb | 10 +- .../models/payroll_nz/leave_period.rb | 4 +- lib/xero-ruby/models/payroll_nz/pay_run.rb | 10 +- lib/xero-ruby/models/payroll_nz/pay_slip.rb | 6 +- .../models/payroll_nz/payment_method.rb | 6 +- .../models/payroll_nz/reimbursement.rb | 16 +- .../models/payroll_nz/salary_and_wage.rb | 10 +- .../statutory_deduction_category.rb | 22 +- lib/xero-ruby/models/payroll_nz/tax_code.rb | 38 +- .../models/payroll_nz/tax_settings.rb | 4 +- lib/xero-ruby/models/payroll_nz/timesheet.rb | 8 +- lib/xero-ruby/models/payroll_uk/account.rb | 14 +- lib/xero-ruby/models/payroll_uk/benefit.rb | 8 +- lib/xero-ruby/models/payroll_uk/deduction.rb | 24 +- .../models/payroll_uk/earnings_rate.rb | 52 +- lib/xero-ruby/models/payroll_uk/employee.rb | 4 +- .../models/payroll_uk/employee_leave_type.rb | 8 +- .../employee_statutory_leave_balance.rb | 12 +- .../employee_statutory_leave_summary.rb | 16 +- lib/xero-ruby/models/payroll_uk/employment.rb | 16 +- .../models/payroll_uk/leave_period.rb | 4 +- lib/xero-ruby/models/payroll_uk/pay_run.rb | 22 +- .../models/payroll_uk/pay_run_calendar.rb | 12 +- .../models/payroll_uk/payment_method.rb | 6 +- lib/xero-ruby/models/payroll_uk/payslip.rb | 6 +- .../models/payroll_uk/salary_and_wage.rb | 10 +- .../statutory_deduction_category.rb | 28 +- lib/xero-ruby/models/payroll_uk/timesheet.rb | 6 +- lib/xero-ruby/models/projects/charge_type.rb | 6 +- .../models/projects/currency_code.rb | 328 ++++++------ .../models/projects/project_status.rb | 4 +- lib/xero-ruby/models/projects/task.rb | 6 +- lib/xero-ruby/models/projects/time_entry.rb | 6 +- lib/xero-ruby/version.rb | 12 +- 140 files changed, 1856 insertions(+), 1672 deletions(-) create mode 100644 docs/payroll_au/AllowanceCategory.md create mode 100644 lib/xero-ruby/models/payroll_au/allowance_category.rb diff --git a/Gemfile.lock b/Gemfile.lock index f9ee7bc7..a5396cd4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - xero-ruby (3.4.0) + xero-ruby (3.5.1) faraday (~> 1.0, >= 1.0.1) json (~> 2.1, >= 2.1.0) json-jwt (~> 1.5, >= 1.5.2) @@ -9,12 +9,11 @@ PATH GEM remote: https://rubygems.org/ specs: - activesupport (6.1.4.1) + activesupport (7.0.1) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) - zeitwerk (~> 2.3) aes_key_wrap (1.1.0) ast (2.4.1) bindata (2.4.10) @@ -22,35 +21,39 @@ GEM coderay (1.1.3) concurrent-ruby (1.1.9) diff-lcs (1.4.4) - faraday (1.8.0) + faraday (1.9.3) faraday-em_http (~> 1.0) faraday-em_synchrony (~> 1.0) faraday-excon (~> 1.1) - faraday-httpclient (~> 1.0.1) + faraday-httpclient (~> 1.0) + faraday-multipart (~> 1.0) faraday-net_http (~> 1.0) - faraday-net_http_persistent (~> 1.1) + faraday-net_http_persistent (~> 1.0) faraday-patron (~> 1.0) faraday-rack (~> 1.0) - multipart-post (>= 1.2, < 3) + faraday-retry (~> 1.0) ruby2_keywords (>= 0.0.4) faraday-em_http (1.0.0) faraday-em_synchrony (1.0.0) faraday-excon (1.1.0) faraday-httpclient (1.0.1) + faraday-multipart (1.0.3) + multipart-post (>= 1.2, < 3) faraday-net_http (1.0.1) faraday-net_http_persistent (1.2.0) faraday-patron (1.0.0) faraday-rack (1.0.0) - i18n (1.8.10) + faraday-retry (1.0.3) + i18n (1.9.0) concurrent-ruby (~> 1.0) jaro_winkler (1.5.4) - json (2.5.1) + json (2.6.1) json-jwt (1.13.0) activesupport (>= 4.2) aes_key_wrap bindata method_source (1.0.0) - minitest (5.14.4) + minitest (5.15.0) multipart-post (2.1.1) parallel (1.20.1) parser (2.7.2.0) @@ -90,7 +93,6 @@ GEM tzinfo (2.0.4) concurrent-ruby (~> 1.0) unicode-display_width (1.5.0) - zeitwerk (2.4.2) PLATFORMS ruby diff --git a/docs/accounting/index.html b/docs/accounting/index.html index 66c3d2cd..71b21ed5 100644 --- a/docs/accounting/index.html +++ b/docs/accounting/index.html @@ -5984,7 +5984,7 @@