fuse_client 1.0.6 → 1.0.31

Sign up to get free protection for your applications and to get access to all the features.
Files changed (285) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +6 -5
  3. data/README.md +82 -1
  4. data/docs/AccountSubType.md +15 -0
  5. data/docs/AccountType.md +15 -0
  6. data/docs/CountryCode.md +15 -0
  7. data/docs/CreateAssetReportResponse.md +3 -1
  8. data/docs/CreateEntityResponse.md +3 -1
  9. data/docs/CreateLinkTokenRequest.md +0 -2
  10. data/docs/CreateLinkTokenResponse.md +2 -2
  11. data/docs/CreateSessionRequest.md +9 -1
  12. data/docs/CreateSessionResponse.md +3 -3
  13. data/docs/Currency.md +20 -0
  14. data/docs/DeleteFinancialConnectionResponse.md +22 -0
  15. data/docs/ExchangeFinancialConnectionsPublicTokenResponse.md +3 -3
  16. data/docs/FinancialConnectionData.md +2 -2
  17. data/docs/FinancialConnectionDetails.md +32 -0
  18. data/docs/FinancialConnectionDetailsMx.md +20 -0
  19. data/docs/FinancialConnectionDetailsPlaid.md +20 -0
  20. data/docs/FinancialConnectionDetailsTeller.md +20 -0
  21. data/docs/FinancialConnectionsAccount.md +8 -8
  22. data/docs/FinancialConnectionsAccountBalance.md +5 -3
  23. data/docs/FinancialConnectionsAccountCachedBalance.md +24 -0
  24. data/docs/FinancialConnectionsAccountDetails.md +2 -2
  25. data/docs/FinancialConnectionsAccountLiability.md +8 -8
  26. data/docs/FinancialConnectionsHolding.md +8 -8
  27. data/docs/FinancialConnectionsInvestmentSecurity.md +17 -7
  28. data/docs/FinancialConnectionsInvestmentSecurityExchange.md +18 -0
  29. data/docs/FinancialConnectionsInvestmentTransaction.md +22 -2
  30. data/docs/FinancialConnectionsOwner.md +4 -4
  31. data/docs/FinancialConnectionsOwnerEmailsInner.md +1 -1
  32. data/docs/FinancialConnectionsOwnerNamesInner.md +1 -1
  33. data/docs/FinancialConnectionsOwnerPhoneNumbersInner.md +1 -1
  34. data/docs/FinancialInstitution.md +3 -1
  35. data/docs/FuseApi.md +189 -185
  36. data/docs/FuseApiErrorData.md +1 -1
  37. data/docs/FuseApiWarningData.md +1 -1
  38. data/docs/GetAssetReportResponse.md +3 -1
  39. data/docs/GetEntityResponse.md +6 -2
  40. data/docs/GetFinancialConnectionResponse.md +20 -0
  41. data/docs/GetFinancialConnectionsAccountDetailsResponse.md +5 -3
  42. data/docs/GetFinancialConnectionsAccountsResponse.md +5 -3
  43. data/docs/GetFinancialConnectionsBalanceRequest.md +3 -1
  44. data/docs/GetFinancialConnectionsBalanceRequestOptions.md +18 -0
  45. data/docs/GetFinancialConnectionsBalanceResponse.md +20 -0
  46. data/docs/GetFinancialConnectionsOwnersResponse.md +1 -1
  47. data/docs/GetFinancialConnectionsOwnersResponseAccountsInner.md +5 -3
  48. data/docs/GetFinancialConnectionsTransactionsRequest.md +26 -0
  49. data/docs/GetFinancialConnectionsTransactionsResponse.md +22 -0
  50. data/docs/GetFinancialInstitutionResponse.md +4 -2
  51. data/docs/GetInvestmentHoldingsRequest.md +3 -3
  52. data/docs/GetInvestmentHoldingsRequestOptions.md +18 -0
  53. data/docs/GetInvestmentHoldingsResponse.md +4 -4
  54. data/docs/GetInvestmentTransactionsRequest.md +11 -1
  55. data/docs/GetInvestmentTransactionsRequestOptions.md +18 -0
  56. data/docs/GetInvestmentTransactionsResponse.md +4 -4
  57. data/docs/GetLiabilitiesResponse.md +3 -1
  58. data/docs/MigrateFinancialConnectionsAggregatorConnectionData.md +20 -0
  59. data/docs/MigrateFinancialConnectionsAggregatorConnectionDataMx.md +20 -0
  60. data/docs/MigrateFinancialConnectionsAggregatorConnectionDataPlaid.md +18 -0
  61. data/docs/MigrateFinancialConnectionsTokenRequest.md +24 -0
  62. data/docs/MigrateFinancialConnectionsTokenRequestEntity.md +18 -0
  63. data/docs/MigrateFinancialConnectionsTokenResponse.md +24 -0
  64. data/docs/SyncFinancialConnectionsDataResponse.md +3 -1
  65. data/docs/SyncTransactionsResponse.md +5 -3
  66. data/docs/{GetTransactionsResponseDataInner.md → Transaction.md} +16 -14
  67. data/docs/{GetTransactionsResponseDataInnerMerchant.md → TransactionMerchant.md} +2 -2
  68. data/docs/UpdateEntityResponse.md +3 -1
  69. data/docs/WebhookEvent.md +28 -0
  70. data/docs/WebhookSource.md +15 -0
  71. data/docs/WebhookType.md +15 -0
  72. data/fuse_client.gemspec +1 -1
  73. data/lib/fuse_client/api/fuse_api.rb +181 -197
  74. data/lib/fuse_client/api_client.rb +1 -1
  75. data/lib/fuse_client/api_error.rb +1 -1
  76. data/lib/fuse_client/configuration.rb +39 -18
  77. data/lib/fuse_client/models/account_subtype.rb +178 -0
  78. data/lib/fuse_client/models/account_type.rb +45 -0
  79. data/lib/fuse_client/models/aggregator.rb +3 -3
  80. data/lib/fuse_client/models/country_code.rb +40 -0
  81. data/lib/fuse_client/models/create_asset_report_request.rb +1 -1
  82. data/lib/fuse_client/models/create_asset_report_response.rb +15 -5
  83. data/lib/fuse_client/models/create_entity_request.rb +1 -1
  84. data/lib/fuse_client/models/create_entity_response.rb +15 -5
  85. data/lib/fuse_client/models/create_link_token_request.rb +2 -12
  86. data/lib/fuse_client/models/create_link_token_request_mx.rb +1 -1
  87. data/lib/fuse_client/models/create_link_token_request_plaid.rb +1 -1
  88. data/lib/fuse_client/models/create_link_token_response.rb +12 -2
  89. data/lib/fuse_client/models/create_session_request.rb +46 -5
  90. data/lib/fuse_client/models/create_session_response.rb +17 -2
  91. data/lib/fuse_client/models/{get_transactions_response.rb → currency.rb} +24 -30
  92. data/lib/fuse_client/models/delete_financial_connection_response.rb +255 -0
  93. data/lib/fuse_client/models/entity.rb +1 -1
  94. data/lib/fuse_client/models/exchange_financial_connections_public_token_request.rb +1 -1
  95. data/lib/fuse_client/models/exchange_financial_connections_public_token_response.rb +17 -2
  96. data/lib/fuse_client/models/financial_connection_data.rb +11 -1
  97. data/lib/fuse_client/models/financial_connection_details.rb +345 -0
  98. data/lib/fuse_client/models/financial_connection_details_mx.rb +241 -0
  99. data/lib/fuse_client/models/{get_transactions_request.rb → financial_connection_details_plaid.rb} +19 -23
  100. data/lib/fuse_client/models/financial_connection_details_teller.rb +241 -0
  101. data/lib/fuse_client/models/financial_connections_account.rb +59 -14
  102. data/lib/fuse_client/models/financial_connections_account_balance.rb +21 -6
  103. data/lib/fuse_client/models/financial_connections_account_cached_balance.rb +250 -0
  104. data/lib/fuse_client/models/financial_connections_account_details.rb +11 -1
  105. data/lib/fuse_client/models/financial_connections_account_details_ach.rb +1 -1
  106. data/lib/fuse_client/models/financial_connections_account_institution.rb +1 -1
  107. data/lib/fuse_client/models/financial_connections_account_liability.rb +59 -14
  108. data/lib/fuse_client/models/financial_connections_account_liability_all_of.rb +1 -1
  109. data/lib/fuse_client/models/financial_connections_account_liability_all_of_aprs.rb +1 -1
  110. data/lib/fuse_client/models/financial_connections_holding.rb +52 -23
  111. data/lib/fuse_client/models/financial_connections_investment_security.rb +92 -24
  112. data/lib/fuse_client/models/{transaction_common_model.rb → financial_connections_investment_security_exchange.rb} +12 -13
  113. data/lib/fuse_client/models/financial_connections_investment_transaction.rb +158 -10
  114. data/lib/fuse_client/models/financial_connections_owner.rb +21 -1
  115. data/lib/fuse_client/models/financial_connections_owner_addresses_inner.rb +1 -1
  116. data/lib/fuse_client/models/financial_connections_owner_addresses_inner_data.rb +1 -1
  117. data/lib/fuse_client/models/financial_connections_owner_emails_inner.rb +6 -1
  118. data/lib/fuse_client/models/financial_connections_owner_names_inner.rb +6 -1
  119. data/lib/fuse_client/models/financial_connections_owner_phone_numbers_inner.rb +6 -1
  120. data/lib/fuse_client/models/financial_institution.rb +22 -5
  121. data/lib/fuse_client/models/financial_institution_logo.rb +1 -1
  122. data/lib/fuse_client/models/fuse_api_error.rb +25 -1
  123. data/lib/fuse_client/models/fuse_api_error_data.rb +24 -2
  124. data/lib/fuse_client/models/fuse_api_warning.rb +1 -1
  125. data/lib/fuse_client/models/fuse_api_warning_data.rb +24 -2
  126. data/lib/fuse_client/models/fuse_api_warning_data_warnings_inner.rb +1 -1
  127. data/lib/fuse_client/models/get_asset_report_request.rb +1 -1
  128. data/lib/fuse_client/models/get_asset_report_response.rb +15 -5
  129. data/lib/fuse_client/models/get_asset_report_response_report.rb +1 -1
  130. data/lib/fuse_client/models/get_asset_report_response_report_accounts_inner.rb +1 -1
  131. data/lib/fuse_client/models/get_asset_report_response_report_accounts_inner_balances.rb +1 -1
  132. data/lib/fuse_client/models/get_asset_report_response_report_accounts_inner_historical_balances_inner.rb +1 -1
  133. data/lib/fuse_client/models/get_entity_response.rb +42 -5
  134. data/lib/fuse_client/models/get_financial_connection_response.rb +239 -0
  135. data/lib/fuse_client/models/get_financial_connections_account_details_request.rb +1 -1
  136. data/lib/fuse_client/models/get_financial_connections_account_details_response.rb +30 -5
  137. data/lib/fuse_client/models/get_financial_connections_accounts_request.rb +1 -1
  138. data/lib/fuse_client/models/get_financial_connections_accounts_response.rb +30 -5
  139. data/lib/fuse_client/models/get_financial_connections_balance_request.rb +14 -5
  140. data/lib/fuse_client/models/get_financial_connections_balance_request_options.rb +222 -0
  141. data/lib/fuse_client/models/get_financial_connections_balance_response.rb +241 -0
  142. data/lib/fuse_client/models/get_financial_connections_owners_request.rb +1 -1
  143. data/lib/fuse_client/models/get_financial_connections_owners_response.rb +6 -1
  144. data/lib/fuse_client/models/get_financial_connections_owners_response_accounts_inner.rb +30 -5
  145. data/lib/fuse_client/models/get_financial_connections_transactions_request.rb +334 -0
  146. data/lib/fuse_client/models/get_financial_connections_transactions_response.rb +256 -0
  147. data/lib/fuse_client/models/get_financial_institution_response.rb +25 -5
  148. data/lib/fuse_client/models/get_investment_holdings_request.rb +9 -10
  149. data/lib/fuse_client/models/get_investment_holdings_request_options.rb +222 -0
  150. data/lib/fuse_client/models/get_investment_holdings_response.rb +25 -11
  151. data/lib/fuse_client/models/get_investment_transactions_request.rb +95 -5
  152. data/lib/fuse_client/models/get_investment_transactions_request_options.rb +222 -0
  153. data/lib/fuse_client/models/get_investment_transactions_response.rb +25 -11
  154. data/lib/fuse_client/models/get_liabilities_request.rb +1 -1
  155. data/lib/fuse_client/models/get_liabilities_response.rb +15 -5
  156. data/lib/fuse_client/models/migrate_financial_connections_aggregator_connection_data.rb +229 -0
  157. data/lib/fuse_client/models/migrate_financial_connections_aggregator_connection_data_mx.rb +236 -0
  158. data/lib/fuse_client/models/migrate_financial_connections_aggregator_connection_data_plaid.rb +226 -0
  159. data/lib/fuse_client/models/{financial_connections_investment_account.rb → migrate_financial_connections_token_request.rb} +86 -70
  160. data/lib/fuse_client/models/{get_financial_connections_account_balance_response.rb → migrate_financial_connections_token_request_entity.rb} +12 -13
  161. data/lib/fuse_client/models/migrate_financial_connections_token_response.rb +264 -0
  162. data/lib/fuse_client/models/product.rb +3 -3
  163. data/lib/fuse_client/models/refresh_asset_report_request.rb +1 -1
  164. data/lib/fuse_client/models/sync_financial_connections_data_response.rb +15 -5
  165. data/lib/fuse_client/models/sync_transactions_request.rb +1 -1
  166. data/lib/fuse_client/models/sync_transactions_response.rb +17 -7
  167. data/lib/fuse_client/models/sync_transactions_response_removed_inner.rb +1 -1
  168. data/lib/fuse_client/models/{get_transactions_response_data_inner.rb → transaction.rb} +110 -21
  169. data/lib/fuse_client/models/{get_transactions_response_data_inner_merchant.rb → transaction_merchant.rb} +4 -4
  170. data/lib/fuse_client/models/update_entity_request.rb +1 -1
  171. data/lib/fuse_client/models/update_entity_response.rb +15 -5
  172. data/lib/fuse_client/models/{financial_connections_investment_transaction_data_inner.rb → webhook_event.rb} +94 -63
  173. data/lib/fuse_client/models/webhook_source.rb +43 -0
  174. data/lib/fuse_client/models/webhook_type.rb +42 -0
  175. data/lib/fuse_client/version.rb +2 -2
  176. data/lib/fuse_client.rb +30 -9
  177. data/spec/api/fuse_api_spec.rb +40 -39
  178. data/spec/api_client_spec.rb +3 -1
  179. data/spec/configuration_spec.rb +1 -1
  180. data/spec/models/account_subtype_spec.rb +28 -0
  181. data/spec/models/account_type_spec.rb +28 -0
  182. data/spec/models/aggregator_spec.rb +1 -1
  183. data/spec/models/country_code_spec.rb +28 -0
  184. data/spec/models/create_asset_report_request_spec.rb +1 -1
  185. data/spec/models/create_asset_report_response_spec.rb +7 -1
  186. data/spec/models/create_entity_request_spec.rb +1 -1
  187. data/spec/models/create_entity_response_spec.rb +7 -1
  188. data/spec/models/create_link_token_request_mx_spec.rb +1 -1
  189. data/spec/models/create_link_token_request_plaid_spec.rb +1 -1
  190. data/spec/models/create_link_token_request_spec.rb +1 -7
  191. data/spec/models/create_link_token_response_spec.rb +1 -1
  192. data/spec/models/create_session_request_spec.rb +25 -1
  193. data/spec/models/create_session_response_spec.rb +1 -1
  194. data/spec/models/{get_transactions_response_data_inner_merchant_spec.rb → currency_spec.rb} +13 -7
  195. data/spec/models/{get_transactions_request_spec.rb → delete_financial_connection_response_spec.rb} +10 -10
  196. data/spec/models/entity_spec.rb +1 -1
  197. data/spec/models/exchange_financial_connections_public_token_request_spec.rb +1 -1
  198. data/spec/models/exchange_financial_connections_public_token_response_spec.rb +1 -1
  199. data/spec/models/financial_connection_data_spec.rb +1 -1
  200. data/spec/models/financial_connection_details_mx_spec.rb +40 -0
  201. data/spec/models/financial_connection_details_plaid_spec.rb +40 -0
  202. data/spec/models/{financial_connections_investment_transaction_data_inner_spec.rb → financial_connection_details_spec.rb} +18 -14
  203. data/spec/models/financial_connection_details_teller_spec.rb +40 -0
  204. data/spec/models/financial_connections_account_balance_spec.rb +7 -1
  205. data/spec/models/financial_connections_account_cached_balance_spec.rb +52 -0
  206. data/spec/models/financial_connections_account_details_ach_spec.rb +1 -1
  207. data/spec/models/financial_connections_account_details_spec.rb +1 -1
  208. data/spec/models/financial_connections_account_institution_spec.rb +1 -1
  209. data/spec/models/financial_connections_account_liability_all_of_aprs_spec.rb +1 -1
  210. data/spec/models/financial_connections_account_liability_all_of_spec.rb +1 -1
  211. data/spec/models/financial_connections_account_liability_spec.rb +2 -2
  212. data/spec/models/financial_connections_account_spec.rb +2 -2
  213. data/spec/models/financial_connections_holding_spec.rb +4 -4
  214. data/spec/models/financial_connections_investment_security_exchange_spec.rb +34 -0
  215. data/spec/models/financial_connections_investment_security_spec.rb +34 -4
  216. data/spec/models/financial_connections_investment_transaction_spec.rb +62 -2
  217. data/spec/models/financial_connections_owner_addresses_inner_data_spec.rb +1 -1
  218. data/spec/models/financial_connections_owner_addresses_inner_spec.rb +1 -1
  219. data/spec/models/financial_connections_owner_emails_inner_spec.rb +1 -1
  220. data/spec/models/financial_connections_owner_names_inner_spec.rb +1 -1
  221. data/spec/models/financial_connections_owner_phone_numbers_inner_spec.rb +1 -1
  222. data/spec/models/financial_connections_owner_spec.rb +1 -1
  223. data/spec/models/financial_institution_logo_spec.rb +1 -1
  224. data/spec/models/financial_institution_spec.rb +7 -1
  225. data/spec/models/fuse_api_error_data_spec.rb +1 -1
  226. data/spec/models/fuse_api_error_spec.rb +9 -1
  227. data/spec/models/fuse_api_warning_data_spec.rb +1 -1
  228. data/spec/models/fuse_api_warning_data_warnings_inner_spec.rb +1 -1
  229. data/spec/models/fuse_api_warning_spec.rb +1 -1
  230. data/spec/models/get_asset_report_request_spec.rb +1 -1
  231. data/spec/models/get_asset_report_response_report_accounts_inner_balances_spec.rb +1 -1
  232. data/spec/models/get_asset_report_response_report_accounts_inner_historical_balances_inner_spec.rb +1 -1
  233. data/spec/models/get_asset_report_response_report_accounts_inner_spec.rb +1 -1
  234. data/spec/models/get_asset_report_response_report_spec.rb +1 -1
  235. data/spec/models/get_asset_report_response_spec.rb +7 -1
  236. data/spec/models/get_entity_response_spec.rb +13 -1
  237. data/spec/models/get_financial_connection_response_spec.rb +40 -0
  238. data/spec/models/get_financial_connections_account_details_request_spec.rb +1 -1
  239. data/spec/models/get_financial_connections_account_details_response_spec.rb +7 -1
  240. data/spec/models/get_financial_connections_accounts_request_spec.rb +1 -1
  241. data/spec/models/get_financial_connections_accounts_response_spec.rb +7 -1
  242. data/spec/models/{get_financial_connections_account_balance_response_spec.rb → get_financial_connections_balance_request_options_spec.rb} +8 -8
  243. data/spec/models/get_financial_connections_balance_request_spec.rb +7 -1
  244. data/spec/models/get_financial_connections_balance_response_spec.rb +40 -0
  245. data/spec/models/get_financial_connections_owners_request_spec.rb +1 -1
  246. data/spec/models/get_financial_connections_owners_response_accounts_inner_spec.rb +7 -1
  247. data/spec/models/get_financial_connections_owners_response_spec.rb +1 -1
  248. data/spec/models/get_financial_connections_transactions_request_spec.rb +58 -0
  249. data/spec/models/{get_transactions_response_spec.rb → get_financial_connections_transactions_response_spec.rb} +10 -10
  250. data/spec/models/get_financial_institution_response_spec.rb +7 -1
  251. data/spec/models/get_investment_holdings_request_options_spec.rb +34 -0
  252. data/spec/models/get_investment_holdings_request_spec.rb +2 -2
  253. data/spec/models/get_investment_holdings_response_spec.rb +2 -2
  254. data/spec/models/get_investment_transactions_request_options_spec.rb +34 -0
  255. data/spec/models/get_investment_transactions_request_spec.rb +31 -1
  256. data/spec/models/get_investment_transactions_response_spec.rb +2 -2
  257. data/spec/models/get_liabilities_request_spec.rb +1 -1
  258. data/spec/models/get_liabilities_response_spec.rb +7 -1
  259. data/spec/models/migrate_financial_connections_aggregator_connection_data_mx_spec.rb +40 -0
  260. data/spec/models/migrate_financial_connections_aggregator_connection_data_plaid_spec.rb +34 -0
  261. data/spec/models/migrate_financial_connections_aggregator_connection_data_spec.rb +40 -0
  262. data/spec/models/migrate_financial_connections_token_request_entity_spec.rb +34 -0
  263. data/spec/models/migrate_financial_connections_token_request_spec.rb +56 -0
  264. data/spec/models/migrate_financial_connections_token_response_spec.rb +52 -0
  265. data/spec/models/product_spec.rb +1 -1
  266. data/spec/models/refresh_asset_report_request_spec.rb +1 -1
  267. data/spec/models/sync_financial_connections_data_response_spec.rb +7 -1
  268. data/spec/models/sync_transactions_request_spec.rb +1 -1
  269. data/spec/models/sync_transactions_response_removed_inner_spec.rb +1 -1
  270. data/spec/models/sync_transactions_response_spec.rb +7 -1
  271. data/spec/models/{transaction_common_model_spec.rb → transaction_merchant_spec.rb} +8 -8
  272. data/spec/models/{get_transactions_response_data_inner_spec.rb → transaction_spec.rb} +23 -13
  273. data/spec/models/update_entity_request_spec.rb +1 -1
  274. data/spec/models/update_entity_response_spec.rb +7 -1
  275. data/spec/models/{financial_connections_investment_account_spec.rb → webhook_event_spec.rb} +17 -25
  276. data/spec/models/webhook_source_spec.rb +28 -0
  277. data/spec/models/webhook_type_spec.rb +28 -0
  278. data/spec/spec_helper.rb +1 -1
  279. metadata +118 -34
  280. data/docs/FinancialConnectionsInvestmentAccount.md +0 -32
  281. data/docs/FinancialConnectionsInvestmentTransactionDataInner.md +0 -32
  282. data/docs/GetFinancialConnectionsAccountBalanceResponse.md +0 -18
  283. data/docs/GetTransactionsRequest.md +0 -22
  284. data/docs/GetTransactionsResponse.md +0 -22
  285. data/docs/TransactionCommonModel.md +0 -18
data/docs/FuseApi.md CHANGED
@@ -5,12 +5,13 @@ All URIs are relative to *https://sandbox-api.letsfuse.com*
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
7
  | [**create_asset_report**](FuseApi.md#create_asset_report) | **POST** /v1/asset_report/create | |
8
- | [**create_entity**](FuseApi.md#create_entity) | **POST** /v1/entities | Create entity |
9
8
  | [**create_link_token**](FuseApi.md#create_link_token) | **POST** /v1/link/token | |
10
9
  | [**create_session**](FuseApi.md#create_session) | **POST** /v1/session | |
10
+ | [**delete_financial_connection**](FuseApi.md#delete_financial_connection) | **DELETE** /v1/financial_connections/{financial_connection_id_to_delete} | Delete a financial connection |
11
11
  | [**exchange_financial_connections_public_token**](FuseApi.md#exchange_financial_connections_public_token) | **POST** /v1/financial_connections/public_token/exchange | |
12
12
  | [**get_asset_report**](FuseApi.md#get_asset_report) | **POST** /v1/asset_report | |
13
13
  | [**get_entity**](FuseApi.md#get_entity) | **GET** /v1/entities/{entity_id} | Get entity |
14
+ | [**get_financial_connection**](FuseApi.md#get_financial_connection) | **GET** /v1/financial_connections/{financial_connection_id} | Get financial connection details |
14
15
  | [**get_financial_connections_account_details**](FuseApi.md#get_financial_connections_account_details) | **POST** /v1/financial_connections/accounts/details | Get account details |
15
16
  | [**get_financial_connections_accounts**](FuseApi.md#get_financial_connections_accounts) | **POST** /v1/financial_connections/accounts | Get accounts |
16
17
  | [**get_financial_connections_balances**](FuseApi.md#get_financial_connections_balances) | **POST** /v1/financial_connections/balances | Get balances |
@@ -19,10 +20,9 @@ All URIs are relative to *https://sandbox-api.letsfuse.com*
19
20
  | [**get_financial_institution**](FuseApi.md#get_financial_institution) | **GET** /v1/financial_connections/institutions/{institution_id} | Get a financial institution |
20
21
  | [**get_investment_holdings**](FuseApi.md#get_investment_holdings) | **POST** /v1/financial_connections/investments/holdings | Get investment holdings |
21
22
  | [**get_investment_transactions**](FuseApi.md#get_investment_transactions) | **POST** /v1/financial_connections/investments/transactions | Get investment transactions |
23
+ | [**migrate_financial_connection**](FuseApi.md#migrate_financial_connection) | **POST** /v1/financial_connections/migrate | Migrate financial connection |
22
24
  | [**refresh_asset_report**](FuseApi.md#refresh_asset_report) | **POST** /v1/asset_report/refresh | |
23
25
  | [**sync_financial_connections_data**](FuseApi.md#sync_financial_connections_data) | **POST** /v1/financial_connections/sync | Sync financial connections data |
24
- | [**sync_financial_connections_transactions**](FuseApi.md#sync_financial_connections_transactions) | **POST** /v1/financial_connections/transactions/sync | Sync transactions |
25
- | [**update_entity**](FuseApi.md#update_entity) | **PUT** /v1/entities/{entity_id_to_update} | Update entity |
26
26
  | [**v1_financial_connections_liabilities_post**](FuseApi.md#v1_financial_connections_liabilities_post) | **POST** /v1/financial_connections/liabilities | Get liabilities |
27
27
 
28
28
 
@@ -104,11 +104,13 @@ end
104
104
  - **Accept**: application/json
105
105
 
106
106
 
107
- ## create_entity
107
+ ## create_link_token
108
+
109
+ > <CreateLinkTokenResponse> create_link_token(opts)
110
+
108
111
 
109
- > <CreateEntityResponse> create_entity(create_entity_request)
110
112
 
111
- Create entity
113
+ Create a link token to start the process of a user connecting to a specific financial institution.
112
114
 
113
115
  ### Examples
114
116
 
@@ -129,32 +131,34 @@ FuseClient.configure do |config|
129
131
  end
130
132
 
131
133
  api_instance = FuseClient::FuseApi.new
132
- create_entity_request = FuseClient::CreateEntityRequest.new # CreateEntityRequest |
134
+ opts = {
135
+ create_link_token_request: FuseClient::CreateLinkTokenRequest.new({institution_id: 'institution_id_example', entity: FuseClient::Entity.new({id: 'id_example'}), client_name: 'client_name_example', session_client_secret: 'session_client_secret_example'}) # CreateLinkTokenRequest |
136
+ }
133
137
 
134
138
  begin
135
- # Create entity
136
- result = api_instance.create_entity(create_entity_request)
139
+
140
+ result = api_instance.create_link_token(opts)
137
141
  p result
138
142
  rescue FuseClient::ApiError => e
139
- puts "Error when calling FuseApi->create_entity: #{e}"
143
+ puts "Error when calling FuseApi->create_link_token: #{e}"
140
144
  end
141
145
  ```
142
146
 
143
- #### Using the create_entity_with_http_info variant
147
+ #### Using the create_link_token_with_http_info variant
144
148
 
145
149
  This returns an Array which contains the response data, status code and headers.
146
150
 
147
- > <Array(<CreateEntityResponse>, Integer, Hash)> create_entity_with_http_info(create_entity_request)
151
+ > <Array(<CreateLinkTokenResponse>, Integer, Hash)> create_link_token_with_http_info(opts)
148
152
 
149
153
  ```ruby
150
154
  begin
151
- # Create entity
152
- data, status_code, headers = api_instance.create_entity_with_http_info(create_entity_request)
155
+
156
+ data, status_code, headers = api_instance.create_link_token_with_http_info(opts)
153
157
  p status_code # => 2xx
154
158
  p headers # => { ... }
155
- p data # => <CreateEntityResponse>
159
+ p data # => <CreateLinkTokenResponse>
156
160
  rescue FuseClient::ApiError => e
157
- puts "Error when calling FuseApi->create_entity_with_http_info: #{e}"
161
+ puts "Error when calling FuseApi->create_link_token_with_http_info: #{e}"
158
162
  end
159
163
  ```
160
164
 
@@ -162,11 +166,11 @@ end
162
166
 
163
167
  | Name | Type | Description | Notes |
164
168
  | ---- | ---- | ----------- | ----- |
165
- | **create_entity_request** | [**CreateEntityRequest**](CreateEntityRequest.md) | | |
169
+ | **create_link_token_request** | [**CreateLinkTokenRequest**](CreateLinkTokenRequest.md) | | [optional] |
166
170
 
167
171
  ### Return type
168
172
 
169
- [**CreateEntityResponse**](CreateEntityResponse.md)
173
+ [**CreateLinkTokenResponse**](CreateLinkTokenResponse.md)
170
174
 
171
175
  ### Authorization
172
176
 
@@ -178,13 +182,13 @@ end
178
182
  - **Accept**: application/json
179
183
 
180
184
 
181
- ## create_link_token
185
+ ## create_session
182
186
 
183
- > <CreateLinkTokenResponse> create_link_token(opts)
187
+ > <CreateSessionResponse> create_session(opts)
184
188
 
185
189
 
186
190
 
187
- Create a link token to start the process of a user connecting to a specific financial institution.
191
+ Creates a session that returns a client_secret which is required as a parameter when initializing the Fuse SDK.
188
192
 
189
193
  ### Examples
190
194
 
@@ -206,33 +210,33 @@ end
206
210
 
207
211
  api_instance = FuseClient::FuseApi.new
208
212
  opts = {
209
- create_link_token_request: FuseClient::CreateLinkTokenRequest.new({institution_id: 'institution_id_example', entity: FuseClient::Entity.new({id: 'id_example'}), client_name: 'client_name_example', session_client_secret: 'session_client_secret_example'}) # CreateLinkTokenRequest |
213
+ create_session_request: FuseClient::CreateSessionRequest.new # CreateSessionRequest |
210
214
  }
211
215
 
212
216
  begin
213
217
 
214
- result = api_instance.create_link_token(opts)
218
+ result = api_instance.create_session(opts)
215
219
  p result
216
220
  rescue FuseClient::ApiError => e
217
- puts "Error when calling FuseApi->create_link_token: #{e}"
221
+ puts "Error when calling FuseApi->create_session: #{e}"
218
222
  end
219
223
  ```
220
224
 
221
- #### Using the create_link_token_with_http_info variant
225
+ #### Using the create_session_with_http_info variant
222
226
 
223
227
  This returns an Array which contains the response data, status code and headers.
224
228
 
225
- > <Array(<CreateLinkTokenResponse>, Integer, Hash)> create_link_token_with_http_info(opts)
229
+ > <Array(<CreateSessionResponse>, Integer, Hash)> create_session_with_http_info(opts)
226
230
 
227
231
  ```ruby
228
232
  begin
229
233
 
230
- data, status_code, headers = api_instance.create_link_token_with_http_info(opts)
234
+ data, status_code, headers = api_instance.create_session_with_http_info(opts)
231
235
  p status_code # => 2xx
232
236
  p headers # => { ... }
233
- p data # => <CreateLinkTokenResponse>
237
+ p data # => <CreateSessionResponse>
234
238
  rescue FuseClient::ApiError => e
235
- puts "Error when calling FuseApi->create_link_token_with_http_info: #{e}"
239
+ puts "Error when calling FuseApi->create_session_with_http_info: #{e}"
236
240
  end
237
241
  ```
238
242
 
@@ -240,11 +244,11 @@ end
240
244
 
241
245
  | Name | Type | Description | Notes |
242
246
  | ---- | ---- | ----------- | ----- |
243
- | **create_link_token_request** | [**CreateLinkTokenRequest**](CreateLinkTokenRequest.md) | | [optional] |
247
+ | **create_session_request** | [**CreateSessionRequest**](CreateSessionRequest.md) | | [optional] |
244
248
 
245
249
  ### Return type
246
250
 
247
- [**CreateLinkTokenResponse**](CreateLinkTokenResponse.md)
251
+ [**CreateSessionResponse**](CreateSessionResponse.md)
248
252
 
249
253
  ### Authorization
250
254
 
@@ -256,13 +260,11 @@ end
256
260
  - **Accept**: application/json
257
261
 
258
262
 
259
- ## create_session
263
+ ## delete_financial_connection
260
264
 
261
- > <CreateSessionResponse> create_session(opts)
265
+ > <DeleteFinancialConnectionResponse> delete_financial_connection(financial_connection_id_to_delete)
262
266
 
263
-
264
-
265
- Creates a session that returns a client_secret which is required as a parameter when initializing the Fuse SDK.
267
+ Delete a financial connection
266
268
 
267
269
  ### Examples
268
270
 
@@ -283,34 +285,32 @@ FuseClient.configure do |config|
283
285
  end
284
286
 
285
287
  api_instance = FuseClient::FuseApi.new
286
- opts = {
287
- create_session_request: FuseClient::CreateSessionRequest.new # CreateSessionRequest |
288
- }
288
+ financial_connection_id_to_delete = 'financial_connection_id_to_delete_example' # String |
289
289
 
290
290
  begin
291
-
292
- result = api_instance.create_session(opts)
291
+ # Delete a financial connection
292
+ result = api_instance.delete_financial_connection(financial_connection_id_to_delete)
293
293
  p result
294
294
  rescue FuseClient::ApiError => e
295
- puts "Error when calling FuseApi->create_session: #{e}"
295
+ puts "Error when calling FuseApi->delete_financial_connection: #{e}"
296
296
  end
297
297
  ```
298
298
 
299
- #### Using the create_session_with_http_info variant
299
+ #### Using the delete_financial_connection_with_http_info variant
300
300
 
301
301
  This returns an Array which contains the response data, status code and headers.
302
302
 
303
- > <Array(<CreateSessionResponse>, Integer, Hash)> create_session_with_http_info(opts)
303
+ > <Array(<DeleteFinancialConnectionResponse>, Integer, Hash)> delete_financial_connection_with_http_info(financial_connection_id_to_delete)
304
304
 
305
305
  ```ruby
306
306
  begin
307
-
308
- data, status_code, headers = api_instance.create_session_with_http_info(opts)
307
+ # Delete a financial connection
308
+ data, status_code, headers = api_instance.delete_financial_connection_with_http_info(financial_connection_id_to_delete)
309
309
  p status_code # => 2xx
310
310
  p headers # => { ... }
311
- p data # => <CreateSessionResponse>
311
+ p data # => <DeleteFinancialConnectionResponse>
312
312
  rescue FuseClient::ApiError => e
313
- puts "Error when calling FuseApi->create_session_with_http_info: #{e}"
313
+ puts "Error when calling FuseApi->delete_financial_connection_with_http_info: #{e}"
314
314
  end
315
315
  ```
316
316
 
@@ -318,11 +318,11 @@ end
318
318
 
319
319
  | Name | Type | Description | Notes |
320
320
  | ---- | ---- | ----------- | ----- |
321
- | **create_session_request** | [**CreateSessionRequest**](CreateSessionRequest.md) | | [optional] |
321
+ | **financial_connection_id_to_delete** | **String** | | |
322
322
 
323
323
  ### Return type
324
324
 
325
- [**CreateSessionResponse**](CreateSessionResponse.md)
325
+ [**DeleteFinancialConnectionResponse**](DeleteFinancialConnectionResponse.md)
326
326
 
327
327
  ### Authorization
328
328
 
@@ -330,7 +330,7 @@ end
330
330
 
331
331
  ### HTTP request headers
332
332
 
333
- - **Content-Type**: application/json
333
+ - **Content-Type**: Not defined
334
334
  - **Accept**: application/json
335
335
 
336
336
 
@@ -496,6 +496,8 @@ end
496
496
 
497
497
  Get entity
498
498
 
499
+ An entity is automatically created after a successful connection. The id of the entity is what is set when calling the 'create session' endpoint
500
+
499
501
  ### Examples
500
502
 
501
503
  ```ruby
@@ -564,6 +566,80 @@ end
564
566
  - **Accept**: application/json
565
567
 
566
568
 
569
+ ## get_financial_connection
570
+
571
+ > <GetFinancialConnectionResponse> get_financial_connection(financial_connection_id)
572
+
573
+ Get financial connection details
574
+
575
+ ### Examples
576
+
577
+ ```ruby
578
+ require 'time'
579
+ require 'fuse_client'
580
+ # setup authorization
581
+ FuseClient.configure do |config|
582
+ # Configure API key authorization: fuseApiKey
583
+ config.api_key['fuseApiKey'] = 'YOUR API KEY'
584
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
585
+ # config.api_key_prefix['fuseApiKey'] = 'Bearer'
586
+
587
+ # Configure API key authorization: fuseClientId
588
+ config.api_key['fuseClientId'] = 'YOUR API KEY'
589
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
590
+ # config.api_key_prefix['fuseClientId'] = 'Bearer'
591
+ end
592
+
593
+ api_instance = FuseClient::FuseApi.new
594
+ financial_connection_id = 'financial_connection_id_example' # String |
595
+
596
+ begin
597
+ # Get financial connection details
598
+ result = api_instance.get_financial_connection(financial_connection_id)
599
+ p result
600
+ rescue FuseClient::ApiError => e
601
+ puts "Error when calling FuseApi->get_financial_connection: #{e}"
602
+ end
603
+ ```
604
+
605
+ #### Using the get_financial_connection_with_http_info variant
606
+
607
+ This returns an Array which contains the response data, status code and headers.
608
+
609
+ > <Array(<GetFinancialConnectionResponse>, Integer, Hash)> get_financial_connection_with_http_info(financial_connection_id)
610
+
611
+ ```ruby
612
+ begin
613
+ # Get financial connection details
614
+ data, status_code, headers = api_instance.get_financial_connection_with_http_info(financial_connection_id)
615
+ p status_code # => 2xx
616
+ p headers # => { ... }
617
+ p data # => <GetFinancialConnectionResponse>
618
+ rescue FuseClient::ApiError => e
619
+ puts "Error when calling FuseApi->get_financial_connection_with_http_info: #{e}"
620
+ end
621
+ ```
622
+
623
+ ### Parameters
624
+
625
+ | Name | Type | Description | Notes |
626
+ | ---- | ---- | ----------- | ----- |
627
+ | **financial_connection_id** | **String** | | |
628
+
629
+ ### Return type
630
+
631
+ [**GetFinancialConnectionResponse**](GetFinancialConnectionResponse.md)
632
+
633
+ ### Authorization
634
+
635
+ [fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
636
+
637
+ ### HTTP request headers
638
+
639
+ - **Content-Type**: Not defined
640
+ - **Accept**: application/json
641
+
642
+
567
643
  ## get_financial_connections_account_details
568
644
 
569
645
  > <GetFinancialConnectionsAccountDetailsResponse> get_financial_connections_account_details(get_financial_connections_account_details_request)
@@ -714,7 +790,7 @@ end
714
790
 
715
791
  ## get_financial_connections_balances
716
792
 
717
- > <GetFinancialConnectionsAccountBalanceResponse> get_financial_connections_balances(get_financial_connections_balance_request)
793
+ > <GetFinancialConnectionsBalanceResponse> get_financial_connections_balances(get_financial_connections_balance_request)
718
794
 
719
795
  Get balances
720
796
 
@@ -752,7 +828,7 @@ end
752
828
 
753
829
  This returns an Array which contains the response data, status code and headers.
754
830
 
755
- > <Array(<GetFinancialConnectionsAccountBalanceResponse>, Integer, Hash)> get_financial_connections_balances_with_http_info(get_financial_connections_balance_request)
831
+ > <Array(<GetFinancialConnectionsBalanceResponse>, Integer, Hash)> get_financial_connections_balances_with_http_info(get_financial_connections_balance_request)
756
832
 
757
833
  ```ruby
758
834
  begin
@@ -760,7 +836,7 @@ begin
760
836
  data, status_code, headers = api_instance.get_financial_connections_balances_with_http_info(get_financial_connections_balance_request)
761
837
  p status_code # => 2xx
762
838
  p headers # => { ... }
763
- p data # => <GetFinancialConnectionsAccountBalanceResponse>
839
+ p data # => <GetFinancialConnectionsBalanceResponse>
764
840
  rescue FuseClient::ApiError => e
765
841
  puts "Error when calling FuseApi->get_financial_connections_balances_with_http_info: #{e}"
766
842
  end
@@ -774,7 +850,7 @@ end
774
850
 
775
851
  ### Return type
776
852
 
777
- [**GetFinancialConnectionsAccountBalanceResponse**](GetFinancialConnectionsAccountBalanceResponse.md)
853
+ [**GetFinancialConnectionsBalanceResponse**](GetFinancialConnectionsBalanceResponse.md)
778
854
 
779
855
  ### Authorization
780
856
 
@@ -862,7 +938,7 @@ end
862
938
 
863
939
  ## get_financial_connections_transactions
864
940
 
865
- > <GetTransactionsResponse> get_financial_connections_transactions(get_transactions_request)
941
+ > <GetFinancialConnectionsTransactionsResponse> get_financial_connections_transactions(get_financial_connections_transactions_request)
866
942
 
867
943
  Get transactions
868
944
 
@@ -885,11 +961,11 @@ FuseClient.configure do |config|
885
961
  end
886
962
 
887
963
  api_instance = FuseClient::FuseApi.new
888
- get_transactions_request = FuseClient::GetTransactionsRequest.new({access_token: 'access_token_example'}) # GetTransactionsRequest |
964
+ get_financial_connections_transactions_request = FuseClient::GetFinancialConnectionsTransactionsRequest.new({access_token: 'access_token_example', start_date: 'start_date_example', end_date: 'end_date_example', page: 37, records_per_page: 37}) # GetFinancialConnectionsTransactionsRequest |
889
965
 
890
966
  begin
891
967
  # Get transactions
892
- result = api_instance.get_financial_connections_transactions(get_transactions_request)
968
+ result = api_instance.get_financial_connections_transactions(get_financial_connections_transactions_request)
893
969
  p result
894
970
  rescue FuseClient::ApiError => e
895
971
  puts "Error when calling FuseApi->get_financial_connections_transactions: #{e}"
@@ -900,15 +976,15 @@ end
900
976
 
901
977
  This returns an Array which contains the response data, status code and headers.
902
978
 
903
- > <Array(<GetTransactionsResponse>, Integer, Hash)> get_financial_connections_transactions_with_http_info(get_transactions_request)
979
+ > <Array(<GetFinancialConnectionsTransactionsResponse>, Integer, Hash)> get_financial_connections_transactions_with_http_info(get_financial_connections_transactions_request)
904
980
 
905
981
  ```ruby
906
982
  begin
907
983
  # Get transactions
908
- data, status_code, headers = api_instance.get_financial_connections_transactions_with_http_info(get_transactions_request)
984
+ data, status_code, headers = api_instance.get_financial_connections_transactions_with_http_info(get_financial_connections_transactions_request)
909
985
  p status_code # => 2xx
910
986
  p headers # => { ... }
911
- p data # => <GetTransactionsResponse>
987
+ p data # => <GetFinancialConnectionsTransactionsResponse>
912
988
  rescue FuseClient::ApiError => e
913
989
  puts "Error when calling FuseApi->get_financial_connections_transactions_with_http_info: #{e}"
914
990
  end
@@ -918,11 +994,11 @@ end
918
994
 
919
995
  | Name | Type | Description | Notes |
920
996
  | ---- | ---- | ----------- | ----- |
921
- | **get_transactions_request** | [**GetTransactionsRequest**](GetTransactionsRequest.md) | | |
997
+ | **get_financial_connections_transactions_request** | [**GetFinancialConnectionsTransactionsRequest**](GetFinancialConnectionsTransactionsRequest.md) | | |
922
998
 
923
999
  ### Return type
924
1000
 
925
- [**GetTransactionsResponse**](GetTransactionsResponse.md)
1001
+ [**GetFinancialConnectionsTransactionsResponse**](GetFinancialConnectionsTransactionsResponse.md)
926
1002
 
927
1003
  ### Authorization
928
1004
 
@@ -1158,13 +1234,13 @@ end
1158
1234
  - **Accept**: application/json
1159
1235
 
1160
1236
 
1161
- ## refresh_asset_report
1162
-
1163
- > <CreateAssetReportResponse> refresh_asset_report(opts)
1237
+ ## migrate_financial_connection
1164
1238
 
1239
+ > <MigrateFinancialConnectionsTokenResponse> migrate_financial_connection(opts)
1165
1240
 
1241
+ Migrate financial connection
1166
1242
 
1167
- Refreshes the Asset Report in JSON format.
1243
+ This endpoint migrates financial connections from Plaid or MX into the unified Fuse API. It accepts a POST request with connection data, aggregator, entity, and Fuse products, and responds with a JSON payload containing the migrated connection's data, access token, ID, and request ID.
1168
1244
 
1169
1245
  ### Examples
1170
1246
 
@@ -1186,33 +1262,33 @@ end
1186
1262
 
1187
1263
  api_instance = FuseClient::FuseApi.new
1188
1264
  opts = {
1189
- refresh_asset_report_request: FuseClient::RefreshAssetReportRequest.new({days_requested: 3.56}) # RefreshAssetReportRequest |
1265
+ migrate_financial_connections_token_request: FuseClient::MigrateFinancialConnectionsTokenRequest.new({connection_data: FuseClient::MigrateFinancialConnectionsAggregatorConnectionData.new, aggregator: 'plaid', entity: FuseClient::MigrateFinancialConnectionsTokenRequestEntity.new, fuse_products: [FuseClient::Product::ACCOUNT_DETAILS]}) # MigrateFinancialConnectionsTokenRequest |
1190
1266
  }
1191
1267
 
1192
1268
  begin
1193
-
1194
- result = api_instance.refresh_asset_report(opts)
1269
+ # Migrate financial connection
1270
+ result = api_instance.migrate_financial_connection(opts)
1195
1271
  p result
1196
1272
  rescue FuseClient::ApiError => e
1197
- puts "Error when calling FuseApi->refresh_asset_report: #{e}"
1273
+ puts "Error when calling FuseApi->migrate_financial_connection: #{e}"
1198
1274
  end
1199
1275
  ```
1200
1276
 
1201
- #### Using the refresh_asset_report_with_http_info variant
1277
+ #### Using the migrate_financial_connection_with_http_info variant
1202
1278
 
1203
1279
  This returns an Array which contains the response data, status code and headers.
1204
1280
 
1205
- > <Array(<CreateAssetReportResponse>, Integer, Hash)> refresh_asset_report_with_http_info(opts)
1281
+ > <Array(<MigrateFinancialConnectionsTokenResponse>, Integer, Hash)> migrate_financial_connection_with_http_info(opts)
1206
1282
 
1207
1283
  ```ruby
1208
1284
  begin
1209
-
1210
- data, status_code, headers = api_instance.refresh_asset_report_with_http_info(opts)
1285
+ # Migrate financial connection
1286
+ data, status_code, headers = api_instance.migrate_financial_connection_with_http_info(opts)
1211
1287
  p status_code # => 2xx
1212
1288
  p headers # => { ... }
1213
- p data # => <CreateAssetReportResponse>
1289
+ p data # => <MigrateFinancialConnectionsTokenResponse>
1214
1290
  rescue FuseClient::ApiError => e
1215
- puts "Error when calling FuseApi->refresh_asset_report_with_http_info: #{e}"
1291
+ puts "Error when calling FuseApi->migrate_financial_connection_with_http_info: #{e}"
1216
1292
  end
1217
1293
  ```
1218
1294
 
@@ -1220,11 +1296,11 @@ end
1220
1296
 
1221
1297
  | Name | Type | Description | Notes |
1222
1298
  | ---- | ---- | ----------- | ----- |
1223
- | **refresh_asset_report_request** | [**RefreshAssetReportRequest**](RefreshAssetReportRequest.md) | | [optional] |
1299
+ | **migrate_financial_connections_token_request** | [**MigrateFinancialConnectionsTokenRequest**](MigrateFinancialConnectionsTokenRequest.md) | | [optional] |
1224
1300
 
1225
1301
  ### Return type
1226
1302
 
1227
- [**CreateAssetReportResponse**](CreateAssetReportResponse.md)
1303
+ [**MigrateFinancialConnectionsTokenResponse**](MigrateFinancialConnectionsTokenResponse.md)
1228
1304
 
1229
1305
  ### Authorization
1230
1306
 
@@ -1236,87 +1312,13 @@ end
1236
1312
  - **Accept**: application/json
1237
1313
 
1238
1314
 
1239
- ## sync_financial_connections_data
1240
-
1241
- > <SyncFinancialConnectionsDataResponse> sync_financial_connections_data(body)
1242
-
1243
- Sync financial connections data
1244
-
1245
- Call this endpoint upon receiving a SYNC_REQUIRED webhook. This will keep the financial connections data up to date.
1246
-
1247
- ### Examples
1248
-
1249
- ```ruby
1250
- require 'time'
1251
- require 'fuse_client'
1252
- # setup authorization
1253
- FuseClient.configure do |config|
1254
- # Configure API key authorization: fuseApiKey
1255
- config.api_key['fuseApiKey'] = 'YOUR API KEY'
1256
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1257
- # config.api_key_prefix['fuseApiKey'] = 'Bearer'
1258
-
1259
- # Configure API key authorization: fuseClientId
1260
- config.api_key['fuseClientId'] = 'YOUR API KEY'
1261
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1262
- # config.api_key_prefix['fuseClientId'] = 'Bearer'
1263
- end
1264
-
1265
- api_instance = FuseClient::FuseApi.new
1266
- body = { ... } # Object |
1267
-
1268
- begin
1269
- # Sync financial connections data
1270
- result = api_instance.sync_financial_connections_data(body)
1271
- p result
1272
- rescue FuseClient::ApiError => e
1273
- puts "Error when calling FuseApi->sync_financial_connections_data: #{e}"
1274
- end
1275
- ```
1276
-
1277
- #### Using the sync_financial_connections_data_with_http_info variant
1278
-
1279
- This returns an Array which contains the response data, status code and headers.
1280
-
1281
- > <Array(<SyncFinancialConnectionsDataResponse>, Integer, Hash)> sync_financial_connections_data_with_http_info(body)
1282
-
1283
- ```ruby
1284
- begin
1285
- # Sync financial connections data
1286
- data, status_code, headers = api_instance.sync_financial_connections_data_with_http_info(body)
1287
- p status_code # => 2xx
1288
- p headers # => { ... }
1289
- p data # => <SyncFinancialConnectionsDataResponse>
1290
- rescue FuseClient::ApiError => e
1291
- puts "Error when calling FuseApi->sync_financial_connections_data_with_http_info: #{e}"
1292
- end
1293
- ```
1294
-
1295
- ### Parameters
1296
-
1297
- | Name | Type | Description | Notes |
1298
- | ---- | ---- | ----------- | ----- |
1299
- | **body** | **Object** | | |
1300
-
1301
- ### Return type
1302
-
1303
- [**SyncFinancialConnectionsDataResponse**](SyncFinancialConnectionsDataResponse.md)
1304
-
1305
- ### Authorization
1306
-
1307
- [fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
1308
-
1309
- ### HTTP request headers
1310
-
1311
- - **Content-Type**: application/json
1312
- - **Accept**: application/json
1315
+ ## refresh_asset_report
1313
1316
 
1317
+ > <CreateAssetReportResponse> refresh_asset_report(opts)
1314
1318
 
1315
- ## sync_financial_connections_transactions
1316
1319
 
1317
- > <SyncTransactionsResponse> sync_financial_connections_transactions(sync_transactions_request)
1318
1320
 
1319
- Sync transactions
1321
+ Refreshes the Asset Report in JSON format.
1320
1322
 
1321
1323
  ### Examples
1322
1324
 
@@ -1337,32 +1339,34 @@ FuseClient.configure do |config|
1337
1339
  end
1338
1340
 
1339
1341
  api_instance = FuseClient::FuseApi.new
1340
- sync_transactions_request = FuseClient::SyncTransactionsRequest.new({access_token: 'access_token_example'}) # SyncTransactionsRequest |
1342
+ opts = {
1343
+ refresh_asset_report_request: FuseClient::RefreshAssetReportRequest.new({days_requested: 3.56}) # RefreshAssetReportRequest |
1344
+ }
1341
1345
 
1342
1346
  begin
1343
- # Sync transactions
1344
- result = api_instance.sync_financial_connections_transactions(sync_transactions_request)
1347
+
1348
+ result = api_instance.refresh_asset_report(opts)
1345
1349
  p result
1346
1350
  rescue FuseClient::ApiError => e
1347
- puts "Error when calling FuseApi->sync_financial_connections_transactions: #{e}"
1351
+ puts "Error when calling FuseApi->refresh_asset_report: #{e}"
1348
1352
  end
1349
1353
  ```
1350
1354
 
1351
- #### Using the sync_financial_connections_transactions_with_http_info variant
1355
+ #### Using the refresh_asset_report_with_http_info variant
1352
1356
 
1353
1357
  This returns an Array which contains the response data, status code and headers.
1354
1358
 
1355
- > <Array(<SyncTransactionsResponse>, Integer, Hash)> sync_financial_connections_transactions_with_http_info(sync_transactions_request)
1359
+ > <Array(<CreateAssetReportResponse>, Integer, Hash)> refresh_asset_report_with_http_info(opts)
1356
1360
 
1357
1361
  ```ruby
1358
1362
  begin
1359
- # Sync transactions
1360
- data, status_code, headers = api_instance.sync_financial_connections_transactions_with_http_info(sync_transactions_request)
1363
+
1364
+ data, status_code, headers = api_instance.refresh_asset_report_with_http_info(opts)
1361
1365
  p status_code # => 2xx
1362
1366
  p headers # => { ... }
1363
- p data # => <SyncTransactionsResponse>
1367
+ p data # => <CreateAssetReportResponse>
1364
1368
  rescue FuseClient::ApiError => e
1365
- puts "Error when calling FuseApi->sync_financial_connections_transactions_with_http_info: #{e}"
1369
+ puts "Error when calling FuseApi->refresh_asset_report_with_http_info: #{e}"
1366
1370
  end
1367
1371
  ```
1368
1372
 
@@ -1370,11 +1374,11 @@ end
1370
1374
 
1371
1375
  | Name | Type | Description | Notes |
1372
1376
  | ---- | ---- | ----------- | ----- |
1373
- | **sync_transactions_request** | [**SyncTransactionsRequest**](SyncTransactionsRequest.md) | | |
1377
+ | **refresh_asset_report_request** | [**RefreshAssetReportRequest**](RefreshAssetReportRequest.md) | | [optional] |
1374
1378
 
1375
1379
  ### Return type
1376
1380
 
1377
- [**SyncTransactionsResponse**](SyncTransactionsResponse.md)
1381
+ [**CreateAssetReportResponse**](CreateAssetReportResponse.md)
1378
1382
 
1379
1383
  ### Authorization
1380
1384
 
@@ -1386,11 +1390,13 @@ end
1386
1390
  - **Accept**: application/json
1387
1391
 
1388
1392
 
1389
- ## update_entity
1393
+ ## sync_financial_connections_data
1390
1394
 
1391
- > <UpdateEntityResponse> update_entity(entity_id_to_update, update_entity_request)
1395
+ > <SyncFinancialConnectionsDataResponse> sync_financial_connections_data(body)
1396
+
1397
+ Sync financial connections data
1392
1398
 
1393
- Update entity
1399
+ Call this endpoint upon receiving a financial_connection.sync_data webhook. This will keep the financial connections data up to date.
1394
1400
 
1395
1401
  ### Examples
1396
1402
 
@@ -1411,33 +1417,32 @@ FuseClient.configure do |config|
1411
1417
  end
1412
1418
 
1413
1419
  api_instance = FuseClient::FuseApi.new
1414
- entity_id_to_update = 'entity_id_to_update_example' # String |
1415
- update_entity_request = FuseClient::UpdateEntityRequest.new # UpdateEntityRequest |
1420
+ body = { ... } # Object |
1416
1421
 
1417
1422
  begin
1418
- # Update entity
1419
- result = api_instance.update_entity(entity_id_to_update, update_entity_request)
1423
+ # Sync financial connections data
1424
+ result = api_instance.sync_financial_connections_data(body)
1420
1425
  p result
1421
1426
  rescue FuseClient::ApiError => e
1422
- puts "Error when calling FuseApi->update_entity: #{e}"
1427
+ puts "Error when calling FuseApi->sync_financial_connections_data: #{e}"
1423
1428
  end
1424
1429
  ```
1425
1430
 
1426
- #### Using the update_entity_with_http_info variant
1431
+ #### Using the sync_financial_connections_data_with_http_info variant
1427
1432
 
1428
1433
  This returns an Array which contains the response data, status code and headers.
1429
1434
 
1430
- > <Array(<UpdateEntityResponse>, Integer, Hash)> update_entity_with_http_info(entity_id_to_update, update_entity_request)
1435
+ > <Array(<SyncFinancialConnectionsDataResponse>, Integer, Hash)> sync_financial_connections_data_with_http_info(body)
1431
1436
 
1432
1437
  ```ruby
1433
1438
  begin
1434
- # Update entity
1435
- data, status_code, headers = api_instance.update_entity_with_http_info(entity_id_to_update, update_entity_request)
1439
+ # Sync financial connections data
1440
+ data, status_code, headers = api_instance.sync_financial_connections_data_with_http_info(body)
1436
1441
  p status_code # => 2xx
1437
1442
  p headers # => { ... }
1438
- p data # => <UpdateEntityResponse>
1443
+ p data # => <SyncFinancialConnectionsDataResponse>
1439
1444
  rescue FuseClient::ApiError => e
1440
- puts "Error when calling FuseApi->update_entity_with_http_info: #{e}"
1445
+ puts "Error when calling FuseApi->sync_financial_connections_data_with_http_info: #{e}"
1441
1446
  end
1442
1447
  ```
1443
1448
 
@@ -1445,12 +1450,11 @@ end
1445
1450
 
1446
1451
  | Name | Type | Description | Notes |
1447
1452
  | ---- | ---- | ----------- | ----- |
1448
- | **entity_id_to_update** | **String** | | |
1449
- | **update_entity_request** | [**UpdateEntityRequest**](UpdateEntityRequest.md) | | |
1453
+ | **body** | **Object** | | |
1450
1454
 
1451
1455
  ### Return type
1452
1456
 
1453
- [**UpdateEntityResponse**](UpdateEntityResponse.md)
1457
+ [**SyncFinancialConnectionsDataResponse**](SyncFinancialConnectionsDataResponse.md)
1454
1458
 
1455
1459
  ### Authorization
1456
1460