merge_hris_client 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (213) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +33 -9
  3. data/docs/AccountDetails.md +30 -0
  4. data/docs/AccountDetailsAndActions.md +32 -0
  5. data/docs/AccountDetailsAndActionsIntegration.md +32 -0
  6. data/docs/AccountDetailsAndActionsStatusEnum.md +15 -0
  7. data/docs/AccountDetailsApi.md +76 -0
  8. data/docs/AccountTypeEnum.md +15 -0
  9. data/docs/BankInfo.md +34 -0
  10. data/docs/BankInfoApi.md +193 -0
  11. data/docs/BenefitsApi.md +2 -78
  12. data/docs/{StateEnum.md → CategoriesEnum.md} +2 -2
  13. data/docs/{NullEnum.md → CategoryEnum.md} +2 -2
  14. data/docs/CompaniesApi.md +3 -1
  15. data/docs/DataPassthroughRequest.md +5 -3
  16. data/docs/DeductionsApi.md +179 -0
  17. data/docs/Employee.md +12 -8
  18. data/docs/EmployeePayrollRun.md +3 -3
  19. data/docs/EmployeePayrollRunsApi.md +13 -3
  20. data/docs/EmployeesApi.md +12 -82
  21. data/docs/Employment.md +3 -1
  22. data/docs/EmploymentsApi.md +7 -78
  23. data/docs/EndUserDetailsRequest.md +1 -1
  24. data/docs/ErrorValidationProblem.md +24 -0
  25. data/docs/ForceResyncApi.md +79 -0
  26. data/docs/IssuesApi.md +11 -10
  27. data/docs/LinkedAccountsApi.md +103 -0
  28. data/docs/Location.md +2 -0
  29. data/docs/LocationsApi.md +2 -0
  30. data/docs/PaginatedAccountDetailsAndActionsList.md +22 -0
  31. data/docs/PaginatedBankInfoList.md +22 -0
  32. data/docs/PaginatedDeductionList.md +22 -0
  33. data/docs/PaginatedIssueList.md +2 -2
  34. data/docs/PaginatedPayGroupList.md +22 -0
  35. data/docs/PaginatedSyncStatusList.md +2 -2
  36. data/docs/PayGroup.md +24 -0
  37. data/docs/PayGroupsApi.md +177 -0
  38. data/docs/PayrollRun.md +3 -3
  39. data/docs/PayrollRunsApi.md +13 -1
  40. data/docs/PolicyTypeEnum.md +15 -0
  41. data/docs/RequestFormatEnum.md +15 -0
  42. data/docs/SyncStatusApi.md +3 -74
  43. data/docs/TeamsApi.md +7 -2
  44. data/docs/TimeOff.md +3 -3
  45. data/docs/TimeOffApi.md +88 -4
  46. data/docs/TimeOffBalance.md +4 -2
  47. data/docs/{TimeOffBalanceApi.md → TimeOffBalancesApi.md} +26 -22
  48. data/docs/TimeOffEndpointRequest.md +18 -0
  49. data/docs/TimeOffRequest.md +36 -0
  50. data/docs/TimeOffResponse.md +22 -0
  51. data/docs/ValidationProblemSource.md +18 -0
  52. data/docs/WarningValidationProblem.md +24 -0
  53. data/lib/merge_hris_client/api/account_details_api.rb +77 -0
  54. data/lib/merge_hris_client/api/bank_info_api.rb +222 -0
  55. data/lib/merge_hris_client/api/benefits_api.rb +3 -69
  56. data/lib/merge_hris_client/api/companies_api.rb +3 -0
  57. data/lib/merge_hris_client/api/deductions_api.rb +185 -0
  58. data/lib/merge_hris_client/api/employee_payroll_runs_api.rb +17 -2
  59. data/lib/merge_hris_client/api/employees_api.rb +18 -75
  60. data/lib/merge_hris_client/api/employments_api.rb +24 -69
  61. data/lib/merge_hris_client/api/force_resync_api.rb +84 -0
  62. data/lib/merge_hris_client/api/issues_api.rb +10 -10
  63. data/lib/merge_hris_client/api/linked_accounts_api.rb +117 -0
  64. data/lib/merge_hris_client/api/locations_api.rb +3 -0
  65. data/lib/merge_hris_client/api/pay_groups_api.rb +182 -0
  66. data/lib/merge_hris_client/api/payroll_runs_api.rb +22 -0
  67. data/lib/merge_hris_client/api/sync_status_api.rb +4 -4
  68. data/lib/merge_hris_client/api/teams_api.rb +17 -0
  69. data/lib/merge_hris_client/api/time_off_api.rb +92 -2
  70. data/lib/merge_hris_client/api/time_off_balances_api.rb +206 -0
  71. data/lib/merge_hris_client/models/account_details.rb +273 -0
  72. data/lib/merge_hris_client/models/account_details_and_actions.rb +302 -0
  73. data/lib/merge_hris_client/models/account_details_and_actions_integration.rb +310 -0
  74. data/lib/merge_hris_client/models/account_details_and_actions_status_enum.rb +36 -0
  75. data/lib/merge_hris_client/models/account_integration.rb +1 -1
  76. data/lib/merge_hris_client/models/account_type_enum.rb +35 -0
  77. data/lib/merge_hris_client/models/bank_info.rb +323 -0
  78. data/lib/merge_hris_client/models/categories_enum.rb +36 -0
  79. data/lib/merge_hris_client/models/category_enum.rb +36 -0
  80. data/lib/merge_hris_client/models/data_passthrough_request.rb +66 -9
  81. data/lib/merge_hris_client/models/employee.rb +32 -8
  82. data/lib/merge_hris_client/models/employment.rb +12 -1
  83. data/lib/merge_hris_client/models/end_user_details_request.rb +73 -1
  84. data/lib/merge_hris_client/models/error_validation_problem.rb +260 -0
  85. data/lib/merge_hris_client/models/generate_remote_key_request.rb +19 -0
  86. data/lib/merge_hris_client/models/location.rb +12 -1
  87. data/lib/merge_hris_client/models/marital_status_enum.rb +1 -1
  88. data/lib/merge_hris_client/models/paginated_account_details_and_actions_list.rb +240 -0
  89. data/lib/merge_hris_client/models/paginated_bank_info_list.rb +240 -0
  90. data/lib/merge_hris_client/models/paginated_deduction_list.rb +240 -0
  91. data/lib/merge_hris_client/models/paginated_pay_group_list.rb +240 -0
  92. data/lib/merge_hris_client/models/{benefit_request.rb → pay_group.rb} +31 -54
  93. data/lib/merge_hris_client/models/policy_type_enum.rb +39 -0
  94. data/lib/merge_hris_client/models/remote_data_request.rb +19 -0
  95. data/lib/merge_hris_client/models/remote_key_for_regeneration_request.rb +19 -0
  96. data/lib/merge_hris_client/models/request_format_enum.rb +35 -0
  97. data/lib/merge_hris_client/models/request_type_enum.rb +2 -1
  98. data/lib/merge_hris_client/models/sync_status_status_enum.rb +2 -0
  99. data/lib/merge_hris_client/models/time_off_balance.rb +14 -3
  100. data/lib/merge_hris_client/models/time_off_endpoint_request.rb +223 -0
  101. data/lib/merge_hris_client/models/{employment_request.rb → time_off_request.rb} +80 -69
  102. data/lib/merge_hris_client/models/time_off_response.rb +255 -0
  103. data/lib/merge_hris_client/models/validation_problem_source.rb +223 -0
  104. data/lib/merge_hris_client/models/warning_validation_problem.rb +260 -0
  105. data/lib/merge_hris_client/version.rb +1 -1
  106. data/lib/merge_hris_client.rb +28 -4
  107. data/spec/api/account_details_api_spec.rb +45 -0
  108. data/spec/api/account_token_api_spec.rb +1 -1
  109. data/spec/api/available_actions_api_spec.rb +1 -1
  110. data/spec/api/bank_info_api_spec.rb +76 -0
  111. data/spec/api/benefits_api_spec.rb +4 -1
  112. data/spec/api/companies_api_spec.rb +4 -1
  113. data/spec/api/deductions_api_spec.rb +69 -0
  114. data/spec/api/employee_payroll_runs_api_spec.rb +9 -2
  115. data/spec/api/employees_api_spec.rb +9 -1
  116. data/spec/api/employments_api_spec.rb +7 -1
  117. data/spec/api/force_resync_api_spec.rb +46 -0
  118. data/spec/api/issues_api_spec.rb +5 -5
  119. data/spec/api/link_token_api_spec.rb +2 -2
  120. data/spec/api/linked_accounts_api_spec.rb +57 -0
  121. data/spec/api/locations_api_spec.rb +4 -1
  122. data/spec/api/passthrough_api_spec.rb +2 -3
  123. data/spec/api/pay_groups_api_spec.rb +68 -0
  124. data/spec/api/payroll_runs_api_spec.rb +9 -1
  125. data/spec/api/regenerate_key_api_spec.rb +2 -2
  126. data/spec/api/sync_status_api_spec.rb +2 -13
  127. data/spec/api/teams_api_spec.rb +7 -1
  128. data/spec/api/time_off_api_spec.rb +20 -2
  129. data/spec/api/{time_off_balance_api_spec.rb → time_off_balances_api_spec.rb} +13 -11
  130. data/spec/models/account_details_and_actions_integration_spec.rb +76 -0
  131. data/spec/models/account_details_and_actions_spec.rb +76 -0
  132. data/spec/models/account_details_and_actions_status_enum_spec.rb +28 -0
  133. data/spec/models/{benefit_request_spec.rb → account_details_spec.rb} +18 -12
  134. data/spec/models/account_integration_spec.rb +7 -1
  135. data/spec/models/account_token_spec.rb +7 -1
  136. data/spec/models/account_type_enum_spec.rb +28 -0
  137. data/spec/models/available_actions_spec.rb +13 -1
  138. data/spec/models/{employment_request_spec.rb → bank_info_spec.rb} +15 -15
  139. data/spec/models/benefit_plan_type_enum_spec.rb +1 -1
  140. data/spec/models/benefit_spec.rb +7 -1
  141. data/spec/models/categories_enum_spec.rb +28 -0
  142. data/spec/models/{state_enum_spec.rb → category_enum_spec.rb} +7 -7
  143. data/spec/models/company_spec.rb +7 -1
  144. data/spec/models/country_enum_spec.rb +1 -1
  145. data/spec/models/data_passthrough_request_spec.rb +7 -1
  146. data/spec/models/deduction_spec.rb +7 -1
  147. data/spec/models/earning_spec.rb +7 -1
  148. data/spec/models/employee_payroll_run_spec.rb +7 -1
  149. data/spec/models/employee_spec.rb +31 -1
  150. data/spec/models/employment_spec.rb +13 -1
  151. data/spec/models/employment_status_enum_spec.rb +1 -1
  152. data/spec/models/employment_type_enum_spec.rb +1 -1
  153. data/spec/models/end_user_details_request_spec.rb +7 -5
  154. data/spec/models/{end_user_details_spec.rb → error_validation_problem_spec.rb} +11 -15
  155. data/spec/models/ethnicity_enum_spec.rb +1 -1
  156. data/spec/models/flsa_status_enum_spec.rb +1 -1
  157. data/spec/models/gender_enum_spec.rb +1 -1
  158. data/spec/models/link_token_spec.rb +1 -1
  159. data/spec/models/location_spec.rb +13 -1
  160. data/spec/models/marital_status_enum_spec.rb +1 -1
  161. data/spec/models/method_enum_spec.rb +1 -1
  162. data/spec/models/model_operation_spec.rb +13 -1
  163. data/spec/models/paginated_account_details_and_actions_list_spec.rb +46 -0
  164. data/spec/models/paginated_bank_info_list_spec.rb +46 -0
  165. data/spec/models/paginated_benefit_list_spec.rb +1 -1
  166. data/spec/models/paginated_company_list_spec.rb +1 -1
  167. data/spec/models/paginated_deduction_list_spec.rb +46 -0
  168. data/spec/models/paginated_employee_list_spec.rb +1 -1
  169. data/spec/models/paginated_employee_payroll_run_list_spec.rb +1 -1
  170. data/spec/models/paginated_employment_list_spec.rb +1 -1
  171. data/spec/models/paginated_location_list_spec.rb +1 -1
  172. data/spec/models/paginated_pay_group_list_spec.rb +46 -0
  173. data/spec/models/paginated_payroll_run_list_spec.rb +1 -1
  174. data/spec/models/paginated_team_list_spec.rb +1 -1
  175. data/spec/models/paginated_time_off_list_spec.rb +1 -1
  176. data/spec/models/pay_currency_enum_spec.rb +1 -1
  177. data/spec/models/pay_frequency_enum_spec.rb +1 -1
  178. data/spec/models/{data_passthrough_spec.rb → pay_group_spec.rb} +11 -11
  179. data/spec/models/pay_period_enum_spec.rb +1 -1
  180. data/spec/models/payroll_run_spec.rb +7 -1
  181. data/spec/models/policy_type_enum_spec.rb +28 -0
  182. data/spec/models/remote_data_spec.rb +1 -1
  183. data/spec/models/remote_key_for_regeneration_request_spec.rb +1 -1
  184. data/spec/models/remote_key_spec.rb +1 -1
  185. data/spec/models/remote_response_spec.rb +1 -1
  186. data/spec/models/request_format_enum_spec.rb +28 -0
  187. data/spec/models/request_type_enum_spec.rb +1 -1
  188. data/spec/models/run_state_enum_spec.rb +1 -1
  189. data/spec/models/run_type_enum_spec.rb +1 -1
  190. data/spec/models/tax_spec.rb +7 -1
  191. data/spec/models/team_spec.rb +13 -1
  192. data/spec/models/time_off_balance_spec.rb +6 -0
  193. data/spec/models/{remote_key_for_regeneration_spec.rb → time_off_endpoint_request_spec.rb} +8 -8
  194. data/spec/models/time_off_request_spec.rb +88 -0
  195. data/spec/models/time_off_response_spec.rb +46 -0
  196. data/spec/models/time_off_spec.rb +19 -1
  197. data/spec/models/time_off_status_enum_spec.rb +1 -1
  198. data/spec/models/type_enum_spec.rb +1 -1
  199. data/spec/models/units_enum_spec.rb +1 -1
  200. data/spec/models/validation_problem_source_spec.rb +34 -0
  201. data/spec/models/warning_validation_problem_spec.rb +52 -0
  202. data/test_ruby.rb +11 -14
  203. metadata +115 -33
  204. data/docs/BenefitRequest.md +0 -28
  205. data/docs/DataPassthrough.md +0 -24
  206. data/docs/EmployeeRequest.md +0 -62
  207. data/docs/EmploymentRequest.md +0 -34
  208. data/docs/EndUserDetails.md +0 -24
  209. data/docs/RemoteKeyForRegeneration.md +0 -18
  210. data/lib/merge_hris_client/models/employee_request.rb +0 -523
  211. data/merge_hris_client-1.0.0.gem +0 -0
  212. data/merge_hris_client-1.0.1.gem +0 -0
  213. data/spec/models/employee_request_spec.rb +0 -160
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1019ad62ce1658e194a3bb31737940198de592a478beb103a011ccff8b93257f
4
- data.tar.gz: 7f3a57417e8d5a924b61844b03963e1304eab299dbc24facdaee557f6810b5d2
3
+ metadata.gz: 2f2b89346995cd811138daf6df98a0f97045dcf4f03990a6c3306c14da5c9f9d
4
+ data.tar.gz: 144f81f0ff9b22eb70d9f11b0b3cbbfc71bdd993bc4855dfd6cadfbe476be354
5
5
  SHA512:
6
- metadata.gz: 81a6f2c35383814dc9882b32b327fb01f6a255571d35fe5f3f0969f5cd370be97e4eef9ee42d86e5df72d1658594a3767208d14fd667317ac67dff99a22d9567
7
- data.tar.gz: 919a1b4fe3fd8a38c0896589e84c4d1cbfa7097d56d603be3cf4ca27c819ecd7ca9c9bcaab7dff0b939abbf26aca47c5d8dd96e659db57e9e99e8858d9536c87
6
+ metadata.gz: 0d204253541b196e1612ac740d988033dd6a33d6ffa0bf7ced9c7fb7723f7aeb447d418d8fb7d0af399ffb995c8f820fa5f4e178fdcf582d31b721a99824035f
7
+ data.tar.gz: ba61ffd0632483616d42562774095959678a857c2b54657171d9daf5e98571d8b90824331a2cca6cb17130fab75284c55f90822dfdd0161a114a6dd5e1b8f5e7
data/README.md CHANGED
@@ -83,50 +83,63 @@ All URIs are relative to *https://api.merge.dev/api/hris/v1*
83
83
 
84
84
  Class | Method | HTTP request | Description
85
85
  ------------ | ------------- | ------------- | -------------
86
+ *MergeHRISClient::AccountDetailsApi* | [**account_details_retrieve**](docs/AccountDetailsApi.md#account_details_retrieve) | **GET** /account-details |
86
87
  *MergeHRISClient::AccountTokenApi* | [**account_token_retrieve**](docs/AccountTokenApi.md#account_token_retrieve) | **GET** /account-token/{public_token} |
87
88
  *MergeHRISClient::AvailableActionsApi* | [**available_actions_retrieve**](docs/AvailableActionsApi.md#available_actions_retrieve) | **GET** /available-actions |
88
- *MergeHRISClient::BenefitsApi* | [**benefits_create**](docs/BenefitsApi.md#benefits_create) | **POST** /benefits |
89
+ *MergeHRISClient::BankInfoApi* | [**bank_info_list**](docs/BankInfoApi.md#bank_info_list) | **GET** /bank-info |
90
+ *MergeHRISClient::BankInfoApi* | [**bank_info_retrieve**](docs/BankInfoApi.md#bank_info_retrieve) | **GET** /bank-info/{id} |
89
91
  *MergeHRISClient::BenefitsApi* | [**benefits_list**](docs/BenefitsApi.md#benefits_list) | **GET** /benefits |
90
92
  *MergeHRISClient::BenefitsApi* | [**benefits_retrieve**](docs/BenefitsApi.md#benefits_retrieve) | **GET** /benefits/{id} |
91
93
  *MergeHRISClient::CompaniesApi* | [**companies_list**](docs/CompaniesApi.md#companies_list) | **GET** /companies |
92
94
  *MergeHRISClient::CompaniesApi* | [**companies_retrieve**](docs/CompaniesApi.md#companies_retrieve) | **GET** /companies/{id} |
95
+ *MergeHRISClient::DeductionsApi* | [**deductions_list**](docs/DeductionsApi.md#deductions_list) | **GET** /deductions |
96
+ *MergeHRISClient::DeductionsApi* | [**deductions_retrieve**](docs/DeductionsApi.md#deductions_retrieve) | **GET** /deductions/{id} |
93
97
  *MergeHRISClient::DeleteAccountApi* | [**delete_account_create**](docs/DeleteAccountApi.md#delete_account_create) | **POST** /delete-account |
94
98
  *MergeHRISClient::EmployeePayrollRunsApi* | [**employee_payroll_runs_list**](docs/EmployeePayrollRunsApi.md#employee_payroll_runs_list) | **GET** /employee-payroll-runs |
95
99
  *MergeHRISClient::EmployeePayrollRunsApi* | [**employee_payroll_runs_retrieve**](docs/EmployeePayrollRunsApi.md#employee_payroll_runs_retrieve) | **GET** /employee-payroll-runs/{id} |
96
- *MergeHRISClient::EmployeesApi* | [**employees_create**](docs/EmployeesApi.md#employees_create) | **POST** /employees |
97
100
  *MergeHRISClient::EmployeesApi* | [**employees_list**](docs/EmployeesApi.md#employees_list) | **GET** /employees |
98
101
  *MergeHRISClient::EmployeesApi* | [**employees_retrieve**](docs/EmployeesApi.md#employees_retrieve) | **GET** /employees/{id} |
99
- *MergeHRISClient::EmploymentsApi* | [**employments_create**](docs/EmploymentsApi.md#employments_create) | **POST** /employments |
100
102
  *MergeHRISClient::EmploymentsApi* | [**employments_list**](docs/EmploymentsApi.md#employments_list) | **GET** /employments |
101
103
  *MergeHRISClient::EmploymentsApi* | [**employments_retrieve**](docs/EmploymentsApi.md#employments_retrieve) | **GET** /employments/{id} |
104
+ *MergeHRISClient::ForceResyncApi* | [**sync_status_resync_create**](docs/ForceResyncApi.md#sync_status_resync_create) | **POST** /sync-status/resync |
102
105
  *MergeHRISClient::GenerateKeyApi* | [**generate_key_create**](docs/GenerateKeyApi.md#generate_key_create) | **POST** /generate-key |
103
106
  *MergeHRISClient::IssuesApi* | [**issues_list**](docs/IssuesApi.md#issues_list) | **GET** /issues |
104
107
  *MergeHRISClient::IssuesApi* | [**issues_retrieve**](docs/IssuesApi.md#issues_retrieve) | **GET** /issues/{id} |
105
108
  *MergeHRISClient::LinkTokenApi* | [**link_token_create**](docs/LinkTokenApi.md#link_token_create) | **POST** /link-token |
109
+ *MergeHRISClient::LinkedAccountsApi* | [**linked_accounts_list**](docs/LinkedAccountsApi.md#linked_accounts_list) | **GET** /linked-accounts |
106
110
  *MergeHRISClient::LocationsApi* | [**locations_list**](docs/LocationsApi.md#locations_list) | **GET** /locations |
107
111
  *MergeHRISClient::LocationsApi* | [**locations_retrieve**](docs/LocationsApi.md#locations_retrieve) | **GET** /locations/{id} |
108
112
  *MergeHRISClient::PassthroughApi* | [**passthrough_create**](docs/PassthroughApi.md#passthrough_create) | **POST** /passthrough |
113
+ *MergeHRISClient::PayGroupsApi* | [**pay_groups_list**](docs/PayGroupsApi.md#pay_groups_list) | **GET** /pay-groups |
114
+ *MergeHRISClient::PayGroupsApi* | [**pay_groups_retrieve**](docs/PayGroupsApi.md#pay_groups_retrieve) | **GET** /pay-groups/{id} |
109
115
  *MergeHRISClient::PayrollRunsApi* | [**payroll_runs_list**](docs/PayrollRunsApi.md#payroll_runs_list) | **GET** /payroll-runs |
110
116
  *MergeHRISClient::PayrollRunsApi* | [**payroll_runs_retrieve**](docs/PayrollRunsApi.md#payroll_runs_retrieve) | **GET** /payroll-runs/{id} |
111
117
  *MergeHRISClient::RegenerateKeyApi* | [**regenerate_key_create**](docs/RegenerateKeyApi.md#regenerate_key_create) | **POST** /regenerate-key |
112
118
  *MergeHRISClient::SyncStatusApi* | [**sync_status_list**](docs/SyncStatusApi.md#sync_status_list) | **GET** /sync-status |
113
- *MergeHRISClient::SyncStatusApi* | [**sync_status_resync_create**](docs/SyncStatusApi.md#sync_status_resync_create) | **POST** /sync-status/resync |
114
119
  *MergeHRISClient::TeamsApi* | [**teams_list**](docs/TeamsApi.md#teams_list) | **GET** /teams |
115
120
  *MergeHRISClient::TeamsApi* | [**teams_retrieve**](docs/TeamsApi.md#teams_retrieve) | **GET** /teams/{id} |
121
+ *MergeHRISClient::TimeOffApi* | [**time_off_create**](docs/TimeOffApi.md#time_off_create) | **POST** /time-off |
116
122
  *MergeHRISClient::TimeOffApi* | [**time_off_list**](docs/TimeOffApi.md#time_off_list) | **GET** /time-off |
117
123
  *MergeHRISClient::TimeOffApi* | [**time_off_retrieve**](docs/TimeOffApi.md#time_off_retrieve) | **GET** /time-off/{id} |
118
- *MergeHRISClient::TimeOffBalanceApi* | [**time_off_balance_list**](docs/TimeOffBalanceApi.md#time_off_balance_list) | **GET** /time-off-balance |
119
- *MergeHRISClient::TimeOffBalanceApi* | [**time_off_balance_retrieve**](docs/TimeOffBalanceApi.md#time_off_balance_retrieve) | **GET** /time-off-balance/{id} |
124
+ *MergeHRISClient::TimeOffBalancesApi* | [**time_off_balances_list**](docs/TimeOffBalancesApi.md#time_off_balances_list) | **GET** /time-off-balances |
125
+ *MergeHRISClient::TimeOffBalancesApi* | [**time_off_balances_retrieve**](docs/TimeOffBalancesApi.md#time_off_balances_retrieve) | **GET** /time-off-balances/{id} |
120
126
 
121
127
 
122
128
  ## Documentation for Models
123
129
 
130
+ - [MergeHRISClient::AccountDetails](docs/AccountDetails.md)
131
+ - [MergeHRISClient::AccountDetailsAndActions](docs/AccountDetailsAndActions.md)
132
+ - [MergeHRISClient::AccountDetailsAndActionsIntegration](docs/AccountDetailsAndActionsIntegration.md)
133
+ - [MergeHRISClient::AccountDetailsAndActionsStatusEnum](docs/AccountDetailsAndActionsStatusEnum.md)
124
134
  - [MergeHRISClient::AccountIntegration](docs/AccountIntegration.md)
125
135
  - [MergeHRISClient::AccountToken](docs/AccountToken.md)
136
+ - [MergeHRISClient::AccountTypeEnum](docs/AccountTypeEnum.md)
126
137
  - [MergeHRISClient::AvailableActions](docs/AvailableActions.md)
138
+ - [MergeHRISClient::BankInfo](docs/BankInfo.md)
127
139
  - [MergeHRISClient::Benefit](docs/Benefit.md)
128
140
  - [MergeHRISClient::BenefitPlanTypeEnum](docs/BenefitPlanTypeEnum.md)
129
- - [MergeHRISClient::BenefitRequest](docs/BenefitRequest.md)
141
+ - [MergeHRISClient::CategoriesEnum](docs/CategoriesEnum.md)
142
+ - [MergeHRISClient::CategoryEnum](docs/CategoryEnum.md)
130
143
  - [MergeHRISClient::Company](docs/Company.md)
131
144
  - [MergeHRISClient::CountryEnum](docs/CountryEnum.md)
132
145
  - [MergeHRISClient::DataPassthroughRequest](docs/DataPassthroughRequest.md)
@@ -134,12 +147,11 @@ Class | Method | HTTP request | Description
134
147
  - [MergeHRISClient::Earning](docs/Earning.md)
135
148
  - [MergeHRISClient::Employee](docs/Employee.md)
136
149
  - [MergeHRISClient::EmployeePayrollRun](docs/EmployeePayrollRun.md)
137
- - [MergeHRISClient::EmployeeRequest](docs/EmployeeRequest.md)
138
150
  - [MergeHRISClient::Employment](docs/Employment.md)
139
- - [MergeHRISClient::EmploymentRequest](docs/EmploymentRequest.md)
140
151
  - [MergeHRISClient::EmploymentStatusEnum](docs/EmploymentStatusEnum.md)
141
152
  - [MergeHRISClient::EmploymentTypeEnum](docs/EmploymentTypeEnum.md)
142
153
  - [MergeHRISClient::EndUserDetailsRequest](docs/EndUserDetailsRequest.md)
154
+ - [MergeHRISClient::ErrorValidationProblem](docs/ErrorValidationProblem.md)
143
155
  - [MergeHRISClient::EthnicityEnum](docs/EthnicityEnum.md)
144
156
  - [MergeHRISClient::FlsaStatusEnum](docs/FlsaStatusEnum.md)
145
157
  - [MergeHRISClient::GenderEnum](docs/GenderEnum.md)
@@ -151,13 +163,17 @@ Class | Method | HTTP request | Description
151
163
  - [MergeHRISClient::MaritalStatusEnum](docs/MaritalStatusEnum.md)
152
164
  - [MergeHRISClient::MethodEnum](docs/MethodEnum.md)
153
165
  - [MergeHRISClient::ModelOperation](docs/ModelOperation.md)
166
+ - [MergeHRISClient::PaginatedAccountDetailsAndActionsList](docs/PaginatedAccountDetailsAndActionsList.md)
167
+ - [MergeHRISClient::PaginatedBankInfoList](docs/PaginatedBankInfoList.md)
154
168
  - [MergeHRISClient::PaginatedBenefitList](docs/PaginatedBenefitList.md)
155
169
  - [MergeHRISClient::PaginatedCompanyList](docs/PaginatedCompanyList.md)
170
+ - [MergeHRISClient::PaginatedDeductionList](docs/PaginatedDeductionList.md)
156
171
  - [MergeHRISClient::PaginatedEmployeeList](docs/PaginatedEmployeeList.md)
157
172
  - [MergeHRISClient::PaginatedEmployeePayrollRunList](docs/PaginatedEmployeePayrollRunList.md)
158
173
  - [MergeHRISClient::PaginatedEmploymentList](docs/PaginatedEmploymentList.md)
159
174
  - [MergeHRISClient::PaginatedIssueList](docs/PaginatedIssueList.md)
160
175
  - [MergeHRISClient::PaginatedLocationList](docs/PaginatedLocationList.md)
176
+ - [MergeHRISClient::PaginatedPayGroupList](docs/PaginatedPayGroupList.md)
161
177
  - [MergeHRISClient::PaginatedPayrollRunList](docs/PaginatedPayrollRunList.md)
162
178
  - [MergeHRISClient::PaginatedSyncStatusList](docs/PaginatedSyncStatusList.md)
163
179
  - [MergeHRISClient::PaginatedTeamList](docs/PaginatedTeamList.md)
@@ -165,13 +181,16 @@ Class | Method | HTTP request | Description
165
181
  - [MergeHRISClient::PaginatedTimeOffList](docs/PaginatedTimeOffList.md)
166
182
  - [MergeHRISClient::PayCurrencyEnum](docs/PayCurrencyEnum.md)
167
183
  - [MergeHRISClient::PayFrequencyEnum](docs/PayFrequencyEnum.md)
184
+ - [MergeHRISClient::PayGroup](docs/PayGroup.md)
168
185
  - [MergeHRISClient::PayPeriodEnum](docs/PayPeriodEnum.md)
169
186
  - [MergeHRISClient::PayrollRun](docs/PayrollRun.md)
187
+ - [MergeHRISClient::PolicyTypeEnum](docs/PolicyTypeEnum.md)
170
188
  - [MergeHRISClient::RemoteData](docs/RemoteData.md)
171
189
  - [MergeHRISClient::RemoteDataRequest](docs/RemoteDataRequest.md)
172
190
  - [MergeHRISClient::RemoteKey](docs/RemoteKey.md)
173
191
  - [MergeHRISClient::RemoteKeyForRegenerationRequest](docs/RemoteKeyForRegenerationRequest.md)
174
192
  - [MergeHRISClient::RemoteResponse](docs/RemoteResponse.md)
193
+ - [MergeHRISClient::RequestFormatEnum](docs/RequestFormatEnum.md)
175
194
  - [MergeHRISClient::RequestTypeEnum](docs/RequestTypeEnum.md)
176
195
  - [MergeHRISClient::RunStateEnum](docs/RunStateEnum.md)
177
196
  - [MergeHRISClient::RunTypeEnum](docs/RunTypeEnum.md)
@@ -181,9 +200,14 @@ Class | Method | HTTP request | Description
181
200
  - [MergeHRISClient::Team](docs/Team.md)
182
201
  - [MergeHRISClient::TimeOff](docs/TimeOff.md)
183
202
  - [MergeHRISClient::TimeOffBalance](docs/TimeOffBalance.md)
203
+ - [MergeHRISClient::TimeOffEndpointRequest](docs/TimeOffEndpointRequest.md)
204
+ - [MergeHRISClient::TimeOffRequest](docs/TimeOffRequest.md)
205
+ - [MergeHRISClient::TimeOffResponse](docs/TimeOffResponse.md)
184
206
  - [MergeHRISClient::TimeOffStatusEnum](docs/TimeOffStatusEnum.md)
185
207
  - [MergeHRISClient::TypeEnum](docs/TypeEnum.md)
186
208
  - [MergeHRISClient::UnitsEnum](docs/UnitsEnum.md)
209
+ - [MergeHRISClient::ValidationProblemSource](docs/ValidationProblemSource.md)
210
+ - [MergeHRISClient::WarningValidationProblem](docs/WarningValidationProblem.md)
187
211
 
188
212
 
189
213
  ## Documentation for Authorization
@@ -0,0 +1,30 @@
1
+ # MergeHRISClient::AccountDetails
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | [optional][readonly] |
8
+ | **integration** | **String** | | [optional][readonly] |
9
+ | **category** | [**CategoryEnum**](CategoryEnum.md) | | [optional] |
10
+ | **end_user_origin_id** | **String** | | [optional][readonly] |
11
+ | **end_user_organization_name** | **String** | | [optional][readonly] |
12
+ | **end_user_email_address** | **String** | | [optional][readonly] |
13
+ | **status** | **String** | | [optional][readonly] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'merge_hris_client'
19
+
20
+ instance = MergeHRISClient::AccountDetails.new(
21
+ id: null,
22
+ integration: null,
23
+ category: null,
24
+ end_user_origin_id: null,
25
+ end_user_organization_name: null,
26
+ end_user_email_address: null,
27
+ status: null
28
+ )
29
+ ```
30
+
@@ -0,0 +1,32 @@
1
+ # MergeHRISClient::AccountDetailsAndActions
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | |
8
+ | **category** | [**CategoryEnum**](CategoryEnum.md) | | [optional] |
9
+ | **status** | [**AccountDetailsAndActionsStatusEnum**](AccountDetailsAndActionsStatusEnum.md) | | |
10
+ | **status_detail** | **String** | | [optional] |
11
+ | **end_user_origin_id** | **String** | | [optional] |
12
+ | **end_user_organization_name** | **String** | | |
13
+ | **end_user_email_address** | **String** | | |
14
+ | **integration** | [**AccountDetailsAndActionsIntegration**](AccountDetailsAndActionsIntegration.md) | | [optional] |
15
+
16
+ ## Example
17
+
18
+ ```ruby
19
+ require 'merge_hris_client'
20
+
21
+ instance = MergeHRISClient::AccountDetailsAndActions.new(
22
+ id: e59b1821-f85c-4e28-a6b3-1804156f3563,
23
+ category: hris,
24
+ status: COMPLETE,
25
+ status_detail: null,
26
+ end_user_origin_id: 3ac95cde-6c7f-4eef-afec-be710b42308d,
27
+ end_user_organization_name: Foo Bar, LLC,
28
+ end_user_email_address: hradmin@foobar.dev,
29
+ integration: null
30
+ )
31
+ ```
32
+
@@ -0,0 +1,32 @@
1
+ # MergeHRISClient::AccountDetailsAndActionsIntegration
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | | |
8
+ | **categories** | [**Array<CategoriesEnum>**](CategoriesEnum.md) | | |
9
+ | **image** | **String** | | [optional] |
10
+ | **square_image** | **String** | | [optional] |
11
+ | **color** | **String** | | |
12
+ | **slug** | **String** | | |
13
+ | **passthrough_available** | **Boolean** | | |
14
+ | **available_model_operations** | [**Array<ModelOperation>**](ModelOperation.md) | | [optional] |
15
+
16
+ ## Example
17
+
18
+ ```ruby
19
+ require 'merge_hris_client'
20
+
21
+ instance = MergeHRISClient::AccountDetailsAndActionsIntegration.new(
22
+ name: null,
23
+ categories: null,
24
+ image: null,
25
+ square_image: null,
26
+ color: null,
27
+ slug: null,
28
+ passthrough_available: null,
29
+ available_model_operations: null
30
+ )
31
+ ```
32
+
@@ -0,0 +1,15 @@
1
+ # MergeHRISClient::AccountDetailsAndActionsStatusEnum
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::AccountDetailsAndActionsStatusEnum.new()
14
+ ```
15
+
@@ -0,0 +1,76 @@
1
+ # MergeHRISClient::AccountDetailsApi
2
+
3
+ All URIs are relative to *https://api.merge.dev/api/hris/v1*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**account_details_retrieve**](AccountDetailsApi.md#account_details_retrieve) | **GET** /account-details | |
8
+
9
+
10
+ ## account_details_retrieve
11
+
12
+ > <AccountDetails> account_details_retrieve
13
+
14
+
15
+
16
+ Get details for a linked account.
17
+
18
+ ### Examples
19
+
20
+ ```ruby
21
+ require 'time'
22
+ require 'merge_hris_client'
23
+ # setup authorization
24
+ MergeHRISClient.configure do |config|
25
+ # Configure API key authorization: tokenAuth
26
+ config.api_key['Authorization'] = 'YOUR API KEY'
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'
29
+ end
30
+
31
+ api_instance = MergeHRISClient::AccountDetailsApi.new
32
+
33
+ begin
34
+
35
+ result = api_instance.account_details_retrieve
36
+ p result
37
+ rescue MergeHRISClient::ApiError => e
38
+ puts "Error when calling AccountDetailsApi->account_details_retrieve: #{e}"
39
+ end
40
+ ```
41
+
42
+ #### Using the account_details_retrieve_with_http_info variant
43
+
44
+ This returns an Array which contains the response data, status code and headers.
45
+
46
+ > <Array(<AccountDetails>, Integer, Hash)> account_details_retrieve_with_http_info
47
+
48
+ ```ruby
49
+ begin
50
+
51
+ data, status_code, headers = api_instance.account_details_retrieve_with_http_info
52
+ p status_code # => 2xx
53
+ p headers # => { ... }
54
+ p data # => <AccountDetails>
55
+ rescue MergeHRISClient::ApiError => e
56
+ puts "Error when calling AccountDetailsApi->account_details_retrieve_with_http_info: #{e}"
57
+ end
58
+ ```
59
+
60
+ ### Parameters
61
+
62
+ This endpoint does not need any parameter.
63
+
64
+ ### Return type
65
+
66
+ [**AccountDetails**](AccountDetails.md)
67
+
68
+ ### Authorization
69
+
70
+ [tokenAuth](../README.md#tokenAuth)
71
+
72
+ ### HTTP request headers
73
+
74
+ - **Content-Type**: Not defined
75
+ - **Accept**: application/json
76
+
@@ -0,0 +1,15 @@
1
+ # MergeHRISClient::AccountTypeEnum
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::AccountTypeEnum.new()
14
+ ```
15
+
data/docs/BankInfo.md ADDED
@@ -0,0 +1,34 @@
1
+ # MergeHRISClient::BankInfo
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
+ | **employee** | **String** | The employee with this bank account. | [optional] |
10
+ | **account_number** | **String** | The account number. | [optional] |
11
+ | **routing_number** | **String** | The routing number. | [optional] |
12
+ | **bank_name** | **String** | The bank name. | [optional] |
13
+ | **account_type** | [**AccountTypeEnum**](AccountTypeEnum.md) | The bank account type | [optional] |
14
+ | **remote_created_at** | **Time** | When the matching bank object was created in the third party system. | [optional] |
15
+ | **remote_data** | [**Array&lt;RemoteData&gt;**](RemoteData.md) | | [optional][readonly] |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'merge_hris_client'
21
+
22
+ instance = MergeHRISClient::BankInfo.new(
23
+ id: fd1e0fb5-8f92-4ec9-9f32-179cf732867d,
24
+ remote_id: 123234,
25
+ employee: a3617eb4-dfe3-426f-921e-a65fc1661e10,
26
+ account_number: 439291590,
27
+ routing_number: 089690059,
28
+ bank_name: Chase,
29
+ account_type: CHECKING,
30
+ remote_created_at: 2021-12-06T10:11:26Z,
31
+ remote_data: [{&quot;path&quot;:&quot;/bank-info&quot;,&quot;data&quot;:[&quot;Varies by platform&quot;]}]
32
+ )
33
+ ```
34
+
@@ -0,0 +1,193 @@
1
+ # MergeHRISClient::BankInfoApi
2
+
3
+ All URIs are relative to *https://api.merge.dev/api/hris/v1*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**bank_info_list**](BankInfoApi.md#bank_info_list) | **GET** /bank-info | |
8
+ | [**bank_info_retrieve**](BankInfoApi.md#bank_info_retrieve) | **GET** /bank-info/{id} | |
9
+
10
+
11
+ ## bank_info_list
12
+
13
+ > <PaginatedBankInfoList> bank_info_list(x_account_token, opts)
14
+
15
+
16
+
17
+ Returns a list of `BankInfo` 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['Authorization'] = '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['Authorization'] = 'Bearer'
30
+ end
31
+
32
+ api_instance = MergeHRISClient::BankInfoApi.new
33
+ x_account_token = 'x_account_token_example' # String | Token identifying the end user.
34
+ opts = {
35
+ account_type: 'CHECKING', # String | The bank account type
36
+ bank_name: 'bank_name_example', # String |
37
+ created_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created after this datetime.
38
+ created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
39
+ cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
40
+ employee: TODO, # String | If provided, will only return bank accounts for this employee.
41
+ employee_id: 'employee_id_example', # String | If provided, will only return bank accounts for this employee.
42
+ expand: 'employee', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
43
+ include_deleted_data: true, # Boolean | Whether to include data that was deleted in the third-party service.
44
+ include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
45
+ modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
46
+ modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified before this datetime.
47
+ order_by: '-remote_created_at', # String | Overrides the default ordering for this endpoint.
48
+ page_size: 56, # Integer | Number of results to return per page.
49
+ remote_created_at: Time.parse('2013-10-20T19:20:30+01:00'), # Time |
50
+ remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
51
+ }
52
+
53
+ begin
54
+
55
+ result = api_instance.bank_info_list(x_account_token, opts)
56
+ p result
57
+ rescue MergeHRISClient::ApiError => e
58
+ puts "Error when calling BankInfoApi->bank_info_list: #{e}"
59
+ end
60
+ ```
61
+
62
+ #### Using the bank_info_list_with_http_info variant
63
+
64
+ This returns an Array which contains the response data, status code and headers.
65
+
66
+ > <Array(<PaginatedBankInfoList>, Integer, Hash)> bank_info_list_with_http_info(x_account_token, opts)
67
+
68
+ ```ruby
69
+ begin
70
+
71
+ data, status_code, headers = api_instance.bank_info_list_with_http_info(x_account_token, opts)
72
+ p status_code # => 2xx
73
+ p headers # => { ... }
74
+ p data # => <PaginatedBankInfoList>
75
+ rescue MergeHRISClient::ApiError => e
76
+ puts "Error when calling BankInfoApi->bank_info_list_with_http_info: #{e}"
77
+ end
78
+ ```
79
+
80
+ ### Parameters
81
+
82
+ | Name | Type | Description | Notes |
83
+ | ---- | ---- | ----------- | ----- |
84
+ | **x_account_token** | **String** | Token identifying the end user. | |
85
+ | **account_type** | **String** | The bank account type | [optional] |
86
+ | **bank_name** | **String** | | [optional] |
87
+ | **created_after** | **Time** | If provided, will only return objects created after this datetime. | [optional] |
88
+ | **created_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
89
+ | **cursor** | **String** | The pagination cursor value. | [optional] |
90
+ | **employee** | [**String**](.md) | If provided, will only return bank accounts for this employee. | [optional] |
91
+ | **employee_id** | **String** | If provided, will only return bank accounts for this employee. | [optional] |
92
+ | **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
93
+ | **include_deleted_data** | **Boolean** | Whether to include data that was deleted in the third-party service. | [optional] |
94
+ | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
95
+ | **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
96
+ | **modified_before** | **Time** | If provided, will only return objects modified before this datetime. | [optional] |
97
+ | **order_by** | **String** | Overrides the default ordering for this endpoint. | [optional] |
98
+ | **page_size** | **Integer** | Number of results to return per page. | [optional] |
99
+ | **remote_created_at** | **Time** | | [optional] |
100
+ | **remote_id** | **String** | The API provider&#39;s ID for the given object. | [optional] |
101
+
102
+ ### Return type
103
+
104
+ [**PaginatedBankInfoList**](PaginatedBankInfoList.md)
105
+
106
+ ### Authorization
107
+
108
+ [tokenAuth](../README.md#tokenAuth)
109
+
110
+ ### HTTP request headers
111
+
112
+ - **Content-Type**: Not defined
113
+ - **Accept**: application/json
114
+
115
+
116
+ ## bank_info_retrieve
117
+
118
+ > <BankInfo> bank_info_retrieve(x_account_token, id, opts)
119
+
120
+
121
+
122
+ Returns a `BankInfo` object with the given `id`.
123
+
124
+ ### Examples
125
+
126
+ ```ruby
127
+ require 'time'
128
+ require 'merge_hris_client'
129
+ # setup authorization
130
+ MergeHRISClient.configure do |config|
131
+ # Configure API key authorization: tokenAuth
132
+ config.api_key['Authorization'] = 'YOUR API KEY'
133
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
134
+ config.api_key_prefix['Authorization'] = 'Bearer'
135
+ end
136
+
137
+ api_instance = MergeHRISClient::BankInfoApi.new
138
+ x_account_token = 'x_account_token_example' # String | Token identifying the end user.
139
+ id = TODO # String |
140
+ opts = {
141
+ expand: 'employee', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
142
+ include_remote_data: true # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
143
+ }
144
+
145
+ begin
146
+
147
+ result = api_instance.bank_info_retrieve(x_account_token, id, opts)
148
+ p result
149
+ rescue MergeHRISClient::ApiError => e
150
+ puts "Error when calling BankInfoApi->bank_info_retrieve: #{e}"
151
+ end
152
+ ```
153
+
154
+ #### Using the bank_info_retrieve_with_http_info variant
155
+
156
+ This returns an Array which contains the response data, status code and headers.
157
+
158
+ > <Array(<BankInfo>, Integer, Hash)> bank_info_retrieve_with_http_info(x_account_token, id, opts)
159
+
160
+ ```ruby
161
+ begin
162
+
163
+ data, status_code, headers = api_instance.bank_info_retrieve_with_http_info(x_account_token, id, opts)
164
+ p status_code # => 2xx
165
+ p headers # => { ... }
166
+ p data # => <BankInfo>
167
+ rescue MergeHRISClient::ApiError => e
168
+ puts "Error when calling BankInfoApi->bank_info_retrieve_with_http_info: #{e}"
169
+ end
170
+ ```
171
+
172
+ ### Parameters
173
+
174
+ | Name | Type | Description | Notes |
175
+ | ---- | ---- | ----------- | ----- |
176
+ | **x_account_token** | **String** | Token identifying the end user. | |
177
+ | **id** | [**String**](.md) | | |
178
+ | **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
179
+ | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
180
+
181
+ ### Return type
182
+
183
+ [**BankInfo**](BankInfo.md)
184
+
185
+ ### Authorization
186
+
187
+ [tokenAuth](../README.md#tokenAuth)
188
+
189
+ ### HTTP request headers
190
+
191
+ - **Content-Type**: Not defined
192
+ - **Accept**: application/json
193
+