plaid 22.0.0 → 24.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1394) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +917 -105
  3. data/CONTRIBUTING.md +4 -1
  4. data/Gemfile.lock +3 -3
  5. data/Makefile +1 -1
  6. data/README.md +112 -57
  7. data/lib/plaid/api/plaid_api.rb +663 -51
  8. data/lib/plaid/api_client.rb +2 -2
  9. data/lib/plaid/api_error.rb +1 -1
  10. data/lib/plaid/configuration.rb +1 -1
  11. data/lib/plaid/models/account_access.rb +1 -1
  12. data/lib/plaid/models/account_assets.rb +4 -4
  13. data/lib/plaid/models/account_assets_all_of.rb +1 -1
  14. data/lib/plaid/models/account_balance.rb +1 -1
  15. data/lib/plaid/models/account_base.rb +4 -4
  16. data/lib/plaid/models/account_filter.rb +1 -1
  17. data/lib/plaid/models/account_filters_response.rb +1 -1
  18. data/lib/plaid/models/account_identity.rb +5 -5
  19. data/lib/plaid/models/account_identity_all_of.rb +2 -2
  20. data/lib/plaid/models/account_identity_match_score.rb +4 -4
  21. data/lib/plaid/models/account_identity_match_score_all_of.rb +1 -1
  22. data/lib/plaid/models/account_product_access.rb +1 -1
  23. data/lib/plaid/models/account_product_access_nullable.rb +1 -1
  24. data/lib/plaid/models/account_selection_cardinality.rb +1 -1
  25. data/lib/plaid/models/account_subtype.rb +1 -1
  26. data/lib/plaid/models/account_type.rb +1 -1
  27. data/lib/plaid/models/accounts_balance_get_request.rb +1 -1
  28. data/lib/plaid/models/accounts_balance_get_request_options.rb +1 -1
  29. data/lib/plaid/models/accounts_get_request.rb +1 -1
  30. data/lib/plaid/models/accounts_get_request_options.rb +1 -1
  31. data/lib/plaid/models/accounts_get_response.rb +1 -1
  32. data/lib/plaid/models/ach_class.rb +1 -1
  33. data/lib/plaid/models/action_state.rb +1 -1
  34. data/lib/plaid/models/activity.rb +2 -2
  35. data/lib/plaid/models/activity_type.rb +1 -1
  36. data/lib/plaid/models/address.rb +1 -1
  37. data/lib/plaid/models/address_data.rb +1 -1
  38. data/lib/plaid/models/address_data_not_required.rb +1 -1
  39. data/lib/plaid/models/address_data_nullable.rb +1 -1
  40. data/lib/plaid/models/address_data_nullable_no_required_fields.rb +1 -1
  41. data/lib/plaid/models/address_match_score.rb +1 -1
  42. data/lib/plaid/models/address_nullable.rb +1 -1
  43. data/lib/plaid/models/address_purpose_label.rb +1 -1
  44. data/lib/plaid/models/application.rb +2 -2
  45. data/lib/plaid/models/application_get_request.rb +2 -2
  46. data/lib/plaid/models/application_get_response.rb +1 -1
  47. data/lib/plaid/models/apr.rb +1 -1
  48. data/lib/plaid/models/asset.rb +1 -1
  49. data/lib/plaid/models/asset_detail.rb +1 -1
  50. data/lib/plaid/models/asset_holder.rb +1 -1
  51. data/lib/plaid/models/asset_holder_name.rb +1 -1
  52. data/lib/plaid/models/asset_owner.rb +1 -1
  53. data/lib/plaid/models/asset_owners.rb +1 -1
  54. data/lib/plaid/models/asset_report.rb +1 -1
  55. data/lib/plaid/models/asset_report_add_ons.rb +1 -1
  56. data/lib/plaid/models/asset_report_audit_copy_create_request.rb +1 -1
  57. data/lib/plaid/models/asset_report_audit_copy_create_response.rb +1 -1
  58. data/lib/plaid/models/asset_report_audit_copy_get_request.rb +1 -1
  59. data/lib/plaid/models/asset_report_audit_copy_remove_request.rb +1 -1
  60. data/lib/plaid/models/asset_report_audit_copy_remove_response.rb +1 -1
  61. data/lib/plaid/models/asset_report_create_request.rb +2 -12
  62. data/lib/plaid/models/asset_report_create_request_options.rb +1 -1
  63. data/lib/plaid/models/asset_report_create_response.rb +1 -1
  64. data/lib/plaid/models/asset_report_filter_request.rb +1 -1
  65. data/lib/plaid/models/asset_report_filter_response.rb +1 -1
  66. data/lib/plaid/models/asset_report_freddie.rb +1 -1
  67. data/lib/plaid/models/asset_report_freddie_get_request.rb +1 -1
  68. data/lib/plaid/models/asset_report_freddie_get_response.rb +1 -1
  69. data/lib/plaid/models/asset_report_get_request.rb +1 -1
  70. data/lib/plaid/models/asset_report_get_request_options.rb +1 -1
  71. data/lib/plaid/models/asset_report_get_response.rb +1 -1
  72. data/lib/plaid/models/asset_report_investment_holding.rb +1 -1
  73. data/lib/plaid/models/asset_report_investment_security.rb +1 -1
  74. data/lib/plaid/models/asset_report_investments.rb +1 -1
  75. data/lib/plaid/models/asset_report_item.rb +1 -1
  76. data/lib/plaid/models/asset_report_pdf_get_request.rb +1 -1
  77. data/lib/plaid/models/asset_report_pdf_get_request_options.rb +1 -1
  78. data/lib/plaid/models/asset_report_refresh_request.rb +1 -1
  79. data/lib/plaid/models/asset_report_refresh_request_options.rb +1 -1
  80. data/lib/plaid/models/asset_report_refresh_response.rb +1 -1
  81. data/lib/plaid/models/asset_report_remove_request.rb +1 -1
  82. data/lib/plaid/models/asset_report_remove_response.rb +1 -1
  83. data/lib/plaid/models/asset_report_transaction.rb +1 -1
  84. data/lib/plaid/models/asset_report_transaction_type.rb +1 -1
  85. data/lib/plaid/models/asset_report_user.rb +1 -1
  86. data/lib/plaid/models/asset_transaction.rb +1 -1
  87. data/lib/plaid/models/asset_transaction_category_type.rb +1 -1
  88. data/lib/plaid/models/asset_transaction_description.rb +1 -1
  89. data/lib/plaid/models/asset_transaction_detail.rb +1 -1
  90. data/lib/plaid/models/asset_transaction_type.rb +1 -1
  91. data/lib/plaid/models/asset_transactions.rb +1 -1
  92. data/lib/plaid/models/asset_type.rb +1 -1
  93. data/lib/plaid/models/assets.rb +1 -1
  94. data/lib/plaid/models/assets_error_webhook.rb +12 -2
  95. data/lib/plaid/models/assets_product_ready_webhook.rb +12 -2
  96. data/lib/plaid/models/auth_get_numbers.rb +1 -1
  97. data/lib/plaid/models/auth_get_request.rb +1 -1
  98. data/lib/plaid/models/auth_get_request_options.rb +1 -1
  99. data/lib/plaid/models/auth_get_response.rb +1 -1
  100. data/lib/plaid/models/auth_metadata.rb +1 -1
  101. data/lib/plaid/models/auth_supported_methods.rb +20 -5
  102. data/lib/plaid/models/automatically_verified_webhook.rb +15 -5
  103. data/lib/plaid/models/bank_income_complete_result.rb +1 -1
  104. data/lib/plaid/models/bank_income_complete_webhook.rb +1 -1
  105. data/lib/plaid/models/bank_income_refresh_complete_result.rb +1 -1
  106. data/lib/plaid/models/bank_income_refresh_complete_webhook.rb +2 -2
  107. data/lib/plaid/models/bank_income_refresh_update_webhook.rb +2 -2
  108. data/lib/plaid/models/bank_initiated_return_risk.rb +1 -1
  109. data/lib/plaid/models/bank_transfer.rb +1 -1
  110. data/lib/plaid/models/bank_transfer_balance.rb +1 -1
  111. data/lib/plaid/models/bank_transfer_balance_get_request.rb +1 -1
  112. data/lib/plaid/models/bank_transfer_balance_get_response.rb +1 -1
  113. data/lib/plaid/models/bank_transfer_cancel_request.rb +1 -1
  114. data/lib/plaid/models/bank_transfer_cancel_response.rb +1 -1
  115. data/lib/plaid/models/bank_transfer_create_request.rb +1 -1
  116. data/lib/plaid/models/bank_transfer_create_response.rb +1 -1
  117. data/lib/plaid/models/bank_transfer_direction.rb +1 -1
  118. data/lib/plaid/models/bank_transfer_event.rb +1 -1
  119. data/lib/plaid/models/bank_transfer_event_list_bank_transfer_type.rb +1 -1
  120. data/lib/plaid/models/bank_transfer_event_list_direction.rb +1 -1
  121. data/lib/plaid/models/bank_transfer_event_list_request.rb +1 -1
  122. data/lib/plaid/models/bank_transfer_event_list_response.rb +1 -1
  123. data/lib/plaid/models/bank_transfer_event_sync_request.rb +1 -1
  124. data/lib/plaid/models/bank_transfer_event_sync_response.rb +1 -1
  125. data/lib/plaid/models/bank_transfer_event_type.rb +1 -1
  126. data/lib/plaid/models/bank_transfer_failure.rb +1 -1
  127. data/lib/plaid/models/bank_transfer_get_request.rb +1 -1
  128. data/lib/plaid/models/bank_transfer_get_response.rb +1 -1
  129. data/lib/plaid/models/bank_transfer_list_request.rb +1 -1
  130. data/lib/plaid/models/bank_transfer_list_response.rb +1 -1
  131. data/lib/plaid/models/bank_transfer_migrate_account_request.rb +1 -1
  132. data/lib/plaid/models/bank_transfer_migrate_account_response.rb +1 -1
  133. data/lib/plaid/models/bank_transfer_network.rb +1 -1
  134. data/lib/plaid/models/bank_transfer_status.rb +1 -1
  135. data/lib/plaid/models/bank_transfer_sweep.rb +1 -1
  136. data/lib/plaid/models/bank_transfer_sweep_get_request.rb +1 -1
  137. data/lib/plaid/models/bank_transfer_sweep_get_response.rb +1 -1
  138. data/lib/plaid/models/bank_transfer_sweep_list_request.rb +1 -1
  139. data/lib/plaid/models/bank_transfer_sweep_list_response.rb +1 -1
  140. data/lib/plaid/models/bank_transfer_type.rb +1 -1
  141. data/lib/plaid/models/bank_transfer_user.rb +1 -1
  142. data/lib/plaid/models/bank_transfers_events_update_webhook.rb +1 -1
  143. data/lib/plaid/models/bank_transfers_events_update_webhook_for_auth.rb +1 -1
  144. data/lib/plaid/models/base_report.rb +1 -1
  145. data/lib/plaid/models/base_report_account.rb +2 -2
  146. data/lib/plaid/models/base_report_account_balances.rb +319 -0
  147. data/lib/plaid/models/{credit_freddie_mac_asset_transaction_voe25.rb → base_report_account_balances_all_of.rb} +32 -30
  148. data/lib/plaid/models/base_report_account_insights.rb +3 -3
  149. data/lib/plaid/models/base_report_average_flow_insights.rb +3 -3
  150. data/lib/plaid/models/{credit_freddie_mac_verification_of_assets_voa24.rb → base_report_average_monthly_balances.rb} +29 -29
  151. data/lib/plaid/models/base_report_get_request.rb +1 -1
  152. data/lib/plaid/models/base_report_get_response.rb +14 -2
  153. data/lib/plaid/models/base_report_item.rb +1 -1
  154. data/lib/plaid/models/base_report_longest_gap_insights.rb +3 -3
  155. data/lib/plaid/models/base_report_number_flow_insights.rb +3 -3
  156. data/lib/plaid/models/base_report_transaction.rb +1 -1
  157. data/lib/plaid/models/{fraud_amount_nullable.rb → base_report_warning.rb} +39 -25
  158. data/lib/plaid/models/base_report_warning_code.rb +39 -0
  159. data/lib/plaid/models/base_reports_error_webhook.rb +1 -1
  160. data/lib/plaid/models/base_reports_product_ready_webhook.rb +1 -1
  161. data/lib/plaid/models/beacon_audit_trail.rb +1 -1
  162. data/lib/plaid/models/beacon_audit_trail_source.rb +1 -1
  163. data/lib/plaid/models/beacon_match_summary_code.rb +41 -0
  164. data/lib/plaid/models/beacon_report.rb +309 -0
  165. data/lib/plaid/models/beacon_report_create_request.rb +2 -1
  166. data/lib/plaid/models/beacon_report_create_response.rb +2 -6
  167. data/lib/plaid/models/beacon_report_list_request.rb +257 -0
  168. data/lib/plaid/models/beacon_report_list_response.rb +253 -0
  169. data/lib/plaid/models/beacon_report_syndication.rb +254 -0
  170. data/lib/plaid/models/beacon_report_syndication_analysis.rb +309 -0
  171. data/lib/plaid/models/beacon_report_syndication_list_request.rb +257 -0
  172. data/lib/plaid/models/beacon_report_syndication_list_response.rb +253 -0
  173. data/lib/plaid/models/{beacon_user_create_embedded_report.rb → beacon_report_syndication_original_report.rb} +35 -19
  174. data/lib/plaid/models/beacon_report_type.rb +2 -2
  175. data/lib/plaid/models/beacon_user_address.rb +1 -1
  176. data/lib/plaid/models/beacon_user_create_request.rb +2 -12
  177. data/lib/plaid/models/beacon_user_create_response.rb +1 -1
  178. data/lib/plaid/models/beacon_user_data.rb +1 -1
  179. data/lib/plaid/models/beacon_user_get_request.rb +1 -1
  180. data/lib/plaid/models/beacon_user_get_response.rb +1 -1
  181. data/lib/plaid/models/beacon_user_id_number.rb +1 -1
  182. data/lib/plaid/models/beacon_user_name.rb +1 -1
  183. data/lib/plaid/models/beacon_user_request_address.rb +1 -1
  184. data/lib/plaid/models/beacon_user_request_data.rb +1 -1
  185. data/lib/plaid/models/beacon_user_review_request.rb +260 -0
  186. data/lib/plaid/models/beacon_user_status.rb +1 -1
  187. data/lib/plaid/models/{credit_freddie_mac_asset_voe25.rb → beacon_user_status_updated_webhook.rb} +45 -42
  188. data/lib/plaid/models/categories_get_response.rb +1 -1
  189. data/lib/plaid/models/category.rb +1 -1
  190. data/lib/plaid/models/category_insight_details.rb +283 -0
  191. data/lib/plaid/models/category_insights.rb +235 -0
  192. data/lib/plaid/models/cause.rb +1 -1
  193. data/lib/plaid/models/cause_all_of.rb +1 -1
  194. data/lib/plaid/models/client_provided_enhanced_transaction.rb +1 -1
  195. data/lib/plaid/models/client_provided_enriched_transaction.rb +1 -1
  196. data/lib/plaid/models/client_provided_raw_transaction.rb +1 -1
  197. data/lib/plaid/models/client_provided_transaction.rb +1 -1
  198. data/lib/plaid/models/client_provided_transaction_location.rb +1 -1
  199. data/lib/plaid/models/connected_application.rb +3 -3
  200. data/lib/plaid/models/consumer_report_permissible_purpose.rb +1 -1
  201. data/lib/plaid/models/consumer_report_user_identity.rb +1 -1
  202. data/lib/plaid/models/counterparty.rb +1 -1
  203. data/lib/plaid/models/{signal_insights.rb → counterparty_insights.rb} +23 -20
  204. data/lib/plaid/models/counterparty_type.rb +1 -1
  205. data/lib/plaid/models/country_code.rb +2 -1
  206. data/lib/plaid/models/cra_bank_income.rb +1 -1
  207. data/lib/plaid/models/cra_bank_income_account.rb +1 -1
  208. data/lib/plaid/models/cra_bank_income_cause.rb +1 -1
  209. data/lib/plaid/models/cra_bank_income_complete_result.rb +1 -1
  210. data/lib/plaid/models/cra_bank_income_complete_webhook.rb +1 -1
  211. data/lib/plaid/models/cra_bank_income_employer.rb +1 -1
  212. data/lib/plaid/models/cra_bank_income_get_request.rb +1 -1
  213. data/lib/plaid/models/cra_bank_income_get_response.rb +1 -1
  214. data/lib/plaid/models/cra_bank_income_historical_summary.rb +1 -1
  215. data/lib/plaid/models/cra_bank_income_item.rb +1 -1
  216. data/lib/plaid/models/cra_bank_income_source.rb +1 -1
  217. data/lib/plaid/models/cra_bank_income_summary.rb +1 -1
  218. data/lib/plaid/models/cra_bank_income_transaction.rb +1 -1
  219. data/lib/plaid/models/cra_bank_income_warning.rb +1 -1
  220. data/lib/plaid/models/cra_bank_income_warning_code.rb +1 -1
  221. data/lib/plaid/models/credit1099.rb +1 -1
  222. data/lib/plaid/models/credit1099_filer.rb +1 -1
  223. data/lib/plaid/models/credit1099_payer.rb +1 -1
  224. data/lib/plaid/models/credit1099_recipient.rb +1 -1
  225. data/lib/plaid/models/credit_account_subtype.rb +1 -1
  226. data/lib/plaid/models/credit_ach_class.rb +1 -1
  227. data/lib/plaid/models/credit_amount_with_currency.rb +1 -1
  228. data/lib/plaid/models/credit_audit_copy_token_create_request.rb +1 -1
  229. data/lib/plaid/models/credit_audit_copy_token_create_response.rb +1 -1
  230. data/lib/plaid/models/credit_audit_copy_token_remove_request.rb +1 -1
  231. data/lib/plaid/models/credit_audit_copy_token_remove_response.rb +1 -1
  232. data/lib/plaid/models/credit_audit_copy_token_update_request.rb +1 -1
  233. data/lib/plaid/models/credit_audit_copy_token_update_response.rb +1 -1
  234. data/lib/plaid/models/credit_bank_employer.rb +1 -1
  235. data/lib/plaid/models/credit_bank_employment.rb +1 -1
  236. data/lib/plaid/models/credit_bank_employment_get_request.rb +1 -1
  237. data/lib/plaid/models/credit_bank_employment_get_response.rb +1 -1
  238. data/lib/plaid/models/credit_bank_employment_item.rb +1 -1
  239. data/lib/plaid/models/credit_bank_employment_report.rb +1 -1
  240. data/lib/plaid/models/credit_bank_employment_warning.rb +1 -1
  241. data/lib/plaid/models/credit_bank_employment_warning_type.rb +1 -1
  242. data/lib/plaid/models/credit_bank_income.rb +1 -1
  243. data/lib/plaid/models/credit_bank_income_account.rb +1 -1
  244. data/lib/plaid/models/credit_bank_income_account_type.rb +1 -1
  245. data/lib/plaid/models/credit_bank_income_category.rb +1 -1
  246. data/lib/plaid/models/credit_bank_income_cause.rb +1 -1
  247. data/lib/plaid/models/credit_bank_income_error_type.rb +1 -1
  248. data/lib/plaid/models/credit_bank_income_get_request.rb +1 -1
  249. data/lib/plaid/models/credit_bank_income_get_request_options.rb +1 -1
  250. data/lib/plaid/models/credit_bank_income_get_response.rb +1 -1
  251. data/lib/plaid/models/credit_bank_income_historical_summary.rb +1 -1
  252. data/lib/plaid/models/credit_bank_income_item.rb +1 -1
  253. data/lib/plaid/models/credit_bank_income_pay_frequency.rb +1 -1
  254. data/lib/plaid/models/credit_bank_income_pdf_get_request.rb +1 -1
  255. data/lib/plaid/models/credit_bank_income_refresh_request.rb +1 -1
  256. data/lib/plaid/models/credit_bank_income_refresh_request_options.rb +1 -1
  257. data/lib/plaid/models/credit_bank_income_refresh_response.rb +1 -1
  258. data/lib/plaid/models/credit_bank_income_source.rb +1 -1
  259. data/lib/plaid/models/credit_bank_income_summary.rb +1 -1
  260. data/lib/plaid/models/credit_bank_income_transaction.rb +1 -1
  261. data/lib/plaid/models/credit_bank_income_warning.rb +1 -1
  262. data/lib/plaid/models/credit_bank_income_warning_code.rb +1 -1
  263. data/lib/plaid/models/credit_bank_income_warning_type.rb +1 -1
  264. data/lib/plaid/models/credit_bank_income_webhook_update_request.rb +1 -1
  265. data/lib/plaid/models/credit_bank_income_webhook_update_response.rb +1 -1
  266. data/lib/plaid/models/credit_bank_statement_upload_account_owner.rb +1 -1
  267. data/lib/plaid/models/credit_bank_statement_upload_account_owner_address.rb +1 -1
  268. data/lib/plaid/models/credit_bank_statement_upload_bank_account.rb +1 -1
  269. data/lib/plaid/models/credit_bank_statement_upload_bank_account_period.rb +1 -1
  270. data/lib/plaid/models/credit_bank_statement_upload_item.rb +1 -1
  271. data/lib/plaid/models/credit_bank_statement_upload_object.rb +1 -1
  272. data/lib/plaid/models/credit_bank_statement_upload_transaction.rb +1 -1
  273. data/lib/plaid/models/credit_bank_statements_uploads_get_request.rb +1 -1
  274. data/lib/plaid/models/credit_bank_statements_uploads_get_response.rb +1 -1
  275. data/lib/plaid/models/credit_card_liability.rb +1 -1
  276. data/lib/plaid/models/credit_category.rb +1 -1
  277. data/lib/plaid/models/credit_document_metadata.rb +2 -2
  278. data/lib/plaid/models/credit_employer_verification.rb +1 -1
  279. data/lib/plaid/models/credit_employment_get_request.rb +1 -1
  280. data/lib/plaid/models/credit_employment_get_response.rb +1 -1
  281. data/lib/plaid/models/credit_employment_item.rb +1 -1
  282. data/lib/plaid/models/credit_employment_verification.rb +1 -1
  283. data/lib/plaid/models/credit_filter.rb +1 -1
  284. data/lib/plaid/models/{credit_freddie_mac_asset_voa24.rb → credit_freddie_mac_asset.rb} +5 -5
  285. data/lib/plaid/models/{credit_freddie_mac_asset_transaction_voa24.rb → credit_freddie_mac_asset_transaction.rb} +4 -4
  286. data/lib/plaid/models/{credit_freddie_mac_asset_transactions_voa24.rb → credit_freddie_mac_asset_transactions.rb} +5 -5
  287. data/lib/plaid/models/{credit_freddie_mac_assets_voe25.rb → credit_freddie_mac_assets.rb} +5 -5
  288. data/lib/plaid/models/{credit_freddie_mac_individual_name_voa24.rb → credit_freddie_mac_individual_name.rb} +4 -4
  289. data/lib/plaid/models/{credit_freddie_mac_loan_voa24.rb → credit_freddie_mac_loan.rb} +5 -5
  290. data/lib/plaid/models/{credit_freddie_mac_loan_identifiers_voa24.rb → credit_freddie_mac_loan_identifiers.rb} +4 -4
  291. data/lib/plaid/models/{credit_freddie_mac_loans_voa24.rb → credit_freddie_mac_loans.rb} +5 -5
  292. data/lib/plaid/models/{credit_freddie_mac_parties_voa24.rb → credit_freddie_mac_parties.rb} +5 -5
  293. data/lib/plaid/models/{credit_freddie_mac_party_voa24.rb → credit_freddie_mac_party.rb} +5 -5
  294. data/lib/plaid/models/{credit_freddie_mac_party_individual_voa24.rb → credit_freddie_mac_party_individual.rb} +5 -5
  295. data/lib/plaid/models/{credit_freddie_mac_reporting_information_voa24.rb → credit_freddie_mac_reporting_information.rb} +4 -4
  296. data/lib/plaid/models/credit_freddie_mac_reports_get_request.rb +1 -1
  297. data/lib/plaid/models/credit_freddie_mac_reports_get_response.rb +31 -22
  298. data/lib/plaid/models/{credit_freddie_mac_service_voa24.rb → credit_freddie_mac_service.rb} +5 -5
  299. data/lib/plaid/models/{credit_freddie_mac_services_voa24.rb → credit_freddie_mac_services.rb} +5 -5
  300. data/lib/plaid/models/{credit_freddie_mac_verification_of_asset_voa24.rb → credit_freddie_mac_verification_of_asset.rb} +6 -6
  301. data/lib/plaid/models/{credit_freddie_mac_verification_of_asset_response_voe25.rb → credit_freddie_mac_verification_of_asset_response.rb} +5 -5
  302. data/lib/plaid/models/{credit_freddie_mac_verification_of_assets_deal_voa24.rb → credit_freddie_mac_verification_of_assets_deal.rb} +7 -7
  303. data/lib/plaid/models/credit_pay_stub.rb +1 -1
  304. data/lib/plaid/models/credit_pay_stub_address.rb +1 -1
  305. data/lib/plaid/models/credit_pay_stub_deductions.rb +1 -1
  306. data/lib/plaid/models/credit_pay_stub_earnings.rb +1 -1
  307. data/lib/plaid/models/credit_pay_stub_employee.rb +1 -1
  308. data/lib/plaid/models/credit_pay_stub_employer.rb +1 -1
  309. data/lib/plaid/models/credit_pay_stub_net_pay.rb +1 -1
  310. data/lib/plaid/models/credit_pay_stub_pay_basis_type.rb +1 -1
  311. data/lib/plaid/models/credit_payroll_income_get_request.rb +1 -1
  312. data/lib/plaid/models/credit_payroll_income_get_response.rb +1 -1
  313. data/lib/plaid/models/credit_payroll_income_parsing_config_update_request.rb +273 -0
  314. data/lib/plaid/models/credit_payroll_income_parsing_config_update_response.rb +226 -0
  315. data/lib/plaid/models/credit_payroll_income_precheck_request.rb +1 -1
  316. data/lib/plaid/models/credit_payroll_income_precheck_response.rb +1 -1
  317. data/lib/plaid/models/credit_payroll_income_refresh_request.rb +1 -1
  318. data/lib/plaid/models/credit_payroll_income_refresh_request_options.rb +2 -2
  319. data/lib/plaid/models/credit_payroll_income_refresh_response.rb +1 -1
  320. data/lib/plaid/models/credit_payroll_income_risk_signals_get_request.rb +1 -1
  321. data/lib/plaid/models/credit_payroll_income_risk_signals_get_response.rb +1 -1
  322. data/lib/plaid/models/credit_platform_ids.rb +1 -1
  323. data/lib/plaid/models/credit_relay_create_request.rb +1 -1
  324. data/lib/plaid/models/credit_relay_create_response.rb +1 -1
  325. data/lib/plaid/models/credit_relay_get_request.rb +1 -1
  326. data/lib/plaid/models/credit_relay_pdf_get_request.rb +1 -1
  327. data/lib/plaid/models/credit_relay_refresh_request.rb +1 -1
  328. data/lib/plaid/models/credit_relay_refresh_response.rb +1 -1
  329. data/lib/plaid/models/credit_relay_remove_request.rb +1 -1
  330. data/lib/plaid/models/credit_relay_remove_response.rb +1 -1
  331. data/lib/plaid/models/credit_session.rb +1 -1
  332. data/lib/plaid/models/credit_session_bank_employment_result.rb +1 -1
  333. data/lib/plaid/models/credit_session_bank_employment_status.rb +1 -1
  334. data/lib/plaid/models/credit_session_bank_income_result.rb +1 -1
  335. data/lib/plaid/models/credit_session_bank_income_status.rb +1 -1
  336. data/lib/plaid/models/credit_session_document_income_result.rb +1 -1
  337. data/lib/plaid/models/credit_session_error.rb +1 -1
  338. data/lib/plaid/models/credit_session_item_add_result.rb +1 -1
  339. data/lib/plaid/models/credit_session_payroll_income_result.rb +1 -1
  340. data/lib/plaid/models/credit_session_results.rb +1 -1
  341. data/lib/plaid/models/credit_sessions_get_request.rb +1 -1
  342. data/lib/plaid/models/credit_sessions_get_response.rb +1 -1
  343. data/lib/plaid/models/credit_w2.rb +1 -1
  344. data/lib/plaid/models/customer_initiated_return_risk.rb +1 -1
  345. data/lib/plaid/models/dashboard_user.rb +1 -1
  346. data/lib/plaid/models/dashboard_user_get_request.rb +1 -1
  347. data/lib/plaid/models/dashboard_user_get_response.rb +1 -1
  348. data/lib/plaid/models/dashboard_user_list_request.rb +1 -1
  349. data/lib/plaid/models/dashboard_user_list_response.rb +1 -1
  350. data/lib/plaid/models/dashboard_user_status.rb +1 -1
  351. data/lib/plaid/models/date_range.rb +1 -1
  352. data/lib/plaid/models/deductions.rb +1 -1
  353. data/lib/plaid/models/deductions_breakdown.rb +1 -1
  354. data/lib/plaid/models/deductions_total.rb +1 -1
  355. data/lib/plaid/models/default_update_webhook.rb +1 -1
  356. data/lib/plaid/models/deposit_switch_address_data.rb +1 -1
  357. data/lib/plaid/models/deposit_switch_alt_create_request.rb +1 -1
  358. data/lib/plaid/models/deposit_switch_alt_create_response.rb +1 -1
  359. data/lib/plaid/models/deposit_switch_create_request.rb +1 -1
  360. data/lib/plaid/models/deposit_switch_create_request_options.rb +1 -1
  361. data/lib/plaid/models/deposit_switch_create_response.rb +1 -1
  362. data/lib/plaid/models/deposit_switch_get_request.rb +1 -1
  363. data/lib/plaid/models/deposit_switch_get_response.rb +1 -1
  364. data/lib/plaid/models/deposit_switch_state_update_webhook.rb +1 -1
  365. data/lib/plaid/models/deposit_switch_target_account.rb +1 -1
  366. data/lib/plaid/models/deposit_switch_target_user.rb +1 -1
  367. data/lib/plaid/models/deposit_switch_token_create_request.rb +1 -1
  368. data/lib/plaid/models/deposit_switch_token_create_response.rb +1 -1
  369. data/lib/plaid/models/depository_account_subtype.rb +1 -1
  370. data/lib/plaid/models/depository_filter.rb +1 -1
  371. data/lib/plaid/models/detailed_originator.rb +2 -1
  372. data/lib/plaid/models/detected_account.rb +308 -0
  373. data/lib/plaid/models/distribution_breakdown.rb +1 -1
  374. data/lib/plaid/models/doc_type.rb +1 -1
  375. data/lib/plaid/models/document_analysis.rb +1 -1
  376. data/lib/plaid/models/document_authenticity_match_code.rb +1 -1
  377. data/lib/plaid/models/document_date_of_birth_match_code.rb +1 -1
  378. data/lib/plaid/models/document_metadata.rb +1 -1
  379. data/lib/plaid/models/document_name_match_code.rb +1 -1
  380. data/lib/plaid/models/document_risk_signal.rb +1 -1
  381. data/lib/plaid/models/document_risk_signal_institution_metadata.rb +1 -1
  382. data/lib/plaid/models/document_risk_signals_object.rb +1 -1
  383. data/lib/plaid/models/document_risk_summary.rb +1 -1
  384. data/lib/plaid/models/document_status.rb +1 -1
  385. data/lib/plaid/models/documentary_verification.rb +1 -1
  386. data/lib/plaid/models/documentary_verification_document.rb +1 -1
  387. data/lib/plaid/models/earnings.rb +1 -1
  388. data/lib/plaid/models/earnings_breakdown.rb +1 -1
  389. data/lib/plaid/models/earnings_breakdown_canonical_description.rb +1 -1
  390. data/lib/plaid/models/earnings_total.rb +1 -1
  391. data/lib/plaid/models/email.rb +1 -1
  392. data/lib/plaid/models/email_address_match_score.rb +1 -1
  393. data/lib/plaid/models/employee.rb +1 -1
  394. data/lib/plaid/models/employee_income_summary_field_string.rb +1 -1
  395. data/lib/plaid/models/employer.rb +1 -1
  396. data/lib/plaid/models/employer_income_summary_field_string.rb +1 -1
  397. data/lib/plaid/models/employer_verification.rb +1 -1
  398. data/lib/plaid/models/employers_search_request.rb +1 -1
  399. data/lib/plaid/models/employers_search_response.rb +1 -1
  400. data/lib/plaid/models/employment_details.rb +1 -1
  401. data/lib/plaid/models/employment_source_type.rb +1 -1
  402. data/lib/plaid/models/employment_verification.rb +1 -1
  403. data/lib/plaid/models/employment_verification_get_request.rb +1 -1
  404. data/lib/plaid/models/employment_verification_get_response.rb +1 -1
  405. data/lib/plaid/models/employment_verification_status.rb +1 -1
  406. data/lib/plaid/models/enhancements.rb +1 -1
  407. data/lib/plaid/models/enrich_transaction_direction.rb +1 -1
  408. data/lib/plaid/models/enrichments.rb +1 -1
  409. data/lib/plaid/models/entity_document.rb +1 -1
  410. data/lib/plaid/models/entity_document_type.rb +1 -1
  411. data/lib/plaid/models/entity_screening_hit_analysis.rb +1 -1
  412. data/lib/plaid/models/entity_screening_hit_data.rb +1 -1
  413. data/lib/plaid/models/entity_screening_hit_documents_items.rb +1 -1
  414. data/lib/plaid/models/entity_screening_hit_emails.rb +1 -1
  415. data/lib/plaid/models/entity_screening_hit_emails_items.rb +1 -1
  416. data/lib/plaid/models/entity_screening_hit_names.rb +1 -1
  417. data/lib/plaid/models/entity_screening_hit_names_items.rb +1 -1
  418. data/lib/plaid/models/entity_screening_hit_phone_numbers.rb +1 -1
  419. data/lib/plaid/models/entity_screening_hit_urls.rb +1 -1
  420. data/lib/plaid/models/entity_screening_hit_urls_items.rb +1 -1
  421. data/lib/plaid/models/entity_screening_hits_phone_number_items.rb +1 -1
  422. data/lib/plaid/models/entity_screening_status_updated_webhook.rb +1 -1
  423. data/lib/plaid/models/entity_watchlist_code.rb +1 -1
  424. data/lib/plaid/models/entity_watchlist_program.rb +1 -1
  425. data/lib/plaid/models/entity_watchlist_screening.rb +1 -1
  426. data/lib/plaid/models/entity_watchlist_screening_hit.rb +1 -1
  427. data/lib/plaid/models/entity_watchlist_screening_review.rb +1 -1
  428. data/lib/plaid/models/entity_watchlist_screening_search_terms.rb +1 -1
  429. data/lib/plaid/models/entity_watchlist_search_terms.rb +1 -1
  430. data/lib/plaid/models/expiration_date.rb +1 -1
  431. data/lib/plaid/models/external_payment_initiation_consent_options.rb +1 -1
  432. data/lib/plaid/models/external_payment_options.rb +1 -1
  433. data/lib/plaid/models/external_payment_refund_details.rb +1 -1
  434. data/lib/plaid/models/external_payment_schedule_base.rb +1 -1
  435. data/lib/plaid/models/external_payment_schedule_get.rb +1 -1
  436. data/lib/plaid/models/external_payment_schedule_request.rb +1 -1
  437. data/lib/plaid/models/fallback_auth_microdeposit_auto_verified_webhook.rb +1 -1
  438. data/lib/plaid/models/fallback_auth_microdeposit_verification_expired_webhook.rb +1 -1
  439. data/lib/plaid/models/fdx_content_types.rb +1 -1
  440. data/lib/plaid/models/fdx_hateoas_link.rb +1 -1
  441. data/lib/plaid/models/fdx_hateoas_link_action.rb +1 -1
  442. data/lib/plaid/models/fdx_initiator_fi_attribute.rb +1 -1
  443. data/lib/plaid/models/fdx_notification.rb +1 -6
  444. data/lib/plaid/models/fdx_notification_category.rb +1 -1
  445. data/lib/plaid/models/fdx_notification_payload.rb +1 -1
  446. data/lib/plaid/models/fdx_notification_payload_id_type.rb +1 -1
  447. data/lib/plaid/models/fdx_notification_priority.rb +1 -1
  448. data/lib/plaid/models/fdx_notification_severity.rb +1 -1
  449. data/lib/plaid/models/fdx_notification_type.rb +1 -1
  450. data/lib/plaid/models/fdx_party.rb +1 -1
  451. data/lib/plaid/models/fdx_party_registry.rb +1 -1
  452. data/lib/plaid/models/fdx_party_type.rb +1 -1
  453. data/lib/plaid/models/fdxfi_attribute.rb +1 -1
  454. data/lib/plaid/models/financial_institution_insights.rb +265 -0
  455. data/lib/plaid/models/form1099_type.rb +1 -1
  456. data/lib/plaid/models/fraud_amount.rb +1 -1
  457. data/lib/plaid/models/generic_screening_hit_location_items.rb +1 -1
  458. data/lib/plaid/models/health_incident.rb +1 -1
  459. data/lib/plaid/models/historical_balance.rb +1 -1
  460. data/lib/plaid/models/historical_update_webhook.rb +1 -1
  461. data/lib/plaid/models/holding.rb +1 -1
  462. data/lib/plaid/models/holdings_default_update_webhook.rb +1 -1
  463. data/lib/plaid/models/holdings_override.rb +1 -1
  464. data/lib/plaid/models/hosted_link_delivery_method.rb +1 -1
  465. data/lib/plaid/models/id_number_type.rb +1 -1
  466. data/lib/plaid/models/identity_default_update_webhook.rb +1 -1
  467. data/lib/plaid/models/identity_get_request.rb +1 -1
  468. data/lib/plaid/models/identity_get_request_options.rb +1 -1
  469. data/lib/plaid/models/identity_get_response.rb +1 -1
  470. data/lib/plaid/models/identity_match_request.rb +1 -1
  471. data/lib/plaid/models/identity_match_request_options.rb +1 -1
  472. data/lib/plaid/models/identity_match_response.rb +1 -1
  473. data/lib/plaid/models/identity_match_user.rb +1 -1
  474. data/lib/plaid/models/identity_refresh_request.rb +1 -1
  475. data/lib/plaid/models/identity_refresh_response.rb +1 -1
  476. data/lib/plaid/models/identity_update_types.rb +1 -1
  477. data/lib/plaid/models/identity_verification.rb +1 -1
  478. data/lib/plaid/models/identity_verification_create_request.rb +1 -1
  479. data/lib/plaid/models/identity_verification_create_request_user.rb +1 -1
  480. data/lib/plaid/models/identity_verification_create_response.rb +1 -1
  481. data/lib/plaid/models/identity_verification_document_address_response.rb +1 -1
  482. data/lib/plaid/models/identity_verification_get_request.rb +1 -1
  483. data/lib/plaid/models/identity_verification_get_response.rb +1 -1
  484. data/lib/plaid/models/identity_verification_list_request.rb +1 -1
  485. data/lib/plaid/models/identity_verification_list_response.rb +1 -1
  486. data/lib/plaid/models/identity_verification_request_user.rb +1 -1
  487. data/lib/plaid/models/identity_verification_request_user_name.rb +1 -1
  488. data/lib/plaid/models/identity_verification_response_user_name.rb +1 -1
  489. data/lib/plaid/models/identity_verification_retried_webhook.rb +1 -1
  490. data/lib/plaid/models/identity_verification_retry_request.rb +1 -1
  491. data/lib/plaid/models/identity_verification_retry_request_steps_object.rb +1 -1
  492. data/lib/plaid/models/identity_verification_retry_response.rb +1 -1
  493. data/lib/plaid/models/identity_verification_status.rb +1 -1
  494. data/lib/plaid/models/identity_verification_status_updated_webhook.rb +1 -1
  495. data/lib/plaid/models/identity_verification_step_status.rb +1 -1
  496. data/lib/plaid/models/identity_verification_step_summary.rb +1 -1
  497. data/lib/plaid/models/identity_verification_step_updated_webhook.rb +1 -1
  498. data/lib/plaid/models/identity_verification_template_reference.rb +1 -1
  499. data/lib/plaid/models/identity_verification_user_address.rb +1 -1
  500. data/lib/plaid/models/identity_verification_user_data.rb +1 -1
  501. data/lib/plaid/models/image_quality.rb +1 -1
  502. data/lib/plaid/models/incident_update.rb +1 -1
  503. data/lib/plaid/models/income_breakdown.rb +1 -1
  504. data/lib/plaid/models/income_breakdown_type.rb +1 -1
  505. data/lib/plaid/models/income_override.rb +1 -1
  506. data/lib/plaid/models/income_summary.rb +1 -1
  507. data/lib/plaid/models/income_summary_field_number.rb +1 -1
  508. data/lib/plaid/models/income_summary_field_string.rb +1 -1
  509. data/lib/plaid/models/income_verification_create_request.rb +1 -1
  510. data/lib/plaid/models/income_verification_create_request_options.rb +1 -1
  511. data/lib/plaid/models/income_verification_create_response.rb +1 -1
  512. data/lib/plaid/models/income_verification_doc_parsing_config.rb +1 -1
  513. data/lib/plaid/models/income_verification_documents_download_request.rb +1 -1
  514. data/lib/plaid/models/income_verification_payroll_flow_type.rb +1 -1
  515. data/lib/plaid/models/income_verification_paystubs_get_request.rb +1 -1
  516. data/lib/plaid/models/income_verification_paystubs_get_response.rb +1 -1
  517. data/lib/plaid/models/income_verification_precheck_confidence.rb +1 -1
  518. data/lib/plaid/models/income_verification_precheck_employer.rb +1 -1
  519. data/lib/plaid/models/income_verification_precheck_employer_address.rb +1 -1
  520. data/lib/plaid/models/income_verification_precheck_employer_address_data.rb +1 -1
  521. data/lib/plaid/models/income_verification_precheck_military_info.rb +1 -1
  522. data/lib/plaid/models/income_verification_precheck_payroll_institution.rb +1 -1
  523. data/lib/plaid/models/income_verification_precheck_request.rb +1 -1
  524. data/lib/plaid/models/income_verification_precheck_response.rb +1 -1
  525. data/lib/plaid/models/income_verification_precheck_user.rb +1 -1
  526. data/lib/plaid/models/income_verification_refresh_reconnect_needed_webhook.rb +270 -0
  527. data/lib/plaid/models/income_verification_risk_signals_status_webhook.rb +1 -1
  528. data/lib/plaid/models/income_verification_source_type.rb +1 -1
  529. data/lib/plaid/models/income_verification_status_webhook.rb +1 -1
  530. data/lib/plaid/models/income_verification_taxforms_get_request.rb +1 -1
  531. data/lib/plaid/models/income_verification_taxforms_get_response.rb +1 -1
  532. data/lib/plaid/models/income_verification_webhook_status.rb +1 -1
  533. data/lib/plaid/models/individual_name.rb +1 -1
  534. data/lib/plaid/models/individual_screening_hit_names.rb +1 -1
  535. data/lib/plaid/models/individual_watchlist_code.rb +1 -1
  536. data/lib/plaid/models/individual_watchlist_program.rb +1 -1
  537. data/lib/plaid/models/inflow_model.rb +1 -1
  538. data/lib/plaid/models/initial_update_webhook.rb +1 -1
  539. data/lib/plaid/models/institution.rb +1 -1
  540. data/lib/plaid/models/institution_status.rb +1 -1
  541. data/lib/plaid/models/institution_status_alert_webhook.rb +285 -0
  542. data/lib/plaid/models/institution_supported_networks.rb +1 -1
  543. data/lib/plaid/models/institutions_get_by_id_request.rb +1 -1
  544. data/lib/plaid/models/institutions_get_by_id_request_options.rb +1 -1
  545. data/lib/plaid/models/institutions_get_by_id_response.rb +1 -1
  546. data/lib/plaid/models/institutions_get_request.rb +1 -1
  547. data/lib/plaid/models/institutions_get_request_options.rb +1 -1
  548. data/lib/plaid/models/institutions_get_response.rb +1 -1
  549. data/lib/plaid/models/institutions_search_account_filter.rb +1 -1
  550. data/lib/plaid/models/institutions_search_payment_initiation_options.rb +1 -1
  551. data/lib/plaid/models/institutions_search_request.rb +1 -1
  552. data/lib/plaid/models/institutions_search_request_options.rb +1 -1
  553. data/lib/plaid/models/institutions_search_response.rb +1 -1
  554. data/lib/plaid/models/investment_account_subtype.rb +1 -1
  555. data/lib/plaid/models/investment_filter.rb +1 -1
  556. data/lib/plaid/models/investment_holdings_get_request_options.rb +1 -1
  557. data/lib/plaid/models/investment_transaction.rb +1 -1
  558. data/lib/plaid/models/investment_transaction_subtype.rb +1 -1
  559. data/lib/plaid/models/investment_transaction_type.rb +1 -1
  560. data/lib/plaid/models/investments_auth_get_numbers.rb +1 -1
  561. data/lib/plaid/models/investments_auth_get_request.rb +1 -1
  562. data/lib/plaid/models/investments_auth_get_request_options.rb +1 -1
  563. data/lib/plaid/models/investments_auth_get_response.rb +1 -1
  564. data/lib/plaid/models/investments_auth_owner.rb +1 -1
  565. data/lib/plaid/models/investments_default_update_webhook.rb +1 -1
  566. data/lib/plaid/models/investments_historical_update_webhook.rb +1 -1
  567. data/lib/plaid/models/investments_holdings_get_request.rb +1 -1
  568. data/lib/plaid/models/investments_holdings_get_response.rb +15 -5
  569. data/lib/plaid/models/investments_refresh_request.rb +1 -1
  570. data/lib/plaid/models/investments_refresh_response.rb +1 -1
  571. data/lib/plaid/models/investments_transactions_get_request.rb +1 -1
  572. data/lib/plaid/models/investments_transactions_get_request_options.rb +1 -1
  573. data/lib/plaid/models/investments_transactions_get_response.rb +15 -5
  574. data/lib/plaid/models/investments_transactions_override.rb +1 -1
  575. data/lib/plaid/models/iso_currency_code.rb +1 -1
  576. data/lib/plaid/models/issuing_country.rb +1 -1
  577. data/lib/plaid/models/item.rb +2 -2
  578. data/lib/plaid/models/item_access_token_invalidate_request.rb +1 -1
  579. data/lib/plaid/models/item_access_token_invalidate_response.rb +1 -1
  580. data/lib/plaid/models/item_activity_list_request.rb +1 -1
  581. data/lib/plaid/models/item_activity_list_response.rb +1 -1
  582. data/lib/plaid/models/item_application_list_request.rb +1 -1
  583. data/lib/plaid/models/item_application_list_response.rb +1 -1
  584. data/lib/plaid/models/item_application_list_user_auth.rb +1 -1
  585. data/lib/plaid/models/item_application_scopes_update_request.rb +2 -2
  586. data/lib/plaid/models/item_application_scopes_update_response.rb +1 -1
  587. data/lib/plaid/models/item_application_unlink_request.rb +261 -0
  588. data/lib/plaid/models/{credit_freddie_mac_services_voe25.rb → item_application_unlink_response.rb} +16 -15
  589. data/lib/plaid/models/item_error_webhook.rb +1 -1
  590. data/lib/plaid/models/item_get_request.rb +1 -1
  591. data/lib/plaid/models/item_get_response.rb +1 -1
  592. data/lib/plaid/models/item_import_request.rb +1 -1
  593. data/lib/plaid/models/item_import_request_options.rb +1 -1
  594. data/lib/plaid/models/item_import_request_user_auth.rb +1 -1
  595. data/lib/plaid/models/item_import_response.rb +1 -1
  596. data/lib/plaid/models/item_login_repaired_webhook.rb +1 -1
  597. data/lib/plaid/models/item_product_ready_webhook.rb +1 -1
  598. data/lib/plaid/models/item_public_token_create_request.rb +1 -1
  599. data/lib/plaid/models/item_public_token_create_response.rb +1 -1
  600. data/lib/plaid/models/item_public_token_exchange_request.rb +1 -1
  601. data/lib/plaid/models/item_public_token_exchange_response.rb +1 -1
  602. data/lib/plaid/models/item_remove_request.rb +1 -1
  603. data/lib/plaid/models/item_remove_response.rb +1 -1
  604. data/lib/plaid/models/item_status.rb +1 -1
  605. data/lib/plaid/models/item_status_investments.rb +1 -1
  606. data/lib/plaid/models/item_status_last_webhook.rb +1 -1
  607. data/lib/plaid/models/item_status_nullable.rb +1 -1
  608. data/lib/plaid/models/item_status_transactions.rb +1 -1
  609. data/lib/plaid/models/item_webhook_update_request.rb +1 -1
  610. data/lib/plaid/models/item_webhook_update_response.rb +1 -1
  611. data/lib/plaid/models/jwk_public_key.rb +1 -1
  612. data/lib/plaid/models/jwt_header.rb +1 -1
  613. data/lib/plaid/models/kyc_check_address_summary.rb +1 -1
  614. data/lib/plaid/models/kyc_check_date_of_birth_summary.rb +1 -1
  615. data/lib/plaid/models/kyc_check_details.rb +1 -1
  616. data/lib/plaid/models/kyc_check_id_number_summary.rb +1 -1
  617. data/lib/plaid/models/kyc_check_name_summary.rb +1 -1
  618. data/lib/plaid/models/kyc_check_phone_summary.rb +1 -1
  619. data/lib/plaid/models/last_data_access_times.rb +1 -1
  620. data/lib/plaid/models/liabilities_default_update_webhook.rb +1 -1
  621. data/lib/plaid/models/liabilities_get_request.rb +1 -1
  622. data/lib/plaid/models/liabilities_get_request_options.rb +1 -1
  623. data/lib/plaid/models/liabilities_get_response.rb +1 -1
  624. data/lib/plaid/models/liabilities_object.rb +1 -1
  625. data/lib/plaid/models/liability_override.rb +1 -1
  626. data/lib/plaid/models/link_callback_metadata.rb +1 -1
  627. data/lib/plaid/models/link_delivery_account.rb +1 -1
  628. data/lib/plaid/models/link_delivery_callback_webhook.rb +1 -1
  629. data/lib/plaid/models/link_delivery_communication_method.rb +1 -1
  630. data/lib/plaid/models/link_delivery_create_request.rb +1 -1
  631. data/lib/plaid/models/link_delivery_create_response.rb +1 -1
  632. data/lib/plaid/models/link_delivery_delivery_method.rb +1 -1
  633. data/lib/plaid/models/link_delivery_get_request.rb +1 -1
  634. data/lib/plaid/models/link_delivery_get_response.rb +1 -1
  635. data/lib/plaid/models/link_delivery_institution.rb +1 -1
  636. data/lib/plaid/models/link_delivery_metadata.rb +1 -1
  637. data/lib/plaid/models/link_delivery_options.rb +1 -1
  638. data/lib/plaid/models/link_delivery_recipient.rb +1 -1
  639. data/lib/plaid/models/link_delivery_session_status.rb +1 -1
  640. data/lib/plaid/models/link_delivery_verification_status.rb +2 -1
  641. data/lib/plaid/models/link_delivery_webhook_callback_type.rb +1 -1
  642. data/lib/plaid/models/link_delivery_webhook_communication_method.rb +1 -1
  643. data/lib/plaid/models/link_delivery_webhook_delivery_status.rb +1 -1
  644. data/lib/plaid/models/link_event.rb +1 -1
  645. data/lib/plaid/models/link_event_metadata.rb +1 -1
  646. data/lib/plaid/models/link_event_name.rb +1 -1
  647. data/lib/plaid/models/link_events_webhook.rb +1 -1
  648. data/lib/plaid/models/link_o_auth_correlation_id_exchange_request.rb +1 -1
  649. data/lib/plaid/models/link_o_auth_correlation_id_exchange_response.rb +1 -1
  650. data/lib/plaid/models/link_session_exit.rb +1 -1
  651. data/lib/plaid/models/link_session_exit_metadata.rb +1 -1
  652. data/lib/plaid/models/link_session_exit_metadata_institution.rb +1 -1
  653. data/lib/plaid/models/link_session_finished_webhook.rb +1 -1
  654. data/lib/plaid/models/link_session_success.rb +1 -1
  655. data/lib/plaid/models/link_session_success_metadata.rb +1 -1
  656. data/lib/plaid/models/link_session_success_metadata_account.rb +2 -2
  657. data/lib/plaid/models/link_session_success_metadata_institution.rb +1 -1
  658. data/lib/plaid/models/link_session_success_metadata_transfer_status.rb +1 -1
  659. data/lib/plaid/models/link_token_account_filters.rb +15 -6
  660. data/lib/plaid/models/link_token_create_credit_filter.rb +1 -1
  661. data/lib/plaid/models/link_token_create_depository_filter.rb +1 -1
  662. data/lib/plaid/models/link_token_create_hosted_link.rb +25 -5
  663. data/lib/plaid/models/link_token_create_institution_data.rb +1 -1
  664. data/lib/plaid/models/link_token_create_investment_filter.rb +1 -1
  665. data/lib/plaid/models/link_token_create_loan_filter.rb +1 -1
  666. data/lib/plaid/models/link_token_create_request.rb +106 -8
  667. data/lib/plaid/models/link_token_create_request_account_subtypes.rb +1 -1
  668. data/lib/plaid/models/link_token_create_request_auth.rb +22 -2
  669. data/lib/plaid/models/link_token_create_request_base_report.rb +36 -1
  670. data/lib/plaid/models/link_token_create_request_deposit_switch.rb +1 -1
  671. data/lib/plaid/models/link_token_create_request_employment.rb +1 -1
  672. data/lib/plaid/models/link_token_create_request_employment_bank_income.rb +1 -1
  673. data/lib/plaid/models/link_token_create_request_identity_verification.rb +1 -1
  674. data/lib/plaid/models/link_token_create_request_income_verification.rb +3 -12
  675. data/lib/plaid/models/link_token_create_request_income_verification_bank_income.rb +1 -1
  676. data/lib/plaid/models/link_token_create_request_income_verification_payroll_income.rb +2 -2
  677. data/lib/plaid/models/link_token_create_request_payment_initiation.rb +1 -1
  678. data/lib/plaid/models/link_token_create_request_statements.rb +1 -1
  679. data/lib/plaid/models/link_token_create_request_transfer.rb +1 -1
  680. data/lib/plaid/models/link_token_create_request_update.rb +1 -1
  681. data/lib/plaid/models/link_token_create_request_user.rb +22 -1
  682. data/lib/plaid/models/link_token_create_request_user_address.rb +1 -1
  683. data/lib/plaid/models/link_token_create_request_user_id_number.rb +1 -1
  684. data/lib/plaid/models/link_token_create_request_user_name.rb +1 -1
  685. data/lib/plaid/models/link_token_create_request_user_stated_income_source.rb +1 -1
  686. data/lib/plaid/models/link_token_create_response.rb +1 -1
  687. data/lib/plaid/models/link_token_eu_config.rb +1 -1
  688. data/lib/plaid/models/link_token_get_metadata_response.rb +1 -1
  689. data/lib/plaid/models/link_token_get_request.rb +1 -1
  690. data/lib/plaid/models/link_token_get_response.rb +1 -1
  691. data/lib/plaid/models/link_token_get_sessions_response.rb +1 -1
  692. data/lib/plaid/models/link_token_investments.rb +15 -5
  693. data/lib/plaid/models/link_token_investments_auth.rb +1 -1
  694. data/lib/plaid/models/link_user_delivery_status_webhook.rb +1 -1
  695. data/lib/plaid/models/loan.rb +1 -1
  696. data/lib/plaid/models/loan_account_subtype.rb +1 -1
  697. data/lib/plaid/models/loan_filter.rb +1 -1
  698. data/lib/plaid/models/loan_identifier.rb +1 -1
  699. data/lib/plaid/models/loan_identifier_type.rb +1 -1
  700. data/lib/plaid/models/loan_identifiers.rb +1 -1
  701. data/lib/plaid/models/loans.rb +1 -1
  702. data/lib/plaid/models/location.rb +1 -1
  703. data/lib/plaid/models/match_summary.rb +1 -1
  704. data/lib/plaid/models/match_summary_code.rb +1 -1
  705. data/lib/plaid/models/merchant_insights.rb +315 -0
  706. data/lib/plaid/models/meta.rb +1 -1
  707. data/lib/plaid/models/mfa.rb +1 -1
  708. data/lib/plaid/models/mortgage_interest_rate.rb +1 -1
  709. data/lib/plaid/models/mortgage_liability.rb +1 -1
  710. data/lib/plaid/models/mortgage_property_address.rb +1 -1
  711. data/lib/plaid/models/multi_document_risk_signal.rb +1 -1
  712. data/lib/plaid/models/name_match_score.rb +1 -1
  713. data/lib/plaid/models/net_pay.rb +1 -1
  714. data/lib/plaid/models/new_accounts_available_webhook.rb +1 -1
  715. data/lib/plaid/models/numbers.rb +1 -1
  716. data/lib/plaid/models/numbers_acats.rb +1 -1
  717. data/lib/plaid/models/numbers_ach.rb +2 -2
  718. data/lib/plaid/models/numbers_ach_nullable.rb +2 -2
  719. data/lib/plaid/models/numbers_aton.rb +1 -1
  720. data/lib/plaid/models/numbers_bacs.rb +1 -1
  721. data/lib/plaid/models/numbers_bacs_nullable.rb +1 -1
  722. data/lib/plaid/models/numbers_eft.rb +1 -1
  723. data/lib/plaid/models/numbers_eft_nullable.rb +1 -1
  724. data/lib/plaid/models/numbers_iban_nullable.rb +1 -1
  725. data/lib/plaid/models/numbers_international.rb +1 -1
  726. data/lib/plaid/models/numbers_international_iban.rb +1 -1
  727. data/lib/plaid/models/numbers_international_nullable.rb +1 -1
  728. data/lib/plaid/models/omittable_transfer_type.rb +1 -1
  729. data/lib/plaid/models/originator.rb +1 -1
  730. data/lib/plaid/models/originator_expected_transfer_frequency.rb +1 -1
  731. data/lib/plaid/models/other_account_subtype.rb +39 -0
  732. data/lib/plaid/models/other_filter.rb +228 -0
  733. data/lib/plaid/models/override_account_type.rb +1 -1
  734. data/lib/plaid/models/override_accounts.rb +1 -1
  735. data/lib/plaid/models/owner.rb +1 -1
  736. data/lib/plaid/models/owner_override.rb +1 -1
  737. data/lib/plaid/models/ownership_type.rb +1 -1
  738. data/lib/plaid/models/parties.rb +1 -1
  739. data/lib/plaid/models/partner_customer_create_request.rb +3 -8
  740. data/lib/plaid/models/partner_customer_create_response.rb +1 -1
  741. data/lib/plaid/models/partner_customer_enable_request.rb +1 -1
  742. data/lib/plaid/models/partner_customer_enable_response.rb +1 -1
  743. data/lib/plaid/models/partner_customer_get_request.rb +1 -1
  744. data/lib/plaid/models/partner_customer_get_response.rb +1 -1
  745. data/lib/plaid/models/partner_customer_o_auth_institutions_get_request.rb +1 -1
  746. data/lib/plaid/models/partner_customer_o_auth_institutions_get_response.rb +1 -1
  747. data/lib/plaid/models/partner_customer_remove_request.rb +2 -1
  748. data/lib/plaid/models/partner_customer_remove_response.rb +1 -1
  749. data/lib/plaid/models/partner_end_customer.rb +3 -1
  750. data/lib/plaid/models/partner_end_customer_address.rb +1 -1
  751. data/lib/plaid/models/partner_end_customer_assets_under_management.rb +1 -1
  752. data/lib/plaid/models/partner_end_customer_billing_contact.rb +1 -1
  753. data/lib/plaid/models/partner_end_customer_customer_support_info.rb +1 -1
  754. data/lib/plaid/models/partner_end_customer_flowdown_status.rb +1 -1
  755. data/lib/plaid/models/partner_end_customer_o_auth_institution.rb +1 -1
  756. data/lib/plaid/models/partner_end_customer_o_auth_institution_application_status.rb +1 -1
  757. data/lib/plaid/models/partner_end_customer_o_auth_institution_environments.rb +1 -1
  758. data/lib/plaid/models/partner_end_customer_o_auth_status_updated_values.rb +1 -1
  759. data/lib/plaid/models/partner_end_customer_o_auth_status_updated_webhook.rb +1 -1
  760. data/lib/plaid/models/partner_end_customer_questionnaire_status.rb +1 -1
  761. data/lib/plaid/models/partner_end_customer_secrets.rb +1 -1
  762. data/lib/plaid/models/partner_end_customer_status.rb +1 -1
  763. data/lib/plaid/models/partner_end_customer_technical_contact.rb +1 -1
  764. data/lib/plaid/models/partner_end_customer_with_secrets.rb +3 -1
  765. data/lib/plaid/models/partner_end_customer_with_secrets_all_of.rb +1 -1
  766. data/lib/plaid/models/party.rb +1 -1
  767. data/lib/plaid/models/party_individual.rb +1 -1
  768. data/lib/plaid/models/party_role_type.rb +1 -1
  769. data/lib/plaid/models/pay.rb +1 -1
  770. data/lib/plaid/models/pay_frequency.rb +1 -1
  771. data/lib/plaid/models/pay_frequency_value.rb +1 -1
  772. data/lib/plaid/models/pay_period_details.rb +1 -1
  773. data/lib/plaid/models/pay_stub_deductions_breakdown.rb +1 -1
  774. data/lib/plaid/models/pay_stub_deductions_total.rb +1 -1
  775. data/lib/plaid/models/pay_stub_distribution_breakdown.rb +1 -1
  776. data/lib/plaid/models/pay_stub_earnings_breakdown.rb +1 -1
  777. data/lib/plaid/models/pay_stub_earnings_total.rb +1 -1
  778. data/lib/plaid/models/pay_stub_pay_period_details.rb +1 -1
  779. data/lib/plaid/models/pay_stub_taxpayer_id.rb +1 -1
  780. data/lib/plaid/models/payment_amount.rb +1 -1
  781. data/lib/plaid/models/payment_amount_currency.rb +1 -1
  782. data/lib/plaid/models/payment_amount_nullable.rb +1 -1
  783. data/lib/plaid/models/payment_amount_refunded.rb +1 -1
  784. data/lib/plaid/models/payment_amount_to_refund.rb +1 -1
  785. data/lib/plaid/models/payment_channel.rb +1 -1
  786. data/lib/plaid/models/payment_consent_max_payment_amount.rb +1 -1
  787. data/lib/plaid/models/payment_consent_periodic_alignment.rb +1 -1
  788. data/lib/plaid/models/payment_consent_periodic_amount.rb +1 -1
  789. data/lib/plaid/models/payment_consent_periodic_amount_amount.rb +1 -1
  790. data/lib/plaid/models/payment_consent_periodic_interval.rb +1 -1
  791. data/lib/plaid/models/payment_consent_valid_date_time.rb +1 -1
  792. data/lib/plaid/models/payment_initiation_address.rb +1 -1
  793. data/lib/plaid/models/payment_initiation_consent.rb +1 -1
  794. data/lib/plaid/models/payment_initiation_consent_constraints.rb +1 -1
  795. data/lib/plaid/models/payment_initiation_consent_create_request.rb +1 -1
  796. data/lib/plaid/models/payment_initiation_consent_create_response.rb +1 -1
  797. data/lib/plaid/models/payment_initiation_consent_get_request.rb +1 -1
  798. data/lib/plaid/models/payment_initiation_consent_get_response.rb +1 -1
  799. data/lib/plaid/models/payment_initiation_consent_payment_execute_request.rb +1 -1
  800. data/lib/plaid/models/payment_initiation_consent_payment_execute_response.rb +1 -1
  801. data/lib/plaid/models/payment_initiation_consent_revoke_request.rb +1 -1
  802. data/lib/plaid/models/payment_initiation_consent_revoke_response.rb +1 -1
  803. data/lib/plaid/models/payment_initiation_consent_scope.rb +1 -1
  804. data/lib/plaid/models/payment_initiation_consent_status.rb +1 -1
  805. data/lib/plaid/models/payment_initiation_metadata.rb +1 -1
  806. data/lib/plaid/models/payment_initiation_optional_restriction_bacs.rb +1 -1
  807. data/lib/plaid/models/payment_initiation_payment.rb +1 -1
  808. data/lib/plaid/models/payment_initiation_payment_create_request.rb +1 -1
  809. data/lib/plaid/models/payment_initiation_payment_create_response.rb +1 -1
  810. data/lib/plaid/models/payment_initiation_payment_create_status.rb +1 -1
  811. data/lib/plaid/models/payment_initiation_payment_get_request.rb +1 -1
  812. data/lib/plaid/models/payment_initiation_payment_get_response.rb +1 -1
  813. data/lib/plaid/models/payment_initiation_payment_list_request.rb +1 -1
  814. data/lib/plaid/models/payment_initiation_payment_list_response.rb +1 -1
  815. data/lib/plaid/models/payment_initiation_payment_reverse_request.rb +1 -1
  816. data/lib/plaid/models/payment_initiation_payment_reverse_response.rb +1 -1
  817. data/lib/plaid/models/payment_initiation_payment_status.rb +1 -1
  818. data/lib/plaid/models/payment_initiation_payment_token_create_request.rb +1 -1
  819. data/lib/plaid/models/payment_initiation_payment_token_create_response.rb +1 -1
  820. data/lib/plaid/models/payment_initiation_recipient.rb +1 -1
  821. data/lib/plaid/models/payment_initiation_recipient_create_request.rb +1 -1
  822. data/lib/plaid/models/payment_initiation_recipient_create_response.rb +1 -1
  823. data/lib/plaid/models/payment_initiation_recipient_get_request.rb +1 -1
  824. data/lib/plaid/models/payment_initiation_recipient_get_response.rb +1 -1
  825. data/lib/plaid/models/payment_initiation_recipient_get_response_all_of.rb +1 -1
  826. data/lib/plaid/models/payment_initiation_recipient_list_request.rb +1 -1
  827. data/lib/plaid/models/payment_initiation_recipient_list_response.rb +1 -1
  828. data/lib/plaid/models/payment_initiation_standing_order_metadata.rb +1 -1
  829. data/lib/plaid/models/payment_meta.rb +1 -1
  830. data/lib/plaid/models/payment_profile_create_request.rb +1 -1
  831. data/lib/plaid/models/payment_profile_create_response.rb +1 -1
  832. data/lib/plaid/models/payment_profile_get_request.rb +1 -1
  833. data/lib/plaid/models/payment_profile_get_response.rb +1 -1
  834. data/lib/plaid/models/payment_profile_remove_request.rb +1 -1
  835. data/lib/plaid/models/payment_profile_remove_response.rb +1 -1
  836. data/lib/plaid/models/payment_profile_status.rb +1 -1
  837. data/lib/plaid/models/payment_schedule_interval.rb +1 -1
  838. data/lib/plaid/models/payment_scheme.rb +1 -1
  839. data/lib/plaid/models/payment_status_update_webhook.rb +1 -1
  840. data/lib/plaid/models/payroll_income_account_data.rb +1 -1
  841. data/lib/plaid/models/payroll_income_object.rb +1 -1
  842. data/lib/plaid/models/payroll_income_rate_of_pay.rb +1 -1
  843. data/lib/plaid/models/payroll_item.rb +1 -1
  844. data/lib/plaid/models/payroll_item_status.rb +1 -1
  845. data/lib/plaid/models/payroll_risk_signals_item.rb +1 -1
  846. data/lib/plaid/models/paystub.rb +1 -1
  847. data/lib/plaid/models/paystub_address.rb +1 -1
  848. data/lib/plaid/models/paystub_deduction.rb +1 -1
  849. data/lib/plaid/models/paystub_details.rb +1 -1
  850. data/lib/plaid/models/paystub_employer.rb +1 -1
  851. data/lib/plaid/models/paystub_override.rb +1 -1
  852. data/lib/plaid/models/paystub_override_employee.rb +1 -1
  853. data/lib/plaid/models/paystub_override_employee_address.rb +1 -1
  854. data/lib/plaid/models/paystub_override_employer.rb +1 -1
  855. data/lib/plaid/models/paystub_pay_frequency.rb +1 -1
  856. data/lib/plaid/models/paystub_ytd_details.rb +1 -1
  857. data/lib/plaid/models/pending_expiration_webhook.rb +1 -1
  858. data/lib/plaid/models/personal_finance_category.rb +3 -3
  859. data/lib/plaid/models/phone_number.rb +1 -1
  860. data/lib/plaid/models/phone_number_match_score.rb +2 -2
  861. data/lib/plaid/models/phone_type.rb +1 -1
  862. data/lib/plaid/models/physical_document_category.rb +1 -1
  863. data/lib/plaid/models/physical_document_extracted_data.rb +1 -1
  864. data/lib/plaid/models/physical_document_extracted_data_analysis.rb +1 -1
  865. data/lib/plaid/models/physical_document_images.rb +1 -1
  866. data/lib/plaid/models/plaid_error.rb +1 -1
  867. data/lib/plaid/models/plaid_error_type.rb +1 -1
  868. data/lib/plaid/models/platform_ids.rb +1 -1
  869. data/lib/plaid/models/po_box_status.rb +1 -1
  870. data/lib/plaid/models/processor_account_get_request.rb +1 -1
  871. data/lib/plaid/models/processor_account_get_response.rb +1 -1
  872. data/lib/plaid/models/processor_apex_processor_token_create_request.rb +1 -1
  873. data/lib/plaid/models/processor_auth_get_request.rb +1 -1
  874. data/lib/plaid/models/processor_auth_get_response.rb +1 -1
  875. data/lib/plaid/models/processor_balance_get_request.rb +1 -1
  876. data/lib/plaid/models/processor_balance_get_request_options.rb +1 -1
  877. data/lib/plaid/models/processor_balance_get_response.rb +1 -1
  878. data/lib/plaid/models/processor_bank_transfer_create_request.rb +1 -1
  879. data/lib/plaid/models/processor_bank_transfer_create_response.rb +1 -1
  880. data/lib/plaid/models/processor_default_update_webhook.rb +1 -1
  881. data/lib/plaid/models/processor_historical_update_webhook.rb +1 -1
  882. data/lib/plaid/models/processor_identity_get_request.rb +1 -1
  883. data/lib/plaid/models/processor_identity_get_response.rb +1 -1
  884. data/lib/plaid/models/processor_identity_match_request.rb +1 -1
  885. data/lib/plaid/models/processor_identity_match_response.rb +1 -1
  886. data/lib/plaid/models/processor_initial_update_webhook.rb +1 -1
  887. data/lib/plaid/models/processor_number.rb +1 -1
  888. data/lib/plaid/models/processor_recurring_transactions_update_webhook.rb +1 -1
  889. data/lib/plaid/models/processor_signal_decision_report_request.rb +1 -1
  890. data/lib/plaid/models/processor_signal_decision_report_response.rb +1 -1
  891. data/lib/plaid/models/processor_signal_evaluate_request.rb +1 -1
  892. data/lib/plaid/models/processor_signal_evaluate_response.rb +1 -1
  893. data/lib/plaid/models/processor_signal_prepare_request.rb +246 -0
  894. data/lib/plaid/models/processor_signal_prepare_response.rb +226 -0
  895. data/lib/plaid/models/processor_signal_return_report_request.rb +1 -1
  896. data/lib/plaid/models/processor_signal_return_report_response.rb +1 -1
  897. data/lib/plaid/models/processor_stripe_bank_account_token_create_request.rb +1 -1
  898. data/lib/plaid/models/processor_stripe_bank_account_token_create_response.rb +1 -1
  899. data/lib/plaid/models/processor_sync_updates_available_webhook.rb +1 -1
  900. data/lib/plaid/models/processor_token_create_request.rb +3 -3
  901. data/lib/plaid/models/processor_token_create_response.rb +1 -1
  902. data/lib/plaid/models/processor_token_permissions_get_request.rb +1 -1
  903. data/lib/plaid/models/processor_token_permissions_get_response.rb +1 -1
  904. data/lib/plaid/models/processor_token_permissions_set_request.rb +1 -1
  905. data/lib/plaid/models/processor_token_permissions_set_response.rb +1 -1
  906. data/lib/plaid/models/processor_token_webhook_update.rb +1 -1
  907. data/lib/plaid/models/processor_token_webhook_update_request.rb +1 -1
  908. data/lib/plaid/models/processor_token_webhook_update_response.rb +1 -1
  909. data/lib/plaid/models/processor_transactions_get_request.rb +2 -2
  910. data/lib/plaid/models/{credit_freddie_mac_asset_detail_voe25.rb → processor_transactions_get_request_options.rb} +96 -87
  911. data/lib/plaid/models/processor_transactions_get_response.rb +11 -14
  912. data/lib/plaid/models/processor_transactions_recurring_get_request.rb +5 -22
  913. data/lib/plaid/models/processor_transactions_recurring_get_response.rb +1 -1
  914. data/lib/plaid/models/processor_transactions_refresh_request.rb +1 -1
  915. data/lib/plaid/models/processor_transactions_refresh_response.rb +1 -1
  916. data/lib/plaid/models/processor_transactions_removed_webhook.rb +1 -1
  917. data/lib/plaid/models/processor_transactions_sync_request.rb +1 -1
  918. data/lib/plaid/models/processor_transactions_sync_response.rb +1 -1
  919. data/lib/plaid/models/product_access.rb +1 -1
  920. data/lib/plaid/models/product_permissions_required_auth_webhook.rb +1 -1
  921. data/lib/plaid/models/product_permissions_required_identity_webhook.rb +1 -1
  922. data/lib/plaid/models/product_status.rb +1 -1
  923. data/lib/plaid/models/product_status_breakdown.rb +1 -1
  924. data/lib/plaid/models/products.rb +1 -1
  925. data/lib/plaid/models/program_name_sensitivity.rb +1 -1
  926. data/lib/plaid/models/projected_income_summary_field_number.rb +1 -1
  927. data/lib/plaid/models/proxy_type.rb +1 -1
  928. data/lib/plaid/models/pslf_status.rb +1 -1
  929. data/lib/plaid/models/recaptcha_required_error.rb +1 -1
  930. data/lib/plaid/models/recipient_bacs.rb +1 -1
  931. data/lib/plaid/models/recipient_bacs_nullable.rb +1 -1
  932. data/lib/plaid/models/recurrence.rb +1 -1
  933. data/lib/plaid/models/recurring_cancelled_webhook.rb +1 -1
  934. data/lib/plaid/models/recurring_frequency.rb +1 -1
  935. data/lib/plaid/models/recurring_insights_stream.rb +379 -0
  936. data/lib/plaid/models/recurring_new_transfer_webhook.rb +1 -1
  937. data/lib/plaid/models/recurring_transaction_frequency.rb +1 -1
  938. data/lib/plaid/models/recurring_transactions.rb +245 -0
  939. data/lib/plaid/models/recurring_transactions_update_webhook.rb +1 -1
  940. data/lib/plaid/models/recurring_transfer.rb +2 -2
  941. data/lib/plaid/models/recurring_transfer_nullable.rb +2 -2
  942. data/lib/plaid/models/recurring_transfer_skipped_webhook.rb +1 -1
  943. data/lib/plaid/models/removed_transaction.rb +1 -1
  944. data/lib/plaid/models/report_type.rb +1 -1
  945. data/lib/plaid/models/reporting_information.rb +1 -1
  946. data/lib/plaid/models/risk_check_behavior.rb +1 -1
  947. data/lib/plaid/models/risk_check_behavior_bot_detected_label.rb +1 -1
  948. data/lib/plaid/models/risk_check_behavior_fraud_ring_detected_label.rb +1 -1
  949. data/lib/plaid/models/risk_check_behavior_user_interactions_label.rb +1 -1
  950. data/lib/plaid/models/risk_check_details.rb +1 -1
  951. data/lib/plaid/models/risk_check_device.rb +1 -1
  952. data/lib/plaid/models/risk_check_email.rb +1 -1
  953. data/lib/plaid/models/risk_check_email_domain_is_custom.rb +1 -1
  954. data/lib/plaid/models/risk_check_email_domain_is_disposable.rb +1 -1
  955. data/lib/plaid/models/risk_check_email_domain_is_free_provider.rb +1 -1
  956. data/lib/plaid/models/risk_check_email_is_deliverable_status.rb +1 -1
  957. data/lib/plaid/models/risk_check_email_top_level_domain_is_suspicious.rb +1 -1
  958. data/lib/plaid/models/risk_check_identity_abuse_signals.rb +1 -1
  959. data/lib/plaid/models/risk_check_linked_service.rb +1 -1
  960. data/lib/plaid/models/risk_check_phone.rb +1 -1
  961. data/lib/plaid/models/risk_check_stolen_identity.rb +1 -1
  962. data/lib/plaid/models/risk_check_synthetic_identity.rb +1 -1
  963. data/lib/plaid/models/risk_signal_document_reference.rb +1 -1
  964. data/lib/plaid/models/risk_signal_document_status.rb +1 -1
  965. data/lib/plaid/models/role.rb +1 -1
  966. data/lib/plaid/models/role_detail.rb +1 -1
  967. data/lib/plaid/models/roles.rb +1 -1
  968. data/lib/plaid/models/sandbox_bank_income_fire_webhook_request.rb +1 -1
  969. data/lib/plaid/models/sandbox_bank_income_fire_webhook_response.rb +1 -1
  970. data/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_code.rb +1 -1
  971. data/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_fields.rb +1 -1
  972. data/lib/plaid/models/sandbox_bank_transfer_fire_webhook_request.rb +1 -1
  973. data/lib/plaid/models/sandbox_bank_transfer_fire_webhook_response.rb +1 -1
  974. data/lib/plaid/models/sandbox_bank_transfer_simulate_request.rb +1 -1
  975. data/lib/plaid/models/sandbox_bank_transfer_simulate_response.rb +1 -1
  976. data/lib/plaid/models/sandbox_income_fire_webhook_request.rb +17 -8
  977. data/lib/plaid/models/sandbox_income_fire_webhook_response.rb +1 -1
  978. data/lib/plaid/models/sandbox_income_webhook_fire_request_webhook_code.rb +39 -0
  979. data/lib/plaid/models/sandbox_item_fire_webhook_request.rb +3 -3
  980. data/lib/plaid/models/sandbox_item_fire_webhook_response.rb +1 -1
  981. data/lib/plaid/models/sandbox_item_reset_login_request.rb +1 -1
  982. data/lib/plaid/models/sandbox_item_reset_login_response.rb +1 -1
  983. data/lib/plaid/models/sandbox_item_set_verification_status_request.rb +1 -1
  984. data/lib/plaid/models/sandbox_item_set_verification_status_response.rb +1 -1
  985. data/lib/plaid/models/sandbox_oauth_select_accounts_request.rb +1 -1
  986. data/lib/plaid/models/sandbox_payment_profile_reset_login_request.rb +1 -1
  987. data/lib/plaid/models/sandbox_payment_profile_reset_login_response.rb +1 -1
  988. data/lib/plaid/models/sandbox_processor_token_create_request.rb +1 -1
  989. data/lib/plaid/models/sandbox_processor_token_create_request_options.rb +1 -1
  990. data/lib/plaid/models/sandbox_processor_token_create_response.rb +1 -1
  991. data/lib/plaid/models/sandbox_public_token_create_request.rb +1 -1
  992. data/lib/plaid/models/sandbox_public_token_create_request_income_verification_bank_income.rb +1 -1
  993. data/lib/plaid/models/sandbox_public_token_create_request_options.rb +1 -1
  994. data/lib/plaid/models/sandbox_public_token_create_request_options_income_verification.rb +1 -1
  995. data/lib/plaid/models/sandbox_public_token_create_request_options_transactions.rb +1 -1
  996. data/lib/plaid/models/sandbox_public_token_create_response.rb +1 -1
  997. data/lib/plaid/models/sandbox_transfer_fire_webhook_request.rb +1 -1
  998. data/lib/plaid/models/sandbox_transfer_fire_webhook_response.rb +1 -1
  999. data/lib/plaid/models/sandbox_transfer_ledger_deposit_simulate_request.rb +1 -1
  1000. data/lib/plaid/models/sandbox_transfer_ledger_deposit_simulate_response.rb +1 -1
  1001. data/lib/plaid/models/sandbox_transfer_ledger_simulate_available_request.rb +1 -1
  1002. data/lib/plaid/models/sandbox_transfer_ledger_simulate_available_response.rb +1 -1
  1003. data/lib/plaid/models/sandbox_transfer_ledger_withdraw_simulate_request.rb +1 -1
  1004. data/lib/plaid/models/sandbox_transfer_ledger_withdraw_simulate_response.rb +1 -1
  1005. data/lib/plaid/models/sandbox_transfer_refund_simulate_request.rb +282 -0
  1006. data/lib/plaid/models/sandbox_transfer_refund_simulate_response.rb +226 -0
  1007. data/lib/plaid/models/sandbox_transfer_repayment_simulate_request.rb +1 -1
  1008. data/lib/plaid/models/sandbox_transfer_repayment_simulate_response.rb +1 -1
  1009. data/lib/plaid/models/sandbox_transfer_simulate_request.rb +1 -1
  1010. data/lib/plaid/models/sandbox_transfer_simulate_response.rb +1 -1
  1011. data/lib/plaid/models/sandbox_transfer_sweep_simulate_request.rb +1 -1
  1012. data/lib/plaid/models/sandbox_transfer_sweep_simulate_response.rb +1 -1
  1013. data/lib/plaid/models/sandbox_transfer_test_clock_advance_request.rb +1 -1
  1014. data/lib/plaid/models/sandbox_transfer_test_clock_advance_response.rb +1 -1
  1015. data/lib/plaid/models/sandbox_transfer_test_clock_create_request.rb +1 -1
  1016. data/lib/plaid/models/sandbox_transfer_test_clock_create_response.rb +1 -1
  1017. data/lib/plaid/models/sandbox_transfer_test_clock_get_request.rb +1 -1
  1018. data/lib/plaid/models/sandbox_transfer_test_clock_get_response.rb +1 -1
  1019. data/lib/plaid/models/sandbox_transfer_test_clock_list_request.rb +1 -1
  1020. data/lib/plaid/models/sandbox_transfer_test_clock_list_response.rb +1 -1
  1021. data/lib/plaid/models/scopes.rb +1 -1
  1022. data/lib/plaid/models/scopes_context.rb +1 -1
  1023. data/lib/plaid/models/scopes_nullable.rb +1 -1
  1024. data/lib/plaid/models/screening_hit_analysis.rb +1 -1
  1025. data/lib/plaid/models/screening_hit_data.rb +1 -1
  1026. data/lib/plaid/models/screening_hit_date_of_birth_item.rb +1 -1
  1027. data/lib/plaid/models/screening_hit_documents_items.rb +1 -1
  1028. data/lib/plaid/models/screening_hit_names_items.rb +1 -1
  1029. data/lib/plaid/models/screening_status_updated_webhook.rb +1 -1
  1030. data/lib/plaid/models/security.rb +3 -3
  1031. data/lib/plaid/models/security_override.rb +3 -3
  1032. data/lib/plaid/models/selfie_analysis.rb +1 -1
  1033. data/lib/plaid/models/selfie_analysis_document_comparison.rb +1 -1
  1034. data/lib/plaid/models/selfie_capture.rb +1 -1
  1035. data/lib/plaid/models/selfie_check.rb +1 -1
  1036. data/lib/plaid/models/selfie_check_selfie.rb +1 -1
  1037. data/lib/plaid/models/selfie_check_status.rb +1 -1
  1038. data/lib/plaid/models/selfie_status.rb +1 -1
  1039. data/lib/plaid/models/sender_bacs_nullable.rb +1 -1
  1040. data/lib/plaid/models/service.rb +1 -1
  1041. data/lib/plaid/models/service_product_fulfillment.rb +1 -1
  1042. data/lib/plaid/models/service_product_fulfillment_detail.rb +1 -1
  1043. data/lib/plaid/models/service_product_fulfillment_identifier.rb +2 -2
  1044. data/lib/plaid/models/servicer_address_data.rb +1 -1
  1045. data/lib/plaid/models/services.rb +1 -1
  1046. data/lib/plaid/models/signal_address_data.rb +1 -1
  1047. data/lib/plaid/models/signal_decision_outcome.rb +1 -1
  1048. data/lib/plaid/models/signal_decision_report_request.rb +1 -1
  1049. data/lib/plaid/models/signal_decision_report_response.rb +1 -1
  1050. data/lib/plaid/models/signal_device.rb +1 -1
  1051. data/lib/plaid/models/signal_evaluate_core_attributes.rb +1 -1
  1052. data/lib/plaid/models/signal_evaluate_request.rb +1 -1
  1053. data/lib/plaid/models/signal_evaluate_response.rb +1 -1
  1054. data/lib/plaid/models/signal_payment_method.rb +1 -1
  1055. data/lib/plaid/models/signal_person_name.rb +1 -1
  1056. data/lib/plaid/models/signal_prepare_request.rb +1 -1
  1057. data/lib/plaid/models/signal_prepare_response.rb +1 -1
  1058. data/lib/plaid/models/signal_return_report_request.rb +1 -1
  1059. data/lib/plaid/models/signal_return_report_response.rb +1 -1
  1060. data/lib/plaid/models/signal_scores.rb +1 -1
  1061. data/lib/plaid/models/signal_user.rb +1 -1
  1062. data/lib/plaid/models/signal_warning.rb +1 -1
  1063. data/lib/plaid/models/simulated_transfer_sweep.rb +16 -5
  1064. data/lib/plaid/models/single_document_risk_signal.rb +1 -1
  1065. data/lib/plaid/models/source.rb +1 -1
  1066. data/lib/plaid/models/standalone_account_type.rb +1 -1
  1067. data/lib/plaid/models/standalone_currency_code_list.rb +1 -1
  1068. data/lib/plaid/models/standalone_investment_transaction_type.rb +1 -1
  1069. data/lib/plaid/models/statements_account.rb +1 -1
  1070. data/lib/plaid/models/statements_download_request.rb +1 -1
  1071. data/lib/plaid/models/statements_list_request.rb +1 -1
  1072. data/lib/plaid/models/statements_list_response.rb +1 -1
  1073. data/lib/plaid/models/statements_statement.rb +1 -1
  1074. data/lib/plaid/models/status.rb +1 -1
  1075. data/lib/plaid/models/statuses.rb +1 -1
  1076. data/lib/plaid/models/strategy.rb +1 -1
  1077. data/lib/plaid/models/student_loan.rb +1 -1
  1078. data/lib/plaid/models/student_loan_repayment_model.rb +1 -1
  1079. data/lib/plaid/models/student_loan_status.rb +1 -1
  1080. data/lib/plaid/models/student_repayment_plan.rb +1 -1
  1081. data/lib/plaid/models/sweep_status.rb +1 -1
  1082. data/lib/plaid/models/sweep_trigger.rb +1 -1
  1083. data/lib/plaid/models/sync_updates_available_webhook.rb +1 -1
  1084. data/lib/plaid/models/taxform.rb +1 -1
  1085. data/lib/plaid/models/taxpayer_id.rb +1 -1
  1086. data/lib/plaid/models/taxpayer_identifier.rb +1 -1
  1087. data/lib/plaid/models/taxpayer_identifier_type.rb +1 -1
  1088. data/lib/plaid/models/taxpayer_identifiers.rb +1 -1
  1089. data/lib/plaid/models/total.rb +1 -1
  1090. data/lib/plaid/models/total_canonical_description.rb +1 -1
  1091. data/lib/plaid/models/transaction.rb +6 -6
  1092. data/lib/plaid/models/transaction_all_of.rb +2 -2
  1093. data/lib/plaid/models/transaction_base.rb +5 -5
  1094. data/lib/plaid/models/transaction_code.rb +1 -1
  1095. data/lib/plaid/models/transaction_counterparty.rb +1 -1
  1096. data/lib/plaid/models/transaction_data.rb +1 -1
  1097. data/lib/plaid/models/transaction_override.rb +1 -1
  1098. data/lib/plaid/models/transaction_stream.rb +31 -6
  1099. data/lib/plaid/models/transaction_stream_amount.rb +1 -1
  1100. data/lib/plaid/models/transaction_stream_status.rb +1 -1
  1101. data/lib/plaid/models/transactions_category_rule.rb +1 -1
  1102. data/lib/plaid/models/transactions_enhance_get_request.rb +1 -1
  1103. data/lib/plaid/models/transactions_enhance_get_response.rb +1 -1
  1104. data/lib/plaid/models/{transactions_enrich_get_request.rb → transactions_enrich_request.rb} +5 -5
  1105. data/lib/plaid/models/transactions_enrich_request_options.rb +1 -1
  1106. data/lib/plaid/models/{transactions_enrich_get_response.rb → transactions_enrich_response.rb} +5 -5
  1107. data/lib/plaid/models/transactions_get_request.rb +1 -1
  1108. data/lib/plaid/models/transactions_get_request_options.rb +5 -5
  1109. data/lib/plaid/models/transactions_get_response.rb +1 -1
  1110. data/lib/plaid/models/transactions_recurring_create_input.rb +223 -0
  1111. data/lib/plaid/models/transactions_recurring_create_request.rb +263 -0
  1112. data/lib/plaid/models/transactions_recurring_create_response.rb +252 -0
  1113. data/lib/plaid/models/transactions_recurring_get_request.rb +1 -1
  1114. data/lib/plaid/models/transactions_recurring_get_request_options.rb +2 -2
  1115. data/lib/plaid/models/transactions_recurring_get_response.rb +1 -1
  1116. data/lib/plaid/models/{credit_freddie_mac_asset_transactions_voe25.rb → transactions_recurring_merge_input.rb} +17 -16
  1117. data/lib/plaid/models/transactions_recurring_merge_request.rb +263 -0
  1118. data/lib/plaid/models/transactions_recurring_merge_response.rb +240 -0
  1119. data/lib/plaid/models/{credit_freddie_mac_service_voe25.rb → transactions_recurring_update_input.rb} +28 -26
  1120. data/lib/plaid/models/transactions_recurring_update_request.rb +263 -0
  1121. data/lib/plaid/models/transactions_recurring_update_response.rb +240 -0
  1122. data/lib/plaid/models/transactions_refresh_request.rb +1 -1
  1123. data/lib/plaid/models/transactions_refresh_response.rb +1 -1
  1124. data/lib/plaid/models/transactions_removed_webhook.rb +1 -1
  1125. data/lib/plaid/models/transactions_rule_details.rb +1 -1
  1126. data/lib/plaid/models/transactions_rule_field.rb +1 -1
  1127. data/lib/plaid/models/transactions_rule_type.rb +1 -1
  1128. data/lib/plaid/models/transactions_rules_create_request.rb +1 -1
  1129. data/lib/plaid/models/transactions_rules_create_response.rb +1 -1
  1130. data/lib/plaid/models/transactions_rules_list_request.rb +1 -1
  1131. data/lib/plaid/models/transactions_rules_list_response.rb +1 -1
  1132. data/lib/plaid/models/transactions_rules_remove_request.rb +1 -1
  1133. data/lib/plaid/models/transactions_rules_remove_response.rb +1 -1
  1134. data/lib/plaid/models/transactions_sync_request.rb +1 -1
  1135. data/lib/plaid/models/transactions_sync_request_options.rb +3 -3
  1136. data/lib/plaid/models/transactions_sync_response.rb +1 -1
  1137. data/lib/plaid/models/{credit_freddie_verification_of_employment_deal_voe25.rb → transactions_user_insights_get_request.rb} +30 -37
  1138. data/lib/plaid/models/transactions_user_insights_get_response.rb +252 -0
  1139. data/lib/plaid/models/transfer.rb +29 -8
  1140. data/lib/plaid/models/transfer_ach_network.rb +1 -1
  1141. data/lib/plaid/models/transfer_authorization.rb +12 -12
  1142. data/lib/plaid/models/transfer_authorization_create_request.rb +4 -4
  1143. data/lib/plaid/models/transfer_authorization_create_response.rb +1 -1
  1144. data/lib/plaid/models/transfer_authorization_decision.rb +1 -1
  1145. data/lib/plaid/models/transfer_authorization_decision_rationale.rb +1 -1
  1146. data/lib/plaid/models/transfer_authorization_decision_rationale_code.rb +1 -1
  1147. data/lib/plaid/models/transfer_authorization_device.rb +1 -1
  1148. data/lib/plaid/models/transfer_authorization_guarantee_decision.rb +1 -1
  1149. data/lib/plaid/models/transfer_authorization_guarantee_decision_rationale.rb +1 -1
  1150. data/lib/plaid/models/transfer_authorization_guarantee_decision_rationale_code.rb +1 -1
  1151. data/lib/plaid/models/transfer_authorization_payment_risk.rb +312 -0
  1152. data/lib/plaid/models/transfer_authorization_proposed_transfer.rb +3 -3
  1153. data/lib/plaid/models/transfer_authorization_risk_level.rb +42 -0
  1154. data/lib/plaid/models/transfer_authorization_user_in_request.rb +1 -1
  1155. data/lib/plaid/models/transfer_balance.rb +1 -1
  1156. data/lib/plaid/models/transfer_balance_get_request.rb +1 -1
  1157. data/lib/plaid/models/transfer_balance_get_response.rb +1 -1
  1158. data/lib/plaid/models/transfer_balance_type.rb +1 -1
  1159. data/lib/plaid/models/transfer_cancel_request.rb +1 -1
  1160. data/lib/plaid/models/transfer_cancel_response.rb +1 -1
  1161. data/lib/plaid/models/transfer_capabilities_get_request.rb +11 -1
  1162. data/lib/plaid/models/transfer_capabilities_get_response.rb +1 -1
  1163. data/lib/plaid/models/transfer_capabilities_get_rtp.rb +1 -1
  1164. data/lib/plaid/models/transfer_configuration_get_request.rb +2 -2
  1165. data/lib/plaid/models/transfer_configuration_get_response.rb +1 -1
  1166. data/lib/plaid/models/transfer_create_request.rb +27 -7
  1167. data/lib/plaid/models/transfer_create_response.rb +1 -1
  1168. data/lib/plaid/models/transfer_credit_funds_source.rb +1 -1
  1169. data/lib/plaid/models/transfer_credit_usage_configuration.rb +2 -2
  1170. data/lib/plaid/models/transfer_debit_usage_configuration.rb +1 -1
  1171. data/lib/plaid/models/transfer_device.rb +1 -1
  1172. data/lib/plaid/models/transfer_diligence_document_upload_request.rb +2 -2
  1173. data/lib/plaid/models/transfer_diligence_document_upload_response.rb +1 -1
  1174. data/lib/plaid/models/transfer_diligence_status.rb +1 -1
  1175. data/lib/plaid/models/transfer_diligence_submit_request.rb +1 -1
  1176. data/lib/plaid/models/transfer_diligence_submit_response.rb +1 -1
  1177. data/lib/plaid/models/transfer_document_purpose.rb +1 -1
  1178. data/lib/plaid/models/transfer_event.rb +1 -1
  1179. data/lib/plaid/models/transfer_event_list_request.rb +1 -1
  1180. data/lib/plaid/models/transfer_event_list_response.rb +1 -1
  1181. data/lib/plaid/models/transfer_event_list_transfer_type.rb +1 -1
  1182. data/lib/plaid/models/transfer_event_sync_request.rb +1 -1
  1183. data/lib/plaid/models/transfer_event_sync_response.rb +1 -1
  1184. data/lib/plaid/models/transfer_event_type.rb +1 -1
  1185. data/lib/plaid/models/transfer_events_update_webhook.rb +1 -1
  1186. data/lib/plaid/models/transfer_expected_sweep_settlement_schedule_item.rb +1 -1
  1187. data/lib/plaid/models/transfer_failure.rb +1 -1
  1188. data/lib/plaid/models/transfer_funding_account.rb +2 -2
  1189. data/lib/plaid/models/transfer_get_request.rb +1 -1
  1190. data/lib/plaid/models/transfer_get_response.rb +1 -1
  1191. data/lib/plaid/models/transfer_intent_authorization_decision.rb +1 -1
  1192. data/lib/plaid/models/transfer_intent_create.rb +2 -2
  1193. data/lib/plaid/models/transfer_intent_create_mode.rb +1 -1
  1194. data/lib/plaid/models/transfer_intent_create_network.rb +1 -1
  1195. data/lib/plaid/models/transfer_intent_create_request.rb +3 -3
  1196. data/lib/plaid/models/transfer_intent_create_response.rb +1 -1
  1197. data/lib/plaid/models/transfer_intent_get.rb +2 -2
  1198. data/lib/plaid/models/transfer_intent_get_failure_reason.rb +1 -1
  1199. data/lib/plaid/models/transfer_intent_get_request.rb +1 -1
  1200. data/lib/plaid/models/transfer_intent_get_response.rb +1 -1
  1201. data/lib/plaid/models/transfer_intent_status.rb +1 -1
  1202. data/lib/plaid/models/transfer_ledger_balance.rb +1 -1
  1203. data/lib/plaid/models/transfer_ledger_deposit_request.rb +3 -3
  1204. data/lib/plaid/models/transfer_ledger_deposit_response.rb +1 -1
  1205. data/lib/plaid/models/transfer_ledger_distribute_request.rb +322 -0
  1206. data/lib/plaid/models/{credit_freddie_mac_assets_voa24.rb → transfer_ledger_distribute_response.rb} +16 -18
  1207. data/lib/plaid/models/transfer_ledger_get_request.rb +1 -1
  1208. data/lib/plaid/models/transfer_ledger_get_response.rb +1 -1
  1209. data/lib/plaid/models/transfer_ledger_sweep_simulate_event_type.rb +1 -1
  1210. data/lib/plaid/models/transfer_ledger_withdraw_request.rb +3 -3
  1211. data/lib/plaid/models/transfer_ledger_withdraw_response.rb +1 -1
  1212. data/lib/plaid/models/transfer_list_request.rb +1 -1
  1213. data/lib/plaid/models/transfer_list_response.rb +1 -1
  1214. data/lib/plaid/models/transfer_metrics_get_request.rb +2 -2
  1215. data/lib/plaid/models/transfer_metrics_get_response.rb +1 -1
  1216. data/lib/plaid/models/transfer_migrate_account_request.rb +1 -1
  1217. data/lib/plaid/models/transfer_migrate_account_response.rb +1 -1
  1218. data/lib/plaid/models/transfer_network.rb +1 -1
  1219. data/lib/plaid/models/transfer_originator_address.rb +5 -1
  1220. data/lib/plaid/models/transfer_originator_create_request.rb +1 -1
  1221. data/lib/plaid/models/transfer_originator_create_response.rb +1 -1
  1222. data/lib/plaid/models/transfer_originator_diligence.rb +1 -1
  1223. data/lib/plaid/models/transfer_originator_funding_account_update_request.rb +1 -1
  1224. data/lib/plaid/models/transfer_originator_funding_account_update_response.rb +1 -1
  1225. data/lib/plaid/models/transfer_originator_get_request.rb +1 -1
  1226. data/lib/plaid/models/transfer_originator_get_response.rb +1 -1
  1227. data/lib/plaid/models/transfer_originator_list_request.rb +1 -1
  1228. data/lib/plaid/models/transfer_originator_list_response.rb +1 -1
  1229. data/lib/plaid/models/transfer_questionnaire_create_request.rb +1 -1
  1230. data/lib/plaid/models/transfer_questionnaire_create_response.rb +1 -1
  1231. data/lib/plaid/models/transfer_recurring_cancel_request.rb +1 -1
  1232. data/lib/plaid/models/transfer_recurring_cancel_response.rb +1 -1
  1233. data/lib/plaid/models/transfer_recurring_create_request.rb +3 -8
  1234. data/lib/plaid/models/transfer_recurring_create_response.rb +1 -1
  1235. data/lib/plaid/models/transfer_recurring_get_request.rb +1 -1
  1236. data/lib/plaid/models/transfer_recurring_get_response.rb +1 -1
  1237. data/lib/plaid/models/transfer_recurring_list_request.rb +1 -1
  1238. data/lib/plaid/models/transfer_recurring_list_response.rb +1 -1
  1239. data/lib/plaid/models/transfer_recurring_schedule.rb +1 -1
  1240. data/lib/plaid/models/transfer_recurring_status.rb +1 -1
  1241. data/lib/plaid/models/transfer_refund.rb +16 -5
  1242. data/lib/plaid/models/transfer_refund_cancel_request.rb +1 -1
  1243. data/lib/plaid/models/transfer_refund_cancel_response.rb +1 -1
  1244. data/lib/plaid/models/transfer_refund_create_request.rb +1 -1
  1245. data/lib/plaid/models/transfer_refund_create_response.rb +1 -1
  1246. data/lib/plaid/models/transfer_refund_failure.rb +1 -1
  1247. data/lib/plaid/models/transfer_refund_get_request.rb +1 -1
  1248. data/lib/plaid/models/transfer_refund_get_response.rb +1 -1
  1249. data/lib/plaid/models/transfer_refund_status.rb +1 -1
  1250. data/lib/plaid/models/transfer_repayment.rb +1 -1
  1251. data/lib/plaid/models/transfer_repayment_list_request.rb +1 -1
  1252. data/lib/plaid/models/transfer_repayment_list_response.rb +1 -1
  1253. data/lib/plaid/models/transfer_repayment_return.rb +1 -1
  1254. data/lib/plaid/models/transfer_repayment_return_list_request.rb +1 -1
  1255. data/lib/plaid/models/transfer_repayment_return_list_response.rb +1 -1
  1256. data/lib/plaid/models/transfer_schedule_interval_unit.rb +1 -1
  1257. data/lib/plaid/models/transfer_status.rb +1 -1
  1258. data/lib/plaid/models/transfer_sweep.rb +16 -5
  1259. data/lib/plaid/models/transfer_sweep_get_request.rb +1 -1
  1260. data/lib/plaid/models/transfer_sweep_get_response.rb +1 -1
  1261. data/lib/plaid/models/transfer_sweep_list_request.rb +1 -1
  1262. data/lib/plaid/models/transfer_sweep_list_response.rb +1 -1
  1263. data/lib/plaid/models/transfer_sweep_status.rb +1 -1
  1264. data/lib/plaid/models/transfer_test_clock.rb +1 -1
  1265. data/lib/plaid/models/transfer_type.rb +1 -1
  1266. data/lib/plaid/models/transfer_user_address_in_request.rb +1 -1
  1267. data/lib/plaid/models/transfer_user_address_in_response.rb +1 -1
  1268. data/lib/plaid/models/transfer_user_in_request.rb +1 -1
  1269. data/lib/plaid/models/transfer_user_in_request_deprecated.rb +1 -1
  1270. data/lib/plaid/models/transfer_user_in_response.rb +1 -1
  1271. data/lib/plaid/models/update_entity_screening_request_search_terms.rb +1 -1
  1272. data/lib/plaid/models/update_individual_screening_request_search_terms.rb +1 -1
  1273. data/lib/plaid/models/user_address.rb +1 -1
  1274. data/lib/plaid/models/user_create_request.rb +1 -1
  1275. data/lib/plaid/models/user_create_response.rb +1 -1
  1276. data/lib/plaid/models/user_custom_password.rb +1 -1
  1277. data/lib/plaid/models/user_data_overview.rb +291 -0
  1278. data/lib/plaid/models/user_id_number.rb +1 -1
  1279. data/lib/plaid/models/user_permission_revoked_webhook.rb +1 -1
  1280. data/lib/plaid/models/user_stated_income_source_category.rb +1 -1
  1281. data/lib/plaid/models/user_stated_income_source_frequency.rb +1 -1
  1282. data/lib/plaid/models/user_stated_income_source_pay_type.rb +1 -1
  1283. data/lib/plaid/models/user_update_request.rb +1 -1
  1284. data/lib/plaid/models/user_update_response.rb +1 -1
  1285. data/lib/plaid/models/validation_source.rb +1 -1
  1286. data/lib/plaid/models/validation_sources.rb +1 -1
  1287. data/lib/plaid/models/verification_expired_webhook.rb +15 -5
  1288. data/lib/plaid/models/verification_of_asset.rb +1 -1
  1289. data/lib/plaid/models/verification_of_asset_response.rb +1 -1
  1290. data/lib/plaid/models/verification_refresh_status.rb +1 -1
  1291. data/lib/plaid/models/verification_status.rb +1 -1
  1292. data/lib/plaid/models/w2.rb +1 -1
  1293. data/lib/plaid/models/w2_box12.rb +1 -1
  1294. data/lib/plaid/models/w2_state_and_local_wages.rb +1 -1
  1295. data/lib/plaid/models/wallet.rb +1 -1
  1296. data/lib/plaid/models/wallet_balance.rb +1 -1
  1297. data/lib/plaid/models/wallet_create_request.rb +1 -1
  1298. data/lib/plaid/models/wallet_create_response.rb +1 -1
  1299. data/lib/plaid/models/wallet_get_request.rb +1 -1
  1300. data/lib/plaid/models/wallet_get_response.rb +1 -1
  1301. data/lib/plaid/models/wallet_iso_currency_code.rb +1 -1
  1302. data/lib/plaid/models/wallet_list_request.rb +1 -1
  1303. data/lib/plaid/models/wallet_list_response.rb +1 -1
  1304. data/lib/plaid/models/wallet_numbers.rb +1 -1
  1305. data/lib/plaid/models/wallet_payment_scheme.rb +1 -1
  1306. data/lib/plaid/models/wallet_status.rb +1 -1
  1307. data/lib/plaid/models/wallet_transaction.rb +4 -4
  1308. data/lib/plaid/models/wallet_transaction_amount.rb +1 -1
  1309. data/lib/plaid/models/wallet_transaction_counterparty.rb +1 -1
  1310. data/lib/plaid/models/wallet_transaction_counterparty_bacs.rb +1 -1
  1311. data/lib/plaid/models/wallet_transaction_counterparty_international.rb +1 -1
  1312. data/lib/plaid/models/wallet_transaction_counterparty_numbers.rb +1 -1
  1313. data/lib/plaid/models/wallet_transaction_execute_request.rb +1 -1
  1314. data/lib/plaid/models/wallet_transaction_execute_response.rb +1 -1
  1315. data/lib/plaid/models/wallet_transaction_failure_reason.rb +1 -1
  1316. data/lib/plaid/models/wallet_transaction_get_request.rb +1 -1
  1317. data/lib/plaid/models/wallet_transaction_get_response.rb +4 -4
  1318. data/lib/plaid/models/wallet_transaction_list_request.rb +1 -1
  1319. data/lib/plaid/models/wallet_transaction_list_request_options.rb +1 -1
  1320. data/lib/plaid/models/wallet_transaction_list_response.rb +1 -1
  1321. data/lib/plaid/models/wallet_transaction_status.rb +1 -1
  1322. data/lib/plaid/models/wallet_transaction_status_update_webhook.rb +1 -1
  1323. data/lib/plaid/models/wallet_transactions_list_request.rb +1 -1
  1324. data/lib/plaid/models/warning.rb +1 -1
  1325. data/lib/plaid/models/watchlist_screening_audit_trail.rb +1 -1
  1326. data/lib/plaid/models/watchlist_screening_document.rb +1 -1
  1327. data/lib/plaid/models/watchlist_screening_document_type.rb +1 -1
  1328. data/lib/plaid/models/watchlist_screening_entity_create_request.rb +1 -1
  1329. data/lib/plaid/models/watchlist_screening_entity_create_response.rb +1 -1
  1330. data/lib/plaid/models/watchlist_screening_entity_get_request.rb +1 -1
  1331. data/lib/plaid/models/watchlist_screening_entity_get_response.rb +1 -1
  1332. data/lib/plaid/models/watchlist_screening_entity_history_list_request.rb +1 -1
  1333. data/lib/plaid/models/watchlist_screening_entity_history_list_response.rb +1 -1
  1334. data/lib/plaid/models/watchlist_screening_entity_hit_list_request.rb +1 -1
  1335. data/lib/plaid/models/watchlist_screening_entity_hit_list_response.rb +1 -1
  1336. data/lib/plaid/models/watchlist_screening_entity_list_request.rb +1 -1
  1337. data/lib/plaid/models/watchlist_screening_entity_list_response.rb +1 -1
  1338. data/lib/plaid/models/watchlist_screening_entity_program_get_request.rb +1 -1
  1339. data/lib/plaid/models/watchlist_screening_entity_program_get_response.rb +1 -1
  1340. data/lib/plaid/models/watchlist_screening_entity_program_list_request.rb +1 -1
  1341. data/lib/plaid/models/watchlist_screening_entity_program_list_response.rb +1 -1
  1342. data/lib/plaid/models/watchlist_screening_entity_review_create_request.rb +1 -1
  1343. data/lib/plaid/models/watchlist_screening_entity_review_create_response.rb +1 -1
  1344. data/lib/plaid/models/watchlist_screening_entity_review_list_request.rb +1 -1
  1345. data/lib/plaid/models/watchlist_screening_entity_review_list_response.rb +1 -1
  1346. data/lib/plaid/models/watchlist_screening_entity_update_request.rb +1 -1
  1347. data/lib/plaid/models/watchlist_screening_entity_update_request_resettable_field.rb +1 -1
  1348. data/lib/plaid/models/watchlist_screening_entity_update_response.rb +1 -1
  1349. data/lib/plaid/models/watchlist_screening_hit.rb +1 -1
  1350. data/lib/plaid/models/watchlist_screening_hit_locations.rb +1 -1
  1351. data/lib/plaid/models/watchlist_screening_hit_status.rb +1 -1
  1352. data/lib/plaid/models/watchlist_screening_individual.rb +1 -1
  1353. data/lib/plaid/models/watchlist_screening_individual_create_request.rb +1 -1
  1354. data/lib/plaid/models/watchlist_screening_individual_create_response.rb +1 -1
  1355. data/lib/plaid/models/watchlist_screening_individual_get_request.rb +1 -1
  1356. data/lib/plaid/models/watchlist_screening_individual_get_response.rb +1 -1
  1357. data/lib/plaid/models/watchlist_screening_individual_history_list_request.rb +1 -1
  1358. data/lib/plaid/models/watchlist_screening_individual_history_list_response.rb +1 -1
  1359. data/lib/plaid/models/watchlist_screening_individual_hit_list_request.rb +1 -1
  1360. data/lib/plaid/models/watchlist_screening_individual_hit_list_response.rb +1 -1
  1361. data/lib/plaid/models/watchlist_screening_individual_list_request.rb +1 -1
  1362. data/lib/plaid/models/watchlist_screening_individual_list_response.rb +1 -1
  1363. data/lib/plaid/models/watchlist_screening_individual_program_get_request.rb +1 -1
  1364. data/lib/plaid/models/watchlist_screening_individual_program_get_response.rb +1 -1
  1365. data/lib/plaid/models/watchlist_screening_individual_program_list_request.rb +1 -1
  1366. data/lib/plaid/models/watchlist_screening_individual_program_list_response.rb +1 -1
  1367. data/lib/plaid/models/watchlist_screening_individual_review_create_request.rb +1 -1
  1368. data/lib/plaid/models/watchlist_screening_individual_review_create_response.rb +1 -1
  1369. data/lib/plaid/models/watchlist_screening_individual_review_list_request.rb +1 -1
  1370. data/lib/plaid/models/watchlist_screening_individual_review_list_response.rb +1 -1
  1371. data/lib/plaid/models/watchlist_screening_individual_update_request.rb +1 -1
  1372. data/lib/plaid/models/watchlist_screening_individual_update_request_resettable_field.rb +1 -1
  1373. data/lib/plaid/models/watchlist_screening_individual_update_response.rb +1 -1
  1374. data/lib/plaid/models/watchlist_screening_request_search_terms.rb +1 -1
  1375. data/lib/plaid/models/watchlist_screening_review.rb +1 -1
  1376. data/lib/plaid/models/watchlist_screening_search_terms.rb +1 -1
  1377. data/lib/plaid/models/watchlist_screening_status.rb +1 -1
  1378. data/lib/plaid/models/weak_alias_determination.rb +1 -1
  1379. data/lib/plaid/models/webhook_environment_values.rb +1 -1
  1380. data/lib/plaid/models/webhook_type.rb +1 -1
  1381. data/lib/plaid/models/webhook_update_acknowledged_webhook.rb +1 -1
  1382. data/lib/plaid/models/webhook_verification_key_get_request.rb +1 -1
  1383. data/lib/plaid/models/webhook_verification_key_get_response.rb +1 -1
  1384. data/lib/plaid/models/ytd_gross_income_summary_field_number.rb +1 -1
  1385. data/lib/plaid/models/ytd_net_income_summary_field_number.rb +1 -1
  1386. data/lib/plaid/version.rb +2 -2
  1387. data/lib/plaid.rb +1377 -1339
  1388. data/plaid.gemspec +1 -1
  1389. data/test/test_enrich.rb +2 -2
  1390. metadata +75 -37
  1391. data/lib/plaid/models/credit_freddie_mac_asset_transaction_detail_voe25.rb +0 -324
  1392. data/lib/plaid/models/credit_freddie_mac_verification_of_asset_response_voa24.rb +0 -225
  1393. data/lib/plaid/models/credit_freddie_mac_verification_of_asset_voe25.rb +0 -253
  1394. data/lib/plaid/models/credit_freddie_verification_of_employment_voe25.rb +0 -240
@@ -3,7 +3,7 @@
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.431.7
6
+ The version of the OpenAPI document: 2020-09-14_1.470.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.1.0
@@ -20,7 +20,7 @@ module Plaid
20
20
  @api_client = api_client
21
21
  end
22
22
  # Retrieve real-time balance data
23
- # The `/accounts/balance/get` endpoint returns the real-time balance for each of an Item's accounts. While other endpoints may return a balance object, only `/accounts/balance/get` forces the available and current balance fields to be refreshed rather than cached. This endpoint can be used for existing Items that were added via any of Plaid’s other products. This endpoint can be used as long as Link has been initialized with any other product, `balance` itself is not a product that can be used to initialize Link. As this endpoint triggers a synchronous request for fresh data, latency may be higher than for other Plaid endpoints; if you encounter errors, you may find it necessary to adjust your timeout period when making requests.
23
+ # The `/accounts/balance/get` endpoint returns the real-time balance for each of an Item's accounts. While other endpoints, such as `/accounts/get`, return a balance object, only `/accounts/balance/get` forces the available and current balance fields to be refreshed rather than cached. This endpoint can be used for existing Items that were added via any of Plaid’s other products. This endpoint can be used as long as Link has been initialized with any other product, `balance` itself is not a product that can be used to initialize Link. As this endpoint triggers a synchronous request for fresh data, latency may be higher than for other Plaid endpoints (typically less than 10 seconds, but occasionally up to 30 seconds or more); if you encounter errors, you may find it necessary to adjust your timeout period when making requests.
24
24
  # @param accounts_balance_get_request [AccountsBalanceGetRequest]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [AccountsGetResponse]
@@ -30,7 +30,7 @@ module Plaid
30
30
  end
31
31
 
32
32
  # Retrieve real-time balance data
33
- # The `/accounts/balance/get` endpoint returns the real-time balance for each of an Item's accounts. While other endpoints may return a balance object, only `/accounts/balance/get` forces the available and current balance fields to be refreshed rather than cached. This endpoint can be used for existing Items that were added via any of Plaid’s other products. This endpoint can be used as long as Link has been initialized with any other product, `balance` itself is not a product that can be used to initialize Link. As this endpoint triggers a synchronous request for fresh data, latency may be higher than for other Plaid endpoints; if you encounter errors, you may find it necessary to adjust your timeout period when making requests.
33
+ # The `/accounts/balance/get` endpoint returns the real-time balance for each of an Item's accounts. While other endpoints, such as `/accounts/get`, return a balance object, only `/accounts/balance/get` forces the available and current balance fields to be refreshed rather than cached. This endpoint can be used for existing Items that were added via any of Plaid’s other products. This endpoint can be used as long as Link has been initialized with any other product, `balance` itself is not a product that can be used to initialize Link. As this endpoint triggers a synchronous request for fresh data, latency may be higher than for other Plaid endpoints (typically less than 10 seconds, but occasionally up to 30 seconds or more); if you encounter errors, you may find it necessary to adjust your timeout period when making requests.
34
34
  # @param accounts_balance_get_request [AccountsBalanceGetRequest]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(AccountsGetResponse, Integer, Hash)>] AccountsGetResponse data, response status code and response headers
@@ -88,7 +88,7 @@ module Plaid
88
88
  end
89
89
 
90
90
  # Retrieve accounts
91
- # The `/accounts/get` endpoint can be used to retrieve a list of accounts associated with any linked Item. Plaid will only return active bank accounts — that is, accounts that are not closed and are capable of carrying a balance. For items that went through the updated account selection pane, this endpoint only returns accounts that were permissioned by the user when they initially created the Item. If a user creates a new account after the initial link, you can capture this event through the [`NEW_ACCOUNTS_AVAILABLE`](https://plaid.com/docs/api/items/#new_accounts_available) webhook and then use Link's [update mode](https://plaid.com/docs/link/update-mode/) to request that the user share this new account with you. This endpoint retrieves cached information, rather than extracting fresh information from the institution. As a result, balances returned may not be up-to-date; for realtime balance information, use `/accounts/balance/get` instead. Note that some information is nullable.
91
+ # The `/accounts/get` endpoint can be used to retrieve a list of accounts associated with any linked Item. Plaid will only return active bank accounts — that is, accounts that are not closed and are capable of carrying a balance. For items that went through the updated account selection pane, this endpoint only returns accounts that were permissioned by the user when they initially created the Item. If a user creates a new account after the initial link, you can capture this event through the [`NEW_ACCOUNTS_AVAILABLE`](https://plaid.com/docs/api/items/#new_accounts_available) webhook and then use Link's [update mode](https://plaid.com/docs/link/update-mode/) to request that the user share this new account with you. `/accounts/get` is free to use and retrieves cached information, rather than extracting fresh information from the institution. The balance returned will reflect the balance at the time of the last successful Item update. If the Item is enabled for a regularly updating product, such as Transactions, Investments, or Liabilities, the balance will typically update about once a day, as long as the Item is healthy. If the Item is enabled only for products that do not frequently update, such as Auth or Identity, balance data may be much older. For realtime balance information, use the paid endpoint `/accounts/balance/get` instead.
92
92
  # @param accounts_get_request [AccountsGetRequest]
93
93
  # @param [Hash] opts the optional parameters
94
94
  # @return [AccountsGetResponse]
@@ -98,7 +98,7 @@ module Plaid
98
98
  end
99
99
 
100
100
  # Retrieve accounts
101
- # The &#x60;/accounts/get&#x60; endpoint can be used to retrieve a list of accounts associated with any linked Item. Plaid will only return active bank accounts — that is, accounts that are not closed and are capable of carrying a balance. For items that went through the updated account selection pane, this endpoint only returns accounts that were permissioned by the user when they initially created the Item. If a user creates a new account after the initial link, you can capture this event through the [&#x60;NEW_ACCOUNTS_AVAILABLE&#x60;](https://plaid.com/docs/api/items/#new_accounts_available) webhook and then use Link&#39;s [update mode](https://plaid.com/docs/link/update-mode/) to request that the user share this new account with you. This endpoint retrieves cached information, rather than extracting fresh information from the institution. As a result, balances returned may not be up-to-date; for realtime balance information, use &#x60;/accounts/balance/get&#x60; instead. Note that some information is nullable.
101
+ # The &#x60;/accounts/get&#x60; endpoint can be used to retrieve a list of accounts associated with any linked Item. Plaid will only return active bank accounts — that is, accounts that are not closed and are capable of carrying a balance. For items that went through the updated account selection pane, this endpoint only returns accounts that were permissioned by the user when they initially created the Item. If a user creates a new account after the initial link, you can capture this event through the [&#x60;NEW_ACCOUNTS_AVAILABLE&#x60;](https://plaid.com/docs/api/items/#new_accounts_available) webhook and then use Link&#39;s [update mode](https://plaid.com/docs/link/update-mode/) to request that the user share this new account with you. &#x60;/accounts/get&#x60; is free to use and retrieves cached information, rather than extracting fresh information from the institution. The balance returned will reflect the balance at the time of the last successful Item update. If the Item is enabled for a regularly updating product, such as Transactions, Investments, or Liabilities, the balance will typically update about once a day, as long as the Item is healthy. If the Item is enabled only for products that do not frequently update, such as Auth or Identity, balance data may be much older. For realtime balance information, use the paid endpoint &#x60;/accounts/balance/get&#x60; instead.
102
102
  # @param accounts_get_request [AccountsGetRequest]
103
103
  # @param [Hash] opts the optional parameters
104
104
  # @return [Array<(AccountsGetResponse, Integer, Hash)>] AccountsGetResponse data, response status code and response headers
@@ -1719,6 +1719,142 @@ module Plaid
1719
1719
  return data, status_code, headers
1720
1720
  end
1721
1721
 
1722
+ # List Beacon Reports for a Beacon User
1723
+ # Use the `/beacon/report/list` endpoint to view all Beacon Reports you created for a specific Beacon User. The reports returned by this endpoint are exclusively reports you created for a specific user. A Beacon User can only have one active report at a time, but a new report can be created if a previous report has been deleted. The results from this endpoint are paginated; the `next_cursor` field will be populated if there is another page of results that can be retrieved. To fetch the next page, pass the `next_cursor` value as the `cursor` parameter in the next request.
1724
+ # @param beacon_report_list_request [BeaconReportListRequest]
1725
+ # @param [Hash] opts the optional parameters
1726
+ # @return [BeaconReportListResponse]
1727
+ def beacon_report_list(beacon_report_list_request, opts = {})
1728
+ data, _status_code, _headers = beacon_report_list_with_http_info(beacon_report_list_request, opts)
1729
+ data
1730
+ end
1731
+
1732
+ # List Beacon Reports for a Beacon User
1733
+ # Use the &#x60;/beacon/report/list&#x60; endpoint to view all Beacon Reports you created for a specific Beacon User. The reports returned by this endpoint are exclusively reports you created for a specific user. A Beacon User can only have one active report at a time, but a new report can be created if a previous report has been deleted. The results from this endpoint are paginated; the &#x60;next_cursor&#x60; field will be populated if there is another page of results that can be retrieved. To fetch the next page, pass the &#x60;next_cursor&#x60; value as the &#x60;cursor&#x60; parameter in the next request.
1734
+ # @param beacon_report_list_request [BeaconReportListRequest]
1735
+ # @param [Hash] opts the optional parameters
1736
+ # @return [Array<(BeaconReportListResponse, Integer, Hash)>] BeaconReportListResponse data, response status code and response headers
1737
+ def beacon_report_list_with_http_info(beacon_report_list_request, opts = {})
1738
+ if @api_client.config.debugging
1739
+ @api_client.config.logger.debug 'Calling API: PlaidApi.beacon_report_list ...'
1740
+ end
1741
+ # verify the required parameter 'beacon_report_list_request' is set
1742
+ if @api_client.config.client_side_validation && beacon_report_list_request.nil?
1743
+ fail ArgumentError, "Missing the required parameter 'beacon_report_list_request' when calling PlaidApi.beacon_report_list"
1744
+ end
1745
+ # resource path
1746
+ local_var_path = '/beacon/report/list'
1747
+
1748
+ # query parameters
1749
+ query_params = opts[:query_params] || {}
1750
+
1751
+ # header parameters
1752
+ header_params = opts[:header_params] || {}
1753
+ # HTTP header 'Accept' (if needed)
1754
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1755
+ # HTTP header 'Content-Type'
1756
+ content_type = @api_client.select_header_content_type(['application/json'])
1757
+ if !content_type.nil?
1758
+ header_params['Content-Type'] = content_type
1759
+ end
1760
+
1761
+ # form parameters
1762
+ form_params = opts[:form_params] || {}
1763
+
1764
+ # http body (model)
1765
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(beacon_report_list_request)
1766
+
1767
+ # return_type
1768
+ return_type = opts[:debug_return_type] || 'BeaconReportListResponse'
1769
+
1770
+ # auth_names
1771
+ auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret']
1772
+
1773
+ new_options = opts.merge(
1774
+ :operation => :"PlaidApi.beacon_report_list",
1775
+ :header_params => header_params,
1776
+ :query_params => query_params,
1777
+ :form_params => form_params,
1778
+ :body => post_body,
1779
+ :auth_names => auth_names,
1780
+ :return_type => return_type
1781
+ )
1782
+
1783
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
1784
+ if @api_client.config.debugging
1785
+ @api_client.config.logger.debug "API called: PlaidApi#beacon_report_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1786
+ end
1787
+ return data, status_code, headers
1788
+ end
1789
+
1790
+ # List Beacon Report Syndications for a Beacon User
1791
+ # Use the `/beacon/report_syndication/list` endpoint to view all Beacon Reports that have been syndicated to a specific Beacon User. This endpoint returns Beacon Report Syndications which are references to Beacon Reports created either by you, or another Beacon customer, that matched the specified Beacon User. A Beacon User can have multiple active Beacon Report Syndications at once. The results from this endpoint are paginated; the `next_cursor` field will be populated if there is another page of results that can be retrieved. To fetch the next page, pass the `next_cursor` value as the `cursor` parameter in the next request.
1792
+ # @param beacon_report_syndication_list_request [BeaconReportSyndicationListRequest]
1793
+ # @param [Hash] opts the optional parameters
1794
+ # @return [BeaconReportSyndicationListResponse]
1795
+ def beacon_report_syndication_list(beacon_report_syndication_list_request, opts = {})
1796
+ data, _status_code, _headers = beacon_report_syndication_list_with_http_info(beacon_report_syndication_list_request, opts)
1797
+ data
1798
+ end
1799
+
1800
+ # List Beacon Report Syndications for a Beacon User
1801
+ # Use the &#x60;/beacon/report_syndication/list&#x60; endpoint to view all Beacon Reports that have been syndicated to a specific Beacon User. This endpoint returns Beacon Report Syndications which are references to Beacon Reports created either by you, or another Beacon customer, that matched the specified Beacon User. A Beacon User can have multiple active Beacon Report Syndications at once. The results from this endpoint are paginated; the &#x60;next_cursor&#x60; field will be populated if there is another page of results that can be retrieved. To fetch the next page, pass the &#x60;next_cursor&#x60; value as the &#x60;cursor&#x60; parameter in the next request.
1802
+ # @param beacon_report_syndication_list_request [BeaconReportSyndicationListRequest]
1803
+ # @param [Hash] opts the optional parameters
1804
+ # @return [Array<(BeaconReportSyndicationListResponse, Integer, Hash)>] BeaconReportSyndicationListResponse data, response status code and response headers
1805
+ def beacon_report_syndication_list_with_http_info(beacon_report_syndication_list_request, opts = {})
1806
+ if @api_client.config.debugging
1807
+ @api_client.config.logger.debug 'Calling API: PlaidApi.beacon_report_syndication_list ...'
1808
+ end
1809
+ # verify the required parameter 'beacon_report_syndication_list_request' is set
1810
+ if @api_client.config.client_side_validation && beacon_report_syndication_list_request.nil?
1811
+ fail ArgumentError, "Missing the required parameter 'beacon_report_syndication_list_request' when calling PlaidApi.beacon_report_syndication_list"
1812
+ end
1813
+ # resource path
1814
+ local_var_path = '/beacon/report_syndication/list'
1815
+
1816
+ # query parameters
1817
+ query_params = opts[:query_params] || {}
1818
+
1819
+ # header parameters
1820
+ header_params = opts[:header_params] || {}
1821
+ # HTTP header 'Accept' (if needed)
1822
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1823
+ # HTTP header 'Content-Type'
1824
+ content_type = @api_client.select_header_content_type(['application/json'])
1825
+ if !content_type.nil?
1826
+ header_params['Content-Type'] = content_type
1827
+ end
1828
+
1829
+ # form parameters
1830
+ form_params = opts[:form_params] || {}
1831
+
1832
+ # http body (model)
1833
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(beacon_report_syndication_list_request)
1834
+
1835
+ # return_type
1836
+ return_type = opts[:debug_return_type] || 'BeaconReportSyndicationListResponse'
1837
+
1838
+ # auth_names
1839
+ auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret']
1840
+
1841
+ new_options = opts.merge(
1842
+ :operation => :"PlaidApi.beacon_report_syndication_list",
1843
+ :header_params => header_params,
1844
+ :query_params => query_params,
1845
+ :form_params => form_params,
1846
+ :body => post_body,
1847
+ :auth_names => auth_names,
1848
+ :return_type => return_type
1849
+ )
1850
+
1851
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
1852
+ if @api_client.config.debugging
1853
+ @api_client.config.logger.debug "API called: PlaidApi#beacon_report_syndication_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1854
+ end
1855
+ return data, status_code, headers
1856
+ end
1857
+
1722
1858
  # Create a Beacon User
1723
1859
  # Create and scan a Beacon User against your Beacon Program, according to your program's settings. When you submit a new user to `/beacon/user/create`, several checks are performed immediately: - The user's PII (provided within the `user` object) is searched against all other users within the Beacon Program you specified. If a match is found that violates your program's \"Duplicate Information Filtering\" settings, the user will be returned with a status of `pending_review`. - The user's PII is also searched against all fraud reports created by your organization across all of your Beacon Programs. If the user's data matches a fraud report that your team created, the user will be returned with a status of `rejected`. - Finally, the user's PII is searched against all fraud report shared with the Beacon Network by other companies. If a matching fraud report is found, the user will be returned with a `pending_review` status if your program has enabled automatic flagging based on network fraud.
1724
1860
  # @param beacon_user_create_request [BeaconUserCreateRequest]
@@ -1855,6 +1991,74 @@ module Plaid
1855
1991
  return data, status_code, headers
1856
1992
  end
1857
1993
 
1994
+ # Review a Beacon User
1995
+ # Update the status of a Beacon User. When updating a Beacon User's status via this endpoint, Plaid validates that the status change is consistent with the related state for this Beacon User. Specifically, we will check: 1. Whether there are any associated Beacon Reports connected to the Beacon User, and 2. Whether there are any confirmed Beacon Report Syndications connected to the Beacon User. When updating a Beacon User's status to \"rejected\", we enforce that either a Beacon Report has been created for the Beacon User or a Beacon Report Syndication has been confirmed. When updating a Beacon User's status to \"cleared\", we enforce that there are no active Beacon Reports or confirmed Beacon Report Syndications associated with the user. If you previously created a Beacon Report for this user, you must delete it before updating the Beacon User's status to \"cleared\". There are no restrictions on updating a Beacon User's status to \"pending_review\". If these conditions are not met, the request will be rejected with an error explaining the issue.
1996
+ # @param beacon_user_review_request [BeaconUserReviewRequest]
1997
+ # @param [Hash] opts the optional parameters
1998
+ # @return [BeaconUserGetResponse]
1999
+ def beacon_user_review(beacon_user_review_request, opts = {})
2000
+ data, _status_code, _headers = beacon_user_review_with_http_info(beacon_user_review_request, opts)
2001
+ data
2002
+ end
2003
+
2004
+ # Review a Beacon User
2005
+ # Update the status of a Beacon User. When updating a Beacon User&#39;s status via this endpoint, Plaid validates that the status change is consistent with the related state for this Beacon User. Specifically, we will check: 1. Whether there are any associated Beacon Reports connected to the Beacon User, and 2. Whether there are any confirmed Beacon Report Syndications connected to the Beacon User. When updating a Beacon User&#39;s status to \&quot;rejected\&quot;, we enforce that either a Beacon Report has been created for the Beacon User or a Beacon Report Syndication has been confirmed. When updating a Beacon User&#39;s status to \&quot;cleared\&quot;, we enforce that there are no active Beacon Reports or confirmed Beacon Report Syndications associated with the user. If you previously created a Beacon Report for this user, you must delete it before updating the Beacon User&#39;s status to \&quot;cleared\&quot;. There are no restrictions on updating a Beacon User&#39;s status to \&quot;pending_review\&quot;. If these conditions are not met, the request will be rejected with an error explaining the issue.
2006
+ # @param beacon_user_review_request [BeaconUserReviewRequest]
2007
+ # @param [Hash] opts the optional parameters
2008
+ # @return [Array<(BeaconUserGetResponse, Integer, Hash)>] BeaconUserGetResponse data, response status code and response headers
2009
+ def beacon_user_review_with_http_info(beacon_user_review_request, opts = {})
2010
+ if @api_client.config.debugging
2011
+ @api_client.config.logger.debug 'Calling API: PlaidApi.beacon_user_review ...'
2012
+ end
2013
+ # verify the required parameter 'beacon_user_review_request' is set
2014
+ if @api_client.config.client_side_validation && beacon_user_review_request.nil?
2015
+ fail ArgumentError, "Missing the required parameter 'beacon_user_review_request' when calling PlaidApi.beacon_user_review"
2016
+ end
2017
+ # resource path
2018
+ local_var_path = '/beacon/user/review'
2019
+
2020
+ # query parameters
2021
+ query_params = opts[:query_params] || {}
2022
+
2023
+ # header parameters
2024
+ header_params = opts[:header_params] || {}
2025
+ # HTTP header 'Accept' (if needed)
2026
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2027
+ # HTTP header 'Content-Type'
2028
+ content_type = @api_client.select_header_content_type(['application/json'])
2029
+ if !content_type.nil?
2030
+ header_params['Content-Type'] = content_type
2031
+ end
2032
+
2033
+ # form parameters
2034
+ form_params = opts[:form_params] || {}
2035
+
2036
+ # http body (model)
2037
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(beacon_user_review_request)
2038
+
2039
+ # return_type
2040
+ return_type = opts[:debug_return_type] || 'BeaconUserGetResponse'
2041
+
2042
+ # auth_names
2043
+ auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret']
2044
+
2045
+ new_options = opts.merge(
2046
+ :operation => :"PlaidApi.beacon_user_review",
2047
+ :header_params => header_params,
2048
+ :query_params => query_params,
2049
+ :form_params => form_params,
2050
+ :body => post_body,
2051
+ :auth_names => auth_names,
2052
+ :return_type => return_type
2053
+ )
2054
+
2055
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
2056
+ if @api_client.config.debugging
2057
+ @api_client.config.logger.debug "API called: PlaidApi#beacon_user_review\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2058
+ end
2059
+ return data, status_code, headers
2060
+ end
2061
+
1858
2062
  # Get categories
1859
2063
  # Send a request to the `/categories/get` endpoint to get detailed information on categories returned by Plaid. This endpoint does not require authentication. All implementations are recommended to use the newer `personal_finance_category` taxonomy instead of the older `category` taxonomy supported by this endpoint. The [`personal_finance_category taxonomy` CSV file](https://plaid.com/documents/transactions-personal-finance-category-taxonomy.csv) is available for download and is not accessible via API.
1860
2064
  # @param body [Object]
@@ -2536,7 +2740,7 @@ module Plaid
2536
2740
  end
2537
2741
 
2538
2742
  # Subscribe and unsubscribe to proactive notifications for a user's income profile
2539
- # `/credit/bank_income/webhook/update` allows you to subscribe or unsubscribe a user for income webhook notifications. If a user is subscribed, on significant changes to the user's income profile, you will receive a `BANK_INCOME_REFRESH_UPDATE` webhook, prompting you to refresh bank income data for the user.
2743
+ # `/credit/bank_income/webhook/update` allows you to subscribe or unsubscribe a user for income webhook notifications. By default, all users start out unsubscribed. If a user is subscribed, on significant changes to the user's income profile, you will receive a `BANK_INCOME_REFRESH_UPDATE` webhook, prompting you to refresh bank income data for the user.
2540
2744
  # @param credit_bank_income_webhook_update_request [CreditBankIncomeWebhookUpdateRequest]
2541
2745
  # @param [Hash] opts the optional parameters
2542
2746
  # @return [CreditBankIncomeWebhookUpdateResponse]
@@ -2546,7 +2750,7 @@ module Plaid
2546
2750
  end
2547
2751
 
2548
2752
  # Subscribe and unsubscribe to proactive notifications for a user&#39;s income profile
2549
- # &#x60;/credit/bank_income/webhook/update&#x60; allows you to subscribe or unsubscribe a user for income webhook notifications. If a user is subscribed, on significant changes to the user&#39;s income profile, you will receive a &#x60;BANK_INCOME_REFRESH_UPDATE&#x60; webhook, prompting you to refresh bank income data for the user.
2753
+ # &#x60;/credit/bank_income/webhook/update&#x60; allows you to subscribe or unsubscribe a user for income webhook notifications. By default, all users start out unsubscribed. If a user is subscribed, on significant changes to the user&#39;s income profile, you will receive a &#x60;BANK_INCOME_REFRESH_UPDATE&#x60; webhook, prompting you to refresh bank income data for the user.
2550
2754
  # @param credit_bank_income_webhook_update_request [CreditBankIncomeWebhookUpdateRequest]
2551
2755
  # @param [Hash] opts the optional parameters
2552
2756
  # @return [Array<(CreditBankIncomeWebhookUpdateResponse, Integer, Hash)>] CreditBankIncomeWebhookUpdateResponse data, response status code and response headers
@@ -2604,7 +2808,7 @@ module Plaid
2604
2808
  end
2605
2809
 
2606
2810
  # Retrieve data for a user's uploaded bank statements
2607
- # `/credit/bank_statements/uploads/get` returns data from user-uploaded bank statements.
2811
+ # `/credit/bank_statements/uploads/get` returns parsed data from bank statements uploaded by users as part of the Document Income flow. If your account is not enabled for Document Parsing, contact your account manager to request access.
2608
2812
  # @param credit_bank_statements_uploads_get_request [CreditBankStatementsUploadsGetRequest]
2609
2813
  # @param [Hash] opts the optional parameters
2610
2814
  # @return [CreditBankStatementsUploadsGetResponse]
@@ -2614,7 +2818,7 @@ module Plaid
2614
2818
  end
2615
2819
 
2616
2820
  # Retrieve data for a user&#39;s uploaded bank statements
2617
- # &#x60;/credit/bank_statements/uploads/get&#x60; returns data from user-uploaded bank statements.
2821
+ # &#x60;/credit/bank_statements/uploads/get&#x60; returns parsed data from bank statements uploaded by users as part of the Document Income flow. If your account is not enabled for Document Parsing, contact your account manager to request access.
2618
2822
  # @param credit_bank_statements_uploads_get_request [CreditBankStatementsUploadsGetRequest]
2619
2823
  # @param [Hash] opts the optional parameters
2620
2824
  # @return [Array<(CreditBankStatementsUploadsGetResponse, Integer, Hash)>] CreditBankStatementsUploadsGetResponse data, response status code and response headers
@@ -2875,6 +3079,74 @@ module Plaid
2875
3079
  return data, status_code, headers
2876
3080
  end
2877
3081
 
3082
+ # Update the parsing configuration for a document income verification
3083
+ # `/credit/payroll_income/parsing_config/update` updates the parsing configuration for a document income verification.
3084
+ # @param request_body [Hash<String, Object>]
3085
+ # @param [Hash] opts the optional parameters
3086
+ # @return [CreditPayrollIncomeParsingConfigUpdateResponse]
3087
+ def credit_payroll_income_parsing_config_update(request_body, opts = {})
3088
+ data, _status_code, _headers = credit_payroll_income_parsing_config_update_with_http_info(request_body, opts)
3089
+ data
3090
+ end
3091
+
3092
+ # Update the parsing configuration for a document income verification
3093
+ # &#x60;/credit/payroll_income/parsing_config/update&#x60; updates the parsing configuration for a document income verification.
3094
+ # @param request_body [Hash<String, Object>]
3095
+ # @param [Hash] opts the optional parameters
3096
+ # @return [Array<(CreditPayrollIncomeParsingConfigUpdateResponse, Integer, Hash)>] CreditPayrollIncomeParsingConfigUpdateResponse data, response status code and response headers
3097
+ def credit_payroll_income_parsing_config_update_with_http_info(request_body, opts = {})
3098
+ if @api_client.config.debugging
3099
+ @api_client.config.logger.debug 'Calling API: PlaidApi.credit_payroll_income_parsing_config_update ...'
3100
+ end
3101
+ # verify the required parameter 'request_body' is set
3102
+ if @api_client.config.client_side_validation && request_body.nil?
3103
+ fail ArgumentError, "Missing the required parameter 'request_body' when calling PlaidApi.credit_payroll_income_parsing_config_update"
3104
+ end
3105
+ # resource path
3106
+ local_var_path = '/credit/payroll_income/parsing_config/update'
3107
+
3108
+ # query parameters
3109
+ query_params = opts[:query_params] || {}
3110
+
3111
+ # header parameters
3112
+ header_params = opts[:header_params] || {}
3113
+ # HTTP header 'Accept' (if needed)
3114
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3115
+ # HTTP header 'Content-Type'
3116
+ content_type = @api_client.select_header_content_type(['application/json'])
3117
+ if !content_type.nil?
3118
+ header_params['Content-Type'] = content_type
3119
+ end
3120
+
3121
+ # form parameters
3122
+ form_params = opts[:form_params] || {}
3123
+
3124
+ # http body (model)
3125
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(request_body)
3126
+
3127
+ # return_type
3128
+ return_type = opts[:debug_return_type] || 'CreditPayrollIncomeParsingConfigUpdateResponse'
3129
+
3130
+ # auth_names
3131
+ auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret']
3132
+
3133
+ new_options = opts.merge(
3134
+ :operation => :"PlaidApi.credit_payroll_income_parsing_config_update",
3135
+ :header_params => header_params,
3136
+ :query_params => query_params,
3137
+ :form_params => form_params,
3138
+ :body => post_body,
3139
+ :auth_names => auth_names,
3140
+ :return_type => return_type
3141
+ )
3142
+
3143
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
3144
+ if @api_client.config.debugging
3145
+ @api_client.config.logger.debug "API called: PlaidApi#credit_payroll_income_parsing_config_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3146
+ end
3147
+ return data, status_code, headers
3148
+ end
3149
+
2878
3150
  # Check income verification eligibility and optimize conversion
2879
3151
  # `/credit/payroll_income/precheck` is an optional endpoint that can be called before initializing a Link session for income verification. It evaluates whether a given user is supportable by digital income verification. If the user is eligible for digital verification, that information will be associated with the user token, and in this way will generate a Link UI optimized for the end user and their specific employer. If the user cannot be confirmed as eligible, the user can still use the income verification flow, but they may be required to manually upload a paystub to verify their income. While all request fields are optional, providing `employer` data will increase the chance of receiving a useful result. When testing in Sandbox, you can control the results by providing special test values in the `employer` and `access_tokens` fields. `employer_good` and `employer_bad` will result in `HIGH` and `LOW` confidence values, respectively. `employer_multi` will result in a `HIGH` confidence with multiple payroll options. Likewise, `access_good` and `access_bad` will result in `HIGH` and `LOW` confidence values, respectively. Any other value for `employer` and `access_tokens` in Sandbox will result in `UNKNOWN` confidence.
2880
3152
  # @param credit_payroll_income_precheck_request [CreditPayrollIncomePrecheckRequest]
@@ -3012,7 +3284,7 @@ module Plaid
3012
3284
  end
3013
3285
 
3014
3286
  # Retrieve fraud insights for a user's manually uploaded document(s).
3015
- # `/credit/payroll_income/risk_signals/get` can be used as part of the Document Income flow to assess a user-uploaded document for signs of potential fraud or tampering. It returns a risk score for each uploaded document that indicates the likelihood of the document being fraudulent, in addition to details on the individual risk signals contributing to the score. `/credit/payroll_income/risk_signals/get` can be called at any time after the `INCOME_VERIFICATION_RISK_SIGNALS` webhook has been fired. `/credit/payroll_income/risk_signals/get` is offered as an add-on to Document Income and is billed separately. To request access to this endpoint, submit a product access request or contact your Plaid account manager.
3287
+ # `/credit/payroll_income/risk_signals/get` can be used as part of the Document Income flow to assess a user-uploaded document for signs of potential fraud or tampering. It returns a risk score for each uploaded document that indicates the likelihood of the document being fraudulent, in addition to details on the individual risk signals contributing to the score. To trigger risk signal generation for an Item, call `/link/token/create` with `parsing_config` set to include `fraud_risk`, or call `/credit/payroll_income/parsing_config/update`. Once risk signal generation has been triggered, `/credit/payroll_income/risk_signals/get` can be called at any time after the `INCOME_VERIFICATION_RISK_SIGNALS` webhook has been fired. `/credit/payroll_income/risk_signals/get` is offered as an add-on to Document Income and is billed separately. To request access to this endpoint, submit a product access request or contact your Plaid account manager.
3016
3288
  # @param credit_payroll_income_risk_signals_get_request [CreditPayrollIncomeRiskSignalsGetRequest]
3017
3289
  # @param [Hash] opts the optional parameters
3018
3290
  # @return [CreditPayrollIncomeRiskSignalsGetResponse]
@@ -3022,7 +3294,7 @@ module Plaid
3022
3294
  end
3023
3295
 
3024
3296
  # Retrieve fraud insights for a user&#39;s manually uploaded document(s).
3025
- # &#x60;/credit/payroll_income/risk_signals/get&#x60; can be used as part of the Document Income flow to assess a user-uploaded document for signs of potential fraud or tampering. It returns a risk score for each uploaded document that indicates the likelihood of the document being fraudulent, in addition to details on the individual risk signals contributing to the score. &#x60;/credit/payroll_income/risk_signals/get&#x60; can be called at any time after the &#x60;INCOME_VERIFICATION_RISK_SIGNALS&#x60; webhook has been fired. &#x60;/credit/payroll_income/risk_signals/get&#x60; is offered as an add-on to Document Income and is billed separately. To request access to this endpoint, submit a product access request or contact your Plaid account manager.
3297
+ # &#x60;/credit/payroll_income/risk_signals/get&#x60; can be used as part of the Document Income flow to assess a user-uploaded document for signs of potential fraud or tampering. It returns a risk score for each uploaded document that indicates the likelihood of the document being fraudulent, in addition to details on the individual risk signals contributing to the score. To trigger risk signal generation for an Item, call &#x60;/link/token/create&#x60; with &#x60;parsing_config&#x60; set to include &#x60;fraud_risk&#x60;, or call &#x60;/credit/payroll_income/parsing_config/update&#x60;. Once risk signal generation has been triggered, &#x60;/credit/payroll_income/risk_signals/get&#x60; can be called at any time after the &#x60;INCOME_VERIFICATION_RISK_SIGNALS&#x60; webhook has been fired. &#x60;/credit/payroll_income/risk_signals/get&#x60; is offered as an add-on to Document Income and is billed separately. To request access to this endpoint, submit a product access request or contact your Plaid account manager.
3026
3298
  # @param credit_payroll_income_risk_signals_get_request [CreditPayrollIncomeRiskSignalsGetRequest]
3027
3299
  # @param [Hash] opts the optional parameters
3028
3300
  # @return [Array<(CreditPayrollIncomeRiskSignalsGetResponse, Integer, Hash)>] CreditPayrollIncomeRiskSignalsGetResponse data, response status code and response headers
@@ -4236,7 +4508,7 @@ module Plaid
4236
4508
  end
4237
4509
 
4238
4510
  # Retrieve identity match score
4239
- # The `/identity/match` endpoint generates a match score, which indicates how well the provided identity data matches the identity information on file with the account holder's financial institution. This request may take some time to complete if Identity was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the data.
4511
+ # The `/identity/match` endpoint generates a match score, which indicates how well the provided identity data matches the identity information on file with the account holder's financial institution. Fields within the `balances` object will always be null when retrieved by `/identity/match`. Instead, use the free `/accounts/get` endpoint to request balance cached data, or `/accounts/balance/get` for real-time data. This request may take some time to complete if Identity was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the data.
4240
4512
  # @param identity_match_request [IdentityMatchRequest]
4241
4513
  # @param [Hash] opts the optional parameters
4242
4514
  # @return [IdentityMatchResponse]
@@ -4246,7 +4518,7 @@ module Plaid
4246
4518
  end
4247
4519
 
4248
4520
  # Retrieve identity match score
4249
- # The &#x60;/identity/match&#x60; endpoint generates a match score, which indicates how well the provided identity data matches the identity information on file with the account holder&#39;s financial institution. This request may take some time to complete if Identity was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the data.
4521
+ # The &#x60;/identity/match&#x60; endpoint generates a match score, which indicates how well the provided identity data matches the identity information on file with the account holder&#39;s financial institution. Fields within the &#x60;balances&#x60; object will always be null when retrieved by &#x60;/identity/match&#x60;. Instead, use the free &#x60;/accounts/get&#x60; endpoint to request balance cached data, or &#x60;/accounts/balance/get&#x60; for real-time data. This request may take some time to complete if Identity was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the data.
4250
4522
  # @param identity_match_request [IdentityMatchRequest]
4251
4523
  # @param [Hash] opts the optional parameters
4252
4524
  # @return [Array<(IdentityMatchResponse, Integer, Hash)>] IdentityMatchResponse data, response status code and response headers
@@ -5731,6 +6003,74 @@ module Plaid
5731
6003
  return data, status_code, headers
5732
6004
  end
5733
6005
 
6006
+ # Unlink a user’s connected application
6007
+ # Unlink a user’s connected application. On an unlink request, Plaid will immediately revoke the Application’s access to the User’s data. The User will have to redo the OAuth authentication process in order to restore functionality. This endpoint only removes ongoing data access permissions, therefore the User will need to reach out to the Application itself in order to disable and delete their account and delete any data that the Application already received (if the Application does not do so by default). This endpoint should be called in real time as the User is unlinking an Application, and should not be batched in order to ensure that the change is reflected as soon as possible.
6008
+ # @param item_application_unlink_request [ItemApplicationUnlinkRequest]
6009
+ # @param [Hash] opts the optional parameters
6010
+ # @return [ItemApplicationUnlinkResponse]
6011
+ def item_application_unlink(item_application_unlink_request, opts = {})
6012
+ data, _status_code, _headers = item_application_unlink_with_http_info(item_application_unlink_request, opts)
6013
+ data
6014
+ end
6015
+
6016
+ # Unlink a user’s connected application
6017
+ # Unlink a user’s connected application. On an unlink request, Plaid will immediately revoke the Application’s access to the User’s data. The User will have to redo the OAuth authentication process in order to restore functionality. This endpoint only removes ongoing data access permissions, therefore the User will need to reach out to the Application itself in order to disable and delete their account and delete any data that the Application already received (if the Application does not do so by default). This endpoint should be called in real time as the User is unlinking an Application, and should not be batched in order to ensure that the change is reflected as soon as possible.
6018
+ # @param item_application_unlink_request [ItemApplicationUnlinkRequest]
6019
+ # @param [Hash] opts the optional parameters
6020
+ # @return [Array<(ItemApplicationUnlinkResponse, Integer, Hash)>] ItemApplicationUnlinkResponse data, response status code and response headers
6021
+ def item_application_unlink_with_http_info(item_application_unlink_request, opts = {})
6022
+ if @api_client.config.debugging
6023
+ @api_client.config.logger.debug 'Calling API: PlaidApi.item_application_unlink ...'
6024
+ end
6025
+ # verify the required parameter 'item_application_unlink_request' is set
6026
+ if @api_client.config.client_side_validation && item_application_unlink_request.nil?
6027
+ fail ArgumentError, "Missing the required parameter 'item_application_unlink_request' when calling PlaidApi.item_application_unlink"
6028
+ end
6029
+ # resource path
6030
+ local_var_path = '/item/application/unlink'
6031
+
6032
+ # query parameters
6033
+ query_params = opts[:query_params] || {}
6034
+
6035
+ # header parameters
6036
+ header_params = opts[:header_params] || {}
6037
+ # HTTP header 'Accept' (if needed)
6038
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6039
+ # HTTP header 'Content-Type'
6040
+ content_type = @api_client.select_header_content_type(['application/json'])
6041
+ if !content_type.nil?
6042
+ header_params['Content-Type'] = content_type
6043
+ end
6044
+
6045
+ # form parameters
6046
+ form_params = opts[:form_params] || {}
6047
+
6048
+ # http body (model)
6049
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(item_application_unlink_request)
6050
+
6051
+ # return_type
6052
+ return_type = opts[:debug_return_type] || 'ItemApplicationUnlinkResponse'
6053
+
6054
+ # auth_names
6055
+ auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret']
6056
+
6057
+ new_options = opts.merge(
6058
+ :operation => :"PlaidApi.item_application_unlink",
6059
+ :header_params => header_params,
6060
+ :query_params => query_params,
6061
+ :form_params => form_params,
6062
+ :body => post_body,
6063
+ :auth_names => auth_names,
6064
+ :return_type => return_type
6065
+ )
6066
+
6067
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
6068
+ if @api_client.config.debugging
6069
+ @api_client.config.logger.debug "API called: PlaidApi#item_application_unlink\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
6070
+ end
6071
+ return data, status_code, headers
6072
+ end
6073
+
5734
6074
  # Create public token
5735
6075
  # Note: As of July 2020, the `/item/public_token/create` endpoint is deprecated. Instead, use `/link/token/create` with an `access_token` to create a Link token for use with [update mode](https://plaid.com/docs/link/update-mode). If you need your user to take action to restore or resolve an error associated with an Item, generate a public token with the `/item/public_token/create` endpoint and then initialize Link with that `public_token`. A `public_token` is one-time use and expires after 30 minutes. You use a `public_token` to initialize Link in [update mode](https://plaid.com/docs/link/update-mode) for a particular Item. You can generate a `public_token` for an Item even if you did not use Link to create the Item originally. The `/item/public_token/create` endpoint is **not** used to create your initial `public_token`. If you have not already received an `access_token` for a specific Item, use Link to obtain your `public_token` instead. See the [Quickstart](https://plaid.com/docs/quickstart) for more information.
5736
6076
  # @param item_public_token_create_request [ItemPublicTokenCreateRequest]
@@ -8248,7 +8588,7 @@ module Plaid
8248
8588
  end
8249
8589
 
8250
8590
  # Retrieve identity match score
8251
- # The `/processor/identity/match` endpoint generates a match score, which indicates how well the provided identity data matches the identity information on file with the account holder's financial institution. This request may take some time to complete if Identity was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the data.
8591
+ # The `/processor/identity/match` endpoint generates a match score, which indicates how well the provided identity data matches the identity information on file with the account holder's financial institution. Fields within the `balances` object will always be null when retrieved by `/identity/match`. Instead, use the free `/accounts/get` endpoint to request balance cached data, or `/accounts/balance/get` for real-time data. This request may take some time to complete if Identity was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the data.
8252
8592
  # @param processor_identity_match_request [ProcessorIdentityMatchRequest]
8253
8593
  # @param [Hash] opts the optional parameters
8254
8594
  # @return [ProcessorIdentityMatchResponse]
@@ -8258,7 +8598,7 @@ module Plaid
8258
8598
  end
8259
8599
 
8260
8600
  # Retrieve identity match score
8261
- # The &#x60;/processor/identity/match&#x60; endpoint generates a match score, which indicates how well the provided identity data matches the identity information on file with the account holder&#39;s financial institution. This request may take some time to complete if Identity was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the data.
8601
+ # The &#x60;/processor/identity/match&#x60; endpoint generates a match score, which indicates how well the provided identity data matches the identity information on file with the account holder&#39;s financial institution. Fields within the &#x60;balances&#x60; object will always be null when retrieved by &#x60;/identity/match&#x60;. Instead, use the free &#x60;/accounts/get&#x60; endpoint to request balance cached data, or &#x60;/accounts/balance/get&#x60; for real-time data. This request may take some time to complete if Identity was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the data.
8262
8602
  # @param processor_identity_match_request [ProcessorIdentityMatchRequest]
8263
8603
  # @param [Hash] opts the optional parameters
8264
8604
  # @return [Array<(ProcessorIdentityMatchResponse, Integer, Hash)>] ProcessorIdentityMatchResponse data, response status code and response headers
@@ -8451,6 +8791,74 @@ module Plaid
8451
8791
  return data, status_code, headers
8452
8792
  end
8453
8793
 
8794
+ # Opt-in a processor token to Signal
8795
+ # When a processor token is not initialized with Signal, call `/processor/signal/prepare` to opt-in that processor token to the Signal data collection process, which will improve the accuracy of the Signal score. If this endpoint is called with a processor token that is already initialized with Signal, it will return a 200 response and will not modify the processor token.
8796
+ # @param processor_signal_prepare_request [ProcessorSignalPrepareRequest]
8797
+ # @param [Hash] opts the optional parameters
8798
+ # @return [ProcessorSignalPrepareResponse]
8799
+ def processor_signal_prepare(processor_signal_prepare_request, opts = {})
8800
+ data, _status_code, _headers = processor_signal_prepare_with_http_info(processor_signal_prepare_request, opts)
8801
+ data
8802
+ end
8803
+
8804
+ # Opt-in a processor token to Signal
8805
+ # When a processor token is not initialized with Signal, call &#x60;/processor/signal/prepare&#x60; to opt-in that processor token to the Signal data collection process, which will improve the accuracy of the Signal score. If this endpoint is called with a processor token that is already initialized with Signal, it will return a 200 response and will not modify the processor token.
8806
+ # @param processor_signal_prepare_request [ProcessorSignalPrepareRequest]
8807
+ # @param [Hash] opts the optional parameters
8808
+ # @return [Array<(ProcessorSignalPrepareResponse, Integer, Hash)>] ProcessorSignalPrepareResponse data, response status code and response headers
8809
+ def processor_signal_prepare_with_http_info(processor_signal_prepare_request, opts = {})
8810
+ if @api_client.config.debugging
8811
+ @api_client.config.logger.debug 'Calling API: PlaidApi.processor_signal_prepare ...'
8812
+ end
8813
+ # verify the required parameter 'processor_signal_prepare_request' is set
8814
+ if @api_client.config.client_side_validation && processor_signal_prepare_request.nil?
8815
+ fail ArgumentError, "Missing the required parameter 'processor_signal_prepare_request' when calling PlaidApi.processor_signal_prepare"
8816
+ end
8817
+ # resource path
8818
+ local_var_path = '/processor/signal/prepare'
8819
+
8820
+ # query parameters
8821
+ query_params = opts[:query_params] || {}
8822
+
8823
+ # header parameters
8824
+ header_params = opts[:header_params] || {}
8825
+ # HTTP header 'Accept' (if needed)
8826
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
8827
+ # HTTP header 'Content-Type'
8828
+ content_type = @api_client.select_header_content_type(['application/json'])
8829
+ if !content_type.nil?
8830
+ header_params['Content-Type'] = content_type
8831
+ end
8832
+
8833
+ # form parameters
8834
+ form_params = opts[:form_params] || {}
8835
+
8836
+ # http body (model)
8837
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(processor_signal_prepare_request)
8838
+
8839
+ # return_type
8840
+ return_type = opts[:debug_return_type] || 'ProcessorSignalPrepareResponse'
8841
+
8842
+ # auth_names
8843
+ auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret']
8844
+
8845
+ new_options = opts.merge(
8846
+ :operation => :"PlaidApi.processor_signal_prepare",
8847
+ :header_params => header_params,
8848
+ :query_params => query_params,
8849
+ :form_params => form_params,
8850
+ :body => post_body,
8851
+ :auth_names => auth_names,
8852
+ :return_type => return_type
8853
+ )
8854
+
8855
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
8856
+ if @api_client.config.debugging
8857
+ @api_client.config.logger.debug "API called: PlaidApi#processor_signal_prepare\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
8858
+ end
8859
+ return data, status_code, headers
8860
+ end
8861
+
8454
8862
  # Report a return for an ACH transaction
8455
8863
  # Call the `/processor/signal/return/report` endpoint to report a returned transaction that was previously sent to the `/processor/signal/evaluate` endpoint. Your feedback will be used by the model to incorporate the latest risk trend in your portfolio.
8456
8864
  # @param processor_signal_return_report_request [ProcessorSignalReturnReportRequest]
@@ -9336,7 +9744,7 @@ module Plaid
9336
9744
  end
9337
9745
 
9338
9746
  # Manually fire an Income webhook
9339
- # Use the `/sandbox/income/fire_webhook` endpoint to manually trigger a Payroll Income webhook in the Sandbox environment.
9747
+ # Use the `/sandbox/income/fire_webhook` endpoint to manually trigger a Payroll or Document Income webhook in the Sandbox environment.
9340
9748
  # @param sandbox_income_fire_webhook_request [SandboxIncomeFireWebhookRequest]
9341
9749
  # @param [Hash] opts the optional parameters
9342
9750
  # @return [SandboxIncomeFireWebhookResponse]
@@ -9346,7 +9754,7 @@ module Plaid
9346
9754
  end
9347
9755
 
9348
9756
  # Manually fire an Income webhook
9349
- # Use the &#x60;/sandbox/income/fire_webhook&#x60; endpoint to manually trigger a Payroll Income webhook in the Sandbox environment.
9757
+ # Use the &#x60;/sandbox/income/fire_webhook&#x60; endpoint to manually trigger a Payroll or Document Income webhook in the Sandbox environment.
9350
9758
  # @param sandbox_income_fire_webhook_request [SandboxIncomeFireWebhookRequest]
9351
9759
  # @param [Hash] opts the optional parameters
9352
9760
  # @return [Array<(SandboxIncomeFireWebhookResponse, Integer, Hash)>] SandboxIncomeFireWebhookResponse data, response status code and response headers
@@ -10151,6 +10559,74 @@ module Plaid
10151
10559
  return data, status_code, headers
10152
10560
  end
10153
10561
 
10562
+ # Simulate a refund event in Sandbox
10563
+ # Use the `/sandbox/transfer/refund/simulate` endpoint to simulate a refund event in the Sandbox environment. Note that while an event will be simulated and will appear when using endpoints such as `/transfer/event/sync` or `/transfer/event/list`, no transactions will actually take place and funds will not move between accounts, even within the Sandbox.
10564
+ # @param sandbox_transfer_refund_simulate_request [SandboxTransferRefundSimulateRequest]
10565
+ # @param [Hash] opts the optional parameters
10566
+ # @return [SandboxTransferRefundSimulateResponse]
10567
+ def sandbox_transfer_refund_simulate(sandbox_transfer_refund_simulate_request, opts = {})
10568
+ data, _status_code, _headers = sandbox_transfer_refund_simulate_with_http_info(sandbox_transfer_refund_simulate_request, opts)
10569
+ data
10570
+ end
10571
+
10572
+ # Simulate a refund event in Sandbox
10573
+ # Use the &#x60;/sandbox/transfer/refund/simulate&#x60; endpoint to simulate a refund event in the Sandbox environment. Note that while an event will be simulated and will appear when using endpoints such as &#x60;/transfer/event/sync&#x60; or &#x60;/transfer/event/list&#x60;, no transactions will actually take place and funds will not move between accounts, even within the Sandbox.
10574
+ # @param sandbox_transfer_refund_simulate_request [SandboxTransferRefundSimulateRequest]
10575
+ # @param [Hash] opts the optional parameters
10576
+ # @return [Array<(SandboxTransferRefundSimulateResponse, Integer, Hash)>] SandboxTransferRefundSimulateResponse data, response status code and response headers
10577
+ def sandbox_transfer_refund_simulate_with_http_info(sandbox_transfer_refund_simulate_request, opts = {})
10578
+ if @api_client.config.debugging
10579
+ @api_client.config.logger.debug 'Calling API: PlaidApi.sandbox_transfer_refund_simulate ...'
10580
+ end
10581
+ # verify the required parameter 'sandbox_transfer_refund_simulate_request' is set
10582
+ if @api_client.config.client_side_validation && sandbox_transfer_refund_simulate_request.nil?
10583
+ fail ArgumentError, "Missing the required parameter 'sandbox_transfer_refund_simulate_request' when calling PlaidApi.sandbox_transfer_refund_simulate"
10584
+ end
10585
+ # resource path
10586
+ local_var_path = '/sandbox/transfer/refund/simulate'
10587
+
10588
+ # query parameters
10589
+ query_params = opts[:query_params] || {}
10590
+
10591
+ # header parameters
10592
+ header_params = opts[:header_params] || {}
10593
+ # HTTP header 'Accept' (if needed)
10594
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
10595
+ # HTTP header 'Content-Type'
10596
+ content_type = @api_client.select_header_content_type(['application/json'])
10597
+ if !content_type.nil?
10598
+ header_params['Content-Type'] = content_type
10599
+ end
10600
+
10601
+ # form parameters
10602
+ form_params = opts[:form_params] || {}
10603
+
10604
+ # http body (model)
10605
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(sandbox_transfer_refund_simulate_request)
10606
+
10607
+ # return_type
10608
+ return_type = opts[:debug_return_type] || 'SandboxTransferRefundSimulateResponse'
10609
+
10610
+ # auth_names
10611
+ auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret']
10612
+
10613
+ new_options = opts.merge(
10614
+ :operation => :"PlaidApi.sandbox_transfer_refund_simulate",
10615
+ :header_params => header_params,
10616
+ :query_params => query_params,
10617
+ :form_params => form_params,
10618
+ :body => post_body,
10619
+ :auth_names => auth_names,
10620
+ :return_type => return_type
10621
+ )
10622
+
10623
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
10624
+ if @api_client.config.debugging
10625
+ @api_client.config.logger.debug "API called: PlaidApi#sandbox_transfer_refund_simulate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
10626
+ end
10627
+ return data, status_code, headers
10628
+ end
10629
+
10154
10630
  # Trigger the creation of a repayment
10155
10631
  # Use the `/sandbox/transfer/repayment/simulate` endpoint to trigger the creation of a repayment. As a side effect of calling this route, a repayment is created that includes all unreimbursed returns of guaranteed transfers. If there are no such returns, an 400 error is returned.
10156
10632
  # @param sandbox_transfer_repayment_simulate_request [SandboxTransferRepaymentSimulateRequest]
@@ -10288,7 +10764,7 @@ module Plaid
10288
10764
  end
10289
10765
 
10290
10766
  # Simulate creating a sweep
10291
- # Use the `/sandbox/transfer/sweep/simulate` endpoint to create a sweep and associated events in the Sandbox environment. Upon calling this endpoint, all `posted` or `pending` transfers with a sweep status of `unswept` will become `swept`, and all `returned` transfers with a sweep status of `swept` will become `return_swept`.
10767
+ # Use the `/sandbox/transfer/sweep/simulate` endpoint to create a sweep and associated events in the Sandbox environment. Upon calling this endpoint, all transfers with a sweep status of `swept` will become `swept_settled`, all `posted` or `pending` transfers with a sweep status of `unswept` will become `swept`, and all `returned` transfers with a sweep status of `swept` will become `return_swept`.
10292
10768
  # @param sandbox_transfer_sweep_simulate_request [SandboxTransferSweepSimulateRequest]
10293
10769
  # @param [Hash] opts the optional parameters
10294
10770
  # @return [SandboxTransferSweepSimulateResponse]
@@ -10298,7 +10774,7 @@ module Plaid
10298
10774
  end
10299
10775
 
10300
10776
  # Simulate creating a sweep
10301
- # Use the &#x60;/sandbox/transfer/sweep/simulate&#x60; endpoint to create a sweep and associated events in the Sandbox environment. Upon calling this endpoint, all &#x60;posted&#x60; or &#x60;pending&#x60; transfers with a sweep status of &#x60;unswept&#x60; will become &#x60;swept&#x60;, and all &#x60;returned&#x60; transfers with a sweep status of &#x60;swept&#x60; will become &#x60;return_swept&#x60;.
10777
+ # Use the &#x60;/sandbox/transfer/sweep/simulate&#x60; endpoint to create a sweep and associated events in the Sandbox environment. Upon calling this endpoint, all transfers with a sweep status of &#x60;swept&#x60; will become &#x60;swept_settled&#x60;, all &#x60;posted&#x60; or &#x60;pending&#x60; transfers with a sweep status of &#x60;unswept&#x60; will become &#x60;swept&#x60;, and all &#x60;returned&#x60; transfers with a sweep status of &#x60;swept&#x60; will become &#x60;return_swept&#x60;.
10302
10778
  # @param sandbox_transfer_sweep_simulate_request [SandboxTransferSweepSimulateRequest]
10303
10779
  # @param [Hash] opts the optional parameters
10304
10780
  # @return [Array<(SandboxTransferSweepSimulateResponse, Integer, Hash)>] SandboxTransferSweepSimulateResponse data, response status code and response headers
@@ -10764,7 +11240,7 @@ module Plaid
10764
11240
  end
10765
11241
 
10766
11242
  # Opt-in an Item to Signal
10767
- # When Link is not initialized with Signal, call `/signal/prepare` to opt-in that Item to the Signal data collection process, developing a Signal score. If you are using other Plaid products after Link, e.g. Identity or Assets, call `/signal/prepare` after those product calls are complete. Example flow: Link is initialized with Auth, call `/auth/get` for the account and routing number, call `/identity/get` to retrieve bank ownership details, then call `/signal/prepare` to begin Signal data collection. Later, once you have obtained details about the proposed transaction from the user, call `/signal/evaluate` for a Signal score. For more information please see [Recommendations for initializing Link with specific product combinations](https://www.plaid.com/docs/link/initializing-products/#recommendations-for-initializing-link-with-specific-product-combinations). If run on an Item that is already initialized with Signal, this endpoint will return a 200 response and will not modify the Item.
11243
+ # When Link is not initialized with Signal, call `/signal/prepare` to opt-in that Item to the Signal data collection process, developing a Signal score. If you are using other Plaid products after Link, e.g. Identity or Assets, call `/signal/prepare` after those product calls are complete. Example flow: Link is initialized with Auth, call `/auth/get` for the account and routing number, call `/identity/get` to retrieve bank ownership details, then call `/signal/prepare` to begin Signal data collection. Later, once you have obtained details about the proposed transaction from the user, call `/signal/evaluate` for a Signal score. For more information please see [Recommendations for initializing Link with specific product combinations](https://www.plaid.com/docs/link/initializing-products/#recommendations-for-initializing-link-with-specific-product-combinations). If run on an Item that is already initialized with Signal, this endpoint will return a 200 response and will not modify the Item.
10768
11244
  # @param signal_prepare_request [SignalPrepareRequest]
10769
11245
  # @param [Hash] opts the optional parameters
10770
11246
  # @return [SignalPrepareResponse]
@@ -10774,7 +11250,7 @@ module Plaid
10774
11250
  end
10775
11251
 
10776
11252
  # Opt-in an Item to Signal
10777
- # When Link is not initialized with Signal, call &#x60;/signal/prepare&#x60; to opt-in that Item to the Signal data collection process, developing a Signal score. If you are using other Plaid products after Link, e.g. Identity or Assets, call &#x60;/signal/prepare&#x60; after those product calls are complete. Example flow: Link is initialized with Auth, call &#x60;/auth/get&#x60; for the account and routing number, call &#x60;/identity/get&#x60; to retrieve bank ownership details, then call &#x60;/signal/prepare&#x60; to begin Signal data collection. Later, once you have obtained details about the proposed transaction from the user, call &#x60;/signal/evaluate&#x60; for a Signal score. For more information please see [Recommendations for initializing Link with specific product combinations](https://www.plaid.com/docs/link/initializing-products/#recommendations-for-initializing-link-with-specific-product-combinations). If run on an Item that is already initialized with Signal, this endpoint will return a 200 response and will not modify the Item.
11253
+ # When Link is not initialized with Signal, call &#x60;/signal/prepare&#x60; to opt-in that Item to the Signal data collection process, developing a Signal score. If you are using other Plaid products after Link, e.g. Identity or Assets, call &#x60;/signal/prepare&#x60; after those product calls are complete. Example flow: Link is initialized with Auth, call &#x60;/auth/get&#x60; for the account and routing number, call &#x60;/identity/get&#x60; to retrieve bank ownership details, then call &#x60;/signal/prepare&#x60; to begin Signal data collection. Later, once you have obtained details about the proposed transaction from the user, call &#x60;/signal/evaluate&#x60; for a Signal score. For more information please see [Recommendations for initializing Link with specific product combinations](https://www.plaid.com/docs/link/initializing-products/#recommendations-for-initializing-link-with-specific-product-combinations). If run on an Item that is already initialized with Signal, this endpoint will return a 200 response and will not modify the Item.
10778
11254
  # @param signal_prepare_request [SignalPrepareRequest]
10779
11255
  # @param [Hash] opts the optional parameters
10780
11256
  # @return [Array<(SignalPrepareResponse, Integer, Hash)>] SignalPrepareResponse data, response status code and response headers
@@ -11105,26 +11581,26 @@ module Plaid
11105
11581
 
11106
11582
  # Enrich locally-held transaction data
11107
11583
  # The `/transactions/enrich` endpoint enriches raw transaction data generated by your own banking products or retrieved from other non-Plaid sources.
11108
- # @param transactions_enrich_get_request [TransactionsEnrichGetRequest]
11584
+ # @param transactions_enrich_request [TransactionsEnrichRequest]
11109
11585
  # @param [Hash] opts the optional parameters
11110
- # @return [TransactionsEnrichGetResponse]
11111
- def transactions_enrich(transactions_enrich_get_request, opts = {})
11112
- data, _status_code, _headers = transactions_enrich_with_http_info(transactions_enrich_get_request, opts)
11586
+ # @return [TransactionsEnrichResponse]
11587
+ def transactions_enrich(transactions_enrich_request, opts = {})
11588
+ data, _status_code, _headers = transactions_enrich_with_http_info(transactions_enrich_request, opts)
11113
11589
  data
11114
11590
  end
11115
11591
 
11116
11592
  # Enrich locally-held transaction data
11117
11593
  # The &#x60;/transactions/enrich&#x60; endpoint enriches raw transaction data generated by your own banking products or retrieved from other non-Plaid sources.
11118
- # @param transactions_enrich_get_request [TransactionsEnrichGetRequest]
11594
+ # @param transactions_enrich_request [TransactionsEnrichRequest]
11119
11595
  # @param [Hash] opts the optional parameters
11120
- # @return [Array<(TransactionsEnrichGetResponse, Integer, Hash)>] TransactionsEnrichGetResponse data, response status code and response headers
11121
- def transactions_enrich_with_http_info(transactions_enrich_get_request, opts = {})
11596
+ # @return [Array<(TransactionsEnrichResponse, Integer, Hash)>] TransactionsEnrichResponse data, response status code and response headers
11597
+ def transactions_enrich_with_http_info(transactions_enrich_request, opts = {})
11122
11598
  if @api_client.config.debugging
11123
11599
  @api_client.config.logger.debug 'Calling API: PlaidApi.transactions_enrich ...'
11124
11600
  end
11125
- # verify the required parameter 'transactions_enrich_get_request' is set
11126
- if @api_client.config.client_side_validation && transactions_enrich_get_request.nil?
11127
- fail ArgumentError, "Missing the required parameter 'transactions_enrich_get_request' when calling PlaidApi.transactions_enrich"
11601
+ # verify the required parameter 'transactions_enrich_request' is set
11602
+ if @api_client.config.client_side_validation && transactions_enrich_request.nil?
11603
+ fail ArgumentError, "Missing the required parameter 'transactions_enrich_request' when calling PlaidApi.transactions_enrich"
11128
11604
  end
11129
11605
  # resource path
11130
11606
  local_var_path = '/transactions/enrich'
@@ -11146,10 +11622,10 @@ module Plaid
11146
11622
  form_params = opts[:form_params] || {}
11147
11623
 
11148
11624
  # http body (model)
11149
- post_body = opts[:debug_body] || @api_client.object_to_http_body(transactions_enrich_get_request)
11625
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(transactions_enrich_request)
11150
11626
 
11151
11627
  # return_type
11152
- return_type = opts[:debug_return_type] || 'TransactionsEnrichGetResponse'
11628
+ return_type = opts[:debug_return_type] || 'TransactionsEnrichResponse'
11153
11629
 
11154
11630
  # auth_names
11155
11631
  auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret']
@@ -11580,7 +12056,7 @@ module Plaid
11580
12056
  end
11581
12057
 
11582
12058
  # Get incremental transaction updates on an Item
11583
- # This endpoint replaces `/transactions/get` and its associated webhooks for most common use-cases. The `/transactions/sync` endpoint allows developers to subscribe to all transactions associated with an Item and get updates synchronously in a stream-like manner, using a cursor to track which updates have already been seen. `/transactions/sync` provides the same functionality as `/transactions/get` and can be used instead of `/transactions/get` to simplify the process of tracking transactions updates. This endpoint provides user-authorized transaction data for `credit`, `depository`, and some loan-type accounts (only those with account subtype `student`; coverage may be limited). For transaction history from `investments` accounts, use `/investments/transactions/get` instead. Returned transactions data is grouped into three types of update, indicating whether the transaction was added, removed, or modified since the last call to the API. In the first call to `/transactions/sync` for an Item, the endpoint will return all historical transactions data associated with that Item up until the time of the API call (as \"adds\"), which then generates a `next_cursor` for that Item. In subsequent calls, send the `next_cursor` to receive only the changes that have occurred since the previous call. Due to the potentially large number of transactions associated with an Item, results are paginated. The `has_more` field specifies if additional calls are necessary to fetch all available transaction updates. Call `/transactions/sync` with the new cursor, pulling all updates, until `has_more` is `false`. When retrieving paginated updates, track both the `next_cursor` from the latest response and the original cursor from the first call in which `has_more` was `true`; if a call to `/transactions/sync` fails due to the [`TRANSACTIONS_SYNC_MUTATION_DURING_PAGINATION`](https://plaid.com/docs/errors/transactions/#transactions_sync_mutation_during_pagination) error, the entire pagination request loop must be restarted beginning with the cursor for the first page of the update, rather than retrying only the single request that failed. Whenever new or updated transaction data becomes available, `/transactions/sync` will provide these updates. Plaid typically checks for new data multiple times a day, but these checks may occur less frequently, such as once a day, depending on the institution. An Item's `status.transactions.last_successful_update` field will show the timestamp of the most recent successful update. To force Plaid to check for new transactions, use the `/transactions/refresh` endpoint. Note that for newly created Items, data may not be immediately available to `/transactions/sync`. Plaid begins preparing transactions data when the Item is created, but the process can take anywhere from a few seconds to several minutes to complete, depending on the number of transactions available. To be alerted when new data is available, listen for the [`SYNC_UPDATES_AVAILABLE`](https://plaid.com/docs/api/products/transactions/#sync_updates_available) webhook.
12059
+ # The `/transactions/sync` endpoint allows developers to subscribe to all transactions associated with an Item and get updates synchronously in a stream-like manner, using a cursor to track which updates have already been seen. `/transactions/sync` provides the same functionality as `/transactions/get` and can be used instead of `/transactions/get` to simplify the process of tracking transactions updates. To learn more about migrating from `/transactions/get`, see the [Transactions Sync migration guide](https://plaid.com/docs/transactions/sync-migration/). This endpoint provides user-authorized transaction data for `credit`, `depository`, and some loan-type accounts (only those with account subtype `student`; coverage may be limited). For transaction history from `investments` accounts, use `/investments/transactions/get` instead. Returned transactions data is grouped into three types of update, indicating whether the transaction was added, removed, or modified since the last call to the API. In the first call to `/transactions/sync` for an Item, the endpoint will return all historical transactions data associated with that Item up until the time of the API call (as \"adds\"), which then generates a `next_cursor` for that Item. In subsequent calls, send the `next_cursor` to receive only the changes that have occurred since the previous call. Due to the potentially large number of transactions associated with an Item, results are paginated. The `has_more` field specifies if additional calls are necessary to fetch all available transaction updates. Call `/transactions/sync` with the new cursor, pulling all updates, until `has_more` is `false`. When retrieving paginated updates, track both the `next_cursor` from the latest response and the original cursor from the first call in which `has_more` was `true`; if a call to `/transactions/sync` fails due to the [`TRANSACTIONS_SYNC_MUTATION_DURING_PAGINATION`](https://plaid.com/docs/errors/transactions/#transactions_sync_mutation_during_pagination) error, the entire pagination request loop must be restarted beginning with the cursor for the first page of the update, rather than retrying only the single request that failed. Whenever new or updated transaction data becomes available, `/transactions/sync` will provide these updates. Plaid typically checks for new data multiple times a day, but these checks may occur less frequently, such as once a day, depending on the institution. An Item's `status.transactions.last_successful_update` field will show the timestamp of the most recent successful update. To force Plaid to check for new transactions, use the `/transactions/refresh` endpoint. For newly created Items, data may not be immediately available to `/transactions/sync`. Plaid begins preparing transactions data when the Item is created, but the process can take anywhere from a few seconds to several minutes to complete, depending on the number of transactions available. To be alerted when new data is available, listen for the [`SYNC_UPDATES_AVAILABLE`](https://plaid.com/docs/api/products/transactions/#sync_updates_available) webhook. `/transactions/sync` does not directly return balance data. To get the balance for an account, call `/accounts/get`, which is a free-to-use endpoint that will return the cached balance as of the last successful transactions update.
11584
12060
  # @param transactions_sync_request [TransactionsSyncRequest]
11585
12061
  # @param [Hash] opts the optional parameters
11586
12062
  # @return [TransactionsSyncResponse]
@@ -11590,7 +12066,7 @@ module Plaid
11590
12066
  end
11591
12067
 
11592
12068
  # Get incremental transaction updates on an Item
11593
- # This endpoint replaces &#x60;/transactions/get&#x60; and its associated webhooks for most common use-cases. The &#x60;/transactions/sync&#x60; endpoint allows developers to subscribe to all transactions associated with an Item and get updates synchronously in a stream-like manner, using a cursor to track which updates have already been seen. &#x60;/transactions/sync&#x60; provides the same functionality as &#x60;/transactions/get&#x60; and can be used instead of &#x60;/transactions/get&#x60; to simplify the process of tracking transactions updates. This endpoint provides user-authorized transaction data for &#x60;credit&#x60;, &#x60;depository&#x60;, and some loan-type accounts (only those with account subtype &#x60;student&#x60;; coverage may be limited). For transaction history from &#x60;investments&#x60; accounts, use &#x60;/investments/transactions/get&#x60; instead. Returned transactions data is grouped into three types of update, indicating whether the transaction was added, removed, or modified since the last call to the API. In the first call to &#x60;/transactions/sync&#x60; for an Item, the endpoint will return all historical transactions data associated with that Item up until the time of the API call (as \&quot;adds\&quot;), which then generates a &#x60;next_cursor&#x60; for that Item. In subsequent calls, send the &#x60;next_cursor&#x60; to receive only the changes that have occurred since the previous call. Due to the potentially large number of transactions associated with an Item, results are paginated. The &#x60;has_more&#x60; field specifies if additional calls are necessary to fetch all available transaction updates. Call &#x60;/transactions/sync&#x60; with the new cursor, pulling all updates, until &#x60;has_more&#x60; is &#x60;false&#x60;. When retrieving paginated updates, track both the &#x60;next_cursor&#x60; from the latest response and the original cursor from the first call in which &#x60;has_more&#x60; was &#x60;true&#x60;; if a call to &#x60;/transactions/sync&#x60; fails due to the [&#x60;TRANSACTIONS_SYNC_MUTATION_DURING_PAGINATION&#x60;](https://plaid.com/docs/errors/transactions/#transactions_sync_mutation_during_pagination) error, the entire pagination request loop must be restarted beginning with the cursor for the first page of the update, rather than retrying only the single request that failed. Whenever new or updated transaction data becomes available, &#x60;/transactions/sync&#x60; will provide these updates. Plaid typically checks for new data multiple times a day, but these checks may occur less frequently, such as once a day, depending on the institution. An Item&#39;s &#x60;status.transactions.last_successful_update&#x60; field will show the timestamp of the most recent successful update. To force Plaid to check for new transactions, use the &#x60;/transactions/refresh&#x60; endpoint. Note that for newly created Items, data may not be immediately available to &#x60;/transactions/sync&#x60;. Plaid begins preparing transactions data when the Item is created, but the process can take anywhere from a few seconds to several minutes to complete, depending on the number of transactions available. To be alerted when new data is available, listen for the [&#x60;SYNC_UPDATES_AVAILABLE&#x60;](https://plaid.com/docs/api/products/transactions/#sync_updates_available) webhook.
12069
+ # The &#x60;/transactions/sync&#x60; endpoint allows developers to subscribe to all transactions associated with an Item and get updates synchronously in a stream-like manner, using a cursor to track which updates have already been seen. &#x60;/transactions/sync&#x60; provides the same functionality as &#x60;/transactions/get&#x60; and can be used instead of &#x60;/transactions/get&#x60; to simplify the process of tracking transactions updates. To learn more about migrating from &#x60;/transactions/get&#x60;, see the [Transactions Sync migration guide](https://plaid.com/docs/transactions/sync-migration/). This endpoint provides user-authorized transaction data for &#x60;credit&#x60;, &#x60;depository&#x60;, and some loan-type accounts (only those with account subtype &#x60;student&#x60;; coverage may be limited). For transaction history from &#x60;investments&#x60; accounts, use &#x60;/investments/transactions/get&#x60; instead. Returned transactions data is grouped into three types of update, indicating whether the transaction was added, removed, or modified since the last call to the API. In the first call to &#x60;/transactions/sync&#x60; for an Item, the endpoint will return all historical transactions data associated with that Item up until the time of the API call (as \&quot;adds\&quot;), which then generates a &#x60;next_cursor&#x60; for that Item. In subsequent calls, send the &#x60;next_cursor&#x60; to receive only the changes that have occurred since the previous call. Due to the potentially large number of transactions associated with an Item, results are paginated. The &#x60;has_more&#x60; field specifies if additional calls are necessary to fetch all available transaction updates. Call &#x60;/transactions/sync&#x60; with the new cursor, pulling all updates, until &#x60;has_more&#x60; is &#x60;false&#x60;. When retrieving paginated updates, track both the &#x60;next_cursor&#x60; from the latest response and the original cursor from the first call in which &#x60;has_more&#x60; was &#x60;true&#x60;; if a call to &#x60;/transactions/sync&#x60; fails due to the [&#x60;TRANSACTIONS_SYNC_MUTATION_DURING_PAGINATION&#x60;](https://plaid.com/docs/errors/transactions/#transactions_sync_mutation_during_pagination) error, the entire pagination request loop must be restarted beginning with the cursor for the first page of the update, rather than retrying only the single request that failed. Whenever new or updated transaction data becomes available, &#x60;/transactions/sync&#x60; will provide these updates. Plaid typically checks for new data multiple times a day, but these checks may occur less frequently, such as once a day, depending on the institution. An Item&#39;s &#x60;status.transactions.last_successful_update&#x60; field will show the timestamp of the most recent successful update. To force Plaid to check for new transactions, use the &#x60;/transactions/refresh&#x60; endpoint. For newly created Items, data may not be immediately available to &#x60;/transactions/sync&#x60;. Plaid begins preparing transactions data when the Item is created, but the process can take anywhere from a few seconds to several minutes to complete, depending on the number of transactions available. To be alerted when new data is available, listen for the [&#x60;SYNC_UPDATES_AVAILABLE&#x60;](https://plaid.com/docs/api/products/transactions/#sync_updates_available) webhook. &#x60;/transactions/sync&#x60; does not directly return balance data. To get the balance for an account, call &#x60;/accounts/get&#x60;, which is a free-to-use endpoint that will return the cached balance as of the last successful transactions update.
11594
12070
  # @param transactions_sync_request [TransactionsSyncRequest]
11595
12071
  # @param [Hash] opts the optional parameters
11596
12072
  # @return [Array<(TransactionsSyncResponse, Integer, Hash)>] TransactionsSyncResponse data, response status code and response headers
@@ -11647,8 +12123,76 @@ module Plaid
11647
12123
  return data, status_code, headers
11648
12124
  end
11649
12125
 
12126
+ # Obtain user insights based on transactions sent through /transactions/enrich
12127
+ # The `/beta/transactions/user_insights/v1/get` gets user insights for clients who have enriched data with `/transactions/enrich`. The product is currently in beta.
12128
+ # @param transactions_user_insights_get_request [TransactionsUserInsightsGetRequest]
12129
+ # @param [Hash] opts the optional parameters
12130
+ # @return [TransactionsUserInsightsGetResponse]
12131
+ def transactions_user_insights_get(transactions_user_insights_get_request, opts = {})
12132
+ data, _status_code, _headers = transactions_user_insights_get_with_http_info(transactions_user_insights_get_request, opts)
12133
+ data
12134
+ end
12135
+
12136
+ # Obtain user insights based on transactions sent through /transactions/enrich
12137
+ # The &#x60;/beta/transactions/user_insights/v1/get&#x60; gets user insights for clients who have enriched data with &#x60;/transactions/enrich&#x60;. The product is currently in beta.
12138
+ # @param transactions_user_insights_get_request [TransactionsUserInsightsGetRequest]
12139
+ # @param [Hash] opts the optional parameters
12140
+ # @return [Array<(TransactionsUserInsightsGetResponse, Integer, Hash)>] TransactionsUserInsightsGetResponse data, response status code and response headers
12141
+ def transactions_user_insights_get_with_http_info(transactions_user_insights_get_request, opts = {})
12142
+ if @api_client.config.debugging
12143
+ @api_client.config.logger.debug 'Calling API: PlaidApi.transactions_user_insights_get ...'
12144
+ end
12145
+ # verify the required parameter 'transactions_user_insights_get_request' is set
12146
+ if @api_client.config.client_side_validation && transactions_user_insights_get_request.nil?
12147
+ fail ArgumentError, "Missing the required parameter 'transactions_user_insights_get_request' when calling PlaidApi.transactions_user_insights_get"
12148
+ end
12149
+ # resource path
12150
+ local_var_path = '/beta/transactions/user_insights/v1/get'
12151
+
12152
+ # query parameters
12153
+ query_params = opts[:query_params] || {}
12154
+
12155
+ # header parameters
12156
+ header_params = opts[:header_params] || {}
12157
+ # HTTP header 'Accept' (if needed)
12158
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
12159
+ # HTTP header 'Content-Type'
12160
+ content_type = @api_client.select_header_content_type(['application/json'])
12161
+ if !content_type.nil?
12162
+ header_params['Content-Type'] = content_type
12163
+ end
12164
+
12165
+ # form parameters
12166
+ form_params = opts[:form_params] || {}
12167
+
12168
+ # http body (model)
12169
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(transactions_user_insights_get_request)
12170
+
12171
+ # return_type
12172
+ return_type = opts[:debug_return_type] || 'TransactionsUserInsightsGetResponse'
12173
+
12174
+ # auth_names
12175
+ auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret']
12176
+
12177
+ new_options = opts.merge(
12178
+ :operation => :"PlaidApi.transactions_user_insights_get",
12179
+ :header_params => header_params,
12180
+ :query_params => query_params,
12181
+ :form_params => form_params,
12182
+ :body => post_body,
12183
+ :auth_names => auth_names,
12184
+ :return_type => return_type
12185
+ )
12186
+
12187
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
12188
+ if @api_client.config.debugging
12189
+ @api_client.config.logger.debug "API called: PlaidApi#transactions_user_insights_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
12190
+ end
12191
+ return data, status_code, headers
12192
+ end
12193
+
11650
12194
  # Create a transfer authorization
11651
- # Use the `/transfer/authorization/create` endpoint to authorize a transfer. This endpoint must be called prior to calling `/transfer/create`. There are three possible outcomes to calling this endpoint: If the `authorization.decision` in the response is `declined`, the proposed transfer has failed the risk check and you cannot proceed with the transfer. If the `authorization.decision` is `approved`, and the `authorization.rationale_code` is `null`, the transfer has passed the risk check and you can proceed to call `/transfer/create`. If the `authorization.decision` is `approved` and the `authorization.rationale_code` is non-`null`, the risk check could not be run: you may proceed with the transfer, but should perform your own risk evaluation. For more details, see the response schema. In Plaid's Sandbox environment the decisions will be returned as follows: - To approve a transfer with `null` rationale code, make an authorization request with an `amount` less than the available balance in the account. - To approve a transfer with the rationale code `MANUALLY_VERIFIED_ITEM`, create an Item in Link through the [Same Day Micro-deposits flow](https://plaid.com/docs/auth/coverage/testing/#testing-same-day-micro-deposits). - To approve a transfer with the rationale code `ITEM_LOGIN_REQUIRED`, [reset the login for an Item](https://plaid.com/docs/sandbox/#item_login_required). - To decline a transfer with the rationale code `NSF`, the available balance on the account must be less than the authorization `amount`. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. - To decline a transfer with the rationale code `RISK`, the available balance on the account must be exactly $0. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox.
12195
+ # Use the `/transfer/authorization/create` endpoint to authorize a transfer. This endpoint must be called prior to calling `/transfer/create`. There are three possible outcomes to calling this endpoint: If the `authorization.decision` in the response is `declined`, the proposed transfer has failed the risk check and you cannot proceed with the transfer. If the `authorization.decision` is `approved`, and the `authorization.rationale_code` is `null`, the transfer has passed the risk check and you can proceed to call `/transfer/create`. If the `authorization.decision` is `approved` and the `authorization.rationale_code` is non-`null`, the risk check could not be run: you may proceed with the transfer, but should perform your own risk evaluation. For more details, see the response schema. In Plaid's Sandbox environment the decisions will be returned as follows: - To approve a transfer with `null` rationale code, make an authorization request with an `amount` less than the available balance in the account. - To approve a transfer with the rationale code `MANUALLY_VERIFIED_ITEM`, create an Item in Link through the [Same Day Micro-deposits flow](https://plaid.com/docs/auth/coverage/testing/#testing-same-day-micro-deposits). - To approve a transfer with the rationale code `ITEM_LOGIN_REQUIRED`, [reset the login for an Item](https://plaid.com/docs/sandbox/#item_login_required). - To decline a transfer with the rationale code `NSF`, the available balance on the account must be less than the authorization `amount`. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. - To decline a transfer with the rationale code `RISK`, the available balance on the account must be exactly $0. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox.
11652
12196
  # @param transfer_authorization_create_request [TransferAuthorizationCreateRequest]
11653
12197
  # @param [Hash] opts the optional parameters
11654
12198
  # @return [TransferAuthorizationCreateResponse]
@@ -11658,7 +12202,7 @@ module Plaid
11658
12202
  end
11659
12203
 
11660
12204
  # Create a transfer authorization
11661
- # Use the &#x60;/transfer/authorization/create&#x60; endpoint to authorize a transfer. This endpoint must be called prior to calling &#x60;/transfer/create&#x60;. There are three possible outcomes to calling this endpoint: If the &#x60;authorization.decision&#x60; in the response is &#x60;declined&#x60;, the proposed transfer has failed the risk check and you cannot proceed with the transfer. If the &#x60;authorization.decision&#x60; is &#x60;approved&#x60;, and the &#x60;authorization.rationale_code&#x60; is &#x60;null&#x60;, the transfer has passed the risk check and you can proceed to call &#x60;/transfer/create&#x60;. If the &#x60;authorization.decision&#x60; is &#x60;approved&#x60; and the &#x60;authorization.rationale_code&#x60; is non-&#x60;null&#x60;, the risk check could not be run: you may proceed with the transfer, but should perform your own risk evaluation. For more details, see the response schema. In Plaid&#39;s Sandbox environment the decisions will be returned as follows: - To approve a transfer with &#x60;null&#x60; rationale code, make an authorization request with an &#x60;amount&#x60; less than the available balance in the account. - To approve a transfer with the rationale code &#x60;MANUALLY_VERIFIED_ITEM&#x60;, create an Item in Link through the [Same Day Micro-deposits flow](https://plaid.com/docs/auth/coverage/testing/#testing-same-day-micro-deposits). - To approve a transfer with the rationale code &#x60;ITEM_LOGIN_REQUIRED&#x60;, [reset the login for an Item](https://plaid.com/docs/sandbox/#item_login_required). - To decline a transfer with the rationale code &#x60;NSF&#x60;, the available balance on the account must be less than the authorization &#x60;amount&#x60;. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. - To decline a transfer with the rationale code &#x60;RISK&#x60;, the available balance on the account must be exactly $0. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox.
12205
+ # Use the &#x60;/transfer/authorization/create&#x60; endpoint to authorize a transfer. This endpoint must be called prior to calling &#x60;/transfer/create&#x60;. There are three possible outcomes to calling this endpoint: If the &#x60;authorization.decision&#x60; in the response is &#x60;declined&#x60;, the proposed transfer has failed the risk check and you cannot proceed with the transfer. If the &#x60;authorization.decision&#x60; is &#x60;approved&#x60;, and the &#x60;authorization.rationale_code&#x60; is &#x60;null&#x60;, the transfer has passed the risk check and you can proceed to call &#x60;/transfer/create&#x60;. If the &#x60;authorization.decision&#x60; is &#x60;approved&#x60; and the &#x60;authorization.rationale_code&#x60; is non-&#x60;null&#x60;, the risk check could not be run: you may proceed with the transfer, but should perform your own risk evaluation. For more details, see the response schema. In Plaid&#39;s Sandbox environment the decisions will be returned as follows: - To approve a transfer with &#x60;null&#x60; rationale code, make an authorization request with an &#x60;amount&#x60; less than the available balance in the account. - To approve a transfer with the rationale code &#x60;MANUALLY_VERIFIED_ITEM&#x60;, create an Item in Link through the [Same Day Micro-deposits flow](https://plaid.com/docs/auth/coverage/testing/#testing-same-day-micro-deposits). - To approve a transfer with the rationale code &#x60;ITEM_LOGIN_REQUIRED&#x60;, [reset the login for an Item](https://plaid.com/docs/sandbox/#item_login_required). - To decline a transfer with the rationale code &#x60;NSF&#x60;, the available balance on the account must be less than the authorization &#x60;amount&#x60;. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. - To decline a transfer with the rationale code &#x60;RISK&#x60;, the available balance on the account must be exactly $0. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox.
11662
12206
  # @param transfer_authorization_create_request [TransferAuthorizationCreateRequest]
11663
12207
  # @param [Hash] opts the optional parameters
11664
12208
  # @return [Array<(TransferAuthorizationCreateResponse, Integer, Hash)>] TransferAuthorizationCreateResponse data, response status code and response headers
@@ -11852,7 +12396,7 @@ module Plaid
11852
12396
  end
11853
12397
 
11854
12398
  # Get RTP eligibility information of a transfer
11855
- # Use the `/transfer/capabilities/get` endpoint to determine the RTP eligibility information of a transfer.
12399
+ # Use the `/transfer/capabilities/get` endpoint to determine the RTP eligibility information of a transfer. To simulate RTP eligibility in Sandbox, log in using the username `user_good` and password `pass_good` and use the first two checking and savings accounts in the \"First Platypus Bank\" institution (ending in 0000 or 1111), which will return `true`. Any other account will return `false`.
11856
12400
  # @param transfer_capabilities_get_request [TransferCapabilitiesGetRequest]
11857
12401
  # @param [Hash] opts the optional parameters
11858
12402
  # @return [TransferCapabilitiesGetResponse]
@@ -11862,7 +12406,7 @@ module Plaid
11862
12406
  end
11863
12407
 
11864
12408
  # Get RTP eligibility information of a transfer
11865
- # Use the &#x60;/transfer/capabilities/get&#x60; endpoint to determine the RTP eligibility information of a transfer.
12409
+ # Use the &#x60;/transfer/capabilities/get&#x60; endpoint to determine the RTP eligibility information of a transfer. To simulate RTP eligibility in Sandbox, log in using the username &#x60;user_good&#x60; and password &#x60;pass_good&#x60; and use the first two checking and savings accounts in the \&quot;First Platypus Bank\&quot; institution (ending in 0000 or 1111), which will return &#x60;true&#x60;. Any other account will return &#x60;false&#x60;.
11866
12410
  # @param transfer_capabilities_get_request [TransferCapabilitiesGetRequest]
11867
12411
  # @param [Hash] opts the optional parameters
11868
12412
  # @return [Array<(TransferCapabilitiesGetResponse, Integer, Hash)>] TransferCapabilitiesGetResponse data, response status code and response headers
@@ -12055,7 +12599,7 @@ module Plaid
12055
12599
  return data, status_code, headers
12056
12600
  end
12057
12601
 
12058
- # This endpoint allows third-party sender customers to upload a document on behalf of its end customer (i.e. originator) to Plaid. You’ll need to send a request of type multipart/form-data.
12602
+ # Upload transfer diligence document on behalf of the originator
12059
12603
  # Third-party sender customers can use `/transfer/diligence/document/upload` endpoint to upload a document on behalf of its end customer (i.e. originator) to Plaid. You’ll need to send a request of type multipart/form-data. You must provide the `client_id` in the `PLAID-CLIENT-ID` header and `secret` in the `PLAID-SECRET` header.
12060
12604
  # @param transfer_diligence_document_upload_request [TransferDiligenceDocumentUploadRequest]
12061
12605
  # @param [Hash] opts the optional parameters
@@ -12065,7 +12609,7 @@ module Plaid
12065
12609
  data
12066
12610
  end
12067
12611
 
12068
- # This endpoint allows third-party sender customers to upload a document on behalf of its end customer (i.e. originator) to Plaid. You’ll need to send a request of type multipart/form-data.
12612
+ # Upload transfer diligence document on behalf of the originator
12069
12613
  # Third-party sender customers can use &#x60;/transfer/diligence/document/upload&#x60; endpoint to upload a document on behalf of its end customer (i.e. originator) to Plaid. You’ll need to send a request of type multipart/form-data. You must provide the &#x60;client_id&#x60; in the &#x60;PLAID-CLIENT-ID&#x60; header and &#x60;secret&#x60; in the &#x60;PLAID-SECRET&#x60; header.
12070
12614
  # @param transfer_diligence_document_upload_request [TransferDiligenceDocumentUploadRequest]
12071
12615
  # @param [Hash] opts the optional parameters
@@ -12123,8 +12667,8 @@ module Plaid
12123
12667
  return data, status_code, headers
12124
12668
  end
12125
12669
 
12126
- # Submit transfer diligence on behalf of the end customer (i.e. the originator).
12127
- # Use the `/transfer/diligence/submit` endpoint to submit transfer diligence on behalf of the originator.
12670
+ # Submit transfer diligence on behalf of the originator
12671
+ # Use the `/transfer/diligence/submit` endpoint to submit transfer diligence on behalf of the originator (i.e., the end customer).
12128
12672
  # @param transfer_diligence_submit_request [TransferDiligenceSubmitRequest]
12129
12673
  # @param [Hash] opts the optional parameters
12130
12674
  # @return [TransferDiligenceSubmitResponse]
@@ -12133,8 +12677,8 @@ module Plaid
12133
12677
  data
12134
12678
  end
12135
12679
 
12136
- # Submit transfer diligence on behalf of the end customer (i.e. the originator).
12137
- # Use the &#x60;/transfer/diligence/submit&#x60; endpoint to submit transfer diligence on behalf of the originator.
12680
+ # Submit transfer diligence on behalf of the originator
12681
+ # Use the &#x60;/transfer/diligence/submit&#x60; endpoint to submit transfer diligence on behalf of the originator (i.e., the end customer).
12138
12682
  # @param transfer_diligence_submit_request [TransferDiligenceSubmitRequest]
12139
12683
  # @param [Hash] opts the optional parameters
12140
12684
  # @return [Array<(TransferDiligenceSubmitResponse, Integer, Hash)>] TransferDiligenceSubmitResponse data, response status code and response headers
@@ -12599,6 +13143,74 @@ module Plaid
12599
13143
  return data, status_code, headers
12600
13144
  end
12601
13145
 
13146
+ # Move available balance between the ledgers of the platform and one of its originators
13147
+ # Use the `/transfer/ledger/distribute` endpoint to move available balance between the ledgers of the platform and one of its originators.
13148
+ # @param transfer_ledger_distribute_request [TransferLedgerDistributeRequest]
13149
+ # @param [Hash] opts the optional parameters
13150
+ # @return [TransferLedgerDistributeResponse]
13151
+ def transfer_ledger_distribute(transfer_ledger_distribute_request, opts = {})
13152
+ data, _status_code, _headers = transfer_ledger_distribute_with_http_info(transfer_ledger_distribute_request, opts)
13153
+ data
13154
+ end
13155
+
13156
+ # Move available balance between the ledgers of the platform and one of its originators
13157
+ # Use the &#x60;/transfer/ledger/distribute&#x60; endpoint to move available balance between the ledgers of the platform and one of its originators.
13158
+ # @param transfer_ledger_distribute_request [TransferLedgerDistributeRequest]
13159
+ # @param [Hash] opts the optional parameters
13160
+ # @return [Array<(TransferLedgerDistributeResponse, Integer, Hash)>] TransferLedgerDistributeResponse data, response status code and response headers
13161
+ def transfer_ledger_distribute_with_http_info(transfer_ledger_distribute_request, opts = {})
13162
+ if @api_client.config.debugging
13163
+ @api_client.config.logger.debug 'Calling API: PlaidApi.transfer_ledger_distribute ...'
13164
+ end
13165
+ # verify the required parameter 'transfer_ledger_distribute_request' is set
13166
+ if @api_client.config.client_side_validation && transfer_ledger_distribute_request.nil?
13167
+ fail ArgumentError, "Missing the required parameter 'transfer_ledger_distribute_request' when calling PlaidApi.transfer_ledger_distribute"
13168
+ end
13169
+ # resource path
13170
+ local_var_path = '/transfer/ledger/distribute'
13171
+
13172
+ # query parameters
13173
+ query_params = opts[:query_params] || {}
13174
+
13175
+ # header parameters
13176
+ header_params = opts[:header_params] || {}
13177
+ # HTTP header 'Accept' (if needed)
13178
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
13179
+ # HTTP header 'Content-Type'
13180
+ content_type = @api_client.select_header_content_type(['application/json'])
13181
+ if !content_type.nil?
13182
+ header_params['Content-Type'] = content_type
13183
+ end
13184
+
13185
+ # form parameters
13186
+ form_params = opts[:form_params] || {}
13187
+
13188
+ # http body (model)
13189
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(transfer_ledger_distribute_request)
13190
+
13191
+ # return_type
13192
+ return_type = opts[:debug_return_type] || 'TransferLedgerDistributeResponse'
13193
+
13194
+ # auth_names
13195
+ auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret']
13196
+
13197
+ new_options = opts.merge(
13198
+ :operation => :"PlaidApi.transfer_ledger_distribute",
13199
+ :header_params => header_params,
13200
+ :query_params => query_params,
13201
+ :form_params => form_params,
13202
+ :body => post_body,
13203
+ :auth_names => auth_names,
13204
+ :return_type => return_type
13205
+ )
13206
+
13207
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
13208
+ if @api_client.config.debugging
13209
+ @api_client.config.logger.debug "API called: PlaidApi#transfer_ledger_distribute\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
13210
+ end
13211
+ return data, status_code, headers
13212
+ end
13213
+
12602
13214
  # Retrieve Plaid Ledger balance
12603
13215
  # Use the `/transfer/ledger/get` endpoint to view a balance on the ledger held with Plaid.
12604
13216
  # @param transfer_ledger_get_request [TransferLedgerGetRequest]
@@ -13348,7 +13960,7 @@ module Plaid
13348
13960
  end
13349
13961
 
13350
13962
  # Create a recurring transfer
13351
- # Use the `/transfer/recurring/create` endpoint to initiate a new recurring transfer.
13963
+ # Use the `/transfer/recurring/create` endpoint to initiate a new recurring transfer. This capability is not currently supported for Transfer UI or Platform Payments (beta) customers.
13352
13964
  # @param transfer_recurring_create_request [TransferRecurringCreateRequest]
13353
13965
  # @param [Hash] opts the optional parameters
13354
13966
  # @return [TransferRecurringCreateResponse]
@@ -13358,7 +13970,7 @@ module Plaid
13358
13970
  end
13359
13971
 
13360
13972
  # Create a recurring transfer
13361
- # Use the &#x60;/transfer/recurring/create&#x60; endpoint to initiate a new recurring transfer.
13973
+ # Use the &#x60;/transfer/recurring/create&#x60; endpoint to initiate a new recurring transfer. This capability is not currently supported for Transfer UI or Platform Payments (beta) customers.
13362
13974
  # @param transfer_recurring_create_request [TransferRecurringCreateRequest]
13363
13975
  # @param [Hash] opts the optional parameters
13364
13976
  # @return [Array<(TransferRecurringCreateResponse, Integer, Hash)>] TransferRecurringCreateResponse data, response status code and response headers
@@ -13620,7 +14232,7 @@ module Plaid
13620
14232
  end
13621
14233
 
13622
14234
  # Create a refund
13623
- # Use the `/transfer/refund/create` endpoint to create a refund for a transfer. A transfer can be refunded if the transfer was initiated in the past 180 days. Processing of the refund will not occur until at least 3 business days following the transfer's settlement date, plus any hold/settlement delays. This 3-day window helps better protect your business from regular ACH returns. Consumer initiated returns (unauthorized returns) could still happen for about 60 days from the settlement date. If the original transfer is canceled, returned or failed, all pending refunds will automatically be canceled. Processed refunds cannot be revoked.
14235
+ # Use the `/transfer/refund/create` endpoint to create a refund for a transfer. A transfer can be refunded if the transfer was initiated in the past 180 days. Processing of the refund will not occur until at least 4 business days following the transfer's settlement date, plus any hold/settlement delays. This 3-day window helps better protect your business from regular ACH returns. Consumer initiated returns (unauthorized returns) could still happen for about 60 days from the settlement date. If the original transfer is canceled, returned or failed, all pending refunds will automatically be canceled. Processed refunds cannot be revoked.
13624
14236
  # @param transfer_refund_create_request [TransferRefundCreateRequest]
13625
14237
  # @param [Hash] opts the optional parameters
13626
14238
  # @return [TransferRefundCreateResponse]
@@ -13630,7 +14242,7 @@ module Plaid
13630
14242
  end
13631
14243
 
13632
14244
  # Create a refund
13633
- # Use the &#x60;/transfer/refund/create&#x60; endpoint to create a refund for a transfer. A transfer can be refunded if the transfer was initiated in the past 180 days. Processing of the refund will not occur until at least 3 business days following the transfer&#39;s settlement date, plus any hold/settlement delays. This 3-day window helps better protect your business from regular ACH returns. Consumer initiated returns (unauthorized returns) could still happen for about 60 days from the settlement date. If the original transfer is canceled, returned or failed, all pending refunds will automatically be canceled. Processed refunds cannot be revoked.
14245
+ # Use the &#x60;/transfer/refund/create&#x60; endpoint to create a refund for a transfer. A transfer can be refunded if the transfer was initiated in the past 180 days. Processing of the refund will not occur until at least 4 business days following the transfer&#39;s settlement date, plus any hold/settlement delays. This 3-day window helps better protect your business from regular ACH returns. Consumer initiated returns (unauthorized returns) could still happen for about 60 days from the settlement date. If the original transfer is canceled, returned or failed, all pending refunds will automatically be canceled. Processed refunds cannot be revoked.
13634
14246
  # @param transfer_refund_create_request [TransferRefundCreateRequest]
13635
14247
  # @param [Hash] opts the optional parameters
13636
14248
  # @return [Array<(TransferRefundCreateResponse, Integer, Hash)>] TransferRefundCreateResponse data, response status code and response headers
@@ -14096,7 +14708,7 @@ module Plaid
14096
14708
  end
14097
14709
 
14098
14710
  # Update user information
14099
- # This endpoint is used to update user information associated with an existing `user_token`. The `user_token` should be in the response of `/user/create` call If you call the endpoint with a non-exist `user_token`, the call will fail with an error message indicating that the user token is not found.
14711
+ # This endpoint is used to update user information associated with an existing `user_token`. The `user_token` should be in the response of `/user/create` call If you call the endpoint with a non-exist `user_token`, the call will fail with an error message indicating that the user token is not found.
14100
14712
  # @param user_update_request [UserUpdateRequest]
14101
14713
  # @param [Hash] opts the optional parameters
14102
14714
  # @return [UserUpdateResponse]
@@ -14106,7 +14718,7 @@ module Plaid
14106
14718
  end
14107
14719
 
14108
14720
  # Update user information
14109
- # This endpoint is used to update user information associated with an existing &#x60;user_token&#x60;. The &#x60;user_token&#x60; should be in the response of &#x60;/user/create&#x60; call If you call the endpoint with a non-exist &#x60;user_token&#x60;, the call will fail with an error message indicating that the user token is not found.
14721
+ # This endpoint is used to update user information associated with an existing &#x60;user_token&#x60;. The &#x60;user_token&#x60; should be in the response of &#x60;/user/create&#x60; call If you call the endpoint with a non-exist &#x60;user_token&#x60;, the call will fail with an error message indicating that the user token is not found.
14110
14722
  # @param user_update_request [UserUpdateRequest]
14111
14723
  # @param [Hash] opts the optional parameters
14112
14724
  # @return [Array<(UserUpdateResponse, Integer, Hash)>] UserUpdateResponse data, response status code and response headers