finch-api 0.1.0.pre.alpha.5 → 0.1.0.pre.alpha.13

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 (1031) hide show
  1. checksums.yaml +4 -4
  2. data/.ignore +2 -0
  3. data/CHANGELOG.md +315 -0
  4. data/README.md +86 -26
  5. data/SECURITY.md +27 -0
  6. data/lib/finch_api/client.rb +142 -0
  7. data/lib/finch_api/errors.rb +192 -0
  8. data/lib/finch_api/file_part.rb +55 -0
  9. data/lib/finch_api/internal/individuals_page.rb +93 -0
  10. data/lib/finch_api/internal/page.rb +93 -0
  11. data/lib/finch_api/internal/responses_page.rb +76 -0
  12. data/lib/finch_api/internal/single_page.rb +73 -0
  13. data/lib/finch_api/internal/transport/base_client.rb +483 -0
  14. data/lib/finch_api/internal/transport/pooled_net_requester.rb +193 -0
  15. data/lib/finch_api/internal/type/array_of.rb +154 -0
  16. data/lib/finch_api/internal/type/base_model.rb +445 -0
  17. data/lib/finch_api/internal/type/base_page.rb +55 -0
  18. data/lib/finch_api/internal/type/boolean.rb +63 -0
  19. data/lib/finch_api/internal/type/converter.rb +274 -0
  20. data/lib/finch_api/internal/type/enum.rb +132 -0
  21. data/lib/finch_api/internal/type/file_input.rb +96 -0
  22. data/lib/finch_api/internal/type/hash_of.rb +174 -0
  23. data/lib/finch_api/internal/type/request_parameters.rb +48 -0
  24. data/lib/finch_api/internal/type/union.rb +235 -0
  25. data/lib/finch_api/internal/type/unknown.rb +67 -0
  26. data/lib/finch_api/internal/util.rb +790 -0
  27. data/lib/finch_api/internal.rb +11 -0
  28. data/lib/finch_api/models/access_token_create_params.rb +38 -0
  29. data/lib/finch_api/models/account_disconnect_params.rb +14 -0
  30. data/lib/finch_api/models/account_introspect_params.rb +14 -0
  31. data/lib/finch_api/models/account_update_event.rb +1161 -0
  32. data/lib/finch_api/models/base_webhook_event.rb +44 -0
  33. data/lib/finch_api/models/company_event.rb +30 -0
  34. data/lib/finch_api/models/connect/session_new_params.rb +146 -0
  35. data/lib/finch_api/models/connect/session_new_response.rb +27 -0
  36. data/lib/finch_api/models/connect/session_reauthenticate_params.rb +74 -0
  37. data/lib/finch_api/models/connect/session_reauthenticate_response.rb +27 -0
  38. data/lib/finch_api/models/connection_status_type.rb +19 -0
  39. data/lib/finch_api/models/create_access_token_response.rb +135 -0
  40. data/lib/finch_api/models/directory_event.rb +43 -0
  41. data/lib/finch_api/models/disconnect_response.rb +17 -0
  42. data/lib/finch_api/models/employment_event.rb +43 -0
  43. data/lib/finch_api/models/hris/benefit_contribution.rb +39 -0
  44. data/lib/finch_api/models/hris/benefit_create_params.rb +101 -0
  45. data/lib/finch_api/models/hris/benefit_features_and_operations.rb +142 -0
  46. data/lib/finch_api/models/hris/benefit_frequency.rb +19 -0
  47. data/lib/finch_api/models/hris/benefit_list_params.rb +16 -0
  48. data/lib/finch_api/models/hris/benefit_list_supported_benefits_params.rb +16 -0
  49. data/lib/finch_api/models/hris/benefit_list_supported_benefits_response.rb +114 -0
  50. data/lib/finch_api/models/hris/benefit_retrieve_params.rb +16 -0
  51. data/lib/finch_api/models/hris/benefit_type.rb +35 -0
  52. data/lib/finch_api/models/hris/benefit_update_params.rb +24 -0
  53. data/lib/finch_api/models/hris/benefits/enrolled_individual_benefit_response.rb +20 -0
  54. data/lib/finch_api/models/hris/benefits/individual_benefit.rb +97 -0
  55. data/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rb +193 -0
  56. data/lib/finch_api/models/hris/benefits/individual_enrolled_ids_params.rb +18 -0
  57. data/lib/finch_api/models/hris/benefits/individual_enrolled_ids_response.rb +28 -0
  58. data/lib/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rb +32 -0
  59. data/lib/finch_api/models/hris/benefits/individual_unenroll_many_params.rb +26 -0
  60. data/lib/finch_api/models/hris/benefits/unenrolled_individual_benefit_response.rb +20 -0
  61. data/lib/finch_api/models/hris/benefits_support.rb +86 -0
  62. data/lib/finch_api/models/hris/company/pay_statement_item/rule_create_params.rb +131 -0
  63. data/lib/finch_api/models/hris/company/pay_statement_item/rule_create_response.rb +161 -0
  64. data/lib/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rb +20 -0
  65. data/lib/finch_api/models/hris/company/pay_statement_item/rule_delete_response.rb +169 -0
  66. data/lib/finch_api/models/hris/company/pay_statement_item/rule_list_params.rb +20 -0
  67. data/lib/finch_api/models/hris/company/pay_statement_item/rule_list_response.rb +161 -0
  68. data/lib/finch_api/models/hris/company/pay_statement_item/rule_update_params.rb +26 -0
  69. data/lib/finch_api/models/hris/company/pay_statement_item/rule_update_response.rb +161 -0
  70. data/lib/finch_api/models/hris/company/pay_statement_item_list_params.rb +80 -0
  71. data/lib/finch_api/models/hris/company/pay_statement_item_list_response.rb +102 -0
  72. data/lib/finch_api/models/hris/company.rb +241 -0
  73. data/lib/finch_api/models/hris/company_benefit.rb +98 -0
  74. data/lib/finch_api/models/hris/company_retrieve_params.rb +16 -0
  75. data/lib/finch_api/models/hris/create_company_benefits_response.rb +26 -0
  76. data/lib/finch_api/models/hris/directory_list_individuals_params.rb +32 -0
  77. data/lib/finch_api/models/hris/directory_list_params.rb +32 -0
  78. data/lib/finch_api/models/hris/document_list_params.rb +66 -0
  79. data/lib/finch_api/models/hris/document_list_response.rb +24 -0
  80. data/lib/finch_api/models/hris/document_response.rb +70 -0
  81. data/lib/finch_api/models/hris/document_retreive_params.rb +16 -0
  82. data/lib/finch_api/models/hris/document_retreive_response.rb +26 -0
  83. data/lib/finch_api/models/hris/employment_data.rb +305 -0
  84. data/lib/finch_api/models/hris/employment_data_response.rb +33 -0
  85. data/lib/finch_api/models/hris/employment_retrieve_many_params.rb +43 -0
  86. data/lib/finch_api/models/hris/individual.rb +253 -0
  87. data/lib/finch_api/models/hris/individual_in_directory.rb +95 -0
  88. data/lib/finch_api/models/hris/individual_response.rb +30 -0
  89. data/lib/finch_api/models/hris/individual_retrieve_many_params.rb +49 -0
  90. data/lib/finch_api/models/hris/pay_statement.rb +483 -0
  91. data/lib/finch_api/models/hris/pay_statement_response.rb +30 -0
  92. data/lib/finch_api/models/hris/pay_statement_response_body.rb +25 -0
  93. data/lib/finch_api/models/hris/pay_statement_retrieve_many_params.rb +52 -0
  94. data/lib/finch_api/models/hris/payment.rb +138 -0
  95. data/lib/finch_api/models/hris/payment_list_params.rb +39 -0
  96. data/lib/finch_api/models/hris/support_per_benefit_type.rb +23 -0
  97. data/lib/finch_api/models/hris/supported_benefit.rb +113 -0
  98. data/lib/finch_api/models/hris/update_company_benefit_response.rb +26 -0
  99. data/lib/finch_api/models/hris/w42005.rb +122 -0
  100. data/lib/finch_api/models/hris/w42020.rb +139 -0
  101. data/lib/finch_api/models/income.rb +70 -0
  102. data/lib/finch_api/models/individual_event.rb +43 -0
  103. data/lib/finch_api/models/introspection.rb +287 -0
  104. data/lib/finch_api/models/job_completion_event.rb +54 -0
  105. data/lib/finch_api/models/jobs/automated_async_job.rb +133 -0
  106. data/lib/finch_api/models/jobs/automated_create_params.rb +52 -0
  107. data/lib/finch_api/models/jobs/automated_create_response.rb +43 -0
  108. data/lib/finch_api/models/jobs/automated_list_params.rb +32 -0
  109. data/lib/finch_api/models/jobs/automated_list_response.rb +76 -0
  110. data/lib/finch_api/models/jobs/automated_retrieve_params.rb +16 -0
  111. data/lib/finch_api/models/jobs/manual_async_job.rb +46 -0
  112. data/lib/finch_api/models/jobs/manual_retrieve_params.rb +16 -0
  113. data/lib/finch_api/models/location.rb +70 -0
  114. data/lib/finch_api/models/money.rb +23 -0
  115. data/lib/finch_api/models/operation_support.rb +24 -0
  116. data/lib/finch_api/models/operation_support_matrix.rb +67 -0
  117. data/lib/finch_api/models/paging.rb +24 -0
  118. data/lib/finch_api/models/pay_statement_event.rb +51 -0
  119. data/lib/finch_api/models/payment_event.rb +51 -0
  120. data/lib/finch_api/models/payroll/pay_group_list_params.rb +28 -0
  121. data/lib/finch_api/models/payroll/pay_group_list_response.rb +53 -0
  122. data/lib/finch_api/models/payroll/pay_group_retrieve_params.rb +16 -0
  123. data/lib/finch_api/models/payroll/pay_group_retrieve_response.rb +60 -0
  124. data/lib/finch_api/models/provider.rb +1203 -0
  125. data/lib/finch_api/models/provider_list_params.rb +14 -0
  126. data/lib/finch_api/models/request_forwarding_forward_params.rb +69 -0
  127. data/lib/finch_api/models/request_forwarding_forward_response.rb +112 -0
  128. data/lib/finch_api/models/sandbox/company_update_params.rb +241 -0
  129. data/lib/finch_api/models/sandbox/company_update_response.rb +237 -0
  130. data/lib/finch_api/models/sandbox/connection_create_params.rb +65 -0
  131. data/lib/finch_api/models/sandbox/connection_create_response.rb +89 -0
  132. data/lib/finch_api/models/sandbox/connections/account_create_params.rb +66 -0
  133. data/lib/finch_api/models/sandbox/connections/account_create_response.rb +84 -0
  134. data/lib/finch_api/models/sandbox/connections/account_update_params.rb +24 -0
  135. data/lib/finch_api/models/sandbox/connections/account_update_response.rb +77 -0
  136. data/lib/finch_api/models/sandbox/directory_create_params.rb +489 -0
  137. data/lib/finch_api/models/sandbox/directory_create_response.rb +10 -0
  138. data/lib/finch_api/models/sandbox/employment_update_params.rb +290 -0
  139. data/lib/finch_api/models/sandbox/employment_update_response.rb +298 -0
  140. data/lib/finch_api/models/sandbox/individual_update_params.rb +208 -0
  141. data/lib/finch_api/models/sandbox/individual_update_response.rb +217 -0
  142. data/lib/finch_api/models/sandbox/job_create_params.rb +34 -0
  143. data/lib/finch_api/models/sandbox/job_create_response.rb +43 -0
  144. data/lib/finch_api/models/sandbox/jobs/configuration_retrieve_params.rb +18 -0
  145. data/lib/finch_api/models/sandbox/jobs/configuration_retrieve_response.rb +13 -0
  146. data/lib/finch_api/models/sandbox/jobs/configuration_update_params.rb +18 -0
  147. data/lib/finch_api/models/sandbox/jobs/sandbox_job_configuration.rb +50 -0
  148. data/lib/finch_api/models/sandbox/payment_create_params.rb +527 -0
  149. data/lib/finch_api/models/sandbox/payment_create_response.rb +27 -0
  150. data/lib/finch_api/models/webhook_event.rb +30 -0
  151. data/lib/finch_api/request_options.rb +73 -0
  152. data/lib/finch_api/resources/access_tokens.rb +38 -0
  153. data/lib/finch_api/resources/account.rb +50 -0
  154. data/lib/finch_api/resources/connect/sessions.rb +90 -0
  155. data/lib/finch_api/resources/connect.rb +18 -0
  156. data/lib/finch_api/resources/hris/benefits/individuals.rb +119 -0
  157. data/lib/finch_api/resources/hris/benefits.rb +134 -0
  158. data/lib/finch_api/resources/hris/company/pay_statement_item/rules.rb +120 -0
  159. data/lib/finch_api/resources/hris/company/pay_statement_item.rb +61 -0
  160. data/lib/finch_api/resources/hris/company.rb +38 -0
  161. data/lib/finch_api/resources/hris/directory.rb +46 -0
  162. data/lib/finch_api/resources/hris/documents.rb +71 -0
  163. data/lib/finch_api/resources/hris/employments.rb +39 -0
  164. data/lib/finch_api/resources/hris/individuals.rb +39 -0
  165. data/lib/finch_api/resources/hris/pay_statements.rb +42 -0
  166. data/lib/finch_api/resources/hris/payments.rb +46 -0
  167. data/lib/finch_api/resources/hris.rb +46 -0
  168. data/lib/finch_api/resources/jobs/automated.rb +98 -0
  169. data/lib/finch_api/resources/jobs/manual.rb +36 -0
  170. data/lib/finch_api/resources/jobs.rb +22 -0
  171. data/lib/finch_api/resources/payroll/pay_groups.rb +58 -0
  172. data/lib/finch_api/resources/payroll.rb +18 -0
  173. data/lib/finch_api/resources/providers.rb +33 -0
  174. data/lib/finch_api/resources/request_forwarding.rb +55 -0
  175. data/lib/finch_api/resources/sandbox/company.rb +56 -0
  176. data/lib/finch_api/resources/sandbox/connections/accounts.rb +72 -0
  177. data/lib/finch_api/resources/sandbox/connections.rb +52 -0
  178. data/lib/finch_api/resources/sandbox/directory.rb +42 -0
  179. data/lib/finch_api/resources/sandbox/employment.rb +79 -0
  180. data/lib/finch_api/resources/sandbox/individual.rb +67 -0
  181. data/lib/finch_api/resources/sandbox/jobs/configuration.rb +58 -0
  182. data/lib/finch_api/resources/sandbox/jobs.rb +42 -0
  183. data/lib/finch_api/resources/sandbox/payment.rb +39 -0
  184. data/lib/finch_api/resources/sandbox.rb +42 -0
  185. data/lib/finch_api/resources/webhooks.rb +14 -0
  186. data/lib/finch_api/version.rb +5 -0
  187. data/lib/finch_api.rb +210 -0
  188. data/manifest.yaml +1 -0
  189. data/rbi/finch_api/client.rbi +94 -0
  190. data/rbi/finch_api/errors.rbi +143 -0
  191. data/rbi/finch_api/file_part.rbi +34 -0
  192. data/rbi/finch_api/internal/individuals_page.rbi +21 -0
  193. data/rbi/finch_api/internal/page.rbi +21 -0
  194. data/rbi/finch_api/internal/responses_page.rbi +18 -0
  195. data/rbi/finch_api/internal/single_page.rbi +24 -0
  196. data/rbi/finch_api/internal/transport/base_client.rbi +213 -0
  197. data/rbi/finch_api/internal/transport/pooled_net_requester.rbi +60 -0
  198. data/rbi/finch_api/internal/type/array_of.rbi +88 -0
  199. data/rbi/finch_api/internal/type/base_model.rbi +219 -0
  200. data/rbi/finch_api/internal/type/base_page.rbi +38 -0
  201. data/rbi/finch_api/internal/type/boolean.rbi +48 -0
  202. data/rbi/finch_api/internal/type/converter.rbi +120 -0
  203. data/rbi/finch_api/internal/type/enum.rbi +64 -0
  204. data/rbi/finch_api/internal/type/file_input.rbi +50 -0
  205. data/rbi/finch_api/internal/type/hash_of.rbi +88 -0
  206. data/rbi/finch_api/internal/type/request_parameters.rbi +21 -0
  207. data/rbi/finch_api/internal/type/union.rbi +75 -0
  208. data/rbi/finch_api/internal/type/unknown.rbi +40 -0
  209. data/rbi/finch_api/internal/util.rbi +299 -0
  210. data/rbi/finch_api/internal.rbi +11 -0
  211. data/rbi/finch_api/models/access_token_create_params.rbi +57 -0
  212. data/rbi/finch_api/models/account_disconnect_params.rbi +19 -0
  213. data/rbi/finch_api/models/account_introspect_params.rbi +19 -0
  214. data/rbi/finch_api/models/account_update_event.rbi +2316 -0
  215. data/rbi/finch_api/models/base_webhook_event.rbi +40 -0
  216. data/rbi/finch_api/models/company_event.rbi +48 -0
  217. data/rbi/finch_api/models/connect/session_new_params.rbi +182 -0
  218. data/rbi/finch_api/models/connect/session_new_response.rbi +27 -0
  219. data/rbi/finch_api/models/connect/session_reauthenticate_params.rbi +95 -0
  220. data/rbi/finch_api/models/connect/session_reauthenticate_response.rbi +27 -0
  221. data/rbi/finch_api/models/connection_status_type.rbi +23 -0
  222. data/rbi/finch_api/models/create_access_token_response.rbi +151 -0
  223. data/rbi/finch_api/models/directory_event.rbi +73 -0
  224. data/rbi/finch_api/models/disconnect_response.rbi +19 -0
  225. data/rbi/finch_api/models/employment_event.rbi +73 -0
  226. data/rbi/finch_api/models/hris/benefit_contribution.rbi +52 -0
  227. data/rbi/finch_api/models/hris/benefit_create_params.rbi +159 -0
  228. data/rbi/finch_api/models/hris/benefit_features_and_operations.rbi +293 -0
  229. data/rbi/finch_api/models/hris/benefit_frequency.rbi +22 -0
  230. data/rbi/finch_api/models/hris/benefit_list_params.rbi +21 -0
  231. data/rbi/finch_api/models/hris/benefit_list_supported_benefits_params.rbi +21 -0
  232. data/rbi/finch_api/models/hris/benefit_list_supported_benefits_response.rbi +209 -0
  233. data/rbi/finch_api/models/hris/benefit_retrieve_params.rbi +21 -0
  234. data/rbi/finch_api/models/hris/benefit_type.rbi +38 -0
  235. data/rbi/finch_api/models/hris/benefit_update_params.rbi +37 -0
  236. data/rbi/finch_api/models/hris/benefits/enrolled_individual_benefit_response.rbi +20 -0
  237. data/rbi/finch_api/models/hris/benefits/individual_benefit.rbi +158 -0
  238. data/rbi/finch_api/models/hris/benefits/individual_enroll_many_params.rbi +433 -0
  239. data/rbi/finch_api/models/hris/benefits/individual_enrolled_ids_params.rbi +23 -0
  240. data/rbi/finch_api/models/hris/benefits/individual_enrolled_ids_response.rbi +27 -0
  241. data/rbi/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbi +38 -0
  242. data/rbi/finch_api/models/hris/benefits/individual_unenroll_many_params.rbi +38 -0
  243. data/rbi/finch_api/models/hris/benefits/unenrolled_individual_benefit_response.rbi +20 -0
  244. data/rbi/finch_api/models/hris/benefits_support.rbi +195 -0
  245. data/rbi/finch_api/models/hris/company/pay_statement_item/rule_create_params.rbi +249 -0
  246. data/rbi/finch_api/models/hris/company/pay_statement_item/rule_create_response.rbi +287 -0
  247. data/rbi/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rbi +25 -0
  248. data/rbi/finch_api/models/hris/company/pay_statement_item/rule_delete_response.rbi +298 -0
  249. data/rbi/finch_api/models/hris/company/pay_statement_item/rule_list_params.rbi +25 -0
  250. data/rbi/finch_api/models/hris/company/pay_statement_item/rule_list_response.rbi +287 -0
  251. data/rbi/finch_api/models/hris/company/pay_statement_item/rule_update_params.rbi +36 -0
  252. data/rbi/finch_api/models/hris/company/pay_statement_item/rule_update_response.rbi +287 -0
  253. data/rbi/finch_api/models/hris/company/pay_statement_item_list_params.rbi +132 -0
  254. data/rbi/finch_api/models/hris/company/pay_statement_item_list_response.rbi +158 -0
  255. data/rbi/finch_api/models/hris/company.rbi +303 -0
  256. data/rbi/finch_api/models/hris/company_benefit.rbi +146 -0
  257. data/rbi/finch_api/models/hris/company_retrieve_params.rbi +21 -0
  258. data/rbi/finch_api/models/hris/create_company_benefits_response.rbi +25 -0
  259. data/rbi/finch_api/models/hris/directory_list_individuals_params.rbi +44 -0
  260. data/rbi/finch_api/models/hris/directory_list_params.rbi +44 -0
  261. data/rbi/finch_api/models/hris/document_list_params.rbi +92 -0
  262. data/rbi/finch_api/models/hris/document_list_response.rbi +33 -0
  263. data/rbi/finch_api/models/hris/document_response.rbi +92 -0
  264. data/rbi/finch_api/models/hris/document_retreive_params.rbi +21 -0
  265. data/rbi/finch_api/models/hris/document_retreive_response.rbi +16 -0
  266. data/rbi/finch_api/models/hris/employment_data.rbi +365 -0
  267. data/rbi/finch_api/models/hris/employment_data_response.rbi +45 -0
  268. data/rbi/finch_api/models/hris/employment_retrieve_many_params.rbi +57 -0
  269. data/rbi/finch_api/models/hris/individual.rbi +317 -0
  270. data/rbi/finch_api/models/hris/individual_in_directory.rbi +127 -0
  271. data/rbi/finch_api/models/hris/individual_response.rbi +48 -0
  272. data/rbi/finch_api/models/hris/individual_retrieve_many_params.rbi +88 -0
  273. data/rbi/finch_api/models/hris/pay_statement.rbi +675 -0
  274. data/rbi/finch_api/models/hris/pay_statement_response.rbi +43 -0
  275. data/rbi/finch_api/models/hris/pay_statement_response_body.rbi +45 -0
  276. data/rbi/finch_api/models/hris/pay_statement_retrieve_many_params.rbi +71 -0
  277. data/rbi/finch_api/models/hris/payment.rbi +168 -0
  278. data/rbi/finch_api/models/hris/payment_list_params.rbi +44 -0
  279. data/rbi/finch_api/models/hris/support_per_benefit_type.rbi +46 -0
  280. data/rbi/finch_api/models/hris/supported_benefit.rbi +145 -0
  281. data/rbi/finch_api/models/hris/update_company_benefit_response.rbi +25 -0
  282. data/rbi/finch_api/models/hris/w42005.rbi +168 -0
  283. data/rbi/finch_api/models/hris/w42020.rbi +182 -0
  284. data/rbi/finch_api/models/income.rbi +82 -0
  285. data/rbi/finch_api/models/individual_event.rbi +73 -0
  286. data/rbi/finch_api/models/introspection.rbi +362 -0
  287. data/rbi/finch_api/models/job_completion_event.rbi +82 -0
  288. data/rbi/finch_api/models/jobs/automated_async_job.rbi +162 -0
  289. data/rbi/finch_api/models/jobs/automated_create_params.rbi +79 -0
  290. data/rbi/finch_api/models/jobs/automated_create_response.rbi +50 -0
  291. data/rbi/finch_api/models/jobs/automated_list_params.rbi +44 -0
  292. data/rbi/finch_api/models/jobs/automated_list_response.rbi +129 -0
  293. data/rbi/finch_api/models/jobs/automated_retrieve_params.rbi +21 -0
  294. data/rbi/finch_api/models/jobs/manual_async_job.rbi +60 -0
  295. data/rbi/finch_api/models/jobs/manual_retrieve_params.rbi +21 -0
  296. data/rbi/finch_api/models/location.rbi +83 -0
  297. data/rbi/finch_api/models/money.rbi +26 -0
  298. data/rbi/finch_api/models/operation_support.rbi +28 -0
  299. data/rbi/finch_api/models/operation_support_matrix.rbi +115 -0
  300. data/rbi/finch_api/models/paging.rbi +28 -0
  301. data/rbi/finch_api/models/pay_statement_event.rbi +82 -0
  302. data/rbi/finch_api/models/payment_event.rbi +73 -0
  303. data/rbi/finch_api/models/payroll/pay_group_list_params.rbi +46 -0
  304. data/rbi/finch_api/models/payroll/pay_group_list_response.rbi +86 -0
  305. data/rbi/finch_api/models/payroll/pay_group_retrieve_params.rbi +21 -0
  306. data/rbi/finch_api/models/payroll/pay_group_retrieve_response.rbi +84 -0
  307. data/rbi/finch_api/models/provider.rbi +2250 -0
  308. data/rbi/finch_api/models/provider_list_params.rbi +19 -0
  309. data/rbi/finch_api/models/request_forwarding_forward_params.rbi +83 -0
  310. data/rbi/finch_api/models/request_forwarding_forward_response.rbi +143 -0
  311. data/rbi/finch_api/models/sandbox/company_update_params.rbi +327 -0
  312. data/rbi/finch_api/models/sandbox/company_update_response.rbi +327 -0
  313. data/rbi/finch_api/models/sandbox/connection_create_params.rbi +100 -0
  314. data/rbi/finch_api/models/sandbox/connection_create_response.rbi +107 -0
  315. data/rbi/finch_api/models/sandbox/connections/account_create_params.rbi +115 -0
  316. data/rbi/finch_api/models/sandbox/connections/account_create_response.rbi +114 -0
  317. data/rbi/finch_api/models/sandbox/connections/account_update_params.rbi +40 -0
  318. data/rbi/finch_api/models/sandbox/connections/account_update_response.rbi +111 -0
  319. data/rbi/finch_api/models/sandbox/directory_create_params.rbi +688 -0
  320. data/rbi/finch_api/models/sandbox/directory_create_response.rbi +13 -0
  321. data/rbi/finch_api/models/sandbox/employment_update_params.rbi +391 -0
  322. data/rbi/finch_api/models/sandbox/employment_update_response.rbi +402 -0
  323. data/rbi/finch_api/models/sandbox/individual_update_params.rbi +281 -0
  324. data/rbi/finch_api/models/sandbox/individual_update_response.rbi +291 -0
  325. data/rbi/finch_api/models/sandbox/job_create_params.rbi +49 -0
  326. data/rbi/finch_api/models/sandbox/job_create_response.rbi +50 -0
  327. data/rbi/finch_api/models/sandbox/jobs/configuration_retrieve_params.rbi +23 -0
  328. data/rbi/finch_api/models/sandbox/jobs/configuration_retrieve_response.rbi +15 -0
  329. data/rbi/finch_api/models/sandbox/jobs/configuration_update_params.rbi +23 -0
  330. data/rbi/finch_api/models/sandbox/jobs/sandbox_job_configuration.rbi +82 -0
  331. data/rbi/finch_api/models/sandbox/payment_create_params.rbi +921 -0
  332. data/rbi/finch_api/models/sandbox/payment_create_response.rbi +27 -0
  333. data/rbi/finch_api/models/webhook_event.rbi +17 -0
  334. data/rbi/finch_api/request_options.rbi +48 -0
  335. data/rbi/finch_api/resources/access_tokens.rbi +24 -0
  336. data/rbi/finch_api/resources/account.rbi +19 -0
  337. data/rbi/finch_api/resources/connect/sessions.rbi +66 -0
  338. data/rbi/finch_api/resources/connect.rbi +14 -0
  339. data/rbi/finch_api/resources/hris/benefits/individuals.rbi +72 -0
  340. data/rbi/finch_api/resources/hris/benefits.rbi +75 -0
  341. data/rbi/finch_api/resources/hris/company/pay_statement_item/rules.rbi +80 -0
  342. data/rbi/finch_api/resources/hris/company/pay_statement_item.rbi +48 -0
  343. data/rbi/finch_api/resources/hris/company.rbi +20 -0
  344. data/rbi/finch_api/resources/hris/directory.rbi +25 -0
  345. data/rbi/finch_api/resources/hris/documents.rbi +49 -0
  346. data/rbi/finch_api/resources/hris/employments.rbi +26 -0
  347. data/rbi/finch_api/resources/hris/individuals.rbi +26 -0
  348. data/rbi/finch_api/resources/hris/pay_statements.rbi +29 -0
  349. data/rbi/finch_api/resources/hris/payments.rbi +27 -0
  350. data/rbi/finch_api/resources/hris.rbi +35 -0
  351. data/rbi/finch_api/resources/jobs/automated.rbi +62 -0
  352. data/rbi/finch_api/resources/jobs/manual.rbi +21 -0
  353. data/rbi/finch_api/resources/jobs.rbi +17 -0
  354. data/rbi/finch_api/resources/payroll/pay_groups.rbi +31 -0
  355. data/rbi/finch_api/resources/payroll.rbi +14 -0
  356. data/rbi/finch_api/resources/providers.rbi +18 -0
  357. data/rbi/finch_api/resources/request_forwarding.rbi +46 -0
  358. data/rbi/finch_api/resources/sandbox/company.rbi +51 -0
  359. data/rbi/finch_api/resources/sandbox/connections/accounts.rbi +47 -0
  360. data/rbi/finch_api/resources/sandbox/connections.rbi +38 -0
  361. data/rbi/finch_api/resources/sandbox/directory.rbi +27 -0
  362. data/rbi/finch_api/resources/sandbox/employment.rbi +83 -0
  363. data/rbi/finch_api/resources/sandbox/individual.rbi +70 -0
  364. data/rbi/finch_api/resources/sandbox/jobs/configuration.rbi +33 -0
  365. data/rbi/finch_api/resources/sandbox/jobs.rbi +29 -0
  366. data/rbi/finch_api/resources/sandbox/payment.rbi +25 -0
  367. data/rbi/finch_api/resources/sandbox.rbi +32 -0
  368. data/rbi/finch_api/resources/webhooks.rbi +11 -0
  369. data/rbi/finch_api/version.rbi +5 -0
  370. data/sig/finch_api/client.rbs +54 -0
  371. data/sig/finch_api/errors.rbs +101 -0
  372. data/sig/finch_api/file_part.rbs +21 -0
  373. data/sig/finch_api/internal/individuals_page.rbs +13 -0
  374. data/sig/finch_api/internal/page.rbs +13 -0
  375. data/sig/finch_api/internal/responses_page.rbs +11 -0
  376. data/sig/finch_api/internal/single_page.rbs +15 -0
  377. data/sig/finch_api/internal/transport/base_client.rbs +116 -0
  378. data/sig/finch_api/internal/transport/pooled_net_requester.rbs +41 -0
  379. data/sig/finch_api/internal/type/array_of.rbs +45 -0
  380. data/sig/finch_api/internal/type/base_model.rbs +94 -0
  381. data/sig/finch_api/internal/type/base_page.rbs +24 -0
  382. data/sig/finch_api/internal/type/boolean.rbs +23 -0
  383. data/sig/finch_api/internal/type/converter.rbs +54 -0
  384. data/sig/finch_api/internal/type/enum.rbs +29 -0
  385. data/sig/finch_api/internal/type/file_input.rbs +23 -0
  386. data/sig/finch_api/internal/type/hash_of.rbs +45 -0
  387. data/sig/finch_api/internal/type/request_parameters.rbs +15 -0
  388. data/sig/finch_api/internal/type/union.rbs +49 -0
  389. data/sig/finch_api/internal/type/unknown.rbs +23 -0
  390. data/sig/finch_api/internal/util.rbs +158 -0
  391. data/sig/finch_api/internal.rbs +5 -0
  392. data/sig/finch_api/models/access_token_create_params.rbs +41 -0
  393. data/sig/finch_api/models/account_disconnect_params.rbs +15 -0
  394. data/sig/finch_api/models/account_introspect_params.rbs +15 -0
  395. data/sig/finch_api/models/account_update_event.rbs +1291 -0
  396. data/sig/finch_api/models/base_webhook_event.rbs +24 -0
  397. data/sig/finch_api/models/company_event.rbs +38 -0
  398. data/sig/finch_api/models/connect/session_new_params.rbs +129 -0
  399. data/sig/finch_api/models/connect/session_new_response.rbs +17 -0
  400. data/sig/finch_api/models/connect/session_reauthenticate_params.rbs +66 -0
  401. data/sig/finch_api/models/connect/session_reauthenticate_response.rbs +18 -0
  402. data/sig/finch_api/models/connection_status_type.rbs +24 -0
  403. data/sig/finch_api/models/create_access_token_response.rbs +79 -0
  404. data/sig/finch_api/models/directory_event.rbs +55 -0
  405. data/sig/finch_api/models/disconnect_response.rbs +13 -0
  406. data/sig/finch_api/models/employment_event.rbs +55 -0
  407. data/sig/finch_api/models/hris/benefit_contribution.rbs +35 -0
  408. data/sig/finch_api/models/hris/benefit_create_params.rbs +92 -0
  409. data/sig/finch_api/models/hris/benefit_features_and_operations.rbs +108 -0
  410. data/sig/finch_api/models/hris/benefit_frequency.rbs +17 -0
  411. data/sig/finch_api/models/hris/benefit_list_params.rbs +17 -0
  412. data/sig/finch_api/models/hris/benefit_list_supported_benefits_params.rbs +17 -0
  413. data/sig/finch_api/models/hris/benefit_list_supported_benefits_response.rbs +81 -0
  414. data/sig/finch_api/models/hris/benefit_retrieve_params.rbs +17 -0
  415. data/sig/finch_api/models/hris/benefit_type.rbs +52 -0
  416. data/sig/finch_api/models/hris/benefit_update_params.rbs +24 -0
  417. data/sig/finch_api/models/hris/benefits/enrolled_individual_benefit_response.rbs +17 -0
  418. data/sig/finch_api/models/hris/benefits/individual_benefit.rbs +82 -0
  419. data/sig/finch_api/models/hris/benefits/individual_enroll_many_params.rbs +190 -0
  420. data/sig/finch_api/models/hris/benefits/individual_enrolled_ids_params.rbs +19 -0
  421. data/sig/finch_api/models/hris/benefits/individual_enrolled_ids_response.rbs +23 -0
  422. data/sig/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbs +27 -0
  423. data/sig/finch_api/models/hris/benefits/individual_unenroll_many_params.rbs +27 -0
  424. data/sig/finch_api/models/hris/benefits/unenrolled_individual_benefit_response.rbs +17 -0
  425. data/sig/finch_api/models/hris/benefits_support.rbs +64 -0
  426. data/sig/finch_api/models/hris/company/pay_statement_item/rule_create_params.rbs +120 -0
  427. data/sig/finch_api/models/hris/company/pay_statement_item/rule_create_response.rbs +139 -0
  428. data/sig/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rbs +21 -0
  429. data/sig/finch_api/models/hris/company/pay_statement_item/rule_delete_response.rbs +145 -0
  430. data/sig/finch_api/models/hris/company/pay_statement_item/rule_list_params.rbs +21 -0
  431. data/sig/finch_api/models/hris/company/pay_statement_item/rule_list_response.rbs +139 -0
  432. data/sig/finch_api/models/hris/company/pay_statement_item/rule_update_params.rbs +29 -0
  433. data/sig/finch_api/models/hris/company/pay_statement_item/rule_update_response.rbs +139 -0
  434. data/sig/finch_api/models/hris/company/pay_statement_item_list_params.rbs +69 -0
  435. data/sig/finch_api/models/hris/company/pay_statement_item_list_response.rbs +81 -0
  436. data/sig/finch_api/models/hris/company.rbs +177 -0
  437. data/sig/finch_api/models/hris/company_benefit.rbs +89 -0
  438. data/sig/finch_api/models/hris/company_retrieve_params.rbs +17 -0
  439. data/sig/finch_api/models/hris/create_company_benefits_response.rbs +18 -0
  440. data/sig/finch_api/models/hris/directory_list_individuals_params.rbs +30 -0
  441. data/sig/finch_api/models/hris/directory_list_params.rbs +30 -0
  442. data/sig/finch_api/models/hris/document_list_params.rbs +58 -0
  443. data/sig/finch_api/models/hris/document_list_response.rbs +24 -0
  444. data/sig/finch_api/models/hris/document_response.rbs +55 -0
  445. data/sig/finch_api/models/hris/document_retreive_params.rbs +17 -0
  446. data/sig/finch_api/models/hris/document_retreive_response.rbs +14 -0
  447. data/sig/finch_api/models/hris/employment_data.rbs +210 -0
  448. data/sig/finch_api/models/hris/employment_data_response.rbs +36 -0
  449. data/sig/finch_api/models/hris/employment_retrieve_many_params.rbs +35 -0
  450. data/sig/finch_api/models/hris/individual.rbs +200 -0
  451. data/sig/finch_api/models/hris/individual_in_directory.rbs +64 -0
  452. data/sig/finch_api/models/hris/individual_response.rbs +28 -0
  453. data/sig/finch_api/models/hris/individual_retrieve_many_params.rbs +57 -0
  454. data/sig/finch_api/models/hris/pay_statement.rbs +389 -0
  455. data/sig/finch_api/models/hris/pay_statement_response.rbs +36 -0
  456. data/sig/finch_api/models/hris/pay_statement_response_body.rbs +30 -0
  457. data/sig/finch_api/models/hris/pay_statement_retrieve_many_params.rbs +47 -0
  458. data/sig/finch_api/models/hris/payment.rbs +105 -0
  459. data/sig/finch_api/models/hris/payment_list_params.rbs +26 -0
  460. data/sig/finch_api/models/hris/support_per_benefit_type.rbs +32 -0
  461. data/sig/finch_api/models/hris/supported_benefit.rbs +81 -0
  462. data/sig/finch_api/models/hris/update_company_benefit_response.rbs +18 -0
  463. data/sig/finch_api/models/hris/w42005.rbs +107 -0
  464. data/sig/finch_api/models/hris/w42020.rbs +106 -0
  465. data/sig/finch_api/models/income.rbs +57 -0
  466. data/sig/finch_api/models/individual_event.rbs +55 -0
  467. data/sig/finch_api/models/introspection.rbs +206 -0
  468. data/sig/finch_api/models/job_completion_event.rbs +63 -0
  469. data/sig/finch_api/models/jobs/automated_async_job.rbs +96 -0
  470. data/sig/finch_api/models/jobs/automated_create_params.rbs +49 -0
  471. data/sig/finch_api/models/jobs/automated_create_response.rbs +32 -0
  472. data/sig/finch_api/models/jobs/automated_list_params.rbs +30 -0
  473. data/sig/finch_api/models/jobs/automated_list_response.rbs +82 -0
  474. data/sig/finch_api/models/jobs/automated_retrieve_params.rbs +17 -0
  475. data/sig/finch_api/models/jobs/manual_async_job.rbs +41 -0
  476. data/sig/finch_api/models/jobs/manual_retrieve_params.rbs +17 -0
  477. data/sig/finch_api/models/location.rbs +46 -0
  478. data/sig/finch_api/models/money.rbs +17 -0
  479. data/sig/finch_api/models/operation_support.rbs +20 -0
  480. data/sig/finch_api/models/operation_support_matrix.rbs +46 -0
  481. data/sig/finch_api/models/paging.rbs +17 -0
  482. data/sig/finch_api/models/pay_statement_event.rbs +61 -0
  483. data/sig/finch_api/models/payment_event.rbs +55 -0
  484. data/sig/finch_api/models/payroll/pay_group_list_params.rbs +30 -0
  485. data/sig/finch_api/models/payroll/pay_group_list_response.rbs +63 -0
  486. data/sig/finch_api/models/payroll/pay_group_retrieve_params.rbs +17 -0
  487. data/sig/finch_api/models/payroll/pay_group_retrieve_response.rbs +59 -0
  488. data/sig/finch_api/models/provider.rbs +1308 -0
  489. data/sig/finch_api/models/provider_list_params.rbs +15 -0
  490. data/sig/finch_api/models/request_forwarding_forward_params.rbs +39 -0
  491. data/sig/finch_api/models/request_forwarding_forward_response.rbs +61 -0
  492. data/sig/finch_api/models/sandbox/company_update_params.rbs +178 -0
  493. data/sig/finch_api/models/sandbox/company_update_response.rbs +173 -0
  494. data/sig/finch_api/models/sandbox/connection_create_params.rbs +58 -0
  495. data/sig/finch_api/models/sandbox/connection_create_response.rbs +63 -0
  496. data/sig/finch_api/models/sandbox/connections/account_create_params.rbs +59 -0
  497. data/sig/finch_api/models/sandbox/connections/account_create_response.rbs +60 -0
  498. data/sig/finch_api/models/sandbox/connections/account_update_params.rbs +29 -0
  499. data/sig/finch_api/models/sandbox/connections/account_update_response.rbs +58 -0
  500. data/sig/finch_api/models/sandbox/directory_create_params.rbs +364 -0
  501. data/sig/finch_api/models/sandbox/directory_create_response.rbs +9 -0
  502. data/sig/finch_api/models/sandbox/employment_update_params.rbs +209 -0
  503. data/sig/finch_api/models/sandbox/employment_update_response.rbs +210 -0
  504. data/sig/finch_api/models/sandbox/individual_update_params.rbs +169 -0
  505. data/sig/finch_api/models/sandbox/individual_update_response.rbs +170 -0
  506. data/sig/finch_api/models/sandbox/job_create_params.rbs +33 -0
  507. data/sig/finch_api/models/sandbox/job_create_response.rbs +32 -0
  508. data/sig/finch_api/models/sandbox/jobs/configuration_retrieve_params.rbs +19 -0
  509. data/sig/finch_api/models/sandbox/jobs/configuration_retrieve_response.rbs +12 -0
  510. data/sig/finch_api/models/sandbox/jobs/configuration_update_params.rbs +19 -0
  511. data/sig/finch_api/models/sandbox/jobs/sandbox_job_configuration.rbs +50 -0
  512. data/sig/finch_api/models/sandbox/payment_create_params.rbs +425 -0
  513. data/sig/finch_api/models/sandbox/payment_create_response.rbs +17 -0
  514. data/sig/finch_api/models/webhook_event.rbs +19 -0
  515. data/sig/finch_api/request_options.rbs +34 -0
  516. data/sig/finch_api/resources/hris/benefits/individuals.rbs +34 -0
  517. data/sig/finch_api/resources/hris/benefits.rbs +38 -0
  518. data/sig/finch_api/resources/hris/company/pay_statement_item/rules.rbs +37 -0
  519. data/sig/finch_api/resources/hris/company/pay_statement_item.rbs +22 -0
  520. data/sig/finch_api/resources/hris/company.rbs +15 -0
  521. data/sig/finch_api/resources/hris/directory.rbs +17 -0
  522. data/sig/finch_api/resources/hris/employments.rbs +14 -0
  523. data/sig/finch_api/resources/hris/individuals.rbs +15 -0
  524. data/sig/finch_api/resources/hris/pay_statements.rbs +14 -0
  525. data/sig/finch_api/resources/hris/payments.rbs +15 -0
  526. data/sig/finch_api/resources/payroll/pay_groups.rbs +20 -0
  527. data/sig/finch_api/resources/providers.rbs +11 -0
  528. data/sig/finch_api/version.rbs +3 -0
  529. metadata +552 -504
  530. data/lib/finch-api/client.rb +0 -141
  531. data/lib/finch-api/errors.rb +0 -183
  532. data/lib/finch-api/individuals_page.rb +0 -92
  533. data/lib/finch-api/models/access_token_create_params.rb +0 -54
  534. data/lib/finch-api/models/account_disconnect_params.rb +0 -18
  535. data/lib/finch-api/models/account_introspect_params.rb +0 -18
  536. data/lib/finch-api/models/account_update_event.rb +0 -1953
  537. data/lib/finch-api/models/base_webhook_event.rb +0 -41
  538. data/lib/finch-api/models/company_event.rb +0 -41
  539. data/lib/finch-api/models/connect/session_new_params.rb +0 -160
  540. data/lib/finch-api/models/connect/session_new_response.rb +0 -29
  541. data/lib/finch-api/models/connect/session_reauthenticate_params.rb +0 -71
  542. data/lib/finch-api/models/connect/session_reauthenticate_response.rb +0 -29
  543. data/lib/finch-api/models/connection_status_type.rb +0 -22
  544. data/lib/finch-api/models/create_access_token_response.rb +0 -139
  545. data/lib/finch-api/models/directory_event.rb +0 -66
  546. data/lib/finch-api/models/disconnect_response.rb +0 -20
  547. data/lib/finch-api/models/employment_event.rb +0 -66
  548. data/lib/finch-api/models/hris/benefit_contribution.rb +0 -43
  549. data/lib/finch-api/models/hris/benefit_create_params.rb +0 -46
  550. data/lib/finch-api/models/hris/benefit_features_and_operations.rb +0 -169
  551. data/lib/finch-api/models/hris/benefit_frequency.rb +0 -21
  552. data/lib/finch-api/models/hris/benefit_list_params.rb +0 -20
  553. data/lib/finch-api/models/hris/benefit_list_supported_benefits_params.rb +0 -20
  554. data/lib/finch-api/models/hris/benefit_retrieve_params.rb +0 -20
  555. data/lib/finch-api/models/hris/benefit_type.rb +0 -38
  556. data/lib/finch-api/models/hris/benefit_update_params.rb +0 -31
  557. data/lib/finch-api/models/hris/benefits/enrolled_individual.rb +0 -93
  558. data/lib/finch-api/models/hris/benefits/individual_benefit.rb +0 -116
  559. data/lib/finch-api/models/hris/benefits/individual_enroll_many_params.rb +0 -237
  560. data/lib/finch-api/models/hris/benefits/individual_enrolled_ids_params.rb +0 -22
  561. data/lib/finch-api/models/hris/benefits/individual_enrolled_ids_response.rb +0 -29
  562. data/lib/finch-api/models/hris/benefits/individual_retrieve_many_benefits_params.rb +0 -34
  563. data/lib/finch-api/models/hris/benefits/individual_unenroll_many_params.rb +0 -33
  564. data/lib/finch-api/models/hris/benefits/unenrolled_individual.rb +0 -77
  565. data/lib/finch-api/models/hris/benefits_support.rb +0 -106
  566. data/lib/finch-api/models/hris/company.rb +0 -247
  567. data/lib/finch-api/models/hris/company_benefit.rb +0 -40
  568. data/lib/finch-api/models/hris/company_retrieve_params.rb +0 -20
  569. data/lib/finch-api/models/hris/create_company_benefits_response.rb +0 -21
  570. data/lib/finch-api/models/hris/directory_list_individuals_params.rb +0 -42
  571. data/lib/finch-api/models/hris/directory_list_params.rb +0 -42
  572. data/lib/finch-api/models/hris/document_list_params.rb +0 -79
  573. data/lib/finch-api/models/hris/document_list_response.rb +0 -27
  574. data/lib/finch-api/models/hris/document_response.rb +0 -78
  575. data/lib/finch-api/models/hris/document_retreive_params.rb +0 -20
  576. data/lib/finch-api/models/hris/document_retreive_response.rb +0 -25
  577. data/lib/finch-api/models/hris/employment_data.rb +0 -331
  578. data/lib/finch-api/models/hris/employment_data_response.rb +0 -45
  579. data/lib/finch-api/models/hris/employment_retrieve_many_params.rb +0 -45
  580. data/lib/finch-api/models/hris/individual.rb +0 -236
  581. data/lib/finch-api/models/hris/individual_in_directory.rb +0 -117
  582. data/lib/finch-api/models/hris/individual_response.rb +0 -45
  583. data/lib/finch-api/models/hris/individual_retrieve_many_params.rb +0 -73
  584. data/lib/finch-api/models/hris/pay_statement.rb +0 -529
  585. data/lib/finch-api/models/hris/pay_statement_response.rb +0 -45
  586. data/lib/finch-api/models/hris/pay_statement_response_body.rb +0 -36
  587. data/lib/finch-api/models/hris/pay_statement_retrieve_many_params.rb +0 -65
  588. data/lib/finch-api/models/hris/payment.rb +0 -156
  589. data/lib/finch-api/models/hris/payment_list_params.rb +0 -36
  590. data/lib/finch-api/models/hris/support_per_benefit_type.rb +0 -35
  591. data/lib/finch-api/models/hris/supported_benefit.rb +0 -136
  592. data/lib/finch-api/models/hris/update_company_benefit_response.rb +0 -21
  593. data/lib/finch-api/models/hris/w42005.rb +0 -151
  594. data/lib/finch-api/models/hris/w42020.rb +0 -159
  595. data/lib/finch-api/models/income.rb +0 -68
  596. data/lib/finch-api/models/individual_event.rb +0 -66
  597. data/lib/finch-api/models/introspection.rb +0 -312
  598. data/lib/finch-api/models/job_completion_event.rb +0 -72
  599. data/lib/finch-api/models/jobs/automated_async_job.rb +0 -133
  600. data/lib/finch-api/models/jobs/automated_create_params.rb +0 -61
  601. data/lib/finch-api/models/jobs/automated_create_response.rb +0 -43
  602. data/lib/finch-api/models/jobs/automated_list_params.rb +0 -42
  603. data/lib/finch-api/models/jobs/automated_list_response.rb +0 -100
  604. data/lib/finch-api/models/jobs/automated_retrieve_params.rb +0 -20
  605. data/lib/finch-api/models/jobs/manual_async_job.rb +0 -49
  606. data/lib/finch-api/models/jobs/manual_retrieve_params.rb +0 -20
  607. data/lib/finch-api/models/location.rb +0 -79
  608. data/lib/finch-api/models/money.rb +0 -30
  609. data/lib/finch-api/models/operation_support.rb +0 -27
  610. data/lib/finch-api/models/operation_support_matrix.rb +0 -81
  611. data/lib/finch-api/models/paging.rb +0 -35
  612. data/lib/finch-api/models/pay_statement_event.rb +0 -77
  613. data/lib/finch-api/models/payment_event.rb +0 -69
  614. data/lib/finch-api/models/payroll/pay_group_list_params.rb +0 -40
  615. data/lib/finch-api/models/payroll/pay_group_list_response.rb +0 -69
  616. data/lib/finch-api/models/payroll/pay_group_retrieve_params.rb +0 -20
  617. data/lib/finch-api/models/payroll/pay_group_retrieve_response.rb +0 -63
  618. data/lib/finch-api/models/provider.rb +0 -2022
  619. data/lib/finch-api/models/provider_list_params.rb +0 -18
  620. data/lib/finch-api/models/request_forwarding_forward_params.rb +0 -60
  621. data/lib/finch-api/models/request_forwarding_forward_response.rb +0 -97
  622. data/lib/finch-api/models/sandbox/company_update_params.rb +0 -251
  623. data/lib/finch-api/models/sandbox/company_update_response.rb +0 -233
  624. data/lib/finch-api/models/sandbox/connection_create_params.rb +0 -76
  625. data/lib/finch-api/models/sandbox/connection_create_response.rb +0 -99
  626. data/lib/finch-api/models/sandbox/connections/account_create_params.rb +0 -73
  627. data/lib/finch-api/models/sandbox/connections/account_create_response.rb +0 -79
  628. data/lib/finch-api/models/sandbox/connections/account_update_params.rb +0 -32
  629. data/lib/finch-api/models/sandbox/connections/account_update_response.rb +0 -77
  630. data/lib/finch-api/models/sandbox/directory_create_params.rb +0 -535
  631. data/lib/finch-api/models/sandbox/directory_create_response.rb +0 -9
  632. data/lib/finch-api/models/sandbox/employment_update_params.rb +0 -323
  633. data/lib/finch-api/models/sandbox/employment_update_response.rb +0 -329
  634. data/lib/finch-api/models/sandbox/individual_update_params.rb +0 -234
  635. data/lib/finch-api/models/sandbox/individual_update_response.rb +0 -242
  636. data/lib/finch-api/models/sandbox/job_create_params.rb +0 -40
  637. data/lib/finch-api/models/sandbox/job_create_response.rb +0 -43
  638. data/lib/finch-api/models/sandbox/jobs/configuration_retrieve_params.rb +0 -22
  639. data/lib/finch-api/models/sandbox/jobs/configuration_retrieve_response.rb +0 -12
  640. data/lib/finch-api/models/sandbox/jobs/configuration_update_params.rb +0 -22
  641. data/lib/finch-api/models/sandbox/jobs/sandbox_job_configuration.rb +0 -57
  642. data/lib/finch-api/models/sandbox/payment_create_params.rb +0 -588
  643. data/lib/finch-api/models/sandbox/payment_create_response.rb +0 -29
  644. data/lib/finch-api/models/webhook_event.rb +0 -31
  645. data/lib/finch-api/page.rb +0 -92
  646. data/lib/finch-api/request_options.rb +0 -75
  647. data/lib/finch-api/resources/access_tokens.rb +0 -38
  648. data/lib/finch-api/resources/account.rb +0 -44
  649. data/lib/finch-api/resources/connect/sessions.rb +0 -78
  650. data/lib/finch-api/resources/connect.rb +0 -16
  651. data/lib/finch-api/resources/hris/benefits/individuals.rb +0 -108
  652. data/lib/finch-api/resources/hris/benefits.rb +0 -119
  653. data/lib/finch-api/resources/hris/company.rb +0 -30
  654. data/lib/finch-api/resources/hris/directory.rb +0 -42
  655. data/lib/finch-api/resources/hris/documents.rb +0 -62
  656. data/lib/finch-api/resources/hris/employments.rb +0 -35
  657. data/lib/finch-api/resources/hris/individuals.rb +0 -37
  658. data/lib/finch-api/resources/hris/pay_statements.rb +0 -38
  659. data/lib/finch-api/resources/hris/payments.rb +0 -39
  660. data/lib/finch-api/resources/hris.rb +0 -44
  661. data/lib/finch-api/resources/jobs/automated.rb +0 -91
  662. data/lib/finch-api/resources/jobs/manual.rb +0 -33
  663. data/lib/finch-api/resources/jobs.rb +0 -20
  664. data/lib/finch-api/resources/payroll/pay_groups.rb +0 -55
  665. data/lib/finch-api/resources/payroll.rb +0 -16
  666. data/lib/finch-api/resources/providers.rb +0 -29
  667. data/lib/finch-api/resources/request_forwarding.rb +0 -50
  668. data/lib/finch-api/resources/sandbox/company.rb +0 -48
  669. data/lib/finch-api/resources/sandbox/connections/accounts.rb +0 -64
  670. data/lib/finch-api/resources/sandbox/connections.rb +0 -46
  671. data/lib/finch-api/resources/sandbox/directory.rb +0 -35
  672. data/lib/finch-api/resources/sandbox/employment.rb +0 -74
  673. data/lib/finch-api/resources/sandbox/individual.rb +0 -63
  674. data/lib/finch-api/resources/sandbox/jobs/configuration.rb +0 -54
  675. data/lib/finch-api/resources/sandbox/jobs.rb +0 -38
  676. data/lib/finch-api/resources/sandbox/payment.rb +0 -38
  677. data/lib/finch-api/resources/sandbox.rb +0 -40
  678. data/lib/finch-api/resources/webhooks.rb +0 -12
  679. data/lib/finch-api/responses_page.rb +0 -77
  680. data/lib/finch-api/single_page.rb +0 -74
  681. data/lib/finch-api/transport/base_client.rb +0 -459
  682. data/lib/finch-api/transport/pooled_net_requester.rb +0 -182
  683. data/lib/finch-api/type/array_of.rb +0 -110
  684. data/lib/finch-api/type/base_model.rb +0 -355
  685. data/lib/finch-api/type/base_page.rb +0 -61
  686. data/lib/finch-api/type/boolean_model.rb +0 -52
  687. data/lib/finch-api/type/converter.rb +0 -211
  688. data/lib/finch-api/type/enum.rb +0 -105
  689. data/lib/finch-api/type/hash_of.rb +0 -136
  690. data/lib/finch-api/type/request_parameters.rb +0 -38
  691. data/lib/finch-api/type/union.rb +0 -204
  692. data/lib/finch-api/type/unknown.rb +0 -56
  693. data/lib/finch-api/type.rb +0 -23
  694. data/lib/finch-api/util.rb +0 -726
  695. data/lib/finch-api/version.rb +0 -5
  696. data/lib/finch-api.rb +0 -203
  697. data/rbi/lib/finch-api/client.rbi +0 -97
  698. data/rbi/lib/finch-api/errors.rbi +0 -144
  699. data/rbi/lib/finch-api/individuals_page.rbi +0 -19
  700. data/rbi/lib/finch-api/models/access_token_create_params.rbi +0 -59
  701. data/rbi/lib/finch-api/models/account_disconnect_params.rbi +0 -25
  702. data/rbi/lib/finch-api/models/account_introspect_params.rbi +0 -25
  703. data/rbi/lib/finch-api/models/account_update_event.rbi +0 -2367
  704. data/rbi/lib/finch-api/models/base_webhook_event.rbi +0 -33
  705. data/rbi/lib/finch-api/models/company_event.rbi +0 -51
  706. data/rbi/lib/finch-api/models/connect/session_new_params.rbi +0 -189
  707. data/rbi/lib/finch-api/models/connect/session_new_response.rbi +0 -25
  708. data/rbi/lib/finch-api/models/connect/session_reauthenticate_params.rbi +0 -85
  709. data/rbi/lib/finch-api/models/connect/session_reauthenticate_response.rbi +0 -25
  710. data/rbi/lib/finch-api/models/connection_status_type.rbi +0 -24
  711. data/rbi/lib/finch-api/models/create_access_token_response.rbi +0 -142
  712. data/rbi/lib/finch-api/models/directory_event.rbi +0 -76
  713. data/rbi/lib/finch-api/models/disconnect_response.rbi +0 -19
  714. data/rbi/lib/finch-api/models/employment_event.rbi +0 -76
  715. data/rbi/lib/finch-api/models/hris/benefit_contribution.rbi +0 -52
  716. data/rbi/lib/finch-api/models/hris/benefit_create_params.rbi +0 -54
  717. data/rbi/lib/finch-api/models/hris/benefit_features_and_operations.rbi +0 -303
  718. data/rbi/lib/finch-api/models/hris/benefit_frequency.rbi +0 -22
  719. data/rbi/lib/finch-api/models/hris/benefit_list_params.rbi +0 -27
  720. data/rbi/lib/finch-api/models/hris/benefit_list_supported_benefits_params.rbi +0 -27
  721. data/rbi/lib/finch-api/models/hris/benefit_retrieve_params.rbi +0 -27
  722. data/rbi/lib/finch-api/models/hris/benefit_type.rbi +0 -39
  723. data/rbi/lib/finch-api/models/hris/benefit_update_params.rbi +0 -33
  724. data/rbi/lib/finch-api/models/hris/benefits/enrolled_individual.rbi +0 -109
  725. data/rbi/lib/finch-api/models/hris/benefits/individual_benefit.rbi +0 -164
  726. data/rbi/lib/finch-api/models/hris/benefits/individual_enroll_many_params.rbi +0 -426
  727. data/rbi/lib/finch-api/models/hris/benefits/individual_enrolled_ids_params.rbi +0 -29
  728. data/rbi/lib/finch-api/models/hris/benefits/individual_enrolled_ids_response.rbi +0 -25
  729. data/rbi/lib/finch-api/models/hris/benefits/individual_retrieve_many_benefits_params.rbi +0 -39
  730. data/rbi/lib/finch-api/models/hris/benefits/individual_unenroll_many_params.rbi +0 -37
  731. data/rbi/lib/finch-api/models/hris/benefits/unenrolled_individual.rbi +0 -86
  732. data/rbi/lib/finch-api/models/hris/benefits_support.rbi +0 -198
  733. data/rbi/lib/finch-api/models/hris/company.rbi +0 -286
  734. data/rbi/lib/finch-api/models/hris/company_benefit.rbi +0 -48
  735. data/rbi/lib/finch-api/models/hris/company_retrieve_params.rbi +0 -27
  736. data/rbi/lib/finch-api/models/hris/create_company_benefits_response.rbi +0 -20
  737. data/rbi/lib/finch-api/models/hris/directory_list_individuals_params.rbi +0 -41
  738. data/rbi/lib/finch-api/models/hris/directory_list_params.rbi +0 -41
  739. data/rbi/lib/finch-api/models/hris/document_list_params.rbi +0 -84
  740. data/rbi/lib/finch-api/models/hris/document_list_response.rbi +0 -35
  741. data/rbi/lib/finch-api/models/hris/document_response.rbi +0 -83
  742. data/rbi/lib/finch-api/models/hris/document_retreive_params.rbi +0 -27
  743. data/rbi/lib/finch-api/models/hris/document_retreive_response.rbi +0 -17
  744. data/rbi/lib/finch-api/models/hris/employment_data.rbi +0 -351
  745. data/rbi/lib/finch-api/models/hris/employment_data_response.rbi +0 -42
  746. data/rbi/lib/finch-api/models/hris/employment_retrieve_many_params.rbi +0 -54
  747. data/rbi/lib/finch-api/models/hris/individual.rbi +0 -256
  748. data/rbi/lib/finch-api/models/hris/individual_in_directory.rbi +0 -121
  749. data/rbi/lib/finch-api/models/hris/individual_response.rbi +0 -42
  750. data/rbi/lib/finch-api/models/hris/individual_retrieve_many_params.rbi +0 -90
  751. data/rbi/lib/finch-api/models/hris/pay_statement.rbi +0 -640
  752. data/rbi/lib/finch-api/models/hris/pay_statement_response.rbi +0 -45
  753. data/rbi/lib/finch-api/models/hris/pay_statement_response_body.rbi +0 -41
  754. data/rbi/lib/finch-api/models/hris/pay_statement_retrieve_many_params.rbi +0 -66
  755. data/rbi/lib/finch-api/models/hris/payment.rbi +0 -167
  756. data/rbi/lib/finch-api/models/hris/payment_list_params.rbi +0 -39
  757. data/rbi/lib/finch-api/models/hris/support_per_benefit_type.rbi +0 -43
  758. data/rbi/lib/finch-api/models/hris/supported_benefit.rbi +0 -159
  759. data/rbi/lib/finch-api/models/hris/update_company_benefit_response.rbi +0 -20
  760. data/rbi/lib/finch-api/models/hris/w42005.rbi +0 -166
  761. data/rbi/lib/finch-api/models/hris/w42020.rbi +0 -175
  762. data/rbi/lib/finch-api/models/income.rbi +0 -76
  763. data/rbi/lib/finch-api/models/individual_event.rbi +0 -76
  764. data/rbi/lib/finch-api/models/introspection.rbi +0 -327
  765. data/rbi/lib/finch-api/models/job_completion_event.rbi +0 -83
  766. data/rbi/lib/finch-api/models/jobs/automated_async_job.rbi +0 -146
  767. data/rbi/lib/finch-api/models/jobs/automated_create_params.rbi +0 -76
  768. data/rbi/lib/finch-api/models/jobs/automated_create_response.rbi +0 -44
  769. data/rbi/lib/finch-api/models/jobs/automated_list_params.rbi +0 -41
  770. data/rbi/lib/finch-api/models/jobs/automated_list_response.rbi +0 -126
  771. data/rbi/lib/finch-api/models/jobs/automated_retrieve_params.rbi +0 -27
  772. data/rbi/lib/finch-api/models/jobs/manual_async_job.rbi +0 -59
  773. data/rbi/lib/finch-api/models/jobs/manual_retrieve_params.rbi +0 -27
  774. data/rbi/lib/finch-api/models/location.rbi +0 -71
  775. data/rbi/lib/finch-api/models/money.rbi +0 -25
  776. data/rbi/lib/finch-api/models/operation_support.rbi +0 -29
  777. data/rbi/lib/finch-api/models/operation_support_matrix.rbi +0 -85
  778. data/rbi/lib/finch-api/models/paging.rbi +0 -29
  779. data/rbi/lib/finch-api/models/pay_statement_event.rbi +0 -83
  780. data/rbi/lib/finch-api/models/payment_event.rbi +0 -74
  781. data/rbi/lib/finch-api/models/payroll/pay_group_list_params.rbi +0 -48
  782. data/rbi/lib/finch-api/models/payroll/pay_group_list_response.rbi +0 -84
  783. data/rbi/lib/finch-api/models/payroll/pay_group_retrieve_params.rbi +0 -27
  784. data/rbi/lib/finch-api/models/payroll/pay_group_retrieve_response.rbi +0 -81
  785. data/rbi/lib/finch-api/models/provider.rbi +0 -2278
  786. data/rbi/lib/finch-api/models/provider_list_params.rbi +0 -25
  787. data/rbi/lib/finch-api/models/request_forwarding_forward_params.rbi +0 -67
  788. data/rbi/lib/finch-api/models/request_forwarding_forward_response.rbi +0 -119
  789. data/rbi/lib/finch-api/models/sandbox/company_update_params.rbi +0 -314
  790. data/rbi/lib/finch-api/models/sandbox/company_update_response.rbi +0 -301
  791. data/rbi/lib/finch-api/models/sandbox/connection_create_params.rbi +0 -95
  792. data/rbi/lib/finch-api/models/sandbox/connection_create_response.rbi +0 -108
  793. data/rbi/lib/finch-api/models/sandbox/connections/account_create_params.rbi +0 -116
  794. data/rbi/lib/finch-api/models/sandbox/connections/account_create_response.rbi +0 -112
  795. data/rbi/lib/finch-api/models/sandbox/connections/account_update_params.rbi +0 -42
  796. data/rbi/lib/finch-api/models/sandbox/connections/account_update_response.rbi +0 -110
  797. data/rbi/lib/finch-api/models/sandbox/directory_create_params.rbi +0 -674
  798. data/rbi/lib/finch-api/models/sandbox/directory_create_response.rbi +0 -9
  799. data/rbi/lib/finch-api/models/sandbox/employment_update_params.rbi +0 -373
  800. data/rbi/lib/finch-api/models/sandbox/employment_update_response.rbi +0 -379
  801. data/rbi/lib/finch-api/models/sandbox/individual_update_params.rbi +0 -279
  802. data/rbi/lib/finch-api/models/sandbox/individual_update_response.rbi +0 -292
  803. data/rbi/lib/finch-api/models/sandbox/job_create_params.rbi +0 -49
  804. data/rbi/lib/finch-api/models/sandbox/job_create_response.rbi +0 -44
  805. data/rbi/lib/finch-api/models/sandbox/jobs/configuration_retrieve_params.rbi +0 -29
  806. data/rbi/lib/finch-api/models/sandbox/jobs/configuration_retrieve_response.rbi +0 -15
  807. data/rbi/lib/finch-api/models/sandbox/jobs/configuration_update_params.rbi +0 -29
  808. data/rbi/lib/finch-api/models/sandbox/jobs/sandbox_job_configuration.rbi +0 -88
  809. data/rbi/lib/finch-api/models/sandbox/payment_create_params.rbi +0 -892
  810. data/rbi/lib/finch-api/models/sandbox/payment_create_response.rbi +0 -25
  811. data/rbi/lib/finch-api/models/webhook_event.rbi +0 -18
  812. data/rbi/lib/finch-api/page.rbi +0 -19
  813. data/rbi/lib/finch-api/request_options.rbi +0 -48
  814. data/rbi/lib/finch-api/resources/access_tokens.rbi +0 -25
  815. data/rbi/lib/finch-api/resources/account.rbi +0 -27
  816. data/rbi/lib/finch-api/resources/connect/sessions.rbi +0 -70
  817. data/rbi/lib/finch-api/resources/connect.rbi +0 -14
  818. data/rbi/lib/finch-api/resources/hris/benefits/individuals.rbi +0 -81
  819. data/rbi/lib/finch-api/resources/hris/benefits.rbi +0 -83
  820. data/rbi/lib/finch-api/resources/hris/company.rbi +0 -21
  821. data/rbi/lib/finch-api/resources/hris/directory.rbi +0 -31
  822. data/rbi/lib/finch-api/resources/hris/documents.rbi +0 -56
  823. data/rbi/lib/finch-api/resources/hris/employments.rbi +0 -28
  824. data/rbi/lib/finch-api/resources/hris/individuals.rbi +0 -25
  825. data/rbi/lib/finch-api/resources/hris/pay_statements.rbi +0 -31
  826. data/rbi/lib/finch-api/resources/hris/payments.rbi +0 -33
  827. data/rbi/lib/finch-api/resources/hris.rbi +0 -35
  828. data/rbi/lib/finch-api/resources/jobs/automated.rbi +0 -74
  829. data/rbi/lib/finch-api/resources/jobs/manual.rbi +0 -25
  830. data/rbi/lib/finch-api/resources/jobs.rbi +0 -17
  831. data/rbi/lib/finch-api/resources/payroll/pay_groups.rbi +0 -36
  832. data/rbi/lib/finch-api/resources/payroll.rbi +0 -14
  833. data/rbi/lib/finch-api/resources/providers.rbi +0 -19
  834. data/rbi/lib/finch-api/resources/request_forwarding.rbi +0 -48
  835. data/rbi/lib/finch-api/resources/sandbox/company.rbi +0 -52
  836. data/rbi/lib/finch-api/resources/sandbox/connections/accounts.rbi +0 -50
  837. data/rbi/lib/finch-api/resources/sandbox/connections.rbi +0 -40
  838. data/rbi/lib/finch-api/resources/sandbox/directory.rbi +0 -29
  839. data/rbi/lib/finch-api/resources/sandbox/employment.rbi +0 -81
  840. data/rbi/lib/finch-api/resources/sandbox/individual.rbi +0 -68
  841. data/rbi/lib/finch-api/resources/sandbox/jobs/configuration.rbi +0 -35
  842. data/rbi/lib/finch-api/resources/sandbox/jobs.rbi +0 -31
  843. data/rbi/lib/finch-api/resources/sandbox/payment.rbi +0 -26
  844. data/rbi/lib/finch-api/resources/sandbox.rbi +0 -32
  845. data/rbi/lib/finch-api/resources/webhooks.rbi +0 -11
  846. data/rbi/lib/finch-api/responses_page.rbi +0 -16
  847. data/rbi/lib/finch-api/single_page.rbi +0 -25
  848. data/rbi/lib/finch-api/transport/base_client.rbi +0 -204
  849. data/rbi/lib/finch-api/transport/pooled_net_requester.rbi +0 -64
  850. data/rbi/lib/finch-api/type/array_of.rbi +0 -82
  851. data/rbi/lib/finch-api/type/base_model.rbi +0 -191
  852. data/rbi/lib/finch-api/type/base_page.rbi +0 -38
  853. data/rbi/lib/finch-api/type/boolean_model.rbi +0 -41
  854. data/rbi/lib/finch-api/type/converter.rbi +0 -101
  855. data/rbi/lib/finch-api/type/enum.rbi +0 -58
  856. data/rbi/lib/finch-api/type/hash_of.rbi +0 -86
  857. data/rbi/lib/finch-api/type/request_parameters.rbi +0 -20
  858. data/rbi/lib/finch-api/type/union.rbi +0 -66
  859. data/rbi/lib/finch-api/type/unknown.rbi +0 -37
  860. data/rbi/lib/finch-api/type.rbi +0 -23
  861. data/rbi/lib/finch-api/util.rbi +0 -280
  862. data/rbi/lib/finch-api/version.rbi +0 -5
  863. data/sig/finch-api/client.rbs +0 -54
  864. data/sig/finch-api/errors.rbs +0 -99
  865. data/sig/finch-api/individuals_page.rbs +0 -11
  866. data/sig/finch-api/models/access_token_create_params.rbs +0 -41
  867. data/sig/finch-api/models/account_disconnect_params.rbs +0 -14
  868. data/sig/finch-api/models/account_introspect_params.rbs +0 -14
  869. data/sig/finch-api/models/account_update_event.rbs +0 -1291
  870. data/sig/finch-api/models/base_webhook_event.rbs +0 -24
  871. data/sig/finch-api/models/company_event.rbs +0 -38
  872. data/sig/finch-api/models/connect/session_new_params.rbs +0 -125
  873. data/sig/finch-api/models/connect/session_new_response.rbs +0 -17
  874. data/sig/finch-api/models/connect/session_reauthenticate_params.rbs +0 -62
  875. data/sig/finch-api/models/connect/session_reauthenticate_response.rbs +0 -18
  876. data/sig/finch-api/models/connection_status_type.rbs +0 -24
  877. data/sig/finch-api/models/create_access_token_response.rbs +0 -79
  878. data/sig/finch-api/models/directory_event.rbs +0 -55
  879. data/sig/finch-api/models/disconnect_response.rbs +0 -13
  880. data/sig/finch-api/models/employment_event.rbs +0 -55
  881. data/sig/finch-api/models/hris/benefit_contribution.rbs +0 -35
  882. data/sig/finch-api/models/hris/benefit_create_params.rbs +0 -35
  883. data/sig/finch-api/models/hris/benefit_features_and_operations.rbs +0 -108
  884. data/sig/finch-api/models/hris/benefit_frequency.rbs +0 -17
  885. data/sig/finch-api/models/hris/benefit_list_params.rbs +0 -16
  886. data/sig/finch-api/models/hris/benefit_list_supported_benefits_params.rbs +0 -17
  887. data/sig/finch-api/models/hris/benefit_retrieve_params.rbs +0 -16
  888. data/sig/finch-api/models/hris/benefit_type.rbs +0 -52
  889. data/sig/finch-api/models/hris/benefit_update_params.rbs +0 -24
  890. data/sig/finch-api/models/hris/benefits/enrolled_individual.rbs +0 -71
  891. data/sig/finch-api/models/hris/benefits/individual_benefit.rbs +0 -82
  892. data/sig/finch-api/models/hris/benefits/individual_enroll_many_params.rbs +0 -184
  893. data/sig/finch-api/models/hris/benefits/individual_enrolled_ids_params.rbs +0 -19
  894. data/sig/finch-api/models/hris/benefits/individual_enrolled_ids_response.rbs +0 -23
  895. data/sig/finch-api/models/hris/benefits/individual_retrieve_many_benefits_params.rbs +0 -26
  896. data/sig/finch-api/models/hris/benefits/individual_unenroll_many_params.rbs +0 -26
  897. data/sig/finch-api/models/hris/benefits/unenrolled_individual.rbs +0 -56
  898. data/sig/finch-api/models/hris/benefits_support.rbs +0 -64
  899. data/sig/finch-api/models/hris/company.rbs +0 -177
  900. data/sig/finch-api/models/hris/company_benefit.rbs +0 -32
  901. data/sig/finch-api/models/hris/company_retrieve_params.rbs +0 -16
  902. data/sig/finch-api/models/hris/create_company_benefits_response.rbs +0 -15
  903. data/sig/finch-api/models/hris/directory_list_individuals_params.rbs +0 -29
  904. data/sig/finch-api/models/hris/directory_list_params.rbs +0 -29
  905. data/sig/finch-api/models/hris/document_list_params.rbs +0 -58
  906. data/sig/finch-api/models/hris/document_list_response.rbs +0 -24
  907. data/sig/finch-api/models/hris/document_response.rbs +0 -55
  908. data/sig/finch-api/models/hris/document_retreive_params.rbs +0 -16
  909. data/sig/finch-api/models/hris/document_retreive_response.rbs +0 -14
  910. data/sig/finch-api/models/hris/employment_data.rbs +0 -210
  911. data/sig/finch-api/models/hris/employment_data_response.rbs +0 -36
  912. data/sig/finch-api/models/hris/employment_retrieve_many_params.rbs +0 -35
  913. data/sig/finch-api/models/hris/individual.rbs +0 -170
  914. data/sig/finch-api/models/hris/individual_in_directory.rbs +0 -68
  915. data/sig/finch-api/models/hris/individual_response.rbs +0 -36
  916. data/sig/finch-api/models/hris/individual_retrieve_many_params.rbs +0 -57
  917. data/sig/finch-api/models/hris/pay_statement.rbs +0 -389
  918. data/sig/finch-api/models/hris/pay_statement_response.rbs +0 -36
  919. data/sig/finch-api/models/hris/pay_statement_response_body.rbs +0 -30
  920. data/sig/finch-api/models/hris/pay_statement_retrieve_many_params.rbs +0 -47
  921. data/sig/finch-api/models/hris/payment.rbs +0 -105
  922. data/sig/finch-api/models/hris/payment_list_params.rbs +0 -25
  923. data/sig/finch-api/models/hris/support_per_benefit_type.rbs +0 -32
  924. data/sig/finch-api/models/hris/supported_benefit.rbs +0 -85
  925. data/sig/finch-api/models/hris/update_company_benefit_response.rbs +0 -15
  926. data/sig/finch-api/models/hris/w42005.rbs +0 -107
  927. data/sig/finch-api/models/hris/w42020.rbs +0 -106
  928. data/sig/finch-api/models/income.rbs +0 -57
  929. data/sig/finch-api/models/individual_event.rbs +0 -55
  930. data/sig/finch-api/models/introspection.rbs +0 -202
  931. data/sig/finch-api/models/job_completion_event.rbs +0 -63
  932. data/sig/finch-api/models/jobs/automated_async_job.rbs +0 -96
  933. data/sig/finch-api/models/jobs/automated_create_params.rbs +0 -49
  934. data/sig/finch-api/models/jobs/automated_create_response.rbs +0 -32
  935. data/sig/finch-api/models/jobs/automated_list_params.rbs +0 -29
  936. data/sig/finch-api/models/jobs/automated_list_response.rbs +0 -82
  937. data/sig/finch-api/models/jobs/automated_retrieve_params.rbs +0 -16
  938. data/sig/finch-api/models/jobs/manual_async_job.rbs +0 -41
  939. data/sig/finch-api/models/jobs/manual_retrieve_params.rbs +0 -16
  940. data/sig/finch-api/models/location.rbs +0 -46
  941. data/sig/finch-api/models/money.rbs +0 -17
  942. data/sig/finch-api/models/operation_support.rbs +0 -20
  943. data/sig/finch-api/models/operation_support_matrix.rbs +0 -46
  944. data/sig/finch-api/models/paging.rbs +0 -19
  945. data/sig/finch-api/models/pay_statement_event.rbs +0 -61
  946. data/sig/finch-api/models/payment_event.rbs +0 -55
  947. data/sig/finch-api/models/payroll/pay_group_list_params.rbs +0 -30
  948. data/sig/finch-api/models/payroll/pay_group_list_response.rbs +0 -63
  949. data/sig/finch-api/models/payroll/pay_group_retrieve_params.rbs +0 -16
  950. data/sig/finch-api/models/payroll/pay_group_retrieve_response.rbs +0 -59
  951. data/sig/finch-api/models/provider.rbs +0 -1308
  952. data/sig/finch-api/models/provider_list_params.rbs +0 -14
  953. data/sig/finch-api/models/request_forwarding_forward_params.rbs +0 -39
  954. data/sig/finch-api/models/request_forwarding_forward_response.rbs +0 -61
  955. data/sig/finch-api/models/sandbox/company_update_params.rbs +0 -178
  956. data/sig/finch-api/models/sandbox/company_update_response.rbs +0 -173
  957. data/sig/finch-api/models/sandbox/connection_create_params.rbs +0 -58
  958. data/sig/finch-api/models/sandbox/connection_create_response.rbs +0 -63
  959. data/sig/finch-api/models/sandbox/connections/account_create_params.rbs +0 -59
  960. data/sig/finch-api/models/sandbox/connections/account_create_response.rbs +0 -60
  961. data/sig/finch-api/models/sandbox/connections/account_update_params.rbs +0 -29
  962. data/sig/finch-api/models/sandbox/connections/account_update_response.rbs +0 -58
  963. data/sig/finch-api/models/sandbox/directory_create_params.rbs +0 -364
  964. data/sig/finch-api/models/sandbox/directory_create_response.rbs +0 -9
  965. data/sig/finch-api/models/sandbox/employment_update_params.rbs +0 -209
  966. data/sig/finch-api/models/sandbox/employment_update_response.rbs +0 -210
  967. data/sig/finch-api/models/sandbox/individual_update_params.rbs +0 -169
  968. data/sig/finch-api/models/sandbox/individual_update_response.rbs +0 -170
  969. data/sig/finch-api/models/sandbox/job_create_params.rbs +0 -33
  970. data/sig/finch-api/models/sandbox/job_create_response.rbs +0 -32
  971. data/sig/finch-api/models/sandbox/jobs/configuration_retrieve_params.rbs +0 -18
  972. data/sig/finch-api/models/sandbox/jobs/configuration_retrieve_response.rbs +0 -12
  973. data/sig/finch-api/models/sandbox/jobs/configuration_update_params.rbs +0 -18
  974. data/sig/finch-api/models/sandbox/jobs/sandbox_job_configuration.rbs +0 -50
  975. data/sig/finch-api/models/sandbox/payment_create_params.rbs +0 -425
  976. data/sig/finch-api/models/sandbox/payment_create_response.rbs +0 -17
  977. data/sig/finch-api/models/webhook_event.rbs +0 -19
  978. data/sig/finch-api/page.rbs +0 -11
  979. data/sig/finch-api/request_options.rbs +0 -34
  980. data/sig/finch-api/resources/hris/benefits/individuals.rbs +0 -34
  981. data/sig/finch-api/resources/hris/benefits.rbs +0 -37
  982. data/sig/finch-api/resources/hris/company.rbs +0 -13
  983. data/sig/finch-api/resources/hris/directory.rbs +0 -17
  984. data/sig/finch-api/resources/hris/employments.rbs +0 -14
  985. data/sig/finch-api/resources/hris/individuals.rbs +0 -15
  986. data/sig/finch-api/resources/hris/pay_statements.rbs +0 -14
  987. data/sig/finch-api/resources/hris/payments.rbs +0 -15
  988. data/sig/finch-api/resources/payroll/pay_groups.rbs +0 -20
  989. data/sig/finch-api/resources/providers.rbs +0 -11
  990. data/sig/finch-api/responses_page.rbs +0 -9
  991. data/sig/finch-api/single_page.rbs +0 -13
  992. data/sig/finch-api/transport/base_client.rbs +0 -110
  993. data/sig/finch-api/transport/pooled_net_requester.rbs +0 -39
  994. data/sig/finch-api/type/array_of.rbs +0 -36
  995. data/sig/finch-api/type/base_model.rbs +0 -73
  996. data/sig/finch-api/type/base_page.rbs +0 -22
  997. data/sig/finch-api/type/boolean_model.rbs +0 -18
  998. data/sig/finch-api/type/converter.rbs +0 -36
  999. data/sig/finch-api/type/enum.rbs +0 -22
  1000. data/sig/finch-api/type/hash_of.rbs +0 -36
  1001. data/sig/finch-api/type/request_parameters.rbs +0 -13
  1002. data/sig/finch-api/type/union.rbs +0 -37
  1003. data/sig/finch-api/type/unknown.rbs +0 -18
  1004. data/sig/finch-api/type.rbs +0 -22
  1005. data/sig/finch-api/util.rbs +0 -134
  1006. data/sig/finch-api/version.rbs +0 -3
  1007. /data/lib/{finch-api → finch_api}/models/hris/benfit_contribution.rb +0 -0
  1008. /data/rbi/{lib/finch-api → finch_api}/models/hris/benfit_contribution.rbi +0 -0
  1009. /data/sig/{finch-api → finch_api}/models/hris/benfit_contribution.rbs +0 -0
  1010. /data/sig/{finch-api → finch_api}/resources/access_tokens.rbs +0 -0
  1011. /data/sig/{finch-api → finch_api}/resources/account.rbs +0 -0
  1012. /data/sig/{finch-api → finch_api}/resources/connect/sessions.rbs +0 -0
  1013. /data/sig/{finch-api → finch_api}/resources/connect.rbs +0 -0
  1014. /data/sig/{finch-api → finch_api}/resources/hris/documents.rbs +0 -0
  1015. /data/sig/{finch-api → finch_api}/resources/hris.rbs +0 -0
  1016. /data/sig/{finch-api → finch_api}/resources/jobs/automated.rbs +0 -0
  1017. /data/sig/{finch-api → finch_api}/resources/jobs/manual.rbs +0 -0
  1018. /data/sig/{finch-api → finch_api}/resources/jobs.rbs +0 -0
  1019. /data/sig/{finch-api → finch_api}/resources/payroll.rbs +0 -0
  1020. /data/sig/{finch-api → finch_api}/resources/request_forwarding.rbs +0 -0
  1021. /data/sig/{finch-api → finch_api}/resources/sandbox/company.rbs +0 -0
  1022. /data/sig/{finch-api → finch_api}/resources/sandbox/connections/accounts.rbs +0 -0
  1023. /data/sig/{finch-api → finch_api}/resources/sandbox/connections.rbs +0 -0
  1024. /data/sig/{finch-api → finch_api}/resources/sandbox/directory.rbs +0 -0
  1025. /data/sig/{finch-api → finch_api}/resources/sandbox/employment.rbs +0 -0
  1026. /data/sig/{finch-api → finch_api}/resources/sandbox/individual.rbs +0 -0
  1027. /data/sig/{finch-api → finch_api}/resources/sandbox/jobs/configuration.rbs +0 -0
  1028. /data/sig/{finch-api → finch_api}/resources/sandbox/jobs.rbs +0 -0
  1029. /data/sig/{finch-api → finch_api}/resources/sandbox/payment.rbs +0 -0
  1030. /data/sig/{finch-api → finch_api}/resources/sandbox.rbs +0 -0
  1031. /data/sig/{finch-api → finch_api}/resources/webhooks.rbs +0 -0
@@ -0,0 +1,193 @@
1
+ # frozen_string_literal: true
2
+
3
+ module FinchAPI
4
+ module Internal
5
+ module Transport
6
+ # @api private
7
+ class PooledNetRequester
8
+ # from the golang stdlib
9
+ # https://github.com/golang/go/blob/c8eced8580028328fde7c03cbfcb720ce15b2358/src/net/http/transport.go#L49
10
+ KEEP_ALIVE_TIMEOUT = 30
11
+
12
+ class << self
13
+ # @api private
14
+ #
15
+ # @param url [URI::Generic]
16
+ #
17
+ # @return [Net::HTTP]
18
+ def connect(url)
19
+ port =
20
+ case [url.port, url.scheme]
21
+ in [Integer, _]
22
+ url.port
23
+ in [nil, "http" | "ws"]
24
+ Net::HTTP.http_default_port
25
+ in [nil, "https" | "wss"]
26
+ Net::HTTP.https_default_port
27
+ end
28
+
29
+ Net::HTTP.new(url.host, port).tap do
30
+ _1.use_ssl = %w[https wss].include?(url.scheme)
31
+ _1.max_retries = 0
32
+ end
33
+ end
34
+
35
+ # @api private
36
+ #
37
+ # @param conn [Net::HTTP]
38
+ # @param deadline [Float]
39
+ def calibrate_socket_timeout(conn, deadline)
40
+ timeout = deadline - FinchAPI::Internal::Util.monotonic_secs
41
+ conn.open_timeout = conn.read_timeout = conn.write_timeout = conn.continue_timeout = timeout
42
+ end
43
+
44
+ # @api private
45
+ #
46
+ # @param request [Hash{Symbol=>Object}] .
47
+ #
48
+ # @option request [Symbol] :method
49
+ #
50
+ # @option request [URI::Generic] :url
51
+ #
52
+ # @option request [Hash{String=>String}] :headers
53
+ #
54
+ # @param blk [Proc]
55
+ #
56
+ # @yieldparam [String]
57
+ # @return [Array(Net::HTTPGenericRequest, Proc)]
58
+ def build_request(request, &blk)
59
+ method, url, headers, body = request.fetch_values(:method, :url, :headers, :body)
60
+ req = Net::HTTPGenericRequest.new(
61
+ method.to_s.upcase,
62
+ !body.nil?,
63
+ method != :head,
64
+ URI(url.to_s) # ensure we construct a URI class of the right scheme
65
+ )
66
+
67
+ headers.each { req[_1] = _2 }
68
+
69
+ case body
70
+ in nil
71
+ nil
72
+ in String
73
+ req["content-length"] ||= body.bytesize.to_s unless req["transfer-encoding"]
74
+ req.body_stream = FinchAPI::Internal::Util::ReadIOAdapter.new(body, &blk)
75
+ in StringIO
76
+ req["content-length"] ||= body.size.to_s unless req["transfer-encoding"]
77
+ req.body_stream = FinchAPI::Internal::Util::ReadIOAdapter.new(body, &blk)
78
+ in Pathname | IO | Enumerator
79
+ req["transfer-encoding"] ||= "chunked" unless req["content-length"]
80
+ req.body_stream = FinchAPI::Internal::Util::ReadIOAdapter.new(body, &blk)
81
+ end
82
+
83
+ [req, req.body_stream&.method(:close)]
84
+ end
85
+ end
86
+
87
+ # @api private
88
+ #
89
+ # @param url [URI::Generic]
90
+ # @param deadline [Float]
91
+ # @param blk [Proc]
92
+ #
93
+ # @raise [Timeout::Error]
94
+ # @yieldparam [Net::HTTP]
95
+ private def with_pool(url, deadline:, &blk)
96
+ origin = FinchAPI::Internal::Util.uri_origin(url)
97
+ timeout = deadline - FinchAPI::Internal::Util.monotonic_secs
98
+ pool =
99
+ @mutex.synchronize do
100
+ @pools[origin] ||= ConnectionPool.new(size: @size) do
101
+ self.class.connect(url)
102
+ end
103
+ end
104
+
105
+ pool.with(timeout: timeout, &blk)
106
+ end
107
+
108
+ # @api private
109
+ #
110
+ # @param request [Hash{Symbol=>Object}] .
111
+ #
112
+ # @option request [Symbol] :method
113
+ #
114
+ # @option request [URI::Generic] :url
115
+ #
116
+ # @option request [Hash{String=>String}] :headers
117
+ #
118
+ # @option request [Object] :body
119
+ #
120
+ # @option request [Float] :deadline
121
+ #
122
+ # @return [Array(Integer, Net::HTTPResponse, Enumerable<String>)]
123
+ def execute(request)
124
+ url, deadline = request.fetch_values(:url, :deadline)
125
+
126
+ req = nil
127
+ eof = false
128
+ finished = false
129
+ closing = nil
130
+
131
+ # rubocop:disable Metrics/BlockLength
132
+ enum = Enumerator.new do |y|
133
+ with_pool(url, deadline: deadline) do |conn|
134
+ next if finished
135
+
136
+ req, closing = self.class.build_request(request) do
137
+ self.class.calibrate_socket_timeout(conn, deadline)
138
+ end
139
+
140
+ self.class.calibrate_socket_timeout(conn, deadline)
141
+ unless conn.started?
142
+ conn.keep_alive_timeout = self.class::KEEP_ALIVE_TIMEOUT
143
+ conn.start
144
+ end
145
+
146
+ self.class.calibrate_socket_timeout(conn, deadline)
147
+ conn.request(req) do |rsp|
148
+ y << [conn, req, rsp]
149
+ break if finished
150
+
151
+ rsp.read_body do |bytes|
152
+ y << bytes.force_encoding(Encoding::BINARY)
153
+ break if finished
154
+
155
+ self.class.calibrate_socket_timeout(conn, deadline)
156
+ end
157
+ eof = true
158
+ end
159
+ end
160
+ rescue Timeout::Error
161
+ raise FinchAPI::Errors::APITimeoutError.new(url: url, request: req)
162
+ rescue StandardError
163
+ raise FinchAPI::Errors::APIConnectionError.new(url: url, request: req)
164
+ end
165
+ # rubocop:enable Metrics/BlockLength
166
+
167
+ conn, _, response = enum.next
168
+ body = FinchAPI::Internal::Util.fused_enum(enum, external: true) do
169
+ finished = true
170
+ tap do
171
+ enum.next
172
+ rescue StopIteration
173
+ nil
174
+ end
175
+ ensure
176
+ conn.finish if !eof && conn&.started?
177
+ closing&.call
178
+ end
179
+ [Integer(response.code), response, body]
180
+ end
181
+
182
+ # @api private
183
+ #
184
+ # @param size [Integer]
185
+ def initialize(size: Etc.nprocessors)
186
+ @mutex = Mutex.new
187
+ @size = size
188
+ @pools = {}
189
+ end
190
+ end
191
+ end
192
+ end
193
+ end
@@ -0,0 +1,154 @@
1
+ # frozen_string_literal: true
2
+
3
+ module FinchAPI
4
+ module Internal
5
+ module Type
6
+ # @api private
7
+ #
8
+ # @abstract
9
+ #
10
+ # @generic Elem
11
+ #
12
+ # Array of items of a given type.
13
+ class ArrayOf
14
+ include FinchAPI::Internal::Type::Converter
15
+
16
+ private_class_method :new
17
+
18
+ # @overload [](type_info, spec = {})
19
+ #
20
+ # @param type_info [Hash{Symbol=>Object}, Proc, FinchAPI::Internal::Type::Converter, Class]
21
+ #
22
+ # @param spec [Hash{Symbol=>Object}] .
23
+ #
24
+ # @option spec [NilClass, TrueClass, FalseClass, Integer, Float, Symbol] :const
25
+ #
26
+ # @option spec [Proc] :enum
27
+ #
28
+ # @option spec [Proc] :union
29
+ #
30
+ # @option spec [Boolean] :"nil?"
31
+ #
32
+ # @return [FinchAPI::Internal::Type::ArrayOf]
33
+ def self.[](...) = new(...)
34
+
35
+ # @api public
36
+ #
37
+ # @param other [Object]
38
+ #
39
+ # @return [Boolean]
40
+ def ===(other) = other.is_a?(Array) && other.all?(item_type)
41
+
42
+ # @api public
43
+ #
44
+ # @param other [Object]
45
+ #
46
+ # @return [Boolean]
47
+ def ==(other)
48
+ # rubocop:disable Layout/LineLength
49
+ other.is_a?(FinchAPI::Internal::Type::ArrayOf) && other.nilable? == nilable? && other.item_type == item_type
50
+ # rubocop:enable Layout/LineLength
51
+ end
52
+
53
+ # @api public
54
+ #
55
+ # @return [Integer]
56
+ def hash = [self.class, item_type].hash
57
+
58
+ # @api private
59
+ #
60
+ # @param value [Array<Object>, Object]
61
+ #
62
+ # @param state [Hash{Symbol=>Object}] .
63
+ #
64
+ # @option state [Boolean, :strong] :strictness
65
+ #
66
+ # @option state [Hash{Symbol=>Object}] :exactness
67
+ #
68
+ # @option state [Integer] :branched
69
+ #
70
+ # @return [Array<Object>, Object]
71
+ def coerce(value, state:)
72
+ exactness = state.fetch(:exactness)
73
+
74
+ unless value.is_a?(Array)
75
+ exactness[:no] += 1
76
+ return value
77
+ end
78
+
79
+ target = item_type
80
+ exactness[:yes] += 1
81
+ value
82
+ .map do |item|
83
+ case [nilable?, item]
84
+ in [true, nil]
85
+ exactness[:yes] += 1
86
+ nil
87
+ else
88
+ FinchAPI::Internal::Type::Converter.coerce(target, item, state: state)
89
+ end
90
+ end
91
+ end
92
+
93
+ # @api private
94
+ #
95
+ # @param value [Array<Object>, Object]
96
+ #
97
+ # @param state [Hash{Symbol=>Object}] .
98
+ #
99
+ # @option state [Boolean] :can_retry
100
+ #
101
+ # @return [Array<Object>, Object]
102
+ def dump(value, state:)
103
+ target = item_type
104
+ if value.is_a?(Array)
105
+ value.map do
106
+ FinchAPI::Internal::Type::Converter.dump(target, _1, state: state)
107
+ end
108
+ else
109
+ super
110
+ end
111
+ end
112
+
113
+ # @api private
114
+ #
115
+ # @return [generic<Elem>]
116
+ protected def item_type = @item_type_fn.call
117
+
118
+ # @api private
119
+ #
120
+ # @return [Boolean]
121
+ protected def nilable? = @nilable
122
+
123
+ # @api private
124
+ #
125
+ # @param type_info [Hash{Symbol=>Object}, Proc, FinchAPI::Internal::Type::Converter, Class]
126
+ #
127
+ # @param spec [Hash{Symbol=>Object}] .
128
+ #
129
+ # @option spec [NilClass, TrueClass, FalseClass, Integer, Float, Symbol] :const
130
+ #
131
+ # @option spec [Proc] :enum
132
+ #
133
+ # @option spec [Proc] :union
134
+ #
135
+ # @option spec [Boolean] :"nil?"
136
+ def initialize(type_info, spec = {})
137
+ @item_type_fn = FinchAPI::Internal::Type::Converter.type_info(type_info || spec)
138
+ @nilable = spec.fetch(:nil?, false)
139
+ end
140
+
141
+ # @api private
142
+ #
143
+ # @param depth [Integer]
144
+ #
145
+ # @return [String]
146
+ def inspect(depth: 0)
147
+ items = FinchAPI::Internal::Type::Converter.inspect(item_type, depth: depth.succ)
148
+
149
+ "#{self.class}[#{[items, nilable? ? 'nil' : nil].compact.join(' | ')}]"
150
+ end
151
+ end
152
+ end
153
+ end
154
+ end