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,243 @@
1
+ =begin
2
+ #Fuse
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.6.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module FuseClient
17
+ class CreateLinkTokenRequestTellerConfigAccountFilterDepositoryOneOf
18
+ attr_accessor :subtypes
19
+
20
+ class EnumAttributeValidator
21
+ attr_reader :datatype
22
+ attr_reader :allowable_values
23
+
24
+ def initialize(datatype, allowable_values)
25
+ @allowable_values = allowable_values.map do |value|
26
+ case datatype.to_s
27
+ when /Integer/i
28
+ value.to_i
29
+ when /Float/i
30
+ value.to_f
31
+ else
32
+ value
33
+ end
34
+ end
35
+ end
36
+
37
+ def valid?(value)
38
+ !value || allowable_values.include?(value)
39
+ end
40
+ end
41
+
42
+ # Attribute mapping from ruby-style variable name to JSON key.
43
+ def self.attribute_map
44
+ {
45
+ :'subtypes' => :'subtypes'
46
+ }
47
+ end
48
+
49
+ # Returns all the JSON keys this model knows about
50
+ def self.acceptable_attributes
51
+ attribute_map.values
52
+ end
53
+
54
+ # Attribute type mapping.
55
+ def self.openapi_types
56
+ {
57
+ :'subtypes' => :'Array<String>'
58
+ }
59
+ end
60
+
61
+ # List of attributes with nullable: true
62
+ def self.openapi_nullable
63
+ Set.new([
64
+ ])
65
+ end
66
+
67
+ # Initializes the object
68
+ # @param [Hash] attributes Model attributes in the form of hash
69
+ def initialize(attributes = {})
70
+ if (!attributes.is_a?(Hash))
71
+ fail ArgumentError, "The input argument (attributes) must be a hash in `FuseClient::CreateLinkTokenRequestTellerConfigAccountFilterDepositoryOneOf` initialize method"
72
+ end
73
+
74
+ # check to see if the attribute exists and convert string to symbol for hash key
75
+ attributes = attributes.each_with_object({}) { |(k, v), h|
76
+ if (!self.class.attribute_map.key?(k.to_sym))
77
+ fail ArgumentError, "`#{k}` is not a valid attribute in `FuseClient::CreateLinkTokenRequestTellerConfigAccountFilterDepositoryOneOf`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
78
+ end
79
+ h[k.to_sym] = v
80
+ }
81
+
82
+ if attributes.key?(:'subtypes')
83
+ if (value = attributes[:'subtypes']).is_a?(Array)
84
+ self.subtypes = value
85
+ end
86
+ end
87
+ end
88
+
89
+ # Show invalid properties with the reasons. Usually used together with valid?
90
+ # @return Array for valid properties with the reasons
91
+ def list_invalid_properties
92
+ invalid_properties = Array.new
93
+ invalid_properties
94
+ end
95
+
96
+ # Check to see if the all the properties in the model are valid
97
+ # @return true if the model is valid
98
+ def valid?
99
+ true
100
+ end
101
+
102
+ # Checks equality by comparing each attribute.
103
+ # @param [Object] Object to be compared
104
+ def ==(o)
105
+ return true if self.equal?(o)
106
+ self.class == o.class &&
107
+ subtypes == o.subtypes
108
+ end
109
+
110
+ # @see the `==` method
111
+ # @param [Object] Object to be compared
112
+ def eql?(o)
113
+ self == o
114
+ end
115
+
116
+ # Calculates hash code according to all attributes.
117
+ # @return [Integer] Hash code
118
+ def hash
119
+ [subtypes].hash
120
+ end
121
+
122
+ # Builds the object from hash
123
+ # @param [Hash] attributes Model attributes in the form of hash
124
+ # @return [Object] Returns the model itself
125
+ def self.build_from_hash(attributes)
126
+ new.build_from_hash(attributes)
127
+ end
128
+
129
+ # Builds the object from hash
130
+ # @param [Hash] attributes Model attributes in the form of hash
131
+ # @return [Object] Returns the model itself
132
+ def build_from_hash(attributes)
133
+ return nil unless attributes.is_a?(Hash)
134
+ attributes = attributes.transform_keys(&:to_sym)
135
+ self.class.openapi_types.each_pair do |key, type|
136
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
137
+ self.send("#{key}=", nil)
138
+ elsif type =~ /\AArray<(.*)>/i
139
+ # check to ensure the input is an array given that the attribute
140
+ # is documented as an array but the input is not
141
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
142
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
143
+ end
144
+ elsif !attributes[self.class.attribute_map[key]].nil?
145
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
146
+ end
147
+ end
148
+
149
+ self
150
+ end
151
+
152
+ # Deserializes the data based on type
153
+ # @param string type Data type
154
+ # @param string value Value to be deserialized
155
+ # @return [Object] Deserialized data
156
+ def _deserialize(type, value)
157
+ case type.to_sym
158
+ when :Time
159
+ Time.parse(value)
160
+ when :Date
161
+ Date.parse(value)
162
+ when :String
163
+ value.to_s
164
+ when :Integer
165
+ value.to_i
166
+ when :Float
167
+ value.to_f
168
+ when :Boolean
169
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
170
+ true
171
+ else
172
+ false
173
+ end
174
+ when :Object
175
+ # generic object (usually a Hash), return directly
176
+ value
177
+ when /\AArray<(?<inner_type>.+)>\z/
178
+ inner_type = Regexp.last_match[:inner_type]
179
+ value.map { |v| _deserialize(inner_type, v) }
180
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
181
+ k_type = Regexp.last_match[:k_type]
182
+ v_type = Regexp.last_match[:v_type]
183
+ {}.tap do |hash|
184
+ value.each do |k, v|
185
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
186
+ end
187
+ end
188
+ else # model
189
+ # models (e.g. Pet) or oneOf
190
+ klass = FuseClient.const_get(type)
191
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
192
+ end
193
+ end
194
+
195
+ # Returns the string representation of the object
196
+ # @return [String] String presentation of the object
197
+ def to_s
198
+ to_hash.to_s
199
+ end
200
+
201
+ # to_body is an alias to to_hash (backward compatibility)
202
+ # @return [Hash] Returns the object in the form of hash
203
+ def to_body
204
+ to_hash
205
+ end
206
+
207
+ # Returns the object in the form of hash
208
+ # @return [Hash] Returns the object in the form of hash
209
+ def to_hash
210
+ hash = {}
211
+ self.class.attribute_map.each_pair do |attr, param|
212
+ value = self.send(attr)
213
+ if value.nil?
214
+ is_nullable = self.class.openapi_nullable.include?(attr)
215
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
216
+ end
217
+
218
+ hash[param] = _to_hash(value)
219
+ end
220
+ hash
221
+ end
222
+
223
+ # Outputs non-array value in the form of hash
224
+ # For object, use to_hash. Otherwise, just return the value
225
+ # @param [Object] value Any valid value
226
+ # @return [Hash] Returns the value in the form of hash
227
+ def _to_hash(value)
228
+ if value.is_a?(Array)
229
+ value.compact.map { |v| _to_hash(v) }
230
+ elsif value.is_a?(Hash)
231
+ {}.tap do |hash|
232
+ value.each { |k, v| hash[k] = _to_hash(v) }
233
+ end
234
+ elsif value.respond_to? :to_hash
235
+ value.to_hash
236
+ else
237
+ value
238
+ end
239
+ end
240
+
241
+ end
242
+
243
+ end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -23,6 +23,9 @@ module FuseClient
23
23
  # The maximum allowed limit for the spend power, in cents.
24
24
  attr_accessor :max_limit
25
25
 
26
+ # 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.
27
+ attr_accessor :risk_tolerance
28
+
26
29
  class EnumAttributeValidator
27
30
  attr_reader :datatype
28
31
  attr_reader :allowable_values
@@ -50,7 +53,8 @@ module FuseClient
50
53
  {
51
54
  :'timeframe' => :'timeframe',
52
55
  :'min_limit' => :'min_limit',
53
- :'max_limit' => :'max_limit'
56
+ :'max_limit' => :'max_limit',
57
+ :'risk_tolerance' => :'risk_tolerance'
54
58
  }
55
59
  end
56
60
 
@@ -64,7 +68,8 @@ module FuseClient
64
68
  {
65
69
  :'timeframe' => :'SpendPowerTimeFrame',
66
70
  :'min_limit' => :'Float',
67
- :'max_limit' => :'Float'
71
+ :'max_limit' => :'Float',
72
+ :'risk_tolerance' => :'Float'
68
73
  }
69
74
  end
70
75
 
@@ -100,6 +105,10 @@ module FuseClient
100
105
  if attributes.key?(:'max_limit')
101
106
  self.max_limit = attributes[:'max_limit']
102
107
  end
108
+
109
+ if attributes.key?(:'risk_tolerance')
110
+ self.risk_tolerance = attributes[:'risk_tolerance']
111
+ end
103
112
  end
104
113
 
105
114
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -126,6 +135,18 @@ module FuseClient
126
135
  invalid_properties.push('invalid value for "max_limit", must be greater than or equal to 1.')
127
136
  end
128
137
 
138
+ if @risk_tolerance.nil?
139
+ invalid_properties.push('invalid value for "risk_tolerance", risk_tolerance cannot be nil.')
140
+ end
141
+
142
+ if @risk_tolerance > 100
143
+ invalid_properties.push('invalid value for "risk_tolerance", must be smaller than or equal to 100.')
144
+ end
145
+
146
+ if @risk_tolerance < 1
147
+ invalid_properties.push('invalid value for "risk_tolerance", must be greater than or equal to 1.')
148
+ end
149
+
129
150
  invalid_properties
130
151
  end
131
152
 
@@ -137,6 +158,9 @@ module FuseClient
137
158
  return false if @min_limit < 0
138
159
  return false if @max_limit.nil?
139
160
  return false if @max_limit < 1
161
+ return false if @risk_tolerance.nil?
162
+ return false if @risk_tolerance > 100
163
+ return false if @risk_tolerance < 1
140
164
  true
141
165
  end
142
166
 
@@ -168,6 +192,24 @@ module FuseClient
168
192
  @max_limit = max_limit
169
193
  end
170
194
 
195
+ # Custom attribute writer method with validation
196
+ # @param [Object] risk_tolerance Value to be assigned
197
+ def risk_tolerance=(risk_tolerance)
198
+ if risk_tolerance.nil?
199
+ fail ArgumentError, 'risk_tolerance cannot be nil'
200
+ end
201
+
202
+ if risk_tolerance > 100
203
+ fail ArgumentError, 'invalid value for "risk_tolerance", must be smaller than or equal to 100.'
204
+ end
205
+
206
+ if risk_tolerance < 1
207
+ fail ArgumentError, 'invalid value for "risk_tolerance", must be greater than or equal to 1.'
208
+ end
209
+
210
+ @risk_tolerance = risk_tolerance
211
+ end
212
+
171
213
  # Checks equality by comparing each attribute.
172
214
  # @param [Object] Object to be compared
173
215
  def ==(o)
@@ -175,7 +217,8 @@ module FuseClient
175
217
  self.class == o.class &&
176
218
  timeframe == o.timeframe &&
177
219
  min_limit == o.min_limit &&
178
- max_limit == o.max_limit
220
+ max_limit == o.max_limit &&
221
+ risk_tolerance == o.risk_tolerance
179
222
  end
180
223
 
181
224
  # @see the `==` method
@@ -187,7 +230,7 @@ module FuseClient
187
230
  # Calculates hash code according to all attributes.
188
231
  # @return [Integer] Hash code
189
232
  def hash
190
- [timeframe, min_limit, max_limit].hash
233
+ [timeframe, min_limit, max_limit, risk_tolerance].hash
191
234
  end
192
235
 
193
236
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -18,6 +18,9 @@ module FuseClient
18
18
  # A original ID for the transaction that to help you tie data back to your systems.
19
19
  attr_accessor :id
20
20
 
21
+ # A Fuse defined, unique ID for the merchant associated with this transaction.
22
+ attr_accessor :merchant_id
23
+
21
24
  # The original or enhanced name of the merchant.
22
25
  attr_accessor :name
23
26
 
@@ -84,6 +87,7 @@ module FuseClient
84
87
  def self.attribute_map
85
88
  {
86
89
  :'id' => :'id',
90
+ :'merchant_id' => :'merchant_id',
87
91
  :'name' => :'name',
88
92
  :'logo' => :'logo',
89
93
  :'amount' => :'amount',
@@ -110,8 +114,9 @@ module FuseClient
110
114
  def self.openapi_types
111
115
  {
112
116
  :'id' => :'String',
117
+ :'merchant_id' => :'String',
113
118
  :'name' => :'String',
114
- :'logo' => :'EnrichedTransactionLogo',
119
+ :'logo' => :'MerchantLogo',
115
120
  :'amount' => :'Float',
116
121
  :'category' => :'TransactionCategory',
117
122
  :'is_bill_pay' => :'Boolean',
@@ -152,6 +157,10 @@ module FuseClient
152
157
  self.id = attributes[:'id']
153
158
  end
154
159
 
160
+ if attributes.key?(:'merchant_id')
161
+ self.merchant_id = attributes[:'merchant_id']
162
+ end
163
+
155
164
  if attributes.key?(:'name')
156
165
  self.name = attributes[:'name']
157
166
  end
@@ -245,6 +254,7 @@ module FuseClient
245
254
  return true if self.equal?(o)
246
255
  self.class == o.class &&
247
256
  id == o.id &&
257
+ merchant_id == o.merchant_id &&
248
258
  name == o.name &&
249
259
  logo == o.logo &&
250
260
  amount == o.amount &&
@@ -270,7 +280,7 @@ module FuseClient
270
280
  # Calculates hash code according to all attributes.
271
281
  # @return [Integer] Hash code
272
282
  def hash
273
- [id, name, logo, amount, category, is_bill_pay, is_direct_deposit, is_expense, is_fee, is_income, is_international, is_overdraft_fee, is_payroll_advance, is_subscription, type].hash
283
+ [id, merchant_id, name, logo, amount, category, is_bill_pay, is_direct_deposit, is_expense, is_fee, is_income, is_international, is_overdraft_fee, is_payroll_advance, is_subscription, type].hash
274
284
  end
275
285
 
276
286
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -15,17 +15,25 @@ require 'time'
15
15
 
16
16
  module FuseClient
17
17
  class EvalSpendPowerResponse
18
- # The mean absolute overestimation error for the data
19
- attr_accessor :mean_absolute_overestimation_error
18
+ #
19
+ attr_accessor :mean_granted_above_failed_payments
20
20
 
21
- # The mean absolute underestimation error for the data
22
- attr_accessor :mean_absolute_underestimation_error
21
+ #
22
+ attr_accessor :mean_granted_below_failed_payments
23
+
24
+ #
25
+ attr_accessor :mean_predicted_limits
26
+
27
+ #
28
+ attr_accessor :mean_successful_payments
23
29
 
24
30
  # Attribute mapping from ruby-style variable name to JSON key.
25
31
  def self.attribute_map
26
32
  {
27
- :'mean_absolute_overestimation_error' => :'mean_absolute_overestimation_error',
28
- :'mean_absolute_underestimation_error' => :'mean_absolute_underestimation_error'
33
+ :'mean_granted_above_failed_payments' => :'mean_granted_above_failed_payments',
34
+ :'mean_granted_below_failed_payments' => :'mean_granted_below_failed_payments',
35
+ :'mean_predicted_limits' => :'mean_predicted_limits',
36
+ :'mean_successful_payments' => :'mean_successful_payments'
29
37
  }
30
38
  end
31
39
 
@@ -37,8 +45,10 @@ module FuseClient
37
45
  # Attribute type mapping.
38
46
  def self.openapi_types
39
47
  {
40
- :'mean_absolute_overestimation_error' => :'Float',
41
- :'mean_absolute_underestimation_error' => :'Float'
48
+ :'mean_granted_above_failed_payments' => :'Float',
49
+ :'mean_granted_below_failed_payments' => :'Float',
50
+ :'mean_predicted_limits' => :'Float',
51
+ :'mean_successful_payments' => :'Float'
42
52
  }
43
53
  end
44
54
 
@@ -63,12 +73,20 @@ module FuseClient
63
73
  h[k.to_sym] = v
64
74
  }
65
75
 
66
- if attributes.key?(:'mean_absolute_overestimation_error')
67
- self.mean_absolute_overestimation_error = attributes[:'mean_absolute_overestimation_error']
76
+ if attributes.key?(:'mean_granted_above_failed_payments')
77
+ self.mean_granted_above_failed_payments = attributes[:'mean_granted_above_failed_payments']
78
+ end
79
+
80
+ if attributes.key?(:'mean_granted_below_failed_payments')
81
+ self.mean_granted_below_failed_payments = attributes[:'mean_granted_below_failed_payments']
82
+ end
83
+
84
+ if attributes.key?(:'mean_predicted_limits')
85
+ self.mean_predicted_limits = attributes[:'mean_predicted_limits']
68
86
  end
69
87
 
70
- if attributes.key?(:'mean_absolute_underestimation_error')
71
- self.mean_absolute_underestimation_error = attributes[:'mean_absolute_underestimation_error']
88
+ if attributes.key?(:'mean_successful_payments')
89
+ self.mean_successful_payments = attributes[:'mean_successful_payments']
72
90
  end
73
91
  end
74
92
 
@@ -90,8 +108,10 @@ module FuseClient
90
108
  def ==(o)
91
109
  return true if self.equal?(o)
92
110
  self.class == o.class &&
93
- mean_absolute_overestimation_error == o.mean_absolute_overestimation_error &&
94
- mean_absolute_underestimation_error == o.mean_absolute_underestimation_error
111
+ mean_granted_above_failed_payments == o.mean_granted_above_failed_payments &&
112
+ mean_granted_below_failed_payments == o.mean_granted_below_failed_payments &&
113
+ mean_predicted_limits == o.mean_predicted_limits &&
114
+ mean_successful_payments == o.mean_successful_payments
95
115
  end
96
116
 
97
117
  # @see the `==` method
@@ -103,7 +123,7 @@ module FuseClient
103
123
  # Calculates hash code according to all attributes.
104
124
  # @return [Integer] Hash code
105
125
  def hash
106
- [mean_absolute_overestimation_error, mean_absolute_underestimation_error].hash
126
+ [mean_granted_above_failed_payments, mean_granted_below_failed_payments, mean_predicted_limits, mean_successful_payments].hash
107
127
  end
108
128
 
109
129
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.5.0
9
+ OpenAPI Generator version: 6.6.0
10
10
 
11
11
  =end
12
12