merge_hris_client 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +33 -9
- data/docs/AccountDetails.md +30 -0
- data/docs/AccountDetailsAndActions.md +32 -0
- data/docs/AccountDetailsAndActionsIntegration.md +32 -0
- data/docs/AccountDetailsAndActionsStatusEnum.md +15 -0
- data/docs/AccountDetailsApi.md +76 -0
- data/docs/AccountTypeEnum.md +15 -0
- data/docs/BankInfo.md +34 -0
- data/docs/BankInfoApi.md +193 -0
- data/docs/BenefitsApi.md +2 -78
- data/docs/{StateEnum.md → CategoriesEnum.md} +2 -2
- data/docs/{NullEnum.md → CategoryEnum.md} +2 -2
- data/docs/CompaniesApi.md +3 -1
- data/docs/DataPassthroughRequest.md +5 -3
- data/docs/DeductionsApi.md +179 -0
- data/docs/Employee.md +12 -8
- data/docs/EmployeePayrollRun.md +3 -3
- data/docs/EmployeePayrollRunsApi.md +13 -3
- data/docs/EmployeesApi.md +12 -82
- data/docs/Employment.md +3 -1
- data/docs/EmploymentsApi.md +7 -78
- data/docs/EndUserDetailsRequest.md +1 -1
- data/docs/ErrorValidationProblem.md +24 -0
- data/docs/ForceResyncApi.md +79 -0
- data/docs/IssuesApi.md +11 -10
- data/docs/LinkedAccountsApi.md +103 -0
- data/docs/Location.md +2 -0
- data/docs/LocationsApi.md +2 -0
- data/docs/PaginatedAccountDetailsAndActionsList.md +22 -0
- data/docs/PaginatedBankInfoList.md +22 -0
- data/docs/PaginatedDeductionList.md +22 -0
- data/docs/PaginatedIssueList.md +2 -2
- data/docs/PaginatedPayGroupList.md +22 -0
- data/docs/PaginatedSyncStatusList.md +2 -2
- data/docs/PayGroup.md +24 -0
- data/docs/PayGroupsApi.md +177 -0
- data/docs/PayrollRun.md +3 -3
- data/docs/PayrollRunsApi.md +13 -1
- data/docs/PolicyTypeEnum.md +15 -0
- data/docs/RequestFormatEnum.md +15 -0
- data/docs/SyncStatusApi.md +3 -74
- data/docs/TeamsApi.md +7 -2
- data/docs/TimeOff.md +3 -3
- data/docs/TimeOffApi.md +88 -4
- data/docs/TimeOffBalance.md +4 -2
- data/docs/{TimeOffBalanceApi.md → TimeOffBalancesApi.md} +26 -22
- data/docs/TimeOffEndpointRequest.md +18 -0
- data/docs/TimeOffRequest.md +36 -0
- data/docs/TimeOffResponse.md +22 -0
- data/docs/ValidationProblemSource.md +18 -0
- data/docs/WarningValidationProblem.md +24 -0
- data/lib/merge_hris_client/api/account_details_api.rb +77 -0
- data/lib/merge_hris_client/api/bank_info_api.rb +222 -0
- data/lib/merge_hris_client/api/benefits_api.rb +3 -69
- data/lib/merge_hris_client/api/companies_api.rb +3 -0
- data/lib/merge_hris_client/api/deductions_api.rb +185 -0
- data/lib/merge_hris_client/api/employee_payroll_runs_api.rb +17 -2
- data/lib/merge_hris_client/api/employees_api.rb +18 -75
- data/lib/merge_hris_client/api/employments_api.rb +24 -69
- data/lib/merge_hris_client/api/force_resync_api.rb +84 -0
- data/lib/merge_hris_client/api/issues_api.rb +10 -10
- data/lib/merge_hris_client/api/linked_accounts_api.rb +117 -0
- data/lib/merge_hris_client/api/locations_api.rb +3 -0
- data/lib/merge_hris_client/api/pay_groups_api.rb +182 -0
- data/lib/merge_hris_client/api/payroll_runs_api.rb +22 -0
- data/lib/merge_hris_client/api/sync_status_api.rb +4 -4
- data/lib/merge_hris_client/api/teams_api.rb +17 -0
- data/lib/merge_hris_client/api/time_off_api.rb +92 -2
- data/lib/merge_hris_client/api/time_off_balances_api.rb +206 -0
- data/lib/merge_hris_client/models/account_details.rb +273 -0
- data/lib/merge_hris_client/models/account_details_and_actions.rb +302 -0
- data/lib/merge_hris_client/models/account_details_and_actions_integration.rb +310 -0
- data/lib/merge_hris_client/models/account_details_and_actions_status_enum.rb +36 -0
- data/lib/merge_hris_client/models/account_integration.rb +1 -1
- data/lib/merge_hris_client/models/account_type_enum.rb +35 -0
- data/lib/merge_hris_client/models/bank_info.rb +323 -0
- data/lib/merge_hris_client/models/categories_enum.rb +36 -0
- data/lib/merge_hris_client/models/category_enum.rb +36 -0
- data/lib/merge_hris_client/models/data_passthrough_request.rb +66 -9
- data/lib/merge_hris_client/models/employee.rb +32 -8
- data/lib/merge_hris_client/models/employment.rb +12 -1
- data/lib/merge_hris_client/models/end_user_details_request.rb +73 -1
- data/lib/merge_hris_client/models/error_validation_problem.rb +260 -0
- data/lib/merge_hris_client/models/generate_remote_key_request.rb +19 -0
- data/lib/merge_hris_client/models/location.rb +12 -1
- data/lib/merge_hris_client/models/marital_status_enum.rb +1 -1
- data/lib/merge_hris_client/models/paginated_account_details_and_actions_list.rb +240 -0
- data/lib/merge_hris_client/models/paginated_bank_info_list.rb +240 -0
- data/lib/merge_hris_client/models/paginated_deduction_list.rb +240 -0
- data/lib/merge_hris_client/models/paginated_pay_group_list.rb +240 -0
- data/lib/merge_hris_client/models/{benefit_request.rb → pay_group.rb} +31 -54
- data/lib/merge_hris_client/models/policy_type_enum.rb +39 -0
- data/lib/merge_hris_client/models/remote_data_request.rb +19 -0
- data/lib/merge_hris_client/models/remote_key_for_regeneration_request.rb +19 -0
- data/lib/merge_hris_client/models/request_format_enum.rb +35 -0
- data/lib/merge_hris_client/models/request_type_enum.rb +2 -1
- data/lib/merge_hris_client/models/sync_status_status_enum.rb +2 -0
- data/lib/merge_hris_client/models/time_off_balance.rb +14 -3
- data/lib/merge_hris_client/models/time_off_endpoint_request.rb +223 -0
- data/lib/merge_hris_client/models/{employment_request.rb → time_off_request.rb} +80 -69
- data/lib/merge_hris_client/models/time_off_response.rb +255 -0
- data/lib/merge_hris_client/models/validation_problem_source.rb +223 -0
- data/lib/merge_hris_client/models/warning_validation_problem.rb +260 -0
- data/lib/merge_hris_client/version.rb +1 -1
- data/lib/merge_hris_client.rb +28 -4
- data/spec/api/account_details_api_spec.rb +45 -0
- data/spec/api/account_token_api_spec.rb +1 -1
- data/spec/api/available_actions_api_spec.rb +1 -1
- data/spec/api/bank_info_api_spec.rb +76 -0
- data/spec/api/benefits_api_spec.rb +4 -1
- data/spec/api/companies_api_spec.rb +4 -1
- data/spec/api/deductions_api_spec.rb +69 -0
- data/spec/api/employee_payroll_runs_api_spec.rb +9 -2
- data/spec/api/employees_api_spec.rb +9 -1
- data/spec/api/employments_api_spec.rb +7 -1
- data/spec/api/force_resync_api_spec.rb +46 -0
- data/spec/api/issues_api_spec.rb +5 -5
- data/spec/api/link_token_api_spec.rb +2 -2
- data/spec/api/linked_accounts_api_spec.rb +57 -0
- data/spec/api/locations_api_spec.rb +4 -1
- data/spec/api/passthrough_api_spec.rb +2 -3
- data/spec/api/pay_groups_api_spec.rb +68 -0
- data/spec/api/payroll_runs_api_spec.rb +9 -1
- data/spec/api/regenerate_key_api_spec.rb +2 -2
- data/spec/api/sync_status_api_spec.rb +2 -13
- data/spec/api/teams_api_spec.rb +7 -1
- data/spec/api/time_off_api_spec.rb +20 -2
- data/spec/api/{time_off_balance_api_spec.rb → time_off_balances_api_spec.rb} +13 -11
- data/spec/models/account_details_and_actions_integration_spec.rb +76 -0
- data/spec/models/account_details_and_actions_spec.rb +76 -0
- data/spec/models/account_details_and_actions_status_enum_spec.rb +28 -0
- data/spec/models/{benefit_request_spec.rb → account_details_spec.rb} +18 -12
- data/spec/models/account_integration_spec.rb +7 -1
- data/spec/models/account_token_spec.rb +7 -1
- data/spec/models/account_type_enum_spec.rb +28 -0
- data/spec/models/available_actions_spec.rb +13 -1
- data/spec/models/{employment_request_spec.rb → bank_info_spec.rb} +15 -15
- data/spec/models/benefit_plan_type_enum_spec.rb +1 -1
- data/spec/models/benefit_spec.rb +7 -1
- data/spec/models/categories_enum_spec.rb +28 -0
- data/spec/models/{state_enum_spec.rb → category_enum_spec.rb} +7 -7
- data/spec/models/company_spec.rb +7 -1
- data/spec/models/country_enum_spec.rb +1 -1
- data/spec/models/data_passthrough_request_spec.rb +7 -1
- data/spec/models/deduction_spec.rb +7 -1
- data/spec/models/earning_spec.rb +7 -1
- data/spec/models/employee_payroll_run_spec.rb +7 -1
- data/spec/models/employee_spec.rb +31 -1
- data/spec/models/employment_spec.rb +13 -1
- data/spec/models/employment_status_enum_spec.rb +1 -1
- data/spec/models/employment_type_enum_spec.rb +1 -1
- data/spec/models/end_user_details_request_spec.rb +7 -5
- data/spec/models/{end_user_details_spec.rb → error_validation_problem_spec.rb} +11 -15
- data/spec/models/ethnicity_enum_spec.rb +1 -1
- data/spec/models/flsa_status_enum_spec.rb +1 -1
- data/spec/models/gender_enum_spec.rb +1 -1
- data/spec/models/link_token_spec.rb +1 -1
- data/spec/models/location_spec.rb +13 -1
- data/spec/models/marital_status_enum_spec.rb +1 -1
- data/spec/models/method_enum_spec.rb +1 -1
- data/spec/models/model_operation_spec.rb +13 -1
- data/spec/models/paginated_account_details_and_actions_list_spec.rb +46 -0
- data/spec/models/paginated_bank_info_list_spec.rb +46 -0
- data/spec/models/paginated_benefit_list_spec.rb +1 -1
- data/spec/models/paginated_company_list_spec.rb +1 -1
- data/spec/models/paginated_deduction_list_spec.rb +46 -0
- data/spec/models/paginated_employee_list_spec.rb +1 -1
- data/spec/models/paginated_employee_payroll_run_list_spec.rb +1 -1
- data/spec/models/paginated_employment_list_spec.rb +1 -1
- data/spec/models/paginated_location_list_spec.rb +1 -1
- data/spec/models/paginated_pay_group_list_spec.rb +46 -0
- data/spec/models/paginated_payroll_run_list_spec.rb +1 -1
- data/spec/models/paginated_team_list_spec.rb +1 -1
- data/spec/models/paginated_time_off_list_spec.rb +1 -1
- data/spec/models/pay_currency_enum_spec.rb +1 -1
- data/spec/models/pay_frequency_enum_spec.rb +1 -1
- data/spec/models/{data_passthrough_spec.rb → pay_group_spec.rb} +11 -11
- data/spec/models/pay_period_enum_spec.rb +1 -1
- data/spec/models/payroll_run_spec.rb +7 -1
- data/spec/models/policy_type_enum_spec.rb +28 -0
- data/spec/models/remote_data_spec.rb +1 -1
- data/spec/models/remote_key_for_regeneration_request_spec.rb +1 -1
- data/spec/models/remote_key_spec.rb +1 -1
- data/spec/models/remote_response_spec.rb +1 -1
- data/spec/models/request_format_enum_spec.rb +28 -0
- data/spec/models/request_type_enum_spec.rb +1 -1
- data/spec/models/run_state_enum_spec.rb +1 -1
- data/spec/models/run_type_enum_spec.rb +1 -1
- data/spec/models/tax_spec.rb +7 -1
- data/spec/models/team_spec.rb +13 -1
- data/spec/models/time_off_balance_spec.rb +6 -0
- data/spec/models/{remote_key_for_regeneration_spec.rb → time_off_endpoint_request_spec.rb} +8 -8
- data/spec/models/time_off_request_spec.rb +88 -0
- data/spec/models/time_off_response_spec.rb +46 -0
- data/spec/models/time_off_spec.rb +19 -1
- data/spec/models/time_off_status_enum_spec.rb +1 -1
- data/spec/models/type_enum_spec.rb +1 -1
- data/spec/models/units_enum_spec.rb +1 -1
- data/spec/models/validation_problem_source_spec.rb +34 -0
- data/spec/models/warning_validation_problem_spec.rb +52 -0
- data/test_ruby.rb +11 -14
- metadata +115 -33
- data/docs/BenefitRequest.md +0 -28
- data/docs/DataPassthrough.md +0 -24
- data/docs/EmployeeRequest.md +0 -62
- data/docs/EmploymentRequest.md +0 -34
- data/docs/EndUserDetails.md +0 -24
- data/docs/RemoteKeyForRegeneration.md +0 -18
- data/lib/merge_hris_client/models/employee_request.rb +0 -523
- data/merge_hris_client-1.0.0.gem +0 -0
- data/merge_hris_client-1.0.1.gem +0 -0
- data/spec/models/employee_request_spec.rb +0 -160
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
7
7
|
Contact: hello@merge.dev
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -39,13 +39,19 @@ describe 'EmployeePayrollRunsApi' 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 [String] :employee_id If provided, will only return
|
42
|
+
# @option opts [String] :employee_id If provided, will only return employee payroll runs for this employee.
|
43
|
+
# @option opts [Time] :ended_after If provided, will only return employee payroll runs ended after this datetime.
|
44
|
+
# @option opts [Time] :ended_before If provided, will only return employee payroll runs ended before this datetime.
|
43
45
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
46
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted in the third-party service.
|
47
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
44
48
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
45
49
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
46
50
|
# @option opts [Integer] :page_size Number of results to return per page.
|
47
51
|
# @option opts [String] :payroll_run_id If provided, will only return employee payroll runs for this employee.
|
48
52
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
53
|
+
# @option opts [Time] :started_after If provided, will only return employee payroll runs started after this datetime.
|
54
|
+
# @option opts [Time] :started_before If provided, will only return employee payroll runs started before this datetime.
|
49
55
|
# @return [PaginatedEmployeePayrollRunList]
|
50
56
|
describe 'employee_payroll_runs_list test' do
|
51
57
|
it 'should work' do
|
@@ -59,6 +65,7 @@ describe 'EmployeePayrollRunsApi' do
|
|
59
65
|
# @param id
|
60
66
|
# @param [Hash] opts the optional parameters
|
61
67
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
68
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
62
69
|
# @return [EmployeePayrollRun]
|
63
70
|
describe 'employee_payroll_runs_retrieve test' do
|
64
71
|
it 'should work' do
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
7
7
|
Contact: hello@merge.dev
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -41,12 +41,18 @@ describe 'EmployeesApi' do
|
|
41
41
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
42
42
|
# @option opts [String] :cursor The pagination cursor value.
|
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 in the third-party service.
|
45
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
46
|
+
# @option opts [Boolean] :include_sensitive_fields Whether to include sensitive fields (such as social security numbers) in the response.
|
44
47
|
# @option opts [String] :manager_id If provided, will only return employees for this manager.
|
45
48
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
46
49
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
47
50
|
# @option opts [Integer] :page_size Number of results to return per page.
|
51
|
+
# @option opts [String] :pay_group_id If provided, will only return employees for this pay group
|
52
|
+
# @option opts [String] :personal_email If provided, will only return Employees with this personal email
|
48
53
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
49
54
|
# @option opts [String] :team_id If provided, will only return employees for this team.
|
55
|
+
# @option opts [String] :work_email If provided, will only return Employees with this work email
|
50
56
|
# @option opts [String] :work_location_id If provided, will only return employees for this location.
|
51
57
|
# @return [PaginatedEmployeeList]
|
52
58
|
describe 'employees_list test' do
|
@@ -61,6 +67,8 @@ describe 'EmployeesApi' do
|
|
61
67
|
# @param id
|
62
68
|
# @param [Hash] opts the optional parameters
|
63
69
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
70
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
71
|
+
# @option opts [Boolean] :include_sensitive_fields Whether to include sensitive fields (such as social security numbers) in the response.
|
64
72
|
# @return [Employee]
|
65
73
|
describe 'employees_retrieve test' do
|
66
74
|
it 'should work' do
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
7
7
|
Contact: hello@merge.dev
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -40,8 +40,12 @@ describe 'EmploymentsApi' 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] :employee_id If provided, will only return employments 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_deleted_data Whether to include data that was deleted in the third-party service.
|
45
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
43
46
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
44
47
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
48
|
+
# @option opts [String] :order_by Overrides the default ordering for this endpoint.
|
45
49
|
# @option opts [Integer] :page_size Number of results to return per page.
|
46
50
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
47
51
|
# @return [PaginatedEmploymentList]
|
@@ -56,6 +60,8 @@ describe 'EmploymentsApi' do
|
|
56
60
|
# @param x_account_token Token identifying the end user.
|
57
61
|
# @param id
|
58
62
|
# @param [Hash] opts the optional parameters
|
63
|
+
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
64
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
59
65
|
# @return [Employment]
|
60
66
|
describe 'employments_retrieve test' do
|
61
67
|
it 'should work' do
|
@@ -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::ForceResyncApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ForceResyncApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = MergeHRISClient::ForceResyncApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ForceResyncApi' do
|
30
|
+
it 'should create an instance of ForceResyncApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(MergeHRISClient::ForceResyncApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for sync_status_resync_create
|
36
|
+
# Force re-sync of all models. This is only available for organizations on Merge's Grow and Expand plans.
|
37
|
+
# @param x_account_token Token identifying the end user.
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @return [SyncStatus]
|
40
|
+
describe 'sync_status_resync_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
|
data/spec/api/issues_api_spec.rb
CHANGED
@@ -35,15 +35,15 @@ describe 'IssuesApi' do
|
|
35
35
|
# unit tests for issues_list
|
36
36
|
# Gets issues.
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
|
-
# @option opts [String] :account_token
|
39
|
-
# @option opts [
|
38
|
+
# @option opts [String] :account_token
|
39
|
+
# @option opts [String] :cursor The pagination cursor value.
|
40
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
|
41
|
+
# @option opts [String] :end_user_organization_name
|
42
42
|
# @option opts [String] :include_muted If True, will include muted issues
|
43
|
-
# @option opts [String] :integration_name
|
43
|
+
# @option opts [String] :integration_name
|
44
44
|
# @option opts [Integer] :page_size Number of results to return per page.
|
45
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
|
46
|
+
# @option opts [String] :status
|
47
47
|
# @return [PaginatedIssueList]
|
48
48
|
describe 'issues_list test' do
|
49
49
|
it 'should work' do
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
7
7
|
Contact: hello@merge.dev
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -34,7 +34,7 @@ describe 'LinkTokenApi' do
|
|
34
34
|
|
35
35
|
# unit tests for link_token_create
|
36
36
|
# Creates a link token to be used when linking a new end user.
|
37
|
-
# @param
|
37
|
+
# @param end_user_details_request
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @return [LinkToken]
|
40
40
|
describe 'link_token_create test' do
|
@@ -0,0 +1,57 @@
|
|
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::LinkedAccountsApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'LinkedAccountsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = MergeHRISClient::LinkedAccountsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of LinkedAccountsApi' do
|
30
|
+
it 'should create an instance of LinkedAccountsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(MergeHRISClient::LinkedAccountsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for linked_accounts_list
|
36
|
+
# List linked accounts for your organization.
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @option opts [String] :category
|
39
|
+
# @option opts [String] :cursor The pagination cursor value.
|
40
|
+
# @option opts [String] :end_user_email_address
|
41
|
+
# @option opts [String] :end_user_organization_name
|
42
|
+
# @option opts [String] :end_user_origin_id
|
43
|
+
# @option opts [String] :end_user_origin_ids Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once
|
44
|
+
# @option opts [String] :id
|
45
|
+
# @option opts [String] :ids Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once
|
46
|
+
# @option opts [String] :integration_name
|
47
|
+
# @option opts [String] :is_test_account If included, will only include test linked accounts. If not included, will only include non-test linked accounts
|
48
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
49
|
+
# @option opts [String] :status Filter by status. Options: `COMPLETE`, `INCOMPLETE`, `RELINK_NEEDED`
|
50
|
+
# @return [PaginatedAccountDetailsAndActionsList]
|
51
|
+
describe 'linked_accounts_list test' do
|
52
|
+
it 'should work' do
|
53
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
7
7
|
Contact: hello@merge.dev
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -39,6 +39,8 @@ 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 in the third-party service.
|
43
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
42
44
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
43
45
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
44
46
|
# @option opts [Integer] :page_size Number of results to return per page.
|
@@ -55,6 +57,7 @@ describe 'LocationsApi' do
|
|
55
57
|
# @param x_account_token Token identifying the end user.
|
56
58
|
# @param id
|
57
59
|
# @param [Hash] opts the optional parameters
|
60
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
58
61
|
# @return [Location]
|
59
62
|
describe 'locations_retrieve test' do
|
60
63
|
it 'should work' do
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
7
7
|
Contact: hello@merge.dev
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -35,9 +35,8 @@ describe 'PassthroughApi' do
|
|
35
35
|
# unit tests for passthrough_create
|
36
36
|
# Pull data from an endpoint not currently supported by Merge.
|
37
37
|
# @param x_account_token Token identifying the end user.
|
38
|
-
# @param
|
38
|
+
# @param data_passthrough_request
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
41
40
|
# @return [RemoteResponse]
|
42
41
|
describe 'passthrough_create test' do
|
43
42
|
it 'should work' do
|
@@ -0,0 +1,68 @@
|
|
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::PayGroupsApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'PayGroupsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = MergeHRISClient::PayGroupsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of PayGroupsApi' do
|
30
|
+
it 'should create an instance of PayGroupsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(MergeHRISClient::PayGroupsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for pay_groups_list
|
36
|
+
# Returns a list of `PayGroup` 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 [Boolean] :include_deleted_data Whether to include data that was deleted in the third-party service.
|
43
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
44
|
+
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
45
|
+
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
46
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
47
|
+
# @option opts [String] :remote_id The API provider's ID for the given object.
|
48
|
+
# @return [PaginatedPayGroupList]
|
49
|
+
describe 'pay_groups_list test' do
|
50
|
+
it 'should work' do
|
51
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
# unit tests for pay_groups_retrieve
|
56
|
+
# Returns a `PayGroup` object with the given `id`.
|
57
|
+
# @param x_account_token Token identifying the end user.
|
58
|
+
# @param id
|
59
|
+
# @param [Hash] opts the optional parameters
|
60
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
61
|
+
# @return [PayGroup]
|
62
|
+
describe 'pay_groups_retrieve test' do
|
63
|
+
it 'should work' do
|
64
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
7
7
|
Contact: hello@merge.dev
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -39,10 +39,17 @@ describe 'PayrollRunsApi' 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 [Time] :ended_after If provided, will only return payroll runs ended after this datetime.
|
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 in the third-party service.
|
45
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
42
46
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
43
47
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
44
48
|
# @option opts [Integer] :page_size Number of results to return per page.
|
45
49
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
50
|
+
# @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
|
+
# @option opts [Time] :started_after If provided, will only return payroll runs started after this datetime.
|
52
|
+
# @option opts [Time] :started_before If provided, will only return payroll runs started before this datetime.
|
46
53
|
# @return [PaginatedPayrollRunList]
|
47
54
|
describe 'payroll_runs_list test' do
|
48
55
|
it 'should work' do
|
@@ -55,6 +62,7 @@ describe 'PayrollRunsApi' do
|
|
55
62
|
# @param x_account_token Token identifying the end user.
|
56
63
|
# @param id
|
57
64
|
# @param [Hash] opts the optional parameters
|
65
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
58
66
|
# @return [PayrollRun]
|
59
67
|
describe 'payroll_runs_retrieve test' do
|
60
68
|
it 'should work' do
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
7
7
|
Contact: hello@merge.dev
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -34,7 +34,7 @@ describe 'RegenerateKeyApi' do
|
|
34
34
|
|
35
35
|
# unit tests for regenerate_key_create
|
36
36
|
# Exchange remote keys.
|
37
|
-
# @param
|
37
|
+
# @param remote_key_for_regeneration_request
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @return [RemoteKey]
|
40
40
|
describe 'regenerate_key_create test' do
|
@@ -33,10 +33,10 @@ describe 'SyncStatusApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for sync_status_list
|
36
|
-
# Get syncing status.
|
36
|
+
# Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `SYNCING`
|
37
37
|
# @param x_account_token Token identifying the end user.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
-
# @option opts [
|
39
|
+
# @option opts [String] :cursor The pagination cursor value.
|
40
40
|
# @option opts [Integer] :page_size Number of results to return per page.
|
41
41
|
# @return [PaginatedSyncStatusList]
|
42
42
|
describe 'sync_status_list test' do
|
@@ -45,15 +45,4 @@ describe 'SyncStatusApi' do
|
|
45
45
|
end
|
46
46
|
end
|
47
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
48
|
end
|
data/spec/api/teams_api_spec.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
7
7
|
Contact: hello@merge.dev
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -39,9 +39,13 @@ describe 'TeamsApi' 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 [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 in the third-party service.
|
44
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
42
45
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
43
46
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
44
47
|
# @option opts [Integer] :page_size Number of results to return per page.
|
48
|
+
# @option opts [String] :parent_team_id If provided, will only return teams with this parent team.
|
45
49
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
46
50
|
# @return [PaginatedTeamList]
|
47
51
|
describe 'teams_list test' do
|
@@ -55,6 +59,8 @@ describe 'TeamsApi' do
|
|
55
59
|
# @param x_account_token Token identifying the end user.
|
56
60
|
# @param id
|
57
61
|
# @param [Hash] opts the optional parameters
|
62
|
+
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
63
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
58
64
|
# @return [Team]
|
59
65
|
describe 'teams_retrieve test' do
|
60
66
|
it 'should work' do
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
7
7
|
Contact: hello@merge.dev
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -32,6 +32,19 @@ describe 'TimeOffApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
+
# unit tests for time_off_create
|
36
|
+
# Creates a `TimeOff` object with the given values.
|
37
|
+
# @param x_account_token Token identifying the end user.
|
38
|
+
# @param time_off_endpoint_request
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [Boolean] :run_async Whether or not third-party updates should be run asynchronously.
|
41
|
+
# @return [TimeOffResponse]
|
42
|
+
describe 'time_off_create 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
|
+
|
35
48
|
# unit tests for time_off_list
|
36
49
|
# Returns a list of `TimeOff` objects.
|
37
50
|
# @param x_account_token Token identifying the end user.
|
@@ -42,10 +55,14 @@ describe 'TimeOffApi' do
|
|
42
55
|
# @option opts [String] :cursor The pagination cursor value.
|
43
56
|
# @option opts [String] :employee_id If provided, will only return time off for this employee.
|
44
57
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
58
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted in the third-party service.
|
59
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
45
60
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
46
61
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
47
62
|
# @option opts [Integer] :page_size Number of results to return per page.
|
48
63
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
64
|
+
# @option opts [String] :request_type If provided, will only return TimeOff with this request type. Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', 'VOLUNTEER', 'BEREAVEMENT')
|
65
|
+
# @option opts [String] :status If provided, will only return TimeOff with this status. Options: ('REQUESTED', 'APPROVED', 'DECLINED', 'CANCELLED', 'DELETED')
|
49
66
|
# @return [PaginatedTimeOffList]
|
50
67
|
describe 'time_off_list test' do
|
51
68
|
it 'should work' do
|
@@ -54,11 +71,12 @@ describe 'TimeOffApi' do
|
|
54
71
|
end
|
55
72
|
|
56
73
|
# unit tests for time_off_retrieve
|
57
|
-
# Returns
|
74
|
+
# Returns a `TimeOff` object with the given `id`.
|
58
75
|
# @param x_account_token Token identifying the end user.
|
59
76
|
# @param id
|
60
77
|
# @param [Hash] opts the optional parameters
|
61
78
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
79
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
62
80
|
# @return [TimeOff]
|
63
81
|
describe 'time_off_retrieve test' do
|
64
82
|
it 'should work' do
|
@@ -13,26 +13,26 @@ OpenAPI Generator version: 5.1.1
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for MergeHRISClient::
|
16
|
+
# Unit tests for MergeHRISClient::TimeOffBalancesApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
|
-
describe '
|
19
|
+
describe 'TimeOffBalancesApi' do
|
20
20
|
before do
|
21
21
|
# run before each test
|
22
|
-
@api_instance = MergeHRISClient::
|
22
|
+
@api_instance = MergeHRISClient::TimeOffBalancesApi.new
|
23
23
|
end
|
24
24
|
|
25
25
|
after do
|
26
26
|
# run after each test
|
27
27
|
end
|
28
28
|
|
29
|
-
describe 'test an instance of
|
30
|
-
it 'should create an instance of
|
31
|
-
expect(@api_instance).to be_instance_of(MergeHRISClient::
|
29
|
+
describe 'test an instance of TimeOffBalancesApi' do
|
30
|
+
it 'should create an instance of TimeOffBalancesApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(MergeHRISClient::TimeOffBalancesApi)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
35
|
+
# unit tests for time_off_balances_list
|
36
36
|
# Returns a list of `TimeOffBalance` objects.
|
37
37
|
# @param x_account_token Token identifying the end user.
|
38
38
|
# @param [Hash] opts the optional parameters
|
@@ -41,27 +41,29 @@ describe 'TimeOffBalanceApi' 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 in the third-party service.
|
44
45
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
45
46
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
46
47
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
47
48
|
# @option opts [Integer] :page_size Number of results to return per page.
|
49
|
+
# @option opts [String] :policy_type If provided, will only return TimeOffBalance with this policy type. Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', 'VOLUNTEER', 'BEREAVEMENT')
|
48
50
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
49
51
|
# @return [PaginatedTimeOffBalanceList]
|
50
|
-
describe '
|
52
|
+
describe 'time_off_balances_list test' do
|
51
53
|
it 'should work' do
|
52
54
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
53
55
|
end
|
54
56
|
end
|
55
57
|
|
56
|
-
# unit tests for
|
57
|
-
# Returns
|
58
|
+
# unit tests for time_off_balances_retrieve
|
59
|
+
# Returns a `TimeOffBalance` object with the given `id`.
|
58
60
|
# @param x_account_token Token identifying the end user.
|
59
61
|
# @param id
|
60
62
|
# @param [Hash] opts the optional parameters
|
61
63
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
62
64
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
63
65
|
# @return [TimeOffBalance]
|
64
|
-
describe '
|
66
|
+
describe 'time_off_balances_retrieve test' do
|
65
67
|
it 'should work' do
|
66
68
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
69
|
end
|