From d022f37564442685b37ea3ced405f8a0f56cb667 Mon Sep 17 00:00:00 2001 From: serknight Date: Fri, 18 Dec 2020 15:47:24 -0700 Subject: [PATCH 1/9] add to pr to recreate in codege --- Gemfile.lock | 68 ++++++++++++++++++++++++++++++++++ lib/xero-ruby/api_client.rb | 74 ++++++++++++++++++++++++------------- lib/xero-ruby/api_error.rb | 5 ++- spec/api_client_spec.rb | 12 ------ spec/api_error_spec.rb | 45 ++++++++++++++++++++++ spec/configuration_spec.rb | 25 +++++-------- 6 files changed, 174 insertions(+), 55 deletions(-) create mode 100644 Gemfile.lock create mode 100644 spec/api_error_spec.rb diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 00000000..852adbaf --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,68 @@ +PATH + remote: . + specs: + xero-ruby (2.4.1) + faraday (~> 1.0.1, >= 1.0.1) + json (~> 2.1, >= 2.1.0) + +GEM + remote: https://rubygems.org/ + specs: + ast (2.4.1) + byebug (11.1.3) + coderay (1.1.3) + diff-lcs (1.4.4) + faraday (1.0.1) + multipart-post (>= 1.2, < 3) + jaro_winkler (1.5.4) + json (2.4.1) + method_source (1.0.0) + multipart-post (2.1.1) + parallel (1.20.1) + parser (2.7.2.0) + ast (~> 2.4.1) + pry (0.13.1) + coderay (~> 1.1) + method_source (~> 1.0) + pry-byebug (3.9.0) + byebug (~> 11.0) + pry (~> 0.13.0) + psych (3.2.1) + rainbow (3.0.0) + rake (12.3.3) + rspec (3.10.0) + rspec-core (~> 3.10.0) + rspec-expectations (~> 3.10.0) + rspec-mocks (~> 3.10.0) + rspec-core (3.10.0) + rspec-support (~> 3.10.0) + rspec-expectations (3.10.0) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-mocks (3.10.0) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-support (3.10.0) + rubocop (0.66.0) + jaro_winkler (~> 1.5.1) + parallel (~> 1.10) + parser (>= 2.5, != 2.5.1.1) + psych (>= 3.1.0) + rainbow (>= 2.2.2, < 4.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 1.4.0, < 1.6) + ruby-progressbar (1.10.1) + unicode-display_width (1.5.0) + +PLATFORMS + ruby + +DEPENDENCIES + pry-byebug + rake (~> 12.3.3) + rspec (~> 3.6, >= 3.6.0) + rubocop (~> 0.66.0) + xero-ruby! + +BUNDLED WITH + 2.1.4 diff --git a/lib/xero-ruby/api_client.rb b/lib/xero-ruby/api_client.rb index 6b799903..de0b6bc6 100644 --- a/lib/xero-ruby/api_client.rb +++ b/lib/xero-ruby/api_client.rb @@ -125,6 +125,8 @@ def token_request(data) req.headers['Content-Type'] = 'application/x-www-form-urlencoded' req.body = URI.encode_www_form(data) end + + return_error(response) unless response.success? body = JSON.parse(response.body) set_token_set(body) return body @@ -132,20 +134,15 @@ def token_request(data) # Connection heplers def connections - response = Faraday.get('https://api.xero.com/connections') do |req| - req.headers['Authorization'] = "Bearer #{access_token}" - req.headers['Content-Type'] = 'application/json' - end - body = JSON.parse(response.body) - return body + opts = { :header_params => {'Content-Type': 'application/json'}, :auth_names => ['OAuth2'] } + data, status_code, headers = call_api(:GET, 'https://api.xero.com/connections/', nil, opts) + data end def disconnect(connection_id) - Faraday.delete("https://api.xero.com/connections/#{connection_id}") do |req| - req.headers['Authorization'] = "Bearer #{access_token}" - req.headers['Content-Type'] = 'application/json' - end - return connections + opts = { :header_params => {'Content-Type': 'application/json'}, :auth_names => ['OAuth2'] } + data, status_code, headers = call_api(:DELETE, "https://api.xero.com/connections/#{connection_id}", nil, opts) + connections end # Call an API with given options. @@ -153,6 +150,7 @@ def disconnect(connection_id) # @return [Array<(Object, Integer, Hash)>] an array of 3 elements: # the data deserialized from response body (could be nil), response status code and response headers. def call_api(http_method, path, api_client, opts = {}) + puts "calling API #{opts}" ssl_options = { :ca_file => @config.ssl_ca_file, :verify => @config.ssl_verify, @@ -161,36 +159,35 @@ def call_api(http_method, path, api_client, opts = {}) :client_key => @config.ssl_client_key } + puts '1' connection = Faraday.new(:url => config.base_url, :ssl => ssl_options) do |conn| + puts '1.2' conn.basic_auth(config.username, config.password) + puts '1.3' if opts[:header_params]["Content-Type"] == "multipart/form-data" + puts '1.2' conn.request :multipart conn.request :url_encoded end conn.adapter(Faraday.default_adapter) end + puts '2' begin + puts '3' response = connection.public_send(http_method.to_sym.downcase) do |req| + puts '4' build_request(http_method, path, req, opts) + puts '5' end if @config.debugging @config.logger.debug "HTTP response body ~BEGIN~\n#{response.body}\n~END~\n" end - unless response.success? - if response.status == 0 - # Errors from libcurl will be made visible here - fail ApiError.new(:code => 0, - :message => response.return_message) - else - fail ApiError.new(:code => response.status, - :response_headers => response.headers, - :response_body => response.body), - response.reason_phrase - end - end + puts "*****************" + puts "response: #{response.inspect}" + return_error(response) unless response.success? rescue Faraday::TimeoutError fail ApiError.new('Connection timed out') end @@ -198,12 +195,27 @@ def call_api(http_method, path, api_client, opts = {}) if opts[:return_type] prepare_file(response) if opts[:return_type] == 'File' data = deserialize(response, opts[:return_type], api_client) + elsif !response.body.empty? + data = JSON.parse(response.body) else data = nil end return data, response.status, response.headers end + def return_error(response) + if response.status == 0 + # Errors from libcurl will be made visible here + fail ApiError.new(:code => 0, + :message => response.return_message) + else + fail ApiError.new(:code => response.status, + :response_headers => response.headers, + :response_body => response.body), + response.reason_phrase + end + end + # Builds the HTTP request # # @param [String] http_method HTTP method/verb (e.g. POST) @@ -214,14 +226,19 @@ def call_api(http_method, path, api_client, opts = {}) # @option opts [Object] :body HTTP body (JSON/XML) # @return A Faraday Request def build_request(http_method, path, request, opts = {}) + puts "BR 1" url = build_request_url(path) + puts "BR 2" http_method = http_method.to_sym.downcase + puts "BR 3" header_params = @default_headers.merge(opts[:header_params] || {}) + puts "BR 4" query_params = opts[:query_params] || {} form_params = opts[:form_params] || {} update_params_for_auth! header_params, query_params, opts[:auth_names] + puts "BR 5" req_opts = { :method => http_method, @@ -231,8 +248,10 @@ def build_request(http_method, path, request, opts = {}) :timeout => @config.timeout, :verbose => @config.debugging } + puts "BR 6 #{req_opts}" if [:post, :patch, :put, :delete].include?(http_method) + puts "BR 7" req_body = build_request_body(header_params, form_params, opts[:body]) req_opts.update :body => req_body if @config.debugging @@ -243,6 +262,7 @@ def build_request(http_method, path, request, opts = {}) request.body = req_body request.url url request.params = query_params + puts "request #{request}" request end @@ -417,8 +437,12 @@ def sanitize_filename(filename) def build_request_url(path) # Add leading and trailing slashes to path - path = "/#{path}".gsub(/\/+/, '/') - @config.base_url + path + if @config.base_url + path = "/#{path}".gsub(/\/+/, '/') + @config.base_url + path + else + path + end end # Update hearder and query params based on authentication settings. diff --git a/lib/xero-ruby/api_error.rb b/lib/xero-ruby/api_error.rb index 3341523b..2802e145 100644 --- a/lib/xero-ruby/api_error.rb +++ b/lib/xero-ruby/api_error.rb @@ -21,8 +21,8 @@ class ApiError < StandardError # ApiError.new(:code => 404, :message => "Not Found") def initialize(arg = nil) if arg.is_a? Hash - if arg.key?(:message) || arg.key?('message') - super(arg[:message] || arg['message']) + if arg.key?(:message) || arg.key?('message') || arg.key?(:Message) || arg.key?('Message') + super(arg[:message] || arg['message'] || arg.key?(:Message) || arg.key?('Message')) else super arg end @@ -31,6 +31,7 @@ def initialize(arg = nil) instance_variable_set "@#{k}", v end else + @message = arg super arg end end diff --git a/spec/api_client_spec.rb b/spec/api_client_spec.rb index cf5b96ee..dc95fcdb 100644 --- a/spec/api_client_spec.rb +++ b/spec/api_client_spec.rb @@ -1,15 +1,3 @@ -=begin -#Accounting API - -#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -The version of the OpenAPI document: 2.1.3 -Contact: api@xero.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 4.3.0 - -=end - require './spec_helper' describe XeroRuby::ApiClient do diff --git a/spec/api_error_spec.rb b/spec/api_error_spec.rb new file mode 100644 index 00000000..ce778869 --- /dev/null +++ b/spec/api_error_spec.rb @@ -0,0 +1,45 @@ +require './spec_helper' + +describe XeroRuby::ApiError do + context 'initialization' do + it 'returns default error message' do + api_error = XeroRuby::ApiError.new + expect(api_error.message).to eq("Error message: the server returns an error") + end + + it 'returns error message from json array' do + error_body = { + "ErrorNumber": 10, + "Type": "ValidationException", + "Message": "A validation exception occurred", + "Elements": [ + { + "ValidationErrors": [ + { + "Message": "The TaxType code NONE does not exist or cannot be used for this type of transaction." + } + ], + "Warnings": [ + { + "Message": "Account code '600' has been removed as it does not match a recognised account." + } + ] + } + ] + } + api_error = XeroRuby::ApiError.new( + :code => 400, + :response_headers => {"content-type"=>"application/json; charset=utf-8", "content-length"=>"1700", "server"=>"nginx", "xero-correlation-id"=>"31e2c94e-3ae4-402a-a374-b7a94ef9445c", "x-appminlimit-remaining"=>"9988", "x-minlimit-remaining"=>"58", "x-daylimit-remaining"=>"4998", "expires"=>"Fri, 18 Dec 2020 17:56:29 GMT", "cache-control"=>"max-age=0, no-cache, no-store", "pragma"=>"no-cache", "date"=>"Fri, 18 Dec 2020 17:56:29 GMT", "connection"=>"close", "x-client-tls-ver"=>"tls1.3"}, + :response_body => error_body + ) + expect(api_error.message).to include("The TaxType code NONE does not exist or cannot be used for this type of transaction") + expect(api_error.message).to include("Account code '600' has been removed as it does not match a recognised account.") + end + + it 'returns error message when message is simple string' do + error_body = "Timeout error" + api_error = XeroRuby::ApiError.new(error_body) + expect(api_error.message).to include(error_body) + end + end +end diff --git a/spec/configuration_spec.rb b/spec/configuration_spec.rb index edca8adc..4dd0c853 100644 --- a/spec/configuration_spec.rb +++ b/spec/configuration_spec.rb @@ -1,15 +1,3 @@ -=begin -#Accounting API - -#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -The version of the OpenAPI document: 2.1.3 -Contact: api@xero.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 4.3.0 - -=end - require 'spec_helper' describe XeroRuby::Configuration do @@ -17,10 +5,15 @@ describe 'urls' do it 'should have the default value' do - expect(config.login_url).to eq("https://login.xero.com/identity/connect/authorize") - expect(config.token_url).to eq("https://identity.xero.com/connect/token") - expect(config.accounting_url).to eq("https://api.xero.com/api.xro/2.0") - expect(config.asset_url).to eq("https://api.xero.com/assets.xro/1.0") + expect(config.login_url).to eq('https://login.xe.ro com/identity/connect/authorize') + expect(config.token_url).to eq('https://identity.xe.ro com/connect/token') + expect(config.accounting_url).to eq('https://api.xe.ro com/api.xro/2.0') + expect(config.asset_url).to eq('https://api.xe.ro com/assets.xro/1.0') + expect(config.project_url).to eq('https://api.xe.ro com/projects.xro/2.0/') + expect(config.files_url).to eq('https://api.xe.ro com/files.xro/1.0/') + expect(config.payroll_au_url).to eq('https://api.xe.ro com/payroll.xro/1.0/') + expect(config.payroll_nz_url).to eq('https://api.xe.ro com/payroll.xro/2.0/') + expect(config.payroll_uk_url).to eq('https://api.xe.ro com/payroll.xro/2.0/') end end end From 646da285e25f1b9e44590ba65d0e93cdad3042a3 Mon Sep 17 00:00:00 2001 From: serknight Date: Fri, 18 Dec 2020 16:18:57 -0700 Subject: [PATCH 2/9] spec --- lib/xero-ruby/api_client.rb | 8 ++++---- spec/configuration_spec.rb | 18 +++++++++--------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/lib/xero-ruby/api_client.rb b/lib/xero-ruby/api_client.rb index de0b6bc6..62d0819f 100644 --- a/lib/xero-ruby/api_client.rb +++ b/lib/xero-ruby/api_client.rb @@ -135,14 +135,14 @@ def token_request(data) # Connection heplers def connections opts = { :header_params => {'Content-Type': 'application/json'}, :auth_names => ['OAuth2'] } - data, status_code, headers = call_api(:GET, 'https://api.xero.com/connections/', nil, opts) - data + response = call_api(:GET, 'https://api.xero.com/connections/', nil, opts) + response[0] end def disconnect(connection_id) opts = { :header_params => {'Content-Type': 'application/json'}, :auth_names => ['OAuth2'] } - data, status_code, headers = call_api(:DELETE, "https://api.xero.com/connections/#{connection_id}", nil, opts) - connections + response = call_api(:DELETE, "https://api.xero.com/connections/#{connection_id}", nil, opts) + response[0] end # Call an API with given options. diff --git a/spec/configuration_spec.rb b/spec/configuration_spec.rb index 4dd0c853..238b80ac 100644 --- a/spec/configuration_spec.rb +++ b/spec/configuration_spec.rb @@ -5,15 +5,15 @@ describe 'urls' do it 'should have the default value' do - expect(config.login_url).to eq('https://login.xe.ro com/identity/connect/authorize') - expect(config.token_url).to eq('https://identity.xe.ro com/connect/token') - expect(config.accounting_url).to eq('https://api.xe.ro com/api.xro/2.0') - expect(config.asset_url).to eq('https://api.xe.ro com/assets.xro/1.0') - expect(config.project_url).to eq('https://api.xe.ro com/projects.xro/2.0/') - expect(config.files_url).to eq('https://api.xe.ro com/files.xro/1.0/') - expect(config.payroll_au_url).to eq('https://api.xe.ro com/payroll.xro/1.0/') - expect(config.payroll_nz_url).to eq('https://api.xe.ro com/payroll.xro/2.0/') - expect(config.payroll_uk_url).to eq('https://api.xe.ro com/payroll.xro/2.0/') + expect(config.login_url).to eq('https://login.xero.com/identity/connect/authorize') + expect(config.token_url).to eq('https://identity.xero.com/connect/token') + expect(config.accounting_url).to eq('https://api.xero.com/api.xro/2.0') + expect(config.asset_url).to eq('https://api.xero.com/assets.xro/1.0') + expect(config.project_url).to eq('https://api.xero.com/projects.xro/2.0/') + expect(config.files_url).to eq('https://api.xero.com/files.xro/1.0/') + expect(config.payroll_au_url).to eq('https://api.xero.com/payroll.xro/1.0/') + expect(config.payroll_nz_url).to eq('https://api.xero.com/payroll.xro/2.0/') + expect(config.payroll_uk_url).to eq('https://api.xero.com/payroll.xro/2.0/') end end end From bcae6b64f014407ad780a7ef7132fb14a62a9049 Mon Sep 17 00:00:00 2001 From: serknight Date: Fri, 18 Dec 2020 16:44:24 -0700 Subject: [PATCH 3/9] regen 2.8.0 and built from codegen --- README.md | 4 +- docs/accounting/AccountingApi.md | 8 +- docs/accounting/AddressForOrganisation.md | 35 ++ docs/accounting/CISOrgSetting.md | 2 +- docs/accounting/CISSetting.md | 2 +- docs/accounting/CreditNote.md | 4 + docs/accounting/Invoice.md | 4 +- docs/accounting/Organisation.md | 2 +- docs/payroll_nz/SalaryAndWage.md | 2 +- lib/xero-ruby.rb | 3 +- lib/xero-ruby/api/accounting_api.rb | 2 +- lib/xero-ruby/api/asset_api.rb | 2 +- lib/xero-ruby/api/payroll_au_api.rb | 2 +- lib/xero-ruby/api/payroll_nz_api.rb | 2 +- lib/xero-ruby/api/payroll_uk_api.rb | 2 +- lib/xero-ruby/api/project_api.rb | 2 +- lib/xero-ruby/api_client.rb | 25 +- lib/xero-ruby/api_error.rb | 2 +- lib/xero-ruby/configuration.rb | 2 +- lib/xero-ruby/models/accounting/account.rb | 5 +- .../models/accounting/account_type.rb | 2 +- lib/xero-ruby/models/accounting/accounts.rb | 2 +- .../models/accounting/accounts_payable.rb | 2 +- .../models/accounting/accounts_receivable.rb | 2 +- lib/xero-ruby/models/accounting/action.rb | 2 +- lib/xero-ruby/models/accounting/actions.rb | 2 +- lib/xero-ruby/models/accounting/address.rb | 7 +- .../accounting/address_for_organisation.rb | 470 ++++++++++++++++++ lib/xero-ruby/models/accounting/allocation.rb | 2 +- .../models/accounting/allocations.rb | 2 +- lib/xero-ruby/models/accounting/attachment.rb | 2 +- .../models/accounting/attachments.rb | 2 +- .../models/accounting/balance_details.rb | 2 +- lib/xero-ruby/models/accounting/balances.rb | 2 +- .../models/accounting/bank_transaction.rb | 2 +- .../models/accounting/bank_transactions.rb | 2 +- .../models/accounting/bank_transfer.rb | 2 +- .../models/accounting/bank_transfers.rb | 2 +- .../models/accounting/batch_payment.rb | 2 +- .../accounting/batch_payment_details.rb | 2 +- .../models/accounting/batch_payments.rb | 2 +- lib/xero-ruby/models/accounting/bill.rb | 2 +- .../models/accounting/branding_theme.rb | 2 +- .../models/accounting/branding_themes.rb | 2 +- .../models/accounting/cis_org_setting.rb | 4 +- .../models/accounting/cis_setting.rb | 4 +- .../models/accounting/cis_settings.rb | 2 +- lib/xero-ruby/models/accounting/contact.rb | 2 +- .../models/accounting/contact_group.rb | 2 +- .../models/accounting/contact_groups.rb | 2 +- .../models/accounting/contact_person.rb | 2 +- lib/xero-ruby/models/accounting/contacts.rb | 2 +- .../models/accounting/conversion_balances.rb | 2 +- .../models/accounting/conversion_date.rb | 2 +- .../models/accounting/country_code.rb | 2 +- .../models/accounting/credit_note.rb | 24 +- .../models/accounting/credit_notes.rb | 2 +- lib/xero-ruby/models/accounting/currencies.rb | 2 +- lib/xero-ruby/models/accounting/currency.rb | 2 +- .../models/accounting/currency_code.rb | 2 +- lib/xero-ruby/models/accounting/element.rb | 2 +- lib/xero-ruby/models/accounting/employee.rb | 2 +- lib/xero-ruby/models/accounting/employees.rb | 2 +- lib/xero-ruby/models/accounting/error.rb | 2 +- .../models/accounting/expense_claim.rb | 2 +- .../models/accounting/expense_claims.rb | 2 +- .../models/accounting/external_link.rb | 2 +- .../models/accounting/history_record.rb | 2 +- .../models/accounting/history_records.rb | 2 +- .../models/accounting/import_summary.rb | 2 +- .../accounting/import_summary_accounts.rb | 2 +- .../accounting/import_summary_object.rb | 2 +- .../accounting/import_summary_organisation.rb | 2 +- lib/xero-ruby/models/accounting/invoice.rb | 31 +- .../models/accounting/invoice_reminder.rb | 2 +- .../models/accounting/invoice_reminders.rb | 2 +- lib/xero-ruby/models/accounting/invoices.rb | 2 +- lib/xero-ruby/models/accounting/item.rb | 2 +- lib/xero-ruby/models/accounting/items.rb | 2 +- lib/xero-ruby/models/accounting/journal.rb | 2 +- .../models/accounting/journal_line.rb | 2 +- lib/xero-ruby/models/accounting/journals.rb | 2 +- .../models/accounting/line_amount_types.rb | 2 +- lib/xero-ruby/models/accounting/line_item.rb | 2 +- .../models/accounting/line_item_tracking.rb | 2 +- .../models/accounting/linked_transaction.rb | 2 +- .../models/accounting/linked_transactions.rb | 2 +- .../models/accounting/manual_journal.rb | 2 +- .../models/accounting/manual_journal_line.rb | 2 +- .../models/accounting/manual_journals.rb | 2 +- .../models/accounting/online_invoice.rb | 2 +- .../models/accounting/online_invoices.rb | 2 +- .../models/accounting/organisation.rb | 32 +- .../models/accounting/organisations.rb | 2 +- .../models/accounting/overpayment.rb | 2 +- .../models/accounting/overpayments.rb | 2 +- lib/xero-ruby/models/accounting/payment.rb | 2 +- .../models/accounting/payment_delete.rb | 2 +- .../models/accounting/payment_service.rb | 2 +- .../models/accounting/payment_services.rb | 2 +- .../models/accounting/payment_term.rb | 2 +- .../models/accounting/payment_term_type.rb | 2 +- lib/xero-ruby/models/accounting/payments.rb | 2 +- lib/xero-ruby/models/accounting/phone.rb | 2 +- lib/xero-ruby/models/accounting/prepayment.rb | 2 +- .../models/accounting/prepayments.rb | 2 +- lib/xero-ruby/models/accounting/purchase.rb | 2 +- .../models/accounting/purchase_order.rb | 2 +- .../models/accounting/purchase_orders.rb | 2 +- lib/xero-ruby/models/accounting/quote.rb | 2 +- .../accounting/quote_line_amount_types.rb | 2 +- .../models/accounting/quote_status_codes.rb | 2 +- lib/xero-ruby/models/accounting/quotes.rb | 2 +- lib/xero-ruby/models/accounting/receipt.rb | 2 +- lib/xero-ruby/models/accounting/receipts.rb | 2 +- .../models/accounting/repeating_invoice.rb | 2 +- .../models/accounting/repeating_invoices.rb | 2 +- lib/xero-ruby/models/accounting/report.rb | 2 +- .../models/accounting/report_attribute.rb | 2 +- .../models/accounting/report_cell.rb | 2 +- .../models/accounting/report_fields.rb | 2 +- lib/xero-ruby/models/accounting/report_row.rb | 2 +- .../models/accounting/report_rows.rb | 2 +- .../models/accounting/report_with_row.rb | 2 +- .../models/accounting/report_with_rows.rb | 2 +- lib/xero-ruby/models/accounting/reports.rb | 2 +- .../models/accounting/request_empty.rb | 2 +- lib/xero-ruby/models/accounting/row_type.rb | 2 +- .../accounting/sales_tracking_category.rb | 2 +- lib/xero-ruby/models/accounting/schedule.rb | 2 +- lib/xero-ruby/models/accounting/setup.rb | 2 +- .../models/accounting/tax_component.rb | 2 +- lib/xero-ruby/models/accounting/tax_rate.rb | 2 +- lib/xero-ruby/models/accounting/tax_rates.rb | 2 +- lib/xero-ruby/models/accounting/tax_type.rb | 2 +- .../accounting/ten_ninety_nine_contact.rb | 2 +- lib/xero-ruby/models/accounting/time_zone.rb | 2 +- .../models/accounting/tracking_categories.rb | 2 +- .../models/accounting/tracking_category.rb | 2 +- .../models/accounting/tracking_option.rb | 2 +- .../models/accounting/tracking_options.rb | 2 +- lib/xero-ruby/models/accounting/user.rb | 2 +- lib/xero-ruby/models/accounting/users.rb | 2 +- .../models/accounting/validation_error.rb | 2 +- lib/xero-ruby/models/assets/asset.rb | 2 +- lib/xero-ruby/models/assets/asset_status.rb | 2 +- .../models/assets/asset_status_query_param.rb | 2 +- lib/xero-ruby/models/assets/asset_type.rb | 2 +- lib/xero-ruby/models/assets/assets.rb | 2 +- .../models/assets/book_depreciation_detail.rb | 2 +- .../assets/book_depreciation_setting.rb | 2 +- lib/xero-ruby/models/assets/error.rb | 2 +- .../assets/field_validation_errors_element.rb | 2 +- lib/xero-ruby/models/assets/pagination.rb | 2 +- .../resource_validation_errors_element.rb | 2 +- lib/xero-ruby/models/assets/setting.rb | 2 +- lib/xero-ruby/models/payroll_au/account.rb | 2 +- .../models/payroll_au/account_type.rb | 2 +- .../models/payroll_au/allowance_type.rb | 2 +- .../models/payroll_au/api_exception.rb | 2 +- .../models/payroll_au/bank_account.rb | 2 +- .../models/payroll_au/calendar_type.rb | 2 +- .../models/payroll_au/deduction_line.rb | 2 +- .../models/payroll_au/deduction_type.rb | 2 +- .../deduction_type_calculation_type.rb | 2 +- .../models/payroll_au/earnings_line.rb | 2 +- .../models/payroll_au/earnings_rate.rb | 2 +- .../earnings_rate_calculation_type.rb | 2 +- .../models/payroll_au/earnings_type.rb | 2 +- lib/xero-ruby/models/payroll_au/employee.rb | 2 +- .../models/payroll_au/employee_status.rb | 2 +- lib/xero-ruby/models/payroll_au/employees.rb | 2 +- .../models/payroll_au/employment_basis.rb | 2 +- .../employment_termination_payment_type.rb | 2 +- .../entitlement_final_pay_payout_type.rb | 2 +- .../models/payroll_au/home_address.rb | 2 +- .../models/payroll_au/leave_accrual_line.rb | 2 +- .../models/payroll_au/leave_application.rb | 2 +- .../models/payroll_au/leave_applications.rb | 2 +- .../models/payroll_au/leave_balance.rb | 2 +- .../models/payroll_au/leave_earnings_line.rb | 2 +- lib/xero-ruby/models/payroll_au/leave_line.rb | 2 +- .../payroll_au/leave_line_calculation_type.rb | 2 +- .../models/payroll_au/leave_lines.rb | 2 +- .../models/payroll_au/leave_period.rb | 2 +- .../models/payroll_au/leave_period_status.rb | 2 +- lib/xero-ruby/models/payroll_au/leave_type.rb | 2 +- .../leave_type_contribution_type.rb | 2 +- .../models/payroll_au/manual_tax_type.rb | 2 +- .../models/payroll_au/opening_balances.rb | 2 +- lib/xero-ruby/models/payroll_au/pay_item.rb | 2 +- lib/xero-ruby/models/payroll_au/pay_items.rb | 2 +- lib/xero-ruby/models/payroll_au/pay_run.rb | 2 +- .../models/payroll_au/pay_run_status.rb | 2 +- lib/xero-ruby/models/payroll_au/pay_runs.rb | 2 +- .../models/payroll_au/pay_template.rb | 2 +- .../payroll_au/payment_frequency_type.rb | 2 +- .../models/payroll_au/payroll_calendar.rb | 2 +- .../models/payroll_au/payroll_calendars.rb | 2 +- lib/xero-ruby/models/payroll_au/payslip.rb | 2 +- .../models/payroll_au/payslip_lines.rb | 2 +- .../models/payroll_au/payslip_object.rb | 2 +- .../models/payroll_au/payslip_summary.rb | 2 +- lib/xero-ruby/models/payroll_au/payslips.rb | 2 +- lib/xero-ruby/models/payroll_au/rate_type.rb | 2 +- .../models/payroll_au/reimbursement_line.rb | 2 +- .../models/payroll_au/reimbursement_lines.rb | 2 +- .../models/payroll_au/reimbursement_type.rb | 2 +- .../models/payroll_au/residency_status.rb | 2 +- lib/xero-ruby/models/payroll_au/settings.rb | 2 +- .../models/payroll_au/settings_object.rb | 2 +- .../settings_tracking_categories.rb | 2 +- ...ngs_tracking_categories_employee_groups.rb | 2 +- ...racking_categories_timesheet_categories.rb | 2 +- lib/xero-ruby/models/payroll_au/state.rb | 2 +- lib/xero-ruby/models/payroll_au/super_fund.rb | 2 +- .../models/payroll_au/super_fund_product.rb | 2 +- .../models/payroll_au/super_fund_products.rb | 2 +- .../models/payroll_au/super_fund_type.rb | 2 +- .../models/payroll_au/super_funds.rb | 2 +- lib/xero-ruby/models/payroll_au/super_line.rb | 2 +- .../models/payroll_au/super_membership.rb | 2 +- .../superannuation_calculation_type.rb | 2 +- .../superannuation_contribution_type.rb | 2 +- .../models/payroll_au/superannuation_line.rb | 2 +- .../models/payroll_au/tax_declaration.rb | 2 +- lib/xero-ruby/models/payroll_au/tax_line.rb | 2 +- .../models/payroll_au/tfn_exemption_type.rb | 2 +- lib/xero-ruby/models/payroll_au/timesheet.rb | 2 +- .../models/payroll_au/timesheet_line.rb | 2 +- .../models/payroll_au/timesheet_object.rb | 2 +- .../models/payroll_au/timesheet_status.rb | 2 +- lib/xero-ruby/models/payroll_au/timesheets.rb | 2 +- .../models/payroll_au/validation_error.rb | 2 +- lib/xero-ruby/models/payroll_nz/account.rb | 2 +- lib/xero-ruby/models/payroll_nz/accounts.rb | 2 +- lib/xero-ruby/models/payroll_nz/address.rb | 2 +- .../models/payroll_nz/bank_account.rb | 2 +- lib/xero-ruby/models/payroll_nz/benefit.rb | 2 +- .../models/payroll_nz/calendar_type.rb | 2 +- lib/xero-ruby/models/payroll_nz/deduction.rb | 2 +- .../models/payroll_nz/deduction_line.rb | 2 +- .../models/payroll_nz/deduction_object.rb | 2 +- lib/xero-ruby/models/payroll_nz/deductions.rb | 2 +- .../models/payroll_nz/earnings_line.rb | 2 +- .../models/payroll_nz/earnings_order.rb | 2 +- .../payroll_nz/earnings_order_object.rb | 2 +- .../models/payroll_nz/earnings_orders.rb | 2 +- .../models/payroll_nz/earnings_rate.rb | 2 +- .../models/payroll_nz/earnings_rate_object.rb | 2 +- .../models/payroll_nz/earnings_rates.rb | 2 +- .../models/payroll_nz/earnings_template.rb | 2 +- .../payroll_nz/earnings_template_object.rb | 2 +- lib/xero-ruby/models/payroll_nz/employee.rb | 2 +- .../payroll_nz/employee_earnings_templates.rb | 2 +- .../models/payroll_nz/employee_leave.rb | 2 +- .../payroll_nz/employee_leave_balance.rb | 2 +- .../payroll_nz/employee_leave_balances.rb | 2 +- .../payroll_nz/employee_leave_object.rb | 2 +- .../models/payroll_nz/employee_leave_setup.rb | 2 +- .../payroll_nz/employee_leave_setup_object.rb | 2 +- .../models/payroll_nz/employee_leave_type.rb | 2 +- .../payroll_nz/employee_leave_type_object.rb | 2 +- .../models/payroll_nz/employee_leave_types.rb | 2 +- .../models/payroll_nz/employee_leaves.rb | 2 +- .../models/payroll_nz/employee_object.rb | 2 +- .../payroll_nz/employee_opening_balance.rb | 2 +- .../employee_opening_balances_object.rb | 2 +- .../payroll_nz/employee_pay_template.rb | 2 +- .../employee_pay_template_object.rb | 2 +- .../payroll_nz/employee_pay_templates.rb | 2 +- .../employee_statutory_leave_balance.rb | 2 +- ...employee_statutory_leave_balance_object.rb | 2 +- .../employee_statutory_leave_summary.rb | 2 +- .../employee_statutory_leaves_summaries.rb | 2 +- .../employee_statutory_sick_leave.rb | 2 +- .../employee_statutory_sick_leave_object.rb | 2 +- .../employee_statutory_sick_leaves.rb | 2 +- .../models/payroll_nz/employee_tax.rb | 2 +- .../models/payroll_nz/employee_tax_object.rb | 2 +- lib/xero-ruby/models/payroll_nz/employees.rb | 2 +- lib/xero-ruby/models/payroll_nz/employment.rb | 2 +- .../models/payroll_nz/employment_object.rb | 2 +- .../payroll_nz/gross_earnings_history.rb | 2 +- .../models/payroll_nz/invalid_field.rb | 2 +- .../models/payroll_nz/leave_accrual_line.rb | 2 +- .../models/payroll_nz/leave_earnings_line.rb | 2 +- .../models/payroll_nz/leave_period.rb | 2 +- .../models/payroll_nz/leave_periods.rb | 2 +- lib/xero-ruby/models/payroll_nz/leave_type.rb | 2 +- .../models/payroll_nz/leave_type_object.rb | 2 +- .../models/payroll_nz/leave_types.rb | 2 +- lib/xero-ruby/models/payroll_nz/pagination.rb | 2 +- lib/xero-ruby/models/payroll_nz/pay_run.rb | 2 +- .../models/payroll_nz/pay_run_calendar.rb | 2 +- .../payroll_nz/pay_run_calendar_object.rb | 2 +- .../models/payroll_nz/pay_run_calendars.rb | 2 +- .../models/payroll_nz/pay_run_object.rb | 2 +- lib/xero-ruby/models/payroll_nz/pay_runs.rb | 2 +- lib/xero-ruby/models/payroll_nz/pay_slip.rb | 2 +- .../models/payroll_nz/pay_slip_object.rb | 2 +- lib/xero-ruby/models/payroll_nz/pay_slips.rb | 2 +- .../models/payroll_nz/payment_line.rb | 2 +- .../models/payroll_nz/payment_method.rb | 2 +- .../payroll_nz/payment_method_object.rb | 2 +- lib/xero-ruby/models/payroll_nz/problem.rb | 2 +- .../models/payroll_nz/reimbursement.rb | 2 +- .../models/payroll_nz/reimbursement_line.rb | 2 +- .../models/payroll_nz/reimbursement_object.rb | 2 +- .../models/payroll_nz/reimbursements.rb | 2 +- .../models/payroll_nz/salary_and_wage.rb | 4 +- .../payroll_nz/salary_and_wage_object.rb | 2 +- .../models/payroll_nz/salary_and_wages.rb | 2 +- lib/xero-ruby/models/payroll_nz/settings.rb | 2 +- .../models/payroll_nz/statutory_deduction.rb | 2 +- .../statutory_deduction_category.rb | 2 +- .../payroll_nz/statutory_deduction_line.rb | 2 +- .../payroll_nz/statutory_deduction_object.rb | 2 +- .../models/payroll_nz/statutory_deductions.rb | 2 +- .../models/payroll_nz/superannuation_line.rb | 2 +- .../payroll_nz/superannuation_object.rb | 2 +- .../models/payroll_nz/superannuations.rb | 2 +- lib/xero-ruby/models/payroll_nz/tax_code.rb | 2 +- lib/xero-ruby/models/payroll_nz/tax_line.rb | 2 +- .../models/payroll_nz/tax_settings.rb | 2 +- lib/xero-ruby/models/payroll_nz/timesheet.rb | 2 +- .../payroll_nz/timesheet_earnings_line.rb | 2 +- .../models/payroll_nz/timesheet_line.rb | 2 +- .../payroll_nz/timesheet_line_object.rb | 2 +- .../models/payroll_nz/timesheet_object.rb | 2 +- lib/xero-ruby/models/payroll_nz/timesheets.rb | 2 +- .../models/payroll_nz/tracking_categories.rb | 2 +- .../models/payroll_nz/tracking_category.rb | 2 +- lib/xero-ruby/models/payroll_uk/account.rb | 2 +- lib/xero-ruby/models/payroll_uk/accounts.rb | 2 +- lib/xero-ruby/models/payroll_uk/address.rb | 2 +- .../models/payroll_uk/bank_account.rb | 2 +- lib/xero-ruby/models/payroll_uk/benefit.rb | 2 +- .../models/payroll_uk/benefit_line.rb | 2 +- .../models/payroll_uk/benefit_object.rb | 2 +- lib/xero-ruby/models/payroll_uk/benefits.rb | 2 +- .../models/payroll_uk/court_order_line.rb | 2 +- lib/xero-ruby/models/payroll_uk/deduction.rb | 2 +- .../models/payroll_uk/deduction_line.rb | 2 +- .../models/payroll_uk/deduction_object.rb | 2 +- lib/xero-ruby/models/payroll_uk/deductions.rb | 2 +- .../models/payroll_uk/earnings_line.rb | 2 +- .../models/payroll_uk/earnings_order.rb | 2 +- .../payroll_uk/earnings_order_object.rb | 2 +- .../models/payroll_uk/earnings_orders.rb | 2 +- .../models/payroll_uk/earnings_rate.rb | 2 +- .../models/payroll_uk/earnings_rate_object.rb | 2 +- .../models/payroll_uk/earnings_rates.rb | 2 +- .../models/payroll_uk/earnings_template.rb | 2 +- .../payroll_uk/earnings_template_object.rb | 2 +- lib/xero-ruby/models/payroll_uk/employee.rb | 2 +- .../models/payroll_uk/employee_leave.rb | 2 +- .../payroll_uk/employee_leave_balance.rb | 2 +- .../payroll_uk/employee_leave_balances.rb | 2 +- .../payroll_uk/employee_leave_object.rb | 2 +- .../models/payroll_uk/employee_leave_type.rb | 2 +- .../payroll_uk/employee_leave_type_object.rb | 2 +- .../models/payroll_uk/employee_leave_types.rb | 2 +- .../models/payroll_uk/employee_leaves.rb | 2 +- .../models/payroll_uk/employee_object.rb | 2 +- .../payroll_uk/employee_opening_balances.rb | 2 +- .../employee_opening_balances_object.rb | 2 +- .../payroll_uk/employee_pay_template.rb | 2 +- .../employee_pay_template_object.rb | 2 +- .../payroll_uk/employee_pay_templates.rb | 2 +- .../employee_statutory_leave_balance.rb | 2 +- ...employee_statutory_leave_balance_object.rb | 2 +- .../employee_statutory_leave_summary.rb | 2 +- .../employee_statutory_leaves_summaries.rb | 2 +- .../employee_statutory_sick_leave.rb | 2 +- .../employee_statutory_sick_leave_object.rb | 2 +- .../employee_statutory_sick_leaves.rb | 2 +- .../models/payroll_uk/employee_tax.rb | 2 +- .../models/payroll_uk/employee_tax_object.rb | 2 +- lib/xero-ruby/models/payroll_uk/employees.rb | 2 +- lib/xero-ruby/models/payroll_uk/employment.rb | 2 +- .../models/payroll_uk/employment_object.rb | 2 +- .../models/payroll_uk/invalid_field.rb | 2 +- .../models/payroll_uk/leave_accrual_line.rb | 2 +- .../models/payroll_uk/leave_earnings_line.rb | 2 +- .../models/payroll_uk/leave_period.rb | 2 +- .../models/payroll_uk/leave_periods.rb | 2 +- lib/xero-ruby/models/payroll_uk/leave_type.rb | 2 +- .../models/payroll_uk/leave_type_object.rb | 2 +- .../models/payroll_uk/leave_types.rb | 2 +- lib/xero-ruby/models/payroll_uk/pagination.rb | 2 +- lib/xero-ruby/models/payroll_uk/pay_run.rb | 2 +- .../models/payroll_uk/pay_run_calendar.rb | 2 +- .../payroll_uk/pay_run_calendar_object.rb | 2 +- .../models/payroll_uk/pay_run_calendars.rb | 2 +- .../models/payroll_uk/pay_run_object.rb | 2 +- lib/xero-ruby/models/payroll_uk/pay_runs.rb | 2 +- .../models/payroll_uk/payment_line.rb | 2 +- .../models/payroll_uk/payment_method.rb | 2 +- .../payroll_uk/payment_method_object.rb | 2 +- lib/xero-ruby/models/payroll_uk/payslip.rb | 2 +- .../models/payroll_uk/payslip_object.rb | 2 +- lib/xero-ruby/models/payroll_uk/payslips.rb | 2 +- lib/xero-ruby/models/payroll_uk/problem.rb | 2 +- .../models/payroll_uk/reimbursement.rb | 2 +- .../models/payroll_uk/reimbursement_line.rb | 2 +- .../models/payroll_uk/reimbursement_object.rb | 2 +- .../models/payroll_uk/reimbursements.rb | 2 +- .../models/payroll_uk/salary_and_wage.rb | 2 +- .../payroll_uk/salary_and_wage_object.rb | 2 +- .../models/payroll_uk/salary_and_wages.rb | 2 +- lib/xero-ruby/models/payroll_uk/settings.rb | 2 +- .../models/payroll_uk/statutory_deduction.rb | 2 +- .../statutory_deduction_category.rb | 2 +- lib/xero-ruby/models/payroll_uk/tax_line.rb | 2 +- lib/xero-ruby/models/payroll_uk/timesheet.rb | 2 +- .../payroll_uk/timesheet_earnings_line.rb | 2 +- .../models/payroll_uk/timesheet_line.rb | 2 +- .../payroll_uk/timesheet_line_object.rb | 2 +- .../models/payroll_uk/timesheet_object.rb | 2 +- lib/xero-ruby/models/payroll_uk/timesheets.rb | 2 +- .../models/payroll_uk/tracking_categories.rb | 2 +- .../models/payroll_uk/tracking_category.rb | 2 +- lib/xero-ruby/models/projects/amount.rb | 2 +- lib/xero-ruby/models/projects/charge_type.rb | 2 +- .../models/projects/currency_code.rb | 2 +- lib/xero-ruby/models/projects/error.rb | 2 +- lib/xero-ruby/models/projects/pagination.rb | 2 +- lib/xero-ruby/models/projects/project.rb | 2 +- .../projects/project_create_or_update.rb | 2 +- .../models/projects/project_patch.rb | 2 +- .../models/projects/project_status.rb | 2 +- lib/xero-ruby/models/projects/project_user.rb | 2 +- .../models/projects/project_users.rb | 2 +- lib/xero-ruby/models/projects/projects.rb | 2 +- lib/xero-ruby/models/projects/task.rb | 2 +- .../models/projects/task_create_or_update.rb | 2 +- lib/xero-ruby/models/projects/tasks.rb | 2 +- lib/xero-ruby/models/projects/time_entries.rb | 2 +- lib/xero-ruby/models/projects/time_entry.rb | 2 +- .../projects/time_entry_create_or_update.rb | 2 +- lib/xero-ruby/version.rb | 2 +- xero-ruby.gemspec | 2 +- 443 files changed, 1010 insertions(+), 508 deletions(-) create mode 100644 docs/accounting/AddressForOrganisation.md create mode 100644 lib/xero-ruby/models/accounting/address_for_organisation.rb diff --git a/README.md b/README.md index 2a836033..7bd5b243 100644 --- a/README.md +++ b/README.md @@ -151,7 +151,7 @@ require 'jwt' def token_expired? token_expiry = Time.at(decoded_access_token['exp']) - token_expiry < Time.now + token_expiry > Time.now end def decoded_access_token @@ -327,4 +327,4 @@ xero_client.accounting_api.get_bank_transfers(tenant_id, opts).bank_transfers ## Sample App The best resource to understanding how to best leverage this SDK is the sample applications showing all the features of the gem. > https://github.com/XeroAPI/xero-ruby-oauth2-starter (Sinatra - simple getting started) -> https://github.com/XeroAPI/xero-ruby-oauth2-app (Rails - full featured examples) +> https://github.com/XeroAPI/xero-ruby-oauth2-app (Rails - full featured examples) \ No newline at end of file diff --git a/docs/accounting/AccountingApi.md b/docs/accounting/AccountingApi.md index 0e2e39a3..43e641f5 100644 --- a/docs/accounting/AccountingApi.md +++ b/docs/accounting/AccountingApi.md @@ -8512,11 +8512,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **xero_tenant_id** | **String**| Xero identifier for Tenant | **page** | **Integer**| Up to 100 linked transactions will be returned in a single API call. Use the page parameter to specify the page to be returned e.g. page=1. | [optional] - **linked_transaction_id** | **String**| The Xero identifier for an Linked Transaction | [optional] - **source_transaction_id** | **String**| Filter by the SourceTransactionID. Get the linked transactions created from a particular ACCPAY invoice | [optional] - **contact_id** | **String**| Filter by the ContactID. Get all the linked transactions that have been assigned to a particular customer. | [optional] + **linked_transaction_id** | [**String**](.md)| The Xero identifier for an Linked Transaction | [optional] + **source_transaction_id** | [**String**](.md)| Filter by the SourceTransactionID. Get the linked transactions created from a particular ACCPAY invoice | [optional] + **contact_id** | [**String**](.md)| Filter by the ContactID. Get all the linked transactions that have been assigned to a particular customer. | [optional] **status** | **String**| Filter by the combination of ContactID and Status. Get the linked transactions associaed to a customer and with a status | [optional] - **target_transaction_id** | **String**| Filter by the TargetTransactionID. Get all the linked transactions allocated to a particular ACCREC invoice | [optional] + **target_transaction_id** | [**String**](.md)| Filter by the TargetTransactionID. Get all the linked transactions allocated to a particular ACCREC invoice | [optional] ### Return type diff --git a/docs/accounting/AddressForOrganisation.md b/docs/accounting/AddressForOrganisation.md new file mode 100644 index 00000000..12d33d52 --- /dev/null +++ b/docs/accounting/AddressForOrganisation.md @@ -0,0 +1,35 @@ +# XeroRuby::Accounting::AddressForOrganisation + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**address_type** | **String** | define the type of address | [optional] +**address_line1** | **String** | max length = 500 | [optional] +**address_line2** | **String** | max length = 500 | [optional] +**address_line3** | **String** | max length = 500 | [optional] +**address_line4** | **String** | max length = 500 | [optional] +**city** | **String** | max length = 255 | [optional] +**region** | **String** | max length = 255 | [optional] +**postal_code** | **String** | max length = 50 | [optional] +**country** | **String** | max length = 50, [A-Z], [a-z] only | [optional] +**attention_to** | **String** | max length = 255 | [optional] + +## Code Sample + +```ruby +require 'XeroRuby::Accounting' + +instance = XeroRuby::Accounting::AddressForOrganisation.new(address_type: null, + address_line1: null, + address_line2: null, + address_line3: null, + address_line4: null, + city: null, + region: null, + postal_code: null, + country: null, + attention_to: null) +``` + + diff --git a/docs/accounting/CISOrgSetting.md b/docs/accounting/CISOrgSetting.md index 1ada1f21..c1eb9850 100644 --- a/docs/accounting/CISOrgSetting.md +++ b/docs/accounting/CISOrgSetting.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **cis_contractor_enabled** | **Boolean** | true or false - Boolean that describes if the organisation is a CIS Contractor | [optional] **cis_sub_contractor_enabled** | **Boolean** | true or false - Boolean that describes if the organisation is a CIS SubContractor | [optional] -**rate** | **Integer** | CIS Deduction rate for the organisation | [optional] +**rate** | **BigDecimal** | CIS Deduction rate for the organisation | [optional] ## Code Sample diff --git a/docs/accounting/CISSetting.md b/docs/accounting/CISSetting.md index fa88222a..6bffa940 100644 --- a/docs/accounting/CISSetting.md +++ b/docs/accounting/CISSetting.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **cis_enabled** | **Boolean** | Boolean that describes if the contact is a CIS Subcontractor | [optional] -**rate** | **Integer** | CIS Deduction rate for the contact if he is a subcontractor. If the contact is not CISEnabled, then the rate is not returned | [optional] +**rate** | **BigDecimal** | CIS Deduction rate for the contact if he is a subcontractor. If the contact is not CISEnabled, then the rate is not returned | [optional] ## Code Sample diff --git a/docs/accounting/CreditNote.md b/docs/accounting/CreditNote.md index d6676c5c..e472fea2 100644 --- a/docs/accounting/CreditNote.md +++ b/docs/accounting/CreditNote.md @@ -14,6 +14,8 @@ Name | Type | Description | Notes **sub_total** | **BigDecimal** | The subtotal of the credit note excluding taxes | [optional] **total_tax** | **BigDecimal** | The total tax on the credit note | [optional] **total** | **BigDecimal** | The total of the Credit Note(subtotal + total tax) | [optional] +**cis_deduction** | **BigDecimal** | CIS deduction for UK contractors | [optional] +**cis_rate** | **BigDecimal** | CIS Deduction rate for the organisation | [optional] **updated_date_utc** | **DateTime** | UTC timestamp of last update to the credit note | [optional] **currency_code** | [**CurrencyCode**](CurrencyCode.md) | | [optional] **fully_paid_on_date** | **Date** | Date when credit note was fully paid(UTC format) | [optional] @@ -47,6 +49,8 @@ instance = XeroRuby::Accounting::CreditNote.new(type: null, sub_total: null, total_tax: null, total: null, + cis_deduction: null, + cis_rate: null, updated_date_utc: /Date(1573755038314)/, currency_code: null, fully_paid_on_date: null, diff --git a/docs/accounting/Invoice.md b/docs/accounting/Invoice.md index 55501bc6..9577802b 100644 --- a/docs/accounting/Invoice.md +++ b/docs/accounting/Invoice.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **due_date** | **Date** | Date invoice is due – YYYY-MM-DD | [optional] **line_amount_types** | [**LineAmountTypes**](LineAmountTypes.md) | | [optional] **invoice_number** | **String** | ACCREC – Unique alpha numeric code identifying invoice (when missing will auto-generate from your Organisation Invoice Settings) (max length = 255) | [optional] -**reference** | **String** | ACCREC only – additional reference number (max length = 255) | [optional] +**reference** | **String** | ACCREC only – additional reference number | [optional] **branding_theme_id** | **String** | See BrandingThemes | [optional] **url** | **String** | URL link to a source document – shown as “Go to [appName]” in the Xero app | [optional] **currency_code** | [**CurrencyCode**](CurrencyCode.md) | | [optional] @@ -21,6 +21,7 @@ Name | Type | Description | Notes **expected_payment_date** | **Date** | Shown on sales invoices (Accounts Receivable) when this has been set | [optional] **planned_payment_date** | **Date** | Shown on bills (Accounts Payable) when this has been set | [optional] **cis_deduction** | **BigDecimal** | CIS deduction for UK contractors | [optional] +**cis_rate** | **BigDecimal** | CIS Deduction rate for the organisation | [optional] **sub_total** | **BigDecimal** | Total of invoice excluding taxes | [optional] **total_tax** | **BigDecimal** | Total tax on invoice | [optional] **total** | **BigDecimal** | Total of Invoice tax inclusive (i.e. SubTotal + TotalTax). This will be ignored if it doesn’t equal the sum of the LineAmounts | [optional] @@ -66,6 +67,7 @@ instance = XeroRuby::Accounting::Invoice.new(type: null, expected_payment_date: null, planned_payment_date: null, cis_deduction: null, + cis_rate: null, sub_total: null, total_tax: null, total: null, diff --git a/docs/accounting/Organisation.md b/docs/accounting/Organisation.md index f6718192..b4fd75dc 100644 --- a/docs/accounting/Organisation.md +++ b/docs/accounting/Organisation.md @@ -33,7 +33,7 @@ Name | Type | Description | Notes **_class** | **String** | Organisation Classes describe which plan the Xero organisation is on (e.g. DEMO, TRIAL, PREMIUM) | [optional] **edition** | **String** | BUSINESS or PARTNER. Partner edition organisations are sold exclusively through accounting partners and have restricted functionality (e.g. no access to invoicing) | [optional] **line_of_business** | **String** | Description of business type as defined in Organisation settings | [optional] -**addresses** | [**Array<Address>**](Address.md) | Address details for organisation – see Addresses | [optional] +**addresses** | [**Array<AddressForOrganisation>**](AddressForOrganisation.md) | Address details for organisation – see Addresses | [optional] **phones** | [**Array<Phone>**](Phone.md) | Phones details for organisation – see Phones | [optional] **external_links** | [**Array<ExternalLink>**](ExternalLink.md) | Organisation profile links for popular services such as Facebook,Twitter, GooglePlus and LinkedIn. You can also add link to your website here. Shown if Organisation settings is updated in Xero. See ExternalLinks below | [optional] **payment_terms** | [**PaymentTerm**](PaymentTerm.md) | | [optional] diff --git a/docs/payroll_nz/SalaryAndWage.md b/docs/payroll_nz/SalaryAndWage.md index 34e6b2d8..13703cd1 100644 --- a/docs/payroll_nz/SalaryAndWage.md +++ b/docs/payroll_nz/SalaryAndWage.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **number_of_units_per_week** | **BigDecimal** | The Number of Units per week for the corresponding salary and wages | **rate_per_unit** | **BigDecimal** | The rate of each unit for the corresponding salary and wages | [optional] **number_of_units_per_day** | **BigDecimal** | The Number of Units per day for the corresponding salary and wages | -**days_per_week** | **Integer** | The days per week for the salary. | [optional] +**days_per_week** | **BigDecimal** | The days per week for the salary. | [optional] **effective_from** | **Date** | The effective date of the corresponding salary and wages | **annual_salary** | **BigDecimal** | The annual salary | **status** | **String** | The current status of the corresponding salary and wages | diff --git a/lib/xero-ruby.rb b/lib/xero-ruby.rb index 05ef41bb..982abaaf 100644 --- a/lib/xero-ruby.rb +++ b/lib/xero-ruby.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -332,6 +332,7 @@ require 'xero-ruby/models/accounting/action' require 'xero-ruby/models/accounting/actions' require 'xero-ruby/models/accounting/address' +require 'xero-ruby/models/accounting/address_for_organisation' require 'xero-ruby/models/accounting/allocation' require 'xero-ruby/models/accounting/allocations' require 'xero-ruby/models/accounting/attachment' diff --git a/lib/xero-ruby/api/accounting_api.rb b/lib/xero-ruby/api/accounting_api.rb index 4361febc..0aa3c433 100644 --- a/lib/xero-ruby/api/accounting_api.rb +++ b/lib/xero-ruby/api/accounting_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/api/asset_api.rb b/lib/xero-ruby/api/asset_api.rb index 79b4cee5..601da58a 100644 --- a/lib/xero-ruby/api/asset_api.rb +++ b/lib/xero-ruby/api/asset_api.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/api/payroll_au_api.rb b/lib/xero-ruby/api/payroll_au_api.rb index ec40d3b1..01ab1fed 100644 --- a/lib/xero-ruby/api/payroll_au_api.rb +++ b/lib/xero-ruby/api/payroll_au_api.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/api/payroll_nz_api.rb b/lib/xero-ruby/api/payroll_nz_api.rb index 9ed01ea8..178eb379 100644 --- a/lib/xero-ruby/api/payroll_nz_api.rb +++ b/lib/xero-ruby/api/payroll_nz_api.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/api/payroll_uk_api.rb b/lib/xero-ruby/api/payroll_uk_api.rb index 44b30e04..df4a987a 100644 --- a/lib/xero-ruby/api/payroll_uk_api.rb +++ b/lib/xero-ruby/api/payroll_uk_api.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/api/project_api.rb b/lib/xero-ruby/api/project_api.rb index 953174d2..8617b9ea 100644 --- a/lib/xero-ruby/api/project_api.rb +++ b/lib/xero-ruby/api/project_api.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/api_client.rb b/lib/xero-ruby/api_client.rb index 62d0819f..d118d67a 100644 --- a/lib/xero-ruby/api_client.rb +++ b/lib/xero-ruby/api_client.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -125,7 +125,6 @@ def token_request(data) req.headers['Content-Type'] = 'application/x-www-form-urlencoded' req.body = URI.encode_www_form(data) end - return_error(response) unless response.success? body = JSON.parse(response.body) set_token_set(body) @@ -150,7 +149,6 @@ def disconnect(connection_id) # @return [Array<(Object, Integer, Hash)>] an array of 3 elements: # the data deserialized from response body (could be nil), response status code and response headers. def call_api(http_method, path, api_client, opts = {}) - puts "calling API #{opts}" ssl_options = { :ca_file => @config.ssl_ca_file, :verify => @config.ssl_verify, @@ -159,34 +157,23 @@ def call_api(http_method, path, api_client, opts = {}) :client_key => @config.ssl_client_key } - puts '1' connection = Faraday.new(:url => config.base_url, :ssl => ssl_options) do |conn| - puts '1.2' conn.basic_auth(config.username, config.password) - puts '1.3' if opts[:header_params]["Content-Type"] == "multipart/form-data" - puts '1.2' conn.request :multipart conn.request :url_encoded end conn.adapter(Faraday.default_adapter) end - puts '2' begin - puts '3' response = connection.public_send(http_method.to_sym.downcase) do |req| - puts '4' build_request(http_method, path, req, opts) - puts '5' end if @config.debugging @config.logger.debug "HTTP response body ~BEGIN~\n#{response.body}\n~END~\n" end - - puts "*****************" - puts "response: #{response.inspect}" return_error(response) unless response.success? rescue Faraday::TimeoutError fail ApiError.new('Connection timed out') @@ -226,19 +213,14 @@ def return_error(response) # @option opts [Object] :body HTTP body (JSON/XML) # @return A Faraday Request def build_request(http_method, path, request, opts = {}) - puts "BR 1" url = build_request_url(path) - puts "BR 2" http_method = http_method.to_sym.downcase - puts "BR 3" header_params = @default_headers.merge(opts[:header_params] || {}) - puts "BR 4" query_params = opts[:query_params] || {} form_params = opts[:form_params] || {} update_params_for_auth! header_params, query_params, opts[:auth_names] - puts "BR 5" req_opts = { :method => http_method, @@ -248,10 +230,8 @@ def build_request(http_method, path, request, opts = {}) :timeout => @config.timeout, :verbose => @config.debugging } - puts "BR 6 #{req_opts}" if [:post, :patch, :put, :delete].include?(http_method) - puts "BR 7" req_body = build_request_body(header_params, form_params, opts[:body]) req_opts.update :body => req_body if @config.debugging @@ -262,7 +242,6 @@ def build_request(http_method, path, request, opts = {}) request.body = req_body request.url url request.params = query_params - puts "request #{request}" request end @@ -436,8 +415,8 @@ def sanitize_filename(filename) end def build_request_url(path) - # Add leading and trailing slashes to path if @config.base_url + # Add leading and trailing slashes to path path = "/#{path}".gsub(/\/+/, '/') @config.base_url + path else diff --git a/lib/xero-ruby/api_error.rb b/lib/xero-ruby/api_error.rb index 2802e145..6c41172d 100644 --- a/lib/xero-ruby/api_error.rb +++ b/lib/xero-ruby/api_error.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/configuration.rb b/lib/xero-ruby/configuration.rb index 72172d80..6bdf4324 100644 --- a/lib/xero-ruby/configuration.rb +++ b/lib/xero-ruby/configuration.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/account.rb b/lib/xero-ruby/models/accounting/account.rb index e89f51a3..0f643496 100644 --- a/lib/xero-ruby/models/accounting/account.rb +++ b/lib/xero-ruby/models/accounting/account.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -91,8 +91,7 @@ class Account CISLABOURINCOME = "CISLABOURINCOME".freeze CISLIABILITY = "CISLIABILITY".freeze CISMATERIALS = "CISMATERIALS".freeze - # duplicate definitions generated: https://github.com/XeroAPI/xero-ruby/issues/53#issuecomment-668893305 - # EMPTY = "".freeze + EMPTY = "".freeze # Shown if set attr_accessor :reporting_code diff --git a/lib/xero-ruby/models/accounting/account_type.rb b/lib/xero-ruby/models/accounting/account_type.rb index 23f8d407..8f7b8aa1 100644 --- a/lib/xero-ruby/models/accounting/account_type.rb +++ b/lib/xero-ruby/models/accounting/account_type.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/accounts.rb b/lib/xero-ruby/models/accounting/accounts.rb index b55cce11..fdd51f21 100644 --- a/lib/xero-ruby/models/accounting/accounts.rb +++ b/lib/xero-ruby/models/accounting/accounts.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/accounts_payable.rb b/lib/xero-ruby/models/accounting/accounts_payable.rb index f380a696..f6e916fb 100644 --- a/lib/xero-ruby/models/accounting/accounts_payable.rb +++ b/lib/xero-ruby/models/accounting/accounts_payable.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/accounts_receivable.rb b/lib/xero-ruby/models/accounting/accounts_receivable.rb index 7c95c20d..f0e0b6d9 100644 --- a/lib/xero-ruby/models/accounting/accounts_receivable.rb +++ b/lib/xero-ruby/models/accounting/accounts_receivable.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/action.rb b/lib/xero-ruby/models/accounting/action.rb index 0edb0cd7..7d20d737 100644 --- a/lib/xero-ruby/models/accounting/action.rb +++ b/lib/xero-ruby/models/accounting/action.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/actions.rb b/lib/xero-ruby/models/accounting/actions.rb index 3341512c..d1398494 100644 --- a/lib/xero-ruby/models/accounting/actions.rb +++ b/lib/xero-ruby/models/accounting/actions.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/address.rb b/lib/xero-ruby/models/accounting/address.rb index b1804e48..8653ebb0 100644 --- a/lib/xero-ruby/models/accounting/address.rb +++ b/lib/xero-ruby/models/accounting/address.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -21,7 +21,6 @@ class Address attr_accessor :address_type POBOX = "POBOX".freeze STREET = "STREET".freeze - DELIVERY = "DELIVERY".freeze # max length = 500 attr_accessor :address_line1 @@ -206,7 +205,7 @@ def list_invalid_properties # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? - address_type_validator = EnumAttributeValidator.new('String', ["POBOX", "STREET", "DELIVERY"]) + address_type_validator = EnumAttributeValidator.new('String', ["POBOX", "STREET"]) return false unless address_type_validator.valid?(@address_type) return false if !@address_line1.nil? && @address_line1.to_s.length > 500 return false if !@address_line2.nil? && @address_line2.to_s.length > 500 @@ -223,7 +222,7 @@ def valid? # Custom attribute writer method checking allowed values (enum). # @param [Object] address_type Object to be assigned def address_type=(address_type) - validator = EnumAttributeValidator.new('String', ["POBOX", "STREET", "DELIVERY"]) + validator = EnumAttributeValidator.new('String', ["POBOX", "STREET"]) unless validator.valid?(address_type) fail ArgumentError, "invalid value for \"address_type\", must be one of #{validator.allowable_values}." end diff --git a/lib/xero-ruby/models/accounting/address_for_organisation.rb b/lib/xero-ruby/models/accounting/address_for_organisation.rb new file mode 100644 index 00000000..0a3c0499 --- /dev/null +++ b/lib/xero-ruby/models/accounting/address_for_organisation.rb @@ -0,0 +1,470 @@ +=begin +#Accounting API + +#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +The version of the OpenAPI document: 2.8.0 +Contact: api@xero.com +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 4.3.1 + +=end + +require 'time' +require 'date' + +module XeroRuby::Accounting + require 'bigdecimal' + + class AddressForOrganisation + # define the type of address + attr_accessor :address_type + POBOX = "POBOX".freeze + STREET = "STREET".freeze + DELIVERY = "DELIVERY".freeze + + # max length = 500 + attr_accessor :address_line1 + + # max length = 500 + attr_accessor :address_line2 + + # max length = 500 + attr_accessor :address_line3 + + # max length = 500 + attr_accessor :address_line4 + + # max length = 255 + attr_accessor :city + + # max length = 255 + attr_accessor :region + + # max length = 50 + attr_accessor :postal_code + + # max length = 50, [A-Z], [a-z] only + attr_accessor :country + + # max length = 255 + attr_accessor :attention_to + + class EnumAttributeValidator + attr_reader :datatype + attr_reader :allowable_values + + def initialize(datatype, allowable_values) + @allowable_values = allowable_values.map do |value| + case datatype.to_s + when /Integer/i + value.to_i + when /Float/i + value.to_f + else + value + end + end + end + + def valid?(value) + !value || allowable_values.include?(value) + end + end + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'address_type' => :'AddressType', + :'address_line1' => :'AddressLine1', + :'address_line2' => :'AddressLine2', + :'address_line3' => :'AddressLine3', + :'address_line4' => :'AddressLine4', + :'city' => :'City', + :'region' => :'Region', + :'postal_code' => :'PostalCode', + :'country' => :'Country', + :'attention_to' => :'AttentionTo' + } + end + + # Attribute type mapping. + def self.openapi_types + { + :'address_type' => :'String', + :'address_line1' => :'String', + :'address_line2' => :'String', + :'address_line3' => :'String', + :'address_line4' => :'String', + :'city' => :'String', + :'region' => :'String', + :'postal_code' => :'String', + :'country' => :'String', + :'attention_to' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `XeroRuby::Accounting::AddressForOrganisation` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `XeroRuby::Accounting::AddressForOrganisation`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'address_type') + self.address_type = attributes[:'address_type'] + end + + if attributes.key?(:'address_line1') + self.address_line1 = attributes[:'address_line1'] + end + + if attributes.key?(:'address_line2') + self.address_line2 = attributes[:'address_line2'] + end + + if attributes.key?(:'address_line3') + self.address_line3 = attributes[:'address_line3'] + end + + if attributes.key?(:'address_line4') + self.address_line4 = attributes[:'address_line4'] + end + + if attributes.key?(:'city') + self.city = attributes[:'city'] + end + + if attributes.key?(:'region') + self.region = attributes[:'region'] + end + + if attributes.key?(:'postal_code') + self.postal_code = attributes[:'postal_code'] + end + + if attributes.key?(:'country') + self.country = attributes[:'country'] + end + + if attributes.key?(:'attention_to') + self.attention_to = attributes[:'attention_to'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if !@address_line1.nil? && @address_line1.to_s.length > 500 + invalid_properties.push('invalid value for "address_line1", the character length must be smaller than or equal to 500.') + end + + if !@address_line2.nil? && @address_line2.to_s.length > 500 + invalid_properties.push('invalid value for "address_line2", the character length must be smaller than or equal to 500.') + end + + if !@address_line3.nil? && @address_line3.to_s.length > 500 + invalid_properties.push('invalid value for "address_line3", the character length must be smaller than or equal to 500.') + end + + if !@address_line4.nil? && @address_line4.to_s.length > 500 + invalid_properties.push('invalid value for "address_line4", the character length must be smaller than or equal to 500.') + end + + if !@city.nil? && @city.to_s.length > 255 + invalid_properties.push('invalid value for "city", the character length must be smaller than or equal to 255.') + end + + if !@region.nil? && @region.to_s.length > 255 + invalid_properties.push('invalid value for "region", the character length must be smaller than or equal to 255.') + end + + if !@postal_code.nil? && @postal_code.to_s.length > 50 + invalid_properties.push('invalid value for "postal_code", the character length must be smaller than or equal to 50.') + end + + if !@country.nil? && @country.to_s.length > 50 + invalid_properties.push('invalid value for "country", the character length must be smaller than or equal to 50.') + end + + if !@attention_to.nil? && @attention_to.to_s.length > 255 + invalid_properties.push('invalid value for "attention_to", the character length must be smaller than or equal to 255.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + address_type_validator = EnumAttributeValidator.new('String', ["POBOX", "STREET", "DELIVERY"]) + return false unless address_type_validator.valid?(@address_type) + return false if !@address_line1.nil? && @address_line1.to_s.length > 500 + return false if !@address_line2.nil? && @address_line2.to_s.length > 500 + return false if !@address_line3.nil? && @address_line3.to_s.length > 500 + return false if !@address_line4.nil? && @address_line4.to_s.length > 500 + return false if !@city.nil? && @city.to_s.length > 255 + return false if !@region.nil? && @region.to_s.length > 255 + return false if !@postal_code.nil? && @postal_code.to_s.length > 50 + return false if !@country.nil? && @country.to_s.length > 50 + return false if !@attention_to.nil? && @attention_to.to_s.length > 255 + true + end + + # Custom attribute writer method checking allowed values (enum). + # @param [Object] address_type Object to be assigned + def address_type=(address_type) + validator = EnumAttributeValidator.new('String', ["POBOX", "STREET", "DELIVERY"]) + unless validator.valid?(address_type) + fail ArgumentError, "invalid value for \"address_type\", must be one of #{validator.allowable_values}." + end + @address_type = address_type + end + + # Custom attribute writer method with validation + # @param [Object] address_line1 Value to be assigned + def address_line1=(address_line1) + if !address_line1.nil? && address_line1.to_s.length > 500 + fail ArgumentError, 'invalid value for "address_line1", the character length must be smaller than or equal to 500.' + end + + @address_line1 = address_line1 + end + + # Custom attribute writer method with validation + # @param [Object] address_line2 Value to be assigned + def address_line2=(address_line2) + if !address_line2.nil? && address_line2.to_s.length > 500 + fail ArgumentError, 'invalid value for "address_line2", the character length must be smaller than or equal to 500.' + end + + @address_line2 = address_line2 + end + + # Custom attribute writer method with validation + # @param [Object] address_line3 Value to be assigned + def address_line3=(address_line3) + if !address_line3.nil? && address_line3.to_s.length > 500 + fail ArgumentError, 'invalid value for "address_line3", the character length must be smaller than or equal to 500.' + end + + @address_line3 = address_line3 + end + + # Custom attribute writer method with validation + # @param [Object] address_line4 Value to be assigned + def address_line4=(address_line4) + if !address_line4.nil? && address_line4.to_s.length > 500 + fail ArgumentError, 'invalid value for "address_line4", the character length must be smaller than or equal to 500.' + end + + @address_line4 = address_line4 + end + + # Custom attribute writer method with validation + # @param [Object] city Value to be assigned + def city=(city) + if !city.nil? && city.to_s.length > 255 + fail ArgumentError, 'invalid value for "city", the character length must be smaller than or equal to 255.' + end + + @city = city + end + + # Custom attribute writer method with validation + # @param [Object] region Value to be assigned + def region=(region) + if !region.nil? && region.to_s.length > 255 + fail ArgumentError, 'invalid value for "region", the character length must be smaller than or equal to 255.' + end + + @region = region + end + + # Custom attribute writer method with validation + # @param [Object] postal_code Value to be assigned + def postal_code=(postal_code) + if !postal_code.nil? && postal_code.to_s.length > 50 + fail ArgumentError, 'invalid value for "postal_code", the character length must be smaller than or equal to 50.' + end + + @postal_code = postal_code + end + + # Custom attribute writer method with validation + # @param [Object] country Value to be assigned + def country=(country) + if !country.nil? && country.to_s.length > 50 + fail ArgumentError, 'invalid value for "country", the character length must be smaller than or equal to 50.' + end + + @country = country + end + + # Custom attribute writer method with validation + # @param [Object] attention_to Value to be assigned + def attention_to=(attention_to) + if !attention_to.nil? && attention_to.to_s.length > 255 + fail ArgumentError, 'invalid value for "attention_to", the character length must be smaller than or equal to 255.' + end + + @attention_to = attention_to + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + address_type == o.address_type && + address_line1 == o.address_line1 && + address_line2 == o.address_line2 && + address_line3 == o.address_line3 && + address_line4 == o.address_line4 && + city == o.city && + region == o.region && + postal_code == o.postal_code && + country == o.country && + attention_to == o.attention_to + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [address_type, address_line1, address_line2, address_line3, address_line4, city, region, postal_code, country, attention_to].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.openapi_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(parse_date(value)) + when :Date + Date.parse(parse_date(value)) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BigDecimal + BigDecimal(value.to_s) + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + XeroRuby::Accounting.const_get(type).build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + # customized data_parser + def parse_date(datestring) + seconds_since_epoch = datestring.scan(/[0-9]+/)[0].to_i / 1000.0 + return Time.at(seconds_since_epoch).strftime('%Y-%m-%dT%l:%M:%S%z').to_s + end + end +end diff --git a/lib/xero-ruby/models/accounting/allocation.rb b/lib/xero-ruby/models/accounting/allocation.rb index aa65f335..033d3e3d 100644 --- a/lib/xero-ruby/models/accounting/allocation.rb +++ b/lib/xero-ruby/models/accounting/allocation.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/allocations.rb b/lib/xero-ruby/models/accounting/allocations.rb index b046315d..f44f8ae9 100644 --- a/lib/xero-ruby/models/accounting/allocations.rb +++ b/lib/xero-ruby/models/accounting/allocations.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/attachment.rb b/lib/xero-ruby/models/accounting/attachment.rb index 93350132..8baeb6ef 100644 --- a/lib/xero-ruby/models/accounting/attachment.rb +++ b/lib/xero-ruby/models/accounting/attachment.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/attachments.rb b/lib/xero-ruby/models/accounting/attachments.rb index c0675008..cd9fbdad 100644 --- a/lib/xero-ruby/models/accounting/attachments.rb +++ b/lib/xero-ruby/models/accounting/attachments.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/balance_details.rb b/lib/xero-ruby/models/accounting/balance_details.rb index b4ac17f2..0a1eb070 100644 --- a/lib/xero-ruby/models/accounting/balance_details.rb +++ b/lib/xero-ruby/models/accounting/balance_details.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/balances.rb b/lib/xero-ruby/models/accounting/balances.rb index 6786fad2..aa1e3334 100644 --- a/lib/xero-ruby/models/accounting/balances.rb +++ b/lib/xero-ruby/models/accounting/balances.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/bank_transaction.rb b/lib/xero-ruby/models/accounting/bank_transaction.rb index a2274dcd..f9efe4bf 100644 --- a/lib/xero-ruby/models/accounting/bank_transaction.rb +++ b/lib/xero-ruby/models/accounting/bank_transaction.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/bank_transactions.rb b/lib/xero-ruby/models/accounting/bank_transactions.rb index 2d6d00d3..34da47f8 100644 --- a/lib/xero-ruby/models/accounting/bank_transactions.rb +++ b/lib/xero-ruby/models/accounting/bank_transactions.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/bank_transfer.rb b/lib/xero-ruby/models/accounting/bank_transfer.rb index f0e782dc..bf5cb3e5 100644 --- a/lib/xero-ruby/models/accounting/bank_transfer.rb +++ b/lib/xero-ruby/models/accounting/bank_transfer.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/bank_transfers.rb b/lib/xero-ruby/models/accounting/bank_transfers.rb index e42966e5..13fef1b5 100644 --- a/lib/xero-ruby/models/accounting/bank_transfers.rb +++ b/lib/xero-ruby/models/accounting/bank_transfers.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/batch_payment.rb b/lib/xero-ruby/models/accounting/batch_payment.rb index f4a8a6f9..0417e09b 100644 --- a/lib/xero-ruby/models/accounting/batch_payment.rb +++ b/lib/xero-ruby/models/accounting/batch_payment.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/batch_payment_details.rb b/lib/xero-ruby/models/accounting/batch_payment_details.rb index 3c2750bb..c8b3d2c9 100644 --- a/lib/xero-ruby/models/accounting/batch_payment_details.rb +++ b/lib/xero-ruby/models/accounting/batch_payment_details.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/batch_payments.rb b/lib/xero-ruby/models/accounting/batch_payments.rb index 2f7cae16..8cae9508 100644 --- a/lib/xero-ruby/models/accounting/batch_payments.rb +++ b/lib/xero-ruby/models/accounting/batch_payments.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/bill.rb b/lib/xero-ruby/models/accounting/bill.rb index 5d619ded..b2bfbec4 100644 --- a/lib/xero-ruby/models/accounting/bill.rb +++ b/lib/xero-ruby/models/accounting/bill.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/branding_theme.rb b/lib/xero-ruby/models/accounting/branding_theme.rb index f061f2f6..3ad97ccf 100644 --- a/lib/xero-ruby/models/accounting/branding_theme.rb +++ b/lib/xero-ruby/models/accounting/branding_theme.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/branding_themes.rb b/lib/xero-ruby/models/accounting/branding_themes.rb index a9580437..269659ac 100644 --- a/lib/xero-ruby/models/accounting/branding_themes.rb +++ b/lib/xero-ruby/models/accounting/branding_themes.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/cis_org_setting.rb b/lib/xero-ruby/models/accounting/cis_org_setting.rb index a3d4a273..83640b04 100644 --- a/lib/xero-ruby/models/accounting/cis_org_setting.rb +++ b/lib/xero-ruby/models/accounting/cis_org_setting.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -40,7 +40,7 @@ def self.openapi_types { :'cis_contractor_enabled' => :'Boolean', :'cis_sub_contractor_enabled' => :'Boolean', - :'rate' => :'Integer' + :'rate' => :'BigDecimal' } end diff --git a/lib/xero-ruby/models/accounting/cis_setting.rb b/lib/xero-ruby/models/accounting/cis_setting.rb index 39918e35..a1321ac5 100644 --- a/lib/xero-ruby/models/accounting/cis_setting.rb +++ b/lib/xero-ruby/models/accounting/cis_setting.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -35,7 +35,7 @@ def self.attribute_map def self.openapi_types { :'cis_enabled' => :'Boolean', - :'rate' => :'Integer' + :'rate' => :'BigDecimal' } end diff --git a/lib/xero-ruby/models/accounting/cis_settings.rb b/lib/xero-ruby/models/accounting/cis_settings.rb index 3b22c1d5..1c104178 100644 --- a/lib/xero-ruby/models/accounting/cis_settings.rb +++ b/lib/xero-ruby/models/accounting/cis_settings.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/contact.rb b/lib/xero-ruby/models/accounting/contact.rb index 7ef5e543..9fd2d25f 100644 --- a/lib/xero-ruby/models/accounting/contact.rb +++ b/lib/xero-ruby/models/accounting/contact.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/contact_group.rb b/lib/xero-ruby/models/accounting/contact_group.rb index b0ee5091..6dc60bb8 100644 --- a/lib/xero-ruby/models/accounting/contact_group.rb +++ b/lib/xero-ruby/models/accounting/contact_group.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/contact_groups.rb b/lib/xero-ruby/models/accounting/contact_groups.rb index 5ec93c3a..19ada4bd 100644 --- a/lib/xero-ruby/models/accounting/contact_groups.rb +++ b/lib/xero-ruby/models/accounting/contact_groups.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/contact_person.rb b/lib/xero-ruby/models/accounting/contact_person.rb index 76620343..aa926c43 100644 --- a/lib/xero-ruby/models/accounting/contact_person.rb +++ b/lib/xero-ruby/models/accounting/contact_person.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/contacts.rb b/lib/xero-ruby/models/accounting/contacts.rb index 31556ec1..d5083989 100644 --- a/lib/xero-ruby/models/accounting/contacts.rb +++ b/lib/xero-ruby/models/accounting/contacts.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/conversion_balances.rb b/lib/xero-ruby/models/accounting/conversion_balances.rb index 1001b882..fb3b0763 100644 --- a/lib/xero-ruby/models/accounting/conversion_balances.rb +++ b/lib/xero-ruby/models/accounting/conversion_balances.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/conversion_date.rb b/lib/xero-ruby/models/accounting/conversion_date.rb index add5b403..f4f98464 100644 --- a/lib/xero-ruby/models/accounting/conversion_date.rb +++ b/lib/xero-ruby/models/accounting/conversion_date.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/country_code.rb b/lib/xero-ruby/models/accounting/country_code.rb index e379fc01..81d9ffe3 100644 --- a/lib/xero-ruby/models/accounting/country_code.rb +++ b/lib/xero-ruby/models/accounting/country_code.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/credit_note.rb b/lib/xero-ruby/models/accounting/credit_note.rb index bca052dd..7e48a185 100644 --- a/lib/xero-ruby/models/accounting/credit_note.rb +++ b/lib/xero-ruby/models/accounting/credit_note.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -55,6 +55,12 @@ class CreditNote # The total of the Credit Note(subtotal + total tax) attr_accessor :total + # CIS deduction for UK contractors + attr_accessor :cis_deduction + + # CIS Deduction rate for the organisation + attr_accessor :cis_rate + # UTC timestamp of last update to the credit note attr_accessor :updated_date_utc @@ -141,6 +147,8 @@ def self.attribute_map :'sub_total' => :'SubTotal', :'total_tax' => :'TotalTax', :'total' => :'Total', + :'cis_deduction' => :'CISDeduction', + :'cis_rate' => :'CISRate', :'updated_date_utc' => :'UpdatedDateUTC', :'currency_code' => :'CurrencyCode', :'fully_paid_on_date' => :'FullyPaidOnDate', @@ -174,6 +182,8 @@ def self.openapi_types :'sub_total' => :'BigDecimal', :'total_tax' => :'BigDecimal', :'total' => :'BigDecimal', + :'cis_deduction' => :'BigDecimal', + :'cis_rate' => :'BigDecimal', :'updated_date_utc' => :'DateTime', :'currency_code' => :'CurrencyCode', :'fully_paid_on_date' => :'Date', @@ -251,6 +261,14 @@ def initialize(attributes = {}) self.total = attributes[:'total'] end + if attributes.key?(:'cis_deduction') + self.cis_deduction = attributes[:'cis_deduction'] + end + + if attributes.key?(:'cis_rate') + self.cis_rate = attributes[:'cis_rate'] + end + if attributes.key?(:'updated_date_utc') self.updated_date_utc = attributes[:'updated_date_utc'] end @@ -382,6 +400,8 @@ def ==(o) sub_total == o.sub_total && total_tax == o.total_tax && total == o.total && + cis_deduction == o.cis_deduction && + cis_rate == o.cis_rate && updated_date_utc == o.updated_date_utc && currency_code == o.currency_code && fully_paid_on_date == o.fully_paid_on_date && @@ -410,7 +430,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [type, contact, date, due_date, status, line_amount_types, line_items, sub_total, total_tax, total, updated_date_utc, currency_code, fully_paid_on_date, credit_note_id, credit_note_number, reference, sent_to_contact, currency_rate, remaining_credit, allocations, applied_amount, payments, branding_theme_id, status_attribute_string, has_attachments, has_errors, validation_errors].hash + [type, contact, date, due_date, status, line_amount_types, line_items, sub_total, total_tax, total, cis_deduction, cis_rate, updated_date_utc, currency_code, fully_paid_on_date, credit_note_id, credit_note_number, reference, sent_to_contact, currency_rate, remaining_credit, allocations, applied_amount, payments, branding_theme_id, status_attribute_string, has_attachments, has_errors, validation_errors].hash end # Builds the object from hash diff --git a/lib/xero-ruby/models/accounting/credit_notes.rb b/lib/xero-ruby/models/accounting/credit_notes.rb index 3e378db7..fdc4f8a8 100644 --- a/lib/xero-ruby/models/accounting/credit_notes.rb +++ b/lib/xero-ruby/models/accounting/credit_notes.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/currencies.rb b/lib/xero-ruby/models/accounting/currencies.rb index c729c9e4..0e3c83c4 100644 --- a/lib/xero-ruby/models/accounting/currencies.rb +++ b/lib/xero-ruby/models/accounting/currencies.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/currency.rb b/lib/xero-ruby/models/accounting/currency.rb index ae77d83f..6e971567 100644 --- a/lib/xero-ruby/models/accounting/currency.rb +++ b/lib/xero-ruby/models/accounting/currency.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/currency_code.rb b/lib/xero-ruby/models/accounting/currency_code.rb index 44842ec9..e9dac5a7 100644 --- a/lib/xero-ruby/models/accounting/currency_code.rb +++ b/lib/xero-ruby/models/accounting/currency_code.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/element.rb b/lib/xero-ruby/models/accounting/element.rb index c1a4138e..2d44453b 100644 --- a/lib/xero-ruby/models/accounting/element.rb +++ b/lib/xero-ruby/models/accounting/element.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/employee.rb b/lib/xero-ruby/models/accounting/employee.rb index 1ea799f3..cd215fc8 100644 --- a/lib/xero-ruby/models/accounting/employee.rb +++ b/lib/xero-ruby/models/accounting/employee.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/employees.rb b/lib/xero-ruby/models/accounting/employees.rb index f0fe2ea1..9ac0e40d 100644 --- a/lib/xero-ruby/models/accounting/employees.rb +++ b/lib/xero-ruby/models/accounting/employees.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/error.rb b/lib/xero-ruby/models/accounting/error.rb index 8f8fcfbe..a26ac110 100644 --- a/lib/xero-ruby/models/accounting/error.rb +++ b/lib/xero-ruby/models/accounting/error.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/expense_claim.rb b/lib/xero-ruby/models/accounting/expense_claim.rb index c78c1d83..03b53314 100644 --- a/lib/xero-ruby/models/accounting/expense_claim.rb +++ b/lib/xero-ruby/models/accounting/expense_claim.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/expense_claims.rb b/lib/xero-ruby/models/accounting/expense_claims.rb index 29f98b8b..9ceec6e3 100644 --- a/lib/xero-ruby/models/accounting/expense_claims.rb +++ b/lib/xero-ruby/models/accounting/expense_claims.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/external_link.rb b/lib/xero-ruby/models/accounting/external_link.rb index 6bd29268..a4669110 100644 --- a/lib/xero-ruby/models/accounting/external_link.rb +++ b/lib/xero-ruby/models/accounting/external_link.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/history_record.rb b/lib/xero-ruby/models/accounting/history_record.rb index 24c0155b..34a4a1e3 100644 --- a/lib/xero-ruby/models/accounting/history_record.rb +++ b/lib/xero-ruby/models/accounting/history_record.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/history_records.rb b/lib/xero-ruby/models/accounting/history_records.rb index 9122706c..112e9ab5 100644 --- a/lib/xero-ruby/models/accounting/history_records.rb +++ b/lib/xero-ruby/models/accounting/history_records.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/import_summary.rb b/lib/xero-ruby/models/accounting/import_summary.rb index 1280cbf9..ce0b2af1 100644 --- a/lib/xero-ruby/models/accounting/import_summary.rb +++ b/lib/xero-ruby/models/accounting/import_summary.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/import_summary_accounts.rb b/lib/xero-ruby/models/accounting/import_summary_accounts.rb index da2efbd9..bff0050a 100644 --- a/lib/xero-ruby/models/accounting/import_summary_accounts.rb +++ b/lib/xero-ruby/models/accounting/import_summary_accounts.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/import_summary_object.rb b/lib/xero-ruby/models/accounting/import_summary_object.rb index e990ac7b..9ba1624b 100644 --- a/lib/xero-ruby/models/accounting/import_summary_object.rb +++ b/lib/xero-ruby/models/accounting/import_summary_object.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/import_summary_organisation.rb b/lib/xero-ruby/models/accounting/import_summary_organisation.rb index fba6b47e..f50ae945 100644 --- a/lib/xero-ruby/models/accounting/import_summary_organisation.rb +++ b/lib/xero-ruby/models/accounting/import_summary_organisation.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/invoice.rb b/lib/xero-ruby/models/accounting/invoice.rb index b7110731..c4896500 100644 --- a/lib/xero-ruby/models/accounting/invoice.rb +++ b/lib/xero-ruby/models/accounting/invoice.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -46,7 +46,7 @@ class Invoice # ACCREC – Unique alpha numeric code identifying invoice (when missing will auto-generate from your Organisation Invoice Settings) (max length = 255) attr_accessor :invoice_number - # ACCREC only – additional reference number (max length = 255) + # ACCREC only – additional reference number attr_accessor :reference # See BrandingThemes @@ -82,6 +82,9 @@ class Invoice # CIS deduction for UK contractors attr_accessor :cis_deduction + # CIS Deduction rate for the organisation + attr_accessor :cis_rate + # Total of invoice excluding taxes attr_accessor :sub_total @@ -190,6 +193,7 @@ def self.attribute_map :'expected_payment_date' => :'ExpectedPaymentDate', :'planned_payment_date' => :'PlannedPaymentDate', :'cis_deduction' => :'CISDeduction', + :'cis_rate' => :'CISRate', :'sub_total' => :'SubTotal', :'total_tax' => :'TotalTax', :'total' => :'Total', @@ -235,6 +239,7 @@ def self.openapi_types :'expected_payment_date' => :'Date', :'planned_payment_date' => :'Date', :'cis_deduction' => :'BigDecimal', + :'cis_rate' => :'BigDecimal', :'sub_total' => :'BigDecimal', :'total_tax' => :'BigDecimal', :'total' => :'BigDecimal', @@ -345,6 +350,10 @@ def initialize(attributes = {}) self.cis_deduction = attributes[:'cis_deduction'] end + if attributes.key?(:'cis_rate') + self.cis_rate = attributes[:'cis_rate'] + end + if attributes.key?(:'sub_total') self.sub_total = attributes[:'sub_total'] end @@ -460,10 +469,6 @@ def list_invalid_properties invalid_properties.push('invalid value for "invoice_number", the character length must be smaller than or equal to 255.') end - if !@reference.nil? && @reference.to_s.length > 255 - invalid_properties.push('invalid value for "reference", the character length must be smaller than or equal to 255.') - end - invalid_properties end @@ -473,7 +478,6 @@ def valid? type_validator = EnumAttributeValidator.new('String', ["ACCPAY", "ACCPAYCREDIT", "APOVERPAYMENT", "APPREPAYMENT", "ACCREC", "ACCRECCREDIT", "AROVERPAYMENT", "ARPREPAYMENT"]) return false unless type_validator.valid?(@type) return false if !@invoice_number.nil? && @invoice_number.to_s.length > 255 - return false if !@reference.nil? && @reference.to_s.length > 255 status_validator = EnumAttributeValidator.new('String', ["DRAFT", "SUBMITTED", "DELETED", "AUTHORISED", "PAID", "VOIDED"]) return false unless status_validator.valid?(@status) true @@ -499,16 +503,6 @@ def invoice_number=(invoice_number) @invoice_number = invoice_number end - # Custom attribute writer method with validation - # @param [Object] reference Value to be assigned - def reference=(reference) - if !reference.nil? && reference.to_s.length > 255 - fail ArgumentError, 'invalid value for "reference", the character length must be smaller than or equal to 255.' - end - - @reference = reference - end - # Custom attribute writer method checking allowed values (enum). # @param [Object] status Object to be assigned def status=(status) @@ -541,6 +535,7 @@ def ==(o) expected_payment_date == o.expected_payment_date && planned_payment_date == o.planned_payment_date && cis_deduction == o.cis_deduction && + cis_rate == o.cis_rate && sub_total == o.sub_total && total_tax == o.total_tax && total == o.total && @@ -574,7 +569,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [type, contact, line_items, date, due_date, line_amount_types, invoice_number, reference, branding_theme_id, url, currency_code, currency_rate, status, sent_to_contact, expected_payment_date, planned_payment_date, cis_deduction, sub_total, total_tax, total, total_discount, invoice_id, repeating_invoice_id, has_attachments, is_discounted, payments, prepayments, overpayments, amount_due, amount_paid, fully_paid_on_date, amount_credited, updated_date_utc, credit_notes, attachments, has_errors, status_attribute_string, validation_errors, warnings].hash + [type, contact, line_items, date, due_date, line_amount_types, invoice_number, reference, branding_theme_id, url, currency_code, currency_rate, status, sent_to_contact, expected_payment_date, planned_payment_date, cis_deduction, cis_rate, sub_total, total_tax, total, total_discount, invoice_id, repeating_invoice_id, has_attachments, is_discounted, payments, prepayments, overpayments, amount_due, amount_paid, fully_paid_on_date, amount_credited, updated_date_utc, credit_notes, attachments, has_errors, status_attribute_string, validation_errors, warnings].hash end # Builds the object from hash diff --git a/lib/xero-ruby/models/accounting/invoice_reminder.rb b/lib/xero-ruby/models/accounting/invoice_reminder.rb index ab695592..1505daa5 100644 --- a/lib/xero-ruby/models/accounting/invoice_reminder.rb +++ b/lib/xero-ruby/models/accounting/invoice_reminder.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/invoice_reminders.rb b/lib/xero-ruby/models/accounting/invoice_reminders.rb index 5630e4e9..d441e8cf 100644 --- a/lib/xero-ruby/models/accounting/invoice_reminders.rb +++ b/lib/xero-ruby/models/accounting/invoice_reminders.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/invoices.rb b/lib/xero-ruby/models/accounting/invoices.rb index 53d25049..2a012437 100644 --- a/lib/xero-ruby/models/accounting/invoices.rb +++ b/lib/xero-ruby/models/accounting/invoices.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/item.rb b/lib/xero-ruby/models/accounting/item.rb index 627f0bc9..c2c0a4c9 100644 --- a/lib/xero-ruby/models/accounting/item.rb +++ b/lib/xero-ruby/models/accounting/item.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/items.rb b/lib/xero-ruby/models/accounting/items.rb index 11fbf8d8..18623403 100644 --- a/lib/xero-ruby/models/accounting/items.rb +++ b/lib/xero-ruby/models/accounting/items.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/journal.rb b/lib/xero-ruby/models/accounting/journal.rb index c7fa4c60..e9b48f5b 100644 --- a/lib/xero-ruby/models/accounting/journal.rb +++ b/lib/xero-ruby/models/accounting/journal.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/journal_line.rb b/lib/xero-ruby/models/accounting/journal_line.rb index 3480fa4e..d0273e42 100644 --- a/lib/xero-ruby/models/accounting/journal_line.rb +++ b/lib/xero-ruby/models/accounting/journal_line.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/journals.rb b/lib/xero-ruby/models/accounting/journals.rb index ac889129..a0d81e9f 100644 --- a/lib/xero-ruby/models/accounting/journals.rb +++ b/lib/xero-ruby/models/accounting/journals.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/line_amount_types.rb b/lib/xero-ruby/models/accounting/line_amount_types.rb index 2123463e..070d424d 100644 --- a/lib/xero-ruby/models/accounting/line_amount_types.rb +++ b/lib/xero-ruby/models/accounting/line_amount_types.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/line_item.rb b/lib/xero-ruby/models/accounting/line_item.rb index 25c67fb1..2815f999 100644 --- a/lib/xero-ruby/models/accounting/line_item.rb +++ b/lib/xero-ruby/models/accounting/line_item.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/line_item_tracking.rb b/lib/xero-ruby/models/accounting/line_item_tracking.rb index f5c12def..6546dafe 100644 --- a/lib/xero-ruby/models/accounting/line_item_tracking.rb +++ b/lib/xero-ruby/models/accounting/line_item_tracking.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/linked_transaction.rb b/lib/xero-ruby/models/accounting/linked_transaction.rb index c8c09090..515c7b24 100644 --- a/lib/xero-ruby/models/accounting/linked_transaction.rb +++ b/lib/xero-ruby/models/accounting/linked_transaction.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/linked_transactions.rb b/lib/xero-ruby/models/accounting/linked_transactions.rb index 63a312e1..c0f6d130 100644 --- a/lib/xero-ruby/models/accounting/linked_transactions.rb +++ b/lib/xero-ruby/models/accounting/linked_transactions.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/manual_journal.rb b/lib/xero-ruby/models/accounting/manual_journal.rb index f94b6acf..dc8e6f5f 100644 --- a/lib/xero-ruby/models/accounting/manual_journal.rb +++ b/lib/xero-ruby/models/accounting/manual_journal.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/manual_journal_line.rb b/lib/xero-ruby/models/accounting/manual_journal_line.rb index 295c68fd..2d9f9f86 100644 --- a/lib/xero-ruby/models/accounting/manual_journal_line.rb +++ b/lib/xero-ruby/models/accounting/manual_journal_line.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/manual_journals.rb b/lib/xero-ruby/models/accounting/manual_journals.rb index f4453bd4..c27e2314 100644 --- a/lib/xero-ruby/models/accounting/manual_journals.rb +++ b/lib/xero-ruby/models/accounting/manual_journals.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/online_invoice.rb b/lib/xero-ruby/models/accounting/online_invoice.rb index ff5a9044..f160e84c 100644 --- a/lib/xero-ruby/models/accounting/online_invoice.rb +++ b/lib/xero-ruby/models/accounting/online_invoice.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/online_invoices.rb b/lib/xero-ruby/models/accounting/online_invoices.rb index 3b956c72..b71cf943 100644 --- a/lib/xero-ruby/models/accounting/online_invoices.rb +++ b/lib/xero-ruby/models/accounting/online_invoices.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/organisation.rb b/lib/xero-ruby/models/accounting/organisation.rb index e065a79c..3f4d1cdb 100644 --- a/lib/xero-ruby/models/accounting/organisation.rb +++ b/lib/xero-ruby/models/accounting/organisation.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -114,8 +114,7 @@ class Organisation N6_MONTHLY = "6MONTHLY".freeze QUARTERLY = "QUARTERLY".freeze YEARLY = "YEARLY".freeze - # duplicate definitions generated: https://github.com/XeroAPI/xero-ruby/issues/53#issuecomment-668893305 - # NONE = "NONE".freeze + NONE = "NONE".freeze # The default for LineAmountTypes on sales transactions attr_accessor :default_sales_tax @@ -137,19 +136,18 @@ class Organisation # Organisation Entity Type attr_accessor :organisation_entity_type - # duplicate definitions generated: https://github.com/XeroAPI/xero-ruby/issues/53#issuecomment-668893305 - # ACCOUNTING_PRACTICE = "ACCOUNTING_PRACTICE".freeze - # COMPANY = "COMPANY".freeze - # CHARITY = "CHARITY".freeze - # CLUB_OR_SOCIETY = "CLUB_OR_SOCIETY".freeze - # LOOK_THROUGH_COMPANY = "LOOK_THROUGH_COMPANY".freeze - # NOT_FOR_PROFIT = "NOT_FOR_PROFIT".freeze - # PARTNERSHIP = "PARTNERSHIP".freeze - # S_CORPORATION = "S_CORPORATION".freeze - # SELF_MANAGED_SUPERANNUATION_FUND = "SELF_MANAGED_SUPERANNUATION_FUND".freeze - # SOLE_TRADER = "SOLE_TRADER".freeze - # SUPERANNUATION_FUND = "SUPERANNUATION_FUND".freeze - # TRUST = "TRUST".freeze + ACCOUNTING_PRACTICE = "ACCOUNTING_PRACTICE".freeze + COMPANY = "COMPANY".freeze + CHARITY = "CHARITY".freeze + CLUB_OR_SOCIETY = "CLUB_OR_SOCIETY".freeze + LOOK_THROUGH_COMPANY = "LOOK_THROUGH_COMPANY".freeze + NOT_FOR_PROFIT = "NOT_FOR_PROFIT".freeze + PARTNERSHIP = "PARTNERSHIP".freeze + S_CORPORATION = "S_CORPORATION".freeze + SELF_MANAGED_SUPERANNUATION_FUND = "SELF_MANAGED_SUPERANNUATION_FUND".freeze + SOLE_TRADER = "SOLE_TRADER".freeze + SUPERANNUATION_FUND = "SUPERANNUATION_FUND".freeze + TRUST = "TRUST".freeze # A unique identifier for the organisation. Potential uses. attr_accessor :short_code @@ -281,7 +279,7 @@ def self.openapi_types :'_class' => :'String', :'edition' => :'String', :'line_of_business' => :'String', - :'addresses' => :'Array
', + :'addresses' => :'Array', :'phones' => :'Array', :'external_links' => :'Array', :'payment_terms' => :'PaymentTerm' diff --git a/lib/xero-ruby/models/accounting/organisations.rb b/lib/xero-ruby/models/accounting/organisations.rb index 1d214685..1e523121 100644 --- a/lib/xero-ruby/models/accounting/organisations.rb +++ b/lib/xero-ruby/models/accounting/organisations.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/overpayment.rb b/lib/xero-ruby/models/accounting/overpayment.rb index e7904ff9..02859a96 100644 --- a/lib/xero-ruby/models/accounting/overpayment.rb +++ b/lib/xero-ruby/models/accounting/overpayment.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/overpayments.rb b/lib/xero-ruby/models/accounting/overpayments.rb index c36611f3..bc0f0d2d 100644 --- a/lib/xero-ruby/models/accounting/overpayments.rb +++ b/lib/xero-ruby/models/accounting/overpayments.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/payment.rb b/lib/xero-ruby/models/accounting/payment.rb index 7e82cc7e..dc0fce2c 100644 --- a/lib/xero-ruby/models/accounting/payment.rb +++ b/lib/xero-ruby/models/accounting/payment.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/payment_delete.rb b/lib/xero-ruby/models/accounting/payment_delete.rb index d665b9b9..32238ac4 100644 --- a/lib/xero-ruby/models/accounting/payment_delete.rb +++ b/lib/xero-ruby/models/accounting/payment_delete.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/payment_service.rb b/lib/xero-ruby/models/accounting/payment_service.rb index 67b532bb..65e13499 100644 --- a/lib/xero-ruby/models/accounting/payment_service.rb +++ b/lib/xero-ruby/models/accounting/payment_service.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/payment_services.rb b/lib/xero-ruby/models/accounting/payment_services.rb index 2b59c481..ea7e020c 100644 --- a/lib/xero-ruby/models/accounting/payment_services.rb +++ b/lib/xero-ruby/models/accounting/payment_services.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/payment_term.rb b/lib/xero-ruby/models/accounting/payment_term.rb index 4dcaee47..2792f9a4 100644 --- a/lib/xero-ruby/models/accounting/payment_term.rb +++ b/lib/xero-ruby/models/accounting/payment_term.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/payment_term_type.rb b/lib/xero-ruby/models/accounting/payment_term_type.rb index b502fdf5..0e24561d 100644 --- a/lib/xero-ruby/models/accounting/payment_term_type.rb +++ b/lib/xero-ruby/models/accounting/payment_term_type.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/payments.rb b/lib/xero-ruby/models/accounting/payments.rb index e12781c7..2a52856f 100644 --- a/lib/xero-ruby/models/accounting/payments.rb +++ b/lib/xero-ruby/models/accounting/payments.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/phone.rb b/lib/xero-ruby/models/accounting/phone.rb index d14c0de4..23216b59 100644 --- a/lib/xero-ruby/models/accounting/phone.rb +++ b/lib/xero-ruby/models/accounting/phone.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/prepayment.rb b/lib/xero-ruby/models/accounting/prepayment.rb index 8f217e34..9a433550 100644 --- a/lib/xero-ruby/models/accounting/prepayment.rb +++ b/lib/xero-ruby/models/accounting/prepayment.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/prepayments.rb b/lib/xero-ruby/models/accounting/prepayments.rb index 08f12547..67463e33 100644 --- a/lib/xero-ruby/models/accounting/prepayments.rb +++ b/lib/xero-ruby/models/accounting/prepayments.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/purchase.rb b/lib/xero-ruby/models/accounting/purchase.rb index d8242b36..ae4917e9 100644 --- a/lib/xero-ruby/models/accounting/purchase.rb +++ b/lib/xero-ruby/models/accounting/purchase.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/purchase_order.rb b/lib/xero-ruby/models/accounting/purchase_order.rb index 0357d7f9..da12ce36 100644 --- a/lib/xero-ruby/models/accounting/purchase_order.rb +++ b/lib/xero-ruby/models/accounting/purchase_order.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/purchase_orders.rb b/lib/xero-ruby/models/accounting/purchase_orders.rb index 78ac4649..8639208a 100644 --- a/lib/xero-ruby/models/accounting/purchase_orders.rb +++ b/lib/xero-ruby/models/accounting/purchase_orders.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/quote.rb b/lib/xero-ruby/models/accounting/quote.rb index 4b33fa8e..d7d669d5 100644 --- a/lib/xero-ruby/models/accounting/quote.rb +++ b/lib/xero-ruby/models/accounting/quote.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/quote_line_amount_types.rb b/lib/xero-ruby/models/accounting/quote_line_amount_types.rb index c34eb8af..19952e83 100644 --- a/lib/xero-ruby/models/accounting/quote_line_amount_types.rb +++ b/lib/xero-ruby/models/accounting/quote_line_amount_types.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/quote_status_codes.rb b/lib/xero-ruby/models/accounting/quote_status_codes.rb index 4f0dc757..3d320b3b 100644 --- a/lib/xero-ruby/models/accounting/quote_status_codes.rb +++ b/lib/xero-ruby/models/accounting/quote_status_codes.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/quotes.rb b/lib/xero-ruby/models/accounting/quotes.rb index 6cff4cc6..f8ee633c 100644 --- a/lib/xero-ruby/models/accounting/quotes.rb +++ b/lib/xero-ruby/models/accounting/quotes.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/receipt.rb b/lib/xero-ruby/models/accounting/receipt.rb index fbfe238c..c5dbee00 100644 --- a/lib/xero-ruby/models/accounting/receipt.rb +++ b/lib/xero-ruby/models/accounting/receipt.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/receipts.rb b/lib/xero-ruby/models/accounting/receipts.rb index 23af177a..546427d6 100644 --- a/lib/xero-ruby/models/accounting/receipts.rb +++ b/lib/xero-ruby/models/accounting/receipts.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/repeating_invoice.rb b/lib/xero-ruby/models/accounting/repeating_invoice.rb index eb042878..d388970a 100644 --- a/lib/xero-ruby/models/accounting/repeating_invoice.rb +++ b/lib/xero-ruby/models/accounting/repeating_invoice.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/repeating_invoices.rb b/lib/xero-ruby/models/accounting/repeating_invoices.rb index e6ffff9d..9cd92cd1 100644 --- a/lib/xero-ruby/models/accounting/repeating_invoices.rb +++ b/lib/xero-ruby/models/accounting/repeating_invoices.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/report.rb b/lib/xero-ruby/models/accounting/report.rb index 35548182..64d9443f 100644 --- a/lib/xero-ruby/models/accounting/report.rb +++ b/lib/xero-ruby/models/accounting/report.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/report_attribute.rb b/lib/xero-ruby/models/accounting/report_attribute.rb index 17adbf8f..e1c4ccbf 100644 --- a/lib/xero-ruby/models/accounting/report_attribute.rb +++ b/lib/xero-ruby/models/accounting/report_attribute.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/report_cell.rb b/lib/xero-ruby/models/accounting/report_cell.rb index b45249af..11a1d02d 100644 --- a/lib/xero-ruby/models/accounting/report_cell.rb +++ b/lib/xero-ruby/models/accounting/report_cell.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/report_fields.rb b/lib/xero-ruby/models/accounting/report_fields.rb index cbf14a43..f77452ba 100644 --- a/lib/xero-ruby/models/accounting/report_fields.rb +++ b/lib/xero-ruby/models/accounting/report_fields.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/report_row.rb b/lib/xero-ruby/models/accounting/report_row.rb index 4024bae8..776d8511 100644 --- a/lib/xero-ruby/models/accounting/report_row.rb +++ b/lib/xero-ruby/models/accounting/report_row.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/report_rows.rb b/lib/xero-ruby/models/accounting/report_rows.rb index 353b0d54..7aa9f0f6 100644 --- a/lib/xero-ruby/models/accounting/report_rows.rb +++ b/lib/xero-ruby/models/accounting/report_rows.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/report_with_row.rb b/lib/xero-ruby/models/accounting/report_with_row.rb index eec7bbab..785f246b 100644 --- a/lib/xero-ruby/models/accounting/report_with_row.rb +++ b/lib/xero-ruby/models/accounting/report_with_row.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/report_with_rows.rb b/lib/xero-ruby/models/accounting/report_with_rows.rb index 962e87c3..ad5be7ec 100644 --- a/lib/xero-ruby/models/accounting/report_with_rows.rb +++ b/lib/xero-ruby/models/accounting/report_with_rows.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/reports.rb b/lib/xero-ruby/models/accounting/reports.rb index dcf545bf..3160ac1d 100644 --- a/lib/xero-ruby/models/accounting/reports.rb +++ b/lib/xero-ruby/models/accounting/reports.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/request_empty.rb b/lib/xero-ruby/models/accounting/request_empty.rb index 53c9fc6f..d11220c1 100644 --- a/lib/xero-ruby/models/accounting/request_empty.rb +++ b/lib/xero-ruby/models/accounting/request_empty.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/row_type.rb b/lib/xero-ruby/models/accounting/row_type.rb index 09b2aabd..7e9711ce 100644 --- a/lib/xero-ruby/models/accounting/row_type.rb +++ b/lib/xero-ruby/models/accounting/row_type.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/sales_tracking_category.rb b/lib/xero-ruby/models/accounting/sales_tracking_category.rb index f287b27b..c79fa9a1 100644 --- a/lib/xero-ruby/models/accounting/sales_tracking_category.rb +++ b/lib/xero-ruby/models/accounting/sales_tracking_category.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/schedule.rb b/lib/xero-ruby/models/accounting/schedule.rb index aa058ac8..19bffb3b 100644 --- a/lib/xero-ruby/models/accounting/schedule.rb +++ b/lib/xero-ruby/models/accounting/schedule.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/setup.rb b/lib/xero-ruby/models/accounting/setup.rb index 43a16964..87579080 100644 --- a/lib/xero-ruby/models/accounting/setup.rb +++ b/lib/xero-ruby/models/accounting/setup.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/tax_component.rb b/lib/xero-ruby/models/accounting/tax_component.rb index a3199303..be155ea4 100644 --- a/lib/xero-ruby/models/accounting/tax_component.rb +++ b/lib/xero-ruby/models/accounting/tax_component.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/tax_rate.rb b/lib/xero-ruby/models/accounting/tax_rate.rb index 5a6e4f68..e8c96991 100644 --- a/lib/xero-ruby/models/accounting/tax_rate.rb +++ b/lib/xero-ruby/models/accounting/tax_rate.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/tax_rates.rb b/lib/xero-ruby/models/accounting/tax_rates.rb index b26447fe..cdb317fc 100644 --- a/lib/xero-ruby/models/accounting/tax_rates.rb +++ b/lib/xero-ruby/models/accounting/tax_rates.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/tax_type.rb b/lib/xero-ruby/models/accounting/tax_type.rb index 51b4ddfe..5d51f97b 100644 --- a/lib/xero-ruby/models/accounting/tax_type.rb +++ b/lib/xero-ruby/models/accounting/tax_type.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/ten_ninety_nine_contact.rb b/lib/xero-ruby/models/accounting/ten_ninety_nine_contact.rb index 7724218e..84b4d01c 100644 --- a/lib/xero-ruby/models/accounting/ten_ninety_nine_contact.rb +++ b/lib/xero-ruby/models/accounting/ten_ninety_nine_contact.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/time_zone.rb b/lib/xero-ruby/models/accounting/time_zone.rb index c4c83ff6..6d3d1220 100644 --- a/lib/xero-ruby/models/accounting/time_zone.rb +++ b/lib/xero-ruby/models/accounting/time_zone.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/tracking_categories.rb b/lib/xero-ruby/models/accounting/tracking_categories.rb index aa020e88..04228245 100644 --- a/lib/xero-ruby/models/accounting/tracking_categories.rb +++ b/lib/xero-ruby/models/accounting/tracking_categories.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/tracking_category.rb b/lib/xero-ruby/models/accounting/tracking_category.rb index e877656e..cdca969f 100644 --- a/lib/xero-ruby/models/accounting/tracking_category.rb +++ b/lib/xero-ruby/models/accounting/tracking_category.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/tracking_option.rb b/lib/xero-ruby/models/accounting/tracking_option.rb index 28756361..e2a1a65b 100644 --- a/lib/xero-ruby/models/accounting/tracking_option.rb +++ b/lib/xero-ruby/models/accounting/tracking_option.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/tracking_options.rb b/lib/xero-ruby/models/accounting/tracking_options.rb index c0f73886..9f307ae4 100644 --- a/lib/xero-ruby/models/accounting/tracking_options.rb +++ b/lib/xero-ruby/models/accounting/tracking_options.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/user.rb b/lib/xero-ruby/models/accounting/user.rb index eef07113..bf001271 100644 --- a/lib/xero-ruby/models/accounting/user.rb +++ b/lib/xero-ruby/models/accounting/user.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/users.rb b/lib/xero-ruby/models/accounting/users.rb index f5faf2f6..d27f6243 100644 --- a/lib/xero-ruby/models/accounting/users.rb +++ b/lib/xero-ruby/models/accounting/users.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/accounting/validation_error.rb b/lib/xero-ruby/models/accounting/validation_error.rb index 2a5f7837..eb7b3991 100644 --- a/lib/xero-ruby/models/accounting/validation_error.rb +++ b/lib/xero-ruby/models/accounting/validation_error.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/assets/asset.rb b/lib/xero-ruby/models/assets/asset.rb index 004a4496..961459b3 100644 --- a/lib/xero-ruby/models/assets/asset.rb +++ b/lib/xero-ruby/models/assets/asset.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/assets/asset_status.rb b/lib/xero-ruby/models/assets/asset_status.rb index 051d7ce1..4a0ad2f0 100644 --- a/lib/xero-ruby/models/assets/asset_status.rb +++ b/lib/xero-ruby/models/assets/asset_status.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/assets/asset_status_query_param.rb b/lib/xero-ruby/models/assets/asset_status_query_param.rb index 1b6b392c..ba7893c1 100644 --- a/lib/xero-ruby/models/assets/asset_status_query_param.rb +++ b/lib/xero-ruby/models/assets/asset_status_query_param.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/assets/asset_type.rb b/lib/xero-ruby/models/assets/asset_type.rb index ecacfc1c..d134c2c7 100644 --- a/lib/xero-ruby/models/assets/asset_type.rb +++ b/lib/xero-ruby/models/assets/asset_type.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/assets/assets.rb b/lib/xero-ruby/models/assets/assets.rb index e5e77d25..ea03e372 100644 --- a/lib/xero-ruby/models/assets/assets.rb +++ b/lib/xero-ruby/models/assets/assets.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/assets/book_depreciation_detail.rb b/lib/xero-ruby/models/assets/book_depreciation_detail.rb index 6c5abb8f..b01806f7 100644 --- a/lib/xero-ruby/models/assets/book_depreciation_detail.rb +++ b/lib/xero-ruby/models/assets/book_depreciation_detail.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/assets/book_depreciation_setting.rb b/lib/xero-ruby/models/assets/book_depreciation_setting.rb index 26932b30..ae51ecbe 100644 --- a/lib/xero-ruby/models/assets/book_depreciation_setting.rb +++ b/lib/xero-ruby/models/assets/book_depreciation_setting.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/assets/error.rb b/lib/xero-ruby/models/assets/error.rb index 9f4d53a8..9dc19806 100644 --- a/lib/xero-ruby/models/assets/error.rb +++ b/lib/xero-ruby/models/assets/error.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/assets/field_validation_errors_element.rb b/lib/xero-ruby/models/assets/field_validation_errors_element.rb index b3f2d6a3..ed807eff 100644 --- a/lib/xero-ruby/models/assets/field_validation_errors_element.rb +++ b/lib/xero-ruby/models/assets/field_validation_errors_element.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/assets/pagination.rb b/lib/xero-ruby/models/assets/pagination.rb index 2d646c19..3c0a331b 100644 --- a/lib/xero-ruby/models/assets/pagination.rb +++ b/lib/xero-ruby/models/assets/pagination.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/assets/resource_validation_errors_element.rb b/lib/xero-ruby/models/assets/resource_validation_errors_element.rb index 15f2944e..06c5d668 100644 --- a/lib/xero-ruby/models/assets/resource_validation_errors_element.rb +++ b/lib/xero-ruby/models/assets/resource_validation_errors_element.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/assets/setting.rb b/lib/xero-ruby/models/assets/setting.rb index 52cca05b..31e0e932 100644 --- a/lib/xero-ruby/models/assets/setting.rb +++ b/lib/xero-ruby/models/assets/setting.rb @@ -3,7 +3,7 @@ #This is the Xero Assets API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/account.rb b/lib/xero-ruby/models/payroll_au/account.rb index e70cb890..15a540b0 100644 --- a/lib/xero-ruby/models/payroll_au/account.rb +++ b/lib/xero-ruby/models/payroll_au/account.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/account_type.rb b/lib/xero-ruby/models/payroll_au/account_type.rb index f5195615..67007231 100644 --- a/lib/xero-ruby/models/payroll_au/account_type.rb +++ b/lib/xero-ruby/models/payroll_au/account_type.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/allowance_type.rb b/lib/xero-ruby/models/payroll_au/allowance_type.rb index 49a20c83..ee00a460 100644 --- a/lib/xero-ruby/models/payroll_au/allowance_type.rb +++ b/lib/xero-ruby/models/payroll_au/allowance_type.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/api_exception.rb b/lib/xero-ruby/models/payroll_au/api_exception.rb index 5f6947df..eb41561d 100644 --- a/lib/xero-ruby/models/payroll_au/api_exception.rb +++ b/lib/xero-ruby/models/payroll_au/api_exception.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/bank_account.rb b/lib/xero-ruby/models/payroll_au/bank_account.rb index 19d4ceb2..bfa1e7ff 100644 --- a/lib/xero-ruby/models/payroll_au/bank_account.rb +++ b/lib/xero-ruby/models/payroll_au/bank_account.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/calendar_type.rb b/lib/xero-ruby/models/payroll_au/calendar_type.rb index 1b807485..433323b5 100644 --- a/lib/xero-ruby/models/payroll_au/calendar_type.rb +++ b/lib/xero-ruby/models/payroll_au/calendar_type.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/deduction_line.rb b/lib/xero-ruby/models/payroll_au/deduction_line.rb index b8fb3ff2..b93aa63e 100644 --- a/lib/xero-ruby/models/payroll_au/deduction_line.rb +++ b/lib/xero-ruby/models/payroll_au/deduction_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/deduction_type.rb b/lib/xero-ruby/models/payroll_au/deduction_type.rb index 31790deb..37ef594c 100644 --- a/lib/xero-ruby/models/payroll_au/deduction_type.rb +++ b/lib/xero-ruby/models/payroll_au/deduction_type.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/deduction_type_calculation_type.rb b/lib/xero-ruby/models/payroll_au/deduction_type_calculation_type.rb index d3b59662..ae1185e6 100644 --- a/lib/xero-ruby/models/payroll_au/deduction_type_calculation_type.rb +++ b/lib/xero-ruby/models/payroll_au/deduction_type_calculation_type.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/earnings_line.rb b/lib/xero-ruby/models/payroll_au/earnings_line.rb index bb75423f..a5cf2357 100644 --- a/lib/xero-ruby/models/payroll_au/earnings_line.rb +++ b/lib/xero-ruby/models/payroll_au/earnings_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/earnings_rate.rb b/lib/xero-ruby/models/payroll_au/earnings_rate.rb index b106f73c..0e8c796c 100644 --- a/lib/xero-ruby/models/payroll_au/earnings_rate.rb +++ b/lib/xero-ruby/models/payroll_au/earnings_rate.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/earnings_rate_calculation_type.rb b/lib/xero-ruby/models/payroll_au/earnings_rate_calculation_type.rb index eead617b..0e27f604 100644 --- a/lib/xero-ruby/models/payroll_au/earnings_rate_calculation_type.rb +++ b/lib/xero-ruby/models/payroll_au/earnings_rate_calculation_type.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/earnings_type.rb b/lib/xero-ruby/models/payroll_au/earnings_type.rb index 9c522065..69288d08 100644 --- a/lib/xero-ruby/models/payroll_au/earnings_type.rb +++ b/lib/xero-ruby/models/payroll_au/earnings_type.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/employee.rb b/lib/xero-ruby/models/payroll_au/employee.rb index 9c4ba597..4de0ae7a 100644 --- a/lib/xero-ruby/models/payroll_au/employee.rb +++ b/lib/xero-ruby/models/payroll_au/employee.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/employee_status.rb b/lib/xero-ruby/models/payroll_au/employee_status.rb index feb54b38..8445d58f 100644 --- a/lib/xero-ruby/models/payroll_au/employee_status.rb +++ b/lib/xero-ruby/models/payroll_au/employee_status.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/employees.rb b/lib/xero-ruby/models/payroll_au/employees.rb index 789d817f..52ba6ea3 100644 --- a/lib/xero-ruby/models/payroll_au/employees.rb +++ b/lib/xero-ruby/models/payroll_au/employees.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/employment_basis.rb b/lib/xero-ruby/models/payroll_au/employment_basis.rb index 74f0ffb5..ea48f7a4 100644 --- a/lib/xero-ruby/models/payroll_au/employment_basis.rb +++ b/lib/xero-ruby/models/payroll_au/employment_basis.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/employment_termination_payment_type.rb b/lib/xero-ruby/models/payroll_au/employment_termination_payment_type.rb index 84104928..380fb5c5 100644 --- a/lib/xero-ruby/models/payroll_au/employment_termination_payment_type.rb +++ b/lib/xero-ruby/models/payroll_au/employment_termination_payment_type.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/entitlement_final_pay_payout_type.rb b/lib/xero-ruby/models/payroll_au/entitlement_final_pay_payout_type.rb index 4865bc34..22305901 100644 --- a/lib/xero-ruby/models/payroll_au/entitlement_final_pay_payout_type.rb +++ b/lib/xero-ruby/models/payroll_au/entitlement_final_pay_payout_type.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/home_address.rb b/lib/xero-ruby/models/payroll_au/home_address.rb index fbb41564..4147aa84 100644 --- a/lib/xero-ruby/models/payroll_au/home_address.rb +++ b/lib/xero-ruby/models/payroll_au/home_address.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/leave_accrual_line.rb b/lib/xero-ruby/models/payroll_au/leave_accrual_line.rb index 9359112e..06631fc4 100644 --- a/lib/xero-ruby/models/payroll_au/leave_accrual_line.rb +++ b/lib/xero-ruby/models/payroll_au/leave_accrual_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/leave_application.rb b/lib/xero-ruby/models/payroll_au/leave_application.rb index cb67ecdd..42f565e7 100644 --- a/lib/xero-ruby/models/payroll_au/leave_application.rb +++ b/lib/xero-ruby/models/payroll_au/leave_application.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/leave_applications.rb b/lib/xero-ruby/models/payroll_au/leave_applications.rb index f8988128..0c8a0bd0 100644 --- a/lib/xero-ruby/models/payroll_au/leave_applications.rb +++ b/lib/xero-ruby/models/payroll_au/leave_applications.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/leave_balance.rb b/lib/xero-ruby/models/payroll_au/leave_balance.rb index 15166e6e..a574d779 100644 --- a/lib/xero-ruby/models/payroll_au/leave_balance.rb +++ b/lib/xero-ruby/models/payroll_au/leave_balance.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/leave_earnings_line.rb b/lib/xero-ruby/models/payroll_au/leave_earnings_line.rb index af0c0ae9..323a2fd6 100644 --- a/lib/xero-ruby/models/payroll_au/leave_earnings_line.rb +++ b/lib/xero-ruby/models/payroll_au/leave_earnings_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/leave_line.rb b/lib/xero-ruby/models/payroll_au/leave_line.rb index 6932d6e2..802fbbd2 100644 --- a/lib/xero-ruby/models/payroll_au/leave_line.rb +++ b/lib/xero-ruby/models/payroll_au/leave_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/leave_line_calculation_type.rb b/lib/xero-ruby/models/payroll_au/leave_line_calculation_type.rb index d53ceffa..94d7059b 100644 --- a/lib/xero-ruby/models/payroll_au/leave_line_calculation_type.rb +++ b/lib/xero-ruby/models/payroll_au/leave_line_calculation_type.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/leave_lines.rb b/lib/xero-ruby/models/payroll_au/leave_lines.rb index 3215f73e..b16ca0e1 100644 --- a/lib/xero-ruby/models/payroll_au/leave_lines.rb +++ b/lib/xero-ruby/models/payroll_au/leave_lines.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/leave_period.rb b/lib/xero-ruby/models/payroll_au/leave_period.rb index 7bbfa24f..d3a97770 100644 --- a/lib/xero-ruby/models/payroll_au/leave_period.rb +++ b/lib/xero-ruby/models/payroll_au/leave_period.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/leave_period_status.rb b/lib/xero-ruby/models/payroll_au/leave_period_status.rb index bb484c96..dbf59297 100644 --- a/lib/xero-ruby/models/payroll_au/leave_period_status.rb +++ b/lib/xero-ruby/models/payroll_au/leave_period_status.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/leave_type.rb b/lib/xero-ruby/models/payroll_au/leave_type.rb index b2b22955..cb51ed6d 100644 --- a/lib/xero-ruby/models/payroll_au/leave_type.rb +++ b/lib/xero-ruby/models/payroll_au/leave_type.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/leave_type_contribution_type.rb b/lib/xero-ruby/models/payroll_au/leave_type_contribution_type.rb index bc9eb6a1..c78bcea0 100644 --- a/lib/xero-ruby/models/payroll_au/leave_type_contribution_type.rb +++ b/lib/xero-ruby/models/payroll_au/leave_type_contribution_type.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/manual_tax_type.rb b/lib/xero-ruby/models/payroll_au/manual_tax_type.rb index b5247b9a..2a22444d 100644 --- a/lib/xero-ruby/models/payroll_au/manual_tax_type.rb +++ b/lib/xero-ruby/models/payroll_au/manual_tax_type.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/opening_balances.rb b/lib/xero-ruby/models/payroll_au/opening_balances.rb index 2cb35d5d..88abe733 100644 --- a/lib/xero-ruby/models/payroll_au/opening_balances.rb +++ b/lib/xero-ruby/models/payroll_au/opening_balances.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/pay_item.rb b/lib/xero-ruby/models/payroll_au/pay_item.rb index bf3fd3d3..a509fa0f 100644 --- a/lib/xero-ruby/models/payroll_au/pay_item.rb +++ b/lib/xero-ruby/models/payroll_au/pay_item.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/pay_items.rb b/lib/xero-ruby/models/payroll_au/pay_items.rb index b34ceab0..fd1ad3cb 100644 --- a/lib/xero-ruby/models/payroll_au/pay_items.rb +++ b/lib/xero-ruby/models/payroll_au/pay_items.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/pay_run.rb b/lib/xero-ruby/models/payroll_au/pay_run.rb index 5b7677eb..e619bf3d 100644 --- a/lib/xero-ruby/models/payroll_au/pay_run.rb +++ b/lib/xero-ruby/models/payroll_au/pay_run.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/pay_run_status.rb b/lib/xero-ruby/models/payroll_au/pay_run_status.rb index 48cb67d7..6e9081ff 100644 --- a/lib/xero-ruby/models/payroll_au/pay_run_status.rb +++ b/lib/xero-ruby/models/payroll_au/pay_run_status.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/pay_runs.rb b/lib/xero-ruby/models/payroll_au/pay_runs.rb index 14d69f85..6511f813 100644 --- a/lib/xero-ruby/models/payroll_au/pay_runs.rb +++ b/lib/xero-ruby/models/payroll_au/pay_runs.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/pay_template.rb b/lib/xero-ruby/models/payroll_au/pay_template.rb index c78ebf19..cb8177c3 100644 --- a/lib/xero-ruby/models/payroll_au/pay_template.rb +++ b/lib/xero-ruby/models/payroll_au/pay_template.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/payment_frequency_type.rb b/lib/xero-ruby/models/payroll_au/payment_frequency_type.rb index c49df1ae..b1a699f0 100644 --- a/lib/xero-ruby/models/payroll_au/payment_frequency_type.rb +++ b/lib/xero-ruby/models/payroll_au/payment_frequency_type.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/payroll_calendar.rb b/lib/xero-ruby/models/payroll_au/payroll_calendar.rb index 363a2eca..37f9149c 100644 --- a/lib/xero-ruby/models/payroll_au/payroll_calendar.rb +++ b/lib/xero-ruby/models/payroll_au/payroll_calendar.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/payroll_calendars.rb b/lib/xero-ruby/models/payroll_au/payroll_calendars.rb index 4296f88e..f42230da 100644 --- a/lib/xero-ruby/models/payroll_au/payroll_calendars.rb +++ b/lib/xero-ruby/models/payroll_au/payroll_calendars.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/payslip.rb b/lib/xero-ruby/models/payroll_au/payslip.rb index b90e7ca8..60d1f020 100644 --- a/lib/xero-ruby/models/payroll_au/payslip.rb +++ b/lib/xero-ruby/models/payroll_au/payslip.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/payslip_lines.rb b/lib/xero-ruby/models/payroll_au/payslip_lines.rb index d282cdb1..280445f1 100644 --- a/lib/xero-ruby/models/payroll_au/payslip_lines.rb +++ b/lib/xero-ruby/models/payroll_au/payslip_lines.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/payslip_object.rb b/lib/xero-ruby/models/payroll_au/payslip_object.rb index 25d8266b..2189b955 100644 --- a/lib/xero-ruby/models/payroll_au/payslip_object.rb +++ b/lib/xero-ruby/models/payroll_au/payslip_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/payslip_summary.rb b/lib/xero-ruby/models/payroll_au/payslip_summary.rb index 8fb6d1df..cd2daffb 100644 --- a/lib/xero-ruby/models/payroll_au/payslip_summary.rb +++ b/lib/xero-ruby/models/payroll_au/payslip_summary.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/payslips.rb b/lib/xero-ruby/models/payroll_au/payslips.rb index 50261ec6..9854843b 100644 --- a/lib/xero-ruby/models/payroll_au/payslips.rb +++ b/lib/xero-ruby/models/payroll_au/payslips.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/rate_type.rb b/lib/xero-ruby/models/payroll_au/rate_type.rb index 6e2e26dc..094dba0f 100644 --- a/lib/xero-ruby/models/payroll_au/rate_type.rb +++ b/lib/xero-ruby/models/payroll_au/rate_type.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/reimbursement_line.rb b/lib/xero-ruby/models/payroll_au/reimbursement_line.rb index c584022b..9d5e2f64 100644 --- a/lib/xero-ruby/models/payroll_au/reimbursement_line.rb +++ b/lib/xero-ruby/models/payroll_au/reimbursement_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/reimbursement_lines.rb b/lib/xero-ruby/models/payroll_au/reimbursement_lines.rb index 06026d53..a0dfa647 100644 --- a/lib/xero-ruby/models/payroll_au/reimbursement_lines.rb +++ b/lib/xero-ruby/models/payroll_au/reimbursement_lines.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/reimbursement_type.rb b/lib/xero-ruby/models/payroll_au/reimbursement_type.rb index c9f2ad10..9bd4f23f 100644 --- a/lib/xero-ruby/models/payroll_au/reimbursement_type.rb +++ b/lib/xero-ruby/models/payroll_au/reimbursement_type.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/residency_status.rb b/lib/xero-ruby/models/payroll_au/residency_status.rb index e0f48216..280ede5c 100644 --- a/lib/xero-ruby/models/payroll_au/residency_status.rb +++ b/lib/xero-ruby/models/payroll_au/residency_status.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/settings.rb b/lib/xero-ruby/models/payroll_au/settings.rb index 69285275..82d2af7b 100644 --- a/lib/xero-ruby/models/payroll_au/settings.rb +++ b/lib/xero-ruby/models/payroll_au/settings.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/settings_object.rb b/lib/xero-ruby/models/payroll_au/settings_object.rb index 3633f7f2..f1707ca9 100644 --- a/lib/xero-ruby/models/payroll_au/settings_object.rb +++ b/lib/xero-ruby/models/payroll_au/settings_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/settings_tracking_categories.rb b/lib/xero-ruby/models/payroll_au/settings_tracking_categories.rb index e14a5e3b..8cc76de2 100644 --- a/lib/xero-ruby/models/payroll_au/settings_tracking_categories.rb +++ b/lib/xero-ruby/models/payroll_au/settings_tracking_categories.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/settings_tracking_categories_employee_groups.rb b/lib/xero-ruby/models/payroll_au/settings_tracking_categories_employee_groups.rb index 4e60a48f..8b156877 100644 --- a/lib/xero-ruby/models/payroll_au/settings_tracking_categories_employee_groups.rb +++ b/lib/xero-ruby/models/payroll_au/settings_tracking_categories_employee_groups.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/settings_tracking_categories_timesheet_categories.rb b/lib/xero-ruby/models/payroll_au/settings_tracking_categories_timesheet_categories.rb index 92617d7e..f11a103d 100644 --- a/lib/xero-ruby/models/payroll_au/settings_tracking_categories_timesheet_categories.rb +++ b/lib/xero-ruby/models/payroll_au/settings_tracking_categories_timesheet_categories.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/state.rb b/lib/xero-ruby/models/payroll_au/state.rb index 05a14b1a..586884cc 100644 --- a/lib/xero-ruby/models/payroll_au/state.rb +++ b/lib/xero-ruby/models/payroll_au/state.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/super_fund.rb b/lib/xero-ruby/models/payroll_au/super_fund.rb index e19bd8de..b536d199 100644 --- a/lib/xero-ruby/models/payroll_au/super_fund.rb +++ b/lib/xero-ruby/models/payroll_au/super_fund.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/super_fund_product.rb b/lib/xero-ruby/models/payroll_au/super_fund_product.rb index 882c1458..108043ba 100644 --- a/lib/xero-ruby/models/payroll_au/super_fund_product.rb +++ b/lib/xero-ruby/models/payroll_au/super_fund_product.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/super_fund_products.rb b/lib/xero-ruby/models/payroll_au/super_fund_products.rb index 8804b496..07f6e474 100644 --- a/lib/xero-ruby/models/payroll_au/super_fund_products.rb +++ b/lib/xero-ruby/models/payroll_au/super_fund_products.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/super_fund_type.rb b/lib/xero-ruby/models/payroll_au/super_fund_type.rb index 30b00d39..54ed6f44 100644 --- a/lib/xero-ruby/models/payroll_au/super_fund_type.rb +++ b/lib/xero-ruby/models/payroll_au/super_fund_type.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/super_funds.rb b/lib/xero-ruby/models/payroll_au/super_funds.rb index 419a575a..9f8876ef 100644 --- a/lib/xero-ruby/models/payroll_au/super_funds.rb +++ b/lib/xero-ruby/models/payroll_au/super_funds.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/super_line.rb b/lib/xero-ruby/models/payroll_au/super_line.rb index 86591ec8..dedfb367 100644 --- a/lib/xero-ruby/models/payroll_au/super_line.rb +++ b/lib/xero-ruby/models/payroll_au/super_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/super_membership.rb b/lib/xero-ruby/models/payroll_au/super_membership.rb index eee908dc..eeed4ba6 100644 --- a/lib/xero-ruby/models/payroll_au/super_membership.rb +++ b/lib/xero-ruby/models/payroll_au/super_membership.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/superannuation_calculation_type.rb b/lib/xero-ruby/models/payroll_au/superannuation_calculation_type.rb index 2f32c921..e0d015e7 100644 --- a/lib/xero-ruby/models/payroll_au/superannuation_calculation_type.rb +++ b/lib/xero-ruby/models/payroll_au/superannuation_calculation_type.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/superannuation_contribution_type.rb b/lib/xero-ruby/models/payroll_au/superannuation_contribution_type.rb index 145ee48b..8dedf7d1 100644 --- a/lib/xero-ruby/models/payroll_au/superannuation_contribution_type.rb +++ b/lib/xero-ruby/models/payroll_au/superannuation_contribution_type.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/superannuation_line.rb b/lib/xero-ruby/models/payroll_au/superannuation_line.rb index 463837e3..e5322d29 100644 --- a/lib/xero-ruby/models/payroll_au/superannuation_line.rb +++ b/lib/xero-ruby/models/payroll_au/superannuation_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/tax_declaration.rb b/lib/xero-ruby/models/payroll_au/tax_declaration.rb index b5918a4e..e3685d49 100644 --- a/lib/xero-ruby/models/payroll_au/tax_declaration.rb +++ b/lib/xero-ruby/models/payroll_au/tax_declaration.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/tax_line.rb b/lib/xero-ruby/models/payroll_au/tax_line.rb index 12cb383c..7cb9f969 100644 --- a/lib/xero-ruby/models/payroll_au/tax_line.rb +++ b/lib/xero-ruby/models/payroll_au/tax_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/tfn_exemption_type.rb b/lib/xero-ruby/models/payroll_au/tfn_exemption_type.rb index 432a109c..e73e8511 100644 --- a/lib/xero-ruby/models/payroll_au/tfn_exemption_type.rb +++ b/lib/xero-ruby/models/payroll_au/tfn_exemption_type.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/timesheet.rb b/lib/xero-ruby/models/payroll_au/timesheet.rb index d266400f..5ad73031 100644 --- a/lib/xero-ruby/models/payroll_au/timesheet.rb +++ b/lib/xero-ruby/models/payroll_au/timesheet.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/timesheet_line.rb b/lib/xero-ruby/models/payroll_au/timesheet_line.rb index 1b1dc173..871a536e 100644 --- a/lib/xero-ruby/models/payroll_au/timesheet_line.rb +++ b/lib/xero-ruby/models/payroll_au/timesheet_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/timesheet_object.rb b/lib/xero-ruby/models/payroll_au/timesheet_object.rb index c34d9c0c..4d5cc754 100644 --- a/lib/xero-ruby/models/payroll_au/timesheet_object.rb +++ b/lib/xero-ruby/models/payroll_au/timesheet_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/timesheet_status.rb b/lib/xero-ruby/models/payroll_au/timesheet_status.rb index 7a10cbc2..35d4fc1a 100644 --- a/lib/xero-ruby/models/payroll_au/timesheet_status.rb +++ b/lib/xero-ruby/models/payroll_au/timesheet_status.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/timesheets.rb b/lib/xero-ruby/models/payroll_au/timesheets.rb index 141ee7f3..c1f38902 100644 --- a/lib/xero-ruby/models/payroll_au/timesheets.rb +++ b/lib/xero-ruby/models/payroll_au/timesheets.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_au/validation_error.rb b/lib/xero-ruby/models/payroll_au/validation_error.rb index ddcc9cef..6d719079 100644 --- a/lib/xero-ruby/models/payroll_au/validation_error.rb +++ b/lib/xero-ruby/models/payroll_au/validation_error.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in Australia region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/account.rb b/lib/xero-ruby/models/payroll_nz/account.rb index 4a5015c4..befe40c4 100644 --- a/lib/xero-ruby/models/payroll_nz/account.rb +++ b/lib/xero-ruby/models/payroll_nz/account.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/accounts.rb b/lib/xero-ruby/models/payroll_nz/accounts.rb index 514d7706..34244a5a 100644 --- a/lib/xero-ruby/models/payroll_nz/accounts.rb +++ b/lib/xero-ruby/models/payroll_nz/accounts.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/address.rb b/lib/xero-ruby/models/payroll_nz/address.rb index e1735c26..644e5ed8 100644 --- a/lib/xero-ruby/models/payroll_nz/address.rb +++ b/lib/xero-ruby/models/payroll_nz/address.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/bank_account.rb b/lib/xero-ruby/models/payroll_nz/bank_account.rb index 87cdf685..8ea92290 100644 --- a/lib/xero-ruby/models/payroll_nz/bank_account.rb +++ b/lib/xero-ruby/models/payroll_nz/bank_account.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/benefit.rb b/lib/xero-ruby/models/payroll_nz/benefit.rb index dc0377ae..e986b887 100644 --- a/lib/xero-ruby/models/payroll_nz/benefit.rb +++ b/lib/xero-ruby/models/payroll_nz/benefit.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/calendar_type.rb b/lib/xero-ruby/models/payroll_nz/calendar_type.rb index 5af7121c..eef1b237 100644 --- a/lib/xero-ruby/models/payroll_nz/calendar_type.rb +++ b/lib/xero-ruby/models/payroll_nz/calendar_type.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/deduction.rb b/lib/xero-ruby/models/payroll_nz/deduction.rb index 51fb0820..c2bcb6fa 100644 --- a/lib/xero-ruby/models/payroll_nz/deduction.rb +++ b/lib/xero-ruby/models/payroll_nz/deduction.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/deduction_line.rb b/lib/xero-ruby/models/payroll_nz/deduction_line.rb index 129812e7..ae13aa09 100644 --- a/lib/xero-ruby/models/payroll_nz/deduction_line.rb +++ b/lib/xero-ruby/models/payroll_nz/deduction_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/deduction_object.rb b/lib/xero-ruby/models/payroll_nz/deduction_object.rb index 18b03300..293aa732 100644 --- a/lib/xero-ruby/models/payroll_nz/deduction_object.rb +++ b/lib/xero-ruby/models/payroll_nz/deduction_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/deductions.rb b/lib/xero-ruby/models/payroll_nz/deductions.rb index 5c49d6b3..5dc0b76b 100644 --- a/lib/xero-ruby/models/payroll_nz/deductions.rb +++ b/lib/xero-ruby/models/payroll_nz/deductions.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/earnings_line.rb b/lib/xero-ruby/models/payroll_nz/earnings_line.rb index 89564f70..3c381aa9 100644 --- a/lib/xero-ruby/models/payroll_nz/earnings_line.rb +++ b/lib/xero-ruby/models/payroll_nz/earnings_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/earnings_order.rb b/lib/xero-ruby/models/payroll_nz/earnings_order.rb index a0518063..b7292cbe 100644 --- a/lib/xero-ruby/models/payroll_nz/earnings_order.rb +++ b/lib/xero-ruby/models/payroll_nz/earnings_order.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/earnings_order_object.rb b/lib/xero-ruby/models/payroll_nz/earnings_order_object.rb index d682b963..aeb53577 100644 --- a/lib/xero-ruby/models/payroll_nz/earnings_order_object.rb +++ b/lib/xero-ruby/models/payroll_nz/earnings_order_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/earnings_orders.rb b/lib/xero-ruby/models/payroll_nz/earnings_orders.rb index 3696c31a..19cc2785 100644 --- a/lib/xero-ruby/models/payroll_nz/earnings_orders.rb +++ b/lib/xero-ruby/models/payroll_nz/earnings_orders.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/earnings_rate.rb b/lib/xero-ruby/models/payroll_nz/earnings_rate.rb index cf99bf9d..d234a1ab 100644 --- a/lib/xero-ruby/models/payroll_nz/earnings_rate.rb +++ b/lib/xero-ruby/models/payroll_nz/earnings_rate.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/earnings_rate_object.rb b/lib/xero-ruby/models/payroll_nz/earnings_rate_object.rb index 2223b599..d38799d7 100644 --- a/lib/xero-ruby/models/payroll_nz/earnings_rate_object.rb +++ b/lib/xero-ruby/models/payroll_nz/earnings_rate_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/earnings_rates.rb b/lib/xero-ruby/models/payroll_nz/earnings_rates.rb index 18e528b7..7c22ba4f 100644 --- a/lib/xero-ruby/models/payroll_nz/earnings_rates.rb +++ b/lib/xero-ruby/models/payroll_nz/earnings_rates.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/earnings_template.rb b/lib/xero-ruby/models/payroll_nz/earnings_template.rb index 2e22ac68..a0711282 100644 --- a/lib/xero-ruby/models/payroll_nz/earnings_template.rb +++ b/lib/xero-ruby/models/payroll_nz/earnings_template.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/earnings_template_object.rb b/lib/xero-ruby/models/payroll_nz/earnings_template_object.rb index 38cb20ba..d6c4eda1 100644 --- a/lib/xero-ruby/models/payroll_nz/earnings_template_object.rb +++ b/lib/xero-ruby/models/payroll_nz/earnings_template_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employee.rb b/lib/xero-ruby/models/payroll_nz/employee.rb index 9b9cbb31..fbd52207 100644 --- a/lib/xero-ruby/models/payroll_nz/employee.rb +++ b/lib/xero-ruby/models/payroll_nz/employee.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employee_earnings_templates.rb b/lib/xero-ruby/models/payroll_nz/employee_earnings_templates.rb index ab9d2d8b..cb369996 100644 --- a/lib/xero-ruby/models/payroll_nz/employee_earnings_templates.rb +++ b/lib/xero-ruby/models/payroll_nz/employee_earnings_templates.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employee_leave.rb b/lib/xero-ruby/models/payroll_nz/employee_leave.rb index c0405131..fcce613e 100644 --- a/lib/xero-ruby/models/payroll_nz/employee_leave.rb +++ b/lib/xero-ruby/models/payroll_nz/employee_leave.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employee_leave_balance.rb b/lib/xero-ruby/models/payroll_nz/employee_leave_balance.rb index 2931d42b..0f59444e 100644 --- a/lib/xero-ruby/models/payroll_nz/employee_leave_balance.rb +++ b/lib/xero-ruby/models/payroll_nz/employee_leave_balance.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employee_leave_balances.rb b/lib/xero-ruby/models/payroll_nz/employee_leave_balances.rb index 9650990d..783b9c40 100644 --- a/lib/xero-ruby/models/payroll_nz/employee_leave_balances.rb +++ b/lib/xero-ruby/models/payroll_nz/employee_leave_balances.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employee_leave_object.rb b/lib/xero-ruby/models/payroll_nz/employee_leave_object.rb index ce3192b9..45b9f5c4 100644 --- a/lib/xero-ruby/models/payroll_nz/employee_leave_object.rb +++ b/lib/xero-ruby/models/payroll_nz/employee_leave_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employee_leave_setup.rb b/lib/xero-ruby/models/payroll_nz/employee_leave_setup.rb index 6def3fef..c3169185 100644 --- a/lib/xero-ruby/models/payroll_nz/employee_leave_setup.rb +++ b/lib/xero-ruby/models/payroll_nz/employee_leave_setup.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employee_leave_setup_object.rb b/lib/xero-ruby/models/payroll_nz/employee_leave_setup_object.rb index 3563cc87..aa03c203 100644 --- a/lib/xero-ruby/models/payroll_nz/employee_leave_setup_object.rb +++ b/lib/xero-ruby/models/payroll_nz/employee_leave_setup_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employee_leave_type.rb b/lib/xero-ruby/models/payroll_nz/employee_leave_type.rb index 8c855de8..21c1e550 100644 --- a/lib/xero-ruby/models/payroll_nz/employee_leave_type.rb +++ b/lib/xero-ruby/models/payroll_nz/employee_leave_type.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employee_leave_type_object.rb b/lib/xero-ruby/models/payroll_nz/employee_leave_type_object.rb index cb4f3bc7..d4df4746 100644 --- a/lib/xero-ruby/models/payroll_nz/employee_leave_type_object.rb +++ b/lib/xero-ruby/models/payroll_nz/employee_leave_type_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employee_leave_types.rb b/lib/xero-ruby/models/payroll_nz/employee_leave_types.rb index bfd3892f..e6b97572 100644 --- a/lib/xero-ruby/models/payroll_nz/employee_leave_types.rb +++ b/lib/xero-ruby/models/payroll_nz/employee_leave_types.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employee_leaves.rb b/lib/xero-ruby/models/payroll_nz/employee_leaves.rb index 8dc9b0ba..24407eff 100644 --- a/lib/xero-ruby/models/payroll_nz/employee_leaves.rb +++ b/lib/xero-ruby/models/payroll_nz/employee_leaves.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employee_object.rb b/lib/xero-ruby/models/payroll_nz/employee_object.rb index e0d19948..ec72cd7c 100644 --- a/lib/xero-ruby/models/payroll_nz/employee_object.rb +++ b/lib/xero-ruby/models/payroll_nz/employee_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employee_opening_balance.rb b/lib/xero-ruby/models/payroll_nz/employee_opening_balance.rb index 2888c1c1..0355e116 100644 --- a/lib/xero-ruby/models/payroll_nz/employee_opening_balance.rb +++ b/lib/xero-ruby/models/payroll_nz/employee_opening_balance.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employee_opening_balances_object.rb b/lib/xero-ruby/models/payroll_nz/employee_opening_balances_object.rb index e3f33fdb..2c80b273 100644 --- a/lib/xero-ruby/models/payroll_nz/employee_opening_balances_object.rb +++ b/lib/xero-ruby/models/payroll_nz/employee_opening_balances_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employee_pay_template.rb b/lib/xero-ruby/models/payroll_nz/employee_pay_template.rb index 4d4ef6b8..2322e43d 100644 --- a/lib/xero-ruby/models/payroll_nz/employee_pay_template.rb +++ b/lib/xero-ruby/models/payroll_nz/employee_pay_template.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employee_pay_template_object.rb b/lib/xero-ruby/models/payroll_nz/employee_pay_template_object.rb index ac9e440f..f762983f 100644 --- a/lib/xero-ruby/models/payroll_nz/employee_pay_template_object.rb +++ b/lib/xero-ruby/models/payroll_nz/employee_pay_template_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employee_pay_templates.rb b/lib/xero-ruby/models/payroll_nz/employee_pay_templates.rb index de7a5d4b..1872f375 100644 --- a/lib/xero-ruby/models/payroll_nz/employee_pay_templates.rb +++ b/lib/xero-ruby/models/payroll_nz/employee_pay_templates.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employee_statutory_leave_balance.rb b/lib/xero-ruby/models/payroll_nz/employee_statutory_leave_balance.rb index 5b3c011a..8f971c8f 100644 --- a/lib/xero-ruby/models/payroll_nz/employee_statutory_leave_balance.rb +++ b/lib/xero-ruby/models/payroll_nz/employee_statutory_leave_balance.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employee_statutory_leave_balance_object.rb b/lib/xero-ruby/models/payroll_nz/employee_statutory_leave_balance_object.rb index 95fdb059..9011e615 100644 --- a/lib/xero-ruby/models/payroll_nz/employee_statutory_leave_balance_object.rb +++ b/lib/xero-ruby/models/payroll_nz/employee_statutory_leave_balance_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employee_statutory_leave_summary.rb b/lib/xero-ruby/models/payroll_nz/employee_statutory_leave_summary.rb index c23275e1..7b3f9340 100644 --- a/lib/xero-ruby/models/payroll_nz/employee_statutory_leave_summary.rb +++ b/lib/xero-ruby/models/payroll_nz/employee_statutory_leave_summary.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employee_statutory_leaves_summaries.rb b/lib/xero-ruby/models/payroll_nz/employee_statutory_leaves_summaries.rb index b12aa73b..7fc755d3 100644 --- a/lib/xero-ruby/models/payroll_nz/employee_statutory_leaves_summaries.rb +++ b/lib/xero-ruby/models/payroll_nz/employee_statutory_leaves_summaries.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employee_statutory_sick_leave.rb b/lib/xero-ruby/models/payroll_nz/employee_statutory_sick_leave.rb index 8d742b0d..4c3c53e4 100644 --- a/lib/xero-ruby/models/payroll_nz/employee_statutory_sick_leave.rb +++ b/lib/xero-ruby/models/payroll_nz/employee_statutory_sick_leave.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employee_statutory_sick_leave_object.rb b/lib/xero-ruby/models/payroll_nz/employee_statutory_sick_leave_object.rb index eb0b8072..5fb9c456 100644 --- a/lib/xero-ruby/models/payroll_nz/employee_statutory_sick_leave_object.rb +++ b/lib/xero-ruby/models/payroll_nz/employee_statutory_sick_leave_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employee_statutory_sick_leaves.rb b/lib/xero-ruby/models/payroll_nz/employee_statutory_sick_leaves.rb index 762a6d24..40f79f80 100644 --- a/lib/xero-ruby/models/payroll_nz/employee_statutory_sick_leaves.rb +++ b/lib/xero-ruby/models/payroll_nz/employee_statutory_sick_leaves.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employee_tax.rb b/lib/xero-ruby/models/payroll_nz/employee_tax.rb index 1ea383cc..cca43e6d 100644 --- a/lib/xero-ruby/models/payroll_nz/employee_tax.rb +++ b/lib/xero-ruby/models/payroll_nz/employee_tax.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employee_tax_object.rb b/lib/xero-ruby/models/payroll_nz/employee_tax_object.rb index 9c146c8b..f106bb22 100644 --- a/lib/xero-ruby/models/payroll_nz/employee_tax_object.rb +++ b/lib/xero-ruby/models/payroll_nz/employee_tax_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employees.rb b/lib/xero-ruby/models/payroll_nz/employees.rb index a00e47d9..e8edab1c 100644 --- a/lib/xero-ruby/models/payroll_nz/employees.rb +++ b/lib/xero-ruby/models/payroll_nz/employees.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employment.rb b/lib/xero-ruby/models/payroll_nz/employment.rb index b5e2dc3e..3a0499ce 100644 --- a/lib/xero-ruby/models/payroll_nz/employment.rb +++ b/lib/xero-ruby/models/payroll_nz/employment.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/employment_object.rb b/lib/xero-ruby/models/payroll_nz/employment_object.rb index de0a5f79..cd8e59d6 100644 --- a/lib/xero-ruby/models/payroll_nz/employment_object.rb +++ b/lib/xero-ruby/models/payroll_nz/employment_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/gross_earnings_history.rb b/lib/xero-ruby/models/payroll_nz/gross_earnings_history.rb index 06639f9e..ee536247 100644 --- a/lib/xero-ruby/models/payroll_nz/gross_earnings_history.rb +++ b/lib/xero-ruby/models/payroll_nz/gross_earnings_history.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/invalid_field.rb b/lib/xero-ruby/models/payroll_nz/invalid_field.rb index 4904375b..238dc6ed 100644 --- a/lib/xero-ruby/models/payroll_nz/invalid_field.rb +++ b/lib/xero-ruby/models/payroll_nz/invalid_field.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/leave_accrual_line.rb b/lib/xero-ruby/models/payroll_nz/leave_accrual_line.rb index 13685c12..aafc494c 100644 --- a/lib/xero-ruby/models/payroll_nz/leave_accrual_line.rb +++ b/lib/xero-ruby/models/payroll_nz/leave_accrual_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/leave_earnings_line.rb b/lib/xero-ruby/models/payroll_nz/leave_earnings_line.rb index a1fda4fe..d6ce19ee 100644 --- a/lib/xero-ruby/models/payroll_nz/leave_earnings_line.rb +++ b/lib/xero-ruby/models/payroll_nz/leave_earnings_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/leave_period.rb b/lib/xero-ruby/models/payroll_nz/leave_period.rb index cafe58bf..f4232a5e 100644 --- a/lib/xero-ruby/models/payroll_nz/leave_period.rb +++ b/lib/xero-ruby/models/payroll_nz/leave_period.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/leave_periods.rb b/lib/xero-ruby/models/payroll_nz/leave_periods.rb index 08ad2f3e..c30a0abe 100644 --- a/lib/xero-ruby/models/payroll_nz/leave_periods.rb +++ b/lib/xero-ruby/models/payroll_nz/leave_periods.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/leave_type.rb b/lib/xero-ruby/models/payroll_nz/leave_type.rb index 0aced0ec..00d2db6e 100644 --- a/lib/xero-ruby/models/payroll_nz/leave_type.rb +++ b/lib/xero-ruby/models/payroll_nz/leave_type.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/leave_type_object.rb b/lib/xero-ruby/models/payroll_nz/leave_type_object.rb index 42f97682..0ced54ac 100644 --- a/lib/xero-ruby/models/payroll_nz/leave_type_object.rb +++ b/lib/xero-ruby/models/payroll_nz/leave_type_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/leave_types.rb b/lib/xero-ruby/models/payroll_nz/leave_types.rb index 6ec7844d..8a2931b1 100644 --- a/lib/xero-ruby/models/payroll_nz/leave_types.rb +++ b/lib/xero-ruby/models/payroll_nz/leave_types.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/pagination.rb b/lib/xero-ruby/models/payroll_nz/pagination.rb index f487a884..1ed3602a 100644 --- a/lib/xero-ruby/models/payroll_nz/pagination.rb +++ b/lib/xero-ruby/models/payroll_nz/pagination.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/pay_run.rb b/lib/xero-ruby/models/payroll_nz/pay_run.rb index ed479fcb..f8f41cb8 100644 --- a/lib/xero-ruby/models/payroll_nz/pay_run.rb +++ b/lib/xero-ruby/models/payroll_nz/pay_run.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/pay_run_calendar.rb b/lib/xero-ruby/models/payroll_nz/pay_run_calendar.rb index 8b94026a..6992d399 100644 --- a/lib/xero-ruby/models/payroll_nz/pay_run_calendar.rb +++ b/lib/xero-ruby/models/payroll_nz/pay_run_calendar.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/pay_run_calendar_object.rb b/lib/xero-ruby/models/payroll_nz/pay_run_calendar_object.rb index 468ca423..99d33f8c 100644 --- a/lib/xero-ruby/models/payroll_nz/pay_run_calendar_object.rb +++ b/lib/xero-ruby/models/payroll_nz/pay_run_calendar_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/pay_run_calendars.rb b/lib/xero-ruby/models/payroll_nz/pay_run_calendars.rb index 30e6cda8..a2e7abf5 100644 --- a/lib/xero-ruby/models/payroll_nz/pay_run_calendars.rb +++ b/lib/xero-ruby/models/payroll_nz/pay_run_calendars.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/pay_run_object.rb b/lib/xero-ruby/models/payroll_nz/pay_run_object.rb index f8f93d1d..0210e367 100644 --- a/lib/xero-ruby/models/payroll_nz/pay_run_object.rb +++ b/lib/xero-ruby/models/payroll_nz/pay_run_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/pay_runs.rb b/lib/xero-ruby/models/payroll_nz/pay_runs.rb index 6bc29b7b..32a069a9 100644 --- a/lib/xero-ruby/models/payroll_nz/pay_runs.rb +++ b/lib/xero-ruby/models/payroll_nz/pay_runs.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/pay_slip.rb b/lib/xero-ruby/models/payroll_nz/pay_slip.rb index 6cc71783..06db5971 100644 --- a/lib/xero-ruby/models/payroll_nz/pay_slip.rb +++ b/lib/xero-ruby/models/payroll_nz/pay_slip.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/pay_slip_object.rb b/lib/xero-ruby/models/payroll_nz/pay_slip_object.rb index dd5c415e..d3ee9a59 100644 --- a/lib/xero-ruby/models/payroll_nz/pay_slip_object.rb +++ b/lib/xero-ruby/models/payroll_nz/pay_slip_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/pay_slips.rb b/lib/xero-ruby/models/payroll_nz/pay_slips.rb index 29d8f215..d3c31b6c 100644 --- a/lib/xero-ruby/models/payroll_nz/pay_slips.rb +++ b/lib/xero-ruby/models/payroll_nz/pay_slips.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/payment_line.rb b/lib/xero-ruby/models/payroll_nz/payment_line.rb index 9802227c..c2974705 100644 --- a/lib/xero-ruby/models/payroll_nz/payment_line.rb +++ b/lib/xero-ruby/models/payroll_nz/payment_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/payment_method.rb b/lib/xero-ruby/models/payroll_nz/payment_method.rb index 9ed8d795..cc8cf86b 100644 --- a/lib/xero-ruby/models/payroll_nz/payment_method.rb +++ b/lib/xero-ruby/models/payroll_nz/payment_method.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/payment_method_object.rb b/lib/xero-ruby/models/payroll_nz/payment_method_object.rb index a74c2a09..3e117200 100644 --- a/lib/xero-ruby/models/payroll_nz/payment_method_object.rb +++ b/lib/xero-ruby/models/payroll_nz/payment_method_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/problem.rb b/lib/xero-ruby/models/payroll_nz/problem.rb index 9581dce0..07699927 100644 --- a/lib/xero-ruby/models/payroll_nz/problem.rb +++ b/lib/xero-ruby/models/payroll_nz/problem.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/reimbursement.rb b/lib/xero-ruby/models/payroll_nz/reimbursement.rb index 7e7a02b4..2dea8818 100644 --- a/lib/xero-ruby/models/payroll_nz/reimbursement.rb +++ b/lib/xero-ruby/models/payroll_nz/reimbursement.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/reimbursement_line.rb b/lib/xero-ruby/models/payroll_nz/reimbursement_line.rb index 498d92f9..159cb612 100644 --- a/lib/xero-ruby/models/payroll_nz/reimbursement_line.rb +++ b/lib/xero-ruby/models/payroll_nz/reimbursement_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/reimbursement_object.rb b/lib/xero-ruby/models/payroll_nz/reimbursement_object.rb index ede0d716..d23c3791 100644 --- a/lib/xero-ruby/models/payroll_nz/reimbursement_object.rb +++ b/lib/xero-ruby/models/payroll_nz/reimbursement_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/reimbursements.rb b/lib/xero-ruby/models/payroll_nz/reimbursements.rb index 7735a0ce..7c79e80d 100644 --- a/lib/xero-ruby/models/payroll_nz/reimbursements.rb +++ b/lib/xero-ruby/models/payroll_nz/reimbursements.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/salary_and_wage.rb b/lib/xero-ruby/models/payroll_nz/salary_and_wage.rb index cc2ee58a..da2f3866 100644 --- a/lib/xero-ruby/models/payroll_nz/salary_and_wage.rb +++ b/lib/xero-ruby/models/payroll_nz/salary_and_wage.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 @@ -97,7 +97,7 @@ def self.openapi_types :'number_of_units_per_week' => :'BigDecimal', :'rate_per_unit' => :'BigDecimal', :'number_of_units_per_day' => :'BigDecimal', - :'days_per_week' => :'Integer', + :'days_per_week' => :'BigDecimal', :'effective_from' => :'Date', :'annual_salary' => :'BigDecimal', :'status' => :'String', diff --git a/lib/xero-ruby/models/payroll_nz/salary_and_wage_object.rb b/lib/xero-ruby/models/payroll_nz/salary_and_wage_object.rb index baabe82b..ac4931f2 100644 --- a/lib/xero-ruby/models/payroll_nz/salary_and_wage_object.rb +++ b/lib/xero-ruby/models/payroll_nz/salary_and_wage_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/salary_and_wages.rb b/lib/xero-ruby/models/payroll_nz/salary_and_wages.rb index 7a232968..71917e68 100644 --- a/lib/xero-ruby/models/payroll_nz/salary_and_wages.rb +++ b/lib/xero-ruby/models/payroll_nz/salary_and_wages.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/settings.rb b/lib/xero-ruby/models/payroll_nz/settings.rb index d3e5109c..3fa08b5d 100644 --- a/lib/xero-ruby/models/payroll_nz/settings.rb +++ b/lib/xero-ruby/models/payroll_nz/settings.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/statutory_deduction.rb b/lib/xero-ruby/models/payroll_nz/statutory_deduction.rb index c9f4a7a0..a7550b26 100644 --- a/lib/xero-ruby/models/payroll_nz/statutory_deduction.rb +++ b/lib/xero-ruby/models/payroll_nz/statutory_deduction.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/statutory_deduction_category.rb b/lib/xero-ruby/models/payroll_nz/statutory_deduction_category.rb index b212c31a..23c4daf3 100644 --- a/lib/xero-ruby/models/payroll_nz/statutory_deduction_category.rb +++ b/lib/xero-ruby/models/payroll_nz/statutory_deduction_category.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/statutory_deduction_line.rb b/lib/xero-ruby/models/payroll_nz/statutory_deduction_line.rb index 970e35ad..626c3853 100644 --- a/lib/xero-ruby/models/payroll_nz/statutory_deduction_line.rb +++ b/lib/xero-ruby/models/payroll_nz/statutory_deduction_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/statutory_deduction_object.rb b/lib/xero-ruby/models/payroll_nz/statutory_deduction_object.rb index 316fe2ad..927636a7 100644 --- a/lib/xero-ruby/models/payroll_nz/statutory_deduction_object.rb +++ b/lib/xero-ruby/models/payroll_nz/statutory_deduction_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/statutory_deductions.rb b/lib/xero-ruby/models/payroll_nz/statutory_deductions.rb index 21d4a2ea..4052477d 100644 --- a/lib/xero-ruby/models/payroll_nz/statutory_deductions.rb +++ b/lib/xero-ruby/models/payroll_nz/statutory_deductions.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/superannuation_line.rb b/lib/xero-ruby/models/payroll_nz/superannuation_line.rb index 74922675..57d3798f 100644 --- a/lib/xero-ruby/models/payroll_nz/superannuation_line.rb +++ b/lib/xero-ruby/models/payroll_nz/superannuation_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/superannuation_object.rb b/lib/xero-ruby/models/payroll_nz/superannuation_object.rb index d59bf964..0f5dae1e 100644 --- a/lib/xero-ruby/models/payroll_nz/superannuation_object.rb +++ b/lib/xero-ruby/models/payroll_nz/superannuation_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/superannuations.rb b/lib/xero-ruby/models/payroll_nz/superannuations.rb index e862b1dd..459917b9 100644 --- a/lib/xero-ruby/models/payroll_nz/superannuations.rb +++ b/lib/xero-ruby/models/payroll_nz/superannuations.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/tax_code.rb b/lib/xero-ruby/models/payroll_nz/tax_code.rb index 444bf776..856f7577 100644 --- a/lib/xero-ruby/models/payroll_nz/tax_code.rb +++ b/lib/xero-ruby/models/payroll_nz/tax_code.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/tax_line.rb b/lib/xero-ruby/models/payroll_nz/tax_line.rb index cdf84581..e7faaafc 100644 --- a/lib/xero-ruby/models/payroll_nz/tax_line.rb +++ b/lib/xero-ruby/models/payroll_nz/tax_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/tax_settings.rb b/lib/xero-ruby/models/payroll_nz/tax_settings.rb index 2d149f60..08c31d9e 100644 --- a/lib/xero-ruby/models/payroll_nz/tax_settings.rb +++ b/lib/xero-ruby/models/payroll_nz/tax_settings.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/timesheet.rb b/lib/xero-ruby/models/payroll_nz/timesheet.rb index 8aade70f..68aa2a83 100644 --- a/lib/xero-ruby/models/payroll_nz/timesheet.rb +++ b/lib/xero-ruby/models/payroll_nz/timesheet.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/timesheet_earnings_line.rb b/lib/xero-ruby/models/payroll_nz/timesheet_earnings_line.rb index d1b0e30c..c4cef248 100644 --- a/lib/xero-ruby/models/payroll_nz/timesheet_earnings_line.rb +++ b/lib/xero-ruby/models/payroll_nz/timesheet_earnings_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/timesheet_line.rb b/lib/xero-ruby/models/payroll_nz/timesheet_line.rb index 8cc30f28..bb1a159c 100644 --- a/lib/xero-ruby/models/payroll_nz/timesheet_line.rb +++ b/lib/xero-ruby/models/payroll_nz/timesheet_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/timesheet_line_object.rb b/lib/xero-ruby/models/payroll_nz/timesheet_line_object.rb index 962da675..7eabed26 100644 --- a/lib/xero-ruby/models/payroll_nz/timesheet_line_object.rb +++ b/lib/xero-ruby/models/payroll_nz/timesheet_line_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/timesheet_object.rb b/lib/xero-ruby/models/payroll_nz/timesheet_object.rb index d2a016ad..600bc7f3 100644 --- a/lib/xero-ruby/models/payroll_nz/timesheet_object.rb +++ b/lib/xero-ruby/models/payroll_nz/timesheet_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/timesheets.rb b/lib/xero-ruby/models/payroll_nz/timesheets.rb index ece57cb4..2cd110db 100644 --- a/lib/xero-ruby/models/payroll_nz/timesheets.rb +++ b/lib/xero-ruby/models/payroll_nz/timesheets.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/tracking_categories.rb b/lib/xero-ruby/models/payroll_nz/tracking_categories.rb index 8235a414..55b0ee33 100644 --- a/lib/xero-ruby/models/payroll_nz/tracking_categories.rb +++ b/lib/xero-ruby/models/payroll_nz/tracking_categories.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_nz/tracking_category.rb b/lib/xero-ruby/models/payroll_nz/tracking_category.rb index 5e8eee5e..86a7f419 100644 --- a/lib/xero-ruby/models/payroll_nz/tracking_category.rb +++ b/lib/xero-ruby/models/payroll_nz/tracking_category.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the NZ region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/account.rb b/lib/xero-ruby/models/payroll_uk/account.rb index af85c0b5..30f92b95 100644 --- a/lib/xero-ruby/models/payroll_uk/account.rb +++ b/lib/xero-ruby/models/payroll_uk/account.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/accounts.rb b/lib/xero-ruby/models/payroll_uk/accounts.rb index db51c1ec..bd8aa8cc 100644 --- a/lib/xero-ruby/models/payroll_uk/accounts.rb +++ b/lib/xero-ruby/models/payroll_uk/accounts.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/address.rb b/lib/xero-ruby/models/payroll_uk/address.rb index a84a7b86..ef039abd 100644 --- a/lib/xero-ruby/models/payroll_uk/address.rb +++ b/lib/xero-ruby/models/payroll_uk/address.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/bank_account.rb b/lib/xero-ruby/models/payroll_uk/bank_account.rb index 4c9eeba8..ca21c25f 100644 --- a/lib/xero-ruby/models/payroll_uk/bank_account.rb +++ b/lib/xero-ruby/models/payroll_uk/bank_account.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/benefit.rb b/lib/xero-ruby/models/payroll_uk/benefit.rb index 575fa057..d3b83ad3 100644 --- a/lib/xero-ruby/models/payroll_uk/benefit.rb +++ b/lib/xero-ruby/models/payroll_uk/benefit.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/benefit_line.rb b/lib/xero-ruby/models/payroll_uk/benefit_line.rb index 08871e15..f971d4a3 100644 --- a/lib/xero-ruby/models/payroll_uk/benefit_line.rb +++ b/lib/xero-ruby/models/payroll_uk/benefit_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/benefit_object.rb b/lib/xero-ruby/models/payroll_uk/benefit_object.rb index 6ba1c4a7..b388a2bb 100644 --- a/lib/xero-ruby/models/payroll_uk/benefit_object.rb +++ b/lib/xero-ruby/models/payroll_uk/benefit_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/benefits.rb b/lib/xero-ruby/models/payroll_uk/benefits.rb index 9601d3f9..690b9042 100644 --- a/lib/xero-ruby/models/payroll_uk/benefits.rb +++ b/lib/xero-ruby/models/payroll_uk/benefits.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/court_order_line.rb b/lib/xero-ruby/models/payroll_uk/court_order_line.rb index 94e1ba9d..b0a3bbd6 100644 --- a/lib/xero-ruby/models/payroll_uk/court_order_line.rb +++ b/lib/xero-ruby/models/payroll_uk/court_order_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/deduction.rb b/lib/xero-ruby/models/payroll_uk/deduction.rb index c48d7594..6d9f63cc 100644 --- a/lib/xero-ruby/models/payroll_uk/deduction.rb +++ b/lib/xero-ruby/models/payroll_uk/deduction.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/deduction_line.rb b/lib/xero-ruby/models/payroll_uk/deduction_line.rb index 041f1906..26442e14 100644 --- a/lib/xero-ruby/models/payroll_uk/deduction_line.rb +++ b/lib/xero-ruby/models/payroll_uk/deduction_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/deduction_object.rb b/lib/xero-ruby/models/payroll_uk/deduction_object.rb index 0c5c5198..98119c4a 100644 --- a/lib/xero-ruby/models/payroll_uk/deduction_object.rb +++ b/lib/xero-ruby/models/payroll_uk/deduction_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/deductions.rb b/lib/xero-ruby/models/payroll_uk/deductions.rb index 14f287c1..d008a7c0 100644 --- a/lib/xero-ruby/models/payroll_uk/deductions.rb +++ b/lib/xero-ruby/models/payroll_uk/deductions.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/earnings_line.rb b/lib/xero-ruby/models/payroll_uk/earnings_line.rb index 2c2370f8..60b37ca5 100644 --- a/lib/xero-ruby/models/payroll_uk/earnings_line.rb +++ b/lib/xero-ruby/models/payroll_uk/earnings_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/earnings_order.rb b/lib/xero-ruby/models/payroll_uk/earnings_order.rb index 7123fb1f..1b4fcefa 100644 --- a/lib/xero-ruby/models/payroll_uk/earnings_order.rb +++ b/lib/xero-ruby/models/payroll_uk/earnings_order.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/earnings_order_object.rb b/lib/xero-ruby/models/payroll_uk/earnings_order_object.rb index 20b71009..a79360de 100644 --- a/lib/xero-ruby/models/payroll_uk/earnings_order_object.rb +++ b/lib/xero-ruby/models/payroll_uk/earnings_order_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/earnings_orders.rb b/lib/xero-ruby/models/payroll_uk/earnings_orders.rb index b13c6f52..df345992 100644 --- a/lib/xero-ruby/models/payroll_uk/earnings_orders.rb +++ b/lib/xero-ruby/models/payroll_uk/earnings_orders.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/earnings_rate.rb b/lib/xero-ruby/models/payroll_uk/earnings_rate.rb index 4b3ae6c6..ea3e4ae3 100644 --- a/lib/xero-ruby/models/payroll_uk/earnings_rate.rb +++ b/lib/xero-ruby/models/payroll_uk/earnings_rate.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/earnings_rate_object.rb b/lib/xero-ruby/models/payroll_uk/earnings_rate_object.rb index f7b9b154..8b8a3823 100644 --- a/lib/xero-ruby/models/payroll_uk/earnings_rate_object.rb +++ b/lib/xero-ruby/models/payroll_uk/earnings_rate_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/earnings_rates.rb b/lib/xero-ruby/models/payroll_uk/earnings_rates.rb index 78e2f752..94ad9b4f 100644 --- a/lib/xero-ruby/models/payroll_uk/earnings_rates.rb +++ b/lib/xero-ruby/models/payroll_uk/earnings_rates.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/earnings_template.rb b/lib/xero-ruby/models/payroll_uk/earnings_template.rb index 5b356b77..190fc123 100644 --- a/lib/xero-ruby/models/payroll_uk/earnings_template.rb +++ b/lib/xero-ruby/models/payroll_uk/earnings_template.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/earnings_template_object.rb b/lib/xero-ruby/models/payroll_uk/earnings_template_object.rb index 8472e1ff..951cac58 100644 --- a/lib/xero-ruby/models/payroll_uk/earnings_template_object.rb +++ b/lib/xero-ruby/models/payroll_uk/earnings_template_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/employee.rb b/lib/xero-ruby/models/payroll_uk/employee.rb index 13660b1c..93e0b501 100644 --- a/lib/xero-ruby/models/payroll_uk/employee.rb +++ b/lib/xero-ruby/models/payroll_uk/employee.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/employee_leave.rb b/lib/xero-ruby/models/payroll_uk/employee_leave.rb index 8a7c738b..54b6340c 100644 --- a/lib/xero-ruby/models/payroll_uk/employee_leave.rb +++ b/lib/xero-ruby/models/payroll_uk/employee_leave.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/employee_leave_balance.rb b/lib/xero-ruby/models/payroll_uk/employee_leave_balance.rb index bdd14922..749918d9 100644 --- a/lib/xero-ruby/models/payroll_uk/employee_leave_balance.rb +++ b/lib/xero-ruby/models/payroll_uk/employee_leave_balance.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/employee_leave_balances.rb b/lib/xero-ruby/models/payroll_uk/employee_leave_balances.rb index 1816ac3e..fe27b54a 100644 --- a/lib/xero-ruby/models/payroll_uk/employee_leave_balances.rb +++ b/lib/xero-ruby/models/payroll_uk/employee_leave_balances.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/employee_leave_object.rb b/lib/xero-ruby/models/payroll_uk/employee_leave_object.rb index 5e000342..f0540e17 100644 --- a/lib/xero-ruby/models/payroll_uk/employee_leave_object.rb +++ b/lib/xero-ruby/models/payroll_uk/employee_leave_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/employee_leave_type.rb b/lib/xero-ruby/models/payroll_uk/employee_leave_type.rb index d6c946ff..96754f71 100644 --- a/lib/xero-ruby/models/payroll_uk/employee_leave_type.rb +++ b/lib/xero-ruby/models/payroll_uk/employee_leave_type.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/employee_leave_type_object.rb b/lib/xero-ruby/models/payroll_uk/employee_leave_type_object.rb index aa961830..f4443547 100644 --- a/lib/xero-ruby/models/payroll_uk/employee_leave_type_object.rb +++ b/lib/xero-ruby/models/payroll_uk/employee_leave_type_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/employee_leave_types.rb b/lib/xero-ruby/models/payroll_uk/employee_leave_types.rb index ae456776..6f9a3c25 100644 --- a/lib/xero-ruby/models/payroll_uk/employee_leave_types.rb +++ b/lib/xero-ruby/models/payroll_uk/employee_leave_types.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/employee_leaves.rb b/lib/xero-ruby/models/payroll_uk/employee_leaves.rb index 07888e95..e42c90bc 100644 --- a/lib/xero-ruby/models/payroll_uk/employee_leaves.rb +++ b/lib/xero-ruby/models/payroll_uk/employee_leaves.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/employee_object.rb b/lib/xero-ruby/models/payroll_uk/employee_object.rb index 4c38d323..3a1784a6 100644 --- a/lib/xero-ruby/models/payroll_uk/employee_object.rb +++ b/lib/xero-ruby/models/payroll_uk/employee_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/employee_opening_balances.rb b/lib/xero-ruby/models/payroll_uk/employee_opening_balances.rb index d8fc5dad..7d1af0e0 100644 --- a/lib/xero-ruby/models/payroll_uk/employee_opening_balances.rb +++ b/lib/xero-ruby/models/payroll_uk/employee_opening_balances.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/employee_opening_balances_object.rb b/lib/xero-ruby/models/payroll_uk/employee_opening_balances_object.rb index b52d86b1..c4f38867 100644 --- a/lib/xero-ruby/models/payroll_uk/employee_opening_balances_object.rb +++ b/lib/xero-ruby/models/payroll_uk/employee_opening_balances_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/employee_pay_template.rb b/lib/xero-ruby/models/payroll_uk/employee_pay_template.rb index 5e59fe48..296df180 100644 --- a/lib/xero-ruby/models/payroll_uk/employee_pay_template.rb +++ b/lib/xero-ruby/models/payroll_uk/employee_pay_template.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/employee_pay_template_object.rb b/lib/xero-ruby/models/payroll_uk/employee_pay_template_object.rb index 795d7200..9a03c2f3 100644 --- a/lib/xero-ruby/models/payroll_uk/employee_pay_template_object.rb +++ b/lib/xero-ruby/models/payroll_uk/employee_pay_template_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/employee_pay_templates.rb b/lib/xero-ruby/models/payroll_uk/employee_pay_templates.rb index 379fb185..0a4cd2c8 100644 --- a/lib/xero-ruby/models/payroll_uk/employee_pay_templates.rb +++ b/lib/xero-ruby/models/payroll_uk/employee_pay_templates.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/employee_statutory_leave_balance.rb b/lib/xero-ruby/models/payroll_uk/employee_statutory_leave_balance.rb index cb92fcdb..957da290 100644 --- a/lib/xero-ruby/models/payroll_uk/employee_statutory_leave_balance.rb +++ b/lib/xero-ruby/models/payroll_uk/employee_statutory_leave_balance.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/employee_statutory_leave_balance_object.rb b/lib/xero-ruby/models/payroll_uk/employee_statutory_leave_balance_object.rb index 33e7cd41..15296df3 100644 --- a/lib/xero-ruby/models/payroll_uk/employee_statutory_leave_balance_object.rb +++ b/lib/xero-ruby/models/payroll_uk/employee_statutory_leave_balance_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/employee_statutory_leave_summary.rb b/lib/xero-ruby/models/payroll_uk/employee_statutory_leave_summary.rb index 568430b4..ee65590f 100644 --- a/lib/xero-ruby/models/payroll_uk/employee_statutory_leave_summary.rb +++ b/lib/xero-ruby/models/payroll_uk/employee_statutory_leave_summary.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/employee_statutory_leaves_summaries.rb b/lib/xero-ruby/models/payroll_uk/employee_statutory_leaves_summaries.rb index fea156e6..6e46d5ec 100644 --- a/lib/xero-ruby/models/payroll_uk/employee_statutory_leaves_summaries.rb +++ b/lib/xero-ruby/models/payroll_uk/employee_statutory_leaves_summaries.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/employee_statutory_sick_leave.rb b/lib/xero-ruby/models/payroll_uk/employee_statutory_sick_leave.rb index ca43f290..172548ca 100644 --- a/lib/xero-ruby/models/payroll_uk/employee_statutory_sick_leave.rb +++ b/lib/xero-ruby/models/payroll_uk/employee_statutory_sick_leave.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/employee_statutory_sick_leave_object.rb b/lib/xero-ruby/models/payroll_uk/employee_statutory_sick_leave_object.rb index 1c5de742..7db09b62 100644 --- a/lib/xero-ruby/models/payroll_uk/employee_statutory_sick_leave_object.rb +++ b/lib/xero-ruby/models/payroll_uk/employee_statutory_sick_leave_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/employee_statutory_sick_leaves.rb b/lib/xero-ruby/models/payroll_uk/employee_statutory_sick_leaves.rb index 3ba3b02a..22925aba 100644 --- a/lib/xero-ruby/models/payroll_uk/employee_statutory_sick_leaves.rb +++ b/lib/xero-ruby/models/payroll_uk/employee_statutory_sick_leaves.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/employee_tax.rb b/lib/xero-ruby/models/payroll_uk/employee_tax.rb index 8e54d792..d1866ca2 100644 --- a/lib/xero-ruby/models/payroll_uk/employee_tax.rb +++ b/lib/xero-ruby/models/payroll_uk/employee_tax.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/employee_tax_object.rb b/lib/xero-ruby/models/payroll_uk/employee_tax_object.rb index 311a67ac..681a1967 100644 --- a/lib/xero-ruby/models/payroll_uk/employee_tax_object.rb +++ b/lib/xero-ruby/models/payroll_uk/employee_tax_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/employees.rb b/lib/xero-ruby/models/payroll_uk/employees.rb index 042b2312..5c3c33cd 100644 --- a/lib/xero-ruby/models/payroll_uk/employees.rb +++ b/lib/xero-ruby/models/payroll_uk/employees.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/employment.rb b/lib/xero-ruby/models/payroll_uk/employment.rb index 7dfc6d36..31965998 100644 --- a/lib/xero-ruby/models/payroll_uk/employment.rb +++ b/lib/xero-ruby/models/payroll_uk/employment.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/employment_object.rb b/lib/xero-ruby/models/payroll_uk/employment_object.rb index 356ebe07..c8c38a4e 100644 --- a/lib/xero-ruby/models/payroll_uk/employment_object.rb +++ b/lib/xero-ruby/models/payroll_uk/employment_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/invalid_field.rb b/lib/xero-ruby/models/payroll_uk/invalid_field.rb index 3a15713b..0c942c84 100644 --- a/lib/xero-ruby/models/payroll_uk/invalid_field.rb +++ b/lib/xero-ruby/models/payroll_uk/invalid_field.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/leave_accrual_line.rb b/lib/xero-ruby/models/payroll_uk/leave_accrual_line.rb index 99893322..1a035bcd 100644 --- a/lib/xero-ruby/models/payroll_uk/leave_accrual_line.rb +++ b/lib/xero-ruby/models/payroll_uk/leave_accrual_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/leave_earnings_line.rb b/lib/xero-ruby/models/payroll_uk/leave_earnings_line.rb index a0028a22..d670fa97 100644 --- a/lib/xero-ruby/models/payroll_uk/leave_earnings_line.rb +++ b/lib/xero-ruby/models/payroll_uk/leave_earnings_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/leave_period.rb b/lib/xero-ruby/models/payroll_uk/leave_period.rb index 21aa867f..54ef6f5e 100644 --- a/lib/xero-ruby/models/payroll_uk/leave_period.rb +++ b/lib/xero-ruby/models/payroll_uk/leave_period.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/leave_periods.rb b/lib/xero-ruby/models/payroll_uk/leave_periods.rb index 0ef3f199..e8db05f9 100644 --- a/lib/xero-ruby/models/payroll_uk/leave_periods.rb +++ b/lib/xero-ruby/models/payroll_uk/leave_periods.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/leave_type.rb b/lib/xero-ruby/models/payroll_uk/leave_type.rb index be932050..310a6688 100644 --- a/lib/xero-ruby/models/payroll_uk/leave_type.rb +++ b/lib/xero-ruby/models/payroll_uk/leave_type.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/leave_type_object.rb b/lib/xero-ruby/models/payroll_uk/leave_type_object.rb index fbe483d9..58cce4f4 100644 --- a/lib/xero-ruby/models/payroll_uk/leave_type_object.rb +++ b/lib/xero-ruby/models/payroll_uk/leave_type_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/leave_types.rb b/lib/xero-ruby/models/payroll_uk/leave_types.rb index e5340c52..c695a5f1 100644 --- a/lib/xero-ruby/models/payroll_uk/leave_types.rb +++ b/lib/xero-ruby/models/payroll_uk/leave_types.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/pagination.rb b/lib/xero-ruby/models/payroll_uk/pagination.rb index 48740f5a..30f5a485 100644 --- a/lib/xero-ruby/models/payroll_uk/pagination.rb +++ b/lib/xero-ruby/models/payroll_uk/pagination.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/pay_run.rb b/lib/xero-ruby/models/payroll_uk/pay_run.rb index bde47670..54f63820 100644 --- a/lib/xero-ruby/models/payroll_uk/pay_run.rb +++ b/lib/xero-ruby/models/payroll_uk/pay_run.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/pay_run_calendar.rb b/lib/xero-ruby/models/payroll_uk/pay_run_calendar.rb index f035bc69..bdc3e77d 100644 --- a/lib/xero-ruby/models/payroll_uk/pay_run_calendar.rb +++ b/lib/xero-ruby/models/payroll_uk/pay_run_calendar.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/pay_run_calendar_object.rb b/lib/xero-ruby/models/payroll_uk/pay_run_calendar_object.rb index 679ca5f7..7af012d0 100644 --- a/lib/xero-ruby/models/payroll_uk/pay_run_calendar_object.rb +++ b/lib/xero-ruby/models/payroll_uk/pay_run_calendar_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/pay_run_calendars.rb b/lib/xero-ruby/models/payroll_uk/pay_run_calendars.rb index 801d4c65..5de3b8d0 100644 --- a/lib/xero-ruby/models/payroll_uk/pay_run_calendars.rb +++ b/lib/xero-ruby/models/payroll_uk/pay_run_calendars.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/pay_run_object.rb b/lib/xero-ruby/models/payroll_uk/pay_run_object.rb index 48a375c0..a924f355 100644 --- a/lib/xero-ruby/models/payroll_uk/pay_run_object.rb +++ b/lib/xero-ruby/models/payroll_uk/pay_run_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/pay_runs.rb b/lib/xero-ruby/models/payroll_uk/pay_runs.rb index 56959fdf..d3899783 100644 --- a/lib/xero-ruby/models/payroll_uk/pay_runs.rb +++ b/lib/xero-ruby/models/payroll_uk/pay_runs.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/payment_line.rb b/lib/xero-ruby/models/payroll_uk/payment_line.rb index d6283b17..59859a10 100644 --- a/lib/xero-ruby/models/payroll_uk/payment_line.rb +++ b/lib/xero-ruby/models/payroll_uk/payment_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/payment_method.rb b/lib/xero-ruby/models/payroll_uk/payment_method.rb index 3bd25b47..7218f8d1 100644 --- a/lib/xero-ruby/models/payroll_uk/payment_method.rb +++ b/lib/xero-ruby/models/payroll_uk/payment_method.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/payment_method_object.rb b/lib/xero-ruby/models/payroll_uk/payment_method_object.rb index 31aa36bb..e362c5c5 100644 --- a/lib/xero-ruby/models/payroll_uk/payment_method_object.rb +++ b/lib/xero-ruby/models/payroll_uk/payment_method_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/payslip.rb b/lib/xero-ruby/models/payroll_uk/payslip.rb index edbadaa3..5d5ee80a 100644 --- a/lib/xero-ruby/models/payroll_uk/payslip.rb +++ b/lib/xero-ruby/models/payroll_uk/payslip.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/payslip_object.rb b/lib/xero-ruby/models/payroll_uk/payslip_object.rb index 7c766c46..609e0dc2 100644 --- a/lib/xero-ruby/models/payroll_uk/payslip_object.rb +++ b/lib/xero-ruby/models/payroll_uk/payslip_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/payslips.rb b/lib/xero-ruby/models/payroll_uk/payslips.rb index 831c4a62..902c2ac7 100644 --- a/lib/xero-ruby/models/payroll_uk/payslips.rb +++ b/lib/xero-ruby/models/payroll_uk/payslips.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/problem.rb b/lib/xero-ruby/models/payroll_uk/problem.rb index 67a3d728..d2de666d 100644 --- a/lib/xero-ruby/models/payroll_uk/problem.rb +++ b/lib/xero-ruby/models/payroll_uk/problem.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/reimbursement.rb b/lib/xero-ruby/models/payroll_uk/reimbursement.rb index 72e73ce1..696b8f0e 100644 --- a/lib/xero-ruby/models/payroll_uk/reimbursement.rb +++ b/lib/xero-ruby/models/payroll_uk/reimbursement.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/reimbursement_line.rb b/lib/xero-ruby/models/payroll_uk/reimbursement_line.rb index 95949dd2..4d487e5c 100644 --- a/lib/xero-ruby/models/payroll_uk/reimbursement_line.rb +++ b/lib/xero-ruby/models/payroll_uk/reimbursement_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/reimbursement_object.rb b/lib/xero-ruby/models/payroll_uk/reimbursement_object.rb index ba8bb321..dbc102ae 100644 --- a/lib/xero-ruby/models/payroll_uk/reimbursement_object.rb +++ b/lib/xero-ruby/models/payroll_uk/reimbursement_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/reimbursements.rb b/lib/xero-ruby/models/payroll_uk/reimbursements.rb index ab67de35..8d6a1974 100644 --- a/lib/xero-ruby/models/payroll_uk/reimbursements.rb +++ b/lib/xero-ruby/models/payroll_uk/reimbursements.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/salary_and_wage.rb b/lib/xero-ruby/models/payroll_uk/salary_and_wage.rb index c642fb04..9354d564 100644 --- a/lib/xero-ruby/models/payroll_uk/salary_and_wage.rb +++ b/lib/xero-ruby/models/payroll_uk/salary_and_wage.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/salary_and_wage_object.rb b/lib/xero-ruby/models/payroll_uk/salary_and_wage_object.rb index 057b039f..6f97dfed 100644 --- a/lib/xero-ruby/models/payroll_uk/salary_and_wage_object.rb +++ b/lib/xero-ruby/models/payroll_uk/salary_and_wage_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/salary_and_wages.rb b/lib/xero-ruby/models/payroll_uk/salary_and_wages.rb index 5d326c47..1d05098b 100644 --- a/lib/xero-ruby/models/payroll_uk/salary_and_wages.rb +++ b/lib/xero-ruby/models/payroll_uk/salary_and_wages.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/settings.rb b/lib/xero-ruby/models/payroll_uk/settings.rb index a19a4334..232c41c0 100644 --- a/lib/xero-ruby/models/payroll_uk/settings.rb +++ b/lib/xero-ruby/models/payroll_uk/settings.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/statutory_deduction.rb b/lib/xero-ruby/models/payroll_uk/statutory_deduction.rb index 97f0d56d..ae879062 100644 --- a/lib/xero-ruby/models/payroll_uk/statutory_deduction.rb +++ b/lib/xero-ruby/models/payroll_uk/statutory_deduction.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/statutory_deduction_category.rb b/lib/xero-ruby/models/payroll_uk/statutory_deduction_category.rb index 1de7d32d..626ee757 100644 --- a/lib/xero-ruby/models/payroll_uk/statutory_deduction_category.rb +++ b/lib/xero-ruby/models/payroll_uk/statutory_deduction_category.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/tax_line.rb b/lib/xero-ruby/models/payroll_uk/tax_line.rb index 1fcf4e91..24558cfa 100644 --- a/lib/xero-ruby/models/payroll_uk/tax_line.rb +++ b/lib/xero-ruby/models/payroll_uk/tax_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/timesheet.rb b/lib/xero-ruby/models/payroll_uk/timesheet.rb index 0be15276..8f5a1641 100644 --- a/lib/xero-ruby/models/payroll_uk/timesheet.rb +++ b/lib/xero-ruby/models/payroll_uk/timesheet.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/timesheet_earnings_line.rb b/lib/xero-ruby/models/payroll_uk/timesheet_earnings_line.rb index bbe97ac1..20d4521c 100644 --- a/lib/xero-ruby/models/payroll_uk/timesheet_earnings_line.rb +++ b/lib/xero-ruby/models/payroll_uk/timesheet_earnings_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/timesheet_line.rb b/lib/xero-ruby/models/payroll_uk/timesheet_line.rb index 157523eb..c139d3f8 100644 --- a/lib/xero-ruby/models/payroll_uk/timesheet_line.rb +++ b/lib/xero-ruby/models/payroll_uk/timesheet_line.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/timesheet_line_object.rb b/lib/xero-ruby/models/payroll_uk/timesheet_line_object.rb index a79fdef5..6c45b0f0 100644 --- a/lib/xero-ruby/models/payroll_uk/timesheet_line_object.rb +++ b/lib/xero-ruby/models/payroll_uk/timesheet_line_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/timesheet_object.rb b/lib/xero-ruby/models/payroll_uk/timesheet_object.rb index 02efffc6..743870ac 100644 --- a/lib/xero-ruby/models/payroll_uk/timesheet_object.rb +++ b/lib/xero-ruby/models/payroll_uk/timesheet_object.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/timesheets.rb b/lib/xero-ruby/models/payroll_uk/timesheets.rb index 9cfb4556..1373ca3b 100644 --- a/lib/xero-ruby/models/payroll_uk/timesheets.rb +++ b/lib/xero-ruby/models/payroll_uk/timesheets.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/tracking_categories.rb b/lib/xero-ruby/models/payroll_uk/tracking_categories.rb index 5d3f4b1c..247eaa22 100644 --- a/lib/xero-ruby/models/payroll_uk/tracking_categories.rb +++ b/lib/xero-ruby/models/payroll_uk/tracking_categories.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/payroll_uk/tracking_category.rb b/lib/xero-ruby/models/payroll_uk/tracking_category.rb index 0f0e5ad8..18325a2e 100644 --- a/lib/xero-ruby/models/payroll_uk/tracking_category.rb +++ b/lib/xero-ruby/models/payroll_uk/tracking_category.rb @@ -3,7 +3,7 @@ #This is the Xero Payroll API for orgs in the UK region. -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/amount.rb b/lib/xero-ruby/models/projects/amount.rb index 7da074d1..cfa07581 100644 --- a/lib/xero-ruby/models/projects/amount.rb +++ b/lib/xero-ruby/models/projects/amount.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/charge_type.rb b/lib/xero-ruby/models/projects/charge_type.rb index 6ec9bb13..d00ea544 100644 --- a/lib/xero-ruby/models/projects/charge_type.rb +++ b/lib/xero-ruby/models/projects/charge_type.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/currency_code.rb b/lib/xero-ruby/models/projects/currency_code.rb index fab2f7df..1216755a 100644 --- a/lib/xero-ruby/models/projects/currency_code.rb +++ b/lib/xero-ruby/models/projects/currency_code.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/error.rb b/lib/xero-ruby/models/projects/error.rb index ccfedc50..57fc4cf1 100644 --- a/lib/xero-ruby/models/projects/error.rb +++ b/lib/xero-ruby/models/projects/error.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/pagination.rb b/lib/xero-ruby/models/projects/pagination.rb index 1cbd08a6..c86ce276 100644 --- a/lib/xero-ruby/models/projects/pagination.rb +++ b/lib/xero-ruby/models/projects/pagination.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/project.rb b/lib/xero-ruby/models/projects/project.rb index d4fbec10..b151fdb3 100644 --- a/lib/xero-ruby/models/projects/project.rb +++ b/lib/xero-ruby/models/projects/project.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/project_create_or_update.rb b/lib/xero-ruby/models/projects/project_create_or_update.rb index 2914b374..6b467085 100644 --- a/lib/xero-ruby/models/projects/project_create_or_update.rb +++ b/lib/xero-ruby/models/projects/project_create_or_update.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/project_patch.rb b/lib/xero-ruby/models/projects/project_patch.rb index 18ce6255..30970ee8 100644 --- a/lib/xero-ruby/models/projects/project_patch.rb +++ b/lib/xero-ruby/models/projects/project_patch.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/project_status.rb b/lib/xero-ruby/models/projects/project_status.rb index 4830e317..33f12e08 100644 --- a/lib/xero-ruby/models/projects/project_status.rb +++ b/lib/xero-ruby/models/projects/project_status.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/project_user.rb b/lib/xero-ruby/models/projects/project_user.rb index 25e35166..a26e8e1d 100644 --- a/lib/xero-ruby/models/projects/project_user.rb +++ b/lib/xero-ruby/models/projects/project_user.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/project_users.rb b/lib/xero-ruby/models/projects/project_users.rb index 8f795f04..b357245b 100644 --- a/lib/xero-ruby/models/projects/project_users.rb +++ b/lib/xero-ruby/models/projects/project_users.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/projects.rb b/lib/xero-ruby/models/projects/projects.rb index 4937f857..132e3c69 100644 --- a/lib/xero-ruby/models/projects/projects.rb +++ b/lib/xero-ruby/models/projects/projects.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/task.rb b/lib/xero-ruby/models/projects/task.rb index 1ab407e1..4dbf7bb4 100644 --- a/lib/xero-ruby/models/projects/task.rb +++ b/lib/xero-ruby/models/projects/task.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/task_create_or_update.rb b/lib/xero-ruby/models/projects/task_create_or_update.rb index d565267d..dbefc184 100644 --- a/lib/xero-ruby/models/projects/task_create_or_update.rb +++ b/lib/xero-ruby/models/projects/task_create_or_update.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/tasks.rb b/lib/xero-ruby/models/projects/tasks.rb index 96f79a9c..7955b35c 100644 --- a/lib/xero-ruby/models/projects/tasks.rb +++ b/lib/xero-ruby/models/projects/tasks.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/time_entries.rb b/lib/xero-ruby/models/projects/time_entries.rb index 6f805b22..f2ac10b6 100644 --- a/lib/xero-ruby/models/projects/time_entries.rb +++ b/lib/xero-ruby/models/projects/time_entries.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/time_entry.rb b/lib/xero-ruby/models/projects/time_entry.rb index 915fa3ad..80b07f9b 100644 --- a/lib/xero-ruby/models/projects/time_entry.rb +++ b/lib/xero-ruby/models/projects/time_entry.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/projects/time_entry_create_or_update.rb b/lib/xero-ruby/models/projects/time_entry_create_or_update.rb index 68bf8c7a..6c1cf278 100644 --- a/lib/xero-ruby/models/projects/time_entry_create_or_update.rb +++ b/lib/xero-ruby/models/projects/time_entry_create_or_update.rb @@ -3,7 +3,7 @@ #This is the Xero Projects API -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/version.rb b/lib/xero-ruby/version.rb index 41f55daf..31722cd9 100644 --- a/lib/xero-ruby/version.rb +++ b/lib/xero-ruby/version.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/xero-ruby.gemspec b/xero-ruby.gemspec index 86c1d7e3..7a5db776 100644 --- a/xero-ruby.gemspec +++ b/xero-ruby.gemspec @@ -5,7 +5,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 From ae0e68f52070c7dbe6d25c4dd174131790b39e7a Mon Sep 17 00:00:00 2001 From: serknight Date: Fri, 18 Dec 2020 16:49:15 -0700 Subject: [PATCH 4/9] expiry --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7bd5b243..480cb73b 100644 --- a/README.md +++ b/README.md @@ -151,7 +151,7 @@ require 'jwt' def token_expired? token_expiry = Time.at(decoded_access_token['exp']) - token_expiry > Time.now + token_expiry < Time.now end def decoded_access_token From 24bf682f520dc67e8807c73cee8ea0cc2e447818 Mon Sep 17 00:00:00 2001 From: serknight Date: Fri, 18 Dec 2020 17:22:47 -0700 Subject: [PATCH 5/9] regenerated 2.8.0 --- README.md | 4 +--- lib/xero-ruby/api/files_api.rb | 2 +- lib/xero-ruby/api_client.rb | 1 + lib/xero-ruby/models/files/association.rb | 2 +- lib/xero-ruby/models/files/file_object.rb | 2 +- lib/xero-ruby/models/files/file_response204.rb | 2 +- lib/xero-ruby/models/files/files.rb | 2 +- lib/xero-ruby/models/files/folder.rb | 2 +- lib/xero-ruby/models/files/folders.rb | 2 +- lib/xero-ruby/models/files/inline_object.rb | 2 +- lib/xero-ruby/models/files/object_group.rb | 2 +- lib/xero-ruby/models/files/object_type.rb | 2 +- lib/xero-ruby/models/files/user.rb | 2 +- lib/xero-ruby/version.rb | 2 +- xero-ruby.gemspec | 2 +- 15 files changed, 15 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 480cb73b..ab1304a6 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,6 @@ We have two apps showing SDK usage. * https://github.com/XeroAPI/xero-ruby-oauth2-starter (**Sinatra** - session based / getting started) * https://github.com/XeroAPI/xero-ruby-oauth2-app (**Rails** - token management / full examples) -![sample-app](https://i.imgur.com/OOEn55G.png) - ## Looking for OAuth 1.0a support? Check out the [Xeroizer](https://github.com/waynerobinson/xeroizer) gem (maintained by community). @@ -151,7 +149,7 @@ require 'jwt' def token_expired? token_expiry = Time.at(decoded_access_token['exp']) - token_expiry < Time.now + token_expiry > Time.now end def decoded_access_token diff --git a/lib/xero-ruby/api/files_api.rb b/lib/xero-ruby/api/files_api.rb index 8f7d11fc..9141f363 100644 --- a/lib/xero-ruby/api/files_api.rb +++ b/lib/xero-ruby/api/files_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/api_client.rb b/lib/xero-ruby/api_client.rb index d118d67a..cb876470 100644 --- a/lib/xero-ruby/api_client.rb +++ b/lib/xero-ruby/api_client.rb @@ -174,6 +174,7 @@ def call_api(http_method, path, api_client, opts = {}) if @config.debugging @config.logger.debug "HTTP response body ~BEGIN~\n#{response.body}\n~END~\n" end + return_error(response) unless response.success? rescue Faraday::TimeoutError fail ApiError.new('Connection timed out') diff --git a/lib/xero-ruby/models/files/association.rb b/lib/xero-ruby/models/files/association.rb index a1eb19cc..9a167b79 100644 --- a/lib/xero-ruby/models/files/association.rb +++ b/lib/xero-ruby/models/files/association.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/files/file_object.rb b/lib/xero-ruby/models/files/file_object.rb index 120df358..093a9cde 100644 --- a/lib/xero-ruby/models/files/file_object.rb +++ b/lib/xero-ruby/models/files/file_object.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/files/file_response204.rb b/lib/xero-ruby/models/files/file_response204.rb index 54ffad8a..adfbb308 100644 --- a/lib/xero-ruby/models/files/file_response204.rb +++ b/lib/xero-ruby/models/files/file_response204.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/files/files.rb b/lib/xero-ruby/models/files/files.rb index de180478..4ff68713 100644 --- a/lib/xero-ruby/models/files/files.rb +++ b/lib/xero-ruby/models/files/files.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/files/folder.rb b/lib/xero-ruby/models/files/folder.rb index 2591a768..0eb8802a 100644 --- a/lib/xero-ruby/models/files/folder.rb +++ b/lib/xero-ruby/models/files/folder.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/files/folders.rb b/lib/xero-ruby/models/files/folders.rb index f41a2030..b9f0b68c 100644 --- a/lib/xero-ruby/models/files/folders.rb +++ b/lib/xero-ruby/models/files/folders.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/files/inline_object.rb b/lib/xero-ruby/models/files/inline_object.rb index 4b84f4b7..4fcc86ca 100644 --- a/lib/xero-ruby/models/files/inline_object.rb +++ b/lib/xero-ruby/models/files/inline_object.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/files/object_group.rb b/lib/xero-ruby/models/files/object_group.rb index 9e33a088..21fc1784 100644 --- a/lib/xero-ruby/models/files/object_group.rb +++ b/lib/xero-ruby/models/files/object_group.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/files/object_type.rb b/lib/xero-ruby/models/files/object_type.rb index 36354896..d5d35adf 100644 --- a/lib/xero-ruby/models/files/object_type.rb +++ b/lib/xero-ruby/models/files/object_type.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/models/files/user.rb b/lib/xero-ruby/models/files/user.rb index 7829e78d..e1b1cb56 100644 --- a/lib/xero-ruby/models/files/user.rb +++ b/lib/xero-ruby/models/files/user.rb @@ -3,7 +3,7 @@ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.6.0 +The version of the OpenAPI document: 2.8.0 Contact: api@xero.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 diff --git a/lib/xero-ruby/version.rb b/lib/xero-ruby/version.rb index 31722cd9..02fb7092 100644 --- a/lib/xero-ruby/version.rb +++ b/lib/xero-ruby/version.rb @@ -11,5 +11,5 @@ =end module XeroRuby - VERSION = '2.4.1' + VERSION = '2.3.0' end diff --git a/xero-ruby.gemspec b/xero-ruby.gemspec index 7a5db776..656d52fc 100644 --- a/xero-ruby.gemspec +++ b/xero-ruby.gemspec @@ -31,7 +31,7 @@ Gem::Specification.new do |s| s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0' s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0' - s.files = Dir.glob("{lib}/**/*") + %w(README.md) + s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? } s.test_files = `find spec/*`.split("\n") s.executables = [] s.require_paths = ["lib"] From 2abb32140bece3b1c0657ebaf6da3234807d2aa2 Mon Sep 17 00:00:00 2001 From: serknight Date: Fri, 18 Dec 2020 17:27:21 -0700 Subject: [PATCH 6/9] 2.5.0 --- lib/xero-ruby/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/xero-ruby/version.rb b/lib/xero-ruby/version.rb index 02fb7092..980af681 100644 --- a/lib/xero-ruby/version.rb +++ b/lib/xero-ruby/version.rb @@ -11,5 +11,5 @@ =end module XeroRuby - VERSION = '2.3.0' + VERSION = '2.5.0' end From e692303886bb12df9d2006aceb36ae30ebcd0376 Mon Sep 17 00:00:00 2001 From: serknight Date: Fri, 18 Dec 2020 17:30:32 -0700 Subject: [PATCH 7/9] remove duplicat constants --- lib/xero-ruby/models/accounting/account.rb | 3 +- .../models/accounting/organisation.rb | 28 ++++++++++--------- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/lib/xero-ruby/models/accounting/account.rb b/lib/xero-ruby/models/accounting/account.rb index 0f643496..fed704af 100644 --- a/lib/xero-ruby/models/accounting/account.rb +++ b/lib/xero-ruby/models/accounting/account.rb @@ -91,7 +91,8 @@ class Account CISLABOURINCOME = "CISLABOURINCOME".freeze CISLIABILITY = "CISLIABILITY".freeze CISMATERIALS = "CISMATERIALS".freeze - EMPTY = "".freeze + # duplicate definitions generated: https://github.com/XeroAPI/xero-ruby/issues/53#issuecomment-668893305 + # EMPTY = "".freeze # Shown if set attr_accessor :reporting_code diff --git a/lib/xero-ruby/models/accounting/organisation.rb b/lib/xero-ruby/models/accounting/organisation.rb index 3f4d1cdb..a39ebaf6 100644 --- a/lib/xero-ruby/models/accounting/organisation.rb +++ b/lib/xero-ruby/models/accounting/organisation.rb @@ -114,7 +114,8 @@ class Organisation N6_MONTHLY = "6MONTHLY".freeze QUARTERLY = "QUARTERLY".freeze YEARLY = "YEARLY".freeze - NONE = "NONE".freeze + # duplicate definitions generated: https://github.com/XeroAPI/xero-ruby/issues/53#issuecomment-668893305 + # NONE = "NONE".freeze # The default for LineAmountTypes on sales transactions attr_accessor :default_sales_tax @@ -136,18 +137,19 @@ class Organisation # Organisation Entity Type attr_accessor :organisation_entity_type - ACCOUNTING_PRACTICE = "ACCOUNTING_PRACTICE".freeze - COMPANY = "COMPANY".freeze - CHARITY = "CHARITY".freeze - CLUB_OR_SOCIETY = "CLUB_OR_SOCIETY".freeze - LOOK_THROUGH_COMPANY = "LOOK_THROUGH_COMPANY".freeze - NOT_FOR_PROFIT = "NOT_FOR_PROFIT".freeze - PARTNERSHIP = "PARTNERSHIP".freeze - S_CORPORATION = "S_CORPORATION".freeze - SELF_MANAGED_SUPERANNUATION_FUND = "SELF_MANAGED_SUPERANNUATION_FUND".freeze - SOLE_TRADER = "SOLE_TRADER".freeze - SUPERANNUATION_FUND = "SUPERANNUATION_FUND".freeze - TRUST = "TRUST".freeze + # duplicate definitions generated: https://github.com/XeroAPI/xero-ruby/issues/53#issuecomment-668893305 + # ACCOUNTING_PRACTICE = "ACCOUNTING_PRACTICE".freeze + # COMPANY = "COMPANY".freeze + # CHARITY = "CHARITY".freeze + # CLUB_OR_SOCIETY = "CLUB_OR_SOCIETY".freeze + # LOOK_THROUGH_COMPANY = "LOOK_THROUGH_COMPANY".freeze + # NOT_FOR_PROFIT = "NOT_FOR_PROFIT".freeze + # PARTNERSHIP = "PARTNERSHIP".freeze + # S_CORPORATION = "S_CORPORATION".freeze + # SELF_MANAGED_SUPERANNUATION_FUND = "SELF_MANAGED_SUPERANNUATION_FUND".freeze + # SOLE_TRADER = "SOLE_TRADER".freeze + # SUPERANNUATION_FUND = "SUPERANNUATION_FUND".freeze + # TRUST = "TRUST".freeze # A unique identifier for the organisation. Potential uses. attr_accessor :short_code From 46d94f271b1cb6b086fcd5277a7b78bbdc43a2e3 Mon Sep 17 00:00:00 2001 From: serknight Date: Fri, 18 Dec 2020 17:37:36 -0700 Subject: [PATCH 8/9] return remaining connections --- lib/xero-ruby/api_client.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/xero-ruby/api_client.rb b/lib/xero-ruby/api_client.rb index cb876470..bb211437 100644 --- a/lib/xero-ruby/api_client.rb +++ b/lib/xero-ruby/api_client.rb @@ -140,8 +140,8 @@ def connections def disconnect(connection_id) opts = { :header_params => {'Content-Type': 'application/json'}, :auth_names => ['OAuth2'] } - response = call_api(:DELETE, "https://api.xero.com/connections/#{connection_id}", nil, opts) - response[0] + call_api(:DELETE, "https://api.xero.com/connections/#{connection_id}", nil, opts) + connections end # Call an API with given options. From 49b221044ac636de53ac2c58d463a7c092b82470 Mon Sep 17 00:00:00 2001 From: serknight Date: Fri, 18 Dec 2020 17:43:42 -0700 Subject: [PATCH 9/9] readme --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index ab1304a6..7bd5b243 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,8 @@ We have two apps showing SDK usage. * https://github.com/XeroAPI/xero-ruby-oauth2-starter (**Sinatra** - session based / getting started) * https://github.com/XeroAPI/xero-ruby-oauth2-app (**Rails** - token management / full examples) +![sample-app](https://i.imgur.com/OOEn55G.png) + ## Looking for OAuth 1.0a support? Check out the [Xeroizer](https://github.com/waynerobinson/xeroizer) gem (maintained by community).