merge_hris_client 2.0.4 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/AccountDetails.md +3 -1
  4. data/docs/AccountDetailsAndActions.md +2 -0
  5. data/docs/Earning.md +0 -2
  6. data/docs/Employee.md +4 -0
  7. data/docs/EmployeeRequest.md +4 -0
  8. data/docs/EndUserDetailsRequest.md +9 -7
  9. data/docs/LinkToken.md +3 -1
  10. data/docs/LinkedAccountsApi.md +2 -0
  11. data/docs/RemoteResponse.md +3 -1
  12. data/docs/ResponseTypeEnum.md +15 -0
  13. data/docs/SyncStatus.md +2 -2
  14. data/docs/SyncStatusApi.md +1 -1
  15. data/docs/Tax.md +0 -2
  16. data/lib/merge_hris_client/api/linked_accounts_api.rb +3 -0
  17. data/lib/merge_hris_client/api/sync_status_api.rb +2 -2
  18. data/lib/merge_hris_client/models/account_details.rb +15 -4
  19. data/lib/merge_hris_client/models/account_details_and_actions.rb +12 -1
  20. data/lib/merge_hris_client/models/account_details_and_actions_status_enum.rb +17 -7
  21. data/lib/merge_hris_client/models/account_type_enum.rb +17 -7
  22. data/lib/merge_hris_client/models/categories_enum.rb +17 -7
  23. data/lib/merge_hris_client/models/category_enum.rb +17 -7
  24. data/lib/merge_hris_client/models/country_enum.rb +17 -7
  25. data/lib/merge_hris_client/models/data_passthrough_request.rb +1 -1
  26. data/lib/merge_hris_client/models/earning.rb +1 -13
  27. data/lib/merge_hris_client/models/earning_type_enum.rb +17 -7
  28. data/lib/merge_hris_client/models/employee.rb +24 -2
  29. data/lib/merge_hris_client/models/employee_request.rb +24 -2
  30. data/lib/merge_hris_client/models/employment_status_enum.rb +17 -7
  31. data/lib/merge_hris_client/models/employment_type_enum.rb +17 -7
  32. data/lib/merge_hris_client/models/encoding_enum.rb +17 -7
  33. data/lib/merge_hris_client/models/end_user_details_request.rb +28 -11
  34. data/lib/merge_hris_client/models/ethnicity_enum.rb +17 -7
  35. data/lib/merge_hris_client/models/flsa_status_enum.rb +17 -7
  36. data/lib/merge_hris_client/models/gender_enum.rb +17 -7
  37. data/lib/merge_hris_client/models/group_type_enum.rb +17 -7
  38. data/lib/merge_hris_client/models/issue.rb +1 -1
  39. data/lib/merge_hris_client/models/issue_status_enum.rb +17 -7
  40. data/lib/merge_hris_client/models/link_token.rb +13 -4
  41. data/lib/merge_hris_client/models/location_type_enum.rb +17 -7
  42. data/lib/merge_hris_client/models/marital_status_enum.rb +17 -7
  43. data/lib/merge_hris_client/models/meta_response.rb +1 -1
  44. data/lib/merge_hris_client/models/method_enum.rb +17 -7
  45. data/lib/merge_hris_client/models/pay_currency_enum.rb +17 -7
  46. data/lib/merge_hris_client/models/pay_frequency_enum.rb +17 -7
  47. data/lib/merge_hris_client/models/pay_period_enum.rb +17 -7
  48. data/lib/merge_hris_client/models/policy_type_enum.rb +17 -7
  49. data/lib/merge_hris_client/models/reason_enum.rb +17 -7
  50. data/lib/merge_hris_client/models/remote_response.rb +14 -11
  51. data/lib/merge_hris_client/models/request_format_enum.rb +17 -7
  52. data/lib/merge_hris_client/models/request_type_enum.rb +17 -7
  53. data/lib/merge_hris_client/models/response_type_enum.rb +45 -0
  54. data/lib/merge_hris_client/models/run_state_enum.rb +17 -7
  55. data/lib/merge_hris_client/models/run_type_enum.rb +17 -7
  56. data/lib/merge_hris_client/models/sync_status.rb +0 -10
  57. data/lib/merge_hris_client/models/sync_status_status_enum.rb +18 -7
  58. data/lib/merge_hris_client/models/tax.rb +1 -13
  59. data/lib/merge_hris_client/models/time_off_status_enum.rb +17 -7
  60. data/lib/merge_hris_client/models/units_enum.rb +17 -7
  61. data/lib/merge_hris_client/version.rb +1 -1
  62. data/lib/merge_hris_client.rb +1 -1
  63. data/spec/api/linked_accounts_api_spec.rb +1 -0
  64. data/spec/api/sync_status_api_spec.rb +1 -1
  65. data/spec/models/account_details_and_actions_spec.rb +6 -0
  66. data/spec/models/account_details_spec.rb +6 -0
  67. data/spec/models/bank_info_spec.rb +6 -0
  68. data/spec/models/benefit_spec.rb +6 -0
  69. data/spec/models/company_spec.rb +6 -0
  70. data/spec/models/deduction_spec.rb +6 -0
  71. data/spec/models/employee_payroll_run_spec.rb +6 -0
  72. data/spec/models/employee_request_spec.rb +12 -0
  73. data/spec/models/employee_spec.rb +18 -0
  74. data/spec/models/employment_spec.rb +6 -0
  75. data/spec/models/end_user_details_request_spec.rb +6 -0
  76. data/spec/models/group_spec.rb +6 -0
  77. data/spec/models/link_token_spec.rb +6 -0
  78. data/spec/models/location_spec.rb +6 -0
  79. data/spec/models/pay_group_spec.rb +6 -0
  80. data/spec/models/payroll_run_spec.rb +6 -0
  81. data/spec/models/remote_response_spec.rb +6 -0
  82. data/spec/models/response_type_enum_spec.rb +28 -0
  83. data/spec/models/team_spec.rb +6 -0
  84. data/spec/models/time_off_balance_spec.rb +6 -0
  85. data/spec/models/time_off_spec.rb +6 -0
  86. metadata +106 -102
@@ -0,0 +1,28 @@
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 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MergeHRISClient::ResponseTypeEnum
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MergeHRISClient::ResponseTypeEnum do
21
+ let(:instance) { MergeHRISClient::ResponseTypeEnum.new }
22
+
23
+ describe 'test an instance of ResponseTypeEnum' do
24
+ it 'should create an instance of ResponseTypeEnum' do
25
+ expect(instance).to be_instance_of(MergeHRISClient::ResponseTypeEnum)
26
+ end
27
+ end
28
+ end
@@ -49,6 +49,12 @@ describe MergeHRISClient::Team do
49
49
  end
50
50
  end
51
51
 
52
+ describe 'test attribute "remote_data"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
52
58
  describe 'test attribute "remote_was_deleted"' do
53
59
  it 'should work' do
54
60
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -61,6 +61,12 @@ describe MergeHRISClient::TimeOffBalance do
61
61
  end
62
62
  end
63
63
 
64
+ describe 'test attribute "remote_data"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
64
70
  describe 'test attribute "remote_was_deleted"' do
65
71
  it 'should work' do
66
72
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -91,6 +91,12 @@ describe MergeHRISClient::TimeOff do
91
91
  end
92
92
  end
93
93
 
94
+ describe 'test attribute "remote_data"' do
95
+ it 'should work' do
96
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
97
+ end
98
+ end
99
+
94
100
  describe 'test attribute "remote_was_deleted"' do
95
101
  it 'should work' do
96
102
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
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
4
+ version: 3.0.0
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-06-21 00:00:00.000000000 Z
11
+ date: 2022-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -165,6 +165,7 @@ files:
165
165
  - docs/RemoteResponse.md
166
166
  - docs/RequestFormatEnum.md
167
167
  - docs/RequestTypeEnum.md
168
+ - docs/ResponseTypeEnum.md
168
169
  - docs/RunStateEnum.md
169
170
  - docs/RunTypeEnum.md
170
171
  - docs/SyncStatus.md
@@ -300,6 +301,7 @@ files:
300
301
  - lib/merge_hris_client/models/remote_response.rb
301
302
  - lib/merge_hris_client/models/request_format_enum.rb
302
303
  - lib/merge_hris_client/models/request_type_enum.rb
304
+ - lib/merge_hris_client/models/response_type_enum.rb
303
305
  - lib/merge_hris_client/models/run_state_enum.rb
304
306
  - lib/merge_hris_client/models/run_type_enum.rb
305
307
  - lib/merge_hris_client/models/sync_status.rb
@@ -430,6 +432,7 @@ files:
430
432
  - spec/models/remote_response_spec.rb
431
433
  - spec/models/request_format_enum_spec.rb
432
434
  - spec/models/request_type_enum_spec.rb
435
+ - spec/models/response_type_enum_spec.rb
433
436
  - spec/models/run_state_enum_spec.rb
434
437
  - spec/models/run_type_enum_spec.rb
435
438
  - spec/models/sync_status_spec.rb
@@ -472,131 +475,132 @@ signing_key:
472
475
  specification_version: 4
473
476
  summary: Merge HRIS API Ruby Gem
474
477
  test_files:
475
- - spec/api/account_details_api_spec.rb
476
- - spec/api/link_token_api_spec.rb
478
+ - spec/api/employments_api_spec.rb
479
+ - spec/api/account_token_api_spec.rb
480
+ - spec/api/deductions_api_spec.rb
481
+ - spec/api/regenerate_key_api_spec.rb
482
+ - spec/api/employee_payroll_runs_api_spec.rb
483
+ - spec/api/delete_account_api_spec.rb
477
484
  - spec/api/locations_api_spec.rb
485
+ - spec/api/account_details_api_spec.rb
478
486
  - spec/api/force_resync_api_spec.rb
479
- - spec/api/companies_api_spec.rb
480
- - spec/api/benefits_api_spec.rb
487
+ - spec/api/webhook_receivers_api_spec.rb
488
+ - spec/api/available_actions_api_spec.rb
489
+ - spec/api/teams_api_spec.rb
481
490
  - spec/api/passthrough_api_spec.rb
491
+ - spec/api/linked_accounts_api_spec.rb
492
+ - spec/api/sync_status_api_spec.rb
493
+ - spec/api/generate_key_api_spec.rb
494
+ - spec/api/payroll_runs_api_spec.rb
482
495
  - spec/api/employees_api_spec.rb
483
496
  - spec/api/issues_api_spec.rb
484
- - spec/api/teams_api_spec.rb
485
- - spec/api/regenerate_key_api_spec.rb
486
- - spec/api/account_token_api_spec.rb
487
- - spec/api/linked_accounts_api_spec.rb
497
+ - spec/api/time_off_balances_api_spec.rb
488
498
  - spec/api/groups_api_spec.rb
489
- - spec/api/available_actions_api_spec.rb
490
- - spec/api/deductions_api_spec.rb
499
+ - spec/api/link_token_api_spec.rb
500
+ - spec/api/benefits_api_spec.rb
491
501
  - spec/api/bank_info_api_spec.rb
492
- - spec/api/delete_account_api_spec.rb
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
502
+ - spec/api/companies_api_spec.rb
499
503
  - spec/api/time_off_api_spec.rb
500
- - spec/api/employments_api_spec.rb
501
- - spec/api/generate_key_api_spec.rb
504
+ - spec/api/pay_groups_api_spec.rb
502
505
  - spec/api_client_spec.rb
503
506
  - spec/configuration_spec.rb
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
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
516
- - spec/models/pay_period_enum_spec.rb
507
+ - spec/models/paginated_bank_info_list_spec.rb
517
508
  - spec/models/location_spec.rb
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
509
+ - spec/models/available_actions_spec.rb
522
510
  - spec/models/paginated_employee_list_spec.rb
523
- - spec/models/paginated_time_off_list_spec.rb
524
- - spec/models/pay_currency_enum_spec.rb
525
- - spec/models/paginated_benefit_list_spec.rb
526
- - spec/models/policy_type_enum_spec.rb
527
- - spec/models/account_details_and_actions_integration_spec.rb
528
- - spec/models/tax_spec.rb
529
- - spec/models/link_token_spec.rb
530
- - spec/models/group_type_enum_spec.rb
531
511
  - 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
534
- - spec/models/run_type_enum_spec.rb
535
- - spec/models/country_enum_spec.rb
536
- - spec/models/deduction_spec.rb
512
+ - spec/models/employment_spec.rb
537
513
  - 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
541
- - spec/models/employment_status_enum_spec.rb
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
545
- - spec/models/paginated_account_details_and_actions_list_spec.rb
546
- - spec/models/debug_model_log_summary_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
553
- - spec/models/generate_remote_key_request_spec.rb
514
+ - spec/models/paginated_pay_group_list_spec.rb
515
+ - spec/models/account_details_spec.rb
516
+ - spec/models/ethnicity_enum_spec.rb
517
+ - spec/models/paginated_team_list_spec.rb
518
+ - spec/models/time_off_request_spec.rb
554
519
  - spec/models/meta_response_spec.rb
555
- - spec/models/account_details_and_actions_status_enum_spec.rb
520
+ - spec/models/account_integration_spec.rb
521
+ - spec/models/webhook_receiver_spec.rb
522
+ - spec/models/employment_status_enum_spec.rb
556
523
  - spec/models/earning_spec.rb
524
+ - spec/models/time_off_status_enum_spec.rb
525
+ - spec/models/paginated_employee_payroll_run_list_spec.rb
526
+ - spec/models/employment_type_enum_spec.rb
527
+ - spec/models/flsa_status_enum_spec.rb
528
+ - spec/models/request_type_enum_spec.rb
529
+ - spec/models/issue_spec.rb
530
+ - spec/models/group_type_enum_spec.rb
531
+ - spec/models/group_spec.rb
532
+ - spec/models/account_type_enum_spec.rb
533
+ - spec/models/paginated_group_list_spec.rb
534
+ - spec/models/debug_mode_log_spec.rb
535
+ - spec/models/time_off_endpoint_request_spec.rb
536
+ - spec/models/encoding_enum_spec.rb
537
+ - spec/models/pay_frequency_enum_spec.rb
538
+ - spec/models/payroll_run_spec.rb
539
+ - spec/models/link_token_spec.rb
540
+ - spec/models/employee_endpoint_request_spec.rb
541
+ - spec/models/issue_status_enum_spec.rb
542
+ - spec/models/employee_request_spec.rb
543
+ - spec/models/employee_response_spec.rb
544
+ - spec/models/remote_data_request_spec.rb
545
+ - spec/models/paginated_deduction_list_spec.rb
557
546
  - spec/models/remote_response_spec.rb
547
+ - spec/models/remote_key_spec.rb
558
548
  - spec/models/warning_validation_problem_spec.rb
549
+ - spec/models/model_operation_spec.rb
550
+ - spec/models/country_enum_spec.rb
551
+ - spec/models/ignore_common_model_request_spec.rb
552
+ - spec/models/remote_key_for_regeneration_request_spec.rb
553
+ - spec/models/reason_enum_spec.rb
554
+ - spec/models/team_spec.rb
555
+ - spec/models/gender_enum_spec.rb
556
+ - spec/models/paginated_employment_list_spec.rb
557
+ - spec/models/tax_spec.rb
558
+ - spec/models/units_enum_spec.rb
559
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
560
+ - spec/models/pay_period_enum_spec.rb
561
+ - spec/models/location_type_enum_spec.rb
562
+ - spec/models/bank_info_spec.rb
563
+ - spec/models/debug_model_log_summary_spec.rb
564
+ - spec/models/generate_remote_key_request_spec.rb
565
+ - spec/models/end_user_details_request_spec.rb
566
+ - spec/models/data_passthrough_request_spec.rb
564
567
  - spec/models/employee_payroll_run_spec.rb
568
+ - spec/models/pay_group_spec.rb
569
+ - spec/models/policy_type_enum_spec.rb
570
+ - spec/models/account_details_and_actions_integration_spec.rb
571
+ - spec/models/ignore_common_model_spec.rb
565
572
  - 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
571
- - spec/models/paginated_bank_info_list_spec.rb
572
- - spec/models/encoding_enum_spec.rb
573
- - spec/models/paginated_pay_group_list_spec.rb
573
+ - spec/models/paginated_time_off_list_spec.rb
574
574
  - spec/models/remote_data_spec.rb
575
- - spec/models/remote_data_request_spec.rb
576
- - spec/models/ignore_common_model_spec.rb
577
- - spec/models/employment_spec.rb
578
- - spec/models/pay_frequency_enum_spec.rb
579
- - spec/models/bank_info_spec.rb
575
+ - spec/models/sync_status_status_enum_spec.rb
576
+ - spec/models/time_off_response_spec.rb
577
+ - spec/models/request_format_enum_spec.rb
578
+ - spec/models/paginated_account_details_and_actions_list_spec.rb
579
+ - spec/models/categories_enum_spec.rb
580
+ - spec/models/response_type_enum_spec.rb
581
+ - spec/models/account_details_and_actions_status_enum_spec.rb
582
+ - spec/models/paginated_payroll_run_list_spec.rb
583
+ - spec/models/company_spec.rb
584
+ - spec/models/pay_currency_enum_spec.rb
580
585
  - spec/models/paginated_location_list_spec.rb
581
- - spec/models/group_spec.rb
586
+ - spec/models/webhook_receiver_request_spec.rb
587
+ - spec/models/category_enum_spec.rb
588
+ - spec/models/run_state_enum_spec.rb
589
+ - spec/models/deduction_spec.rb
590
+ - spec/models/run_type_enum_spec.rb
591
+ - spec/models/time_off_balance_spec.rb
592
+ - spec/models/sync_status_spec.rb
593
+ - spec/models/validation_problem_source_spec.rb
594
+ - spec/models/paginated_issue_list_spec.rb
582
595
  - spec/models/account_token_spec.rb
583
- - spec/models/debug_mode_log_spec.rb
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
590
- - spec/models/marital_status_enum_spec.rb
591
596
  - spec/models/employee_spec.rb
597
+ - spec/models/account_details_and_actions_spec.rb
598
+ - spec/models/multipart_form_field_request_spec.rb
599
+ - spec/models/earning_type_enum_spec.rb
600
+ - spec/models/linked_account_status_spec.rb
592
601
  - spec/models/paginated_company_list_spec.rb
593
- - spec/models/team_spec.rb
602
+ - spec/models/paginated_benefit_list_spec.rb
603
+ - spec/models/benefit_spec.rb
604
+ - spec/models/marital_status_enum_spec.rb
594
605
  - 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
602
606
  - spec/spec_helper.rb