plaid 24.0.0 → 25.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1466) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +214 -0
  3. data/Gemfile.lock +9 -9
  4. data/Makefile +1 -1
  5. data/lib/plaid/api/plaid_api.rb +644 -32
  6. data/lib/plaid/api_client.rb +10 -5
  7. data/lib/plaid/api_error.rb +4 -3
  8. data/lib/plaid/configuration.rb +14 -2
  9. data/lib/plaid/models/account_access.rb +2 -2
  10. data/lib/plaid/models/account_assets.rb +3 -11
  11. data/lib/plaid/models/account_balance.rb +3 -3
  12. data/lib/plaid/models/account_base.rb +16 -7
  13. data/lib/plaid/models/account_filter.rb +2 -2
  14. data/lib/plaid/models/account_filters_response.rb +2 -2
  15. data/lib/plaid/models/account_identity.rb +31 -10
  16. data/lib/plaid/models/account_identity_all_of.rb +18 -6
  17. data/lib/plaid/models/account_identity_match_score.rb +16 -7
  18. data/lib/plaid/models/account_identity_match_score_all_of.rb +2 -2
  19. data/lib/plaid/models/account_product_access.rb +2 -2
  20. data/lib/plaid/models/account_product_access_nullable.rb +2 -2
  21. data/lib/plaid/models/account_selection_cardinality.rb +2 -2
  22. data/lib/plaid/models/account_subtype.rb +2 -2
  23. data/lib/plaid/models/account_type.rb +2 -2
  24. data/lib/plaid/models/account_verification_insights.rb +270 -0
  25. data/lib/plaid/models/account_verification_insights_account_number_format.rb +40 -0
  26. data/lib/plaid/models/account_verification_insights_network_status.rb +241 -0
  27. data/lib/plaid/models/account_verification_insights_previous_returns.rb +226 -0
  28. data/lib/plaid/models/accounts_balance_get_request.rb +16 -6
  29. data/lib/plaid/models/accounts_balance_get_request_options.rb +3 -3
  30. data/lib/plaid/models/accounts_balance_get_request_payment_details.rb +315 -0
  31. data/lib/plaid/models/accounts_balance_get_response_payment_risk_assessment.rb +299 -0
  32. data/lib/plaid/models/accounts_get_request.rb +2 -2
  33. data/lib/plaid/models/accounts_get_request_options.rb +2 -2
  34. data/lib/plaid/models/accounts_get_response.rb +13 -3
  35. data/lib/plaid/models/ach_class.rb +2 -2
  36. data/lib/plaid/models/action_state.rb +2 -2
  37. data/lib/plaid/models/activity.rb +24 -2
  38. data/lib/plaid/models/activity_type.rb +2 -2
  39. data/lib/plaid/models/address.rb +2 -2
  40. data/lib/plaid/models/address_data.rb +2 -2
  41. data/lib/plaid/models/address_data_not_required.rb +2 -2
  42. data/lib/plaid/models/address_data_nullable.rb +2 -2
  43. data/lib/plaid/models/address_data_nullable_no_required_fields.rb +2 -2
  44. data/lib/plaid/models/address_match_score.rb +2 -2
  45. data/lib/plaid/models/address_nullable.rb +2 -2
  46. data/lib/plaid/models/address_purpose_label.rb +2 -2
  47. data/lib/plaid/models/application.rb +2 -2
  48. data/lib/plaid/models/application_get_request.rb +2 -2
  49. data/lib/plaid/models/application_get_response.rb +2 -2
  50. data/lib/plaid/models/apr.rb +2 -2
  51. data/lib/plaid/models/asset.rb +2 -2
  52. data/lib/plaid/models/asset_detail.rb +24 -2
  53. data/lib/plaid/models/asset_holder.rb +2 -2
  54. data/lib/plaid/models/asset_holder_name.rb +2 -2
  55. data/lib/plaid/models/asset_owner.rb +2 -2
  56. data/lib/plaid/models/asset_owners.rb +2 -2
  57. data/lib/plaid/models/asset_report.rb +2 -2
  58. data/lib/plaid/models/asset_report_account_balance.rb +288 -0
  59. data/lib/plaid/models/asset_report_add_ons.rb +2 -2
  60. data/lib/plaid/models/asset_report_audit_copy_create_request.rb +2 -2
  61. data/lib/plaid/models/asset_report_audit_copy_create_response.rb +2 -2
  62. data/lib/plaid/models/asset_report_audit_copy_get_request.rb +2 -2
  63. data/lib/plaid/models/asset_report_audit_copy_remove_request.rb +2 -2
  64. data/lib/plaid/models/asset_report_audit_copy_remove_response.rb +2 -2
  65. data/lib/plaid/models/asset_report_create_request.rb +2 -2
  66. data/lib/plaid/models/asset_report_create_request_options.rb +2 -2
  67. data/lib/plaid/models/asset_report_create_response.rb +2 -2
  68. data/lib/plaid/models/asset_report_filter_request.rb +2 -2
  69. data/lib/plaid/models/asset_report_filter_response.rb +2 -2
  70. data/lib/plaid/models/asset_report_freddie.rb +2 -2
  71. data/lib/plaid/models/asset_report_freddie_get_request.rb +2 -2
  72. data/lib/plaid/models/asset_report_freddie_get_response.rb +2 -2
  73. data/lib/plaid/models/asset_report_get_request.rb +2 -2
  74. data/lib/plaid/models/asset_report_get_request_options.rb +2 -2
  75. data/lib/plaid/models/asset_report_get_response.rb +2 -2
  76. data/lib/plaid/models/asset_report_investment_holding.rb +2 -2
  77. data/lib/plaid/models/asset_report_investment_security.rb +2 -2
  78. data/lib/plaid/models/asset_report_investments.rb +55 -3
  79. data/lib/plaid/models/asset_report_item.rb +2 -2
  80. data/lib/plaid/models/asset_report_pdf_get_request.rb +2 -2
  81. data/lib/plaid/models/asset_report_pdf_get_request_options.rb +2 -2
  82. data/lib/plaid/models/asset_report_refresh_request.rb +2 -2
  83. data/lib/plaid/models/asset_report_refresh_request_options.rb +2 -2
  84. data/lib/plaid/models/asset_report_refresh_response.rb +2 -2
  85. data/lib/plaid/models/asset_report_remove_request.rb +2 -2
  86. data/lib/plaid/models/asset_report_remove_response.rb +2 -2
  87. data/lib/plaid/models/asset_report_transaction.rb +24 -2
  88. data/lib/plaid/models/asset_report_transaction_type.rb +2 -2
  89. data/lib/plaid/models/asset_report_user.rb +2 -2
  90. data/lib/plaid/models/asset_transaction.rb +2 -2
  91. data/lib/plaid/models/asset_transaction_category_type.rb +2 -2
  92. data/lib/plaid/models/asset_transaction_description.rb +2 -2
  93. data/lib/plaid/models/asset_transaction_detail.rb +24 -2
  94. data/lib/plaid/models/asset_transaction_type.rb +2 -2
  95. data/lib/plaid/models/asset_transactions.rb +2 -2
  96. data/lib/plaid/models/asset_type.rb +2 -2
  97. data/lib/plaid/models/assets.rb +2 -2
  98. data/lib/plaid/models/assets_error_webhook.rb +24 -2
  99. data/lib/plaid/models/assets_product_ready_webhook.rb +24 -2
  100. data/lib/plaid/models/auth_get_numbers.rb +2 -2
  101. data/lib/plaid/models/auth_get_request.rb +2 -2
  102. data/lib/plaid/models/auth_get_request_options.rb +2 -2
  103. data/lib/plaid/models/auth_get_response.rb +2 -2
  104. data/lib/plaid/models/auth_metadata.rb +2 -2
  105. data/lib/plaid/models/auth_supported_methods.rb +2 -2
  106. data/lib/plaid/models/automatically_verified_webhook.rb +24 -2
  107. data/lib/plaid/models/balance_plus_attributes.rb +508 -0
  108. data/lib/plaid/models/bank_income_complete_result.rb +2 -2
  109. data/lib/plaid/models/bank_income_complete_webhook.rb +24 -2
  110. data/lib/plaid/models/bank_income_refresh_complete_result.rb +2 -2
  111. data/lib/plaid/models/bank_income_refresh_complete_webhook.rb +24 -2
  112. data/lib/plaid/models/bank_income_refresh_update_webhook.rb +24 -2
  113. data/lib/plaid/models/bank_initiated_return_risk.rb +2 -2
  114. data/lib/plaid/models/bank_transfer.rb +24 -2
  115. data/lib/plaid/models/bank_transfer_balance.rb +2 -2
  116. data/lib/plaid/models/bank_transfer_balance_get_request.rb +2 -2
  117. data/lib/plaid/models/bank_transfer_balance_get_response.rb +2 -2
  118. data/lib/plaid/models/bank_transfer_cancel_request.rb +2 -2
  119. data/lib/plaid/models/bank_transfer_cancel_response.rb +2 -2
  120. data/lib/plaid/models/bank_transfer_create_request.rb +24 -2
  121. data/lib/plaid/models/bank_transfer_create_response.rb +2 -2
  122. data/lib/plaid/models/bank_transfer_direction.rb +2 -2
  123. data/lib/plaid/models/bank_transfer_event.rb +24 -2
  124. data/lib/plaid/models/bank_transfer_event_list_bank_transfer_type.rb +2 -2
  125. data/lib/plaid/models/bank_transfer_event_list_direction.rb +2 -2
  126. data/lib/plaid/models/bank_transfer_event_list_request.rb +24 -2
  127. data/lib/plaid/models/bank_transfer_event_list_response.rb +2 -2
  128. data/lib/plaid/models/bank_transfer_event_sync_request.rb +2 -2
  129. data/lib/plaid/models/bank_transfer_event_sync_response.rb +2 -2
  130. data/lib/plaid/models/bank_transfer_event_type.rb +2 -2
  131. data/lib/plaid/models/bank_transfer_failure.rb +2 -2
  132. data/lib/plaid/models/bank_transfer_get_request.rb +2 -2
  133. data/lib/plaid/models/bank_transfer_get_response.rb +2 -2
  134. data/lib/plaid/models/bank_transfer_list_request.rb +24 -2
  135. data/lib/plaid/models/bank_transfer_list_response.rb +2 -2
  136. data/lib/plaid/models/bank_transfer_migrate_account_request.rb +2 -2
  137. data/lib/plaid/models/bank_transfer_migrate_account_response.rb +2 -2
  138. data/lib/plaid/models/bank_transfer_network.rb +2 -2
  139. data/lib/plaid/models/bank_transfer_status.rb +2 -2
  140. data/lib/plaid/models/bank_transfer_sweep.rb +2 -2
  141. data/lib/plaid/models/bank_transfer_sweep_get_request.rb +2 -2
  142. data/lib/plaid/models/bank_transfer_sweep_get_response.rb +2 -2
  143. data/lib/plaid/models/bank_transfer_sweep_list_request.rb +2 -2
  144. data/lib/plaid/models/bank_transfer_sweep_list_response.rb +2 -2
  145. data/lib/plaid/models/bank_transfer_type.rb +2 -2
  146. data/lib/plaid/models/bank_transfer_user.rb +2 -2
  147. data/lib/plaid/models/bank_transfers_events_update_webhook.rb +24 -2
  148. data/lib/plaid/models/bank_transfers_events_update_webhook_for_auth.rb +24 -2
  149. data/lib/plaid/models/base_report.rb +2 -2
  150. data/lib/plaid/models/base_report_account.rb +24 -2
  151. data/lib/plaid/models/base_report_account_balances.rb +3 -3
  152. data/lib/plaid/models/base_report_account_balances_all_of.rb +2 -2
  153. data/lib/plaid/models/base_report_account_insights.rb +2 -2
  154. data/lib/plaid/models/base_report_average_flow_insights.rb +2 -2
  155. data/lib/plaid/models/base_report_average_monthly_balances.rb +2 -2
  156. data/lib/plaid/models/base_report_get_request.rb +2 -2
  157. data/lib/plaid/models/base_report_get_response.rb +2 -2
  158. data/lib/plaid/models/base_report_item.rb +2 -2
  159. data/lib/plaid/models/base_report_longest_gap_insights.rb +2 -2
  160. data/lib/plaid/models/base_report_number_flow_insights.rb +2 -2
  161. data/lib/plaid/models/base_report_transaction.rb +2 -2
  162. data/lib/plaid/models/base_report_warning.rb +24 -2
  163. data/lib/plaid/models/base_report_warning_code.rb +2 -2
  164. data/lib/plaid/models/base_reports_error_webhook.rb +24 -2
  165. data/lib/plaid/models/base_reports_product_ready_webhook.rb +24 -2
  166. data/lib/plaid/models/beacon_audit_trail.rb +24 -2
  167. data/lib/plaid/models/beacon_audit_trail_source.rb +2 -2
  168. data/lib/plaid/models/beacon_duplicate_detected_webhook.rb +292 -0
  169. data/lib/plaid/models/beacon_duplicate_get_request.rb +246 -0
  170. data/lib/plaid/models/beacon_duplicate_get_response.rb +283 -0
  171. data/lib/plaid/models/beacon_match_summary_analysis.rb +331 -0
  172. data/lib/plaid/models/beacon_match_summary_code.rb +2 -2
  173. data/lib/plaid/models/beacon_report.rb +24 -2
  174. data/lib/plaid/models/beacon_report_create_request.rb +24 -2
  175. data/lib/plaid/models/beacon_report_create_response.rb +24 -2
  176. data/lib/plaid/models/beacon_report_created_webhook.rb +292 -0
  177. data/lib/plaid/models/beacon_report_get_request.rb +246 -0
  178. data/lib/plaid/models/beacon_report_get_response.rb +346 -0
  179. data/lib/plaid/models/beacon_report_list_request.rb +2 -2
  180. data/lib/plaid/models/beacon_report_list_response.rb +2 -2
  181. data/lib/plaid/models/beacon_report_syndication.rb +2 -2
  182. data/lib/plaid/models/beacon_report_syndication_analysis.rb +24 -2
  183. data/lib/plaid/models/beacon_report_syndication_created_webhook.rb +292 -0
  184. data/lib/plaid/models/beacon_report_syndication_get_request.rb +246 -0
  185. data/lib/plaid/models/beacon_report_syndication_get_response.rb +269 -0
  186. data/lib/plaid/models/beacon_report_syndication_list_request.rb +2 -2
  187. data/lib/plaid/models/beacon_report_syndication_list_response.rb +2 -2
  188. data/lib/plaid/models/beacon_report_syndication_original_report.rb +24 -2
  189. data/lib/plaid/models/beacon_report_type.rb +2 -2
  190. data/lib/plaid/models/beacon_report_updated_webhook.rb +292 -0
  191. data/lib/plaid/models/beacon_user_address.rb +3 -3
  192. data/lib/plaid/models/beacon_user_create_request.rb +2 -2
  193. data/lib/plaid/models/beacon_user_create_response.rb +24 -2
  194. data/lib/plaid/models/beacon_user_data.rb +3 -7
  195. data/lib/plaid/models/beacon_user_get_request.rb +2 -2
  196. data/lib/plaid/models/beacon_user_get_response.rb +24 -2
  197. data/lib/plaid/models/beacon_user_id_number.rb +24 -2
  198. data/lib/plaid/models/beacon_user_name.rb +2 -2
  199. data/lib/plaid/models/beacon_user_name_nullable.rb +241 -0
  200. data/lib/plaid/models/beacon_user_request_address.rb +3 -3
  201. data/lib/plaid/models/beacon_user_request_address_nullable.rb +310 -0
  202. data/lib/plaid/models/beacon_user_request_data.rb +3 -2
  203. data/lib/plaid/models/beacon_user_review_request.rb +24 -2
  204. data/lib/plaid/models/beacon_user_revision.rb +241 -0
  205. data/lib/plaid/models/beacon_user_status.rb +2 -2
  206. data/lib/plaid/models/beacon_user_status_updated_webhook.rb +24 -2
  207. data/lib/plaid/models/beacon_user_update_request.rb +260 -0
  208. data/lib/plaid/models/beacon_user_update_request_data.rb +283 -0
  209. data/lib/plaid/models/beacon_user_update_response.rb +386 -0
  210. data/lib/plaid/models/categories_get_response.rb +2 -2
  211. data/lib/plaid/models/category.rb +2 -2
  212. data/lib/plaid/models/category_insight_details.rb +2 -2
  213. data/lib/plaid/models/category_insights.rb +2 -2
  214. data/lib/plaid/models/cause.rb +24 -2
  215. data/lib/plaid/models/cause_all_of.rb +2 -2
  216. data/lib/plaid/models/client_provided_enhanced_transaction.rb +2 -2
  217. data/lib/plaid/models/client_provided_enriched_transaction.rb +24 -2
  218. data/lib/plaid/models/client_provided_raw_transaction.rb +2 -2
  219. data/lib/plaid/models/client_provided_transaction.rb +24 -2
  220. data/lib/plaid/models/client_provided_transaction_location.rb +2 -2
  221. data/lib/plaid/models/connected_application.rb +2 -2
  222. data/lib/plaid/models/consumer_report_permissible_purpose.rb +2 -2
  223. data/lib/plaid/models/consumer_report_user_identity.rb +2 -2
  224. data/lib/plaid/models/counterparty.rb +40 -7
  225. data/lib/plaid/models/counterparty_insights.rb +2 -2
  226. data/lib/plaid/models/counterparty_type.rb +2 -2
  227. data/lib/plaid/models/country_code.rb +2 -2
  228. data/lib/plaid/models/cra_bank_income.rb +2 -2
  229. data/lib/plaid/models/cra_bank_income_account.rb +24 -2
  230. data/lib/plaid/models/cra_bank_income_cause.rb +24 -2
  231. data/lib/plaid/models/cra_bank_income_complete_result.rb +2 -2
  232. data/lib/plaid/models/cra_bank_income_complete_webhook.rb +24 -2
  233. data/lib/plaid/models/cra_bank_income_employer.rb +2 -2
  234. data/lib/plaid/models/cra_bank_income_get_request.rb +2 -2
  235. data/lib/plaid/models/cra_bank_income_get_response.rb +2 -2
  236. data/lib/plaid/models/cra_bank_income_historical_summary.rb +2 -2
  237. data/lib/plaid/models/cra_bank_income_item.rb +12 -2
  238. data/lib/plaid/models/cra_bank_income_source.rb +42 -3
  239. data/lib/plaid/models/cra_bank_income_summary.rb +2 -2
  240. data/lib/plaid/models/cra_bank_income_transaction.rb +2 -2
  241. data/lib/plaid/models/cra_bank_income_warning.rb +24 -2
  242. data/lib/plaid/models/cra_bank_income_warning_code.rb +2 -2
  243. data/lib/plaid/models/cra_partner_insights.rb +252 -0
  244. data/lib/plaid/models/cra_partner_insights_complete_result.rb +40 -0
  245. data/lib/plaid/models/cra_partner_insights_complete_webhook.rb +306 -0
  246. data/lib/plaid/models/cra_partner_insights_get_request.rb +241 -0
  247. data/lib/plaid/models/cra_partner_insights_get_response.rb +237 -0
  248. data/lib/plaid/models/cra_partner_insights_item.rb +253 -0
  249. data/lib/plaid/models/cra_partner_insights_item_account.rb +315 -0
  250. data/lib/plaid/models/cra_partner_insights_prism.rb +256 -0
  251. data/lib/plaid/models/cra_prediction_interval.rb +244 -0
  252. data/lib/plaid/models/credit1099.rb +24 -2
  253. data/lib/plaid/models/credit1099_filer.rb +2 -2
  254. data/lib/plaid/models/credit1099_payer.rb +2 -2
  255. data/lib/plaid/models/credit1099_recipient.rb +2 -2
  256. data/lib/plaid/models/credit_account_subtype.rb +2 -2
  257. data/lib/plaid/models/credit_ach_class.rb +2 -2
  258. data/lib/plaid/models/credit_amount_with_currency.rb +2 -2
  259. data/lib/plaid/models/credit_audit_copy_token_create_request.rb +2 -2
  260. data/lib/plaid/models/credit_audit_copy_token_create_response.rb +2 -2
  261. data/lib/plaid/models/credit_audit_copy_token_remove_request.rb +2 -2
  262. data/lib/plaid/models/credit_audit_copy_token_remove_response.rb +2 -2
  263. data/lib/plaid/models/credit_audit_copy_token_update_request.rb +2 -2
  264. data/lib/plaid/models/credit_audit_copy_token_update_response.rb +2 -2
  265. data/lib/plaid/models/credit_bank_employer.rb +2 -2
  266. data/lib/plaid/models/credit_bank_employment.rb +2 -2
  267. data/lib/plaid/models/credit_bank_employment_get_request.rb +2 -2
  268. data/lib/plaid/models/credit_bank_employment_get_response.rb +2 -2
  269. data/lib/plaid/models/credit_bank_employment_item.rb +2 -2
  270. data/lib/plaid/models/credit_bank_employment_report.rb +2 -2
  271. data/lib/plaid/models/credit_bank_employment_warning.rb +24 -2
  272. data/lib/plaid/models/credit_bank_employment_warning_type.rb +2 -2
  273. data/lib/plaid/models/credit_bank_income.rb +2 -2
  274. data/lib/plaid/models/credit_bank_income_account.rb +24 -2
  275. data/lib/plaid/models/credit_bank_income_account_type.rb +2 -2
  276. data/lib/plaid/models/credit_bank_income_category.rb +2 -2
  277. data/lib/plaid/models/credit_bank_income_cause.rb +24 -2
  278. data/lib/plaid/models/credit_bank_income_error_type.rb +2 -2
  279. data/lib/plaid/models/credit_bank_income_get_request.rb +2 -2
  280. data/lib/plaid/models/credit_bank_income_get_request_options.rb +2 -2
  281. data/lib/plaid/models/credit_bank_income_get_response.rb +2 -2
  282. data/lib/plaid/models/credit_bank_income_historical_summary.rb +2 -2
  283. data/lib/plaid/models/credit_bank_income_item.rb +2 -2
  284. data/lib/plaid/models/credit_bank_income_pay_frequency.rb +2 -2
  285. data/lib/plaid/models/credit_bank_income_pdf_get_request.rb +2 -2
  286. data/lib/plaid/models/credit_bank_income_refresh_request.rb +2 -2
  287. data/lib/plaid/models/credit_bank_income_refresh_request_options.rb +2 -2
  288. data/lib/plaid/models/credit_bank_income_refresh_response.rb +2 -2
  289. data/lib/plaid/models/credit_bank_income_source.rb +24 -2
  290. data/lib/plaid/models/credit_bank_income_summary.rb +2 -2
  291. data/lib/plaid/models/credit_bank_income_transaction.rb +2 -2
  292. data/lib/plaid/models/credit_bank_income_warning.rb +24 -2
  293. data/lib/plaid/models/credit_bank_income_warning_code.rb +2 -2
  294. data/lib/plaid/models/credit_bank_income_warning_type.rb +2 -2
  295. data/lib/plaid/models/credit_bank_income_webhook_update_request.rb +2 -2
  296. data/lib/plaid/models/credit_bank_income_webhook_update_response.rb +2 -2
  297. data/lib/plaid/models/credit_bank_statement_upload_account_owner.rb +2 -2
  298. data/lib/plaid/models/credit_bank_statement_upload_account_owner_address.rb +2 -2
  299. data/lib/plaid/models/credit_bank_statement_upload_bank_account.rb +2 -2
  300. data/lib/plaid/models/credit_bank_statement_upload_bank_account_period.rb +2 -2
  301. data/lib/plaid/models/credit_bank_statement_upload_item.rb +2 -2
  302. data/lib/plaid/models/credit_bank_statement_upload_object.rb +2 -2
  303. data/lib/plaid/models/credit_bank_statement_upload_transaction.rb +2 -2
  304. data/lib/plaid/models/credit_bank_statements_uploads_get_request.rb +15 -6
  305. data/lib/plaid/models/credit_bank_statements_uploads_get_request_options.rb +223 -0
  306. data/lib/plaid/models/credit_bank_statements_uploads_get_response.rb +2 -2
  307. data/lib/plaid/models/credit_card_liability.rb +2 -2
  308. data/lib/plaid/models/credit_category.rb +2 -2
  309. data/lib/plaid/models/credit_document_metadata.rb +2 -2
  310. data/lib/plaid/models/credit_employer_verification.rb +2 -2
  311. data/lib/plaid/models/credit_employment_get_request.rb +2 -2
  312. data/lib/plaid/models/credit_employment_get_response.rb +2 -2
  313. data/lib/plaid/models/credit_employment_item.rb +2 -2
  314. data/lib/plaid/models/credit_employment_verification.rb +2 -2
  315. data/lib/plaid/models/credit_filter.rb +2 -2
  316. data/lib/plaid/models/credit_freddie_mac_asset.rb +2 -2
  317. data/lib/plaid/models/credit_freddie_mac_asset_transaction.rb +2 -2
  318. data/lib/plaid/models/credit_freddie_mac_asset_transactions.rb +2 -2
  319. data/lib/plaid/models/credit_freddie_mac_assets.rb +2 -2
  320. data/lib/plaid/models/credit_freddie_mac_individual_name.rb +2 -2
  321. data/lib/plaid/models/credit_freddie_mac_loan.rb +2 -2
  322. data/lib/plaid/models/credit_freddie_mac_loan_identifiers.rb +2 -2
  323. data/lib/plaid/models/credit_freddie_mac_loans.rb +2 -2
  324. data/lib/plaid/models/credit_freddie_mac_parties.rb +2 -2
  325. data/lib/plaid/models/credit_freddie_mac_party.rb +2 -2
  326. data/lib/plaid/models/credit_freddie_mac_party_individual.rb +2 -2
  327. data/lib/plaid/models/credit_freddie_mac_reporting_information.rb +2 -2
  328. data/lib/plaid/models/credit_freddie_mac_reports_get_request.rb +2 -2
  329. data/lib/plaid/models/credit_freddie_mac_reports_get_response.rb +2 -2
  330. data/lib/plaid/models/credit_freddie_mac_service.rb +2 -2
  331. data/lib/plaid/models/credit_freddie_mac_services.rb +2 -2
  332. data/lib/plaid/models/credit_freddie_mac_verification_of_asset.rb +2 -2
  333. data/lib/plaid/models/credit_freddie_mac_verification_of_asset_response.rb +2 -2
  334. data/lib/plaid/models/credit_freddie_mac_verification_of_assets_deal.rb +2 -2
  335. data/lib/plaid/models/credit_pay_stub.rb +2 -2
  336. data/lib/plaid/models/credit_pay_stub_address.rb +2 -2
  337. data/lib/plaid/models/credit_pay_stub_deductions.rb +2 -2
  338. data/lib/plaid/models/credit_pay_stub_earnings.rb +2 -2
  339. data/lib/plaid/models/credit_pay_stub_employee.rb +2 -2
  340. data/lib/plaid/models/credit_pay_stub_employer.rb +2 -2
  341. data/lib/plaid/models/credit_pay_stub_net_pay.rb +2 -2
  342. data/lib/plaid/models/credit_pay_stub_pay_basis_type.rb +2 -2
  343. data/lib/plaid/models/credit_payroll_income_get_request.rb +15 -6
  344. data/lib/plaid/models/credit_payroll_income_get_request_options.rb +223 -0
  345. data/lib/plaid/models/credit_payroll_income_get_response.rb +2 -2
  346. data/lib/plaid/models/credit_payroll_income_parsing_config_update_request.rb +2 -2
  347. data/lib/plaid/models/credit_payroll_income_parsing_config_update_response.rb +2 -2
  348. data/lib/plaid/models/credit_payroll_income_precheck_request.rb +2 -2
  349. data/lib/plaid/models/credit_payroll_income_precheck_response.rb +24 -2
  350. data/lib/plaid/models/credit_payroll_income_refresh_request.rb +2 -2
  351. data/lib/plaid/models/credit_payroll_income_refresh_request_options.rb +2 -2
  352. data/lib/plaid/models/credit_payroll_income_refresh_response.rb +2 -2
  353. data/lib/plaid/models/credit_payroll_income_risk_signals_get_request.rb +2 -2
  354. data/lib/plaid/models/credit_payroll_income_risk_signals_get_response.rb +2 -2
  355. data/lib/plaid/models/credit_platform_ids.rb +2 -2
  356. data/lib/plaid/models/credit_relay_create_request.rb +2 -2
  357. data/lib/plaid/models/credit_relay_create_response.rb +2 -2
  358. data/lib/plaid/models/credit_relay_get_request.rb +24 -2
  359. data/lib/plaid/models/credit_relay_pdf_get_request.rb +24 -2
  360. data/lib/plaid/models/credit_relay_refresh_request.rb +24 -2
  361. data/lib/plaid/models/credit_relay_refresh_response.rb +2 -2
  362. data/lib/plaid/models/credit_relay_remove_request.rb +2 -2
  363. data/lib/plaid/models/credit_relay_remove_response.rb +2 -2
  364. data/lib/plaid/models/credit_session.rb +2 -2
  365. data/lib/plaid/models/credit_session_bank_employment_result.rb +24 -2
  366. data/lib/plaid/models/credit_session_bank_employment_status.rb +2 -2
  367. data/lib/plaid/models/credit_session_bank_income_result.rb +24 -2
  368. data/lib/plaid/models/credit_session_bank_income_status.rb +2 -2
  369. data/lib/plaid/models/credit_session_document_income_result.rb +21 -6
  370. data/lib/plaid/models/credit_session_error.rb +2 -2
  371. data/lib/plaid/models/credit_session_item_add_result.rb +2 -2
  372. data/lib/plaid/models/credit_session_payroll_income_result.rb +2 -2
  373. data/lib/plaid/models/credit_session_results.rb +2 -2
  374. data/lib/plaid/models/credit_sessions_get_request.rb +2 -2
  375. data/lib/plaid/models/credit_sessions_get_response.rb +2 -2
  376. data/lib/plaid/models/credit_w2.rb +2 -2
  377. data/lib/plaid/models/customer_initiated_return_risk.rb +2 -2
  378. data/lib/plaid/models/dashboard_user.rb +24 -2
  379. data/lib/plaid/models/dashboard_user_get_request.rb +2 -2
  380. data/lib/plaid/models/dashboard_user_get_response.rb +24 -2
  381. data/lib/plaid/models/dashboard_user_list_request.rb +2 -2
  382. data/lib/plaid/models/dashboard_user_list_response.rb +2 -2
  383. data/lib/plaid/models/dashboard_user_status.rb +2 -2
  384. data/lib/plaid/models/date_range.rb +2 -2
  385. data/lib/plaid/models/deductions.rb +2 -2
  386. data/lib/plaid/models/deductions_breakdown.rb +2 -2
  387. data/lib/plaid/models/deductions_total.rb +2 -2
  388. data/lib/plaid/models/default_update_webhook.rb +24 -2
  389. data/lib/plaid/models/deposit_switch_address_data.rb +2 -2
  390. data/lib/plaid/models/deposit_switch_alt_create_request.rb +2 -2
  391. data/lib/plaid/models/deposit_switch_alt_create_response.rb +2 -2
  392. data/lib/plaid/models/deposit_switch_create_request.rb +2 -2
  393. data/lib/plaid/models/deposit_switch_create_request_options.rb +2 -2
  394. data/lib/plaid/models/deposit_switch_create_response.rb +2 -2
  395. data/lib/plaid/models/deposit_switch_get_request.rb +2 -2
  396. data/lib/plaid/models/deposit_switch_get_response.rb +2 -2
  397. data/lib/plaid/models/deposit_switch_state_update_webhook.rb +24 -2
  398. data/lib/plaid/models/deposit_switch_target_account.rb +2 -2
  399. data/lib/plaid/models/deposit_switch_target_user.rb +2 -2
  400. data/lib/plaid/models/deposit_switch_token_create_request.rb +2 -2
  401. data/lib/plaid/models/deposit_switch_token_create_response.rb +2 -2
  402. data/lib/plaid/models/depository_account_subtype.rb +2 -2
  403. data/lib/plaid/models/depository_filter.rb +2 -2
  404. data/lib/plaid/models/detailed_originator.rb +24 -2
  405. data/lib/plaid/models/detected_account.rb +2 -2
  406. data/lib/plaid/models/distribution_breakdown.rb +2 -2
  407. data/lib/plaid/models/doc_type.rb +2 -2
  408. data/lib/plaid/models/document_analysis.rb +24 -2
  409. data/lib/plaid/models/document_authenticity_match_code.rb +2 -2
  410. data/lib/plaid/models/document_date_of_birth_match_code.rb +3 -2
  411. data/lib/plaid/models/document_metadata.rb +24 -2
  412. data/lib/plaid/models/document_name_match_code.rb +3 -2
  413. data/lib/plaid/models/document_risk_signal.rb +2 -2
  414. data/lib/plaid/models/document_risk_signal_institution_metadata.rb +2 -2
  415. data/lib/plaid/models/document_risk_signals_object.rb +2 -2
  416. data/lib/plaid/models/document_risk_summary.rb +2 -2
  417. data/lib/plaid/models/document_status.rb +2 -2
  418. data/lib/plaid/models/documentary_verification.rb +2 -2
  419. data/lib/plaid/models/documentary_verification_document.rb +24 -2
  420. data/lib/plaid/models/earnings.rb +2 -2
  421. data/lib/plaid/models/earnings_breakdown.rb +24 -2
  422. data/lib/plaid/models/earnings_breakdown_canonical_description.rb +2 -2
  423. data/lib/plaid/models/earnings_total.rb +2 -2
  424. data/lib/plaid/models/email.rb +2 -2
  425. data/lib/plaid/models/email_address_match_score.rb +2 -2
  426. data/lib/plaid/models/employee.rb +2 -2
  427. data/lib/plaid/models/employee_income_summary_field_string.rb +24 -2
  428. data/lib/plaid/models/employer.rb +2 -2
  429. data/lib/plaid/models/employer_income_summary_field_string.rb +24 -2
  430. data/lib/plaid/models/employer_verification.rb +2 -2
  431. data/lib/plaid/models/employers_search_request.rb +2 -2
  432. data/lib/plaid/models/employers_search_response.rb +2 -2
  433. data/lib/plaid/models/employment_details.rb +2 -2
  434. data/lib/plaid/models/employment_source_type.rb +2 -2
  435. data/lib/plaid/models/employment_verification.rb +24 -2
  436. data/lib/plaid/models/employment_verification_get_request.rb +2 -2
  437. data/lib/plaid/models/employment_verification_get_response.rb +2 -2
  438. data/lib/plaid/models/employment_verification_status.rb +2 -2
  439. data/lib/plaid/models/enhancements.rb +24 -2
  440. data/lib/plaid/models/enrich_transaction_direction.rb +2 -2
  441. data/lib/plaid/models/enrichments.rb +36 -3
  442. data/lib/plaid/models/entity_document.rb +24 -2
  443. data/lib/plaid/models/entity_document_type.rb +2 -2
  444. data/lib/plaid/models/entity_screening_hit_analysis.rb +24 -2
  445. data/lib/plaid/models/entity_screening_hit_data.rb +2 -2
  446. data/lib/plaid/models/entity_screening_hit_documents_items.rb +2 -2
  447. data/lib/plaid/models/entity_screening_hit_emails.rb +2 -2
  448. data/lib/plaid/models/entity_screening_hit_emails_items.rb +2 -2
  449. data/lib/plaid/models/entity_screening_hit_names.rb +24 -2
  450. data/lib/plaid/models/entity_screening_hit_names_items.rb +2 -2
  451. data/lib/plaid/models/entity_screening_hit_phone_numbers.rb +24 -2
  452. data/lib/plaid/models/entity_screening_hit_urls.rb +2 -2
  453. data/lib/plaid/models/entity_screening_hit_urls_items.rb +2 -2
  454. data/lib/plaid/models/entity_screening_hits_phone_number_items.rb +2 -2
  455. data/lib/plaid/models/entity_screening_status_updated_webhook.rb +24 -2
  456. data/lib/plaid/models/entity_watchlist_code.rb +2 -2
  457. data/lib/plaid/models/entity_watchlist_program.rb +24 -2
  458. data/lib/plaid/models/entity_watchlist_screening.rb +24 -2
  459. data/lib/plaid/models/entity_watchlist_screening_hit.rb +24 -2
  460. data/lib/plaid/models/entity_watchlist_screening_review.rb +2 -2
  461. data/lib/plaid/models/entity_watchlist_screening_search_terms.rb +2 -2
  462. data/lib/plaid/models/entity_watchlist_search_terms.rb +2 -2
  463. data/lib/plaid/models/expiration_date.rb +2 -2
  464. data/lib/plaid/models/external_payment_initiation_consent_options.rb +2 -2
  465. data/lib/plaid/models/external_payment_options.rb +24 -2
  466. data/lib/plaid/models/external_payment_refund_details.rb +2 -2
  467. data/lib/plaid/models/external_payment_schedule_base.rb +24 -2
  468. data/lib/plaid/models/external_payment_schedule_get.rb +24 -2
  469. data/lib/plaid/models/external_payment_schedule_request.rb +24 -2
  470. data/lib/plaid/models/fallback_auth_microdeposit_auto_verified_webhook.rb +24 -2
  471. data/lib/plaid/models/fallback_auth_microdeposit_verification_expired_webhook.rb +24 -2
  472. data/lib/plaid/models/fdx_content_types.rb +2 -2
  473. data/lib/plaid/models/fdx_hateoas_link.rb +24 -2
  474. data/lib/plaid/models/fdx_hateoas_link_action.rb +2 -2
  475. data/lib/plaid/models/fdx_initiator_fi_attribute.rb +24 -2
  476. data/lib/plaid/models/fdx_notification.rb +24 -2
  477. data/lib/plaid/models/fdx_notification_category.rb +2 -2
  478. data/lib/plaid/models/fdx_notification_payload.rb +24 -2
  479. data/lib/plaid/models/fdx_notification_payload_id_type.rb +2 -2
  480. data/lib/plaid/models/fdx_notification_priority.rb +2 -2
  481. data/lib/plaid/models/fdx_notification_severity.rb +2 -2
  482. data/lib/plaid/models/fdx_notification_type.rb +2 -2
  483. data/lib/plaid/models/fdx_party.rb +24 -2
  484. data/lib/plaid/models/fdx_party_registry.rb +2 -2
  485. data/lib/plaid/models/fdx_party_type.rb +2 -2
  486. data/lib/plaid/models/fdxfi_attribute.rb +2 -2
  487. data/lib/plaid/models/financial_institution_insights.rb +2 -2
  488. data/lib/plaid/models/form1099_type.rb +2 -2
  489. data/lib/plaid/models/fraud_amount.rb +24 -2
  490. data/lib/plaid/models/generic_screening_hit_location_items.rb +2 -2
  491. data/lib/plaid/models/health_incident.rb +2 -2
  492. data/lib/plaid/models/historical_balance.rb +2 -2
  493. data/lib/plaid/models/historical_update_webhook.rb +24 -2
  494. data/lib/plaid/models/holding.rb +3 -3
  495. data/lib/plaid/models/holdings_default_update_webhook.rb +24 -2
  496. data/lib/plaid/models/holdings_override.rb +26 -4
  497. data/lib/plaid/models/hosted_link_delivery_method.rb +2 -2
  498. data/lib/plaid/models/hosted_mmd_verification_webhook.rb +317 -0
  499. data/lib/plaid/models/id_number_type.rb +2 -2
  500. data/lib/plaid/models/identity_default_update_webhook.rb +24 -2
  501. data/lib/plaid/models/identity_document.rb +229 -0
  502. data/lib/plaid/models/identity_document_metadata.rb +239 -0
  503. data/lib/plaid/models/identity_get_request.rb +2 -2
  504. data/lib/plaid/models/identity_get_request_options.rb +2 -2
  505. data/lib/plaid/models/identity_get_response.rb +2 -2
  506. data/lib/plaid/models/identity_match_request.rb +2 -2
  507. data/lib/plaid/models/identity_match_request_options.rb +2 -2
  508. data/lib/plaid/models/identity_match_response.rb +2 -2
  509. data/lib/plaid/models/identity_match_user.rb +2 -2
  510. data/lib/plaid/models/identity_refresh_request.rb +2 -2
  511. data/lib/plaid/models/identity_refresh_response.rb +2 -2
  512. data/lib/plaid/models/identity_update_types.rb +2 -2
  513. data/lib/plaid/models/identity_verification.rb +24 -2
  514. data/lib/plaid/models/identity_verification_autofill_address.rb +356 -0
  515. data/lib/plaid/models/identity_verification_autofill_create_request.rb +246 -0
  516. data/lib/plaid/models/identity_verification_autofill_create_response.rb +272 -0
  517. data/lib/plaid/models/identity_verification_autofill_status.rb +39 -0
  518. data/lib/plaid/models/identity_verification_autofill_user_data.rb +241 -0
  519. data/lib/plaid/models/identity_verification_create_request.rb +2 -2
  520. data/lib/plaid/models/identity_verification_create_request_user.rb +2 -2
  521. data/lib/plaid/models/identity_verification_create_response.rb +24 -2
  522. data/lib/plaid/models/identity_verification_document_address_response.rb +2 -2
  523. data/lib/plaid/models/identity_verification_get_request.rb +3 -3
  524. data/lib/plaid/models/identity_verification_get_response.rb +24 -2
  525. data/lib/plaid/models/identity_verification_list_request.rb +3 -3
  526. data/lib/plaid/models/identity_verification_list_response.rb +2 -2
  527. data/lib/plaid/models/identity_verification_request_user.rb +2 -2
  528. data/lib/plaid/models/identity_verification_request_user_name.rb +2 -2
  529. data/lib/plaid/models/identity_verification_response_user_name.rb +2 -2
  530. data/lib/plaid/models/identity_verification_retried_webhook.rb +24 -2
  531. data/lib/plaid/models/identity_verification_retry_request.rb +24 -2
  532. data/lib/plaid/models/identity_verification_retry_request_steps_object.rb +2 -2
  533. data/lib/plaid/models/identity_verification_retry_response.rb +24 -2
  534. data/lib/plaid/models/identity_verification_status.rb +2 -2
  535. data/lib/plaid/models/identity_verification_status_updated_webhook.rb +24 -2
  536. data/lib/plaid/models/identity_verification_step_status.rb +2 -2
  537. data/lib/plaid/models/identity_verification_step_summary.rb +24 -2
  538. data/lib/plaid/models/identity_verification_step_updated_webhook.rb +24 -2
  539. data/lib/plaid/models/identity_verification_template_reference.rb +3 -3
  540. data/lib/plaid/models/identity_verification_user_address.rb +3 -3
  541. data/lib/plaid/models/identity_verification_user_data.rb +3 -3
  542. data/lib/plaid/models/image_quality.rb +2 -2
  543. data/lib/plaid/models/incident_update.rb +2 -2
  544. data/lib/plaid/models/income_breakdown.rb +24 -2
  545. data/lib/plaid/models/income_breakdown_type.rb +2 -2
  546. data/lib/plaid/models/income_override.rb +2 -2
  547. data/lib/plaid/models/income_summary.rb +2 -2
  548. data/lib/plaid/models/income_summary_field_number.rb +24 -2
  549. data/lib/plaid/models/income_summary_field_string.rb +24 -2
  550. data/lib/plaid/models/income_verification_create_request.rb +2 -2
  551. data/lib/plaid/models/income_verification_create_request_options.rb +2 -2
  552. data/lib/plaid/models/income_verification_create_response.rb +2 -2
  553. data/lib/plaid/models/income_verification_doc_parsing_config.rb +3 -3
  554. data/lib/plaid/models/income_verification_documents_download_request.rb +2 -2
  555. data/lib/plaid/models/income_verification_payroll_flow_type.rb +2 -2
  556. data/lib/plaid/models/income_verification_paystubs_get_request.rb +2 -2
  557. data/lib/plaid/models/income_verification_paystubs_get_response.rb +2 -2
  558. data/lib/plaid/models/income_verification_precheck_confidence.rb +2 -2
  559. data/lib/plaid/models/income_verification_precheck_employer.rb +2 -2
  560. data/lib/plaid/models/income_verification_precheck_employer_address.rb +2 -2
  561. data/lib/plaid/models/income_verification_precheck_employer_address_data.rb +2 -2
  562. data/lib/plaid/models/income_verification_precheck_military_info.rb +2 -2
  563. data/lib/plaid/models/income_verification_precheck_payroll_institution.rb +2 -2
  564. data/lib/plaid/models/income_verification_precheck_request.rb +2 -2
  565. data/lib/plaid/models/income_verification_precheck_response.rb +24 -2
  566. data/lib/plaid/models/income_verification_precheck_user.rb +2 -2
  567. data/lib/plaid/models/income_verification_refresh_reconnect_needed_webhook.rb +24 -2
  568. data/lib/plaid/models/income_verification_risk_signals_status_webhook.rb +24 -2
  569. data/lib/plaid/models/income_verification_source_type.rb +2 -2
  570. data/lib/plaid/models/income_verification_status_webhook.rb +24 -2
  571. data/lib/plaid/models/income_verification_taxforms_get_request.rb +2 -2
  572. data/lib/plaid/models/income_verification_taxforms_get_response.rb +2 -2
  573. data/lib/plaid/models/income_verification_webhook_status.rb +2 -2
  574. data/lib/plaid/models/individual_name.rb +2 -2
  575. data/lib/plaid/models/individual_screening_hit_names.rb +24 -2
  576. data/lib/plaid/models/individual_watchlist_code.rb +2 -2
  577. data/lib/plaid/models/individual_watchlist_program.rb +24 -2
  578. data/lib/plaid/models/inflow_model.rb +2 -2
  579. data/lib/plaid/models/initial_update_webhook.rb +24 -2
  580. data/lib/plaid/models/institution.rb +2 -2
  581. data/lib/plaid/models/institution_status.rb +2 -2
  582. data/lib/plaid/models/institution_status_alert_webhook.rb +24 -2
  583. data/lib/plaid/models/institution_supported_networks.rb +2 -2
  584. data/lib/plaid/models/institutions_get_by_id_request.rb +2 -2
  585. data/lib/plaid/models/institutions_get_by_id_request_options.rb +2 -2
  586. data/lib/plaid/models/institutions_get_by_id_response.rb +2 -2
  587. data/lib/plaid/models/institutions_get_request.rb +2 -2
  588. data/lib/plaid/models/institutions_get_request_options.rb +2 -2
  589. data/lib/plaid/models/institutions_get_response.rb +2 -2
  590. data/lib/plaid/models/institutions_search_account_filter.rb +2 -2
  591. data/lib/plaid/models/institutions_search_payment_initiation_options.rb +2 -2
  592. data/lib/plaid/models/institutions_search_request.rb +5 -5
  593. data/lib/plaid/models/institutions_search_request_options.rb +2 -2
  594. data/lib/plaid/models/institutions_search_response.rb +2 -2
  595. data/lib/plaid/models/investment_account_subtype.rb +2 -2
  596. data/lib/plaid/models/investment_filter.rb +2 -2
  597. data/lib/plaid/models/investment_holdings_get_request_options.rb +2 -2
  598. data/lib/plaid/models/investment_transaction.rb +24 -2
  599. data/lib/plaid/models/investment_transaction_subtype.rb +2 -2
  600. data/lib/plaid/models/investment_transaction_type.rb +2 -2
  601. data/lib/plaid/models/investments_auth_get_numbers.rb +2 -2
  602. data/lib/plaid/models/investments_auth_get_request.rb +2 -2
  603. data/lib/plaid/models/investments_auth_get_request_options.rb +2 -2
  604. data/lib/plaid/models/investments_auth_get_response.rb +2 -2
  605. data/lib/plaid/models/investments_auth_owner.rb +2 -2
  606. data/lib/plaid/models/investments_default_update_webhook.rb +24 -2
  607. data/lib/plaid/models/investments_historical_update_webhook.rb +24 -2
  608. data/lib/plaid/models/investments_holdings_get_request.rb +2 -2
  609. data/lib/plaid/models/investments_holdings_get_response.rb +2 -2
  610. data/lib/plaid/models/investments_refresh_request.rb +2 -2
  611. data/lib/plaid/models/investments_refresh_response.rb +2 -2
  612. data/lib/plaid/models/investments_transactions_get_request.rb +2 -2
  613. data/lib/plaid/models/investments_transactions_get_request_options.rb +2 -2
  614. data/lib/plaid/models/investments_transactions_get_response.rb +2 -2
  615. data/lib/plaid/models/investments_transactions_override.rb +2 -2
  616. data/lib/plaid/models/iso_currency_code.rb +2 -2
  617. data/lib/plaid/models/issuing_country.rb +2 -2
  618. data/lib/plaid/models/item.rb +2 -2
  619. data/lib/plaid/models/item_access_token_invalidate_request.rb +2 -2
  620. data/lib/plaid/models/item_access_token_invalidate_response.rb +2 -2
  621. data/lib/plaid/models/item_activity_list_request.rb +2 -2
  622. data/lib/plaid/models/item_activity_list_response.rb +2 -2
  623. data/lib/plaid/models/item_application_list_request.rb +2 -2
  624. data/lib/plaid/models/item_application_list_response.rb +2 -2
  625. data/lib/plaid/models/item_application_list_user_auth.rb +2 -2
  626. data/lib/plaid/models/item_application_scopes_update_request.rb +24 -2
  627. data/lib/plaid/models/item_application_scopes_update_response.rb +2 -2
  628. data/lib/plaid/models/item_application_unlink_request.rb +2 -2
  629. data/lib/plaid/models/item_application_unlink_response.rb +2 -2
  630. data/lib/plaid/models/item_error_webhook.rb +24 -2
  631. data/lib/plaid/models/item_get_request.rb +2 -2
  632. data/lib/plaid/models/item_get_response.rb +2 -2
  633. data/lib/plaid/models/item_import_request.rb +2 -2
  634. data/lib/plaid/models/item_import_request_options.rb +2 -2
  635. data/lib/plaid/models/item_import_request_user_auth.rb +2 -2
  636. data/lib/plaid/models/item_import_response.rb +2 -2
  637. data/lib/plaid/models/item_login_repaired_webhook.rb +24 -2
  638. data/lib/plaid/models/item_product_ready_webhook.rb +24 -2
  639. data/lib/plaid/models/item_public_token_create_request.rb +2 -2
  640. data/lib/plaid/models/item_public_token_create_response.rb +2 -2
  641. data/lib/plaid/models/item_public_token_exchange_request.rb +2 -2
  642. data/lib/plaid/models/item_public_token_exchange_response.rb +2 -2
  643. data/lib/plaid/models/item_remove_request.rb +2 -2
  644. data/lib/plaid/models/item_remove_response.rb +2 -2
  645. data/lib/plaid/models/item_status.rb +2 -2
  646. data/lib/plaid/models/item_status_investments.rb +2 -2
  647. data/lib/plaid/models/item_status_last_webhook.rb +2 -2
  648. data/lib/plaid/models/item_status_nullable.rb +2 -2
  649. data/lib/plaid/models/item_status_transactions.rb +2 -2
  650. data/lib/plaid/models/item_webhook_update_request.rb +2 -2
  651. data/lib/plaid/models/item_webhook_update_response.rb +2 -2
  652. data/lib/plaid/models/jwk_public_key.rb +2 -2
  653. data/lib/plaid/models/jwt_header.rb +2 -2
  654. data/lib/plaid/models/kyc_check_address_summary.rb +24 -2
  655. data/lib/plaid/models/kyc_check_date_of_birth_summary.rb +24 -2
  656. data/lib/plaid/models/kyc_check_details.rb +2 -2
  657. data/lib/plaid/models/kyc_check_id_number_summary.rb +24 -2
  658. data/lib/plaid/models/kyc_check_name_summary.rb +24 -2
  659. data/lib/plaid/models/kyc_check_phone_summary.rb +24 -2
  660. data/lib/plaid/models/last_data_access_times.rb +2 -2
  661. data/lib/plaid/models/liabilities_default_update_webhook.rb +24 -2
  662. data/lib/plaid/models/liabilities_get_request.rb +2 -2
  663. data/lib/plaid/models/liabilities_get_request_options.rb +2 -2
  664. data/lib/plaid/models/liabilities_get_response.rb +2 -2
  665. data/lib/plaid/models/liabilities_object.rb +2 -2
  666. data/lib/plaid/models/liability_override.rb +2 -2
  667. data/lib/plaid/models/link_callback_metadata.rb +25 -3
  668. data/lib/plaid/models/link_delivery_account.rb +24 -2
  669. data/lib/plaid/models/link_delivery_callback_webhook.rb +2 -2
  670. data/lib/plaid/models/link_delivery_communication_method.rb +24 -2
  671. data/lib/plaid/models/link_delivery_create_request.rb +2 -2
  672. data/lib/plaid/models/link_delivery_create_response.rb +2 -2
  673. data/lib/plaid/models/link_delivery_delivery_method.rb +2 -2
  674. data/lib/plaid/models/link_delivery_get_request.rb +2 -2
  675. data/lib/plaid/models/link_delivery_get_response.rb +24 -2
  676. data/lib/plaid/models/link_delivery_institution.rb +2 -2
  677. data/lib/plaid/models/link_delivery_metadata.rb +24 -2
  678. data/lib/plaid/models/link_delivery_options.rb +2 -2
  679. data/lib/plaid/models/link_delivery_recipient.rb +2 -2
  680. data/lib/plaid/models/link_delivery_session_status.rb +2 -2
  681. data/lib/plaid/models/link_delivery_verification_status.rb +5 -2
  682. data/lib/plaid/models/link_delivery_webhook_callback_type.rb +2 -2
  683. data/lib/plaid/models/link_delivery_webhook_communication_method.rb +2 -2
  684. data/lib/plaid/models/link_delivery_webhook_delivery_status.rb +2 -2
  685. data/lib/plaid/models/link_event.rb +20 -6
  686. data/lib/plaid/models/link_event_metadata.rb +2 -2
  687. data/lib/plaid/models/link_event_name.rb +2 -2
  688. data/lib/plaid/models/link_events_webhook.rb +2 -2
  689. data/lib/plaid/models/link_o_auth_correlation_id_exchange_request.rb +2 -2
  690. data/lib/plaid/models/link_o_auth_correlation_id_exchange_response.rb +2 -2
  691. data/lib/plaid/models/link_session_exit.rb +2 -2
  692. data/lib/plaid/models/link_session_exit_metadata.rb +2 -2
  693. data/lib/plaid/models/link_session_exit_metadata_institution.rb +2 -2
  694. data/lib/plaid/models/link_session_finished_webhook.rb +47 -11
  695. data/lib/plaid/models/link_session_success.rb +2 -2
  696. data/lib/plaid/models/link_session_success_metadata.rb +24 -2
  697. data/lib/plaid/models/link_session_success_metadata_account.rb +3 -3
  698. data/lib/plaid/models/link_session_success_metadata_institution.rb +2 -2
  699. data/lib/plaid/models/link_session_success_metadata_transfer_status.rb +2 -2
  700. data/lib/plaid/models/link_token_account_filters.rb +2 -2
  701. data/lib/plaid/models/link_token_create_card_switch.rb +226 -0
  702. data/lib/plaid/models/link_token_create_credit_filter.rb +2 -2
  703. data/lib/plaid/models/link_token_create_depository_filter.rb +2 -2
  704. data/lib/plaid/models/link_token_create_hosted_link.rb +42 -8
  705. data/lib/plaid/models/link_token_create_identity.rb +233 -0
  706. data/lib/plaid/models/link_token_create_institution_data.rb +3 -3
  707. data/lib/plaid/models/link_token_create_investment_filter.rb +2 -2
  708. data/lib/plaid/models/link_token_create_loan_filter.rb +2 -2
  709. data/lib/plaid/models/link_token_create_request.rb +65 -7
  710. data/lib/plaid/models/link_token_create_request_account_subtypes.rb +2 -2
  711. data/lib/plaid/models/link_token_create_request_auth.rb +13 -3
  712. data/lib/plaid/models/link_token_create_request_base_report.rb +2 -2
  713. data/lib/plaid/models/link_token_create_request_credit_partner_insights.rb +259 -0
  714. data/lib/plaid/models/link_token_create_request_deposit_switch.rb +2 -2
  715. data/lib/plaid/models/link_token_create_request_employment.rb +2 -2
  716. data/lib/plaid/models/link_token_create_request_employment_bank_income.rb +2 -2
  717. data/lib/plaid/models/link_token_create_request_identity_verification.rb +2 -3
  718. data/lib/plaid/models/link_token_create_request_income_verification.rb +2 -2
  719. data/lib/plaid/models/link_token_create_request_income_verification_bank_income.rb +2 -2
  720. data/lib/plaid/models/link_token_create_request_income_verification_payroll_income.rb +2 -2
  721. data/lib/plaid/models/link_token_create_request_payment_initiation.rb +2 -2
  722. data/lib/plaid/models/link_token_create_request_statements.rb +3 -3
  723. data/lib/plaid/models/link_token_create_request_transfer.rb +2 -2
  724. data/lib/plaid/models/link_token_create_request_update.rb +2 -2
  725. data/lib/plaid/models/link_token_create_request_user.rb +3 -3
  726. data/lib/plaid/models/link_token_create_request_user_address.rb +5 -13
  727. data/lib/plaid/models/link_token_create_request_user_id_number.rb +24 -2
  728. data/lib/plaid/models/link_token_create_request_user_name.rb +2 -2
  729. data/lib/plaid/models/link_token_create_request_user_stated_income_source.rb +24 -2
  730. data/lib/plaid/models/link_token_create_response.rb +3 -3
  731. data/lib/plaid/models/link_token_eu_config.rb +2 -2
  732. data/lib/plaid/models/link_token_get_metadata_response.rb +2 -2
  733. data/lib/plaid/models/link_token_get_request.rb +2 -2
  734. data/lib/plaid/models/link_token_get_response.rb +3 -3
  735. data/lib/plaid/models/link_token_get_sessions_response.rb +20 -8
  736. data/lib/plaid/models/link_token_investments.rb +2 -2
  737. data/lib/plaid/models/link_token_investments_auth.rb +2 -2
  738. data/lib/plaid/models/link_token_transactions.rb +249 -0
  739. data/lib/plaid/models/link_user_delivery_status_webhook.rb +3 -3
  740. data/lib/plaid/models/loan.rb +2 -2
  741. data/lib/plaid/models/loan_account_subtype.rb +2 -2
  742. data/lib/plaid/models/loan_filter.rb +2 -2
  743. data/lib/plaid/models/loan_identifier.rb +24 -2
  744. data/lib/plaid/models/loan_identifier_type.rb +2 -2
  745. data/lib/plaid/models/loan_identifiers.rb +2 -2
  746. data/lib/plaid/models/loans.rb +2 -2
  747. data/lib/plaid/models/location.rb +2 -2
  748. data/lib/plaid/models/match_summary.rb +24 -2
  749. data/lib/plaid/models/match_summary_code.rb +2 -2
  750. data/lib/plaid/models/merchant_insights.rb +2 -2
  751. data/lib/plaid/models/meta.rb +2 -2
  752. data/lib/plaid/models/mfa.rb +2 -2
  753. data/lib/plaid/models/mortgage_interest_rate.rb +2 -2
  754. data/lib/plaid/models/mortgage_liability.rb +2 -2
  755. data/lib/plaid/models/mortgage_property_address.rb +2 -2
  756. data/lib/plaid/models/multi_document_risk_signal.rb +2 -2
  757. data/lib/plaid/models/name_match_score.rb +2 -2
  758. data/lib/plaid/models/net_pay.rb +2 -2
  759. data/lib/plaid/models/new_accounts_available_webhook.rb +24 -2
  760. data/lib/plaid/models/numbers.rb +2 -2
  761. data/lib/plaid/models/numbers_acats.rb +2 -2
  762. data/lib/plaid/models/numbers_ach.rb +2 -2
  763. data/lib/plaid/models/numbers_ach_nullable.rb +2 -2
  764. data/lib/plaid/models/numbers_aton.rb +2 -2
  765. data/lib/plaid/models/numbers_bacs.rb +2 -2
  766. data/lib/plaid/models/numbers_bacs_nullable.rb +2 -2
  767. data/lib/plaid/models/numbers_eft.rb +2 -2
  768. data/lib/plaid/models/numbers_eft_nullable.rb +2 -2
  769. data/lib/plaid/models/numbers_iban_nullable.rb +2 -2
  770. data/lib/plaid/models/numbers_international.rb +2 -2
  771. data/lib/plaid/models/numbers_international_iban.rb +2 -2
  772. data/lib/plaid/models/numbers_international_nullable.rb +2 -2
  773. data/lib/plaid/models/omittable_transfer_type.rb +2 -2
  774. data/lib/plaid/models/option_contract.rb +271 -0
  775. data/lib/plaid/models/originator.rb +24 -2
  776. data/lib/plaid/models/originator_expected_transfer_frequency.rb +2 -2
  777. data/lib/plaid/models/other_account_subtype.rb +2 -2
  778. data/lib/plaid/models/other_filter.rb +2 -2
  779. data/lib/plaid/models/override_account_type.rb +2 -2
  780. data/lib/plaid/models/override_accounts.rb +24 -2
  781. data/lib/plaid/models/owner.rb +17 -6
  782. data/lib/plaid/models/owner_override.rb +2 -2
  783. data/lib/plaid/models/ownership_type.rb +2 -2
  784. data/lib/plaid/models/parties.rb +2 -2
  785. data/lib/plaid/models/partner_customer_create_request.rb +16 -6
  786. data/lib/plaid/models/partner_customer_create_response.rb +2 -2
  787. data/lib/plaid/models/partner_customer_enable_request.rb +2 -2
  788. data/lib/plaid/models/partner_customer_enable_response.rb +2 -2
  789. data/lib/plaid/models/partner_customer_get_request.rb +2 -2
  790. data/lib/plaid/models/partner_customer_get_response.rb +2 -2
  791. data/lib/plaid/models/partner_customer_o_auth_institutions_get_request.rb +2 -2
  792. data/lib/plaid/models/partner_customer_o_auth_institutions_get_response.rb +24 -2
  793. data/lib/plaid/models/partner_customer_remove_request.rb +2 -2
  794. data/lib/plaid/models/partner_customer_remove_response.rb +2 -2
  795. data/lib/plaid/models/partner_end_customer.rb +24 -2
  796. data/lib/plaid/models/partner_end_customer_address.rb +2 -2
  797. data/lib/plaid/models/partner_end_customer_assets_under_management.rb +2 -2
  798. data/lib/plaid/models/partner_end_customer_billing_contact.rb +2 -2
  799. data/lib/plaid/models/partner_end_customer_customer_support_info.rb +2 -2
  800. data/lib/plaid/models/partner_end_customer_flowdown_status.rb +2 -2
  801. data/lib/plaid/models/partner_end_customer_o_auth_institution.rb +2 -2
  802. data/lib/plaid/models/partner_end_customer_o_auth_institution_application_status.rb +2 -2
  803. data/lib/plaid/models/partner_end_customer_o_auth_institution_environments.rb +24 -2
  804. data/lib/plaid/models/partner_end_customer_o_auth_status_updated_values.rb +2 -2
  805. data/lib/plaid/models/partner_end_customer_o_auth_status_updated_webhook.rb +24 -2
  806. data/lib/plaid/models/partner_end_customer_questionnaire_status.rb +2 -2
  807. data/lib/plaid/models/partner_end_customer_secrets.rb +2 -2
  808. data/lib/plaid/models/partner_end_customer_status.rb +2 -2
  809. data/lib/plaid/models/partner_end_customer_technical_contact.rb +2 -2
  810. data/lib/plaid/models/partner_end_customer_with_secrets.rb +24 -2
  811. data/lib/plaid/models/partner_end_customer_with_secrets_all_of.rb +2 -2
  812. data/lib/plaid/models/party.rb +2 -2
  813. data/lib/plaid/models/party_individual.rb +2 -2
  814. data/lib/plaid/models/party_role_type.rb +2 -2
  815. data/lib/plaid/models/pay.rb +2 -2
  816. data/lib/plaid/models/pay_frequency.rb +24 -2
  817. data/lib/plaid/models/pay_frequency_value.rb +2 -2
  818. data/lib/plaid/models/pay_period_details.rb +3 -16
  819. data/lib/plaid/models/pay_period_details_pay_frequency.rb +43 -0
  820. data/lib/plaid/models/pay_stub_deductions_breakdown.rb +2 -2
  821. data/lib/plaid/models/pay_stub_deductions_total.rb +2 -2
  822. data/lib/plaid/models/pay_stub_distribution_breakdown.rb +2 -2
  823. data/lib/plaid/models/pay_stub_earnings_breakdown.rb +2 -2
  824. data/lib/plaid/models/pay_stub_earnings_total.rb +2 -2
  825. data/lib/plaid/models/pay_stub_pay_period_details.rb +24 -2
  826. data/lib/plaid/models/pay_stub_taxpayer_id.rb +2 -2
  827. data/lib/plaid/models/payment_amount.rb +24 -2
  828. data/lib/plaid/models/payment_amount_currency.rb +2 -2
  829. data/lib/plaid/models/payment_amount_nullable.rb +24 -2
  830. data/lib/plaid/models/payment_amount_refunded.rb +24 -2
  831. data/lib/plaid/models/payment_amount_to_refund.rb +24 -2
  832. data/lib/plaid/models/payment_channel.rb +2 -2
  833. data/lib/plaid/models/payment_consent_max_payment_amount.rb +24 -2
  834. data/lib/plaid/models/payment_consent_periodic_alignment.rb +2 -2
  835. data/lib/plaid/models/payment_consent_periodic_amount.rb +24 -2
  836. data/lib/plaid/models/payment_consent_periodic_amount_amount.rb +24 -2
  837. data/lib/plaid/models/payment_consent_periodic_interval.rb +2 -2
  838. data/lib/plaid/models/payment_consent_valid_date_time.rb +2 -2
  839. data/lib/plaid/models/payment_initiation_address.rb +2 -2
  840. data/lib/plaid/models/payment_initiation_consent.rb +24 -2
  841. data/lib/plaid/models/payment_initiation_consent_constraints.rb +2 -2
  842. data/lib/plaid/models/payment_initiation_consent_create_request.rb +2 -2
  843. data/lib/plaid/models/payment_initiation_consent_create_response.rb +24 -2
  844. data/lib/plaid/models/payment_initiation_consent_get_request.rb +2 -2
  845. data/lib/plaid/models/payment_initiation_consent_get_response.rb +24 -2
  846. data/lib/plaid/models/payment_initiation_consent_payment_execute_request.rb +52 -6
  847. data/lib/plaid/models/payment_initiation_consent_payment_execute_response.rb +24 -2
  848. data/lib/plaid/models/payment_initiation_consent_revoke_request.rb +2 -2
  849. data/lib/plaid/models/payment_initiation_consent_revoke_response.rb +2 -2
  850. data/lib/plaid/models/payment_initiation_consent_scope.rb +2 -2
  851. data/lib/plaid/models/payment_initiation_consent_status.rb +2 -2
  852. data/lib/plaid/models/payment_initiation_metadata.rb +2 -2
  853. data/lib/plaid/models/payment_initiation_optional_restriction_bacs.rb +2 -2
  854. data/lib/plaid/models/payment_initiation_payment.rb +24 -2
  855. data/lib/plaid/models/payment_initiation_payment_create_request.rb +3 -3
  856. data/lib/plaid/models/payment_initiation_payment_create_response.rb +24 -2
  857. data/lib/plaid/models/payment_initiation_payment_create_status.rb +2 -2
  858. data/lib/plaid/models/payment_initiation_payment_get_request.rb +2 -2
  859. data/lib/plaid/models/payment_initiation_payment_get_response.rb +24 -2
  860. data/lib/plaid/models/payment_initiation_payment_list_request.rb +2 -2
  861. data/lib/plaid/models/payment_initiation_payment_list_response.rb +2 -2
  862. data/lib/plaid/models/payment_initiation_payment_reverse_request.rb +2 -2
  863. data/lib/plaid/models/payment_initiation_payment_reverse_response.rb +24 -2
  864. data/lib/plaid/models/payment_initiation_payment_status.rb +2 -2
  865. data/lib/plaid/models/payment_initiation_payment_token_create_request.rb +2 -2
  866. data/lib/plaid/models/payment_initiation_payment_token_create_response.rb +2 -2
  867. data/lib/plaid/models/payment_initiation_recipient.rb +2 -2
  868. data/lib/plaid/models/payment_initiation_recipient_create_request.rb +2 -2
  869. data/lib/plaid/models/payment_initiation_recipient_create_response.rb +2 -2
  870. data/lib/plaid/models/payment_initiation_recipient_get_request.rb +2 -2
  871. data/lib/plaid/models/payment_initiation_recipient_get_response.rb +2 -2
  872. data/lib/plaid/models/payment_initiation_recipient_get_response_all_of.rb +2 -2
  873. data/lib/plaid/models/payment_initiation_recipient_list_request.rb +2 -2
  874. data/lib/plaid/models/payment_initiation_recipient_list_response.rb +2 -2
  875. data/lib/plaid/models/payment_initiation_standing_order_metadata.rb +2 -2
  876. data/lib/plaid/models/payment_meta.rb +2 -2
  877. data/lib/plaid/models/payment_profile_create_request.rb +2 -2
  878. data/lib/plaid/models/payment_profile_create_response.rb +2 -2
  879. data/lib/plaid/models/payment_profile_get_request.rb +2 -2
  880. data/lib/plaid/models/payment_profile_get_response.rb +24 -2
  881. data/lib/plaid/models/payment_profile_remove_request.rb +2 -2
  882. data/lib/plaid/models/payment_profile_remove_response.rb +2 -2
  883. data/lib/plaid/models/payment_profile_status.rb +2 -2
  884. data/lib/plaid/models/payment_schedule_interval.rb +2 -2
  885. data/lib/plaid/models/payment_scheme.rb +2 -2
  886. data/lib/plaid/models/payment_status_update_webhook.rb +24 -2
  887. data/lib/plaid/models/payroll_income_account_data.rb +2 -2
  888. data/lib/plaid/models/payroll_income_object.rb +2 -2
  889. data/lib/plaid/models/payroll_income_rate_of_pay.rb +2 -2
  890. data/lib/plaid/models/payroll_item.rb +2 -2
  891. data/lib/plaid/models/payroll_item_status.rb +2 -2
  892. data/lib/plaid/models/payroll_risk_signals_item.rb +2 -2
  893. data/lib/plaid/models/paystub.rb +2 -2
  894. data/lib/plaid/models/paystub_address.rb +2 -2
  895. data/lib/plaid/models/paystub_deduction.rb +2 -2
  896. data/lib/plaid/models/paystub_details.rb +24 -2
  897. data/lib/plaid/models/paystub_employer.rb +2 -2
  898. data/lib/plaid/models/paystub_override.rb +3 -3
  899. data/lib/plaid/models/paystub_override_distribution_breakdown.rb +277 -0
  900. data/lib/plaid/models/paystub_override_employee.rb +2 -2
  901. data/lib/plaid/models/paystub_override_employee_address.rb +2 -2
  902. data/lib/plaid/models/paystub_override_employer.rb +2 -2
  903. data/lib/plaid/models/paystub_override_pay_period_details.rb +320 -0
  904. data/lib/plaid/models/paystub_pay_frequency.rb +2 -2
  905. data/lib/plaid/models/paystub_ytd_details.rb +2 -2
  906. data/lib/plaid/models/pending_expiration_webhook.rb +24 -2
  907. data/lib/plaid/models/personal_finance_category.rb +2 -2
  908. data/lib/plaid/models/phone_number.rb +2 -2
  909. data/lib/plaid/models/phone_number_match_score.rb +2 -2
  910. data/lib/plaid/models/phone_type.rb +2 -2
  911. data/lib/plaid/models/physical_document_category.rb +2 -2
  912. data/lib/plaid/models/physical_document_extracted_data.rb +24 -2
  913. data/lib/plaid/models/physical_document_extracted_data_analysis.rb +24 -2
  914. data/lib/plaid/models/physical_document_images.rb +2 -2
  915. data/lib/plaid/models/plaid_error.rb +24 -2
  916. data/lib/plaid/models/plaid_error_type.rb +2 -2
  917. data/lib/plaid/models/platform_ids.rb +2 -2
  918. data/lib/plaid/models/po_box_status.rb +2 -2
  919. data/lib/plaid/models/prism_cash_score.rb +262 -0
  920. data/lib/plaid/models/prism_cash_score_metadata.rb +321 -0
  921. data/lib/plaid/models/prism_detect.rb +262 -0
  922. data/lib/plaid/models/prism_insights.rb +236 -0
  923. data/lib/plaid/models/prism_product.rb +39 -0
  924. data/lib/plaid/models/processor_account_get_request.rb +2 -2
  925. data/lib/plaid/models/processor_account_get_response.rb +2 -2
  926. data/lib/plaid/models/processor_apex_processor_token_create_request.rb +2 -2
  927. data/lib/plaid/models/processor_auth_get_request.rb +2 -2
  928. data/lib/plaid/models/processor_auth_get_response.rb +2 -2
  929. data/lib/plaid/models/processor_balance_get_request.rb +2 -2
  930. data/lib/plaid/models/processor_balance_get_request_options.rb +3 -3
  931. data/lib/plaid/models/processor_balance_get_response.rb +2 -2
  932. data/lib/plaid/models/processor_bank_transfer_create_request.rb +24 -2
  933. data/lib/plaid/models/processor_bank_transfer_create_response.rb +2 -2
  934. data/lib/plaid/models/processor_default_update_webhook.rb +24 -2
  935. data/lib/plaid/models/processor_historical_update_webhook.rb +24 -2
  936. data/lib/plaid/models/processor_identity_get_request.rb +2 -2
  937. data/lib/plaid/models/processor_identity_get_response.rb +2 -2
  938. data/lib/plaid/models/processor_identity_match_request.rb +2 -2
  939. data/lib/plaid/models/processor_identity_match_response.rb +2 -2
  940. data/lib/plaid/models/processor_initial_update_webhook.rb +24 -2
  941. data/lib/plaid/models/processor_liabilities_get_request.rb +246 -0
  942. data/lib/plaid/models/processor_liabilities_get_response.rb +254 -0
  943. data/lib/plaid/models/processor_number.rb +2 -2
  944. data/lib/plaid/models/processor_recurring_transactions_update_webhook.rb +24 -2
  945. data/lib/plaid/models/processor_signal_decision_report_request.rb +24 -2
  946. data/lib/plaid/models/processor_signal_decision_report_response.rb +2 -2
  947. data/lib/plaid/models/processor_signal_evaluate_request.rb +2 -2
  948. data/lib/plaid/models/processor_signal_evaluate_response.rb +2 -2
  949. data/lib/plaid/models/processor_signal_prepare_request.rb +2 -2
  950. data/lib/plaid/models/processor_signal_prepare_response.rb +2 -2
  951. data/lib/plaid/models/processor_signal_return_report_request.rb +2 -2
  952. data/lib/plaid/models/processor_signal_return_report_response.rb +2 -2
  953. data/lib/plaid/models/processor_stripe_bank_account_token_create_request.rb +2 -2
  954. data/lib/plaid/models/processor_stripe_bank_account_token_create_response.rb +2 -2
  955. data/lib/plaid/models/processor_sync_updates_available_webhook.rb +24 -2
  956. data/lib/plaid/models/processor_token_create_request.rb +4 -4
  957. data/lib/plaid/models/processor_token_create_response.rb +2 -2
  958. data/lib/plaid/models/processor_token_permissions_get_request.rb +2 -2
  959. data/lib/plaid/models/processor_token_permissions_get_response.rb +2 -2
  960. data/lib/plaid/models/processor_token_permissions_set_request.rb +2 -2
  961. data/lib/plaid/models/processor_token_permissions_set_response.rb +2 -2
  962. data/lib/plaid/models/processor_token_webhook_update.rb +24 -2
  963. data/lib/plaid/models/processor_token_webhook_update_request.rb +2 -2
  964. data/lib/plaid/models/processor_token_webhook_update_response.rb +2 -2
  965. data/lib/plaid/models/processor_transactions_get_request.rb +2 -2
  966. data/lib/plaid/models/processor_transactions_get_request_options.rb +2 -2
  967. data/lib/plaid/models/processor_transactions_get_response.rb +2 -2
  968. data/lib/plaid/models/processor_transactions_recurring_get_request.rb +2 -2
  969. data/lib/plaid/models/processor_transactions_recurring_get_response.rb +2 -2
  970. data/lib/plaid/models/processor_transactions_refresh_request.rb +2 -2
  971. data/lib/plaid/models/processor_transactions_refresh_response.rb +2 -2
  972. data/lib/plaid/models/processor_transactions_removed_webhook.rb +24 -2
  973. data/lib/plaid/models/processor_transactions_sync_request.rb +2 -2
  974. data/lib/plaid/models/processor_transactions_sync_response.rb +2 -2
  975. data/lib/plaid/models/product_access.rb +2 -2
  976. data/lib/plaid/models/product_permissions_required_auth_webhook.rb +24 -2
  977. data/lib/plaid/models/product_permissions_required_identity_webhook.rb +24 -2
  978. data/lib/plaid/models/product_status.rb +2 -2
  979. data/lib/plaid/models/product_status_breakdown.rb +2 -2
  980. data/lib/plaid/models/products.rb +5 -2
  981. data/lib/plaid/models/profile_get_request.rb +256 -0
  982. data/lib/plaid/models/{account_assets_all_of.rb → profile_get_response.rb} +38 -61
  983. data/lib/plaid/models/profile_identity.rb +275 -0
  984. data/lib/plaid/models/profile_identity_address.rb +276 -0
  985. data/lib/plaid/models/profile_identity_name.rb +229 -0
  986. data/lib/plaid/models/profile_item.rb +231 -0
  987. data/lib/plaid/models/program_name_sensitivity.rb +2 -2
  988. data/lib/plaid/models/projected_income_summary_field_number.rb +24 -2
  989. data/lib/plaid/models/proxy_type.rb +2 -2
  990. data/lib/plaid/models/pslf_status.rb +2 -2
  991. data/lib/plaid/models/recaptcha_required_error.rb +2 -2
  992. data/lib/plaid/models/recipient_bacs.rb +2 -2
  993. data/lib/plaid/models/recipient_bacs_nullable.rb +2 -2
  994. data/lib/plaid/models/recurrence.rb +24 -2
  995. data/lib/plaid/models/recurring_cancelled_webhook.rb +24 -2
  996. data/lib/plaid/models/recurring_frequency.rb +2 -2
  997. data/lib/plaid/models/recurring_insights_stream.rb +24 -2
  998. data/lib/plaid/models/recurring_new_transfer_webhook.rb +24 -2
  999. data/lib/plaid/models/recurring_transaction_frequency.rb +2 -2
  1000. data/lib/plaid/models/recurring_transactions.rb +2 -2
  1001. data/lib/plaid/models/recurring_transactions_update_webhook.rb +24 -2
  1002. data/lib/plaid/models/recurring_transfer.rb +24 -2
  1003. data/lib/plaid/models/recurring_transfer_nullable.rb +24 -2
  1004. data/lib/plaid/models/recurring_transfer_skipped_webhook.rb +24 -2
  1005. data/lib/plaid/models/removed_transaction.rb +2 -2
  1006. data/lib/plaid/models/report_type.rb +2 -2
  1007. data/lib/plaid/models/reporting_information.rb +2 -2
  1008. data/lib/plaid/models/risk_check_behavior.rb +24 -2
  1009. data/lib/plaid/models/risk_check_behavior_bot_detected_label.rb +2 -2
  1010. data/lib/plaid/models/risk_check_behavior_fraud_ring_detected_label.rb +2 -2
  1011. data/lib/plaid/models/risk_check_behavior_user_interactions_label.rb +2 -2
  1012. data/lib/plaid/models/risk_check_details.rb +24 -2
  1013. data/lib/plaid/models/risk_check_device.rb +24 -2
  1014. data/lib/plaid/models/risk_check_email.rb +24 -2
  1015. data/lib/plaid/models/risk_check_email_domain_is_custom.rb +2 -2
  1016. data/lib/plaid/models/risk_check_email_domain_is_disposable.rb +2 -2
  1017. data/lib/plaid/models/risk_check_email_domain_is_free_provider.rb +2 -2
  1018. data/lib/plaid/models/risk_check_email_is_deliverable_status.rb +2 -2
  1019. data/lib/plaid/models/risk_check_email_top_level_domain_is_suspicious.rb +2 -2
  1020. data/lib/plaid/models/risk_check_identity_abuse_signals.rb +2 -2
  1021. data/lib/plaid/models/risk_check_linked_service.rb +2 -2
  1022. data/lib/plaid/models/risk_check_phone.rb +2 -2
  1023. data/lib/plaid/models/risk_check_stolen_identity.rb +2 -2
  1024. data/lib/plaid/models/risk_check_synthetic_identity.rb +2 -2
  1025. data/lib/plaid/models/risk_profile.rb +231 -0
  1026. data/lib/plaid/models/risk_reason.rb +231 -0
  1027. data/lib/plaid/models/risk_signal_document_reference.rb +24 -2
  1028. data/lib/plaid/models/risk_signal_document_status.rb +2 -2
  1029. data/lib/plaid/models/role.rb +2 -2
  1030. data/lib/plaid/models/role_detail.rb +24 -2
  1031. data/lib/plaid/models/roles.rb +2 -2
  1032. data/lib/plaid/models/sandbox_bank_income_fire_webhook_request.rb +24 -2
  1033. data/lib/plaid/models/sandbox_bank_income_fire_webhook_response.rb +2 -2
  1034. data/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_code.rb +2 -2
  1035. data/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_fields.rb +24 -2
  1036. data/lib/plaid/models/sandbox_bank_transfer_fire_webhook_request.rb +2 -2
  1037. data/lib/plaid/models/sandbox_bank_transfer_fire_webhook_response.rb +2 -2
  1038. data/lib/plaid/models/sandbox_bank_transfer_simulate_request.rb +2 -2
  1039. data/lib/plaid/models/sandbox_bank_transfer_simulate_response.rb +2 -2
  1040. data/lib/plaid/models/sandbox_income_fire_webhook_request.rb +2 -2
  1041. data/lib/plaid/models/sandbox_income_fire_webhook_response.rb +2 -2
  1042. data/lib/plaid/models/sandbox_income_webhook_fire_request_webhook_code.rb +2 -2
  1043. data/lib/plaid/models/sandbox_item_fire_webhook_request.rb +2 -2
  1044. data/lib/plaid/models/sandbox_item_fire_webhook_response.rb +2 -2
  1045. data/lib/plaid/models/sandbox_item_reset_login_request.rb +2 -2
  1046. data/lib/plaid/models/sandbox_item_reset_login_response.rb +2 -2
  1047. data/lib/plaid/models/sandbox_item_set_verification_status_request.rb +2 -2
  1048. data/lib/plaid/models/sandbox_item_set_verification_status_response.rb +2 -2
  1049. data/lib/plaid/models/sandbox_oauth_select_accounts_request.rb +2 -2
  1050. data/lib/plaid/models/sandbox_payment_profile_reset_login_request.rb +2 -2
  1051. data/lib/plaid/models/sandbox_payment_profile_reset_login_response.rb +2 -2
  1052. data/lib/plaid/models/sandbox_processor_token_create_request.rb +2 -2
  1053. data/lib/plaid/models/sandbox_processor_token_create_request_options.rb +2 -2
  1054. data/lib/plaid/models/sandbox_processor_token_create_response.rb +2 -2
  1055. data/lib/plaid/models/sandbox_public_token_create_request.rb +2 -2
  1056. data/lib/plaid/models/sandbox_public_token_create_request_income_verification_bank_income.rb +2 -2
  1057. data/lib/plaid/models/sandbox_public_token_create_request_options.rb +2 -2
  1058. data/lib/plaid/models/sandbox_public_token_create_request_options_income_verification.rb +2 -2
  1059. data/lib/plaid/models/sandbox_public_token_create_request_options_transactions.rb +44 -6
  1060. data/lib/plaid/models/sandbox_public_token_create_response.rb +2 -2
  1061. data/lib/plaid/models/sandbox_transfer_fire_webhook_request.rb +2 -2
  1062. data/lib/plaid/models/sandbox_transfer_fire_webhook_response.rb +2 -2
  1063. data/lib/plaid/models/sandbox_transfer_ledger_deposit_simulate_request.rb +24 -2
  1064. data/lib/plaid/models/sandbox_transfer_ledger_deposit_simulate_response.rb +2 -2
  1065. data/lib/plaid/models/sandbox_transfer_ledger_simulate_available_request.rb +2 -2
  1066. data/lib/plaid/models/sandbox_transfer_ledger_simulate_available_response.rb +2 -2
  1067. data/lib/plaid/models/sandbox_transfer_ledger_withdraw_simulate_request.rb +24 -2
  1068. data/lib/plaid/models/sandbox_transfer_ledger_withdraw_simulate_response.rb +2 -2
  1069. data/lib/plaid/models/sandbox_transfer_refund_simulate_request.rb +2 -2
  1070. data/lib/plaid/models/sandbox_transfer_refund_simulate_response.rb +2 -2
  1071. data/lib/plaid/models/sandbox_transfer_repayment_simulate_request.rb +2 -2
  1072. data/lib/plaid/models/sandbox_transfer_repayment_simulate_response.rb +2 -2
  1073. data/lib/plaid/models/sandbox_transfer_simulate_request.rb +2 -2
  1074. data/lib/plaid/models/sandbox_transfer_simulate_response.rb +2 -2
  1075. data/lib/plaid/models/sandbox_transfer_sweep_simulate_request.rb +2 -2
  1076. data/lib/plaid/models/sandbox_transfer_sweep_simulate_response.rb +2 -2
  1077. data/lib/plaid/models/sandbox_transfer_test_clock_advance_request.rb +2 -2
  1078. data/lib/plaid/models/sandbox_transfer_test_clock_advance_response.rb +2 -2
  1079. data/lib/plaid/models/sandbox_transfer_test_clock_create_request.rb +2 -2
  1080. data/lib/plaid/models/sandbox_transfer_test_clock_create_response.rb +2 -2
  1081. data/lib/plaid/models/sandbox_transfer_test_clock_get_request.rb +2 -2
  1082. data/lib/plaid/models/sandbox_transfer_test_clock_get_response.rb +2 -2
  1083. data/lib/plaid/models/sandbox_transfer_test_clock_list_request.rb +2 -2
  1084. data/lib/plaid/models/sandbox_transfer_test_clock_list_response.rb +2 -2
  1085. data/lib/plaid/models/scopes.rb +2 -2
  1086. data/lib/plaid/models/scopes_context.rb +2 -2
  1087. data/lib/plaid/models/scopes_nullable.rb +2 -2
  1088. data/lib/plaid/models/screening_hit_analysis.rb +24 -2
  1089. data/lib/plaid/models/screening_hit_data.rb +2 -2
  1090. data/lib/plaid/models/screening_hit_date_of_birth_item.rb +2 -2
  1091. data/lib/plaid/models/screening_hit_documents_items.rb +2 -2
  1092. data/lib/plaid/models/screening_hit_names_items.rb +2 -2
  1093. data/lib/plaid/models/screening_status_updated_webhook.rb +24 -2
  1094. data/lib/plaid/models/security.rb +29 -8
  1095. data/lib/plaid/models/security_override.rb +2 -2
  1096. data/lib/plaid/models/selfie_analysis.rb +24 -2
  1097. data/lib/plaid/models/selfie_analysis_document_comparison.rb +2 -2
  1098. data/lib/plaid/models/selfie_capture.rb +2 -2
  1099. data/lib/plaid/models/selfie_check.rb +24 -2
  1100. data/lib/plaid/models/selfie_check_selfie.rb +24 -2
  1101. data/lib/plaid/models/selfie_check_status.rb +2 -2
  1102. data/lib/plaid/models/selfie_status.rb +2 -2
  1103. data/lib/plaid/models/sender_bacs_nullable.rb +2 -2
  1104. data/lib/plaid/models/service.rb +2 -2
  1105. data/lib/plaid/models/service_product_fulfillment.rb +2 -2
  1106. data/lib/plaid/models/service_product_fulfillment_detail.rb +24 -2
  1107. data/lib/plaid/models/service_product_fulfillment_identifier.rb +2 -2
  1108. data/lib/plaid/models/servicer_address_data.rb +2 -2
  1109. data/lib/plaid/models/services.rb +2 -2
  1110. data/lib/plaid/models/signal_address_data.rb +2 -2
  1111. data/lib/plaid/models/signal_decision_outcome.rb +2 -2
  1112. data/lib/plaid/models/signal_decision_report_request.rb +24 -2
  1113. data/lib/plaid/models/signal_decision_report_response.rb +2 -2
  1114. data/lib/plaid/models/signal_device.rb +3 -3
  1115. data/lib/plaid/models/signal_evaluate_core_attributes.rb +161 -7
  1116. data/lib/plaid/models/signal_evaluate_request.rb +43 -6
  1117. data/lib/plaid/models/signal_evaluate_response.rb +13 -3
  1118. data/lib/plaid/models/signal_payment_method.rb +2 -2
  1119. data/lib/plaid/models/signal_person_name.rb +2 -2
  1120. data/lib/plaid/models/signal_prepare_request.rb +2 -2
  1121. data/lib/plaid/models/signal_prepare_response.rb +2 -2
  1122. data/lib/plaid/models/signal_return_report_request.rb +2 -2
  1123. data/lib/plaid/models/signal_return_report_response.rb +2 -2
  1124. data/lib/plaid/models/signal_scores.rb +2 -2
  1125. data/lib/plaid/models/signal_user.rb +3 -3
  1126. data/lib/plaid/models/signal_warning.rb +2 -2
  1127. data/lib/plaid/models/simulated_transfer_sweep.rb +25 -3
  1128. data/lib/plaid/models/single_document_risk_signal.rb +2 -2
  1129. data/lib/plaid/models/source.rb +2 -2
  1130. data/lib/plaid/models/standalone_account_type.rb +2 -2
  1131. data/lib/plaid/models/standalone_currency_code_list.rb +2 -2
  1132. data/lib/plaid/models/standalone_investment_transaction_type.rb +2 -2
  1133. data/lib/plaid/models/statements_account.rb +49 -4
  1134. data/lib/plaid/models/statements_download_request.rb +2 -2
  1135. data/lib/plaid/models/statements_list_request.rb +2 -2
  1136. data/lib/plaid/models/statements_list_response.rb +2 -2
  1137. data/lib/plaid/models/statements_refresh_complete_result.rb +39 -0
  1138. data/lib/plaid/models/statements_refresh_complete_webhook.rb +306 -0
  1139. data/lib/plaid/models/statements_refresh_request.rb +276 -0
  1140. data/lib/plaid/models/statements_refresh_response.rb +226 -0
  1141. data/lib/plaid/models/statements_statement.rb +2 -2
  1142. data/lib/plaid/models/status.rb +2 -2
  1143. data/lib/plaid/models/statuses.rb +2 -2
  1144. data/lib/plaid/models/strategy.rb +2 -2
  1145. data/lib/plaid/models/student_loan.rb +2 -2
  1146. data/lib/plaid/models/student_loan_repayment_model.rb +2 -2
  1147. data/lib/plaid/models/student_loan_status.rb +4 -4
  1148. data/lib/plaid/models/student_repayment_plan.rb +2 -2
  1149. data/lib/plaid/models/sweep_status.rb +2 -2
  1150. data/lib/plaid/models/sweep_trigger.rb +2 -2
  1151. data/lib/plaid/models/sync_updates_available_webhook.rb +26 -4
  1152. data/lib/plaid/models/taxform.rb +2 -2
  1153. data/lib/plaid/models/taxpayer_id.rb +2 -2
  1154. data/lib/plaid/models/taxpayer_identifier.rb +24 -2
  1155. data/lib/plaid/models/taxpayer_identifier_type.rb +2 -2
  1156. data/lib/plaid/models/taxpayer_identifiers.rb +2 -2
  1157. data/lib/plaid/models/total.rb +24 -2
  1158. data/lib/plaid/models/total_canonical_description.rb +2 -2
  1159. data/lib/plaid/models/transaction.rb +2 -2
  1160. data/lib/plaid/models/transaction_all_of.rb +2 -2
  1161. data/lib/plaid/models/transaction_base.rb +2 -2
  1162. data/lib/plaid/models/transaction_code.rb +2 -2
  1163. data/lib/plaid/models/transaction_counterparty.rb +24 -2
  1164. data/lib/plaid/models/transaction_data.rb +2 -2
  1165. data/lib/plaid/models/transaction_override.rb +2 -2
  1166. data/lib/plaid/models/transaction_stream.rb +32 -10
  1167. data/lib/plaid/models/transaction_stream_amount.rb +2 -2
  1168. data/lib/plaid/models/transaction_stream_status.rb +2 -2
  1169. data/lib/plaid/models/transactions_category_rule.rb +2 -2
  1170. data/lib/plaid/models/transactions_enhance_get_request.rb +2 -2
  1171. data/lib/plaid/models/transactions_enhance_get_response.rb +2 -2
  1172. data/lib/plaid/models/transactions_enrich_request.rb +2 -2
  1173. data/lib/plaid/models/transactions_enrich_request_options.rb +2 -2
  1174. data/lib/plaid/models/transactions_enrich_response.rb +2 -2
  1175. data/lib/plaid/models/transactions_get_request.rb +2 -2
  1176. data/lib/plaid/models/transactions_get_request_options.rb +44 -6
  1177. data/lib/plaid/models/transactions_get_response.rb +2 -2
  1178. data/lib/plaid/models/transactions_recurring_create_input.rb +2 -2
  1179. data/lib/plaid/models/transactions_recurring_create_request.rb +2 -2
  1180. data/lib/plaid/models/transactions_recurring_create_response.rb +2 -2
  1181. data/lib/plaid/models/transactions_recurring_get_request.rb +2 -2
  1182. data/lib/plaid/models/transactions_recurring_get_request_options.rb +2 -2
  1183. data/lib/plaid/models/transactions_recurring_get_response.rb +2 -2
  1184. data/lib/plaid/models/transactions_recurring_merge_input.rb +2 -2
  1185. data/lib/plaid/models/transactions_recurring_merge_request.rb +2 -2
  1186. data/lib/plaid/models/transactions_recurring_merge_response.rb +2 -2
  1187. data/lib/plaid/models/transactions_recurring_update_input.rb +2 -2
  1188. data/lib/plaid/models/transactions_recurring_update_request.rb +2 -2
  1189. data/lib/plaid/models/transactions_recurring_update_response.rb +2 -2
  1190. data/lib/plaid/models/transactions_refresh_request.rb +2 -2
  1191. data/lib/plaid/models/transactions_refresh_response.rb +2 -2
  1192. data/lib/plaid/models/transactions_removed_webhook.rb +24 -2
  1193. data/lib/plaid/models/transactions_rule_details.rb +24 -2
  1194. data/lib/plaid/models/transactions_rule_field.rb +2 -2
  1195. data/lib/plaid/models/transactions_rule_type.rb +2 -2
  1196. data/lib/plaid/models/transactions_rules_create_request.rb +2 -2
  1197. data/lib/plaid/models/transactions_rules_create_response.rb +2 -2
  1198. data/lib/plaid/models/transactions_rules_list_request.rb +2 -2
  1199. data/lib/plaid/models/transactions_rules_list_response.rb +2 -2
  1200. data/lib/plaid/models/transactions_rules_remove_request.rb +2 -2
  1201. data/lib/plaid/models/transactions_rules_remove_response.rb +2 -2
  1202. data/lib/plaid/models/transactions_sync_request.rb +3 -3
  1203. data/lib/plaid/models/transactions_sync_request_options.rb +44 -6
  1204. data/lib/plaid/models/transactions_sync_response.rb +2 -2
  1205. data/lib/plaid/models/transactions_user_insights_get_request.rb +2 -2
  1206. data/lib/plaid/models/transactions_user_insights_get_response.rb +2 -2
  1207. data/lib/plaid/models/transfer.rb +41 -5
  1208. data/lib/plaid/models/transfer_ach_network.rb +2 -2
  1209. data/lib/plaid/models/transfer_authorization.rb +24 -2
  1210. data/lib/plaid/models/transfer_authorization_create_request.rb +35 -4
  1211. data/lib/plaid/models/transfer_authorization_create_response.rb +2 -2
  1212. data/lib/plaid/models/transfer_authorization_decision.rb +2 -2
  1213. data/lib/plaid/models/transfer_authorization_decision_rationale.rb +24 -2
  1214. data/lib/plaid/models/transfer_authorization_decision_rationale_code.rb +2 -2
  1215. data/lib/plaid/models/transfer_authorization_device.rb +2 -2
  1216. data/lib/plaid/models/transfer_authorization_guarantee_decision.rb +2 -2
  1217. data/lib/plaid/models/transfer_authorization_guarantee_decision_rationale.rb +24 -2
  1218. data/lib/plaid/models/transfer_authorization_guarantee_decision_rationale_code.rb +2 -2
  1219. data/lib/plaid/models/transfer_authorization_payment_risk.rb +24 -2
  1220. data/lib/plaid/models/transfer_authorization_proposed_transfer.rb +40 -4
  1221. data/lib/plaid/models/transfer_authorization_risk_level.rb +2 -2
  1222. data/lib/plaid/models/transfer_authorization_user_in_request.rb +2 -2
  1223. data/lib/plaid/models/transfer_balance.rb +24 -2
  1224. data/lib/plaid/models/transfer_balance_get_request.rb +24 -2
  1225. data/lib/plaid/models/transfer_balance_get_response.rb +2 -2
  1226. data/lib/plaid/models/transfer_balance_type.rb +2 -2
  1227. data/lib/plaid/models/transfer_cancel_request.rb +2 -2
  1228. data/lib/plaid/models/transfer_cancel_response.rb +2 -2
  1229. data/lib/plaid/models/transfer_capabilities_get_request.rb +2 -2
  1230. data/lib/plaid/models/transfer_capabilities_get_response.rb +2 -2
  1231. data/lib/plaid/models/transfer_capabilities_get_rtp.rb +2 -2
  1232. data/lib/plaid/models/transfer_configuration_get_request.rb +2 -2
  1233. data/lib/plaid/models/transfer_configuration_get_response.rb +2 -2
  1234. data/lib/plaid/models/transfer_create_request.rb +3 -3
  1235. data/lib/plaid/models/transfer_create_response.rb +2 -2
  1236. data/lib/plaid/models/transfer_credit_funds_source.rb +2 -2
  1237. data/lib/plaid/models/transfer_credit_usage_configuration.rb +24 -2
  1238. data/lib/plaid/models/transfer_debit_usage_configuration.rb +24 -2
  1239. data/lib/plaid/models/transfer_device.rb +2 -2
  1240. data/lib/plaid/models/transfer_diligence_document_upload_request.rb +24 -2
  1241. data/lib/plaid/models/transfer_diligence_document_upload_response.rb +2 -2
  1242. data/lib/plaid/models/transfer_diligence_status.rb +2 -2
  1243. data/lib/plaid/models/transfer_diligence_submit_request.rb +2 -2
  1244. data/lib/plaid/models/transfer_diligence_submit_response.rb +2 -2
  1245. data/lib/plaid/models/transfer_document_purpose.rb +2 -2
  1246. data/lib/plaid/models/transfer_event.rb +24 -2
  1247. data/lib/plaid/models/transfer_event_list_request.rb +24 -2
  1248. data/lib/plaid/models/transfer_event_list_response.rb +2 -2
  1249. data/lib/plaid/models/transfer_event_list_transfer_type.rb +2 -2
  1250. data/lib/plaid/models/transfer_event_sync_request.rb +2 -2
  1251. data/lib/plaid/models/transfer_event_sync_response.rb +2 -2
  1252. data/lib/plaid/models/transfer_event_type.rb +2 -2
  1253. data/lib/plaid/models/transfer_events_update_webhook.rb +24 -2
  1254. data/lib/plaid/models/transfer_expected_sweep_settlement_schedule_item.rb +2 -2
  1255. data/lib/plaid/models/transfer_failure.rb +2 -2
  1256. data/lib/plaid/models/transfer_funding_account.rb +2 -2
  1257. data/lib/plaid/models/transfer_get_request.rb +2 -2
  1258. data/lib/plaid/models/transfer_get_response.rb +2 -2
  1259. data/lib/plaid/models/transfer_intent_authorization_decision.rb +2 -2
  1260. data/lib/plaid/models/transfer_intent_create.rb +24 -2
  1261. data/lib/plaid/models/transfer_intent_create_mode.rb +2 -2
  1262. data/lib/plaid/models/transfer_intent_create_network.rb +2 -2
  1263. data/lib/plaid/models/transfer_intent_create_request.rb +31 -9
  1264. data/lib/plaid/models/transfer_intent_create_response.rb +2 -2
  1265. data/lib/plaid/models/transfer_intent_get.rb +24 -2
  1266. data/lib/plaid/models/transfer_intent_get_failure_reason.rb +2 -2
  1267. data/lib/plaid/models/transfer_intent_get_request.rb +2 -2
  1268. data/lib/plaid/models/transfer_intent_get_response.rb +2 -2
  1269. data/lib/plaid/models/transfer_intent_status.rb +2 -2
  1270. data/lib/plaid/models/transfer_ledger_balance.rb +2 -2
  1271. data/lib/plaid/models/transfer_ledger_deposit_request.rb +24 -2
  1272. data/lib/plaid/models/transfer_ledger_deposit_response.rb +2 -2
  1273. data/lib/plaid/models/transfer_ledger_distribute_request.rb +2 -2
  1274. data/lib/plaid/models/transfer_ledger_distribute_response.rb +2 -2
  1275. data/lib/plaid/models/transfer_ledger_get_request.rb +2 -2
  1276. data/lib/plaid/models/transfer_ledger_get_response.rb +2 -2
  1277. data/lib/plaid/models/transfer_ledger_sweep_simulate_event_type.rb +2 -2
  1278. data/lib/plaid/models/transfer_ledger_withdraw_request.rb +24 -2
  1279. data/lib/plaid/models/transfer_ledger_withdraw_response.rb +2 -2
  1280. data/lib/plaid/models/transfer_list_request.rb +2 -2
  1281. data/lib/plaid/models/transfer_list_response.rb +2 -2
  1282. data/lib/plaid/models/transfer_metrics_get_request.rb +2 -2
  1283. data/lib/plaid/models/transfer_metrics_get_response.rb +2 -2
  1284. data/lib/plaid/models/transfer_migrate_account_request.rb +3 -3
  1285. data/lib/plaid/models/transfer_migrate_account_response.rb +2 -2
  1286. data/lib/plaid/models/transfer_network.rb +3 -2
  1287. data/lib/plaid/models/transfer_originator_address.rb +2 -2
  1288. data/lib/plaid/models/transfer_originator_create_request.rb +2 -2
  1289. data/lib/plaid/models/transfer_originator_create_response.rb +2 -2
  1290. data/lib/plaid/models/transfer_originator_diligence.rb +2 -2
  1291. data/lib/plaid/models/transfer_originator_funding_account_update_request.rb +2 -2
  1292. data/lib/plaid/models/transfer_originator_funding_account_update_response.rb +2 -2
  1293. data/lib/plaid/models/transfer_originator_get_request.rb +2 -2
  1294. data/lib/plaid/models/transfer_originator_get_response.rb +2 -2
  1295. data/lib/plaid/models/transfer_originator_list_request.rb +2 -2
  1296. data/lib/plaid/models/transfer_originator_list_response.rb +2 -2
  1297. data/lib/plaid/models/transfer_questionnaire_create_request.rb +2 -2
  1298. data/lib/plaid/models/transfer_questionnaire_create_response.rb +2 -2
  1299. data/lib/plaid/models/transfer_recurring_cancel_request.rb +2 -2
  1300. data/lib/plaid/models/transfer_recurring_cancel_response.rb +2 -2
  1301. data/lib/plaid/models/transfer_recurring_create_request.rb +24 -2
  1302. data/lib/plaid/models/transfer_recurring_create_response.rb +24 -2
  1303. data/lib/plaid/models/transfer_recurring_get_request.rb +2 -2
  1304. data/lib/plaid/models/transfer_recurring_get_response.rb +2 -2
  1305. data/lib/plaid/models/transfer_recurring_list_request.rb +2 -2
  1306. data/lib/plaid/models/transfer_recurring_list_response.rb +2 -2
  1307. data/lib/plaid/models/transfer_recurring_schedule.rb +24 -2
  1308. data/lib/plaid/models/transfer_recurring_status.rb +2 -2
  1309. data/lib/plaid/models/transfer_refund.rb +25 -3
  1310. data/lib/plaid/models/transfer_refund_cancel_request.rb +2 -2
  1311. data/lib/plaid/models/transfer_refund_cancel_response.rb +2 -2
  1312. data/lib/plaid/models/transfer_refund_create_request.rb +2 -2
  1313. data/lib/plaid/models/transfer_refund_create_response.rb +2 -2
  1314. data/lib/plaid/models/transfer_refund_failure.rb +2 -2
  1315. data/lib/plaid/models/transfer_refund_get_request.rb +2 -2
  1316. data/lib/plaid/models/transfer_refund_get_response.rb +2 -2
  1317. data/lib/plaid/models/transfer_refund_status.rb +2 -2
  1318. data/lib/plaid/models/transfer_repayment.rb +2 -2
  1319. data/lib/plaid/models/transfer_repayment_list_request.rb +2 -2
  1320. data/lib/plaid/models/transfer_repayment_list_response.rb +2 -2
  1321. data/lib/plaid/models/transfer_repayment_return.rb +2 -2
  1322. data/lib/plaid/models/transfer_repayment_return_list_request.rb +2 -2
  1323. data/lib/plaid/models/transfer_repayment_return_list_response.rb +2 -2
  1324. data/lib/plaid/models/transfer_schedule_interval_unit.rb +2 -2
  1325. data/lib/plaid/models/transfer_status.rb +2 -2
  1326. data/lib/plaid/models/transfer_sweep.rb +25 -3
  1327. data/lib/plaid/models/transfer_sweep_get_request.rb +2 -2
  1328. data/lib/plaid/models/transfer_sweep_get_response.rb +2 -2
  1329. data/lib/plaid/models/transfer_sweep_list_request.rb +24 -2
  1330. data/lib/plaid/models/transfer_sweep_list_response.rb +2 -2
  1331. data/lib/plaid/models/transfer_sweep_status.rb +2 -2
  1332. data/lib/plaid/models/transfer_test_clock.rb +2 -2
  1333. data/lib/plaid/models/transfer_type.rb +2 -2
  1334. data/lib/plaid/models/transfer_user_address_in_request.rb +2 -2
  1335. data/lib/plaid/models/transfer_user_address_in_response.rb +2 -2
  1336. data/lib/plaid/models/transfer_user_in_request.rb +2 -2
  1337. data/lib/plaid/models/transfer_user_in_request_deprecated.rb +2 -2
  1338. data/lib/plaid/models/transfer_user_in_response.rb +2 -2
  1339. data/lib/plaid/models/transfer_wire_details.rb +222 -0
  1340. data/lib/plaid/models/update_entity_screening_request_search_terms.rb +2 -2
  1341. data/lib/plaid/models/update_individual_screening_request_search_terms.rb +2 -2
  1342. data/lib/plaid/models/user_account_revoked_webhook.rb +317 -0
  1343. data/lib/plaid/models/user_address.rb +6 -14
  1344. data/lib/plaid/models/user_create_request.rb +2 -2
  1345. data/lib/plaid/models/user_create_response.rb +2 -2
  1346. data/lib/plaid/models/user_custom_password.rb +2 -2
  1347. data/lib/plaid/models/user_data_overview.rb +2 -2
  1348. data/lib/plaid/models/user_id_number.rb +24 -2
  1349. data/lib/plaid/models/user_permission_revoked_webhook.rb +25 -3
  1350. data/lib/plaid/models/user_stated_income_source_category.rb +2 -2
  1351. data/lib/plaid/models/user_stated_income_source_frequency.rb +2 -2
  1352. data/lib/plaid/models/user_stated_income_source_pay_type.rb +2 -2
  1353. data/lib/plaid/models/user_update_request.rb +2 -2
  1354. data/lib/plaid/models/user_update_response.rb +2 -2
  1355. data/lib/plaid/models/validation_source.rb +2 -2
  1356. data/lib/plaid/models/validation_sources.rb +2 -2
  1357. data/lib/plaid/models/verification_expired_webhook.rb +24 -2
  1358. data/lib/plaid/models/verification_of_asset.rb +2 -2
  1359. data/lib/plaid/models/verification_of_asset_response.rb +2 -2
  1360. data/lib/plaid/models/verification_refresh_status.rb +2 -2
  1361. data/lib/plaid/models/verification_status.rb +2 -2
  1362. data/lib/plaid/models/w2.rb +2 -2
  1363. data/lib/plaid/models/w2_box12.rb +2 -2
  1364. data/lib/plaid/models/w2_state_and_local_wages.rb +2 -2
  1365. data/lib/plaid/models/wallet.rb +24 -2
  1366. data/lib/plaid/models/wallet_balance.rb +21 -6
  1367. data/lib/plaid/models/wallet_create_request.rb +24 -2
  1368. data/lib/plaid/models/wallet_create_response.rb +24 -2
  1369. data/lib/plaid/models/wallet_get_request.rb +2 -2
  1370. data/lib/plaid/models/wallet_get_response.rb +24 -2
  1371. data/lib/plaid/models/wallet_iso_currency_code.rb +2 -2
  1372. data/lib/plaid/models/wallet_list_request.rb +24 -2
  1373. data/lib/plaid/models/wallet_list_response.rb +2 -2
  1374. data/lib/plaid/models/wallet_numbers.rb +2 -2
  1375. data/lib/plaid/models/wallet_payment_scheme.rb +2 -2
  1376. data/lib/plaid/models/wallet_status.rb +2 -2
  1377. data/lib/plaid/models/wallet_transaction.rb +2 -2
  1378. data/lib/plaid/models/wallet_transaction_amount.rb +24 -2
  1379. data/lib/plaid/models/wallet_transaction_counterparty.rb +2 -2
  1380. data/lib/plaid/models/wallet_transaction_counterparty_bacs.rb +2 -2
  1381. data/lib/plaid/models/wallet_transaction_counterparty_international.rb +2 -2
  1382. data/lib/plaid/models/wallet_transaction_counterparty_numbers.rb +2 -2
  1383. data/lib/plaid/models/wallet_transaction_execute_request.rb +2 -2
  1384. data/lib/plaid/models/wallet_transaction_execute_response.rb +24 -2
  1385. data/lib/plaid/models/wallet_transaction_failure_reason.rb +2 -2
  1386. data/lib/plaid/models/wallet_transaction_get_request.rb +2 -2
  1387. data/lib/plaid/models/wallet_transaction_get_response.rb +2 -2
  1388. data/lib/plaid/models/wallet_transaction_list_request.rb +2 -2
  1389. data/lib/plaid/models/wallet_transaction_list_request_options.rb +2 -2
  1390. data/lib/plaid/models/wallet_transaction_list_response.rb +2 -2
  1391. data/lib/plaid/models/wallet_transaction_status.rb +2 -2
  1392. data/lib/plaid/models/wallet_transaction_status_update_webhook.rb +24 -2
  1393. data/lib/plaid/models/wallet_transactions_list_request.rb +2 -2
  1394. data/lib/plaid/models/warning.rb +2 -2
  1395. data/lib/plaid/models/watchlist_screening_audit_trail.rb +24 -2
  1396. data/lib/plaid/models/watchlist_screening_document.rb +24 -2
  1397. data/lib/plaid/models/watchlist_screening_document_type.rb +2 -2
  1398. data/lib/plaid/models/watchlist_screening_entity_create_request.rb +2 -2
  1399. data/lib/plaid/models/watchlist_screening_entity_create_response.rb +24 -2
  1400. data/lib/plaid/models/watchlist_screening_entity_get_request.rb +2 -2
  1401. data/lib/plaid/models/watchlist_screening_entity_get_response.rb +24 -2
  1402. data/lib/plaid/models/watchlist_screening_entity_history_list_request.rb +2 -2
  1403. data/lib/plaid/models/watchlist_screening_entity_history_list_response.rb +2 -2
  1404. data/lib/plaid/models/watchlist_screening_entity_hit_list_request.rb +2 -2
  1405. data/lib/plaid/models/watchlist_screening_entity_hit_list_response.rb +2 -2
  1406. data/lib/plaid/models/watchlist_screening_entity_list_request.rb +24 -2
  1407. data/lib/plaid/models/watchlist_screening_entity_list_response.rb +2 -2
  1408. data/lib/plaid/models/watchlist_screening_entity_program_get_request.rb +2 -2
  1409. data/lib/plaid/models/watchlist_screening_entity_program_get_response.rb +24 -2
  1410. data/lib/plaid/models/watchlist_screening_entity_program_list_request.rb +2 -2
  1411. data/lib/plaid/models/watchlist_screening_entity_program_list_response.rb +2 -2
  1412. data/lib/plaid/models/watchlist_screening_entity_review_create_request.rb +2 -2
  1413. data/lib/plaid/models/watchlist_screening_entity_review_create_response.rb +2 -2
  1414. data/lib/plaid/models/watchlist_screening_entity_review_list_request.rb +2 -2
  1415. data/lib/plaid/models/watchlist_screening_entity_review_list_response.rb +2 -2
  1416. data/lib/plaid/models/watchlist_screening_entity_update_request.rb +24 -2
  1417. data/lib/plaid/models/watchlist_screening_entity_update_request_resettable_field.rb +2 -2
  1418. data/lib/plaid/models/watchlist_screening_entity_update_response.rb +24 -2
  1419. data/lib/plaid/models/watchlist_screening_hit.rb +24 -2
  1420. data/lib/plaid/models/watchlist_screening_hit_locations.rb +2 -2
  1421. data/lib/plaid/models/watchlist_screening_hit_status.rb +2 -2
  1422. data/lib/plaid/models/watchlist_screening_individual.rb +24 -2
  1423. data/lib/plaid/models/watchlist_screening_individual_create_request.rb +2 -2
  1424. data/lib/plaid/models/watchlist_screening_individual_create_response.rb +24 -2
  1425. data/lib/plaid/models/watchlist_screening_individual_get_request.rb +2 -2
  1426. data/lib/plaid/models/watchlist_screening_individual_get_response.rb +24 -2
  1427. data/lib/plaid/models/watchlist_screening_individual_history_list_request.rb +2 -2
  1428. data/lib/plaid/models/watchlist_screening_individual_history_list_response.rb +2 -2
  1429. data/lib/plaid/models/watchlist_screening_individual_hit_list_request.rb +2 -2
  1430. data/lib/plaid/models/watchlist_screening_individual_hit_list_response.rb +2 -2
  1431. data/lib/plaid/models/watchlist_screening_individual_list_request.rb +24 -2
  1432. data/lib/plaid/models/watchlist_screening_individual_list_response.rb +2 -2
  1433. data/lib/plaid/models/watchlist_screening_individual_program_get_request.rb +2 -2
  1434. data/lib/plaid/models/watchlist_screening_individual_program_get_response.rb +24 -2
  1435. data/lib/plaid/models/watchlist_screening_individual_program_list_request.rb +2 -2
  1436. data/lib/plaid/models/watchlist_screening_individual_program_list_response.rb +2 -2
  1437. data/lib/plaid/models/watchlist_screening_individual_review_create_request.rb +2 -2
  1438. data/lib/plaid/models/watchlist_screening_individual_review_create_response.rb +2 -2
  1439. data/lib/plaid/models/watchlist_screening_individual_review_list_request.rb +2 -2
  1440. data/lib/plaid/models/watchlist_screening_individual_review_list_response.rb +2 -2
  1441. data/lib/plaid/models/watchlist_screening_individual_update_request.rb +24 -2
  1442. data/lib/plaid/models/watchlist_screening_individual_update_request_resettable_field.rb +2 -2
  1443. data/lib/plaid/models/watchlist_screening_individual_update_response.rb +24 -2
  1444. data/lib/plaid/models/watchlist_screening_request_search_terms.rb +2 -2
  1445. data/lib/plaid/models/watchlist_screening_review.rb +2 -2
  1446. data/lib/plaid/models/watchlist_screening_search_terms.rb +2 -2
  1447. data/lib/plaid/models/watchlist_screening_status.rb +2 -2
  1448. data/lib/plaid/models/weak_alias_determination.rb +2 -2
  1449. data/lib/plaid/models/webhook_environment_values.rb +2 -2
  1450. data/lib/plaid/models/webhook_type.rb +2 -2
  1451. data/lib/plaid/models/webhook_update_acknowledged_webhook.rb +24 -2
  1452. data/lib/plaid/models/webhook_verification_key_get_request.rb +2 -2
  1453. data/lib/plaid/models/webhook_verification_key_get_response.rb +2 -2
  1454. data/lib/plaid/models/ytd_gross_income_summary_field_number.rb +24 -2
  1455. data/lib/plaid/models/ytd_net_income_summary_field_number.rb +24 -2
  1456. data/lib/plaid/version.rb +3 -3
  1457. data/lib/plaid.rb +75 -3
  1458. data/plaid.gemspec +2 -2
  1459. data/templates/ruby/api_client.mustache +5 -0
  1460. data/templates/ruby/api_client_faraday_partial.mustache +4 -2
  1461. data/templates/ruby/api_error.mustache +2 -1
  1462. data/templates/ruby/configuration.mustache +14 -2
  1463. data/templates/ruby/gemspec.mustache +1 -1
  1464. data/test/test_api_client.rb +28 -1
  1465. data/test/test_helper.rb +12 -3
  1466. metadata +75 -3
@@ -0,0 +1,226 @@
1
+ =begin
2
+ #The Plaid API
3
+
4
+ #The Plaid REST API. Please see https://plaid.com/docs/api for more details.
5
+
6
+ The version of the OpenAPI document: 2020-09-14_1.496.2
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.3.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Plaid
17
+ # Information about known ACH returns for the account and routing number.
18
+ class AccountVerificationInsightsPreviousReturns
19
+ # Indicates whether Plaid's data sources include a known administrative ACH return for account and routing number.
20
+ attr_accessor :has_previous_administrative_return
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'has_previous_administrative_return' => :'has_previous_administrative_return'
26
+ }
27
+ end
28
+
29
+ # Returns all the JSON keys this model knows about
30
+ def self.acceptable_attributes
31
+ attribute_map.values
32
+ end
33
+
34
+ # Attribute type mapping.
35
+ def self.openapi_types
36
+ {
37
+ :'has_previous_administrative_return' => :'Boolean'
38
+ }
39
+ end
40
+
41
+ # List of attributes with nullable: true
42
+ def self.openapi_nullable
43
+ Set.new([
44
+ ])
45
+ end
46
+
47
+ # Initializes the object
48
+ # @param [Hash] attributes Model attributes in the form of hash
49
+ def initialize(attributes = {})
50
+ if (!attributes.is_a?(Hash))
51
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::AccountVerificationInsightsPreviousReturns` initialize method"
52
+ end
53
+
54
+ # check to see if the attribute exists and convert string to symbol for hash key
55
+ attributes = attributes.each_with_object({}) { |(k, v), h|
56
+ if (!self.class.attribute_map.key?(k.to_sym))
57
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::AccountVerificationInsightsPreviousReturns`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
58
+ end
59
+ h[k.to_sym] = v
60
+ }
61
+
62
+ if attributes.key?(:'has_previous_administrative_return')
63
+ self.has_previous_administrative_return = attributes[:'has_previous_administrative_return']
64
+ end
65
+ end
66
+
67
+ # Show invalid properties with the reasons. Usually used together with valid?
68
+ # @return Array for valid properties with the reasons
69
+ def list_invalid_properties
70
+ invalid_properties = Array.new
71
+ if @has_previous_administrative_return.nil?
72
+ invalid_properties.push('invalid value for "has_previous_administrative_return", has_previous_administrative_return cannot be nil.')
73
+ end
74
+
75
+ invalid_properties
76
+ end
77
+
78
+ # Check to see if the all the properties in the model are valid
79
+ # @return true if the model is valid
80
+ def valid?
81
+ return false if @has_previous_administrative_return.nil?
82
+ true
83
+ end
84
+
85
+ # Checks equality by comparing each attribute.
86
+ # @param [Object] Object to be compared
87
+ def ==(o)
88
+ return true if self.equal?(o)
89
+ self.class == o.class &&
90
+ has_previous_administrative_return == o.has_previous_administrative_return
91
+ end
92
+
93
+ # @see the `==` method
94
+ # @param [Object] Object to be compared
95
+ def eql?(o)
96
+ self == o
97
+ end
98
+
99
+ # Calculates hash code according to all attributes.
100
+ # @return [Integer] Hash code
101
+ def hash
102
+ [has_previous_administrative_return].hash
103
+ end
104
+
105
+ # Builds the object from hash
106
+ # @param [Hash] attributes Model attributes in the form of hash
107
+ # @return [Object] Returns the model itself
108
+ def self.build_from_hash(attributes)
109
+ new.build_from_hash(attributes)
110
+ end
111
+
112
+ # Builds the object from hash
113
+ # @param [Hash] attributes Model attributes in the form of hash
114
+ # @return [Object] Returns the model itself
115
+ def build_from_hash(attributes)
116
+ return nil unless attributes.is_a?(Hash)
117
+ attributes = attributes.transform_keys(&:to_sym)
118
+ self.class.openapi_types.each_pair do |key, type|
119
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
120
+ self.send("#{key}=", nil)
121
+ elsif type =~ /\AArray<(.*)>/i
122
+ # check to ensure the input is an array given that the attribute
123
+ # is documented as an array but the input is not
124
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
125
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
126
+ end
127
+ elsif !attributes[self.class.attribute_map[key]].nil?
128
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
129
+ end
130
+ end
131
+
132
+ self
133
+ end
134
+
135
+ # Deserializes the data based on type
136
+ # @param string type Data type
137
+ # @param string value Value to be deserialized
138
+ # @return [Object] Deserialized data
139
+ def _deserialize(type, value)
140
+ case type.to_sym
141
+ when :Time
142
+ Time.parse(value)
143
+ when :Date
144
+ Date.parse(value)
145
+ when :String
146
+ value.to_s
147
+ when :Integer
148
+ value.to_i
149
+ when :Float
150
+ value.to_f
151
+ when :Boolean
152
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
153
+ true
154
+ else
155
+ false
156
+ end
157
+ when :Object
158
+ # generic object (usually a Hash), return directly
159
+ value
160
+ when /\AArray<(?<inner_type>.+)>\z/
161
+ inner_type = Regexp.last_match[:inner_type]
162
+ value.map { |v| _deserialize(inner_type, v) }
163
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
164
+ k_type = Regexp.last_match[:k_type]
165
+ v_type = Regexp.last_match[:v_type]
166
+ {}.tap do |hash|
167
+ value.each do |k, v|
168
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
169
+ end
170
+ end
171
+ else # model
172
+ # models (e.g. Pet) or oneOf
173
+ klass = Plaid.const_get(type)
174
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
175
+ end
176
+ end
177
+
178
+ # Returns the string representation of the object
179
+ # @return [String] String presentation of the object
180
+ def to_s
181
+ to_hash.to_s
182
+ end
183
+
184
+ # to_body is an alias to to_hash (backward compatibility)
185
+ # @return [Hash] Returns the object in the form of hash
186
+ def to_body
187
+ to_hash
188
+ end
189
+
190
+ # Returns the object in the form of hash
191
+ # @return [Hash] Returns the object in the form of hash
192
+ def to_hash
193
+ hash = {}
194
+ self.class.attribute_map.each_pair do |attr, param|
195
+ value = self.send(attr)
196
+ if value.nil?
197
+ is_nullable = self.class.openapi_nullable.include?(attr)
198
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
199
+ end
200
+
201
+ hash[param] = _to_hash(value)
202
+ end
203
+ hash
204
+ end
205
+
206
+ # Outputs non-array value in the form of hash
207
+ # For object, use to_hash. Otherwise, just return the value
208
+ # @param [Object] value Any valid value
209
+ # @return [Hash] Returns the value in the form of hash
210
+ def _to_hash(value)
211
+ if value.is_a?(Array)
212
+ value.compact.map { |v| _to_hash(v) }
213
+ elsif value.is_a?(Hash)
214
+ {}.tap do |hash|
215
+ value.each { |k, v| hash[k] = _to_hash(v) }
216
+ end
217
+ elsif value.respond_to? :to_hash
218
+ value.to_hash
219
+ else
220
+ value
221
+ end
222
+ end
223
+
224
+ end
225
+
226
+ end
@@ -3,10 +3,10 @@
3
3
 
4
4
  #The Plaid REST API. Please see https://plaid.com/docs/api for more details.
5
5
 
6
- The version of the OpenAPI document: 2020-09-14_1.470.1
6
+ The version of the OpenAPI document: 2020-09-14_1.496.2
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 6.3.0
10
10
 
11
11
  =end
12
12
 
@@ -27,13 +27,16 @@ module Plaid
27
27
 
28
28
  attr_accessor :options
29
29
 
30
+ attr_accessor :payment_details
31
+
30
32
  # Attribute mapping from ruby-style variable name to JSON key.
31
33
  def self.attribute_map
32
34
  {
33
35
  :'access_token' => :'access_token',
34
36
  :'secret' => :'secret',
35
37
  :'client_id' => :'client_id',
36
- :'options' => :'options'
38
+ :'options' => :'options',
39
+ :'payment_details' => :'payment_details'
37
40
  }
38
41
  end
39
42
 
@@ -48,13 +51,15 @@ module Plaid
48
51
  :'access_token' => :'String',
49
52
  :'secret' => :'String',
50
53
  :'client_id' => :'String',
51
- :'options' => :'AccountsBalanceGetRequestOptions'
54
+ :'options' => :'AccountsBalanceGetRequestOptions',
55
+ :'payment_details' => :'AccountsBalanceGetRequestPaymentDetails'
52
56
  }
53
57
  end
54
58
 
55
59
  # List of attributes with nullable: true
56
60
  def self.openapi_nullable
57
61
  Set.new([
62
+ :'payment_details'
58
63
  ])
59
64
  end
60
65
 
@@ -88,6 +93,10 @@ module Plaid
88
93
  if attributes.key?(:'options')
89
94
  self.options = attributes[:'options']
90
95
  end
96
+
97
+ if attributes.key?(:'payment_details')
98
+ self.payment_details = attributes[:'payment_details']
99
+ end
91
100
  end
92
101
 
93
102
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -116,7 +125,8 @@ module Plaid
116
125
  access_token == o.access_token &&
117
126
  secret == o.secret &&
118
127
  client_id == o.client_id &&
119
- options == o.options
128
+ options == o.options &&
129
+ payment_details == o.payment_details
120
130
  end
121
131
 
122
132
  # @see the `==` method
@@ -128,7 +138,7 @@ module Plaid
128
138
  # Calculates hash code according to all attributes.
129
139
  # @return [Integer] Hash code
130
140
  def hash
131
- [access_token, secret, client_id, options].hash
141
+ [access_token, secret, client_id, options, payment_details].hash
132
142
  end
133
143
 
134
144
  # Builds the object from hash
@@ -3,10 +3,10 @@
3
3
 
4
4
  #The Plaid REST API. Please see https://plaid.com/docs/api for more details.
5
5
 
6
- The version of the OpenAPI document: 2020-09-14_1.470.1
6
+ The version of the OpenAPI document: 2020-09-14_1.496.2
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 6.3.0
10
10
 
11
11
  =end
12
12
 
@@ -19,7 +19,7 @@ module Plaid
19
19
  # A list of `account_ids` to retrieve for the Item. The default value is `null`. Note: An error will be returned if a provided `account_id` is not associated with the Item.
20
20
  attr_accessor :account_ids
21
21
 
22
- # Timestamp in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:mm:ssZ`) indicating the oldest acceptable balance when making a request to `/accounts/balance/get`. If the balance that is pulled for `ins_128026` (Capital One) is older than the given timestamp, an `INVALID_REQUEST` error with the code of `LAST_UPDATED_DATETIME_OUT_OF_RANGE` will be returned with the most recent timestamp for the requested account contained in the response. This field is only used when the institution is `ins_128026` (Capital One), in which case a value must be provided or an `INVALID_REQUEST` error with the code of `INVALID_FIELD` will be returned. For all other institutions, this field is ignored.
22
+ # Timestamp in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:mm:ssZ`) indicating the oldest acceptable balance when making a request to `/accounts/balance/get`. This field is only necessary when the institution is `ins_128026` (Capital One), *and* the account type is a non-depository account (such as a credit card) in which case a value must be provided or an `INVALID_REQUEST` error with the code of `INVALID_FIELD` will be returned. For all other institutions, as well as for depository accounts at Capital One (including all checking and savings accounts) this field is ignored. If this field is not ignored, and no acceptable balance is available, an `INVALID_RESULT` error with the code `LAST_UPDATED_DATETIME_OUT_OF_RANGE` will be returned.
23
23
  attr_accessor :min_last_updated_datetime
24
24
 
25
25
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -0,0 +1,315 @@
1
+ =begin
2
+ #The Plaid API
3
+
4
+ #The Plaid REST API. Please see https://plaid.com/docs/api for more details.
5
+
6
+ The version of the OpenAPI document: 2020-09-14_1.496.2
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.3.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Plaid
17
+ # An optional object containing payment details. If set, a payment risk assessment is performed and returned as AccountsBalanceGetResponsePaymentRiskAssessment.
18
+ class AccountsBalanceGetRequestPaymentDetails
19
+ # The Plaid `account_id` of the account that is the funding source for the proposed transaction. The `account_id` is returned in the `/accounts/get` endpoint as well as the [`onSuccess`](/docs/link/ios/#link-ios-onsuccess-linkSuccess-metadata-accounts-id) callback metadata. This will return an [`INVALID_ACCOUNT_ID`](/docs/errors/invalid-input/#invalid_account_id) error if the account has been removed at the bank or if the `account_id` is no longer valid.
20
+ attr_accessor :account_id
21
+
22
+ # The unique ID that you would like to use to refer to this transaction. For your convenience mapping your internal data, you could use your internal identifier for this transaction. The max length for this field is 36 characters.
23
+ attr_accessor :client_transaction_id
24
+
25
+ # The transaction amount, in USD (e.g. `102.05`)
26
+ attr_accessor :amount
27
+
28
+ # The threshold percentage of the account balance used for comparison with the requested ACH debit amount.
29
+ attr_accessor :balance_threshold_percentage
30
+
31
+ # A boolean that determines whether the balance has to be refreshed in real time as part of the API call.
32
+ attr_accessor :requires_real_time_balance_refresh
33
+
34
+ # Attribute mapping from ruby-style variable name to JSON key.
35
+ def self.attribute_map
36
+ {
37
+ :'account_id' => :'account_id',
38
+ :'client_transaction_id' => :'client_transaction_id',
39
+ :'amount' => :'amount',
40
+ :'balance_threshold_percentage' => :'balance_threshold_percentage',
41
+ :'requires_real_time_balance_refresh' => :'requires_real_time_balance_refresh'
42
+ }
43
+ end
44
+
45
+ # Returns all the JSON keys this model knows about
46
+ def self.acceptable_attributes
47
+ attribute_map.values
48
+ end
49
+
50
+ # Attribute type mapping.
51
+ def self.openapi_types
52
+ {
53
+ :'account_id' => :'String',
54
+ :'client_transaction_id' => :'String',
55
+ :'amount' => :'Float',
56
+ :'balance_threshold_percentage' => :'Integer',
57
+ :'requires_real_time_balance_refresh' => :'Boolean'
58
+ }
59
+ end
60
+
61
+ # List of attributes with nullable: true
62
+ def self.openapi_nullable
63
+ Set.new([
64
+ ])
65
+ end
66
+
67
+ # Initializes the object
68
+ # @param [Hash] attributes Model attributes in the form of hash
69
+ def initialize(attributes = {})
70
+ if (!attributes.is_a?(Hash))
71
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::AccountsBalanceGetRequestPaymentDetails` initialize method"
72
+ end
73
+
74
+ # check to see if the attribute exists and convert string to symbol for hash key
75
+ attributes = attributes.each_with_object({}) { |(k, v), h|
76
+ if (!self.class.attribute_map.key?(k.to_sym))
77
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::AccountsBalanceGetRequestPaymentDetails`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
78
+ end
79
+ h[k.to_sym] = v
80
+ }
81
+
82
+ if attributes.key?(:'account_id')
83
+ self.account_id = attributes[:'account_id']
84
+ end
85
+
86
+ if attributes.key?(:'client_transaction_id')
87
+ self.client_transaction_id = attributes[:'client_transaction_id']
88
+ end
89
+
90
+ if attributes.key?(:'amount')
91
+ self.amount = attributes[:'amount']
92
+ end
93
+
94
+ if attributes.key?(:'balance_threshold_percentage')
95
+ self.balance_threshold_percentage = attributes[:'balance_threshold_percentage']
96
+ else
97
+ self.balance_threshold_percentage = 90
98
+ end
99
+
100
+ if attributes.key?(:'requires_real_time_balance_refresh')
101
+ self.requires_real_time_balance_refresh = attributes[:'requires_real_time_balance_refresh']
102
+ end
103
+ end
104
+
105
+ # Show invalid properties with the reasons. Usually used together with valid?
106
+ # @return Array for valid properties with the reasons
107
+ def list_invalid_properties
108
+ invalid_properties = Array.new
109
+ if !@client_transaction_id.nil? && @client_transaction_id.to_s.length > 36
110
+ invalid_properties.push('invalid value for "client_transaction_id", the character length must be smaller than or equal to 36.')
111
+ end
112
+
113
+ if !@client_transaction_id.nil? && @client_transaction_id.to_s.length < 1
114
+ invalid_properties.push('invalid value for "client_transaction_id", the character length must be great than or equal to 1.')
115
+ end
116
+
117
+
118
+ if !@balance_threshold_percentage.nil? && @balance_threshold_percentage > 100
119
+ invalid_properties.push('invalid value for "balance_threshold_percentage", must be smaller than or equal to 100.')
120
+ end
121
+
122
+ if !@balance_threshold_percentage.nil? && @balance_threshold_percentage < 1
123
+ invalid_properties.push('invalid value for "balance_threshold_percentage", must be greater than or equal to 1.')
124
+ end
125
+
126
+
127
+ invalid_properties
128
+ end
129
+
130
+ # Check to see if the all the properties in the model are valid
131
+ # @return true if the model is valid
132
+ def valid?
133
+ return false if !@client_transaction_id.nil? && @client_transaction_id.to_s.length > 36
134
+ return false if !@client_transaction_id.nil? && @client_transaction_id.to_s.length < 1
135
+ return false if !@balance_threshold_percentage.nil? && @balance_threshold_percentage > 100
136
+ return false if !@balance_threshold_percentage.nil? && @balance_threshold_percentage < 1
137
+ true
138
+ end
139
+
140
+ # Custom attribute writer method with validation
141
+ # @param [Object] client_transaction_id Value to be assigned
142
+ def client_transaction_id=(client_transaction_id)
143
+ if !client_transaction_id.nil? && client_transaction_id.to_s.length > 36
144
+ fail ArgumentError, 'invalid value for "client_transaction_id", the character length must be smaller than or equal to 36.'
145
+ end
146
+
147
+ if !client_transaction_id.nil? && client_transaction_id.to_s.length < 1
148
+ fail ArgumentError, 'invalid value for "client_transaction_id", the character length must be great than or equal to 1.'
149
+ end
150
+
151
+
152
+ @client_transaction_id = client_transaction_id
153
+ end
154
+
155
+ # Custom attribute writer method with validation
156
+ # @param [Object] balance_threshold_percentage Value to be assigned
157
+ def balance_threshold_percentage=(balance_threshold_percentage)
158
+ if !balance_threshold_percentage.nil? && balance_threshold_percentage > 100
159
+ fail ArgumentError, 'invalid value for "balance_threshold_percentage", must be smaller than or equal to 100.'
160
+ end
161
+
162
+ if !balance_threshold_percentage.nil? && balance_threshold_percentage < 1
163
+ fail ArgumentError, 'invalid value for "balance_threshold_percentage", must be greater than or equal to 1.'
164
+ end
165
+
166
+
167
+ @balance_threshold_percentage = balance_threshold_percentage
168
+ end
169
+
170
+ # Checks equality by comparing each attribute.
171
+ # @param [Object] Object to be compared
172
+ def ==(o)
173
+ return true if self.equal?(o)
174
+ self.class == o.class &&
175
+ account_id == o.account_id &&
176
+ client_transaction_id == o.client_transaction_id &&
177
+ amount == o.amount &&
178
+ balance_threshold_percentage == o.balance_threshold_percentage &&
179
+ requires_real_time_balance_refresh == o.requires_real_time_balance_refresh
180
+ end
181
+
182
+ # @see the `==` method
183
+ # @param [Object] Object to be compared
184
+ def eql?(o)
185
+ self == o
186
+ end
187
+
188
+ # Calculates hash code according to all attributes.
189
+ # @return [Integer] Hash code
190
+ def hash
191
+ [account_id, client_transaction_id, amount, balance_threshold_percentage, requires_real_time_balance_refresh].hash
192
+ end
193
+
194
+ # Builds the object from hash
195
+ # @param [Hash] attributes Model attributes in the form of hash
196
+ # @return [Object] Returns the model itself
197
+ def self.build_from_hash(attributes)
198
+ new.build_from_hash(attributes)
199
+ end
200
+
201
+ # Builds the object from hash
202
+ # @param [Hash] attributes Model attributes in the form of hash
203
+ # @return [Object] Returns the model itself
204
+ def build_from_hash(attributes)
205
+ return nil unless attributes.is_a?(Hash)
206
+ attributes = attributes.transform_keys(&:to_sym)
207
+ self.class.openapi_types.each_pair do |key, type|
208
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
209
+ self.send("#{key}=", nil)
210
+ elsif type =~ /\AArray<(.*)>/i
211
+ # check to ensure the input is an array given that the attribute
212
+ # is documented as an array but the input is not
213
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
214
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
215
+ end
216
+ elsif !attributes[self.class.attribute_map[key]].nil?
217
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
218
+ end
219
+ end
220
+
221
+ self
222
+ end
223
+
224
+ # Deserializes the data based on type
225
+ # @param string type Data type
226
+ # @param string value Value to be deserialized
227
+ # @return [Object] Deserialized data
228
+ def _deserialize(type, value)
229
+ case type.to_sym
230
+ when :Time
231
+ Time.parse(value)
232
+ when :Date
233
+ Date.parse(value)
234
+ when :String
235
+ value.to_s
236
+ when :Integer
237
+ value.to_i
238
+ when :Float
239
+ value.to_f
240
+ when :Boolean
241
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
242
+ true
243
+ else
244
+ false
245
+ end
246
+ when :Object
247
+ # generic object (usually a Hash), return directly
248
+ value
249
+ when /\AArray<(?<inner_type>.+)>\z/
250
+ inner_type = Regexp.last_match[:inner_type]
251
+ value.map { |v| _deserialize(inner_type, v) }
252
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
253
+ k_type = Regexp.last_match[:k_type]
254
+ v_type = Regexp.last_match[:v_type]
255
+ {}.tap do |hash|
256
+ value.each do |k, v|
257
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
258
+ end
259
+ end
260
+ else # model
261
+ # models (e.g. Pet) or oneOf
262
+ klass = Plaid.const_get(type)
263
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
264
+ end
265
+ end
266
+
267
+ # Returns the string representation of the object
268
+ # @return [String] String presentation of the object
269
+ def to_s
270
+ to_hash.to_s
271
+ end
272
+
273
+ # to_body is an alias to to_hash (backward compatibility)
274
+ # @return [Hash] Returns the object in the form of hash
275
+ def to_body
276
+ to_hash
277
+ end
278
+
279
+ # Returns the object in the form of hash
280
+ # @return [Hash] Returns the object in the form of hash
281
+ def to_hash
282
+ hash = {}
283
+ self.class.attribute_map.each_pair do |attr, param|
284
+ value = self.send(attr)
285
+ if value.nil?
286
+ is_nullable = self.class.openapi_nullable.include?(attr)
287
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
288
+ end
289
+
290
+ hash[param] = _to_hash(value)
291
+ end
292
+ hash
293
+ end
294
+
295
+ # Outputs non-array value in the form of hash
296
+ # For object, use to_hash. Otherwise, just return the value
297
+ # @param [Object] value Any valid value
298
+ # @return [Hash] Returns the value in the form of hash
299
+ def _to_hash(value)
300
+ if value.is_a?(Array)
301
+ value.compact.map { |v| _to_hash(v) }
302
+ elsif value.is_a?(Hash)
303
+ {}.tap do |hash|
304
+ value.each { |k, v| hash[k] = _to_hash(v) }
305
+ end
306
+ elsif value.respond_to? :to_hash
307
+ value.to_hash
308
+ else
309
+ value
310
+ end
311
+ end
312
+
313
+ end
314
+
315
+ end