snaptrade-typescript-sdk 9.0.34 → 9.0.36
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.
- package/README.md +54 -41
- package/dist/api/account-information-api-generated.d.ts +42 -42
- package/dist/api/account-information-api-generated.js +37 -37
- package/dist/api/authentication-api-generated.d.ts +28 -28
- package/dist/api/authentication-api-generated.js +28 -28
- package/dist/api/connections-api-generated.d.ts +4 -4
- package/dist/api/connections-api-generated.js +2 -2
- package/dist/api/options-api-generated.d.ts +10 -10
- package/dist/api/options-api-generated.js +9 -9
- package/dist/api/transactions-and-reporting-api-generated.d.ts +16 -16
- package/dist/api/transactions-and-reporting-api-generated.js +10 -10
- package/dist/browser.js +1 -1
- package/dist/configuration.js +1 -1
- package/dist/models/account-balance-total.d.ts +1 -1
- package/dist/models/account-holdings-account.d.ts +3 -3
- package/dist/models/account-order-record-universal-symbol.d.ts +6 -6
- package/dist/models/account-order-record.d.ts +1 -1
- package/dist/models/account-simple.d.ts +4 -4
- package/dist/models/account-sync-status.d.ts +1 -1
- package/dist/models/account.d.ts +12 -10
- package/dist/models/balance-currency.d.ts +25 -0
- package/dist/models/balance.d.ts +3 -3
- package/dist/models/delete-user-response.d.ts +8 -2
- package/dist/models/holdings-status.d.ts +4 -4
- package/dist/models/index.d.ts +6 -5
- package/dist/models/index.js +6 -5
- package/dist/models/login-redirect-uri.d.ts +4 -4
- package/dist/models/snap-trade-login-user-request-body.d.ts +6 -6
- package/dist/models/{universal-symbol-currency.d.ts → symbol-currency.d.ts} +5 -5
- package/dist/models/{universal-symbol-exchange.d.ts → symbol-exchange.d.ts} +10 -10
- package/dist/models/symbol.d.ts +13 -13
- package/dist/models/transactions-status.d.ts +6 -6
- package/dist/models/underlying-symbol.d.ts +3 -3
- package/dist/models/universal-activity-currency.d.ts +25 -0
- package/dist/models/universal-activity-option-symbol.d.ts +52 -0
- package/dist/models/universal-activity-symbol.d.ts +65 -0
- package/dist/models/universal-activity-symbol.js +2 -0
- package/dist/models/universal-activity.d.ts +40 -40
- package/dist/models/universal-symbol.d.ts +6 -6
- package/dist/models/user-idand-secret.d.ts +1 -1
- package/package.json +1 -1
- package/dist/models/amount.d.ts +0 -19
- package/dist/models/snap-trade-holdings-account-account-id-balance.d.ts +0 -14
- package/dist/models/snap-trade-holdings-account-account-id.d.ts +0 -74
- /package/dist/models/{amount.js → balance-currency.js} +0 -0
- /package/dist/models/{snap-trade-holdings-account-account-id-balance.js → symbol-currency.js} +0 -0
- /package/dist/models/{snap-trade-holdings-account-account-id.js → symbol-exchange.js} +0 -0
- /package/dist/models/{universal-symbol-currency.js → universal-activity-currency.js} +0 -0
- /package/dist/models/{universal-symbol-exchange.js → universal-activity-option-symbol.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Currency } from './currency';
|
|
2
|
+
import { SymbolCurrency } from './symbol-currency';
|
|
2
3
|
import { SymbolFigiInstrument } from './symbol-figi-instrument';
|
|
3
4
|
import { UnderlyingSymbolExchange } from './underlying-symbol-exchange';
|
|
4
5
|
import { UnderlyingSymbolType } from './underlying-symbol-type';
|
|
5
|
-
import { UniversalSymbolCurrency } from './universal-symbol-currency';
|
|
6
6
|
/**
|
|
7
7
|
* Symbol object for the underlying security of an option.
|
|
8
8
|
* @export
|
|
@@ -36,10 +36,10 @@ export interface UnderlyingSymbol {
|
|
|
36
36
|
'description'?: string | null;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {
|
|
39
|
+
* @type {SymbolCurrency}
|
|
40
40
|
* @memberof UnderlyingSymbol
|
|
41
41
|
*/
|
|
42
|
-
'currency'?:
|
|
42
|
+
'currency'?: SymbolCurrency;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
45
|
* @type {UnderlyingSymbolExchange}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The currency in which the transaction `price` and `amount` is denominated.
|
|
3
|
+
* @export
|
|
4
|
+
* @interface UniversalActivityCurrency
|
|
5
|
+
*/
|
|
6
|
+
export interface UniversalActivityCurrency {
|
|
7
|
+
/**
|
|
8
|
+
* Unique identifier for the currency. This is the UUID used to reference the currency in SnapTrade.
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @memberof UniversalActivityCurrency
|
|
11
|
+
*/
|
|
12
|
+
'id'?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The ISO-4217 currency code for the currency.
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof UniversalActivityCurrency
|
|
17
|
+
*/
|
|
18
|
+
'code'?: string;
|
|
19
|
+
/**
|
|
20
|
+
* A human-friendly name of the currency.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof UniversalActivityCurrency
|
|
23
|
+
*/
|
|
24
|
+
'name'?: string;
|
|
25
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { UnderlyingSymbol } from './underlying-symbol';
|
|
2
|
+
/**
|
|
3
|
+
* The option security for the transaction. The field is `null` if the transaction is not related to an option security (like a deposit, withdrawal, fee, etc). SnapTrade does a best effort to map the brokerage\'s option symbol. In cases where the brokerage option symbol is not recognized, the field will be set to `null`.
|
|
4
|
+
* @export
|
|
5
|
+
* @interface UniversalActivityOptionSymbol
|
|
6
|
+
*/
|
|
7
|
+
export interface UniversalActivityOptionSymbol {
|
|
8
|
+
/**
|
|
9
|
+
* Unique identifier for the option symbol within SnapTrade. This is the ID used to reference the symbol in SnapTrade API calls.
|
|
10
|
+
* @type {string}
|
|
11
|
+
* @memberof UniversalActivityOptionSymbol
|
|
12
|
+
*/
|
|
13
|
+
'id': string;
|
|
14
|
+
/**
|
|
15
|
+
* The [OCC symbol](https://en.wikipedia.org/wiki/Option_symbol) for the option.
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @memberof UniversalActivityOptionSymbol
|
|
18
|
+
*/
|
|
19
|
+
'ticker': string;
|
|
20
|
+
/**
|
|
21
|
+
* The type of option. Either \"CALL\" or \"PUT\".
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof UniversalActivityOptionSymbol
|
|
24
|
+
*/
|
|
25
|
+
'option_type': UniversalActivityOptionSymbolOptionTypeEnum;
|
|
26
|
+
/**
|
|
27
|
+
* The option strike price.
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof UniversalActivityOptionSymbol
|
|
30
|
+
*/
|
|
31
|
+
'strike_price': number;
|
|
32
|
+
/**
|
|
33
|
+
* The option expiration date.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof UniversalActivityOptionSymbol
|
|
36
|
+
*/
|
|
37
|
+
'expiration_date': string;
|
|
38
|
+
/**
|
|
39
|
+
* Whether the option is a mini option. Mini options have 10 underlying shares per contract instead of the standard 100.
|
|
40
|
+
* @type {boolean}
|
|
41
|
+
* @memberof UniversalActivityOptionSymbol
|
|
42
|
+
*/
|
|
43
|
+
'is_mini_option'?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {UnderlyingSymbol}
|
|
47
|
+
* @memberof UniversalActivityOptionSymbol
|
|
48
|
+
*/
|
|
49
|
+
'underlying_symbol': UnderlyingSymbol;
|
|
50
|
+
}
|
|
51
|
+
type UniversalActivityOptionSymbolOptionTypeEnum = 'CALL' | 'PUT';
|
|
52
|
+
export {};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { SecurityType } from './security-type';
|
|
2
|
+
import { SymbolCurrency } from './symbol-currency';
|
|
3
|
+
import { SymbolExchange } from './symbol-exchange';
|
|
4
|
+
import { SymbolFigiInstrument } from './symbol-figi-instrument';
|
|
5
|
+
/**
|
|
6
|
+
* The security for the transaction. The field is `null` if the transaction is not related to a security (like a deposit, withdrawal, fee, etc). SnapTrade does a best effort to map the brokerage\'s symbol. In cases where the brokerage symbol is not recognized, the field will be set to `null`.
|
|
7
|
+
* @export
|
|
8
|
+
* @interface UniversalActivitySymbol
|
|
9
|
+
*/
|
|
10
|
+
export interface UniversalActivitySymbol {
|
|
11
|
+
/**
|
|
12
|
+
* Unique identifier for the symbol within SnapTrade. This is the ID used to reference the symbol in SnapTrade API calls.
|
|
13
|
+
* @type {string}
|
|
14
|
+
* @memberof UniversalActivitySymbol
|
|
15
|
+
*/
|
|
16
|
+
'id'?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The security\'s trading ticker symbol. For example \"AAPL\" for Apple Inc. We largely follow the [Yahoo Finance ticker format](https://help.yahoo.com/kb/SLN2310.html)(click on \"Yahoo Finance Market Coverage and Data Delays\"). For example, for securities traded on the Toronto Stock Exchange, the symbol has a \'.TO\' suffix. For securities traded on NASDAQ or NYSE, the symbol does not have a suffix.
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof UniversalActivitySymbol
|
|
21
|
+
*/
|
|
22
|
+
'symbol'?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The raw symbol is `symbol` with the exchange suffix removed. For example, if `symbol` is \"VAB.TO\", then `raw_symbol` is \"VAB\".
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof UniversalActivitySymbol
|
|
27
|
+
*/
|
|
28
|
+
'raw_symbol'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* A human-readable description of the security. This is usually the company name or ETF name.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof UniversalActivitySymbol
|
|
33
|
+
*/
|
|
34
|
+
'description'?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {SymbolCurrency}
|
|
38
|
+
* @memberof UniversalActivitySymbol
|
|
39
|
+
*/
|
|
40
|
+
'currency'?: SymbolCurrency;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {SymbolExchange}
|
|
44
|
+
* @memberof UniversalActivitySymbol
|
|
45
|
+
*/
|
|
46
|
+
'exchange'?: SymbolExchange;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {SecurityType}
|
|
50
|
+
* @memberof UniversalActivitySymbol
|
|
51
|
+
*/
|
|
52
|
+
'type'?: SecurityType;
|
|
53
|
+
/**
|
|
54
|
+
* This identifier is unique per security per trading venue. See section 1.4.1 of the [FIGI Standard](https://www.openfigi.com/assets/local/figi-allocation-rules.pdf) for more information. This value should be the same as the `figi_code` in the `figi_instrument` child property.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof UniversalActivitySymbol
|
|
57
|
+
*/
|
|
58
|
+
'figi_code'?: string | null;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {SymbolFigiInstrument}
|
|
62
|
+
* @memberof UniversalActivitySymbol
|
|
63
|
+
*/
|
|
64
|
+
'figi_instrument'?: SymbolFigiInstrument | null;
|
|
65
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AccountSimple } from './account-simple';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { UniversalActivityCurrency } from './universal-activity-currency';
|
|
3
|
+
import { UniversalActivityOptionSymbol } from './universal-activity-option-symbol';
|
|
4
|
+
import { UniversalActivitySymbol } from './universal-activity-symbol';
|
|
5
5
|
/**
|
|
6
6
|
* A transaction or activity from an institution
|
|
7
7
|
* @export
|
|
@@ -10,7 +10,7 @@ import { Symbol } from './symbol';
|
|
|
10
10
|
export interface UniversalActivity {
|
|
11
11
|
[key: string]: any;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Unique identifier for the transaction. This is the ID used to reference the transaction in SnapTrade. Please note that this ID _can_ change if the transaction is deleted and re-added. Under normal circumstances, SnapTrade does not delete transactions. The only time this would happen is if SnapTrade re-fetches and reprocesses the data from the brokerage, which is rare. If you require a stable ID, please let us know and we can work with you to provide one.
|
|
14
14
|
* @type {string}
|
|
15
15
|
* @memberof UniversalActivity
|
|
16
16
|
*/
|
|
@@ -23,92 +23,92 @@ export interface UniversalActivity {
|
|
|
23
23
|
'account'?: AccountSimple;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @type {
|
|
26
|
+
* @type {UniversalActivitySymbol}
|
|
27
27
|
* @memberof UniversalActivity
|
|
28
28
|
*/
|
|
29
|
-
'
|
|
29
|
+
'symbol'?: UniversalActivitySymbol | null;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {
|
|
32
|
+
* @type {UniversalActivityOptionSymbol}
|
|
33
33
|
* @memberof UniversalActivity
|
|
34
34
|
*/
|
|
35
|
-
'
|
|
35
|
+
'option_symbol'?: UniversalActivityOptionSymbol | null;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {
|
|
37
|
+
* The price of the security for the transaction. This is mostly applicable to `BUY`, `SELL`, and `DIVIDEND` transactions.
|
|
38
|
+
* @type {number}
|
|
39
39
|
* @memberof UniversalActivity
|
|
40
40
|
*/
|
|
41
|
-
'
|
|
41
|
+
'price'?: number;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* The number of units of the security for the transaction. This is mostly applicable to `BUY`, `SELL`, and `DIVIDEND` transactions.
|
|
44
44
|
* @type {number}
|
|
45
45
|
* @memberof UniversalActivity
|
|
46
46
|
*/
|
|
47
|
-
'
|
|
47
|
+
'units'?: number;
|
|
48
48
|
/**
|
|
49
|
-
* The
|
|
49
|
+
* The amount of the transaction denominated in `currency`. This can be positive or negative. In general, transactions that positively affect the account balance (like sell, deposits, dividends, etc) will have a positive amount, while transactions that negatively affect the account balance (like buy, withdrawals, fees, etc) will have a negative amount.
|
|
50
50
|
* @type {number}
|
|
51
51
|
* @memberof UniversalActivity
|
|
52
52
|
*/
|
|
53
|
-
'
|
|
53
|
+
'amount'?: number | null;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
|
-
* @type {
|
|
56
|
+
* @type {UniversalActivityCurrency}
|
|
57
57
|
* @memberof UniversalActivity
|
|
58
58
|
*/
|
|
59
|
-
'
|
|
59
|
+
'currency'?: UniversalActivityCurrency;
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* A string representing the type of transaction. SnapTrade does a best effort to categorize the brokerage transaction types into a common set of values. Here are some of the most popular values: - BUY - SELL - DIVIDEND - CONTRIBUTION - WITHDRAWAL - REI - INTEREST - FEE
|
|
62
62
|
* @type {string}
|
|
63
63
|
* @memberof UniversalActivity
|
|
64
64
|
*/
|
|
65
|
-
'
|
|
65
|
+
'type'?: string;
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {
|
|
67
|
+
* If an option `BUY` or `SELL` transaction, this further specifies the type of action. The possible values are: - BUY_TO_OPEN - BUY_TO_CLOSE - SELL_TO_OPEN - SELL_TO_CLOSE
|
|
68
|
+
* @type {string}
|
|
69
69
|
* @memberof UniversalActivity
|
|
70
70
|
*/
|
|
71
|
-
'
|
|
71
|
+
'option_type'?: string;
|
|
72
72
|
/**
|
|
73
|
-
*
|
|
73
|
+
* A human-readable description of the transaction. This is usually the brokerage\'s description of the transaction.
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof UniversalActivity
|
|
76
76
|
*/
|
|
77
|
-
'
|
|
77
|
+
'description'?: string;
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
79
|
+
* The recorded time for the transaction. The granularity of this timestamp depends on the brokerage. Some brokerages provide the exact time of the transaction, while others provide only the date. Please check the [integrations page](https://snaptrade.notion.site/66793431ad0b416489eaabaf248d0afb?v=6fab8012ade6441fa0c6d9af9c55ce3a) for the specific brokerage to see the granularity of the timestamps. Note that even though the field is named `trade_date`, it can represent any type of transaction, not just trades.
|
|
80
80
|
* @type {string}
|
|
81
81
|
* @memberof UniversalActivity
|
|
82
82
|
*/
|
|
83
|
-
'
|
|
83
|
+
'trade_date'?: string | null;
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
86
|
-
* @type {
|
|
85
|
+
* The date on which the transaction is settled.
|
|
86
|
+
* @type {string}
|
|
87
87
|
* @memberof UniversalActivity
|
|
88
88
|
*/
|
|
89
|
-
'
|
|
89
|
+
'settlement_date'?: string;
|
|
90
90
|
/**
|
|
91
|
-
*
|
|
92
|
-
* @type {
|
|
91
|
+
* Any fee associated with the transaction if provided by the brokerage.
|
|
92
|
+
* @type {number}
|
|
93
93
|
* @memberof UniversalActivity
|
|
94
94
|
*/
|
|
95
|
-
'
|
|
95
|
+
'fee'?: number;
|
|
96
96
|
/**
|
|
97
|
-
*
|
|
98
|
-
* @type {
|
|
97
|
+
* The forex conversion rate involved in the transaction if provided by the brokerage. Used in cases where securities of one currency are purchased in a different currency, and the forex conversion is automatic. In those cases, price, amount and fee will be in the top level currency (activity -> currency)
|
|
98
|
+
* @type {number}
|
|
99
99
|
* @memberof UniversalActivity
|
|
100
100
|
*/
|
|
101
|
-
'
|
|
101
|
+
'fx_rate'?: number | null;
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
103
|
+
* The institution that the transaction is associated with. This is usually the brokerage name.
|
|
104
104
|
* @type {string}
|
|
105
105
|
* @memberof UniversalActivity
|
|
106
106
|
*/
|
|
107
|
-
'
|
|
107
|
+
'institution'?: string;
|
|
108
108
|
/**
|
|
109
|
-
*
|
|
110
|
-
* @type {
|
|
109
|
+
* Reference ID from brokerage used to identify related transactions. For example if an order comprises of several transactions (buy, fee, fx), they can be grouped if they share the same `external_reference_id`
|
|
110
|
+
* @type {string}
|
|
111
111
|
* @memberof UniversalActivity
|
|
112
112
|
*/
|
|
113
|
-
'
|
|
113
|
+
'external_reference_id'?: string | null;
|
|
114
114
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Currency } from './currency';
|
|
2
2
|
import { SecurityType } from './security-type';
|
|
3
|
+
import { SymbolCurrency } from './symbol-currency';
|
|
4
|
+
import { SymbolExchange } from './symbol-exchange';
|
|
3
5
|
import { SymbolFigiInstrument } from './symbol-figi-instrument';
|
|
4
|
-
import { UniversalSymbolCurrency } from './universal-symbol-currency';
|
|
5
|
-
import { UniversalSymbolExchange } from './universal-symbol-exchange';
|
|
6
6
|
/**
|
|
7
7
|
* Uniquely describes a single security + exchange combination across all brokerages.
|
|
8
8
|
* @export
|
|
@@ -36,16 +36,16 @@ export interface UniversalSymbol {
|
|
|
36
36
|
'description'?: string | null;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {
|
|
39
|
+
* @type {SymbolCurrency}
|
|
40
40
|
* @memberof UniversalSymbol
|
|
41
41
|
*/
|
|
42
|
-
'currency':
|
|
42
|
+
'currency': SymbolCurrency;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
|
-
* @type {
|
|
45
|
+
* @type {SymbolExchange}
|
|
46
46
|
* @memberof UniversalSymbol
|
|
47
47
|
*/
|
|
48
|
-
'exchange'?:
|
|
48
|
+
'exchange'?: SymbolExchange;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
* @type {SecurityType}
|
|
@@ -11,7 +11,7 @@ export interface UserIDandSecret {
|
|
|
11
11
|
*/
|
|
12
12
|
'userId'?: string;
|
|
13
13
|
/**
|
|
14
|
-
* SnapTrade User Secret randomly generated by SnapTrade. This is privileged information and if compromised, should be rotated via the
|
|
14
|
+
* SnapTrade User Secret randomly generated by SnapTrade. This is privileged information and if compromised, should be rotated via the [rotate user secret endpoint](/reference/Authentication/Authentication_resetSnapTradeUserSecret)
|
|
15
15
|
* @type {string}
|
|
16
16
|
* @memberof UserIDandSecret
|
|
17
17
|
*/
|
package/package.json
CHANGED
package/dist/models/amount.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Total value of the account, as reported by the brokerage
|
|
3
|
-
* @export
|
|
4
|
-
* @interface Amount
|
|
5
|
-
*/
|
|
6
|
-
export interface Amount {
|
|
7
|
-
/**
|
|
8
|
-
* Total value denominated in the currency of the `currency` field.
|
|
9
|
-
* @type {number}
|
|
10
|
-
* @memberof Amount
|
|
11
|
-
*/
|
|
12
|
-
'amount'?: number;
|
|
13
|
-
/**
|
|
14
|
-
* The ISO-4217 currency code for the amount.
|
|
15
|
-
* @type {string}
|
|
16
|
-
* @memberof Amount
|
|
17
|
-
*/
|
|
18
|
-
'currency'?: string;
|
|
19
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { AccountBalanceTotal } from './account-balance-total';
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* @export
|
|
5
|
-
* @interface SnapTradeHoldingsAccountAccountIdBalance
|
|
6
|
-
*/
|
|
7
|
-
export interface SnapTradeHoldingsAccountAccountIdBalance {
|
|
8
|
-
/**
|
|
9
|
-
*
|
|
10
|
-
* @type {AccountBalanceTotal}
|
|
11
|
-
* @memberof SnapTradeHoldingsAccountAccountIdBalance
|
|
12
|
-
*/
|
|
13
|
-
'total'?: AccountBalanceTotal | null;
|
|
14
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { SnapTradeHoldingsAccountAccountIdBalance } from './snap-trade-holdings-account-account-id-balance';
|
|
2
|
-
/**
|
|
3
|
-
* A single brokerage account at a financial institution.
|
|
4
|
-
* @export
|
|
5
|
-
* @interface SnapTradeHoldingsAccountAccountId
|
|
6
|
-
*/
|
|
7
|
-
export interface SnapTradeHoldingsAccountAccountId {
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
/**
|
|
10
|
-
* Unique identifier for the connected brokerage account. This is the UUID used to reference the account in SnapTrade.
|
|
11
|
-
* @type {string}
|
|
12
|
-
* @memberof SnapTradeHoldingsAccountAccountId
|
|
13
|
-
*/
|
|
14
|
-
'id'?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Unique identifier for the connection (brokerage authorization). This is the UUID used to reference the connection in SnapTrade.
|
|
17
|
-
* @type {string}
|
|
18
|
-
* @memberof SnapTradeHoldingsAccountAccountId
|
|
19
|
-
*/
|
|
20
|
-
'brokerage_authorization'?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Portfolio Group ID. Portfolio Groups have been deprecated. Please contact support if you have a usecase for it.
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof SnapTradeHoldingsAccountAccountId
|
|
25
|
-
* @deprecated
|
|
26
|
-
*/
|
|
27
|
-
'portfolio_group'?: string;
|
|
28
|
-
/**
|
|
29
|
-
* A display name for the account. Either assigned by the user or by the financial institution itself. For certain institutions, SnapTrade appends the institution name to the account name for clarity.
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof SnapTradeHoldingsAccountAccountId
|
|
32
|
-
*/
|
|
33
|
-
'name'?: string | null;
|
|
34
|
-
/**
|
|
35
|
-
* The account number assigned by the financial institution.
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof SnapTradeHoldingsAccountAccountId
|
|
38
|
-
*/
|
|
39
|
-
'number'?: string;
|
|
40
|
-
/**
|
|
41
|
-
* The name of the financial institution that holds the account.
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof SnapTradeHoldingsAccountAccountId
|
|
44
|
-
*/
|
|
45
|
-
'institution_name'?: string;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {SnapTradeHoldingsAccountAccountIdBalance}
|
|
49
|
-
* @memberof SnapTradeHoldingsAccountAccountId
|
|
50
|
-
*/
|
|
51
|
-
'balance'?: SnapTradeHoldingsAccountAccountIdBalance | null;
|
|
52
|
-
/**
|
|
53
|
-
* Additional information about the account, such as account type, status, etc. This information is specific to the financial institution and there\'s no standard format for this data. Please use at your own risk.
|
|
54
|
-
* @type {{ [key: string]: any; }}
|
|
55
|
-
* @memberof SnapTradeHoldingsAccountAccountId
|
|
56
|
-
* @deprecated
|
|
57
|
-
*/
|
|
58
|
-
'meta'?: {
|
|
59
|
-
[key: string]: any;
|
|
60
|
-
};
|
|
61
|
-
/**
|
|
62
|
-
* This field is deprecated.
|
|
63
|
-
* @type {Array<string>}
|
|
64
|
-
* @memberof SnapTradeHoldingsAccountAccountId
|
|
65
|
-
* @deprecated
|
|
66
|
-
*/
|
|
67
|
-
'cash_restrictions'?: Array<string>;
|
|
68
|
-
/**
|
|
69
|
-
* Timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format indicating when the account was created in SnapTrade. This is _not_ the account opening date at the financial institution.
|
|
70
|
-
* @type {string}
|
|
71
|
-
* @memberof SnapTradeHoldingsAccountAccountId
|
|
72
|
-
*/
|
|
73
|
-
'created_date'?: string;
|
|
74
|
-
}
|
|
File without changes
|
/package/dist/models/{snap-trade-holdings-account-account-id-balance.js → symbol-currency.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|