xero-ruby 2.8.0 → 2.10.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,7 +31,8 @@ module XeroRuby
31
31
  # @param timesheet_id [String] Identifier for the timesheet
32
32
  # @param [Hash] opts the optional parameters
33
33
  # @return [Array<(TimesheetObject, Integer, Hash)>] TimesheetObject data, response status code and response headers
34
- def approve_timesheet_with_http_info(xero_tenant_id, timesheet_id, opts = {})
34
+ def approve_timesheet_with_http_info(xero_tenant_id, timesheet_id, options = {})
35
+ opts = options.dup
35
36
  if @api_client.config.debugging
36
37
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.approve_timesheet ...'
37
38
  end
@@ -105,7 +106,8 @@ module XeroRuby
105
106
  # @param benefit [Benefit]
106
107
  # @param [Hash] opts the optional parameters
107
108
  # @return [Array<(BenefitObject, Integer, Hash)>] BenefitObject data, response status code and response headers
108
- def create_benefit_with_http_info(xero_tenant_id, benefit, opts = {})
109
+ def create_benefit_with_http_info(xero_tenant_id, benefit, options = {})
110
+ opts = options.dup
109
111
  if @api_client.config.debugging
110
112
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.create_benefit ...'
111
113
  end
@@ -181,7 +183,8 @@ module XeroRuby
181
183
  # @param deduction [Deduction]
182
184
  # @param [Hash] opts the optional parameters
183
185
  # @return [Array<(DeductionObject, Integer, Hash)>] DeductionObject data, response status code and response headers
184
- def create_deduction_with_http_info(xero_tenant_id, deduction, opts = {})
186
+ def create_deduction_with_http_info(xero_tenant_id, deduction, options = {})
187
+ opts = options.dup
185
188
  if @api_client.config.debugging
186
189
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.create_deduction ...'
187
190
  end
@@ -257,7 +260,8 @@ module XeroRuby
257
260
  # @param earnings_rate [EarningsRate]
258
261
  # @param [Hash] opts the optional parameters
259
262
  # @return [Array<(EarningsRateObject, Integer, Hash)>] EarningsRateObject data, response status code and response headers
260
- def create_earnings_rate_with_http_info(xero_tenant_id, earnings_rate, opts = {})
263
+ def create_earnings_rate_with_http_info(xero_tenant_id, earnings_rate, options = {})
264
+ opts = options.dup
261
265
  if @api_client.config.debugging
262
266
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.create_earnings_rate ...'
263
267
  end
@@ -333,7 +337,8 @@ module XeroRuby
333
337
  # @param employee [Employee]
334
338
  # @param [Hash] opts the optional parameters
335
339
  # @return [Array<(EmployeeObject, Integer, Hash)>] EmployeeObject data, response status code and response headers
336
- def create_employee_with_http_info(xero_tenant_id, employee, opts = {})
340
+ def create_employee_with_http_info(xero_tenant_id, employee, options = {})
341
+ opts = options.dup
337
342
  if @api_client.config.debugging
338
343
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.create_employee ...'
339
344
  end
@@ -411,7 +416,8 @@ module XeroRuby
411
416
  # @param earnings_template [EarningsTemplate]
412
417
  # @param [Hash] opts the optional parameters
413
418
  # @return [Array<(EarningsTemplateObject, Integer, Hash)>] EarningsTemplateObject data, response status code and response headers
414
- def create_employee_earnings_template_with_http_info(xero_tenant_id, employee_id, earnings_template, opts = {})
419
+ def create_employee_earnings_template_with_http_info(xero_tenant_id, employee_id, earnings_template, options = {})
420
+ opts = options.dup
415
421
  if @api_client.config.debugging
416
422
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.create_employee_earnings_template ...'
417
423
  end
@@ -493,7 +499,8 @@ module XeroRuby
493
499
  # @param employee_leave [EmployeeLeave]
494
500
  # @param [Hash] opts the optional parameters
495
501
  # @return [Array<(EmployeeLeaveObject, Integer, Hash)>] EmployeeLeaveObject data, response status code and response headers
496
- def create_employee_leave_with_http_info(xero_tenant_id, employee_id, employee_leave, opts = {})
502
+ def create_employee_leave_with_http_info(xero_tenant_id, employee_id, employee_leave, options = {})
503
+ opts = options.dup
497
504
  if @api_client.config.debugging
498
505
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.create_employee_leave ...'
499
506
  end
@@ -575,7 +582,8 @@ module XeroRuby
575
582
  # @param employee_leave_type [EmployeeLeaveType]
576
583
  # @param [Hash] opts the optional parameters
577
584
  # @return [Array<(EmployeeLeaveTypeObject, Integer, Hash)>] EmployeeLeaveTypeObject data, response status code and response headers
578
- def create_employee_leave_type_with_http_info(xero_tenant_id, employee_id, employee_leave_type, opts = {})
585
+ def create_employee_leave_type_with_http_info(xero_tenant_id, employee_id, employee_leave_type, options = {})
586
+ opts = options.dup
579
587
  if @api_client.config.debugging
580
588
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.create_employee_leave_type ...'
581
589
  end
@@ -657,7 +665,8 @@ module XeroRuby
657
665
  # @param employee_opening_balances [EmployeeOpeningBalances]
658
666
  # @param [Hash] opts the optional parameters
659
667
  # @return [Array<(EmployeeOpeningBalancesObject, Integer, Hash)>] EmployeeOpeningBalancesObject data, response status code and response headers
660
- def create_employee_opening_balances_with_http_info(xero_tenant_id, employee_id, employee_opening_balances, opts = {})
668
+ def create_employee_opening_balances_with_http_info(xero_tenant_id, employee_id, employee_opening_balances, options = {})
669
+ opts = options.dup
661
670
  if @api_client.config.debugging
662
671
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.create_employee_opening_balances ...'
663
672
  end
@@ -739,7 +748,8 @@ module XeroRuby
739
748
  # @param payment_method [PaymentMethod]
740
749
  # @param [Hash] opts the optional parameters
741
750
  # @return [Array<(PaymentMethodObject, Integer, Hash)>] PaymentMethodObject data, response status code and response headers
742
- def create_employee_payment_method_with_http_info(xero_tenant_id, employee_id, payment_method, opts = {})
751
+ def create_employee_payment_method_with_http_info(xero_tenant_id, employee_id, payment_method, options = {})
752
+ opts = options.dup
743
753
  if @api_client.config.debugging
744
754
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.create_employee_payment_method ...'
745
755
  end
@@ -821,7 +831,8 @@ module XeroRuby
821
831
  # @param salary_and_wage [SalaryAndWage]
822
832
  # @param [Hash] opts the optional parameters
823
833
  # @return [Array<(SalaryAndWageObject, Integer, Hash)>] SalaryAndWageObject data, response status code and response headers
824
- def create_employee_salary_and_wage_with_http_info(xero_tenant_id, employee_id, salary_and_wage, opts = {})
834
+ def create_employee_salary_and_wage_with_http_info(xero_tenant_id, employee_id, salary_and_wage, options = {})
835
+ opts = options.dup
825
836
  if @api_client.config.debugging
826
837
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.create_employee_salary_and_wage ...'
827
838
  end
@@ -901,7 +912,8 @@ module XeroRuby
901
912
  # @param employee_statutory_sick_leave [EmployeeStatutorySickLeave]
902
913
  # @param [Hash] opts the optional parameters
903
914
  # @return [Array<(EmployeeStatutorySickLeaveObject, Integer, Hash)>] EmployeeStatutorySickLeaveObject data, response status code and response headers
904
- def create_employee_statutory_sick_leave_with_http_info(xero_tenant_id, employee_statutory_sick_leave, opts = {})
915
+ def create_employee_statutory_sick_leave_with_http_info(xero_tenant_id, employee_statutory_sick_leave, options = {})
916
+ opts = options.dup
905
917
  if @api_client.config.debugging
906
918
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.create_employee_statutory_sick_leave ...'
907
919
  end
@@ -979,7 +991,8 @@ module XeroRuby
979
991
  # @param employment [Employment]
980
992
  # @param [Hash] opts the optional parameters
981
993
  # @return [Array<(EmploymentObject, Integer, Hash)>] EmploymentObject data, response status code and response headers
982
- def create_employment_with_http_info(xero_tenant_id, employee_id, employment, opts = {})
994
+ def create_employment_with_http_info(xero_tenant_id, employee_id, employment, options = {})
995
+ opts = options.dup
983
996
  if @api_client.config.debugging
984
997
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.create_employment ...'
985
998
  end
@@ -1059,7 +1072,8 @@ module XeroRuby
1059
1072
  # @param leave_type [LeaveType]
1060
1073
  # @param [Hash] opts the optional parameters
1061
1074
  # @return [Array<(LeaveTypeObject, Integer, Hash)>] LeaveTypeObject data, response status code and response headers
1062
- def create_leave_type_with_http_info(xero_tenant_id, leave_type, opts = {})
1075
+ def create_leave_type_with_http_info(xero_tenant_id, leave_type, options = {})
1076
+ opts = options.dup
1063
1077
  if @api_client.config.debugging
1064
1078
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.create_leave_type ...'
1065
1079
  end
@@ -1137,7 +1151,8 @@ module XeroRuby
1137
1151
  # @param earnings_template [Array<EarningsTemplate>]
1138
1152
  # @param [Hash] opts the optional parameters
1139
1153
  # @return [Array<(EmployeePayTemplates, Integer, Hash)>] EmployeePayTemplates data, response status code and response headers
1140
- def create_multiple_employee_earnings_template_with_http_info(xero_tenant_id, employee_id, earnings_template, opts = {})
1154
+ def create_multiple_employee_earnings_template_with_http_info(xero_tenant_id, employee_id, earnings_template, options = {})
1155
+ opts = options.dup
1141
1156
  if @api_client.config.debugging
1142
1157
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.create_multiple_employee_earnings_template ...'
1143
1158
  end
@@ -1217,7 +1232,8 @@ module XeroRuby
1217
1232
  # @param pay_run_calendar [PayRunCalendar]
1218
1233
  # @param [Hash] opts the optional parameters
1219
1234
  # @return [Array<(PayRunCalendarObject, Integer, Hash)>] PayRunCalendarObject data, response status code and response headers
1220
- def create_pay_run_calendar_with_http_info(xero_tenant_id, pay_run_calendar, opts = {})
1235
+ def create_pay_run_calendar_with_http_info(xero_tenant_id, pay_run_calendar, options = {})
1236
+ opts = options.dup
1221
1237
  if @api_client.config.debugging
1222
1238
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.create_pay_run_calendar ...'
1223
1239
  end
@@ -1293,7 +1309,8 @@ module XeroRuby
1293
1309
  # @param reimbursement [Reimbursement]
1294
1310
  # @param [Hash] opts the optional parameters
1295
1311
  # @return [Array<(ReimbursementObject, Integer, Hash)>] ReimbursementObject data, response status code and response headers
1296
- def create_reimbursement_with_http_info(xero_tenant_id, reimbursement, opts = {})
1312
+ def create_reimbursement_with_http_info(xero_tenant_id, reimbursement, options = {})
1313
+ opts = options.dup
1297
1314
  if @api_client.config.debugging
1298
1315
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.create_reimbursement ...'
1299
1316
  end
@@ -1369,7 +1386,8 @@ module XeroRuby
1369
1386
  # @param timesheet [Timesheet]
1370
1387
  # @param [Hash] opts the optional parameters
1371
1388
  # @return [Array<(TimesheetObject, Integer, Hash)>] TimesheetObject data, response status code and response headers
1372
- def create_timesheet_with_http_info(xero_tenant_id, timesheet, opts = {})
1389
+ def create_timesheet_with_http_info(xero_tenant_id, timesheet, options = {})
1390
+ opts = options.dup
1373
1391
  if @api_client.config.debugging
1374
1392
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.create_timesheet ...'
1375
1393
  end
@@ -1447,7 +1465,8 @@ module XeroRuby
1447
1465
  # @param timesheet_line [TimesheetLine]
1448
1466
  # @param [Hash] opts the optional parameters
1449
1467
  # @return [Array<(TimesheetLineObject, Integer, Hash)>] TimesheetLineObject data, response status code and response headers
1450
- def create_timesheet_line_with_http_info(xero_tenant_id, timesheet_id, timesheet_line, opts = {})
1468
+ def create_timesheet_line_with_http_info(xero_tenant_id, timesheet_id, timesheet_line, options = {})
1469
+ opts = options.dup
1451
1470
  if @api_client.config.debugging
1452
1471
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.create_timesheet_line ...'
1453
1472
  end
@@ -1529,7 +1548,8 @@ module XeroRuby
1529
1548
  # @param pay_template_earning_id [String] Id for single pay template earnings object
1530
1549
  # @param [Hash] opts the optional parameters
1531
1550
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
1532
- def delete_employee_earnings_template_with_http_info(xero_tenant_id, employee_id, pay_template_earning_id, opts = {})
1551
+ def delete_employee_earnings_template_with_http_info(xero_tenant_id, employee_id, pay_template_earning_id, options = {})
1552
+ opts = options.dup
1533
1553
  if @api_client.config.debugging
1534
1554
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.delete_employee_earnings_template ...'
1535
1555
  end
@@ -1607,7 +1627,8 @@ module XeroRuby
1607
1627
  # @param leave_id [String] Leave id for single object
1608
1628
  # @param [Hash] opts the optional parameters
1609
1629
  # @return [Array<(EmployeeLeaveObject, Integer, Hash)>] EmployeeLeaveObject data, response status code and response headers
1610
- def delete_employee_leave_with_http_info(xero_tenant_id, employee_id, leave_id, opts = {})
1630
+ def delete_employee_leave_with_http_info(xero_tenant_id, employee_id, leave_id, options = {})
1631
+ opts = options.dup
1611
1632
  if @api_client.config.debugging
1612
1633
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.delete_employee_leave ...'
1613
1634
  end
@@ -1687,7 +1708,8 @@ module XeroRuby
1687
1708
  # @param salary_and_wages_id [String] Id for single salary and wages object
1688
1709
  # @param [Hash] opts the optional parameters
1689
1710
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
1690
- def delete_employee_salary_and_wage_with_http_info(xero_tenant_id, employee_id, salary_and_wages_id, opts = {})
1711
+ def delete_employee_salary_and_wage_with_http_info(xero_tenant_id, employee_id, salary_and_wages_id, options = {})
1712
+ opts = options.dup
1691
1713
  if @api_client.config.debugging
1692
1714
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.delete_employee_salary_and_wage ...'
1693
1715
  end
@@ -1763,7 +1785,8 @@ module XeroRuby
1763
1785
  # @param timesheet_id [String] Identifier for the timesheet
1764
1786
  # @param [Hash] opts the optional parameters
1765
1787
  # @return [Array<(TimesheetLine, Integer, Hash)>] TimesheetLine data, response status code and response headers
1766
- def delete_timesheet_with_http_info(xero_tenant_id, timesheet_id, opts = {})
1788
+ def delete_timesheet_with_http_info(xero_tenant_id, timesheet_id, options = {})
1789
+ opts = options.dup
1767
1790
  if @api_client.config.debugging
1768
1791
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.delete_timesheet ...'
1769
1792
  end
@@ -1839,7 +1862,8 @@ module XeroRuby
1839
1862
  # @param timesheet_line_id [String] Identifier for the timesheet line
1840
1863
  # @param [Hash] opts the optional parameters
1841
1864
  # @return [Array<(TimesheetLine, Integer, Hash)>] TimesheetLine data, response status code and response headers
1842
- def delete_timesheet_line_with_http_info(xero_tenant_id, timesheet_id, timesheet_line_id, opts = {})
1865
+ def delete_timesheet_line_with_http_info(xero_tenant_id, timesheet_id, timesheet_line_id, options = {})
1866
+ opts = options.dup
1843
1867
  if @api_client.config.debugging
1844
1868
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.delete_timesheet_line ...'
1845
1869
  end
@@ -1917,7 +1941,8 @@ module XeroRuby
1917
1941
  # @param id [String] Identifier for the benefit
1918
1942
  # @param [Hash] opts the optional parameters
1919
1943
  # @return [Array<(BenefitObject, Integer, Hash)>] BenefitObject data, response status code and response headers
1920
- def get_benefit_with_http_info(xero_tenant_id, id, opts = {})
1944
+ def get_benefit_with_http_info(xero_tenant_id, id, options = {})
1945
+ opts = options.dup
1921
1946
  if @api_client.config.debugging
1922
1947
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_benefit ...'
1923
1948
  end
@@ -1991,7 +2016,8 @@ module XeroRuby
1991
2016
  # @param [Hash] opts the optional parameters
1992
2017
  # @option opts [Integer] :page Page number which specifies the set of records to retrieve. By default the number of the records per set is 100.
1993
2018
  # @return [Array<(Benefits, Integer, Hash)>] Benefits data, response status code and response headers
1994
- def get_benefits_with_http_info(xero_tenant_id, opts = {})
2019
+ def get_benefits_with_http_info(xero_tenant_id, options = {})
2020
+ opts = options.dup
1995
2021
  if @api_client.config.debugging
1996
2022
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_benefits ...'
1997
2023
  end
@@ -2062,7 +2088,8 @@ module XeroRuby
2062
2088
  # @param deduction_id [String] Identifier for the deduction
2063
2089
  # @param [Hash] opts the optional parameters
2064
2090
  # @return [Array<(DeductionObject, Integer, Hash)>] DeductionObject data, response status code and response headers
2065
- def get_deduction_with_http_info(xero_tenant_id, deduction_id, opts = {})
2091
+ def get_deduction_with_http_info(xero_tenant_id, deduction_id, options = {})
2092
+ opts = options.dup
2066
2093
  if @api_client.config.debugging
2067
2094
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_deduction ...'
2068
2095
  end
@@ -2136,7 +2163,8 @@ module XeroRuby
2136
2163
  # @param [Hash] opts the optional parameters
2137
2164
  # @option opts [Integer] :page Page number which specifies the set of records to retrieve. By default the number of the records per set is 100.
2138
2165
  # @return [Array<(Deductions, Integer, Hash)>] Deductions data, response status code and response headers
2139
- def get_deductions_with_http_info(xero_tenant_id, opts = {})
2166
+ def get_deductions_with_http_info(xero_tenant_id, options = {})
2167
+ opts = options.dup
2140
2168
  if @api_client.config.debugging
2141
2169
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_deductions ...'
2142
2170
  end
@@ -2207,7 +2235,8 @@ module XeroRuby
2207
2235
  # @param id [String] Identifier for the deduction
2208
2236
  # @param [Hash] opts the optional parameters
2209
2237
  # @return [Array<(EarningsOrderObject, Integer, Hash)>] EarningsOrderObject data, response status code and response headers
2210
- def get_earnings_order_with_http_info(xero_tenant_id, id, opts = {})
2238
+ def get_earnings_order_with_http_info(xero_tenant_id, id, options = {})
2239
+ opts = options.dup
2211
2240
  if @api_client.config.debugging
2212
2241
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_earnings_order ...'
2213
2242
  end
@@ -2281,7 +2310,8 @@ module XeroRuby
2281
2310
  # @param [Hash] opts the optional parameters
2282
2311
  # @option opts [Integer] :page Page number which specifies the set of records to retrieve. By default the number of the records per set is 100.
2283
2312
  # @return [Array<(EarningsOrders, Integer, Hash)>] EarningsOrders data, response status code and response headers
2284
- def get_earnings_orders_with_http_info(xero_tenant_id, opts = {})
2313
+ def get_earnings_orders_with_http_info(xero_tenant_id, options = {})
2314
+ opts = options.dup
2285
2315
  if @api_client.config.debugging
2286
2316
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_earnings_orders ...'
2287
2317
  end
@@ -2352,7 +2382,8 @@ module XeroRuby
2352
2382
  # @param earnings_rate_id [String] Identifier for the earnings rate
2353
2383
  # @param [Hash] opts the optional parameters
2354
2384
  # @return [Array<(EarningsRateObject, Integer, Hash)>] EarningsRateObject data, response status code and response headers
2355
- def get_earnings_rate_with_http_info(xero_tenant_id, earnings_rate_id, opts = {})
2385
+ def get_earnings_rate_with_http_info(xero_tenant_id, earnings_rate_id, options = {})
2386
+ opts = options.dup
2356
2387
  if @api_client.config.debugging
2357
2388
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_earnings_rate ...'
2358
2389
  end
@@ -2426,7 +2457,8 @@ module XeroRuby
2426
2457
  # @param [Hash] opts the optional parameters
2427
2458
  # @option opts [Integer] :page Page number which specifies the set of records to retrieve. By default the number of the records per set is 100.
2428
2459
  # @return [Array<(EarningsRates, Integer, Hash)>] EarningsRates data, response status code and response headers
2429
- def get_earnings_rates_with_http_info(xero_tenant_id, opts = {})
2460
+ def get_earnings_rates_with_http_info(xero_tenant_id, options = {})
2461
+ opts = options.dup
2430
2462
  if @api_client.config.debugging
2431
2463
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_earnings_rates ...'
2432
2464
  end
@@ -2497,7 +2529,8 @@ module XeroRuby
2497
2529
  # @param employee_id [String] Employee id for single object
2498
2530
  # @param [Hash] opts the optional parameters
2499
2531
  # @return [Array<(EmployeeObject, Integer, Hash)>] EmployeeObject data, response status code and response headers
2500
- def get_employee_with_http_info(xero_tenant_id, employee_id, opts = {})
2532
+ def get_employee_with_http_info(xero_tenant_id, employee_id, options = {})
2533
+ opts = options.dup
2501
2534
  if @api_client.config.debugging
2502
2535
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employee ...'
2503
2536
  end
@@ -2573,7 +2606,8 @@ module XeroRuby
2573
2606
  # @param leave_id [String] Leave id for single object
2574
2607
  # @param [Hash] opts the optional parameters
2575
2608
  # @return [Array<(EmployeeLeaveObject, Integer, Hash)>] EmployeeLeaveObject data, response status code and response headers
2576
- def get_employee_leave_with_http_info(xero_tenant_id, employee_id, leave_id, opts = {})
2609
+ def get_employee_leave_with_http_info(xero_tenant_id, employee_id, leave_id, options = {})
2610
+ opts = options.dup
2577
2611
  if @api_client.config.debugging
2578
2612
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employee_leave ...'
2579
2613
  end
@@ -2651,7 +2685,8 @@ module XeroRuby
2651
2685
  # @param employee_id [String] Employee id for single object
2652
2686
  # @param [Hash] opts the optional parameters
2653
2687
  # @return [Array<(EmployeeLeaveBalances, Integer, Hash)>] EmployeeLeaveBalances data, response status code and response headers
2654
- def get_employee_leave_balances_with_http_info(xero_tenant_id, employee_id, opts = {})
2688
+ def get_employee_leave_balances_with_http_info(xero_tenant_id, employee_id, options = {})
2689
+ opts = options.dup
2655
2690
  if @api_client.config.debugging
2656
2691
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employee_leave_balances ...'
2657
2692
  end
@@ -2729,7 +2764,8 @@ module XeroRuby
2729
2764
  # @option opts [Date] :start_date Filter by start date
2730
2765
  # @option opts [Date] :end_date Filter by end date
2731
2766
  # @return [Array<(LeavePeriods, Integer, Hash)>] LeavePeriods data, response status code and response headers
2732
- def get_employee_leave_periods_with_http_info(xero_tenant_id, employee_id, opts = {})
2767
+ def get_employee_leave_periods_with_http_info(xero_tenant_id, employee_id, options = {})
2768
+ opts = options.dup
2733
2769
  if @api_client.config.debugging
2734
2770
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employee_leave_periods ...'
2735
2771
  end
@@ -2805,7 +2841,8 @@ module XeroRuby
2805
2841
  # @param employee_id [String] Employee id for single object
2806
2842
  # @param [Hash] opts the optional parameters
2807
2843
  # @return [Array<(EmployeeLeaveTypes, Integer, Hash)>] EmployeeLeaveTypes data, response status code and response headers
2808
- def get_employee_leave_types_with_http_info(xero_tenant_id, employee_id, opts = {})
2844
+ def get_employee_leave_types_with_http_info(xero_tenant_id, employee_id, options = {})
2845
+ opts = options.dup
2809
2846
  if @api_client.config.debugging
2810
2847
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employee_leave_types ...'
2811
2848
  end
@@ -2879,7 +2916,8 @@ module XeroRuby
2879
2916
  # @param employee_id [String] Employee id for single object
2880
2917
  # @param [Hash] opts the optional parameters
2881
2918
  # @return [Array<(EmployeeLeaves, Integer, Hash)>] EmployeeLeaves data, response status code and response headers
2882
- def get_employee_leaves_with_http_info(xero_tenant_id, employee_id, opts = {})
2919
+ def get_employee_leaves_with_http_info(xero_tenant_id, employee_id, options = {})
2920
+ opts = options.dup
2883
2921
  if @api_client.config.debugging
2884
2922
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employee_leaves ...'
2885
2923
  end
@@ -2953,7 +2991,8 @@ module XeroRuby
2953
2991
  # @param employee_id [String] Employee id for single object
2954
2992
  # @param [Hash] opts the optional parameters
2955
2993
  # @return [Array<(EmployeeOpeningBalancesObject, Integer, Hash)>] EmployeeOpeningBalancesObject data, response status code and response headers
2956
- def get_employee_opening_balances_with_http_info(xero_tenant_id, employee_id, opts = {})
2994
+ def get_employee_opening_balances_with_http_info(xero_tenant_id, employee_id, options = {})
2995
+ opts = options.dup
2957
2996
  if @api_client.config.debugging
2958
2997
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employee_opening_balances ...'
2959
2998
  end
@@ -3027,7 +3066,8 @@ module XeroRuby
3027
3066
  # @param employee_id [String] Employee id for single object
3028
3067
  # @param [Hash] opts the optional parameters
3029
3068
  # @return [Array<(EmployeePayTemplateObject, Integer, Hash)>] EmployeePayTemplateObject data, response status code and response headers
3030
- def get_employee_pay_template_with_http_info(xero_tenant_id, employee_id, opts = {})
3069
+ def get_employee_pay_template_with_http_info(xero_tenant_id, employee_id, options = {})
3070
+ opts = options.dup
3031
3071
  if @api_client.config.debugging
3032
3072
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employee_pay_template ...'
3033
3073
  end
@@ -3101,7 +3141,8 @@ module XeroRuby
3101
3141
  # @param employee_id [String] Employee id for single object
3102
3142
  # @param [Hash] opts the optional parameters
3103
3143
  # @return [Array<(PaymentMethodObject, Integer, Hash)>] PaymentMethodObject data, response status code and response headers
3104
- def get_employee_payment_method_with_http_info(xero_tenant_id, employee_id, opts = {})
3144
+ def get_employee_payment_method_with_http_info(xero_tenant_id, employee_id, options = {})
3145
+ opts = options.dup
3105
3146
  if @api_client.config.debugging
3106
3147
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employee_payment_method ...'
3107
3148
  end
@@ -3177,7 +3218,8 @@ module XeroRuby
3177
3218
  # @param salary_and_wages_id [String] Id for single pay template earnings object
3178
3219
  # @param [Hash] opts the optional parameters
3179
3220
  # @return [Array<(SalaryAndWages, Integer, Hash)>] SalaryAndWages data, response status code and response headers
3180
- def get_employee_salary_and_wage_with_http_info(xero_tenant_id, employee_id, salary_and_wages_id, opts = {})
3221
+ def get_employee_salary_and_wage_with_http_info(xero_tenant_id, employee_id, salary_and_wages_id, options = {})
3222
+ opts = options.dup
3181
3223
  if @api_client.config.debugging
3182
3224
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employee_salary_and_wage ...'
3183
3225
  end
@@ -3257,7 +3299,8 @@ module XeroRuby
3257
3299
  # @param [Hash] opts the optional parameters
3258
3300
  # @option opts [Integer] :page Page number which specifies the set of records to retrieve. By default the number of the records per set is 100.
3259
3301
  # @return [Array<(SalaryAndWages, Integer, Hash)>] SalaryAndWages data, response status code and response headers
3260
- def get_employee_salary_and_wages_with_http_info(xero_tenant_id, employee_id, opts = {})
3302
+ def get_employee_salary_and_wages_with_http_info(xero_tenant_id, employee_id, options = {})
3303
+ opts = options.dup
3261
3304
  if @api_client.config.debugging
3262
3305
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employee_salary_and_wages ...'
3263
3306
  end
@@ -3336,7 +3379,8 @@ module XeroRuby
3336
3379
  # @option opts [String] :leave_type Filter by the type of statutory leave
3337
3380
  # @option opts [Date] :as_of_date The date from which to calculate balance remaining. If not specified, current date UTC is used.
3338
3381
  # @return [Array<(EmployeeStatutoryLeaveBalanceObject, Integer, Hash)>] EmployeeStatutoryLeaveBalanceObject data, response status code and response headers
3339
- def get_employee_statutory_leave_balances_with_http_info(xero_tenant_id, employee_id, opts = {})
3382
+ def get_employee_statutory_leave_balances_with_http_info(xero_tenant_id, employee_id, options = {})
3383
+ opts = options.dup
3340
3384
  if @api_client.config.debugging
3341
3385
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employee_statutory_leave_balances ...'
3342
3386
  end
@@ -3412,7 +3456,8 @@ module XeroRuby
3412
3456
  # @param statutory_sick_leave_id [String] Statutory sick leave id for single object
3413
3457
  # @param [Hash] opts the optional parameters
3414
3458
  # @return [Array<(EmployeeStatutorySickLeaveObject, Integer, Hash)>] EmployeeStatutorySickLeaveObject data, response status code and response headers
3415
- def get_employee_statutory_sick_leave_with_http_info(xero_tenant_id, statutory_sick_leave_id, opts = {})
3459
+ def get_employee_statutory_sick_leave_with_http_info(xero_tenant_id, statutory_sick_leave_id, options = {})
3460
+ opts = options.dup
3416
3461
  if @api_client.config.debugging
3417
3462
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employee_statutory_sick_leave ...'
3418
3463
  end
@@ -3486,7 +3531,8 @@ module XeroRuby
3486
3531
  # @param employee_id [String] Employee id for single object
3487
3532
  # @param [Hash] opts the optional parameters
3488
3533
  # @return [Array<(EmployeeTaxObject, Integer, Hash)>] EmployeeTaxObject data, response status code and response headers
3489
- def get_employee_tax_with_http_info(xero_tenant_id, employee_id, opts = {})
3534
+ def get_employee_tax_with_http_info(xero_tenant_id, employee_id, options = {})
3535
+ opts = options.dup
3490
3536
  if @api_client.config.debugging
3491
3537
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employee_tax ...'
3492
3538
  end
@@ -3548,8 +3594,7 @@ module XeroRuby
3548
3594
  # Retrieves employees
3549
3595
  # @param xero_tenant_id [String] Xero identifier for Tenant
3550
3596
  # @param [Hash] opts the optional parameters
3551
- # @option opts [String] :first_name Filter by first name
3552
- # @option opts [String] :last_name Filter by last name
3597
+ # @option opts [String] :filter Filter by first name and/or lastname
3553
3598
  # @option opts [Integer] :page Page number which specifies the set of records to retrieve. By default the number of the records per set is 100.
3554
3599
  # @return [Employees]
3555
3600
  def get_employees(xero_tenant_id, opts = {})
@@ -3560,11 +3605,11 @@ module XeroRuby
3560
3605
  # Retrieves employees
3561
3606
  # @param xero_tenant_id [String] Xero identifier for Tenant
3562
3607
  # @param [Hash] opts the optional parameters
3563
- # @option opts [String] :first_name Filter by first name
3564
- # @option opts [String] :last_name Filter by last name
3608
+ # @option opts [String] :filter Filter by first name and/or lastname
3565
3609
  # @option opts [Integer] :page Page number which specifies the set of records to retrieve. By default the number of the records per set is 100.
3566
3610
  # @return [Array<(Employees, Integer, Hash)>] Employees data, response status code and response headers
3567
- def get_employees_with_http_info(xero_tenant_id, opts = {})
3611
+ def get_employees_with_http_info(xero_tenant_id, options = {})
3612
+ opts = options.dup
3568
3613
  if @api_client.config.debugging
3569
3614
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_employees ...'
3570
3615
  end
@@ -3580,8 +3625,7 @@ module XeroRuby
3580
3625
 
3581
3626
  # query parameters
3582
3627
  query_params = opts[:query_params] || {}
3583
- query_params[:'firstName'] = opts[:'first_name'] if !opts[:'first_name'].nil?
3584
- query_params[:'lastName'] = opts[:'last_name'] if !opts[:'last_name'].nil?
3628
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
3585
3629
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
3586
3630
 
3587
3631
  # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
@@ -3637,7 +3681,8 @@ module XeroRuby
3637
3681
  # @param leave_type_id [String] Identifier for the leave type
3638
3682
  # @param [Hash] opts the optional parameters
3639
3683
  # @return [Array<(LeaveTypeObject, Integer, Hash)>] LeaveTypeObject data, response status code and response headers
3640
- def get_leave_type_with_http_info(xero_tenant_id, leave_type_id, opts = {})
3684
+ def get_leave_type_with_http_info(xero_tenant_id, leave_type_id, options = {})
3685
+ opts = options.dup
3641
3686
  if @api_client.config.debugging
3642
3687
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_leave_type ...'
3643
3688
  end
@@ -3713,7 +3758,8 @@ module XeroRuby
3713
3758
  # @option opts [Integer] :page Page number which specifies the set of records to retrieve. By default the number of the records per set is 100.
3714
3759
  # @option opts [Boolean] :active_only Filters leave types by active status. By default the API returns all leave types.
3715
3760
  # @return [Array<(LeaveTypes, Integer, Hash)>] LeaveTypes data, response status code and response headers
3716
- def get_leave_types_with_http_info(xero_tenant_id, opts = {})
3761
+ def get_leave_types_with_http_info(xero_tenant_id, options = {})
3762
+ opts = options.dup
3717
3763
  if @api_client.config.debugging
3718
3764
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_leave_types ...'
3719
3765
  end
@@ -3785,7 +3831,8 @@ module XeroRuby
3785
3831
  # @param pay_run_id [String] Identifier for the pay run
3786
3832
  # @param [Hash] opts the optional parameters
3787
3833
  # @return [Array<(PayRunObject, Integer, Hash)>] PayRunObject data, response status code and response headers
3788
- def get_pay_run_with_http_info(xero_tenant_id, pay_run_id, opts = {})
3834
+ def get_pay_run_with_http_info(xero_tenant_id, pay_run_id, options = {})
3835
+ opts = options.dup
3789
3836
  if @api_client.config.debugging
3790
3837
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_pay_run ...'
3791
3838
  end
@@ -3859,7 +3906,8 @@ module XeroRuby
3859
3906
  # @param pay_run_calendar_id [String] Identifier for the payrun calendars
3860
3907
  # @param [Hash] opts the optional parameters
3861
3908
  # @return [Array<(PayRunCalendarObject, Integer, Hash)>] PayRunCalendarObject data, response status code and response headers
3862
- def get_pay_run_calendar_with_http_info(xero_tenant_id, pay_run_calendar_id, opts = {})
3909
+ def get_pay_run_calendar_with_http_info(xero_tenant_id, pay_run_calendar_id, options = {})
3910
+ opts = options.dup
3863
3911
  if @api_client.config.debugging
3864
3912
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_pay_run_calendar ...'
3865
3913
  end
@@ -3933,7 +3981,8 @@ module XeroRuby
3933
3981
  # @param [Hash] opts the optional parameters
3934
3982
  # @option opts [Integer] :page Page number which specifies the set of records to retrieve. By default the number of the records per set is 100.
3935
3983
  # @return [Array<(PayRunCalendars, Integer, Hash)>] PayRunCalendars data, response status code and response headers
3936
- def get_pay_run_calendars_with_http_info(xero_tenant_id, opts = {})
3984
+ def get_pay_run_calendars_with_http_info(xero_tenant_id, options = {})
3985
+ opts = options.dup
3937
3986
  if @api_client.config.debugging
3938
3987
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_pay_run_calendars ...'
3939
3988
  end
@@ -4006,7 +4055,8 @@ module XeroRuby
4006
4055
  # @option opts [Integer] :page Page number which specifies the set of records to retrieve. By default the number of the records per set is 100.
4007
4056
  # @option opts [String] :status By default get payruns will return all the payruns for an organization. You can add GET https://api.xero.com/payroll.xro/2.0/payRuns?statu&#x3D;{PayRunStatus} to filter the payruns by status.
4008
4057
  # @return [Array<(PayRuns, Integer, Hash)>] PayRuns data, response status code and response headers
4009
- def get_pay_runs_with_http_info(xero_tenant_id, opts = {})
4058
+ def get_pay_runs_with_http_info(xero_tenant_id, options = {})
4059
+ opts = options.dup
4010
4060
  if @api_client.config.debugging
4011
4061
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_pay_runs ...'
4012
4062
  end
@@ -4082,7 +4132,8 @@ module XeroRuby
4082
4132
  # @param payslip_id [String] Identifier for the payslip
4083
4133
  # @param [Hash] opts the optional parameters
4084
4134
  # @return [Array<(PayslipObject, Integer, Hash)>] PayslipObject data, response status code and response headers
4085
- def get_pay_slip_with_http_info(xero_tenant_id, payslip_id, opts = {})
4135
+ def get_pay_slip_with_http_info(xero_tenant_id, payslip_id, options = {})
4136
+ opts = options.dup
4086
4137
  if @api_client.config.debugging
4087
4138
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_pay_slip ...'
4088
4139
  end
@@ -4158,7 +4209,8 @@ module XeroRuby
4158
4209
  # @param [Hash] opts the optional parameters
4159
4210
  # @option opts [Integer] :page Page number which specifies the set of records to retrieve. By default the number of the records per set is 100.
4160
4211
  # @return [Array<(Payslips, Integer, Hash)>] Payslips data, response status code and response headers
4161
- def get_pay_slips_with_http_info(xero_tenant_id, pay_run_id, opts = {})
4212
+ def get_pay_slips_with_http_info(xero_tenant_id, pay_run_id, options = {})
4213
+ opts = options.dup
4162
4214
  if @api_client.config.debugging
4163
4215
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_pay_slips ...'
4164
4216
  end
@@ -4234,7 +4286,8 @@ module XeroRuby
4234
4286
  # @param reimbursement_id [String] Identifier for the reimbursement
4235
4287
  # @param [Hash] opts the optional parameters
4236
4288
  # @return [Array<(ReimbursementObject, Integer, Hash)>] ReimbursementObject data, response status code and response headers
4237
- def get_reimbursement_with_http_info(xero_tenant_id, reimbursement_id, opts = {})
4289
+ def get_reimbursement_with_http_info(xero_tenant_id, reimbursement_id, options = {})
4290
+ opts = options.dup
4238
4291
  if @api_client.config.debugging
4239
4292
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_reimbursement ...'
4240
4293
  end
@@ -4308,7 +4361,8 @@ module XeroRuby
4308
4361
  # @param [Hash] opts the optional parameters
4309
4362
  # @option opts [Integer] :page Page number which specifies the set of records to retrieve. By default the number of the records per set is 100.
4310
4363
  # @return [Array<(Reimbursements, Integer, Hash)>] Reimbursements data, response status code and response headers
4311
- def get_reimbursements_with_http_info(xero_tenant_id, opts = {})
4364
+ def get_reimbursements_with_http_info(xero_tenant_id, options = {})
4365
+ opts = options.dup
4312
4366
  if @api_client.config.debugging
4313
4367
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_reimbursements ...'
4314
4368
  end
@@ -4377,7 +4431,8 @@ module XeroRuby
4377
4431
  # @param xero_tenant_id [String] Xero identifier for Tenant
4378
4432
  # @param [Hash] opts the optional parameters
4379
4433
  # @return [Array<(Settings, Integer, Hash)>] Settings data, response status code and response headers
4380
- def get_settings_with_http_info(xero_tenant_id, opts = {})
4434
+ def get_settings_with_http_info(xero_tenant_id, options = {})
4435
+ opts = options.dup
4381
4436
  if @api_client.config.debugging
4382
4437
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_settings ...'
4383
4438
  end
@@ -4449,7 +4504,8 @@ module XeroRuby
4449
4504
  # @param [Hash] opts the optional parameters
4450
4505
  # @option opts [Boolean] :active_only Filter response with leaves that are currently active or yet to be taken. If not specified, all leaves (past, current, and future scheduled) are returned
4451
4506
  # @return [Array<(EmployeeStatutoryLeavesSummaries, Integer, Hash)>] EmployeeStatutoryLeavesSummaries data, response status code and response headers
4452
- def get_statutory_leave_summary_with_http_info(xero_tenant_id, employee_id, opts = {})
4507
+ def get_statutory_leave_summary_with_http_info(xero_tenant_id, employee_id, options = {})
4508
+ opts = options.dup
4453
4509
  if @api_client.config.debugging
4454
4510
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_statutory_leave_summary ...'
4455
4511
  end
@@ -4524,7 +4580,8 @@ module XeroRuby
4524
4580
  # @param timesheet_id [String] Identifier for the timesheet
4525
4581
  # @param [Hash] opts the optional parameters
4526
4582
  # @return [Array<(TimesheetObject, Integer, Hash)>] TimesheetObject data, response status code and response headers
4527
- def get_timesheet_with_http_info(xero_tenant_id, timesheet_id, opts = {})
4583
+ def get_timesheet_with_http_info(xero_tenant_id, timesheet_id, options = {})
4584
+ opts = options.dup
4528
4585
  if @api_client.config.debugging
4529
4586
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_timesheet ...'
4530
4587
  end
@@ -4587,8 +4644,7 @@ module XeroRuby
4587
4644
  # @param xero_tenant_id [String] Xero identifier for Tenant
4588
4645
  # @param [Hash] opts the optional parameters
4589
4646
  # @option opts [Integer] :page Page number which specifies the set of records to retrieve. By default the number of the records per set is 100.
4590
- # @option opts [String] :employee_id By default get Timesheets will return the timesheets for all employees in an organization. You can add GET https://…/timesheets?filter&#x3D;employeeId&#x3D;&#x3D;{EmployeeID} to get only the timesheets of a particular employee.
4591
- # @option opts [String] :payroll_calendar_id By default get Timesheets will return all the timesheets for an organization. You can add GET https://…/timesheets?filter&#x3D;payrollCalendarId&#x3D;&#x3D;{PayrollCalendarID} to filter the timesheets by payroll calendar id
4647
+ # @option opts [String] :filter Filter by first name and/or lastname
4592
4648
  # @return [Timesheets]
4593
4649
  def get_timesheets(xero_tenant_id, opts = {})
4594
4650
  data, _status_code, _headers = get_timesheets_with_http_info(xero_tenant_id, opts)
@@ -4599,10 +4655,10 @@ module XeroRuby
4599
4655
  # @param xero_tenant_id [String] Xero identifier for Tenant
4600
4656
  # @param [Hash] opts the optional parameters
4601
4657
  # @option opts [Integer] :page Page number which specifies the set of records to retrieve. By default the number of the records per set is 100.
4602
- # @option opts [String] :employee_id By default get Timesheets will return the timesheets for all employees in an organization. You can add GET https://…/timesheets?filter&#x3D;employeeId&#x3D;&#x3D;{EmployeeID} to get only the timesheets of a particular employee.
4603
- # @option opts [String] :payroll_calendar_id By default get Timesheets will return all the timesheets for an organization. You can add GET https://…/timesheets?filter&#x3D;payrollCalendarId&#x3D;&#x3D;{PayrollCalendarID} to filter the timesheets by payroll calendar id
4658
+ # @option opts [String] :filter Filter by first name and/or lastname
4604
4659
  # @return [Array<(Timesheets, Integer, Hash)>] Timesheets data, response status code and response headers
4605
- def get_timesheets_with_http_info(xero_tenant_id, opts = {})
4660
+ def get_timesheets_with_http_info(xero_tenant_id, options = {})
4661
+ opts = options.dup
4606
4662
  if @api_client.config.debugging
4607
4663
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_timesheets ...'
4608
4664
  end
@@ -4619,8 +4675,7 @@ module XeroRuby
4619
4675
  # query parameters
4620
4676
  query_params = opts[:query_params] || {}
4621
4677
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
4622
- query_params[:'employeeId'] = opts[:'employee_id'] if !opts[:'employee_id'].nil?
4623
- query_params[:'payrollCalendarId'] = opts[:'payroll_calendar_id'] if !opts[:'payroll_calendar_id'].nil?
4678
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
4624
4679
 
4625
4680
  # XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
4626
4681
  query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
@@ -4673,7 +4728,8 @@ module XeroRuby
4673
4728
  # @param xero_tenant_id [String] Xero identifier for Tenant
4674
4729
  # @param [Hash] opts the optional parameters
4675
4730
  # @return [Array<(TrackingCategories, Integer, Hash)>] TrackingCategories data, response status code and response headers
4676
- def get_tracking_categories_with_http_info(xero_tenant_id, opts = {})
4731
+ def get_tracking_categories_with_http_info(xero_tenant_id, options = {})
4732
+ opts = options.dup
4677
4733
  if @api_client.config.debugging
4678
4734
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.get_tracking_categories ...'
4679
4735
  end
@@ -4743,7 +4799,8 @@ module XeroRuby
4743
4799
  # @param timesheet_id [String] Identifier for the timesheet
4744
4800
  # @param [Hash] opts the optional parameters
4745
4801
  # @return [Array<(TimesheetObject, Integer, Hash)>] TimesheetObject data, response status code and response headers
4746
- def revert_timesheet_with_http_info(xero_tenant_id, timesheet_id, opts = {})
4802
+ def revert_timesheet_with_http_info(xero_tenant_id, timesheet_id, options = {})
4803
+ opts = options.dup
4747
4804
  if @api_client.config.debugging
4748
4805
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.revert_timesheet ...'
4749
4806
  end
@@ -4819,7 +4876,8 @@ module XeroRuby
4819
4876
  # @param employee [Employee]
4820
4877
  # @param [Hash] opts the optional parameters
4821
4878
  # @return [Array<(EmployeeObject, Integer, Hash)>] EmployeeObject data, response status code and response headers
4822
- def update_employee_with_http_info(xero_tenant_id, employee_id, employee, opts = {})
4879
+ def update_employee_with_http_info(xero_tenant_id, employee_id, employee, options = {})
4880
+ opts = options.dup
4823
4881
  if @api_client.config.debugging
4824
4882
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.update_employee ...'
4825
4883
  end
@@ -4903,7 +4961,8 @@ module XeroRuby
4903
4961
  # @param earnings_template [EarningsTemplate]
4904
4962
  # @param [Hash] opts the optional parameters
4905
4963
  # @return [Array<(EarningsTemplateObject, Integer, Hash)>] EarningsTemplateObject data, response status code and response headers
4906
- def update_employee_earnings_template_with_http_info(xero_tenant_id, employee_id, pay_template_earning_id, earnings_template, opts = {})
4964
+ def update_employee_earnings_template_with_http_info(xero_tenant_id, employee_id, pay_template_earning_id, earnings_template, options = {})
4965
+ opts = options.dup
4907
4966
  if @api_client.config.debugging
4908
4967
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.update_employee_earnings_template ...'
4909
4968
  end
@@ -4991,7 +5050,8 @@ module XeroRuby
4991
5050
  # @param employee_leave [EmployeeLeave]
4992
5051
  # @param [Hash] opts the optional parameters
4993
5052
  # @return [Array<(EmployeeLeaveObject, Integer, Hash)>] EmployeeLeaveObject data, response status code and response headers
4994
- def update_employee_leave_with_http_info(xero_tenant_id, employee_id, leave_id, employee_leave, opts = {})
5053
+ def update_employee_leave_with_http_info(xero_tenant_id, employee_id, leave_id, employee_leave, options = {})
5054
+ opts = options.dup
4995
5055
  if @api_client.config.debugging
4996
5056
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.update_employee_leave ...'
4997
5057
  end
@@ -5077,7 +5137,8 @@ module XeroRuby
5077
5137
  # @param employee_opening_balances [EmployeeOpeningBalances]
5078
5138
  # @param [Hash] opts the optional parameters
5079
5139
  # @return [Array<(EmployeeOpeningBalancesObject, Integer, Hash)>] EmployeeOpeningBalancesObject data, response status code and response headers
5080
- def update_employee_opening_balances_with_http_info(xero_tenant_id, employee_id, employee_opening_balances, opts = {})
5140
+ def update_employee_opening_balances_with_http_info(xero_tenant_id, employee_id, employee_opening_balances, options = {})
5141
+ opts = options.dup
5081
5142
  if @api_client.config.debugging
5082
5143
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.update_employee_opening_balances ...'
5083
5144
  end
@@ -5161,7 +5222,8 @@ module XeroRuby
5161
5222
  # @param salary_and_wage [SalaryAndWage]
5162
5223
  # @param [Hash] opts the optional parameters
5163
5224
  # @return [Array<(SalaryAndWageObject, Integer, Hash)>] SalaryAndWageObject data, response status code and response headers
5164
- def update_employee_salary_and_wage_with_http_info(xero_tenant_id, employee_id, salary_and_wages_id, salary_and_wage, opts = {})
5225
+ def update_employee_salary_and_wage_with_http_info(xero_tenant_id, employee_id, salary_and_wages_id, salary_and_wage, options = {})
5226
+ opts = options.dup
5165
5227
  if @api_client.config.debugging
5166
5228
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.update_employee_salary_and_wage ...'
5167
5229
  end
@@ -5247,7 +5309,8 @@ module XeroRuby
5247
5309
  # @param pay_run [PayRun]
5248
5310
  # @param [Hash] opts the optional parameters
5249
5311
  # @return [Array<(PayRunObject, Integer, Hash)>] PayRunObject data, response status code and response headers
5250
- def update_pay_run_with_http_info(xero_tenant_id, pay_run_id, pay_run, opts = {})
5312
+ def update_pay_run_with_http_info(xero_tenant_id, pay_run_id, pay_run, options = {})
5313
+ opts = options.dup
5251
5314
  if @api_client.config.debugging
5252
5315
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.update_pay_run ...'
5253
5316
  end
@@ -5331,7 +5394,8 @@ module XeroRuby
5331
5394
  # @param timesheet_line [TimesheetLine]
5332
5395
  # @param [Hash] opts the optional parameters
5333
5396
  # @return [Array<(TimesheetLineObject, Integer, Hash)>] TimesheetLineObject data, response status code and response headers
5334
- def update_timesheet_line_with_http_info(xero_tenant_id, timesheet_id, timesheet_line_id, timesheet_line, opts = {})
5397
+ def update_timesheet_line_with_http_info(xero_tenant_id, timesheet_id, timesheet_line_id, timesheet_line, options = {})
5398
+ opts = options.dup
5335
5399
  if @api_client.config.debugging
5336
5400
  @api_client.config.logger.debug 'Calling API: PayrollUkApi.update_timesheet_line ...'
5337
5401
  end