fuse_client 1.0.36 → 1.0.37
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -2
- data/docs/Entity.md +5 -3
- data/docs/FinancialConnectionDetails.md +5 -1
- data/docs/FinancialConnectionDetailsFinverse.md +20 -0
- data/docs/FinancialConnectionDetailsTruelayer.md +18 -0
- data/docs/FinancialConnectionsAccountDetails.md +2 -0
- data/docs/FinancialConnectionsAccountDetailsAccountNumber.md +28 -0
- data/docs/GetFinancialConnectionsOwnersResponse.md +3 -1
- data/docs/GetFinancialConnectionsOwnersResponseAccountsInner.md +1 -3
- data/lib/fuse_client/configuration.rb +42 -0
- data/lib/fuse_client/models/account_subtype.rb +12 -1
- data/lib/fuse_client/models/aggregator.rb +3 -1
- data/lib/fuse_client/models/country_code.rb +82 -4
- data/lib/fuse_client/models/entity.rb +16 -6
- data/lib/fuse_client/models/financial_connection_details.rb +22 -4
- data/lib/fuse_client/models/financial_connection_details_finverse.rb +236 -0
- data/lib/fuse_client/models/financial_connection_details_truelayer.rb +226 -0
- data/lib/fuse_client/models/financial_connections_account_details.rb +10 -1
- data/lib/fuse_client/models/financial_connections_account_details_account_number.rb +270 -0
- data/lib/fuse_client/models/fuse_api_error_code.rb +7 -1
- data/lib/fuse_client/models/get_financial_connections_owners_response.rb +19 -4
- data/lib/fuse_client/models/get_financial_connections_owners_response_accounts_inner.rb +4 -19
- data/lib/fuse_client/models/webhook_source.rb +3 -1
- data/lib/fuse_client/version.rb +1 -1
- data/lib/fuse_client.rb +3 -0
- data/spec/models/entity_spec.rb +6 -0
- data/spec/models/financial_connection_details_finverse_spec.rb +40 -0
- data/spec/models/financial_connection_details_spec.rb +12 -0
- data/spec/models/financial_connection_details_truelayer_spec.rb +34 -0
- data/spec/models/financial_connections_account_details_account_number_spec.rb +64 -0
- data/spec/models/financial_connections_account_details_spec.rb +6 -0
- data/spec/models/get_financial_connections_owners_response_accounts_inner_spec.rb +0 -6
- data/spec/models/get_financial_connections_owners_response_spec.rb +6 -0
- metadata +24 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97c0f377cd1fe329c490e38717e993b7083584e0ee02a9ce5016774ed86f9a87
|
4
|
+
data.tar.gz: a0205d7fbf59bccef126a42e6756b8479722d2c4c269c9be0eee78ffaecfc602
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f3e5e162fd03432fbb5ea5431be315c20db424fd614684c3c5e6ddc4483cbb046217b1af09c49d87191699eb671ed7a700b26098daa60cdb2a67b5f3e470ba8
|
7
|
+
data.tar.gz: a6cb5e33851c2e7fe87bdcd509924472b3abd0ee21f153f62e7d3dcbb389fe54ffdc6fa39239a570c223cc39e1817b4ca5530dc5bf8be639e38d6df6d9711e88
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fuse_client (1.0.
|
4
|
+
fuse_client (1.0.37)
|
5
5
|
typhoeus (~> 1.0, >= 1.0.1)
|
6
6
|
|
7
7
|
GEM
|
@@ -17,8 +17,9 @@ GEM
|
|
17
17
|
jaro_winkler (1.5.6)
|
18
18
|
method_source (1.0.0)
|
19
19
|
parallel (1.23.0)
|
20
|
-
parser (3.2.2.
|
20
|
+
parser (3.2.2.3)
|
21
21
|
ast (~> 2.4.1)
|
22
|
+
racc
|
22
23
|
pry (0.14.2)
|
23
24
|
coderay (~> 1.1)
|
24
25
|
method_source (~> 1.0)
|
@@ -27,6 +28,7 @@ GEM
|
|
27
28
|
pry (>= 0.13, < 0.15)
|
28
29
|
psych (5.1.0)
|
29
30
|
stringio
|
31
|
+
racc (1.7.0)
|
30
32
|
rainbow (3.1.1)
|
31
33
|
rake (13.0.6)
|
32
34
|
rspec (3.12.0)
|
data/docs/Entity.md
CHANGED
@@ -5,8 +5,9 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **id** | **String** | Unique identifier for the user or business account that is connecting to an institution. Use this id when calling the GET /entities/${entity_id} endpoint. | |
|
8
|
-
| **name** | **String** | Name for the user or business account. | [optional] |
|
9
|
-
| **email** | **String** | Email address associated with the user or business account. | [optional] |
|
8
|
+
| **name** | **String** | Name for the user or business account. Required for EU connections. | [optional] |
|
9
|
+
| **email** | **String** | Email address associated with the user or business account. One of email/phone is required for EU connections. | [optional] |
|
10
|
+
| **phone** | **String** | Phone number associated with the user or business account. One of email/phone is required for EU connections. | [optional] |
|
10
11
|
|
11
12
|
## Example
|
12
13
|
|
@@ -16,7 +17,8 @@ require 'fuse_client'
|
|
16
17
|
instance = FuseClient::Entity.new(
|
17
18
|
id: null,
|
18
19
|
name: null,
|
19
|
-
email: null
|
20
|
+
email: null,
|
21
|
+
phone: null
|
20
22
|
)
|
21
23
|
```
|
22
24
|
|
@@ -15,6 +15,8 @@
|
|
15
15
|
| **snaptrade** | [**FinancialConnectionDetailsSnaptrade**](FinancialConnectionDetailsSnaptrade.md) | | [optional] |
|
16
16
|
| **flinks** | [**FinancialConnectionDetailsFlinks**](FinancialConnectionDetailsFlinks.md) | | [optional] |
|
17
17
|
| **mono** | [**FinancialConnectionDetailsMono**](FinancialConnectionDetailsMono.md) | | [optional] |
|
18
|
+
| **truelayer** | [**FinancialConnectionDetailsTruelayer**](FinancialConnectionDetailsTruelayer.md) | | [optional] |
|
19
|
+
| **finverse** | [**FinancialConnectionDetailsFinverse**](FinancialConnectionDetailsFinverse.md) | | [optional] |
|
18
20
|
|
19
21
|
## Example
|
20
22
|
|
@@ -32,7 +34,9 @@ instance = FuseClient::FinancialConnectionDetails.new(
|
|
32
34
|
mx: null,
|
33
35
|
snaptrade: null,
|
34
36
|
flinks: null,
|
35
|
-
mono: null
|
37
|
+
mono: null,
|
38
|
+
truelayer: null,
|
39
|
+
finverse: null
|
36
40
|
)
|
37
41
|
```
|
38
42
|
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FuseClient::FinancialConnectionDetailsFinverse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **access_token** | **String** | Access token for Finverse | |
|
8
|
+
| **login_identity_id** | **String** | Login Identity Id for Finverse | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'fuse_client'
|
14
|
+
|
15
|
+
instance = FuseClient::FinancialConnectionDetailsFinverse.new(
|
16
|
+
access_token: null,
|
17
|
+
login_identity_id: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# FuseClient::FinancialConnectionDetailsTruelayer
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **access_token** | **String** | Access token for TrueLayer | |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
instance = FuseClient::FinancialConnectionDetailsTruelayer.new(
|
15
|
+
access_token: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -6,6 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **remote_id** | **String** | Remote Id of the account, ie Plaid or Teller account id | |
|
8
8
|
| **ach** | [**FinancialConnectionsAccountDetailsAch**](FinancialConnectionsAccountDetailsAch.md) | | |
|
9
|
+
| **account_number** | [**FinancialConnectionsAccountDetailsAccountNumber**](FinancialConnectionsAccountDetailsAccountNumber.md) | | [optional] |
|
9
10
|
| **remote_data** | **Object** | | |
|
10
11
|
|
11
12
|
## Example
|
@@ -16,6 +17,7 @@ require 'fuse_client'
|
|
16
17
|
instance = FuseClient::FinancialConnectionsAccountDetails.new(
|
17
18
|
remote_id: null,
|
18
19
|
ach: null,
|
20
|
+
account_number: null,
|
19
21
|
remote_data: null
|
20
22
|
)
|
21
23
|
```
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# FuseClient::FinancialConnectionsAccountDetailsAccountNumber
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **number** | **String** | Unique identifier representing the account, typically referred to as the account number. | [optional] |
|
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
|
+
| **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
|
+
| **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] |
|
11
|
+
| **bsb** | **String** | Bank-State-Branch (BSB) code is a six-digit numerical code used to identify an individual branch of a financial institution in Australia. | [optional] |
|
12
|
+
| **bic** | **String** | Bank Identifier Code (BIC) is an international standard identifier used by banks and financial institutions globally to carry out transactions. | [optional] |
|
13
|
+
|
14
|
+
## Example
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'fuse_client'
|
18
|
+
|
19
|
+
instance = FuseClient::FinancialConnectionsAccountDetailsAccountNumber.new(
|
20
|
+
number: null,
|
21
|
+
sort_code: null,
|
22
|
+
iban: null,
|
23
|
+
swift_bic: null,
|
24
|
+
bsb: null,
|
25
|
+
bic: null
|
26
|
+
)
|
27
|
+
```
|
28
|
+
|
@@ -5,6 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **accounts** | [**Array<GetFinancialConnectionsOwnersResponseAccountsInner>**](GetFinancialConnectionsOwnersResponseAccountsInner.md) | | |
|
8
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | |
|
8
9
|
|
9
10
|
## Example
|
10
11
|
|
@@ -12,7 +13,8 @@
|
|
12
13
|
require 'fuse_client'
|
13
14
|
|
14
15
|
instance = FuseClient::GetFinancialConnectionsOwnersResponse.new(
|
15
|
-
accounts: null
|
16
|
+
accounts: null,
|
17
|
+
request_id: null
|
16
18
|
)
|
17
19
|
```
|
18
20
|
|
@@ -6,7 +6,6 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **remote_account_id** | **String** | The remote account id of the account | |
|
8
8
|
| **owners** | [**Array<FinancialConnectionsOwner>**](FinancialConnectionsOwner.md) | | |
|
9
|
-
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | |
|
10
9
|
|
11
10
|
## Example
|
12
11
|
|
@@ -15,8 +14,7 @@ require 'fuse_client'
|
|
15
14
|
|
16
15
|
instance = FuseClient::GetFinancialConnectionsOwnersResponseAccountsInner.new(
|
17
16
|
remote_account_id: null,
|
18
|
-
owners: null
|
19
|
-
request_id: null
|
17
|
+
owners: null
|
20
18
|
)
|
21
19
|
```
|
22
20
|
|
@@ -372,6 +372,48 @@ module FuseClient
|
|
372
372
|
key: 'Mono-Webhook-Secret',
|
373
373
|
value: api_key_with_prefix('monoWebhookSecret')
|
374
374
|
},
|
375
|
+
'trueLayerClientId' =>
|
376
|
+
{
|
377
|
+
type: 'api_key',
|
378
|
+
in: 'header',
|
379
|
+
key: 'TrueLayer-Client-Id',
|
380
|
+
value: api_key_with_prefix('trueLayerClientId')
|
381
|
+
},
|
382
|
+
'trueLayerClientSecret' =>
|
383
|
+
{
|
384
|
+
type: 'api_key',
|
385
|
+
in: 'header',
|
386
|
+
key: 'TrueLayer-Client-Secret',
|
387
|
+
value: api_key_with_prefix('trueLayerClientSecret')
|
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
|
+
'finverseClientId' =>
|
397
|
+
{
|
398
|
+
type: 'api_key',
|
399
|
+
in: 'header',
|
400
|
+
key: 'Finverse-Client-Id',
|
401
|
+
value: api_key_with_prefix('finverseClientId')
|
402
|
+
},
|
403
|
+
'finverseClientSecret' =>
|
404
|
+
{
|
405
|
+
type: 'api_key',
|
406
|
+
in: 'header',
|
407
|
+
key: 'Finverse-Client-Secret',
|
408
|
+
value: api_key_with_prefix('finverseClientSecret')
|
409
|
+
},
|
410
|
+
'finverseClientRedirectUri' =>
|
411
|
+
{
|
412
|
+
type: 'api_key',
|
413
|
+
in: 'header',
|
414
|
+
key: 'Finverse-Redirect-Uri',
|
415
|
+
value: api_key_with_prefix('finverseClientRedirectUri')
|
416
|
+
},
|
375
417
|
}
|
376
418
|
end
|
377
419
|
|
@@ -17,10 +17,15 @@ module FuseClient
|
|
17
17
|
class AccountSubtype
|
18
18
|
CHECKING = "checking".freeze
|
19
19
|
SAVINGS = "savings".freeze
|
20
|
+
CHECKING_OR_SAVINGS = "checking_or_savings".freeze
|
21
|
+
BUSINESS_CHECKING_OR_SAVINGS = "business_checking_or_savings".freeze
|
22
|
+
BUSINESS_SAVINGS = "business_savings".freeze
|
20
23
|
MONEY_MARKET = "money_market".freeze
|
21
24
|
CERTIFICATE_OF_DEPOSIT = "certificate_of_deposit".freeze
|
22
25
|
TREASURY = "treasury".freeze
|
23
26
|
CREDIT_CARD = "credit_card".freeze
|
27
|
+
DEBIT_CARD = "debit_card".freeze
|
28
|
+
BONDS = "bonds".freeze
|
24
29
|
HSA = "hsa".freeze
|
25
30
|
PAYPAL = "paypal".freeze
|
26
31
|
PREPAID = "prepaid".freeze
|
@@ -42,7 +47,10 @@ module FuseClient
|
|
42
47
|
N401_K = "401_k".freeze
|
43
48
|
N403_B = "403_b".freeze
|
44
49
|
N457_B = "457_b".freeze
|
50
|
+
FUNDS = "funds".freeze
|
45
51
|
BROKERAGE = "brokerage".freeze
|
52
|
+
SECURITIES = "securities".freeze
|
53
|
+
STOCKS = "stocks".freeze
|
46
54
|
CASH_ISA = "cash_isa".freeze
|
47
55
|
CRYPTO_EXCHANGE = "crypto_exchange".freeze
|
48
56
|
EDUCATION_SAVING_ACCOUNT = "education_saving_account".freeze
|
@@ -154,10 +162,13 @@ module FuseClient
|
|
154
162
|
WHOLE_LIFE = "whole_life".freeze
|
155
163
|
ACCIDENTAL_DEATH_AND_DISMEMBERMENT = "accidental_death_and_dismemberment".freeze
|
156
164
|
VARIABLE_UNIVERSAL_LIFE = "variable_universal_life".freeze
|
165
|
+
REVOLVING = "revolving".freeze
|
157
166
|
OTHER = "other".freeze
|
167
|
+
TIME_DEPOSIT = "time_deposit".freeze
|
168
|
+
= "-".freeze
|
158
169
|
|
159
170
|
def self.all_vars
|
160
|
-
@all_vars ||= [CHECKING, SAVINGS, MONEY_MARKET, CERTIFICATE_OF_DEPOSIT, TREASURY, CREDIT_CARD, HSA, PAYPAL, PREPAID, CASH_MANAGEMENT, EBT, AUTO, BUSINESS, COMMERCIAL, CONSTRUCTION, CONSUMER, HOME_EQUITY, LOAN, MORTGAGE, OVERDRAFT, LINE_OF_CREDIT, STUDENT, N529, N401_A, N401_K, N403_B, N457_B, BROKERAGE, CASH_ISA, CRYPTO_EXCHANGE, EDUCATION_SAVING_ACCOUNT, FIXED_ANNUITY, GIC, HEALTH_REIMBURSEMENT_ARRANGEMENT, IRA, ISA, KEOGH, LIF, LIFE_INSURANCE, LIRA, LRIF, LRSP, MUTUAL_FUND, NON_CUSTODIAL_WALLET, NON_TAXABLE_BROKERAGE_ACCOUNT, OTHER_ANNUITY, OTHER_INSURANCE, PENSION, PRIF, PROFIT_SHARING_PLAN, QSHR, RDSP, RESP, RETIREMENT, RLIF, ROTH_IRA, ROTH_401_K, RRIF, RRSP, SARSEP, SEP_IRA, SIMPLE_IRA, SIPP, STOCK_PLAN, TFSA, TRUST, UGMA, UTMA, VARIABLE_ANNUITY, SMALL_BUSINESS, PERSONAL, PERSONAL_WITH_COLLATERAL, N457, ROLLOVER_IRA, TAXABLE, NON_TAXABLE, EMPLOYEE_STOCK_OWNERSHIP_PLAN, INDIVIDUAL, CASH_MANAGEMENT_ACCOUNT, EMPLOYEE_STOCK_PURCHASE_PLAN, REGISTERED_EDUCATION_SAVINGS_PLAN, FIXED_ANNUITY_TRADITIONAL_IRA, INHERITED_TRADITIONAL_IRA, FIXED_ANNUITY_ROTH_IRA, VARIABLE_ANNUITY_ROTH_IRA, INHERITED_ROTH_IRA, ADVISORY_ACCOUNT, BROKERAGE_MARGIN, CHARITABLE_GIFT_ACCOUNT, CHURCH_ACCOUNT, CONSERVATORSHIP, CUSTODIAL, DEFINED_BENEFIT_PLAN, DEFINED_CONTRIBUTION_PLAN, EDUCATIONAL, ESTATE, EXECUTOR, GROUP_RETIREMENT_SAVINGS_PLAN, GUARANTEED_INVESTMENT_CERTIFICATE, INDEXED_ANNUITY, INVESTMENT_CLUB, IRREVOCABLE_TRUST, JOINT_TENANTS_BY_ENTIRETY, JOINT_TENANTS_COMMUNITY_PROPERTY, JOINT_TENANTS_IN_COMMON, JOINT_TENANTS_WITH_RIGHTS_OF_SURVIVORSHIP, KEOUGH_PLAN, LIVING_TRUST, LOCKED_IN_RETIREMENT_ACCOUNT, LOCKED_IN_RETIREMENT_INVESTMENT_FUND, LOCKED_IN_RETIREMENT_SAVINGS_ACCOUNT, MONEY_PURCHASE_PLAN, PARTNERSHIP, N409_A, RPP, REVOCABLE_TRUST, ROTH_CONVERSION, SOLE_PROPRIETORSHIP, SPOUSAL_IRA, SPOUSAL_ROTH_IRA, TESTAMENTARY_TRUST, THRIFT_SAVINGS_PLAN, INHERITED_ANNUITY, CORPORATE_ACCOUNT, LIMITED_LIABILITY_ACCOUNT, BOAT, POWERSPORTS, RV, HELOC, VEHICLE_INSURANCE, DISABILITY, HEALTH, LONG_TERM_CARE, PROPERTY_AND_CASUALTY, UNIVERSAL_LIFE, TERM_LIFE, WHOLE_LIFE, ACCIDENTAL_DEATH_AND_DISMEMBERMENT, VARIABLE_UNIVERSAL_LIFE, OTHER].freeze
|
171
|
+
@all_vars ||= [CHECKING, SAVINGS, CHECKING_OR_SAVINGS, BUSINESS_CHECKING_OR_SAVINGS, BUSINESS_SAVINGS, MONEY_MARKET, CERTIFICATE_OF_DEPOSIT, TREASURY, CREDIT_CARD, DEBIT_CARD, BONDS, HSA, PAYPAL, PREPAID, CASH_MANAGEMENT, EBT, AUTO, BUSINESS, COMMERCIAL, CONSTRUCTION, CONSUMER, HOME_EQUITY, LOAN, MORTGAGE, OVERDRAFT, LINE_OF_CREDIT, STUDENT, N529, N401_A, N401_K, N403_B, N457_B, FUNDS, BROKERAGE, SECURITIES, STOCKS, CASH_ISA, CRYPTO_EXCHANGE, EDUCATION_SAVING_ACCOUNT, FIXED_ANNUITY, GIC, HEALTH_REIMBURSEMENT_ARRANGEMENT, IRA, ISA, KEOGH, LIF, LIFE_INSURANCE, LIRA, LRIF, LRSP, MUTUAL_FUND, NON_CUSTODIAL_WALLET, NON_TAXABLE_BROKERAGE_ACCOUNT, OTHER_ANNUITY, OTHER_INSURANCE, PENSION, PRIF, PROFIT_SHARING_PLAN, QSHR, RDSP, RESP, RETIREMENT, RLIF, ROTH_IRA, ROTH_401_K, RRIF, RRSP, SARSEP, SEP_IRA, SIMPLE_IRA, SIPP, STOCK_PLAN, TFSA, TRUST, UGMA, UTMA, VARIABLE_ANNUITY, SMALL_BUSINESS, PERSONAL, PERSONAL_WITH_COLLATERAL, N457, ROLLOVER_IRA, TAXABLE, NON_TAXABLE, EMPLOYEE_STOCK_OWNERSHIP_PLAN, INDIVIDUAL, CASH_MANAGEMENT_ACCOUNT, EMPLOYEE_STOCK_PURCHASE_PLAN, REGISTERED_EDUCATION_SAVINGS_PLAN, FIXED_ANNUITY_TRADITIONAL_IRA, INHERITED_TRADITIONAL_IRA, FIXED_ANNUITY_ROTH_IRA, VARIABLE_ANNUITY_ROTH_IRA, INHERITED_ROTH_IRA, ADVISORY_ACCOUNT, BROKERAGE_MARGIN, CHARITABLE_GIFT_ACCOUNT, CHURCH_ACCOUNT, CONSERVATORSHIP, CUSTODIAL, DEFINED_BENEFIT_PLAN, DEFINED_CONTRIBUTION_PLAN, EDUCATIONAL, ESTATE, EXECUTOR, GROUP_RETIREMENT_SAVINGS_PLAN, GUARANTEED_INVESTMENT_CERTIFICATE, INDEXED_ANNUITY, INVESTMENT_CLUB, IRREVOCABLE_TRUST, JOINT_TENANTS_BY_ENTIRETY, JOINT_TENANTS_COMMUNITY_PROPERTY, JOINT_TENANTS_IN_COMMON, JOINT_TENANTS_WITH_RIGHTS_OF_SURVIVORSHIP, KEOUGH_PLAN, LIVING_TRUST, LOCKED_IN_RETIREMENT_ACCOUNT, LOCKED_IN_RETIREMENT_INVESTMENT_FUND, LOCKED_IN_RETIREMENT_SAVINGS_ACCOUNT, MONEY_PURCHASE_PLAN, PARTNERSHIP, N409_A, RPP, REVOCABLE_TRUST, ROTH_CONVERSION, SOLE_PROPRIETORSHIP, SPOUSAL_IRA, SPOUSAL_ROTH_IRA, TESTAMENTARY_TRUST, THRIFT_SAVINGS_PLAN, INHERITED_ANNUITY, CORPORATE_ACCOUNT, LIMITED_LIABILITY_ACCOUNT, BOAT, POWERSPORTS, RV, HELOC, VEHICLE_INSURANCE, DISABILITY, HEALTH, LONG_TERM_CARE, PROPERTY_AND_CASUALTY, UNIVERSAL_LIFE, TERM_LIFE, WHOLE_LIFE, ACCIDENTAL_DEATH_AND_DISMEMBERMENT, VARIABLE_UNIVERSAL_LIFE, REVOLVING, OTHER, TIME_DEPOSIT, ].freeze
|
161
172
|
end
|
162
173
|
|
163
174
|
# Builds the enum from string
|
@@ -21,9 +21,11 @@ module FuseClient
|
|
21
21
|
SNAPTRADE = "snaptrade".freeze
|
22
22
|
FLINKS = "flinks".freeze
|
23
23
|
MONO = "mono".freeze
|
24
|
+
TRUELAYER = "truelayer".freeze
|
25
|
+
FINVERSE = "finverse".freeze
|
24
26
|
|
25
27
|
def self.all_vars
|
26
|
-
@all_vars ||= [PLAID, TELLER, MX, SNAPTRADE, FLINKS, MONO].freeze
|
28
|
+
@all_vars ||= [PLAID, TELLER, MX, SNAPTRADE, FLINKS, MONO, TRUELAYER, FINVERSE].freeze
|
27
29
|
end
|
28
30
|
|
29
31
|
# Builds the enum from string
|
@@ -15,16 +15,94 @@ require 'time'
|
|
15
15
|
|
16
16
|
module FuseClient
|
17
17
|
class CountryCode
|
18
|
-
|
18
|
+
AE = "AE".freeze
|
19
|
+
AM = "AM".freeze
|
20
|
+
AR = "AR".freeze
|
21
|
+
AT = "AT".freeze
|
22
|
+
AU = "AU".freeze
|
23
|
+
BD = "BD".freeze
|
24
|
+
BE = "BE".freeze
|
25
|
+
BH = "BH".freeze
|
26
|
+
BM = "BM".freeze
|
27
|
+
BN = "BN".freeze
|
28
|
+
BR = "BR".freeze
|
29
|
+
BW = "BW".freeze
|
19
30
|
CA = "CA".freeze
|
20
|
-
|
21
|
-
|
31
|
+
CH = "CH".freeze
|
32
|
+
CI = "CI".freeze
|
33
|
+
CL = "CL".freeze
|
34
|
+
CM = "CM".freeze
|
35
|
+
CN = "CN".freeze
|
36
|
+
CO = "CO".freeze
|
37
|
+
CZ = "CZ".freeze
|
38
|
+
DE = "DE".freeze
|
39
|
+
DZ = "DZ".freeze
|
40
|
+
EG = "EG".freeze
|
41
|
+
ES = "ES".freeze
|
42
|
+
FI = "FI".freeze
|
43
|
+
FK = "FK".freeze
|
44
|
+
FR = "FR".freeze
|
45
|
+
GB = "GB".freeze
|
46
|
+
GG = "GG".freeze
|
22
47
|
GH = "GH".freeze
|
48
|
+
GM = "GM".freeze
|
49
|
+
GR = "GR".freeze
|
50
|
+
HK = "HK".freeze
|
51
|
+
ID = "ID".freeze
|
52
|
+
IE = "IE".freeze
|
53
|
+
IL = "IL".freeze
|
54
|
+
IM = "IM".freeze
|
55
|
+
IN = "IN".freeze
|
56
|
+
IT = "IT".freeze
|
57
|
+
JE = "JE".freeze
|
58
|
+
JO = "JO".freeze
|
59
|
+
JP = "JP".freeze
|
23
60
|
KE = "KE".freeze
|
61
|
+
KH = "KH".freeze
|
62
|
+
KR = "KR".freeze
|
63
|
+
KW = "KW".freeze
|
64
|
+
LA = "LA".freeze
|
65
|
+
LB = "LB".freeze
|
66
|
+
LK = "LK".freeze
|
67
|
+
LT = "LT".freeze
|
68
|
+
LU = "LU".freeze
|
69
|
+
MC = "MC".freeze
|
70
|
+
MO = "MO".freeze
|
71
|
+
MT = "MT".freeze
|
72
|
+
MU = "MU".freeze
|
73
|
+
MV = "MV".freeze
|
74
|
+
MX = "MX".freeze
|
75
|
+
MY = "MY".freeze
|
76
|
+
NG = "NG".freeze
|
77
|
+
NL = "NL".freeze
|
78
|
+
NP = "NP".freeze
|
79
|
+
NZ = "NZ".freeze
|
80
|
+
OM = "OM".freeze
|
81
|
+
PE = "PE".freeze
|
82
|
+
PH = "PH".freeze
|
83
|
+
PK = "PK".freeze
|
84
|
+
PL = "PL".freeze
|
85
|
+
PT = "PT".freeze
|
86
|
+
QA = "QA".freeze
|
87
|
+
RU = "RU".freeze
|
88
|
+
SA = "SA".freeze
|
89
|
+
SE = "SE".freeze
|
90
|
+
SG = "SG".freeze
|
91
|
+
SL = "SL".freeze
|
92
|
+
TH = "TH".freeze
|
93
|
+
TR = "TR".freeze
|
94
|
+
TW = "TW".freeze
|
95
|
+
TZ = "TZ".freeze
|
96
|
+
UG = "UG".freeze
|
97
|
+
US = "US".freeze
|
98
|
+
UY = "UY".freeze
|
99
|
+
VN = "VN".freeze
|
24
100
|
ZA = "ZA".freeze
|
101
|
+
ZM = "ZM".freeze
|
102
|
+
ZW = "ZW".freeze
|
25
103
|
|
26
104
|
def self.all_vars
|
27
|
-
@all_vars ||= [
|
105
|
+
@all_vars ||= [AE, AM, AR, AT, AU, BD, BE, BH, BM, BN, BR, BW, CA, CH, CI, CL, CM, CN, CO, CZ, DE, DZ, EG, ES, FI, FK, FR, GB, GG, GH, GM, GR, HK, ID, IE, IL, IM, IN, IT, JE, JO, JP, KE, KH, KR, KW, LA, LB, LK, LT, LU, MC, MO, MT, MU, MV, MX, MY, NG, NL, NP, NZ, OM, PE, PH, PK, PL, PT, QA, RU, SA, SE, SG, SL, TH, TR, TW, TZ, UG, US, UY, VN, ZA, ZM, ZW].freeze
|
28
106
|
end
|
29
107
|
|
30
108
|
# Builds the enum from string
|
@@ -18,18 +18,22 @@ module FuseClient
|
|
18
18
|
# Unique identifier for the user or business account that is connecting to an institution. Use this id when calling the GET /entities/${entity_id} endpoint.
|
19
19
|
attr_accessor :id
|
20
20
|
|
21
|
-
# Name for the user or business account.
|
21
|
+
# Name for the user or business account. Required for EU connections.
|
22
22
|
attr_accessor :name
|
23
23
|
|
24
|
-
# Email address associated with the user or business account.
|
24
|
+
# Email address associated with the user or business account. One of email/phone is required for EU connections.
|
25
25
|
attr_accessor :email
|
26
26
|
|
27
|
+
# Phone number associated with the user or business account. One of email/phone is required for EU connections.
|
28
|
+
attr_accessor :phone
|
29
|
+
|
27
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
28
31
|
def self.attribute_map
|
29
32
|
{
|
30
33
|
:'id' => :'id',
|
31
34
|
:'name' => :'name',
|
32
|
-
:'email' => :'email'
|
35
|
+
:'email' => :'email',
|
36
|
+
:'phone' => :'phone'
|
33
37
|
}
|
34
38
|
end
|
35
39
|
|
@@ -43,7 +47,8 @@ module FuseClient
|
|
43
47
|
{
|
44
48
|
:'id' => :'String',
|
45
49
|
:'name' => :'String',
|
46
|
-
:'email' => :'String'
|
50
|
+
:'email' => :'String',
|
51
|
+
:'phone' => :'String'
|
47
52
|
}
|
48
53
|
end
|
49
54
|
|
@@ -79,6 +84,10 @@ module FuseClient
|
|
79
84
|
if attributes.key?(:'email')
|
80
85
|
self.email = attributes[:'email']
|
81
86
|
end
|
87
|
+
|
88
|
+
if attributes.key?(:'phone')
|
89
|
+
self.phone = attributes[:'phone']
|
90
|
+
end
|
82
91
|
end
|
83
92
|
|
84
93
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -106,7 +115,8 @@ module FuseClient
|
|
106
115
|
self.class == o.class &&
|
107
116
|
id == o.id &&
|
108
117
|
name == o.name &&
|
109
|
-
email == o.email
|
118
|
+
email == o.email &&
|
119
|
+
phone == o.phone
|
110
120
|
end
|
111
121
|
|
112
122
|
# @see the `==` method
|
@@ -118,7 +128,7 @@ module FuseClient
|
|
118
128
|
# Calculates hash code according to all attributes.
|
119
129
|
# @return [Integer] Hash code
|
120
130
|
def hash
|
121
|
-
[id, name, email].hash
|
131
|
+
[id, name, email, phone].hash
|
122
132
|
end
|
123
133
|
|
124
134
|
# Builds the object from hash
|
@@ -41,6 +41,10 @@ module FuseClient
|
|
41
41
|
|
42
42
|
attr_accessor :mono
|
43
43
|
|
44
|
+
attr_accessor :truelayer
|
45
|
+
|
46
|
+
attr_accessor :finverse
|
47
|
+
|
44
48
|
class EnumAttributeValidator
|
45
49
|
attr_reader :datatype
|
46
50
|
attr_reader :allowable_values
|
@@ -76,7 +80,9 @@ module FuseClient
|
|
76
80
|
:'mx' => :'mx',
|
77
81
|
:'snaptrade' => :'snaptrade',
|
78
82
|
:'flinks' => :'flinks',
|
79
|
-
:'mono' => :'mono'
|
83
|
+
:'mono' => :'mono',
|
84
|
+
:'truelayer' => :'truelayer',
|
85
|
+
:'finverse' => :'finverse'
|
80
86
|
}
|
81
87
|
end
|
82
88
|
|
@@ -98,7 +104,9 @@ module FuseClient
|
|
98
104
|
:'mx' => :'FinancialConnectionDetailsMx',
|
99
105
|
:'snaptrade' => :'FinancialConnectionDetailsSnaptrade',
|
100
106
|
:'flinks' => :'FinancialConnectionDetailsFlinks',
|
101
|
-
:'mono' => :'FinancialConnectionDetailsMono'
|
107
|
+
:'mono' => :'FinancialConnectionDetailsMono',
|
108
|
+
:'truelayer' => :'FinancialConnectionDetailsTruelayer',
|
109
|
+
:'finverse' => :'FinancialConnectionDetailsFinverse'
|
102
110
|
}
|
103
111
|
end
|
104
112
|
|
@@ -166,6 +174,14 @@ module FuseClient
|
|
166
174
|
if attributes.key?(:'mono')
|
167
175
|
self.mono = attributes[:'mono']
|
168
176
|
end
|
177
|
+
|
178
|
+
if attributes.key?(:'truelayer')
|
179
|
+
self.truelayer = attributes[:'truelayer']
|
180
|
+
end
|
181
|
+
|
182
|
+
if attributes.key?(:'finverse')
|
183
|
+
self.finverse = attributes[:'finverse']
|
184
|
+
end
|
169
185
|
end
|
170
186
|
|
171
187
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -233,7 +249,9 @@ module FuseClient
|
|
233
249
|
mx == o.mx &&
|
234
250
|
snaptrade == o.snaptrade &&
|
235
251
|
flinks == o.flinks &&
|
236
|
-
mono == o.mono
|
252
|
+
mono == o.mono &&
|
253
|
+
truelayer == o.truelayer &&
|
254
|
+
finverse == o.finverse
|
237
255
|
end
|
238
256
|
|
239
257
|
# @see the `==` method
|
@@ -245,7 +263,7 @@ module FuseClient
|
|
245
263
|
# Calculates hash code according to all attributes.
|
246
264
|
# @return [Integer] Hash code
|
247
265
|
def hash
|
248
|
-
[id, connection_status, connection_status_updated_at, is_oauth, aggregator, plaid, teller, mx, snaptrade, flinks, mono].hash
|
266
|
+
[id, connection_status, connection_status_updated_at, is_oauth, aggregator, plaid, teller, mx, snaptrade, flinks, mono, truelayer, finverse].hash
|
249
267
|
end
|
250
268
|
|
251
269
|
# Builds the object from hash
|