finch-api 0.1.0.pre.alpha.1 → 0.1.0.pre.alpha.2

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 (417) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +63 -20
  3. data/lib/finch-api/base_client.rb +52 -59
  4. data/lib/finch-api/base_model.rb +453 -415
  5. data/lib/finch-api/base_page.rb +34 -15
  6. data/lib/finch-api/client.rb +3 -7
  7. data/lib/finch-api/errors.rb +12 -17
  8. data/lib/finch-api/extern.rb +1 -4
  9. data/lib/finch-api/individuals_page.rb +28 -34
  10. data/lib/finch-api/models/account_update_event.rb +6 -31
  11. data/lib/finch-api/models/company_event.rb +3 -11
  12. data/lib/finch-api/models/connect/session_new_params.rb +9 -52
  13. data/lib/finch-api/models/connect/session_reauthenticate_params.rb +3 -22
  14. data/lib/finch-api/models/connection_status_type.rb +3 -21
  15. data/lib/finch-api/models/create_access_token_response.rb +6 -30
  16. data/lib/finch-api/models/directory_event.rb +3 -15
  17. data/lib/finch-api/models/employment_event.rb +3 -15
  18. data/lib/finch-api/models/hris/benefit_contribution.rb +3 -14
  19. data/lib/finch-api/models/hris/benefit_features_and_operations.rb +9 -39
  20. data/lib/finch-api/models/hris/benefit_frequency.rb +3 -15
  21. data/lib/finch-api/models/hris/benefit_type.rb +3 -22
  22. data/lib/finch-api/models/hris/benefits/enrolled_individual.rb +3 -18
  23. data/lib/finch-api/models/hris/benefits/individual_benefit.rb +3 -14
  24. data/lib/finch-api/models/hris/benefits/individual_enroll_many_params.rb +9 -40
  25. data/lib/finch-api/models/hris/company.rb +9 -52
  26. data/lib/finch-api/models/hris/document_list_params.rb +3 -13
  27. data/lib/finch-api/models/hris/document_response.rb +3 -14
  28. data/lib/finch-api/models/hris/document_retreive_response.rb +7 -23
  29. data/lib/finch-api/models/hris/employment_data.rb +9 -58
  30. data/lib/finch-api/models/hris/individual.rb +12 -66
  31. data/lib/finch-api/models/hris/pay_statement.rb +12 -70
  32. data/lib/finch-api/models/hris/payment.rb +3 -21
  33. data/lib/finch-api/models/hris/supported_benefit.rb +9 -39
  34. data/lib/finch-api/models/hris/w42005.rb +12 -49
  35. data/lib/finch-api/models/hris/w42020.rb +8 -29
  36. data/lib/finch-api/models/income.rb +3 -22
  37. data/lib/finch-api/models/individual_event.rb +3 -15
  38. data/lib/finch-api/models/introspection.rb +9 -50
  39. data/lib/finch-api/models/job_completion_event.rb +3 -21
  40. data/lib/finch-api/models/jobs/automated_async_job.rb +6 -35
  41. data/lib/finch-api/models/jobs/automated_create_params.rb +3 -12
  42. data/lib/finch-api/models/jobs/automated_list_response.rb +100 -0
  43. data/lib/finch-api/models/jobs/manual_async_job.rb +3 -17
  44. data/lib/finch-api/models/operation_support.rb +3 -18
  45. data/lib/finch-api/models/pay_statement_event.rb +3 -15
  46. data/lib/finch-api/models/payment_event.rb +3 -15
  47. data/lib/finch-api/models/payroll/pay_group_list_response.rb +3 -21
  48. data/lib/finch-api/models/payroll/pay_group_retrieve_response.rb +3 -21
  49. data/lib/finch-api/models/provider.rb +3 -20
  50. data/lib/finch-api/models/sandbox/company_update_params.rb +9 -52
  51. data/lib/finch-api/models/sandbox/company_update_response.rb +9 -52
  52. data/lib/finch-api/models/sandbox/connection_create_params.rb +3 -17
  53. data/lib/finch-api/models/sandbox/connection_create_response.rb +3 -17
  54. data/lib/finch-api/models/sandbox/connections/account_create_params.rb +3 -17
  55. data/lib/finch-api/models/sandbox/connections/account_create_response.rb +3 -17
  56. data/lib/finch-api/models/sandbox/connections/account_update_response.rb +3 -17
  57. data/lib/finch-api/models/sandbox/directory_create_params.rb +21 -124
  58. data/lib/finch-api/models/sandbox/employment_update_params.rb +9 -58
  59. data/lib/finch-api/models/sandbox/employment_update_response.rb +9 -58
  60. data/lib/finch-api/models/sandbox/individual_update_params.rb +12 -66
  61. data/lib/finch-api/models/sandbox/individual_update_response.rb +12 -66
  62. data/lib/finch-api/models/sandbox/job_create_params.rb +3 -12
  63. data/lib/finch-api/models/sandbox/jobs/configuration_retrieve_response.rb +2 -1
  64. data/lib/finch-api/models/sandbox/jobs/sandbox_job_configuration.rb +6 -28
  65. data/lib/finch-api/models/sandbox/payment_create_params.rb +12 -70
  66. data/lib/finch-api/models/webhook_event.rb +10 -27
  67. data/lib/finch-api/page.rb +28 -34
  68. data/lib/finch-api/pooled_net_requester.rb +51 -46
  69. data/lib/finch-api/request_options.rb +5 -12
  70. data/lib/finch-api/resources/access_tokens.rb +0 -2
  71. data/lib/finch-api/resources/account.rb +0 -3
  72. data/lib/finch-api/resources/connect/sessions.rb +0 -3
  73. data/lib/finch-api/resources/connect.rb +0 -1
  74. data/lib/finch-api/resources/hris/benefits/individuals.rb +2 -6
  75. data/lib/finch-api/resources/hris/benefits.rb +0 -6
  76. data/lib/finch-api/resources/hris/company.rb +0 -2
  77. data/lib/finch-api/resources/hris/directory.rb +1 -24
  78. data/lib/finch-api/resources/hris/documents.rb +4 -7
  79. data/lib/finch-api/resources/hris/employments.rb +0 -2
  80. data/lib/finch-api/resources/hris/individuals.rb +0 -2
  81. data/lib/finch-api/resources/hris/pay_statements.rb +0 -2
  82. data/lib/finch-api/resources/hris/payments.rb +0 -2
  83. data/lib/finch-api/resources/hris.rb +0 -1
  84. data/lib/finch-api/resources/jobs/automated.rb +2 -7
  85. data/lib/finch-api/resources/jobs/manual.rb +0 -2
  86. data/lib/finch-api/resources/jobs.rb +0 -1
  87. data/lib/finch-api/resources/payroll/pay_groups.rb +0 -3
  88. data/lib/finch-api/resources/payroll.rb +0 -1
  89. data/lib/finch-api/resources/providers.rb +0 -2
  90. data/lib/finch-api/resources/request_forwarding.rb +0 -2
  91. data/lib/finch-api/resources/sandbox/company.rb +0 -2
  92. data/lib/finch-api/resources/sandbox/connections/accounts.rb +0 -3
  93. data/lib/finch-api/resources/sandbox/connections.rb +0 -2
  94. data/lib/finch-api/resources/sandbox/directory.rb +0 -2
  95. data/lib/finch-api/resources/sandbox/employment.rb +0 -2
  96. data/lib/finch-api/resources/sandbox/individual.rb +0 -2
  97. data/lib/finch-api/resources/sandbox/jobs/configuration.rb +0 -3
  98. data/lib/finch-api/resources/sandbox/jobs.rb +0 -2
  99. data/lib/finch-api/resources/sandbox/payment.rb +0 -2
  100. data/lib/finch-api/resources/sandbox.rb +0 -1
  101. data/lib/finch-api/resources/webhooks.rb +0 -1
  102. data/lib/finch-api/responses_page.rb +24 -31
  103. data/lib/finch-api/single_page.rb +23 -31
  104. data/lib/finch-api/util.rb +216 -124
  105. data/lib/finch-api/version.rb +1 -1
  106. data/lib/finch-api.rb +17 -0
  107. data/manifest.yaml +1 -0
  108. data/rbi/lib/finch-api/base_client.rbi +89 -66
  109. data/rbi/lib/finch-api/base_model.rbi +403 -236
  110. data/rbi/lib/finch-api/base_page.rbi +3 -6
  111. data/rbi/lib/finch-api/client.rbi +23 -28
  112. data/rbi/lib/finch-api/errors.rbi +20 -22
  113. data/rbi/lib/finch-api/extern.rbi +1 -1
  114. data/rbi/lib/finch-api/individuals_page.rbi +5 -23
  115. data/rbi/lib/finch-api/models/access_token_create_params.rbi +13 -24
  116. data/rbi/lib/finch-api/models/account_disconnect_params.rbi +9 -2
  117. data/rbi/lib/finch-api/models/account_introspect_params.rbi +9 -2
  118. data/rbi/lib/finch-api/models/account_update_event.rbi +871 -983
  119. data/rbi/lib/finch-api/models/base_webhook_event.rbi +13 -19
  120. data/rbi/lib/finch-api/models/company_event.rbi +28 -20
  121. data/rbi/lib/finch-api/models/connect/session_new_params.rbi +90 -104
  122. data/rbi/lib/finch-api/models/connect/session_new_response.rbi +6 -14
  123. data/rbi/lib/finch-api/models/connect/session_reauthenticate_params.rbi +37 -47
  124. data/rbi/lib/finch-api/models/connect/session_reauthenticate_response.rbi +6 -14
  125. data/rbi/lib/finch-api/models/connection_status_type.rbi +13 -9
  126. data/rbi/lib/finch-api/models/create_access_token_response.rbi +61 -78
  127. data/rbi/lib/finch-api/models/directory_event.rbi +42 -27
  128. data/rbi/lib/finch-api/models/disconnect_response.rbi +4 -8
  129. data/rbi/lib/finch-api/models/employment_event.rbi +42 -27
  130. data/rbi/lib/finch-api/models/hris/benefit_contribution.rbi +29 -21
  131. data/rbi/lib/finch-api/models/hris/benefit_create_params.rbi +18 -26
  132. data/rbi/lib/finch-api/models/hris/benefit_features_and_operations.rbi +199 -86
  133. data/rbi/lib/finch-api/models/hris/benefit_frequency.rbi +9 -6
  134. data/rbi/lib/finch-api/models/hris/benefit_list_params.rbi +9 -2
  135. data/rbi/lib/finch-api/models/hris/benefit_list_supported_benefits_params.rbi +9 -2
  136. data/rbi/lib/finch-api/models/hris/benefit_retrieve_params.rbi +9 -2
  137. data/rbi/lib/finch-api/models/hris/benefit_type.rbi +26 -22
  138. data/rbi/lib/finch-api/models/hris/benefit_update_params.rbi +7 -11
  139. data/rbi/lib/finch-api/models/hris/benefits/enrolled_individual.rbi +43 -49
  140. data/rbi/lib/finch-api/models/hris/benefits/individual_benefit.rbi +74 -63
  141. data/rbi/lib/finch-api/models/hris/benefits/individual_enroll_many_params.rbi +249 -104
  142. data/rbi/lib/finch-api/models/hris/benefits/individual_enrolled_ids_params.rbi +9 -2
  143. data/rbi/lib/finch-api/models/hris/benefits/individual_enrolled_ids_response.rbi +4 -14
  144. data/rbi/lib/finch-api/models/hris/benefits/individual_retrieve_many_benefits_params.rbi +11 -8
  145. data/rbi/lib/finch-api/models/hris/benefits/individual_unenroll_many_params.rbi +7 -8
  146. data/rbi/lib/finch-api/models/hris/benefits/unenrolled_individual.rbi +23 -39
  147. data/rbi/lib/finch-api/models/hris/benefits_support.rbi +88 -86
  148. data/rbi/lib/finch-api/models/hris/benfit_contribution.rbi +1 -1
  149. data/rbi/lib/finch-api/models/hris/company.rbi +119 -171
  150. data/rbi/lib/finch-api/models/hris/company_benefit.rbi +13 -32
  151. data/rbi/lib/finch-api/models/hris/company_retrieve_params.rbi +9 -2
  152. data/rbi/lib/finch-api/models/hris/create_company_benefits_response.rbi +3 -8
  153. data/rbi/lib/finch-api/models/hris/directory_list_individuals_params.rbi +11 -13
  154. data/rbi/lib/finch-api/models/hris/directory_list_params.rbi +11 -13
  155. data/rbi/lib/finch-api/models/hris/document_list_params.rbi +32 -31
  156. data/rbi/lib/finch-api/models/hris/document_list_response.rbi +10 -17
  157. data/rbi/lib/finch-api/models/hris/document_response.rbi +40 -43
  158. data/rbi/lib/finch-api/models/hris/document_retreive_params.rbi +9 -2
  159. data/rbi/lib/finch-api/models/hris/document_retreive_response.rbi +6 -4
  160. data/rbi/lib/finch-api/models/hris/employment_data.rbi +163 -205
  161. data/rbi/lib/finch-api/models/hris/employment_data_response.rbi +18 -17
  162. data/rbi/lib/finch-api/models/hris/employment_retrieve_many_params.rbi +12 -21
  163. data/rbi/lib/finch-api/models/hris/individual.rbi +126 -151
  164. data/rbi/lib/finch-api/models/hris/individual_in_directory.rbi +42 -68
  165. data/rbi/lib/finch-api/models/hris/individual_response.rbi +18 -17
  166. data/rbi/lib/finch-api/models/hris/individual_retrieve_many_params.rbi +27 -31
  167. data/rbi/lib/finch-api/models/hris/pay_statement.rbi +290 -341
  168. data/rbi/lib/finch-api/models/hris/pay_statement_response.rbi +18 -20
  169. data/rbi/lib/finch-api/models/hris/pay_statement_response_body.rbi +13 -16
  170. data/rbi/lib/finch-api/models/hris/pay_statement_retrieve_many_params.rbi +18 -31
  171. data/rbi/lib/finch-api/models/hris/payment.rbi +63 -103
  172. data/rbi/lib/finch-api/models/hris/payment_list_params.rbi +9 -15
  173. data/rbi/lib/finch-api/models/hris/support_per_benefit_type.rbi +10 -14
  174. data/rbi/lib/finch-api/models/hris/supported_benefit.rbi +83 -79
  175. data/rbi/lib/finch-api/models/hris/update_company_benefit_response.rbi +3 -8
  176. data/rbi/lib/finch-api/models/hris/w42005.rbi +86 -70
  177. data/rbi/lib/finch-api/models/hris/w42020.rbi +84 -86
  178. data/rbi/lib/finch-api/models/income.rbi +34 -41
  179. data/rbi/lib/finch-api/models/individual_event.rbi +42 -27
  180. data/rbi/lib/finch-api/models/introspection.rbi +138 -178
  181. data/rbi/lib/finch-api/models/job_completion_event.rbi +48 -37
  182. data/rbi/lib/finch-api/models/jobs/automated_async_job.rbi +66 -94
  183. data/rbi/lib/finch-api/models/jobs/automated_create_params.rbi +26 -33
  184. data/rbi/lib/finch-api/models/jobs/automated_create_response.rbi +11 -31
  185. data/rbi/lib/finch-api/models/jobs/automated_list_params.rbi +11 -13
  186. data/rbi/lib/finch-api/models/jobs/automated_list_response.rbi +126 -0
  187. data/rbi/lib/finch-api/models/jobs/automated_retrieve_params.rbi +9 -2
  188. data/rbi/lib/finch-api/models/jobs/manual_async_job.rbi +32 -27
  189. data/rbi/lib/finch-api/models/jobs/manual_retrieve_params.rbi +9 -2
  190. data/rbi/lib/finch-api/models/location.rbi +16 -59
  191. data/rbi/lib/finch-api/models/money.rbi +7 -13
  192. data/rbi/lib/finch-api/models/operation_support.rbi +18 -7
  193. data/rbi/lib/finch-api/models/operation_support_matrix.rbi +65 -27
  194. data/rbi/lib/finch-api/models/paging.rbi +10 -12
  195. data/rbi/lib/finch-api/models/pay_statement_event.rbi +46 -32
  196. data/rbi/lib/finch-api/models/payment_event.rbi +39 -34
  197. data/rbi/lib/finch-api/models/payroll/pay_group_list_params.rbi +9 -13
  198. data/rbi/lib/finch-api/models/payroll/pay_group_list_response.rbi +55 -30
  199. data/rbi/lib/finch-api/models/payroll/pay_group_retrieve_params.rbi +9 -2
  200. data/rbi/lib/finch-api/models/payroll/pay_group_retrieve_response.rbi +45 -46
  201. data/rbi/lib/finch-api/models/provider.rbi +873 -964
  202. data/rbi/lib/finch-api/models/provider_list_params.rbi +9 -2
  203. data/rbi/lib/finch-api/models/request_forwarding_forward_params.rbi +20 -33
  204. data/rbi/lib/finch-api/models/request_forwarding_forward_response.rbi +40 -59
  205. data/rbi/lib/finch-api/models/sandbox/company_update_params.rbi +144 -166
  206. data/rbi/lib/finch-api/models/sandbox/company_update_response.rbi +145 -174
  207. data/rbi/lib/finch-api/models/sandbox/connection_create_params.rbi +43 -39
  208. data/rbi/lib/finch-api/models/sandbox/connection_create_response.rbi +38 -59
  209. data/rbi/lib/finch-api/models/sandbox/connections/account_create_params.rbi +62 -39
  210. data/rbi/lib/finch-api/models/sandbox/connections/account_create_response.rbi +54 -62
  211. data/rbi/lib/finch-api/models/sandbox/connections/account_update_params.rbi +17 -11
  212. data/rbi/lib/finch-api/models/sandbox/connections/account_update_response.rbi +55 -54
  213. data/rbi/lib/finch-api/models/sandbox/directory_create_params.rbi +380 -332
  214. data/rbi/lib/finch-api/models/sandbox/directory_create_response.rbi +1 -1
  215. data/rbi/lib/finch-api/models/sandbox/employment_update_params.rbi +190 -194
  216. data/rbi/lib/finch-api/models/sandbox/employment_update_response.rbi +195 -198
  217. data/rbi/lib/finch-api/models/sandbox/individual_update_params.rbi +151 -145
  218. data/rbi/lib/finch-api/models/sandbox/individual_update_response.rbi +163 -151
  219. data/rbi/lib/finch-api/models/sandbox/job_create_params.rbi +22 -19
  220. data/rbi/lib/finch-api/models/sandbox/job_create_response.rbi +11 -31
  221. data/rbi/lib/finch-api/models/sandbox/jobs/configuration_retrieve_params.rbi +9 -2
  222. data/rbi/lib/finch-api/models/sandbox/jobs/configuration_retrieve_response.rbi +2 -1
  223. data/rbi/lib/finch-api/models/sandbox/jobs/configuration_update_params.rbi +9 -2
  224. data/rbi/lib/finch-api/models/sandbox/jobs/sandbox_job_configuration.rbi +56 -26
  225. data/rbi/lib/finch-api/models/sandbox/payment_create_params.rbi +409 -393
  226. data/rbi/lib/finch-api/models/sandbox/payment_create_response.rbi +6 -14
  227. data/rbi/lib/finch-api/models/webhook_event.rbi +4 -4
  228. data/rbi/lib/finch-api/page.rbi +5 -23
  229. data/rbi/lib/finch-api/pooled_net_requester.rbi +39 -16
  230. data/rbi/lib/finch-api/request_options.rbi +33 -54
  231. data/rbi/lib/finch-api/resources/access_tokens.rbi +4 -3
  232. data/rbi/lib/finch-api/resources/account.rbi +6 -4
  233. data/rbi/lib/finch-api/resources/connect/sessions.rbi +17 -8
  234. data/rbi/lib/finch-api/resources/connect.rbi +3 -4
  235. data/rbi/lib/finch-api/resources/hris/benefits/individuals.rbi +33 -10
  236. data/rbi/lib/finch-api/resources/hris/benefits.rbi +32 -13
  237. data/rbi/lib/finch-api/resources/hris/company.rbi +4 -3
  238. data/rbi/lib/finch-api/resources/hris/directory.rbi +11 -15
  239. data/rbi/lib/finch-api/resources/hris/documents.rbi +27 -7
  240. data/rbi/lib/finch-api/resources/hris/employments.rbi +10 -5
  241. data/rbi/lib/finch-api/resources/hris/individuals.rbi +6 -5
  242. data/rbi/lib/finch-api/resources/hris/pay_statements.rbi +13 -5
  243. data/rbi/lib/finch-api/resources/hris/payments.rbi +13 -4
  244. data/rbi/lib/finch-api/resources/hris.rbi +10 -18
  245. data/rbi/lib/finch-api/resources/jobs/automated.rbi +39 -10
  246. data/rbi/lib/finch-api/resources/jobs/manual.rbi +5 -3
  247. data/rbi/lib/finch-api/resources/jobs.rbi +4 -6
  248. data/rbi/lib/finch-api/resources/payroll/pay_groups.rbi +6 -4
  249. data/rbi/lib/finch-api/resources/payroll.rbi +3 -4
  250. data/rbi/lib/finch-api/resources/providers.rbi +4 -3
  251. data/rbi/lib/finch-api/resources/request_forwarding.rbi +27 -4
  252. data/rbi/lib/finch-api/resources/sandbox/company.rbi +19 -7
  253. data/rbi/lib/finch-api/resources/sandbox/connections/accounts.rbi +19 -7
  254. data/rbi/lib/finch-api/resources/sandbox/connections.rbi +10 -6
  255. data/rbi/lib/finch-api/resources/sandbox/directory.rbi +12 -6
  256. data/rbi/lib/finch-api/resources/sandbox/employment.rbi +30 -11
  257. data/rbi/lib/finch-api/resources/sandbox/individual.rbi +26 -8
  258. data/rbi/lib/finch-api/resources/sandbox/jobs/configuration.rbi +9 -7
  259. data/rbi/lib/finch-api/resources/sandbox/jobs.rbi +11 -7
  260. data/rbi/lib/finch-api/resources/sandbox/payment.rbi +5 -4
  261. data/rbi/lib/finch-api/resources/sandbox.rbi +9 -16
  262. data/rbi/lib/finch-api/resources/webhooks.rbi +2 -2
  263. data/rbi/lib/finch-api/responses_page.rbi +4 -17
  264. data/rbi/lib/finch-api/single_page.rbi +4 -12
  265. data/rbi/lib/finch-api/util.rbi +228 -115
  266. data/rbi/lib/finch-api/version.rbi +1 -1
  267. data/sig/finch-api/base_client.rbs +20 -15
  268. data/sig/finch-api/base_model.rbs +36 -18
  269. data/sig/finch-api/base_page.rbs +1 -1
  270. data/sig/finch-api/client.rbs +8 -8
  271. data/sig/finch-api/errors.rbs +21 -21
  272. data/sig/finch-api/individuals_page.rbs +2 -7
  273. data/sig/finch-api/models/access_token_create_params.rbs +7 -12
  274. data/sig/finch-api/models/account_disconnect_params.rbs +1 -6
  275. data/sig/finch-api/models/account_introspect_params.rbs +1 -6
  276. data/sig/finch-api/models/account_update_event.rbs +204 -361
  277. data/sig/finch-api/models/base_webhook_event.rbs +5 -5
  278. data/sig/finch-api/models/company_event.rbs +13 -11
  279. data/sig/finch-api/models/connect/session_new_params.rbs +28 -32
  280. data/sig/finch-api/models/connect/session_new_response.rbs +1 -6
  281. data/sig/finch-api/models/connect/session_reauthenticate_params.rbs +11 -14
  282. data/sig/finch-api/models/connect/session_reauthenticate_response.rbs +1 -6
  283. data/sig/finch-api/models/connection_status_type.rbs +4 -2
  284. data/sig/finch-api/models/create_access_token_response.rbs +20 -21
  285. data/sig/finch-api/models/directory_event.rbs +13 -19
  286. data/sig/finch-api/models/disconnect_response.rbs +1 -5
  287. data/sig/finch-api/models/employment_event.rbs +13 -19
  288. data/sig/finch-api/models/hris/benefit_contribution.rbs +8 -11
  289. data/sig/finch-api/models/hris/benefit_create_params.rbs +6 -11
  290. data/sig/finch-api/models/hris/benefit_features_and_operations.rbs +25 -29
  291. data/sig/finch-api/models/hris/benefit_frequency.rbs +4 -2
  292. data/sig/finch-api/models/hris/benefit_list_params.rbs +1 -6
  293. data/sig/finch-api/models/hris/benefit_list_supported_benefits_params.rbs +1 -6
  294. data/sig/finch-api/models/hris/benefit_retrieve_params.rbs +1 -6
  295. data/sig/finch-api/models/hris/benefit_type.rbs +4 -2
  296. data/sig/finch-api/models/hris/benefit_update_params.rbs +4 -6
  297. data/sig/finch-api/models/hris/benefits/enrolled_individual.rbs +14 -18
  298. data/sig/finch-api/models/hris/benefits/individual_benefit.rbs +16 -25
  299. data/sig/finch-api/models/hris/benefits/individual_enroll_many_params.rbs +35 -54
  300. data/sig/finch-api/models/hris/benefits/individual_enrolled_ids_params.rbs +1 -6
  301. data/sig/finch-api/models/hris/benefits/individual_enrolled_ids_response.rbs +4 -6
  302. data/sig/finch-api/models/hris/benefits/individual_retrieve_many_benefits_params.rbs +4 -9
  303. data/sig/finch-api/models/hris/benefits/individual_unenroll_many_params.rbs +4 -9
  304. data/sig/finch-api/models/hris/benefits/unenrolled_individual.rbs +10 -16
  305. data/sig/finch-api/models/hris/benefits_support.rbs +14 -18
  306. data/sig/finch-api/models/hris/benfit_contribution.rbs +0 -1
  307. data/sig/finch-api/models/hris/company.rbs +39 -57
  308. data/sig/finch-api/models/hris/company_benefit.rbs +6 -10
  309. data/sig/finch-api/models/hris/company_retrieve_params.rbs +1 -6
  310. data/sig/finch-api/models/hris/create_company_benefits_response.rbs +1 -6
  311. data/sig/finch-api/models/hris/directory_list_individuals_params.rbs +5 -10
  312. data/sig/finch-api/models/hris/directory_list_params.rbs +5 -10
  313. data/sig/finch-api/models/hris/document_list_params.rbs +11 -14
  314. data/sig/finch-api/models/hris/document_list_response.rbs +4 -9
  315. data/sig/finch-api/models/hris/document_response.rbs +11 -14
  316. data/sig/finch-api/models/hris/document_retreive_params.rbs +1 -6
  317. data/sig/finch-api/models/hris/document_retreive_response.rbs +4 -2
  318. data/sig/finch-api/models/hris/employment_data.rbs +41 -59
  319. data/sig/finch-api/models/hris/employment_data_response.rbs +5 -10
  320. data/sig/finch-api/models/hris/employment_retrieve_many_params.rbs +5 -15
  321. data/sig/finch-api/models/hris/individual.rbs +39 -45
  322. data/sig/finch-api/models/hris/individual_in_directory.rbs +11 -26
  323. data/sig/finch-api/models/hris/individual_response.rbs +5 -10
  324. data/sig/finch-api/models/hris/individual_retrieve_many_params.rbs +7 -22
  325. data/sig/finch-api/models/hris/pay_statement.rbs +75 -131
  326. data/sig/finch-api/models/hris/pay_statement_response.rbs +5 -10
  327. data/sig/finch-api/models/hris/pay_statement_response_body.rbs +4 -9
  328. data/sig/finch-api/models/hris/pay_statement_retrieve_many_params.rbs +9 -15
  329. data/sig/finch-api/models/hris/payment.rbs +19 -26
  330. data/sig/finch-api/models/hris/payment_list_params.rbs +5 -10
  331. data/sig/finch-api/models/hris/support_per_benefit_type.rbs +4 -9
  332. data/sig/finch-api/models/hris/supported_benefit.rbs +22 -21
  333. data/sig/finch-api/models/hris/update_company_benefit_response.rbs +1 -6
  334. data/sig/finch-api/models/hris/w42005.rbs +26 -30
  335. data/sig/finch-api/models/hris/w42020.rbs +23 -25
  336. data/sig/finch-api/models/income.rbs +10 -10
  337. data/sig/finch-api/models/individual_event.rbs +13 -19
  338. data/sig/finch-api/models/introspection.rbs +43 -54
  339. data/sig/finch-api/models/job_completion_event.rbs +13 -20
  340. data/sig/finch-api/models/jobs/automated_async_job.rbs +20 -26
  341. data/sig/finch-api/models/jobs/automated_create_params.rbs +10 -18
  342. data/sig/finch-api/models/jobs/automated_create_response.rbs +6 -11
  343. data/sig/finch-api/models/jobs/automated_list_params.rbs +5 -10
  344. data/sig/finch-api/models/jobs/automated_list_response.rbs +82 -0
  345. data/sig/finch-api/models/jobs/automated_retrieve_params.rbs +1 -6
  346. data/sig/finch-api/models/jobs/manual_async_job.rbs +9 -11
  347. data/sig/finch-api/models/jobs/manual_retrieve_params.rbs +1 -6
  348. data/sig/finch-api/models/location.rbs +10 -12
  349. data/sig/finch-api/models/money.rbs +1 -3
  350. data/sig/finch-api/models/operation_support.rbs +4 -2
  351. data/sig/finch-api/models/operation_support_matrix.rbs +6 -10
  352. data/sig/finch-api/models/paging.rbs +1 -3
  353. data/sig/finch-api/models/pay_statement_event.rbs +13 -20
  354. data/sig/finch-api/models/payment_event.rbs +13 -17
  355. data/sig/finch-api/models/payroll/pay_group_list_params.rbs +5 -10
  356. data/sig/finch-api/models/payroll/pay_group_list_response.rbs +9 -12
  357. data/sig/finch-api/models/payroll/pay_group_retrieve_params.rbs +1 -6
  358. data/sig/finch-api/models/payroll/pay_group_retrieve_response.rbs +10 -13
  359. data/sig/finch-api/models/provider.rbs +200 -347
  360. data/sig/finch-api/models/provider_list_params.rbs +1 -5
  361. data/sig/finch-api/models/request_forwarding_forward_params.rbs +8 -13
  362. data/sig/finch-api/models/request_forwarding_forward_response.rbs +13 -23
  363. data/sig/finch-api/models/sandbox/company_update_params.rbs +39 -58
  364. data/sig/finch-api/models/sandbox/company_update_response.rbs +38 -57
  365. data/sig/finch-api/models/sandbox/connection_create_params.rbs +11 -14
  366. data/sig/finch-api/models/sandbox/connection_create_response.rbs +14 -17
  367. data/sig/finch-api/models/sandbox/connections/account_create_params.rbs +11 -14
  368. data/sig/finch-api/models/sandbox/connections/account_create_response.rbs +13 -16
  369. data/sig/finch-api/models/sandbox/connections/account_update_params.rbs +4 -9
  370. data/sig/finch-api/models/sandbox/connections/account_update_response.rbs +12 -15
  371. data/sig/finch-api/models/sandbox/directory_create_params.rbs +76 -102
  372. data/sig/finch-api/models/sandbox/employment_update_params.rbs +40 -59
  373. data/sig/finch-api/models/sandbox/employment_update_response.rbs +40 -59
  374. data/sig/finch-api/models/sandbox/individual_update_params.rbs +39 -46
  375. data/sig/finch-api/models/sandbox/individual_update_response.rbs +39 -46
  376. data/sig/finch-api/models/sandbox/job_create_params.rbs +8 -11
  377. data/sig/finch-api/models/sandbox/job_create_response.rbs +6 -11
  378. data/sig/finch-api/models/sandbox/jobs/configuration_retrieve_params.rbs +1 -6
  379. data/sig/finch-api/models/sandbox/jobs/configuration_update_params.rbs +1 -6
  380. data/sig/finch-api/models/sandbox/jobs/sandbox_job_configuration.rbs +12 -13
  381. data/sig/finch-api/models/sandbox/payment_create_params.rbs +81 -143
  382. data/sig/finch-api/models/sandbox/payment_create_response.rbs +1 -6
  383. data/sig/finch-api/models/webhook_event.rbs +5 -3
  384. data/sig/finch-api/page.rbs +2 -7
  385. data/sig/finch-api/pooled_net_requester.rbs +13 -4
  386. data/sig/finch-api/request_options.rbs +6 -2
  387. data/sig/finch-api/resources/access_tokens.rbs +7 -11
  388. data/sig/finch-api/resources/account.rbs +6 -16
  389. data/sig/finch-api/resources/connect/sessions.rbs +19 -29
  390. data/sig/finch-api/resources/hris/benefits/individuals.rbs +19 -43
  391. data/sig/finch-api/resources/hris/benefits.rbs +21 -48
  392. data/sig/finch-api/resources/hris/company.rbs +3 -8
  393. data/sig/finch-api/resources/hris/directory.rbs +6 -20
  394. data/sig/finch-api/resources/hris/documents.rbs +11 -22
  395. data/sig/finch-api/resources/hris/employments.rbs +4 -9
  396. data/sig/finch-api/resources/hris/individuals.rbs +5 -10
  397. data/sig/finch-api/resources/hris/pay_statements.rbs +4 -9
  398. data/sig/finch-api/resources/hris/payments.rbs +5 -10
  399. data/sig/finch-api/resources/jobs/automated.rbs +14 -30
  400. data/sig/finch-api/resources/jobs/manual.rbs +4 -10
  401. data/sig/finch-api/resources/payroll/pay_groups.rbs +9 -20
  402. data/sig/finch-api/resources/providers.rbs +3 -7
  403. data/sig/finch-api/resources/request_forwarding.rbs +8 -13
  404. data/sig/finch-api/resources/sandbox/company.rbs +11 -16
  405. data/sig/finch-api/resources/sandbox/connections/accounts.rbs +11 -21
  406. data/sig/finch-api/resources/sandbox/connections.rbs +7 -12
  407. data/sig/finch-api/resources/sandbox/directory.rbs +4 -9
  408. data/sig/finch-api/resources/sandbox/employment.rbs +22 -28
  409. data/sig/finch-api/resources/sandbox/individual.rbs +16 -22
  410. data/sig/finch-api/resources/sandbox/jobs/configuration.rbs +8 -18
  411. data/sig/finch-api/resources/sandbox/jobs.rbs +4 -9
  412. data/sig/finch-api/resources/sandbox/payment.rbs +6 -11
  413. data/sig/finch-api/responses_page.rbs +2 -7
  414. data/sig/finch-api/single_page.rbs +2 -7
  415. data/sig/finch-api/util.rbs +37 -12
  416. data/sig/finch-api/version.rbs +1 -1
  417. metadata +7 -4
@@ -7,26 +7,22 @@ module FinchAPI
7
7
  }
8
8
 
9
9
  class AccountUpdateEvent < FinchAPI::Models::BaseWebhookEvent
10
- attr_reader data: FinchAPI::Models::AccountUpdateEvent::Data?
10
+ def data: -> FinchAPI::Models::AccountUpdateEvent::Data?
11
11
 
12
12
  def data=: (
13
- FinchAPI::Models::AccountUpdateEvent::Data
13
+ FinchAPI::Models::AccountUpdateEvent::Data _
14
14
  ) -> FinchAPI::Models::AccountUpdateEvent::Data
15
15
 
16
- attr_reader event_type: FinchAPI::Models::AccountUpdateEvent::event_type?
16
+ def event_type: -> FinchAPI::Models::AccountUpdateEvent::event_type?
17
17
 
18
18
  def event_type=: (
19
- FinchAPI::Models::AccountUpdateEvent::event_type
19
+ FinchAPI::Models::AccountUpdateEvent::event_type _
20
20
  ) -> FinchAPI::Models::AccountUpdateEvent::event_type
21
21
 
22
- def initialize:
23
- (
24
- data: FinchAPI::Models::AccountUpdateEvent::Data,
25
- event_type: FinchAPI::Models::AccountUpdateEvent::event_type
26
- ) -> void
27
- | (
28
- ?FinchAPI::Models::account_update_event | FinchAPI::BaseModel data
29
- ) -> void
22
+ def initialize: (
23
+ ?data: FinchAPI::Models::AccountUpdateEvent::Data,
24
+ ?event_type: FinchAPI::Models::AccountUpdateEvent::event_type
25
+ ) -> void
30
26
 
31
27
  def to_hash: -> FinchAPI::Models::account_update_event
32
28
 
@@ -41,15 +37,10 @@ module FinchAPI
41
37
 
42
38
  attr_accessor status: FinchAPI::Models::connection_status_type
43
39
 
44
- def initialize:
45
- (
46
- authentication_method: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod,
47
- status: FinchAPI::Models::connection_status_type
48
- ) -> void
49
- | (
50
- ?FinchAPI::Models::AccountUpdateEvent::data
51
- | FinchAPI::BaseModel data
52
- ) -> void
40
+ def initialize: (
41
+ authentication_method: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod,
42
+ status: FinchAPI::Models::connection_status_type
43
+ ) -> void
53
44
 
54
45
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::data
55
46
 
@@ -71,16 +62,11 @@ module FinchAPI
71
62
  FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::type_
72
63
  ) -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::type_
73
64
 
74
- def initialize:
75
- (
76
- benefits_support: FinchAPI::Models::HRIS::BenefitsSupport?,
77
- supported_fields: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields?,
78
- type: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::type_
79
- ) -> void
80
- | (
81
- ?FinchAPI::Models::AccountUpdateEvent::Data::authentication_method
82
- | FinchAPI::BaseModel data
83
- ) -> void
65
+ def initialize: (
66
+ ?benefits_support: FinchAPI::Models::HRIS::BenefitsSupport?,
67
+ ?supported_fields: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields?,
68
+ ?type: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::type_
69
+ ) -> void
84
70
 
85
71
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::authentication_method
86
72
 
@@ -138,20 +124,15 @@ module FinchAPI
138
124
  FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment
139
125
  ) -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment
140
126
 
141
- def initialize:
142
- (
143
- company: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company,
144
- directory: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory,
145
- employment: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment,
146
- individual: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual,
147
- pay_group: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayGroup,
148
- pay_statement: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement,
149
- payment: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment
150
- ) -> void
151
- | (
152
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::supported_fields
153
- | FinchAPI::BaseModel data
154
- ) -> void
127
+ def initialize: (
128
+ ?company: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company,
129
+ ?directory: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory,
130
+ ?employment: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment,
131
+ ?individual: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual,
132
+ ?pay_group: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayGroup,
133
+ ?pay_statement: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement,
134
+ ?payment: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment
135
+ ) -> void
155
136
 
156
137
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::supported_fields
157
138
 
@@ -213,22 +194,17 @@ module FinchAPI
213
194
 
214
195
  def primary_phone_number=: (bool) -> bool
215
196
 
216
- def initialize:
217
- (
218
- id: bool,
219
- accounts: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Accounts,
220
- departments: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Departments,
221
- ein: bool,
222
- entity: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Entity,
223
- legal_name: bool,
224
- locations: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Locations,
225
- primary_email: bool,
226
- primary_phone_number: bool
227
- ) -> void
228
- | (
229
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::company
230
- | FinchAPI::BaseModel data
231
- ) -> void
197
+ def initialize: (
198
+ ?id: bool,
199
+ ?accounts: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Accounts,
200
+ ?departments: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Departments,
201
+ ?ein: bool,
202
+ ?entity: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Entity,
203
+ ?legal_name: bool,
204
+ ?locations: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Locations,
205
+ ?primary_email: bool,
206
+ ?primary_phone_number: bool
207
+ ) -> void
232
208
 
233
209
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::company
234
210
 
@@ -262,18 +238,13 @@ module FinchAPI
262
238
 
263
239
  def routing_number=: (bool) -> bool
264
240
 
265
- def initialize:
266
- (
267
- account_name: bool,
268
- account_number: bool,
269
- account_type: bool,
270
- institution_name: bool,
271
- routing_number: bool
272
- ) -> void
273
- | (
274
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::accounts
275
- | FinchAPI::BaseModel data
276
- ) -> void
241
+ def initialize: (
242
+ ?account_name: bool,
243
+ ?account_number: bool,
244
+ ?account_type: bool,
245
+ ?institution_name: bool,
246
+ ?routing_number: bool
247
+ ) -> void
277
248
 
278
249
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::accounts
279
250
  end
@@ -295,15 +266,10 @@ module FinchAPI
295
266
  FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Departments::Parent
296
267
  ) -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Departments::Parent
297
268
 
298
- def initialize:
299
- (
300
- name: bool,
301
- parent: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Departments::Parent
302
- ) -> void
303
- | (
304
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::departments
305
- | FinchAPI::BaseModel data
306
- ) -> void
269
+ def initialize: (
270
+ ?name: bool,
271
+ ?parent: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Departments::Parent
272
+ ) -> void
307
273
 
308
274
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::departments
309
275
 
@@ -314,12 +280,7 @@ module FinchAPI
314
280
 
315
281
  def name=: (bool) -> bool
316
282
 
317
- def initialize:
318
- (name: bool) -> void
319
- | (
320
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Departments::parent
321
- | FinchAPI::BaseModel data
322
- ) -> void
283
+ def initialize: (?name: bool) -> void
323
284
 
324
285
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::Departments::parent
325
286
  end
@@ -336,12 +297,7 @@ module FinchAPI
336
297
 
337
298
  def type=: (bool) -> bool
338
299
 
339
- def initialize:
340
- (subtype: bool, type: bool) -> void
341
- | (
342
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::entity
343
- | FinchAPI::BaseModel data
344
- ) -> void
300
+ def initialize: (?subtype: bool, ?type: bool) -> void
345
301
 
346
302
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::entity
347
303
  end
@@ -381,19 +337,14 @@ module FinchAPI
381
337
 
382
338
  def state=: (bool) -> bool
383
339
 
384
- def initialize:
385
- (
386
- city: bool,
387
- country: bool,
388
- line1: bool,
389
- line2: bool,
390
- postal_code: bool,
391
- state: bool
392
- ) -> void
393
- | (
394
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::locations
395
- | FinchAPI::BaseModel data
396
- ) -> void
340
+ def initialize: (
341
+ ?city: bool,
342
+ ?country: bool,
343
+ ?line1: bool,
344
+ ?line2: bool,
345
+ ?postal_code: bool,
346
+ ?state: bool
347
+ ) -> void
397
348
 
398
349
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Company::locations
399
350
  end
@@ -418,15 +369,10 @@ module FinchAPI
418
369
  FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Paging
419
370
  ) -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Paging
420
371
 
421
- def initialize:
422
- (
423
- individuals: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Individuals,
424
- paging: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Paging
425
- ) -> void
426
- | (
427
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::directory
428
- | FinchAPI::BaseModel data
429
- ) -> void
372
+ def initialize: (
373
+ ?individuals: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Individuals,
374
+ ?paging: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Paging
375
+ ) -> void
430
376
 
431
377
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::directory
432
378
 
@@ -472,20 +418,15 @@ module FinchAPI
472
418
 
473
419
  def middle_name=: (bool) -> bool
474
420
 
475
- def initialize:
476
- (
477
- id: bool,
478
- department: bool,
479
- first_name: bool,
480
- is_active: bool,
481
- last_name: bool,
482
- manager: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Individuals::Manager,
483
- middle_name: bool
484
- ) -> void
485
- | (
486
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::individuals
487
- | FinchAPI::BaseModel data
488
- ) -> void
421
+ def initialize: (
422
+ ?id: bool,
423
+ ?department: bool,
424
+ ?first_name: bool,
425
+ ?is_active: bool,
426
+ ?last_name: bool,
427
+ ?manager: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Individuals::Manager,
428
+ ?middle_name: bool
429
+ ) -> void
489
430
 
490
431
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::individuals
491
432
 
@@ -496,12 +437,7 @@ module FinchAPI
496
437
 
497
438
  def id=: (bool) -> bool
498
439
 
499
- def initialize:
500
- (id: bool) -> void
501
- | (
502
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Individuals::manager
503
- | FinchAPI::BaseModel data
504
- ) -> void
440
+ def initialize: (?id: bool) -> void
505
441
 
506
442
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::Individuals::manager
507
443
  end
@@ -518,12 +454,7 @@ module FinchAPI
518
454
 
519
455
  def offset=: (bool) -> bool
520
456
 
521
- def initialize:
522
- (count: bool, offset: bool) -> void
523
- | (
524
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::paging
525
- | FinchAPI::BaseModel data
526
- ) -> void
457
+ def initialize: (?count: bool, ?offset: bool) -> void
527
458
 
528
459
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Directory::paging
529
460
  end
@@ -629,30 +560,25 @@ module FinchAPI
629
560
 
630
561
  def title=: (bool) -> bool
631
562
 
632
- def initialize:
633
- (
634
- id: bool,
635
- class_code: bool,
636
- custom_fields: bool,
637
- department: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Department,
638
- employment: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Employment,
639
- employment_status: bool,
640
- end_date: bool,
641
- first_name: bool,
642
- income: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Income,
643
- income_history: bool,
644
- is_active: bool,
645
- last_name: bool,
646
- location: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Location,
647
- manager: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Manager,
648
- middle_name: bool,
649
- start_date: bool,
650
- title: bool
651
- ) -> void
652
- | (
653
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::employment
654
- | FinchAPI::BaseModel data
655
- ) -> void
563
+ def initialize: (
564
+ ?id: bool,
565
+ ?class_code: bool,
566
+ ?custom_fields: bool,
567
+ ?department: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Department,
568
+ ?employment: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Employment,
569
+ ?employment_status: bool,
570
+ ?end_date: bool,
571
+ ?first_name: bool,
572
+ ?income: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Income,
573
+ ?income_history: bool,
574
+ ?is_active: bool,
575
+ ?last_name: bool,
576
+ ?location: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Location,
577
+ ?manager: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::Manager,
578
+ ?middle_name: bool,
579
+ ?start_date: bool,
580
+ ?title: bool
581
+ ) -> void
656
582
 
657
583
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::employment
658
584
 
@@ -663,12 +589,7 @@ module FinchAPI
663
589
 
664
590
  def name=: (bool) -> bool
665
591
 
666
- def initialize:
667
- (name: bool) -> void
668
- | (
669
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::department
670
- | FinchAPI::BaseModel data
671
- ) -> void
592
+ def initialize: (?name: bool) -> void
672
593
 
673
594
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::department
674
595
  end
@@ -684,12 +605,7 @@ module FinchAPI
684
605
 
685
606
  def type=: (bool) -> bool
686
607
 
687
- def initialize:
688
- (subtype: bool, type: bool) -> void
689
- | (
690
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::employment
691
- | FinchAPI::BaseModel data
692
- ) -> void
608
+ def initialize: (?subtype: bool, ?type: bool) -> void
693
609
 
694
610
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::employment
695
611
  end
@@ -709,12 +625,11 @@ module FinchAPI
709
625
 
710
626
  def unit=: (bool) -> bool
711
627
 
712
- def initialize:
713
- (amount: bool, currency: bool, unit: bool) -> void
714
- | (
715
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::income
716
- | FinchAPI::BaseModel data
717
- ) -> void
628
+ def initialize: (
629
+ ?amount: bool,
630
+ ?currency: bool,
631
+ ?unit: bool
632
+ ) -> void
718
633
 
719
634
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::income
720
635
  end
@@ -754,19 +669,14 @@ module FinchAPI
754
669
 
755
670
  def state=: (bool) -> bool
756
671
 
757
- def initialize:
758
- (
759
- city: bool,
760
- country: bool,
761
- line1: bool,
762
- line2: bool,
763
- postal_code: bool,
764
- state: bool
765
- ) -> void
766
- | (
767
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::location
768
- | FinchAPI::BaseModel data
769
- ) -> void
672
+ def initialize: (
673
+ ?city: bool,
674
+ ?country: bool,
675
+ ?line1: bool,
676
+ ?line2: bool,
677
+ ?postal_code: bool,
678
+ ?state: bool
679
+ ) -> void
770
680
 
771
681
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::location
772
682
  end
@@ -778,12 +688,7 @@ module FinchAPI
778
688
 
779
689
  def id=: (bool) -> bool
780
690
 
781
- def initialize:
782
- (id: bool) -> void
783
- | (
784
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::manager
785
- | FinchAPI::BaseModel data
786
- ) -> void
691
+ def initialize: (?id: bool) -> void
787
692
 
788
693
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment::manager
789
694
  end
@@ -865,26 +770,21 @@ module FinchAPI
865
770
 
866
771
  def ssn=: (bool) -> bool
867
772
 
868
- def initialize:
869
- (
870
- id: bool,
871
- dob: bool,
872
- emails: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::Emails,
873
- encrypted_ssn: bool,
874
- ethnicity: bool,
875
- first_name: bool,
876
- gender: bool,
877
- last_name: bool,
878
- middle_name: bool,
879
- phone_numbers: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::PhoneNumbers,
880
- preferred_name: bool,
881
- residence: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::Residence,
882
- ssn: bool
883
- ) -> void
884
- | (
885
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::individual
886
- | FinchAPI::BaseModel data
887
- ) -> void
773
+ def initialize: (
774
+ ?id: bool,
775
+ ?dob: bool,
776
+ ?emails: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::Emails,
777
+ ?encrypted_ssn: bool,
778
+ ?ethnicity: bool,
779
+ ?first_name: bool,
780
+ ?gender: bool,
781
+ ?last_name: bool,
782
+ ?middle_name: bool,
783
+ ?phone_numbers: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::PhoneNumbers,
784
+ ?preferred_name: bool,
785
+ ?residence: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::Residence,
786
+ ?ssn: bool
787
+ ) -> void
888
788
 
889
789
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::individual
890
790
 
@@ -899,12 +799,7 @@ module FinchAPI
899
799
 
900
800
  def type=: (bool) -> bool
901
801
 
902
- def initialize:
903
- (data: bool, type: bool) -> void
904
- | (
905
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::emails
906
- | FinchAPI::BaseModel data
907
- ) -> void
802
+ def initialize: (?data: bool, ?type: bool) -> void
908
803
 
909
804
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::emails
910
805
  end
@@ -920,12 +815,7 @@ module FinchAPI
920
815
 
921
816
  def type=: (bool) -> bool
922
817
 
923
- def initialize:
924
- (data: bool, type: bool) -> void
925
- | (
926
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::phone_numbers
927
- | FinchAPI::BaseModel data
928
- ) -> void
818
+ def initialize: (?data: bool, ?type: bool) -> void
929
819
 
930
820
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::phone_numbers
931
821
  end
@@ -965,19 +855,14 @@ module FinchAPI
965
855
 
966
856
  def state=: (bool) -> bool
967
857
 
968
- def initialize:
969
- (
970
- city: bool,
971
- country: bool,
972
- line1: bool,
973
- line2: bool,
974
- postal_code: bool,
975
- state: bool
976
- ) -> void
977
- | (
978
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::residence
979
- | FinchAPI::BaseModel data
980
- ) -> void
858
+ def initialize: (
859
+ ?city: bool,
860
+ ?country: bool,
861
+ ?line1: bool,
862
+ ?line2: bool,
863
+ ?postal_code: bool,
864
+ ?state: bool
865
+ ) -> void
981
866
 
982
867
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Individual::residence
983
868
  end
@@ -1008,17 +893,12 @@ module FinchAPI
1008
893
 
1009
894
  def pay_frequencies=: (bool) -> bool
1010
895
 
1011
- def initialize:
1012
- (
1013
- id: bool,
1014
- individual_ids: bool,
1015
- name: bool,
1016
- pay_frequencies: bool
1017
- ) -> void
1018
- | (
1019
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::pay_group
1020
- | FinchAPI::BaseModel data
1021
- ) -> void
896
+ def initialize: (
897
+ ?id: bool,
898
+ ?individual_ids: bool,
899
+ ?name: bool,
900
+ ?pay_frequencies: bool
901
+ ) -> void
1022
902
 
1023
903
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::pay_group
1024
904
  end
@@ -1042,15 +922,10 @@ module FinchAPI
1042
922
  FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements
1043
923
  ) -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements
1044
924
 
1045
- def initialize:
1046
- (
1047
- paging: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::Paging,
1048
- pay_statements: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements
1049
- ) -> void
1050
- | (
1051
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::pay_statement
1052
- | FinchAPI::BaseModel data
1053
- ) -> void
925
+ def initialize: (
926
+ ?paging: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::Paging,
927
+ ?pay_statements: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements
928
+ ) -> void
1054
929
 
1055
930
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::pay_statement
1056
931
 
@@ -1061,12 +936,7 @@ module FinchAPI
1061
936
 
1062
937
  attr_accessor offset: bool
1063
938
 
1064
- def initialize:
1065
- (count: bool, offset: bool) -> void
1066
- | (
1067
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::paging
1068
- | FinchAPI::BaseModel data
1069
- ) -> void
939
+ def initialize: (count: bool, offset: bool) -> void
1070
940
 
1071
941
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::paging
1072
942
  end
@@ -1134,23 +1004,18 @@ module FinchAPI
1134
1004
 
1135
1005
  def type=: (bool) -> bool
1136
1006
 
1137
- def initialize:
1138
- (
1139
- earnings: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Earnings,
1140
- employee_deductions: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployeeDeductions,
1141
- employer_contributions: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployerContributions,
1142
- gross_pay: bool,
1143
- individual_id: bool,
1144
- net_pay: bool,
1145
- payment_method: bool,
1146
- taxes: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Taxes,
1147
- total_hours: bool,
1148
- type: bool
1149
- ) -> void
1150
- | (
1151
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::pay_statements
1152
- | FinchAPI::BaseModel data
1153
- ) -> void
1007
+ def initialize: (
1008
+ ?earnings: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Earnings,
1009
+ ?employee_deductions: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployeeDeductions,
1010
+ ?employer_contributions: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::EmployerContributions,
1011
+ ?gross_pay: bool,
1012
+ ?individual_id: bool,
1013
+ ?net_pay: bool,
1014
+ ?payment_method: bool,
1015
+ ?taxes: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::Taxes,
1016
+ ?total_hours: bool,
1017
+ ?type: bool
1018
+ ) -> void
1154
1019
 
1155
1020
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::pay_statements
1156
1021
 
@@ -1174,17 +1039,12 @@ module FinchAPI
1174
1039
 
1175
1040
  def type=: (bool) -> bool
1176
1041
 
1177
- def initialize:
1178
- (
1179
- amount: bool,
1180
- currency: bool,
1181
- name: bool,
1182
- type: bool
1183
- ) -> void
1184
- | (
1185
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::earnings
1186
- | FinchAPI::BaseModel data
1187
- ) -> void
1042
+ def initialize: (
1043
+ ?amount: bool,
1044
+ ?currency: bool,
1045
+ ?name: bool,
1046
+ ?type: bool
1047
+ ) -> void
1188
1048
 
1189
1049
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::earnings
1190
1050
  end
@@ -1219,18 +1079,13 @@ module FinchAPI
1219
1079
 
1220
1080
  def type=: (bool) -> bool
1221
1081
 
1222
- def initialize:
1223
- (
1224
- amount: bool,
1225
- currency: bool,
1226
- name: bool,
1227
- pre_tax: bool,
1228
- type: bool
1229
- ) -> void
1230
- | (
1231
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::employee_deductions
1232
- | FinchAPI::BaseModel data
1233
- ) -> void
1082
+ def initialize: (
1083
+ ?amount: bool,
1084
+ ?currency: bool,
1085
+ ?name: bool,
1086
+ ?pre_tax: bool,
1087
+ ?type: bool
1088
+ ) -> void
1234
1089
 
1235
1090
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::employee_deductions
1236
1091
  end
@@ -1251,12 +1106,11 @@ module FinchAPI
1251
1106
 
1252
1107
  def name=: (bool) -> bool
1253
1108
 
1254
- def initialize:
1255
- (amount: bool, currency: bool, name: bool) -> void
1256
- | (
1257
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::employer_contributions
1258
- | FinchAPI::BaseModel data
1259
- ) -> void
1109
+ def initialize: (
1110
+ ?amount: bool,
1111
+ ?currency: bool,
1112
+ ?name: bool
1113
+ ) -> void
1260
1114
 
1261
1115
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::employer_contributions
1262
1116
  end
@@ -1291,18 +1145,13 @@ module FinchAPI
1291
1145
 
1292
1146
  def type=: (bool) -> bool
1293
1147
 
1294
- def initialize:
1295
- (
1296
- amount: bool,
1297
- currency: bool,
1298
- employer: bool,
1299
- name: bool,
1300
- type: bool
1301
- ) -> void
1302
- | (
1303
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::taxes
1304
- | FinchAPI::BaseModel data
1305
- ) -> void
1148
+ def initialize: (
1149
+ ?amount: bool,
1150
+ ?currency: bool,
1151
+ ?employer: bool,
1152
+ ?name: bool,
1153
+ ?type: bool
1154
+ ) -> void
1306
1155
 
1307
1156
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::PayStatement::PayStatements::taxes
1308
1157
  end
@@ -1376,25 +1225,20 @@ module FinchAPI
1376
1225
  FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment::PayPeriod
1377
1226
  ) -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment::PayPeriod
1378
1227
 
1379
- def initialize:
1380
- (
1381
- id: bool,
1382
- company_debit: bool,
1383
- debit_date: bool,
1384
- employee_taxes: bool,
1385
- employer_taxes: bool,
1386
- gross_pay: bool,
1387
- individual_ids: bool,
1388
- net_pay: bool,
1389
- pay_date: bool,
1390
- pay_frequencies: bool,
1391
- pay_group_ids: bool,
1392
- pay_period: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment::PayPeriod
1393
- ) -> void
1394
- | (
1395
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::payment
1396
- | FinchAPI::BaseModel data
1397
- ) -> void
1228
+ def initialize: (
1229
+ ?id: bool,
1230
+ ?company_debit: bool,
1231
+ ?debit_date: bool,
1232
+ ?employee_taxes: bool,
1233
+ ?employer_taxes: bool,
1234
+ ?gross_pay: bool,
1235
+ ?individual_ids: bool,
1236
+ ?net_pay: bool,
1237
+ ?pay_date: bool,
1238
+ ?pay_frequencies: bool,
1239
+ ?pay_group_ids: bool,
1240
+ ?pay_period: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment::PayPeriod
1241
+ ) -> void
1398
1242
 
1399
1243
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::payment
1400
1244
 
@@ -1409,12 +1253,7 @@ module FinchAPI
1409
1253
 
1410
1254
  def start_date=: (bool) -> bool
1411
1255
 
1412
- def initialize:
1413
- (end_date: bool, start_date: bool) -> void
1414
- | (
1415
- ?FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment::pay_period
1416
- | FinchAPI::BaseModel data
1417
- ) -> void
1256
+ def initialize: (?end_date: bool, ?start_date: bool) -> void
1418
1257
 
1419
1258
  def to_hash: -> FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Payment::pay_period
1420
1259
  end
@@ -1424,24 +1263,28 @@ module FinchAPI
1424
1263
  type type_ =
1425
1264
  :assisted | :credential | :api_token | :api_credential | :oauth
1426
1265
 
1427
- class Type < FinchAPI::Enum
1266
+ module Type
1267
+ extend FinchAPI::Enum
1268
+
1428
1269
  ASSISTED: :assisted
1429
1270
  CREDENTIAL: :credential
1430
1271
  API_TOKEN: :api_token
1431
1272
  API_CREDENTIAL: :api_credential
1432
1273
  OAUTH: :oauth
1433
1274
 
1434
- def self.values: -> ::Array[FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::type_]
1275
+ def self?.values: -> ::Array[FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::type_]
1435
1276
  end
1436
1277
  end
1437
1278
  end
1438
1279
 
1439
1280
  type event_type = :"account.updated"
1440
1281
 
1441
- class EventType < FinchAPI::Enum
1282
+ module EventType
1283
+ extend FinchAPI::Enum
1284
+
1442
1285
  ACCOUNT_UPDATED: :"account.updated"
1443
1286
 
1444
- def self.values: -> ::Array[FinchAPI::Models::AccountUpdateEvent::event_type]
1287
+ def self?.values: -> ::Array[FinchAPI::Models::AccountUpdateEvent::event_type]
1445
1288
  end
1446
1289
  end
1447
1290
  end