snaptrade-typescript-sdk 9.0.33 → 9.0.35
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 +25 -20
- package/dist/api/account-information-api-generated.d.ts +40 -40
- package/dist/api/account-information-api-generated.js +36 -36
- package/dist/api/options-api-generated.d.ts +10 -10
- package/dist/api/options-api-generated.js +9 -9
- 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 +4 -4
- package/dist/models/account-order-record-option-symbol.d.ts +52 -0
- package/dist/models/account-order-record-universal-symbol.d.ts +73 -0
- package/dist/models/account-order-record.d.ts +22 -22
- package/dist/models/account-sync-status.d.ts +1 -1
- package/dist/models/account.d.ts +16 -14
- package/dist/models/balance-currency.d.ts +25 -0
- package/dist/models/balance.d.ts +3 -3
- package/dist/models/holdings-status.d.ts +4 -4
- package/dist/models/index.d.ts +3 -4
- package/dist/models/index.js +3 -4
- package/dist/models/monthly-dividends.d.ts +1 -1
- package/dist/models/net-contributions.d.ts +1 -1
- package/dist/models/order-type-strict.d.ts +1 -1
- package/dist/models/past-value.d.ts +1 -1
- package/dist/models/strategy-order-record.d.ts +1 -1
- package/dist/models/sub-period-return-rate.d.ts +2 -2
- package/dist/models/transactions-status.d.ts +6 -6
- package/package.json +1 -1
- package/dist/models/amount.d.ts +0 -19
- package/dist/models/cash-restriction.d.ts +0 -40
- 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 -75
- package/dist/models/snap-trade-holdings-account-account-id.js +0 -2
- /package/dist/models/{amount.js → account-order-record-option-symbol.js} +0 -0
- /package/dist/models/{cash-restriction.js → account-order-record-universal-symbol.js} +0 -0
- /package/dist/models/{snap-trade-holdings-account-account-id-balance.js → balance-currency.js} +0 -0
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,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Cash restriction rules that apply to this account when undergoing portfolio rebalance calculations.
|
|
3
|
-
* @export
|
|
4
|
-
* @interface CashRestriction
|
|
5
|
-
*/
|
|
6
|
-
export interface CashRestriction {
|
|
7
|
-
[key: string]: any;
|
|
8
|
-
/**
|
|
9
|
-
*
|
|
10
|
-
* @type {string}
|
|
11
|
-
* @memberof CashRestriction
|
|
12
|
-
*/
|
|
13
|
-
'id'?: string;
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @type {string}
|
|
17
|
-
* @memberof CashRestriction
|
|
18
|
-
*/
|
|
19
|
-
'account'?: string;
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof CashRestriction
|
|
24
|
-
*/
|
|
25
|
-
'currency'?: string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof CashRestriction
|
|
30
|
-
*/
|
|
31
|
-
'type'?: CashRestrictionTypeEnum;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {number}
|
|
35
|
-
* @memberof CashRestriction
|
|
36
|
-
*/
|
|
37
|
-
'amount'?: number;
|
|
38
|
-
}
|
|
39
|
-
type CashRestrictionTypeEnum = 'ALLOCATE_MAX' | 'RETAIN_MIN';
|
|
40
|
-
export {};
|
|
@@ -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,75 +0,0 @@
|
|
|
1
|
-
import { CashRestriction } from './cash-restriction';
|
|
2
|
-
import { SnapTradeHoldingsAccountAccountIdBalance } from './snap-trade-holdings-account-account-id-balance';
|
|
3
|
-
/**
|
|
4
|
-
* A single brokerage account at a financial institution.
|
|
5
|
-
* @export
|
|
6
|
-
* @interface SnapTradeHoldingsAccountAccountId
|
|
7
|
-
*/
|
|
8
|
-
export interface SnapTradeHoldingsAccountAccountId {
|
|
9
|
-
[key: string]: any;
|
|
10
|
-
/**
|
|
11
|
-
* Unique identifier for the connected brokerage account. This is the UUID used to reference the account in SnapTrade.
|
|
12
|
-
* @type {string}
|
|
13
|
-
* @memberof SnapTradeHoldingsAccountAccountId
|
|
14
|
-
*/
|
|
15
|
-
'id'?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Unique identifier for the connection (brokerage authorization). This is the UUID used to reference the connection in SnapTrade.
|
|
18
|
-
* @type {string}
|
|
19
|
-
* @memberof SnapTradeHoldingsAccountAccountId
|
|
20
|
-
*/
|
|
21
|
-
'brokerage_authorization'?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Portfolio Group ID. Portfolio Groups have been deprecated. Please contact support if you have a usecase for it.
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof SnapTradeHoldingsAccountAccountId
|
|
26
|
-
* @deprecated
|
|
27
|
-
*/
|
|
28
|
-
'portfolio_group'?: string;
|
|
29
|
-
/**
|
|
30
|
-
* 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.
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof SnapTradeHoldingsAccountAccountId
|
|
33
|
-
*/
|
|
34
|
-
'name'?: string | null;
|
|
35
|
-
/**
|
|
36
|
-
* The account number assigned by the financial institution.
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof SnapTradeHoldingsAccountAccountId
|
|
39
|
-
*/
|
|
40
|
-
'number'?: string;
|
|
41
|
-
/**
|
|
42
|
-
* The name of the financial institution that holds the account.
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof SnapTradeHoldingsAccountAccountId
|
|
45
|
-
*/
|
|
46
|
-
'institution_name'?: string;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {SnapTradeHoldingsAccountAccountIdBalance}
|
|
50
|
-
* @memberof SnapTradeHoldingsAccountAccountId
|
|
51
|
-
*/
|
|
52
|
-
'balance'?: SnapTradeHoldingsAccountAccountIdBalance | null;
|
|
53
|
-
/**
|
|
54
|
-
* 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.
|
|
55
|
-
* @type {{ [key: string]: any; }}
|
|
56
|
-
* @memberof SnapTradeHoldingsAccountAccountId
|
|
57
|
-
* @deprecated
|
|
58
|
-
*/
|
|
59
|
-
'meta'?: {
|
|
60
|
-
[key: string]: any;
|
|
61
|
-
};
|
|
62
|
-
/**
|
|
63
|
-
* This field is deprecated.
|
|
64
|
-
* @type {Array<CashRestriction>}
|
|
65
|
-
* @memberof SnapTradeHoldingsAccountAccountId
|
|
66
|
-
* @deprecated
|
|
67
|
-
*/
|
|
68
|
-
'cash_restrictions'?: Array<CashRestriction>;
|
|
69
|
-
/**
|
|
70
|
-
* 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.
|
|
71
|
-
* @type {string}
|
|
72
|
-
* @memberof SnapTradeHoldingsAccountAccountId
|
|
73
|
-
*/
|
|
74
|
-
'created_date'?: string;
|
|
75
|
-
}
|
|
File without changes
|
|
File without changes
|
/package/dist/models/{snap-trade-holdings-account-account-id-balance.js → balance-currency.js}
RENAMED
|
File without changes
|