snaptrade-typescript-sdk 8.7.0 → 8.9.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 (179) hide show
  1. package/README.md +1 -3
  2. package/dist/api/portfolio-management-api.d.ts +0 -47
  3. package/dist/api/portfolio-management-api.js +0 -103
  4. package/dist/api.d.ts +0 -1
  5. package/dist/api.js +0 -1
  6. package/dist/client.d.ts +1 -2
  7. package/dist/client.js +0 -1
  8. package/dist/configuration.js +1 -1
  9. package/dist/models/index.d.ts +0 -1
  10. package/dist/models/index.js +0 -1
  11. package/package.json +4 -1
  12. package/.konfig/generate-id.txt +0 -1
  13. package/.konfigignore +0 -3
  14. package/api/account-information-api-custom.ts +0 -3
  15. package/api/account-information-api.ts +0 -1062
  16. package/api/api-disclaimer-api-custom.ts +0 -3
  17. package/api/api-disclaimer-api.ts +0 -183
  18. package/api/api-status-api-custom.ts +0 -3
  19. package/api/api-status-api.ts +0 -128
  20. package/api/authentication-api-custom.ts +0 -3
  21. package/api/authentication-api.ts +0 -568
  22. package/api/connections-api-custom.ts +0 -3
  23. package/api/connections-api.ts +0 -544
  24. package/api/error-logs-api-custom.ts +0 -3
  25. package/api/error-logs-api.ts +0 -174
  26. package/api/options-api-custom.ts +0 -3
  27. package/api/options-api.ts +0 -739
  28. package/api/portfolio-management-api-custom.ts +0 -3
  29. package/api/portfolio-management-api.ts +0 -3301
  30. package/api/reference-data-api-custom.ts +0 -3
  31. package/api/reference-data-api.ts +0 -1031
  32. package/api/trading-api-custom.ts +0 -3
  33. package/api/trading-api.ts +0 -1304
  34. package/api/transactions-and-reporting-api-custom.ts +0 -3
  35. package/api/transactions-and-reporting-api.ts +0 -408
  36. package/api.ts +0 -27
  37. package/base.ts +0 -70
  38. package/client-custom.ts +0 -5
  39. package/client.ts +0 -59
  40. package/common.ts +0 -163
  41. package/configuration.ts +0 -131
  42. package/dist/api/api-disclaimer-api-custom.d.ts +0 -3
  43. package/dist/api/api-disclaimer-api-custom.js +0 -27
  44. package/dist/api/api-disclaimer-api.d.ts +0 -97
  45. package/dist/api/api-disclaimer-api.js +0 -247
  46. package/dist/models/apidisclaimer-accept-request.d.ts +0 -24
  47. package/dist/models/apidisclaimer-accept-request.js +0 -15
  48. package/docs/AccountInformationApi.md +0 -469
  49. package/docs/ApiDisclaimerApi.md +0 -64
  50. package/docs/ApiStatusApi.md +0 -58
  51. package/docs/AuthenticationApi.md +0 -293
  52. package/docs/ConnectionsApi.md +0 -238
  53. package/docs/ErrorLogsApi.md +0 -62
  54. package/docs/OptionsApi.md +0 -312
  55. package/docs/PortfolioManagementApi.md +0 -1785
  56. package/docs/ReferenceDataApi.md +0 -568
  57. package/docs/TradingApi.md +0 -596
  58. package/docs/TransactionsAndReportingApi.md +0 -144
  59. package/index.test.ts +0 -177
  60. package/index.ts +0 -18
  61. package/jest.config.ts +0 -11
  62. package/models/account-holdings-account.ts +0 -61
  63. package/models/account-holdings.ts +0 -61
  64. package/models/account-order-record-status.ts +0 -48
  65. package/models/account-order-record.ts +0 -151
  66. package/models/account-simple.ts +0 -52
  67. package/models/account-sync-status.ts +0 -32
  68. package/models/account.ts +0 -91
  69. package/models/action.ts +0 -30
  70. package/models/apidisclaimer-accept-request.ts +0 -29
  71. package/models/authentication-login-snap-trade-user200-response.ts +0 -31
  72. package/models/balance.ts +0 -40
  73. package/models/brokerage-authorization-type-read-only-brokerage.ts +0 -43
  74. package/models/brokerage-authorization-type-read-only.ts +0 -68
  75. package/models/brokerage-authorization-type.ts +0 -39
  76. package/models/brokerage-authorization.ts +0 -82
  77. package/models/brokerage-symbol.ts +0 -61
  78. package/models/brokerage-type.ts +0 -37
  79. package/models/brokerage.ts +0 -136
  80. package/models/calculated-trade.ts +0 -40
  81. package/models/cash-restriction.ts +0 -63
  82. package/models/connections-session-events200-response-inner.ts +0 -25
  83. package/models/currency.ts +0 -43
  84. package/models/delete-user-response.ts +0 -37
  85. package/models/dividend-at-date.ts +0 -43
  86. package/models/encrypted-response-encrypted-message-data.ts +0 -43
  87. package/models/encrypted-response.ts +0 -38
  88. package/models/exchange-rate-pairs.ts +0 -46
  89. package/models/exchange.ts +0 -73
  90. package/models/excluded-asset.ts +0 -34
  91. package/models/index.ts +0 -109
  92. package/models/jwt.ts +0 -31
  93. package/models/login-redirect-uri.ts +0 -35
  94. package/models/manual-trade-and-impact.ts +0 -49
  95. package/models/manual-trade-balance.ts +0 -49
  96. package/models/manual-trade-form.ts +0 -80
  97. package/models/manual-trade-symbol.ts +0 -64
  98. package/models/manual-trade.ts +0 -88
  99. package/models/model-asset-class-details.ts +0 -41
  100. package/models/model-asset-class-target.ts +0 -34
  101. package/models/model-asset-class.ts +0 -37
  102. package/models/model-portfolio-asset-class.ts +0 -40
  103. package/models/model-portfolio-details.ts +0 -50
  104. package/models/model-portfolio-security.ts +0 -40
  105. package/models/model-portfolio.ts +0 -52
  106. package/models/model400-failed-request-response.ts +0 -37
  107. package/models/model401-failed-request-response.ts +0 -37
  108. package/models/model403-failed-request-response.ts +0 -37
  109. package/models/model404-failed-request-response.ts +0 -37
  110. package/models/monthly-dividends.ts +0 -40
  111. package/models/net-contributions.ts +0 -43
  112. package/models/net-dividend.ts +0 -46
  113. package/models/option-chain-inner-chain-per-root-inner-chain-per-strike-price-inner.ts +0 -43
  114. package/models/option-chain-inner-chain-per-root-inner.ts +0 -46
  115. package/models/option-chain-inner.ts +0 -58
  116. package/models/option-leg.ts +0 -53
  117. package/models/option-strategy-legs-inner.ts +0 -47
  118. package/models/option-strategy.ts +0 -61
  119. package/models/options-get-option-strategy-request.ts +0 -51
  120. package/models/options-holdings.ts +0 -67
  121. package/models/options-place-option-strategy-request.ts +0 -57
  122. package/models/options-position.ts +0 -73
  123. package/models/options-symbol.ts +0 -94
  124. package/models/order-type.ts +0 -32
  125. package/models/partner-data.ts +0 -100
  126. package/models/past-value.ts +0 -43
  127. package/models/performance-custom.ts +0 -154
  128. package/models/portfolio-group-info.ts +0 -115
  129. package/models/portfolio-group-position.ts +0 -46
  130. package/models/portfolio-group-settings.ts +0 -58
  131. package/models/portfolio-group.ts +0 -37
  132. package/models/position-symbol.ts +0 -64
  133. package/models/position.ts +0 -64
  134. package/models/redirect-tokenand-pin.ts +0 -37
  135. package/models/security-type.ts +0 -49
  136. package/models/session-event.ts +0 -80
  137. package/models/snap-trade-apidisclaimer-accept-status.ts +0 -37
  138. package/models/snap-trade-holdings-account-account-id.ts +0 -82
  139. package/models/snap-trade-holdings-account.ts +0 -79
  140. package/models/snap-trade-holdings-total-value.ts +0 -37
  141. package/models/snap-trade-login-user-request-body.ts +0 -61
  142. package/models/snap-trade-register-user-request-body.ts +0 -35
  143. package/models/status.ts +0 -43
  144. package/models/strategy-impact-legs-inner.ts +0 -67
  145. package/models/strategy-impact.ts +0 -94
  146. package/models/strategy-order-place-orders-inner-legs-inner.ts +0 -67
  147. package/models/strategy-order-place-orders-inner.ts +0 -286
  148. package/models/strategy-order-place.ts +0 -40
  149. package/models/strategy-order-record.ts +0 -133
  150. package/models/strategy-quotes-greek.ts +0 -55
  151. package/models/strategy-quotes.ts +0 -67
  152. package/models/sub-period-return-rate.ts +0 -43
  153. package/models/symbol-query.ts +0 -29
  154. package/models/symbol.ts +0 -76
  155. package/models/symbols-quotes.ts +0 -64
  156. package/models/target-asset.ts +0 -62
  157. package/models/time-in-force.ts +0 -31
  158. package/models/trade-execution-status.ts +0 -105
  159. package/models/trade-impact.ts +0 -61
  160. package/models/trade.ts +0 -88
  161. package/models/trading-cancel-user-account-order-request.ts +0 -29
  162. package/models/trading-place-ocoorder-request.ts +0 -35
  163. package/models/transactions-status.ts +0 -35
  164. package/models/underlying-symbol.ts +0 -76
  165. package/models/universal-activity.ts +0 -127
  166. package/models/universal-symbol-ticker.ts +0 -82
  167. package/models/universal-symbol.ts +0 -80
  168. package/models/user-error-log.ts +0 -61
  169. package/models/user-idand-secret.ts +0 -37
  170. package/models/user-settings.ts +0 -88
  171. package/models/usexchange.ts +0 -79
  172. package/pagination/page-types.ts +0 -34
  173. package/pagination/page.ts +0 -58
  174. package/pagination/pageable.ts +0 -113
  175. package/pagination/paginate.ts +0 -41
  176. package/requestAfterHook.ts +0 -53
  177. package/requestBeforeHook.ts +0 -15
  178. package/tsconfig.json +0 -22
  179. package/tsconfig.test.json +0 -6
@@ -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 { OptionStrategyLegsInner } from './option-strategy-legs-inner';
18
- // May contain unused imports in some cases
19
- // @ts-ignore
20
- import { UniversalSymbol } from './universal-symbol';
21
-
22
- /**
23
- *
24
- * @export
25
- * @interface OptionStrategy
26
- */
27
- export interface OptionStrategy {
28
- [key: string]: any;
29
-
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof OptionStrategy
34
- */
35
- 'id'?: string;
36
- /**
37
- *
38
- * @type {UniversalSymbol}
39
- * @memberof OptionStrategy
40
- */
41
- 'underlying_symbol_id'?: UniversalSymbol;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof OptionStrategy
46
- */
47
- 'strategy_type'?: string;
48
- /**
49
- *
50
- * @type {number}
51
- * @memberof OptionStrategy
52
- */
53
- 'number_of_legs'?: number;
54
- /**
55
- *
56
- * @type {Array<OptionStrategyLegsInner>}
57
- * @memberof OptionStrategy
58
- */
59
- 'legs'?: Array<OptionStrategyLegsInner>;
60
- }
61
-
@@ -1,51 +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 { OptionLeg } from './option-leg';
18
-
19
- /**
20
- *
21
- * @export
22
- * @interface OptionsGetOptionStrategyRequest
23
- */
24
- export interface OptionsGetOptionStrategyRequest {
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof OptionsGetOptionStrategyRequest
29
- */
30
- 'underlying_symbol_id': string;
31
- /**
32
- *
33
- * @type {Array<OptionLeg>}
34
- * @memberof OptionsGetOptionStrategyRequest
35
- */
36
- 'legs': Array<OptionLeg>;
37
- /**
38
- *
39
- * @type {string}
40
- * @memberof OptionsGetOptionStrategyRequest
41
- */
42
- 'strategy_type': OptionsGetOptionStrategyRequestStrategyTypeEnum;
43
- }
44
-
45
- export const OptionsGetOptionStrategyRequestStrategyTypeEnum = {
46
- Custom: 'CUSTOM'
47
- } as const;
48
-
49
- export type OptionsGetOptionStrategyRequestStrategyTypeEnum = typeof OptionsGetOptionStrategyRequestStrategyTypeEnum[keyof typeof OptionsGetOptionStrategyRequestStrategyTypeEnum];
50
-
51
-
@@ -1,67 +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
- // May contain unused imports in some cases
19
- // @ts-ignore
20
- import { OptionsSymbol } from './options-symbol';
21
-
22
- /**
23
- * Option Holdings
24
- * @export
25
- * @interface OptionsHoldings
26
- */
27
- export interface OptionsHoldings {
28
- [key: string]: any;
29
-
30
- /**
31
- * Options information
32
- * @type {string}
33
- * @memberof OptionsHoldings
34
- */
35
- 'id'?: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof OptionsHoldings
40
- */
41
- 'symbol'?: string;
42
- /**
43
- *
44
- * @type {OptionsSymbol}
45
- * @memberof OptionsHoldings
46
- */
47
- 'option_symbol'?: OptionsSymbol;
48
- /**
49
- * Trade Price if limit or stop limit order
50
- * @type {number}
51
- * @memberof OptionsHoldings
52
- */
53
- 'price'?: number;
54
- /**
55
- *
56
- * @type {Currency}
57
- * @memberof OptionsHoldings
58
- */
59
- 'currency'?: Currency;
60
- /**
61
- * Average purchase price for this position
62
- * @type {number}
63
- * @memberof OptionsHoldings
64
- */
65
- 'average_purchase_price'?: number | null;
66
- }
67
-
@@ -1,57 +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 OptionsPlaceOptionStrategyRequest
20
- */
21
- export interface OptionsPlaceOptionStrategyRequest {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof OptionsPlaceOptionStrategyRequest
26
- */
27
- 'order_type': OptionsPlaceOptionStrategyRequestOrderTypeEnum;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof OptionsPlaceOptionStrategyRequest
32
- */
33
- 'time_in_force': OptionsPlaceOptionStrategyRequestTimeInForceEnum;
34
- /**
35
- * Trade Price if limit or stop limit order
36
- * @type {number}
37
- * @memberof OptionsPlaceOptionStrategyRequest
38
- */
39
- 'price': number;
40
- }
41
-
42
- export const OptionsPlaceOptionStrategyRequestOrderTypeEnum = {
43
- Limit: 'Limit',
44
- Market: 'Market',
45
- NetDebit: 'NetDebit',
46
- NetCredit: 'NetCredit'
47
- } as const;
48
-
49
- export type OptionsPlaceOptionStrategyRequestOrderTypeEnum = typeof OptionsPlaceOptionStrategyRequestOrderTypeEnum[keyof typeof OptionsPlaceOptionStrategyRequestOrderTypeEnum];
50
- export const OptionsPlaceOptionStrategyRequestTimeInForceEnum = {
51
- Day: 'DAY',
52
- Gtc: 'GTC'
53
- } as const;
54
-
55
- export type OptionsPlaceOptionStrategyRequestTimeInForceEnum = typeof OptionsPlaceOptionStrategyRequestTimeInForceEnum[keyof typeof OptionsPlaceOptionStrategyRequestTimeInForceEnum];
56
-
57
-
@@ -1,73 +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
- // May contain unused imports in some cases
19
- // @ts-ignore
20
- import { OptionsSymbol } from './options-symbol';
21
-
22
- /**
23
- * Option Holdings
24
- * @export
25
- * @interface OptionsPosition
26
- */
27
- export interface OptionsPosition {
28
- [key: string]: any;
29
-
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof OptionsPosition
34
- */
35
- 'symbol'?: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof OptionsPosition
40
- */
41
- 'description'?: string;
42
- /**
43
- *
44
- * @type {OptionsSymbol}
45
- * @memberof OptionsPosition
46
- */
47
- 'option_symbol'?: OptionsSymbol;
48
- /**
49
- * Trade Price if limit or stop limit order
50
- * @type {number}
51
- * @memberof OptionsPosition
52
- */
53
- 'price'?: number;
54
- /**
55
- *
56
- * @type {number}
57
- * @memberof OptionsPosition
58
- */
59
- 'units'?: number;
60
- /**
61
- *
62
- * @type {Currency}
63
- * @memberof OptionsPosition
64
- */
65
- 'currency'?: Currency;
66
- /**
67
- * Average purchase price for this position
68
- * @type {number}
69
- * @memberof OptionsPosition
70
- */
71
- 'average_purchase_price'?: number | null;
72
- }
73
-
@@ -1,94 +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 { UnderlyingSymbol } from './underlying-symbol';
18
-
19
- /**
20
- * Options Symbol
21
- * @export
22
- * @interface OptionsSymbol
23
- */
24
- export interface OptionsSymbol {
25
- [key: string]: any;
26
-
27
- /**
28
- *
29
- * @type {string}
30
- * @memberof OptionsSymbol
31
- */
32
- 'id'?: string;
33
- /**
34
- *
35
- * @type {string}
36
- * @memberof OptionsSymbol
37
- */
38
- 'ticker'?: string;
39
- /**
40
- *
41
- * @type {number}
42
- * @memberof OptionsSymbol
43
- */
44
- 'strike_price'?: number;
45
- /**
46
- *
47
- * @type {string}
48
- * @memberof OptionsSymbol
49
- */
50
- 'expiration_date'?: string;
51
- /**
52
- *
53
- * @type {boolean}
54
- * @memberof OptionsSymbol
55
- */
56
- 'is_mini_option'?: boolean;
57
- /**
58
- *
59
- * @type {UnderlyingSymbol}
60
- * @memberof OptionsSymbol
61
- */
62
- 'underlying_symbol'?: UnderlyingSymbol;
63
- /**
64
- *
65
- * @type {string}
66
- * @memberof OptionsSymbol
67
- */
68
- 'local_id'?: string;
69
- /**
70
- *
71
- * @type {any}
72
- * @memberof OptionsSymbol
73
- */
74
- 'security_type'?: any;
75
- /**
76
- *
77
- * @type {any}
78
- * @memberof OptionsSymbol
79
- */
80
- 'listing_exchange'?: any;
81
- /**
82
- *
83
- * @type {boolean}
84
- * @memberof OptionsSymbol
85
- */
86
- 'is_quotable'?: boolean;
87
- /**
88
- *
89
- * @type {boolean}
90
- * @memberof OptionsSymbol
91
- */
92
- 'is_tradable'?: boolean;
93
- }
94
-
@@ -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
-
16
- /**
17
- * Order Type
18
- * @export
19
- * @enum {string}
20
- */
21
-
22
- export const OrderType = {
23
- Limit: 'Limit',
24
- Market: 'Market',
25
- StopLimit: 'StopLimit',
26
- StopLoss: 'StopLoss'
27
- } as const;
28
-
29
- export type OrderType = typeof OrderType[keyof typeof OrderType];
30
-
31
-
32
-
@@ -1,100 +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
- * SnapTrade Partner metadata
21
- * @export
22
- * @interface PartnerData
23
- */
24
- export interface PartnerData {
25
- [key: string]: any;
26
-
27
- /**
28
- * URI to redirect user back to after user is done adding brokerage connections
29
- * @type {string}
30
- * @memberof PartnerData
31
- */
32
- 'redirect_uri'?: string;
33
- /**
34
- * Brokerages that can be accessed by partners
35
- * @type {Array<Brokerage>}
36
- * @memberof PartnerData
37
- */
38
- 'allowed_brokerages'?: Array<Brokerage>;
39
- /**
40
- * Name of Snaptrade Partner
41
- * @type {string}
42
- * @memberof PartnerData
43
- */
44
- 'name'?: string;
45
- /**
46
- * Slug of Snaptrade Partner
47
- * @type {string}
48
- * @memberof PartnerData
49
- */
50
- 'slug'?: string;
51
- /**
52
- * URL to partner\'s logo
53
- * @type {string}
54
- * @memberof PartnerData
55
- */
56
- 'logo_url'?: string;
57
- /**
58
- * Shows if pin is required by users to access connection page
59
- * @type {boolean}
60
- * @memberof PartnerData
61
- */
62
- 'pin_required'?: boolean;
63
- /**
64
- * Shows if users of Snaptrade partners can access trade endpoints
65
- * @type {boolean}
66
- * @memberof PartnerData
67
- */
68
- 'can_access_trades'?: boolean;
69
- /**
70
- * Shows if Snaptrade partners can get user holdings data
71
- * @type {boolean}
72
- * @memberof PartnerData
73
- */
74
- 'can_access_holdings'?: boolean;
75
- /**
76
- * Shows if Snaptrade partners can get users account history data
77
- * @type {boolean}
78
- * @memberof PartnerData
79
- */
80
- 'can_access_account_history'?: boolean;
81
- /**
82
- * Shows if Snaptrade partners can get users holdings data
83
- * @type {boolean}
84
- * @memberof PartnerData
85
- */
86
- 'can_access_reference_data'?: boolean;
87
- /**
88
- * Shows if users Snaptrade partners can access portfolio group management features
89
- * @type {boolean}
90
- * @memberof PartnerData
91
- */
92
- 'can_access_portfolio_management'?: boolean;
93
- /**
94
- * Shows if Snaptrade partners can get users account order history
95
- * @type {boolean}
96
- * @memberof PartnerData
97
- */
98
- 'can_access_orders'?: boolean;
99
- }
100
-
@@ -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 PastValue
20
- */
21
- export interface PastValue {
22
- [key: string]: any;
23
-
24
- /**
25
- * Date used to specify timeframe for a reporting call (in YYYY-MM-DD format)
26
- * @type {string}
27
- * @memberof PastValue
28
- */
29
- 'date'?: string;
30
- /**
31
- *
32
- * @type {number}
33
- * @memberof PastValue
34
- */
35
- 'value'?: number;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof PastValue
40
- */
41
- 'currency'?: string;
42
- }
43
-