merge_hris_client 3.0.0 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (197) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +27 -8
  3. data/docs/AccountIntegration.md +6 -2
  4. data/docs/BankInfo.md +9 -5
  5. data/docs/BankInfoApi.md +15 -11
  6. data/docs/Benefit.md +8 -4
  7. data/docs/BenefitsApi.md +6 -6
  8. data/docs/CommonModelScopeData.md +20 -0
  9. data/docs/CommonModelScopes.md +20 -0
  10. data/docs/CommonModelScopesApi.md +157 -0
  11. data/docs/CommonModelScopesBodyRequest.md +22 -0
  12. data/docs/CommonModelScopesDisabledModels.md +26 -0
  13. data/docs/CommonModelScopesDisabledModelsEnabledActionsEnum.md +15 -0
  14. data/docs/CommonModelScopesPostInnerDeserializerRequest.md +22 -0
  15. data/docs/CommonModelScopesUpdateSerializer.md +18 -0
  16. data/docs/CompaniesApi.md +4 -4
  17. data/docs/Company.md +7 -3
  18. data/docs/ConditionSchema.md +30 -0
  19. data/docs/ConditionTypeEnum.md +15 -0
  20. data/docs/DataPassthroughRequest.md +1 -1
  21. data/docs/Deduction.md +11 -5
  22. data/docs/Earning.md +10 -2
  23. data/docs/Employee.md +19 -15
  24. data/docs/EmployeePayrollRun.md +11 -7
  25. data/docs/EmployeePayrollRunsApi.md +4 -4
  26. data/docs/EmployeeRequest.md +16 -18
  27. data/docs/EmployeesApi.md +31 -18
  28. data/docs/Employment.md +14 -10
  29. data/docs/EmploymentsApi.md +13 -9
  30. data/docs/EnabledActionsEnum.md +15 -0
  31. data/docs/EndUserDetailsRequest.md +5 -3
  32. data/docs/ForceResyncApi.md +1 -1
  33. data/docs/Group.md +8 -4
  34. data/docs/GroupsApi.md +15 -9
  35. data/docs/Issue.md +10 -8
  36. data/docs/IssuesApi.md +6 -6
  37. data/docs/LinkToken.md +1 -1
  38. data/docs/LinkedAccountCondition.md +28 -0
  39. data/docs/LinkedAccountConditionRequest.md +22 -0
  40. data/docs/LinkedAccountSelectiveSyncConfiguration.md +18 -0
  41. data/docs/LinkedAccountSelectiveSyncConfigurationListRequest.md +18 -0
  42. data/docs/LinkedAccountSelectiveSyncConfigurationRequest.md +18 -0
  43. data/docs/LinkedAccountsApi.md +2 -2
  44. data/docs/Location.md +9 -5
  45. data/docs/LocationsApi.md +13 -9
  46. data/docs/MetaResponse.md +2 -0
  47. data/docs/MultipartFormFieldRequest.md +1 -1
  48. data/docs/OperatorSchema.md +20 -0
  49. data/docs/PaginatedConditionSchemaList.md +22 -0
  50. data/docs/PayGroup.md +7 -3
  51. data/docs/PayGroupsApi.md +4 -4
  52. data/docs/PayrollRun.md +9 -5
  53. data/docs/PayrollRunsApi.md +14 -10
  54. data/docs/SelectiveSyncApi.md +233 -0
  55. data/docs/SelectiveSyncConfigurationsUsageEnum.md +15 -0
  56. data/docs/SyncStatus.md +5 -3
  57. data/docs/SyncStatusApi.md +11 -15
  58. data/docs/Tax.md +9 -1
  59. data/docs/Team.md +8 -4
  60. data/docs/TeamsApi.md +4 -4
  61. data/docs/TimeOff.md +13 -9
  62. data/docs/TimeOffApi.md +16 -12
  63. data/docs/TimeOffBalance.md +10 -6
  64. data/docs/TimeOffBalancesApi.md +15 -11
  65. data/docs/TimeOffRequest.md +11 -9
  66. data/lib/merge_hris_client/api/bank_info_api.rb +24 -10
  67. data/lib/merge_hris_client/api/benefits_api.rb +6 -6
  68. data/lib/merge_hris_client/api/common_model_scopes_api.rb +146 -0
  69. data/lib/merge_hris_client/api/companies_api.rb +4 -4
  70. data/lib/merge_hris_client/api/employee_payroll_runs_api.rb +4 -4
  71. data/lib/merge_hris_client/api/employees_api.rb +44 -17
  72. data/lib/merge_hris_client/api/employments_api.rb +22 -8
  73. data/lib/merge_hris_client/api/force_resync_api.rb +2 -2
  74. data/lib/merge_hris_client/api/groups_api.rb +25 -8
  75. data/lib/merge_hris_client/api/issues_api.rb +6 -6
  76. data/lib/merge_hris_client/api/linked_accounts_api.rb +3 -3
  77. data/lib/merge_hris_client/api/locations_api.rb +22 -8
  78. data/lib/merge_hris_client/api/pay_groups_api.rb +4 -4
  79. data/lib/merge_hris_client/api/payroll_runs_api.rb +24 -10
  80. data/lib/merge_hris_client/api/selective_sync_api.rb +225 -0
  81. data/lib/merge_hris_client/api/sync_status_api.rb +2 -2
  82. data/lib/merge_hris_client/api/teams_api.rb +4 -4
  83. data/lib/merge_hris_client/api/time_off_api.rb +26 -12
  84. data/lib/merge_hris_client/api/time_off_balances_api.rb +24 -10
  85. data/lib/merge_hris_client/models/account_integration.rb +30 -8
  86. data/lib/merge_hris_client/models/bank_info.rb +39 -16
  87. data/lib/merge_hris_client/models/benefit.rb +38 -15
  88. data/lib/merge_hris_client/models/categories_enum.rb +3 -1
  89. data/lib/merge_hris_client/models/category_enum.rb +3 -1
  90. data/lib/merge_hris_client/models/common_model_scope_data.rb +234 -0
  91. data/lib/merge_hris_client/models/common_model_scopes.rb +234 -0
  92. data/lib/merge_hris_client/models/common_model_scopes_body_request.rb +274 -0
  93. data/lib/merge_hris_client/models/common_model_scopes_disabled_models.rb +283 -0
  94. data/lib/merge_hris_client/models/common_model_scopes_disabled_models_enabled_actions_enum.rb +45 -0
  95. data/lib/merge_hris_client/models/common_model_scopes_post_inner_deserializer_request.rb +274 -0
  96. data/lib/merge_hris_client/models/common_model_scopes_update_serializer.rb +226 -0
  97. data/lib/merge_hris_client/models/company.rb +37 -15
  98. data/lib/merge_hris_client/models/condition_schema.rb +298 -0
  99. data/lib/merge_hris_client/models/condition_type_enum.rb +50 -0
  100. data/lib/merge_hris_client/models/data_passthrough_request.rb +1 -0
  101. data/lib/merge_hris_client/models/deduction.rb +50 -17
  102. data/lib/merge_hris_client/models/earning.rb +51 -6
  103. data/lib/merge_hris_client/models/employee.rb +51 -23
  104. data/lib/merge_hris_client/models/employee_payroll_run.rb +41 -17
  105. data/lib/merge_hris_client/models/employee_request.rb +34 -39
  106. data/lib/merge_hris_client/models/employment.rb +44 -20
  107. data/lib/merge_hris_client/models/enabled_actions_enum.rb +45 -0
  108. data/lib/merge_hris_client/models/end_user_details_request.rb +20 -7
  109. data/lib/merge_hris_client/models/group.rb +38 -16
  110. data/lib/merge_hris_client/models/group_type_enum.rb +2 -1
  111. data/lib/merge_hris_client/models/issue.rb +16 -4
  112. data/lib/merge_hris_client/models/link_token.rb +0 -5
  113. data/lib/merge_hris_client/models/linked_account_condition.rb +282 -0
  114. data/lib/merge_hris_client/models/linked_account_condition_request.rb +269 -0
  115. data/lib/merge_hris_client/models/linked_account_selective_sync_configuration.rb +221 -0
  116. data/lib/merge_hris_client/models/linked_account_selective_sync_configuration_list_request.rb +226 -0
  117. data/lib/merge_hris_client/models/linked_account_selective_sync_configuration_request.rb +226 -0
  118. data/lib/merge_hris_client/models/location.rb +39 -17
  119. data/lib/merge_hris_client/models/meta_response.rb +12 -1
  120. data/lib/merge_hris_client/models/multipart_form_field_request.rb +1 -1
  121. data/lib/merge_hris_client/models/operator_schema.rb +229 -0
  122. data/lib/merge_hris_client/models/paginated_condition_schema_list.rb +240 -0
  123. data/lib/merge_hris_client/models/pay_frequency_enum.rb +2 -1
  124. data/lib/merge_hris_client/models/pay_group.rb +37 -15
  125. data/lib/merge_hris_client/models/pay_period_enum.rb +2 -1
  126. data/lib/merge_hris_client/models/payroll_run.rb +39 -17
  127. data/lib/merge_hris_client/models/selective_sync_configurations_usage_enum.rb +45 -0
  128. data/lib/merge_hris_client/models/sync_status.rb +13 -4
  129. data/lib/merge_hris_client/models/sync_status_status_enum.rb +2 -1
  130. data/lib/merge_hris_client/models/tax.rb +50 -5
  131. data/lib/merge_hris_client/models/team.rb +38 -15
  132. data/lib/merge_hris_client/models/time_off.rb +43 -19
  133. data/lib/merge_hris_client/models/time_off_balance.rb +40 -17
  134. data/lib/merge_hris_client/models/time_off_request.rb +36 -21
  135. data/lib/merge_hris_client/version.rb +1 -1
  136. data/lib/merge_hris_client.rb +20 -3
  137. data/spec/api/bank_info_api_spec.rb +7 -5
  138. data/spec/api/benefits_api_spec.rb +3 -3
  139. data/spec/api/common_model_scopes_api_spec.rb +58 -0
  140. data/spec/api/companies_api_spec.rb +2 -2
  141. data/spec/api/employee_payroll_runs_api_spec.rb +2 -2
  142. data/spec/api/employees_api_spec.rb +13 -6
  143. data/spec/api/employments_api_spec.rb +6 -4
  144. data/spec/api/force_resync_api_spec.rb +1 -1
  145. data/spec/api/groups_api_spec.rb +7 -4
  146. data/spec/api/issues_api_spec.rb +3 -3
  147. data/spec/api/linked_accounts_api_spec.rb +1 -1
  148. data/spec/api/locations_api_spec.rb +6 -4
  149. data/spec/api/pay_groups_api_spec.rb +2 -2
  150. data/spec/api/payroll_runs_api_spec.rb +7 -5
  151. data/spec/api/selective_sync_api_spec.rb +72 -0
  152. data/spec/api/sync_status_api_spec.rb +1 -1
  153. data/spec/api/teams_api_spec.rb +2 -2
  154. data/spec/api/time_off_api_spec.rb +8 -6
  155. data/spec/api/time_off_balances_api_spec.rb +7 -5
  156. data/spec/models/account_integration_spec.rb +12 -0
  157. data/spec/models/bank_info_spec.rb +14 -2
  158. data/spec/models/benefit_spec.rb +14 -2
  159. data/spec/models/common_model_scope_data_spec.rb +40 -0
  160. data/spec/models/common_model_scopes_body_request_spec.rb +46 -0
  161. data/spec/models/common_model_scopes_disabled_models_enabled_actions_enum_spec.rb +28 -0
  162. data/spec/models/common_model_scopes_disabled_models_spec.rb +58 -0
  163. data/spec/models/common_model_scopes_post_inner_deserializer_request_spec.rb +46 -0
  164. data/spec/models/common_model_scopes_spec.rb +40 -0
  165. data/spec/models/common_model_scopes_update_serializer_spec.rb +34 -0
  166. data/spec/models/company_spec.rb +14 -2
  167. data/spec/models/condition_schema_spec.rb +70 -0
  168. data/spec/models/condition_type_enum_spec.rb +28 -0
  169. data/spec/models/deduction_spec.rb +20 -2
  170. data/spec/models/earning_spec.rb +24 -0
  171. data/spec/models/employee_payroll_run_spec.rb +14 -2
  172. data/spec/models/employee_request_spec.rb +5 -11
  173. data/spec/models/employee_spec.rb +15 -3
  174. data/spec/models/employment_spec.rb +14 -2
  175. data/spec/models/enabled_actions_enum_spec.rb +28 -0
  176. data/spec/models/end_user_details_request_spec.rb +6 -0
  177. data/spec/models/group_spec.rb +14 -2
  178. data/spec/models/issue_spec.rb +6 -0
  179. data/spec/models/linked_account_condition_request_spec.rb +46 -0
  180. data/spec/models/linked_account_condition_spec.rb +64 -0
  181. data/spec/models/linked_account_selective_sync_configuration_list_request_spec.rb +34 -0
  182. data/spec/models/linked_account_selective_sync_configuration_request_spec.rb +34 -0
  183. data/spec/models/linked_account_selective_sync_configuration_spec.rb +34 -0
  184. data/spec/models/location_spec.rb +14 -2
  185. data/spec/models/meta_response_spec.rb +6 -0
  186. data/spec/models/operator_schema_spec.rb +40 -0
  187. data/spec/models/paginated_condition_schema_list_spec.rb +46 -0
  188. data/spec/models/pay_group_spec.rb +14 -2
  189. data/spec/models/payroll_run_spec.rb +14 -2
  190. data/spec/models/selective_sync_configurations_usage_enum_spec.rb +28 -0
  191. data/spec/models/sync_status_spec.rb +6 -0
  192. data/spec/models/tax_spec.rb +24 -0
  193. data/spec/models/team_spec.rb +14 -2
  194. data/spec/models/time_off_balance_spec.rb +14 -2
  195. data/spec/models/time_off_request_spec.rb +12 -6
  196. data/spec/models/time_off_spec.rb +14 -2
  197. metadata +184 -104
@@ -39,12 +39,13 @@ opts = {
39
39
  expand: 'employee', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
40
40
  include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
41
41
  include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
42
- modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
43
- modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified before this datetime.
42
+ 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.
43
+ 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.
44
44
  order_by: '-effective_date', # String | Overrides the default ordering for this endpoint.
45
45
  page_size: 56, # Integer | Number of results to return per page.
46
- remote_fields: 'employment_type', # String | Which fields should be returned in non-normalized form.
47
- remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
46
+ remote_fields: 'employment_type', # String | Deprecated. Use show_enum_origins.
47
+ remote_id: 'remote_id_example', # String | The API provider's ID for the given object.
48
+ show_enum_origins: 'employment_type' # String | Which fields should be returned in non-normalized form.
48
49
  }
49
50
 
50
51
  begin
@@ -86,12 +87,13 @@ end
86
87
  | **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
87
88
  | **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
88
89
  | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
89
- | **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
90
- | **modified_before** | **Time** | If provided, will only return objects modified before this datetime. | [optional] |
90
+ | **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
91
+ | **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
91
92
  | **order_by** | **String** | Overrides the default ordering for this endpoint. | [optional] |
92
93
  | **page_size** | **Integer** | Number of results to return per page. | [optional] |
93
- | **remote_fields** | **String** | Which fields should be returned in non-normalized form. | [optional] |
94
+ | **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
94
95
  | **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
96
+ | **show_enum_origins** | **String** | Which fields should be returned in non-normalized form. | [optional] |
95
97
 
96
98
  ### Return type
97
99
 
@@ -134,7 +136,8 @@ id = TODO # String |
134
136
  opts = {
135
137
  expand: 'employee', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
136
138
  include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
137
- remote_fields: 'employment_type' # String | Which fields should be returned in non-normalized form.
139
+ remote_fields: 'employment_type', # String | Deprecated. Use show_enum_origins.
140
+ show_enum_origins: 'employment_type' # String | Which fields should be returned in non-normalized form.
138
141
  }
139
142
 
140
143
  begin
@@ -172,7 +175,8 @@ end
172
175
  | **id** | [**String**](.md) | | |
173
176
  | **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
174
177
  | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
175
- | **remote_fields** | **String** | Which fields should be returned in non-normalized form. | [optional] |
178
+ | **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
179
+ | **show_enum_origins** | **String** | Which fields should be returned in non-normalized form. | [optional] |
176
180
 
177
181
  ### Return type
178
182
 
@@ -0,0 +1,15 @@
1
+ # MergeHRISClient::EnabledActionsEnum
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::EnabledActionsEnum.new()
14
+ ```
15
+
@@ -4,13 +4,14 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **end_user_email_address** | **String** | Your end user's email address. | |
7
+ | **end_user_email_address** | **String** | Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. | |
8
8
  | **end_user_organization_name** | **String** | Your end user's organization. | |
9
- | **end_user_origin_id** | **String** | Unique ID for your end user. | |
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
11
  | **integration** | **String** | The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://www.merge.dev/docs/basics/integration-metadata/. | [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/product/integrations,-fast.-say-hello-to-magic-link/. | [optional][default to false] |
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] |
14
15
 
15
16
  ## Example
16
17
 
@@ -24,7 +25,8 @@ instance = MergeHRISClient::EndUserDetailsRequest.new(
24
25
  categories: null,
25
26
  integration: null,
26
27
  link_expiry_mins: null,
27
- should_create_magic_link_url: null
28
+ should_create_magic_link_url: null,
29
+ common_models: null
28
30
  )
29
31
  ```
30
32
 
@@ -13,7 +13,7 @@ All URIs are relative to *https://api.merge.dev/api/hris/v1*
13
13
 
14
14
 
15
15
 
16
- Force re-sync of all models. This is only available for organizations on Merge's Grow and Expand plans.
16
+ Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Core, Professional, or Enterprise plans. Doing so will consume a sync credit for the relevant linked account.
17
17
 
18
18
  ### Examples
19
19
 
data/docs/Group.md CHANGED
@@ -8,9 +8,11 @@
8
8
  | **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
9
9
  | **parent_group** | **String** | The parent group for this group. | [optional] |
10
10
  | **name** | **String** | The group name. | [optional] |
11
- | **type** | [**GroupTypeEnum**](GroupTypeEnum.md) | The group type | [optional] |
12
- | **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
11
+ | **type** | [**GroupTypeEnum**](GroupTypeEnum.md) | The group type * `TEAM` - TEAM * `DEPARTMENT` - DEPARTMENT * `COST_CENTER` - COST_CENTER * `BUSINESS_UNIT` - BUSINESS_UNIT * `GROUP` - GROUP | [optional] |
13
12
  | **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
13
+ | **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
14
+ | **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
15
+ | **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
14
16
 
15
17
  ## Example
16
18
 
@@ -23,8 +25,10 @@ instance = MergeHRISClient::Group.new(
23
25
  parent_group: 2ef51b11-2c4e-4b02-8d1d-50592d9e96ef,
24
26
  name: COST_CENTER_US,
25
27
  type: COST_CENTER,
26
- remote_data: [{"path":"/group","data":["Varies by platform"]}],
27
- remote_was_deleted: null
28
+ remote_was_deleted: null,
29
+ field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
30
+ modified_at: 2021-10-16T00:00Z,
31
+ remote_data: [{"path":"/group","data":["Varies by platform"]}]
28
32
  )
29
33
  ```
30
34
 
data/docs/GroupsApi.md CHANGED
@@ -37,11 +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
- modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
41
- modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified before this datetime.
40
+ 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
+ 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
42
  page_size: 56, # Integer | Number of results to return per page.
43
- remote_fields: 'type', # String | Which fields should be returned in non-normalized form.
44
- remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
43
+ remote_fields: 'type', # String | Deprecated. Use show_enum_origins.
44
+ remote_id: 'remote_id_example', # String | The API provider's ID for the given object.
45
+ show_enum_origins: 'type', # String | Which fields should be returned in non-normalized form.
46
+ types: 'types_example' # String | If provided, will only return groups of these types. Multiple values can be separated by commas.
45
47
  }
46
48
 
47
49
  begin
@@ -81,11 +83,13 @@ end
81
83
  | **cursor** | **String** | The pagination cursor value. | [optional] |
82
84
  | **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
83
85
  | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
84
- | **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
85
- | **modified_before** | **Time** | If provided, will only return objects modified before this datetime. | [optional] |
86
+ | **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
87
+ | **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
86
88
  | **page_size** | **Integer** | Number of results to return per page. | [optional] |
87
- | **remote_fields** | **String** | Which fields should be returned in non-normalized form. | [optional] |
89
+ | **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
88
90
  | **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
91
+ | **show_enum_origins** | **String** | Which fields should be returned in non-normalized form. | [optional] |
92
+ | **types** | **String** | If provided, will only return groups of these types. Multiple values can be separated by commas. | [optional] |
89
93
 
90
94
  ### Return type
91
95
 
@@ -127,7 +131,8 @@ x_account_token = 'x_account_token_example' # String | Token identifying the end
127
131
  id = TODO # String |
128
132
  opts = {
129
133
  include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
130
- remote_fields: 'type' # String | Which fields should be returned in non-normalized form.
134
+ remote_fields: 'type', # String | Deprecated. Use show_enum_origins.
135
+ show_enum_origins: 'type' # String | Which fields should be returned in non-normalized form.
131
136
  }
132
137
 
133
138
  begin
@@ -164,7 +169,8 @@ end
164
169
  | **x_account_token** | **String** | Token identifying the end user. | |
165
170
  | **id** | [**String**](.md) | | |
166
171
  | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
167
- | **remote_fields** | **String** | Which fields should be returned in non-normalized form. | [optional] |
172
+ | **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
173
+ | **show_enum_origins** | **String** | Which fields should be returned in non-normalized form. | [optional] |
168
174
 
169
175
  ### Return type
170
176
 
data/docs/Issue.md CHANGED
@@ -5,12 +5,13 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **id** | **String** | | [optional][readonly] |
8
- | **status** | [**IssueStatusEnum**](IssueStatusEnum.md) | | [optional] |
8
+ | **status** | [**IssueStatusEnum**](IssueStatusEnum.md) | Status of the issue. Options: ('ONGOING', 'RESOLVED') * `ONGOING` - ONGOING * `RESOLVED` - RESOLVED | [optional] |
9
9
  | **error_description** | **String** | | |
10
10
  | **end_user** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
11
11
  | **first_incident_time** | **Time** | | [optional] |
12
12
  | **last_incident_time** | **Time** | | [optional] |
13
13
  | **is_muted** | **Boolean** | | [optional][readonly] |
14
+ | **error_details** | **Array<String>** | | [optional][readonly] |
14
15
 
15
16
  ## Example
16
17
 
@@ -18,13 +19,14 @@
18
19
  require 'merge_hris_client'
19
20
 
20
21
  instance = MergeHRISClient::Issue.new(
21
- id: null,
22
- status: null,
23
- error_description: null,
24
- end_user: null,
25
- first_incident_time: null,
26
- last_incident_time: null,
27
- is_muted: null
22
+ id: 3fa85f64-5717-4562-b3fc-2c963f66afa6,
23
+ status: ONGOING,
24
+ error_description: string,
25
+ end_user: b82302de-852e-4e60-b050-edf9da3b7c02,
26
+ first_incident_time: 2022-12-05T16:19:15.161Z,
27
+ last_incident_time: 2022-12-05T16:19:15.161Z,
28
+ is_muted: true,
29
+ error_details: ["Missing employee permissions.","Missing time off permissions."]
28
30
  )
29
31
  ```
30
32
 
data/docs/IssuesApi.md CHANGED
@@ -39,11 +39,11 @@ opts = {
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
40
  include_muted: 'include_muted_example', # String | If True, will include muted issues
41
41
  integration_name: 'integration_name_example', # String |
42
- last_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.
43
- last_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.
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
+ 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
44
  page_size: 56, # Integer | Number of results to return per page.
45
45
  start_date: 'start_date_example', # String | If included, will only include issues whose most recent action occurred after this time
46
- status: 'ONGOING' # String |
46
+ status: 'ONGOING' # String | Status of the issue. Options: ('ONGOING', 'RESOLVED') * `ONGOING` - ONGOING * `RESOLVED` - RESOLVED
47
47
  }
48
48
 
49
49
  begin
@@ -85,11 +85,11 @@ end
85
85
  | **first_incident_time_before** | **Time** | If provided, will only return issues whose first incident time was before this datetime. | [optional] |
86
86
  | **include_muted** | **String** | If True, will include muted issues | [optional] |
87
87
  | **integration_name** | **String** | | [optional] |
88
- | **last_incident_time_after** | **Time** | If provided, will only return issues whose first incident time was after this datetime. | [optional] |
89
- | **last_incident_time_before** | **Time** | If provided, will only return issues whose first incident time was before this datetime. | [optional] |
88
+ | **last_incident_time_after** | **Time** | If provided, will only return issues whose last incident time was after this datetime. | [optional] |
89
+ | **last_incident_time_before** | **Time** | If provided, will only return issues whose last incident time was before this datetime. | [optional] |
90
90
  | **page_size** | **Integer** | Number of results to return per page. | [optional] |
91
91
  | **start_date** | **String** | If included, will only include issues whose most recent action occurred after this time | [optional] |
92
- | **status** | **String** | | [optional] |
92
+ | **status** | **String** | Status of the issue. Options: ('ONGOING', 'RESOLVED') * `ONGOING` - ONGOING * `RESOLVED` - RESOLVED | [optional] |
93
93
 
94
94
  ### Return type
95
95
 
data/docs/LinkToken.md CHANGED
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **link_token** | **String** | | |
8
- | **integration_name** | **String** | | |
8
+ | **integration_name** | **String** | | [optional] |
9
9
  | **magic_link_url** | **String** | | [optional] |
10
10
 
11
11
  ## Example
@@ -0,0 +1,28 @@
1
+ # MergeHRISClient::LinkedAccountCondition
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **condition_schema_id** | **String** | The ID indicating which condition schema to use for a specific condition. | |
8
+ | **common_model** | **String** | The common model for a specific condition. | [optional][readonly] |
9
+ | **native_name** | **String** | User-facing *native condition* name. e.g. \"Skip Manager\". | |
10
+ | **operator** | **String** | The operator for a specific condition. | |
11
+ | **value** | [**AnyType**](.md) | The value for a condition. | [optional][readonly] |
12
+ | **field_name** | **String** | The name of the field on the common model that this condition corresponds to, if they conceptually match. e.g. \"location_type\". | |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'merge_hris_client'
18
+
19
+ instance = MergeHRISClient::LinkedAccountCondition.new(
20
+ condition_schema_id: null,
21
+ common_model: null,
22
+ native_name: null,
23
+ operator: null,
24
+ value: null,
25
+ field_name: null
26
+ )
27
+ ```
28
+
@@ -0,0 +1,22 @@
1
+ # MergeHRISClient::LinkedAccountConditionRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **condition_schema_id** | **String** | The ID indicating which condition schema to use for a specific condition. | |
8
+ | **operator** | **String** | The operator for a specific condition. | |
9
+ | **value** | [**AnyType**](.md) | The value for a specific condition. | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'merge_hris_client'
15
+
16
+ instance = MergeHRISClient::LinkedAccountConditionRequest.new(
17
+ condition_schema_id: null,
18
+ operator: null,
19
+ value: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,18 @@
1
+ # MergeHRISClient::LinkedAccountSelectiveSyncConfiguration
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **linked_account_conditions** | [**Array<LinkedAccountCondition>**](LinkedAccountCondition.md) | The conditions belonging to a selective sync. | [optional][readonly] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'merge_hris_client'
13
+
14
+ instance = MergeHRISClient::LinkedAccountSelectiveSyncConfiguration.new(
15
+ linked_account_conditions: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # MergeHRISClient::LinkedAccountSelectiveSyncConfigurationListRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **sync_configurations** | [**Array<LinkedAccountSelectiveSyncConfigurationRequest>**](LinkedAccountSelectiveSyncConfigurationRequest.md) | The selective syncs associated with a linked account. | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'merge_hris_client'
13
+
14
+ instance = MergeHRISClient::LinkedAccountSelectiveSyncConfigurationListRequest.new(
15
+ sync_configurations: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # MergeHRISClient::LinkedAccountSelectiveSyncConfigurationRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **linked_account_conditions** | [**Array<LinkedAccountConditionRequest>**](LinkedAccountConditionRequest.md) | The conditions belonging to a selective sync. | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'merge_hris_client'
13
+
14
+ instance = MergeHRISClient::LinkedAccountSelectiveSyncConfigurationRequest.new(
15
+ linked_account_conditions: null
16
+ )
17
+ ```
18
+
@@ -30,7 +30,7 @@ end
30
30
 
31
31
  api_instance = MergeHRISClient::LinkedAccountsApi.new
32
32
  opts = {
33
- category: 'accounting', # String |
33
+ category: 'accounting', # String | * `hris` - hris * `ats` - ats * `accounting` - accounting * `ticketing` - ticketing * `crm` - crm * `mktg` - mktg * `filestorage` - filestorage * `hris` - hris * `ats` - ats * `accounting` - accounting * `ticketing` - ticketing * `crm` - crm * `mktg` - mktg * `filestorage` - filestorage
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** | | [optional] |
79
+ | **category** | **String** | * `hris` - hris * `ats` - ats * `accounting` - accounting * `ticketing` - ticketing * `crm` - crm * `mktg` - mktg * `filestorage` - filestorage * `hris` - hris * `ats` - ats * `accounting` - accounting * `ticketing` - ticketing * `crm` - crm * `mktg` - mktg * `filestorage` - filestorage | [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
@@ -13,10 +13,12 @@
13
13
  | **city** | **String** | The location's city. | [optional] |
14
14
  | **state** | **String** | The location's state. Represents a region if outside of the US. | [optional] |
15
15
  | **zip_code** | **String** | The location's zip code or postal code. | [optional] |
16
- | **country** | [**CountryEnum**](CountryEnum.md) | The location's country. | [optional] |
17
- | **location_type** | [**LocationTypeEnum**](LocationTypeEnum.md) | The location's type. Can be either WORK or HOME | [optional] |
18
- | **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
16
+ | **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
+ | **location_type** | [**LocationTypeEnum**](LocationTypeEnum.md) | The location's type. Can be either WORK or HOME * `HOME` - HOME * `WORK` - WORK | [optional] |
19
18
  | **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
19
+ | **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
20
+ | **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
21
+ | **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
20
22
 
21
23
  ## Example
22
24
 
@@ -35,8 +37,10 @@ instance = MergeHRISClient::Location.new(
35
37
  zip_code: 10027,
36
38
  country: USA,
37
39
  location_type: WORK,
38
- remote_data: [{"path":"/locations","data":["Varies by platform"]}],
39
- remote_was_deleted: null
40
+ remote_was_deleted: null,
41
+ field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
42
+ modified_at: 2021-10-16T00:00Z,
43
+ remote_data: [{"path":"/locations","data":["Varies by platform"]}]
40
44
  )
41
45
  ```
42
46
 
data/docs/LocationsApi.md CHANGED
@@ -37,11 +37,12 @@ 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
- modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
41
- modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified before this datetime.
40
+ 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
+ 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
42
  page_size: 56, # Integer | Number of results to return per page.
43
- remote_fields: 'location_type', # String | Which fields should be returned in non-normalized form.
44
- remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
43
+ remote_fields: 'location_type', # String | Deprecated. Use show_enum_origins.
44
+ remote_id: 'remote_id_example', # String | The API provider's ID for the given object.
45
+ show_enum_origins: 'location_type' # String | Which fields should be returned in non-normalized form.
45
46
  }
46
47
 
47
48
  begin
@@ -81,11 +82,12 @@ end
81
82
  | **cursor** | **String** | The pagination cursor value. | [optional] |
82
83
  | **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
83
84
  | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
84
- | **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
85
- | **modified_before** | **Time** | If provided, will only return objects modified before this datetime. | [optional] |
85
+ | **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
86
+ | **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
86
87
  | **page_size** | **Integer** | Number of results to return per page. | [optional] |
87
- | **remote_fields** | **String** | Which fields should be returned in non-normalized form. | [optional] |
88
+ | **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
88
89
  | **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
90
+ | **show_enum_origins** | **String** | Which fields should be returned in non-normalized form. | [optional] |
89
91
 
90
92
  ### Return type
91
93
 
@@ -127,7 +129,8 @@ x_account_token = 'x_account_token_example' # String | Token identifying the end
127
129
  id = TODO # String |
128
130
  opts = {
129
131
  include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
130
- remote_fields: 'location_type' # String | Which fields should be returned in non-normalized form.
132
+ remote_fields: 'location_type', # String | Deprecated. Use show_enum_origins.
133
+ show_enum_origins: 'location_type' # String | Which fields should be returned in non-normalized form.
131
134
  }
132
135
 
133
136
  begin
@@ -164,7 +167,8 @@ end
164
167
  | **x_account_token** | **String** | Token identifying the end user. | |
165
168
  | **id** | [**String**](.md) | | |
166
169
  | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
167
- | **remote_fields** | **String** | Which fields should be returned in non-normalized form. | [optional] |
170
+ | **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
171
+ | **show_enum_origins** | **String** | Which fields should be returned in non-normalized form. | [optional] |
168
172
 
169
173
  ### Return type
170
174
 
data/docs/MetaResponse.md CHANGED
@@ -5,6 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **request_schema** | [**Hash<String, AnyType>**](AnyType.md) | | |
8
+ | **remote_field_classes** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
8
9
  | **status** | [**LinkedAccountStatus**](LinkedAccountStatus.md) | | [optional] |
9
10
  | **has_conditional_params** | **Boolean** | | |
10
11
  | **has_required_linked_account_params** | **Boolean** | | |
@@ -16,6 +17,7 @@ require 'merge_hris_client'
16
17
 
17
18
  instance = MergeHRISClient::MetaResponse.new(
18
19
  request_schema: null,
20
+ remote_field_classes: null,
19
21
  status: null,
20
22
  has_conditional_params: null,
21
23
  has_required_linked_account_params: null
@@ -6,7 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **name** | **String** | The name of the form field | |
8
8
  | **data** | **String** | The data for the form field. | |
9
- | **encoding** | [**EncodingEnum**](EncodingEnum.md) | The encoding of the value of `data`. Defaults to `RAW` if not defined. | [optional] |
9
+ | **encoding** | [**EncodingEnum**](EncodingEnum.md) | The encoding of the value of `data`. Defaults to `RAW` if not defined. * `RAW` - RAW * `BASE64` - BASE64 * `GZIP_BASE64` - GZIP_BASE64 | [optional] |
10
10
  | **file_name** | **String** | The file name of the form field, if the field is for a file. | [optional] |
11
11
  | **content_type** | **String** | The MIME type of the file, if the field is for a file. | [optional] |
12
12
 
@@ -0,0 +1,20 @@
1
+ # MergeHRISClient::OperatorSchema
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **operator** | **String** | The operator for which an operator schema is defined. | [optional][readonly] |
8
+ | **is_unique** | **Boolean** | Whether the operator can be repeated multiple times. | [optional][readonly] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'merge_hris_client'
14
+
15
+ instance = MergeHRISClient::OperatorSchema.new(
16
+ operator: null,
17
+ is_unique: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,22 @@
1
+ # MergeHRISClient::PaginatedConditionSchemaList
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **_next** | **String** | | [optional] |
8
+ | **previous** | **String** | | [optional] |
9
+ | **results** | [**Array<ConditionSchema>**](ConditionSchema.md) | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'merge_hris_client'
15
+
16
+ instance = MergeHRISClient::PaginatedConditionSchemaList.new(
17
+ _next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw,
18
+ previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ,
19
+ results: null
20
+ )
21
+ ```
22
+
data/docs/PayGroup.md CHANGED
@@ -7,8 +7,10 @@
7
7
  | **id** | **String** | | [optional][readonly] |
8
8
  | **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
9
9
  | **pay_group_name** | **String** | The pay group name. | [optional] |
10
- | **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
11
10
  | **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
11
+ | **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
12
+ | **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
13
+ | **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
12
14
 
13
15
  ## Example
14
16
 
@@ -19,8 +21,10 @@ instance = MergeHRISClient::PayGroup.new(
19
21
  id: fd1e0fb5-8f92-4ec9-9f32-179cf732867d,
20
22
  remote_id: 800293,
21
23
  pay_group_name: contractor,
22
- remote_data: [{"path":"/pay-group","data":["Varies by platform"]}],
23
- remote_was_deleted: null
24
+ remote_was_deleted: null,
25
+ field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
26
+ modified_at: 2021-10-16T00:00Z,
27
+ remote_data: [{"path":"/pay-group","data":["Varies by platform"]}]
24
28
  )
25
29
  ```
26
30