merge_hris_client 1.0.4 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (179) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +28 -12
  3. data/docs/AccountDetails.md +7 -7
  4. data/docs/AccountDetailsApi.md +2 -2
  5. data/docs/AccountIntegration.md +4 -4
  6. data/docs/AccountTokenApi.md +2 -2
  7. data/docs/AvailableActionsApi.md +2 -2
  8. data/docs/BankInfo.md +1 -1
  9. data/docs/BankInfoApi.md +8 -12
  10. data/docs/Benefit.md +2 -2
  11. data/docs/BenefitsApi.md +4 -4
  12. data/docs/CompaniesApi.md +4 -4
  13. data/docs/DataPassthroughRequest.md +2 -0
  14. data/docs/DebugModeLog.md +22 -0
  15. data/docs/DebugModelLogSummary.md +22 -0
  16. data/docs/Deduction.md +2 -2
  17. data/docs/DeductionsApi.md +4 -4
  18. data/docs/DeleteAccountApi.md +3 -2
  19. data/docs/Earning.md +3 -3
  20. data/docs/EarningTypeEnum.md +15 -0
  21. data/docs/Employee.md +9 -7
  22. data/docs/EmployeeEndpointRequest.md +18 -0
  23. data/docs/EmployeePayrollRun.md +2 -2
  24. data/docs/EmployeePayrollRunsApi.md +4 -4
  25. data/docs/EmployeeRequest.md +70 -0
  26. data/docs/EmployeeResponse.md +24 -0
  27. data/docs/EmployeesApi.md +158 -4
  28. data/docs/Employment.md +1 -1
  29. data/docs/EmploymentsApi.md +5 -4
  30. data/docs/EncodingEnum.md +15 -0
  31. data/docs/EndUserDetailsRequest.md +3 -1
  32. data/docs/ForceResyncApi.md +2 -2
  33. data/docs/GenerateKeyApi.md +2 -2
  34. data/docs/Group.md +28 -0
  35. data/docs/GroupTypeEnum.md +15 -0
  36. data/docs/GroupsApi.md +177 -0
  37. data/docs/IgnoreCommonModel.md +20 -0
  38. data/docs/IssuesApi.md +5 -4
  39. data/docs/LinkTokenApi.md +3 -3
  40. data/docs/LinkedAccountsApi.md +2 -2
  41. data/docs/Location.md +2 -0
  42. data/docs/LocationsApi.md +4 -4
  43. data/docs/MultipartFormFieldRequest.md +26 -0
  44. data/docs/PaginatedGroupList.md +22 -0
  45. data/docs/PassthroughApi.md +2 -2
  46. data/docs/PayGroupsApi.md +4 -4
  47. data/docs/PayrollRunsApi.md +4 -4
  48. data/docs/RegenerateKeyApi.md +2 -2
  49. data/docs/SyncStatusApi.md +0 -1
  50. data/docs/Tax.md +2 -2
  51. data/docs/Team.md +1 -1
  52. data/docs/TeamsApi.md +5 -4
  53. data/docs/TimeOff.md +2 -2
  54. data/docs/TimeOffApi.md +8 -6
  55. data/docs/TimeOffBalance.md +1 -1
  56. data/docs/TimeOffRequest.md +2 -2
  57. data/docs/TimeOffResponse.md +3 -1
  58. data/lib/merge_hris_client/api/bank_info_api.rb +4 -9
  59. data/lib/merge_hris_client/api/employees_api.rb +147 -2
  60. data/lib/merge_hris_client/api/groups_api.rb +182 -0
  61. data/lib/merge_hris_client/api/sync_status_api.rb +0 -62
  62. data/lib/merge_hris_client/api/time_off_api.rb +3 -0
  63. data/lib/merge_hris_client/configuration.rb +6 -4
  64. data/lib/merge_hris_client/models/account_details.rb +1 -1
  65. data/lib/merge_hris_client/models/account_details_and_actions.rb +1 -1
  66. data/lib/merge_hris_client/models/account_details_and_actions_integration.rb +1 -1
  67. data/lib/merge_hris_client/models/account_details_and_actions_status_enum.rb +1 -0
  68. data/lib/merge_hris_client/models/account_integration.rb +5 -27
  69. data/lib/merge_hris_client/models/account_token.rb +1 -1
  70. data/lib/merge_hris_client/models/account_type_enum.rb +1 -0
  71. data/lib/merge_hris_client/models/available_actions.rb +1 -1
  72. data/lib/merge_hris_client/models/bank_info.rb +0 -1
  73. data/lib/merge_hris_client/models/benefit.rb +1 -2
  74. data/lib/merge_hris_client/models/categories_enum.rb +1 -0
  75. data/lib/merge_hris_client/models/category_enum.rb +1 -0
  76. data/lib/merge_hris_client/models/country_enum.rb +1 -0
  77. data/lib/merge_hris_client/models/data_passthrough_request.rb +16 -3
  78. data/lib/merge_hris_client/models/debug_mode_log.rb +251 -0
  79. data/lib/merge_hris_client/models/debug_model_log_summary.rb +251 -0
  80. data/lib/merge_hris_client/models/deduction.rb +0 -1
  81. data/lib/merge_hris_client/models/earning.rb +4 -8
  82. data/lib/merge_hris_client/models/earning_type_enum.rb +38 -0
  83. data/lib/merge_hris_client/models/employee.rb +13 -8
  84. data/lib/merge_hris_client/models/employee_endpoint_request.rb +223 -0
  85. data/lib/merge_hris_client/models/employee_payroll_run.rb +1 -3
  86. data/lib/merge_hris_client/models/employee_request.rb +564 -0
  87. data/lib/merge_hris_client/models/employee_response.rb +266 -0
  88. data/lib/merge_hris_client/models/employment.rb +0 -1
  89. data/lib/merge_hris_client/models/employment_status_enum.rb +1 -1
  90. data/lib/merge_hris_client/models/employment_type_enum.rb +1 -1
  91. data/lib/merge_hris_client/models/encoding_enum.rb +36 -0
  92. data/lib/merge_hris_client/models/end_user_details_request.rb +40 -27
  93. data/lib/merge_hris_client/models/error_validation_problem.rb +1 -1
  94. data/lib/merge_hris_client/models/ethnicity_enum.rb +1 -1
  95. data/lib/merge_hris_client/models/flsa_status_enum.rb +1 -1
  96. data/lib/merge_hris_client/models/gender_enum.rb +1 -1
  97. data/lib/merge_hris_client/models/generate_remote_key_request.rb +1 -1
  98. data/lib/merge_hris_client/models/group.rb +275 -0
  99. data/lib/merge_hris_client/models/group_type_enum.rb +38 -0
  100. data/lib/merge_hris_client/models/ignore_common_model.rb +247 -0
  101. data/lib/merge_hris_client/models/ignore_common_model_request.rb +256 -0
  102. data/lib/merge_hris_client/models/issue.rb +1 -1
  103. data/lib/merge_hris_client/models/issue_status_enum.rb +1 -1
  104. data/lib/merge_hris_client/models/link_token.rb +1 -1
  105. data/lib/merge_hris_client/models/location.rb +12 -1
  106. data/lib/merge_hris_client/models/location_type_enum.rb +36 -0
  107. data/lib/merge_hris_client/models/marital_status_enum.rb +1 -1
  108. data/lib/merge_hris_client/models/method_enum.rb +1 -1
  109. data/lib/merge_hris_client/models/model_operation.rb +1 -1
  110. data/lib/merge_hris_client/models/multipart_form_field_request.rb +341 -0
  111. data/lib/merge_hris_client/models/paginated_account_details_and_actions_list.rb +1 -1
  112. data/lib/merge_hris_client/models/paginated_bank_info_list.rb +1 -1
  113. data/lib/merge_hris_client/models/paginated_benefit_list.rb +1 -1
  114. data/lib/merge_hris_client/models/paginated_company_list.rb +1 -1
  115. data/lib/merge_hris_client/models/paginated_deduction_list.rb +1 -1
  116. data/lib/merge_hris_client/models/paginated_employee_list.rb +1 -1
  117. data/lib/merge_hris_client/models/paginated_employee_payroll_run_list.rb +1 -1
  118. data/lib/merge_hris_client/models/paginated_employment_list.rb +1 -1
  119. data/lib/merge_hris_client/models/paginated_group_list.rb +240 -0
  120. data/lib/merge_hris_client/models/paginated_issue_list.rb +1 -1
  121. data/lib/merge_hris_client/models/paginated_location_list.rb +1 -1
  122. data/lib/merge_hris_client/models/paginated_pay_group_list.rb +1 -1
  123. data/lib/merge_hris_client/models/paginated_payroll_run_list.rb +1 -1
  124. data/lib/merge_hris_client/models/paginated_sync_status_list.rb +1 -1
  125. data/lib/merge_hris_client/models/paginated_team_list.rb +1 -1
  126. data/lib/merge_hris_client/models/paginated_time_off_balance_list.rb +1 -1
  127. data/lib/merge_hris_client/models/paginated_time_off_list.rb +1 -1
  128. data/lib/merge_hris_client/models/pay_currency_enum.rb +1 -1
  129. data/lib/merge_hris_client/models/pay_frequency_enum.rb +1 -2
  130. data/lib/merge_hris_client/models/pay_period_enum.rb +1 -1
  131. data/lib/merge_hris_client/models/policy_type_enum.rb +1 -0
  132. data/lib/merge_hris_client/models/reason_enum.rb +37 -0
  133. data/lib/merge_hris_client/models/remote_data.rb +1 -1
  134. data/lib/merge_hris_client/models/remote_data_request.rb +1 -1
  135. data/lib/merge_hris_client/models/remote_key.rb +1 -1
  136. data/lib/merge_hris_client/models/remote_key_for_regeneration_request.rb +1 -1
  137. data/lib/merge_hris_client/models/remote_response.rb +1 -1
  138. data/lib/merge_hris_client/models/request_format_enum.rb +2 -0
  139. data/lib/merge_hris_client/models/request_type_enum.rb +1 -0
  140. data/lib/merge_hris_client/models/run_state_enum.rb +1 -1
  141. data/lib/merge_hris_client/models/run_type_enum.rb +1 -11
  142. data/lib/merge_hris_client/models/sync_status.rb +1 -1
  143. data/lib/merge_hris_client/models/sync_status_status_enum.rb +1 -2
  144. data/lib/merge_hris_client/models/tax.rb +3 -7
  145. data/lib/merge_hris_client/models/team.rb +0 -1
  146. data/lib/merge_hris_client/models/time_off.rb +0 -2
  147. data/lib/merge_hris_client/models/time_off_balance.rb +0 -1
  148. data/lib/merge_hris_client/models/time_off_endpoint_request.rb +1 -1
  149. data/lib/merge_hris_client/models/time_off_request.rb +1 -3
  150. data/lib/merge_hris_client/models/time_off_response.rb +16 -5
  151. data/lib/merge_hris_client/models/time_off_status_enum.rb +1 -1
  152. data/lib/merge_hris_client/models/units_enum.rb +1 -1
  153. data/lib/merge_hris_client/models/validation_problem_source.rb +1 -1
  154. data/lib/merge_hris_client/models/warning_validation_problem.rb +1 -1
  155. data/lib/merge_hris_client/version.rb +1 -1
  156. data/lib/merge_hris_client.rb +16 -2
  157. data/pull_request_template.md +3 -1
  158. data/spec/api/bank_info_api_spec.rb +2 -4
  159. data/spec/api/employees_api_spec.rb +26 -0
  160. data/spec/api/groups_api_spec.rb +68 -0
  161. data/spec/api/time_off_api_spec.rb +1 -0
  162. data/spec/models/data_passthrough_request_spec.rb +6 -0
  163. data/spec/models/debug_mode_log_spec.rb +46 -0
  164. data/spec/models/debug_model_log_summary_spec.rb +46 -0
  165. data/spec/models/earning_type_enum_spec.rb +28 -0
  166. data/spec/models/employee_endpoint_request_spec.rb +34 -0
  167. data/spec/models/employee_request_spec.rb +190 -0
  168. data/spec/models/employee_response_spec.rb +52 -0
  169. data/spec/models/employee_spec.rb +6 -0
  170. data/spec/models/encoding_enum_spec.rb +28 -0
  171. data/spec/models/end_user_details_request_spec.rb +6 -0
  172. data/spec/models/group_spec.rb +64 -0
  173. data/spec/models/group_type_enum_spec.rb +28 -0
  174. data/spec/models/ignore_common_model_spec.rb +40 -0
  175. data/spec/models/location_spec.rb +6 -0
  176. data/spec/models/multipart_form_field_request_spec.rb +58 -0
  177. data/spec/models/paginated_group_list_spec.rb +46 -0
  178. data/spec/models/time_off_response_spec.rb +6 -0
  179. metadata +57 -2
@@ -23,9 +23,9 @@ require 'merge_hris_client'
23
23
  # setup authorization
24
24
  MergeHRISClient.configure do |config|
25
25
  # Configure API key authorization: tokenAuth
26
- config.api_key['Authorization'] = 'YOUR API KEY'
26
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
27
27
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
28
- config.api_key_prefix['Authorization'] = 'Bearer'
28
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
29
29
  end
30
30
 
31
31
  api_instance = MergeHRISClient::LinkedAccountsApi.new
data/docs/Location.md CHANGED
@@ -14,6 +14,7 @@
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. | [optional] |
16
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] |
17
18
  | **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
18
19
 
19
20
  ## Example
@@ -32,6 +33,7 @@ instance = MergeHRISClient::Location.new(
32
33
  state: NY,
33
34
  zip_code: 10027,
34
35
  country: USA,
36
+ location_type: WORK,
35
37
  remote_data: [{"path":"/locations","data":["Varies by platform"]}]
36
38
  )
37
39
  ```
data/docs/LocationsApi.md CHANGED
@@ -24,9 +24,9 @@ require 'merge_hris_client'
24
24
  # setup authorization
25
25
  MergeHRISClient.configure do |config|
26
26
  # Configure API key authorization: tokenAuth
27
- config.api_key['Authorization'] = 'YOUR API KEY'
27
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
28
28
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
29
- # config.api_key_prefix['Authorization'] = 'Bearer'
29
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
30
30
  end
31
31
 
32
32
  api_instance = MergeHRISClient::LocationsApi.new
@@ -115,9 +115,9 @@ require 'merge_hris_client'
115
115
  # setup authorization
116
116
  MergeHRISClient.configure do |config|
117
117
  # Configure API key authorization: tokenAuth
118
- config.api_key['Authorization'] = 'YOUR API KEY'
118
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
119
119
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
120
- # config.api_key_prefix['Authorization'] = 'Bearer'
120
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
121
121
  end
122
122
 
123
123
  api_instance = MergeHRISClient::LocationsApi.new
@@ -0,0 +1,26 @@
1
+ # MergeHRISClient::MultipartFormFieldRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | The name of the form field | |
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] |
10
+ | **file_name** | **String** | The file name of the form field, if the field is for a file. | [optional] |
11
+ | **content_type** | **String** | The MIME type of the file, if the field is for a file. | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'merge_hris_client'
17
+
18
+ instance = MergeHRISClient::MultipartFormFieldRequest.new(
19
+ name: resume,
20
+ data: SW50ZWdyYXRlIGZhc3QKSW50ZWdyYXRlIG9uY2U=,
21
+ encoding: BASE64,
22
+ file_name: resume.pdf,
23
+ content_type: application/pdf
24
+ )
25
+ ```
26
+
@@ -0,0 +1,22 @@
1
+ # MergeHRISClient::PaginatedGroupList
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **_next** | **String** | | [optional] |
8
+ | **previous** | **String** | | [optional] |
9
+ | **results** | [**Array<Group>**](Group.md) | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'merge_hris_client'
15
+
16
+ instance = MergeHRISClient::PaginatedGroupList.new(
17
+ _next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw,
18
+ previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ,
19
+ results: null
20
+ )
21
+ ```
22
+
@@ -23,9 +23,9 @@ require 'merge_hris_client'
23
23
  # setup authorization
24
24
  MergeHRISClient.configure do |config|
25
25
  # Configure API key authorization: tokenAuth
26
- config.api_key['Authorization'] = 'YOUR API KEY'
26
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
27
27
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
28
- # config.api_key_prefix['Authorization'] = 'Bearer'
28
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
29
29
  end
30
30
 
31
31
  api_instance = MergeHRISClient::PassthroughApi.new
data/docs/PayGroupsApi.md CHANGED
@@ -24,9 +24,9 @@ require 'merge_hris_client'
24
24
  # setup authorization
25
25
  MergeHRISClient.configure do |config|
26
26
  # Configure API key authorization: tokenAuth
27
- config.api_key['Authorization'] = 'YOUR API KEY'
27
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
28
28
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
29
- config.api_key_prefix['Authorization'] = 'Bearer'
29
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
30
30
  end
31
31
 
32
32
  api_instance = MergeHRISClient::PayGroupsApi.new
@@ -115,9 +115,9 @@ require 'merge_hris_client'
115
115
  # setup authorization
116
116
  MergeHRISClient.configure do |config|
117
117
  # Configure API key authorization: tokenAuth
118
- config.api_key['Authorization'] = 'YOUR API KEY'
118
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
119
119
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
120
- config.api_key_prefix['Authorization'] = 'Bearer'
120
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
121
121
  end
122
122
 
123
123
  api_instance = MergeHRISClient::PayGroupsApi.new
@@ -24,9 +24,9 @@ require 'merge_hris_client'
24
24
  # setup authorization
25
25
  MergeHRISClient.configure do |config|
26
26
  # Configure API key authorization: tokenAuth
27
- config.api_key['Authorization'] = 'YOUR API KEY'
27
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
28
28
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
29
- # config.api_key_prefix['Authorization'] = 'Bearer'
29
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
30
30
  end
31
31
 
32
32
  api_instance = MergeHRISClient::PayrollRunsApi.new
@@ -125,9 +125,9 @@ require 'merge_hris_client'
125
125
  # setup authorization
126
126
  MergeHRISClient.configure do |config|
127
127
  # Configure API key authorization: tokenAuth
128
- config.api_key['Authorization'] = 'YOUR API KEY'
128
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
129
129
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
130
- # config.api_key_prefix['Authorization'] = 'Bearer'
130
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
131
131
  end
132
132
 
133
133
  api_instance = MergeHRISClient::PayrollRunsApi.new
@@ -23,9 +23,9 @@ require 'merge_hris_client'
23
23
  # setup authorization
24
24
  MergeHRISClient.configure do |config|
25
25
  # Configure API key authorization: tokenAuth
26
- config.api_key['Authorization'] = 'YOUR API KEY'
26
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
27
27
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
28
- # config.api_key_prefix['Authorization'] = 'Bearer'
28
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
29
29
  end
30
30
 
31
31
  api_instance = MergeHRISClient::RegenerateKeyApi.new
@@ -5,7 +5,6 @@ All URIs are relative to *https://api.merge.dev/api/hris/v1*
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
7
  | [**sync_status_list**](SyncStatusApi.md#sync_status_list) | **GET** /sync-status | |
8
- | [**sync_status_resync_create**](SyncStatusApi.md#sync_status_resync_create) | **POST** /sync-status/resync | |
9
8
 
10
9
 
11
10
  ## sync_status_list
data/docs/Tax.md CHANGED
@@ -5,11 +5,11 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **id** | **String** | | [optional][readonly] |
8
- | **employee_payroll_run** | **String** | The tax's employee payroll run. | [optional] |
8
+ | **employee_payroll_run** | **String** | | [optional] |
9
9
  | **name** | **String** | The tax's name. | [optional] |
10
10
  | **amount** | **Float** | The tax amount. | [optional] |
11
11
  | **employer_tax** | **Boolean** | Whether or not the employer is responsible for paying the tax. | [optional] |
12
- | **remote_data** | **Array<Hash<String, AnyType>>** | | [optional] |
12
+ | **remote_data** | **String** | | [optional][readonly] |
13
13
 
14
14
  ## Example
15
15
 
data/docs/Team.md CHANGED
@@ -7,7 +7,7 @@
7
7
  | **id** | **String** | | [optional][readonly] |
8
8
  | **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
9
9
  | **name** | **String** | The team's name. | [optional] |
10
- | **parent_team** | **String** | The team's parent team. | [optional] |
10
+ | **parent_team** | **String** | | [optional] |
11
11
  | **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
12
12
 
13
13
  ## Example
data/docs/TeamsApi.md CHANGED
@@ -24,9 +24,9 @@ require 'merge_hris_client'
24
24
  # setup authorization
25
25
  MergeHRISClient.configure do |config|
26
26
  # Configure API key authorization: tokenAuth
27
- config.api_key['Authorization'] = 'YOUR API KEY'
27
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
28
28
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
29
- # config.api_key_prefix['Authorization'] = 'Bearer'
29
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
30
30
  end
31
31
 
32
32
  api_instance = MergeHRISClient::TeamsApi.new
@@ -119,15 +119,16 @@ require 'merge_hris_client'
119
119
  # setup authorization
120
120
  MergeHRISClient.configure do |config|
121
121
  # Configure API key authorization: tokenAuth
122
- config.api_key['Authorization'] = 'YOUR API KEY'
122
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
123
123
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
124
- # config.api_key_prefix['Authorization'] = 'Bearer'
124
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
125
125
  end
126
126
 
127
127
  api_instance = MergeHRISClient::TeamsApi.new
128
128
  x_account_token = 'x_account_token_example' # String | Token identifying the end user.
129
129
  id = TODO # String |
130
130
  opts = {
131
+ expand: 'parent_team', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
131
132
  include_remote_data: true # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
132
133
  }
133
134
 
data/docs/TimeOff.md CHANGED
@@ -6,8 +6,8 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **id** | **String** | | [optional][readonly] |
8
8
  | **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
9
- | **employee** | **String** | The employee requesting time off. | [optional] |
10
- | **approver** | **String** | The employee approving the time off request. | [optional] |
9
+ | **employee** | **String** | | [optional] |
10
+ | **approver** | **String** | | [optional] |
11
11
  | **status** | [**TimeOffStatusEnum**](TimeOffStatusEnum.md) | The status of this time off request. | [optional] |
12
12
  | **employee_note** | **String** | The employee note for this time off request. | [optional] |
13
13
  | **units** | [**UnitsEnum**](UnitsEnum.md) | The unit of time requested. | [optional] |
data/docs/TimeOffApi.md CHANGED
@@ -25,15 +25,16 @@ require 'merge_hris_client'
25
25
  # setup authorization
26
26
  MergeHRISClient.configure do |config|
27
27
  # Configure API key authorization: tokenAuth
28
- config.api_key['Authorization'] = 'YOUR API KEY'
28
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
29
29
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
30
- config.api_key_prefix['Authorization'] = 'Bearer'
30
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
31
31
  end
32
32
 
33
33
  api_instance = MergeHRISClient::TimeOffApi.new
34
34
  x_account_token = 'x_account_token_example' # String | Token identifying the end user.
35
35
  time_off_endpoint_request = MergeHRISClient::TimeOffEndpointRequest.new({model: MergeHRISClient::TimeOffRequest.new}) # TimeOffEndpointRequest |
36
36
  opts = {
37
+ is_debug_mode: true, # Boolean | Whether to include debug fields (such as log file links) in the response.
37
38
  run_async: true # Boolean | Whether or not third-party updates should be run asynchronously.
38
39
  }
39
40
 
@@ -70,6 +71,7 @@ end
70
71
  | ---- | ---- | ----------- | ----- |
71
72
  | **x_account_token** | **String** | Token identifying the end user. | |
72
73
  | **time_off_endpoint_request** | [**TimeOffEndpointRequest**](TimeOffEndpointRequest.md) | | |
74
+ | **is_debug_mode** | **Boolean** | Whether to include debug fields (such as log file links) in the response. | [optional] |
73
75
  | **run_async** | **Boolean** | Whether or not third-party updates should be run asynchronously. | [optional] |
74
76
 
75
77
  ### Return type
@@ -102,9 +104,9 @@ require 'merge_hris_client'
102
104
  # setup authorization
103
105
  MergeHRISClient.configure do |config|
104
106
  # Configure API key authorization: tokenAuth
105
- config.api_key['Authorization'] = 'YOUR API KEY'
107
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
106
108
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
107
- config.api_key_prefix['Authorization'] = 'Bearer'
109
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
108
110
  end
109
111
 
110
112
  api_instance = MergeHRISClient::TimeOffApi.new
@@ -203,9 +205,9 @@ require 'merge_hris_client'
203
205
  # setup authorization
204
206
  MergeHRISClient.configure do |config|
205
207
  # Configure API key authorization: tokenAuth
206
- config.api_key['Authorization'] = 'YOUR API KEY'
208
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
207
209
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
208
- config.api_key_prefix['Authorization'] = 'Bearer'
210
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
209
211
  end
210
212
 
211
213
  api_instance = MergeHRISClient::TimeOffApi.new
@@ -6,7 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **id** | **String** | | [optional][readonly] |
8
8
  | **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
9
- | **employee** | **String** | The employee the balance belongs to. | [optional] |
9
+ | **employee** | **String** | | [optional] |
10
10
  | **balance** | **Float** | The current PTO balance in terms of hours. | [optional] |
11
11
  | **used** | **Float** | The amount of PTO used in terms of hours. | [optional] |
12
12
  | **policy_type** | [**PolicyTypeEnum**](PolicyTypeEnum.md) | The policy type of this time off balance. | [optional] |
@@ -5,8 +5,8 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
8
- | **employee** | **String** | The employee requesting time off. | [optional] |
9
- | **approver** | **String** | The employee approving the time off request. | [optional] |
8
+ | **employee** | **String** | | [optional] |
9
+ | **approver** | **String** | | [optional] |
10
10
  | **status** | [**TimeOffStatusEnum**](TimeOffStatusEnum.md) | The status of this time off request. | [optional] |
11
11
  | **employee_note** | **String** | The employee note for this time off request. | [optional] |
12
12
  | **units** | [**UnitsEnum**](UnitsEnum.md) | The unit of time requested. | [optional] |
@@ -7,6 +7,7 @@
7
7
  | **model** | [**TimeOff**](TimeOff.md) | | |
8
8
  | **warnings** | [**Array<WarningValidationProblem>**](WarningValidationProblem.md) | | |
9
9
  | **errors** | [**Array<ErrorValidationProblem>**](ErrorValidationProblem.md) | | |
10
+ | **logs** | [**Array<DebugModeLog>**](DebugModeLog.md) | | [optional] |
10
11
 
11
12
  ## Example
12
13
 
@@ -16,7 +17,8 @@ require 'merge_hris_client'
16
17
  instance = MergeHRISClient::TimeOffResponse.new(
17
18
  model: null,
18
19
  warnings: null,
19
- errors: null
20
+ errors: null,
21
+ logs: null
20
22
  )
21
23
  ```
22
24
 
@@ -22,12 +22,11 @@ module MergeHRISClient
22
22
  # Returns a list of `BankInfo` objects.
23
23
  # @param x_account_token [String] Token identifying the end user.
24
24
  # @param [Hash] opts the optional parameters
25
- # @option opts [String] :account_type The bank account type
26
- # @option opts [String] :bank_name
25
+ # @option opts [String] :account_type If provided, will only return BankInfo's with this account type. Options: ('SAVINGS', 'CHECKING')
26
+ # @option opts [String] :bank_name If provided, will only return BankInfo's with this bank name.
27
27
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
28
28
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
29
29
  # @option opts [String] :cursor The pagination cursor value.
30
- # @option opts [String] :employee If provided, will only return bank accounts for this employee.
31
30
  # @option opts [String] :employee_id If provided, will only return bank accounts for this employee.
32
31
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
33
32
  # @option opts [Boolean] :include_deleted_data Whether to include data that was deleted in the third-party service.
@@ -36,7 +35,6 @@ module MergeHRISClient
36
35
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
37
36
  # @option opts [String] :order_by Overrides the default ordering for this endpoint.
38
37
  # @option opts [Integer] :page_size Number of results to return per page.
39
- # @option opts [Time] :remote_created_at
40
38
  # @option opts [String] :remote_id The API provider's ID for the given object.
41
39
  # @return [PaginatedBankInfoList]
42
40
  def bank_info_list(x_account_token, opts = {})
@@ -47,12 +45,11 @@ module MergeHRISClient
47
45
  # Returns a list of `BankInfo` objects.
48
46
  # @param x_account_token [String] Token identifying the end user.
49
47
  # @param [Hash] opts the optional parameters
50
- # @option opts [String] :account_type The bank account type
51
- # @option opts [String] :bank_name
48
+ # @option opts [String] :account_type If provided, will only return BankInfo's with this account type. Options: ('SAVINGS', 'CHECKING')
49
+ # @option opts [String] :bank_name If provided, will only return BankInfo's with this bank name.
52
50
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
53
51
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
54
52
  # @option opts [String] :cursor The pagination cursor value.
55
- # @option opts [String] :employee If provided, will only return bank accounts for this employee.
56
53
  # @option opts [String] :employee_id If provided, will only return bank accounts for this employee.
57
54
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
58
55
  # @option opts [Boolean] :include_deleted_data Whether to include data that was deleted in the third-party service.
@@ -61,7 +58,6 @@ module MergeHRISClient
61
58
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
62
59
  # @option opts [String] :order_by Overrides the default ordering for this endpoint.
63
60
  # @option opts [Integer] :page_size Number of results to return per page.
64
- # @option opts [Time] :remote_created_at
65
61
  # @option opts [String] :remote_id The API provider's ID for the given object.
66
62
  # @return [Array<(PaginatedBankInfoList, Integer, Hash)>] PaginatedBankInfoList data, response status code and response headers
67
63
  def bank_info_list_with_http_info(x_account_token, opts = {})
@@ -103,7 +99,6 @@ module MergeHRISClient
103
99
  query_params[:'modified_before'] = opts[:'modified_before'] if !opts[:'modified_before'].nil?
104
100
  query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
105
101
  query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
106
- query_params[:'remote_created_at'] = opts[:'remote_created_at'] if !opts[:'remote_created_at'].nil?
107
102
  query_params[:'remote_id'] = opts[:'remote_id'] if !opts[:'remote_id'].nil?
108
103
 
109
104
  # header parameters