merge_hris_client 3.2.1 → 3.2.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 +49 -16
- data/docs/AccountDetails.md +3 -1
- data/docs/AccountDetailsAndActions.md +7 -3
- data/docs/AccountIntegration.md +8 -4
- data/docs/AdvancedMetadata.md +28 -0
- data/docs/AuditLogEvent.md +32 -0
- data/docs/AuditTrailApi.md +91 -0
- data/docs/BankInfo.md +6 -4
- data/docs/BankInfoApi.md +4 -4
- data/docs/Benefit.md +6 -4
- data/docs/CommonModelScopeAPI.md +18 -0
- data/docs/Company.md +6 -4
- data/docs/CreateFieldMappingRequest.md +28 -0
- data/docs/DataPassthroughRequest.md +4 -4
- data/docs/DebugModelLogSummary.md +1 -1
- data/docs/Deduction.md +6 -4
- data/docs/Dependent.md +6 -4
- data/docs/Earning.md +6 -4
- data/docs/Employee.md +7 -3
- data/docs/EmployeePayrollRun.md +6 -4
- data/docs/EmployeeRequest.md +2 -0
- data/docs/EmployeesApi.md +10 -4
- data/docs/EmployerBenefit.md +6 -4
- data/docs/Employment.md +6 -4
- data/docs/EmploymentsApi.md +4 -4
- data/docs/EndUserDetailsRequest.md +13 -7
- data/docs/EventTypeEnum.md +15 -0
- data/docs/ExternalTargetFieldAPI.md +22 -0
- data/docs/ExternalTargetFieldAPIResponse.md +48 -0
- data/docs/FieldMappingApi.md +455 -0
- data/docs/FieldMappingApiInstance.md +24 -0
- data/docs/FieldMappingApiInstanceRemoteField.md +22 -0
- data/docs/FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo.md +22 -0
- data/docs/FieldMappingApiInstanceResponse.md +48 -0
- data/docs/FieldMappingApiInstanceTargetField.md +22 -0
- data/docs/FieldMappingInstanceResponse.md +24 -0
- data/docs/FieldPermissionDeserializer.md +20 -0
- data/docs/FieldPermissionDeserializerRequest.md +20 -0
- data/docs/ForceResyncApi.md +1 -1
- data/docs/GenerateRemoteKeyRequest.md +1 -1
- data/docs/Group.md +9 -5
- data/docs/GroupsApi.md +8 -4
- data/docs/IndividualCommonModelScopeDeserializer.md +22 -0
- data/docs/IndividualCommonModelScopeDeserializerRequest.md +22 -0
- data/docs/Issue.md +1 -1
- data/docs/IssuesApi.md +5 -3
- data/docs/LinkTokenApi.md +1 -1
- data/docs/LinkedAccountCommonModelScopeDeserializerRequest.md +18 -0
- data/docs/LinkedAccountsApi.md +2 -2
- data/docs/Location.md +6 -4
- data/docs/LocationsApi.md +6 -4
- data/docs/MetaResponse.md +1 -1
- data/docs/ModelPermissionDeserializer.md +18 -0
- data/docs/ModelPermissionDeserializerRequest.md +18 -0
- data/docs/PaginatedAuditLogEventList.md +22 -0
- data/docs/PaginatedTimesheetEntryList.md +22 -0
- data/docs/PatchedEditFieldMappingRequest.md +22 -0
- data/docs/PayGroup.md +6 -4
- data/docs/PayrollRun.md +6 -4
- data/docs/PayrollRunsApi.md +4 -4
- data/docs/RemoteEndpointInfo.md +22 -0
- data/docs/RemoteFieldAPI.md +28 -0
- data/docs/RemoteFieldAPIResponse.md +48 -0
- data/docs/RemoteKeyForRegenerationRequest.md +1 -1
- data/docs/RoleEnum.md +15 -0
- data/docs/ScopesApi.md +222 -0
- data/docs/SyncStatusApi.md +1 -1
- data/docs/Tax.md +6 -4
- data/docs/Team.md +6 -4
- data/docs/TimeOff.md +5 -3
- data/docs/TimeOffApi.md +12 -4
- data/docs/TimeOffBalance.md +6 -4
- data/docs/TimeOffBalancesApi.md +4 -4
- data/docs/TimesheetEntriesApi.md +341 -0
- data/docs/TimesheetEntry.md +38 -0
- data/docs/TimesheetEntryEndpointRequest.md +18 -0
- data/docs/TimesheetEntryRequest.md +28 -0
- data/docs/TimesheetEntryResponse.md +24 -0
- data/lib/merge_hris_client/api/audit_trail_api.rb +95 -0
- data/lib/merge_hris_client/api/bank_info_api.rb +4 -4
- data/lib/merge_hris_client/api/employees_api.rb +13 -4
- data/lib/merge_hris_client/api/employments_api.rb +4 -4
- data/lib/merge_hris_client/api/field_mapping_api.rb +424 -0
- data/lib/merge_hris_client/api/force_resync_api.rb +2 -2
- data/lib/merge_hris_client/api/groups_api.rb +10 -4
- data/lib/merge_hris_client/api/issues_api.rb +7 -4
- data/lib/merge_hris_client/api/linked_accounts_api.rb +3 -3
- data/lib/merge_hris_client/api/locations_api.rb +11 -4
- data/lib/merge_hris_client/api/payroll_runs_api.rb +4 -4
- data/lib/merge_hris_client/api/scopes_api.rb +209 -0
- data/lib/merge_hris_client/api/sync_status_api.rb +2 -2
- data/lib/merge_hris_client/api/time_off_api.rb +16 -4
- data/lib/merge_hris_client/api/time_off_balances_api.rb +4 -4
- data/lib/merge_hris_client/api/timesheet_entries_api.rb +342 -0
- data/lib/merge_hris_client/configuration.rb +4 -0
- data/lib/merge_hris_client/models/account_details.rb +14 -5
- data/lib/merge_hris_client/models/account_details_and_actions.rb +28 -4
- data/lib/merge_hris_client/models/account_integration.rb +36 -14
- data/lib/merge_hris_client/models/advanced_metadata.rb +270 -0
- data/lib/merge_hris_client/models/audit_log_event.rb +356 -0
- data/lib/merge_hris_client/models/bank_info.rb +24 -16
- data/lib/merge_hris_client/models/benefit.rb +24 -16
- data/lib/merge_hris_client/models/common_model_scope_api.rb +226 -0
- data/lib/merge_hris_client/models/company.rb +24 -16
- data/lib/merge_hris_client/models/create_field_mapping_request.rb +396 -0
- data/lib/merge_hris_client/models/data_passthrough_request.rb +3 -0
- data/lib/merge_hris_client/models/deduction.rb +24 -16
- data/lib/merge_hris_client/models/dependent.rb +24 -16
- data/lib/merge_hris_client/models/earning.rb +24 -16
- data/lib/merge_hris_client/models/employee.rb +34 -15
- data/lib/merge_hris_client/models/employee_payroll_run.rb +24 -16
- data/lib/merge_hris_client/models/employee_request.rb +12 -1
- data/lib/merge_hris_client/models/employer_benefit.rb +24 -16
- data/lib/merge_hris_client/models/employment.rb +24 -16
- data/lib/merge_hris_client/models/end_user_details_request.rb +67 -6
- data/lib/merge_hris_client/models/event_type_enum.rb +81 -0
- data/lib/merge_hris_client/models/external_target_field_api.rb +239 -0
- data/lib/merge_hris_client/models/external_target_field_api_response.rb +385 -0
- data/lib/merge_hris_client/models/field_mapping_api_instance.rb +247 -0
- data/lib/merge_hris_client/models/field_mapping_api_instance_remote_field.rb +253 -0
- data/lib/merge_hris_client/models/field_mapping_api_instance_remote_field_remote_endpoint_info.rb +241 -0
- data/lib/merge_hris_client/models/field_mapping_api_instance_response.rb +385 -0
- data/lib/merge_hris_client/models/field_mapping_api_instance_target_field.rb +251 -0
- data/lib/merge_hris_client/models/field_mapping_instance_response.rb +266 -0
- data/lib/merge_hris_client/models/field_permission_deserializer.rb +231 -0
- data/lib/merge_hris_client/models/field_permission_deserializer_request.rb +231 -0
- data/lib/merge_hris_client/models/generate_remote_key_request.rb +1 -0
- data/lib/merge_hris_client/models/group.rb +34 -15
- data/lib/merge_hris_client/models/individual_common_model_scope_deserializer.rb +243 -0
- data/lib/merge_hris_client/models/individual_common_model_scope_deserializer_request.rb +262 -0
- data/lib/merge_hris_client/models/linked_account_common_model_scope_deserializer_request.rb +226 -0
- data/lib/merge_hris_client/models/location.rb +24 -16
- data/lib/merge_hris_client/models/model_permission_deserializer.rb +218 -0
- data/lib/merge_hris_client/models/model_permission_deserializer_request.rb +218 -0
- data/lib/merge_hris_client/models/paginated_audit_log_event_list.rb +240 -0
- data/lib/merge_hris_client/models/paginated_timesheet_entry_list.rb +240 -0
- data/lib/merge_hris_client/models/patched_edit_field_mapping_request.rb +271 -0
- data/lib/merge_hris_client/models/pay_group.rb +24 -16
- data/lib/merge_hris_client/models/payroll_run.rb +24 -16
- data/lib/merge_hris_client/models/remote_endpoint_info.rb +253 -0
- data/lib/merge_hris_client/models/remote_field_api.rb +285 -0
- data/lib/merge_hris_client/models/remote_field_api_response.rb +385 -0
- data/lib/merge_hris_client/models/remote_key_for_regeneration_request.rb +1 -0
- data/lib/merge_hris_client/models/role_enum.rb +49 -0
- data/lib/merge_hris_client/models/tax.rb +24 -16
- data/lib/merge_hris_client/models/team.rb +24 -16
- data/lib/merge_hris_client/models/time_off.rb +23 -15
- data/lib/merge_hris_client/models/time_off_balance.rb +24 -16
- data/lib/merge_hris_client/models/timesheet_entry.rb +326 -0
- data/lib/merge_hris_client/models/timesheet_entry_endpoint_request.rb +223 -0
- data/lib/merge_hris_client/models/timesheet_entry_request.rb +278 -0
- data/lib/merge_hris_client/models/timesheet_entry_response.rb +266 -0
- data/lib/merge_hris_client/version.rb +1 -1
- data/lib/merge_hris_client.rb +35 -21
- data/spec/api/audit_trail_api_spec.rb +51 -0
- data/spec/api/bank_info_api_spec.rb +2 -2
- data/spec/api/employees_api_spec.rb +5 -2
- data/spec/api/employments_api_spec.rb +2 -2
- data/spec/api/field_mapping_api_spec.rb +107 -0
- data/spec/api/force_resync_api_spec.rb +1 -1
- data/spec/api/groups_api_spec.rb +4 -2
- data/spec/api/issues_api_spec.rb +3 -2
- data/spec/api/linked_accounts_api_spec.rb +1 -1
- data/spec/api/locations_api_spec.rb +3 -2
- data/spec/api/payroll_runs_api_spec.rb +2 -2
- data/spec/api/scopes_api_spec.rb +68 -0
- data/spec/api/sync_status_api_spec.rb +1 -1
- data/spec/api/time_off_api_spec.rb +6 -2
- data/spec/api/time_off_balances_api_spec.rb +2 -2
- data/spec/api/timesheet_entries_api_spec.rb +99 -0
- data/spec/models/account_details_and_actions_spec.rb +12 -0
- data/spec/models/account_details_spec.rb +6 -0
- data/spec/models/account_integration_spec.rb +14 -2
- data/spec/models/advanced_metadata_spec.rb +64 -0
- data/spec/models/audit_log_event_spec.rb +76 -0
- data/spec/models/bank_info_spec.rb +12 -6
- data/spec/models/benefit_spec.rb +12 -6
- data/spec/models/common_model_scope_api_spec.rb +34 -0
- data/spec/models/company_spec.rb +11 -5
- data/spec/models/create_field_mapping_request_spec.rb +64 -0
- data/spec/models/deduction_spec.rb +12 -6
- data/spec/models/dependent_spec.rb +12 -6
- data/spec/models/earning_spec.rb +11 -5
- data/spec/models/employee_payroll_run_spec.rb +12 -6
- data/spec/models/employee_request_spec.rb +6 -0
- data/spec/models/employee_spec.rb +18 -6
- data/spec/models/employer_benefit_spec.rb +12 -6
- data/spec/models/employment_spec.rb +12 -6
- data/spec/models/end_user_details_request_spec.rb +18 -0
- data/spec/models/event_type_enum_spec.rb +28 -0
- data/spec/models/external_target_field_api_response_spec.rb +124 -0
- data/spec/models/external_target_field_api_spec.rb +46 -0
- data/spec/models/field_mapping_api_instance_remote_field_remote_endpoint_info_spec.rb +46 -0
- data/spec/models/field_mapping_api_instance_remote_field_spec.rb +46 -0
- data/spec/models/field_mapping_api_instance_response_spec.rb +124 -0
- data/spec/models/field_mapping_api_instance_spec.rb +52 -0
- data/spec/models/field_mapping_api_instance_target_field_spec.rb +46 -0
- data/spec/models/field_mapping_instance_response_spec.rb +52 -0
- data/spec/models/field_permission_deserializer_request_spec.rb +40 -0
- data/spec/models/field_permission_deserializer_spec.rb +40 -0
- data/spec/models/group_spec.rb +13 -1
- data/spec/models/individual_common_model_scope_deserializer_request_spec.rb +46 -0
- data/spec/models/individual_common_model_scope_deserializer_spec.rb +46 -0
- data/spec/models/linked_account_common_model_scope_deserializer_request_spec.rb +34 -0
- data/spec/models/location_spec.rb +12 -6
- data/spec/models/model_permission_deserializer_request_spec.rb +34 -0
- data/spec/models/model_permission_deserializer_spec.rb +34 -0
- data/spec/models/paginated_audit_log_event_list_spec.rb +46 -0
- data/spec/models/paginated_timesheet_entry_list_spec.rb +46 -0
- data/spec/models/patched_edit_field_mapping_request_spec.rb +46 -0
- data/spec/models/pay_group_spec.rb +9 -3
- data/spec/models/payroll_run_spec.rb +12 -6
- data/spec/models/remote_endpoint_info_spec.rb +46 -0
- data/spec/models/remote_field_api_response_spec.rb +124 -0
- data/spec/models/remote_field_api_spec.rb +64 -0
- data/spec/models/role_enum_spec.rb +28 -0
- data/spec/models/tax_spec.rb +12 -6
- data/spec/models/team_spec.rb +10 -4
- data/spec/models/time_off_balance_spec.rb +12 -6
- data/spec/models/time_off_spec.rb +12 -6
- data/spec/models/timesheet_entry_endpoint_request_spec.rb +34 -0
- data/spec/models/timesheet_entry_request_spec.rb +64 -0
- data/spec/models/timesheet_entry_response_spec.rb +52 -0
- data/spec/models/timesheet_entry_spec.rb +94 -0
- metadata +266 -126
@@ -0,0 +1,28 @@
|
|
1
|
+
# MergeHRISClient::CreateFieldMappingRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **target_field_name** | **String** | The name of the target field you want this remote field to map to. | |
|
8
|
+
| **target_field_description** | **String** | The description of the target field you want this remote field to map to. | |
|
9
|
+
| **remote_field_traversal_path** | [**Array<AnyType>**](AnyType.md) | The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. | |
|
10
|
+
| **remote_method** | **String** | The method of the remote endpoint where the remote field is coming from. | |
|
11
|
+
| **remote_url_path** | **String** | The path of the remote endpoint where the remote field is coming from. | |
|
12
|
+
| **common_model_name** | **String** | The name of the Common Model that the remote field corresponds to in a given category. | |
|
13
|
+
|
14
|
+
## Example
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'merge_hris_client'
|
18
|
+
|
19
|
+
instance = MergeHRISClient::CreateFieldMappingRequest.new(
|
20
|
+
target_field_name: example_target_field_name,
|
21
|
+
target_field_description: this is a example description of the target field,
|
22
|
+
remote_field_traversal_path: ["example_remote_field"],
|
23
|
+
remote_method: GET,
|
24
|
+
remote_url_path: /example-url-path,
|
25
|
+
common_model_name: ExampleCommonModel
|
26
|
+
)
|
27
|
+
```
|
28
|
+
|
@@ -5,9 +5,9 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **method** | [**MethodEnum**](MethodEnum.md) | | |
|
8
|
-
| **path** | **String** |
|
9
|
-
| **base_url_override** | **String** |
|
10
|
-
| **data** | **String** |
|
8
|
+
| **path** | **String** | The path of the request in the third party's platform. | |
|
9
|
+
| **base_url_override** | **String** | An optional override of the third party's base url for the request. | [optional] |
|
10
|
+
| **data** | **String** | The data with the request. You must include a `request_format` parameter matching the data's format | [optional] |
|
11
11
|
| **multipart_form_data** | [**Array<MultipartFormFieldRequest>**](MultipartFormFieldRequest.md) | Pass an array of `MultipartFormField` objects in here instead of using the `data` param if `request_format` is set to `MULTIPART`. | [optional] |
|
12
12
|
| **headers** | [**Hash<String, AnyType>**](AnyType.md) | The headers to use for the request (Merge will handle the account's authorization headers). `Content-Type` header is required for passthrough. Choose content type corresponding to expected format of receiving server. | [optional] |
|
13
13
|
| **request_format** | [**RequestFormatEnum**](RequestFormatEnum.md) | | [optional] |
|
@@ -21,7 +21,7 @@ require 'merge_hris_client'
|
|
21
21
|
instance = MergeHRISClient::DataPassthroughRequest.new(
|
22
22
|
method: POST,
|
23
23
|
path: /scooters,
|
24
|
-
base_url_override:
|
24
|
+
base_url_override: https://api.example.com,
|
25
25
|
data: {"company": "Lime", "model": "Gen 2.5"},
|
26
26
|
multipart_form_data: null,
|
27
27
|
headers: {"EXTRA-HEADER":"value"},
|
data/docs/Deduction.md
CHANGED
@@ -6,13 +6,14 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **id** | **String** | | [optional][readonly] |
|
8
8
|
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
9
|
+
| **created_at** | **Time** | The datetime that this object was created by Merge. | [optional][readonly] |
|
10
|
+
| **modified_at** | **Time** | The datetime that this object was modified by Merge. | [optional][readonly] |
|
9
11
|
| **employee_payroll_run** | **String** | | [optional] |
|
10
12
|
| **name** | **String** | The deduction's name. | [optional] |
|
11
13
|
| **employee_deduction** | **Float** | The amount of money that is withheld from an employee's gross pay by the employee. | [optional] |
|
12
14
|
| **company_deduction** | **Float** | The amount of money that is withheld on behalf of an employee by the company. | [optional] |
|
13
|
-
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted
|
14
|
-
| **
|
15
|
-
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
15
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted in the third party platform. | [optional] |
|
16
|
+
| **field_mappings** | **Object** | | [optional][readonly] |
|
16
17
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
17
18
|
|
18
19
|
## Example
|
@@ -23,12 +24,13 @@ require 'merge_hris_client'
|
|
23
24
|
instance = MergeHRISClient::Deduction.new(
|
24
25
|
id: 5fd439fc-1b64-4755-b275-64918936c365,
|
25
26
|
remote_id: 93478612,
|
27
|
+
created_at: 2021-09-15T00:00Z,
|
28
|
+
modified_at: 2021-10-16T00:00Z,
|
26
29
|
employee_payroll_run: 35347df1-95e7-46e2-93cc-66f1191edca5,
|
27
30
|
name: Social Security,
|
28
31
|
employee_deduction: 34.54,
|
29
32
|
company_deduction: 78.78,
|
30
33
|
remote_was_deleted: null,
|
31
|
-
modified_at: 2021-10-16T00:00Z,
|
32
34
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
|
33
35
|
remote_data: [{"path":"/payroll-deduction","data":["Varies by platform"]}]
|
34
36
|
)
|
data/docs/Dependent.md
CHANGED
@@ -6,6 +6,8 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **id** | **String** | | [optional][readonly] |
|
8
8
|
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
9
|
+
| **created_at** | **Time** | The datetime that this object was created by Merge. | [optional][readonly] |
|
10
|
+
| **modified_at** | **Time** | The datetime that this object was modified by Merge. | [optional][readonly] |
|
9
11
|
| **first_name** | **String** | The dependents's first name. | [optional] |
|
10
12
|
| **middle_name** | **String** | The dependents's middle name. | [optional] |
|
11
13
|
| **last_name** | **String** | The dependents's last name. | [optional] |
|
@@ -17,9 +19,8 @@
|
|
17
19
|
| **home_location** | **String** | The dependents's home address. | [optional] |
|
18
20
|
| **is_student** | **Boolean** | Whether or not the dependent is a student | [optional] |
|
19
21
|
| **ssn** | **String** | The dependents's social security number. | [optional] |
|
20
|
-
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted
|
21
|
-
| **
|
22
|
-
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
22
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted in the third party platform. | [optional][readonly] |
|
23
|
+
| **field_mappings** | **Object** | | [optional][readonly] |
|
23
24
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
24
25
|
|
25
26
|
## Example
|
@@ -30,6 +31,8 @@ require 'merge_hris_client'
|
|
30
31
|
instance = MergeHRISClient::Dependent.new(
|
31
32
|
id: null,
|
32
33
|
remote_id: 19202940,
|
34
|
+
created_at: 2021-09-15T00:00Z,
|
35
|
+
modified_at: 2021-10-16T00:00Z,
|
33
36
|
first_name: Greg,
|
34
37
|
middle_name: A,
|
35
38
|
last_name: Hirsch,
|
@@ -42,7 +45,6 @@ instance = MergeHRISClient::Dependent.new(
|
|
42
45
|
is_student: null,
|
43
46
|
ssn: 1234567890,
|
44
47
|
remote_was_deleted: null,
|
45
|
-
modified_at: 2021-10-16T00:00Z,
|
46
48
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
|
47
49
|
remote_data: [{"path":"/dependent","data":["Varies by platform"]}]
|
48
50
|
)
|
data/docs/Earning.md
CHANGED
@@ -6,12 +6,13 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **id** | **String** | | [optional][readonly] |
|
8
8
|
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
9
|
+
| **created_at** | **Time** | The datetime that this object was created by Merge. | [optional][readonly] |
|
10
|
+
| **modified_at** | **Time** | The datetime that this object was modified by Merge. | [optional][readonly] |
|
9
11
|
| **employee_payroll_run** | **String** | | [optional] |
|
10
12
|
| **amount** | **Float** | The amount earned. | [optional] |
|
11
13
|
| **type** | [**EarningTypeEnum**](EarningTypeEnum.md) | The type of earning. * `SALARY` - SALARY * `REIMBURSEMENT` - REIMBURSEMENT * `OVERTIME` - OVERTIME * `BONUS` - BONUS | [optional] |
|
12
|
-
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted
|
13
|
-
| **
|
14
|
-
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
14
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted in the third party platform. | [optional] |
|
15
|
+
| **field_mappings** | **Object** | | [optional][readonly] |
|
15
16
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
16
17
|
|
17
18
|
## Example
|
@@ -22,11 +23,12 @@ require 'merge_hris_client'
|
|
22
23
|
instance = MergeHRISClient::Earning.new(
|
23
24
|
id: babbced6-3a81-4775-8da2-490dc6385259,
|
24
25
|
remote_id: 52802,
|
26
|
+
created_at: 2021-09-15T00:00Z,
|
27
|
+
modified_at: 2021-10-16T00:00Z,
|
25
28
|
employee_payroll_run: 35347df1-95e7-46e2-93cc-66f1191edca5,
|
26
29
|
amount: 1002.34,
|
27
30
|
type: SALARY,
|
28
31
|
remote_was_deleted: null,
|
29
|
-
modified_at: 2021-10-16T00:00Z,
|
30
32
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
|
31
33
|
remote_data: null
|
32
34
|
)
|
data/docs/Employee.md
CHANGED
@@ -6,10 +6,13 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **id** | **String** | | [optional][readonly] |
|
8
8
|
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
9
|
+
| **created_at** | **Time** | The datetime that this object was created by Merge. | [optional][readonly] |
|
10
|
+
| **modified_at** | **Time** | The datetime that this object was modified by Merge. | [optional][readonly] |
|
9
11
|
| **employee_number** | **String** | The employee's number that appears in the third-party integration's UI. | [optional] |
|
10
12
|
| **company** | **String** | The ID of the employee's company. | [optional] |
|
11
13
|
| **first_name** | **String** | The employee's first name. | [optional] |
|
12
14
|
| **last_name** | **String** | The employee's last name. | [optional] |
|
15
|
+
| **preferred_name** | **String** | The employee's preferred first name. | [optional] |
|
13
16
|
| **display_full_name** | **String** | The employee's full name, to use for display purposes. If a preferred first name is available, the full name will include the preferred first name. | [optional] |
|
14
17
|
| **username** | **String** | The employee's username that appears in the remote UI. | [optional] |
|
15
18
|
| **groups** | **Array<String>** | | [optional] |
|
@@ -35,8 +38,7 @@
|
|
35
38
|
| **avatar** | **String** | The URL of the employee's avatar image. | [optional] |
|
36
39
|
| **custom_fields** | [**Hash<String, AnyType>**](AnyType.md) | Custom fields configured for a given model. | [optional] |
|
37
40
|
| **remote_was_deleted** | **Boolean** | | [optional][readonly] |
|
38
|
-
| **
|
39
|
-
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
41
|
+
| **field_mappings** | **Object** | | [optional][readonly] |
|
40
42
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
41
43
|
|
42
44
|
## Example
|
@@ -47,10 +49,13 @@ require 'merge_hris_client'
|
|
47
49
|
instance = MergeHRISClient::Employee.new(
|
48
50
|
id: 0958cbc6-6040-430a-848e-aafacbadf4ae,
|
49
51
|
remote_id: 19202938,
|
52
|
+
created_at: 2021-09-15T00:00Z,
|
53
|
+
modified_at: 2021-10-16T00:00Z,
|
50
54
|
employee_number: 2,
|
51
55
|
company: 8d9fd929-436c-4fd4-a48b-0c61f68d6178,
|
52
56
|
first_name: Greg,
|
53
57
|
last_name: Hirsch,
|
58
|
+
preferred_name: Greg the egg,
|
54
59
|
display_full_name: Cousin Greg Hirsch,
|
55
60
|
username: cousingreg,
|
56
61
|
groups: ["21a54124-397f-494d-985e-3c5b330b8a68"],
|
@@ -76,7 +81,6 @@ instance = MergeHRISClient::Employee.new(
|
|
76
81
|
avatar: http://alturl.com/h2h8m,
|
77
82
|
custom_fields: null,
|
78
83
|
remote_was_deleted: null,
|
79
|
-
modified_at: 2021-10-16T00:00Z,
|
80
84
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
|
81
85
|
remote_data: [{"path":"/people","data":["Varies by platform"]}]
|
82
86
|
)
|
data/docs/EmployeePayrollRun.md
CHANGED
@@ -6,6 +6,8 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **id** | **String** | | [optional][readonly] |
|
8
8
|
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
9
|
+
| **created_at** | **Time** | The datetime that this object was created by Merge. | [optional][readonly] |
|
10
|
+
| **modified_at** | **Time** | The datetime that this object was modified by Merge. | [optional][readonly] |
|
9
11
|
| **employee** | **String** | The employee whose payroll is being run. | [optional] |
|
10
12
|
| **payroll_run** | **String** | The payroll being run. | [optional] |
|
11
13
|
| **gross_pay** | **Float** | The total earnings throughout a given period for an employee before any deductions are made. | [optional] |
|
@@ -16,9 +18,8 @@
|
|
16
18
|
| **earnings** | [**Array<Earning>**](Earning.md) | | [optional][readonly] |
|
17
19
|
| **deductions** | [**Array<Deduction>**](Deduction.md) | | [optional][readonly] |
|
18
20
|
| **taxes** | [**Array<Tax>**](Tax.md) | | [optional][readonly] |
|
19
|
-
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted
|
20
|
-
| **
|
21
|
-
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
21
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted in the third party platform. | [optional][readonly] |
|
22
|
+
| **field_mappings** | **Object** | | [optional][readonly] |
|
22
23
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
23
24
|
|
24
25
|
## Example
|
@@ -29,6 +30,8 @@ require 'merge_hris_client'
|
|
29
30
|
instance = MergeHRISClient::EmployeePayrollRun.new(
|
30
31
|
id: fb8c55b6-1cb8-4b4c-9fb6-17924231619d,
|
31
32
|
remote_id: 19202938,
|
33
|
+
created_at: 2021-09-15T00:00Z,
|
34
|
+
modified_at: 2021-10-16T00:00Z,
|
32
35
|
employee: d2f972d0-2526-434b-9409-4c3b468e08f0,
|
33
36
|
payroll_run: 35347df1-95e7-46e2-93cc-66f1191edca5,
|
34
37
|
gross_pay: 1342.67,
|
@@ -40,7 +43,6 @@ instance = MergeHRISClient::EmployeePayrollRun.new(
|
|
40
43
|
deductions: [{"employee_payroll_run":"35347df1-95e7-46e2-93cc-66f1191edca5","name":"Social Security","employee_deduction":34.54,"company_deduction":78.78}],
|
41
44
|
taxes: [{"employee_payroll_run":"35347df1-95e7-46e2-93cc-66f1191edca5","name":"California State Income Tax","amount":100.25,"employer_tax":"False"}],
|
42
45
|
remote_was_deleted: null,
|
43
|
-
modified_at: 2021-10-16T00:00Z,
|
44
46
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
|
45
47
|
remote_data: [{"path":"/employee-payroll","data":["Varies by platform"]}]
|
46
48
|
)
|
data/docs/EmployeeRequest.md
CHANGED
@@ -8,6 +8,7 @@
|
|
8
8
|
| **company** | **String** | The ID of the employee's company. | [optional] |
|
9
9
|
| **first_name** | **String** | The employee's first name. | [optional] |
|
10
10
|
| **last_name** | **String** | The employee's last name. | [optional] |
|
11
|
+
| **preferred_name** | **String** | The employee's preferred first name. | [optional] |
|
11
12
|
| **display_full_name** | **String** | The employee's full name, to use for display purposes. If a preferred first name is available, the full name will include the preferred first name. | [optional] |
|
12
13
|
| **username** | **String** | The employee's username that appears in the remote UI. | [optional] |
|
13
14
|
| **groups** | **Array<String>** | | [optional] |
|
@@ -43,6 +44,7 @@ instance = MergeHRISClient::EmployeeRequest.new(
|
|
43
44
|
company: 8d9fd929-436c-4fd4-a48b-0c61f68d6178,
|
44
45
|
first_name: Greg,
|
45
46
|
last_name: Hirsch,
|
47
|
+
preferred_name: Greg the egg,
|
46
48
|
display_full_name: Cousin Greg Hirsch,
|
47
49
|
username: cousingreg,
|
48
50
|
groups: ["21a54124-397f-494d-985e-3c5b330b8a68"],
|
data/docs/EmployeesApi.md
CHANGED
@@ -194,12 +194,15 @@ opts = {
|
|
194
194
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
195
195
|
display_full_name: 'display_full_name_example', # String | If provided, will only return employees with this display name.
|
196
196
|
employment_status: 'ACTIVE', # String | If provided, will only return employees with this employment status. * `ACTIVE` - ACTIVE * `PENDING` - PENDING * `INACTIVE` - INACTIVE
|
197
|
+
employment_type: 'employment_type_example', # String | If provided, will only return employees that have an employment of the specified employment_type.
|
197
198
|
expand: 'company', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
198
199
|
first_name: 'first_name_example', # String | If provided, will only return employees with this first name.
|
199
200
|
groups: 'groups_example', # String | If provided, will only return employees matching the group ids; multiple groups can be separated by commas.
|
201
|
+
home_location_id: 'home_location_id_example', # String | If provided, will only return employees for this home location.
|
200
202
|
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
201
203
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
202
204
|
include_sensitive_fields: true, # Boolean | Whether to include sensitive fields (such as social security numbers) in the response.
|
205
|
+
job_title: 'job_title_example', # String | If provided, will only return employees that have an employment of the specified job_title.
|
203
206
|
last_name: 'last_name_example', # String | If provided, will only return employees with this last name.
|
204
207
|
manager_id: 'manager_id_example', # String | If provided, will only return employees for this manager.
|
205
208
|
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge after this date time will be returned.
|
@@ -209,7 +212,7 @@ opts = {
|
|
209
212
|
personal_email: TODO, # String | If provided, will only return Employees with this personal email
|
210
213
|
remote_fields: 'employment_status', # String | Deprecated. Use show_enum_origins.
|
211
214
|
remote_id: 'remote_id_example', # String | The API provider's ID for the given object.
|
212
|
-
show_enum_origins: 'employment_status', # String |
|
215
|
+
show_enum_origins: 'employment_status', # String | A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
|
213
216
|
started_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return employees that started after this datetime.
|
214
217
|
started_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return employees that started before this datetime.
|
215
218
|
team_id: 'team_id_example', # String | If provided, will only return employees for this team.
|
@@ -257,12 +260,15 @@ end
|
|
257
260
|
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
258
261
|
| **display_full_name** | **String** | If provided, will only return employees with this display name. | [optional] |
|
259
262
|
| **employment_status** | **String** | If provided, will only return employees with this employment status. * `ACTIVE` - ACTIVE * `PENDING` - PENDING * `INACTIVE` - INACTIVE | [optional] |
|
263
|
+
| **employment_type** | **String** | If provided, will only return employees that have an employment of the specified employment_type. | [optional] |
|
260
264
|
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
261
265
|
| **first_name** | **String** | If provided, will only return employees with this first name. | [optional] |
|
262
266
|
| **groups** | **String** | If provided, will only return employees matching the group ids; multiple groups can be separated by commas. | [optional] |
|
267
|
+
| **home_location_id** | **String** | If provided, will only return employees for this home location. | [optional] |
|
263
268
|
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
264
269
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
265
270
|
| **include_sensitive_fields** | **Boolean** | Whether to include sensitive fields (such as social security numbers) in the response. | [optional] |
|
271
|
+
| **job_title** | **String** | If provided, will only return employees that have an employment of the specified job_title. | [optional] |
|
266
272
|
| **last_name** | **String** | If provided, will only return employees with this last name. | [optional] |
|
267
273
|
| **manager_id** | **String** | If provided, will only return employees for this manager. | [optional] |
|
268
274
|
| **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
|
@@ -272,7 +278,7 @@ end
|
|
272
278
|
| **personal_email** | [**String**](.md) | If provided, will only return Employees with this personal email | [optional] |
|
273
279
|
| **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
|
274
280
|
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
275
|
-
| **show_enum_origins** | **String** |
|
281
|
+
| **show_enum_origins** | **String** | A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) | [optional] |
|
276
282
|
| **started_after** | **Time** | If provided, will only return employees that started after this datetime. | [optional] |
|
277
283
|
| **started_before** | **Time** | If provided, will only return employees that started before this datetime. | [optional] |
|
278
284
|
| **team_id** | **String** | If provided, will only return employees for this team. | [optional] |
|
@@ -395,7 +401,7 @@ opts = {
|
|
395
401
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
396
402
|
include_sensitive_fields: true, # Boolean | Whether to include sensitive fields (such as social security numbers) in the response.
|
397
403
|
remote_fields: 'employment_status', # String | Deprecated. Use show_enum_origins.
|
398
|
-
show_enum_origins: 'employment_status' # String |
|
404
|
+
show_enum_origins: 'employment_status' # String | A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
|
399
405
|
}
|
400
406
|
|
401
407
|
begin
|
@@ -435,7 +441,7 @@ end
|
|
435
441
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
436
442
|
| **include_sensitive_fields** | **Boolean** | Whether to include sensitive fields (such as social security numbers) in the response. | [optional] |
|
437
443
|
| **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
|
438
|
-
| **show_enum_origins** | **String** |
|
444
|
+
| **show_enum_origins** | **String** | A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) | [optional] |
|
439
445
|
|
440
446
|
### Return type
|
441
447
|
|
data/docs/EmployerBenefit.md
CHANGED
@@ -6,13 +6,14 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **id** | **String** | | [optional][readonly] |
|
8
8
|
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
9
|
+
| **created_at** | **Time** | The datetime that this object was created by Merge. | [optional][readonly] |
|
10
|
+
| **modified_at** | **Time** | The datetime that this object was modified by Merge. | [optional][readonly] |
|
9
11
|
| **benefit_plan_type** | [**BenefitPlanTypeEnum**](BenefitPlanTypeEnum.md) | The type of benefit plan. * `MEDICAL` - MEDICAL * `HEALTH_SAVINGS` - HEALTH_SAVINGS * `INSURANCE` - INSURANCE * `RETIREMENT` - RETIREMENT * `OTHER` - OTHER | [optional] |
|
10
12
|
| **name** | **String** | The employer benefit's name - typically the carrier or network name. | [optional] |
|
11
13
|
| **description** | **String** | The employer benefit's description. | [optional] |
|
12
14
|
| **deduction_code** | **String** | The employer benefit's deduction code. | [optional] |
|
13
|
-
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted
|
14
|
-
| **
|
15
|
-
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
15
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted in the third party platform. | [optional][readonly] |
|
16
|
+
| **field_mappings** | **Object** | | [optional][readonly] |
|
16
17
|
| **remote_data** | **Array<Hash<String, AnyType>>** | | [optional] |
|
17
18
|
|
18
19
|
## Example
|
@@ -23,12 +24,13 @@ require 'merge_hris_client'
|
|
23
24
|
instance = MergeHRISClient::EmployerBenefit.new(
|
24
25
|
id: null,
|
25
26
|
remote_id: 19202939,
|
27
|
+
created_at: 2021-09-15T00:00Z,
|
28
|
+
modified_at: 2021-10-16T00:00Z,
|
26
29
|
benefit_plan_type: MEDICAL,
|
27
30
|
name: Kaiser Permanente Medical Plan,
|
28
31
|
description: HDHP Silver Plan,
|
29
32
|
deduction_code: COL,
|
30
33
|
remote_was_deleted: null,
|
31
|
-
modified_at: 2021-10-16T00:00Z,
|
32
34
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
|
33
35
|
remote_data: null
|
34
36
|
)
|
data/docs/Employment.md
CHANGED
@@ -6,6 +6,8 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **id** | **String** | | [optional][readonly] |
|
8
8
|
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
9
|
+
| **created_at** | **Time** | The datetime that this object was created by Merge. | [optional][readonly] |
|
10
|
+
| **modified_at** | **Time** | The datetime that this object was modified by Merge. | [optional][readonly] |
|
9
11
|
| **employee** | **String** | The employee holding this position. | [optional] |
|
10
12
|
| **job_title** | **String** | The position's title. | [optional] |
|
11
13
|
| **pay_rate** | **Float** | The position's pay rate in dollars. | [optional] |
|
@@ -16,9 +18,8 @@
|
|
16
18
|
| **flsa_status** | [**FlsaStatusEnum**](FlsaStatusEnum.md) | The position's FLSA status. * `EXEMPT` - EXEMPT * `SALARIED_NONEXEMPT` - SALARIED_NONEXEMPT * `NONEXEMPT` - NONEXEMPT * `OWNER` - OWNER | [optional] |
|
17
19
|
| **effective_date** | **Time** | The position's effective date. | [optional] |
|
18
20
|
| **employment_type** | [**EmploymentTypeEnum**](EmploymentTypeEnum.md) | The position's type of employment. * `FULL_TIME` - FULL_TIME * `PART_TIME` - PART_TIME * `INTERN` - INTERN * `CONTRACTOR` - CONTRACTOR * `FREELANCE` - FREELANCE | [optional] |
|
19
|
-
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted
|
20
|
-
| **
|
21
|
-
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
21
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted in the third party platform. | [optional][readonly] |
|
22
|
+
| **field_mappings** | **Object** | | [optional][readonly] |
|
22
23
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
23
24
|
|
24
25
|
## Example
|
@@ -29,6 +30,8 @@ require 'merge_hris_client'
|
|
29
30
|
instance = MergeHRISClient::Employment.new(
|
30
31
|
id: 65d8ffd0-211b-4ba4-b85a-fbe2ce220982,
|
31
32
|
remote_id: 19202938,
|
33
|
+
created_at: 2021-09-15T00:00Z,
|
34
|
+
modified_at: 2021-10-16T00:00Z,
|
32
35
|
employee: 0958cbc6-6040-430a-848e-aafacbadf4ae,
|
33
36
|
job_title: Executive Assistant to Tom Wambsgans,
|
34
37
|
pay_rate: 50000.00,
|
@@ -40,7 +43,6 @@ instance = MergeHRISClient::Employment.new(
|
|
40
43
|
effective_date: 2023-10-06T18:42:34Z,
|
41
44
|
employment_type: FULL TIME,
|
42
45
|
remote_was_deleted: null,
|
43
|
-
modified_at: 2021-10-16T00:00Z,
|
44
46
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
|
45
47
|
remote_data: [{"path":"/jobs","data":["Varies by platform"]}]
|
46
48
|
)
|
data/docs/EmploymentsApi.md
CHANGED
@@ -45,7 +45,7 @@ opts = {
|
|
45
45
|
page_size: 56, # Integer | Number of results to return per page.
|
46
46
|
remote_fields: 'employment_type', # String | Deprecated. Use show_enum_origins.
|
47
47
|
remote_id: 'remote_id_example', # String | The API provider's ID for the given object.
|
48
|
-
show_enum_origins: 'employment_type' # String |
|
48
|
+
show_enum_origins: 'employment_type' # String | A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
|
49
49
|
}
|
50
50
|
|
51
51
|
begin
|
@@ -93,7 +93,7 @@ end
|
|
93
93
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
94
94
|
| **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
|
95
95
|
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
96
|
-
| **show_enum_origins** | **String** |
|
96
|
+
| **show_enum_origins** | **String** | A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) | [optional] |
|
97
97
|
|
98
98
|
### Return type
|
99
99
|
|
@@ -137,7 +137,7 @@ opts = {
|
|
137
137
|
expand: 'employee', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
138
138
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
139
139
|
remote_fields: 'employment_type', # String | Deprecated. Use show_enum_origins.
|
140
|
-
show_enum_origins: 'employment_type' # String |
|
140
|
+
show_enum_origins: 'employment_type' # String | A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
|
141
141
|
}
|
142
142
|
|
143
143
|
begin
|
@@ -176,7 +176,7 @@ end
|
|
176
176
|
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
177
177
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
178
178
|
| **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
|
179
|
-
| **show_enum_origins** | **String** |
|
179
|
+
| **show_enum_origins** | **String** | A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) | [optional] |
|
180
180
|
|
181
181
|
### Return type
|
182
182
|
|
@@ -8,10 +8,13 @@
|
|
8
8
|
| **end_user_organization_name** | **String** | Your end user's organization. | |
|
9
9
|
| **end_user_origin_id** | **String** | This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. | |
|
10
10
|
| **categories** | [**Array<CategoriesEnum>**](CategoriesEnum.md) | The integration categories to show in Merge Link. | |
|
11
|
-
| **integration** | **String** | The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://
|
11
|
+
| **integration** | **String** | The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. | [optional] |
|
12
12
|
| **link_expiry_mins** | **Integer** | An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. | [optional][default to 30] |
|
13
13
|
| **should_create_magic_link_url** | **Boolean** | Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. | [optional][default to false] |
|
14
14
|
| **common_models** | [**Array<CommonModelScopesBodyRequest>**](CommonModelScopesBodyRequest.md) | An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. | [optional] |
|
15
|
+
| **category_common_model_scopes** | **Hash<String, Array<IndividualCommonModelScopeDeserializerRequest>>** | When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. | [optional] |
|
16
|
+
| **language** | **String** | The language code for the language to localize Merge Link to. | [optional] |
|
17
|
+
| **integration_specific_config** | [**Hash<String, AnyType>**](AnyType.md) | A JSON object containing integration-specific configuration options. | [optional] |
|
15
18
|
|
16
19
|
## Example
|
17
20
|
|
@@ -19,14 +22,17 @@
|
|
19
22
|
require 'merge_hris_client'
|
20
23
|
|
21
24
|
instance = MergeHRISClient::EndUserDetailsRequest.new(
|
22
|
-
end_user_email_address:
|
23
|
-
end_user_organization_name:
|
24
|
-
end_user_origin_id:
|
25
|
-
categories:
|
26
|
-
integration:
|
25
|
+
end_user_email_address: example@gmail.com,
|
26
|
+
end_user_organization_name: Test Organization,
|
27
|
+
end_user_origin_id: 12345,
|
28
|
+
categories: ["hris","ats"],
|
29
|
+
integration: bamboohr,
|
27
30
|
link_expiry_mins: null,
|
28
31
|
should_create_magic_link_url: null,
|
29
|
-
common_models: null
|
32
|
+
common_models: null,
|
33
|
+
category_common_model_scopes: {"hris":[{"model_name":"Employee","model_permissions":{"READ":{"is_enabled":true},"WRITE":{"is_enabled":true}},"field_permissions":{"enabled":["first_name","last_name","personal_email"],"disabled":["preferred_name"]}},{"model_name":"Employment","model_permissions":{"READ":{"is_enabled":false},"WRITE":{"is_enabled":false}},"field_permissions":{"enabled":["effective_date"]}}],"ats":[{"model_name":"Job","model_permissions":{"READ":{"is_enabled":true},"WRITE":{"is_enabled":true}},"field_permissions":{"enabled":["name"],"disabled":["description"]}},{"model_name":"Department","model_permissions":{"READ":{"is_enabled":true},"WRITE":{"is_enabled":true}}}]},
|
34
|
+
language: null,
|
35
|
+
integration_specific_config: {"rippling":{"oauth_code":"3h1jj8ssdf31dfji3o1jjdfjasd"}}
|
30
36
|
)
|
31
37
|
```
|
32
38
|
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# MergeHRISClient::EventTypeEnum
|
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::EventTypeEnum.new()
|
14
|
+
```
|
15
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# MergeHRISClient::ExternalTargetFieldAPI
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **name** | **String** | | [optional][readonly] |
|
8
|
+
| **description** | **String** | | [optional][readonly] |
|
9
|
+
| **is_mapped** | **String** | | [optional][readonly] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'merge_hris_client'
|
15
|
+
|
16
|
+
instance = MergeHRISClient::ExternalTargetFieldAPI.new(
|
17
|
+
name: example_target_field_name,
|
18
|
+
description: this is a example description of a target field,
|
19
|
+
is_mapped: true
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# MergeHRISClient::ExternalTargetFieldAPIResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **benefit** | [**Array<ExternalTargetFieldAPI>**](ExternalTargetFieldAPI.md) | | [optional] |
|
8
|
+
| **employer_benefit** | [**Array<ExternalTargetFieldAPI>**](ExternalTargetFieldAPI.md) | | [optional] |
|
9
|
+
| **company** | [**Array<ExternalTargetFieldAPI>**](ExternalTargetFieldAPI.md) | | [optional] |
|
10
|
+
| **employee_payroll_run** | [**Array<ExternalTargetFieldAPI>**](ExternalTargetFieldAPI.md) | | [optional] |
|
11
|
+
| **employee** | [**Array<ExternalTargetFieldAPI>**](ExternalTargetFieldAPI.md) | | [optional] |
|
12
|
+
| **employment** | [**Array<ExternalTargetFieldAPI>**](ExternalTargetFieldAPI.md) | | [optional] |
|
13
|
+
| **location** | [**Array<ExternalTargetFieldAPI>**](ExternalTargetFieldAPI.md) | | [optional] |
|
14
|
+
| **payroll_run** | [**Array<ExternalTargetFieldAPI>**](ExternalTargetFieldAPI.md) | | [optional] |
|
15
|
+
| **team** | [**Array<ExternalTargetFieldAPI>**](ExternalTargetFieldAPI.md) | | [optional] |
|
16
|
+
| **time_off** | [**Array<ExternalTargetFieldAPI>**](ExternalTargetFieldAPI.md) | | [optional] |
|
17
|
+
| **time_off_balance** | [**Array<ExternalTargetFieldAPI>**](ExternalTargetFieldAPI.md) | | [optional] |
|
18
|
+
| **bank_info** | [**Array<ExternalTargetFieldAPI>**](ExternalTargetFieldAPI.md) | | [optional] |
|
19
|
+
| **pay_group** | [**Array<ExternalTargetFieldAPI>**](ExternalTargetFieldAPI.md) | | [optional] |
|
20
|
+
| **group** | [**Array<ExternalTargetFieldAPI>**](ExternalTargetFieldAPI.md) | | [optional] |
|
21
|
+
| **dependent** | [**Array<ExternalTargetFieldAPI>**](ExternalTargetFieldAPI.md) | | [optional] |
|
22
|
+
| **timesheet_entry** | [**Array<ExternalTargetFieldAPI>**](ExternalTargetFieldAPI.md) | | [optional] |
|
23
|
+
|
24
|
+
## Example
|
25
|
+
|
26
|
+
```ruby
|
27
|
+
require 'merge_hris_client'
|
28
|
+
|
29
|
+
instance = MergeHRISClient::ExternalTargetFieldAPIResponse.new(
|
30
|
+
benefit: null,
|
31
|
+
employer_benefit: null,
|
32
|
+
company: null,
|
33
|
+
employee_payroll_run: null,
|
34
|
+
employee: null,
|
35
|
+
employment: null,
|
36
|
+
location: null,
|
37
|
+
payroll_run: null,
|
38
|
+
team: null,
|
39
|
+
time_off: null,
|
40
|
+
time_off_balance: null,
|
41
|
+
bank_info: null,
|
42
|
+
pay_group: null,
|
43
|
+
group: null,
|
44
|
+
dependent: null,
|
45
|
+
timesheet_entry: null
|
46
|
+
)
|
47
|
+
```
|
48
|
+
|