fuse_client 1.0.33 → 1.0.34

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +6 -1
  4. data/docs/AddAccountEventsRequest.md +18 -0
  5. data/docs/AddAccountEventsRequestEventsInner.md +51 -0
  6. data/docs/{AddSpendPowerTransactionResponse.md → AddAccountEventsResponse.md} +2 -2
  7. data/docs/AssetReportTransaction.md +1 -1
  8. data/docs/CreateSessionRequest.md +1 -1
  9. data/docs/CreateSpendPowerCustomizationRequest.md +22 -0
  10. data/docs/CreateSpendPowerRequest.md +5 -5
  11. data/docs/CreateSpendPowerResponse.md +1 -1
  12. data/docs/DeleteSpendPowerResponse.md +2 -2
  13. data/docs/EnrichTransactionsRequest.md +18 -0
  14. data/docs/EnrichTransactionsResponse.md +18 -0
  15. data/docs/EnrichedTransaction.md +46 -0
  16. data/docs/EnrichedTransactionLogo.md +18 -0
  17. data/docs/EvalSpendPowerRequest.md +22 -0
  18. data/docs/EvalSpendPowerRequestEventsInner.md +20 -0
  19. data/docs/EvalSpendPowerResponse.md +20 -0
  20. data/docs/ExternalTransactionEvent.md +36 -0
  21. data/docs/ExternalTransactionEventStatus.md +15 -0
  22. data/docs/FinancialConnectionsAccountBalance.md +2 -2
  23. data/docs/FinancialConnectionsAccountCachedBalance.md +2 -2
  24. data/docs/FinancialConnectionsHolding.md +3 -3
  25. data/docs/FinancialConnectionsInvestmentSecurity.md +1 -1
  26. data/docs/FinancialConnectionsInvestmentTransaction.md +5 -3
  27. data/docs/FinancialConnectionsInvestmentTransactionSubtype.md +15 -0
  28. data/docs/FuseApi.md +193 -35
  29. data/docs/GetFinanceScoreResponse.md +20 -0
  30. data/docs/GetInvestmentTransactionsRequest.md +4 -4
  31. data/docs/GetSpendPowerCustomizationResponse.md +20 -0
  32. data/docs/InAppTransactionEvent.md +34 -0
  33. data/docs/InAppTransactionEventStatus.md +15 -0
  34. data/docs/SpendPower.md +6 -6
  35. data/docs/SpendPowerApi.md +87 -44
  36. data/docs/SpendPowerCustomization.md +5 -3
  37. data/docs/SpendPowerTimeFrame.md +15 -0
  38. data/docs/Transaction.md +1 -1
  39. data/docs/TransactionCategory.md +20 -0
  40. data/docs/TransactionCategoryDetailed.md +15 -0
  41. data/docs/TransactionCategoryPrimary.md +15 -0
  42. data/docs/TransactionEventType.md +15 -0
  43. data/docs/TransactionToEnrich.md +26 -0
  44. data/docs/UpdateSpendPowerCustomizationRequest.md +22 -0
  45. data/docs/UpdatedBalanceEvent.md +26 -0
  46. data/lib/fuse_client/api/fuse_api.rb +176 -31
  47. data/lib/fuse_client/api/spend_power_api.rb +78 -52
  48. data/lib/fuse_client/models/add_account_events_request.rb +254 -0
  49. data/lib/fuse_client/models/add_account_events_request_events_inner.rb +106 -0
  50. data/lib/fuse_client/models/{add_spend_power_transaction_response.rb → add_account_events_response.rb} +3 -3
  51. data/lib/fuse_client/models/asset_report_transaction.rb +1 -1
  52. data/lib/fuse_client/models/country_code.rb +2 -1
  53. data/lib/fuse_client/models/create_session_request.rb +1 -1
  54. data/lib/fuse_client/models/create_spend_power_customization_request.rb +314 -0
  55. data/lib/fuse_client/models/create_spend_power_request.rb +22 -22
  56. data/lib/fuse_client/models/create_spend_power_response.rb +1 -1
  57. data/lib/fuse_client/models/delete_spend_power_response.rb +11 -10
  58. data/lib/fuse_client/models/enrich_transactions_request.rb +226 -0
  59. data/lib/fuse_client/models/enrich_transactions_response.rb +222 -0
  60. data/lib/fuse_client/models/enriched_transaction.rb +397 -0
  61. data/lib/fuse_client/models/enriched_transaction_logo.rb +220 -0
  62. data/lib/fuse_client/models/eval_spend_power_request.rb +296 -0
  63. data/lib/fuse_client/models/eval_spend_power_request_events_inner.rb +239 -0
  64. data/lib/fuse_client/models/eval_spend_power_response.rb +230 -0
  65. data/lib/fuse_client/models/external_transaction_event.rb +384 -0
  66. data/lib/fuse_client/models/external_transaction_event_status.rb +40 -0
  67. data/lib/fuse_client/models/financial_connections_account_balance.rb +2 -2
  68. data/lib/fuse_client/models/financial_connections_account_cached_balance.rb +2 -2
  69. data/lib/fuse_client/models/financial_connections_holding.rb +3 -3
  70. data/lib/fuse_client/models/financial_connections_investment_security.rb +1 -1
  71. data/lib/fuse_client/models/financial_connections_investment_transaction.rb +13 -4
  72. data/lib/fuse_client/models/financial_connections_investment_transaction_subtype.rb +87 -0
  73. data/lib/fuse_client/models/fuse_api_error_code.rb +3 -1
  74. data/lib/fuse_client/models/get_finance_score_response.rb +240 -0
  75. data/lib/fuse_client/models/get_investment_transactions_request.rb +37 -9
  76. data/lib/fuse_client/models/get_spend_power_customization_response.rb +239 -0
  77. data/lib/fuse_client/models/in_app_transaction_event.rb +364 -0
  78. data/lib/fuse_client/models/in_app_transaction_event_status.rb +41 -0
  79. data/lib/fuse_client/models/spend_power.rb +18 -18
  80. data/lib/fuse_client/models/spend_power_customization.rb +54 -14
  81. data/lib/fuse_client/models/spend_power_time_frame.rb +41 -0
  82. data/lib/fuse_client/models/transaction.rb +1 -1
  83. data/lib/fuse_client/models/transaction_category.rb +260 -0
  84. data/lib/fuse_client/models/transaction_category_detailed.rb +135 -0
  85. data/lib/fuse_client/models/transaction_category_primary.rb +59 -0
  86. data/lib/fuse_client/models/transaction_event_type.rb +65 -0
  87. data/lib/fuse_client/models/{add_spend_power_transaction_request.rb → transaction_to_enrich.rb} +47 -27
  88. data/lib/fuse_client/models/update_spend_power_customization_request.rb +291 -0
  89. data/lib/fuse_client/models/updated_balance_event.rb +308 -0
  90. data/lib/fuse_client/version.rb +1 -1
  91. data/lib/fuse_client.rb +26 -2
  92. data/spec/api/fuse_api_spec.rb +33 -7
  93. data/spec/api/spend_power_api_spec.rb +14 -17
  94. data/spec/models/add_account_events_request_events_inner_spec.rb +31 -0
  95. data/spec/models/add_account_events_request_spec.rb +34 -0
  96. data/spec/models/{add_spend_power_transaction_response_spec.rb → add_account_events_response_spec.rb} +6 -6
  97. data/spec/models/create_spend_power_customization_request_spec.rb +46 -0
  98. data/spec/models/create_spend_power_request_spec.rb +2 -2
  99. data/spec/models/delete_spend_power_response_spec.rb +1 -1
  100. data/spec/models/enrich_transactions_request_spec.rb +34 -0
  101. data/spec/models/enrich_transactions_response_spec.rb +34 -0
  102. data/spec/models/enriched_transaction_logo_spec.rb +34 -0
  103. data/spec/models/enriched_transaction_spec.rb +122 -0
  104. data/spec/models/eval_spend_power_request_events_inner_spec.rb +40 -0
  105. data/spec/models/eval_spend_power_request_spec.rb +46 -0
  106. data/spec/models/eval_spend_power_response_spec.rb +40 -0
  107. data/spec/models/external_transaction_event_spec.rb +92 -0
  108. data/spec/models/external_transaction_event_status_spec.rb +28 -0
  109. data/spec/models/financial_connections_investment_transaction_spec.rb +6 -0
  110. data/spec/models/financial_connections_investment_transaction_subtype_spec.rb +28 -0
  111. data/spec/models/get_finance_score_response_spec.rb +40 -0
  112. data/spec/models/get_spend_power_customization_response_spec.rb +40 -0
  113. data/spec/models/in_app_transaction_event_spec.rb +86 -0
  114. data/spec/models/in_app_transaction_event_status_spec.rb +28 -0
  115. data/spec/models/spend_power_customization_spec.rb +6 -4
  116. data/spec/models/spend_power_spec.rb +1 -1
  117. data/spec/models/spend_power_time_frame_spec.rb +28 -0
  118. data/spec/models/transaction_category_detailed_spec.rb +28 -0
  119. data/spec/models/transaction_category_primary_spec.rb +28 -0
  120. data/spec/models/transaction_category_spec.rb +40 -0
  121. data/spec/models/transaction_event_type_spec.rb +28 -0
  122. data/spec/models/{add_spend_power_transaction_request_spec.rb → transaction_to_enrich_spec.rb} +23 -11
  123. data/spec/models/update_spend_power_customization_request_spec.rb +46 -0
  124. data/spec/models/updated_balance_event_spec.rb +62 -0
  125. metadata +106 -10
  126. data/docs/AddSpendPowerTransactionRequest.md +0 -22
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bca72dbf2bc898395d54eb0df6c34a5db41fc38ecc106eecac08d0ef7d42ade4
4
- data.tar.gz: bb5b81f8e7432c42db84d430cfb12db3655a6638a8ece572043da51eba8642b4
3
+ metadata.gz: 13808acb1caccaa1752875f52264434903b405cfb922cc63d6885dc58cb8ccac
4
+ data.tar.gz: 54255f1b24ecdaa6c097fd31cf941f002de6707857bb9bce01444f378a4d55c1
5
5
  SHA512:
6
- metadata.gz: a7f647519d4602e1898d03234816b5885bde16355097c85ad31aa68a4f5adda45f5e139f026f6b3caa342f32cd831a447a1a8fda570addbd37326ab39c218133
7
- data.tar.gz: 75b9bf702e2261e4e59e26f34e87a8d653e8eebe7121d3cea8a8e238cb50a37913051aa0a226af470b03a5d2304d1e64a43d27059e64c0f55e0b15654938a350
6
+ metadata.gz: 946aeeab6dceb80a9c4fd8799f69e57dcdd2b7236575119a4fa59f85b3d3ee4558f52d2649cd75361447edf5a6c5b661262d5ef8638583f2cb7961440f85c8fd
7
+ data.tar.gz: 3e17a21eb9a97b79fd50abde6bdc1f2a0c16a2692e2b6f4ff876fc2783c16287e395033e0a17ed6df3e428ba2bab9658f53e95fac837fc132aca65c699f7ec88
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fuse_client (1.0.33)
4
+ fuse_client (1.0.34)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -14,7 +14,7 @@ GEM
14
14
  ethon (0.16.0)
15
15
  ffi (>= 1.15.0)
16
16
  ffi (1.15.5)
17
- jaro_winkler (1.5.4)
17
+ jaro_winkler (1.5.5)
18
18
  method_source (1.0.0)
19
19
  parallel (1.23.0)
20
20
  parser (3.2.2.1)
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  ### Add to gem file
4
4
 
5
5
  ```ruby
6
- gem 'fuse_client', "~> 1.0.6"
6
+ gem 'fuse_client', "~> 1.0.33"
7
7
  ```
8
8
 
9
9
  ### Setup fuse client
@@ -83,3 +83,8 @@ class FuseService
83
83
 
84
84
  end
85
85
  ```
86
+
87
+ ### Pushing to gems
88
+ ```
89
+ gem build fuse_client.gemspec
90
+ ```
@@ -0,0 +1,18 @@
1
+ # FuseClient::AddAccountEventsRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **events** | [**Array<AddAccountEventsRequestEventsInner>**](AddAccountEventsRequestEventsInner.md) | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'fuse_client'
13
+
14
+ instance = FuseClient::AddAccountEventsRequest.new(
15
+ events: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,51 @@
1
+ # FuseClient::AddAccountEventsRequestEventsInner
2
+
3
+ ## Class instance methods
4
+
5
+ ### `openapi_one_of`
6
+
7
+ Returns the list of classes defined in oneOf.
8
+
9
+ #### Example
10
+
11
+ ```ruby
12
+ require 'fuse_client'
13
+
14
+ FuseClient::AddAccountEventsRequestEventsInner.openapi_one_of
15
+ # =>
16
+ # [
17
+ # :'ExternalTransactionEvent',
18
+ # :'InAppTransactionEvent',
19
+ # :'UpdatedBalanceEvent'
20
+ # ]
21
+ ```
22
+
23
+ ### build
24
+
25
+ Find the appropriate object from the `openapi_one_of` list and casts the data into it.
26
+
27
+ #### Example
28
+
29
+ ```ruby
30
+ require 'fuse_client'
31
+
32
+ FuseClient::AddAccountEventsRequestEventsInner.build(data)
33
+ # => #<ExternalTransactionEvent:0x00007fdd4aab02a0>
34
+
35
+ FuseClient::AddAccountEventsRequestEventsInner.build(data_that_doesnt_match)
36
+ # => nil
37
+ ```
38
+
39
+ #### Parameters
40
+
41
+ | Name | Type | Description |
42
+ | ---- | ---- | ----------- |
43
+ | **data** | **Mixed** | data to be matched against the list of oneOf items |
44
+
45
+ #### Return type
46
+
47
+ - `ExternalTransactionEvent`
48
+ - `InAppTransactionEvent`
49
+ - `UpdatedBalanceEvent`
50
+ - `nil` (if no type matches)
51
+
@@ -1,4 +1,4 @@
1
- # FuseClient::AddSpendPowerTransactionResponse
1
+ # FuseClient::AddAccountEventsResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -12,7 +12,7 @@
12
12
  ```ruby
13
13
  require 'fuse_client'
14
14
 
15
- instance = FuseClient::AddSpendPowerTransactionResponse.new(
15
+ instance = FuseClient::AddAccountEventsResponse.new(
16
16
  message: null,
17
17
  request_id: null
18
18
  )
@@ -6,7 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **remote_id** | **String** | Remote Id of the transaction, ie Plaid or Teller Id | |
8
8
  | **remote_account_id** | **String** | Remote Account Id of the transaction, ie Plaid Account Id | |
9
- | **amount** | **Float** | Amount in cents associated with the transaction. 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. | |
9
+ | **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
10
  | **date** | **String** | Date of the transaction (YYYY-MM-DD) | |
11
11
  | **description** | **String** | Description of the transaction | |
12
12
  | **category** | **Array&lt;String&gt;** | Categories of the transaction, ie Computers and Electronics. &#39;-&#39; means we could not map the upstream category. | |
@@ -8,7 +8,7 @@
8
8
  | **products** | [**Array&lt;Product&gt;**](Product.md) | List of products that you would like the institutions to support | |
9
9
  | **country_codes** | [**Array&lt;CountryCode&gt;**](CountryCode.md) | List of country codes that you would like the institutions to support | [optional] |
10
10
  | **entity** | [**Entity**](Entity.md) | | |
11
- | **access_token** | **String** | The fuse access token for an existing account integration. This will perform the process to reconnect an existing disconnected account. | [optional] |
11
+ | **access_token** | **String** | The fuse access token for an existing financial connection. This will perform the process to reconnect an existing disconnected account. | [optional] |
12
12
  | **is_web_view** | **Boolean** | Set to false for web SDKs (e.g., React), and true for mobile SDKs (e.g., React Native, Flutter, iOS, Android). | [optional] |
13
13
 
14
14
  ## Example
@@ -0,0 +1,22 @@
1
+ # FuseClient::CreateSpendPowerCustomizationRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **timeframe** | [**SpendPowerTimeFrame**](SpendPowerTimeFrame.md) | | |
8
+ | **min_limit** | **Float** | The minimum allowed limit for the spend power, in cents. | |
9
+ | **max_limit** | **Float** | The maximum allowed limit for the spend power, in cents. | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'fuse_client'
15
+
16
+ instance = FuseClient::CreateSpendPowerCustomizationRequest.new(
17
+ timeframe: null,
18
+ min_limit: null,
19
+ max_limit: null
20
+ )
21
+ ```
22
+
@@ -4,9 +4,9 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **access_token** | **String** | Access token for authentication | |
8
- | **remote_account_id** | **String** | The remote account id to create the spend power for. | |
9
- | **customization_id** | **String** | The spend power customization id. | |
7
+ | **account_id** | **String** | A unique ID representing the bank account that this spend power is calculated for. Typically this will be a bank connection account ID from your application. It is currently used as a means of connecting events to the spend power. | |
8
+ | **iso_currency_code** | **String** | The ISO-4217 currency code of the transaction | |
9
+ | **customization_id** | **String** | The spend power customization id. This is used to determine the timeframe and other metadata for the spend power. | |
10
10
 
11
11
  ## Example
12
12
 
@@ -14,8 +14,8 @@
14
14
  require 'fuse_client'
15
15
 
16
16
  instance = FuseClient::CreateSpendPowerRequest.new(
17
- access_token: null,
18
- remote_account_id: null,
17
+ account_id: null,
18
+ iso_currency_code: null,
19
19
  customization_id: null
20
20
  )
21
21
  ```
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | The id of the created spend power | |
7
+ | **id** | **String** | The id of the created spend power. | |
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
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **spend_power** | [**SpendPower**](SpendPower.md) | | |
7
+ | **id** | **String** | The id of the deleted spend power | |
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
@@ -13,7 +13,7 @@
13
13
  require 'fuse_client'
14
14
 
15
15
  instance = FuseClient::DeleteSpendPowerResponse.new(
16
- spend_power: null,
16
+ id: null,
17
17
  request_id: null
18
18
  )
19
19
  ```
@@ -0,0 +1,18 @@
1
+ # FuseClient::EnrichTransactionsRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **transactions** | [**Array&lt;TransactionToEnrich&gt;**](TransactionToEnrich.md) | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'fuse_client'
13
+
14
+ instance = FuseClient::EnrichTransactionsRequest.new(
15
+ transactions: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # FuseClient::EnrichTransactionsResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **enriched_transactions** | [**Array&lt;EnrichedTransaction&gt;**](EnrichedTransaction.md) | The enriched transactions. | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'fuse_client'
13
+
14
+ instance = FuseClient::EnrichTransactionsResponse.new(
15
+ enriched_transactions: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,46 @@
1
+ # FuseClient::EnrichedTransaction
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | A original ID for the transaction that to help you tie data back to your systems. | |
8
+ | **name** | **String** | The original or enhanced name of the merchant. | [optional] |
9
+ | **logo** | [**EnrichedTransactionLogo**](EnrichedTransactionLogo.md) | | [optional] |
10
+ | **amount** | **Float** | The amount of the transaction in cents, in the currency of the account. | [optional] |
11
+ | **category** | [**TransactionCategory**](TransactionCategory.md) | | [optional] |
12
+ | **is_bill_pay** | **Boolean** | Whether the transaction is a bill pay. | [optional] |
13
+ | **is_direct_deposit** | **Boolean** | Whether the transaction is a direct deposit. | [optional] |
14
+ | **is_expense** | **Boolean** | Whether the transaction is a an expense | [optional] |
15
+ | **is_fee** | **Boolean** | Whether the transaction is a fee. | [optional] |
16
+ | **is_income** | **Boolean** | Whether the transaction is income. | [optional] |
17
+ | **is_international** | **Boolean** | Whether the transaction is international. | [optional] |
18
+ | **is_overdraft_fee** | **Boolean** | This indicates whether the transaction represents an overdraft fee. | [optional] |
19
+ | **is_payroll_advance** | **Boolean** | Whether the transaction is a payroll advance. | [optional] |
20
+ | **is_subscription** | **Boolean** | Whether the transaction is a subscription. | [optional] |
21
+ | **type** | **String** | The type of transaction | [optional] |
22
+
23
+ ## Example
24
+
25
+ ```ruby
26
+ require 'fuse_client'
27
+
28
+ instance = FuseClient::EnrichedTransaction.new(
29
+ id: null,
30
+ name: null,
31
+ logo: null,
32
+ amount: null,
33
+ category: null,
34
+ is_bill_pay: null,
35
+ is_direct_deposit: null,
36
+ is_expense: null,
37
+ is_fee: null,
38
+ is_income: null,
39
+ is_international: null,
40
+ is_overdraft_fee: null,
41
+ is_payroll_advance: null,
42
+ is_subscription: null,
43
+ type: null
44
+ )
45
+ ```
46
+
@@ -0,0 +1,18 @@
1
+ # FuseClient::EnrichedTransactionLogo
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **url** | **String** | The URL of the logo. | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'fuse_client'
13
+
14
+ instance = FuseClient::EnrichedTransactionLogo.new(
15
+ url: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,22 @@
1
+ # FuseClient::EvalSpendPowerRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **window_size** | **Float** | The size of the window for training | |
8
+ | **time_frame** | [**SpendPowerTimeFrame**](SpendPowerTimeFrame.md) | | |
9
+ | **events** | [**Array&lt;EvalSpendPowerRequestEventsInner&gt;**](EvalSpendPowerRequestEventsInner.md) | | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'fuse_client'
15
+
16
+ instance = FuseClient::EvalSpendPowerRequest.new(
17
+ window_size: null,
18
+ time_frame: null,
19
+ events: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,20 @@
1
+ # FuseClient::EvalSpendPowerRequestEventsInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **account_id** | **String** | The id of the account that event belongs to | |
8
+ | **event** | [**AddAccountEventsRequestEventsInner**](AddAccountEventsRequestEventsInner.md) | | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'fuse_client'
14
+
15
+ instance = FuseClient::EvalSpendPowerRequestEventsInner.new(
16
+ account_id: null,
17
+ event: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # FuseClient::EvalSpendPowerResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **mean_absolute_overestimation_error** | **Float** | The mean absolute overestimation error for the data | [optional] |
8
+ | **mean_absolute_underestimation_error** | **Float** | The mean absolute underestimation error for the data | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'fuse_client'
14
+
15
+ instance = FuseClient::EvalSpendPowerResponse.new(
16
+ mean_absolute_overestimation_error: null,
17
+ mean_absolute_underestimation_error: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,36 @@
1
+ # FuseClient::ExternalTransactionEvent
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | ID of the transaction | |
8
+ | **event_type** | **String** | | |
9
+ | **status** | [**ExternalTransactionEventStatus**](ExternalTransactionEventStatus.md) | | |
10
+ | **balance** | **Float** | The running balance of the account after the transaction has occurred, in cents | [optional] |
11
+ | **amount** | **Float** | Use positive values to represent money going out and negative to represent money going in. | |
12
+ | **merchant_name** | **String** | | |
13
+ | **transaction_type** | [**TransactionEventType**](TransactionEventType.md) | | |
14
+ | **category** | [**TransactionCategory**](TransactionCategory.md) | | |
15
+ | **iso_currency_code** | **String** | The ISO-4217 currency code. | |
16
+ | **timestamp** | **String** | Datetime of the transaction In ISO-8601 format | |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'fuse_client'
22
+
23
+ instance = FuseClient::ExternalTransactionEvent.new(
24
+ id: null,
25
+ event_type: null,
26
+ status: null,
27
+ balance: null,
28
+ amount: null,
29
+ merchant_name: null,
30
+ transaction_type: null,
31
+ category: null,
32
+ iso_currency_code: null,
33
+ timestamp: null
34
+ )
35
+ ```
36
+
@@ -0,0 +1,15 @@
1
+ # FuseClient::ExternalTransactionEventStatus
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'fuse_client'
12
+
13
+ instance = FuseClient::ExternalTransactionEventStatus.new()
14
+ ```
15
+
@@ -5,8 +5,8 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **remote_account_id** | **String** | Remote Account Id of the transaction, ie Plaid Account Id | |
8
- | **available** | **Float** | Amount in cents after factoring in pending balances. For accounts with credit features, the available funds generally equal the credit limit. Some institutions may not provide an available balance calculation. If this is the case, Fuse will return a null value for the available balance. To ensure you have the most accurate information, we recommend obtaining the current balance by using &#39;balance.available || balance.current&#39;. | [optional] |
9
- | **current** | **Float** | Amount in cents without factoring in pending balances | [optional] |
8
+ | **available** | **Float** | Amount in cents after factoring in pending balances. The format of this value is a double. For accounts with credit features, the available funds generally equal the credit limit. Some institutions may not provide an available balance calculation. If this is the case, Fuse will return a null value for the available balance. To ensure you have the most accurate information, we recommend obtaining the current balance by using &#39;balance.available || balance.current&#39;. | [optional] |
9
+ | **current** | **Float** | Amount in cents without factoring in pending balances. The format of this value is a double. | [optional] |
10
10
  | **iso_currency_code** | **String** | The ISO-4217 currency code of the balance. | [optional] |
11
11
  | **last_updated_date** | **String** | The last time the account balance was updated, represented as an ISO 8601 timestamp (YYYY-MM-DDTHH:mm:ssZ). This value may not be available for some accounts. | [optional] |
12
12
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **available** | **Float** | The amount of funds available to be withdrawn from the account, as determined by the financial institution Available balance may be cached and is not guaranteed to be up-to-date in realtime unless the value was returned by /financial_connections/balances. For accounts with credit features, the available funds generally equal the credit limit. Some institutions may not provide an available balance calculation. If this is the case, Fuse will return a null value for the available balance. To ensure you have the most accurate information, we recommend obtaining the current balance by using &#39;balance.available || balance.current&#39;. | [optional] |
8
- | **current** | **Float** | Amount without factoring in pending balances | [optional] |
7
+ | **available** | **Float** | The amount of funds available, in cents, to be withdrawn from the account, as determined by the financial institution. The format of this value is a double. Available balance may be cached and is not guaranteed to be up-to-date in realtime unless the value was returned by /financial_connections/balances. For accounts with credit features, the available funds generally equal the credit limit. Some institutions may not provide an available balance calculation. If this is the case, Fuse will return a null value for the available balance. To ensure you have the most accurate information, we recommend obtaining the current balance by using &#39;balance.available || balance.current&#39;. | [optional] |
8
+ | **current** | **Float** | Amount without factoring in pending balances, in cents. The format of this value is a double. | [optional] |
9
9
  | **iso_currency_code** | **String** | The ISO-4217 currency code of the balance. | [optional] |
10
10
  | **last_updated_date** | **String** | The date of the last update to the balance. | [optional] |
11
11
 
@@ -5,10 +5,10 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **remote_account_id** | **String** | The remote account ID associated with this holding. | |
8
- | **cost_basis** | **Float** | The original total value of the holding when it was purchased. | |
9
- | **value** | **Float** | The current market value of the holding. | |
8
+ | **cost_basis** | **Float** | The original total value of the holding, in cents, when it was purchased. The format of this value is a double. | |
9
+ | **value** | **Float** | The current market value of the holding, in cents. The format of this value is a double. | |
10
10
  | **quantity** | **Float** | The number of units of the security held in this holding. | |
11
- | **institution_price** | **Float** | The price of the security as provided by the financial institution managing the holding. | |
11
+ | **institution_price** | **Float** | The price of the security, in cents, as provided by the financial institution managing the holding. The format of this value is a double. | |
12
12
  | **security** | [**FinancialConnectionsInvestmentSecurity**](FinancialConnectionsInvestmentSecurity.md) | | |
13
13
 
14
14
  ## Example
@@ -9,7 +9,7 @@
9
9
  | **isin** | **String** | The International Securities Identification Number (ISIN) uniquely identifies the security. | [optional] |
10
10
  | **sedol** | **String** | The Stock Exchange Daily Official List (SEDOL) code uniquely identifies the security, primarily used in the United Kingdom and Ireland. | [optional] |
11
11
  | **cusip** | **String** | The Committee on Uniform Securities Identification Procedures (CUSIP) number uniquely identifies the security, primarily used in the United States and Canada. | [optional] |
12
- | **close_price** | **Float** | The closing price of the security at the end of the most recent trading day. | [optional] |
12
+ | **close_price** | **Float** | The closing price of the security, in cents, at the end of the most recent trading day. The format of this value is a double. | [optional] |
13
13
  | **currency** | [**Currency**](Currency.md) | | |
14
14
  | **name** | **String** | A descriptive name for the security, suitable for display. | [optional] |
15
15
  | **type** | [**FinancialConnectionsInvestmentSecurityType**](FinancialConnectionsInvestmentSecurityType.md) | | [optional] |
@@ -7,14 +7,15 @@
7
7
  | **remote_id** | **String** | The remote ID of the Investment transaction | |
8
8
  | **remote_account_id** | **String** | Remote Account Id of the transaction, ie Plaid Account Id | |
9
9
  | **account_name** | **String** | The name of the account associated with the investment transaction | [optional] |
10
- | **amount** | **Float** | The amount of the investment transaction | |
10
+ | **amount** | **Float** | The amount of the investment transaction, in cents. The format of this value is a double. | |
11
11
  | **description** | **String** | A description of the investment transaction | |
12
- | **fees** | **Float** | The fees associated with the investment transaction | |
12
+ | **fees** | **Float** | The fees associated with the investment transaction, in cents. The format of this value is a double. | |
13
13
  | **currency** | [**Currency**](Currency.md) | | |
14
14
  | **date** | **Time** | The date and time of the investment transaction | |
15
15
  | **type** | **String** | The type of the investment transaction (e.g., &#39;buy&#39;, &#39;sell&#39;, &#39;dividend&#39;) | |
16
+ | **subtype** | [**FinancialConnectionsInvestmentTransactionSubtype**](FinancialConnectionsInvestmentTransactionSubtype.md) | | [optional] |
16
17
  | **quantity** | **Float** | The number of units of the security involved in this transaction | |
17
- | **price** | **Float** | The price of the security involved in this transaction | |
18
+ | **price** | **Float** | The price of the security involved in this transaction, in cents. The format of this value is a double. | |
18
19
  | **security** | [**FinancialConnectionsInvestmentSecurity**](FinancialConnectionsInvestmentSecurity.md) | | |
19
20
 
20
21
  ## Example
@@ -32,6 +33,7 @@ instance = FuseClient::FinancialConnectionsInvestmentTransaction.new(
32
33
  currency: null,
33
34
  date: null,
34
35
  type: null,
36
+ subtype: null,
35
37
  quantity: null,
36
38
  price: null,
37
39
  security: null
@@ -0,0 +1,15 @@
1
+ # FuseClient::FinancialConnectionsInvestmentTransactionSubtype
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'fuse_client'
12
+
13
+ instance = FuseClient::FinancialConnectionsInvestmentTransactionSubtype.new()
14
+ ```
15
+