merge_hris_client 3.2.0 → 3.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +18 -13
  3. data/docs/AsyncPassthroughApi.md +155 -0
  4. data/docs/AsyncPassthroughReciept.md +18 -0
  5. data/docs/BankInfo.md +2 -2
  6. data/docs/BankInfoApi.md +2 -2
  7. data/docs/Benefit.md +9 -3
  8. data/docs/BenefitPlanTypeEnum.md +15 -0
  9. data/docs/Company.md +2 -2
  10. data/docs/Deduction.md +2 -2
  11. data/docs/DeleteAccountApi.md +9 -9
  12. data/docs/Dependent.md +50 -0
  13. data/docs/DependentsApi.md +181 -0
  14. data/docs/Earning.md +2 -2
  15. data/docs/Employee.md +2 -2
  16. data/docs/EmployeePayrollRun.md +2 -2
  17. data/docs/EmployerBenefit.md +36 -0
  18. data/docs/EmployerBenefitsApi.md +177 -0
  19. data/docs/Employment.md +2 -2
  20. data/docs/EmploymentsApi.md +2 -2
  21. data/docs/EndUserDetailsRequest.md +1 -1
  22. data/docs/Group.md +2 -2
  23. data/docs/LinkedAccountsApi.md +2 -2
  24. data/docs/Location.md +3 -3
  25. data/docs/PaginatedDependentList.md +22 -0
  26. data/docs/PaginatedEmployerBenefitList.md +22 -0
  27. data/docs/PayGroup.md +2 -2
  28. data/docs/PayrollRun.md +2 -2
  29. data/docs/RelationshipEnum.md +15 -0
  30. data/docs/RemoteData.md +1 -1
  31. data/docs/SyncStatusApi.md +15 -11
  32. data/docs/Tax.md +2 -2
  33. data/docs/Team.md +2 -2
  34. data/docs/TimeOff.md +2 -2
  35. data/docs/TimeOffBalance.md +2 -2
  36. data/lib/merge_hris_client/api/async_passthrough_api.rb +160 -0
  37. data/lib/merge_hris_client/api/bank_info_api.rb +2 -2
  38. data/lib/merge_hris_client/api/delete_account_api.rb +7 -7
  39. data/lib/merge_hris_client/api/dependents_api.rb +188 -0
  40. data/lib/merge_hris_client/api/employer_benefits_api.rb +182 -0
  41. data/lib/merge_hris_client/api/employments_api.rb +2 -2
  42. data/lib/merge_hris_client/api/linked_accounts_api.rb +2 -2
  43. data/lib/merge_hris_client/api/sync_status_api.rb +2 -2
  44. data/lib/merge_hris_client/models/async_passthrough_reciept.rb +223 -0
  45. data/lib/merge_hris_client/models/bank_info.rb +10 -10
  46. data/lib/merge_hris_client/models/benefit.rb +42 -9
  47. data/lib/merge_hris_client/models/benefit_plan_type_enum.rb +48 -0
  48. data/lib/merge_hris_client/models/company.rb +10 -10
  49. data/lib/merge_hris_client/models/deduction.rb +10 -10
  50. data/lib/merge_hris_client/models/dependent.rb +470 -0
  51. data/lib/merge_hris_client/models/earning.rb +10 -10
  52. data/lib/merge_hris_client/models/employee.rb +10 -10
  53. data/lib/merge_hris_client/models/employee_payroll_run.rb +10 -10
  54. data/lib/merge_hris_client/models/employer_benefit.rb +363 -0
  55. data/lib/merge_hris_client/models/employment.rb +10 -10
  56. data/lib/merge_hris_client/models/end_user_details_request.rb +1 -1
  57. data/lib/merge_hris_client/models/group.rb +10 -10
  58. data/lib/merge_hris_client/models/location.rb +10 -10
  59. data/lib/merge_hris_client/models/paginated_dependent_list.rb +240 -0
  60. data/lib/merge_hris_client/models/paginated_employer_benefit_list.rb +240 -0
  61. data/lib/merge_hris_client/models/pay_group.rb +10 -10
  62. data/lib/merge_hris_client/models/payroll_run.rb +10 -10
  63. data/lib/merge_hris_client/models/relationship_enum.rb +46 -0
  64. data/lib/merge_hris_client/models/remote_data.rb +3 -4
  65. data/lib/merge_hris_client/models/sync_status_status_enum.rb +1 -1
  66. data/lib/merge_hris_client/models/tax.rb +10 -10
  67. data/lib/merge_hris_client/models/team.rb +10 -10
  68. data/lib/merge_hris_client/models/time_off.rb +10 -10
  69. data/lib/merge_hris_client/models/time_off_balance.rb +10 -10
  70. data/lib/merge_hris_client/version.rb +1 -1
  71. data/lib/merge_hris_client.rb +16 -2
  72. data/spec/api/async_passthrough_api_spec.rb +59 -0
  73. data/spec/api/bank_info_api_spec.rb +1 -1
  74. data/spec/api/delete_account_api_spec.rb +2 -2
  75. data/spec/api/dependents_api_spec.rb +70 -0
  76. data/spec/api/employer_benefits_api_spec.rb +68 -0
  77. data/spec/api/employments_api_spec.rb +1 -1
  78. data/spec/api/linked_accounts_api_spec.rb +1 -1
  79. data/spec/api/sync_status_api_spec.rb +1 -1
  80. data/spec/models/async_passthrough_reciept_spec.rb +34 -0
  81. data/spec/models/bank_info_spec.rb +2 -2
  82. data/spec/models/benefit_plan_type_enum_spec.rb +28 -0
  83. data/spec/models/benefit_spec.rb +19 -1
  84. data/spec/models/company_spec.rb +2 -2
  85. data/spec/models/deduction_spec.rb +2 -2
  86. data/spec/models/dependent_spec.rb +130 -0
  87. data/spec/models/earning_spec.rb +2 -2
  88. data/spec/models/employee_payroll_run_spec.rb +2 -2
  89. data/spec/models/employee_spec.rb +2 -2
  90. data/spec/models/employer_benefit_spec.rb +88 -0
  91. data/spec/models/employment_spec.rb +2 -2
  92. data/spec/models/group_spec.rb +2 -2
  93. data/spec/models/location_spec.rb +2 -2
  94. data/spec/models/paginated_dependent_list_spec.rb +46 -0
  95. data/spec/models/paginated_employer_benefit_list_spec.rb +46 -0
  96. data/spec/models/pay_group_spec.rb +2 -2
  97. data/spec/models/payroll_run_spec.rb +2 -2
  98. data/spec/models/relationship_enum_spec.rb +28 -0
  99. data/spec/models/tax_spec.rb +2 -2
  100. data/spec/models/team_spec.rb +2 -2
  101. data/spec/models/time_off_balance_spec.rb +2 -2
  102. data/spec/models/time_off_spec.rb +2 -2
  103. metadata +160 -120
@@ -0,0 +1,181 @@
1
+ # MergeHRISClient::DependentsApi
2
+
3
+ All URIs are relative to *https://api.merge.dev/api/hris/v1*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**dependents_list**](DependentsApi.md#dependents_list) | **GET** /dependents | |
8
+ | [**dependents_retrieve**](DependentsApi.md#dependents_retrieve) | **GET** /dependents/{id} | |
9
+
10
+
11
+ ## dependents_list
12
+
13
+ > <PaginatedDependentList> dependents_list(x_account_token, opts)
14
+
15
+
16
+
17
+ Returns a list of `Dependent` objects.
18
+
19
+ ### Examples
20
+
21
+ ```ruby
22
+ require 'time'
23
+ require 'merge_hris_client'
24
+ # setup authorization
25
+ MergeHRISClient.configure do |config|
26
+ # Configure API key authorization: tokenAuth
27
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
28
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
29
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
30
+ end
31
+
32
+ api_instance = MergeHRISClient::DependentsApi.new
33
+ x_account_token = 'x_account_token_example' # String | Token identifying the end user.
34
+ opts = {
35
+ created_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created after this datetime.
36
+ created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
37
+ cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
38
+ include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
39
+ include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
40
+ include_sensitive_fields: true, # Boolean | Whether to include sensitive fields (such as social security numbers) in the response.
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.
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
+ page_size: 56, # Integer | Number of results to return per page.
44
+ remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
45
+ }
46
+
47
+ begin
48
+
49
+ result = api_instance.dependents_list(x_account_token, opts)
50
+ p result
51
+ rescue MergeHRISClient::ApiError => e
52
+ puts "Error when calling DependentsApi->dependents_list: #{e}"
53
+ end
54
+ ```
55
+
56
+ #### Using the dependents_list_with_http_info variant
57
+
58
+ This returns an Array which contains the response data, status code and headers.
59
+
60
+ > <Array(<PaginatedDependentList>, Integer, Hash)> dependents_list_with_http_info(x_account_token, opts)
61
+
62
+ ```ruby
63
+ begin
64
+
65
+ data, status_code, headers = api_instance.dependents_list_with_http_info(x_account_token, opts)
66
+ p status_code # => 2xx
67
+ p headers # => { ... }
68
+ p data # => <PaginatedDependentList>
69
+ rescue MergeHRISClient::ApiError => e
70
+ puts "Error when calling DependentsApi->dependents_list_with_http_info: #{e}"
71
+ end
72
+ ```
73
+
74
+ ### Parameters
75
+
76
+ | Name | Type | Description | Notes |
77
+ | ---- | ---- | ----------- | ----- |
78
+ | **x_account_token** | **String** | Token identifying the end user. | |
79
+ | **created_after** | **Time** | If provided, will only return objects created after this datetime. | [optional] |
80
+ | **created_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
81
+ | **cursor** | **String** | The pagination cursor value. | [optional] |
82
+ | **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
83
+ | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
84
+ | **include_sensitive_fields** | **Boolean** | Whether to include sensitive fields (such as social security numbers) in the response. | [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] |
87
+ | **page_size** | **Integer** | Number of results to return per page. | [optional] |
88
+ | **remote_id** | **String** | The API provider&#39;s ID for the given object. | [optional] |
89
+
90
+ ### Return type
91
+
92
+ [**PaginatedDependentList**](PaginatedDependentList.md)
93
+
94
+ ### Authorization
95
+
96
+ [tokenAuth](../README.md#tokenAuth)
97
+
98
+ ### HTTP request headers
99
+
100
+ - **Content-Type**: Not defined
101
+ - **Accept**: application/json
102
+
103
+
104
+ ## dependents_retrieve
105
+
106
+ > <Dependent> dependents_retrieve(x_account_token, id, opts)
107
+
108
+
109
+
110
+ Returns a `Dependent` object with the given `id`.
111
+
112
+ ### Examples
113
+
114
+ ```ruby
115
+ require 'time'
116
+ require 'merge_hris_client'
117
+ # setup authorization
118
+ MergeHRISClient.configure do |config|
119
+ # Configure API key authorization: tokenAuth
120
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
121
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
122
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
123
+ end
124
+
125
+ api_instance = MergeHRISClient::DependentsApi.new
126
+ x_account_token = 'x_account_token_example' # String | Token identifying the end user.
127
+ id = TODO # String |
128
+ opts = {
129
+ include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
130
+ include_sensitive_fields: true # Boolean | Whether to include sensitive fields (such as social security numbers) in the response.
131
+ }
132
+
133
+ begin
134
+
135
+ result = api_instance.dependents_retrieve(x_account_token, id, opts)
136
+ p result
137
+ rescue MergeHRISClient::ApiError => e
138
+ puts "Error when calling DependentsApi->dependents_retrieve: #{e}"
139
+ end
140
+ ```
141
+
142
+ #### Using the dependents_retrieve_with_http_info variant
143
+
144
+ This returns an Array which contains the response data, status code and headers.
145
+
146
+ > <Array(<Dependent>, Integer, Hash)> dependents_retrieve_with_http_info(x_account_token, id, opts)
147
+
148
+ ```ruby
149
+ begin
150
+
151
+ data, status_code, headers = api_instance.dependents_retrieve_with_http_info(x_account_token, id, opts)
152
+ p status_code # => 2xx
153
+ p headers # => { ... }
154
+ p data # => <Dependent>
155
+ rescue MergeHRISClient::ApiError => e
156
+ puts "Error when calling DependentsApi->dependents_retrieve_with_http_info: #{e}"
157
+ end
158
+ ```
159
+
160
+ ### Parameters
161
+
162
+ | Name | Type | Description | Notes |
163
+ | ---- | ---- | ----------- | ----- |
164
+ | **x_account_token** | **String** | Token identifying the end user. | |
165
+ | **id** | [**String**](.md) | | |
166
+ | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
167
+ | **include_sensitive_fields** | **Boolean** | Whether to include sensitive fields (such as social security numbers) in the response. | [optional] |
168
+
169
+ ### Return type
170
+
171
+ [**Dependent**](Dependent.md)
172
+
173
+ ### Authorization
174
+
175
+ [tokenAuth](../README.md#tokenAuth)
176
+
177
+ ### HTTP request headers
178
+
179
+ - **Content-Type**: Not defined
180
+ - **Accept**: application/json
181
+
data/docs/Earning.md CHANGED
@@ -10,8 +10,8 @@
10
10
  | **amount** | **Float** | The amount earned. | [optional] |
11
11
  | **type** | [**EarningTypeEnum**](EarningTypeEnum.md) | The type of earning. * &#x60;SALARY&#x60; - SALARY * &#x60;REIMBURSEMENT&#x60; - REIMBURSEMENT * &#x60;OVERTIME&#x60; - OVERTIME * &#x60;BONUS&#x60; - BONUS | [optional] |
12
12
  | **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional] |
13
- | **field_mappings** | [**Hash&lt;String, AnyType&gt;**](AnyType.md) | | [optional][readonly] |
14
13
  | **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
14
+ | **field_mappings** | [**Hash&lt;String, AnyType&gt;**](AnyType.md) | | [optional][readonly] |
15
15
  | **remote_data** | [**Array&lt;RemoteData&gt;**](RemoteData.md) | | [optional][readonly] |
16
16
 
17
17
  ## Example
@@ -26,8 +26,8 @@ instance = MergeHRISClient::Earning.new(
26
26
  amount: 1002.34,
27
27
  type: SALARY,
28
28
  remote_was_deleted: null,
29
- field_mappings: {&quot;organization_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;},&quot;linked_account_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;}},
30
29
  modified_at: 2021-10-16T00:00Z,
30
+ field_mappings: {&quot;organization_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;},&quot;linked_account_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;}},
31
31
  remote_data: null
32
32
  )
33
33
  ```
data/docs/Employee.md CHANGED
@@ -35,8 +35,8 @@
35
35
  | **avatar** | **String** | The URL of the employee&#39;s avatar image. | [optional] |
36
36
  | **custom_fields** | [**Hash&lt;String, AnyType&gt;**](AnyType.md) | Custom fields configured for a given model. | [optional] |
37
37
  | **remote_was_deleted** | **Boolean** | | [optional][readonly] |
38
- | **field_mappings** | [**Hash&lt;String, AnyType&gt;**](AnyType.md) | | [optional][readonly] |
39
38
  | **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
39
+ | **field_mappings** | [**Hash&lt;String, AnyType&gt;**](AnyType.md) | | [optional][readonly] |
40
40
  | **remote_data** | [**Array&lt;RemoteData&gt;**](RemoteData.md) | | [optional][readonly] |
41
41
 
42
42
  ## Example
@@ -76,8 +76,8 @@ instance = MergeHRISClient::Employee.new(
76
76
  avatar: http://alturl.com/h2h8m,
77
77
  custom_fields: null,
78
78
  remote_was_deleted: null,
79
- field_mappings: {&quot;organization_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;},&quot;linked_account_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;}},
80
79
  modified_at: 2021-10-16T00:00Z,
80
+ field_mappings: {&quot;organization_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;},&quot;linked_account_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;}},
81
81
  remote_data: [{&quot;path&quot;:&quot;/people&quot;,&quot;data&quot;:[&quot;Varies by platform&quot;]}]
82
82
  )
83
83
  ```
@@ -17,8 +17,8 @@
17
17
  | **deductions** | [**Array&lt;Deduction&gt;**](Deduction.md) | | [optional][readonly] |
18
18
  | **taxes** | [**Array&lt;Tax&gt;**](Tax.md) | | [optional][readonly] |
19
19
  | **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
20
- | **field_mappings** | [**Hash&lt;String, AnyType&gt;**](AnyType.md) | | [optional][readonly] |
21
20
  | **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
21
+ | **field_mappings** | [**Hash&lt;String, AnyType&gt;**](AnyType.md) | | [optional][readonly] |
22
22
  | **remote_data** | [**Array&lt;RemoteData&gt;**](RemoteData.md) | | [optional][readonly] |
23
23
 
24
24
  ## Example
@@ -40,8 +40,8 @@ instance = MergeHRISClient::EmployeePayrollRun.new(
40
40
  deductions: [{&quot;employee_payroll_run&quot;:&quot;35347df1-95e7-46e2-93cc-66f1191edca5&quot;,&quot;name&quot;:&quot;Social Security&quot;,&quot;employee_deduction&quot;:34.54,&quot;company_deduction&quot;:78.78}],
41
41
  taxes: [{&quot;employee_payroll_run&quot;:&quot;35347df1-95e7-46e2-93cc-66f1191edca5&quot;,&quot;name&quot;:&quot;California State Income Tax&quot;,&quot;amount&quot;:100.25,&quot;employer_tax&quot;:&quot;False&quot;}],
42
42
  remote_was_deleted: null,
43
- field_mappings: {&quot;organization_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;},&quot;linked_account_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;}},
44
43
  modified_at: 2021-10-16T00:00Z,
44
+ field_mappings: {&quot;organization_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;},&quot;linked_account_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;}},
45
45
  remote_data: [{&quot;path&quot;:&quot;/employee-payroll&quot;,&quot;data&quot;:[&quot;Varies by platform&quot;]}]
46
46
  )
47
47
  ```
@@ -0,0 +1,36 @@
1
+ # MergeHRISClient::EmployerBenefit
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | [optional][readonly] |
8
+ | **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
9
+ | **benefit_plan_type** | [**BenefitPlanTypeEnum**](BenefitPlanTypeEnum.md) | The type of benefit plan. * &#x60;MEDICAL&#x60; - MEDICAL * &#x60;HEALTH_SAVINGS&#x60; - HEALTH_SAVINGS * &#x60;INSURANCE&#x60; - INSURANCE * &#x60;RETIREMENT&#x60; - RETIREMENT * &#x60;OTHER&#x60; - OTHER | [optional] |
10
+ | **name** | **String** | The employer benefit&#39;s name - typically the carrier or network name. | [optional] |
11
+ | **description** | **String** | The employer benefit&#39;s description. | [optional] |
12
+ | **deduction_code** | **String** | The employer benefit&#39;s deduction code. | [optional] |
13
+ | **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
14
+ | **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
15
+ | **field_mappings** | [**Hash&lt;String, AnyType&gt;**](AnyType.md) | | [optional][readonly] |
16
+ | **remote_data** | **Array&lt;Hash&lt;String, AnyType&gt;&gt;** | | [optional] |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'merge_hris_client'
22
+
23
+ instance = MergeHRISClient::EmployerBenefit.new(
24
+ id: null,
25
+ remote_id: 19202939,
26
+ benefit_plan_type: MEDICAL,
27
+ name: Kaiser Permanente Medical Plan,
28
+ description: HDHP Silver Plan,
29
+ deduction_code: COL,
30
+ remote_was_deleted: null,
31
+ modified_at: 2021-10-16T00:00Z,
32
+ field_mappings: {&quot;organization_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;},&quot;linked_account_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;}},
33
+ remote_data: null
34
+ )
35
+ ```
36
+
@@ -0,0 +1,177 @@
1
+ # MergeHRISClient::EmployerBenefitsApi
2
+
3
+ All URIs are relative to *https://api.merge.dev/api/hris/v1*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**employer_benefits_list**](EmployerBenefitsApi.md#employer_benefits_list) | **GET** /employer-benefits | |
8
+ | [**employer_benefits_retrieve**](EmployerBenefitsApi.md#employer_benefits_retrieve) | **GET** /employer-benefits/{id} | |
9
+
10
+
11
+ ## employer_benefits_list
12
+
13
+ > <PaginatedEmployerBenefitList> employer_benefits_list(x_account_token, opts)
14
+
15
+
16
+
17
+ Returns a list of `EmployerBenefit` objects.
18
+
19
+ ### Examples
20
+
21
+ ```ruby
22
+ require 'time'
23
+ require 'merge_hris_client'
24
+ # setup authorization
25
+ MergeHRISClient.configure do |config|
26
+ # Configure API key authorization: tokenAuth
27
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
28
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
29
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
30
+ end
31
+
32
+ api_instance = MergeHRISClient::EmployerBenefitsApi.new
33
+ x_account_token = 'x_account_token_example' # String | Token identifying the end user.
34
+ opts = {
35
+ created_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created after this datetime.
36
+ created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
37
+ cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
38
+ include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
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, 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
+ page_size: 56, # Integer | Number of results to return per page.
43
+ remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
44
+ }
45
+
46
+ begin
47
+
48
+ result = api_instance.employer_benefits_list(x_account_token, opts)
49
+ p result
50
+ rescue MergeHRISClient::ApiError => e
51
+ puts "Error when calling EmployerBenefitsApi->employer_benefits_list: #{e}"
52
+ end
53
+ ```
54
+
55
+ #### Using the employer_benefits_list_with_http_info variant
56
+
57
+ This returns an Array which contains the response data, status code and headers.
58
+
59
+ > <Array(<PaginatedEmployerBenefitList>, Integer, Hash)> employer_benefits_list_with_http_info(x_account_token, opts)
60
+
61
+ ```ruby
62
+ begin
63
+
64
+ data, status_code, headers = api_instance.employer_benefits_list_with_http_info(x_account_token, opts)
65
+ p status_code # => 2xx
66
+ p headers # => { ... }
67
+ p data # => <PaginatedEmployerBenefitList>
68
+ rescue MergeHRISClient::ApiError => e
69
+ puts "Error when calling EmployerBenefitsApi->employer_benefits_list_with_http_info: #{e}"
70
+ end
71
+ ```
72
+
73
+ ### Parameters
74
+
75
+ | Name | Type | Description | Notes |
76
+ | ---- | ---- | ----------- | ----- |
77
+ | **x_account_token** | **String** | Token identifying the end user. | |
78
+ | **created_after** | **Time** | If provided, will only return objects created after this datetime. | [optional] |
79
+ | **created_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
80
+ | **cursor** | **String** | The pagination cursor value. | [optional] |
81
+ | **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
82
+ | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
83
+ | **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
84
+ | **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
85
+ | **page_size** | **Integer** | Number of results to return per page. | [optional] |
86
+ | **remote_id** | **String** | The API provider&#39;s ID for the given object. | [optional] |
87
+
88
+ ### Return type
89
+
90
+ [**PaginatedEmployerBenefitList**](PaginatedEmployerBenefitList.md)
91
+
92
+ ### Authorization
93
+
94
+ [tokenAuth](../README.md#tokenAuth)
95
+
96
+ ### HTTP request headers
97
+
98
+ - **Content-Type**: Not defined
99
+ - **Accept**: application/json
100
+
101
+
102
+ ## employer_benefits_retrieve
103
+
104
+ > <EmployerBenefit> employer_benefits_retrieve(x_account_token, id, opts)
105
+
106
+
107
+
108
+ Returns an `EmployerBenefit` object with the given `id`.
109
+
110
+ ### Examples
111
+
112
+ ```ruby
113
+ require 'time'
114
+ require 'merge_hris_client'
115
+ # setup authorization
116
+ MergeHRISClient.configure do |config|
117
+ # Configure API key authorization: tokenAuth
118
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
119
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
120
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
121
+ end
122
+
123
+ api_instance = MergeHRISClient::EmployerBenefitsApi.new
124
+ x_account_token = 'x_account_token_example' # String | Token identifying the end user.
125
+ id = TODO # String |
126
+ opts = {
127
+ include_remote_data: true # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
128
+ }
129
+
130
+ begin
131
+
132
+ result = api_instance.employer_benefits_retrieve(x_account_token, id, opts)
133
+ p result
134
+ rescue MergeHRISClient::ApiError => e
135
+ puts "Error when calling EmployerBenefitsApi->employer_benefits_retrieve: #{e}"
136
+ end
137
+ ```
138
+
139
+ #### Using the employer_benefits_retrieve_with_http_info variant
140
+
141
+ This returns an Array which contains the response data, status code and headers.
142
+
143
+ > <Array(<EmployerBenefit>, Integer, Hash)> employer_benefits_retrieve_with_http_info(x_account_token, id, opts)
144
+
145
+ ```ruby
146
+ begin
147
+
148
+ data, status_code, headers = api_instance.employer_benefits_retrieve_with_http_info(x_account_token, id, opts)
149
+ p status_code # => 2xx
150
+ p headers # => { ... }
151
+ p data # => <EmployerBenefit>
152
+ rescue MergeHRISClient::ApiError => e
153
+ puts "Error when calling EmployerBenefitsApi->employer_benefits_retrieve_with_http_info: #{e}"
154
+ end
155
+ ```
156
+
157
+ ### Parameters
158
+
159
+ | Name | Type | Description | Notes |
160
+ | ---- | ---- | ----------- | ----- |
161
+ | **x_account_token** | **String** | Token identifying the end user. | |
162
+ | **id** | [**String**](.md) | | |
163
+ | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
164
+
165
+ ### Return type
166
+
167
+ [**EmployerBenefit**](EmployerBenefit.md)
168
+
169
+ ### Authorization
170
+
171
+ [tokenAuth](../README.md#tokenAuth)
172
+
173
+ ### HTTP request headers
174
+
175
+ - **Content-Type**: Not defined
176
+ - **Accept**: application/json
177
+
data/docs/Employment.md CHANGED
@@ -17,8 +17,8 @@
17
17
  | **effective_date** | **Time** | The position&#39;s effective date. | [optional] |
18
18
  | **employment_type** | [**EmploymentTypeEnum**](EmploymentTypeEnum.md) | The position&#39;s type of employment. * &#x60;FULL_TIME&#x60; - FULL_TIME * &#x60;PART_TIME&#x60; - PART_TIME * &#x60;INTERN&#x60; - INTERN * &#x60;CONTRACTOR&#x60; - CONTRACTOR * &#x60;FREELANCE&#x60; - FREELANCE | [optional] |
19
19
  | **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
20
- | **field_mappings** | [**Hash&lt;String, AnyType&gt;**](AnyType.md) | | [optional][readonly] |
21
20
  | **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
21
+ | **field_mappings** | [**Hash&lt;String, AnyType&gt;**](AnyType.md) | | [optional][readonly] |
22
22
  | **remote_data** | [**Array&lt;RemoteData&gt;**](RemoteData.md) | | [optional][readonly] |
23
23
 
24
24
  ## Example
@@ -40,8 +40,8 @@ instance = MergeHRISClient::Employment.new(
40
40
  effective_date: 2023-10-06T18:42:34Z,
41
41
  employment_type: FULL TIME,
42
42
  remote_was_deleted: null,
43
- field_mappings: {&quot;organization_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;},&quot;linked_account_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;}},
44
43
  modified_at: 2021-10-16T00:00Z,
44
+ field_mappings: {&quot;organization_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;},&quot;linked_account_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;}},
45
45
  remote_data: [{&quot;path&quot;:&quot;/jobs&quot;,&quot;data&quot;:[&quot;Varies by platform&quot;]}]
46
46
  )
47
47
  ```
@@ -41,7 +41,7 @@ opts = {
41
41
  include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
42
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
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
- order_by: '-effective_date', # String | Overrides the default ordering for this endpoint.
44
+ order_by: '-effective_date', # String | Overrides the default ordering for this endpoint. Possible values include: effective_date, -effective_date.
45
45
  page_size: 56, # Integer | Number of results to return per page.
46
46
  remote_fields: 'employment_type', # String | Deprecated. Use show_enum_origins.
47
47
  remote_id: 'remote_id_example', # String | The API provider's ID for the given object.
@@ -89,7 +89,7 @@ end
89
89
  | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
90
90
  | **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
91
91
  | **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
92
- | **order_by** | **String** | Overrides the default ordering for this endpoint. | [optional] |
92
+ | **order_by** | **String** | Overrides the default ordering for this endpoint. Possible values include: effective_date, -effective_date. | [optional] |
93
93
  | **page_size** | **Integer** | Number of results to return per page. | [optional] |
94
94
  | **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
95
95
  | **remote_id** | **String** | The API provider&#39;s ID for the given object. | [optional] |
@@ -10,7 +10,7 @@
10
10
  | **categories** | [**Array&lt;CategoriesEnum&gt;**](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
- | **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] |
13
+ | **should_create_magic_link_url** | **Boolean** | Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. | [optional][default to false] |
14
14
  | **common_models** | [**Array&lt;CommonModelScopesBodyRequest&gt;**](CommonModelScopesBodyRequest.md) | An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. | [optional] |
15
15
 
16
16
  ## Example
data/docs/Group.md CHANGED
@@ -10,8 +10,8 @@
10
10
  | **name** | **String** | The group name. | [optional] |
11
11
  | **type** | [**GroupTypeEnum**](GroupTypeEnum.md) | The group type * &#x60;TEAM&#x60; - TEAM * &#x60;DEPARTMENT&#x60; - DEPARTMENT * &#x60;COST_CENTER&#x60; - COST_CENTER * &#x60;BUSINESS_UNIT&#x60; - BUSINESS_UNIT * &#x60;GROUP&#x60; - GROUP | [optional] |
12
12
  | **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
13
- | **field_mappings** | [**Hash&lt;String, AnyType&gt;**](AnyType.md) | | [optional][readonly] |
14
13
  | **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
14
+ | **field_mappings** | [**Hash&lt;String, AnyType&gt;**](AnyType.md) | | [optional][readonly] |
15
15
  | **remote_data** | [**Array&lt;RemoteData&gt;**](RemoteData.md) | | [optional][readonly] |
16
16
 
17
17
  ## Example
@@ -26,8 +26,8 @@ instance = MergeHRISClient::Group.new(
26
26
  name: COST_CENTER_US,
27
27
  type: COST_CENTER,
28
28
  remote_was_deleted: null,
29
- field_mappings: {&quot;organization_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;},&quot;linked_account_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;}},
30
29
  modified_at: 2021-10-16T00:00Z,
30
+ field_mappings: {&quot;organization_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;},&quot;linked_account_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;}},
31
31
  remote_data: [{&quot;path&quot;:&quot;/group&quot;,&quot;data&quot;:[&quot;Varies by platform&quot;]}]
32
32
  )
33
33
  ```
@@ -30,7 +30,7 @@ end
30
30
 
31
31
  api_instance = MergeHRISClient::LinkedAccountsApi.new
32
32
  opts = {
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
33
+ category: 'accounting', # String | Options: ('hris', 'ats', 'accounting', 'ticketing', 'crm', 'mktg', '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** | * &#x60;hris&#x60; - hris * &#x60;ats&#x60; - ats * &#x60;accounting&#x60; - accounting * &#x60;ticketing&#x60; - ticketing * &#x60;crm&#x60; - crm * &#x60;mktg&#x60; - mktg * &#x60;filestorage&#x60; - filestorage * &#x60;hris&#x60; - hris * &#x60;ats&#x60; - ats * &#x60;accounting&#x60; - accounting * &#x60;ticketing&#x60; - ticketing * &#x60;crm&#x60; - crm * &#x60;mktg&#x60; - mktg * &#x60;filestorage&#x60; - filestorage | [optional] |
79
+ | **category** | **String** | Options: (&#39;hris&#39;, &#39;ats&#39;, &#39;accounting&#39;, &#39;ticketing&#39;, &#39;crm&#39;, &#39;mktg&#39;, &#39;filestorage&#39;) * &#x60;hris&#x60; - hris * &#x60;ats&#x60; - ats * &#x60;accounting&#x60; - accounting * &#x60;ticketing&#x60; - ticketing * &#x60;crm&#x60; - crm * &#x60;mktg&#x60; - mktg * &#x60;filestorage&#x60; - 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
@@ -16,8 +16,8 @@
16
16
  | **country** | [**CountryEnum**](CountryEnum.md) | The location&#39;s country. * &#x60;AF&#x60; - Afghanistan * &#x60;AX&#x60; - Åland Islands * &#x60;AL&#x60; - Albania * &#x60;DZ&#x60; - Algeria * &#x60;AS&#x60; - American Samoa * &#x60;AD&#x60; - Andorra * &#x60;AO&#x60; - Angola * &#x60;AI&#x60; - Anguilla * &#x60;AQ&#x60; - Antarctica * &#x60;AG&#x60; - Antigua and Barbuda * &#x60;AR&#x60; - Argentina * &#x60;AM&#x60; - Armenia * &#x60;AW&#x60; - Aruba * &#x60;AU&#x60; - Australia * &#x60;AT&#x60; - Austria * &#x60;AZ&#x60; - Azerbaijan * &#x60;BS&#x60; - Bahamas * &#x60;BH&#x60; - Bahrain * &#x60;BD&#x60; - Bangladesh * &#x60;BB&#x60; - Barbados * &#x60;BY&#x60; - Belarus * &#x60;BE&#x60; - Belgium * &#x60;BZ&#x60; - Belize * &#x60;BJ&#x60; - Benin * &#x60;BM&#x60; - Bermuda * &#x60;BT&#x60; - Bhutan * &#x60;BO&#x60; - Bolivia * &#x60;BQ&#x60; - Bonaire, Sint Eustatius and Saba * &#x60;BA&#x60; - Bosnia and Herzegovina * &#x60;BW&#x60; - Botswana * &#x60;BV&#x60; - Bouvet Island * &#x60;BR&#x60; - Brazil * &#x60;IO&#x60; - British Indian Ocean Territory * &#x60;BN&#x60; - Brunei * &#x60;BG&#x60; - Bulgaria * &#x60;BF&#x60; - Burkina Faso * &#x60;BI&#x60; - Burundi * &#x60;CV&#x60; - Cabo Verde * &#x60;KH&#x60; - Cambodia * &#x60;CM&#x60; - Cameroon * &#x60;CA&#x60; - Canada * &#x60;KY&#x60; - Cayman Islands * &#x60;CF&#x60; - Central African Republic * &#x60;TD&#x60; - Chad * &#x60;CL&#x60; - Chile * &#x60;CN&#x60; - China * &#x60;CX&#x60; - Christmas Island * &#x60;CC&#x60; - Cocos (Keeling) Islands * &#x60;CO&#x60; - Colombia * &#x60;KM&#x60; - Comoros * &#x60;CG&#x60; - Congo * &#x60;CD&#x60; - Congo (the Democratic Republic of the) * &#x60;CK&#x60; - Cook Islands * &#x60;CR&#x60; - Costa Rica * &#x60;CI&#x60; - Côte d&#39;Ivoire * &#x60;HR&#x60; - Croatia * &#x60;CU&#x60; - Cuba * &#x60;CW&#x60; - Curaçao * &#x60;CY&#x60; - Cyprus * &#x60;CZ&#x60; - Czechia * &#x60;DK&#x60; - Denmark * &#x60;DJ&#x60; - Djibouti * &#x60;DM&#x60; - Dominica * &#x60;DO&#x60; - Dominican Republic * &#x60;EC&#x60; - Ecuador * &#x60;EG&#x60; - Egypt * &#x60;SV&#x60; - El Salvador * &#x60;GQ&#x60; - Equatorial Guinea * &#x60;ER&#x60; - Eritrea * &#x60;EE&#x60; - Estonia * &#x60;SZ&#x60; - Eswatini * &#x60;ET&#x60; - Ethiopia * &#x60;FK&#x60; - Falkland Islands (Malvinas) * &#x60;FO&#x60; - Faroe Islands * &#x60;FJ&#x60; - Fiji * &#x60;FI&#x60; - Finland * &#x60;FR&#x60; - France * &#x60;GF&#x60; - French Guiana * &#x60;PF&#x60; - French Polynesia * &#x60;TF&#x60; - French Southern Territories * &#x60;GA&#x60; - Gabon * &#x60;GM&#x60; - Gambia * &#x60;GE&#x60; - Georgia * &#x60;DE&#x60; - Germany * &#x60;GH&#x60; - Ghana * &#x60;GI&#x60; - Gibraltar * &#x60;GR&#x60; - Greece * &#x60;GL&#x60; - Greenland * &#x60;GD&#x60; - Grenada * &#x60;GP&#x60; - Guadeloupe * &#x60;GU&#x60; - Guam * &#x60;GT&#x60; - Guatemala * &#x60;GG&#x60; - Guernsey * &#x60;GN&#x60; - Guinea * &#x60;GW&#x60; - Guinea-Bissau * &#x60;GY&#x60; - Guyana * &#x60;HT&#x60; - Haiti * &#x60;HM&#x60; - Heard Island and McDonald Islands * &#x60;VA&#x60; - Holy See * &#x60;HN&#x60; - Honduras * &#x60;HK&#x60; - Hong Kong * &#x60;HU&#x60; - Hungary * &#x60;IS&#x60; - Iceland * &#x60;IN&#x60; - India * &#x60;ID&#x60; - Indonesia * &#x60;IR&#x60; - Iran * &#x60;IQ&#x60; - Iraq * &#x60;IE&#x60; - Ireland * &#x60;IM&#x60; - Isle of Man * &#x60;IL&#x60; - Israel * &#x60;IT&#x60; - Italy * &#x60;JM&#x60; - Jamaica * &#x60;JP&#x60; - Japan * &#x60;JE&#x60; - Jersey * &#x60;JO&#x60; - Jordan * &#x60;KZ&#x60; - Kazakhstan * &#x60;KE&#x60; - Kenya * &#x60;KI&#x60; - Kiribati * &#x60;KW&#x60; - Kuwait * &#x60;KG&#x60; - Kyrgyzstan * &#x60;LA&#x60; - Laos * &#x60;LV&#x60; - Latvia * &#x60;LB&#x60; - Lebanon * &#x60;LS&#x60; - Lesotho * &#x60;LR&#x60; - Liberia * &#x60;LY&#x60; - Libya * &#x60;LI&#x60; - Liechtenstein * &#x60;LT&#x60; - Lithuania * &#x60;LU&#x60; - Luxembourg * &#x60;MO&#x60; - Macao * &#x60;MG&#x60; - Madagascar * &#x60;MW&#x60; - Malawi * &#x60;MY&#x60; - Malaysia * &#x60;MV&#x60; - Maldives * &#x60;ML&#x60; - Mali * &#x60;MT&#x60; - Malta * &#x60;MH&#x60; - Marshall Islands * &#x60;MQ&#x60; - Martinique * &#x60;MR&#x60; - Mauritania * &#x60;MU&#x60; - Mauritius * &#x60;YT&#x60; - Mayotte * &#x60;MX&#x60; - Mexico * &#x60;FM&#x60; - Micronesia (Federated States of) * &#x60;MD&#x60; - Moldova * &#x60;MC&#x60; - Monaco * &#x60;MN&#x60; - Mongolia * &#x60;ME&#x60; - Montenegro * &#x60;MS&#x60; - Montserrat * &#x60;MA&#x60; - Morocco * &#x60;MZ&#x60; - Mozambique * &#x60;MM&#x60; - Myanmar * &#x60;NA&#x60; - Namibia * &#x60;NR&#x60; - Nauru * &#x60;NP&#x60; - Nepal * &#x60;NL&#x60; - Netherlands * &#x60;NC&#x60; - New Caledonia * &#x60;NZ&#x60; - New Zealand * &#x60;NI&#x60; - Nicaragua * &#x60;NE&#x60; - Niger * &#x60;NG&#x60; - Nigeria * &#x60;NU&#x60; - Niue * &#x60;NF&#x60; - Norfolk Island * &#x60;KP&#x60; - North Korea * &#x60;MK&#x60; - North Macedonia * &#x60;MP&#x60; - Northern Mariana Islands * &#x60;NO&#x60; - Norway * &#x60;OM&#x60; - Oman * &#x60;PK&#x60; - Pakistan * &#x60;PW&#x60; - Palau * &#x60;PS&#x60; - Palestine, State of * &#x60;PA&#x60; - Panama * &#x60;PG&#x60; - Papua New Guinea * &#x60;PY&#x60; - Paraguay * &#x60;PE&#x60; - Peru * &#x60;PH&#x60; - Philippines * &#x60;PN&#x60; - Pitcairn * &#x60;PL&#x60; - Poland * &#x60;PT&#x60; - Portugal * &#x60;PR&#x60; - Puerto Rico * &#x60;QA&#x60; - Qatar * &#x60;RE&#x60; - Réunion * &#x60;RO&#x60; - Romania * &#x60;RU&#x60; - Russia * &#x60;RW&#x60; - Rwanda * &#x60;BL&#x60; - Saint Barthélemy * &#x60;SH&#x60; - Saint Helena, Ascension and Tristan da Cunha * &#x60;KN&#x60; - Saint Kitts and Nevis * &#x60;LC&#x60; - Saint Lucia * &#x60;MF&#x60; - Saint Martin (French part) * &#x60;PM&#x60; - Saint Pierre and Miquelon * &#x60;VC&#x60; - Saint Vincent and the Grenadines * &#x60;WS&#x60; - Samoa * &#x60;SM&#x60; - San Marino * &#x60;ST&#x60; - Sao Tome and Principe * &#x60;SA&#x60; - Saudi Arabia * &#x60;SN&#x60; - Senegal * &#x60;RS&#x60; - Serbia * &#x60;SC&#x60; - Seychelles * &#x60;SL&#x60; - Sierra Leone * &#x60;SG&#x60; - Singapore * &#x60;SX&#x60; - Sint Maarten (Dutch part) * &#x60;SK&#x60; - Slovakia * &#x60;SI&#x60; - Slovenia * &#x60;SB&#x60; - Solomon Islands * &#x60;SO&#x60; - Somalia * &#x60;ZA&#x60; - South Africa * &#x60;GS&#x60; - South Georgia and the South Sandwich Islands * &#x60;KR&#x60; - South Korea * &#x60;SS&#x60; - South Sudan * &#x60;ES&#x60; - Spain * &#x60;LK&#x60; - Sri Lanka * &#x60;SD&#x60; - Sudan * &#x60;SR&#x60; - Suriname * &#x60;SJ&#x60; - Svalbard and Jan Mayen * &#x60;SE&#x60; - Sweden * &#x60;CH&#x60; - Switzerland * &#x60;SY&#x60; - Syria * &#x60;TW&#x60; - Taiwan * &#x60;TJ&#x60; - Tajikistan * &#x60;TZ&#x60; - Tanzania * &#x60;TH&#x60; - Thailand * &#x60;TL&#x60; - Timor-Leste * &#x60;TG&#x60; - Togo * &#x60;TK&#x60; - Tokelau * &#x60;TO&#x60; - Tonga * &#x60;TT&#x60; - Trinidad and Tobago * &#x60;TN&#x60; - Tunisia * &#x60;TR&#x60; - Turkey * &#x60;TM&#x60; - Turkmenistan * &#x60;TC&#x60; - Turks and Caicos Islands * &#x60;TV&#x60; - Tuvalu * &#x60;UG&#x60; - Uganda * &#x60;UA&#x60; - Ukraine * &#x60;AE&#x60; - United Arab Emirates * &#x60;GB&#x60; - United Kingdom * &#x60;UM&#x60; - United States Minor Outlying Islands * &#x60;US&#x60; - United States of America * &#x60;UY&#x60; - Uruguay * &#x60;UZ&#x60; - Uzbekistan * &#x60;VU&#x60; - Vanuatu * &#x60;VE&#x60; - Venezuela * &#x60;VN&#x60; - Vietnam * &#x60;VG&#x60; - Virgin Islands (British) * &#x60;VI&#x60; - Virgin Islands (U.S.) * &#x60;WF&#x60; - Wallis and Futuna * &#x60;EH&#x60; - Western Sahara * &#x60;YE&#x60; - Yemen * &#x60;ZM&#x60; - Zambia * &#x60;ZW&#x60; - Zimbabwe | [optional] |
17
17
  | **location_type** | [**LocationTypeEnum**](LocationTypeEnum.md) | The location&#39;s type. Can be either WORK or HOME * &#x60;HOME&#x60; - HOME * &#x60;WORK&#x60; - WORK | [optional] |
18
18
  | **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
19
- | **field_mappings** | [**Hash&lt;String, AnyType&gt;**](AnyType.md) | | [optional][readonly] |
20
19
  | **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
20
+ | **field_mappings** | [**Hash&lt;String, AnyType&gt;**](AnyType.md) | | [optional][readonly] |
21
21
  | **remote_data** | [**Array&lt;RemoteData&gt;**](RemoteData.md) | | [optional][readonly] |
22
22
 
23
23
  ## Example
@@ -35,11 +35,11 @@ instance = MergeHRISClient::Location.new(
35
35
  city: New York ,
36
36
  state: NY,
37
37
  zip_code: 10027,
38
- country: USA,
38
+ country: US,
39
39
  location_type: WORK,
40
40
  remote_was_deleted: null,
41
- field_mappings: {&quot;organization_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;},&quot;linked_account_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;}},
42
41
  modified_at: 2021-10-16T00:00Z,
42
+ field_mappings: {&quot;organization_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;},&quot;linked_account_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;}},
43
43
  remote_data: [{&quot;path&quot;:&quot;/locations&quot;,&quot;data&quot;:[&quot;Varies by platform&quot;]}]
44
44
  )
45
45
  ```
@@ -0,0 +1,22 @@
1
+ # MergeHRISClient::PaginatedDependentList
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **_next** | **String** | | [optional] |
8
+ | **previous** | **String** | | [optional] |
9
+ | **results** | [**Array&lt;Dependent&gt;**](Dependent.md) | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'merge_hris_client'
15
+
16
+ instance = MergeHRISClient::PaginatedDependentList.new(
17
+ _next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw,
18
+ previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ,
19
+ results: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,22 @@
1
+ # MergeHRISClient::PaginatedEmployerBenefitList
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **_next** | **String** | | [optional] |
8
+ | **previous** | **String** | | [optional] |
9
+ | **results** | [**Array&lt;EmployerBenefit&gt;**](EmployerBenefit.md) | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'merge_hris_client'
15
+
16
+ instance = MergeHRISClient::PaginatedEmployerBenefitList.new(
17
+ _next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw,
18
+ previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ,
19
+ results: null
20
+ )
21
+ ```
22
+