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
|
@@ -39,11 +39,12 @@ describe 'LocationsApi' do
|
|
|
39
39
|
# @option opts [Time] :created_after If provided, will only return objects created after this datetime.
|
|
40
40
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
|
41
41
|
# @option opts [String] :cursor The pagination cursor value.
|
|
42
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
|
42
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
|
43
43
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
44
44
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
|
45
45
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
|
46
46
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
47
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
|
47
48
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
|
48
49
|
# @return [PaginatedLocationList]
|
|
49
50
|
describe 'locations_list test' do
|
|
@@ -58,6 +59,7 @@ describe 'LocationsApi' do
|
|
|
58
59
|
# @param id
|
|
59
60
|
# @param [Hash] opts the optional parameters
|
|
60
61
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
62
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
|
61
63
|
# @return [Location]
|
|
62
64
|
describe 'locations_retrieve test' do
|
|
63
65
|
it 'should work' do
|
|
@@ -39,7 +39,7 @@ describe 'PayGroupsApi' do
|
|
|
39
39
|
# @option opts [Time] :created_after If provided, will only return objects created after this datetime.
|
|
40
40
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
|
41
41
|
# @option opts [String] :cursor The pagination cursor value.
|
|
42
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
|
42
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
|
43
43
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
44
44
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
|
45
45
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
|
@@ -41,11 +41,12 @@ describe 'PayrollRunsApi' do
|
|
|
41
41
|
# @option opts [String] :cursor The pagination cursor value.
|
|
42
42
|
# @option opts [Time] :ended_after If provided, will only return payroll runs ended after this datetime.
|
|
43
43
|
# @option opts [Time] :ended_before If provided, will only return payroll runs ended before this datetime.
|
|
44
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
|
44
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
|
45
45
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
46
46
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
|
47
47
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
|
48
48
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
49
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
|
49
50
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
|
50
51
|
# @option opts [String] :run_type If provided, will only return PayrollRun's with this status. Options: ('REGULAR', 'OFF_CYCLE', 'CORRECTION', 'TERMINATION', 'SIGN_ON_BONUS')
|
|
51
52
|
# @option opts [Time] :started_after If provided, will only return payroll runs started after this datetime.
|
|
@@ -63,6 +64,7 @@ describe 'PayrollRunsApi' do
|
|
|
63
64
|
# @param id
|
|
64
65
|
# @param [Hash] opts the optional parameters
|
|
65
66
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
67
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
|
66
68
|
# @return [PayrollRun]
|
|
67
69
|
describe 'payroll_runs_retrieve test' do
|
|
68
70
|
it 'should work' do
|
data/spec/api/teams_api_spec.rb
CHANGED
|
@@ -40,7 +40,7 @@ describe 'TeamsApi' do
|
|
|
40
40
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
|
41
41
|
# @option opts [String] :cursor The pagination cursor value.
|
|
42
42
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
|
43
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
|
43
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
|
44
44
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
45
45
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
|
46
46
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
|
@@ -56,11 +56,12 @@ describe 'TimeOffApi' do
|
|
|
56
56
|
# @option opts [String] :cursor The pagination cursor value.
|
|
57
57
|
# @option opts [String] :employee_id If provided, will only return time off for this employee.
|
|
58
58
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
|
59
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
|
59
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
|
60
60
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
61
61
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
|
62
62
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
|
63
63
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
64
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
|
64
65
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
|
65
66
|
# @option opts [String] :request_type If provided, will only return TimeOff with this request type. Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', 'VOLUNTEER', 'BEREAVEMENT')
|
|
66
67
|
# @option opts [String] :status If provided, will only return TimeOff with this status. Options: ('REQUESTED', 'APPROVED', 'DECLINED', 'CANCELLED', 'DELETED')
|
|
@@ -89,6 +90,7 @@ describe 'TimeOffApi' do
|
|
|
89
90
|
# @param [Hash] opts the optional parameters
|
|
90
91
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
|
91
92
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
93
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
|
92
94
|
# @return [TimeOff]
|
|
93
95
|
describe 'time_off_retrieve test' do
|
|
94
96
|
it 'should work' do
|
|
@@ -41,12 +41,13 @@ describe 'TimeOffBalancesApi' do
|
|
|
41
41
|
# @option opts [String] :cursor The pagination cursor value.
|
|
42
42
|
# @option opts [String] :employee_id If provided, will only return time off balances for this employee.
|
|
43
43
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
|
44
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
|
44
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
|
45
45
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
46
46
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
|
47
47
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
|
48
48
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
49
49
|
# @option opts [String] :policy_type If provided, will only return TimeOffBalance with this policy type. Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', 'VOLUNTEER', 'BEREAVEMENT')
|
|
50
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
|
50
51
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
|
51
52
|
# @return [PaginatedTimeOffBalanceList]
|
|
52
53
|
describe 'time_off_balances_list test' do
|
|
@@ -62,6 +63,7 @@ describe 'TimeOffBalancesApi' do
|
|
|
62
63
|
# @param [Hash] opts the optional parameters
|
|
63
64
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
|
64
65
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
66
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
|
65
67
|
# @return [TimeOffBalance]
|
|
66
68
|
describe 'time_off_balances_retrieve test' do
|
|
67
69
|
it 'should work' do
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
|
|
16
|
+
# Unit tests for MergeHRISClient::WebhookReceiversApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'WebhookReceiversApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = MergeHRISClient::WebhookReceiversApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of WebhookReceiversApi' do
|
|
30
|
+
it 'should create an instance of WebhookReceiversApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(MergeHRISClient::WebhookReceiversApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for webhook_receivers_create
|
|
36
|
+
# Creates a `WebhookReceiver` object with the given values.
|
|
37
|
+
# @param x_account_token Token identifying the end user.
|
|
38
|
+
# @param webhook_receiver_request
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [WebhookReceiver]
|
|
41
|
+
describe 'webhook_receivers_create test' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# unit tests for webhook_receivers_list
|
|
48
|
+
# Returns a list of `WebhookReceiver` objects.
|
|
49
|
+
# @param x_account_token Token identifying the end user.
|
|
50
|
+
# @param [Hash] opts the optional parameters
|
|
51
|
+
# @return [Array<WebhookReceiver>]
|
|
52
|
+
describe 'webhook_receivers_list test' 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
|
+
|
|
58
|
+
end
|
|
@@ -73,7 +73,7 @@ describe MergeHRISClient::BankInfo do
|
|
|
73
73
|
end
|
|
74
74
|
end
|
|
75
75
|
|
|
76
|
-
describe 'test attribute "
|
|
76
|
+
describe 'test attribute "remote_was_deleted"' do
|
|
77
77
|
it 'should work' do
|
|
78
78
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
79
79
|
end
|
data/spec/models/benefit_spec.rb
CHANGED
|
@@ -67,7 +67,7 @@ describe MergeHRISClient::Benefit do
|
|
|
67
67
|
end
|
|
68
68
|
end
|
|
69
69
|
|
|
70
|
-
describe 'test attribute "
|
|
70
|
+
describe 'test attribute "remote_was_deleted"' do
|
|
71
71
|
it 'should work' do
|
|
72
72
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
73
73
|
end
|
data/spec/models/company_spec.rb
CHANGED
|
@@ -55,7 +55,7 @@ describe MergeHRISClient::Company do
|
|
|
55
55
|
end
|
|
56
56
|
end
|
|
57
57
|
|
|
58
|
-
describe 'test attribute "
|
|
58
|
+
describe 'test attribute "remote_was_deleted"' do
|
|
59
59
|
it 'should work' do
|
|
60
60
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
61
61
|
end
|
|
@@ -67,4 +67,10 @@ describe MergeHRISClient::DataPassthroughRequest do
|
|
|
67
67
|
end
|
|
68
68
|
end
|
|
69
69
|
|
|
70
|
+
describe 'test attribute "normalize_response"' do
|
|
71
|
+
it 'should work' do
|
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
|
|
70
76
|
end
|
|
@@ -55,7 +55,7 @@ describe MergeHRISClient::Deduction do
|
|
|
55
55
|
end
|
|
56
56
|
end
|
|
57
57
|
|
|
58
|
-
describe 'test attribute "
|
|
58
|
+
describe 'test attribute "remote_was_deleted"' do
|
|
59
59
|
it 'should work' do
|
|
60
60
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
61
61
|
end
|
data/spec/models/earning_spec.rb
CHANGED
|
@@ -49,7 +49,7 @@ describe MergeHRISClient::Earning do
|
|
|
49
49
|
end
|
|
50
50
|
end
|
|
51
51
|
|
|
52
|
-
describe 'test attribute "
|
|
52
|
+
describe 'test attribute "remote_was_deleted"' do
|
|
53
53
|
it 'should work' do
|
|
54
54
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
55
|
end
|
|
@@ -97,7 +97,7 @@ describe MergeHRISClient::EmployeePayrollRun do
|
|
|
97
97
|
end
|
|
98
98
|
end
|
|
99
99
|
|
|
100
|
-
describe 'test attribute "
|
|
100
|
+
describe 'test attribute "remote_was_deleted"' do
|
|
101
101
|
it 'should work' do
|
|
102
102
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
103
103
|
end
|
|
@@ -187,13 +187,13 @@ describe MergeHRISClient::Employee do
|
|
|
187
187
|
end
|
|
188
188
|
end
|
|
189
189
|
|
|
190
|
-
describe 'test attribute "
|
|
190
|
+
describe 'test attribute "custom_fields"' do
|
|
191
191
|
it 'should work' do
|
|
192
192
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
193
193
|
end
|
|
194
194
|
end
|
|
195
195
|
|
|
196
|
-
describe 'test attribute "
|
|
196
|
+
describe 'test attribute "remote_was_deleted"' do
|
|
197
197
|
it 'should work' do
|
|
198
198
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
199
199
|
end
|
|
@@ -97,7 +97,7 @@ describe MergeHRISClient::Employment do
|
|
|
97
97
|
end
|
|
98
98
|
end
|
|
99
99
|
|
|
100
|
-
describe 'test attribute "
|
|
100
|
+
describe 'test attribute "remote_was_deleted"' do
|
|
101
101
|
it 'should work' do
|
|
102
102
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
103
103
|
end
|
data/spec/models/group_spec.rb
CHANGED
|
@@ -55,7 +55,7 @@ describe MergeHRISClient::Group do
|
|
|
55
55
|
end
|
|
56
56
|
end
|
|
57
57
|
|
|
58
|
-
describe 'test attribute "
|
|
58
|
+
describe 'test attribute "remote_was_deleted"' do
|
|
59
59
|
it 'should work' do
|
|
60
60
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
61
61
|
end
|
|
@@ -0,0 +1,40 @@
|
|
|
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::LinkedAccountStatus
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe MergeHRISClient::LinkedAccountStatus do
|
|
21
|
+
let(:instance) { MergeHRISClient::LinkedAccountStatus.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of LinkedAccountStatus' do
|
|
24
|
+
it 'should create an instance of LinkedAccountStatus' do
|
|
25
|
+
expect(instance).to be_instance_of(MergeHRISClient::LinkedAccountStatus)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "linked_account_status"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "can_make_request"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
end
|
|
@@ -91,7 +91,7 @@ describe MergeHRISClient::Location do
|
|
|
91
91
|
end
|
|
92
92
|
end
|
|
93
93
|
|
|
94
|
-
describe 'test attribute "
|
|
94
|
+
describe 'test attribute "remote_was_deleted"' do
|
|
95
95
|
it 'should work' do
|
|
96
96
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
97
97
|
end
|
|
@@ -0,0 +1,52 @@
|
|
|
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::MetaResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe MergeHRISClient::MetaResponse do
|
|
21
|
+
let(:instance) { MergeHRISClient::MetaResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of MetaResponse' do
|
|
24
|
+
it 'should create an instance of MetaResponse' do
|
|
25
|
+
expect(instance).to be_instance_of(MergeHRISClient::MetaResponse)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "request_schema"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "status"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "has_conditional_params"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "has_required_linked_account_params"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
end
|
|
@@ -43,7 +43,7 @@ describe MergeHRISClient::PayGroup do
|
|
|
43
43
|
end
|
|
44
44
|
end
|
|
45
45
|
|
|
46
|
-
describe 'test attribute "
|
|
46
|
+
describe 'test attribute "remote_was_deleted"' do
|
|
47
47
|
it 'should work' do
|
|
48
48
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
49
|
end
|
|
@@ -67,7 +67,7 @@ describe MergeHRISClient::PayrollRun do
|
|
|
67
67
|
end
|
|
68
68
|
end
|
|
69
69
|
|
|
70
|
-
describe 'test attribute "
|
|
70
|
+
describe 'test attribute "remote_was_deleted"' do
|
|
71
71
|
it 'should work' do
|
|
72
72
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
73
73
|
end
|
|
@@ -49,6 +49,12 @@ describe MergeHRISClient::RemoteResponse do
|
|
|
49
49
|
end
|
|
50
50
|
end
|
|
51
51
|
|
|
52
|
+
describe 'test attribute "response_headers"' 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 "headers"' do
|
|
53
59
|
it 'should work' do
|
|
54
60
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/models/tax_spec.rb
CHANGED
|
@@ -55,7 +55,7 @@ describe MergeHRISClient::Tax do
|
|
|
55
55
|
end
|
|
56
56
|
end
|
|
57
57
|
|
|
58
|
-
describe 'test attribute "
|
|
58
|
+
describe 'test attribute "remote_was_deleted"' do
|
|
59
59
|
it 'should work' do
|
|
60
60
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
61
61
|
end
|
data/spec/models/team_spec.rb
CHANGED
|
@@ -49,7 +49,7 @@ describe MergeHRISClient::Team do
|
|
|
49
49
|
end
|
|
50
50
|
end
|
|
51
51
|
|
|
52
|
-
describe 'test attribute "
|
|
52
|
+
describe 'test attribute "remote_was_deleted"' do
|
|
53
53
|
it 'should work' do
|
|
54
54
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
55
|
end
|
|
@@ -61,7 +61,7 @@ describe MergeHRISClient::TimeOffBalance do
|
|
|
61
61
|
end
|
|
62
62
|
end
|
|
63
63
|
|
|
64
|
-
describe 'test attribute "
|
|
64
|
+
describe 'test attribute "remote_was_deleted"' do
|
|
65
65
|
it 'should work' do
|
|
66
66
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
67
67
|
end
|
|
@@ -91,7 +91,7 @@ describe MergeHRISClient::TimeOff do
|
|
|
91
91
|
end
|
|
92
92
|
end
|
|
93
93
|
|
|
94
|
-
describe 'test attribute "
|
|
94
|
+
describe 'test attribute "remote_was_deleted"' do
|
|
95
95
|
it 'should work' do
|
|
96
96
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
97
97
|
end
|
|
@@ -0,0 +1,46 @@
|
|
|
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::WebhookReceiverRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe MergeHRISClient::WebhookReceiverRequest do
|
|
21
|
+
let(:instance) { MergeHRISClient::WebhookReceiverRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of WebhookReceiverRequest' do
|
|
24
|
+
it 'should create an instance of WebhookReceiverRequest' do
|
|
25
|
+
expect(instance).to be_instance_of(MergeHRISClient::WebhookReceiverRequest)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "event"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "is_active"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "key"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
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::WebhookReceiver
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe MergeHRISClient::WebhookReceiver do
|
|
21
|
+
let(:instance) { MergeHRISClient::WebhookReceiver.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of WebhookReceiver' do
|
|
24
|
+
it 'should create an instance of WebhookReceiver' do
|
|
25
|
+
expect(instance).to be_instance_of(MergeHRISClient::WebhookReceiver)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "event"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "is_active"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "key"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
end
|