snaptrade-typescript-sdk 8.7.0 → 8.8.0

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 (167) hide show
  1. package/README.md +1 -2
  2. package/dist/api/portfolio-management-api.d.ts +0 -47
  3. package/dist/api/portfolio-management-api.js +0 -103
  4. package/dist/configuration.js +1 -1
  5. package/package.json +4 -1
  6. package/.konfig/generate-id.txt +0 -1
  7. package/.konfigignore +0 -3
  8. package/api/account-information-api-custom.ts +0 -3
  9. package/api/account-information-api.ts +0 -1062
  10. package/api/api-disclaimer-api-custom.ts +0 -3
  11. package/api/api-disclaimer-api.ts +0 -183
  12. package/api/api-status-api-custom.ts +0 -3
  13. package/api/api-status-api.ts +0 -128
  14. package/api/authentication-api-custom.ts +0 -3
  15. package/api/authentication-api.ts +0 -568
  16. package/api/connections-api-custom.ts +0 -3
  17. package/api/connections-api.ts +0 -544
  18. package/api/error-logs-api-custom.ts +0 -3
  19. package/api/error-logs-api.ts +0 -174
  20. package/api/options-api-custom.ts +0 -3
  21. package/api/options-api.ts +0 -739
  22. package/api/portfolio-management-api-custom.ts +0 -3
  23. package/api/portfolio-management-api.ts +0 -3301
  24. package/api/reference-data-api-custom.ts +0 -3
  25. package/api/reference-data-api.ts +0 -1031
  26. package/api/trading-api-custom.ts +0 -3
  27. package/api/trading-api.ts +0 -1304
  28. package/api/transactions-and-reporting-api-custom.ts +0 -3
  29. package/api/transactions-and-reporting-api.ts +0 -408
  30. package/api.ts +0 -27
  31. package/base.ts +0 -70
  32. package/client-custom.ts +0 -5
  33. package/client.ts +0 -59
  34. package/common.ts +0 -163
  35. package/configuration.ts +0 -131
  36. package/docs/AccountInformationApi.md +0 -469
  37. package/docs/ApiDisclaimerApi.md +0 -64
  38. package/docs/ApiStatusApi.md +0 -58
  39. package/docs/AuthenticationApi.md +0 -293
  40. package/docs/ConnectionsApi.md +0 -238
  41. package/docs/ErrorLogsApi.md +0 -62
  42. package/docs/OptionsApi.md +0 -312
  43. package/docs/PortfolioManagementApi.md +0 -1785
  44. package/docs/ReferenceDataApi.md +0 -568
  45. package/docs/TradingApi.md +0 -596
  46. package/docs/TransactionsAndReportingApi.md +0 -144
  47. package/index.test.ts +0 -177
  48. package/index.ts +0 -18
  49. package/jest.config.ts +0 -11
  50. package/models/account-holdings-account.ts +0 -61
  51. package/models/account-holdings.ts +0 -61
  52. package/models/account-order-record-status.ts +0 -48
  53. package/models/account-order-record.ts +0 -151
  54. package/models/account-simple.ts +0 -52
  55. package/models/account-sync-status.ts +0 -32
  56. package/models/account.ts +0 -91
  57. package/models/action.ts +0 -30
  58. package/models/apidisclaimer-accept-request.ts +0 -29
  59. package/models/authentication-login-snap-trade-user200-response.ts +0 -31
  60. package/models/balance.ts +0 -40
  61. package/models/brokerage-authorization-type-read-only-brokerage.ts +0 -43
  62. package/models/brokerage-authorization-type-read-only.ts +0 -68
  63. package/models/brokerage-authorization-type.ts +0 -39
  64. package/models/brokerage-authorization.ts +0 -82
  65. package/models/brokerage-symbol.ts +0 -61
  66. package/models/brokerage-type.ts +0 -37
  67. package/models/brokerage.ts +0 -136
  68. package/models/calculated-trade.ts +0 -40
  69. package/models/cash-restriction.ts +0 -63
  70. package/models/connections-session-events200-response-inner.ts +0 -25
  71. package/models/currency.ts +0 -43
  72. package/models/delete-user-response.ts +0 -37
  73. package/models/dividend-at-date.ts +0 -43
  74. package/models/encrypted-response-encrypted-message-data.ts +0 -43
  75. package/models/encrypted-response.ts +0 -38
  76. package/models/exchange-rate-pairs.ts +0 -46
  77. package/models/exchange.ts +0 -73
  78. package/models/excluded-asset.ts +0 -34
  79. package/models/index.ts +0 -109
  80. package/models/jwt.ts +0 -31
  81. package/models/login-redirect-uri.ts +0 -35
  82. package/models/manual-trade-and-impact.ts +0 -49
  83. package/models/manual-trade-balance.ts +0 -49
  84. package/models/manual-trade-form.ts +0 -80
  85. package/models/manual-trade-symbol.ts +0 -64
  86. package/models/manual-trade.ts +0 -88
  87. package/models/model-asset-class-details.ts +0 -41
  88. package/models/model-asset-class-target.ts +0 -34
  89. package/models/model-asset-class.ts +0 -37
  90. package/models/model-portfolio-asset-class.ts +0 -40
  91. package/models/model-portfolio-details.ts +0 -50
  92. package/models/model-portfolio-security.ts +0 -40
  93. package/models/model-portfolio.ts +0 -52
  94. package/models/model400-failed-request-response.ts +0 -37
  95. package/models/model401-failed-request-response.ts +0 -37
  96. package/models/model403-failed-request-response.ts +0 -37
  97. package/models/model404-failed-request-response.ts +0 -37
  98. package/models/monthly-dividends.ts +0 -40
  99. package/models/net-contributions.ts +0 -43
  100. package/models/net-dividend.ts +0 -46
  101. package/models/option-chain-inner-chain-per-root-inner-chain-per-strike-price-inner.ts +0 -43
  102. package/models/option-chain-inner-chain-per-root-inner.ts +0 -46
  103. package/models/option-chain-inner.ts +0 -58
  104. package/models/option-leg.ts +0 -53
  105. package/models/option-strategy-legs-inner.ts +0 -47
  106. package/models/option-strategy.ts +0 -61
  107. package/models/options-get-option-strategy-request.ts +0 -51
  108. package/models/options-holdings.ts +0 -67
  109. package/models/options-place-option-strategy-request.ts +0 -57
  110. package/models/options-position.ts +0 -73
  111. package/models/options-symbol.ts +0 -94
  112. package/models/order-type.ts +0 -32
  113. package/models/partner-data.ts +0 -100
  114. package/models/past-value.ts +0 -43
  115. package/models/performance-custom.ts +0 -154
  116. package/models/portfolio-group-info.ts +0 -115
  117. package/models/portfolio-group-position.ts +0 -46
  118. package/models/portfolio-group-settings.ts +0 -58
  119. package/models/portfolio-group.ts +0 -37
  120. package/models/position-symbol.ts +0 -64
  121. package/models/position.ts +0 -64
  122. package/models/redirect-tokenand-pin.ts +0 -37
  123. package/models/security-type.ts +0 -49
  124. package/models/session-event.ts +0 -80
  125. package/models/snap-trade-apidisclaimer-accept-status.ts +0 -37
  126. package/models/snap-trade-holdings-account-account-id.ts +0 -82
  127. package/models/snap-trade-holdings-account.ts +0 -79
  128. package/models/snap-trade-holdings-total-value.ts +0 -37
  129. package/models/snap-trade-login-user-request-body.ts +0 -61
  130. package/models/snap-trade-register-user-request-body.ts +0 -35
  131. package/models/status.ts +0 -43
  132. package/models/strategy-impact-legs-inner.ts +0 -67
  133. package/models/strategy-impact.ts +0 -94
  134. package/models/strategy-order-place-orders-inner-legs-inner.ts +0 -67
  135. package/models/strategy-order-place-orders-inner.ts +0 -286
  136. package/models/strategy-order-place.ts +0 -40
  137. package/models/strategy-order-record.ts +0 -133
  138. package/models/strategy-quotes-greek.ts +0 -55
  139. package/models/strategy-quotes.ts +0 -67
  140. package/models/sub-period-return-rate.ts +0 -43
  141. package/models/symbol-query.ts +0 -29
  142. package/models/symbol.ts +0 -76
  143. package/models/symbols-quotes.ts +0 -64
  144. package/models/target-asset.ts +0 -62
  145. package/models/time-in-force.ts +0 -31
  146. package/models/trade-execution-status.ts +0 -105
  147. package/models/trade-impact.ts +0 -61
  148. package/models/trade.ts +0 -88
  149. package/models/trading-cancel-user-account-order-request.ts +0 -29
  150. package/models/trading-place-ocoorder-request.ts +0 -35
  151. package/models/transactions-status.ts +0 -35
  152. package/models/underlying-symbol.ts +0 -76
  153. package/models/universal-activity.ts +0 -127
  154. package/models/universal-symbol-ticker.ts +0 -82
  155. package/models/universal-symbol.ts +0 -80
  156. package/models/user-error-log.ts +0 -61
  157. package/models/user-idand-secret.ts +0 -37
  158. package/models/user-settings.ts +0 -88
  159. package/models/usexchange.ts +0 -79
  160. package/pagination/page-types.ts +0 -34
  161. package/pagination/page.ts +0 -58
  162. package/pagination/pageable.ts +0 -113
  163. package/pagination/paginate.ts +0 -41
  164. package/requestAfterHook.ts +0 -53
  165. package/requestBeforeHook.ts +0 -15
  166. package/tsconfig.json +0 -22
  167. package/tsconfig.test.json +0 -6
@@ -1,52 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SnapTrade
5
- * Connect brokerage accounts to your app for live positions and trading
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: api@snaptrade.com
9
- *
10
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
11
- * https://konfigthis.com
12
- * Do not edit the class manually.
13
- */
14
-
15
- // May contain unused imports in some cases
16
- // @ts-ignore
17
- import { AccountSyncStatus } from './account-sync-status';
18
-
19
- /**
20
- * SnapTradeUser Investment Account
21
- * @export
22
- * @interface AccountSimple
23
- */
24
- export interface AccountSimple {
25
- [key: string]: any;
26
-
27
- /**
28
- *
29
- * @type {string}
30
- * @memberof AccountSimple
31
- */
32
- 'id'?: string;
33
- /**
34
- *
35
- * @type {string}
36
- * @memberof AccountSimple
37
- */
38
- 'name'?: string;
39
- /**
40
- *
41
- * @type {string}
42
- * @memberof AccountSimple
43
- */
44
- 'number'?: string;
45
- /**
46
- *
47
- * @type {AccountSyncStatus}
48
- * @memberof AccountSimple
49
- */
50
- 'sync_status'?: AccountSyncStatus;
51
- }
52
-
@@ -1,32 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SnapTrade
5
- * Connect brokerage accounts to your app for live positions and trading
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: api@snaptrade.com
9
- *
10
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
11
- * https://konfigthis.com
12
- * Do not edit the class manually.
13
- */
14
-
15
- // May contain unused imports in some cases
16
- // @ts-ignore
17
- import { TransactionsStatus } from './transactions-status';
18
-
19
- /**
20
- * Status of account
21
- * @export
22
- * @interface AccountSyncStatus
23
- */
24
- export interface AccountSyncStatus {
25
- /**
26
- *
27
- * @type {TransactionsStatus}
28
- * @memberof AccountSyncStatus
29
- */
30
- 'transactions'?: TransactionsStatus;
31
- }
32
-
package/models/account.ts DELETED
@@ -1,91 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SnapTrade
5
- * Connect brokerage accounts to your app for live positions and trading
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: api@snaptrade.com
9
- *
10
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
11
- * https://konfigthis.com
12
- * Do not edit the class manually.
13
- */
14
-
15
- // May contain unused imports in some cases
16
- // @ts-ignore
17
- import { AccountSyncStatus } from './account-sync-status';
18
- // May contain unused imports in some cases
19
- // @ts-ignore
20
- import { CashRestriction } from './cash-restriction';
21
-
22
- /**
23
- * SnapTradeUser Investment Account
24
- * @export
25
- * @interface Account
26
- */
27
- export interface Account {
28
- [key: string]: any;
29
-
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof Account
34
- */
35
- 'id'?: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof Account
40
- */
41
- 'brokerage_authorization'?: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof Account
46
- */
47
- 'portfolio_group'?: string;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof Account
52
- */
53
- 'name'?: string;
54
- /**
55
- *
56
- * @type {string}
57
- * @memberof Account
58
- */
59
- 'number'?: string;
60
- /**
61
- *
62
- * @type {string}
63
- * @memberof Account
64
- */
65
- 'institution_name'?: string;
66
- /**
67
- *
68
- * @type {string}
69
- * @memberof Account
70
- */
71
- 'created_date'?: string;
72
- /**
73
- *
74
- * @type {{ [key: string]: any; }}
75
- * @memberof Account
76
- */
77
- 'meta'?: { [key: string]: any; };
78
- /**
79
- *
80
- * @type {Array<CashRestriction>}
81
- * @memberof Account
82
- */
83
- 'cash_restrictions'?: Array<CashRestriction>;
84
- /**
85
- *
86
- * @type {AccountSyncStatus}
87
- * @memberof Account
88
- */
89
- 'sync_status'?: AccountSyncStatus;
90
- }
91
-
package/models/action.ts DELETED
@@ -1,30 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SnapTrade
5
- * Connect brokerage accounts to your app for live positions and trading
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: api@snaptrade.com
9
- *
10
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
11
- * https://konfigthis.com
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- /**
17
- * Trade Action
18
- * @export
19
- * @enum {string}
20
- */
21
-
22
- export const Action = {
23
- Buy: 'BUY',
24
- Sell: 'SELL'
25
- } as const;
26
-
27
- export type Action = typeof Action[keyof typeof Action];
28
-
29
-
30
-
@@ -1,29 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SnapTrade
5
- * Connect brokerage accounts to your app for live positions and trading
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: api@snaptrade.com
9
- *
10
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
11
- * https://konfigthis.com
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- /**
17
- *
18
- * @export
19
- * @interface APIDisclaimerAcceptRequest
20
- */
21
- export interface APIDisclaimerAcceptRequest {
22
- /**
23
- * A boolean that indicates whether this user has accepted the disclaimer or not.
24
- * @type {boolean}
25
- * @memberof APIDisclaimerAcceptRequest
26
- */
27
- 'accepted'?: boolean;
28
- }
29
-
@@ -1,31 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SnapTrade
5
- * Connect brokerage accounts to your app for live positions and trading
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: api@snaptrade.com
9
- *
10
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
11
- * https://konfigthis.com
12
- * Do not edit the class manually.
13
- */
14
-
15
- // May contain unused imports in some cases
16
- // @ts-ignore
17
- import { EncryptedResponse } from './encrypted-response';
18
- // May contain unused imports in some cases
19
- // @ts-ignore
20
- import { EncryptedResponseEncryptedMessageData } from './encrypted-response-encrypted-message-data';
21
- // May contain unused imports in some cases
22
- // @ts-ignore
23
- import { LoginRedirectURI } from './login-redirect-uri';
24
-
25
- /**
26
- * @type AuthenticationLoginSnapTradeUser200Response
27
- * @export
28
- */
29
- export type AuthenticationLoginSnapTradeUser200Response = EncryptedResponse | LoginRedirectURI;
30
-
31
-
package/models/balance.ts DELETED
@@ -1,40 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SnapTrade
5
- * Connect brokerage accounts to your app for live positions and trading
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: api@snaptrade.com
9
- *
10
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
11
- * https://konfigthis.com
12
- * Do not edit the class manually.
13
- */
14
-
15
- // May contain unused imports in some cases
16
- // @ts-ignore
17
- import { Currency } from './currency';
18
-
19
- /**
20
- * Account Balance
21
- * @export
22
- * @interface Balance
23
- */
24
- export interface Balance {
25
- [key: string]: any;
26
-
27
- /**
28
- *
29
- * @type {Currency}
30
- * @memberof Balance
31
- */
32
- 'currency'?: Currency;
33
- /**
34
- *
35
- * @type {number}
36
- * @memberof Balance
37
- */
38
- 'cash'?: number | null;
39
- }
40
-
@@ -1,43 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SnapTrade
5
- * Connect brokerage accounts to your app for live positions and trading
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: api@snaptrade.com
9
- *
10
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
11
- * https://konfigthis.com
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- /**
17
- *
18
- * @export
19
- * @interface BrokerageAuthorizationTypeReadOnlyBrokerage
20
- */
21
- export interface BrokerageAuthorizationTypeReadOnlyBrokerage {
22
- [key: string]: any;
23
-
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof BrokerageAuthorizationTypeReadOnlyBrokerage
28
- */
29
- 'id'?: string;
30
- /**
31
- * Name of Brokerage
32
- * @type {string}
33
- * @memberof BrokerageAuthorizationTypeReadOnlyBrokerage
34
- */
35
- 'name'?: string;
36
- /**
37
- * Slug of Brokerage. It is usually the name of the brokerage in capital letters
38
- * @type {string}
39
- * @memberof BrokerageAuthorizationTypeReadOnlyBrokerage
40
- */
41
- 'slug'?: string;
42
- }
43
-
@@ -1,68 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SnapTrade
5
- * Connect brokerage accounts to your app for live positions and trading
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: api@snaptrade.com
9
- *
10
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
11
- * https://konfigthis.com
12
- * Do not edit the class manually.
13
- */
14
-
15
- // May contain unused imports in some cases
16
- // @ts-ignore
17
- import { BrokerageAuthorizationTypeReadOnlyBrokerage } from './brokerage-authorization-type-read-only-brokerage';
18
-
19
- /**
20
- *
21
- * @export
22
- * @interface BrokerageAuthorizationTypeReadOnly
23
- */
24
- export interface BrokerageAuthorizationTypeReadOnly {
25
- [key: string]: any;
26
-
27
- /**
28
- *
29
- * @type {string}
30
- * @memberof BrokerageAuthorizationTypeReadOnly
31
- */
32
- 'id'?: string;
33
- /**
34
- *
35
- * @type {string}
36
- * @memberof BrokerageAuthorizationTypeReadOnly
37
- */
38
- 'type'?: BrokerageAuthorizationTypeReadOnlyTypeEnum;
39
- /**
40
- *
41
- * @type {string}
42
- * @memberof BrokerageAuthorizationTypeReadOnly
43
- */
44
- 'auth_type'?: BrokerageAuthorizationTypeReadOnlyAuthTypeEnum;
45
- /**
46
- *
47
- * @type {BrokerageAuthorizationTypeReadOnlyBrokerage}
48
- * @memberof BrokerageAuthorizationTypeReadOnly
49
- */
50
- 'brokerage'?: BrokerageAuthorizationTypeReadOnlyBrokerage;
51
- }
52
-
53
- export const BrokerageAuthorizationTypeReadOnlyTypeEnum = {
54
- Read: 'read',
55
- Trade: 'trade'
56
- } as const;
57
-
58
- export type BrokerageAuthorizationTypeReadOnlyTypeEnum = typeof BrokerageAuthorizationTypeReadOnlyTypeEnum[keyof typeof BrokerageAuthorizationTypeReadOnlyTypeEnum];
59
- export const BrokerageAuthorizationTypeReadOnlyAuthTypeEnum = {
60
- Oauth: 'OAUTH',
61
- Scrape: 'SCRAPE',
62
- UnofficialApi: 'UNOFFICIAL_API',
63
- Token: 'TOKEN'
64
- } as const;
65
-
66
- export type BrokerageAuthorizationTypeReadOnlyAuthTypeEnum = typeof BrokerageAuthorizationTypeReadOnlyAuthTypeEnum[keyof typeof BrokerageAuthorizationTypeReadOnlyAuthTypeEnum];
67
-
68
-
@@ -1,39 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SnapTrade
5
- * Connect brokerage accounts to your app for live positions and trading
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: api@snaptrade.com
9
- *
10
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
11
- * https://konfigthis.com
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- /**
17
- *
18
- * @export
19
- * @interface BrokerageAuthorizationType
20
- */
21
- export interface BrokerageAuthorizationType {
22
- [key: string]: any;
23
-
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof BrokerageAuthorizationType
28
- */
29
- 'type'?: BrokerageAuthorizationTypeTypeEnum;
30
- }
31
-
32
- export const BrokerageAuthorizationTypeTypeEnum = {
33
- Read: 'read',
34
- Trade: 'trade'
35
- } as const;
36
-
37
- export type BrokerageAuthorizationTypeTypeEnum = typeof BrokerageAuthorizationTypeTypeEnum[keyof typeof BrokerageAuthorizationTypeTypeEnum];
38
-
39
-
@@ -1,82 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SnapTrade
5
- * Connect brokerage accounts to your app for live positions and trading
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: api@snaptrade.com
9
- *
10
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
11
- * https://konfigthis.com
12
- * Do not edit the class manually.
13
- */
14
-
15
- // May contain unused imports in some cases
16
- // @ts-ignore
17
- import { Brokerage } from './brokerage';
18
-
19
- /**
20
- *
21
- * @export
22
- * @interface BrokerageAuthorization
23
- */
24
- export interface BrokerageAuthorization {
25
- [key: string]: any;
26
-
27
- /**
28
- *
29
- * @type {string}
30
- * @memberof BrokerageAuthorization
31
- */
32
- 'id'?: string;
33
- /**
34
- * Time
35
- * @type {string}
36
- * @memberof BrokerageAuthorization
37
- */
38
- 'created_date'?: string;
39
- /**
40
- * Time
41
- * @type {string}
42
- * @memberof BrokerageAuthorization
43
- */
44
- 'updated_date'?: string;
45
- /**
46
- *
47
- * @type {Brokerage}
48
- * @memberof BrokerageAuthorization
49
- */
50
- 'brokerage'?: Brokerage;
51
- /**
52
- * Connection Name
53
- * @type {string}
54
- * @memberof BrokerageAuthorization
55
- */
56
- 'name'?: string;
57
- /**
58
- *
59
- * @type {string}
60
- * @memberof BrokerageAuthorization
61
- */
62
- 'type'?: string;
63
- /**
64
- *
65
- * @type {boolean}
66
- * @memberof BrokerageAuthorization
67
- */
68
- 'disabled'?: boolean;
69
- /**
70
- * Disabled date
71
- * @type {string}
72
- * @memberof BrokerageAuthorization
73
- */
74
- 'disabled_date'?: string | null;
75
- /**
76
- * Additional data about brokerage authorization
77
- * @type {{ [key: string]: any; }}
78
- * @memberof BrokerageAuthorization
79
- */
80
- 'meta'?: { [key: string]: any; };
81
- }
82
-
@@ -1,61 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SnapTrade
5
- * Connect brokerage accounts to your app for live positions and trading
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: api@snaptrade.com
9
- *
10
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
11
- * https://konfigthis.com
12
- * Do not edit the class manually.
13
- */
14
-
15
- // May contain unused imports in some cases
16
- // @ts-ignore
17
- import { BrokerageAuthorization } from './brokerage-authorization';
18
- // May contain unused imports in some cases
19
- // @ts-ignore
20
- import { UniversalSymbol } from './universal-symbol';
21
-
22
- /**
23
- * Brokerage symbol
24
- * @export
25
- * @interface BrokerageSymbol
26
- */
27
- export interface BrokerageSymbol {
28
- [key: string]: any;
29
-
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof BrokerageSymbol
34
- */
35
- 'id'?: string;
36
- /**
37
- *
38
- * @type {UniversalSymbol}
39
- * @memberof BrokerageSymbol
40
- */
41
- 'symbol'?: UniversalSymbol;
42
- /**
43
- *
44
- * @type {BrokerageAuthorization}
45
- * @memberof BrokerageSymbol
46
- */
47
- 'brokerage_authorization'?: BrokerageAuthorization;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof BrokerageSymbol
52
- */
53
- 'description'?: string;
54
- /**
55
- *
56
- * @type {boolean}
57
- * @memberof BrokerageSymbol
58
- */
59
- 'allows_fractional_units'?: boolean | null;
60
- }
61
-
@@ -1,37 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SnapTrade
5
- * Connect brokerage accounts to your app for live positions and trading
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: api@snaptrade.com
9
- *
10
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
11
- * https://konfigthis.com
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- /**
17
- * Type of brokerage
18
- * @export
19
- * @interface BrokerageType
20
- */
21
- export interface BrokerageType {
22
- [key: string]: any;
23
-
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof BrokerageType
28
- */
29
- 'id'?: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof BrokerageType
34
- */
35
- 'name'?: string;
36
- }
37
-