merge_hris_client 2.0.1 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/BankInfo.md +3 -1
- data/docs/BankInfoApi.md +7 -3
- data/docs/Benefit.md +3 -1
- data/docs/BenefitsApi.md +2 -2
- data/docs/CompaniesApi.md +2 -2
- data/docs/Company.md +3 -1
- data/docs/DataPassthroughRequest.md +3 -1
- data/docs/Deduction.md +3 -1
- data/docs/DeductionsApi.md +2 -2
- data/docs/Earning.md +4 -2
- data/docs/Employee.md +3 -1
- data/docs/EmployeePayrollRun.md +3 -1
- data/docs/EmployeePayrollRunsApi.md +2 -2
- data/docs/EmployeesApi.md +15 -3
- data/docs/Employment.md +4 -2
- data/docs/EmploymentsApi.md +7 -3
- data/docs/EndUserDetailsRequest.md +1 -1
- data/docs/ForceResyncApi.md +4 -4
- data/docs/Group.md +3 -1
- data/docs/GroupsApi.md +7 -3
- data/docs/LinkedAccountsApi.md +14 -14
- data/docs/Location.md +4 -2
- data/docs/LocationsApi.md +7 -3
- data/docs/PayGroup.md +3 -1
- data/docs/PayGroupsApi.md +2 -2
- data/docs/PayrollRun.md +3 -1
- data/docs/PayrollRunsApi.md +7 -3
- data/docs/RemoteResponse.md +2 -0
- data/docs/Tax.md +4 -2
- data/docs/Team.md +3 -1
- data/docs/TeamsApi.md +2 -2
- data/docs/TimeOff.md +3 -1
- data/docs/TimeOffApi.md +7 -3
- data/docs/TimeOffBalance.md +3 -1
- data/docs/TimeOffBalancesApi.md +7 -3
- data/lib/merge_hris_client/api/bank_info_api.rb +16 -3
- data/lib/merge_hris_client/api/benefits_api.rb +2 -2
- data/lib/merge_hris_client/api/companies_api.rb +2 -2
- data/lib/merge_hris_client/api/deductions_api.rb +2 -2
- data/lib/merge_hris_client/api/employee_payroll_runs_api.rb +2 -2
- data/lib/merge_hris_client/api/employees_api.rb +32 -2
- data/lib/merge_hris_client/api/employments_api.rb +16 -2
- data/lib/merge_hris_client/api/force_resync_api.rb +3 -3
- data/lib/merge_hris_client/api/groups_api.rb +16 -2
- data/lib/merge_hris_client/api/linked_accounts_api.rb +14 -14
- data/lib/merge_hris_client/api/locations_api.rb +16 -2
- data/lib/merge_hris_client/api/pay_groups_api.rb +2 -2
- data/lib/merge_hris_client/api/payroll_runs_api.rb +16 -2
- data/lib/merge_hris_client/api/teams_api.rb +2 -2
- data/lib/merge_hris_client/api/time_off_api.rb +16 -2
- data/lib/merge_hris_client/api/time_off_balances_api.rb +16 -2
- data/lib/merge_hris_client/api/webhook_receivers_api.rb +154 -0
- 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/data_passthrough_request.rb +14 -5
- 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 +1 -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/remote_response.rb +13 -2
- 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/bank_info_api_spec.rb +3 -1
- data/spec/api/benefits_api_spec.rb +1 -1
- data/spec/api/companies_api_spec.rb +1 -1
- data/spec/api/deductions_api_spec.rb +1 -1
- data/spec/api/employee_payroll_runs_api_spec.rb +1 -1
- data/spec/api/employees_api_spec.rb +7 -1
- data/spec/api/employments_api_spec.rb +3 -1
- data/spec/api/force_resync_api_spec.rb +1 -1
- data/spec/api/groups_api_spec.rb +3 -1
- data/spec/api/linked_accounts_api_spec.rb +7 -7
- data/spec/api/locations_api_spec.rb +3 -1
- data/spec/api/pay_groups_api_spec.rb +1 -1
- data/spec/api/payroll_runs_api_spec.rb +3 -1
- data/spec/api/teams_api_spec.rb +1 -1
- data/spec/api/time_off_api_spec.rb +3 -1
- data/spec/api/time_off_balances_api_spec.rb +3 -1
- data/spec/api/webhook_receivers_api_spec.rb +58 -0
- data/spec/models/bank_info_spec.rb +1 -1
- data/spec/models/benefit_spec.rb +1 -1
- data/spec/models/company_spec.rb +1 -1
- data/spec/models/data_passthrough_request_spec.rb +6 -0
- data/spec/models/deduction_spec.rb +1 -1
- data/spec/models/earning_spec.rb +1 -1
- data/spec/models/employee_payroll_run_spec.rb +1 -1
- data/spec/models/employee_spec.rb +2 -2
- data/spec/models/employment_spec.rb +1 -1
- data/spec/models/group_spec.rb +1 -1
- data/spec/models/linked_account_status_spec.rb +40 -0
- data/spec/models/location_spec.rb +1 -1
- data/spec/models/meta_response_spec.rb +52 -0
- data/spec/models/pay_group_spec.rb +1 -1
- data/spec/models/payroll_run_spec.rb +1 -1
- data/spec/models/remote_response_spec.rb +6 -0
- data/spec/models/tax_spec.rb +1 -1
- data/spec/models/team_spec.rb +1 -1
- data/spec/models/time_off_balance_spec.rb +1 -1
- data/spec/models/time_off_spec.rb +1 -1
- data/spec/models/webhook_receiver_request_spec.rb +46 -0
- data/spec/models/webhook_receiver_spec.rb +46 -0
- metadata +105 -107
- 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.4
|
|
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-21 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,8 +214,8 @@ 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
|
|
218
|
+
- lib/merge_hris_client/api/webhook_receivers_api.rb
|
|
221
219
|
- lib/merge_hris_client/api_client.rb
|
|
222
220
|
- lib/merge_hris_client/api_error.rb
|
|
223
221
|
- lib/merge_hris_client/configuration.rb
|
|
@@ -231,12 +229,10 @@ files:
|
|
|
231
229
|
- lib/merge_hris_client/models/available_actions.rb
|
|
232
230
|
- lib/merge_hris_client/models/bank_info.rb
|
|
233
231
|
- lib/merge_hris_client/models/benefit.rb
|
|
234
|
-
- lib/merge_hris_client/models/benefit_plan_type_enum.rb
|
|
235
232
|
- lib/merge_hris_client/models/categories_enum.rb
|
|
236
233
|
- lib/merge_hris_client/models/category_enum.rb
|
|
237
234
|
- lib/merge_hris_client/models/company.rb
|
|
238
235
|
- lib/merge_hris_client/models/country_enum.rb
|
|
239
|
-
- lib/merge_hris_client/models/data_passthrough.rb
|
|
240
236
|
- lib/merge_hris_client/models/data_passthrough_request.rb
|
|
241
237
|
- lib/merge_hris_client/models/debug_mode_log.rb
|
|
242
238
|
- lib/merge_hris_client/models/debug_model_log_summary.rb
|
|
@@ -252,7 +248,6 @@ files:
|
|
|
252
248
|
- lib/merge_hris_client/models/employment_status_enum.rb
|
|
253
249
|
- lib/merge_hris_client/models/employment_type_enum.rb
|
|
254
250
|
- lib/merge_hris_client/models/encoding_enum.rb
|
|
255
|
-
- lib/merge_hris_client/models/end_user_details.rb
|
|
256
251
|
- lib/merge_hris_client/models/end_user_details_request.rb
|
|
257
252
|
- lib/merge_hris_client/models/error_validation_problem.rb
|
|
258
253
|
- lib/merge_hris_client/models/ethnicity_enum.rb
|
|
@@ -301,14 +296,12 @@ files:
|
|
|
301
296
|
- lib/merge_hris_client/models/remote_data.rb
|
|
302
297
|
- lib/merge_hris_client/models/remote_data_request.rb
|
|
303
298
|
- lib/merge_hris_client/models/remote_key.rb
|
|
304
|
-
- lib/merge_hris_client/models/remote_key_for_regeneration.rb
|
|
305
299
|
- lib/merge_hris_client/models/remote_key_for_regeneration_request.rb
|
|
306
300
|
- lib/merge_hris_client/models/remote_response.rb
|
|
307
301
|
- lib/merge_hris_client/models/request_format_enum.rb
|
|
308
302
|
- lib/merge_hris_client/models/request_type_enum.rb
|
|
309
303
|
- lib/merge_hris_client/models/run_state_enum.rb
|
|
310
304
|
- lib/merge_hris_client/models/run_type_enum.rb
|
|
311
|
-
- lib/merge_hris_client/models/state_enum.rb
|
|
312
305
|
- lib/merge_hris_client/models/sync_status.rb
|
|
313
306
|
- lib/merge_hris_client/models/sync_status_status_enum.rb
|
|
314
307
|
- lib/merge_hris_client/models/tax.rb
|
|
@@ -319,7 +312,6 @@ files:
|
|
|
319
312
|
- lib/merge_hris_client/models/time_off_request.rb
|
|
320
313
|
- lib/merge_hris_client/models/time_off_response.rb
|
|
321
314
|
- lib/merge_hris_client/models/time_off_status_enum.rb
|
|
322
|
-
- lib/merge_hris_client/models/type_enum.rb
|
|
323
315
|
- lib/merge_hris_client/models/units_enum.rb
|
|
324
316
|
- lib/merge_hris_client/models/validation_problem_source.rb
|
|
325
317
|
- lib/merge_hris_client/models/warning_validation_problem.rb
|
|
@@ -354,6 +346,7 @@ files:
|
|
|
354
346
|
- spec/api/teams_api_spec.rb
|
|
355
347
|
- spec/api/time_off_api_spec.rb
|
|
356
348
|
- spec/api/time_off_balances_api_spec.rb
|
|
349
|
+
- spec/api/webhook_receivers_api_spec.rb
|
|
357
350
|
- spec/api_client_spec.rb
|
|
358
351
|
- spec/configuration_spec.rb
|
|
359
352
|
- spec/models/account_details_and_actions_integration_spec.rb
|
|
@@ -365,7 +358,6 @@ files:
|
|
|
365
358
|
- spec/models/account_type_enum_spec.rb
|
|
366
359
|
- spec/models/available_actions_spec.rb
|
|
367
360
|
- spec/models/bank_info_spec.rb
|
|
368
|
-
- spec/models/benefit_plan_type_enum_spec.rb
|
|
369
361
|
- spec/models/benefit_spec.rb
|
|
370
362
|
- spec/models/categories_enum_spec.rb
|
|
371
363
|
- spec/models/category_enum_spec.rb
|
|
@@ -399,9 +391,11 @@ files:
|
|
|
399
391
|
- spec/models/issue_spec.rb
|
|
400
392
|
- spec/models/issue_status_enum_spec.rb
|
|
401
393
|
- spec/models/link_token_spec.rb
|
|
394
|
+
- spec/models/linked_account_status_spec.rb
|
|
402
395
|
- spec/models/location_spec.rb
|
|
403
396
|
- spec/models/location_type_enum_spec.rb
|
|
404
397
|
- spec/models/marital_status_enum_spec.rb
|
|
398
|
+
- spec/models/meta_response_spec.rb
|
|
405
399
|
- spec/models/method_enum_spec.rb
|
|
406
400
|
- spec/models/model_operation_spec.rb
|
|
407
401
|
- spec/models/multipart_form_field_request_spec.rb
|
|
@@ -448,10 +442,11 @@ files:
|
|
|
448
442
|
- spec/models/time_off_response_spec.rb
|
|
449
443
|
- spec/models/time_off_spec.rb
|
|
450
444
|
- spec/models/time_off_status_enum_spec.rb
|
|
451
|
-
- spec/models/type_enum_spec.rb
|
|
452
445
|
- spec/models/units_enum_spec.rb
|
|
453
446
|
- spec/models/validation_problem_source_spec.rb
|
|
454
447
|
- spec/models/warning_validation_problem_spec.rb
|
|
448
|
+
- spec/models/webhook_receiver_request_spec.rb
|
|
449
|
+
- spec/models/webhook_receiver_spec.rb
|
|
455
450
|
- spec/spec_helper.rb
|
|
456
451
|
homepage: https://openapi-generator.tech
|
|
457
452
|
licenses:
|
|
@@ -477,128 +472,131 @@ signing_key:
|
|
|
477
472
|
specification_version: 4
|
|
478
473
|
summary: Merge HRIS API Ruby Gem
|
|
479
474
|
test_files:
|
|
480
|
-
- spec/api/
|
|
481
|
-
- spec/api/
|
|
475
|
+
- spec/api/account_details_api_spec.rb
|
|
476
|
+
- spec/api/link_token_api_spec.rb
|
|
477
|
+
- spec/api/locations_api_spec.rb
|
|
478
|
+
- spec/api/force_resync_api_spec.rb
|
|
482
479
|
- spec/api/companies_api_spec.rb
|
|
483
|
-
- spec/api/
|
|
480
|
+
- spec/api/benefits_api_spec.rb
|
|
481
|
+
- spec/api/passthrough_api_spec.rb
|
|
484
482
|
- spec/api/employees_api_spec.rb
|
|
485
|
-
- spec/api/sync_status_api_spec.rb
|
|
486
|
-
- spec/api/deductions_api_spec.rb
|
|
487
483
|
- spec/api/issues_api_spec.rb
|
|
488
|
-
- spec/api/
|
|
489
|
-
- spec/api/
|
|
484
|
+
- spec/api/teams_api_spec.rb
|
|
485
|
+
- spec/api/regenerate_key_api_spec.rb
|
|
490
486
|
- spec/api/account_token_api_spec.rb
|
|
487
|
+
- spec/api/linked_accounts_api_spec.rb
|
|
488
|
+
- spec/api/groups_api_spec.rb
|
|
489
|
+
- spec/api/available_actions_api_spec.rb
|
|
490
|
+
- spec/api/deductions_api_spec.rb
|
|
491
|
+
- spec/api/bank_info_api_spec.rb
|
|
491
492
|
- spec/api/delete_account_api_spec.rb
|
|
492
|
-
- spec/api/locations_api_spec.rb
|
|
493
|
-
- spec/api/employments_api_spec.rb
|
|
494
|
-
- spec/api/link_token_api_spec.rb
|
|
495
|
-
- spec/api/benefits_api_spec.rb
|
|
496
|
-
- spec/api/passthrough_api_spec.rb
|
|
497
493
|
- spec/api/payroll_runs_api_spec.rb
|
|
494
|
+
- spec/api/webhook_receivers_api_spec.rb
|
|
495
|
+
- spec/api/sync_status_api_spec.rb
|
|
496
|
+
- spec/api/pay_groups_api_spec.rb
|
|
497
|
+
- spec/api/time_off_balances_api_spec.rb
|
|
498
|
+
- spec/api/employee_payroll_runs_api_spec.rb
|
|
498
499
|
- spec/api/time_off_api_spec.rb
|
|
499
|
-
- spec/api/
|
|
500
|
-
- spec/api/regenerate_key_api_spec.rb
|
|
500
|
+
- spec/api/employments_api_spec.rb
|
|
501
501
|
- spec/api/generate_key_api_spec.rb
|
|
502
|
-
- spec/api/employee_payroll_runs_api_spec.rb
|
|
503
|
-
- spec/api/account_details_api_spec.rb
|
|
504
|
-
- spec/api/linked_accounts_api_spec.rb
|
|
505
|
-
- spec/api/pay_groups_api_spec.rb
|
|
506
502
|
- spec/api_client_spec.rb
|
|
507
503
|
- spec/configuration_spec.rb
|
|
508
|
-
- spec/models/
|
|
504
|
+
- spec/models/pay_group_spec.rb
|
|
505
|
+
- spec/models/time_off_status_enum_spec.rb
|
|
506
|
+
- spec/models/webhook_receiver_request_spec.rb
|
|
507
|
+
- spec/models/employee_response_spec.rb
|
|
508
|
+
- spec/models/paginated_group_list_spec.rb
|
|
509
|
+
- spec/models/gender_enum_spec.rb
|
|
510
|
+
- spec/models/categories_enum_spec.rb
|
|
509
511
|
- spec/models/benefit_spec.rb
|
|
512
|
+
- spec/models/paginated_payroll_run_list_spec.rb
|
|
513
|
+
- spec/models/company_spec.rb
|
|
514
|
+
- spec/models/units_enum_spec.rb
|
|
515
|
+
- spec/models/issue_spec.rb
|
|
510
516
|
- spec/models/pay_period_enum_spec.rb
|
|
517
|
+
- spec/models/location_spec.rb
|
|
511
518
|
- spec/models/remote_key_spec.rb
|
|
519
|
+
- spec/models/end_user_details_request_spec.rb
|
|
520
|
+
- spec/models/time_off_endpoint_request_spec.rb
|
|
521
|
+
- spec/models/sync_status_spec.rb
|
|
522
|
+
- spec/models/paginated_employee_list_spec.rb
|
|
512
523
|
- spec/models/paginated_time_off_list_spec.rb
|
|
513
|
-
- spec/models/
|
|
524
|
+
- spec/models/pay_currency_enum_spec.rb
|
|
514
525
|
- spec/models/paginated_benefit_list_spec.rb
|
|
515
|
-
- spec/models/
|
|
516
|
-
- spec/models/
|
|
517
|
-
- spec/models/employment_type_enum_spec.rb
|
|
518
|
-
- spec/models/account_details_spec.rb
|
|
519
|
-
- spec/models/paginated_employee_list_spec.rb
|
|
520
|
-
- spec/models/employee_endpoint_request_spec.rb
|
|
521
|
-
- spec/models/time_off_request_spec.rb
|
|
522
|
-
- spec/models/group_spec.rb
|
|
523
|
-
- spec/models/paginated_pay_group_list_spec.rb
|
|
524
|
-
- spec/models/employee_payroll_run_spec.rb
|
|
525
|
-
- spec/models/sync_status_status_enum_spec.rb
|
|
526
|
-
- spec/models/categories_enum_spec.rb
|
|
527
|
-
- spec/models/ethnicity_enum_spec.rb
|
|
528
|
-
- spec/models/paginated_employee_payroll_run_list_spec.rb
|
|
529
|
-
- spec/models/time_off_spec.rb
|
|
530
|
-
- spec/models/model_operation_spec.rb
|
|
531
|
-
- spec/models/paginated_location_list_spec.rb
|
|
526
|
+
- spec/models/policy_type_enum_spec.rb
|
|
527
|
+
- spec/models/account_details_and_actions_integration_spec.rb
|
|
532
528
|
- spec/models/tax_spec.rb
|
|
533
|
-
- spec/models/
|
|
534
|
-
- spec/models/
|
|
535
|
-
- spec/models/
|
|
536
|
-
- spec/models/
|
|
529
|
+
- spec/models/link_token_spec.rb
|
|
530
|
+
- spec/models/group_type_enum_spec.rb
|
|
531
|
+
- spec/models/paginated_sync_status_list_spec.rb
|
|
532
|
+
- spec/models/request_type_enum_spec.rb
|
|
533
|
+
- spec/models/ignore_common_model_request_spec.rb
|
|
537
534
|
- spec/models/run_type_enum_spec.rb
|
|
535
|
+
- spec/models/country_enum_spec.rb
|
|
536
|
+
- spec/models/deduction_spec.rb
|
|
537
|
+
- spec/models/paginated_time_off_balance_list_spec.rb
|
|
538
|
+
- spec/models/payroll_run_spec.rb
|
|
539
|
+
- spec/models/paginated_employee_payroll_run_list_spec.rb
|
|
540
|
+
- spec/models/location_type_enum_spec.rb
|
|
538
541
|
- spec/models/employment_status_enum_spec.rb
|
|
539
|
-
- spec/models/
|
|
540
|
-
- spec/models/
|
|
542
|
+
- spec/models/request_format_enum_spec.rb
|
|
543
|
+
- spec/models/account_integration_spec.rb
|
|
544
|
+
- spec/models/remote_key_for_regeneration_request_spec.rb
|
|
541
545
|
- spec/models/paginated_account_details_and_actions_list_spec.rb
|
|
542
|
-
- spec/models/available_actions_spec.rb
|
|
543
|
-
- spec/models/run_state_enum_spec.rb
|
|
544
546
|
- spec/models/debug_model_log_summary_spec.rb
|
|
545
|
-
- spec/models/
|
|
546
|
-
- spec/models/
|
|
547
|
-
- spec/models/
|
|
548
|
-
- spec/models/
|
|
549
|
-
- spec/models/
|
|
550
|
-
- spec/models/
|
|
551
|
-
- spec/models/ignore_common_model_request_spec.rb
|
|
552
|
-
- spec/models/remote_key_for_regeneration_request_spec.rb
|
|
553
|
-
- spec/models/remote_data_spec.rb
|
|
554
|
-
- spec/models/account_details_and_actions_integration_spec.rb
|
|
555
|
-
- spec/models/paginated_issue_list_spec.rb
|
|
556
|
-
- spec/models/method_enum_spec.rb
|
|
547
|
+
- spec/models/employee_request_spec.rb
|
|
548
|
+
- spec/models/sync_status_status_enum_spec.rb
|
|
549
|
+
- spec/models/category_enum_spec.rb
|
|
550
|
+
- spec/models/earning_type_enum_spec.rb
|
|
551
|
+
- spec/models/employee_endpoint_request_spec.rb
|
|
552
|
+
- spec/models/time_off_balance_spec.rb
|
|
557
553
|
- spec/models/generate_remote_key_request_spec.rb
|
|
558
|
-
- spec/models/
|
|
559
|
-
- spec/models/paginated_time_off_balance_list_spec.rb
|
|
560
|
-
- spec/models/warning_validation_problem_spec.rb
|
|
561
|
-
- spec/models/account_details_and_actions_spec.rb
|
|
562
|
-
- spec/models/issue_spec.rb
|
|
563
|
-
- spec/models/paginated_team_list_spec.rb
|
|
564
|
-
- spec/models/request_type_enum_spec.rb
|
|
565
|
-
- spec/models/deduction_spec.rb
|
|
554
|
+
- spec/models/meta_response_spec.rb
|
|
566
555
|
- spec/models/account_details_and_actions_status_enum_spec.rb
|
|
567
|
-
- spec/models/paginated_payroll_run_list_spec.rb
|
|
568
|
-
- spec/models/link_token_spec.rb
|
|
569
|
-
- spec/models/pay_currency_enum_spec.rb
|
|
570
|
-
- spec/models/time_off_balance_spec.rb
|
|
571
|
-
- spec/models/bank_info_spec.rb
|
|
572
|
-
- spec/models/request_format_enum_spec.rb
|
|
573
556
|
- spec/models/earning_spec.rb
|
|
574
|
-
- spec/models/paginated_sync_status_list_spec.rb
|
|
575
|
-
- spec/models/team_spec.rb
|
|
576
|
-
- spec/models/earning_type_enum_spec.rb
|
|
577
557
|
- spec/models/remote_response_spec.rb
|
|
578
|
-
- spec/models/
|
|
579
|
-
- spec/models/
|
|
580
|
-
- spec/models/
|
|
581
|
-
- spec/models/
|
|
558
|
+
- spec/models/warning_validation_problem_spec.rb
|
|
559
|
+
- spec/models/time_off_spec.rb
|
|
560
|
+
- spec/models/paginated_issue_list_spec.rb
|
|
561
|
+
- spec/models/run_state_enum_spec.rb
|
|
562
|
+
- spec/models/employment_type_enum_spec.rb
|
|
563
|
+
- spec/models/validation_problem_source_spec.rb
|
|
564
|
+
- spec/models/employee_payroll_run_spec.rb
|
|
565
|
+
- spec/models/method_enum_spec.rb
|
|
566
|
+
- spec/models/data_passthrough_request_spec.rb
|
|
567
|
+
- spec/models/multipart_form_field_request_spec.rb
|
|
568
|
+
- spec/models/time_off_request_spec.rb
|
|
569
|
+
- spec/models/paginated_employment_list_spec.rb
|
|
570
|
+
- spec/models/reason_enum_spec.rb
|
|
582
571
|
- spec/models/paginated_bank_info_list_spec.rb
|
|
583
|
-
- spec/models/
|
|
584
|
-
- spec/models/
|
|
585
|
-
- spec/models/
|
|
586
|
-
- spec/models/account_integration_spec.rb
|
|
572
|
+
- spec/models/encoding_enum_spec.rb
|
|
573
|
+
- spec/models/paginated_pay_group_list_spec.rb
|
|
574
|
+
- spec/models/remote_data_spec.rb
|
|
587
575
|
- spec/models/remote_data_request_spec.rb
|
|
588
|
-
- spec/models/
|
|
589
|
-
- spec/models/time_off_response_spec.rb
|
|
590
|
-
- spec/models/paginated_group_list_spec.rb
|
|
591
|
-
- spec/models/sync_status_spec.rb
|
|
592
|
-
- spec/models/pay_group_spec.rb
|
|
593
|
-
- spec/models/reason_enum_spec.rb
|
|
594
|
-
- spec/models/flsa_status_enum_spec.rb
|
|
595
|
-
- spec/models/account_type_enum_spec.rb
|
|
576
|
+
- spec/models/ignore_common_model_spec.rb
|
|
596
577
|
- spec/models/employment_spec.rb
|
|
597
|
-
- spec/models/
|
|
598
|
-
- spec/models/
|
|
578
|
+
- spec/models/pay_frequency_enum_spec.rb
|
|
579
|
+
- spec/models/bank_info_spec.rb
|
|
580
|
+
- spec/models/paginated_location_list_spec.rb
|
|
581
|
+
- spec/models/group_spec.rb
|
|
582
|
+
- spec/models/account_token_spec.rb
|
|
599
583
|
- spec/models/debug_mode_log_spec.rb
|
|
600
|
-
- spec/models/
|
|
584
|
+
- spec/models/flsa_status_enum_spec.rb
|
|
585
|
+
- spec/models/account_details_spec.rb
|
|
586
|
+
- spec/models/webhook_receiver_spec.rb
|
|
587
|
+
- spec/models/ethnicity_enum_spec.rb
|
|
588
|
+
- spec/models/issue_status_enum_spec.rb
|
|
589
|
+
- spec/models/paginated_deduction_list_spec.rb
|
|
601
590
|
- spec/models/marital_status_enum_spec.rb
|
|
602
|
-
- spec/models/
|
|
591
|
+
- spec/models/employee_spec.rb
|
|
592
|
+
- spec/models/paginated_company_list_spec.rb
|
|
593
|
+
- spec/models/team_spec.rb
|
|
603
594
|
- spec/models/error_validation_problem_spec.rb
|
|
595
|
+
- spec/models/available_actions_spec.rb
|
|
596
|
+
- spec/models/paginated_team_list_spec.rb
|
|
597
|
+
- spec/models/linked_account_status_spec.rb
|
|
598
|
+
- spec/models/account_details_and_actions_spec.rb
|
|
599
|
+
- spec/models/time_off_response_spec.rb
|
|
600
|
+
- spec/models/account_type_enum_spec.rb
|
|
601
|
+
- spec/models/model_operation_spec.rb
|
|
604
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
|