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
data/docs/Group.md
CHANGED
@@ -6,12 +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
|
| **parent_group** | **String** | The parent group for this group. | [optional] |
|
10
12
|
| **name** | **String** | The group name. | [optional] |
|
11
|
-
| **type** | [**GroupTypeEnum**](GroupTypeEnum.md) | The
|
12
|
-
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted
|
13
|
-
| **
|
14
|
-
| **field_mappings** |
|
13
|
+
| **type** | [**GroupTypeEnum**](GroupTypeEnum.md) | The Group type returned directly from the third-party. * `TEAM` - TEAM * `DEPARTMENT` - DEPARTMENT * `COST_CENTER` - COST_CENTER * `BUSINESS_UNIT` - BUSINESS_UNIT * `GROUP` - GROUP | [optional] |
|
14
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted in the third party platform. | [optional][readonly] |
|
15
|
+
| **is_commonly_used_as_team** | **Boolean** | Indicates whether the Group refers to a team in the third party platform. Note that this is an opinionated view based on how Merge observes most organizations representing teams in each third party platform. If your customer uses a platform different from most, there is a chance this will not be correct. | [optional] |
|
16
|
+
| **field_mappings** | **Object** | | [optional][readonly] |
|
15
17
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
16
18
|
|
17
19
|
## Example
|
@@ -22,11 +24,13 @@ require 'merge_hris_client'
|
|
22
24
|
instance = MergeHRISClient::Group.new(
|
23
25
|
id: 134e0111-0f67-44f6-98f0-597000290bb3,
|
24
26
|
remote_id: 800293,
|
27
|
+
created_at: 2021-09-15T00:00Z,
|
28
|
+
modified_at: 2021-10-16T00:00Z,
|
25
29
|
parent_group: 2ef51b11-2c4e-4b02-8d1d-50592d9e96ef,
|
26
30
|
name: COST_CENTER_US,
|
27
31
|
type: COST_CENTER,
|
28
32
|
remote_was_deleted: null,
|
29
|
-
|
33
|
+
is_commonly_used_as_team: true,
|
30
34
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
|
31
35
|
remote_data: [{"path":"/group","data":["Varies by platform"]}]
|
32
36
|
)
|
data/docs/GroupsApi.md
CHANGED
@@ -37,12 +37,14 @@ opts = {
|
|
37
37
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
38
38
|
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
39
39
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
40
|
+
is_commonly_used_as_team: 'is_commonly_used_as_team_example', # String | If provided, specifies whether to return only Group objects which refer to a team in the third party platform. Note that this is an opinionated view based on how a team may be represented in the third party platform.
|
40
41
|
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.
|
41
42
|
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge before this date time will be returned.
|
43
|
+
names: 'names_example', # String | If provided, will only return groups with these names. Multiple values can be separated by commas.
|
42
44
|
page_size: 56, # Integer | Number of results to return per page.
|
43
45
|
remote_fields: 'type', # String | Deprecated. Use show_enum_origins.
|
44
46
|
remote_id: 'remote_id_example', # String | The API provider's ID for the given object.
|
45
|
-
show_enum_origins: 'type', # String |
|
47
|
+
show_enum_origins: '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)
|
46
48
|
types: 'types_example' # String | If provided, will only return groups of these types. Multiple values can be separated by commas.
|
47
49
|
}
|
48
50
|
|
@@ -83,12 +85,14 @@ end
|
|
83
85
|
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
84
86
|
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
85
87
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
88
|
+
| **is_commonly_used_as_team** | **String** | If provided, specifies whether to return only Group objects which refer to a team in the third party platform. Note that this is an opinionated view based on how a team may be represented in the third party platform. | [optional] |
|
86
89
|
| **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
|
87
90
|
| **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
|
91
|
+
| **names** | **String** | If provided, will only return groups with these names. Multiple values can be separated by commas. | [optional] |
|
88
92
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
89
93
|
| **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
|
90
94
|
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
91
|
-
| **show_enum_origins** | **String** |
|
95
|
+
| **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] |
|
92
96
|
| **types** | **String** | If provided, will only return groups of these types. Multiple values can be separated by commas. | [optional] |
|
93
97
|
|
94
98
|
### Return type
|
@@ -132,7 +136,7 @@ id = TODO # String |
|
|
132
136
|
opts = {
|
133
137
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
134
138
|
remote_fields: 'type', # String | Deprecated. Use show_enum_origins.
|
135
|
-
show_enum_origins: 'type' # String |
|
139
|
+
show_enum_origins: '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)
|
136
140
|
}
|
137
141
|
|
138
142
|
begin
|
@@ -170,7 +174,7 @@ end
|
|
170
174
|
| **id** | [**String**](.md) | | |
|
171
175
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
172
176
|
| **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
|
173
|
-
| **show_enum_origins** | **String** |
|
177
|
+
| **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] |
|
174
178
|
|
175
179
|
### Return type
|
176
180
|
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# MergeHRISClient::IndividualCommonModelScopeDeserializer
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **model_name** | **String** | | |
|
8
|
+
| **model_permissions** | [**Hash<String, ModelPermissionDeserializer>**](ModelPermissionDeserializer.md) | | [optional] |
|
9
|
+
| **field_permissions** | [**FieldPermissionDeserializer**](FieldPermissionDeserializer.md) | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'merge_hris_client'
|
15
|
+
|
16
|
+
instance = MergeHRISClient::IndividualCommonModelScopeDeserializer.new(
|
17
|
+
model_name: null,
|
18
|
+
model_permissions: null,
|
19
|
+
field_permissions: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# MergeHRISClient::IndividualCommonModelScopeDeserializerRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **model_name** | **String** | | |
|
8
|
+
| **model_permissions** | [**Hash<String, ModelPermissionDeserializerRequest>**](ModelPermissionDeserializerRequest.md) | | [optional] |
|
9
|
+
| **field_permissions** | [**FieldPermissionDeserializerRequest**](FieldPermissionDeserializerRequest.md) | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'merge_hris_client'
|
15
|
+
|
16
|
+
instance = MergeHRISClient::IndividualCommonModelScopeDeserializerRequest.new(
|
17
|
+
model_name: null,
|
18
|
+
model_permissions: null,
|
19
|
+
field_permissions: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
data/docs/Issue.md
CHANGED
@@ -21,7 +21,7 @@ require 'merge_hris_client'
|
|
21
21
|
instance = MergeHRISClient::Issue.new(
|
22
22
|
id: 3fa85f64-5717-4562-b3fc-2c963f66afa6,
|
23
23
|
status: ONGOING,
|
24
|
-
error_description:
|
24
|
+
error_description: Missing Permissions,
|
25
25
|
end_user: b82302de-852e-4e60-b050-edf9da3b7c02,
|
26
26
|
first_incident_time: 2022-12-05T16:19:15.161Z,
|
27
27
|
last_incident_time: 2022-12-05T16:19:15.161Z,
|
data/docs/IssuesApi.md
CHANGED
@@ -14,7 +14,7 @@ All URIs are relative to *https://api.merge.dev/api/hris/v1*
|
|
14
14
|
|
15
15
|
|
16
16
|
|
17
|
-
Gets issues.
|
17
|
+
Gets all issues for Organization.
|
18
18
|
|
19
19
|
### Examples
|
20
20
|
|
@@ -37,10 +37,11 @@ opts = {
|
|
37
37
|
end_user_organization_name: 'end_user_organization_name_example', # String |
|
38
38
|
first_incident_time_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return issues whose first incident time was after this datetime.
|
39
39
|
first_incident_time_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return issues whose first incident time was before this datetime.
|
40
|
-
include_muted: 'include_muted_example', # String | If
|
40
|
+
include_muted: 'include_muted_example', # String | If true, will include muted issues
|
41
41
|
integration_name: 'integration_name_example', # String |
|
42
42
|
last_incident_time_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return issues whose last incident time was after this datetime.
|
43
43
|
last_incident_time_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return issues whose last incident time was before this datetime.
|
44
|
+
linked_account_id: 'linked_account_id_example', # String | If provided, will only include issues pertaining to the linked account passed in.
|
44
45
|
page_size: 56, # Integer | Number of results to return per page.
|
45
46
|
start_date: 'start_date_example', # String | If included, will only include issues whose most recent action occurred after this time
|
46
47
|
status: 'ONGOING' # String | Status of the issue. Options: ('ONGOING', 'RESOLVED') * `ONGOING` - ONGOING * `RESOLVED` - RESOLVED
|
@@ -83,10 +84,11 @@ end
|
|
83
84
|
| **end_user_organization_name** | **String** | | [optional] |
|
84
85
|
| **first_incident_time_after** | **Time** | If provided, will only return issues whose first incident time was after this datetime. | [optional] |
|
85
86
|
| **first_incident_time_before** | **Time** | If provided, will only return issues whose first incident time was before this datetime. | [optional] |
|
86
|
-
| **include_muted** | **String** | If
|
87
|
+
| **include_muted** | **String** | If true, will include muted issues | [optional] |
|
87
88
|
| **integration_name** | **String** | | [optional] |
|
88
89
|
| **last_incident_time_after** | **Time** | If provided, will only return issues whose last incident time was after this datetime. | [optional] |
|
89
90
|
| **last_incident_time_before** | **Time** | If provided, will only return issues whose last incident time was before this datetime. | [optional] |
|
91
|
+
| **linked_account_id** | **String** | If provided, will only include issues pertaining to the linked account passed in. | [optional] |
|
90
92
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
91
93
|
| **start_date** | **String** | If included, will only include issues whose most recent action occurred after this time | [optional] |
|
92
94
|
| **status** | **String** | Status of the issue. Options: ('ONGOING', 'RESOLVED') * `ONGOING` - ONGOING * `RESOLVED` - RESOLVED | [optional] |
|
data/docs/LinkTokenApi.md
CHANGED
@@ -29,7 +29,7 @@ MergeHRISClient.configure do |config|
|
|
29
29
|
end
|
30
30
|
|
31
31
|
api_instance = MergeHRISClient::LinkTokenApi.new
|
32
|
-
end_user_details_request = MergeHRISClient::EndUserDetailsRequest.new({end_user_email_address: '
|
32
|
+
end_user_details_request = MergeHRISClient::EndUserDetailsRequest.new({end_user_email_address: 'example@gmail.com', end_user_organization_name: 'Test Organization', end_user_origin_id: '12345', categories: [MergeHRISClient::CategoriesEnum::HRIS]}) # EndUserDetailsRequest |
|
33
33
|
|
34
34
|
begin
|
35
35
|
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# MergeHRISClient::LinkedAccountCommonModelScopeDeserializerRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **common_models** | [**Array<IndividualCommonModelScopeDeserializerRequest>**](IndividualCommonModelScopeDeserializerRequest.md) | The common models you want to update the scopes for | |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'merge_hris_client'
|
13
|
+
|
14
|
+
instance = MergeHRISClient::LinkedAccountCommonModelScopeDeserializerRequest.new(
|
15
|
+
common_models: [{"model_name":"Employee","model_permissions":{"READ":{"is_enabled":true},"WRITE":{"is_enabled":false}},"field_permissions":{"enabled_fields":["avatar","home_location"],"disabled_fields":["work_location"]}},{"model_name":"Benefit","model_permissions":{"WRITE":{"is_enabled":false}}}]
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
data/docs/LinkedAccountsApi.md
CHANGED
@@ -30,7 +30,7 @@ end
|
|
30
30
|
|
31
31
|
api_instance = MergeHRISClient::LinkedAccountsApi.new
|
32
32
|
opts = {
|
33
|
-
category: 'accounting', # String | Options:
|
33
|
+
category: 'accounting', # String | Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` * `hris` - hris * `ats` - ats * `accounting` - accounting * `ticketing` - ticketing * `crm` - crm * `mktg` - mktg * `filestorage` - filestorage * `datawarehouse` - datawarehouse
|
34
34
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
35
35
|
end_user_email_address: 'end_user_email_address_example', # String | If provided, will only return linked accounts associated with the given email address.
|
36
36
|
end_user_organization_name: 'end_user_organization_name_example', # String | If provided, will only return linked accounts associated with the given organization name.
|
@@ -76,7 +76,7 @@ end
|
|
76
76
|
|
77
77
|
| Name | Type | Description | Notes |
|
78
78
|
| ---- | ---- | ----------- | ----- |
|
79
|
-
| **category** | **String** | Options:
|
79
|
+
| **category** | **String** | Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` * `hris` - hris * `ats` - ats * `accounting` - accounting * `ticketing` - ticketing * `crm` - crm * `mktg` - mktg * `filestorage` - filestorage * `datawarehouse` - datawarehouse | [optional] |
|
80
80
|
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
81
81
|
| **end_user_email_address** | **String** | If provided, will only return linked accounts associated with the given email address. | [optional] |
|
82
82
|
| **end_user_organization_name** | **String** | If provided, will only return linked accounts associated with the given organization name. | [optional] |
|
data/docs/Location.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
|
| **name** | **String** | The location's name. | [optional] |
|
10
12
|
| **phone_number** | **String** | The location's phone number. | [optional] |
|
11
13
|
| **street_1** | **String** | Line 1 of the location's street address. | [optional] |
|
@@ -15,9 +17,8 @@
|
|
15
17
|
| **zip_code** | **String** | The location's zip code or postal code. | [optional] |
|
16
18
|
| **country** | [**CountryEnum**](CountryEnum.md) | The location's country. * `AF` - Afghanistan * `AX` - Åland Islands * `AL` - Albania * `DZ` - Algeria * `AS` - American Samoa * `AD` - Andorra * `AO` - Angola * `AI` - Anguilla * `AQ` - Antarctica * `AG` - Antigua and Barbuda * `AR` - Argentina * `AM` - Armenia * `AW` - Aruba * `AU` - Australia * `AT` - Austria * `AZ` - Azerbaijan * `BS` - Bahamas * `BH` - Bahrain * `BD` - Bangladesh * `BB` - Barbados * `BY` - Belarus * `BE` - Belgium * `BZ` - Belize * `BJ` - Benin * `BM` - Bermuda * `BT` - Bhutan * `BO` - Bolivia * `BQ` - Bonaire, Sint Eustatius and Saba * `BA` - Bosnia and Herzegovina * `BW` - Botswana * `BV` - Bouvet Island * `BR` - Brazil * `IO` - British Indian Ocean Territory * `BN` - Brunei * `BG` - Bulgaria * `BF` - Burkina Faso * `BI` - Burundi * `CV` - Cabo Verde * `KH` - Cambodia * `CM` - Cameroon * `CA` - Canada * `KY` - Cayman Islands * `CF` - Central African Republic * `TD` - Chad * `CL` - Chile * `CN` - China * `CX` - Christmas Island * `CC` - Cocos (Keeling) Islands * `CO` - Colombia * `KM` - Comoros * `CG` - Congo * `CD` - Congo (the Democratic Republic of the) * `CK` - Cook Islands * `CR` - Costa Rica * `CI` - Côte d'Ivoire * `HR` - Croatia * `CU` - Cuba * `CW` - Curaçao * `CY` - Cyprus * `CZ` - Czechia * `DK` - Denmark * `DJ` - Djibouti * `DM` - Dominica * `DO` - Dominican Republic * `EC` - Ecuador * `EG` - Egypt * `SV` - El Salvador * `GQ` - Equatorial Guinea * `ER` - Eritrea * `EE` - Estonia * `SZ` - Eswatini * `ET` - Ethiopia * `FK` - Falkland Islands (Malvinas) * `FO` - Faroe Islands * `FJ` - Fiji * `FI` - Finland * `FR` - France * `GF` - French Guiana * `PF` - French Polynesia * `TF` - French Southern Territories * `GA` - Gabon * `GM` - Gambia * `GE` - Georgia * `DE` - Germany * `GH` - Ghana * `GI` - Gibraltar * `GR` - Greece * `GL` - Greenland * `GD` - Grenada * `GP` - Guadeloupe * `GU` - Guam * `GT` - Guatemala * `GG` - Guernsey * `GN` - Guinea * `GW` - Guinea-Bissau * `GY` - Guyana * `HT` - Haiti * `HM` - Heard Island and McDonald Islands * `VA` - Holy See * `HN` - Honduras * `HK` - Hong Kong * `HU` - Hungary * `IS` - Iceland * `IN` - India * `ID` - Indonesia * `IR` - Iran * `IQ` - Iraq * `IE` - Ireland * `IM` - Isle of Man * `IL` - Israel * `IT` - Italy * `JM` - Jamaica * `JP` - Japan * `JE` - Jersey * `JO` - Jordan * `KZ` - Kazakhstan * `KE` - Kenya * `KI` - Kiribati * `KW` - Kuwait * `KG` - Kyrgyzstan * `LA` - Laos * `LV` - Latvia * `LB` - Lebanon * `LS` - Lesotho * `LR` - Liberia * `LY` - Libya * `LI` - Liechtenstein * `LT` - Lithuania * `LU` - Luxembourg * `MO` - Macao * `MG` - Madagascar * `MW` - Malawi * `MY` - Malaysia * `MV` - Maldives * `ML` - Mali * `MT` - Malta * `MH` - Marshall Islands * `MQ` - Martinique * `MR` - Mauritania * `MU` - Mauritius * `YT` - Mayotte * `MX` - Mexico * `FM` - Micronesia (Federated States of) * `MD` - Moldova * `MC` - Monaco * `MN` - Mongolia * `ME` - Montenegro * `MS` - Montserrat * `MA` - Morocco * `MZ` - Mozambique * `MM` - Myanmar * `NA` - Namibia * `NR` - Nauru * `NP` - Nepal * `NL` - Netherlands * `NC` - New Caledonia * `NZ` - New Zealand * `NI` - Nicaragua * `NE` - Niger * `NG` - Nigeria * `NU` - Niue * `NF` - Norfolk Island * `KP` - North Korea * `MK` - North Macedonia * `MP` - Northern Mariana Islands * `NO` - Norway * `OM` - Oman * `PK` - Pakistan * `PW` - Palau * `PS` - Palestine, State of * `PA` - Panama * `PG` - Papua New Guinea * `PY` - Paraguay * `PE` - Peru * `PH` - Philippines * `PN` - Pitcairn * `PL` - Poland * `PT` - Portugal * `PR` - Puerto Rico * `QA` - Qatar * `RE` - Réunion * `RO` - Romania * `RU` - Russia * `RW` - Rwanda * `BL` - Saint Barthélemy * `SH` - Saint Helena, Ascension and Tristan da Cunha * `KN` - Saint Kitts and Nevis * `LC` - Saint Lucia * `MF` - Saint Martin (French part) * `PM` - Saint Pierre and Miquelon * `VC` - Saint Vincent and the Grenadines * `WS` - Samoa * `SM` - San Marino * `ST` - Sao Tome and Principe * `SA` - Saudi Arabia * `SN` - Senegal * `RS` - Serbia * `SC` - Seychelles * `SL` - Sierra Leone * `SG` - Singapore * `SX` - Sint Maarten (Dutch part) * `SK` - Slovakia * `SI` - Slovenia * `SB` - Solomon Islands * `SO` - Somalia * `ZA` - South Africa * `GS` - South Georgia and the South Sandwich Islands * `KR` - South Korea * `SS` - South Sudan * `ES` - Spain * `LK` - Sri Lanka * `SD` - Sudan * `SR` - Suriname * `SJ` - Svalbard and Jan Mayen * `SE` - Sweden * `CH` - Switzerland * `SY` - Syria * `TW` - Taiwan * `TJ` - Tajikistan * `TZ` - Tanzania * `TH` - Thailand * `TL` - Timor-Leste * `TG` - Togo * `TK` - Tokelau * `TO` - Tonga * `TT` - Trinidad and Tobago * `TN` - Tunisia * `TR` - Turkey * `TM` - Turkmenistan * `TC` - Turks and Caicos Islands * `TV` - Tuvalu * `UG` - Uganda * `UA` - Ukraine * `AE` - United Arab Emirates * `GB` - United Kingdom * `UM` - United States Minor Outlying Islands * `US` - United States of America * `UY` - Uruguay * `UZ` - Uzbekistan * `VU` - Vanuatu * `VE` - Venezuela * `VN` - Vietnam * `VG` - Virgin Islands (British) * `VI` - Virgin Islands (U.S.) * `WF` - Wallis and Futuna * `EH` - Western Sahara * `YE` - Yemen * `ZM` - Zambia * `ZW` - Zimbabwe | [optional] |
|
17
19
|
| **location_type** | [**LocationTypeEnum**](LocationTypeEnum.md) | The location's type. Can be either WORK or HOME * `HOME` - HOME * `WORK` - WORK | [optional] |
|
18
|
-
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted
|
19
|
-
| **
|
20
|
-
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
20
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted in the third party platform. | [optional][readonly] |
|
21
|
+
| **field_mappings** | **Object** | | [optional][readonly] |
|
21
22
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
22
23
|
|
23
24
|
## Example
|
@@ -28,6 +29,8 @@ require 'merge_hris_client'
|
|
28
29
|
instance = MergeHRISClient::Location.new(
|
29
30
|
id: f5e6a151-f44e-449a-afb1-8fd781905958,
|
30
31
|
remote_id: 93018402,
|
32
|
+
created_at: 2021-09-15T00:00Z,
|
33
|
+
modified_at: 2021-10-16T00:00Z,
|
31
34
|
name: NYC Office,
|
32
35
|
phone_number: +1111111111,
|
33
36
|
street_1: 2920 Broadway,
|
@@ -38,7 +41,6 @@ instance = MergeHRISClient::Location.new(
|
|
38
41
|
country: US,
|
39
42
|
location_type: WORK,
|
40
43
|
remote_was_deleted: null,
|
41
|
-
modified_at: 2021-10-16T00:00Z,
|
42
44
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
|
43
45
|
remote_data: [{"path":"/locations","data":["Varies by platform"]}]
|
44
46
|
)
|
data/docs/LocationsApi.md
CHANGED
@@ -37,12 +37,13 @@ opts = {
|
|
37
37
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
38
38
|
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
39
39
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
40
|
+
location_type: 'HOME', # String | If provided, will only return locations with this location_type * `HOME` - HOME * `WORK` - WORK
|
40
41
|
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.
|
41
42
|
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge before this date time will be returned.
|
42
43
|
page_size: 56, # Integer | Number of results to return per page.
|
43
44
|
remote_fields: 'location_type', # String | Deprecated. Use show_enum_origins.
|
44
45
|
remote_id: 'remote_id_example', # String | The API provider's ID for the given object.
|
45
|
-
show_enum_origins: 'location_type' # String |
|
46
|
+
show_enum_origins: 'location_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)
|
46
47
|
}
|
47
48
|
|
48
49
|
begin
|
@@ -82,12 +83,13 @@ end
|
|
82
83
|
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
83
84
|
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
84
85
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
86
|
+
| **location_type** | **String** | If provided, will only return locations with this location_type * `HOME` - HOME * `WORK` - WORK | [optional] |
|
85
87
|
| **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
|
86
88
|
| **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
|
87
89
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
88
90
|
| **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
|
89
91
|
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
90
|
-
| **show_enum_origins** | **String** |
|
92
|
+
| **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] |
|
91
93
|
|
92
94
|
### Return type
|
93
95
|
|
@@ -130,7 +132,7 @@ id = TODO # String |
|
|
130
132
|
opts = {
|
131
133
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
132
134
|
remote_fields: 'location_type', # String | Deprecated. Use show_enum_origins.
|
133
|
-
show_enum_origins: 'location_type' # String |
|
135
|
+
show_enum_origins: 'location_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)
|
134
136
|
}
|
135
137
|
|
136
138
|
begin
|
@@ -168,7 +170,7 @@ end
|
|
168
170
|
| **id** | [**String**](.md) | | |
|
169
171
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
170
172
|
| **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
|
171
|
-
| **show_enum_origins** | **String** |
|
173
|
+
| **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] |
|
172
174
|
|
173
175
|
### Return type
|
174
176
|
|
data/docs/MetaResponse.md
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
require 'merge_hris_client'
|
17
17
|
|
18
18
|
instance = MergeHRISClient::MetaResponse.new(
|
19
|
-
request_schema:
|
19
|
+
request_schema: {"type":"object","properties":{"model":{"type":"object","required":["last_name","first_name","merge_categories","new_york_city_neighborhood","favorite_tv_shows","favorite_watch"],"properties":{"email_addresses":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","title":"value"},"email_address_type":{"type":"string","title":"email_address_type"},"integration_params":{"type":"object","title":"integration_params","properties":{}},"linked_account_params":{"type":"object","title":"linked_account_params","properties":{}}}},"title":"email_addresses","description":"Array of email_addresses objects"},"urls":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","title":"value"},"url_type":{"type":"string","title":"url_type"},"integration_params":{"type":"object","title":"integration_params","properties":{}},"linked_account_params":{"type":"object","title":"linked_account_params","properties":{}}}},"title":"urls","description":"Array of urls objects"},"first_name":{"type":"string","title":"first_name","description":"The first name."},"last_name":{"type":"string","title":"last_name","description":"The last name."},"phone_numbers":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","title":"value"},"phone_number_type":{"type":"string","title":"phone_number_type"},"integration_params":{"type":"object","title":"integration_params","properties":{}},"linked_account_params":{"type":"object","title":"linked_account_params","properties":{}}}},"title":"phone_numbers","description":"Array of phone_numbers objects"},"tags":{"type":"array","items":{"type":"string","format":"uuid"},"title":"tags","description":"Array of tags names"},"attachments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","title":"id"},"file_url":{"type":"string","title":"file_url"},"file_name":{"type":"string","title":"file_name"},"attachment_type":{"type":"string","title":"attachment_type"},"integration_params":{"type":"object","title":"integration_params","properties":{}},"linked_account_params":{"type":"object","title":"linked_account_params","properties":{}}}},"title":"attachments","description":"Array of attachments objects "},"merge_categories":{"type":"array","categories":{"type":"string","enum":["HRIS","ATS","Accounting","Ticketing","File Storage","CRM","Marketing Automation"],"enum_information":[{"value":"HRIS","description":"Merge HRIS Category"},{"value":"ATS","description":"Merge ATS Category"},{"value":"Accounting","description":"Merge Accounting Category"},{"value":"Ticketing","description":"Merge Ticketing Category"},{"value":"File Storage","description":"Merge File Storage Category"},{"value":"CRM","description":"Merge CRM Category"},{"value":"Marketing Automation","description":"Merge Marketing Automation Category"}]},"title":"Merge Categories","description":"Array of Merge's Unified API Categories"},"new_york_city_neighborhood":{"type":"string","title":"Borough","description":"One of the 5 Boroughs of New York City"},"favorite_tv_shows":{"type":"array","items":{"type":"string","format":"uuid"},"title":"Favorite TV Shows","description":"Array of TV Show objects on merge.tv_shows"},"favorite_watch":{"type":"string","title":"Favorite Watch","description":"Favorite watch of all time"}}}}},
|
20
20
|
remote_field_classes: null,
|
21
21
|
status: null,
|
22
22
|
has_conditional_params: null,
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# MergeHRISClient::ModelPermissionDeserializer
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **is_enabled** | **Boolean** | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'merge_hris_client'
|
13
|
+
|
14
|
+
instance = MergeHRISClient::ModelPermissionDeserializer.new(
|
15
|
+
is_enabled: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# MergeHRISClient::ModelPermissionDeserializerRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **is_enabled** | **Boolean** | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'merge_hris_client'
|
13
|
+
|
14
|
+
instance = MergeHRISClient::ModelPermissionDeserializerRequest.new(
|
15
|
+
is_enabled: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# MergeHRISClient::PaginatedAuditLogEventList
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **_next** | **String** | | [optional] |
|
8
|
+
| **previous** | **String** | | [optional] |
|
9
|
+
| **results** | [**Array<AuditLogEvent>**](AuditLogEvent.md) | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'merge_hris_client'
|
15
|
+
|
16
|
+
instance = MergeHRISClient::PaginatedAuditLogEventList.new(
|
17
|
+
_next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw,
|
18
|
+
previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ,
|
19
|
+
results: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# MergeHRISClient::PaginatedTimesheetEntryList
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **_next** | **String** | | [optional] |
|
8
|
+
| **previous** | **String** | | [optional] |
|
9
|
+
| **results** | [**Array<TimesheetEntry>**](TimesheetEntry.md) | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'merge_hris_client'
|
15
|
+
|
16
|
+
instance = MergeHRISClient::PaginatedTimesheetEntryList.new(
|
17
|
+
_next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw,
|
18
|
+
previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ,
|
19
|
+
results: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# MergeHRISClient::PatchedEditFieldMappingRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **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. | [optional] |
|
8
|
+
| **remote_method** | **String** | The method of the remote endpoint where the remote field is coming from. | [optional] |
|
9
|
+
| **remote_url_path** | **String** | The path of the remote endpoint where the remote field is coming from. | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'merge_hris_client'
|
15
|
+
|
16
|
+
instance = MergeHRISClient::PatchedEditFieldMappingRequest.new(
|
17
|
+
remote_field_traversal_path: ["example_remote_field_name"],
|
18
|
+
remote_method: GET,
|
19
|
+
remote_url_path: /example-url-path
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
data/docs/PayGroup.md
CHANGED
@@ -6,10 +6,11 @@
|
|
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
|
| **pay_group_name** | **String** | The pay group name. | [optional] |
|
10
|
-
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted
|
11
|
-
| **
|
12
|
-
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
12
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted in the third party platform. | [optional][readonly] |
|
13
|
+
| **field_mappings** | **Object** | | [optional][readonly] |
|
13
14
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
14
15
|
|
15
16
|
## Example
|
@@ -20,9 +21,10 @@ require 'merge_hris_client'
|
|
20
21
|
instance = MergeHRISClient::PayGroup.new(
|
21
22
|
id: fd1e0fb5-8f92-4ec9-9f32-179cf732867d,
|
22
23
|
remote_id: 800293,
|
24
|
+
created_at: 2021-09-15T00:00Z,
|
25
|
+
modified_at: 2021-10-16T00:00Z,
|
23
26
|
pay_group_name: contractor,
|
24
27
|
remote_was_deleted: null,
|
25
|
-
modified_at: 2021-10-16T00:00Z,
|
26
28
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
|
27
29
|
remote_data: [{"path":"/pay-group","data":["Varies by platform"]}]
|
28
30
|
)
|
data/docs/PayrollRun.md
CHANGED
@@ -6,14 +6,15 @@
|
|
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
|
| **run_state** | [**RunStateEnum**](RunStateEnum.md) | The state of the payroll run * `PAID` - PAID * `DRAFT` - DRAFT * `APPROVED` - APPROVED * `FAILED` - FAILED * `CLOSED` - CLOSED | [optional] |
|
10
12
|
| **run_type** | [**RunTypeEnum**](RunTypeEnum.md) | The type of the payroll run * `REGULAR` - REGULAR * `OFF_CYCLE` - OFF_CYCLE * `CORRECTION` - CORRECTION * `TERMINATION` - TERMINATION * `SIGN_ON_BONUS` - SIGN_ON_BONUS | [optional] |
|
11
13
|
| **start_date** | **Time** | The day and time the payroll run started. | [optional] |
|
12
14
|
| **end_date** | **Time** | The day and time the payroll run ended. | [optional] |
|
13
15
|
| **check_date** | **Time** | The day and time the payroll run was checked. | [optional] |
|
14
|
-
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted
|
15
|
-
| **
|
16
|
-
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
16
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted in the third party platform. | [optional][readonly] |
|
17
|
+
| **field_mappings** | **Object** | | [optional][readonly] |
|
17
18
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
18
19
|
|
19
20
|
## Example
|
@@ -24,13 +25,14 @@ require 'merge_hris_client'
|
|
24
25
|
instance = MergeHRISClient::PayrollRun.new(
|
25
26
|
id: 37336947-b3d4-4a4c-a310-ab6ab510e079,
|
26
27
|
remote_id: 19202938,
|
28
|
+
created_at: 2021-09-15T00:00Z,
|
29
|
+
modified_at: 2021-10-16T00:00Z,
|
27
30
|
run_state: PAID,
|
28
31
|
run_type: REGULAR,
|
29
32
|
start_date: 2020-11-08T00:00Z,
|
30
33
|
end_date: 2020-11-15T00:00Z,
|
31
34
|
check_date: 2020-11-15T00:00Z,
|
32
35
|
remote_was_deleted: null,
|
33
|
-
modified_at: 2021-10-16T00:00Z,
|
34
36
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
|
35
37
|
remote_data: [{"path":"/payroll","data":["Varies by platform"]}]
|
36
38
|
)
|
data/docs/PayrollRunsApi.md
CHANGED
@@ -45,7 +45,7 @@ opts = {
|
|
45
45
|
remote_fields: 'run_state', # String | Deprecated. Use show_enum_origins.
|
46
46
|
remote_id: 'remote_id_example', # String | The API provider's ID for the given object.
|
47
47
|
run_type: 'CORRECTION', # String | If provided, will only return PayrollRun's with this status. Options: ('REGULAR', 'OFF_CYCLE', 'CORRECTION', 'TERMINATION', 'SIGN_ON_BONUS') * `REGULAR` - REGULAR * `OFF_CYCLE` - OFF_CYCLE * `CORRECTION` - CORRECTION * `TERMINATION` - TERMINATION * `SIGN_ON_BONUS` - SIGN_ON_BONUS
|
48
|
-
show_enum_origins: 'run_state', # String |
|
48
|
+
show_enum_origins: 'run_state', # 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
|
started_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return payroll runs started after this datetime.
|
50
50
|
started_before: Time.parse('2013-10-20T19:20:30+01:00') # Time | If provided, will only return payroll runs started before this datetime.
|
51
51
|
}
|
@@ -95,7 +95,7 @@ end
|
|
95
95
|
| **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
|
96
96
|
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
97
97
|
| **run_type** | **String** | If provided, will only return PayrollRun's with this status. Options: ('REGULAR', 'OFF_CYCLE', 'CORRECTION', 'TERMINATION', 'SIGN_ON_BONUS') * `REGULAR` - REGULAR * `OFF_CYCLE` - OFF_CYCLE * `CORRECTION` - CORRECTION * `TERMINATION` - TERMINATION * `SIGN_ON_BONUS` - SIGN_ON_BONUS | [optional] |
|
98
|
-
| **show_enum_origins** | **String** |
|
98
|
+
| **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] |
|
99
99
|
| **started_after** | **Time** | If provided, will only return payroll runs started after this datetime. | [optional] |
|
100
100
|
| **started_before** | **Time** | If provided, will only return payroll runs started before this datetime. | [optional] |
|
101
101
|
|
@@ -140,7 +140,7 @@ id = TODO # String |
|
|
140
140
|
opts = {
|
141
141
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
142
142
|
remote_fields: 'run_state', # String | Deprecated. Use show_enum_origins.
|
143
|
-
show_enum_origins: 'run_state' # String |
|
143
|
+
show_enum_origins: 'run_state' # 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)
|
144
144
|
}
|
145
145
|
|
146
146
|
begin
|
@@ -178,7 +178,7 @@ end
|
|
178
178
|
| **id** | [**String**](.md) | | |
|
179
179
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
180
180
|
| **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
|
181
|
-
| **show_enum_origins** | **String** |
|
181
|
+
| **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] |
|
182
182
|
|
183
183
|
### Return type
|
184
184
|
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# MergeHRISClient::RemoteEndpointInfo
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **method** | **String** | | |
|
8
|
+
| **url_path** | **String** | | |
|
9
|
+
| **field_traversal_path** | [**Array<AnyType>**](AnyType.md) | | |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'merge_hris_client'
|
15
|
+
|
16
|
+
instance = MergeHRISClient::RemoteEndpointInfo.new(
|
17
|
+
method: GET,
|
18
|
+
url_path: /example-url-path,
|
19
|
+
field_traversal_path: ["example_key_name"]
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|