fuse_client 1.0.41 → 1.0.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/docs/FinancialConnectionData.md +1 -1
  4. data/docs/FinancialConnectionsAccountDetails.md +1 -1
  5. data/docs/FinancialConnectionsAccountDetailsAccountNumber.md +1 -1
  6. data/docs/FuseApi.md +6 -83
  7. data/docs/Transaction.md +1 -1
  8. data/lib/fuse_client/api/fuse_api.rb +10 -67
  9. data/lib/fuse_client/configuration.rb +32 -11
  10. data/lib/fuse_client/models/financial_connection_data.rb +1 -5
  11. data/lib/fuse_client/models/financial_connections_account.rb +1 -0
  12. data/lib/fuse_client/models/financial_connections_account_balance.rb +2 -0
  13. data/lib/fuse_client/models/financial_connections_account_cached_balance.rb +2 -0
  14. data/lib/fuse_client/models/financial_connections_account_details.rb +0 -5
  15. data/lib/fuse_client/models/financial_connections_account_details_account_number.rb +5 -0
  16. data/lib/fuse_client/models/financial_connections_account_liability.rb +1 -0
  17. data/lib/fuse_client/models/fuse_api_aggregator_error.rb +5 -0
  18. data/lib/fuse_client/models/transaction.rb +1 -1
  19. data/lib/fuse_client/version.rb +1 -1
  20. data/lib/fuse_client.rb +0 -20
  21. data/spec/api/fuse_api_spec.rb +1 -12
  22. metadata +2 -82
  23. data/docs/FinQLComparisonFeature.md +0 -26
  24. data/docs/FinQLFeature.md +0 -61
  25. data/docs/FinQLFeatureOneOf.md +0 -18
  26. data/docs/FinQLFeatureOneOf1.md +0 -18
  27. data/docs/FinQLFeatureOneOf2.md +0 -18
  28. data/docs/FinQLFeatureOneOf3.md +0 -18
  29. data/docs/FinQLFeatureOneOf4.md +0 -18
  30. data/docs/FinQLFeatureOneOf5.md +0 -18
  31. data/docs/FinQLFeatureOneOf6.md +0 -18
  32. data/docs/FinQLFeatureOneOf7.md +0 -18
  33. data/docs/FinQLFeatureRequest.md +0 -15
  34. data/docs/FinQLFrequencyFeature.md +0 -20
  35. data/docs/FinQLIndividualMerchantFeature.md +0 -20
  36. data/docs/FinQLInterestFeature.md +0 -18
  37. data/docs/FinQLMerchantCategoriesFeatureInner.md +0 -20
  38. data/docs/FinQLMerchantCategoriesFeatureInnerResultInner.md +0 -20
  39. data/docs/FinQLPromptRequest.md +0 -22
  40. data/docs/FinQLPromptResponse.md +0 -20
  41. data/docs/FinQLTimeBasedFeatureInner.md +0 -20
  42. data/docs/FinQLTopMerchantsFeatureInner.md +0 -22
  43. data/lib/fuse_client/models/fin_ql_comparison_feature.rb +0 -255
  44. data/lib/fuse_client/models/fin_ql_feature.rb +0 -111
  45. data/lib/fuse_client/models/fin_ql_feature_one_of.rb +0 -219
  46. data/lib/fuse_client/models/fin_ql_feature_one_of1.rb +0 -219
  47. data/lib/fuse_client/models/fin_ql_feature_one_of2.rb +0 -221
  48. data/lib/fuse_client/models/fin_ql_feature_one_of3.rb +0 -219
  49. data/lib/fuse_client/models/fin_ql_feature_one_of4.rb +0 -219
  50. data/lib/fuse_client/models/fin_ql_feature_one_of5.rb +0 -221
  51. data/lib/fuse_client/models/fin_ql_feature_one_of6.rb +0 -219
  52. data/lib/fuse_client/models/fin_ql_feature_one_of7.rb +0 -221
  53. data/lib/fuse_client/models/fin_ql_feature_request.rb +0 -46
  54. data/lib/fuse_client/models/fin_ql_frequency_feature.rb +0 -262
  55. data/lib/fuse_client/models/fin_ql_individual_merchant_feature.rb +0 -228
  56. data/lib/fuse_client/models/fin_ql_interest_feature.rb +0 -219
  57. data/lib/fuse_client/models/fin_ql_merchant_categories_feature_inner.rb +0 -230
  58. data/lib/fuse_client/models/fin_ql_merchant_categories_feature_inner_result_inner.rb +0 -228
  59. data/lib/fuse_client/models/fin_ql_prompt_request.rb +0 -276
  60. data/lib/fuse_client/models/fin_ql_prompt_response.rb +0 -234
  61. data/lib/fuse_client/models/fin_ql_time_based_feature_inner.rb +0 -228
  62. data/lib/fuse_client/models/fin_ql_top_merchants_feature_inner.rb +0 -237
  63. data/spec/models/fin_ql_comparison_feature_spec.rb +0 -58
  64. data/spec/models/fin_ql_feature_one_of1_spec.rb +0 -34
  65. data/spec/models/fin_ql_feature_one_of2_spec.rb +0 -34
  66. data/spec/models/fin_ql_feature_one_of3_spec.rb +0 -34
  67. data/spec/models/fin_ql_feature_one_of4_spec.rb +0 -34
  68. data/spec/models/fin_ql_feature_one_of5_spec.rb +0 -34
  69. data/spec/models/fin_ql_feature_one_of6_spec.rb +0 -34
  70. data/spec/models/fin_ql_feature_one_of7_spec.rb +0 -34
  71. data/spec/models/fin_ql_feature_one_of_spec.rb +0 -34
  72. data/spec/models/fin_ql_feature_request_spec.rb +0 -28
  73. data/spec/models/fin_ql_feature_spec.rb +0 -31
  74. data/spec/models/fin_ql_frequency_feature_spec.rb +0 -44
  75. data/spec/models/fin_ql_individual_merchant_feature_spec.rb +0 -40
  76. data/spec/models/fin_ql_interest_feature_spec.rb +0 -34
  77. data/spec/models/fin_ql_merchant_categories_feature_inner_result_inner_spec.rb +0 -40
  78. data/spec/models/fin_ql_merchant_categories_feature_inner_spec.rb +0 -40
  79. data/spec/models/fin_ql_prompt_request_spec.rb +0 -46
  80. data/spec/models/fin_ql_prompt_response_spec.rb +0 -40
  81. data/spec/models/fin_ql_time_based_feature_inner_spec.rb +0 -40
  82. data/spec/models/fin_ql_top_merchants_feature_inner_spec.rb +0 -46
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a492d2f9e47ad292cf3bf5b39bc639e8cd84e2b16e0ffcd1f1a18892f0fce774
4
- data.tar.gz: 4f74fa2de057c81976c219b732b81f9d5794c021c9bf76967c070a4785f2f031
3
+ metadata.gz: 221b46adbe1bdcc95d0ba2d0246f9bc6338da627498ef8742c56f7642f3a1fda
4
+ data.tar.gz: 0a684c082ee681b5f6b4adea5e20576a67b344f798296372ce8fa1d99abd553c
5
5
  SHA512:
6
- metadata.gz: 8a9fc8c27c141c0afe852afa4c9e545af02a38ce80cae2fee56900024be6ab61dc7a85336dc9322257d9687a489ac81d30ce4f7974410c645a69c99f631f60f9
7
- data.tar.gz: ad609b8f0b24793fe29c901d125f86d8eb9a97d8ef4b6be353c20cdec2bc473360333d2acc3fef9c3f3eedf4e16dd0f9681d09f379545e966f74a5f695644fad
6
+ metadata.gz: d829da6bf1ae65b21d824e888a83844f23843278428e2d8175df00c1b7993f18e3fcbccb553181ab31a5ed202841179f31bd024a9252c128660e8daf4b4261f4
7
+ data.tar.gz: 3e76080c050440718aee1e4c85a029d7b03bec290daa15989d71b6c78d26ca818518646a2515ff55fd81ed920ec7928c37ffa86726733125eab59aa8c7b481ca
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fuse_client (1.0.41)
4
+ fuse_client (1.0.42)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -53,7 +53,7 @@ GEM
53
53
  ruby-progressbar (~> 1.7)
54
54
  unicode-display_width (>= 1.4.0, < 1.6)
55
55
  ruby-progressbar (1.13.0)
56
- stringio (3.0.7)
56
+ stringio (3.0.8)
57
57
  typhoeus (1.4.0)
58
58
  ethon (>= 0.9.0)
59
59
  unicode-display_width (1.5.0)
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **id** | **String** | The financial connection id. | |
8
- | **institution_id** | **String** | The Fuse Institution ID associated with the financial connection | |
8
+ | **institution_id** | **String** | The Fuse Institution ID associated with the financial connection | [optional] |
9
9
 
10
10
  ## Example
11
11
 
@@ -5,7 +5,7 @@
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
- | **ach** | [**FinancialConnectionsAccountDetailsAch**](FinancialConnectionsAccountDetailsAch.md) | | |
8
+ | **ach** | [**FinancialConnectionsAccountDetailsAch**](FinancialConnectionsAccountDetailsAch.md) | | [optional] |
9
9
  | **account_number** | [**FinancialConnectionsAccountDetailsAccountNumber**](FinancialConnectionsAccountDetailsAccountNumber.md) | | [optional] |
10
10
  | **remote_data** | **Object** | | |
11
11
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **number** | **String** | Unique identifier representing the account, typically referred to as the account number. | [optional] |
7
+ | **number** | **String** | Unique identifier representing the account, typically referred to as the account number. | |
8
8
  | **sort_code** | **String** | A six-digit number used by banks in the United Kingdom and Ireland to identify the branch where the account is held. | [optional] |
9
9
  | **iban** | **String** | International Bank Account Number (IBAN) is an internationally agreed system of identifying bank accounts across national borders to facilitate the communication and processing of cross border transactions. | [optional] |
10
10
  | **swift_bic** | **String** | SWIFT/BIC code is an international identifier used to distinctively recognize a particular bank during financial transactions, such as money transfers. | [optional] |
data/docs/FuseApi.md CHANGED
@@ -13,7 +13,6 @@ 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 |
17
16
  | [**get_asset_report**](FuseApi.md#get_asset_report) | **POST** /v1/financial_connections/asset_report | |
18
17
  | [**get_consumer_risk_report**](FuseApi.md#get_consumer_risk_report) | **GET** /v1/risk_report/consumer/{consumer_risk_report_id} | Get consumer risk report |
19
18
  | [**get_entity**](FuseApi.md#get_entity) | **GET** /v1/entities/{entity_id} | Get entity |
@@ -733,84 +732,6 @@ end
733
732
  - **Accept**: application/json
734
733
 
735
734
 
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
-
814
735
  ## get_asset_report
815
736
 
816
737
  > <RefreshAssetReportResponse> get_asset_report(opts)
@@ -2021,7 +1942,7 @@ end
2021
1942
 
2022
1943
  ## sync_financial_connections_data
2023
1944
 
2024
- > <SyncFinancialConnectionsDataResponse> sync_financial_connections_data(body)
1945
+ > <SyncFinancialConnectionsDataResponse> sync_financial_connections_data(fuse_verification, body)
2025
1946
 
2026
1947
  Sync financial connections data
2027
1948
 
@@ -2046,11 +1967,12 @@ FuseClient.configure do |config|
2046
1967
  end
2047
1968
 
2048
1969
  api_instance = FuseClient::FuseApi.new
1970
+ fuse_verification = 'fuse_verification_example' # String |
2049
1971
  body = { ... } # Object |
2050
1972
 
2051
1973
  begin
2052
1974
  # Sync financial connections data
2053
- result = api_instance.sync_financial_connections_data(body)
1975
+ result = api_instance.sync_financial_connections_data(fuse_verification, body)
2054
1976
  p result
2055
1977
  rescue FuseClient::ApiError => e
2056
1978
  puts "Error when calling FuseApi->sync_financial_connections_data: #{e}"
@@ -2061,12 +1983,12 @@ end
2061
1983
 
2062
1984
  This returns an Array which contains the response data, status code and headers.
2063
1985
 
2064
- > <Array(<SyncFinancialConnectionsDataResponse>, Integer, Hash)> sync_financial_connections_data_with_http_info(body)
1986
+ > <Array(<SyncFinancialConnectionsDataResponse>, Integer, Hash)> sync_financial_connections_data_with_http_info(fuse_verification, body)
2065
1987
 
2066
1988
  ```ruby
2067
1989
  begin
2068
1990
  # Sync financial connections data
2069
- data, status_code, headers = api_instance.sync_financial_connections_data_with_http_info(body)
1991
+ data, status_code, headers = api_instance.sync_financial_connections_data_with_http_info(fuse_verification, body)
2070
1992
  p status_code # => 2xx
2071
1993
  p headers # => { ... }
2072
1994
  p data # => <SyncFinancialConnectionsDataResponse>
@@ -2079,6 +2001,7 @@ end
2079
2001
 
2080
2002
  | Name | Type | Description | Notes |
2081
2003
  | ---- | ---- | ----------- | ----- |
2004
+ | **fuse_verification** | **String** | | |
2082
2005
  | **body** | **Object** | | |
2083
2006
 
2084
2007
  ### Return type
data/docs/Transaction.md CHANGED
@@ -5,7 +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
+ | **fingerprint** | **String** | Uniquely identifies this transaction 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] |
9
9
  | **remote_account_id** | **String** | Remote Account Id of the transaction, ie Plaid Account Id | |
10
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. | |
11
11
  | **date** | **String** | Date of the transaction (YYYY-MM-DD) | |
@@ -590,70 +590,6 @@ module FuseClient
590
590
  return data, status_code, headers
591
591
  end
592
592
 
593
- # FinQL Prompt
594
- # Retrieve information using finQL. Uses data submitted via the /events endpoint. This feature is being built and is not currently available.
595
- # @param [Hash] opts the optional parameters
596
- # @option opts [FinQLPromptRequest] :fin_ql_prompt_request
597
- # @return [FinQLPromptResponse]
598
- def fin_ql_prompt(opts = {})
599
- data, _status_code, _headers = fin_ql_prompt_with_http_info(opts)
600
- data
601
- end
602
-
603
- # FinQL Prompt
604
- # Retrieve information using finQL. Uses data submitted via the /events endpoint. This feature is being built and is not currently available.
605
- # @param [Hash] opts the optional parameters
606
- # @option opts [FinQLPromptRequest] :fin_ql_prompt_request
607
- # @return [Array<(FinQLPromptResponse, Integer, Hash)>] FinQLPromptResponse data, response status code and response headers
608
- def fin_ql_prompt_with_http_info(opts = {})
609
- if @api_client.config.debugging
610
- @api_client.config.logger.debug 'Calling API: FuseApi.fin_ql_prompt ...'
611
- end
612
- # resource path
613
- local_var_path = '/v1/finql/prompt'
614
-
615
- # query parameters
616
- query_params = opts[:query_params] || {}
617
-
618
- # header parameters
619
- header_params = opts[:header_params] || {}
620
- # HTTP header 'Accept' (if needed)
621
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
622
- # HTTP header 'Content-Type'
623
- content_type = @api_client.select_header_content_type(['application/json'])
624
- if !content_type.nil?
625
- header_params['Content-Type'] = content_type
626
- end
627
-
628
- # form parameters
629
- form_params = opts[:form_params] || {}
630
-
631
- # http body (model)
632
- post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'fin_ql_prompt_request'])
633
-
634
- # return_type
635
- return_type = opts[:debug_return_type] || 'FinQLPromptResponse'
636
-
637
- # auth_names
638
- auth_names = opts[:debug_auth_names] || ['fuseApiKey', 'fuseClientId']
639
-
640
- new_options = opts.merge(
641
- :operation => :"FuseApi.fin_ql_prompt",
642
- :header_params => header_params,
643
- :query_params => query_params,
644
- :form_params => form_params,
645
- :body => post_body,
646
- :auth_names => auth_names,
647
- :return_type => return_type
648
- )
649
-
650
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
651
- if @api_client.config.debugging
652
- @api_client.config.logger.debug "API called: FuseApi#fin_ql_prompt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
653
- end
654
- return data, status_code, headers
655
- end
656
-
657
593
  # Retrieves the Asset Report in JSON format. For Plaid, you will need to have the assets product enabled on your plaid account.
658
594
  # @param [Hash] opts the optional parameters
659
595
  # @option opts [GetAssetReportRequest] :get_asset_report_request
@@ -1680,23 +1616,29 @@ module FuseClient
1680
1616
 
1681
1617
  # Sync financial connections data
1682
1618
  # Call this endpoint upon receiving a financial_connection.sync_data webhook. This will keep the financial connections data up to date.
1619
+ # @param fuse_verification [String]
1683
1620
  # @param body [Object]
1684
1621
  # @param [Hash] opts the optional parameters
1685
1622
  # @return [SyncFinancialConnectionsDataResponse]
1686
- def sync_financial_connections_data(body, opts = {})
1687
- data, _status_code, _headers = sync_financial_connections_data_with_http_info(body, opts)
1623
+ def sync_financial_connections_data(fuse_verification, body, opts = {})
1624
+ data, _status_code, _headers = sync_financial_connections_data_with_http_info(fuse_verification, body, opts)
1688
1625
  data
1689
1626
  end
1690
1627
 
1691
1628
  # Sync financial connections data
1692
1629
  # Call this endpoint upon receiving a financial_connection.sync_data webhook. This will keep the financial connections data up to date.
1630
+ # @param fuse_verification [String]
1693
1631
  # @param body [Object]
1694
1632
  # @param [Hash] opts the optional parameters
1695
1633
  # @return [Array<(SyncFinancialConnectionsDataResponse, Integer, Hash)>] SyncFinancialConnectionsDataResponse data, response status code and response headers
1696
- def sync_financial_connections_data_with_http_info(body, opts = {})
1634
+ def sync_financial_connections_data_with_http_info(fuse_verification, body, opts = {})
1697
1635
  if @api_client.config.debugging
1698
1636
  @api_client.config.logger.debug 'Calling API: FuseApi.sync_financial_connections_data ...'
1699
1637
  end
1638
+ # verify the required parameter 'fuse_verification' is set
1639
+ if @api_client.config.client_side_validation && fuse_verification.nil?
1640
+ fail ArgumentError, "Missing the required parameter 'fuse_verification' when calling FuseApi.sync_financial_connections_data"
1641
+ end
1700
1642
  # verify the required parameter 'body' is set
1701
1643
  if @api_client.config.client_side_validation && body.nil?
1702
1644
  fail ArgumentError, "Missing the required parameter 'body' when calling FuseApi.sync_financial_connections_data"
@@ -1716,6 +1658,7 @@ module FuseClient
1716
1658
  if !content_type.nil?
1717
1659
  header_params['Content-Type'] = content_type
1718
1660
  end
1661
+ header_params[:'Fuse-Verification'] = fuse_verification
1719
1662
 
1720
1663
  # form parameters
1721
1664
  form_params = opts[:form_params] || {}
@@ -320,7 +320,7 @@ module FuseClient
320
320
  {
321
321
  type: 'api_key',
322
322
  in: 'header',
323
- key: 'Snaptrade-Consumer-Id',
323
+ key: 'Snaptrade-Consumer-Key',
324
324
  value: api_key_with_prefix('snaptradeConsumerKey')
325
325
  },
326
326
  'flinksCaCustomerIdKey' =>
@@ -386,13 +386,6 @@ module FuseClient
386
386
  key: 'TrueLayer-Client-Secret',
387
387
  value: api_key_with_prefix('trueLayerClientSecret')
388
388
  },
389
- 'trueLayerClientRedirectUri' =>
390
- {
391
- type: 'api_key',
392
- in: 'header',
393
- key: 'TrueLayer-Redirect-Uri',
394
- value: api_key_with_prefix('trueLayerClientRedirectUri')
395
- },
396
389
  'finverseClientId' =>
397
390
  {
398
391
  type: 'api_key',
@@ -407,12 +400,40 @@ module FuseClient
407
400
  key: 'Finverse-Client-Secret',
408
401
  value: api_key_with_prefix('finverseClientSecret')
409
402
  },
410
- 'finverseClientRedirectUri' =>
403
+ 'belvoSecretId' =>
404
+ {
405
+ type: 'api_key',
406
+ in: 'header',
407
+ key: 'Belvo-Secret-Id',
408
+ value: api_key_with_prefix('belvoSecretId')
409
+ },
410
+ 'belvoSecretPassword' =>
411
+ {
412
+ type: 'api_key',
413
+ in: 'header',
414
+ key: 'Belvo-Secret-Password',
415
+ value: api_key_with_prefix('belvoSecretPassword')
416
+ },
417
+ 'finicityPartnerSecret' =>
418
+ {
419
+ type: 'api_key',
420
+ in: 'header',
421
+ key: 'Finicity-Partner-Secret',
422
+ value: api_key_with_prefix('finicityPartnerSecret')
423
+ },
424
+ 'finicityPartnerId' =>
425
+ {
426
+ type: 'api_key',
427
+ in: 'header',
428
+ key: 'Finicity-Partner-Id',
429
+ value: api_key_with_prefix('finicityPartnerId')
430
+ },
431
+ 'finicityAppKey' =>
411
432
  {
412
433
  type: 'api_key',
413
434
  in: 'header',
414
- key: 'Finverse-Redirect-Uri',
415
- value: api_key_with_prefix('finverseClientRedirectUri')
435
+ key: 'Finicity-App-Key',
436
+ value: api_key_with_prefix('finicityAppKey')
416
437
  },
417
438
  }
418
439
  end
@@ -45,6 +45,7 @@ module FuseClient
45
45
  # List of attributes with nullable: true
46
46
  def self.openapi_nullable
47
47
  Set.new([
48
+ :'institution_id'
48
49
  ])
49
50
  end
50
51
 
@@ -80,10 +81,6 @@ module FuseClient
80
81
  invalid_properties.push('invalid value for "id", id cannot be nil.')
81
82
  end
82
83
 
83
- if @institution_id.nil?
84
- invalid_properties.push('invalid value for "institution_id", institution_id cannot be nil.')
85
- end
86
-
87
84
  invalid_properties
88
85
  end
89
86
 
@@ -91,7 +88,6 @@ module FuseClient
91
88
  # @return true if the model is valid
92
89
  def valid?
93
90
  return false if @id.nil?
94
- return false if @institution_id.nil?
95
91
  true
96
92
  end
97
93
 
@@ -102,6 +102,7 @@ module FuseClient
102
102
  # List of attributes with nullable: true
103
103
  def self.openapi_nullable
104
104
  Set.new([
105
+ :'subtype',
105
106
  :'remote_data'
106
107
  ])
107
108
  end
@@ -62,6 +62,8 @@ module FuseClient
62
62
  Set.new([
63
63
  :'available',
64
64
  :'current',
65
+ :'iso_currency_code',
66
+ :'last_updated_date'
65
67
  ])
66
68
  end
67
69
 
@@ -57,6 +57,8 @@ module FuseClient
57
57
  Set.new([
58
58
  :'available',
59
59
  :'current',
60
+ :'iso_currency_code',
61
+ :'last_updated_date'
60
62
  ])
61
63
  end
62
64
 
@@ -96,10 +96,6 @@ module FuseClient
96
96
  invalid_properties.push('invalid value for "remote_id", remote_id cannot be nil.')
97
97
  end
98
98
 
99
- if @ach.nil?
100
- invalid_properties.push('invalid value for "ach", ach cannot be nil.')
101
- end
102
-
103
99
  invalid_properties
104
100
  end
105
101
 
@@ -107,7 +103,6 @@ module FuseClient
107
103
  # @return true if the model is valid
108
104
  def valid?
109
105
  return false if @remote_id.nil?
110
- return false if @ach.nil?
111
106
  true
112
107
  end
113
108
 
@@ -112,12 +112,17 @@ module FuseClient
112
112
  # @return Array for valid properties with the reasons
113
113
  def list_invalid_properties
114
114
  invalid_properties = Array.new
115
+ if @number.nil?
116
+ invalid_properties.push('invalid value for "number", number cannot be nil.')
117
+ end
118
+
115
119
  invalid_properties
116
120
  end
117
121
 
118
122
  # Check to see if the all the properties in the model are valid
119
123
  # @return true if the model is valid
120
124
  def valid?
125
+ return false if @number.nil?
121
126
  true
122
127
  end
123
128
 
@@ -137,6 +137,7 @@ module FuseClient
137
137
  # List of attributes with nullable: true
138
138
  def self.openapi_nullable
139
139
  Set.new([
140
+ :'subtype',
140
141
  :'remote_data',
141
142
  ])
142
143
  end
@@ -59,6 +59,11 @@ module FuseClient
59
59
  # List of attributes with nullable: true
60
60
  def self.openapi_nullable
61
61
  Set.new([
62
+ :'request_id',
63
+ :'title',
64
+ :'details',
65
+ :'code',
66
+ :'type',
62
67
  ])
63
68
  end
64
69
 
@@ -18,7 +18,7 @@ module FuseClient
18
18
  # Remote Id of the transaction, ie Plaid or Teller Id
19
19
  attr_accessor :remote_id
20
20
 
21
- # 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
21
+ # Uniquely identifies this transaction 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
22
22
  attr_accessor :fingerprint
23
23
 
24
24
  # Remote Account Id of the transaction, ie Plaid Account Id
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.6.0
11
11
  =end
12
12
 
13
13
  module FuseClient
14
- VERSION = '1.0.41'
14
+ VERSION = '1.0.42'
15
15
  end
data/lib/fuse_client.rb CHANGED
@@ -70,26 +70,6 @@ require 'fuse_client/models/exchange_financial_connections_public_token_request'
70
70
  require 'fuse_client/models/exchange_financial_connections_public_token_response'
71
71
  require 'fuse_client/models/external_transaction_event'
72
72
  require 'fuse_client/models/external_transaction_event_status'
73
- require 'fuse_client/models/fin_ql_comparison_feature'
74
- require 'fuse_client/models/fin_ql_feature'
75
- require 'fuse_client/models/fin_ql_feature_one_of'
76
- require 'fuse_client/models/fin_ql_feature_one_of1'
77
- require 'fuse_client/models/fin_ql_feature_one_of2'
78
- require 'fuse_client/models/fin_ql_feature_one_of3'
79
- require 'fuse_client/models/fin_ql_feature_one_of4'
80
- require 'fuse_client/models/fin_ql_feature_one_of5'
81
- require 'fuse_client/models/fin_ql_feature_one_of6'
82
- require 'fuse_client/models/fin_ql_feature_one_of7'
83
- require 'fuse_client/models/fin_ql_feature_request'
84
- require 'fuse_client/models/fin_ql_frequency_feature'
85
- require 'fuse_client/models/fin_ql_individual_merchant_feature'
86
- require 'fuse_client/models/fin_ql_interest_feature'
87
- require 'fuse_client/models/fin_ql_merchant_categories_feature_inner'
88
- require 'fuse_client/models/fin_ql_merchant_categories_feature_inner_result_inner'
89
- require 'fuse_client/models/fin_ql_prompt_request'
90
- require 'fuse_client/models/fin_ql_prompt_response'
91
- require 'fuse_client/models/fin_ql_time_based_feature_inner'
92
- require 'fuse_client/models/fin_ql_top_merchants_feature_inner'
93
73
  require 'fuse_client/models/finance_score'
94
74
  require 'fuse_client/models/financial_connection_data'
95
75
  require 'fuse_client/models/financial_connection_details'
@@ -131,18 +131,6 @@ describe 'FuseApi' do
131
131
  end
132
132
  end
133
133
 
134
- # unit tests for fin_ql_prompt
135
- # FinQL Prompt
136
- # Retrieve information using finQL. Uses data submitted via the /events endpoint. This feature is being built and is not currently available.
137
- # @param [Hash] opts the optional parameters
138
- # @option opts [FinQLPromptRequest] :fin_ql_prompt_request
139
- # @return [FinQLPromptResponse]
140
- describe 'fin_ql_prompt test' do
141
- it 'should work' do
142
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
143
- end
144
- end
145
-
146
134
  # unit tests for get_asset_report
147
135
  # Retrieves the Asset Report in JSON format. For Plaid, you will need to have the assets product enabled on your plaid account.
148
136
  # @param [Hash] opts the optional parameters
@@ -326,6 +314,7 @@ describe 'FuseApi' do
326
314
  # unit tests for sync_financial_connections_data
327
315
  # Sync financial connections data
328
316
  # Call this endpoint upon receiving a financial_connection.sync_data webhook. This will keep the financial connections data up to date.
317
+ # @param fuse_verification
329
318
  # @param body
330
319
  # @param [Hash] opts the optional parameters
331
320
  # @return [SyncFinancialConnectionsDataResponse]