xero-ruby 5.0.0 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/xero-ruby/api/accounting_api.rb +75 -3
- data/lib/xero-ruby/models/accounting/allocation.rb +2 -2
- data/lib/xero-ruby/models/accounting/payment.rb +16 -4
- data/lib/xero-ruby/models/accounting/tax_rate.rb +3 -2
- data/lib/xero-ruby/models/accounting/tax_type.rb +3 -0
- data/lib/xero-ruby/models/accounting/ten_ninety_nine_contact.rb +3 -3
- data/lib/xero-ruby/models/payroll_au/allowance_type.rb +0 -1
- data/lib/xero-ruby/models/payroll_nz/employee.rb +1 -1
- data/lib/xero-ruby/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 865bc38003ce7eaea907a4dd45e86712e6a9811d668b7474a3beb936d590ee5a
|
4
|
+
data.tar.gz: c591c2a3b620a990dad0307b05714000bae9afed851c150e43743feca67a9857
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e607a269c4bc6d398d20a63501e1c3488c26d3e9d28575a2a73ad490a0fc960e3c3630e80ede8894a064bd81111da14bb571a2bf8e5cee1002daa9e64e929b81
|
7
|
+
data.tar.gz: d78f7156bb7f8b57eef1a9f2709f285d47a7574d72fcea2d867b56a3d8499b1893ea35110da34b735e9efb9a5c7574e3daf38301d3c3bb1ae76c9b1257e52353
|
@@ -15604,12 +15604,86 @@ module XeroRuby
|
|
15604
15604
|
return data, status_code, headers
|
15605
15605
|
end
|
15606
15606
|
|
15607
|
+
# Retrieves a specific tax rate according to given TaxType code
|
15608
|
+
# @param xero_tenant_id [String] Xero identifier for Tenant
|
15609
|
+
# @param tax_type [String] A valid TaxType code
|
15610
|
+
# @param [Hash] opts the optional parameters
|
15611
|
+
# @return [TaxRates]
|
15612
|
+
def get_tax_rate_by_tax_type(xero_tenant_id, tax_type, opts = {})
|
15613
|
+
data, _status_code, _headers = get_tax_rate_by_tax_type_with_http_info(xero_tenant_id, tax_type, opts)
|
15614
|
+
data
|
15615
|
+
end
|
15616
|
+
|
15617
|
+
# Retrieves a specific tax rate according to given TaxType code
|
15618
|
+
# @param xero_tenant_id [String] Xero identifier for Tenant
|
15619
|
+
# @param tax_type [String] A valid TaxType code
|
15620
|
+
# @param [Hash] opts the optional parameters
|
15621
|
+
# @return [Array<(TaxRates, Integer, Hash)>] TaxRates data, response status code and response headers
|
15622
|
+
def get_tax_rate_by_tax_type_with_http_info(xero_tenant_id, tax_type, options = {})
|
15623
|
+
opts = options.dup
|
15624
|
+
if @api_client.config.debugging
|
15625
|
+
@api_client.config.logger.debug 'Calling API: AccountingApi.get_tax_rate_by_tax_type ...'
|
15626
|
+
end
|
15627
|
+
# verify the required parameter 'xero_tenant_id' is set
|
15628
|
+
if @api_client.config.client_side_validation && xero_tenant_id.nil?
|
15629
|
+
fail ArgumentError, "Missing the required parameter 'xero_tenant_id' when calling AccountingApi.get_tax_rate_by_tax_type"
|
15630
|
+
end
|
15631
|
+
# verify the required parameter 'tax_type' is set
|
15632
|
+
if @api_client.config.client_side_validation && tax_type.nil?
|
15633
|
+
fail ArgumentError, "Missing the required parameter 'tax_type' when calling AccountingApi.get_tax_rate_by_tax_type"
|
15634
|
+
end
|
15635
|
+
# resource path
|
15636
|
+
local_var_path = '/TaxRates/{TaxType}'.sub('{' + 'TaxType' + '}', tax_type.to_s)
|
15637
|
+
|
15638
|
+
# camelize keys of incoming `where` opts
|
15639
|
+
opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
|
15640
|
+
|
15641
|
+
# query parameters
|
15642
|
+
query_params = opts[:query_params] || {}
|
15643
|
+
|
15644
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
15645
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
15646
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
15647
|
+
|
15648
|
+
# header parameters
|
15649
|
+
header_params = opts[:header_params] || {}
|
15650
|
+
# HTTP header 'Accept' (if needed)
|
15651
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
15652
|
+
header_params[:'xero-tenant-id'] = xero_tenant_id
|
15653
|
+
|
15654
|
+
# form parameters
|
15655
|
+
form_params = opts[:form_params] || {}
|
15656
|
+
|
15657
|
+
# http body (model)
|
15658
|
+
post_body = opts[:body]
|
15659
|
+
|
15660
|
+
# return_type
|
15661
|
+
return_type = opts[:return_type] || 'TaxRates'
|
15662
|
+
|
15663
|
+
# auth_names
|
15664
|
+
auth_names = opts[:auth_names] || ['OAuth2']
|
15665
|
+
|
15666
|
+
new_options = opts.merge(
|
15667
|
+
:header_params => header_params,
|
15668
|
+
:query_params => query_params,
|
15669
|
+
:form_params => form_params,
|
15670
|
+
:body => post_body,
|
15671
|
+
:auth_names => auth_names,
|
15672
|
+
:return_type => return_type
|
15673
|
+
)
|
15674
|
+
|
15675
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
15676
|
+
if @api_client.config.debugging
|
15677
|
+
@api_client.config.logger.debug "API called: AccountingApi#get_tax_rate_by_tax_type\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
15678
|
+
end
|
15679
|
+
return data, status_code, headers
|
15680
|
+
end
|
15681
|
+
|
15607
15682
|
# Retrieves tax rates
|
15608
15683
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
15609
15684
|
# @param [Hash] opts the optional parameters
|
15610
15685
|
# @option opts [String] :where Filter by an any element
|
15611
15686
|
# @option opts [String] :order Order by an any element
|
15612
|
-
# @option opts [String] :tax_type Filter by tax type
|
15613
15687
|
# @return [TaxRates]
|
15614
15688
|
def get_tax_rates(xero_tenant_id, opts = {})
|
15615
15689
|
data, _status_code, _headers = get_tax_rates_with_http_info(xero_tenant_id, opts)
|
@@ -15621,7 +15695,6 @@ module XeroRuby
|
|
15621
15695
|
# @param [Hash] opts the optional parameters
|
15622
15696
|
# @option opts [String] :where Filter by an any element
|
15623
15697
|
# @option opts [String] :order Order by an any element
|
15624
|
-
# @option opts [String] :tax_type Filter by tax type
|
15625
15698
|
# @return [Array<(TaxRates, Integer, Hash)>] TaxRates data, response status code and response headers
|
15626
15699
|
def get_tax_rates_with_http_info(xero_tenant_id, options = {})
|
15627
15700
|
opts = options.dup
|
@@ -15642,7 +15715,6 @@ module XeroRuby
|
|
15642
15715
|
query_params = opts[:query_params] || {}
|
15643
15716
|
query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
|
15644
15717
|
query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
|
15645
|
-
query_params[:'TaxType'] = opts[:'tax_type'] if !opts[:'tax_type'].nil?
|
15646
15718
|
|
15647
15719
|
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
15648
15720
|
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
@@ -18,7 +18,7 @@ module XeroRuby::Accounting
|
|
18
18
|
class Allocation
|
19
19
|
# Xero generated unique identifier
|
20
20
|
attr_accessor :allocation_id
|
21
|
-
|
21
|
+
|
22
22
|
|
23
23
|
attr_accessor :invoice
|
24
24
|
|
@@ -39,7 +39,7 @@ module XeroRuby::Accounting
|
|
39
39
|
|
40
40
|
# A flag that returns true when the allocation is succesfully deleted
|
41
41
|
attr_accessor :is_deleted
|
42
|
-
|
42
|
+
|
43
43
|
# A string to indicate if a invoice status
|
44
44
|
attr_accessor :status_attribute_string
|
45
45
|
|
@@ -107,6 +107,9 @@ module XeroRuby::Accounting
|
|
107
107
|
# Displays array of validation error messages from the API
|
108
108
|
attr_accessor :validation_errors
|
109
109
|
|
110
|
+
# Displays array of warning messages from the API
|
111
|
+
attr_accessor :warnings
|
112
|
+
|
110
113
|
class EnumAttributeValidator
|
111
114
|
attr_reader :datatype
|
112
115
|
attr_reader :allowable_values
|
@@ -158,7 +161,8 @@ module XeroRuby::Accounting
|
|
158
161
|
:'has_account' => :'HasAccount',
|
159
162
|
:'has_validation_errors' => :'HasValidationErrors',
|
160
163
|
:'status_attribute_string' => :'StatusAttributeString',
|
161
|
-
:'validation_errors' => :'ValidationErrors'
|
164
|
+
:'validation_errors' => :'ValidationErrors',
|
165
|
+
:'warnings' => :'Warnings'
|
162
166
|
}
|
163
167
|
end
|
164
168
|
|
@@ -191,7 +195,8 @@ module XeroRuby::Accounting
|
|
191
195
|
:'has_account' => :'Boolean',
|
192
196
|
:'has_validation_errors' => :'Boolean',
|
193
197
|
:'status_attribute_string' => :'String',
|
194
|
-
:'validation_errors' => :'Array<ValidationError>'
|
198
|
+
:'validation_errors' => :'Array<ValidationError>',
|
199
|
+
:'warnings' => :'Array<ValidationError>'
|
195
200
|
}
|
196
201
|
end
|
197
202
|
|
@@ -323,6 +328,12 @@ module XeroRuby::Accounting
|
|
323
328
|
self.validation_errors = value
|
324
329
|
end
|
325
330
|
end
|
331
|
+
|
332
|
+
if attributes.key?(:'warnings')
|
333
|
+
if (value = attributes[:'warnings']).is_a?(Array)
|
334
|
+
self.warnings = value
|
335
|
+
end
|
336
|
+
end
|
326
337
|
end
|
327
338
|
|
328
339
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -393,7 +404,8 @@ module XeroRuby::Accounting
|
|
393
404
|
has_account == o.has_account &&
|
394
405
|
has_validation_errors == o.has_validation_errors &&
|
395
406
|
status_attribute_string == o.status_attribute_string &&
|
396
|
-
validation_errors == o.validation_errors
|
407
|
+
validation_errors == o.validation_errors &&
|
408
|
+
warnings == o.warnings
|
397
409
|
end
|
398
410
|
|
399
411
|
# @see the `==` method
|
@@ -405,7 +417,7 @@ module XeroRuby::Accounting
|
|
405
417
|
# Calculates hash code according to all attributes.
|
406
418
|
# @return [Integer] Hash code
|
407
419
|
def hash
|
408
|
-
[invoice, credit_note, prepayment, overpayment, invoice_number, credit_note_number, batch_payment, account, code, date, currency_rate, amount, bank_amount, reference, is_reconciled, status, payment_type, updated_date_utc, payment_id, batch_payment_id, bank_account_number, particulars, details, has_account, has_validation_errors, status_attribute_string, validation_errors].hash
|
420
|
+
[invoice, credit_note, prepayment, overpayment, invoice_number, credit_note_number, batch_payment, account, code, date, currency_rate, amount, bank_amount, reference, is_reconciled, status, payment_type, updated_date_utc, payment_id, batch_payment_id, bank_account_number, particulars, details, has_account, has_validation_errors, status_attribute_string, validation_errors, warnings].hash
|
409
421
|
end
|
410
422
|
|
411
423
|
# Builds the object from hash
|
@@ -132,6 +132,7 @@ module XeroRuby::Accounting
|
|
132
132
|
IMRE ||= "IMRE".freeze
|
133
133
|
BADDEBTRECOVERY ||= "BADDEBTRECOVERY".freeze
|
134
134
|
USSALESTAX ||= "USSALESTAX".freeze
|
135
|
+
BLINPUT3 ||= "BLINPUT3".freeze
|
135
136
|
|
136
137
|
# Boolean to describe if tax rate can be used for asset accounts i.e. true,false
|
137
138
|
attr_accessor :can_apply_to_assets
|
@@ -290,7 +291,7 @@ module XeroRuby::Accounting
|
|
290
291
|
def valid?
|
291
292
|
status_validator = EnumAttributeValidator.new('String', ["ACTIVE", "DELETED", "ARCHIVED", "PENDING"])
|
292
293
|
return false unless status_validator.valid?(@status)
|
293
|
-
report_tax_type_validator = EnumAttributeValidator.new('String', ["AVALARA", "BASEXCLUDED", "CAPITALSALESOUTPUT", "CAPITALEXPENSESINPUT", "ECOUTPUT", "ECOUTPUTSERVICES", "ECINPUT", "ECACQUISITIONS", "EXEMPTEXPENSES", "EXEMPTINPUT", "EXEMPTOUTPUT", "GSTONIMPORTS", "INPUT", "INPUTTAXED", "MOSSSALES", "NONE", "NONEOUTPUT", "OUTPUT", "PURCHASESINPUT", "SALESOUTPUT", "EXEMPTCAPITAL", "EXEMPTEXPORT", "CAPITALEXINPUT", "GSTONCAPIMPORTS", "GSTONCAPITALIMPORTS", "REVERSECHARGES", "PAYMENTS", "INVOICE", "CASH", "ACCRUAL", "FLATRATECASH", "FLATRATEACCRUAL", "ACCRUALS", "TXCA", "SRCAS", "DSOUTPUT", "BLINPUT2", "EPINPUT", "IMINPUT2", "MEINPUT", "IGDSINPUT2", "ESN33OUTPUT", "OPINPUT", "OSOUTPUT", "TXN33INPUT", "TXESSINPUT", "TXREINPUT", "TXPETINPUT", "NRINPUT", "ES33OUTPUT", "ZERORATEDINPUT", "ZERORATEDOUTPUT", "DRCHARGESUPPLY", "DRCHARGE", "CAPINPUT", "CAPIMPORTS", "IMINPUT", "INPUT2", "CIUINPUT", "SRINPUT", "OUTPUT2", "SROUTPUT", "CAPOUTPUT", "SROUTPUT2", "CIUOUTPUT", "ZROUTPUT", "ZREXPORT", "ACC28PLUS", "ACCUPTO28", "OTHEROUTPUT", "SHOUTPUT", "ZRINPUT", "BADDEBT", "OTHERINPUT", "BADDEBTRELIEF", "IGDSINPUT3", "SROVR", "TOURISTREFUND", "TXRCN33", "TXRCRE", "TXRCESS", "TXRCTS", "CAPEXINPUT", "UNDEFINED", "CAPEXOUTPUT", "ZEROEXPOUTPUT", "GOODSIMPORT", "NONEINPUT", "NOTREPORTED", "SROVRRS", "SROVRLVG", "SRLVG", "IM", "IMESS", "IMN33", "IMRE", "BADDEBTRECOVERY", "USSALESTAX"])
|
294
|
+
report_tax_type_validator = EnumAttributeValidator.new('String', ["AVALARA", "BASEXCLUDED", "CAPITALSALESOUTPUT", "CAPITALEXPENSESINPUT", "ECOUTPUT", "ECOUTPUTSERVICES", "ECINPUT", "ECACQUISITIONS", "EXEMPTEXPENSES", "EXEMPTINPUT", "EXEMPTOUTPUT", "GSTONIMPORTS", "INPUT", "INPUTTAXED", "MOSSSALES", "NONE", "NONEOUTPUT", "OUTPUT", "PURCHASESINPUT", "SALESOUTPUT", "EXEMPTCAPITAL", "EXEMPTEXPORT", "CAPITALEXINPUT", "GSTONCAPIMPORTS", "GSTONCAPITALIMPORTS", "REVERSECHARGES", "PAYMENTS", "INVOICE", "CASH", "ACCRUAL", "FLATRATECASH", "FLATRATEACCRUAL", "ACCRUALS", "TXCA", "SRCAS", "DSOUTPUT", "BLINPUT2", "EPINPUT", "IMINPUT2", "MEINPUT", "IGDSINPUT2", "ESN33OUTPUT", "OPINPUT", "OSOUTPUT", "TXN33INPUT", "TXESSINPUT", "TXREINPUT", "TXPETINPUT", "NRINPUT", "ES33OUTPUT", "ZERORATEDINPUT", "ZERORATEDOUTPUT", "DRCHARGESUPPLY", "DRCHARGE", "CAPINPUT", "CAPIMPORTS", "IMINPUT", "INPUT2", "CIUINPUT", "SRINPUT", "OUTPUT2", "SROUTPUT", "CAPOUTPUT", "SROUTPUT2", "CIUOUTPUT", "ZROUTPUT", "ZREXPORT", "ACC28PLUS", "ACCUPTO28", "OTHEROUTPUT", "SHOUTPUT", "ZRINPUT", "BADDEBT", "OTHERINPUT", "BADDEBTRELIEF", "IGDSINPUT3", "SROVR", "TOURISTREFUND", "TXRCN33", "TXRCRE", "TXRCESS", "TXRCTS", "CAPEXINPUT", "UNDEFINED", "CAPEXOUTPUT", "ZEROEXPOUTPUT", "GOODSIMPORT", "NONEINPUT", "NOTREPORTED", "SROVRRS", "SROVRLVG", "SRLVG", "IM", "IMESS", "IMN33", "IMRE", "BADDEBTRECOVERY", "USSALESTAX", "BLINPUT3"])
|
294
295
|
return false unless report_tax_type_validator.valid?(@report_tax_type)
|
295
296
|
true
|
296
297
|
end
|
@@ -308,7 +309,7 @@ module XeroRuby::Accounting
|
|
308
309
|
# Custom attribute writer method checking allowed values (enum).
|
309
310
|
# @param [Object] report_tax_type Object to be assigned
|
310
311
|
def report_tax_type=(report_tax_type)
|
311
|
-
validator = EnumAttributeValidator.new('String', ["AVALARA", "BASEXCLUDED", "CAPITALSALESOUTPUT", "CAPITALEXPENSESINPUT", "ECOUTPUT", "ECOUTPUTSERVICES", "ECINPUT", "ECACQUISITIONS", "EXEMPTEXPENSES", "EXEMPTINPUT", "EXEMPTOUTPUT", "GSTONIMPORTS", "INPUT", "INPUTTAXED", "MOSSSALES", "NONE", "NONEOUTPUT", "OUTPUT", "PURCHASESINPUT", "SALESOUTPUT", "EXEMPTCAPITAL", "EXEMPTEXPORT", "CAPITALEXINPUT", "GSTONCAPIMPORTS", "GSTONCAPITALIMPORTS", "REVERSECHARGES", "PAYMENTS", "INVOICE", "CASH", "ACCRUAL", "FLATRATECASH", "FLATRATEACCRUAL", "ACCRUALS", "TXCA", "SRCAS", "DSOUTPUT", "BLINPUT2", "EPINPUT", "IMINPUT2", "MEINPUT", "IGDSINPUT2", "ESN33OUTPUT", "OPINPUT", "OSOUTPUT", "TXN33INPUT", "TXESSINPUT", "TXREINPUT", "TXPETINPUT", "NRINPUT", "ES33OUTPUT", "ZERORATEDINPUT", "ZERORATEDOUTPUT", "DRCHARGESUPPLY", "DRCHARGE", "CAPINPUT", "CAPIMPORTS", "IMINPUT", "INPUT2", "CIUINPUT", "SRINPUT", "OUTPUT2", "SROUTPUT", "CAPOUTPUT", "SROUTPUT2", "CIUOUTPUT", "ZROUTPUT", "ZREXPORT", "ACC28PLUS", "ACCUPTO28", "OTHEROUTPUT", "SHOUTPUT", "ZRINPUT", "BADDEBT", "OTHERINPUT", "BADDEBTRELIEF", "IGDSINPUT3", "SROVR", "TOURISTREFUND", "TXRCN33", "TXRCRE", "TXRCESS", "TXRCTS", "CAPEXINPUT", "UNDEFINED", "CAPEXOUTPUT", "ZEROEXPOUTPUT", "GOODSIMPORT", "NONEINPUT", "NOTREPORTED", "SROVRRS", "SROVRLVG", "SRLVG", "IM", "IMESS", "IMN33", "IMRE", "BADDEBTRECOVERY", "USSALESTAX"])
|
312
|
+
validator = EnumAttributeValidator.new('String', ["AVALARA", "BASEXCLUDED", "CAPITALSALESOUTPUT", "CAPITALEXPENSESINPUT", "ECOUTPUT", "ECOUTPUTSERVICES", "ECINPUT", "ECACQUISITIONS", "EXEMPTEXPENSES", "EXEMPTINPUT", "EXEMPTOUTPUT", "GSTONIMPORTS", "INPUT", "INPUTTAXED", "MOSSSALES", "NONE", "NONEOUTPUT", "OUTPUT", "PURCHASESINPUT", "SALESOUTPUT", "EXEMPTCAPITAL", "EXEMPTEXPORT", "CAPITALEXINPUT", "GSTONCAPIMPORTS", "GSTONCAPITALIMPORTS", "REVERSECHARGES", "PAYMENTS", "INVOICE", "CASH", "ACCRUAL", "FLATRATECASH", "FLATRATEACCRUAL", "ACCRUALS", "TXCA", "SRCAS", "DSOUTPUT", "BLINPUT2", "EPINPUT", "IMINPUT2", "MEINPUT", "IGDSINPUT2", "ESN33OUTPUT", "OPINPUT", "OSOUTPUT", "TXN33INPUT", "TXESSINPUT", "TXREINPUT", "TXPETINPUT", "NRINPUT", "ES33OUTPUT", "ZERORATEDINPUT", "ZERORATEDOUTPUT", "DRCHARGESUPPLY", "DRCHARGE", "CAPINPUT", "CAPIMPORTS", "IMINPUT", "INPUT2", "CIUINPUT", "SRINPUT", "OUTPUT2", "SROUTPUT", "CAPOUTPUT", "SROUTPUT2", "CIUOUTPUT", "ZROUTPUT", "ZREXPORT", "ACC28PLUS", "ACCUPTO28", "OTHEROUTPUT", "SHOUTPUT", "ZRINPUT", "BADDEBT", "OTHERINPUT", "BADDEBTRELIEF", "IGDSINPUT3", "SROVR", "TOURISTREFUND", "TXRCN33", "TXRCRE", "TXRCESS", "TXRCTS", "CAPEXINPUT", "UNDEFINED", "CAPEXOUTPUT", "ZEROEXPOUTPUT", "GOODSIMPORT", "NONEINPUT", "NOTREPORTED", "SROVRRS", "SROVRLVG", "SRLVG", "IM", "IMESS", "IMN33", "IMRE", "BADDEBTRECOVERY", "USSALESTAX", "BLINPUT3"])
|
312
313
|
unless validator.valid?(report_tax_type)
|
313
314
|
fail ArgumentError, "invalid value for \"report_tax_type\", must be one of #{validator.allowable_values}."
|
314
315
|
end
|
@@ -134,6 +134,9 @@ module XeroRuby::Accounting
|
|
134
134
|
IMREY24 ||= "IMREY24".freeze
|
135
135
|
BADDEBTRECOVERYY24 ||= "BADDEBTRECOVERYY24".freeze
|
136
136
|
OSOUTPUT2 ||= "OSOUTPUT2".freeze
|
137
|
+
BLINPUT3 ||= "BLINPUT3".freeze
|
138
|
+
BLINPUT3_Y23 ||= "BLINPUT3Y23".freeze
|
139
|
+
BLINPUT3_Y24 ||= "BLINPUT3Y24".freeze
|
137
140
|
|
138
141
|
# Builds the enum from string
|
139
142
|
# @param [String] The enum value in the form of the string
|
@@ -84,10 +84,10 @@ module XeroRuby::Accounting
|
|
84
84
|
|
85
85
|
# Contact legal name
|
86
86
|
attr_accessor :legal_name
|
87
|
-
|
87
|
+
|
88
88
|
# Contact business name
|
89
89
|
attr_accessor :business_name
|
90
|
-
|
90
|
+
|
91
91
|
# Contact federal tax classification
|
92
92
|
attr_accessor :federal_tax_classification
|
93
93
|
SOLE_PROPRIETOR ||= "SOLE_PROPRIETOR".freeze
|
@@ -97,7 +97,7 @@ module XeroRuby::Accounting
|
|
97
97
|
C_CORP ||= "C_CORP".freeze
|
98
98
|
S_CORP ||= "S_CORP".freeze
|
99
99
|
OTHER ||= "OTHER".freeze
|
100
|
-
|
100
|
+
|
101
101
|
class EnumAttributeValidator
|
102
102
|
attr_reader :datatype
|
103
103
|
attr_reader :allowable_values
|
data/lib/xero-ruby/version.rb
CHANGED
@@ -7,9 +7,9 @@ Contact: api@xero.com
|
|
7
7
|
Generated by: https://openapi-generator.tech
|
8
8
|
OpenAPI Generator version: 4.3.1
|
9
9
|
|
10
|
-
The version of the XeroOpenAPI document: 3.0.
|
10
|
+
The version of the XeroOpenAPI document: 3.0.3
|
11
11
|
=end
|
12
12
|
|
13
13
|
module XeroRuby
|
14
|
-
VERSION = '
|
14
|
+
VERSION = '6.0.0'
|
15
15
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xero-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 6.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Xero API Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|