merge_hris_client 1.0.2 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +59 -19
- 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/AccountIntegration.md +4 -4
- data/docs/AccountTokenApi.md +2 -2
- data/docs/AccountTypeEnum.md +15 -0
- data/docs/AvailableActionsApi.md +2 -2
- data/docs/BankInfo.md +34 -0
- data/docs/BankInfoApi.md +189 -0
- data/docs/Benefit.md +2 -2
- data/docs/BenefitsApi.md +6 -82
- data/docs/CategoriesEnum.md +15 -0
- data/docs/{StateEnum.md → CategoryEnum.md} +2 -2
- data/docs/CompaniesApi.md +6 -4
- data/docs/DataPassthroughRequest.md +7 -3
- data/docs/DebugModeLog.md +22 -0
- data/docs/DebugModelLogSummary.md +22 -0
- data/docs/Deduction.md +2 -2
- data/docs/DeductionsApi.md +179 -0
- data/docs/DeleteAccountApi.md +3 -2
- data/docs/Earning.md +3 -3
- data/docs/EarningTypeEnum.md +15 -0
- data/docs/Employee.md +20 -14
- data/docs/EmployeeEndpointRequest.md +18 -0
- data/docs/EmployeePayrollRun.md +5 -5
- data/docs/EmployeePayrollRunsApi.md +17 -7
- data/docs/EmployeeRequest.md +21 -13
- data/docs/EmployeeResponse.md +24 -0
- data/docs/EmployeesApi.md +101 -17
- data/docs/Employment.md +3 -1
- data/docs/EmploymentsApi.md +12 -82
- data/docs/EncodingEnum.md +15 -0
- data/docs/EndUserDetailsRequest.md +4 -2
- data/docs/ErrorValidationProblem.md +24 -0
- data/docs/ForceResyncApi.md +79 -0
- data/docs/GenerateKeyApi.md +2 -2
- data/docs/Group.md +28 -0
- data/docs/GroupTypeEnum.md +15 -0
- data/docs/GroupsApi.md +177 -0
- data/docs/IgnoreCommonModel.md +20 -0
- data/docs/IgnoreCommonModelRequest.md +20 -0
- data/docs/IssuesApi.md +16 -14
- data/docs/LinkTokenApi.md +3 -3
- data/docs/LinkedAccountsApi.md +103 -0
- data/docs/Location.md +4 -0
- data/docs/LocationTypeEnum.md +15 -0
- data/docs/LocationsApi.md +6 -4
- data/docs/MultipartFormFieldRequest.md +26 -0
- data/docs/PaginatedAccountDetailsAndActionsList.md +22 -0
- data/docs/PaginatedBankInfoList.md +22 -0
- data/docs/PaginatedDeductionList.md +22 -0
- data/docs/PaginatedGroupList.md +22 -0
- data/docs/PaginatedIssueList.md +2 -2
- data/docs/PaginatedPayGroupList.md +22 -0
- data/docs/PaginatedSyncStatusList.md +2 -2
- data/docs/PassthroughApi.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 +17 -5
- data/docs/PolicyTypeEnum.md +15 -0
- data/docs/{NullEnum.md → ReasonEnum.md} +2 -2
- data/docs/RegenerateKeyApi.md +2 -2
- data/docs/RequestFormatEnum.md +15 -0
- data/docs/SyncStatusApi.md +3 -75
- data/docs/Tax.md +2 -2
- data/docs/Team.md +1 -1
- data/docs/TeamsApi.md +12 -6
- data/docs/TimeOff.md +5 -5
- data/docs/TimeOffApi.md +92 -6
- data/docs/TimeOffBalance.md +5 -3
- data/docs/{TimeOffBalanceApi.md → TimeOffBalancesApi.md} +26 -22
- data/docs/TimeOffEndpointRequest.md +18 -0
- data/docs/TimeOffRequest.md +36 -0
- data/docs/TimeOffResponse.md +24 -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 +217 -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 +103 -15
- 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/groups_api.rb +182 -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 -66
- data/lib/merge_hris_client/api/teams_api.rb +17 -0
- data/lib/merge_hris_client/api/time_off_api.rb +95 -2
- data/lib/merge_hris_client/api/time_off_balances_api.rb +206 -0
- data/lib/merge_hris_client/configuration.rb +6 -4
- 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 +37 -0
- data/lib/merge_hris_client/models/account_integration.rb +6 -28
- data/lib/merge_hris_client/models/account_token.rb +1 -1
- data/lib/merge_hris_client/models/account_type_enum.rb +36 -0
- data/lib/merge_hris_client/models/available_actions.rb +1 -1
- data/lib/merge_hris_client/models/bank_info.rb +322 -0
- data/lib/merge_hris_client/models/benefit.rb +2 -3
- data/lib/merge_hris_client/models/categories_enum.rb +37 -0
- data/lib/merge_hris_client/models/category_enum.rb +37 -0
- data/lib/merge_hris_client/models/company.rb +1 -1
- data/lib/merge_hris_client/models/country_enum.rb +1 -0
- data/lib/merge_hris_client/models/data_passthrough_request.rb +79 -9
- data/lib/merge_hris_client/models/debug_mode_log.rb +251 -0
- data/lib/merge_hris_client/models/debug_model_log_summary.rb +251 -0
- data/lib/merge_hris_client/models/deduction.rb +1 -2
- data/lib/merge_hris_client/models/earning.rb +4 -8
- data/lib/merge_hris_client/models/earning_type_enum.rb +38 -0
- data/lib/merge_hris_client/models/employee.rb +43 -14
- data/lib/merge_hris_client/models/employee_endpoint_request.rb +223 -0
- data/lib/merge_hris_client/models/employee_payroll_run.rb +1 -3
- data/lib/merge_hris_client/models/employee_request.rb +55 -14
- data/lib/merge_hris_client/models/employee_response.rb +266 -0
- data/lib/merge_hris_client/models/employment.rb +12 -2
- 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/encoding_enum.rb +36 -0
- data/lib/merge_hris_client/models/end_user_details_request.rb +113 -28
- data/lib/merge_hris_client/models/error_validation_problem.rb +260 -0
- 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 +20 -1
- data/lib/merge_hris_client/models/{benefit_request.rb → group.rb} +48 -49
- data/lib/merge_hris_client/models/group_type_enum.rb +38 -0
- data/lib/merge_hris_client/models/ignore_common_model.rb +247 -0
- data/lib/merge_hris_client/models/ignore_common_model_request.rb +256 -0
- data/lib/merge_hris_client/models/issue.rb +1 -1
- data/lib/merge_hris_client/models/issue_status_enum.rb +1 -1
- data/lib/merge_hris_client/models/link_token.rb +1 -1
- data/lib/merge_hris_client/models/location.rb +24 -2
- data/lib/merge_hris_client/models/location_type_enum.rb +36 -0
- data/lib/merge_hris_client/models/marital_status_enum.rb +2 -2
- data/lib/merge_hris_client/models/method_enum.rb +1 -1
- data/lib/merge_hris_client/models/model_operation.rb +1 -1
- data/lib/merge_hris_client/models/multipart_form_field_request.rb +341 -0
- 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_benefit_list.rb +1 -1
- data/lib/merge_hris_client/models/paginated_company_list.rb +1 -1
- data/lib/merge_hris_client/models/paginated_deduction_list.rb +240 -0
- 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_group_list.rb +240 -0
- data/lib/merge_hris_client/models/paginated_issue_list.rb +1 -1
- data/lib/merge_hris_client/models/paginated_location_list.rb +1 -1
- data/lib/merge_hris_client/models/paginated_pay_group_list.rb +240 -0
- data/lib/merge_hris_client/models/paginated_payroll_run_list.rb +1 -1
- data/lib/merge_hris_client/models/paginated_sync_status_list.rb +1 -1
- data/lib/merge_hris_client/models/paginated_team_list.rb +1 -1
- data/lib/merge_hris_client/models/paginated_time_off_balance_list.rb +1 -1
- 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 -2
- data/lib/merge_hris_client/models/pay_group.rb +253 -0
- 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/policy_type_enum.rb +40 -0
- data/lib/merge_hris_client/models/reason_enum.rb +37 -0
- data/lib/merge_hris_client/models/remote_data.rb +1 -1
- data/lib/merge_hris_client/models/remote_data_request.rb +20 -1
- data/lib/merge_hris_client/models/remote_key.rb +1 -1
- data/lib/merge_hris_client/models/remote_key_for_regeneration_request.rb +20 -1
- data/lib/merge_hris_client/models/remote_response.rb +1 -1
- data/lib/merge_hris_client/models/request_format_enum.rb +37 -0
- data/lib/merge_hris_client/models/request_type_enum.rb +3 -1
- data/lib/merge_hris_client/models/run_state_enum.rb +1 -1
- data/lib/merge_hris_client/models/run_type_enum.rb +1 -11
- data/lib/merge_hris_client/models/sync_status.rb +1 -1
- data/lib/merge_hris_client/models/sync_status_status_enum.rb +3 -2
- data/lib/merge_hris_client/models/tax.rb +3 -7
- data/lib/merge_hris_client/models/team.rb +1 -2
- data/lib/merge_hris_client/models/time_off.rb +1 -3
- data/lib/merge_hris_client/models/time_off_balance.rb +15 -5
- 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} +79 -70
- data/lib/merge_hris_client/models/time_off_response.rb +266 -0
- data/lib/merge_hris_client/models/time_off_status_enum.rb +1 -1
- data/lib/merge_hris_client/models/units_enum.rb +1 -1
- 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 +43 -5
- data/pull_request_template.md +3 -1
- 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 +74 -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 +35 -1
- data/spec/api/employments_api_spec.rb +7 -1
- data/spec/api/force_resync_api_spec.rb +46 -0
- data/spec/api/groups_api_spec.rb +68 -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 +21 -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/account_details_spec.rb +70 -0
- 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/category_enum_spec.rb +28 -0
- 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 +13 -1
- data/spec/models/debug_mode_log_spec.rb +46 -0
- data/spec/models/debug_model_log_summary_spec.rb +46 -0
- data/spec/models/deduction_spec.rb +7 -1
- data/spec/models/earning_spec.rb +7 -1
- data/spec/models/earning_type_enum_spec.rb +28 -0
- data/spec/models/{remote_key_for_regeneration_spec.rb → employee_endpoint_request_spec.rb} +8 -8
- data/spec/models/employee_payroll_run_spec.rb +7 -1
- data/spec/models/employee_request_spec.rb +30 -0
- data/spec/models/{end_user_details_spec.rb → employee_response_spec.rb} +11 -15
- data/spec/models/employee_spec.rb +37 -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/encoding_enum_spec.rb +28 -0
- data/spec/models/end_user_details_request_spec.rb +13 -5
- data/spec/models/error_validation_problem_spec.rb +52 -0
- 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/{benefit_request_spec.rb → group_spec.rb} +12 -12
- data/spec/models/group_type_enum_spec.rb +28 -0
- data/spec/models/ignore_common_model_request_spec.rb +40 -0
- data/spec/models/ignore_common_model_spec.rb +40 -0
- data/spec/models/link_token_spec.rb +1 -1
- data/spec/models/location_spec.rb +19 -1
- data/spec/models/location_type_enum_spec.rb +28 -0
- 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/multipart_form_field_request_spec.rb +58 -0
- 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_group_list_spec.rb +46 -0
- 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/{state_enum_spec.rb → reason_enum_spec.rb} +7 -7
- 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/time_off_endpoint_request_spec.rb +34 -0
- data/spec/models/time_off_request_spec.rb +88 -0
- data/spec/models/time_off_response_spec.rb +52 -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 +175 -29
- data/docs/BenefitRequest.md +0 -28
- data/docs/DataPassthrough.md +0 -24
- data/docs/EmploymentRequest.md +0 -34
- data/docs/EndUserDetails.md +0 -24
- data/docs/RemoteKeyForRegeneration.md +0 -18
- data/merge_hris_client-1.0.0.gem +0 -0
- data/merge_hris_client-1.0.1.gem +0 -0
data/docs/EmploymentsApi.md
CHANGED
@@ -4,88 +4,10 @@ All URIs are relative to *https://api.merge.dev/api/hris/v1*
|
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
|
-
| [**employments_create**](EmploymentsApi.md#employments_create) | **POST** /employments | |
|
8
7
|
| [**employments_list**](EmploymentsApi.md#employments_list) | **GET** /employments | |
|
9
8
|
| [**employments_retrieve**](EmploymentsApi.md#employments_retrieve) | **GET** /employments/{id} | |
|
10
9
|
|
11
10
|
|
12
|
-
## employments_create
|
13
|
-
|
14
|
-
> <Employment> employments_create(x_account_token, opts)
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
Creates an `Employment` object with the given values.
|
19
|
-
|
20
|
-
### Examples
|
21
|
-
|
22
|
-
```ruby
|
23
|
-
require 'time'
|
24
|
-
require 'merge_hris_client'
|
25
|
-
# setup authorization
|
26
|
-
MergeHRISClient.configure do |config|
|
27
|
-
# Configure API key authorization: tokenAuth
|
28
|
-
config.api_key['tokenAuth'] = 'YOUR API KEY'
|
29
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
30
|
-
# config.api_key_prefix['tokenAuth'] = 'Bearer'
|
31
|
-
end
|
32
|
-
|
33
|
-
api_instance = MergeHRISClient::EmploymentsApi.new
|
34
|
-
x_account_token = 'x_account_token_example' # String | Token identifying the end user.
|
35
|
-
opts = {
|
36
|
-
run_async: true, # Boolean | Whether or not third-party updates should be run asynchronously.
|
37
|
-
employment_request: MergeHRISClient::EmploymentRequest.new # EmploymentRequest |
|
38
|
-
}
|
39
|
-
|
40
|
-
begin
|
41
|
-
|
42
|
-
result = api_instance.employments_create(x_account_token, opts)
|
43
|
-
p result
|
44
|
-
rescue MergeHRISClient::ApiError => e
|
45
|
-
puts "Error when calling EmploymentsApi->employments_create: #{e}"
|
46
|
-
end
|
47
|
-
```
|
48
|
-
|
49
|
-
#### Using the employments_create_with_http_info variant
|
50
|
-
|
51
|
-
This returns an Array which contains the response data, status code and headers.
|
52
|
-
|
53
|
-
> <Array(<Employment>, Integer, Hash)> employments_create_with_http_info(x_account_token, opts)
|
54
|
-
|
55
|
-
```ruby
|
56
|
-
begin
|
57
|
-
|
58
|
-
data, status_code, headers = api_instance.employments_create_with_http_info(x_account_token, opts)
|
59
|
-
p status_code # => 2xx
|
60
|
-
p headers # => { ... }
|
61
|
-
p data # => <Employment>
|
62
|
-
rescue MergeHRISClient::ApiError => e
|
63
|
-
puts "Error when calling EmploymentsApi->employments_create_with_http_info: #{e}"
|
64
|
-
end
|
65
|
-
```
|
66
|
-
|
67
|
-
### Parameters
|
68
|
-
|
69
|
-
| Name | Type | Description | Notes |
|
70
|
-
| ---- | ---- | ----------- | ----- |
|
71
|
-
| **x_account_token** | **String** | Token identifying the end user. | |
|
72
|
-
| **run_async** | **Boolean** | Whether or not third-party updates should be run asynchronously. | [optional] |
|
73
|
-
| **employment_request** | [**EmploymentRequest**](EmploymentRequest.md) | | [optional] |
|
74
|
-
|
75
|
-
### Return type
|
76
|
-
|
77
|
-
[**Employment**](Employment.md)
|
78
|
-
|
79
|
-
### Authorization
|
80
|
-
|
81
|
-
[tokenAuth](../README.md#tokenAuth)
|
82
|
-
|
83
|
-
### HTTP request headers
|
84
|
-
|
85
|
-
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
86
|
-
- **Accept**: application/json
|
87
|
-
|
88
|
-
|
89
11
|
## employments_list
|
90
12
|
|
91
13
|
> <PaginatedEmploymentList> employments_list(x_account_token, opts)
|
@@ -102,9 +24,9 @@ require 'merge_hris_client'
|
|
102
24
|
# setup authorization
|
103
25
|
MergeHRISClient.configure do |config|
|
104
26
|
# Configure API key authorization: tokenAuth
|
105
|
-
config.api_key['
|
27
|
+
config.api_key['tokenAuth'] = 'YOUR API KEY'
|
106
28
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
107
|
-
# config.api_key_prefix['
|
29
|
+
# config.api_key_prefix['tokenAuth'] = 'Bearer'
|
108
30
|
end
|
109
31
|
|
110
32
|
api_instance = MergeHRISClient::EmploymentsApi.new
|
@@ -114,9 +36,12 @@ opts = {
|
|
114
36
|
created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
|
115
37
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
116
38
|
employee_id: 'employee_id_example', # String | If provided, will only return employments for this employee.
|
39
|
+
expand: 'employee', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
40
|
+
include_deleted_data: true, # Boolean | Whether to include data that was deleted in the third-party service.
|
117
41
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
118
42
|
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
|
119
43
|
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified before this datetime.
|
44
|
+
order_by: '-effective_date', # String | Overrides the default ordering for this endpoint.
|
120
45
|
page_size: 56, # Integer | Number of results to return per page.
|
121
46
|
remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
|
122
47
|
}
|
@@ -157,9 +82,12 @@ end
|
|
157
82
|
| **created_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
|
158
83
|
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
159
84
|
| **employee_id** | **String** | If provided, will only return employments for this employee. | [optional] |
|
85
|
+
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
86
|
+
| **include_deleted_data** | **Boolean** | Whether to include data that was deleted in the third-party service. | [optional] |
|
160
87
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
161
88
|
| **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
|
162
89
|
| **modified_before** | **Time** | If provided, will only return objects modified before this datetime. | [optional] |
|
90
|
+
| **order_by** | **String** | Overrides the default ordering for this endpoint. | [optional] |
|
163
91
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
164
92
|
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
165
93
|
|
@@ -193,15 +121,16 @@ require 'merge_hris_client'
|
|
193
121
|
# setup authorization
|
194
122
|
MergeHRISClient.configure do |config|
|
195
123
|
# Configure API key authorization: tokenAuth
|
196
|
-
config.api_key['
|
124
|
+
config.api_key['tokenAuth'] = 'YOUR API KEY'
|
197
125
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
198
|
-
# config.api_key_prefix['
|
126
|
+
# config.api_key_prefix['tokenAuth'] = 'Bearer'
|
199
127
|
end
|
200
128
|
|
201
129
|
api_instance = MergeHRISClient::EmploymentsApi.new
|
202
130
|
x_account_token = 'x_account_token_example' # String | Token identifying the end user.
|
203
131
|
id = TODO # String |
|
204
132
|
opts = {
|
133
|
+
expand: 'employee', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
205
134
|
include_remote_data: true # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
206
135
|
}
|
207
136
|
|
@@ -238,6 +167,7 @@ end
|
|
238
167
|
| ---- | ---- | ----------- | ----- |
|
239
168
|
| **x_account_token** | **String** | Token identifying the end user. | |
|
240
169
|
| **id** | [**String**](.md) | | |
|
170
|
+
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
241
171
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
242
172
|
|
243
173
|
### Return type
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# MergeHRISClient::EncodingEnum
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'merge_hris_client'
|
12
|
+
|
13
|
+
instance = MergeHRISClient::EncodingEnum.new()
|
14
|
+
```
|
15
|
+
|
@@ -7,8 +7,9 @@
|
|
7
7
|
| **end_user_email_address** | **String** | | |
|
8
8
|
| **end_user_organization_name** | **String** | | |
|
9
9
|
| **end_user_origin_id** | **String** | | |
|
10
|
-
| **categories** | **Array<
|
10
|
+
| **categories** | [**Array<CategoriesEnum>**](CategoriesEnum.md) | | [optional] |
|
11
11
|
| **integration** | **String** | | [optional] |
|
12
|
+
| **link_expiry_mins** | **Integer** | | [optional][default to 30] |
|
12
13
|
|
13
14
|
## Example
|
14
15
|
|
@@ -20,7 +21,8 @@ instance = MergeHRISClient::EndUserDetailsRequest.new(
|
|
20
21
|
end_user_organization_name: null,
|
21
22
|
end_user_origin_id: null,
|
22
23
|
categories: null,
|
23
|
-
integration: null
|
24
|
+
integration: null,
|
25
|
+
link_expiry_mins: null
|
24
26
|
)
|
25
27
|
```
|
26
28
|
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# MergeHRISClient::ErrorValidationProblem
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **source** | [**ValidationProblemSource**](ValidationProblemSource.md) | | [optional] |
|
8
|
+
| **title** | **String** | | |
|
9
|
+
| **detail** | **String** | | |
|
10
|
+
| **problem_type** | **String** | | |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'merge_hris_client'
|
16
|
+
|
17
|
+
instance = MergeHRISClient::ErrorValidationProblem.new(
|
18
|
+
source: null,
|
19
|
+
title: Missing Required Field,
|
20
|
+
detail: custom_fields is a required field on model.,
|
21
|
+
problem_type: MISSING_REQUIRED_FIELD
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,79 @@
|
|
1
|
+
# MergeHRISClient::ForceResyncApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.merge.dev/api/hris/v1*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**sync_status_resync_create**](ForceResyncApi.md#sync_status_resync_create) | **POST** /sync-status/resync | |
|
8
|
+
|
9
|
+
|
10
|
+
## sync_status_resync_create
|
11
|
+
|
12
|
+
> <SyncStatus> sync_status_resync_create(x_account_token)
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
Force re-sync of all models. This is only available for organizations on Merge's Grow and Expand plans.
|
17
|
+
|
18
|
+
### Examples
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
require 'time'
|
22
|
+
require 'merge_hris_client'
|
23
|
+
# setup authorization
|
24
|
+
MergeHRISClient.configure do |config|
|
25
|
+
# Configure API key authorization: tokenAuth
|
26
|
+
config.api_key['tokenAuth'] = 'YOUR API KEY'
|
27
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
28
|
+
# config.api_key_prefix['tokenAuth'] = 'Bearer'
|
29
|
+
end
|
30
|
+
|
31
|
+
api_instance = MergeHRISClient::ForceResyncApi.new
|
32
|
+
x_account_token = 'x_account_token_example' # String | Token identifying the end user.
|
33
|
+
|
34
|
+
begin
|
35
|
+
|
36
|
+
result = api_instance.sync_status_resync_create(x_account_token)
|
37
|
+
p result
|
38
|
+
rescue MergeHRISClient::ApiError => e
|
39
|
+
puts "Error when calling ForceResyncApi->sync_status_resync_create: #{e}"
|
40
|
+
end
|
41
|
+
```
|
42
|
+
|
43
|
+
#### Using the sync_status_resync_create_with_http_info variant
|
44
|
+
|
45
|
+
This returns an Array which contains the response data, status code and headers.
|
46
|
+
|
47
|
+
> <Array(<SyncStatus>, Integer, Hash)> sync_status_resync_create_with_http_info(x_account_token)
|
48
|
+
|
49
|
+
```ruby
|
50
|
+
begin
|
51
|
+
|
52
|
+
data, status_code, headers = api_instance.sync_status_resync_create_with_http_info(x_account_token)
|
53
|
+
p status_code # => 2xx
|
54
|
+
p headers # => { ... }
|
55
|
+
p data # => <SyncStatus>
|
56
|
+
rescue MergeHRISClient::ApiError => e
|
57
|
+
puts "Error when calling ForceResyncApi->sync_status_resync_create_with_http_info: #{e}"
|
58
|
+
end
|
59
|
+
```
|
60
|
+
|
61
|
+
### Parameters
|
62
|
+
|
63
|
+
| Name | Type | Description | Notes |
|
64
|
+
| ---- | ---- | ----------- | ----- |
|
65
|
+
| **x_account_token** | **String** | Token identifying the end user. | |
|
66
|
+
|
67
|
+
### Return type
|
68
|
+
|
69
|
+
[**SyncStatus**](SyncStatus.md)
|
70
|
+
|
71
|
+
### Authorization
|
72
|
+
|
73
|
+
[tokenAuth](../README.md#tokenAuth)
|
74
|
+
|
75
|
+
### HTTP request headers
|
76
|
+
|
77
|
+
- **Content-Type**: Not defined
|
78
|
+
- **Accept**: application/json
|
79
|
+
|
data/docs/GenerateKeyApi.md
CHANGED
@@ -23,9 +23,9 @@ require 'merge_hris_client'
|
|
23
23
|
# setup authorization
|
24
24
|
MergeHRISClient.configure do |config|
|
25
25
|
# Configure API key authorization: tokenAuth
|
26
|
-
config.api_key['
|
26
|
+
config.api_key['tokenAuth'] = 'YOUR API KEY'
|
27
27
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
28
|
-
# config.api_key_prefix['
|
28
|
+
# config.api_key_prefix['tokenAuth'] = 'Bearer'
|
29
29
|
end
|
30
30
|
|
31
31
|
api_instance = MergeHRISClient::GenerateKeyApi.new
|
data/docs/Group.md
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# MergeHRISClient::Group
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | | [optional][readonly] |
|
8
|
+
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
9
|
+
| **parent_group** | **String** | The parent group for this group. | [optional] |
|
10
|
+
| **name** | **String** | The group name. | [optional] |
|
11
|
+
| **type** | [**GroupTypeEnum**](GroupTypeEnum.md) | The group type | [optional] |
|
12
|
+
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
13
|
+
|
14
|
+
## Example
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'merge_hris_client'
|
18
|
+
|
19
|
+
instance = MergeHRISClient::Group.new(
|
20
|
+
id: 134e0111-0f67-44f6-98f0-597000290bb3,
|
21
|
+
remote_id: 800293,
|
22
|
+
parent_group: 2ef51b11-2c4e-4b02-8d1d-50592d9e96ef,
|
23
|
+
name: COST_CENTER_US,
|
24
|
+
type: COST_CENTER,
|
25
|
+
remote_data: [{"path":"/group","data":["Varies by platform"]}]
|
26
|
+
)
|
27
|
+
```
|
28
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# MergeHRISClient::GroupTypeEnum
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'merge_hris_client'
|
12
|
+
|
13
|
+
instance = MergeHRISClient::GroupTypeEnum.new()
|
14
|
+
```
|
15
|
+
|
data/docs/GroupsApi.md
ADDED
@@ -0,0 +1,177 @@
|
|
1
|
+
# MergeHRISClient::GroupsApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.merge.dev/api/hris/v1*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**groups_list**](GroupsApi.md#groups_list) | **GET** /groups | |
|
8
|
+
| [**groups_retrieve**](GroupsApi.md#groups_retrieve) | **GET** /groups/{id} | |
|
9
|
+
|
10
|
+
|
11
|
+
## groups_list
|
12
|
+
|
13
|
+
> <PaginatedGroupList> groups_list(x_account_token, opts)
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
Returns a list of `Group` objects.
|
18
|
+
|
19
|
+
### Examples
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'time'
|
23
|
+
require 'merge_hris_client'
|
24
|
+
# setup authorization
|
25
|
+
MergeHRISClient.configure do |config|
|
26
|
+
# Configure API key authorization: tokenAuth
|
27
|
+
config.api_key['tokenAuth'] = 'YOUR API KEY'
|
28
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
29
|
+
# config.api_key_prefix['tokenAuth'] = 'Bearer'
|
30
|
+
end
|
31
|
+
|
32
|
+
api_instance = MergeHRISClient::GroupsApi.new
|
33
|
+
x_account_token = 'x_account_token_example' # String | Token identifying the end user.
|
34
|
+
opts = {
|
35
|
+
created_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created after this datetime.
|
36
|
+
created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
|
37
|
+
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
38
|
+
include_deleted_data: true, # Boolean | Whether to include data that was deleted in the third-party service.
|
39
|
+
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
40
|
+
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
|
41
|
+
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified before this datetime.
|
42
|
+
page_size: 56, # Integer | Number of results to return per page.
|
43
|
+
remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
|
44
|
+
}
|
45
|
+
|
46
|
+
begin
|
47
|
+
|
48
|
+
result = api_instance.groups_list(x_account_token, opts)
|
49
|
+
p result
|
50
|
+
rescue MergeHRISClient::ApiError => e
|
51
|
+
puts "Error when calling GroupsApi->groups_list: #{e}"
|
52
|
+
end
|
53
|
+
```
|
54
|
+
|
55
|
+
#### Using the groups_list_with_http_info variant
|
56
|
+
|
57
|
+
This returns an Array which contains the response data, status code and headers.
|
58
|
+
|
59
|
+
> <Array(<PaginatedGroupList>, Integer, Hash)> groups_list_with_http_info(x_account_token, opts)
|
60
|
+
|
61
|
+
```ruby
|
62
|
+
begin
|
63
|
+
|
64
|
+
data, status_code, headers = api_instance.groups_list_with_http_info(x_account_token, opts)
|
65
|
+
p status_code # => 2xx
|
66
|
+
p headers # => { ... }
|
67
|
+
p data # => <PaginatedGroupList>
|
68
|
+
rescue MergeHRISClient::ApiError => e
|
69
|
+
puts "Error when calling GroupsApi->groups_list_with_http_info: #{e}"
|
70
|
+
end
|
71
|
+
```
|
72
|
+
|
73
|
+
### Parameters
|
74
|
+
|
75
|
+
| Name | Type | Description | Notes |
|
76
|
+
| ---- | ---- | ----------- | ----- |
|
77
|
+
| **x_account_token** | **String** | Token identifying the end user. | |
|
78
|
+
| **created_after** | **Time** | If provided, will only return objects created after this datetime. | [optional] |
|
79
|
+
| **created_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
|
80
|
+
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
81
|
+
| **include_deleted_data** | **Boolean** | Whether to include data that was deleted in the third-party service. | [optional] |
|
82
|
+
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
83
|
+
| **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
|
84
|
+
| **modified_before** | **Time** | If provided, will only return objects modified before this datetime. | [optional] |
|
85
|
+
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
86
|
+
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
87
|
+
|
88
|
+
### Return type
|
89
|
+
|
90
|
+
[**PaginatedGroupList**](PaginatedGroupList.md)
|
91
|
+
|
92
|
+
### Authorization
|
93
|
+
|
94
|
+
[tokenAuth](../README.md#tokenAuth)
|
95
|
+
|
96
|
+
### HTTP request headers
|
97
|
+
|
98
|
+
- **Content-Type**: Not defined
|
99
|
+
- **Accept**: application/json
|
100
|
+
|
101
|
+
|
102
|
+
## groups_retrieve
|
103
|
+
|
104
|
+
> <Group> groups_retrieve(x_account_token, id, opts)
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
Returns a `Group` object with the given `id`.
|
109
|
+
|
110
|
+
### Examples
|
111
|
+
|
112
|
+
```ruby
|
113
|
+
require 'time'
|
114
|
+
require 'merge_hris_client'
|
115
|
+
# setup authorization
|
116
|
+
MergeHRISClient.configure do |config|
|
117
|
+
# Configure API key authorization: tokenAuth
|
118
|
+
config.api_key['tokenAuth'] = 'YOUR API KEY'
|
119
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
120
|
+
# config.api_key_prefix['tokenAuth'] = 'Bearer'
|
121
|
+
end
|
122
|
+
|
123
|
+
api_instance = MergeHRISClient::GroupsApi.new
|
124
|
+
x_account_token = 'x_account_token_example' # String | Token identifying the end user.
|
125
|
+
id = TODO # String |
|
126
|
+
opts = {
|
127
|
+
include_remote_data: true # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
128
|
+
}
|
129
|
+
|
130
|
+
begin
|
131
|
+
|
132
|
+
result = api_instance.groups_retrieve(x_account_token, id, opts)
|
133
|
+
p result
|
134
|
+
rescue MergeHRISClient::ApiError => e
|
135
|
+
puts "Error when calling GroupsApi->groups_retrieve: #{e}"
|
136
|
+
end
|
137
|
+
```
|
138
|
+
|
139
|
+
#### Using the groups_retrieve_with_http_info variant
|
140
|
+
|
141
|
+
This returns an Array which contains the response data, status code and headers.
|
142
|
+
|
143
|
+
> <Array(<Group>, Integer, Hash)> groups_retrieve_with_http_info(x_account_token, id, opts)
|
144
|
+
|
145
|
+
```ruby
|
146
|
+
begin
|
147
|
+
|
148
|
+
data, status_code, headers = api_instance.groups_retrieve_with_http_info(x_account_token, id, opts)
|
149
|
+
p status_code # => 2xx
|
150
|
+
p headers # => { ... }
|
151
|
+
p data # => <Group>
|
152
|
+
rescue MergeHRISClient::ApiError => e
|
153
|
+
puts "Error when calling GroupsApi->groups_retrieve_with_http_info: #{e}"
|
154
|
+
end
|
155
|
+
```
|
156
|
+
|
157
|
+
### Parameters
|
158
|
+
|
159
|
+
| Name | Type | Description | Notes |
|
160
|
+
| ---- | ---- | ----------- | ----- |
|
161
|
+
| **x_account_token** | **String** | Token identifying the end user. | |
|
162
|
+
| **id** | [**String**](.md) | | |
|
163
|
+
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
164
|
+
|
165
|
+
### Return type
|
166
|
+
|
167
|
+
[**Group**](Group.md)
|
168
|
+
|
169
|
+
### Authorization
|
170
|
+
|
171
|
+
[tokenAuth](../README.md#tokenAuth)
|
172
|
+
|
173
|
+
### HTTP request headers
|
174
|
+
|
175
|
+
- **Content-Type**: Not defined
|
176
|
+
- **Accept**: application/json
|
177
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# MergeHRISClient::IgnoreCommonModel
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **reason** | [**ReasonEnum**](ReasonEnum.md) | | |
|
8
|
+
| **message** | **String** | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'merge_hris_client'
|
14
|
+
|
15
|
+
instance = MergeHRISClient::IgnoreCommonModel.new(
|
16
|
+
reason: GENERAL_CUSTOMER_REQUEST,
|
17
|
+
message: deletion request by user id 51903790-7dfe-4053-8d63-5a10cc4ffd39
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# MergeHRISClient::IgnoreCommonModelRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **reason** | [**ReasonEnum**](ReasonEnum.md) | | |
|
8
|
+
| **message** | **String** | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'merge_hris_client'
|
14
|
+
|
15
|
+
instance = MergeHRISClient::IgnoreCommonModelRequest.new(
|
16
|
+
reason: GENERAL_CUSTOMER_REQUEST,
|
17
|
+
message: deletion request by user id 51903790-7dfe-4053-8d63-5a10cc4ffd39
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
data/docs/IssuesApi.md
CHANGED
@@ -24,21 +24,22 @@ require 'merge_hris_client'
|
|
24
24
|
# setup authorization
|
25
25
|
MergeHRISClient.configure do |config|
|
26
26
|
# Configure API key authorization: tokenAuth
|
27
|
-
config.api_key['
|
28
|
-
|
27
|
+
config.api_key['tokenAuth'] = 'YOUR API KEY'
|
28
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
29
|
+
# config.api_key_prefix['tokenAuth'] = 'Bearer'
|
29
30
|
end
|
30
31
|
|
31
32
|
api_instance = MergeHRISClient::IssuesApi.new
|
32
33
|
opts = {
|
33
|
-
account_token: 'account_token_example', # String |
|
34
|
-
cursor:
|
34
|
+
account_token: 'account_token_example', # String |
|
35
|
+
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
35
36
|
end_date: 'end_date_example', # String | If included, will only include issues whose most recent action occurred before this time
|
36
|
-
end_user_organization_name: 'end_user_organization_name_example', # String |
|
37
|
+
end_user_organization_name: 'end_user_organization_name_example', # String |
|
37
38
|
include_muted: 'include_muted_example', # String | If True, will include muted issues
|
38
|
-
integration_name: 'integration_name_example', # String |
|
39
|
+
integration_name: 'integration_name_example', # String |
|
39
40
|
page_size: 56, # Integer | Number of results to return per page.
|
40
41
|
start_date: 'start_date_example', # String | If included, will only include issues whose most recent action occurred after this time
|
41
|
-
status: 'ONGOING' # String |
|
42
|
+
status: 'ONGOING' # String |
|
42
43
|
}
|
43
44
|
|
44
45
|
begin
|
@@ -72,15 +73,15 @@ end
|
|
72
73
|
|
73
74
|
| Name | Type | Description | Notes |
|
74
75
|
| ---- | ---- | ----------- | ----- |
|
75
|
-
| **account_token** | **String** |
|
76
|
-
| **cursor** | **
|
76
|
+
| **account_token** | **String** | | [optional] |
|
77
|
+
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
77
78
|
| **end_date** | **String** | If included, will only include issues whose most recent action occurred before this time | [optional] |
|
78
|
-
| **end_user_organization_name** | **String** |
|
79
|
+
| **end_user_organization_name** | **String** | | [optional] |
|
79
80
|
| **include_muted** | **String** | If True, will include muted issues | [optional] |
|
80
|
-
| **integration_name** | **String** |
|
81
|
+
| **integration_name** | **String** | | [optional] |
|
81
82
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
82
83
|
| **start_date** | **String** | If included, will only include issues whose most recent action occurred after this time | [optional] |
|
83
|
-
| **status** | **String** |
|
84
|
+
| **status** | **String** | | [optional] |
|
84
85
|
|
85
86
|
### Return type
|
86
87
|
|
@@ -112,8 +113,9 @@ require 'merge_hris_client'
|
|
112
113
|
# setup authorization
|
113
114
|
MergeHRISClient.configure do |config|
|
114
115
|
# Configure API key authorization: tokenAuth
|
115
|
-
config.api_key['
|
116
|
-
|
116
|
+
config.api_key['tokenAuth'] = 'YOUR API KEY'
|
117
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
118
|
+
# config.api_key_prefix['tokenAuth'] = 'Bearer'
|
117
119
|
end
|
118
120
|
|
119
121
|
api_instance = MergeHRISClient::IssuesApi.new
|
data/docs/LinkTokenApi.md
CHANGED
@@ -23,13 +23,13 @@ require 'merge_hris_client'
|
|
23
23
|
# setup authorization
|
24
24
|
MergeHRISClient.configure do |config|
|
25
25
|
# Configure API key authorization: tokenAuth
|
26
|
-
config.api_key['
|
26
|
+
config.api_key['tokenAuth'] = 'YOUR API KEY'
|
27
27
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
28
|
-
# config.api_key_prefix['
|
28
|
+
# config.api_key_prefix['tokenAuth'] = 'Bearer'
|
29
29
|
end
|
30
30
|
|
31
31
|
api_instance = MergeHRISClient::LinkTokenApi.new
|
32
|
-
end_user_details_request = MergeHRISClient::EndUserDetailsRequest.new({end_user_email_address: 'end_user_email_address_example', end_user_organization_name: 'end_user_organization_name_example', end_user_origin_id: 'end_user_origin_id_example'
|
32
|
+
end_user_details_request = MergeHRISClient::EndUserDetailsRequest.new({end_user_email_address: 'end_user_email_address_example', end_user_organization_name: 'end_user_organization_name_example', end_user_origin_id: 'end_user_origin_id_example'}) # EndUserDetailsRequest |
|
33
33
|
|
34
34
|
begin
|
35
35
|
|