merge_hris_client 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/BankInfo.md +3 -1
- data/docs/Benefit.md +3 -1
- data/docs/Company.md +3 -1
- data/docs/Deduction.md +3 -1
- data/docs/Earning.md +4 -2
- data/docs/Employee.md +3 -1
- data/docs/EmployeePayrollRun.md +3 -1
- data/docs/EmployeesApi.md +8 -0
- data/docs/Employment.md +4 -2
- data/docs/EndUserDetailsRequest.md +1 -1
- data/docs/ForceResyncApi.md +4 -4
- data/docs/Group.md +3 -1
- data/docs/LinkedAccountsApi.md +14 -14
- data/docs/Location.md +4 -2
- data/docs/PayGroup.md +3 -1
- data/docs/PayrollRun.md +3 -1
- data/docs/Tax.md +4 -2
- data/docs/Team.md +3 -1
- data/docs/TimeOff.md +3 -1
- data/docs/TimeOffBalance.md +3 -1
- data/lib/merge_hris_client/api/bank_info_api.rb +0 -1
- data/lib/merge_hris_client/api/employees_api.rb +16 -0
- data/lib/merge_hris_client/api/force_resync_api.rb +3 -3
- data/lib/merge_hris_client/api/linked_accounts_api.rb +14 -14
- data/lib/merge_hris_client/models/account_details_and_actions_status_enum.rb +0 -1
- data/lib/merge_hris_client/models/account_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/bank_info.rb +15 -5
- data/lib/merge_hris_client/models/benefit.rb +15 -5
- data/lib/merge_hris_client/models/categories_enum.rb +2 -1
- data/lib/merge_hris_client/models/category_enum.rb +2 -1
- data/lib/merge_hris_client/models/company.rb +15 -5
- data/lib/merge_hris_client/models/country_enum.rb +0 -1
- data/lib/merge_hris_client/models/deduction.rb +15 -5
- data/lib/merge_hris_client/models/earning.rb +18 -6
- data/lib/merge_hris_client/models/earning_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/employee.rb +14 -5
- data/lib/merge_hris_client/models/employee_payroll_run.rb +15 -5
- data/lib/merge_hris_client/models/employment.rb +15 -5
- data/lib/merge_hris_client/models/employment_status_enum.rb +0 -1
- data/lib/merge_hris_client/models/employment_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/encoding_enum.rb +0 -1
- data/lib/merge_hris_client/models/ethnicity_enum.rb +0 -1
- data/lib/merge_hris_client/models/flsa_status_enum.rb +0 -1
- data/lib/merge_hris_client/models/gender_enum.rb +0 -1
- data/lib/merge_hris_client/models/group.rb +15 -5
- data/lib/merge_hris_client/models/group_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/issue_status_enum.rb +0 -1
- data/lib/merge_hris_client/models/location.rb +15 -5
- data/lib/merge_hris_client/models/location_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/marital_status_enum.rb +0 -1
- data/lib/merge_hris_client/models/method_enum.rb +0 -1
- data/lib/merge_hris_client/models/pay_currency_enum.rb +0 -1
- data/lib/merge_hris_client/models/pay_frequency_enum.rb +0 -1
- data/lib/merge_hris_client/models/pay_group.rb +15 -5
- data/lib/merge_hris_client/models/pay_period_enum.rb +0 -1
- data/lib/merge_hris_client/models/payroll_run.rb +15 -5
- data/lib/merge_hris_client/models/policy_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/reason_enum.rb +0 -1
- data/lib/merge_hris_client/models/request_format_enum.rb +0 -1
- data/lib/merge_hris_client/models/request_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/run_state_enum.rb +0 -1
- data/lib/merge_hris_client/models/run_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/sync_status_status_enum.rb +0 -1
- data/lib/merge_hris_client/models/tax.rb +18 -6
- data/lib/merge_hris_client/models/team.rb +15 -5
- data/lib/merge_hris_client/models/time_off.rb +14 -5
- data/lib/merge_hris_client/models/time_off_balance.rb +15 -5
- data/lib/merge_hris_client/models/time_off_status_enum.rb +0 -1
- data/lib/merge_hris_client/models/units_enum.rb +0 -1
- data/lib/merge_hris_client/version.rb +1 -1
- data/spec/api/employees_api_spec.rb +4 -0
- data/spec/api/force_resync_api_spec.rb +1 -1
- data/spec/api/linked_accounts_api_spec.rb +7 -7
- data/spec/api/webhook_receivers_api_spec.rb +58 -0
- data/spec/models/bank_info_spec.rb +6 -0
- data/spec/models/benefit_spec.rb +6 -0
- data/spec/models/company_spec.rb +6 -0
- data/spec/models/deduction_spec.rb +6 -0
- data/spec/models/earning_spec.rb +6 -0
- data/spec/models/employee_payroll_run_spec.rb +6 -0
- data/spec/models/employee_spec.rb +6 -0
- data/spec/models/employment_spec.rb +6 -0
- data/spec/models/group_spec.rb +6 -0
- data/spec/models/linked_account_status_spec.rb +40 -0
- data/spec/models/location_spec.rb +6 -0
- data/spec/models/meta_response_spec.rb +52 -0
- data/spec/models/pay_group_spec.rb +6 -0
- data/spec/models/payroll_run_spec.rb +6 -0
- data/spec/models/tax_spec.rb +6 -0
- data/spec/models/team_spec.rb +6 -0
- data/spec/models/time_off_balance_spec.rb +6 -0
- data/spec/models/time_off_spec.rb +6 -0
- data/spec/models/webhook_receiver_request_spec.rb +46 -0
- data/spec/models/webhook_receiver_spec.rb +46 -0
- metadata +107 -110
- data/docs/BenefitPlanTypeEnum.md +0 -15
- data/docs/TypeEnum.md +0 -15
- data/lib/merge_hris_client/api/time_off_balance_api.rb +0 -196
- data/lib/merge_hris_client/models/benefit_plan_type_enum.rb +0 -56
- data/lib/merge_hris_client/models/data_passthrough.rb +0 -262
- data/lib/merge_hris_client/models/end_user_details.rb +0 -289
- data/lib/merge_hris_client/models/remote_key_for_regeneration.rb +0 -224
- data/lib/merge_hris_client/models/state_enum.rb +0 -93
- data/lib/merge_hris_client/models/type_enum.rb +0 -38
- data/spec/models/benefit_plan_type_enum_spec.rb +0 -28
- data/spec/models/type_enum_spec.rb +0 -28
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: merge_hris_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -76,7 +76,6 @@ files:
|
|
76
76
|
- docs/BankInfo.md
|
77
77
|
- docs/BankInfoApi.md
|
78
78
|
- docs/Benefit.md
|
79
|
-
- docs/BenefitPlanTypeEnum.md
|
80
79
|
- docs/BenefitsApi.md
|
81
80
|
- docs/CategoriesEnum.md
|
82
81
|
- docs/CategoryEnum.md
|
@@ -182,7 +181,6 @@ files:
|
|
182
181
|
- docs/TimeOffRequest.md
|
183
182
|
- docs/TimeOffResponse.md
|
184
183
|
- docs/TimeOffStatusEnum.md
|
185
|
-
- docs/TypeEnum.md
|
186
184
|
- docs/UnitsEnum.md
|
187
185
|
- docs/ValidationProblemSource.md
|
188
186
|
- docs/WarningValidationProblem.md
|
@@ -216,7 +214,6 @@ files:
|
|
216
214
|
- lib/merge_hris_client/api/sync_status_api.rb
|
217
215
|
- lib/merge_hris_client/api/teams_api.rb
|
218
216
|
- lib/merge_hris_client/api/time_off_api.rb
|
219
|
-
- lib/merge_hris_client/api/time_off_balance_api.rb
|
220
217
|
- lib/merge_hris_client/api/time_off_balances_api.rb
|
221
218
|
- lib/merge_hris_client/api/webhook_receivers_api.rb
|
222
219
|
- lib/merge_hris_client/api_client.rb
|
@@ -232,12 +229,10 @@ files:
|
|
232
229
|
- lib/merge_hris_client/models/available_actions.rb
|
233
230
|
- lib/merge_hris_client/models/bank_info.rb
|
234
231
|
- lib/merge_hris_client/models/benefit.rb
|
235
|
-
- lib/merge_hris_client/models/benefit_plan_type_enum.rb
|
236
232
|
- lib/merge_hris_client/models/categories_enum.rb
|
237
233
|
- lib/merge_hris_client/models/category_enum.rb
|
238
234
|
- lib/merge_hris_client/models/company.rb
|
239
235
|
- lib/merge_hris_client/models/country_enum.rb
|
240
|
-
- lib/merge_hris_client/models/data_passthrough.rb
|
241
236
|
- lib/merge_hris_client/models/data_passthrough_request.rb
|
242
237
|
- lib/merge_hris_client/models/debug_mode_log.rb
|
243
238
|
- lib/merge_hris_client/models/debug_model_log_summary.rb
|
@@ -253,7 +248,6 @@ files:
|
|
253
248
|
- lib/merge_hris_client/models/employment_status_enum.rb
|
254
249
|
- lib/merge_hris_client/models/employment_type_enum.rb
|
255
250
|
- lib/merge_hris_client/models/encoding_enum.rb
|
256
|
-
- lib/merge_hris_client/models/end_user_details.rb
|
257
251
|
- lib/merge_hris_client/models/end_user_details_request.rb
|
258
252
|
- lib/merge_hris_client/models/error_validation_problem.rb
|
259
253
|
- lib/merge_hris_client/models/ethnicity_enum.rb
|
@@ -302,14 +296,12 @@ files:
|
|
302
296
|
- lib/merge_hris_client/models/remote_data.rb
|
303
297
|
- lib/merge_hris_client/models/remote_data_request.rb
|
304
298
|
- lib/merge_hris_client/models/remote_key.rb
|
305
|
-
- lib/merge_hris_client/models/remote_key_for_regeneration.rb
|
306
299
|
- lib/merge_hris_client/models/remote_key_for_regeneration_request.rb
|
307
300
|
- lib/merge_hris_client/models/remote_response.rb
|
308
301
|
- lib/merge_hris_client/models/request_format_enum.rb
|
309
302
|
- lib/merge_hris_client/models/request_type_enum.rb
|
310
303
|
- lib/merge_hris_client/models/run_state_enum.rb
|
311
304
|
- lib/merge_hris_client/models/run_type_enum.rb
|
312
|
-
- lib/merge_hris_client/models/state_enum.rb
|
313
305
|
- lib/merge_hris_client/models/sync_status.rb
|
314
306
|
- lib/merge_hris_client/models/sync_status_status_enum.rb
|
315
307
|
- lib/merge_hris_client/models/tax.rb
|
@@ -320,7 +312,6 @@ files:
|
|
320
312
|
- lib/merge_hris_client/models/time_off_request.rb
|
321
313
|
- lib/merge_hris_client/models/time_off_response.rb
|
322
314
|
- lib/merge_hris_client/models/time_off_status_enum.rb
|
323
|
-
- lib/merge_hris_client/models/type_enum.rb
|
324
315
|
- lib/merge_hris_client/models/units_enum.rb
|
325
316
|
- lib/merge_hris_client/models/validation_problem_source.rb
|
326
317
|
- lib/merge_hris_client/models/warning_validation_problem.rb
|
@@ -355,6 +346,7 @@ files:
|
|
355
346
|
- spec/api/teams_api_spec.rb
|
356
347
|
- spec/api/time_off_api_spec.rb
|
357
348
|
- spec/api/time_off_balances_api_spec.rb
|
349
|
+
- spec/api/webhook_receivers_api_spec.rb
|
358
350
|
- spec/api_client_spec.rb
|
359
351
|
- spec/configuration_spec.rb
|
360
352
|
- spec/models/account_details_and_actions_integration_spec.rb
|
@@ -366,7 +358,6 @@ files:
|
|
366
358
|
- spec/models/account_type_enum_spec.rb
|
367
359
|
- spec/models/available_actions_spec.rb
|
368
360
|
- spec/models/bank_info_spec.rb
|
369
|
-
- spec/models/benefit_plan_type_enum_spec.rb
|
370
361
|
- spec/models/benefit_spec.rb
|
371
362
|
- spec/models/categories_enum_spec.rb
|
372
363
|
- spec/models/category_enum_spec.rb
|
@@ -400,9 +391,11 @@ files:
|
|
400
391
|
- spec/models/issue_spec.rb
|
401
392
|
- spec/models/issue_status_enum_spec.rb
|
402
393
|
- spec/models/link_token_spec.rb
|
394
|
+
- spec/models/linked_account_status_spec.rb
|
403
395
|
- spec/models/location_spec.rb
|
404
396
|
- spec/models/location_type_enum_spec.rb
|
405
397
|
- spec/models/marital_status_enum_spec.rb
|
398
|
+
- spec/models/meta_response_spec.rb
|
406
399
|
- spec/models/method_enum_spec.rb
|
407
400
|
- spec/models/model_operation_spec.rb
|
408
401
|
- spec/models/multipart_form_field_request_spec.rb
|
@@ -449,10 +442,11 @@ files:
|
|
449
442
|
- spec/models/time_off_response_spec.rb
|
450
443
|
- spec/models/time_off_spec.rb
|
451
444
|
- spec/models/time_off_status_enum_spec.rb
|
452
|
-
- spec/models/type_enum_spec.rb
|
453
445
|
- spec/models/units_enum_spec.rb
|
454
446
|
- spec/models/validation_problem_source_spec.rb
|
455
447
|
- spec/models/warning_validation_problem_spec.rb
|
448
|
+
- spec/models/webhook_receiver_request_spec.rb
|
449
|
+
- spec/models/webhook_receiver_spec.rb
|
456
450
|
- spec/spec_helper.rb
|
457
451
|
homepage: https://openapi-generator.tech
|
458
452
|
licenses:
|
@@ -478,128 +472,131 @@ signing_key:
|
|
478
472
|
specification_version: 4
|
479
473
|
summary: Merge HRIS API Ruby Gem
|
480
474
|
test_files:
|
481
|
-
- spec/api/time_off_balances_api_spec.rb
|
482
|
-
- spec/api/bank_info_api_spec.rb
|
483
|
-
- spec/api/companies_api_spec.rb
|
484
|
-
- spec/api/available_actions_api_spec.rb
|
485
|
-
- spec/api/employees_api_spec.rb
|
486
|
-
- spec/api/sync_status_api_spec.rb
|
487
475
|
- spec/api/deductions_api_spec.rb
|
488
|
-
- spec/api/
|
489
|
-
- spec/api/
|
476
|
+
- spec/api/passthrough_api_spec.rb
|
477
|
+
- spec/api/sync_status_api_spec.rb
|
490
478
|
- spec/api/groups_api_spec.rb
|
491
|
-
- spec/api/account_token_api_spec.rb
|
492
|
-
- spec/api/delete_account_api_spec.rb
|
493
|
-
- spec/api/locations_api_spec.rb
|
494
479
|
- spec/api/employments_api_spec.rb
|
495
|
-
- spec/api/
|
496
|
-
- spec/api/
|
497
|
-
- spec/api/
|
498
|
-
- spec/api/
|
480
|
+
- spec/api/locations_api_spec.rb
|
481
|
+
- spec/api/webhook_receivers_api_spec.rb
|
482
|
+
- spec/api/delete_account_api_spec.rb
|
483
|
+
- spec/api/time_off_balances_api_spec.rb
|
484
|
+
- spec/api/issues_api_spec.rb
|
499
485
|
- spec/api/time_off_api_spec.rb
|
486
|
+
- spec/api/available_actions_api_spec.rb
|
487
|
+
- spec/api/bank_info_api_spec.rb
|
500
488
|
- spec/api/teams_api_spec.rb
|
489
|
+
- spec/api/payroll_runs_api_spec.rb
|
490
|
+
- spec/api/link_token_api_spec.rb
|
491
|
+
- spec/api/pay_groups_api_spec.rb
|
492
|
+
- spec/api/account_token_api_spec.rb
|
501
493
|
- spec/api/regenerate_key_api_spec.rb
|
502
|
-
- spec/api/generate_key_api_spec.rb
|
503
|
-
- spec/api/employee_payroll_runs_api_spec.rb
|
504
494
|
- spec/api/account_details_api_spec.rb
|
495
|
+
- spec/api/force_resync_api_spec.rb
|
496
|
+
- spec/api/generate_key_api_spec.rb
|
505
497
|
- spec/api/linked_accounts_api_spec.rb
|
506
|
-
- spec/api/
|
498
|
+
- spec/api/employees_api_spec.rb
|
499
|
+
- spec/api/benefits_api_spec.rb
|
500
|
+
- spec/api/companies_api_spec.rb
|
501
|
+
- spec/api/employee_payroll_runs_api_spec.rb
|
507
502
|
- spec/api_client_spec.rb
|
508
503
|
- spec/configuration_spec.rb
|
509
|
-
- spec/models/
|
510
|
-
- spec/models/
|
511
|
-
- spec/models/
|
504
|
+
- spec/models/tax_spec.rb
|
505
|
+
- spec/models/issue_status_enum_spec.rb
|
506
|
+
- spec/models/company_spec.rb
|
507
|
+
- spec/models/paginated_group_list_spec.rb
|
512
508
|
- spec/models/remote_key_spec.rb
|
513
|
-
- spec/models/
|
514
|
-
- spec/models/
|
515
|
-
- spec/models/
|
516
|
-
- spec/models/
|
517
|
-
- spec/models/
|
518
|
-
- spec/models/
|
519
|
-
- spec/models/
|
520
|
-
- spec/models/
|
509
|
+
- spec/models/team_spec.rb
|
510
|
+
- spec/models/request_format_enum_spec.rb
|
511
|
+
- spec/models/paginated_issue_list_spec.rb
|
512
|
+
- spec/models/paginated_company_list_spec.rb
|
513
|
+
- spec/models/link_token_spec.rb
|
514
|
+
- spec/models/ignore_common_model_spec.rb
|
515
|
+
- spec/models/request_type_enum_spec.rb
|
516
|
+
- spec/models/category_enum_spec.rb
|
517
|
+
- spec/models/time_off_response_spec.rb
|
518
|
+
- spec/models/time_off_status_enum_spec.rb
|
519
|
+
- spec/models/end_user_details_request_spec.rb
|
521
520
|
- spec/models/employee_endpoint_request_spec.rb
|
522
|
-
- spec/models/
|
523
|
-
- spec/models/
|
524
|
-
- spec/models/
|
525
|
-
- spec/models/employee_payroll_run_spec.rb
|
526
|
-
- spec/models/sync_status_status_enum_spec.rb
|
521
|
+
- spec/models/earning_spec.rb
|
522
|
+
- spec/models/paginated_team_list_spec.rb
|
523
|
+
- spec/models/pay_period_enum_spec.rb
|
527
524
|
- spec/models/categories_enum_spec.rb
|
528
|
-
- spec/models/
|
529
|
-
- spec/models/
|
530
|
-
- spec/models/
|
531
|
-
- spec/models/model_operation_spec.rb
|
532
|
-
- spec/models/paginated_location_list_spec.rb
|
533
|
-
- spec/models/tax_spec.rb
|
525
|
+
- spec/models/employee_payroll_run_spec.rb
|
526
|
+
- spec/models/time_off_request_spec.rb
|
527
|
+
- spec/models/account_integration_spec.rb
|
534
528
|
- spec/models/time_off_endpoint_request_spec.rb
|
535
|
-
- spec/models/units_enum_spec.rb
|
536
|
-
- spec/models/multipart_form_field_request_spec.rb
|
537
|
-
- spec/models/ignore_common_model_spec.rb
|
538
|
-
- spec/models/run_type_enum_spec.rb
|
539
529
|
- spec/models/employment_status_enum_spec.rb
|
540
|
-
- spec/models/
|
541
|
-
- spec/models/
|
542
|
-
- spec/models/paginated_account_details_and_actions_list_spec.rb
|
543
|
-
- spec/models/available_actions_spec.rb
|
530
|
+
- spec/models/bank_info_spec.rb
|
531
|
+
- spec/models/paginated_employee_payroll_run_list_spec.rb
|
544
532
|
- spec/models/run_state_enum_spec.rb
|
545
|
-
- spec/models/
|
546
|
-
- spec/models/
|
547
|
-
- spec/models/
|
533
|
+
- spec/models/webhook_receiver_request_spec.rb
|
534
|
+
- spec/models/paginated_employment_list_spec.rb
|
535
|
+
- spec/models/encoding_enum_spec.rb
|
548
536
|
- spec/models/data_passthrough_request_spec.rb
|
549
|
-
- spec/models/
|
550
|
-
- spec/models/
|
551
|
-
- spec/models/
|
552
|
-
- spec/models/
|
553
|
-
- spec/models/
|
554
|
-
- spec/models/
|
537
|
+
- spec/models/paginated_benefit_list_spec.rb
|
538
|
+
- spec/models/reason_enum_spec.rb
|
539
|
+
- spec/models/run_type_enum_spec.rb
|
540
|
+
- spec/models/debug_model_log_summary_spec.rb
|
541
|
+
- spec/models/pay_frequency_enum_spec.rb
|
542
|
+
- spec/models/pay_group_spec.rb
|
555
543
|
- spec/models/account_details_and_actions_integration_spec.rb
|
556
|
-
- spec/models/
|
544
|
+
- spec/models/account_details_spec.rb
|
545
|
+
- spec/models/employee_response_spec.rb
|
557
546
|
- spec/models/method_enum_spec.rb
|
558
|
-
- spec/models/
|
559
|
-
- spec/models/
|
547
|
+
- spec/models/paginated_bank_info_list_spec.rb
|
548
|
+
- spec/models/flsa_status_enum_spec.rb
|
560
549
|
- spec/models/paginated_time_off_balance_list_spec.rb
|
561
|
-
- spec/models/
|
550
|
+
- spec/models/remote_response_spec.rb
|
551
|
+
- spec/models/employee_request_spec.rb
|
552
|
+
- spec/models/paginated_employee_list_spec.rb
|
553
|
+
- spec/models/sync_status_status_enum_spec.rb
|
554
|
+
- spec/models/location_type_enum_spec.rb
|
555
|
+
- spec/models/generate_remote_key_request_spec.rb
|
556
|
+
- spec/models/location_spec.rb
|
557
|
+
- spec/models/ethnicity_enum_spec.rb
|
558
|
+
- spec/models/group_type_enum_spec.rb
|
559
|
+
- spec/models/paginated_sync_status_list_spec.rb
|
560
|
+
- spec/models/time_off_spec.rb
|
562
561
|
- spec/models/account_details_and_actions_spec.rb
|
563
|
-
- spec/models/
|
564
|
-
- spec/models/paginated_team_list_spec.rb
|
565
|
-
- spec/models/request_type_enum_spec.rb
|
566
|
-
- spec/models/deduction_spec.rb
|
567
|
-
- spec/models/account_details_and_actions_status_enum_spec.rb
|
568
|
-
- spec/models/paginated_payroll_run_list_spec.rb
|
569
|
-
- spec/models/link_token_spec.rb
|
570
|
-
- spec/models/pay_currency_enum_spec.rb
|
562
|
+
- spec/models/payroll_run_spec.rb
|
571
563
|
- spec/models/time_off_balance_spec.rb
|
572
|
-
- spec/models/
|
573
|
-
- spec/models/
|
574
|
-
- spec/models/
|
575
|
-
- spec/models/paginated_sync_status_list_spec.rb
|
576
|
-
- spec/models/team_spec.rb
|
577
|
-
- spec/models/earning_type_enum_spec.rb
|
578
|
-
- spec/models/remote_response_spec.rb
|
564
|
+
- spec/models/issue_spec.rb
|
565
|
+
- spec/models/employee_spec.rb
|
566
|
+
- spec/models/paginated_deduction_list_spec.rb
|
579
567
|
- spec/models/policy_type_enum_spec.rb
|
580
|
-
- spec/models/benefit_plan_type_enum_spec.rb
|
581
|
-
- spec/models/paginated_company_list_spec.rb
|
582
|
-
- spec/models/pay_frequency_enum_spec.rb
|
583
|
-
- spec/models/paginated_bank_info_list_spec.rb
|
584
|
-
- spec/models/payroll_run_spec.rb
|
585
|
-
- spec/models/company_spec.rb
|
586
|
-
- spec/models/gender_enum_spec.rb
|
587
|
-
- spec/models/account_integration_spec.rb
|
588
|
-
- spec/models/remote_data_request_spec.rb
|
589
|
-
- spec/models/category_enum_spec.rb
|
590
|
-
- spec/models/time_off_response_spec.rb
|
591
|
-
- spec/models/paginated_group_list_spec.rb
|
592
568
|
- spec/models/sync_status_spec.rb
|
593
|
-
- spec/models/
|
594
|
-
- spec/models/
|
595
|
-
- spec/models/flsa_status_enum_spec.rb
|
569
|
+
- spec/models/paginated_location_list_spec.rb
|
570
|
+
- spec/models/account_token_spec.rb
|
596
571
|
- spec/models/account_type_enum_spec.rb
|
597
|
-
- spec/models/employment_spec.rb
|
598
|
-
- spec/models/group_type_enum_spec.rb
|
599
|
-
- spec/models/paginated_deduction_list_spec.rb
|
600
|
-
- spec/models/debug_mode_log_spec.rb
|
601
|
-
- spec/models/employee_spec.rb
|
602
572
|
- spec/models/marital_status_enum_spec.rb
|
603
|
-
- spec/models/
|
573
|
+
- spec/models/debug_mode_log_spec.rb
|
574
|
+
- spec/models/benefit_spec.rb
|
575
|
+
- spec/models/meta_response_spec.rb
|
576
|
+
- spec/models/linked_account_status_spec.rb
|
577
|
+
- spec/models/employment_spec.rb
|
604
578
|
- spec/models/error_validation_problem_spec.rb
|
579
|
+
- spec/models/group_spec.rb
|
580
|
+
- spec/models/earning_type_enum_spec.rb
|
581
|
+
- spec/models/gender_enum_spec.rb
|
582
|
+
- spec/models/units_enum_spec.rb
|
583
|
+
- spec/models/webhook_receiver_spec.rb
|
584
|
+
- spec/models/account_details_and_actions_status_enum_spec.rb
|
585
|
+
- spec/models/paginated_payroll_run_list_spec.rb
|
586
|
+
- spec/models/warning_validation_problem_spec.rb
|
587
|
+
- spec/models/ignore_common_model_request_spec.rb
|
588
|
+
- spec/models/validation_problem_source_spec.rb
|
589
|
+
- spec/models/model_operation_spec.rb
|
590
|
+
- spec/models/available_actions_spec.rb
|
591
|
+
- spec/models/paginated_account_details_and_actions_list_spec.rb
|
592
|
+
- spec/models/remote_data_spec.rb
|
593
|
+
- spec/models/deduction_spec.rb
|
594
|
+
- spec/models/multipart_form_field_request_spec.rb
|
595
|
+
- spec/models/country_enum_spec.rb
|
596
|
+
- spec/models/employment_type_enum_spec.rb
|
597
|
+
- spec/models/paginated_time_off_list_spec.rb
|
598
|
+
- spec/models/pay_currency_enum_spec.rb
|
599
|
+
- spec/models/remote_data_request_spec.rb
|
600
|
+
- spec/models/remote_key_for_regeneration_request_spec.rb
|
601
|
+
- spec/models/paginated_pay_group_list_spec.rb
|
605
602
|
- spec/spec_helper.rb
|
data/docs/BenefitPlanTypeEnum.md
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
# MergeHRISClient::BenefitPlanTypeEnum
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
|
8
|
-
## Example
|
9
|
-
|
10
|
-
```ruby
|
11
|
-
require 'merge_hris_client'
|
12
|
-
|
13
|
-
instance = MergeHRISClient::BenefitPlanTypeEnum.new()
|
14
|
-
```
|
15
|
-
|
data/docs/TypeEnum.md
DELETED
@@ -1,196 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Merge HRIS API
|
3
|
-
|
4
|
-
#The unified API for building rich integrations with multiple HR Information System platforms.
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0
|
7
|
-
Contact: hello@merge.dev
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.1.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'cgi'
|
14
|
-
|
15
|
-
module MergeHRISClient
|
16
|
-
class TimeOffBalanceApi
|
17
|
-
attr_accessor :api_client
|
18
|
-
|
19
|
-
def initialize(api_client = ApiClient.default)
|
20
|
-
@api_client = api_client
|
21
|
-
end
|
22
|
-
# Returns a list of `TimeOffBalance` objects.
|
23
|
-
# @param x_account_token [String] Token identifying the end user.
|
24
|
-
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [Time] :created_after If provided, will only return objects created after this datetime.
|
26
|
-
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
27
|
-
# @option opts [String] :cursor The pagination cursor value.
|
28
|
-
# @option opts [String] :employee_id If provided, will only return time off balances for this employee.
|
29
|
-
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
30
|
-
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
31
|
-
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
32
|
-
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
33
|
-
# @option opts [Integer] :page_size Number of results to return per page.
|
34
|
-
# @option opts [String] :remote_id The API provider's ID for the given object.
|
35
|
-
# @return [PaginatedTimeOffBalanceList]
|
36
|
-
def time_off_balance_list(x_account_token, opts = {})
|
37
|
-
data, _status_code, _headers = time_off_balance_list_with_http_info(x_account_token, opts)
|
38
|
-
data
|
39
|
-
end
|
40
|
-
|
41
|
-
# Returns a list of `TimeOffBalance` objects.
|
42
|
-
# @param x_account_token [String] Token identifying the end user.
|
43
|
-
# @param [Hash] opts the optional parameters
|
44
|
-
# @option opts [Time] :created_after If provided, will only return objects created after this datetime.
|
45
|
-
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
46
|
-
# @option opts [String] :cursor The pagination cursor value.
|
47
|
-
# @option opts [String] :employee_id If provided, will only return time off balances for this employee.
|
48
|
-
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
49
|
-
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
50
|
-
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
51
|
-
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
52
|
-
# @option opts [Integer] :page_size Number of results to return per page.
|
53
|
-
# @option opts [String] :remote_id The API provider's ID for the given object.
|
54
|
-
# @return [Array<(PaginatedTimeOffBalanceList, Integer, Hash)>] PaginatedTimeOffBalanceList data, response status code and response headers
|
55
|
-
def time_off_balance_list_with_http_info(x_account_token, opts = {})
|
56
|
-
if @api_client.config.debugging
|
57
|
-
@api_client.config.logger.debug 'Calling API: TimeOffBalanceApi.time_off_balance_list ...'
|
58
|
-
end
|
59
|
-
# verify the required parameter 'x_account_token' is set
|
60
|
-
if @api_client.config.client_side_validation && x_account_token.nil?
|
61
|
-
fail ArgumentError, "Missing the required parameter 'x_account_token' when calling TimeOffBalanceApi.time_off_balance_list"
|
62
|
-
end
|
63
|
-
allowable_values = ["employee"]
|
64
|
-
if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
|
65
|
-
fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
|
66
|
-
end
|
67
|
-
# resource path
|
68
|
-
local_var_path = '/time-off-balance'
|
69
|
-
|
70
|
-
# query parameters
|
71
|
-
query_params = opts[:query_params] || {}
|
72
|
-
query_params[:'created_after'] = opts[:'created_after'] if !opts[:'created_after'].nil?
|
73
|
-
query_params[:'created_before'] = opts[:'created_before'] if !opts[:'created_before'].nil?
|
74
|
-
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
75
|
-
query_params[:'employee_id'] = opts[:'employee_id'] if !opts[:'employee_id'].nil?
|
76
|
-
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
77
|
-
query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
|
78
|
-
query_params[:'modified_after'] = opts[:'modified_after'] if !opts[:'modified_after'].nil?
|
79
|
-
query_params[:'modified_before'] = opts[:'modified_before'] if !opts[:'modified_before'].nil?
|
80
|
-
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
81
|
-
query_params[:'remote_id'] = opts[:'remote_id'] if !opts[:'remote_id'].nil?
|
82
|
-
|
83
|
-
# header parameters
|
84
|
-
header_params = opts[:header_params] || {}
|
85
|
-
# HTTP header 'Accept' (if needed)
|
86
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
87
|
-
header_params[:'X-Account-Token'] = x_account_token
|
88
|
-
|
89
|
-
# form parameters
|
90
|
-
form_params = opts[:form_params] || {}
|
91
|
-
|
92
|
-
# http body (model)
|
93
|
-
post_body = opts[:debug_body]
|
94
|
-
|
95
|
-
# return_type
|
96
|
-
return_type = opts[:debug_return_type] || 'PaginatedTimeOffBalanceList'
|
97
|
-
|
98
|
-
# auth_names
|
99
|
-
auth_names = opts[:debug_auth_names] || ['tokenAuth']
|
100
|
-
|
101
|
-
new_options = opts.merge(
|
102
|
-
:operation => :"TimeOffBalanceApi.time_off_balance_list",
|
103
|
-
:header_params => header_params,
|
104
|
-
:query_params => query_params,
|
105
|
-
:form_params => form_params,
|
106
|
-
:body => post_body,
|
107
|
-
:auth_names => auth_names,
|
108
|
-
:return_type => return_type
|
109
|
-
)
|
110
|
-
|
111
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
112
|
-
if @api_client.config.debugging
|
113
|
-
@api_client.config.logger.debug "API called: TimeOffBalanceApi#time_off_balance_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
114
|
-
end
|
115
|
-
return data, status_code, headers
|
116
|
-
end
|
117
|
-
|
118
|
-
# Returns an `TimeOffBalance` object with the given `id`.
|
119
|
-
# @param x_account_token [String] Token identifying the end user.
|
120
|
-
# @param id [String]
|
121
|
-
# @param [Hash] opts the optional parameters
|
122
|
-
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
123
|
-
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
124
|
-
# @return [TimeOffBalance]
|
125
|
-
def time_off_balance_retrieve(x_account_token, id, opts = {})
|
126
|
-
data, _status_code, _headers = time_off_balance_retrieve_with_http_info(x_account_token, id, opts)
|
127
|
-
data
|
128
|
-
end
|
129
|
-
|
130
|
-
# Returns an `TimeOffBalance` object with the given `id`.
|
131
|
-
# @param x_account_token [String] Token identifying the end user.
|
132
|
-
# @param id [String]
|
133
|
-
# @param [Hash] opts the optional parameters
|
134
|
-
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
135
|
-
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
136
|
-
# @return [Array<(TimeOffBalance, Integer, Hash)>] TimeOffBalance data, response status code and response headers
|
137
|
-
def time_off_balance_retrieve_with_http_info(x_account_token, id, opts = {})
|
138
|
-
if @api_client.config.debugging
|
139
|
-
@api_client.config.logger.debug 'Calling API: TimeOffBalanceApi.time_off_balance_retrieve ...'
|
140
|
-
end
|
141
|
-
# verify the required parameter 'x_account_token' is set
|
142
|
-
if @api_client.config.client_side_validation && x_account_token.nil?
|
143
|
-
fail ArgumentError, "Missing the required parameter 'x_account_token' when calling TimeOffBalanceApi.time_off_balance_retrieve"
|
144
|
-
end
|
145
|
-
# verify the required parameter 'id' is set
|
146
|
-
if @api_client.config.client_side_validation && id.nil?
|
147
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling TimeOffBalanceApi.time_off_balance_retrieve"
|
148
|
-
end
|
149
|
-
allowable_values = ["employee"]
|
150
|
-
if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
|
151
|
-
fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
|
152
|
-
end
|
153
|
-
# resource path
|
154
|
-
local_var_path = '/time-off-balance/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
155
|
-
|
156
|
-
# query parameters
|
157
|
-
query_params = opts[:query_params] || {}
|
158
|
-
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
159
|
-
query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
|
160
|
-
|
161
|
-
# header parameters
|
162
|
-
header_params = opts[:header_params] || {}
|
163
|
-
# HTTP header 'Accept' (if needed)
|
164
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
165
|
-
header_params[:'X-Account-Token'] = x_account_token
|
166
|
-
|
167
|
-
# form parameters
|
168
|
-
form_params = opts[:form_params] || {}
|
169
|
-
|
170
|
-
# http body (model)
|
171
|
-
post_body = opts[:debug_body]
|
172
|
-
|
173
|
-
# return_type
|
174
|
-
return_type = opts[:debug_return_type] || 'TimeOffBalance'
|
175
|
-
|
176
|
-
# auth_names
|
177
|
-
auth_names = opts[:debug_auth_names] || ['tokenAuth']
|
178
|
-
|
179
|
-
new_options = opts.merge(
|
180
|
-
:operation => :"TimeOffBalanceApi.time_off_balance_retrieve",
|
181
|
-
:header_params => header_params,
|
182
|
-
:query_params => query_params,
|
183
|
-
:form_params => form_params,
|
184
|
-
:body => post_body,
|
185
|
-
:auth_names => auth_names,
|
186
|
-
:return_type => return_type
|
187
|
-
)
|
188
|
-
|
189
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
190
|
-
if @api_client.config.debugging
|
191
|
-
@api_client.config.logger.debug "API called: TimeOffBalanceApi#time_off_balance_retrieve\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
192
|
-
end
|
193
|
-
return data, status_code, headers
|
194
|
-
end
|
195
|
-
end
|
196
|
-
end
|
@@ -1,56 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Merge HRIS API
|
3
|
-
|
4
|
-
#The unified API for building rich integrations with multiple HR Information System platforms.
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0
|
7
|
-
Contact: hello@merge.dev
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.1.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'date'
|
14
|
-
require 'time'
|
15
|
-
|
16
|
-
module MergeHRISClient
|
17
|
-
class BenefitPlanTypeEnum
|
18
|
-
MEDICAL = "MEDICAL".freeze
|
19
|
-
DENTAL = "DENTAL".freeze
|
20
|
-
VISION = "VISION".freeze
|
21
|
-
HSA = "HSA".freeze
|
22
|
-
FSA_MEDICAL = "FSA_MEDICAL".freeze
|
23
|
-
FSA_DEPENDENT_CARE = "FSA_DEPENDENT_CARE".freeze
|
24
|
-
SIMPLE_IRA = "SIMPLE_IRA".freeze
|
25
|
-
N401_K = "_401K".freeze
|
26
|
-
ROTH_401_K = "ROTH_401K".freeze
|
27
|
-
OTHER_NON_TAXABLE = "OTHER_NON_TAXABLE".freeze
|
28
|
-
COMMUTER_TRANSIT = "COMMUTER_TRANSIT".freeze
|
29
|
-
COMMUTER_PARKING = "COMMUTER_PARKING".freeze
|
30
|
-
N401_K_LOAN_PAYMENT = "_401K_LOAN_PAYMENT".freeze
|
31
|
-
SHORT_DISABILITY = "SHORT_DISABILITY".freeze
|
32
|
-
LONG_DISABILITY = "LONG_DISABILITY".freeze
|
33
|
-
LIFE = "LIFE".freeze
|
34
|
-
SEP_IRA = "SEP_IRA".freeze
|
35
|
-
SARSEP = "SARSEP".freeze
|
36
|
-
CUSTOM_TAXABLE = "CUSTOM_TAXABLE".freeze
|
37
|
-
N403_B = "_403B".freeze
|
38
|
-
ROTH_403_B = "ROTH_403B".freeze
|
39
|
-
STUDENT_LOAN = "STUDENT_LOAN".freeze
|
40
|
-
|
41
|
-
# Builds the enum from string
|
42
|
-
# @param [String] The enum value in the form of the string
|
43
|
-
# @return [String] The enum value
|
44
|
-
def self.build_from_hash(value)
|
45
|
-
new.build_from_hash(value)
|
46
|
-
end
|
47
|
-
|
48
|
-
# Builds the enum from string
|
49
|
-
# @param [String] The enum value in the form of the string
|
50
|
-
# @return [String] The enum value
|
51
|
-
def build_from_hash(value)
|
52
|
-
constantValues = BenefitPlanTypeEnum.constants.select { |c| BenefitPlanTypeEnum::const_get(c) == value }
|
53
|
-
value
|
54
|
-
end
|
55
|
-
end
|
56
|
-
end
|