xero-ruby 3.12.0 → 3.14.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,40 @@
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 TaxScaleType
17
+ REGULAR ||= "REGULAR".freeze
18
+ ACTORSARTISTSENTERTAINERS ||= "ACTORSARTISTSENTERTAINERS".freeze
19
+ HORTICULTURISTORSHEARER ||= "HORTICULTURISTORSHEARER".freeze
20
+ SENIORORPENSIONER ||= "SENIORORPENSIONER".freeze
21
+ WORKINGHOLIDAYMAKER ||= "WORKINGHOLIDAYMAKER".freeze
22
+ FOREIGN ||= "FOREIGN".freeze
23
+
24
+ # Builds the enum from string
25
+ # @param [String] The enum value in the form of the string
26
+ # @return [String] The enum value
27
+ def self.build_from_hash(value)
28
+ new.build_from_hash(value)
29
+ end
30
+
31
+ # Builds the enum from string
32
+ # @param [String] The enum value in the form of the string
33
+ # @return [String] The enum value
34
+ def build_from_hash(value)
35
+ constantValues = TaxScaleType.constants.select { |c| TaxScaleType::const_get(c) == value }
36
+ raise "Invalid ENUM value #{value} for class #TaxScaleType" if constantValues.empty?
37
+ value
38
+ end
39
+ end
40
+ end
@@ -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
@@ -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.27.0
10
+ The version of the XeroOpenAPI document: 2.30.2
11
11
  =end
12
12
 
13
13
  module XeroRuby
14
- VERSION = '3.12.0'
14
+ VERSION = '3.14.0'
15
15
  end
data/lib/xero-ruby.rb CHANGED
@@ -274,6 +274,7 @@ require 'xero-ruby/models/payroll_au/allowance_category'
274
274
  require 'xero-ruby/models/payroll_au/allowance_type'
275
275
  require 'xero-ruby/models/payroll_au/bank_account'
276
276
  require 'xero-ruby/models/payroll_au/calendar_type'
277
+ require 'xero-ruby/models/payroll_au/country_of_residence'
277
278
  require 'xero-ruby/models/payroll_au/deduction_line'
278
279
  require 'xero-ruby/models/payroll_au/deduction_type'
279
280
  require 'xero-ruby/models/payroll_au/deduction_type_calculation_type'
@@ -286,8 +287,10 @@ require 'xero-ruby/models/payroll_au/employee_status'
286
287
  require 'xero-ruby/models/payroll_au/employees'
287
288
  require 'xero-ruby/models/payroll_au/employment_basis'
288
289
  require 'xero-ruby/models/payroll_au/employment_termination_payment_type'
290
+ require 'xero-ruby/models/payroll_au/employment_type'
289
291
  require 'xero-ruby/models/payroll_au/entitlement_final_pay_payout_type'
290
292
  require 'xero-ruby/models/payroll_au/home_address'
293
+ require 'xero-ruby/models/payroll_au/income_type'
291
294
  require 'xero-ruby/models/payroll_au/leave_accrual_line'
292
295
  require 'xero-ruby/models/payroll_au/leave_application'
293
296
  require 'xero-ruby/models/payroll_au/leave_applications'
@@ -322,6 +325,7 @@ require 'xero-ruby/models/payroll_au/reimbursement_line'
322
325
  require 'xero-ruby/models/payroll_au/reimbursement_lines'
323
326
  require 'xero-ruby/models/payroll_au/reimbursement_type'
324
327
  require 'xero-ruby/models/payroll_au/residency_status'
328
+ require 'xero-ruby/models/payroll_au/senior_marital_status'
325
329
  require 'xero-ruby/models/payroll_au/settings'
326
330
  require 'xero-ruby/models/payroll_au/settings_object'
327
331
  require 'xero-ruby/models/payroll_au/settings_tracking_categories'
@@ -341,12 +345,14 @@ require 'xero-ruby/models/payroll_au/superannuation_line'
341
345
  require 'xero-ruby/models/payroll_au/tfn_exemption_type'
342
346
  require 'xero-ruby/models/payroll_au/tax_declaration'
343
347
  require 'xero-ruby/models/payroll_au/tax_line'
348
+ require 'xero-ruby/models/payroll_au/tax_scale_type'
344
349
  require 'xero-ruby/models/payroll_au/timesheet'
345
350
  require 'xero-ruby/models/payroll_au/timesheet_line'
346
351
  require 'xero-ruby/models/payroll_au/timesheet_object'
347
352
  require 'xero-ruby/models/payroll_au/timesheet_status'
348
353
  require 'xero-ruby/models/payroll_au/timesheets'
349
354
  require 'xero-ruby/models/payroll_au/validation_error'
355
+ require 'xero-ruby/models/payroll_au/work_condition'
350
356
  require 'xero-ruby/models/files/association'
351
357
  require 'xero-ruby/models/files/file_object'
352
358
  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.12.0
4
+ version: 3.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xero API Team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-30 00:00:00.000000000 Z
11
+ date: 2022-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -332,6 +332,7 @@ files:
332
332
  - lib/xero-ruby/models/payroll_au/api_exception.rb
333
333
  - lib/xero-ruby/models/payroll_au/bank_account.rb
334
334
  - lib/xero-ruby/models/payroll_au/calendar_type.rb
335
+ - lib/xero-ruby/models/payroll_au/country_of_residence.rb
335
336
  - lib/xero-ruby/models/payroll_au/deduction_line.rb
336
337
  - lib/xero-ruby/models/payroll_au/deduction_type.rb
337
338
  - lib/xero-ruby/models/payroll_au/deduction_type_calculation_type.rb
@@ -344,8 +345,10 @@ files:
344
345
  - lib/xero-ruby/models/payroll_au/employees.rb
345
346
  - lib/xero-ruby/models/payroll_au/employment_basis.rb
346
347
  - lib/xero-ruby/models/payroll_au/employment_termination_payment_type.rb
348
+ - lib/xero-ruby/models/payroll_au/employment_type.rb
347
349
  - lib/xero-ruby/models/payroll_au/entitlement_final_pay_payout_type.rb
348
350
  - lib/xero-ruby/models/payroll_au/home_address.rb
351
+ - lib/xero-ruby/models/payroll_au/income_type.rb
349
352
  - lib/xero-ruby/models/payroll_au/leave_accrual_line.rb
350
353
  - lib/xero-ruby/models/payroll_au/leave_application.rb
351
354
  - lib/xero-ruby/models/payroll_au/leave_applications.rb
@@ -380,6 +383,7 @@ files:
380
383
  - lib/xero-ruby/models/payroll_au/reimbursement_lines.rb
381
384
  - lib/xero-ruby/models/payroll_au/reimbursement_type.rb
382
385
  - lib/xero-ruby/models/payroll_au/residency_status.rb
386
+ - lib/xero-ruby/models/payroll_au/senior_marital_status.rb
383
387
  - lib/xero-ruby/models/payroll_au/settings.rb
384
388
  - lib/xero-ruby/models/payroll_au/settings_object.rb
385
389
  - lib/xero-ruby/models/payroll_au/settings_tracking_categories.rb
@@ -398,6 +402,7 @@ files:
398
402
  - lib/xero-ruby/models/payroll_au/superannuation_line.rb
399
403
  - lib/xero-ruby/models/payroll_au/tax_declaration.rb
400
404
  - lib/xero-ruby/models/payroll_au/tax_line.rb
405
+ - lib/xero-ruby/models/payroll_au/tax_scale_type.rb
401
406
  - lib/xero-ruby/models/payroll_au/tfn_exemption_type.rb
402
407
  - lib/xero-ruby/models/payroll_au/timesheet.rb
403
408
  - lib/xero-ruby/models/payroll_au/timesheet_line.rb
@@ -405,6 +410,7 @@ files:
405
410
  - lib/xero-ruby/models/payroll_au/timesheet_status.rb
406
411
  - lib/xero-ruby/models/payroll_au/timesheets.rb
407
412
  - lib/xero-ruby/models/payroll_au/validation_error.rb
413
+ - lib/xero-ruby/models/payroll_au/work_condition.rb
408
414
  - lib/xero-ruby/models/payroll_nz/account.rb
409
415
  - lib/xero-ruby/models/payroll_nz/accounts.rb
410
416
  - lib/xero-ruby/models/payroll_nz/address.rb
@@ -1095,7 +1101,7 @@ homepage: https://developer.xero.com
1095
1101
  licenses:
1096
1102
  - Unlicense
1097
1103
  metadata: {}
1098
- post_install_message:
1104
+ post_install_message:
1099
1105
  rdoc_options: []
1100
1106
  require_paths:
1101
1107
  - lib
@@ -1110,8 +1116,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1110
1116
  - !ruby/object:Gem::Version
1111
1117
  version: '0'
1112
1118
  requirements: []
1113
- rubygems_version: 3.1.6
1114
- signing_key:
1119
+ rubygems_version: 3.2.3
1120
+ signing_key:
1115
1121
  specification_version: 4
1116
1122
  summary: Xero Accounting API Ruby Gem
1117
1123
  test_files: