xero-ruby 3.7.1 → 3.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ca9c97d0563f7c0afdfd394027980e8e1c03fa8b976e89897b81bb4c70a8516
4
- data.tar.gz: f664ff155e620b8b744ff781c7ee3292e44c0f272df4f1b2b9436a073cdaf599
3
+ metadata.gz: 75af1820f1d3b35e5ac8a976f22d8d6c896c3dd45a4ea6bcf562b24504142720
4
+ data.tar.gz: 855c2f664f7bc9338841039b6d69a801b2174afd746f930bcd4eeab5484ad233
5
5
  SHA512:
6
- metadata.gz: 416eb3d2e28e3cd3be72fed48695f767f6c2e6db156cddbded08fd6c514efa7a9e6ce8f006d4eec5d81d18729c2c65f573f83b9d3897cc748f14d5557521bf4d
7
- data.tar.gz: 0f405451c84c1f83ea23639e3c2648a905313cced2a482604af726f307c7ed8421c1dbea3bb38cfd780fe01dc07143367484bd2e09292361e9aaee11c70e19a3
6
+ metadata.gz: 4490ca0e3eba0d2742efea088d156fd2767ec6deab4415b52ad0a331ff8e3bae2c454a4029ae89161bb1ce9ed716acd84b765b96526fe3da60dbe4704193c534
7
+ data.tar.gz: 0c7b16fda59acf6a952990adcba9c62aba66201884d19a595107d934252c2d0f6a2910c107d16b2e6a142d31eb8fffe9161db380654525d94d68967bbd87f800
@@ -9952,6 +9952,81 @@ module XeroRuby
9952
9952
  return data, status_code, headers
9953
9953
  end
9954
9954
 
9955
+ # Retrieves a specific journal using a unique journal number.
9956
+ # @param xero_tenant_id [String] Xero identifier for Tenant
9957
+ # @param journal_number [Integer] Number of a Journal
9958
+ # @param [Hash] opts the optional parameters
9959
+ # @return [Journals]
9960
+ def get_journal_by_number(xero_tenant_id, journal_number, opts = {})
9961
+ data, _status_code, _headers = get_journal_by_number_with_http_info(xero_tenant_id, journal_number, opts)
9962
+ data
9963
+ end
9964
+
9965
+ # Retrieves a specific journal using a unique journal number.
9966
+ # @param xero_tenant_id [String] Xero identifier for Tenant
9967
+ # @param journal_number [Integer] Number of a Journal
9968
+ # @param [Hash] opts the optional parameters
9969
+ # @return [Array<(Journals, Integer, Hash)>] Journals data, response status code and response headers
9970
+ def get_journal_by_number_with_http_info(xero_tenant_id, journal_number, options = {})
9971
+ opts = options.dup
9972
+ if @api_client.config.debugging
9973
+ @api_client.config.logger.debug 'Calling API: AccountingApi.get_journal_by_number ...'
9974
+ end
9975
+ # verify the required parameter 'xero_tenant_id' is set
9976
+ if @api_client.config.client_side_validation && xero_tenant_id.nil?
9977
+ fail ArgumentError, "Missing the required parameter 'xero_tenant_id' when calling AccountingApi.get_journal_by_number"
9978
+ end
9979
+ # verify the required parameter 'journal_number' is set
9980
+ if @api_client.config.client_side_validation && journal_number.nil?
9981
+ fail ArgumentError, "Missing the required parameter 'journal_number' when calling AccountingApi.get_journal_by_number"
9982
+ end
9983
+ # resource path
9984
+ local_var_path = '/Journals/{JournalNumber}'.sub('{' + 'JournalNumber' + '}', journal_number.to_s)
9985
+
9986
+ # camelize keys of incoming `where` opts
9987
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
9988
+
9989
+ # query parameters
9990
+ query_params = opts[:query_params] || {}
9991
+
9992
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
9993
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
9994
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
9995
+
9996
+ # header parameters
9997
+ header_params = opts[:header_params] || {}
9998
+ # HTTP header 'Accept' (if needed)
9999
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
10000
+ header_params[:'xero-tenant-id'] = xero_tenant_id
10001
+
10002
+ # form parameters
10003
+ form_params = opts[:form_params] || {}
10004
+
10005
+ # http body (model)
10006
+ post_body = opts[:body]
10007
+
10008
+ # return_type
10009
+ return_type = opts[:return_type] || 'Journals'
10010
+
10011
+ # auth_names
10012
+ auth_names = opts[:auth_names] || ['OAuth2']
10013
+
10014
+ new_options = opts.merge(
10015
+ :header_params => header_params,
10016
+ :query_params => query_params,
10017
+ :form_params => form_params,
10018
+ :body => post_body,
10019
+ :auth_names => auth_names,
10020
+ :return_type => return_type
10021
+ )
10022
+
10023
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
10024
+ if @api_client.config.debugging
10025
+ @api_client.config.logger.debug "API called: AccountingApi#get_journal_by_number\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
10026
+ end
10027
+ return data, status_code, headers
10028
+ end
10029
+
9955
10030
  # Retrieves journals
9956
10031
  # @param xero_tenant_id [String] Xero identifier for Tenant
9957
10032
  # @param [Hash] opts the optional parameters
@@ -93,6 +93,91 @@ module XeroRuby
93
93
  return data, status_code, headers
94
94
  end
95
95
 
96
+ # Allows you to create a task
97
+ # Allows you to create a specific task
98
+ # @param xero_tenant_id [String] Xero identifier for Tenant
99
+ # @param project_id [String] You can create a task on a specified projectId
100
+ # @param task_create_or_update [TaskCreateOrUpdate] The task object you are creating
101
+ # @param [Hash] opts the optional parameters
102
+ # @return [nil]
103
+ def create_task(xero_tenant_id, project_id, task_create_or_update, opts = {})
104
+ create_task_with_http_info(xero_tenant_id, project_id, task_create_or_update, opts)
105
+ nil
106
+ end
107
+
108
+ # Allows you to create a task
109
+ # Allows you to create a specific task
110
+ # @param xero_tenant_id [String] Xero identifier for Tenant
111
+ # @param project_id [String] You can create a task on a specified projectId
112
+ # @param task_create_or_update [TaskCreateOrUpdate] The task object you are creating
113
+ # @param [Hash] opts the optional parameters
114
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
115
+ def create_task_with_http_info(xero_tenant_id, project_id, task_create_or_update, options = {})
116
+ opts = options.dup
117
+ if @api_client.config.debugging
118
+ @api_client.config.logger.debug 'Calling API: ProjectApi.create_task ...'
119
+ end
120
+ # verify the required parameter 'xero_tenant_id' is set
121
+ if @api_client.config.client_side_validation && xero_tenant_id.nil?
122
+ fail ArgumentError, "Missing the required parameter 'xero_tenant_id' when calling ProjectApi.create_task"
123
+ end
124
+ # verify the required parameter 'project_id' is set
125
+ if @api_client.config.client_side_validation && project_id.nil?
126
+ fail ArgumentError, "Missing the required parameter 'project_id' when calling ProjectApi.create_task"
127
+ end
128
+ # verify the required parameter 'task_create_or_update' is set
129
+ if @api_client.config.client_side_validation && task_create_or_update.nil?
130
+ fail ArgumentError, "Missing the required parameter 'task_create_or_update' when calling ProjectApi.create_task"
131
+ end
132
+ # resource path
133
+ local_var_path = '/Projects/{projectId}/Tasks'.sub('{' + 'projectId' + '}', project_id.to_s)
134
+
135
+ # camelize keys of incoming `where` opts
136
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
137
+
138
+ # query parameters
139
+ query_params = opts[:query_params] || {}
140
+
141
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
142
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
143
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
144
+
145
+ # header parameters
146
+ header_params = opts[:header_params] || {}
147
+ # HTTP header 'Accept' (if needed)
148
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
149
+ # HTTP header 'Content-Type'
150
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
151
+ header_params[:'Xero-Tenant-Id'] = xero_tenant_id
152
+
153
+ # form parameters
154
+ form_params = opts[:form_params] || {}
155
+
156
+ # http body (model)
157
+ post_body = opts[:body] || @api_client.object_to_http_body(task_create_or_update)
158
+
159
+ # return_type
160
+ return_type = opts[:return_type]
161
+
162
+ # auth_names
163
+ auth_names = opts[:auth_names] || ['OAuth2']
164
+
165
+ new_options = opts.merge(
166
+ :header_params => header_params,
167
+ :query_params => query_params,
168
+ :form_params => form_params,
169
+ :body => post_body,
170
+ :auth_names => auth_names,
171
+ :return_type => return_type
172
+ )
173
+
174
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, "ProjectApi", new_options)
175
+ if @api_client.config.debugging
176
+ @api_client.config.logger.debug "API called: ProjectApi#create_task\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
177
+ end
178
+ return data, status_code, headers
179
+ end
180
+
96
181
  # Creates a time entry for a specific project
97
182
  # Allows you to create a specific task
98
183
  # @param xero_tenant_id [String] Xero identifier for Tenant
@@ -178,6 +263,89 @@ module XeroRuby
178
263
  return data, status_code, headers
179
264
  end
180
265
 
266
+ # Allows you to delete a task
267
+ # Allows you to delete a specific task
268
+ # @param xero_tenant_id [String] Xero identifier for Tenant
269
+ # @param project_id [String] You can specify an individual project by appending the projectId to the endpoint
270
+ # @param task_id [String] You can specify an individual task by appending the id to the endpoint
271
+ # @param [Hash] opts the optional parameters
272
+ # @return [nil]
273
+ def delete_task(xero_tenant_id, project_id, task_id, opts = {})
274
+ delete_task_with_http_info(xero_tenant_id, project_id, task_id, opts)
275
+ nil
276
+ end
277
+
278
+ # Allows you to delete a task
279
+ # Allows you to delete a specific task
280
+ # @param xero_tenant_id [String] Xero identifier for Tenant
281
+ # @param project_id [String] You can specify an individual project by appending the projectId to the endpoint
282
+ # @param task_id [String] You can specify an individual task by appending the id to the endpoint
283
+ # @param [Hash] opts the optional parameters
284
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
285
+ def delete_task_with_http_info(xero_tenant_id, project_id, task_id, options = {})
286
+ opts = options.dup
287
+ if @api_client.config.debugging
288
+ @api_client.config.logger.debug 'Calling API: ProjectApi.delete_task ...'
289
+ end
290
+ # verify the required parameter 'xero_tenant_id' is set
291
+ if @api_client.config.client_side_validation && xero_tenant_id.nil?
292
+ fail ArgumentError, "Missing the required parameter 'xero_tenant_id' when calling ProjectApi.delete_task"
293
+ end
294
+ # verify the required parameter 'project_id' is set
295
+ if @api_client.config.client_side_validation && project_id.nil?
296
+ fail ArgumentError, "Missing the required parameter 'project_id' when calling ProjectApi.delete_task"
297
+ end
298
+ # verify the required parameter 'task_id' is set
299
+ if @api_client.config.client_side_validation && task_id.nil?
300
+ fail ArgumentError, "Missing the required parameter 'task_id' when calling ProjectApi.delete_task"
301
+ end
302
+ # resource path
303
+ local_var_path = '/Projects/{projectId}/Tasks/{taskId}'.sub('{' + 'projectId' + '}', project_id.to_s).sub('{' + 'taskId' + '}', task_id.to_s)
304
+
305
+ # camelize keys of incoming `where` opts
306
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
307
+
308
+ # query parameters
309
+ query_params = opts[:query_params] || {}
310
+
311
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
312
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
313
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
314
+
315
+ # header parameters
316
+ header_params = opts[:header_params] || {}
317
+ # HTTP header 'Accept' (if needed)
318
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
319
+ header_params[:'Xero-Tenant-Id'] = xero_tenant_id
320
+
321
+ # form parameters
322
+ form_params = opts[:form_params] || {}
323
+
324
+ # http body (model)
325
+ post_body = opts[:body]
326
+
327
+ # return_type
328
+ return_type = opts[:return_type]
329
+
330
+ # auth_names
331
+ auth_names = opts[:auth_names] || ['OAuth2']
332
+
333
+ new_options = opts.merge(
334
+ :header_params => header_params,
335
+ :query_params => query_params,
336
+ :form_params => form_params,
337
+ :body => post_body,
338
+ :auth_names => auth_names,
339
+ :return_type => return_type
340
+ )
341
+
342
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, "ProjectApi", new_options)
343
+ if @api_client.config.debugging
344
+ @api_client.config.logger.debug "API called: ProjectApi#delete_task\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
345
+ end
346
+ return data, status_code, headers
347
+ end
348
+
181
349
  # Deletes a time entry for a specific project
182
350
  # Allows you to delete a specific time entry
183
351
  # @param xero_tenant_id [String] Xero identifier for Tenant
@@ -229,6 +397,8 @@ module XeroRuby
229
397
 
230
398
  # header parameters
231
399
  header_params = opts[:header_params] || {}
400
+ # HTTP header 'Accept' (if needed)
401
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
232
402
  header_params[:'Xero-Tenant-Id'] = xero_tenant_id
233
403
 
234
404
  # form parameters
@@ -1047,6 +1217,97 @@ module XeroRuby
1047
1217
  return data, status_code, headers
1048
1218
  end
1049
1219
 
1220
+ # Allows you to update a task
1221
+ # Allows you to update a specific task
1222
+ # @param xero_tenant_id [String] Xero identifier for Tenant
1223
+ # @param project_id [String] You can specify an individual project by appending the projectId to the endpoint
1224
+ # @param task_id [String] You can specify an individual task by appending the id to the endpoint
1225
+ # @param task_create_or_update [TaskCreateOrUpdate] The task object you are updating
1226
+ # @param [Hash] opts the optional parameters
1227
+ # @return [nil]
1228
+ def update_task(xero_tenant_id, project_id, task_id, task_create_or_update, opts = {})
1229
+ update_task_with_http_info(xero_tenant_id, project_id, task_id, task_create_or_update, opts)
1230
+ nil
1231
+ end
1232
+
1233
+ # Allows you to update a task
1234
+ # Allows you to update a specific task
1235
+ # @param xero_tenant_id [String] Xero identifier for Tenant
1236
+ # @param project_id [String] You can specify an individual project by appending the projectId to the endpoint
1237
+ # @param task_id [String] You can specify an individual task by appending the id to the endpoint
1238
+ # @param task_create_or_update [TaskCreateOrUpdate] The task object you are updating
1239
+ # @param [Hash] opts the optional parameters
1240
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
1241
+ def update_task_with_http_info(xero_tenant_id, project_id, task_id, task_create_or_update, options = {})
1242
+ opts = options.dup
1243
+ if @api_client.config.debugging
1244
+ @api_client.config.logger.debug 'Calling API: ProjectApi.update_task ...'
1245
+ end
1246
+ # verify the required parameter 'xero_tenant_id' is set
1247
+ if @api_client.config.client_side_validation && xero_tenant_id.nil?
1248
+ fail ArgumentError, "Missing the required parameter 'xero_tenant_id' when calling ProjectApi.update_task"
1249
+ end
1250
+ # verify the required parameter 'project_id' is set
1251
+ if @api_client.config.client_side_validation && project_id.nil?
1252
+ fail ArgumentError, "Missing the required parameter 'project_id' when calling ProjectApi.update_task"
1253
+ end
1254
+ # verify the required parameter 'task_id' is set
1255
+ if @api_client.config.client_side_validation && task_id.nil?
1256
+ fail ArgumentError, "Missing the required parameter 'task_id' when calling ProjectApi.update_task"
1257
+ end
1258
+ # verify the required parameter 'task_create_or_update' is set
1259
+ if @api_client.config.client_side_validation && task_create_or_update.nil?
1260
+ fail ArgumentError, "Missing the required parameter 'task_create_or_update' when calling ProjectApi.update_task"
1261
+ end
1262
+ # resource path
1263
+ local_var_path = '/Projects/{projectId}/Tasks/{taskId}'.sub('{' + 'projectId' + '}', project_id.to_s).sub('{' + 'taskId' + '}', task_id.to_s)
1264
+
1265
+ # camelize keys of incoming `where` opts
1266
+ opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
1267
+
1268
+ # query parameters
1269
+ query_params = opts[:query_params] || {}
1270
+
1271
+ # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
1272
+ query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
1273
+ query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
1274
+
1275
+ # header parameters
1276
+ header_params = opts[:header_params] || {}
1277
+ # HTTP header 'Accept' (if needed)
1278
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1279
+ # HTTP header 'Content-Type'
1280
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1281
+ header_params[:'Xero-Tenant-Id'] = xero_tenant_id
1282
+
1283
+ # form parameters
1284
+ form_params = opts[:form_params] || {}
1285
+
1286
+ # http body (model)
1287
+ post_body = opts[:body] || @api_client.object_to_http_body(task_create_or_update)
1288
+
1289
+ # return_type
1290
+ return_type = opts[:return_type]
1291
+
1292
+ # auth_names
1293
+ auth_names = opts[:auth_names] || ['OAuth2']
1294
+
1295
+ new_options = opts.merge(
1296
+ :header_params => header_params,
1297
+ :query_params => query_params,
1298
+ :form_params => form_params,
1299
+ :body => post_body,
1300
+ :auth_names => auth_names,
1301
+ :return_type => return_type
1302
+ )
1303
+
1304
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, "ProjectApi", new_options)
1305
+ if @api_client.config.debugging
1306
+ @api_client.config.logger.debug "API called: ProjectApi#update_task\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1307
+ end
1308
+ return data, status_code, headers
1309
+ end
1310
+
1050
1311
  # Updates a time entry for a specific project
1051
1312
  # Allows you to update time entry in a project
1052
1313
  # @param xero_tenant_id [String] Xero identifier for Tenant
@@ -1104,6 +1365,8 @@ module XeroRuby
1104
1365
 
1105
1366
  # header parameters
1106
1367
  header_params = opts[:header_params] || {}
1368
+ # HTTP header 'Accept' (if needed)
1369
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1107
1370
  # HTTP header 'Content-Type'
1108
1371
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1109
1372
  header_params[:'Xero-Tenant-Id'] = xero_tenant_id
@@ -166,6 +166,7 @@ module XeroRuby::Accounting
166
166
  LEDGER ||= "LEDGER".freeze
167
167
  GST_CASHBOOK ||= "GST_CASHBOOK".freeze
168
168
  NON_GST_CASHBOOK ||= "NON_GST_CASHBOOK".freeze
169
+ ULTIMATE ||= "ULTIMATE".freeze
169
170
 
170
171
  # BUSINESS or PARTNER. Partner edition organisations are sold exclusively through accounting partners and have restricted functionality (e.g. no access to invoicing)
171
172
  attr_accessor :edition
@@ -461,7 +462,7 @@ module XeroRuby::Accounting
461
462
  return false unless sales_tax_period_validator.valid?(@sales_tax_period)
462
463
  organisation_entity_type_validator = EnumAttributeValidator.new('String', ["ACCOUNTING_PRACTICE", "COMPANY", "CHARITY", "CLUB_OR_SOCIETY", "INDIVIDUAL", "LOOK_THROUGH_COMPANY", "NOT_FOR_PROFIT", "PARTNERSHIP", "S_CORPORATION", "SELF_MANAGED_SUPERANNUATION_FUND", "SOLE_TRADER", "SUPERANNUATION_FUND", "TRUST"])
463
464
  return false unless organisation_entity_type_validator.valid?(@organisation_entity_type)
464
- _class_validator = EnumAttributeValidator.new('String', ["DEMO", "TRIAL", "STARTER", "STANDARD", "PREMIUM", "PREMIUM_20", "PREMIUM_50", "PREMIUM_100", "LEDGER", "GST_CASHBOOK", "NON_GST_CASHBOOK"])
465
+ _class_validator = EnumAttributeValidator.new('String', ["DEMO", "TRIAL", "STARTER", "STANDARD", "PREMIUM", "PREMIUM_20", "PREMIUM_50", "PREMIUM_100", "LEDGER", "GST_CASHBOOK", "NON_GST_CASHBOOK", "ULTIMATE"])
465
466
  return false unless _class_validator.valid?(@_class)
466
467
  edition_validator = EnumAttributeValidator.new('String', ["BUSINESS", "PARTNER"])
467
468
  return false unless edition_validator.valid?(@edition)
@@ -521,7 +522,7 @@ module XeroRuby::Accounting
521
522
  # Custom attribute writer method checking allowed values (enum).
522
523
  # @param [Object] _class Object to be assigned
523
524
  def _class=(_class)
524
- validator = EnumAttributeValidator.new('String', ["DEMO", "TRIAL", "STARTER", "STANDARD", "PREMIUM", "PREMIUM_20", "PREMIUM_50", "PREMIUM_100", "LEDGER", "GST_CASHBOOK", "NON_GST_CASHBOOK"])
525
+ validator = EnumAttributeValidator.new('String', ["DEMO", "TRIAL", "STARTER", "STANDARD", "PREMIUM", "PREMIUM_20", "PREMIUM_50", "PREMIUM_100", "LEDGER", "GST_CASHBOOK", "NON_GST_CASHBOOK", "ULTIMATE"])
525
526
  unless validator.valid?(_class)
526
527
  fail ArgumentError, "invalid value for \"_class\", must be one of #{validator.allowable_values}."
527
528
  end
@@ -108,6 +108,14 @@ module XeroRuby::Accounting
108
108
  ZRINPUT ||= "ZRINPUT".freeze
109
109
  BADDEBT ||= "BADDEBT".freeze
110
110
  OTHERINPUT ||= "OTHERINPUT".freeze
111
+ BADDEBTRELIEF ||= "BADDEBTRELIEF".freeze
112
+ IGDSINPUT3 ||= "IGDSINPUT3".freeze
113
+ SROVR ||= "SROVR".freeze
114
+ TOURISTREFUND ||= "TOURISTREFUND".freeze
115
+ TXRCN33_INPUT ||= "TXRCN33INPUT".freeze
116
+ TXRCREINPUT ||= "TXRCREINPUT".freeze
117
+ TXRCESSINPUT ||= "TXRCESSINPUT".freeze
118
+ TXRCTSINPUT ||= "TXRCTSINPUT".freeze
111
119
 
112
120
  # Boolean to describe if tax rate can be used for asset accounts i.e. true,false
113
121
  attr_accessor :can_apply_to_assets
@@ -266,7 +274,7 @@ module XeroRuby::Accounting
266
274
  def valid?
267
275
  status_validator = EnumAttributeValidator.new('String', ["ACTIVE", "DELETED", "ARCHIVED", "PENDING"])
268
276
  return false unless status_validator.valid?(@status)
269
- 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"])
277
+ 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", "TXRCN33INPUT", "TXRCREINPUT", "TXRCESSINPUT", "TXRCTSINPUT"])
270
278
  return false unless report_tax_type_validator.valid?(@report_tax_type)
271
279
  true
272
280
  end
@@ -284,7 +292,7 @@ module XeroRuby::Accounting
284
292
  # Custom attribute writer method checking allowed values (enum).
285
293
  # @param [Object] report_tax_type Object to be assigned
286
294
  def report_tax_type=(report_tax_type)
287
- 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"])
295
+ 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", "TXRCN33INPUT", "TXRCREINPUT", "TXRCESSINPUT", "TXRCTSINPUT"])
288
296
  unless validator.valid?(report_tax_type)
289
297
  fail ArgumentError, "invalid value for \"report_tax_type\", must be one of #{validator.allowable_values}."
290
298
  end
@@ -73,6 +73,14 @@ module XeroRuby::Accounting
73
73
  DRCHARGE20 ||= "DRCHARGE20".freeze
74
74
  DRCHARGESUPPLY5 ||= "DRCHARGESUPPLY5".freeze
75
75
  DRCHARGE5 ||= "DRCHARGE5".freeze
76
+ BADDEBTRELIEF ||= "BADDEBTRELIEF".freeze
77
+ IGDSINPUT3 ||= "IGDSINPUT3".freeze
78
+ SROVR ||= "SROVR".freeze
79
+ TOURISTREFUND ||= "TOURISTREFUND".freeze
80
+ TXRCN33_INPUT ||= "TXRCN33INPUT".freeze
81
+ TXRCREINPUT ||= "TXRCREINPUT".freeze
82
+ TXRCESSINPUT ||= "TXRCESSINPUT".freeze
83
+ TXRCTSINPUT ||= "TXRCTSINPUT".freeze
76
84
 
77
85
  # Builds the enum from string
78
86
  # @param [String] The enum value in the form of the string
@@ -22,13 +22,17 @@ module XeroRuby::AppStore
22
22
  # The name of the product
23
23
  attr_accessor :name
24
24
 
25
- # The pricing model of the product: * FIXED: Customers are charged a fixed amount for each billing period * PER_SEAT: Customers are charged based on the number of units they purchase
25
+ # The unit of the per seat product. e.g. \"user\", \"organisation\", \"SMS\", etc
26
+ attr_accessor :seat_unit
27
+
28
+ # The pricing model of the product: * FIXED: Customers are charged a fixed amount for each billing period * PER_SEAT: Customers are charged based on the number of units they purchase * METERED: Customers are charged per use of this product
26
29
  attr_accessor :type
27
30
  FIXED ||= "FIXED".freeze
28
31
  PER_SEAT ||= "PER_SEAT".freeze
32
+ METERED ||= "METERED".freeze
29
33
 
30
- # The unit of the per seat product. e.g. \"user\", \"organisation\", \"SMS\", etc
31
- attr_accessor :seat_unit
34
+ # The unit of the usage product. e.g. \"user\", \"minutes\", \"SMS\", etc
35
+ attr_accessor :usage_unit
32
36
 
33
37
  class EnumAttributeValidator
34
38
  attr_reader :datatype
@@ -57,8 +61,9 @@ module XeroRuby::AppStore
57
61
  {
58
62
  :'id' => :'id',
59
63
  :'name' => :'name',
64
+ :'seat_unit' => :'seatUnit',
60
65
  :'type' => :'type',
61
- :'seat_unit' => :'seatUnit'
66
+ :'usage_unit' => :'usageUnit'
62
67
  }
63
68
  end
64
69
 
@@ -67,8 +72,9 @@ module XeroRuby::AppStore
67
72
  {
68
73
  :'id' => :'String',
69
74
  :'name' => :'String',
75
+ :'seat_unit' => :'String',
70
76
  :'type' => :'String',
71
- :'seat_unit' => :'String'
77
+ :'usage_unit' => :'String'
72
78
  }
73
79
  end
74
80
 
@@ -95,12 +101,16 @@ module XeroRuby::AppStore
95
101
  self.name = attributes[:'name']
96
102
  end
97
103
 
104
+ if attributes.key?(:'seat_unit')
105
+ self.seat_unit = attributes[:'seat_unit']
106
+ end
107
+
98
108
  if attributes.key?(:'type')
99
109
  self.type = attributes[:'type']
100
110
  end
101
111
 
102
- if attributes.key?(:'seat_unit')
103
- self.seat_unit = attributes[:'seat_unit']
112
+ if attributes.key?(:'usage_unit')
113
+ self.usage_unit = attributes[:'usage_unit']
104
114
  end
105
115
  end
106
116
 
@@ -114,7 +124,7 @@ module XeroRuby::AppStore
114
124
  # Check to see if the all the properties in the model are valid
115
125
  # @return true if the model is valid
116
126
  def valid?
117
- type_validator = EnumAttributeValidator.new('String', ["FIXED", "PER_SEAT"])
127
+ type_validator = EnumAttributeValidator.new('String', ["FIXED", "PER_SEAT", "METERED"])
118
128
  return false unless type_validator.valid?(@type)
119
129
  true
120
130
  end
@@ -122,7 +132,7 @@ module XeroRuby::AppStore
122
132
  # Custom attribute writer method checking allowed values (enum).
123
133
  # @param [Object] type Object to be assigned
124
134
  def type=(type)
125
- validator = EnumAttributeValidator.new('String', ["FIXED", "PER_SEAT"])
135
+ validator = EnumAttributeValidator.new('String', ["FIXED", "PER_SEAT", "METERED"])
126
136
  unless validator.valid?(type)
127
137
  fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
128
138
  end
@@ -136,8 +146,9 @@ module XeroRuby::AppStore
136
146
  self.class == o.class &&
137
147
  id == o.id &&
138
148
  name == o.name &&
149
+ seat_unit == o.seat_unit &&
139
150
  type == o.type &&
140
- seat_unit == o.seat_unit
151
+ usage_unit == o.usage_unit
141
152
  end
142
153
 
143
154
  # @see the `==` method
@@ -149,7 +160,7 @@ module XeroRuby::AppStore
149
160
  # Calculates hash code according to all attributes.
150
161
  # @return [Integer] Hash code
151
162
  def hash
152
- [id, name, type, seat_unit].hash
163
+ [id, name, seat_unit, type, usage_unit].hash
153
164
  end
154
165
 
155
166
  # Builds the object from hash
@@ -28,6 +28,9 @@ module XeroRuby::AppStore
28
28
 
29
29
  attr_accessor :product
30
30
 
31
+ # The quantity of the item. For a fixed product, it is 1. For a per-seat product, it is a positive integer. For metered products, it is always null.
32
+ attr_accessor :quantity
33
+
31
34
  # Date the subscription started, or will start. Note: this could be in the future for downgrades or reduced number of seats that haven't taken effect yet.
32
35
  attr_accessor :start_date
33
36
 
@@ -69,6 +72,7 @@ module XeroRuby::AppStore
69
72
  :'id' => :'id',
70
73
  :'price' => :'price',
71
74
  :'product' => :'product',
75
+ :'quantity' => :'quantity',
72
76
  :'start_date' => :'startDate',
73
77
  :'status' => :'status',
74
78
  :'test_mode' => :'testMode'
@@ -82,6 +86,7 @@ module XeroRuby::AppStore
82
86
  :'id' => :'String',
83
87
  :'price' => :'Price',
84
88
  :'product' => :'Product',
89
+ :'quantity' => :'Integer',
85
90
  :'start_date' => :'DateTime',
86
91
  :'status' => :'String',
87
92
  :'test_mode' => :'Boolean'
@@ -119,6 +124,10 @@ module XeroRuby::AppStore
119
124
  self.product = attributes[:'product']
120
125
  end
121
126
 
127
+ if attributes.key?(:'quantity')
128
+ self.quantity = attributes[:'quantity']
129
+ end
130
+
122
131
  if attributes.key?(:'start_date')
123
132
  self.start_date = attributes[:'start_date']
124
133
  end
@@ -191,6 +200,7 @@ module XeroRuby::AppStore
191
200
  id == o.id &&
192
201
  price == o.price &&
193
202
  product == o.product &&
203
+ quantity == o.quantity &&
194
204
  start_date == o.start_date &&
195
205
  status == o.status &&
196
206
  test_mode == o.test_mode
@@ -205,7 +215,7 @@ module XeroRuby::AppStore
205
215
  # Calculates hash code according to all attributes.
206
216
  # @return [Integer] Hash code
207
217
  def hash
208
- [end_date, id, price, product, start_date, status, test_mode].hash
218
+ [end_date, id, price, product, quantity, start_date, status, test_mode].hash
209
219
  end
210
220
 
211
221
  # Builds the object from hash
@@ -28,9 +28,15 @@ module XeroRuby::Finance
28
28
  # Utc date time of when the statement was imported in Xero
29
29
  attr_accessor :imported_date_time_utc
30
30
 
31
- # Import source of statement (STMTIMPORTSRC/MANUAL, STMTIMPORTSRC/CSV, STMTIMPORTSRC/QIF, STMTIMPORTSRC/OFX, XeroApi)
31
+ # Indicates the source of the statement data. Either imported from 1) direct bank feed OR 2) manual customer entry or upload. Manual import sources are STMTIMPORTSRC/MANUAL, STMTIMPORTSRC/CSV, STMTIMPORTSRC/OFX, Ofx or STMTIMPORTSRC/QIF. All other import sources are direct and, depending on the direct solution, may contain the name of the financial institution.
32
32
  attr_accessor :import_source
33
33
 
34
+ # Opening balance sourced from imported bank statements (if supplied). Note, for manually uploaded statements, this balance is also manual and usually not supplied.
35
+ attr_accessor :start_balance
36
+
37
+ # Closing balance sourced from imported bank statements (if supplied). Note, for manually uploaded statements, this balance is also manual and usually not supplied.
38
+ attr_accessor :end_balance
39
+
34
40
  # List of statement lines
35
41
  attr_accessor :statement_lines
36
42
 
@@ -42,6 +48,8 @@ module XeroRuby::Finance
42
48
  :'end_date' => :'endDate',
43
49
  :'imported_date_time_utc' => :'importedDateTimeUtc',
44
50
  :'import_source' => :'importSource',
51
+ :'start_balance' => :'startBalance',
52
+ :'end_balance' => :'endBalance',
45
53
  :'statement_lines' => :'statementLines'
46
54
  }
47
55
  end
@@ -54,6 +62,8 @@ module XeroRuby::Finance
54
62
  :'end_date' => :'Date',
55
63
  :'imported_date_time_utc' => :'DateTime',
56
64
  :'import_source' => :'String',
65
+ :'start_balance' => :'BigDecimal',
66
+ :'end_balance' => :'BigDecimal',
57
67
  :'statement_lines' => :'Array<StatementLineResponse>'
58
68
  }
59
69
  end
@@ -93,6 +103,14 @@ module XeroRuby::Finance
93
103
  self.import_source = attributes[:'import_source']
94
104
  end
95
105
 
106
+ if attributes.key?(:'start_balance')
107
+ self.start_balance = attributes[:'start_balance']
108
+ end
109
+
110
+ if attributes.key?(:'end_balance')
111
+ self.end_balance = attributes[:'end_balance']
112
+ end
113
+
96
114
  if attributes.key?(:'statement_lines')
97
115
  if (value = attributes[:'statement_lines']).is_a?(Array)
98
116
  self.statement_lines = value
@@ -123,6 +141,8 @@ module XeroRuby::Finance
123
141
  end_date == o.end_date &&
124
142
  imported_date_time_utc == o.imported_date_time_utc &&
125
143
  import_source == o.import_source &&
144
+ start_balance == o.start_balance &&
145
+ end_balance == o.end_balance &&
126
146
  statement_lines == o.statement_lines
127
147
  end
128
148
 
@@ -135,7 +155,7 @@ module XeroRuby::Finance
135
155
  # Calculates hash code according to all attributes.
136
156
  # @return [Integer] Hash code
137
157
  def hash
138
- [statement_id, start_date, end_date, imported_date_time_utc, import_source, statement_lines].hash
158
+ [statement_id, start_date, end_date, imported_date_time_utc, import_source, start_balance, end_balance, statement_lines].hash
139
159
  end
140
160
 
141
161
  # Builds the object from hash
@@ -30,11 +30,16 @@ module XeroRuby::PayrollUk
30
30
  A ||= "A".freeze
31
31
  B ||= "B".freeze
32
32
  C ||= "C".freeze
33
+ F ||= "F".freeze
33
34
  H ||= "H".freeze
35
+ I ||= "I".freeze
34
36
  J ||= "J".freeze
37
+ L ||= "L".freeze
35
38
  M ||= "M".freeze
36
- Z ||= "Z".freeze
39
+ S ||= "S".freeze
40
+ V ||= "V".freeze
37
41
  X ||= "X".freeze
42
+ Z ||= "Z".freeze
38
43
 
39
44
  class EnumAttributeValidator
40
45
  attr_reader :datatype
@@ -120,7 +125,7 @@ module XeroRuby::PayrollUk
120
125
  # Check to see if the all the properties in the model are valid
121
126
  # @return true if the model is valid
122
127
  def valid?
123
- ni_category_validator = EnumAttributeValidator.new('String', ["A", "B", "C", "H", "J", "M", "Z", "X"])
128
+ ni_category_validator = EnumAttributeValidator.new('String', ["A", "B", "C", "F", "H", "I", "J", "L", "M", "S", "V", "X", "Z"])
124
129
  return false unless ni_category_validator.valid?(@ni_category)
125
130
  true
126
131
  end
@@ -128,7 +133,7 @@ module XeroRuby::PayrollUk
128
133
  # Custom attribute writer method checking allowed values (enum).
129
134
  # @param [Object] ni_category Object to be assigned
130
135
  def ni_category=(ni_category)
131
- validator = EnumAttributeValidator.new('String', ["A", "B", "C", "H", "J", "M", "Z", "X"])
136
+ validator = EnumAttributeValidator.new('String', ["A", "B", "C", "F", "H", "I", "J", "L", "M", "S", "V", "X", "Z"])
132
137
  unless validator.valid?(ni_category)
133
138
  fail ArgumentError, "invalid value for \"ni_category\", must be one of #{validator.allowable_values}."
134
139
  end
@@ -114,14 +114,14 @@ module XeroRuby::Projects
114
114
  :'name' => :'String',
115
115
  :'rate' => :'Amount',
116
116
  :'charge_type' => :'ChargeType',
117
- :'estimate_minutes' => :'Float',
117
+ :'estimate_minutes' => :'Integer',
118
118
  :'project_id' => :'String',
119
- :'total_minutes' => :'Float',
119
+ :'total_minutes' => :'Integer',
120
120
  :'total_amount' => :'Amount',
121
- :'minutes_invoiced' => :'Float',
122
- :'minutes_to_be_invoiced' => :'Float',
123
- :'fixed_minutes' => :'Float',
124
- :'non_chargeable_minutes' => :'Float',
121
+ :'minutes_invoiced' => :'Integer',
122
+ :'minutes_to_be_invoiced' => :'Integer',
123
+ :'fixed_minutes' => :'Integer',
124
+ :'non_chargeable_minutes' => :'Integer',
125
125
  :'amount_to_be_invoiced' => :'Amount',
126
126
  :'amount_invoiced' => :'Amount',
127
127
  :'status' => :'String'
@@ -25,7 +25,7 @@ module XeroRuby::Projects
25
25
 
26
26
  attr_accessor :charge_type
27
27
 
28
- # Estimated time to perform the task. EstimateMinutes has to be greater than 0 if provided.
28
+ # An estimated time to perform the task
29
29
  attr_accessor :estimate_minutes
30
30
 
31
31
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -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: 2.19.3
10
+ The version of the XeroOpenAPI document: 2.23.0
11
11
  =end
12
12
 
13
13
  module XeroRuby
14
- VERSION = '3.7.1'
14
+ VERSION = '3.10.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: 3.7.1
4
+ version: 3.10.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: 2022-03-15 00:00:00.000000000 Z
11
+ date: 2022-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -1107,7 +1107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1107
1107
  - !ruby/object:Gem::Version
1108
1108
  version: '0'
1109
1109
  requirements: []
1110
- rubygems_version: 3.2.3
1110
+ rubygems_version: 3.1.6
1111
1111
  signing_key:
1112
1112
  specification_version: 4
1113
1113
  summary: Xero Accounting API Ruby Gem