plaid 14.0.0.beta.1 → 14.0.0.beta.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (333) hide show
  1. checksums.yaml +4 -4
  2. data/CONTRIBUTING.md +15 -29
  3. data/Dockerfile +1 -0
  4. data/Gemfile.lock +1 -1
  5. data/Makefile +21 -0
  6. data/PUBLISH.md +7 -6
  7. data/docs/AccountBalance.md +1 -1
  8. data/docs/LinkTokenCreateRequest.md +3 -3
  9. data/docs/MortgageLiability.md +1 -1
  10. data/docs/PaymentInitiationPaymentGetResponse.md +3 -1
  11. data/docs/PlaidApi.md +1 -1
  12. data/docs/ProcessorTokenCreateRequest.md +1 -1
  13. data/lib/plaid.rb +1 -1
  14. data/lib/plaid/api/plaid_api.rb +3 -3
  15. data/lib/plaid/api_client.rb +1 -1
  16. data/lib/plaid/api_error.rb +1 -1
  17. data/lib/plaid/configuration.rb +1 -1
  18. data/lib/plaid/models/account_assets.rb +1 -1
  19. data/lib/plaid/models/account_assets_all_of.rb +1 -1
  20. data/lib/plaid/models/account_balance.rb +2 -2
  21. data/lib/plaid/models/account_base.rb +1 -1
  22. data/lib/plaid/models/account_filters_response.rb +1 -1
  23. data/lib/plaid/models/account_identity.rb +1 -1
  24. data/lib/plaid/models/account_identity_all_of.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/address.rb +1 -1
  34. data/lib/plaid/models/address_data.rb +1 -1
  35. data/lib/plaid/models/amount.rb +1 -1
  36. data/lib/plaid/models/apr.rb +1 -1
  37. data/lib/plaid/models/asset_report.rb +1 -1
  38. data/lib/plaid/models/asset_report_audit_copy_create_request.rb +1 -1
  39. data/lib/plaid/models/asset_report_audit_copy_create_response.rb +1 -1
  40. data/lib/plaid/models/asset_report_audit_copy_get_request.rb +1 -1
  41. data/lib/plaid/models/asset_report_audit_copy_remove_request.rb +1 -1
  42. data/lib/plaid/models/asset_report_audit_copy_remove_response.rb +1 -1
  43. data/lib/plaid/models/asset_report_create_request.rb +1 -1
  44. data/lib/plaid/models/asset_report_create_request_options.rb +1 -1
  45. data/lib/plaid/models/asset_report_create_response.rb +1 -1
  46. data/lib/plaid/models/asset_report_filter_request.rb +1 -1
  47. data/lib/plaid/models/asset_report_filter_response.rb +1 -1
  48. data/lib/plaid/models/asset_report_get_request.rb +1 -1
  49. data/lib/plaid/models/asset_report_get_response.rb +1 -1
  50. data/lib/plaid/models/asset_report_item.rb +1 -1
  51. data/lib/plaid/models/asset_report_pdf_get_request.rb +1 -1
  52. data/lib/plaid/models/asset_report_refresh_request.rb +1 -1
  53. data/lib/plaid/models/asset_report_refresh_request_options.rb +1 -1
  54. data/lib/plaid/models/asset_report_refresh_response.rb +1 -1
  55. data/lib/plaid/models/asset_report_remove_request.rb +1 -1
  56. data/lib/plaid/models/asset_report_remove_response.rb +1 -1
  57. data/lib/plaid/models/asset_report_transaction.rb +1 -1
  58. data/lib/plaid/models/asset_report_transaction_all_of.rb +1 -1
  59. data/lib/plaid/models/asset_report_user.rb +1 -1
  60. data/lib/plaid/models/assets_error_webhook.rb +1 -1
  61. data/lib/plaid/models/assets_product_ready_webhook.rb +1 -1
  62. data/lib/plaid/models/auth_get_numbers.rb +1 -1
  63. data/lib/plaid/models/auth_get_request.rb +1 -1
  64. data/lib/plaid/models/auth_get_request_options.rb +1 -1
  65. data/lib/plaid/models/auth_get_response.rb +1 -1
  66. data/lib/plaid/models/automatically_verified_webhook.rb +1 -1
  67. data/lib/plaid/models/bank_transfer.rb +1 -1
  68. data/lib/plaid/models/bank_transfer_balance.rb +1 -1
  69. data/lib/plaid/models/bank_transfer_balance_get_request.rb +1 -1
  70. data/lib/plaid/models/bank_transfer_balance_get_response.rb +1 -1
  71. data/lib/plaid/models/bank_transfer_cancel_request.rb +1 -1
  72. data/lib/plaid/models/bank_transfer_cancel_response.rb +1 -1
  73. data/lib/plaid/models/bank_transfer_create_request.rb +1 -1
  74. data/lib/plaid/models/bank_transfer_create_response.rb +1 -1
  75. data/lib/plaid/models/bank_transfer_direction.rb +1 -1
  76. data/lib/plaid/models/bank_transfer_event.rb +1 -1
  77. data/lib/plaid/models/bank_transfer_event_list_request.rb +1 -1
  78. data/lib/plaid/models/bank_transfer_event_list_response.rb +1 -1
  79. data/lib/plaid/models/bank_transfer_event_sync_request.rb +1 -1
  80. data/lib/plaid/models/bank_transfer_event_sync_response.rb +1 -1
  81. data/lib/plaid/models/bank_transfer_event_type.rb +1 -1
  82. data/lib/plaid/models/bank_transfer_failure.rb +1 -1
  83. data/lib/plaid/models/bank_transfer_get_request.rb +1 -1
  84. data/lib/plaid/models/bank_transfer_get_response.rb +1 -1
  85. data/lib/plaid/models/bank_transfer_list_request.rb +1 -1
  86. data/lib/plaid/models/bank_transfer_list_response.rb +1 -1
  87. data/lib/plaid/models/bank_transfer_migrate_account_request.rb +1 -1
  88. data/lib/plaid/models/bank_transfer_migrate_account_response.rb +1 -1
  89. data/lib/plaid/models/bank_transfer_network.rb +1 -1
  90. data/lib/plaid/models/bank_transfer_receiver_details.rb +1 -1
  91. data/lib/plaid/models/bank_transfer_status.rb +1 -1
  92. data/lib/plaid/models/bank_transfer_type.rb +1 -1
  93. data/lib/plaid/models/bank_transfer_user.rb +1 -1
  94. data/lib/plaid/models/categories_get_response.rb +1 -1
  95. data/lib/plaid/models/category.rb +1 -1
  96. data/lib/plaid/models/cause.rb +1 -1
  97. data/lib/plaid/models/country_code.rb +1 -1
  98. data/lib/plaid/models/credit_card_liability.rb +1 -1
  99. data/lib/plaid/models/credit_filter.rb +1 -1
  100. data/lib/plaid/models/default_update_webhook.rb +1 -1
  101. data/lib/plaid/models/deposit_switch_address_data.rb +1 -1
  102. data/lib/plaid/models/deposit_switch_alt_create_request.rb +1 -1
  103. data/lib/plaid/models/deposit_switch_alt_create_response.rb +1 -1
  104. data/lib/plaid/models/deposit_switch_create_request.rb +1 -1
  105. data/lib/plaid/models/deposit_switch_create_response.rb +1 -1
  106. data/lib/plaid/models/deposit_switch_get_request.rb +1 -1
  107. data/lib/plaid/models/deposit_switch_get_response.rb +1 -1
  108. data/lib/plaid/models/deposit_switch_target_account.rb +1 -1
  109. data/lib/plaid/models/deposit_switch_target_user.rb +1 -1
  110. data/lib/plaid/models/deposit_switch_token_create_request.rb +1 -1
  111. data/lib/plaid/models/deposit_switch_token_create_response.rb +1 -1
  112. data/lib/plaid/models/depository_filter.rb +1 -1
  113. data/lib/plaid/models/email.rb +1 -1
  114. data/lib/plaid/models/employee.rb +1 -1
  115. data/lib/plaid/models/employee_income_summary_field_string.rb +1 -1
  116. data/lib/plaid/models/employer.rb +1 -1
  117. data/lib/plaid/models/employer_income_summary_field_string.rb +1 -1
  118. data/lib/plaid/models/employers_search_request.rb +1 -1
  119. data/lib/plaid/models/employers_search_response.rb +1 -1
  120. data/lib/plaid/models/error.rb +1 -1
  121. data/lib/plaid/models/external_payment_schedule.rb +1 -1
  122. data/lib/plaid/models/health_incident.rb +1 -1
  123. data/lib/plaid/models/historical_balance.rb +1 -1
  124. data/lib/plaid/models/historical_update_webhook.rb +1 -1
  125. data/lib/plaid/models/holding.rb +1 -1
  126. data/lib/plaid/models/holdings_default_update_webhook.rb +1 -1
  127. data/lib/plaid/models/identity_get_request.rb +1 -1
  128. data/lib/plaid/models/identity_get_request_options.rb +1 -1
  129. data/lib/plaid/models/identity_get_response.rb +1 -1
  130. data/lib/plaid/models/incident_update.rb +1 -1
  131. data/lib/plaid/models/income_breakdown.rb +1 -1
  132. data/lib/plaid/models/income_summary.rb +1 -1
  133. data/lib/plaid/models/income_summary_field_number.rb +1 -1
  134. data/lib/plaid/models/income_summary_field_string.rb +1 -1
  135. data/lib/plaid/models/income_verification_create_request.rb +1 -1
  136. data/lib/plaid/models/income_verification_create_response.rb +1 -1
  137. data/lib/plaid/models/income_verification_documents_download_request.rb +1 -1
  138. data/lib/plaid/models/income_verification_documents_download_response.rb +1 -1
  139. data/lib/plaid/models/income_verification_paystub_get_request.rb +1 -1
  140. data/lib/plaid/models/income_verification_paystub_get_response.rb +1 -1
  141. data/lib/plaid/models/income_verification_status_webhook.rb +1 -1
  142. data/lib/plaid/models/income_verification_summary_get_request.rb +1 -1
  143. data/lib/plaid/models/income_verification_summary_get_response.rb +1 -1
  144. data/lib/plaid/models/income_verification_webhook_status.rb +1 -1
  145. data/lib/plaid/models/inflow_model.rb +1 -1
  146. data/lib/plaid/models/initial_update_webhook.rb +1 -1
  147. data/lib/plaid/models/institution.rb +1 -1
  148. data/lib/plaid/models/institution_status.rb +1 -1
  149. data/lib/plaid/models/institutions_get_by_id_request.rb +1 -1
  150. data/lib/plaid/models/institutions_get_by_id_request_options.rb +1 -1
  151. data/lib/plaid/models/institutions_get_by_id_response.rb +1 -1
  152. data/lib/plaid/models/institutions_get_request.rb +1 -1
  153. data/lib/plaid/models/institutions_get_request_options.rb +1 -1
  154. data/lib/plaid/models/institutions_get_response.rb +1 -1
  155. data/lib/plaid/models/institutions_search_account_filter.rb +1 -1
  156. data/lib/plaid/models/institutions_search_request.rb +1 -1
  157. data/lib/plaid/models/institutions_search_request_options.rb +1 -1
  158. data/lib/plaid/models/institutions_search_response.rb +1 -1
  159. data/lib/plaid/models/investment_filter.rb +1 -1
  160. data/lib/plaid/models/investment_holdings_get_request_options.rb +1 -1
  161. data/lib/plaid/models/investment_transaction.rb +1 -1
  162. data/lib/plaid/models/investments_default_update_webhook.rb +1 -1
  163. data/lib/plaid/models/investments_holdings_get_request.rb +1 -1
  164. data/lib/plaid/models/investments_holdings_get_response.rb +1 -1
  165. data/lib/plaid/models/investments_transactions_get_request.rb +1 -1
  166. data/lib/plaid/models/investments_transactions_get_request_options.rb +1 -1
  167. data/lib/plaid/models/investments_transactions_get_response.rb +1 -1
  168. data/lib/plaid/models/item.rb +1 -1
  169. data/lib/plaid/models/item_access_token_invalidate_request.rb +1 -1
  170. data/lib/plaid/models/item_access_token_invalidate_response.rb +1 -1
  171. data/lib/plaid/models/item_error_webhook.rb +1 -1
  172. data/lib/plaid/models/item_get_request.rb +1 -1
  173. data/lib/plaid/models/item_get_response.rb +1 -1
  174. data/lib/plaid/models/item_import_request.rb +1 -1
  175. data/lib/plaid/models/item_import_request_options.rb +1 -1
  176. data/lib/plaid/models/item_import_request_user_auth.rb +1 -1
  177. data/lib/plaid/models/item_import_response.rb +1 -1
  178. data/lib/plaid/models/item_product_ready_webhook.rb +1 -1
  179. data/lib/plaid/models/item_public_token_create_request.rb +1 -1
  180. data/lib/plaid/models/item_public_token_create_response.rb +1 -1
  181. data/lib/plaid/models/item_public_token_exchange_request.rb +1 -1
  182. data/lib/plaid/models/item_public_token_exchange_response.rb +1 -1
  183. data/lib/plaid/models/item_remove_request.rb +1 -1
  184. data/lib/plaid/models/item_remove_response.rb +1 -1
  185. data/lib/plaid/models/item_status.rb +1 -1
  186. data/lib/plaid/models/item_status_investments.rb +1 -1
  187. data/lib/plaid/models/item_status_last_webhook.rb +1 -1
  188. data/lib/plaid/models/item_status_transactions.rb +1 -1
  189. data/lib/plaid/models/item_webhook_update_request.rb +1 -1
  190. data/lib/plaid/models/item_webhook_update_response.rb +1 -1
  191. data/lib/plaid/models/jwk_public_key.rb +1 -1
  192. data/lib/plaid/models/jwt_header.rb +1 -1
  193. data/lib/plaid/models/liabilities_get_request.rb +1 -1
  194. data/lib/plaid/models/liabilities_get_request_options.rb +1 -1
  195. data/lib/plaid/models/liabilities_get_response.rb +1 -1
  196. data/lib/plaid/models/liabilities_object.rb +1 -1
  197. data/lib/plaid/models/liability_override.rb +1 -1
  198. data/lib/plaid/models/link_token_account_filters.rb +1 -1
  199. data/lib/plaid/models/link_token_create_request.rb +4 -4
  200. data/lib/plaid/models/link_token_create_request_account_subtypes.rb +1 -1
  201. data/lib/plaid/models/link_token_create_request_account_subtypes_credit.rb +1 -1
  202. data/lib/plaid/models/link_token_create_request_account_subtypes_depository.rb +1 -1
  203. data/lib/plaid/models/link_token_create_request_account_subtypes_investment.rb +1 -1
  204. data/lib/plaid/models/link_token_create_request_account_subtypes_loan.rb +1 -1
  205. data/lib/plaid/models/link_token_create_request_deposit_switch.rb +2 -2
  206. data/lib/plaid/models/link_token_create_request_income_verification.rb +2 -2
  207. data/lib/plaid/models/link_token_create_request_payment_initiation.rb +2 -2
  208. data/lib/plaid/models/link_token_create_request_user.rb +1 -1
  209. data/lib/plaid/models/link_token_create_response.rb +1 -1
  210. data/lib/plaid/models/link_token_get_metadata_response.rb +1 -1
  211. data/lib/plaid/models/link_token_get_request.rb +1 -1
  212. data/lib/plaid/models/link_token_get_response.rb +1 -1
  213. data/lib/plaid/models/loan_filter.rb +1 -1
  214. data/lib/plaid/models/location.rb +1 -1
  215. data/lib/plaid/models/meta.rb +1 -1
  216. data/lib/plaid/models/mfa.rb +1 -1
  217. data/lib/plaid/models/mortgage_interest_rate.rb +1 -1
  218. data/lib/plaid/models/mortgage_liability.rb +2 -2
  219. data/lib/plaid/models/mortgage_property_address.rb +1 -1
  220. data/lib/plaid/models/nullable_access_token.rb +1 -1
  221. data/lib/plaid/models/nullable_address.rb +1 -1
  222. data/lib/plaid/models/nullable_address_data.rb +1 -1
  223. data/lib/plaid/models/nullable_item_status.rb +1 -1
  224. data/lib/plaid/models/nullable_numbers_ach.rb +1 -1
  225. data/lib/plaid/models/nullable_numbers_bacs.rb +1 -1
  226. data/lib/plaid/models/nullable_numbers_eft.rb +1 -1
  227. data/lib/plaid/models/nullable_numbers_international.rb +1 -1
  228. data/lib/plaid/models/nullable_recipient_bacs.rb +1 -1
  229. data/lib/plaid/models/numbers.rb +1 -1
  230. data/lib/plaid/models/numbers_ach.rb +1 -1
  231. data/lib/plaid/models/numbers_bacs.rb +1 -1
  232. data/lib/plaid/models/numbers_eft.rb +1 -1
  233. data/lib/plaid/models/numbers_international.rb +1 -1
  234. data/lib/plaid/models/override_accounts.rb +1 -1
  235. data/lib/plaid/models/owner.rb +1 -1
  236. data/lib/plaid/models/owner_override.rb +1 -1
  237. data/lib/plaid/models/pay_frequency.rb +1 -1
  238. data/lib/plaid/models/pay_period_details.rb +1 -1
  239. data/lib/plaid/models/payment_amount.rb +1 -1
  240. data/lib/plaid/models/payment_initiation_address.rb +1 -1
  241. data/lib/plaid/models/payment_initiation_payment_create_request.rb +1 -1
  242. data/lib/plaid/models/payment_initiation_payment_create_response.rb +1 -1
  243. data/lib/plaid/models/payment_initiation_payment_get_request.rb +1 -1
  244. data/lib/plaid/models/payment_initiation_payment_get_response.rb +16 -6
  245. data/lib/plaid/models/payment_initiation_payment_list_request.rb +1 -1
  246. data/lib/plaid/models/payment_initiation_payment_list_response.rb +1 -1
  247. data/lib/plaid/models/payment_initiation_payment_token_create_request.rb +1 -1
  248. data/lib/plaid/models/payment_initiation_payment_token_create_response.rb +1 -1
  249. data/lib/plaid/models/payment_initiation_recipient.rb +1 -1
  250. data/lib/plaid/models/payment_initiation_recipient_bacs.rb +1 -1
  251. data/lib/plaid/models/payment_initiation_recipient_create_request.rb +1 -1
  252. data/lib/plaid/models/payment_initiation_recipient_create_response.rb +1 -1
  253. data/lib/plaid/models/payment_initiation_recipient_get_request.rb +1 -1
  254. data/lib/plaid/models/payment_initiation_recipient_get_response.rb +1 -1
  255. data/lib/plaid/models/payment_initiation_recipient_list_request.rb +1 -1
  256. data/lib/plaid/models/payment_initiation_recipient_list_response.rb +1 -1
  257. data/lib/plaid/models/payment_meta.rb +1 -1
  258. data/lib/plaid/models/payment_status_update_webhook.rb +1 -1
  259. data/lib/plaid/models/paystub.rb +1 -1
  260. data/lib/plaid/models/paystub_deduction.rb +1 -1
  261. data/lib/plaid/models/paystub_ytd_details.rb +1 -1
  262. data/lib/plaid/models/pending_expiration_webhook.rb +1 -1
  263. data/lib/plaid/models/phone_number.rb +1 -1
  264. data/lib/plaid/models/processor_apex_processor_token_create_request.rb +1 -1
  265. data/lib/plaid/models/processor_auth_get_request.rb +1 -1
  266. data/lib/plaid/models/processor_auth_get_response.rb +1 -1
  267. data/lib/plaid/models/processor_balance_get_request.rb +1 -1
  268. data/lib/plaid/models/processor_balance_get_response.rb +1 -1
  269. data/lib/plaid/models/processor_identity_get_request.rb +1 -1
  270. data/lib/plaid/models/processor_identity_get_response.rb +1 -1
  271. data/lib/plaid/models/processor_number.rb +1 -1
  272. data/lib/plaid/models/processor_stripe_bank_account_token_create_request.rb +1 -1
  273. data/lib/plaid/models/processor_stripe_bank_account_token_create_response.rb +1 -1
  274. data/lib/plaid/models/processor_token_create_request.rb +2 -2
  275. data/lib/plaid/models/processor_token_create_response.rb +1 -1
  276. data/lib/plaid/models/product_status.rb +1 -1
  277. data/lib/plaid/models/product_status_breakdown.rb +1 -1
  278. data/lib/plaid/models/products.rb +2 -1
  279. data/lib/plaid/models/projected_income_summary_field_number.rb +1 -1
  280. data/lib/plaid/models/pslf_status.rb +1 -1
  281. data/lib/plaid/models/recaptcha_required_error.rb +1 -1
  282. data/lib/plaid/models/recipient_bacs.rb +1 -1
  283. data/lib/plaid/models/sandbox_bank_transfer_simulate_request.rb +1 -1
  284. data/lib/plaid/models/sandbox_bank_transfer_simulate_response.rb +1 -1
  285. data/lib/plaid/models/sandbox_item_fire_webhook_request.rb +1 -1
  286. data/lib/plaid/models/sandbox_item_fire_webhook_response.rb +1 -1
  287. data/lib/plaid/models/sandbox_item_reset_login_request.rb +1 -1
  288. data/lib/plaid/models/sandbox_item_reset_login_response.rb +1 -1
  289. data/lib/plaid/models/sandbox_item_set_verification_status_request.rb +1 -1
  290. data/lib/plaid/models/sandbox_item_set_verification_status_response.rb +1 -1
  291. data/lib/plaid/models/sandbox_processor_token_create_request.rb +1 -1
  292. data/lib/plaid/models/sandbox_processor_token_create_request_options.rb +1 -1
  293. data/lib/plaid/models/sandbox_processor_token_create_response.rb +1 -1
  294. data/lib/plaid/models/sandbox_public_token_create_request.rb +1 -1
  295. data/lib/plaid/models/sandbox_public_token_create_request_options.rb +1 -1
  296. data/lib/plaid/models/sandbox_public_token_create_request_options_transactions.rb +1 -1
  297. data/lib/plaid/models/sandbox_public_token_create_response.rb +1 -1
  298. data/lib/plaid/models/security.rb +1 -1
  299. data/lib/plaid/models/servicer_address_data.rb +2 -2
  300. data/lib/plaid/models/standalone_account_type.rb +1 -1
  301. data/lib/plaid/models/standalone_currency_code_list.rb +1 -1
  302. data/lib/plaid/models/standalone_investment_transaction_subtype.rb +1 -1
  303. data/lib/plaid/models/standalone_investment_transaction_type.rb +1 -1
  304. data/lib/plaid/models/student_loan.rb +1 -1
  305. data/lib/plaid/models/student_loan_repayment_model.rb +1 -1
  306. data/lib/plaid/models/student_loan_status.rb +1 -1
  307. data/lib/plaid/models/student_repayment_plan.rb +1 -1
  308. data/lib/plaid/models/transaction.rb +1 -1
  309. data/lib/plaid/models/transaction_code.rb +1 -1
  310. data/lib/plaid/models/transaction_data.rb +1 -1
  311. data/lib/plaid/models/transaction_override.rb +1 -1
  312. data/lib/plaid/models/transactions_get_request.rb +1 -1
  313. data/lib/plaid/models/transactions_get_request_options.rb +1 -1
  314. data/lib/plaid/models/transactions_get_response.rb +1 -1
  315. data/lib/plaid/models/transactions_refresh_request.rb +1 -1
  316. data/lib/plaid/models/transactions_refresh_response.rb +1 -1
  317. data/lib/plaid/models/transactions_removed_webhook.rb +1 -1
  318. data/lib/plaid/models/user_custom_password.rb +1 -1
  319. data/lib/plaid/models/user_permission_revoked_webhook.rb +1 -1
  320. data/lib/plaid/models/verification_expired_webhook.rb +1 -1
  321. data/lib/plaid/models/verification_status.rb +1 -1
  322. data/lib/plaid/models/warning.rb +1 -1
  323. data/lib/plaid/models/webhook_update_acknowledged_webhook.rb +1 -1
  324. data/lib/plaid/models/webhook_verification_key_get_request.rb +1 -1
  325. data/lib/plaid/models/webhook_verification_key_get_response.rb +1 -1
  326. data/lib/plaid/models/ytd_gross_income_summary_field_number.rb +1 -1
  327. data/lib/plaid/models/ytd_net_income_summary_field_number.rb +1 -1
  328. data/lib/plaid/version.rb +2 -2
  329. data/pkg/plaid-14.0.0.beta.2.gem +0 -0
  330. data/plaid.gemspec +1 -1
  331. data/test/test_investments.rb +5 -2
  332. data/test/test_transactions.rb +6 -3
  333. metadata +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 86640bde7bfc5e81b5f6f9e4b1403d76378a3ee0db181ad7befec94c8983da51
4
- data.tar.gz: 44e9c845451768a1b41fc42c9af012db268830e4a706f45aa9cfbd86eca9d766
3
+ metadata.gz: e8c05e8bb5cbfacc0902d2ba1e55caa9e598903400664b6e3af05194f9030f48
4
+ data.tar.gz: d91005c3e51594ffd83a0a018eeed137c4617cf34e19b6d213de72576f351925
5
5
  SHA512:
6
- metadata.gz: 5da27655620030af181fb044d7ff8ae471de723d8942879d92b19baeffb5de874d76f68e5724227c5bc56d3107d6e1ee15ae3a4c6ff3a2200d735c5e7485889f
7
- data.tar.gz: 3b7bea3cfd6715acd13fd2a614c936ff72b24986360306e38ac756328fdb21a23e4955d0894ddc06430cb1e69a2711966f1f9030edad047593d9c5300d1204f2
6
+ metadata.gz: 59a640409c54e4c585dff9597c99ee9cee2283d5b48299cc800e0e5572380e468d138553eb072523e209c21963850954f74d6310e77d58e153b2f50c8d2080f6
7
+ data.tar.gz: 7e951849c7ddc3da52f234959c7d598fe027445d1f7931e40f170937313993449b1247abef2abc27acbb1efbdfac246dc67e62b5cc68dbf6c5af4230da30f315
data/CONTRIBUTING.md CHANGED
@@ -1,37 +1,23 @@
1
- TODO: UPDATE THIS!
1
+ # Contributing
2
2
 
3
- ## Development
3
+ Instructions for contributing to [plaid-ruby][1]. A ruby client library for the [Plaid API][2]. This library is fully generated from the [Plaid OpenAPI spec](3).
4
4
 
5
- After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
5
+ ## Setup
6
6
 
7
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
7
+ 1. Run `make pull-openapi`.
8
+ 2. Install [Docker](https://docs.docker.com/desktop/) if you do not have it on your machine, this helps to isolate any dependency issues.
9
+ 3. Run `make build-openapi` after you have finished your Docker setup. This generates all the code necessary to run the library.
8
10
 
9
- ## Running tests
11
+ If you find an issue, please investigate whether it is a type problem with [OpenAPI](3) or a problem with the [ruby faraday](https://github.com/OpenAPITools/openapi-generator/blob/master/docs/generators/ruby.md) generator. Then open an issue and Plaid will investigate further.
10
12
 
11
- The gem test suite can be run in two modes. By default, it runs against the
12
- live sandbox environment, creating items on the fly and calling various API
13
- endpoints for them. For this to work you'll need real `client_id` and `secret`
14
- from your Plaid dashboard. Create a file named `.env` based on `.env.sample`
15
- which is provided:
13
+ ## Running Tests
16
14
 
17
- ```text
18
- PLAID_RUBY_CLIENT_ID=the_real_client_id
19
- PLAID_RUBY_SECRET=the_real_secret
20
- ```
21
- This file will be loaded during the tests.
15
+ 1. To build the docker image for the client tests, run `docker build -t plaid-ruby .`.
16
+ 2. Go to the [Plaid Dashboard](https://dashboard.plaid.com/) and copy and paste your `client_id` and sandbox `secret` into the following command.
17
+ 3. Run `docker run --rm -e PLAID_RUBY_CLIENT_ID=$CLIENT_ID -e PLAID_RUBY_SECRET=$SECRET plaid-ruby`.
22
18
 
23
- ## Contributing
19
+ If you wish to run a single test, edit the `Rakefile` and rebuild the docker image using the command from step 1.
24
20
 
25
- 1. Make one or more atomic commits, and ensure that each commit has a
26
- descriptive commit message. Commit messages should be line wrapped
27
- at 72 characters.
28
-
29
- 2. Make sure that there are tests for the code you wrote.
30
-
31
- 3. Make sure that you've documented all public methods using [TomDoc](http://tomdoc.org/).
32
-
33
- 4. Run tests (in both modes, see above) and address any errors. Preferably,
34
- fix commits in place using `git rebase` or `git commit --amend` to make the
35
- changes easier to review.
36
-
37
- 5. Open a pull request.
21
+ [1]: https://github.com/plaid/plaid-ruby
22
+ [2]: https://plaid.com
23
+ [3]: https://github.com/plaid/plaid-openapi
data/Dockerfile CHANGED
@@ -6,6 +6,7 @@ WORKDIR /usr/src/app
6
6
  # Copy app to directory
7
7
  COPY . /usr/src/app
8
8
 
9
+ RUN gem install bundler:2.2.9
9
10
  RUN bundle install
10
11
 
11
12
  CMD ["bundle", "exec", "rake", "test"]
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- plaid (14.0.0.beta.1)
4
+ plaid (14.0.0.beta.2)
5
5
  faraday (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
data/Makefile ADDED
@@ -0,0 +1,21 @@
1
+ CURRENT_DIR:=$(shell pwd)
2
+ OPENAPI_FILE:=2020-09-14.yml
3
+ # Theres a bug in 5.0.1 for ruby generation. https://github.com/OpenAPITools/openapi-generator/issues/8677
4
+ OPENAPI_GENERATOR_5:=docker run --rm -v $(CURRENT_DIR):/local openapitools/openapi-generator-cli:v5.0.0 generate
5
+ OPENAPI_VERSION:=1.5.0-beta
6
+ # Ruby embeds the version in the generator where as others dont os its not possible to cat for it.
7
+ RUBY_PACKAGE_VERSION="14.0.0.beta.2"
8
+
9
+ .PHONY: pull-openapi
10
+ pull-openapi:
11
+ curl https://raw.githubusercontent.com/plaid/plaid-openapi/$(OPENAPI_VERSION)/$(OPENAPI_FILE) --output $(CURRENT_DIR)/$(OPENAPI_FILE)
12
+
13
+ .PHONY: build-openapi
14
+ build-openapi:
15
+ $(OPENAPI_GENERATOR_5) -g ruby \
16
+ -i local/$(OPENAPI_FILE) \
17
+ -o local/ \
18
+ --global-property=apiTests=false,modelTests=false \
19
+ --library=faraday \
20
+ -p gemName=plaid,gemRequiredRubyVersion=">= 2.7.1",gemVersion=$(RUBY_PACKAGE_VERSION) \
21
+ -t local/templates/ruby
data/PUBLISH.md CHANGED
@@ -4,16 +4,17 @@ The module is published to [RubyGems][1] under the gem name [plaid][2].
4
4
 
5
5
  Prepare release:
6
6
 
7
- 1. update `lib/plaid/version.rb`, and `CHANGELOG.md` files.
8
- 2. run `bundle` to bump the version in `Gemfile.lock`
9
- 3. create and merge a PR with the changes from 1 and 2.
10
- 4. authenticate with rubygems with `gem signin` or manually set up your `~/.gem/credentials`
7
+ 1. Update `Makefile -> RUBY_PACKAGE_VERSION`, and `CHANGELOG.md` files.
8
+ 2. Run `bundle` to bump the version in `Gemfile.lock`.
9
+ 3. Create and merge a PR with the changes from 1 and 2.
10
+ 4. Authenticate with rubygems with `gem signin` or manually set up your `~/.gem/credentials`.
11
11
 
12
12
  Publish:
13
13
 
14
14
  1. `git checkout master` and `git pull` (makes sure your `HEAD` is up-to-date).
15
- 2. Check that tests are passing on latest `master` build and (optional) `bundle exec rake test` to run tests locally
16
- 3. `bundle exec rake release` (builds the gem, creates a tag, pushes the gem to RubyGems and tag to GitHub). **NOTE:** if this step hangs indefinitely, you need to set your MFA settings to "UI Only" [here](https://rubygems.org/profile/edit)
15
+ 2. Run `make pull-openapi` and `make build-openapi`.
16
+ 3. Check that tests are passing on latest `master` build and (optional) `docker build -t plaid-ruby . && docker run -e PLAID_RUBY_CLIENT_ID=$(CLIENT_ID) -e PLAID_RUBY_SECRET=$(SECRET) plaid-ruby)` run tests locally.
17
+ 4. `bundle exec rake release` (builds the gem, creates a tag, pushes the gem to RubyGems and tag to GitHub). **NOTE:** if this step hangs indefinitely, you need to set your MFA settings to "UI Only" [here](https://rubygems.org/profile/edit).
17
18
 
18
19
  [1]: https://rubygems.org/
19
20
  [2]: https://rubygems.org/gems/plaid
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **available** | **Float** | The amount of funds available to be withdrawn from the account, as determined by the financial institution. For `credit`-type accounts, the `available` balance typically equals the `limit` less the `current` balance, less any pending outflows plus any pending inflows. For `depository`-type accounts, the `available` balance typically equals the `current` balance less any pending outflows plus any pending inflows. For `depository`-type accounts, the `available` balance does not include the overdraft limit. For `investment`-type accounts, the `available` balance is the total cash available to withdraw as presented by the institution. Note that not all institutions calculate the `available` balance. In the event that `available` balance is unavailable, Plaid will return an `available` balance value of `null`. Available balance may be cached and is not guaranteed to be up-to-date in realtime unless the value was returned by `/accounts/balance/get`. | [optional] |
8
- | **current** | **Float** | The total amount of funds in or owed by the account. For `credit`-type accounts, a positive balance indicates the amount owed; a negative amount indicates the lender owing the account holder. For `loan`-type accounts, the current balance is the principal remaining on the loan. For `investment`-type accounts, the current balance is the total value of assets as presented by the institution. Note that balance information may be cached unless the value was returned by `/accounts/balance/get`, and current balance information is typically not updated intra-day. If you require realtime balance information, use the `available` balance as provided by `/accounts/balance/get`. | |
8
+ | **current** | **Float** | The total amount of funds in or owed by the account. For `credit`-type accounts, a positive balance indicates the amount owed; a negative amount indicates the lender owing the account holder. For `loan`-type accounts, the current balance is the principal remaining on the loan, except in the case of student loan accounts at Sallie Mae (`ins_116944`). For Sallie Mae student loans, the account's balance includes both principal and any outstanding interest. For `investment`-type accounts, the current balance is the total value of assets as presented by the institution. Note that balance information may be cached unless the value was returned by `/accounts/balance/get`, and current balance information is typically not updated intra-day. If you require realtime balance information, use the `available` balance as provided by `/accounts/balance/get`. | |
9
9
  | **limit** | **Float** | For `credit`-type accounts, this represents the credit limit. For `depository`-type accounts, this represents the pre-arranged overdraft limit, which is common for current (checking) accounts in Europe. In North America, this field is typically only available for `credit`-type accounts. | [optional] |
10
10
  | **iso_currency_code** | **String** | The ISO-4217 currency code of the balance. Always null if `unofficial_currency_code` is non-null. | [optional] |
11
11
  | **unofficial_currency_code** | **String** | The unofficial currency code associated with the balance. Always null if `iso_currency_code` is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. See the [currency code schema](/docs/api/accounts#currency-code-schema) for a full listing of supported `unofficial_currency_code`s. | [optional] |
@@ -8,11 +8,11 @@
8
8
  | **secret** | **String** | Your Plaid API `secret`. | [optional] |
9
9
  | **client_name** | **String** | The name of your application, as it should be displayed in Link. | |
10
10
  | **language** | **String** | The language that Link should be displayed in. Supported languages are: - English (`'en'`) - French (`'fr'`) - Spanish (`'es'`) - Dutch (`'nl'`) When using a Link customization, the language configured here must match the setting in the customization, or the customization will not be applied. | |
11
- | **country_codes** | [**Array<CountryCode>**](CountryCode.md) | Specify an array of Plaid-supported country codes using the ISO-3166-1 alpha-2 country code standard. Note that if you initialize with a European country code, your users will see the European consent panel during the Link flow. Supported country codes are: `US`, `CA`, `ES`, `FR`, `GB`, `IE`, `NL`. Example value: `['US', 'CA']`. If Link is launched with multiple country codes, only products that you are enabled for in all countries will be used by Link. If using a Link customization, make sure the country codes in the customization match those specified in `country_codes`. If both `country_codes` and a Link customization are used, the value in `country_codes` may override the value in the customization. If using the optional Auth features Instant Match, Same-day Micro-deposits, or Automated Micro-deposits, `country_codes` must be set to `['US']`. | |
11
+ | **country_codes** | [**Array<CountryCode>**](CountryCode.md) | Specify an array of Plaid-supported country codes using the ISO-3166-1 alpha-2 country code standard. Institutions from all listed countries will be shown. Supported country codes are: `US`, `CA`, `ES`, `FR`, `GB`, `IE`, `NL`. Example value: `['US', 'CA']`. If Link is launched with multiple country codes, only products that you are enabled for in all countries will be used by Link. Note that while all countries are enabled by default in Sandbox and Development, in Production only US and Canada are enabled by default. To gain access to European institutions in the Production environment, [file a product access Support ticket](https://dashboard.plaid.com/support/new/product-and-development/product-troubleshooting/request-product-access) via the Plaid dashboard. If you initialize with a European country code, your users will see the European consent panel during the Link flow. If using a Link customization, make sure the country codes in the customization match those specified in `country_codes`. If both `country_codes` and a Link customization are used, the value in `country_codes` may override the value in the customization. If using the Auth features Instant Match, Same-day Micro-deposits, or Automated Micro-deposits, `country_codes` must be set to `['US']`. | |
12
12
  | **user** | [**LinkTokenCreateRequestUser**](LinkTokenCreateRequestUser.md) | | |
13
- | **products** | [**Array<Products>**](Products.md) | List of Plaid product(s) you wish to use. If launching Link in update mode, should be omitted; required otherwise. Valid products are: `transactions`, `auth`, `identity`, `assets`, `investments`, `liabilities`, `payment_initiation`, `deposit_switch` Example: `['auth', 'transactions']` `balance` is *not* a valid value, the Balance product does not require explicit initialization and will automatically be initialized when any other product is initialized. Only institutions that support *all* requested products will be shown in Link. In Production, you will be billed for each product that you specify when initializing Link. Note that a product cannot be removed from an Item once the Item has been initialized with that product. To stop billing on an Item for subscription-based products, such as Liabilities, Investments, and Transactions, remove the Item via `/item/remove`. | [optional] |
13
+ | **products** | [**Array<Products>**](Products.md) | List of Plaid product(s) you wish to use. If launching Link in update mode, should be omitted; required otherwise. Valid products are: `transactions`, `auth`, `identity`, `assets`, `investments`, `liabilities`, `payment_initiation`, `deposit_switch` Example: `['auth', 'transactions']` `balance` is *not* a valid value, the Balance product does not require explicit initalization and will automatically be initialized when any other product is initialized. Only institutions that support *all* requested products will be shown in Link; to maximize the number of institutions listed, it is recommended to initialize Link with the minimal product set required for your use case. Additional products can be added after Link initialization by calling the relevant endpoints. For details and exceptions, see [Choosing when to initialize products](/docs/link/best-practices/#choosing-when-to-initialize-products). In Production, you will be billed for each product that you specify when initializing Link. Note that a product cannot be removed from an Item once the Item has been initialized with that product. To stop billing on an Item for subscription-based products, such as Liabilities, Investments, and Transactions, remove the Item via `/item/remove`. | [optional] |
14
14
  | **webhook** | **String** | The destination URL to which any webhooks should be sent. | [optional] |
15
- | **access_token** | **String** | The `access_token` associated with the Item to update, used when updating or modifying an existing `access_token`. Used when launching Link in update mode or (optionally) when initializing Link as part of the Payment Initiation (Europe) flow. | [optional] |
15
+ | **access_token** | **String** | The `access_token` associated with the Item to update, used when updating or modifying an existing `access_token`. Used when launching Link in update mode, when completing the Same-day (manual) Micro-deposit flow, or (optionally) when initializing Link as part of the Payment Initiation (UK and Europe) flow. | [optional] |
16
16
  | **link_customization_name** | **String** | The name of the Link customization from the Plaid Dashboard to be applied to Link. If not specified, the `default` customization will be used. When using a Link customization, the language in the customization must match the language selected via the `language` parameter, and the countries in the customization should match the country codes selected via `country_codes`. | [optional] |
17
17
  | **redirect_uri** | **String** | A URI indicating the destination where a user should be forwarded after completing the Link flow; used to support OAuth authentication flows when launching Link in the browser or via a webview. The `redirect_uri` should not contain any query parameters. If `android_package_name` is specified, this field should be left blank. Any redirect URI specified here must also be added under the \"Allowed redirect URIs\" configuration on the [developer dashboard](https://dashboard.plaid.com/team/api). In non-Sandbox (Production and Development) environments, the `redirect_uri` must begin with https. | [optional] |
18
18
  | **android_package_name** | **String** | The name of your app's Android package. Required if using the `link_token` to initialize Link on Android. When creating a `link_token` for initializing Link on other platforms, this field must be left blank. Any package name specified here must also be added to the Allowed Android package names setting on the [developer dashboard](https://dashboard.plaid.com/team/api). | [optional] |
@@ -13,7 +13,7 @@
13
13
  | **interest_rate** | [**MortgageInterestRate**](MortgageInterestRate.md) | | [optional] |
14
14
  | **last_payment_amount** | **Float** | The amount of the last payment. | [optional] |
15
15
  | **last_payment_date** | **String** | The date of the last payment. Dates are returned in an ISO 8601 format (YYYY-MM-DD). | [optional] |
16
- | **loan_type_description** | **String** | Type of mortgage (i.e. `conventional`, `fixed`, `variable`). | [optional] |
16
+ | **loan_type_description** | **String** | Description of the type of loan, for example `conventional`, `fixed`, or `variable`. This field is provided directly from the loan servicer and does not have an enumerated set of possible values. | [optional] |
17
17
  | **loan_term** | **String** | Full duration of mortgage as at origination (e.g. `10 year`). | [optional] |
18
18
  | **maturity_date** | **String** | Original date on which mortgage is due in full. Dates are returned in an ISO 8601 format (YYYY-MM-DD). | [optional] |
19
19
  | **next_monthly_payment** | **Float** | The amount of the next payment. | [optional] |
@@ -12,6 +12,7 @@
12
12
  | **reference** | **String** | A reference for the payment. | |
13
13
  | **last_status_update** | **String** | The date and time of the last time the `status` was updated, in IS0 8601 format | |
14
14
  | **schedule** | [**ExternalPaymentSchedule**](ExternalPaymentSchedule.md) | | [optional] |
15
+ | **adjusted_reference** | **String** | | [optional] |
15
16
 
16
17
  ## Example
17
18
 
@@ -26,7 +27,8 @@ instance = Plaid::PaymentInitiationPaymentGetResponse.new(
26
27
  recipient_id: null,
27
28
  reference: null,
28
29
  last_status_update: null,
29
- schedule: null
30
+ schedule: null,
31
+ adjusted_reference: null
30
32
  )
31
33
  ```
32
34
 
data/docs/PlaidApi.md CHANGED
@@ -3556,7 +3556,7 @@ end
3556
3556
 
3557
3557
  Retrieve Liabilities data
3558
3558
 
3559
- The `/liabilities/get` endpoint returns various details about an Item with loan or credit accounts. Liabilities is supported for US and Canada accounts only. Currently supported account types are account type `credit` with account subtype `credit card` or `paypal`, and account type `loan` with account subtype `student` or `mortgage`. To limit accounts listed in Link to types and subtypes supported by Liabilities, you can use the `account_filter` parameter when [creating a Link token](/docs/api/tokens/#linktokencreate). The types of information returned by Liabilities can include balances and due dates, loan terms, and account details such as original loan amount and guarantor. Data is refreshed approximately once per day; the latest data can be retrieved by calling `/liabilities/get`. Note: This request may take some time to complete if `liabilities` was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the additional data.
3559
+ The `/liabilities/get` endpoint returns various details about an Item with loan or credit accounts. Liabilities data is available primarily for US financial institutions, with some limited coverage of Canadian institutions. Currently supported account types are account type `credit` with account subtype `credit card` or `paypal`, and account type `loan` with account subtype `student` or `mortgage`. To limit accounts listed in Link to types and subtypes supported by Liabilities, you can use the `account_filter` parameter when [creating a Link token](/docs/api/tokens/#linktokencreate). The types of information returned by Liabilities can include balances and due dates, loan terms, and account details such as original loan amount and guarantor. Data is refreshed approximately once per day; the latest data can be retrieved by calling `/liabilities/get`. Note: This request may take some time to complete if `liabilities` was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the additional data.
3560
3560
 
3561
3561
  ### Examples
3562
3562
 
@@ -8,7 +8,7 @@
8
8
  | **secret** | **String** | Your Plaid API `secret`. | [optional] |
9
9
  | **access_token** | **String** | The access token associated with the Item data is being requested for. | |
10
10
  | **account_id** | **String** | The `account_id` value obtained from the `onSuccess` callback in Link | |
11
- | **processor** | **String** | The processor you are integrating with. Valid values are `\"achq\"`, `\"checkbook\"`, `\"circle\"`, `\"drivewealth\"`, `\"dwolla\"`, `\"galileo\"`, \"`interactive_brokers`\", `\"modern_treasury\"`, `\"ocrolus\"`, `\"prime_trust\"`, `\"velox\"`, `\"vesta\"`, `\"vopay\"` | |
11
+ | **processor** | **String** | The processor you are integrating with. Valid values are `\"achq\"`, `\"check\"`, `\"checkbook\"`, `\"circle\"`, `\"drivewealth\"`, `\"dwolla\"`, `\"galileo\"`, \"`interactive_brokers`\", `\"modern_treasury\"`, `\"ocrolus\"`, `\"prime_trust\"`, `\"rize\"`, `\"sila_money\"`, `\"unit\"`, `\"velox\"`, `\"vesta\"`, `\"vopay\"`, `\"wyre\"` | |
12
12
 
13
13
  ## Example
14
14
 
data/lib/plaid.rb CHANGED
@@ -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.5.0
6
+ The version of the OpenAPI document: 2020-09-14_1.5.3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.0
@@ -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.5.0
6
+ The version of the OpenAPI document: 2020-09-14_1.5.3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.0
@@ -2795,7 +2795,7 @@ module Plaid
2795
2795
  end
2796
2796
 
2797
2797
  # Retrieve Liabilities data
2798
- # The `/liabilities/get` endpoint returns various details about an Item with loan or credit accounts. Liabilities is supported for US and Canada accounts only. Currently supported account types are account type `credit` with account subtype `credit card` or `paypal`, and account type `loan` with account subtype `student` or `mortgage`. To limit accounts listed in Link to types and subtypes supported by Liabilities, you can use the `account_filter` parameter when [creating a Link token](/docs/api/tokens/#linktokencreate). The types of information returned by Liabilities can include balances and due dates, loan terms, and account details such as original loan amount and guarantor. Data is refreshed approximately once per day; the latest data can be retrieved by calling `/liabilities/get`. Note: This request may take some time to complete if `liabilities` was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the additional data.
2798
+ # The `/liabilities/get` endpoint returns various details about an Item with loan or credit accounts. Liabilities data is available primarily for US financial institutions, with some limited coverage of Canadian institutions. Currently supported account types are account type `credit` with account subtype `credit card` or `paypal`, and account type `loan` with account subtype `student` or `mortgage`. To limit accounts listed in Link to types and subtypes supported by Liabilities, you can use the `account_filter` parameter when [creating a Link token](/docs/api/tokens/#linktokencreate). The types of information returned by Liabilities can include balances and due dates, loan terms, and account details such as original loan amount and guarantor. Data is refreshed approximately once per day; the latest data can be retrieved by calling `/liabilities/get`. Note: This request may take some time to complete if `liabilities` was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the additional data.
2799
2799
  # @param liabilities_get_request [LiabilitiesGetRequest]
2800
2800
  # @param [Hash] opts the optional parameters
2801
2801
  # @return [LiabilitiesGetResponse]
@@ -2805,7 +2805,7 @@ module Plaid
2805
2805
  end
2806
2806
 
2807
2807
  # Retrieve Liabilities data
2808
- # The `/liabilities/get` endpoint returns various details about an Item with loan or credit accounts. Liabilities is supported for US and Canada accounts only. Currently supported account types are account type `credit` with account subtype `credit card` or `paypal`, and account type `loan` with account subtype `student` or `mortgage`. To limit accounts listed in Link to types and subtypes supported by Liabilities, you can use the `account_filter` parameter when [creating a Link token](/docs/api/tokens/#linktokencreate). The types of information returned by Liabilities can include balances and due dates, loan terms, and account details such as original loan amount and guarantor. Data is refreshed approximately once per day; the latest data can be retrieved by calling `/liabilities/get`. Note: This request may take some time to complete if `liabilities` was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the additional data.
2808
+ # The `/liabilities/get` endpoint returns various details about an Item with loan or credit accounts. Liabilities data is available primarily for US financial institutions, with some limited coverage of Canadian institutions. Currently supported account types are account type `credit` with account subtype `credit card` or `paypal`, and account type `loan` with account subtype `student` or `mortgage`. To limit accounts listed in Link to types and subtypes supported by Liabilities, you can use the `account_filter` parameter when [creating a Link token](/docs/api/tokens/#linktokencreate). The types of information returned by Liabilities can include balances and due dates, loan terms, and account details such as original loan amount and guarantor. Data is refreshed approximately once per day; the latest data can be retrieved by calling `/liabilities/get`. Note: This request may take some time to complete if `liabilities` was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the additional data.
2809
2809
  # @param liabilities_get_request [LiabilitiesGetRequest]
2810
2810
  # @param [Hash] opts the optional parameters
2811
2811
  # @return [Array<(LiabilitiesGetResponse, Integer, Hash)>] LiabilitiesGetResponse data, response status code and response headers
@@ -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.5.0
6
+ The version of the OpenAPI document: 2020-09-14_1.5.3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.0
@@ -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.5.0
6
+ The version of the OpenAPI document: 2020-09-14_1.5.3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.0
@@ -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.5.0
6
+ The version of the OpenAPI document: 2020-09-14_1.5.3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.0
@@ -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.5.0
6
+ The version of the OpenAPI document: 2020-09-14_1.5.3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.0
@@ -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.5.0
6
+ The version of the OpenAPI document: 2020-09-14_1.5.3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.0
@@ -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.5.0
6
+ The version of the OpenAPI document: 2020-09-14_1.5.3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.0
@@ -19,7 +19,7 @@ module Plaid
19
19
  # The amount of funds available to be withdrawn from the account, as determined by the financial institution. For `credit`-type accounts, the `available` balance typically equals the `limit` less the `current` balance, less any pending outflows plus any pending inflows. For `depository`-type accounts, the `available` balance typically equals the `current` balance less any pending outflows plus any pending inflows. For `depository`-type accounts, the `available` balance does not include the overdraft limit. For `investment`-type accounts, the `available` balance is the total cash available to withdraw as presented by the institution. Note that not all institutions calculate the `available` balance. In the event that `available` balance is unavailable, Plaid will return an `available` balance value of `null`. Available balance may be cached and is not guaranteed to be up-to-date in realtime unless the value was returned by `/accounts/balance/get`.
20
20
  attr_accessor :available
21
21
 
22
- # The total amount of funds in or owed by the account. For `credit`-type accounts, a positive balance indicates the amount owed; a negative amount indicates the lender owing the account holder. For `loan`-type accounts, the current balance is the principal remaining on the loan. For `investment`-type accounts, the current balance is the total value of assets as presented by the institution. Note that balance information may be cached unless the value was returned by `/accounts/balance/get`, and current balance information is typically not updated intra-day. If you require realtime balance information, use the `available` balance as provided by `/accounts/balance/get`.
22
+ # The total amount of funds in or owed by the account. For `credit`-type accounts, a positive balance indicates the amount owed; a negative amount indicates the lender owing the account holder. For `loan`-type accounts, the current balance is the principal remaining on the loan, except in the case of student loan accounts at Sallie Mae (`ins_116944`). For Sallie Mae student loans, the account's balance includes both principal and any outstanding interest. For `investment`-type accounts, the current balance is the total value of assets as presented by the institution. Note that balance information may be cached unless the value was returned by `/accounts/balance/get`, and current balance information is typically not updated intra-day. If you require realtime balance information, use the `available` balance as provided by `/accounts/balance/get`.
23
23
  attr_accessor :current
24
24
 
25
25
  # For `credit`-type accounts, this represents the credit limit. For `depository`-type accounts, this represents the pre-arranged overdraft limit, which is common for current (checking) accounts in Europe. In North America, this field is typically only available for `credit`-type accounts.
@@ -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.5.0
6
+ The version of the OpenAPI document: 2020-09-14_1.5.3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.0
@@ -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.5.0
6
+ The version of the OpenAPI document: 2020-09-14_1.5.3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.0
@@ -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.5.0
6
+ The version of the OpenAPI document: 2020-09-14_1.5.3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.0
@@ -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.5.0
6
+ The version of the OpenAPI document: 2020-09-14_1.5.3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.0
@@ -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.5.0
6
+ The version of the OpenAPI document: 2020-09-14_1.5.3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.0
@@ -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.5.0
6
+ The version of the OpenAPI document: 2020-09-14_1.5.3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.0
@@ -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.5.0
6
+ The version of the OpenAPI document: 2020-09-14_1.5.3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.0
@@ -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.5.0
6
+ The version of the OpenAPI document: 2020-09-14_1.5.3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.0
@@ -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.5.0
6
+ The version of the OpenAPI document: 2020-09-14_1.5.3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.0
@@ -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.5.0
6
+ The version of the OpenAPI document: 2020-09-14_1.5.3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.0
@@ -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.5.0
6
+ The version of the OpenAPI document: 2020-09-14_1.5.3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.0
@@ -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.5.0
6
+ The version of the OpenAPI document: 2020-09-14_1.5.3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.0
@@ -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.5.0
6
+ The version of the OpenAPI document: 2020-09-14_1.5.3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.0