xero-ruby 3.13.0 → 3.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/xero-ruby/api/app_store_api.rb +238 -0
- data/lib/xero-ruby/models/accounting/line_item.rb +2 -2
- data/lib/xero-ruby/models/accounting/time_zone.rb +123 -91
- data/lib/xero-ruby/models/app_store/create_usage_record.rb +243 -0
- data/lib/xero-ruby/models/app_store/update_usage_record.rb +228 -0
- data/lib/xero-ruby/models/app_store/usage_record.rb +332 -0
- data/lib/xero-ruby/models/app_store/usage_records_list.rb +230 -0
- data/lib/xero-ruby/models/payroll_au/country_of_residence.rb +285 -0
- data/lib/xero-ruby/models/payroll_au/employee.rb +41 -1
- data/lib/xero-ruby/models/payroll_au/employment_basis.rb +1 -0
- data/lib/xero-ruby/models/payroll_au/employment_type.rb +36 -0
- data/lib/xero-ruby/models/payroll_au/income_type.rb +39 -0
- data/lib/xero-ruby/models/payroll_au/senior_marital_status.rb +37 -0
- data/lib/xero-ruby/models/payroll_au/settings.rb +14 -4
- data/lib/xero-ruby/models/payroll_au/tax_declaration.rb +41 -1
- data/lib/xero-ruby/models/payroll_au/tax_scale_type.rb +40 -0
- data/lib/xero-ruby/models/payroll_au/work_condition.rb +37 -0
- data/lib/xero-ruby/version.rb +2 -2
- data/lib/xero-ruby.rb +10 -0
- metadata +13 -3
@@ -0,0 +1,37 @@
|
|
1
|
+
=begin
|
2
|
+
#Xero Payroll AU API
|
3
|
+
|
4
|
+
#This is the Xero Payroll API for orgs in Australia region.
|
5
|
+
|
6
|
+
Contact: api@xero.com
|
7
|
+
Generated by: https://openapi-generator.tech
|
8
|
+
OpenAPI Generator version: 4.3.1
|
9
|
+
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'time'
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module XeroRuby::PayrollAu
|
16
|
+
class WorkCondition
|
17
|
+
PROMOTIONAL ||= "PROMOTIONAL".freeze
|
18
|
+
THREELESSPERFORMANCESPERWEEK ||= "THREELESSPERFORMANCESPERWEEK".freeze
|
19
|
+
NONE ||= "NONE".freeze
|
20
|
+
|
21
|
+
# Builds the enum from string
|
22
|
+
# @param [String] The enum value in the form of the string
|
23
|
+
# @return [String] The enum value
|
24
|
+
def self.build_from_hash(value)
|
25
|
+
new.build_from_hash(value)
|
26
|
+
end
|
27
|
+
|
28
|
+
# Builds the enum from string
|
29
|
+
# @param [String] The enum value in the form of the string
|
30
|
+
# @return [String] The enum value
|
31
|
+
def build_from_hash(value)
|
32
|
+
constantValues = WorkCondition.constants.select { |c| WorkCondition::const_get(c) == value }
|
33
|
+
raise "Invalid ENUM value #{value} for class #WorkCondition" if constantValues.empty?
|
34
|
+
value
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
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: 2.
|
10
|
+
The version of the XeroOpenAPI document: 2.31.0
|
11
11
|
=end
|
12
12
|
|
13
13
|
module XeroRuby
|
14
|
-
VERSION = '3.
|
14
|
+
VERSION = '3.15.0'
|
15
15
|
end
|
data/lib/xero-ruby.rb
CHANGED
@@ -72,12 +72,16 @@ require 'xero-ruby/models/finance/trial_balance_movement'
|
|
72
72
|
require 'xero-ruby/models/finance/trial_balance_response'
|
73
73
|
require 'xero-ruby/models/finance/user_activities_response'
|
74
74
|
require 'xero-ruby/models/finance/user_response'
|
75
|
+
require 'xero-ruby/models/app_store/create_usage_record'
|
75
76
|
require 'xero-ruby/models/app_store/plan'
|
76
77
|
require 'xero-ruby/models/app_store/price'
|
77
78
|
require 'xero-ruby/models/app_store/problem_details'
|
78
79
|
require 'xero-ruby/models/app_store/product'
|
79
80
|
require 'xero-ruby/models/app_store/subscription'
|
80
81
|
require 'xero-ruby/models/app_store/subscription_item'
|
82
|
+
require 'xero-ruby/models/app_store/update_usage_record'
|
83
|
+
require 'xero-ruby/models/app_store/usage_record'
|
84
|
+
require 'xero-ruby/models/app_store/usage_records_list'
|
81
85
|
require 'xero-ruby/models/payroll_uk/account'
|
82
86
|
require 'xero-ruby/models/payroll_uk/accounts'
|
83
87
|
require 'xero-ruby/models/payroll_uk/address'
|
@@ -274,6 +278,7 @@ require 'xero-ruby/models/payroll_au/allowance_category'
|
|
274
278
|
require 'xero-ruby/models/payroll_au/allowance_type'
|
275
279
|
require 'xero-ruby/models/payroll_au/bank_account'
|
276
280
|
require 'xero-ruby/models/payroll_au/calendar_type'
|
281
|
+
require 'xero-ruby/models/payroll_au/country_of_residence'
|
277
282
|
require 'xero-ruby/models/payroll_au/deduction_line'
|
278
283
|
require 'xero-ruby/models/payroll_au/deduction_type'
|
279
284
|
require 'xero-ruby/models/payroll_au/deduction_type_calculation_type'
|
@@ -286,8 +291,10 @@ require 'xero-ruby/models/payroll_au/employee_status'
|
|
286
291
|
require 'xero-ruby/models/payroll_au/employees'
|
287
292
|
require 'xero-ruby/models/payroll_au/employment_basis'
|
288
293
|
require 'xero-ruby/models/payroll_au/employment_termination_payment_type'
|
294
|
+
require 'xero-ruby/models/payroll_au/employment_type'
|
289
295
|
require 'xero-ruby/models/payroll_au/entitlement_final_pay_payout_type'
|
290
296
|
require 'xero-ruby/models/payroll_au/home_address'
|
297
|
+
require 'xero-ruby/models/payroll_au/income_type'
|
291
298
|
require 'xero-ruby/models/payroll_au/leave_accrual_line'
|
292
299
|
require 'xero-ruby/models/payroll_au/leave_application'
|
293
300
|
require 'xero-ruby/models/payroll_au/leave_applications'
|
@@ -322,6 +329,7 @@ require 'xero-ruby/models/payroll_au/reimbursement_line'
|
|
322
329
|
require 'xero-ruby/models/payroll_au/reimbursement_lines'
|
323
330
|
require 'xero-ruby/models/payroll_au/reimbursement_type'
|
324
331
|
require 'xero-ruby/models/payroll_au/residency_status'
|
332
|
+
require 'xero-ruby/models/payroll_au/senior_marital_status'
|
325
333
|
require 'xero-ruby/models/payroll_au/settings'
|
326
334
|
require 'xero-ruby/models/payroll_au/settings_object'
|
327
335
|
require 'xero-ruby/models/payroll_au/settings_tracking_categories'
|
@@ -341,12 +349,14 @@ require 'xero-ruby/models/payroll_au/superannuation_line'
|
|
341
349
|
require 'xero-ruby/models/payroll_au/tfn_exemption_type'
|
342
350
|
require 'xero-ruby/models/payroll_au/tax_declaration'
|
343
351
|
require 'xero-ruby/models/payroll_au/tax_line'
|
352
|
+
require 'xero-ruby/models/payroll_au/tax_scale_type'
|
344
353
|
require 'xero-ruby/models/payroll_au/timesheet'
|
345
354
|
require 'xero-ruby/models/payroll_au/timesheet_line'
|
346
355
|
require 'xero-ruby/models/payroll_au/timesheet_object'
|
347
356
|
require 'xero-ruby/models/payroll_au/timesheet_status'
|
348
357
|
require 'xero-ruby/models/payroll_au/timesheets'
|
349
358
|
require 'xero-ruby/models/payroll_au/validation_error'
|
359
|
+
require 'xero-ruby/models/payroll_au/work_condition'
|
350
360
|
require 'xero-ruby/models/files/association'
|
351
361
|
require 'xero-ruby/models/files/file_object'
|
352
362
|
require 'xero-ruby/models/files/files'
|
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.
|
4
|
+
version: 3.15.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-
|
11
|
+
date: 2022-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -244,12 +244,16 @@ files:
|
|
244
244
|
- lib/xero-ruby/models/accounting/user.rb
|
245
245
|
- lib/xero-ruby/models/accounting/users.rb
|
246
246
|
- lib/xero-ruby/models/accounting/validation_error.rb
|
247
|
+
- lib/xero-ruby/models/app_store/create_usage_record.rb
|
247
248
|
- lib/xero-ruby/models/app_store/plan.rb
|
248
249
|
- lib/xero-ruby/models/app_store/price.rb
|
249
250
|
- lib/xero-ruby/models/app_store/problem_details.rb
|
250
251
|
- lib/xero-ruby/models/app_store/product.rb
|
251
252
|
- lib/xero-ruby/models/app_store/subscription.rb
|
252
253
|
- lib/xero-ruby/models/app_store/subscription_item.rb
|
254
|
+
- lib/xero-ruby/models/app_store/update_usage_record.rb
|
255
|
+
- lib/xero-ruby/models/app_store/usage_record.rb
|
256
|
+
- lib/xero-ruby/models/app_store/usage_records_list.rb
|
253
257
|
- lib/xero-ruby/models/assets/asset.rb
|
254
258
|
- lib/xero-ruby/models/assets/asset_status.rb
|
255
259
|
- lib/xero-ruby/models/assets/asset_status_query_param.rb
|
@@ -332,6 +336,7 @@ files:
|
|
332
336
|
- lib/xero-ruby/models/payroll_au/api_exception.rb
|
333
337
|
- lib/xero-ruby/models/payroll_au/bank_account.rb
|
334
338
|
- lib/xero-ruby/models/payroll_au/calendar_type.rb
|
339
|
+
- lib/xero-ruby/models/payroll_au/country_of_residence.rb
|
335
340
|
- lib/xero-ruby/models/payroll_au/deduction_line.rb
|
336
341
|
- lib/xero-ruby/models/payroll_au/deduction_type.rb
|
337
342
|
- lib/xero-ruby/models/payroll_au/deduction_type_calculation_type.rb
|
@@ -344,8 +349,10 @@ files:
|
|
344
349
|
- lib/xero-ruby/models/payroll_au/employees.rb
|
345
350
|
- lib/xero-ruby/models/payroll_au/employment_basis.rb
|
346
351
|
- lib/xero-ruby/models/payroll_au/employment_termination_payment_type.rb
|
352
|
+
- lib/xero-ruby/models/payroll_au/employment_type.rb
|
347
353
|
- lib/xero-ruby/models/payroll_au/entitlement_final_pay_payout_type.rb
|
348
354
|
- lib/xero-ruby/models/payroll_au/home_address.rb
|
355
|
+
- lib/xero-ruby/models/payroll_au/income_type.rb
|
349
356
|
- lib/xero-ruby/models/payroll_au/leave_accrual_line.rb
|
350
357
|
- lib/xero-ruby/models/payroll_au/leave_application.rb
|
351
358
|
- lib/xero-ruby/models/payroll_au/leave_applications.rb
|
@@ -380,6 +387,7 @@ files:
|
|
380
387
|
- lib/xero-ruby/models/payroll_au/reimbursement_lines.rb
|
381
388
|
- lib/xero-ruby/models/payroll_au/reimbursement_type.rb
|
382
389
|
- lib/xero-ruby/models/payroll_au/residency_status.rb
|
390
|
+
- lib/xero-ruby/models/payroll_au/senior_marital_status.rb
|
383
391
|
- lib/xero-ruby/models/payroll_au/settings.rb
|
384
392
|
- lib/xero-ruby/models/payroll_au/settings_object.rb
|
385
393
|
- lib/xero-ruby/models/payroll_au/settings_tracking_categories.rb
|
@@ -398,6 +406,7 @@ files:
|
|
398
406
|
- lib/xero-ruby/models/payroll_au/superannuation_line.rb
|
399
407
|
- lib/xero-ruby/models/payroll_au/tax_declaration.rb
|
400
408
|
- lib/xero-ruby/models/payroll_au/tax_line.rb
|
409
|
+
- lib/xero-ruby/models/payroll_au/tax_scale_type.rb
|
401
410
|
- lib/xero-ruby/models/payroll_au/tfn_exemption_type.rb
|
402
411
|
- lib/xero-ruby/models/payroll_au/timesheet.rb
|
403
412
|
- lib/xero-ruby/models/payroll_au/timesheet_line.rb
|
@@ -405,6 +414,7 @@ files:
|
|
405
414
|
- lib/xero-ruby/models/payroll_au/timesheet_status.rb
|
406
415
|
- lib/xero-ruby/models/payroll_au/timesheets.rb
|
407
416
|
- lib/xero-ruby/models/payroll_au/validation_error.rb
|
417
|
+
- lib/xero-ruby/models/payroll_au/work_condition.rb
|
408
418
|
- lib/xero-ruby/models/payroll_nz/account.rb
|
409
419
|
- lib/xero-ruby/models/payroll_nz/accounts.rb
|
410
420
|
- lib/xero-ruby/models/payroll_nz/address.rb
|
@@ -1110,7 +1120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1110
1120
|
- !ruby/object:Gem::Version
|
1111
1121
|
version: '0'
|
1112
1122
|
requirements: []
|
1113
|
-
rubygems_version: 3.
|
1123
|
+
rubygems_version: 3.2.3
|
1114
1124
|
signing_key:
|
1115
1125
|
specification_version: 4
|
1116
1126
|
summary: Xero Accounting API Ruby Gem
|