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,15 @@
1
+ # FuseClient::FuseApiErrorCode
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'fuse_client'
12
+
13
+ instance = FuseClient::FuseApiErrorCode.new()
14
+ ```
15
+
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **aggregator** | [**Aggregator**](Aggregator.md) | | [optional] |
8
- | **errors** | [**Array<FuseApiError>**](FuseApiError.md) | | [optional] |
8
+ | **errors** | [**Array<FuseApiAggregatorError>**](FuseApiAggregatorError.md) | | [optional] |
9
9
 
10
10
  ## Example
11
11
 
@@ -0,0 +1,15 @@
1
+ # FuseClient::FuseApiErrorType
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'fuse_client'
12
+
13
+ instance = FuseClient::FuseApiErrorType.new()
14
+ ```
15
+
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **access_token** | **String** | Access fuse token corresponding to the financial account to be refresh the Asset Report for. | |
7
8
  | **asset_report_token** | **String** | The token associated with the Asset Report to retrieve. | |
8
9
 
9
10
  ## Example
@@ -12,6 +13,7 @@
12
13
  require 'fuse_client'
13
14
 
14
15
  instance = FuseClient::GetAssetReportRequest.new(
16
+ access_token: null,
15
17
  asset_report_token: null
16
18
  )
17
19
  ```
@@ -0,0 +1,22 @@
1
+ # FuseClient::GetFinancialConnectionsAccountStatementRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **access_token** | **String** | Access token for authentication | |
8
+ | **remote_account_id** | **String** | The remote account id to retrieve the statement for. | |
9
+ | **date** | **String** | The year and month for the account statement to be retrieved in YYYY-MM. | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'fuse_client'
15
+
16
+ instance = FuseClient::GetFinancialConnectionsAccountStatementRequest.new(
17
+ access_token: null,
18
+ remote_account_id: null,
19
+ date: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,20 @@
1
+ # FuseClient::GetFinancialConnectionsAccountStatementResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **statement_url** | **String** | PDF statement URL. | |
8
+ | **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'fuse_client'
14
+
15
+ instance = FuseClient::GetFinancialConnectionsAccountStatementResponse.new(
16
+ statement_url: null,
17
+ request_id: null
18
+ )
19
+ ```
20
+
@@ -6,6 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **accounts** | [**Array<FinancialConnectionsAccount>**](FinancialConnectionsAccount.md) | | |
8
8
  | **investment_transactions** | [**Array<FinancialConnectionsInvestmentTransaction>**](FinancialConnectionsInvestmentTransaction.md) | | |
9
+ | **total_transactions** | **Float** | The total number of transactions within the specified date range. | [optional] |
9
10
  | **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | |
10
11
 
11
12
  ## Example
@@ -16,6 +17,7 @@ require 'fuse_client'
16
17
  instance = FuseClient::GetInvestmentTransactionsResponse.new(
17
18
  accounts: null,
18
19
  investment_transactions: null,
20
+ total_transactions: null,
19
21
  request_id: null
20
22
  )
21
23
  ```
@@ -0,0 +1,20 @@
1
+ # FuseClient::GetSpendPowerResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **spend_power** | [**SpendPower**](SpendPower.md) | | |
8
+ | **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'fuse_client'
14
+
15
+ instance = FuseClient::GetSpendPowerResponse.new(
16
+ spend_power: null,
17
+ request_id: null
18
+ )
19
+ ```
20
+
@@ -6,6 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **plaid** | [**MigrateFinancialConnectionsAggregatorConnectionDataPlaid**](MigrateFinancialConnectionsAggregatorConnectionDataPlaid.md) | | [optional] |
8
8
  | **mx** | [**MigrateFinancialConnectionsAggregatorConnectionDataMx**](MigrateFinancialConnectionsAggregatorConnectionDataMx.md) | | [optional] |
9
+ | **teller** | [**MigrateFinancialConnectionsAggregatorConnectionDataTeller**](MigrateFinancialConnectionsAggregatorConnectionDataTeller.md) | | [optional] |
9
10
 
10
11
  ## Example
11
12
 
@@ -14,7 +15,8 @@ require 'fuse_client'
14
15
 
15
16
  instance = FuseClient::MigrateFinancialConnectionsAggregatorConnectionData.new(
16
17
  plaid: null,
17
- mx: null
18
+ mx: null,
19
+ teller: null
18
20
  )
19
21
  ```
20
22
 
@@ -5,6 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **access_token** | **String** | The Plaid access token associated with the user's financial accounts. | |
8
+ | **use_item_webhook** | **Boolean** | If true, any webhooks received for this new financial connection will be sent to the webhook url used when the item was created. If false, the webhook url set at the organization sandbox/production environment level will be used instead. | [optional] |
8
9
 
9
10
  ## Example
10
11
 
@@ -12,7 +13,8 @@
12
13
  require 'fuse_client'
13
14
 
14
15
  instance = FuseClient::MigrateFinancialConnectionsAggregatorConnectionDataPlaid.new(
15
- access_token: null
16
+ access_token: null,
17
+ use_item_webhook: null
16
18
  )
17
19
  ```
18
20
 
@@ -0,0 +1,18 @@
1
+ # FuseClient::MigrateFinancialConnectionsAggregatorConnectionDataTeller
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **access_token** | **String** | The Teller access token associated with the user's financial accounts. | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'fuse_client'
13
+
14
+ instance = FuseClient::MigrateFinancialConnectionsAggregatorConnectionDataTeller.new(
15
+ access_token: null
16
+ )
17
+ ```
18
+
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **connection_data** | [**MigrateFinancialConnectionsAggregatorConnectionData**](MigrateFinancialConnectionsAggregatorConnectionData.md) | | |
8
- | **aggregator** | **String** | The aggregator being migrated (either 'plaid' or 'mx'). | |
8
+ | **aggregator** | **String** | The aggregator being migrated (either 'plaid', 'mx' or 'teller). | |
9
9
  | **entity** | [**MigrateFinancialConnectionsTokenRequestEntity**](MigrateFinancialConnectionsTokenRequestEntity.md) | | |
10
10
  | **fuse_products** | [**Array<Product>**](Product.md) | A list of Fuse products that the migrated connection will have access to. | |
11
11
 
@@ -4,9 +4,9 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **access_token** | **String** | The asset_report_token returned by the original call to /asset_report/create | [optional] |
8
- | **days_requested** | **Float** | The maximum integer number of days of history to include in the Asset Report | |
9
- | **include_identity** | **Boolean** | Indicates whether to include identity data in the Asset Report | [optional][default to true] |
7
+ | **access_token** | **String** | Access fuse token corresponding to the financial account to be refresh the Asset Report for. | |
8
+ | **asset_report_token** | **String** | The asset_report_token returned by the original call to /asset_report/create | |
9
+ | **days_requested** | **Float** | The maximum integer number of days of history to include in the Asset Report | [optional] |
10
10
 
11
11
  ## Example
12
12
 
@@ -15,8 +15,8 @@ require 'fuse_client'
15
15
 
16
16
  instance = FuseClient::RefreshAssetReportRequest.new(
17
17
  access_token: null,
18
- days_requested: null,
19
- include_identity: null
18
+ asset_report_token: null,
19
+ days_requested: null
20
20
  )
21
21
  ```
22
22
 
@@ -0,0 +1,22 @@
1
+ # FuseClient::RefreshAssetReportResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **asset_report_token** | **String** | A token that can be provided to endpoints such as /asset_report to fetch an asset report. | [optional] |
8
+ | **asset_report_id** | **String** | A unique ID identifying an Asset Report. | [optional] |
9
+ | **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'fuse_client'
15
+
16
+ instance = FuseClient::RefreshAssetReportResponse.new(
17
+ asset_report_token: null,
18
+ asset_report_id: null,
19
+ request_id: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,30 @@
1
+ # FuseClient::SpendPower
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | The id of the spend power | |
8
+ | **customization_id** | **String** | The customization id of the spend power. | |
9
+ | **spend_limit** | **String** | The amount, in cents, of the users spend limit. | |
10
+ | **current_spend** | **String** | The amount, in cents, that the user has already spent. | |
11
+ | **pending_payments_amount** | **String** | The accumulative amount, in cents, of all the combined pending payments. | |
12
+ | **currency** | **String** | The currency. | |
13
+ | **last_updated** | **String** | The datetime of when the spend power was most recently updated. | |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'fuse_client'
19
+
20
+ instance = FuseClient::SpendPower.new(
21
+ id: null,
22
+ customization_id: null,
23
+ spend_limit: null,
24
+ current_spend: null,
25
+ pending_payments_amount: null,
26
+ currency: null,
27
+ last_updated: null
28
+ )
29
+ ```
30
+
@@ -0,0 +1,122 @@
1
+ # FuseClient::SpendPowerApi
2
+
3
+ All URIs are relative to *https://sandbox-api.letsfuse.com*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**delete_spend_power**](SpendPowerApi.md#delete_spend_power) | **DELETE** /v1/financial_connections/spend-power/{spend_power_id} | |
8
+
9
+
10
+ ## delete_spend_power
11
+
12
+ > <DeleteSpendPowerResponse> delete_spend_power(spend_power_id, fuse_client_id, fuse_api_key, opts)
13
+
14
+
15
+
16
+ ### Examples
17
+
18
+ ```ruby
19
+ require 'time'
20
+ require 'fuse_client'
21
+ # setup authorization
22
+ FuseClient.configure do |config|
23
+ # Configure API key authorization: fuseApiKey
24
+ config.api_key['fuseApiKey'] = 'YOUR API KEY'
25
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
26
+ # config.api_key_prefix['fuseApiKey'] = 'Bearer'
27
+
28
+ # Configure API key authorization: fuseClientId
29
+ config.api_key['fuseClientId'] = 'YOUR API KEY'
30
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
31
+ # config.api_key_prefix['fuseClientId'] = 'Bearer'
32
+ end
33
+
34
+ api_instance = FuseClient::SpendPowerApi.new
35
+ spend_power_id = 'spend_power_id_example' # String |
36
+ fuse_client_id = 'fuse_client_id_example' # String |
37
+ fuse_api_key = 'fuse_api_key_example' # String |
38
+ opts = {
39
+ plaid_client_id: 'plaid_client_id_example', # String |
40
+ plaid_secret: 'plaid_secret_example', # String |
41
+ teller_application_id: 'teller_application_id_example', # String |
42
+ teller_certificate: 'teller_certificate_example', # String |
43
+ teller_private_key: 'teller_private_key_example', # String |
44
+ teller_token_signing_key: 'teller_token_signing_key_example', # String |
45
+ teller_signing_secret: 'teller_signing_secret_example', # String |
46
+ mx_client_id: 'mx_client_id_example', # String |
47
+ mx_api_key: 'mx_api_key_example', # String |
48
+ snaptrade_client_id: 'snaptrade_client_id_example', # String |
49
+ snaptrade_consumer_key: 'snaptrade_consumer_key_example', # String |
50
+ flinks_customer_id: 'flinks_customer_id_example', # String |
51
+ flinks_us_instance_id: 'flinks_us_instance_id_example', # String |
52
+ flinks_ca_instance_id: 'flinks_ca_instance_id_example', # String |
53
+ finicity_partner_id: 'finicity_partner_id_example', # String |
54
+ finicity_partner_secret: 'finicity_partner_secret_example', # String |
55
+ finicity_app_key: 'finicity_app_key_example' # String |
56
+ }
57
+
58
+ begin
59
+
60
+ result = api_instance.delete_spend_power(spend_power_id, fuse_client_id, fuse_api_key, opts)
61
+ p result
62
+ rescue FuseClient::ApiError => e
63
+ puts "Error when calling SpendPowerApi->delete_spend_power: #{e}"
64
+ end
65
+ ```
66
+
67
+ #### Using the delete_spend_power_with_http_info variant
68
+
69
+ This returns an Array which contains the response data, status code and headers.
70
+
71
+ > <Array(<DeleteSpendPowerResponse>, Integer, Hash)> delete_spend_power_with_http_info(spend_power_id, fuse_client_id, fuse_api_key, opts)
72
+
73
+ ```ruby
74
+ begin
75
+
76
+ data, status_code, headers = api_instance.delete_spend_power_with_http_info(spend_power_id, fuse_client_id, fuse_api_key, opts)
77
+ p status_code # => 2xx
78
+ p headers # => { ... }
79
+ p data # => <DeleteSpendPowerResponse>
80
+ rescue FuseClient::ApiError => e
81
+ puts "Error when calling SpendPowerApi->delete_spend_power_with_http_info: #{e}"
82
+ end
83
+ ```
84
+
85
+ ### Parameters
86
+
87
+ | Name | Type | Description | Notes |
88
+ | ---- | ---- | ----------- | ----- |
89
+ | **spend_power_id** | **String** | | |
90
+ | **fuse_client_id** | **String** | | |
91
+ | **fuse_api_key** | **String** | | |
92
+ | **plaid_client_id** | **String** | | [optional] |
93
+ | **plaid_secret** | **String** | | [optional] |
94
+ | **teller_application_id** | **String** | | [optional] |
95
+ | **teller_certificate** | **String** | | [optional] |
96
+ | **teller_private_key** | **String** | | [optional] |
97
+ | **teller_token_signing_key** | **String** | | [optional] |
98
+ | **teller_signing_secret** | **String** | | [optional] |
99
+ | **mx_client_id** | **String** | | [optional] |
100
+ | **mx_api_key** | **String** | | [optional] |
101
+ | **snaptrade_client_id** | **String** | | [optional] |
102
+ | **snaptrade_consumer_key** | **String** | | [optional] |
103
+ | **flinks_customer_id** | **String** | | [optional] |
104
+ | **flinks_us_instance_id** | **String** | | [optional] |
105
+ | **flinks_ca_instance_id** | **String** | | [optional] |
106
+ | **finicity_partner_id** | **String** | | [optional] |
107
+ | **finicity_partner_secret** | **String** | | [optional] |
108
+ | **finicity_app_key** | **String** | | [optional] |
109
+
110
+ ### Return type
111
+
112
+ [**DeleteSpendPowerResponse**](DeleteSpendPowerResponse.md)
113
+
114
+ ### Authorization
115
+
116
+ [fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
117
+
118
+ ### HTTP request headers
119
+
120
+ - **Content-Type**: Not defined
121
+ - **Accept**: application/json
122
+
@@ -0,0 +1,22 @@
1
+ # FuseClient::SpendPowerCustomization
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **timeframe** | **String** | The timeframe to base the spend power on. | |
8
+ | **min_limit** | **String** | The minimum allowed limit for the spend power, in cents. | |
9
+ | **max_limit** | **String** | The maximum allowed limit for the spend power, in cents. | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'fuse_client'
15
+
16
+ instance = FuseClient::SpendPowerCustomization.new(
17
+ timeframe: null,
18
+ min_limit: null,
19
+ max_limit: null
20
+ )
21
+ ```
22
+
data/docs/Transaction.md CHANGED
@@ -6,13 +6,13 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **remote_id** | **String** | Remote Id of the transaction, ie Plaid or Teller Id | |
8
8
  | **remote_account_id** | **String** | Remote Account Id of the transaction, ie Plaid Account Id | |
9
- | **amount** | **Float** | Amount in cents associated with the transaction | |
9
+ | **amount** | **Float** | 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. | |
10
10
  | **date** | **String** | Date of the transaction (YYYY-MM-DD) | |
11
11
  | **description** | **String** | Description of the transaction | |
12
12
  | **category** | **Array&lt;String&gt;** | Categories of the transaction, ie Computers and Electronics | |
13
13
  | **merchant** | [**TransactionMerchant**](TransactionMerchant.md) | | |
14
14
  | **status** | **String** | The status of the transaction. This will be either posted or pending. | |
15
- | **type** | **String** | Type of the transaction, ie adjustment | |
15
+ | **type** | **String** | Type of the transaction, ie adjustment. &#39;-&#39; means we were not able to map the upstream type. | |
16
16
  | **iso_currency_code** | **String** | The ISO-4217 currency code of the transaction | [optional] |
17
17
  | **remote_data** | **Object** | | |
18
18
 
@@ -0,0 +1,20 @@
1
+ # FuseClient::UpdateSpendPowerCustomizationResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | The id of the updated customization. | |
8
+ | **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'fuse_client'
14
+
15
+ instance = FuseClient::UpdateSpendPowerCustomizationResponse.new(
16
+ id: null,
17
+ request_id: null
18
+ )
19
+ ```
20
+
data/docs/WebhookEvent.md CHANGED
@@ -9,6 +9,9 @@
9
9
  | **environment** | **String** | | |
10
10
  | **source** | [**WebhookSource**](WebhookSource.md) | | |
11
11
  | **verification_token** | **String** | Aggregator verification data needed to verify the webhook | [optional] |
12
+ | **asset_report_id** | **String** | Exists for assets.report_ready webhooks | [optional] |
13
+ | **historical_transactions_available** | **Boolean** | Exists for transactions.updates webhooks. Indicates if historical transaction information (up to 24 months) is ready to be queried. | [optional] |
14
+ | **removed_transaction_ids** | **Array&lt;String&gt;** | Exists for transactions.updates webhooks. Currently only supported by Plaid. | [optional] |
12
15
  | **remote_data** | **Object** | | |
13
16
 
14
17
  ## Example
@@ -22,6 +25,9 @@ instance = FuseClient::WebhookEvent.new(
22
25
  environment: null,
23
26
  source: null,
24
27
  verification_token: null,
28
+ asset_report_id: null,
29
+ historical_transactions_available: null,
30
+ removed_transaction_ids: null,
25
31
  remote_data: null
26
32
  )
27
33
  ```
data/fuse_client.gemspec CHANGED
@@ -8,7 +8,7 @@
8
8
  The version of the OpenAPI document: 1.0.0
9
9
 
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 6.4.0
11
+ OpenAPI Generator version: 6.5.0
12
12
 
13
13
  =end
14
14