fuse_client 1.0.34 → 1.0.36

Sign up to get free protection for your applications and to get access to all the features.
Files changed (413) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +5 -5
  3. data/README.md +1 -0
  4. data/docs/CreateLinkTokenRequestTellerConfig.md +3 -1
  5. data/docs/CreateLinkTokenRequestTellerConfigAccountFilter.md +20 -0
  6. data/docs/CreateLinkTokenRequestTellerConfigAccountFilterCredit.md +49 -0
  7. data/docs/CreateLinkTokenRequestTellerConfigAccountFilterCreditOneOf.md +18 -0
  8. data/docs/CreateLinkTokenRequestTellerConfigAccountFilterDepository.md +49 -0
  9. data/docs/CreateLinkTokenRequestTellerConfigAccountFilterDepositoryOneOf.md +18 -0
  10. data/docs/CreateSpendPowerCustomizationRequest.md +3 -1
  11. data/docs/EnrichedTransaction.md +3 -1
  12. data/docs/EvalSpendPowerResponse.md +8 -4
  13. data/docs/ExternalTransactionEvent.md +7 -9
  14. data/docs/FinQLComparisonFeature.md +26 -0
  15. data/docs/FinQLFeature.md +61 -0
  16. data/docs/FinQLFeatureOneOf.md +18 -0
  17. data/docs/FinQLFeatureOneOf1.md +18 -0
  18. data/docs/FinQLFeatureOneOf2.md +18 -0
  19. data/docs/FinQLFeatureOneOf3.md +18 -0
  20. data/docs/FinQLFeatureOneOf4.md +18 -0
  21. data/docs/FinQLFeatureOneOf5.md +18 -0
  22. data/docs/FinQLFeatureOneOf6.md +18 -0
  23. data/docs/FinQLFeatureOneOf7.md +18 -0
  24. data/docs/FinQLFeatureRequest.md +15 -0
  25. data/docs/FinQLFrequencyFeature.md +20 -0
  26. data/docs/FinQLIndividualMerchantFeature.md +20 -0
  27. data/docs/FinQLInterestFeature.md +18 -0
  28. data/docs/FinQLMerchantCategoriesFeatureInner.md +20 -0
  29. data/docs/FinQLMerchantCategoriesFeatureInnerResultInner.md +20 -0
  30. data/docs/FinQLPromptRequest.md +22 -0
  31. data/docs/FinQLPromptResponse.md +20 -0
  32. data/docs/FinQLTimeBasedFeatureInner.md +20 -0
  33. data/docs/FinQLTopMerchantsFeatureInner.md +22 -0
  34. data/docs/FinanceScore.md +30 -0
  35. data/docs/FinancialConnectionDetails.md +7 -1
  36. data/docs/FinancialConnectionDetailsFlinks.md +18 -0
  37. data/docs/FinancialConnectionDetailsMono.md +18 -0
  38. data/docs/FinancialConnectionDetailsSnaptrade.md +22 -0
  39. data/docs/FinancialConnectionsAccount.md +4 -2
  40. data/docs/FinancialConnectionsAccountDetails.md +3 -1
  41. data/docs/FinancialConnectionsAccountLiability.md +3 -1
  42. data/docs/FuseApi.md +81 -2
  43. data/docs/GetFinanceScoreResponse.md +1 -1
  44. data/docs/InAppTransactionEvent.md +7 -7
  45. data/docs/Merchant.md +22 -0
  46. data/docs/{EnrichedTransactionLogo.md → MerchantLogo.md} +2 -2
  47. data/docs/SpendPower.md +5 -1
  48. data/docs/SpendPowerCustomization.md +5 -3
  49. data/docs/Transaction.md +2 -0
  50. data/docs/TransactionToEnrich.md +1 -1
  51. data/docs/UpdateSpendPowerCustomizationRequest.md +3 -1
  52. data/docs/UpdatedBalanceEvent.md +5 -5
  53. data/fuse_client.gemspec +1 -1
  54. data/lib/fuse_client/api/fuse_api.rb +65 -1
  55. data/lib/fuse_client/api/spend_power_api.rb +1 -1
  56. data/lib/fuse_client/api_client.rb +1 -1
  57. data/lib/fuse_client/api_error.rb +1 -1
  58. data/lib/fuse_client/configuration.rb +11 -11
  59. data/lib/fuse_client/models/account_subtype.rb +1 -1
  60. data/lib/fuse_client/models/account_type.rb +2 -2
  61. data/lib/fuse_client/models/add_account_events_request.rb +1 -1
  62. data/lib/fuse_client/models/add_account_events_request_events_inner.rb +1 -1
  63. data/lib/fuse_client/models/add_account_events_response.rb +1 -1
  64. data/lib/fuse_client/models/aggregator.rb +3 -3
  65. data/lib/fuse_client/models/asset_report.rb +1 -1
  66. data/lib/fuse_client/models/asset_report_accounts_inner.rb +1 -1
  67. data/lib/fuse_client/models/asset_report_accounts_inner_balance.rb +1 -1
  68. data/lib/fuse_client/models/asset_report_accounts_inner_historical_balances_inner.rb +1 -1
  69. data/lib/fuse_client/models/asset_report_response.rb +1 -1
  70. data/lib/fuse_client/models/asset_report_transaction.rb +1 -1
  71. data/lib/fuse_client/models/country_code.rb +6 -2
  72. data/lib/fuse_client/models/create_asset_report_request.rb +1 -1
  73. data/lib/fuse_client/models/create_asset_report_response.rb +1 -1
  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 +1 -1
  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 +1 -1
  79. data/lib/fuse_client/models/create_link_token_request_teller.rb +1 -1
  80. data/lib/fuse_client/models/create_link_token_request_teller_config.rb +14 -5
  81. data/lib/fuse_client/models/create_link_token_request_teller_config_account_filter.rb +229 -0
  82. data/lib/fuse_client/models/create_link_token_request_teller_config_account_filter_credit.rb +105 -0
  83. data/lib/fuse_client/models/create_link_token_request_teller_config_account_filter_credit_one_of.rb +243 -0
  84. data/lib/fuse_client/models/create_link_token_request_teller_config_account_filter_depository.rb +105 -0
  85. data/lib/fuse_client/models/create_link_token_request_teller_config_account_filter_depository_one_of.rb +243 -0
  86. data/lib/fuse_client/models/create_link_token_response.rb +1 -1
  87. data/lib/fuse_client/models/create_session_request.rb +1 -1
  88. data/lib/fuse_client/models/create_session_response.rb +1 -1
  89. data/lib/fuse_client/models/create_spend_power_customization_request.rb +48 -5
  90. data/lib/fuse_client/models/create_spend_power_customization_response.rb +1 -1
  91. data/lib/fuse_client/models/create_spend_power_request.rb +1 -1
  92. data/lib/fuse_client/models/create_spend_power_response.rb +1 -1
  93. data/lib/fuse_client/models/currency.rb +1 -1
  94. data/lib/fuse_client/models/delete_financial_connection_response.rb +1 -1
  95. data/lib/fuse_client/models/delete_spend_power_response.rb +1 -1
  96. data/lib/fuse_client/models/enrich_transactions_request.rb +1 -1
  97. data/lib/fuse_client/models/enrich_transactions_response.rb +1 -1
  98. data/lib/fuse_client/models/enriched_transaction.rb +13 -3
  99. data/lib/fuse_client/models/entity.rb +1 -1
  100. data/lib/fuse_client/models/eval_spend_power_request.rb +1 -1
  101. data/lib/fuse_client/models/eval_spend_power_request_events_inner.rb +1 -1
  102. data/lib/fuse_client/models/eval_spend_power_response.rb +36 -16
  103. data/lib/fuse_client/models/exchange_financial_connections_public_token_request.rb +1 -1
  104. data/lib/fuse_client/models/exchange_financial_connections_public_token_response.rb +1 -1
  105. data/lib/fuse_client/models/external_transaction_event.rb +34 -48
  106. data/lib/fuse_client/models/external_transaction_event_status.rb +1 -1
  107. data/lib/fuse_client/models/fin_ql_comparison_feature.rb +255 -0
  108. data/lib/fuse_client/models/fin_ql_feature.rb +111 -0
  109. data/lib/fuse_client/models/fin_ql_feature_one_of.rb +219 -0
  110. data/lib/fuse_client/models/fin_ql_feature_one_of1.rb +219 -0
  111. data/lib/fuse_client/models/fin_ql_feature_one_of2.rb +221 -0
  112. data/lib/fuse_client/models/fin_ql_feature_one_of3.rb +219 -0
  113. data/lib/fuse_client/models/fin_ql_feature_one_of4.rb +219 -0
  114. data/lib/fuse_client/models/fin_ql_feature_one_of5.rb +221 -0
  115. data/lib/fuse_client/models/fin_ql_feature_one_of6.rb +219 -0
  116. data/lib/fuse_client/models/fin_ql_feature_one_of7.rb +221 -0
  117. data/lib/fuse_client/models/fin_ql_feature_request.rb +46 -0
  118. data/lib/fuse_client/models/fin_ql_frequency_feature.rb +262 -0
  119. data/lib/fuse_client/models/fin_ql_individual_merchant_feature.rb +228 -0
  120. data/lib/fuse_client/models/fin_ql_interest_feature.rb +219 -0
  121. data/lib/fuse_client/models/fin_ql_merchant_categories_feature_inner.rb +230 -0
  122. data/lib/fuse_client/models/fin_ql_merchant_categories_feature_inner_result_inner.rb +228 -0
  123. data/lib/fuse_client/models/fin_ql_prompt_request.rb +276 -0
  124. data/lib/fuse_client/models/fin_ql_prompt_response.rb +234 -0
  125. data/lib/fuse_client/models/fin_ql_time_based_feature_inner.rb +228 -0
  126. data/lib/fuse_client/models/fin_ql_top_merchants_feature_inner.rb +237 -0
  127. data/lib/fuse_client/models/finance_score.rb +315 -0
  128. data/lib/fuse_client/models/financial_connection_data.rb +1 -1
  129. data/lib/fuse_client/models/financial_connection_details.rb +32 -5
  130. data/lib/fuse_client/models/financial_connection_details_flinks.rb +226 -0
  131. data/lib/fuse_client/models/financial_connection_details_mono.rb +226 -0
  132. data/lib/fuse_client/models/financial_connection_details_mx.rb +1 -1
  133. data/lib/fuse_client/models/financial_connection_details_plaid.rb +1 -1
  134. data/lib/fuse_client/models/financial_connection_details_snaptrade.rb +256 -0
  135. data/lib/fuse_client/models/financial_connection_details_teller.rb +1 -1
  136. data/lib/fuse_client/models/financial_connections_account.rb +16 -6
  137. data/lib/fuse_client/models/financial_connections_account_balance.rb +1 -1
  138. data/lib/fuse_client/models/financial_connections_account_cached_balance.rb +1 -1
  139. data/lib/fuse_client/models/financial_connections_account_details.rb +15 -5
  140. data/lib/fuse_client/models/financial_connections_account_details_ach.rb +1 -1
  141. data/lib/fuse_client/models/financial_connections_account_institution.rb +1 -1
  142. data/lib/fuse_client/models/financial_connections_account_liability.rb +13 -3
  143. data/lib/fuse_client/models/financial_connections_account_liability_all_of.rb +1 -1
  144. data/lib/fuse_client/models/financial_connections_account_liability_all_of_aprs.rb +1 -1
  145. data/lib/fuse_client/models/financial_connections_holding.rb +1 -1
  146. data/lib/fuse_client/models/financial_connections_investment_security.rb +1 -1
  147. data/lib/fuse_client/models/financial_connections_investment_security_exchange.rb +1 -1
  148. data/lib/fuse_client/models/financial_connections_investment_security_type.rb +2 -2
  149. data/lib/fuse_client/models/financial_connections_investment_transaction.rb +1 -1
  150. data/lib/fuse_client/models/financial_connections_investment_transaction_subtype.rb +2 -2
  151. data/lib/fuse_client/models/financial_connections_owner.rb +1 -1
  152. data/lib/fuse_client/models/financial_connections_owner_addresses_inner.rb +1 -1
  153. data/lib/fuse_client/models/financial_connections_owner_addresses_inner_data.rb +1 -1
  154. data/lib/fuse_client/models/financial_connections_owner_emails_inner.rb +1 -1
  155. data/lib/fuse_client/models/financial_connections_owner_names_inner.rb +1 -1
  156. data/lib/fuse_client/models/financial_connections_owner_phone_numbers_inner.rb +1 -1
  157. data/lib/fuse_client/models/financial_institution.rb +1 -1
  158. data/lib/fuse_client/models/financial_institution_logo.rb +1 -1
  159. data/lib/fuse_client/models/fuse_api_aggregator_error.rb +1 -1
  160. data/lib/fuse_client/models/fuse_api_error.rb +1 -1
  161. data/lib/fuse_client/models/fuse_api_error_code.rb +5 -2
  162. data/lib/fuse_client/models/fuse_api_error_data.rb +1 -1
  163. data/lib/fuse_client/models/fuse_api_error_type.rb +1 -1
  164. data/lib/fuse_client/models/fuse_api_warning.rb +1 -1
  165. data/lib/fuse_client/models/fuse_api_warning_data.rb +1 -1
  166. data/lib/fuse_client/models/fuse_api_warning_data_warnings_inner.rb +1 -1
  167. data/lib/fuse_client/models/get_asset_report_request.rb +1 -1
  168. data/lib/fuse_client/models/get_entity_response.rb +1 -1
  169. data/lib/fuse_client/models/get_finance_score_response.rb +2 -3
  170. data/lib/fuse_client/models/get_financial_connection_response.rb +1 -1
  171. data/lib/fuse_client/models/get_financial_connections_account_details_request.rb +1 -1
  172. data/lib/fuse_client/models/get_financial_connections_account_details_response.rb +1 -1
  173. data/lib/fuse_client/models/get_financial_connections_account_statement_request.rb +1 -1
  174. data/lib/fuse_client/models/get_financial_connections_account_statement_response.rb +1 -1
  175. data/lib/fuse_client/models/get_financial_connections_accounts_request.rb +1 -1
  176. data/lib/fuse_client/models/get_financial_connections_accounts_response.rb +1 -1
  177. data/lib/fuse_client/models/get_financial_connections_balance_request.rb +1 -1
  178. data/lib/fuse_client/models/get_financial_connections_balance_request_options.rb +1 -1
  179. data/lib/fuse_client/models/get_financial_connections_balance_response.rb +1 -1
  180. data/lib/fuse_client/models/get_financial_connections_owners_request.rb +1 -1
  181. data/lib/fuse_client/models/get_financial_connections_owners_response.rb +1 -1
  182. data/lib/fuse_client/models/get_financial_connections_owners_response_accounts_inner.rb +1 -1
  183. data/lib/fuse_client/models/get_financial_connections_transactions_request.rb +1 -1
  184. data/lib/fuse_client/models/get_financial_connections_transactions_response.rb +1 -1
  185. data/lib/fuse_client/models/get_financial_institution_response.rb +1 -1
  186. data/lib/fuse_client/models/get_investment_holdings_request.rb +1 -1
  187. data/lib/fuse_client/models/get_investment_holdings_request_options.rb +1 -1
  188. data/lib/fuse_client/models/get_investment_holdings_response.rb +1 -1
  189. data/lib/fuse_client/models/get_investment_transactions_request.rb +1 -1
  190. data/lib/fuse_client/models/get_investment_transactions_request_options.rb +1 -1
  191. data/lib/fuse_client/models/get_investment_transactions_response.rb +1 -1
  192. data/lib/fuse_client/models/get_liabilities_request.rb +1 -1
  193. data/lib/fuse_client/models/get_liabilities_response.rb +1 -1
  194. data/lib/fuse_client/models/get_spend_power_customization_response.rb +1 -1
  195. data/lib/fuse_client/models/get_spend_power_response.rb +1 -1
  196. data/lib/fuse_client/models/in_app_transaction_event.rb +36 -31
  197. data/lib/fuse_client/models/in_app_transaction_event_status.rb +1 -1
  198. data/lib/fuse_client/models/merchant.rb +249 -0
  199. data/lib/fuse_client/models/{enriched_transaction_logo.rb → merchant_logo.rb} +4 -4
  200. data/lib/fuse_client/models/migrate_financial_connections_aggregator_connection_data.rb +1 -1
  201. data/lib/fuse_client/models/migrate_financial_connections_aggregator_connection_data_mx.rb +1 -1
  202. data/lib/fuse_client/models/migrate_financial_connections_aggregator_connection_data_plaid.rb +1 -1
  203. data/lib/fuse_client/models/migrate_financial_connections_aggregator_connection_data_teller.rb +1 -1
  204. data/lib/fuse_client/models/migrate_financial_connections_token_request.rb +1 -1
  205. data/lib/fuse_client/models/migrate_financial_connections_token_request_entity.rb +1 -1
  206. data/lib/fuse_client/models/migrate_financial_connections_token_response.rb +1 -1
  207. data/lib/fuse_client/models/product.rb +1 -1
  208. data/lib/fuse_client/models/refresh_asset_report_request.rb +1 -1
  209. data/lib/fuse_client/models/refresh_asset_report_response.rb +1 -1
  210. data/lib/fuse_client/models/spend_power.rb +34 -5
  211. data/lib/fuse_client/models/spend_power_customization.rb +40 -6
  212. data/lib/fuse_client/models/spend_power_time_frame.rb +1 -1
  213. data/lib/fuse_client/models/sync_financial_connections_data_response.rb +1 -1
  214. data/lib/fuse_client/models/sync_transactions_request.rb +1 -1
  215. data/lib/fuse_client/models/sync_transactions_response.rb +1 -1
  216. data/lib/fuse_client/models/sync_transactions_response_removed_inner.rb +1 -1
  217. data/lib/fuse_client/models/transaction.rb +12 -2
  218. data/lib/fuse_client/models/transaction_category.rb +1 -1
  219. data/lib/fuse_client/models/transaction_category_detailed.rb +23 -2
  220. data/lib/fuse_client/models/transaction_category_primary.rb +1 -1
  221. data/lib/fuse_client/models/transaction_event_type.rb +1 -1
  222. data/lib/fuse_client/models/transaction_merchant.rb +1 -1
  223. data/lib/fuse_client/models/transaction_to_enrich.rb +2 -2
  224. data/lib/fuse_client/models/update_entity_request.rb +1 -1
  225. data/lib/fuse_client/models/update_entity_response.rb +1 -1
  226. data/lib/fuse_client/models/update_spend_power_customization_request.rb +39 -5
  227. data/lib/fuse_client/models/update_spend_power_customization_response.rb +1 -1
  228. data/lib/fuse_client/models/updated_balance_event.rb +25 -25
  229. data/lib/fuse_client/models/webhook_event.rb +1 -1
  230. data/lib/fuse_client/models/webhook_source.rb +3 -2
  231. data/lib/fuse_client/models/webhook_type.rb +1 -1
  232. data/lib/fuse_client/version.rb +2 -2
  233. data/lib/fuse_client.rb +32 -2
  234. data/spec/api/fuse_api_spec.rb +41 -29
  235. data/spec/api/spend_power_api_spec.rb +3 -3
  236. data/spec/api_client_spec.rb +1 -1
  237. data/spec/configuration_spec.rb +1 -1
  238. data/spec/models/account_subtype_spec.rb +1 -1
  239. data/spec/models/account_type_spec.rb +1 -1
  240. data/spec/models/add_account_events_request_events_inner_spec.rb +1 -1
  241. data/spec/models/add_account_events_request_spec.rb +2 -2
  242. data/spec/models/add_account_events_response_spec.rb +3 -3
  243. data/spec/models/aggregator_spec.rb +1 -1
  244. data/spec/models/asset_report_accounts_inner_balance_spec.rb +4 -4
  245. data/spec/models/asset_report_accounts_inner_historical_balances_inner_spec.rb +4 -4
  246. data/spec/models/asset_report_accounts_inner_spec.rb +5 -5
  247. data/spec/models/asset_report_response_spec.rb +3 -3
  248. data/spec/models/asset_report_spec.rb +6 -6
  249. data/spec/models/asset_report_transaction_spec.rb +11 -11
  250. data/spec/models/country_code_spec.rb +1 -1
  251. data/spec/models/create_asset_report_request_spec.rb +3 -3
  252. data/spec/models/create_asset_report_response_spec.rb +4 -4
  253. data/spec/models/create_entity_request_spec.rb +5 -5
  254. data/spec/models/create_entity_response_spec.rb +6 -6
  255. data/spec/models/create_link_token_request_mx_spec.rb +2 -2
  256. data/spec/models/create_link_token_request_plaid_spec.rb +2 -2
  257. data/spec/models/create_link_token_request_spec.rb +9 -9
  258. data/spec/models/create_link_token_request_teller_config_account_filter_credit_one_of_spec.rb +38 -0
  259. data/spec/models/create_link_token_request_teller_config_account_filter_credit_spec.rb +31 -0
  260. data/spec/models/create_link_token_request_teller_config_account_filter_depository_one_of_spec.rb +38 -0
  261. data/spec/models/create_link_token_request_teller_config_account_filter_depository_spec.rb +31 -0
  262. data/spec/models/create_link_token_request_teller_config_account_filter_spec.rb +40 -0
  263. data/spec/models/create_link_token_request_teller_config_spec.rb +8 -2
  264. data/spec/models/create_link_token_request_teller_spec.rb +2 -2
  265. data/spec/models/create_link_token_response_spec.rb +3 -3
  266. data/spec/models/create_session_request_spec.rb +7 -7
  267. data/spec/models/create_session_response_spec.rb +4 -4
  268. data/spec/models/create_spend_power_customization_request_spec.rb +10 -4
  269. data/spec/models/create_spend_power_customization_response_spec.rb +3 -3
  270. data/spec/models/create_spend_power_request_spec.rb +4 -4
  271. data/spec/models/create_spend_power_response_spec.rb +3 -3
  272. data/spec/models/currency_spec.rb +3 -3
  273. data/spec/models/delete_financial_connection_response_spec.rb +4 -4
  274. data/spec/models/delete_spend_power_response_spec.rb +3 -3
  275. data/spec/models/enrich_transactions_request_spec.rb +2 -2
  276. data/spec/models/enrich_transactions_response_spec.rb +2 -2
  277. data/spec/models/enriched_transaction_spec.rb +22 -16
  278. data/spec/models/entity_spec.rb +4 -4
  279. data/spec/models/eval_spend_power_request_events_inner_spec.rb +3 -3
  280. data/spec/models/eval_spend_power_request_spec.rb +4 -4
  281. data/spec/models/eval_spend_power_response_spec.rb +17 -5
  282. data/spec/models/exchange_financial_connections_public_token_request_spec.rb +2 -2
  283. data/spec/models/exchange_financial_connections_public_token_response_spec.rb +4 -4
  284. data/spec/models/external_transaction_event_spec.rb +14 -20
  285. data/spec/models/external_transaction_event_status_spec.rb +1 -1
  286. data/spec/models/fin_ql_comparison_feature_spec.rb +58 -0
  287. data/spec/models/fin_ql_feature_one_of1_spec.rb +34 -0
  288. data/spec/models/fin_ql_feature_one_of2_spec.rb +34 -0
  289. data/spec/models/fin_ql_feature_one_of3_spec.rb +34 -0
  290. data/spec/models/fin_ql_feature_one_of4_spec.rb +34 -0
  291. data/spec/models/fin_ql_feature_one_of5_spec.rb +34 -0
  292. data/spec/models/fin_ql_feature_one_of6_spec.rb +34 -0
  293. data/spec/models/fin_ql_feature_one_of7_spec.rb +34 -0
  294. data/spec/models/fin_ql_feature_one_of_spec.rb +34 -0
  295. data/spec/models/fin_ql_feature_request_spec.rb +28 -0
  296. data/spec/models/fin_ql_feature_spec.rb +31 -0
  297. data/spec/models/fin_ql_frequency_feature_spec.rb +44 -0
  298. data/spec/models/fin_ql_individual_merchant_feature_spec.rb +40 -0
  299. data/spec/models/fin_ql_interest_feature_spec.rb +34 -0
  300. data/spec/models/fin_ql_merchant_categories_feature_inner_result_inner_spec.rb +40 -0
  301. data/spec/models/fin_ql_merchant_categories_feature_inner_spec.rb +40 -0
  302. data/spec/models/fin_ql_prompt_request_spec.rb +46 -0
  303. data/spec/models/fin_ql_prompt_response_spec.rb +40 -0
  304. data/spec/models/fin_ql_time_based_feature_inner_spec.rb +40 -0
  305. data/spec/models/fin_ql_top_merchants_feature_inner_spec.rb +46 -0
  306. data/spec/models/finance_score_spec.rb +70 -0
  307. data/spec/models/financial_connection_data_spec.rb +3 -3
  308. data/spec/models/financial_connection_details_flinks_spec.rb +34 -0
  309. data/spec/models/financial_connection_details_mono_spec.rb +34 -0
  310. data/spec/models/financial_connection_details_mx_spec.rb +3 -3
  311. data/spec/models/financial_connection_details_plaid_spec.rb +3 -3
  312. data/spec/models/financial_connection_details_snaptrade_spec.rb +46 -0
  313. data/spec/models/financial_connection_details_spec.rb +27 -9
  314. data/spec/models/financial_connection_details_teller_spec.rb +3 -3
  315. data/spec/models/financial_connections_account_balance_spec.rb +6 -6
  316. data/spec/models/financial_connections_account_cached_balance_spec.rb +5 -5
  317. data/spec/models/financial_connections_account_details_ach_spec.rb +5 -5
  318. data/spec/models/financial_connections_account_details_spec.rb +9 -3
  319. data/spec/models/financial_connections_account_institution_spec.rb +2 -2
  320. data/spec/models/financial_connections_account_liability_all_of_aprs_spec.rb +3 -3
  321. data/spec/models/financial_connections_account_liability_all_of_spec.rb +8 -8
  322. data/spec/models/financial_connections_account_liability_spec.rb +22 -16
  323. data/spec/models/financial_connections_account_spec.rb +15 -9
  324. data/spec/models/financial_connections_holding_spec.rb +7 -7
  325. data/spec/models/financial_connections_investment_security_exchange_spec.rb +2 -2
  326. data/spec/models/financial_connections_investment_security_spec.rb +11 -11
  327. data/spec/models/financial_connections_investment_security_type_spec.rb +1 -1
  328. data/spec/models/financial_connections_investment_transaction_spec.rb +14 -14
  329. data/spec/models/financial_connections_investment_transaction_subtype_spec.rb +1 -1
  330. data/spec/models/financial_connections_owner_addresses_inner_data_spec.rb +6 -6
  331. data/spec/models/financial_connections_owner_addresses_inner_spec.rb +3 -3
  332. data/spec/models/financial_connections_owner_emails_inner_spec.rb +4 -4
  333. data/spec/models/financial_connections_owner_names_inner_spec.rb +3 -3
  334. data/spec/models/financial_connections_owner_phone_numbers_inner_spec.rb +4 -4
  335. data/spec/models/financial_connections_owner_spec.rb +5 -5
  336. data/spec/models/financial_institution_logo_spec.rb +4 -4
  337. data/spec/models/financial_institution_spec.rb +6 -6
  338. data/spec/models/fuse_api_aggregator_error_spec.rb +7 -7
  339. data/spec/models/fuse_api_error_code_spec.rb +1 -1
  340. data/spec/models/fuse_api_error_data_spec.rb +3 -3
  341. data/spec/models/fuse_api_error_spec.rb +8 -8
  342. data/spec/models/fuse_api_error_type_spec.rb +1 -1
  343. data/spec/models/fuse_api_warning_data_spec.rb +3 -3
  344. data/spec/models/fuse_api_warning_data_warnings_inner_spec.rb +6 -6
  345. data/spec/models/fuse_api_warning_spec.rb +7 -7
  346. data/spec/models/get_asset_report_request_spec.rb +3 -3
  347. data/spec/models/get_entity_response_spec.rb +7 -7
  348. data/spec/models/get_finance_score_response_spec.rb +3 -3
  349. data/spec/models/get_financial_connection_response_spec.rb +3 -3
  350. data/spec/models/get_financial_connections_account_details_request_spec.rb +2 -2
  351. data/spec/models/get_financial_connections_account_details_response_spec.rb +4 -4
  352. data/spec/models/get_financial_connections_account_statement_request_spec.rb +4 -4
  353. data/spec/models/get_financial_connections_account_statement_response_spec.rb +3 -3
  354. data/spec/models/get_financial_connections_accounts_request_spec.rb +2 -2
  355. data/spec/models/get_financial_connections_accounts_response_spec.rb +4 -4
  356. data/spec/models/get_financial_connections_balance_request_options_spec.rb +2 -2
  357. data/spec/models/get_financial_connections_balance_request_spec.rb +3 -3
  358. data/spec/models/get_financial_connections_balance_response_spec.rb +3 -3
  359. data/spec/models/get_financial_connections_owners_request_spec.rb +2 -2
  360. data/spec/models/get_financial_connections_owners_response_accounts_inner_spec.rb +4 -4
  361. data/spec/models/get_financial_connections_owners_response_spec.rb +2 -2
  362. data/spec/models/get_financial_connections_transactions_request_spec.rb +6 -6
  363. data/spec/models/get_financial_connections_transactions_response_spec.rb +4 -4
  364. data/spec/models/get_financial_institution_response_spec.rb +3 -3
  365. data/spec/models/get_investment_holdings_request_options_spec.rb +2 -2
  366. data/spec/models/get_investment_holdings_request_spec.rb +3 -3
  367. data/spec/models/get_investment_holdings_response_spec.rb +4 -4
  368. data/spec/models/get_investment_transactions_request_options_spec.rb +2 -2
  369. data/spec/models/get_investment_transactions_request_spec.rb +7 -7
  370. data/spec/models/get_investment_transactions_response_spec.rb +5 -5
  371. data/spec/models/get_liabilities_request_spec.rb +2 -2
  372. data/spec/models/get_liabilities_response_spec.rb +3 -3
  373. data/spec/models/get_spend_power_customization_response_spec.rb +3 -3
  374. data/spec/models/get_spend_power_response_spec.rb +3 -3
  375. data/spec/models/in_app_transaction_event_spec.rb +16 -16
  376. data/spec/models/in_app_transaction_event_status_spec.rb +1 -1
  377. data/spec/models/merchant_logo_spec.rb +34 -0
  378. data/spec/models/merchant_spec.rb +46 -0
  379. data/spec/models/migrate_financial_connections_aggregator_connection_data_mx_spec.rb +3 -3
  380. data/spec/models/migrate_financial_connections_aggregator_connection_data_plaid_spec.rb +3 -3
  381. data/spec/models/migrate_financial_connections_aggregator_connection_data_spec.rb +4 -4
  382. data/spec/models/migrate_financial_connections_aggregator_connection_data_teller_spec.rb +2 -2
  383. data/spec/models/migrate_financial_connections_token_request_entity_spec.rb +2 -2
  384. data/spec/models/migrate_financial_connections_token_request_spec.rb +5 -5
  385. data/spec/models/migrate_financial_connections_token_response_spec.rb +5 -5
  386. data/spec/models/product_spec.rb +1 -1
  387. data/spec/models/refresh_asset_report_request_spec.rb +4 -4
  388. data/spec/models/refresh_asset_report_response_spec.rb +4 -4
  389. data/spec/models/spend_power_customization_spec.rb +11 -5
  390. data/spec/models/spend_power_spec.rb +20 -8
  391. data/spec/models/spend_power_time_frame_spec.rb +1 -1
  392. data/spec/models/sync_financial_connections_data_response_spec.rb +3 -3
  393. data/spec/models/sync_transactions_request_spec.rb +4 -4
  394. data/spec/models/sync_transactions_response_removed_inner_spec.rb +2 -2
  395. data/spec/models/sync_transactions_response_spec.rb +7 -7
  396. data/spec/models/transaction_category_detailed_spec.rb +1 -1
  397. data/spec/models/transaction_category_primary_spec.rb +1 -1
  398. data/spec/models/transaction_category_spec.rb +3 -3
  399. data/spec/models/transaction_event_type_spec.rb +1 -1
  400. data/spec/models/transaction_merchant_spec.rb +2 -2
  401. data/spec/models/transaction_spec.rb +18 -12
  402. data/spec/models/transaction_to_enrich_spec.rb +6 -6
  403. data/spec/models/update_entity_request_spec.rb +4 -4
  404. data/spec/models/update_entity_response_spec.rb +6 -6
  405. data/spec/models/update_spend_power_customization_request_spec.rb +10 -4
  406. data/spec/models/update_spend_power_customization_response_spec.rb +3 -3
  407. data/spec/models/updated_balance_event_spec.rb +10 -10
  408. data/spec/models/webhook_event_spec.rb +10 -10
  409. data/spec/models/webhook_source_spec.rb +1 -1
  410. data/spec/models/webhook_type_spec.rb +1 -1
  411. data/spec/spec_helper.rb +1 -1
  412. metadata +126 -6
  413. data/spec/models/enriched_transaction_logo_spec.rb +0 -34
@@ -0,0 +1,20 @@
1
+ # FuseClient::FinQLMerchantCategoriesFeatureInnerResultInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **merchant** | [**Merchant**](Merchant.md) | | [optional] |
8
+ | **value** | **String** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'fuse_client'
14
+
15
+ instance = FuseClient::FinQLMerchantCategoriesFeatureInnerResultInner.new(
16
+ merchant: null,
17
+ value: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,22 @@
1
+ # FuseClient::FinQLPromptRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **prompt** | **String** | Description of the search in natural language. | |
8
+ | **account_id** | **String** | ID of account to be queried | |
9
+ | **feature** | [**FinQLFeatureRequest**](FinQLFeatureRequest.md) | | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'fuse_client'
15
+
16
+ instance = FuseClient::FinQLPromptRequest.new(
17
+ prompt: null,
18
+ account_id: null,
19
+ feature: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,20 @@
1
+ # FuseClient::FinQLPromptResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **feature** | [**FinQLFeature**](FinQLFeature.md) | | [optional] |
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::FinQLPromptResponse.new(
16
+ feature: null,
17
+ request_id: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # FuseClient::FinQLTimeBasedFeatureInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **time_period** | **String** | | [optional] |
8
+ | **value** | **Float** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'fuse_client'
14
+
15
+ instance = FuseClient::FinQLTimeBasedFeatureInner.new(
16
+ time_period: null,
17
+ value: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,22 @@
1
+ # FuseClient::FinQLTopMerchantsFeatureInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **rank** | **Float** | | [optional] |
8
+ | **merchant** | [**Merchant**](Merchant.md) | | [optional] |
9
+ | **value** | **String** | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'fuse_client'
15
+
16
+ instance = FuseClient::FinQLTopMerchantsFeatureInner.new(
17
+ rank: null,
18
+ merchant: null,
19
+ value: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,30 @@
1
+ # FuseClient::FinanceScore
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **value** | **Float** | The likelihood of a credit default. A higher score implies lower risk. The finance score and all finance score metrics are values between 0 and 1. This value is calculated by the weighted sum of the metrics below. | |
8
+ | **savings_score** | **Float** | This quantifies a user's monthly savings habits. A lower score represents minimal savings, while a higher score indicates a user who consistently sets aside a substantial portion of their income. | |
9
+ | **expense_stability_score** | **Float** | This assesses the consistency of a user's monthly spending. A lower score indicates variable monthly expenditure, while a higher score represents consistent spending habits. | |
10
+ | **activity_age_score** | **Float** | This measures the regularity of a user's financial activity over a period of time. A lower score suggests limited activity, while a higher score is indicative of regular daily transactions over a long period of time. | |
11
+ | **income_score** | **Float** | This evaluates the stability of a user's income. A lower score suggests inconsistent or low income, while a higher score represents high, consistent income. | |
12
+ | **loan_payments_score** | **Float** | This evaluates a user's loan repayment behaviour. A lower score is assigned to those without loan payments, while a higher score denotes consistent loan payments, such as a mortgage. | |
13
+ | **repayments_score** | **Float** | This quantifies a user's ability to repay debts. A lower score corresponds to missed payments, while a higher score signifies consistent debt repayment. | |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'fuse_client'
19
+
20
+ instance = FuseClient::FinanceScore.new(
21
+ value: null,
22
+ savings_score: null,
23
+ expense_stability_score: null,
24
+ activity_age_score: null,
25
+ income_score: null,
26
+ loan_payments_score: null,
27
+ repayments_score: null
28
+ )
29
+ ```
30
+
@@ -12,6 +12,9 @@
12
12
  | **plaid** | [**FinancialConnectionDetailsPlaid**](FinancialConnectionDetailsPlaid.md) | | [optional] |
13
13
  | **teller** | [**FinancialConnectionDetailsTeller**](FinancialConnectionDetailsTeller.md) | | [optional] |
14
14
  | **mx** | [**FinancialConnectionDetailsMx**](FinancialConnectionDetailsMx.md) | | [optional] |
15
+ | **snaptrade** | [**FinancialConnectionDetailsSnaptrade**](FinancialConnectionDetailsSnaptrade.md) | | [optional] |
16
+ | **flinks** | [**FinancialConnectionDetailsFlinks**](FinancialConnectionDetailsFlinks.md) | | [optional] |
17
+ | **mono** | [**FinancialConnectionDetailsMono**](FinancialConnectionDetailsMono.md) | | [optional] |
15
18
 
16
19
  ## Example
17
20
 
@@ -26,7 +29,10 @@ instance = FuseClient::FinancialConnectionDetails.new(
26
29
  aggregator: null,
27
30
  plaid: null,
28
31
  teller: null,
29
- mx: null
32
+ mx: null,
33
+ snaptrade: null,
34
+ flinks: null,
35
+ mono: null
30
36
  )
31
37
  ```
32
38
 
@@ -0,0 +1,18 @@
1
+ # FuseClient::FinancialConnectionDetailsFlinks
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **login_id** | **String** | Login Id for Flinks | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'fuse_client'
13
+
14
+ instance = FuseClient::FinancialConnectionDetailsFlinks.new(
15
+ login_id: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # FuseClient::FinancialConnectionDetailsMono
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **account_id** | **String** | Account Id for Mono | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'fuse_client'
13
+
14
+ instance = FuseClient::FinancialConnectionDetailsMono.new(
15
+ account_id: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,22 @@
1
+ # FuseClient::FinancialConnectionDetailsSnaptrade
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **brokerage_authorization_id** | **String** | Brokerage Authorization Id for SnapTrade | |
8
+ | **user_id** | **String** | User id for SnapTrade | |
9
+ | **user_secret** | **String** | User secret for SnapTrade | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'fuse_client'
15
+
16
+ instance = FuseClient::FinancialConnectionDetailsSnaptrade.new(
17
+ brokerage_authorization_id: null,
18
+ user_id: null,
19
+ user_secret: null
20
+ )
21
+ ```
22
+
@@ -5,13 +5,14 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **remote_id** | **String** | Remote Id of the account, ie Plaid or Teller account id | |
8
- | **fingerprint** | **String** | Uniquely identifies this account across all accounts associated with your organization. See more information here: https://letsfuse.readme.io/docs/duplicate-accounts | |
8
+ | **fingerprint** | **String** | Uniquely identifies this account across all accounts for a single financial connection. Used for reconnection deduplication. See more information here: https://letsfuse.readme.io/docs/duplicate-accounts | |
9
9
  | **institution** | [**FinancialConnectionsAccountInstitution**](FinancialConnectionsAccountInstitution.md) | | [optional] |
10
10
  | **mask** | **String** | The partial account number. | [optional] |
11
11
  | **name** | **String** | The account's name, ie 'My Checking' | |
12
12
  | **type** | [**AccountType**](AccountType.md) | | |
13
13
  | **subtype** | [**AccountSubtype**](AccountSubtype.md) | | [optional] |
14
14
  | **balance** | [**FinancialConnectionsAccountCachedBalance**](FinancialConnectionsAccountCachedBalance.md) | | |
15
+ | **remote_data** | **Object** | | |
15
16
 
16
17
  ## Example
17
18
 
@@ -26,7 +27,8 @@ instance = FuseClient::FinancialConnectionsAccount.new(
26
27
  name: null,
27
28
  type: null,
28
29
  subtype: null,
29
- balance: null
30
+ balance: null,
31
+ remote_data: null
30
32
  )
31
33
  ```
32
34
 
@@ -6,6 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **remote_id** | **String** | Remote Id of the account, ie Plaid or Teller account id | |
8
8
  | **ach** | [**FinancialConnectionsAccountDetailsAch**](FinancialConnectionsAccountDetailsAch.md) | | |
9
+ | **remote_data** | **Object** | | |
9
10
 
10
11
  ## Example
11
12
 
@@ -14,7 +15,8 @@ require 'fuse_client'
14
15
 
15
16
  instance = FuseClient::FinancialConnectionsAccountDetails.new(
16
17
  remote_id: null,
17
- ach: null
18
+ ach: null,
19
+ remote_data: null
18
20
  )
19
21
  ```
20
22
 
@@ -5,13 +5,14 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **remote_id** | **String** | Remote Id of the account, ie Plaid or Teller account id | |
8
- | **fingerprint** | **String** | Uniquely identifies this account across all accounts associated with your organization. See more information here: https://letsfuse.readme.io/docs/duplicate-accounts | |
8
+ | **fingerprint** | **String** | Uniquely identifies this account across all accounts for a single financial connection. Used for reconnection deduplication. See more information here: https://letsfuse.readme.io/docs/duplicate-accounts | |
9
9
  | **institution** | [**FinancialConnectionsAccountInstitution**](FinancialConnectionsAccountInstitution.md) | | [optional] |
10
10
  | **mask** | **String** | The partial account number. | [optional] |
11
11
  | **name** | **String** | The account's name, ie 'My Checking' | |
12
12
  | **type** | [**AccountType**](AccountType.md) | | |
13
13
  | **subtype** | [**AccountSubtype**](AccountSubtype.md) | | [optional] |
14
14
  | **balance** | [**FinancialConnectionsAccountCachedBalance**](FinancialConnectionsAccountCachedBalance.md) | | |
15
+ | **remote_data** | **Object** | | |
15
16
  | **aprs** | [**Array<FinancialConnectionsAccountLiabilityAllOfAprs>**](FinancialConnectionsAccountLiabilityAllOfAprs.md) | The various interest rates that apply to the account. If APR data is not available, this array will be empty. | [optional] |
16
17
  | **interest_rate_percentage** | **Float** | The interest rate on the loan as a percentage. | [optional] |
17
18
  | **origination_principal_amount** | **Float** | The original principal balance of the loan. | [optional] |
@@ -34,6 +35,7 @@ instance = FuseClient::FinancialConnectionsAccountLiability.new(
34
35
  type: null,
35
36
  subtype: null,
36
37
  balance: null,
38
+ remote_data: null,
37
39
  aprs: null,
38
40
  interest_rate_percentage: null,
39
41
  origination_principal_amount: null,
data/docs/FuseApi.md CHANGED
@@ -13,6 +13,7 @@ All URIs are relative to *https://sandbox-api.letsfuse.com*
13
13
  | [**delete_financial_connection**](FuseApi.md#delete_financial_connection) | **DELETE** /v1/financial_connections/{financial_connection_id_to_delete} | Delete a financial connection |
14
14
  | [**enrich_transactions**](FuseApi.md#enrich_transactions) | **POST** /v1/transactions/enrich | |
15
15
  | [**exchange_financial_connections_public_token**](FuseApi.md#exchange_financial_connections_public_token) | **POST** /v1/financial_connections/public_token/exchange | |
16
+ | [**fin_ql_prompt**](FuseApi.md#fin_ql_prompt) | **POST** /v1/finql/prompt | FinQL Prompt |
16
17
  | [**get_asset_report**](FuseApi.md#get_asset_report) | **POST** /v1/financial_connections/asset_report | |
17
18
  | [**get_entity**](FuseApi.md#get_entity) | **GET** /v1/entities/{entity_id} | Get entity |
18
19
  | [**get_finance_score**](FuseApi.md#get_finance_score) | **GET** /v1/accounts/{account_id}/finance_score | Get finance score |
@@ -61,7 +62,7 @@ end
61
62
  api_instance = FuseClient::FuseApi.new
62
63
  account_id = 'account_id_example' # String |
63
64
  opts = {
64
- add_account_events_request: FuseClient::AddAccountEventsRequest.new({events: [FuseClient::ExternalTransactionEvent.new({id: 'id_example', event_type: 'external_transaction', status: FuseClient::ExternalTransactionEventStatus::PENDING, amount: 3.56, merchant_name: 'merchant_name_example', transaction_type: FuseClient::TransactionEventType::ACH, category: FuseClient::TransactionCategory.new({primary: FuseClient::TransactionCategoryPrimary::AUTO_AND_TRANSPORT, detailed: FuseClient::TransactionCategoryDetailed::AUTO_INSURANCE}), iso_currency_code: 'iso_currency_code_example', timestamp: 'timestamp_example'})]}) # AddAccountEventsRequest |
65
+ add_account_events_request: FuseClient::AddAccountEventsRequest.new({events: [FuseClient::ExternalTransactionEvent.new({id: 'id_example', event_type: 'external_transaction', status: FuseClient::ExternalTransactionEventStatus::PENDING, amount: 3.56, iso_currency_code: 'iso_currency_code_example', transaction_type: FuseClient::TransactionEventType::ACH, merchant_name: 'merchant_name_example', timestamp: 'timestamp_example'})]}) # AddAccountEventsRequest |
65
66
  }
66
67
 
67
68
  begin
@@ -450,7 +451,7 @@ end
450
451
 
451
452
  api_instance = FuseClient::FuseApi.new
452
453
  opts = {
453
- create_spend_power_customization_request: FuseClient::CreateSpendPowerCustomizationRequest.new({timeframe: FuseClient::SpendPowerTimeFrame::DAILY, min_limit: 3.56, max_limit: 3.56}) # CreateSpendPowerCustomizationRequest |
454
+ create_spend_power_customization_request: FuseClient::CreateSpendPowerCustomizationRequest.new({timeframe: FuseClient::SpendPowerTimeFrame::DAILY, min_limit: 3.56, max_limit: 3.56, risk_tolerance: 3.56}) # CreateSpendPowerCustomizationRequest |
454
455
  }
455
456
 
456
457
  begin
@@ -732,6 +733,84 @@ end
732
733
  - **Accept**: application/json
733
734
 
734
735
 
736
+ ## fin_ql_prompt
737
+
738
+ > <FinQLPromptResponse> fin_ql_prompt(opts)
739
+
740
+ FinQL Prompt
741
+
742
+ Retrieve information using finQL. Uses data submitted via the /events endpoint. This feature is being built and is not currently available.
743
+
744
+ ### Examples
745
+
746
+ ```ruby
747
+ require 'time'
748
+ require 'fuse_client'
749
+ # setup authorization
750
+ FuseClient.configure do |config|
751
+ # Configure API key authorization: fuseApiKey
752
+ config.api_key['fuseApiKey'] = 'YOUR API KEY'
753
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
754
+ # config.api_key_prefix['fuseApiKey'] = 'Bearer'
755
+
756
+ # Configure API key authorization: fuseClientId
757
+ config.api_key['fuseClientId'] = 'YOUR API KEY'
758
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
759
+ # config.api_key_prefix['fuseClientId'] = 'Bearer'
760
+ end
761
+
762
+ api_instance = FuseClient::FuseApi.new
763
+ opts = {
764
+ fin_ql_prompt_request: FuseClient::FinQLPromptRequest.new({prompt: 'prompt_example', account_id: 'account_id_example', feature: FuseClient::FinQLFeatureRequest::TEXT}) # FinQLPromptRequest |
765
+ }
766
+
767
+ begin
768
+ # FinQL Prompt
769
+ result = api_instance.fin_ql_prompt(opts)
770
+ p result
771
+ rescue FuseClient::ApiError => e
772
+ puts "Error when calling FuseApi->fin_ql_prompt: #{e}"
773
+ end
774
+ ```
775
+
776
+ #### Using the fin_ql_prompt_with_http_info variant
777
+
778
+ This returns an Array which contains the response data, status code and headers.
779
+
780
+ > <Array(<FinQLPromptResponse>, Integer, Hash)> fin_ql_prompt_with_http_info(opts)
781
+
782
+ ```ruby
783
+ begin
784
+ # FinQL Prompt
785
+ data, status_code, headers = api_instance.fin_ql_prompt_with_http_info(opts)
786
+ p status_code # => 2xx
787
+ p headers # => { ... }
788
+ p data # => <FinQLPromptResponse>
789
+ rescue FuseClient::ApiError => e
790
+ puts "Error when calling FuseApi->fin_ql_prompt_with_http_info: #{e}"
791
+ end
792
+ ```
793
+
794
+ ### Parameters
795
+
796
+ | Name | Type | Description | Notes |
797
+ | ---- | ---- | ----------- | ----- |
798
+ | **fin_ql_prompt_request** | [**FinQLPromptRequest**](FinQLPromptRequest.md) | | [optional] |
799
+
800
+ ### Return type
801
+
802
+ [**FinQLPromptResponse**](FinQLPromptResponse.md)
803
+
804
+ ### Authorization
805
+
806
+ [fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
807
+
808
+ ### HTTP request headers
809
+
810
+ - **Content-Type**: application/json
811
+ - **Accept**: application/json
812
+
813
+
735
814
  ## get_asset_report
736
815
 
737
816
  > <RefreshAssetReportResponse> get_asset_report(opts)
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **finance_score** | **Float** | A value between 0 and 1 where 1 is a perfect finance score and 0 is the worst finance score. | |
7
+ | **finance_score** | [**FinanceScore**](FinanceScore.md) | | |
8
8
  | **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | |
9
9
 
10
10
  ## Example
@@ -7,12 +7,12 @@
7
7
  | **id** | **String** | ID of the transaction | |
8
8
  | **event_type** | **String** | | |
9
9
  | **status** | [**InAppTransactionEventStatus**](InAppTransactionEventStatus.md) | | |
10
- | **balance** | **Float** | The running balance of the account after the transaction has occurred, in cents. | [optional] |
11
10
  | **amount** | **Float** | | |
12
- | **merchant_name** | **String** | | |
11
+ | **iso_currency_code** | **String** | The ISO-4217 currency code. | |
13
12
  | **transaction_type** | [**TransactionEventType**](TransactionEventType.md) | | |
14
- | **iso_currency_code** | **String** | The ISO-4217 currency code. | [optional] |
13
+ | **merchant_name** | **String** | | |
15
14
  | **timestamp** | **String** | Datetime of the transaction In ISO-8601 format | |
15
+ | **balance** | **Float** | The running balance of the account after the transaction has occurred, in cents. | [optional] |
16
16
 
17
17
  ## Example
18
18
 
@@ -23,12 +23,12 @@ instance = FuseClient::InAppTransactionEvent.new(
23
23
  id: null,
24
24
  event_type: null,
25
25
  status: null,
26
- balance: null,
27
26
  amount: null,
28
- merchant_name: null,
29
- transaction_type: null,
30
27
  iso_currency_code: null,
31
- timestamp: null
28
+ transaction_type: null,
29
+ merchant_name: null,
30
+ timestamp: null,
31
+ balance: null
32
32
  )
33
33
  ```
34
34
 
data/docs/Merchant.md ADDED
@@ -0,0 +1,22 @@
1
+ # FuseClient::Merchant
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | A Fuse defined, unique ID for the merchant associated with this transaction. | |
8
+ | **name** | **String** | The name of the merchant. | |
9
+ | **logo** | [**MerchantLogo**](MerchantLogo.md) | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'fuse_client'
15
+
16
+ instance = FuseClient::Merchant.new(
17
+ id: null,
18
+ name: null,
19
+ logo: null
20
+ )
21
+ ```
22
+
@@ -1,4 +1,4 @@
1
- # FuseClient::EnrichedTransactionLogo
1
+ # FuseClient::MerchantLogo
2
2
 
3
3
  ## Properties
4
4
 
@@ -11,7 +11,7 @@
11
11
  ```ruby
12
12
  require 'fuse_client'
13
13
 
14
- instance = FuseClient::EnrichedTransactionLogo.new(
14
+ instance = FuseClient::MerchantLogo.new(
15
15
  url: null
16
16
  )
17
17
  ```
data/docs/SpendPower.md CHANGED
@@ -11,6 +11,8 @@
11
11
  | **pending_payments_amount** | **Float** | The total unpaid amount, in cents, from all timeframes. | |
12
12
  | **iso_currency_code** | **String** | The ISO-4217 currency code of the transaction | |
13
13
  | **last_updated** | **String** | The datetime of when the spend power was most recently updated, in ISO-8601 format. | |
14
+ | **finance_score** | [**FinanceScore**](FinanceScore.md) | | |
15
+ | **predicted_balance** | **Float** | Predicted balance for the timeframe. | |
14
16
 
15
17
  ## Example
16
18
 
@@ -24,7 +26,9 @@ instance = FuseClient::SpendPower.new(
24
26
  current_spend: null,
25
27
  pending_payments_amount: null,
26
28
  iso_currency_code: null,
27
- last_updated: null
29
+ last_updated: null,
30
+ finance_score: null,
31
+ predicted_balance: null
28
32
  )
29
33
  ```
30
34
 
@@ -6,8 +6,9 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **id** | **String** | The id of the spend power customization | |
8
8
  | **timeframe** | [**SpendPowerTimeFrame**](SpendPowerTimeFrame.md) | | |
9
- | **min_limit** | **Float** | The minimum allowed limit for the spend power, in cents. | |
10
- | **max_limit** | **Float** | The maximum allowed limit for the spend power, in cents. | |
9
+ | **min_limit** | **Integer** | The minimum allowed limit for the spend power, in cents. | |
10
+ | **max_limit** | **Integer** | The maximum allowed limit for the spend power, in cents. | |
11
+ | **risk_tolerance** | **Integer** | This parameter indicates the risk tolerance associated with spend limits. A high risk tolerance allow for higher limits, increasing both potential gains and losses. A Lower risk tolerance enforces strict limits, reducing the potential for loss but also limiting transaction volume for reliable users. | [optional] |
11
12
 
12
13
  ## Example
13
14
 
@@ -18,7 +19,8 @@ instance = FuseClient::SpendPowerCustomization.new(
18
19
  id: null,
19
20
  timeframe: null,
20
21
  min_limit: null,
21
- max_limit: null
22
+ max_limit: null,
23
+ risk_tolerance: null
22
24
  )
23
25
  ```
24
26
 
data/docs/Transaction.md CHANGED
@@ -5,6 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **remote_id** | **String** | Remote Id of the transaction, ie Plaid or Teller Id | |
8
+ | **fingerprint** | **String** | Uniquely identifies this account across all transactions for a single financial connection. Used for reconnection deduplication. This field may or may not be present depending on if a transaction can be uniquely identified. See more information here: https://letsfuse.readme.io/docs/duplicate-accounts | [optional] |
8
9
  | **remote_account_id** | **String** | Remote Account Id of the transaction, ie Plaid Account Id | |
9
10
  | **amount** | **Float** | Amount in cents associated with the transaction. The format of this value is a double. 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
11
  | **date** | **String** | Date of the transaction (YYYY-MM-DD) | |
@@ -23,6 +24,7 @@ require 'fuse_client'
23
24
 
24
25
  instance = FuseClient::Transaction.new(
25
26
  remote_id: null,
27
+ fingerprint: null,
26
28
  remote_account_id: null,
27
29
  amount: null,
28
30
  date: null,
@@ -7,7 +7,7 @@
7
7
  | **id** | **String** | A unique ID for the transaction that to help you tie data back to your systems. | |
8
8
  | **merchant_name** | **String** | The name of the merchant. | |
9
9
  | **mcc** | **String** | The merchant category code. | [optional] |
10
- | **amount** | **Float** | The amount of the transaction in cents, in the currency of the account. | [optional] |
10
+ | **amount** | **Float** | The amount of the transaction in cents, in the currency of the account. | [optional] |
11
11
  | **type** | **String** | The type of the transaction | [optional] |
12
12
 
13
13
  ## Example
@@ -7,6 +7,7 @@
7
7
  | **timeframe** | [**SpendPowerTimeFrame**](SpendPowerTimeFrame.md) | | [optional] |
8
8
  | **min_limit** | **Float** | The minimum allowed limit for the spend power, in cents. | [optional] |
9
9
  | **max_limit** | **Float** | The maximum allowed limit for the spend power, in cents. | [optional] |
10
+ | **risk_tolerance** | **Float** | This parameter indicates the risk tolerance associated with spend limits. A high risk tolerance allow for higher limits, increasing both potential gains and losses. A Lower risk tolerance enforces strict limits, reducing the potential for loss but also limiting transaction volume for reliable users. | [optional] |
10
11
 
11
12
  ## Example
12
13
 
@@ -16,7 +17,8 @@ require 'fuse_client'
16
17
  instance = FuseClient::UpdateSpendPowerCustomizationRequest.new(
17
18
  timeframe: null,
18
19
  min_limit: null,
19
- max_limit: null
20
+ max_limit: null,
21
+ risk_tolerance: null
20
22
  )
21
23
  ```
22
24
 
@@ -5,10 +5,10 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **event_type** | **String** | | |
8
- | **available** | **Float** | The current balance of the account factoring in pending transactions. Use positive values to represent money going out and negative to represent money going in. | [optional] |
9
- | **current** | **Float** | The current balance of the account without factoring in pending transactions. Use positive values to represent money going out and negative to represent money going in. | [optional] |
10
8
  | **iso_currency_code** | **String** | The ISO-4217 currency code. | |
11
9
  | **timestamp** | **String** | Datetime that the balance is accurate for In ISO-8601 format | |
10
+ | **available** | **Float** | The current balance of the account factoring in pending transactions. Use positive values to represent money going out and negative to represent money going in. | [optional] |
11
+ | **current** | **Float** | The current balance of the account without factoring in pending transactions. Use positive values to represent money going out and negative to represent money going in. | [optional] |
12
12
 
13
13
  ## Example
14
14
 
@@ -17,10 +17,10 @@ require 'fuse_client'
17
17
 
18
18
  instance = FuseClient::UpdatedBalanceEvent.new(
19
19
  event_type: null,
20
- available: null,
21
- current: null,
22
20
  iso_currency_code: null,
23
- timestamp: null
21
+ timestamp: null,
22
+ available: null,
23
+ current: null
24
24
  )
25
25
  ```
26
26
 
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.5.0
11
+ OpenAPI Generator version: 6.6.0
12
12
 
13
13
  =end
14
14