fuse_client 1.0.31 → 1.0.33

Sign up to get free protection for your applications and to get access to all the features.
Files changed (307) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +7 -8
  3. data/README.md +4 -1
  4. data/docs/AddSpendPowerTransactionRequest.md +22 -0
  5. data/docs/AddSpendPowerTransactionResponse.md +20 -0
  6. data/docs/AssetReport.md +26 -0
  7. data/docs/AssetReportAccountsInner.md +24 -0
  8. data/docs/{GetAssetReportResponseReportAccountsInnerBalances.md → AssetReportAccountsInnerBalance.md} +2 -2
  9. data/docs/{GetAssetReportResponseReportAccountsInnerHistoricalBalancesInner.md → AssetReportAccountsInnerHistoricalBalancesInner.md} +2 -2
  10. data/docs/{GetAssetReportResponse.md → AssetReportResponse.md} +3 -3
  11. data/docs/AssetReportTransaction.md +36 -0
  12. data/docs/CreateAssetReportRequest.md +2 -4
  13. data/docs/CreateAssetReportResponse.md +2 -2
  14. data/docs/CreateLinkTokenRequest.md +6 -2
  15. data/docs/CreateLinkTokenRequestPlaid.md +1 -1
  16. data/docs/CreateLinkTokenRequestTeller.md +18 -0
  17. data/docs/CreateLinkTokenRequestTellerConfig.md +18 -0
  18. data/docs/CreateSessionRequest.md +4 -4
  19. data/docs/CreateSpendPowerCustomizationResponse.md +20 -0
  20. data/docs/CreateSpendPowerRequest.md +22 -0
  21. data/docs/CreateSpendPowerResponse.md +20 -0
  22. data/docs/DeleteSpendPowerResponse.md +20 -0
  23. data/docs/Entity.md +1 -1
  24. data/docs/ExchangeFinancialConnectionsPublicTokenRequest.md +1 -1
  25. data/docs/ExchangeFinancialConnectionsPublicTokenResponse.md +2 -2
  26. data/docs/FinancialConnectionsAccountBalance.md +1 -1
  27. data/docs/FinancialConnectionsAccountCachedBalance.md +1 -1
  28. data/docs/FinancialConnectionsInvestmentSecurity.md +2 -2
  29. data/docs/FinancialConnectionsInvestmentSecurityType.md +15 -0
  30. data/docs/FinancialConnectionsInvestmentTransaction.md +2 -0
  31. data/docs/FuseApi.md +484 -18
  32. data/docs/FuseApiAggregatorError.md +28 -0
  33. data/docs/FuseApiError.md +7 -5
  34. data/docs/FuseApiErrorCode.md +15 -0
  35. data/docs/FuseApiErrorData.md +1 -1
  36. data/docs/FuseApiErrorType.md +15 -0
  37. data/docs/GetAssetReportRequest.md +2 -0
  38. data/docs/GetFinancialConnectionsAccountStatementRequest.md +22 -0
  39. data/docs/GetFinancialConnectionsAccountStatementResponse.md +20 -0
  40. data/docs/GetInvestmentTransactionsResponse.md +2 -0
  41. data/docs/GetSpendPowerResponse.md +20 -0
  42. data/docs/MigrateFinancialConnectionsAggregatorConnectionData.md +3 -1
  43. data/docs/MigrateFinancialConnectionsAggregatorConnectionDataPlaid.md +3 -1
  44. data/docs/MigrateFinancialConnectionsAggregatorConnectionDataTeller.md +18 -0
  45. data/docs/MigrateFinancialConnectionsTokenRequest.md +1 -1
  46. data/docs/RefreshAssetReportRequest.md +5 -5
  47. data/docs/RefreshAssetReportResponse.md +22 -0
  48. data/docs/SpendPower.md +30 -0
  49. data/docs/SpendPowerApi.md +122 -0
  50. data/docs/SpendPowerCustomization.md +22 -0
  51. data/docs/Transaction.md +2 -2
  52. data/docs/UpdateSpendPowerCustomizationResponse.md +20 -0
  53. data/docs/WebhookEvent.md +6 -0
  54. data/fuse_client.gemspec +1 -1
  55. data/lib/fuse_client/api/fuse_api.rb +385 -16
  56. data/lib/fuse_client/api/spend_power_api.rb +146 -0
  57. data/lib/fuse_client/api_client.rb +1 -1
  58. data/lib/fuse_client/api_error.rb +1 -1
  59. data/lib/fuse_client/configuration.rb +51 -4
  60. data/lib/fuse_client/models/account_subtype.rb +1 -1
  61. data/lib/fuse_client/models/account_type.rb +3 -2
  62. data/lib/fuse_client/models/add_spend_power_transaction_request.rb +284 -0
  63. data/lib/fuse_client/models/add_spend_power_transaction_response.rb +240 -0
  64. data/lib/fuse_client/models/aggregator.rb +4 -2
  65. data/lib/fuse_client/models/{get_asset_report_response_report.rb → asset_report.rb} +15 -27
  66. data/lib/fuse_client/models/{get_asset_report_response_report_accounts_inner.rb → asset_report_accounts_inner.rb} +27 -26
  67. data/lib/fuse_client/models/{get_asset_report_response_report_accounts_inner_balances.rb → asset_report_accounts_inner_balance.rb} +4 -4
  68. data/lib/fuse_client/models/{get_asset_report_response_report_accounts_inner_historical_balances_inner.rb → asset_report_accounts_inner_historical_balances_inner.rb} +4 -4
  69. data/lib/fuse_client/models/{get_asset_report_response.rb → asset_report_response.rb} +5 -5
  70. data/lib/fuse_client/models/asset_report_transaction.rb +385 -0
  71. data/lib/fuse_client/models/country_code.rb +1 -1
  72. data/lib/fuse_client/models/create_asset_report_request.rb +11 -23
  73. data/lib/fuse_client/models/create_asset_report_response.rb +3 -3
  74. data/lib/fuse_client/models/create_entity_request.rb +1 -1
  75. data/lib/fuse_client/models/create_entity_response.rb +1 -1
  76. data/lib/fuse_client/models/create_link_token_request.rb +25 -6
  77. data/lib/fuse_client/models/create_link_token_request_mx.rb +1 -1
  78. data/lib/fuse_client/models/create_link_token_request_plaid.rb +2 -2
  79. data/lib/fuse_client/models/create_link_token_request_teller.rb +220 -0
  80. data/lib/fuse_client/models/create_link_token_request_teller_config.rb +254 -0
  81. data/lib/fuse_client/models/create_link_token_response.rb +1 -1
  82. data/lib/fuse_client/models/create_session_request.rb +31 -8
  83. data/lib/fuse_client/models/create_session_response.rb +1 -1
  84. data/lib/fuse_client/models/create_spend_power_customization_response.rb +240 -0
  85. data/lib/fuse_client/models/create_spend_power_request.rb +255 -0
  86. data/lib/fuse_client/models/create_spend_power_response.rb +240 -0
  87. data/lib/fuse_client/models/currency.rb +1 -1
  88. data/lib/fuse_client/models/delete_financial_connection_response.rb +1 -1
  89. data/lib/fuse_client/models/delete_spend_power_response.rb +239 -0
  90. data/lib/fuse_client/models/entity.rb +2 -2
  91. data/lib/fuse_client/models/exchange_financial_connections_public_token_request.rb +6 -1
  92. data/lib/fuse_client/models/exchange_financial_connections_public_token_response.rb +3 -3
  93. data/lib/fuse_client/models/financial_connection_data.rb +1 -1
  94. data/lib/fuse_client/models/financial_connection_details.rb +1 -1
  95. data/lib/fuse_client/models/financial_connection_details_mx.rb +1 -1
  96. data/lib/fuse_client/models/financial_connection_details_plaid.rb +1 -1
  97. data/lib/fuse_client/models/financial_connection_details_teller.rb +1 -1
  98. data/lib/fuse_client/models/financial_connections_account.rb +1 -1
  99. data/lib/fuse_client/models/financial_connections_account_balance.rb +2 -2
  100. data/lib/fuse_client/models/financial_connections_account_cached_balance.rb +2 -2
  101. data/lib/fuse_client/models/financial_connections_account_details.rb +1 -1
  102. data/lib/fuse_client/models/financial_connections_account_details_ach.rb +1 -1
  103. data/lib/fuse_client/models/financial_connections_account_institution.rb +1 -1
  104. data/lib/fuse_client/models/financial_connections_account_liability.rb +1 -1
  105. data/lib/fuse_client/models/financial_connections_account_liability_all_of.rb +1 -1
  106. data/lib/fuse_client/models/financial_connections_account_liability_all_of_aprs.rb +1 -1
  107. data/lib/fuse_client/models/financial_connections_holding.rb +1 -1
  108. data/lib/fuse_client/models/financial_connections_investment_security.rb +24 -8
  109. data/lib/fuse_client/models/financial_connections_investment_security_exchange.rb +1 -1
  110. data/lib/fuse_client/models/financial_connections_investment_security_type.rb +64 -0
  111. data/lib/fuse_client/models/financial_connections_investment_transaction.rb +50 -2
  112. data/lib/fuse_client/models/financial_connections_owner.rb +1 -1
  113. data/lib/fuse_client/models/financial_connections_owner_addresses_inner.rb +1 -1
  114. data/lib/fuse_client/models/financial_connections_owner_addresses_inner_data.rb +1 -1
  115. data/lib/fuse_client/models/financial_connections_owner_emails_inner.rb +1 -1
  116. data/lib/fuse_client/models/financial_connections_owner_names_inner.rb +1 -1
  117. data/lib/fuse_client/models/financial_connections_owner_phone_numbers_inner.rb +1 -1
  118. data/lib/fuse_client/models/financial_institution.rb +1 -1
  119. data/lib/fuse_client/models/financial_institution_logo.rb +1 -1
  120. data/lib/fuse_client/models/fuse_api_aggregator_error.rb +264 -0
  121. data/lib/fuse_client/models/fuse_api_error.rb +43 -28
  122. data/lib/fuse_client/models/fuse_api_error_code.rb +76 -0
  123. data/lib/fuse_client/models/fuse_api_error_data.rb +2 -2
  124. data/lib/fuse_client/models/fuse_api_error_type.rb +42 -0
  125. data/lib/fuse_client/models/fuse_api_warning.rb +1 -1
  126. data/lib/fuse_client/models/fuse_api_warning_data.rb +1 -1
  127. data/lib/fuse_client/models/fuse_api_warning_data_warnings_inner.rb +1 -1
  128. data/lib/fuse_client/models/get_asset_report_request.rb +17 -2
  129. data/lib/fuse_client/models/get_entity_response.rb +1 -1
  130. data/lib/fuse_client/models/get_financial_connection_response.rb +1 -1
  131. data/lib/fuse_client/models/get_financial_connections_account_details_request.rb +1 -1
  132. data/lib/fuse_client/models/get_financial_connections_account_details_response.rb +1 -1
  133. data/lib/fuse_client/models/get_financial_connections_account_statement_request.rb +250 -0
  134. data/lib/fuse_client/models/get_financial_connections_account_statement_response.rb +240 -0
  135. data/lib/fuse_client/models/get_financial_connections_accounts_request.rb +1 -1
  136. data/lib/fuse_client/models/get_financial_connections_accounts_response.rb +1 -1
  137. data/lib/fuse_client/models/get_financial_connections_balance_request.rb +1 -1
  138. data/lib/fuse_client/models/get_financial_connections_balance_request_options.rb +1 -1
  139. data/lib/fuse_client/models/get_financial_connections_balance_response.rb +1 -1
  140. data/lib/fuse_client/models/get_financial_connections_owners_request.rb +1 -1
  141. data/lib/fuse_client/models/get_financial_connections_owners_response.rb +1 -1
  142. data/lib/fuse_client/models/get_financial_connections_owners_response_accounts_inner.rb +1 -1
  143. data/lib/fuse_client/models/get_financial_connections_transactions_request.rb +1 -1
  144. data/lib/fuse_client/models/get_financial_connections_transactions_response.rb +1 -1
  145. data/lib/fuse_client/models/get_financial_institution_response.rb +1 -1
  146. data/lib/fuse_client/models/get_investment_holdings_request.rb +1 -1
  147. data/lib/fuse_client/models/get_investment_holdings_request_options.rb +1 -1
  148. data/lib/fuse_client/models/get_investment_holdings_response.rb +1 -1
  149. data/lib/fuse_client/models/get_investment_transactions_request.rb +1 -1
  150. data/lib/fuse_client/models/get_investment_transactions_request_options.rb +1 -1
  151. data/lib/fuse_client/models/get_investment_transactions_response.rb +12 -2
  152. data/lib/fuse_client/models/get_liabilities_request.rb +1 -1
  153. data/lib/fuse_client/models/get_liabilities_response.rb +1 -1
  154. data/lib/fuse_client/models/get_spend_power_response.rb +239 -0
  155. data/lib/fuse_client/models/migrate_financial_connections_aggregator_connection_data.rb +14 -5
  156. data/lib/fuse_client/models/migrate_financial_connections_aggregator_connection_data_mx.rb +1 -1
  157. data/lib/fuse_client/models/migrate_financial_connections_aggregator_connection_data_plaid.rb +15 -5
  158. data/lib/fuse_client/models/migrate_financial_connections_aggregator_connection_data_teller.rb +226 -0
  159. data/lib/fuse_client/models/migrate_financial_connections_token_request.rb +23 -4
  160. data/lib/fuse_client/models/migrate_financial_connections_token_request_entity.rb +1 -1
  161. data/lib/fuse_client/models/migrate_financial_connections_token_response.rb +1 -1
  162. data/lib/fuse_client/models/product.rb +3 -3
  163. data/lib/fuse_client/models/refresh_asset_report_request.rb +32 -33
  164. data/lib/fuse_client/models/refresh_asset_report_response.rb +240 -0
  165. data/lib/fuse_client/models/spend_power.rb +315 -0
  166. data/lib/fuse_client/models/spend_power_customization.rb +289 -0
  167. data/lib/fuse_client/models/sync_financial_connections_data_response.rb +1 -1
  168. data/lib/fuse_client/models/sync_transactions_request.rb +1 -1
  169. data/lib/fuse_client/models/sync_transactions_response.rb +1 -1
  170. data/lib/fuse_client/models/sync_transactions_response_removed_inner.rb +1 -1
  171. data/lib/fuse_client/models/transaction.rb +15 -3
  172. data/lib/fuse_client/models/transaction_merchant.rb +1 -1
  173. data/lib/fuse_client/models/update_entity_request.rb +1 -1
  174. data/lib/fuse_client/models/update_entity_response.rb +1 -1
  175. data/lib/fuse_client/models/update_spend_power_customization_response.rb +240 -0
  176. data/lib/fuse_client/models/webhook_event.rb +34 -2
  177. data/lib/fuse_client/models/webhook_source.rb +1 -1
  178. data/lib/fuse_client/models/webhook_type.rb +4 -3
  179. data/lib/fuse_client/version.rb +2 -2
  180. data/lib/fuse_client.rb +28 -6
  181. data/spec/api/fuse_api_spec.rb +69 -6
  182. data/spec/api/spend_power_api_spec.rb +64 -0
  183. data/spec/api_client_spec.rb +1 -1
  184. data/spec/configuration_spec.rb +1 -1
  185. data/spec/models/account_subtype_spec.rb +1 -1
  186. data/spec/models/account_type_spec.rb +1 -1
  187. data/spec/models/add_spend_power_transaction_request_spec.rb +50 -0
  188. data/spec/models/add_spend_power_transaction_response_spec.rb +40 -0
  189. data/spec/models/aggregator_spec.rb +1 -1
  190. data/spec/models/{get_asset_report_response_report_accounts_inner_balances_spec.rb → asset_report_accounts_inner_balance_spec.rb} +7 -7
  191. data/spec/models/{get_asset_report_response_report_accounts_inner_historical_balances_inner_spec.rb → asset_report_accounts_inner_historical_balances_inner_spec.rb} +7 -7
  192. data/spec/models/{get_asset_report_response_report_accounts_inner_spec.rb → asset_report_accounts_inner_spec.rb} +10 -10
  193. data/spec/models/{get_asset_report_response_spec.rb → asset_report_response_spec.rb} +7 -7
  194. data/spec/models/{get_asset_report_response_report_spec.rb → asset_report_spec.rb} +8 -14
  195. data/spec/models/asset_report_transaction_spec.rb +96 -0
  196. data/spec/models/country_code_spec.rb +1 -1
  197. data/spec/models/create_asset_report_request_spec.rb +1 -7
  198. data/spec/models/create_asset_report_response_spec.rb +1 -1
  199. data/spec/models/create_entity_request_spec.rb +1 -1
  200. data/spec/models/create_entity_response_spec.rb +1 -1
  201. data/spec/models/create_link_token_request_mx_spec.rb +1 -1
  202. data/spec/models/create_link_token_request_plaid_spec.rb +1 -1
  203. data/spec/models/create_link_token_request_spec.rb +13 -1
  204. data/spec/models/create_link_token_request_teller_config_spec.rb +38 -0
  205. data/spec/models/create_link_token_request_teller_spec.rb +34 -0
  206. data/spec/models/create_link_token_response_spec.rb +1 -1
  207. data/spec/models/create_session_request_spec.rb +1 -1
  208. data/spec/models/create_session_response_spec.rb +1 -1
  209. data/spec/models/create_spend_power_customization_response_spec.rb +40 -0
  210. data/spec/models/create_spend_power_request_spec.rb +46 -0
  211. data/spec/models/create_spend_power_response_spec.rb +40 -0
  212. data/spec/models/currency_spec.rb +1 -1
  213. data/spec/models/delete_financial_connection_response_spec.rb +1 -1
  214. data/spec/models/delete_spend_power_response_spec.rb +40 -0
  215. data/spec/models/entity_spec.rb +1 -1
  216. data/spec/models/exchange_financial_connections_public_token_request_spec.rb +1 -1
  217. data/spec/models/exchange_financial_connections_public_token_response_spec.rb +1 -1
  218. data/spec/models/financial_connection_data_spec.rb +1 -1
  219. data/spec/models/financial_connection_details_mx_spec.rb +1 -1
  220. data/spec/models/financial_connection_details_plaid_spec.rb +1 -1
  221. data/spec/models/financial_connection_details_spec.rb +1 -1
  222. data/spec/models/financial_connection_details_teller_spec.rb +1 -1
  223. data/spec/models/financial_connections_account_balance_spec.rb +1 -1
  224. data/spec/models/financial_connections_account_cached_balance_spec.rb +1 -1
  225. data/spec/models/financial_connections_account_details_ach_spec.rb +1 -1
  226. data/spec/models/financial_connections_account_details_spec.rb +1 -1
  227. data/spec/models/financial_connections_account_institution_spec.rb +1 -1
  228. data/spec/models/financial_connections_account_liability_all_of_aprs_spec.rb +1 -1
  229. data/spec/models/financial_connections_account_liability_all_of_spec.rb +1 -1
  230. data/spec/models/financial_connections_account_liability_spec.rb +1 -1
  231. data/spec/models/financial_connections_account_spec.rb +1 -1
  232. data/spec/models/financial_connections_holding_spec.rb +1 -1
  233. data/spec/models/financial_connections_investment_security_exchange_spec.rb +1 -1
  234. data/spec/models/financial_connections_investment_security_spec.rb +1 -1
  235. data/spec/models/financial_connections_investment_security_type_spec.rb +28 -0
  236. data/spec/models/financial_connections_investment_transaction_spec.rb +11 -1
  237. data/spec/models/financial_connections_owner_addresses_inner_data_spec.rb +1 -1
  238. data/spec/models/financial_connections_owner_addresses_inner_spec.rb +1 -1
  239. data/spec/models/financial_connections_owner_emails_inner_spec.rb +1 -1
  240. data/spec/models/financial_connections_owner_names_inner_spec.rb +1 -1
  241. data/spec/models/financial_connections_owner_phone_numbers_inner_spec.rb +1 -1
  242. data/spec/models/financial_connections_owner_spec.rb +1 -1
  243. data/spec/models/financial_institution_logo_spec.rb +1 -1
  244. data/spec/models/financial_institution_spec.rb +1 -1
  245. data/spec/models/fuse_api_aggregator_error_spec.rb +64 -0
  246. data/spec/models/fuse_api_error_code_spec.rb +28 -0
  247. data/spec/models/fuse_api_error_data_spec.rb +1 -1
  248. data/spec/models/fuse_api_error_spec.rb +7 -9
  249. data/spec/models/fuse_api_error_type_spec.rb +28 -0
  250. data/spec/models/fuse_api_warning_data_spec.rb +1 -1
  251. data/spec/models/fuse_api_warning_data_warnings_inner_spec.rb +1 -1
  252. data/spec/models/fuse_api_warning_spec.rb +1 -1
  253. data/spec/models/get_asset_report_request_spec.rb +7 -1
  254. data/spec/models/get_entity_response_spec.rb +1 -1
  255. data/spec/models/get_financial_connection_response_spec.rb +1 -1
  256. data/spec/models/get_financial_connections_account_details_request_spec.rb +1 -1
  257. data/spec/models/get_financial_connections_account_details_response_spec.rb +1 -1
  258. data/spec/models/get_financial_connections_account_statement_request_spec.rb +46 -0
  259. data/spec/models/get_financial_connections_account_statement_response_spec.rb +40 -0
  260. data/spec/models/get_financial_connections_accounts_request_spec.rb +1 -1
  261. data/spec/models/get_financial_connections_accounts_response_spec.rb +1 -1
  262. data/spec/models/get_financial_connections_balance_request_options_spec.rb +1 -1
  263. data/spec/models/get_financial_connections_balance_request_spec.rb +1 -1
  264. data/spec/models/get_financial_connections_balance_response_spec.rb +1 -1
  265. data/spec/models/get_financial_connections_owners_request_spec.rb +1 -1
  266. data/spec/models/get_financial_connections_owners_response_accounts_inner_spec.rb +1 -1
  267. data/spec/models/get_financial_connections_owners_response_spec.rb +1 -1
  268. data/spec/models/get_financial_connections_transactions_request_spec.rb +1 -1
  269. data/spec/models/get_financial_connections_transactions_response_spec.rb +1 -1
  270. data/spec/models/get_financial_institution_response_spec.rb +1 -1
  271. data/spec/models/get_investment_holdings_request_options_spec.rb +1 -1
  272. data/spec/models/get_investment_holdings_request_spec.rb +1 -1
  273. data/spec/models/get_investment_holdings_response_spec.rb +1 -1
  274. data/spec/models/get_investment_transactions_request_options_spec.rb +1 -1
  275. data/spec/models/get_investment_transactions_request_spec.rb +1 -1
  276. data/spec/models/get_investment_transactions_response_spec.rb +7 -1
  277. data/spec/models/get_liabilities_request_spec.rb +1 -1
  278. data/spec/models/get_liabilities_response_spec.rb +1 -1
  279. data/spec/models/get_spend_power_response_spec.rb +40 -0
  280. data/spec/models/migrate_financial_connections_aggregator_connection_data_mx_spec.rb +1 -1
  281. data/spec/models/migrate_financial_connections_aggregator_connection_data_plaid_spec.rb +7 -1
  282. data/spec/models/migrate_financial_connections_aggregator_connection_data_spec.rb +7 -1
  283. data/spec/models/migrate_financial_connections_aggregator_connection_data_teller_spec.rb +34 -0
  284. data/spec/models/migrate_financial_connections_token_request_entity_spec.rb +1 -1
  285. data/spec/models/migrate_financial_connections_token_request_spec.rb +2 -2
  286. data/spec/models/migrate_financial_connections_token_response_spec.rb +1 -1
  287. data/spec/models/product_spec.rb +1 -1
  288. data/spec/models/refresh_asset_report_request_spec.rb +3 -3
  289. data/spec/models/refresh_asset_report_response_spec.rb +46 -0
  290. data/spec/models/spend_power_customization_spec.rb +50 -0
  291. data/spec/models/spend_power_spec.rb +70 -0
  292. data/spec/models/sync_financial_connections_data_response_spec.rb +1 -1
  293. data/spec/models/sync_transactions_request_spec.rb +1 -1
  294. data/spec/models/sync_transactions_response_removed_inner_spec.rb +1 -1
  295. data/spec/models/sync_transactions_response_spec.rb +1 -1
  296. data/spec/models/transaction_merchant_spec.rb +1 -1
  297. data/spec/models/transaction_spec.rb +9 -1
  298. data/spec/models/update_entity_request_spec.rb +1 -1
  299. data/spec/models/update_entity_response_spec.rb +1 -1
  300. data/spec/models/update_spend_power_customization_response_spec.rb +40 -0
  301. data/spec/models/webhook_event_spec.rb +19 -1
  302. data/spec/models/webhook_source_spec.rb +1 -1
  303. data/spec/models/webhook_type_spec.rb +1 -1
  304. data/spec/spec_helper.rb +1 -1
  305. metadata +110 -22
  306. data/docs/GetAssetReportResponseReport.md +0 -28
  307. data/docs/GetAssetReportResponseReportAccountsInner.md +0 -24
@@ -0,0 +1,385 @@
1
+ =begin
2
+ #Fuse
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.5.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module FuseClient
17
+ class AssetReportTransaction
18
+ # Remote Id of the transaction, ie Plaid or Teller Id
19
+ attr_accessor :remote_id
20
+
21
+ # Remote Account Id of the transaction, ie Plaid Account Id
22
+ attr_accessor :remote_account_id
23
+
24
+ # Amount in cents associated with the transaction. Positive values when money moves out of the account; negative values when money moves in. For example, debit card purchases are positive; credit card payments, direct deposits, and refunds are negative.
25
+ attr_accessor :amount
26
+
27
+ # Date of the transaction (YYYY-MM-DD)
28
+ attr_accessor :date
29
+
30
+ # Description of the transaction
31
+ attr_accessor :description
32
+
33
+ # Categories of the transaction, ie Computers and Electronics. '-' means we could not map the upstream category.
34
+ attr_accessor :category
35
+
36
+ attr_accessor :merchant
37
+
38
+ # The status of the transaction. This will be either posted or pending.
39
+ attr_accessor :status
40
+
41
+ # The ISO-4217 currency code of the transaction
42
+ attr_accessor :iso_currency_code
43
+
44
+ attr_accessor :remote_data
45
+
46
+ class EnumAttributeValidator
47
+ attr_reader :datatype
48
+ attr_reader :allowable_values
49
+
50
+ def initialize(datatype, allowable_values)
51
+ @allowable_values = allowable_values.map do |value|
52
+ case datatype.to_s
53
+ when /Integer/i
54
+ value.to_i
55
+ when /Float/i
56
+ value.to_f
57
+ else
58
+ value
59
+ end
60
+ end
61
+ end
62
+
63
+ def valid?(value)
64
+ !value || allowable_values.include?(value)
65
+ end
66
+ end
67
+
68
+ # Attribute mapping from ruby-style variable name to JSON key.
69
+ def self.attribute_map
70
+ {
71
+ :'remote_id' => :'remote_id',
72
+ :'remote_account_id' => :'remote_account_id',
73
+ :'amount' => :'amount',
74
+ :'date' => :'date',
75
+ :'description' => :'description',
76
+ :'category' => :'category',
77
+ :'merchant' => :'merchant',
78
+ :'status' => :'status',
79
+ :'iso_currency_code' => :'iso_currency_code',
80
+ :'remote_data' => :'remote_data'
81
+ }
82
+ end
83
+
84
+ # Returns all the JSON keys this model knows about
85
+ def self.acceptable_attributes
86
+ attribute_map.values
87
+ end
88
+
89
+ # Attribute type mapping.
90
+ def self.openapi_types
91
+ {
92
+ :'remote_id' => :'String',
93
+ :'remote_account_id' => :'String',
94
+ :'amount' => :'Float',
95
+ :'date' => :'String',
96
+ :'description' => :'String',
97
+ :'category' => :'Array<String>',
98
+ :'merchant' => :'TransactionMerchant',
99
+ :'status' => :'String',
100
+ :'iso_currency_code' => :'String',
101
+ :'remote_data' => :'Object'
102
+ }
103
+ end
104
+
105
+ # List of attributes with nullable: true
106
+ def self.openapi_nullable
107
+ Set.new([
108
+ :'remote_data'
109
+ ])
110
+ end
111
+
112
+ # Initializes the object
113
+ # @param [Hash] attributes Model attributes in the form of hash
114
+ def initialize(attributes = {})
115
+ if (!attributes.is_a?(Hash))
116
+ fail ArgumentError, "The input argument (attributes) must be a hash in `FuseClient::AssetReportTransaction` initialize method"
117
+ end
118
+
119
+ # check to see if the attribute exists and convert string to symbol for hash key
120
+ attributes = attributes.each_with_object({}) { |(k, v), h|
121
+ if (!self.class.attribute_map.key?(k.to_sym))
122
+ fail ArgumentError, "`#{k}` is not a valid attribute in `FuseClient::AssetReportTransaction`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
123
+ end
124
+ h[k.to_sym] = v
125
+ }
126
+
127
+ if attributes.key?(:'remote_id')
128
+ self.remote_id = attributes[:'remote_id']
129
+ end
130
+
131
+ if attributes.key?(:'remote_account_id')
132
+ self.remote_account_id = attributes[:'remote_account_id']
133
+ end
134
+
135
+ if attributes.key?(:'amount')
136
+ self.amount = attributes[:'amount']
137
+ end
138
+
139
+ if attributes.key?(:'date')
140
+ self.date = attributes[:'date']
141
+ end
142
+
143
+ if attributes.key?(:'description')
144
+ self.description = attributes[:'description']
145
+ end
146
+
147
+ if attributes.key?(:'category')
148
+ if (value = attributes[:'category']).is_a?(Array)
149
+ self.category = value
150
+ end
151
+ end
152
+
153
+ if attributes.key?(:'merchant')
154
+ self.merchant = attributes[:'merchant']
155
+ end
156
+
157
+ if attributes.key?(:'status')
158
+ self.status = attributes[:'status']
159
+ end
160
+
161
+ if attributes.key?(:'iso_currency_code')
162
+ self.iso_currency_code = attributes[:'iso_currency_code']
163
+ end
164
+
165
+ if attributes.key?(:'remote_data')
166
+ self.remote_data = attributes[:'remote_data']
167
+ end
168
+ end
169
+
170
+ # Show invalid properties with the reasons. Usually used together with valid?
171
+ # @return Array for valid properties with the reasons
172
+ def list_invalid_properties
173
+ invalid_properties = Array.new
174
+ if @remote_id.nil?
175
+ invalid_properties.push('invalid value for "remote_id", remote_id cannot be nil.')
176
+ end
177
+
178
+ if @remote_account_id.nil?
179
+ invalid_properties.push('invalid value for "remote_account_id", remote_account_id cannot be nil.')
180
+ end
181
+
182
+ if @amount.nil?
183
+ invalid_properties.push('invalid value for "amount", amount cannot be nil.')
184
+ end
185
+
186
+ if @date.nil?
187
+ invalid_properties.push('invalid value for "date", date cannot be nil.')
188
+ end
189
+
190
+ if @description.nil?
191
+ invalid_properties.push('invalid value for "description", description cannot be nil.')
192
+ end
193
+
194
+ if @category.nil?
195
+ invalid_properties.push('invalid value for "category", category cannot be nil.')
196
+ end
197
+
198
+ if @merchant.nil?
199
+ invalid_properties.push('invalid value for "merchant", merchant cannot be nil.')
200
+ end
201
+
202
+ if @status.nil?
203
+ invalid_properties.push('invalid value for "status", status cannot be nil.')
204
+ end
205
+
206
+ invalid_properties
207
+ end
208
+
209
+ # Check to see if the all the properties in the model are valid
210
+ # @return true if the model is valid
211
+ def valid?
212
+ return false if @remote_id.nil?
213
+ return false if @remote_account_id.nil?
214
+ return false if @amount.nil?
215
+ return false if @date.nil?
216
+ return false if @description.nil?
217
+ return false if @category.nil?
218
+ return false if @merchant.nil?
219
+ return false if @status.nil?
220
+ status_validator = EnumAttributeValidator.new('String', ["pending", "posted"])
221
+ return false unless status_validator.valid?(@status)
222
+ true
223
+ end
224
+
225
+ # Custom attribute writer method checking allowed values (enum).
226
+ # @param [Object] status Object to be assigned
227
+ def status=(status)
228
+ validator = EnumAttributeValidator.new('String', ["pending", "posted"])
229
+ unless validator.valid?(status)
230
+ fail ArgumentError, "invalid value for \"status\", must be one of #{validator.allowable_values}."
231
+ end
232
+ @status = status
233
+ end
234
+
235
+ # Checks equality by comparing each attribute.
236
+ # @param [Object] Object to be compared
237
+ def ==(o)
238
+ return true if self.equal?(o)
239
+ self.class == o.class &&
240
+ remote_id == o.remote_id &&
241
+ remote_account_id == o.remote_account_id &&
242
+ amount == o.amount &&
243
+ date == o.date &&
244
+ description == o.description &&
245
+ category == o.category &&
246
+ merchant == o.merchant &&
247
+ status == o.status &&
248
+ iso_currency_code == o.iso_currency_code &&
249
+ remote_data == o.remote_data
250
+ end
251
+
252
+ # @see the `==` method
253
+ # @param [Object] Object to be compared
254
+ def eql?(o)
255
+ self == o
256
+ end
257
+
258
+ # Calculates hash code according to all attributes.
259
+ # @return [Integer] Hash code
260
+ def hash
261
+ [remote_id, remote_account_id, amount, date, description, category, merchant, status, iso_currency_code, remote_data].hash
262
+ end
263
+
264
+ # Builds the object from hash
265
+ # @param [Hash] attributes Model attributes in the form of hash
266
+ # @return [Object] Returns the model itself
267
+ def self.build_from_hash(attributes)
268
+ new.build_from_hash(attributes)
269
+ end
270
+
271
+ # Builds the object from hash
272
+ # @param [Hash] attributes Model attributes in the form of hash
273
+ # @return [Object] Returns the model itself
274
+ def build_from_hash(attributes)
275
+ return nil unless attributes.is_a?(Hash)
276
+ attributes = attributes.transform_keys(&:to_sym)
277
+ self.class.openapi_types.each_pair do |key, type|
278
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
279
+ self.send("#{key}=", nil)
280
+ elsif type =~ /\AArray<(.*)>/i
281
+ # check to ensure the input is an array given that the attribute
282
+ # is documented as an array but the input is not
283
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
284
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
285
+ end
286
+ elsif !attributes[self.class.attribute_map[key]].nil?
287
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
288
+ end
289
+ end
290
+
291
+ self
292
+ end
293
+
294
+ # Deserializes the data based on type
295
+ # @param string type Data type
296
+ # @param string value Value to be deserialized
297
+ # @return [Object] Deserialized data
298
+ def _deserialize(type, value)
299
+ case type.to_sym
300
+ when :Time
301
+ Time.parse(value)
302
+ when :Date
303
+ Date.parse(value)
304
+ when :String
305
+ value.to_s
306
+ when :Integer
307
+ value.to_i
308
+ when :Float
309
+ value.to_f
310
+ when :Boolean
311
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
312
+ true
313
+ else
314
+ false
315
+ end
316
+ when :Object
317
+ # generic object (usually a Hash), return directly
318
+ value
319
+ when /\AArray<(?<inner_type>.+)>\z/
320
+ inner_type = Regexp.last_match[:inner_type]
321
+ value.map { |v| _deserialize(inner_type, v) }
322
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
323
+ k_type = Regexp.last_match[:k_type]
324
+ v_type = Regexp.last_match[:v_type]
325
+ {}.tap do |hash|
326
+ value.each do |k, v|
327
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
328
+ end
329
+ end
330
+ else # model
331
+ # models (e.g. Pet) or oneOf
332
+ klass = FuseClient.const_get(type)
333
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
334
+ end
335
+ end
336
+
337
+ # Returns the string representation of the object
338
+ # @return [String] String presentation of the object
339
+ def to_s
340
+ to_hash.to_s
341
+ end
342
+
343
+ # to_body is an alias to to_hash (backward compatibility)
344
+ # @return [Hash] Returns the object in the form of hash
345
+ def to_body
346
+ to_hash
347
+ end
348
+
349
+ # Returns the object in the form of hash
350
+ # @return [Hash] Returns the object in the form of hash
351
+ def to_hash
352
+ hash = {}
353
+ self.class.attribute_map.each_pair do |attr, param|
354
+ value = self.send(attr)
355
+ if value.nil?
356
+ is_nullable = self.class.openapi_nullable.include?(attr)
357
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
358
+ end
359
+
360
+ hash[param] = _to_hash(value)
361
+ end
362
+ hash
363
+ end
364
+
365
+ # Outputs non-array value in the form of hash
366
+ # For object, use to_hash. Otherwise, just return the value
367
+ # @param [Object] value Any valid value
368
+ # @return [Hash] Returns the value in the form of hash
369
+ def _to_hash(value)
370
+ if value.is_a?(Array)
371
+ value.compact.map { |v| _to_hash(v) }
372
+ elsif value.is_a?(Hash)
373
+ {}.tap do |hash|
374
+ value.each { |k, v| hash[k] = _to_hash(v) }
375
+ end
376
+ elsif value.respond_to? :to_hash
377
+ value.to_hash
378
+ else
379
+ value
380
+ end
381
+ end
382
+
383
+ end
384
+
385
+ end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.4.0
9
+ OpenAPI Generator version: 6.5.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.4.0
9
+ OpenAPI Generator version: 6.5.0
10
10
 
11
11
  =end
12
12
 
@@ -15,21 +15,17 @@ require 'time'
15
15
 
16
16
  module FuseClient
17
17
  class CreateAssetReportRequest
18
- # Access token for the entity to create report for.
18
+ # Access fuse token corresponding to the financial account to be create the Asset Report for.
19
19
  attr_accessor :access_token
20
20
 
21
21
  # The maximum integer number of days of history to include in the Asset Report
22
22
  attr_accessor :days_requested
23
23
 
24
- # Indicates whether to include identity data in the Asset Report
25
- attr_accessor :include_identity
26
-
27
24
  # Attribute mapping from ruby-style variable name to JSON key.
28
25
  def self.attribute_map
29
26
  {
30
27
  :'access_token' => :'access_token',
31
- :'days_requested' => :'days_requested',
32
- :'include_identity' => :'include_identity'
28
+ :'days_requested' => :'days_requested'
33
29
  }
34
30
  end
35
31
 
@@ -42,8 +38,7 @@ module FuseClient
42
38
  def self.openapi_types
43
39
  {
44
40
  :'access_token' => :'String',
45
- :'days_requested' => :'Float',
46
- :'include_identity' => :'Boolean'
41
+ :'days_requested' => :'Float'
47
42
  }
48
43
  end
49
44
 
@@ -75,12 +70,6 @@ module FuseClient
75
70
  if attributes.key?(:'days_requested')
76
71
  self.days_requested = attributes[:'days_requested']
77
72
  end
78
-
79
- if attributes.key?(:'include_identity')
80
- self.include_identity = attributes[:'include_identity']
81
- else
82
- self.include_identity = true
83
- end
84
73
  end
85
74
 
86
75
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -95,8 +84,8 @@ module FuseClient
95
84
  invalid_properties.push('invalid value for "days_requested", days_requested cannot be nil.')
96
85
  end
97
86
 
98
- if @days_requested > 365
99
- invalid_properties.push('invalid value for "days_requested", must be smaller than or equal to 365.')
87
+ if @days_requested > 731
88
+ invalid_properties.push('invalid value for "days_requested", must be smaller than or equal to 731.')
100
89
  end
101
90
 
102
91
  if @days_requested < 1
@@ -111,7 +100,7 @@ module FuseClient
111
100
  def valid?
112
101
  return false if @access_token.nil?
113
102
  return false if @days_requested.nil?
114
- return false if @days_requested > 365
103
+ return false if @days_requested > 731
115
104
  return false if @days_requested < 1
116
105
  true
117
106
  end
@@ -123,8 +112,8 @@ module FuseClient
123
112
  fail ArgumentError, 'days_requested cannot be nil'
124
113
  end
125
114
 
126
- if days_requested > 365
127
- fail ArgumentError, 'invalid value for "days_requested", must be smaller than or equal to 365.'
115
+ if days_requested > 731
116
+ fail ArgumentError, 'invalid value for "days_requested", must be smaller than or equal to 731.'
128
117
  end
129
118
 
130
119
  if days_requested < 1
@@ -140,8 +129,7 @@ module FuseClient
140
129
  return true if self.equal?(o)
141
130
  self.class == o.class &&
142
131
  access_token == o.access_token &&
143
- days_requested == o.days_requested &&
144
- include_identity == o.include_identity
132
+ days_requested == o.days_requested
145
133
  end
146
134
 
147
135
  # @see the `==` method
@@ -153,7 +141,7 @@ module FuseClient
153
141
  # Calculates hash code according to all attributes.
154
142
  # @return [Integer] Hash code
155
143
  def hash
156
- [access_token, days_requested, include_identity].hash
144
+ [access_token, days_requested].hash
157
145
  end
158
146
 
159
147
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.4.0
9
+ OpenAPI Generator version: 6.5.0
10
10
 
11
11
  =end
12
12
 
@@ -15,10 +15,10 @@ require 'time'
15
15
 
16
16
  module FuseClient
17
17
  class CreateAssetReportResponse
18
- # A token that can be provided to endpoints such as /asset_report or /asset_report/pdf to fetch an Asset Report.
18
+ # A token that can be provided to endpoints such as /asset_report to fetch an asset report.
19
19
  attr_accessor :asset_report_token
20
20
 
21
- # A unique ID identifying an Asset Report.
21
+ # A unique ID identifying an Asset Report.
22
22
  attr_accessor :asset_report_id
23
23
 
24
24
  # An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues.
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.4.0
9
+ OpenAPI Generator version: 6.5.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.4.0
9
+ OpenAPI Generator version: 6.5.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.4.0
9
+ OpenAPI Generator version: 6.5.0
10
10
 
11
11
  =end
12
12
 
@@ -20,16 +20,21 @@ module FuseClient
20
20
 
21
21
  attr_accessor :entity
22
22
 
23
- # The name of your application.
23
+ # The name of your application. This is what will be displayed to users.
24
24
  attr_accessor :client_name
25
25
 
26
26
  # The session client secret created from the 'Create session client secret' endpoint
27
27
  attr_accessor :session_client_secret
28
28
 
29
+ # This field allows you to set a unique webhook URL for each individual entity. By specifying an entity-specific webhook URL, you can receive and process data events for each entity separately. If this field is left empty, the organization-wide webhook URL set in the sandbox/production environment will be used as the default for all entities.
30
+ attr_accessor :webhook_url
31
+
29
32
  attr_accessor :mx
30
33
 
31
34
  attr_accessor :plaid
32
35
 
36
+ attr_accessor :teller
37
+
33
38
  # Attribute mapping from ruby-style variable name to JSON key.
34
39
  def self.attribute_map
35
40
  {
@@ -37,8 +42,10 @@ module FuseClient
37
42
  :'entity' => :'entity',
38
43
  :'client_name' => :'client_name',
39
44
  :'session_client_secret' => :'session_client_secret',
45
+ :'webhook_url' => :'webhook_url',
40
46
  :'mx' => :'mx',
41
- :'plaid' => :'plaid'
47
+ :'plaid' => :'plaid',
48
+ :'teller' => :'teller'
42
49
  }
43
50
  end
44
51
 
@@ -54,8 +61,10 @@ module FuseClient
54
61
  :'entity' => :'Entity',
55
62
  :'client_name' => :'String',
56
63
  :'session_client_secret' => :'String',
64
+ :'webhook_url' => :'String',
57
65
  :'mx' => :'CreateLinkTokenRequestMx',
58
- :'plaid' => :'CreateLinkTokenRequestPlaid'
66
+ :'plaid' => :'CreateLinkTokenRequestPlaid',
67
+ :'teller' => :'CreateLinkTokenRequestTeller'
59
68
  }
60
69
  end
61
70
 
@@ -96,6 +105,10 @@ module FuseClient
96
105
  self.session_client_secret = attributes[:'session_client_secret']
97
106
  end
98
107
 
108
+ if attributes.key?(:'webhook_url')
109
+ self.webhook_url = attributes[:'webhook_url']
110
+ end
111
+
99
112
  if attributes.key?(:'mx')
100
113
  self.mx = attributes[:'mx']
101
114
  end
@@ -103,6 +116,10 @@ module FuseClient
103
116
  if attributes.key?(:'plaid')
104
117
  self.plaid = attributes[:'plaid']
105
118
  end
119
+
120
+ if attributes.key?(:'teller')
121
+ self.teller = attributes[:'teller']
122
+ end
106
123
  end
107
124
 
108
125
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -147,8 +164,10 @@ module FuseClient
147
164
  entity == o.entity &&
148
165
  client_name == o.client_name &&
149
166
  session_client_secret == o.session_client_secret &&
167
+ webhook_url == o.webhook_url &&
150
168
  mx == o.mx &&
151
- plaid == o.plaid
169
+ plaid == o.plaid &&
170
+ teller == o.teller
152
171
  end
153
172
 
154
173
  # @see the `==` method
@@ -160,7 +179,7 @@ module FuseClient
160
179
  # Calculates hash code according to all attributes.
161
180
  # @return [Integer] Hash code
162
181
  def hash
163
- [institution_id, entity, client_name, session_client_secret, mx, plaid].hash
182
+ [institution_id, entity, client_name, session_client_secret, webhook_url, mx, plaid, teller].hash
164
183
  end
165
184
 
166
185
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.4.0
9
+ OpenAPI Generator version: 6.5.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.4.0
9
+ OpenAPI Generator version: 6.5.0
10
10
 
11
11
  =end
12
12
 
@@ -16,7 +16,7 @@ require 'time'
16
16
  module FuseClient
17
17
  # An object specifying information about the Plaid configuration to use when creating a link token.
18
18
  class CreateLinkTokenRequestPlaid
19
- # Follows the same schema as Plaid's Link Token Create Schema(https://plaid.com/docs/api/tokens/#linktokencreate). 'products', 'client_id', 'secret', 'client_user_id', 'client_name', 'webhook', 'institution_data' and 'country_codes' (only US supported right now) will be set by Fuse and override any values you set.
19
+ # Follows the same schema as Plaid's Link Token Create Schema(https://plaid.com/docs/api/tokens/#linktokencreate). 'products', 'client_id', 'secret', 'client_user_id', 'client_name', 'webhook', 'institution_data' and 'country_codes' (only US and Canada is supported right now) will be set by Fuse and override any values you set.
20
20
  attr_accessor :config
21
21
 
22
22
  # Attribute mapping from ruby-style variable name to JSON key.