merge_hris_client 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +21 -2
- data/docs/AccountToken.md +3 -1
- data/docs/AvailableActions.md +1 -1
- data/docs/BenefitRequest.md +28 -0
- data/docs/BenefitsApi.md +78 -0
- data/docs/DeleteAccountApi.md +77 -0
- data/docs/Employee.md +8 -6
- data/docs/EmployeeRequest.md +62 -0
- data/docs/EmployeesApi.md +83 -1
- data/docs/EmploymentRequest.md +34 -0
- data/docs/EmploymentsApi.md +78 -0
- data/docs/EndUserDetailsRequest.md +1 -1
- data/docs/Issue.md +30 -0
- data/docs/IssueStatusEnum.md +15 -0
- data/docs/IssuesApi.md +167 -0
- data/docs/Location.md +1 -1
- data/docs/ModelOperation.md +3 -1
- data/docs/PaginatedIssueList.md +22 -0
- data/docs/PaginatedSyncStatusList.md +22 -0
- data/docs/PaginatedTimeOffBalanceList.md +22 -0
- data/docs/RemoteDataRequest.md +20 -0
- data/docs/SyncStatus.md +1 -1
- data/docs/SyncStatusApi.md +89 -11
- data/docs/SyncStatusStatusEnum.md +15 -0
- data/docs/Team.md +2 -0
- data/docs/TeamsApi.md +2 -0
- data/docs/TimeOff.md +4 -0
- data/docs/TimeOffBalance.md +28 -0
- data/docs/TimeOffBalanceApi.md +181 -0
- data/lib/merge_hris_client.rb +15 -4
- data/lib/merge_hris_client/api/account_token_api.rb +1 -1
- data/lib/merge_hris_client/api/available_actions_api.rb +1 -1
- data/lib/merge_hris_client/api/benefits_api.rb +70 -1
- data/lib/merge_hris_client/api/companies_api.rb +1 -1
- data/lib/merge_hris_client/api/delete_account_api.rb +82 -0
- data/lib/merge_hris_client/api/employee_payroll_runs_api.rb +1 -1
- data/lib/merge_hris_client/api/employees_api.rb +76 -1
- data/lib/merge_hris_client/api/employments_api.rb +70 -1
- data/lib/merge_hris_client/api/generate_key_api.rb +1 -1
- data/lib/merge_hris_client/api/issues_api.rb +169 -0
- data/lib/merge_hris_client/api/link_token_api.rb +1 -1
- data/lib/merge_hris_client/api/locations_api.rb +1 -1
- data/lib/merge_hris_client/api/passthrough_api.rb +1 -1
- data/lib/merge_hris_client/api/payroll_runs_api.rb +1 -1
- data/lib/merge_hris_client/api/regenerate_key_api.rb +1 -1
- data/lib/merge_hris_client/api/sync_status_api.rb +79 -11
- data/lib/merge_hris_client/api/teams_api.rb +4 -1
- data/lib/merge_hris_client/api/time_off_api.rb +1 -1
- data/lib/merge_hris_client/api/time_off_balance_api.rb +196 -0
- data/lib/merge_hris_client/api_client.rb +2 -2
- data/lib/merge_hris_client/api_error.rb +1 -1
- data/lib/merge_hris_client/configuration.rb +1 -1
- data/lib/merge_hris_client/models/account_integration.rb +1 -1
- data/lib/merge_hris_client/models/account_token.rb +19 -5
- data/lib/merge_hris_client/models/available_actions.rb +1 -1
- data/lib/merge_hris_client/models/benefit.rb +1 -1
- data/lib/merge_hris_client/models/benefit_plan_type_enum.rb +1 -1
- data/lib/merge_hris_client/models/benefit_request.rb +276 -0
- data/lib/merge_hris_client/models/company.rb +1 -1
- data/lib/merge_hris_client/models/country_enum.rb +1 -1
- data/lib/merge_hris_client/models/data_passthrough_request.rb +2 -1
- data/lib/merge_hris_client/models/deduction.rb +1 -1
- data/lib/merge_hris_client/models/earning.rb +1 -1
- data/lib/merge_hris_client/models/employee.rb +32 -20
- data/lib/merge_hris_client/models/employee_payroll_run.rb +1 -1
- data/lib/merge_hris_client/models/employee_request.rb +523 -0
- data/lib/merge_hris_client/models/employment.rb +1 -1
- data/lib/merge_hris_client/models/employment_request.rb +309 -0
- data/lib/merge_hris_client/models/employment_status_enum.rb +1 -1
- data/lib/merge_hris_client/models/employment_type_enum.rb +1 -1
- data/lib/merge_hris_client/models/end_user_details_request.rb +2 -6
- data/lib/merge_hris_client/models/ethnicity_enum.rb +1 -1
- data/lib/merge_hris_client/models/flsa_status_enum.rb +1 -1
- data/lib/merge_hris_client/models/gender_enum.rb +1 -1
- data/lib/merge_hris_client/models/generate_remote_key_request.rb +1 -1
- data/lib/merge_hris_client/models/issue.rb +281 -0
- data/lib/merge_hris_client/models/issue_status_enum.rb +36 -0
- data/lib/merge_hris_client/models/link_token.rb +1 -1
- data/lib/merge_hris_client/models/location.rb +4 -4
- data/lib/merge_hris_client/models/method_enum.rb +1 -1
- data/lib/merge_hris_client/models/model_operation.rb +21 -5
- data/lib/merge_hris_client/models/paginated_benefit_list.rb +1 -1
- data/lib/merge_hris_client/models/paginated_company_list.rb +1 -1
- data/lib/merge_hris_client/models/paginated_employee_list.rb +1 -1
- data/lib/merge_hris_client/models/paginated_employee_payroll_run_list.rb +1 -1
- data/lib/merge_hris_client/models/paginated_employment_list.rb +1 -1
- data/lib/merge_hris_client/models/paginated_issue_list.rb +240 -0
- data/lib/merge_hris_client/models/paginated_location_list.rb +1 -1
- data/lib/merge_hris_client/models/paginated_payroll_run_list.rb +1 -1
- data/lib/merge_hris_client/models/paginated_sync_status_list.rb +240 -0
- data/lib/merge_hris_client/models/paginated_team_list.rb +1 -1
- data/lib/merge_hris_client/models/paginated_time_off_balance_list.rb +240 -0
- data/lib/merge_hris_client/models/paginated_time_off_list.rb +1 -1
- data/lib/merge_hris_client/models/pay_currency_enum.rb +1 -1
- data/lib/merge_hris_client/models/pay_frequency_enum.rb +1 -1
- data/lib/merge_hris_client/models/pay_period_enum.rb +1 -1
- data/lib/merge_hris_client/models/payroll_run.rb +1 -1
- data/lib/merge_hris_client/models/remote_data.rb +1 -1
- data/lib/merge_hris_client/models/remote_data_request.rb +234 -0
- data/lib/merge_hris_client/models/remote_key.rb +1 -1
- data/lib/merge_hris_client/models/remote_key_for_regeneration_request.rb +1 -1
- data/lib/merge_hris_client/models/remote_response.rb +1 -1
- data/lib/merge_hris_client/models/request_type_enum.rb +1 -1
- data/lib/merge_hris_client/models/run_state_enum.rb +1 -1
- data/lib/merge_hris_client/models/run_type_enum.rb +1 -1
- data/lib/merge_hris_client/models/sync_status.rb +2 -2
- data/lib/merge_hris_client/models/sync_status_status_enum.rb +37 -0
- data/lib/merge_hris_client/models/tax.rb +1 -1
- data/lib/merge_hris_client/models/team.rb +13 -2
- data/lib/merge_hris_client/models/time_off.rb +24 -2
- data/lib/merge_hris_client/models/time_off_balance.rb +275 -0
- data/lib/merge_hris_client/models/time_off_status_enum.rb +1 -1
- data/lib/merge_hris_client/models/type_enum.rb +1 -1
- data/lib/merge_hris_client/models/units_enum.rb +1 -1
- data/lib/merge_hris_client/version.rb +2 -2
- data/merge_hris_client-1.0.1.gem +0 -0
- data/merge_hris_client.gemspec +1 -1
- data/spec/api/delete_account_api_spec.rb +46 -0
- data/spec/api/generate_key_api_spec.rb +46 -0
- data/spec/api/issues_api_spec.rb +65 -0
- data/spec/api/sync_status_api_spec.rb +59 -0
- data/spec/api/time_off_balance_api_spec.rb +70 -0
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/benefit_request_spec.rb +64 -0
- data/spec/models/employee_request_spec.rb +160 -0
- data/spec/models/employment_request_spec.rb +82 -0
- data/spec/models/generate_remote_key_request_spec.rb +34 -0
- data/spec/models/issue_spec.rb +70 -0
- data/spec/models/issue_status_enum_spec.rb +28 -0
- data/spec/models/paginated_issue_list_spec.rb +46 -0
- data/spec/models/paginated_sync_status_list_spec.rb +46 -0
- data/spec/models/paginated_time_off_balance_list_spec.rb +46 -0
- data/spec/models/remote_data_request_spec.rb +40 -0
- data/spec/models/sync_status_spec.rb +64 -0
- data/spec/models/sync_status_status_enum_spec.rb +28 -0
- data/spec/models/time_off_balance_spec.rb +64 -0
- data/spec/spec_helper.rb +1 -1
- data/test_ruby.rb +14 -11
- metadata +67 -2
@@ -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
|
+
|
16
|
+
# Unit tests for MergeHRISClient::GenerateKeyApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'GenerateKeyApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = MergeHRISClient::GenerateKeyApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of GenerateKeyApi' do
|
30
|
+
it 'should create an instance of GenerateKeyApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(MergeHRISClient::GenerateKeyApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for generate_key_create
|
36
|
+
# Create a remote key.
|
37
|
+
# @param generate_remote_key_request
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @return [RemoteKey]
|
40
|
+
describe 'generate_key_create test' 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,65 @@
|
|
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::IssuesApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'IssuesApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = MergeHRISClient::IssuesApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of IssuesApi' do
|
30
|
+
it 'should create an instance of IssuesApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(MergeHRISClient::IssuesApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for issues_list
|
36
|
+
# Gets issues.
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @option opts [String] :account_token account_token
|
39
|
+
# @option opts [Integer] :cursor The pagination cursor value.
|
40
|
+
# @option opts [String] :end_date If included, will only include issues whose most recent action occurred before this time
|
41
|
+
# @option opts [String] :end_user_organization_name end_user_organization_name
|
42
|
+
# @option opts [String] :include_muted If True, will include muted issues
|
43
|
+
# @option opts [String] :integration_name integration_name
|
44
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
45
|
+
# @option opts [String] :start_date If included, will only include issues whose most recent action occurred after this time
|
46
|
+
# @option opts [String] :status status
|
47
|
+
# @return [PaginatedIssueList]
|
48
|
+
describe 'issues_list test' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# unit tests for issues_retrieve
|
55
|
+
# Get a specific issue.
|
56
|
+
# @param id
|
57
|
+
# @param [Hash] opts the optional parameters
|
58
|
+
# @return [Issue]
|
59
|
+
describe 'issues_retrieve test' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
@@ -0,0 +1,59 @@
|
|
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::SyncStatusApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'SyncStatusApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = MergeHRISClient::SyncStatusApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of SyncStatusApi' do
|
30
|
+
it 'should create an instance of SyncStatusApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(MergeHRISClient::SyncStatusApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for sync_status_list
|
36
|
+
# Get syncing status.
|
37
|
+
# @param x_account_token Token identifying the end user.
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Integer] :cursor The pagination cursor value.
|
40
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
41
|
+
# @return [PaginatedSyncStatusList]
|
42
|
+
describe 'sync_status_list test' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
# unit tests for sync_status_resync_create
|
49
|
+
# Force resync of all models.
|
50
|
+
# @param x_account_token Token identifying the end user.
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @return [SyncStatus]
|
53
|
+
describe 'sync_status_resync_create test' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
@@ -0,0 +1,70 @@
|
|
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::TimeOffBalanceApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'TimeOffBalanceApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = MergeHRISClient::TimeOffBalanceApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of TimeOffBalanceApi' do
|
30
|
+
it 'should create an instance of TimeOffBalanceApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(MergeHRISClient::TimeOffBalanceApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for time_off_balance_list
|
36
|
+
# Returns a list of `TimeOffBalance` objects.
|
37
|
+
# @param x_account_token Token identifying the end user.
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Time] :created_after If provided, will only return objects created after this datetime.
|
40
|
+
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
41
|
+
# @option opts [String] :cursor The pagination cursor value.
|
42
|
+
# @option opts [String] :employee_id If provided, will only return time off balances for this employee.
|
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_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
45
|
+
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
46
|
+
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
47
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
48
|
+
# @option opts [String] :remote_id The API provider's ID for the given object.
|
49
|
+
# @return [PaginatedTimeOffBalanceList]
|
50
|
+
describe 'time_off_balance_list test' do
|
51
|
+
it 'should work' do
|
52
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
# unit tests for time_off_balance_retrieve
|
57
|
+
# Returns an `TimeOffBalance` object with the given `id`.
|
58
|
+
# @param x_account_token Token identifying the end user.
|
59
|
+
# @param id
|
60
|
+
# @param [Hash] opts the optional parameters
|
61
|
+
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
62
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
63
|
+
# @return [TimeOffBalance]
|
64
|
+
describe 'time_off_balance_retrieve test' 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
|
+
|
70
|
+
end
|
data/spec/api_client_spec.rb
CHANGED
data/spec/configuration_spec.rb
CHANGED
@@ -0,0 +1,64 @@
|
|
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::BenefitRequest
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe MergeHRISClient::BenefitRequest do
|
21
|
+
let(:instance) { MergeHRISClient::BenefitRequest.new }
|
22
|
+
|
23
|
+
describe 'test an instance of BenefitRequest' do
|
24
|
+
it 'should create an instance of BenefitRequest' do
|
25
|
+
expect(instance).to be_instance_of(MergeHRISClient::BenefitRequest)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "remote_id"' 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 "employee"' 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 "provider_name"' 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 "benefit_plan_type"' 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
|
+
describe 'test attribute "employee_contribution"' 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
|
+
describe 'test attribute "company_contribution"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
end
|
@@ -0,0 +1,160 @@
|
|
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::EmployeeRequest
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe MergeHRISClient::EmployeeRequest do
|
21
|
+
let(:instance) { MergeHRISClient::EmployeeRequest.new }
|
22
|
+
|
23
|
+
describe 'test an instance of EmployeeRequest' do
|
24
|
+
it 'should create an instance of EmployeeRequest' do
|
25
|
+
expect(instance).to be_instance_of(MergeHRISClient::EmployeeRequest)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "remote_id"' 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 "employee_number"' 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 "company"' 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 "first_name"' 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
|
+
describe 'test attribute "last_name"' 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
|
+
describe 'test attribute "display_full_name"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "work_email"' 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
|
+
|
70
|
+
describe 'test attribute "personal_email"' 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
|
+
|
76
|
+
describe 'test attribute "mobile_phone_number"' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
describe 'test attribute "home_location"' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
describe 'test attribute "work_location"' do
|
89
|
+
it 'should work' do
|
90
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
describe 'test attribute "manager"' 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
|
+
|
100
|
+
describe 'test attribute "team"' do
|
101
|
+
it 'should work' do
|
102
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
describe 'test attribute "ssn"' do
|
107
|
+
it 'should work' do
|
108
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
describe 'test attribute "gender"' do
|
113
|
+
it 'should work' do
|
114
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
describe 'test attribute "ethnicity"' do
|
119
|
+
it 'should work' do
|
120
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
124
|
+
describe 'test attribute "marital_status"' do
|
125
|
+
it 'should work' do
|
126
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
describe 'test attribute "date_of_birth"' do
|
131
|
+
it 'should work' do
|
132
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
describe 'test attribute "hire_date"' do
|
137
|
+
it 'should work' do
|
138
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
describe 'test attribute "employment_status"' do
|
143
|
+
it 'should work' do
|
144
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
148
|
+
describe 'test attribute "termination_date"' do
|
149
|
+
it 'should work' do
|
150
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
describe 'test attribute "avatar"' do
|
155
|
+
it 'should work' do
|
156
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
160
|
+
end
|