snaptrade-typescript-sdk 8.28.2 → 8.29.1

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 (265) hide show
  1. package/README.md +1661 -57
  2. package/dist/api/account-information-api-generated.d.ts +6 -16
  3. package/dist/api/account-information-api-generated.js +13 -13
  4. package/dist/api/api-status-api-generated.d.ts +0 -10
  5. package/dist/api/api-status-api-generated.js +10 -10
  6. package/dist/api/authentication-api-generated.d.ts +0 -10
  7. package/dist/api/authentication-api-generated.js +10 -10
  8. package/dist/api/connections-api-generated.d.ts +0 -10
  9. package/dist/api/connections-api-generated.js +10 -10
  10. package/dist/api/error-logs-api-generated.d.ts +0 -10
  11. package/dist/api/error-logs-api-generated.js +10 -10
  12. package/dist/api/options-api-generated.d.ts +10 -20
  13. package/dist/api/options-api-generated.js +15 -15
  14. package/dist/api/reference-data-api-generated.d.ts +2 -12
  15. package/dist/api/reference-data-api-generated.js +11 -11
  16. package/dist/api/trading-api-generated.d.ts +2 -12
  17. package/dist/api/trading-api-generated.js +11 -11
  18. package/dist/api/transactions-and-reporting-api-generated.d.ts +0 -10
  19. package/dist/api/transactions-and-reporting-api-generated.js +10 -10
  20. package/dist/api.d.ts +0 -10
  21. package/dist/api.js +10 -10
  22. package/dist/base.d.ts +0 -10
  23. package/dist/base.js +10 -10
  24. package/dist/browser.js +1 -1
  25. package/dist/client.d.ts +0 -10
  26. package/dist/client.js +10 -10
  27. package/dist/common.d.ts +0 -10
  28. package/dist/common.js +10 -10
  29. package/dist/configuration.d.ts +5 -10
  30. package/dist/configuration.js +11 -11
  31. package/dist/error.d.ts +0 -10
  32. package/dist/error.js +10 -10
  33. package/dist/index.d.ts +0 -10
  34. package/dist/index.js +10 -10
  35. package/dist/models/account-holdings-account.d.ts +0 -10
  36. package/dist/models/account-holdings-account.js +10 -12
  37. package/dist/models/account-holdings.d.ts +0 -10
  38. package/dist/models/account-holdings.js +10 -12
  39. package/dist/models/account-order-record-status.d.ts +0 -10
  40. package/dist/models/account-order-record-status.js +10 -12
  41. package/dist/models/account-order-record.d.ts +0 -10
  42. package/dist/models/account-order-record.js +10 -12
  43. package/dist/models/account-simple.d.ts +0 -10
  44. package/dist/models/account-simple.js +10 -12
  45. package/dist/models/account-sync-status.d.ts +0 -10
  46. package/dist/models/account-sync-status.js +10 -12
  47. package/dist/models/account.d.ts +0 -10
  48. package/dist/models/account.js +10 -12
  49. package/dist/models/action.d.ts +0 -10
  50. package/dist/models/action.js +10 -12
  51. package/dist/models/authentication-login-snap-trade-user200-response.d.ts +0 -10
  52. package/dist/models/authentication-login-snap-trade-user200-response.js +10 -12
  53. package/dist/models/balance.d.ts +0 -10
  54. package/dist/models/balance.js +10 -12
  55. package/dist/models/brokerage-authorization-type-read-only-brokerage.d.ts +0 -10
  56. package/dist/models/brokerage-authorization-type-read-only-brokerage.js +10 -12
  57. package/dist/models/brokerage-authorization-type-read-only.d.ts +0 -10
  58. package/dist/models/brokerage-authorization-type-read-only.js +10 -12
  59. package/dist/models/brokerage-authorization-type.d.ts +0 -10
  60. package/dist/models/brokerage-authorization-type.js +10 -12
  61. package/dist/models/brokerage-authorization.d.ts +0 -10
  62. package/dist/models/brokerage-authorization.js +10 -12
  63. package/dist/models/brokerage-symbol-option-symbol.d.ts +0 -10
  64. package/dist/models/brokerage-symbol-option-symbol.js +10 -12
  65. package/dist/models/brokerage-symbol-symbol.d.ts +6 -16
  66. package/dist/models/brokerage-symbol-symbol.js +10 -12
  67. package/dist/models/brokerage-symbol.d.ts +0 -10
  68. package/dist/models/brokerage-symbol.js +10 -12
  69. package/dist/models/brokerage-type.d.ts +0 -10
  70. package/dist/models/brokerage-type.js +10 -12
  71. package/dist/models/brokerage.d.ts +0 -10
  72. package/dist/models/brokerage.js +10 -12
  73. package/dist/models/calculated-trade.d.ts +0 -10
  74. package/dist/models/calculated-trade.js +10 -12
  75. package/dist/models/cash-restriction.d.ts +0 -10
  76. package/dist/models/cash-restriction.js +10 -12
  77. package/dist/models/connections-session-events200-response-inner.d.ts +0 -10
  78. package/dist/models/connections-session-events200-response-inner.js +10 -12
  79. package/dist/models/currency.d.ts +0 -10
  80. package/dist/models/currency.js +10 -12
  81. package/dist/models/delete-user-response.d.ts +0 -10
  82. package/dist/models/delete-user-response.js +10 -12
  83. package/dist/models/dividend-at-date.d.ts +0 -10
  84. package/dist/models/dividend-at-date.js +10 -12
  85. package/dist/models/encrypted-response-encrypted-message-data.d.ts +0 -10
  86. package/dist/models/encrypted-response-encrypted-message-data.js +10 -12
  87. package/dist/models/encrypted-response.d.ts +0 -10
  88. package/dist/models/encrypted-response.js +10 -12
  89. package/dist/models/exchange-rate-pairs.d.ts +0 -10
  90. package/dist/models/exchange-rate-pairs.js +10 -12
  91. package/dist/models/exchange.d.ts +0 -10
  92. package/dist/models/exchange.js +10 -12
  93. package/dist/models/excluded-asset.d.ts +0 -10
  94. package/dist/models/excluded-asset.js +10 -12
  95. package/dist/models/jwt.d.ts +0 -10
  96. package/dist/models/jwt.js +10 -12
  97. package/dist/models/login-redirect-uri.d.ts +0 -10
  98. package/dist/models/login-redirect-uri.js +10 -12
  99. package/dist/models/manual-trade-and-impact.d.ts +0 -10
  100. package/dist/models/manual-trade-and-impact.js +10 -12
  101. package/dist/models/manual-trade-balance.d.ts +0 -10
  102. package/dist/models/manual-trade-balance.js +10 -12
  103. package/dist/models/manual-trade-form.d.ts +0 -10
  104. package/dist/models/manual-trade-form.js +10 -12
  105. package/dist/models/manual-trade-symbol.d.ts +0 -10
  106. package/dist/models/manual-trade-symbol.js +10 -12
  107. package/dist/models/manual-trade.d.ts +0 -10
  108. package/dist/models/manual-trade.js +10 -12
  109. package/dist/models/model-asset-class-details.d.ts +0 -10
  110. package/dist/models/model-asset-class-details.js +10 -12
  111. package/dist/models/model-asset-class-target.d.ts +0 -10
  112. package/dist/models/model-asset-class-target.js +10 -12
  113. package/dist/models/model-asset-class.d.ts +0 -10
  114. package/dist/models/model-asset-class.js +10 -12
  115. package/dist/models/model-portfolio-asset-class.d.ts +0 -10
  116. package/dist/models/model-portfolio-asset-class.js +10 -12
  117. package/dist/models/model-portfolio-details.d.ts +0 -10
  118. package/dist/models/model-portfolio-details.js +10 -12
  119. package/dist/models/model-portfolio-security.d.ts +0 -10
  120. package/dist/models/model-portfolio-security.js +10 -12
  121. package/dist/models/model-portfolio.d.ts +0 -10
  122. package/dist/models/model-portfolio.js +10 -12
  123. package/dist/models/model400-failed-request-response.d.ts +0 -10
  124. package/dist/models/model400-failed-request-response.js +10 -12
  125. package/dist/models/model401-failed-request-response.d.ts +0 -10
  126. package/dist/models/model401-failed-request-response.js +10 -12
  127. package/dist/models/model403-failed-request-response.d.ts +0 -10
  128. package/dist/models/model403-failed-request-response.js +10 -12
  129. package/dist/models/model404-failed-request-response.d.ts +0 -10
  130. package/dist/models/model404-failed-request-response.js +10 -12
  131. package/dist/models/monthly-dividends.d.ts +0 -10
  132. package/dist/models/monthly-dividends.js +10 -12
  133. package/dist/models/net-contributions.d.ts +0 -10
  134. package/dist/models/net-contributions.js +10 -12
  135. package/dist/models/net-dividend.d.ts +0 -10
  136. package/dist/models/net-dividend.js +10 -12
  137. package/dist/models/option-chain-inner-chain-per-root-inner-chain-per-strike-price-inner.d.ts +0 -10
  138. package/dist/models/option-chain-inner-chain-per-root-inner-chain-per-strike-price-inner.js +10 -12
  139. package/dist/models/option-chain-inner-chain-per-root-inner.d.ts +0 -10
  140. package/dist/models/option-chain-inner-chain-per-root-inner.js +10 -12
  141. package/dist/models/option-chain-inner.d.ts +0 -10
  142. package/dist/models/option-chain-inner.js +10 -12
  143. package/dist/models/option-leg.d.ts +0 -10
  144. package/dist/models/option-leg.js +10 -12
  145. package/dist/models/option-strategy-legs-inner.d.ts +0 -10
  146. package/dist/models/option-strategy-legs-inner.js +10 -12
  147. package/dist/models/option-strategy.d.ts +0 -10
  148. package/dist/models/option-strategy.js +10 -12
  149. package/dist/models/options-get-option-strategy-request.d.ts +0 -10
  150. package/dist/models/options-get-option-strategy-request.js +10 -12
  151. package/dist/models/options-holdings.d.ts +0 -10
  152. package/dist/models/options-holdings.js +10 -12
  153. package/dist/models/options-place-option-strategy-request.d.ts +0 -10
  154. package/dist/models/options-place-option-strategy-request.js +10 -12
  155. package/dist/models/options-position-currency.d.ts +0 -10
  156. package/dist/models/options-position-currency.js +10 -12
  157. package/dist/models/options-position.d.ts +0 -22
  158. package/dist/models/options-position.js +10 -12
  159. package/dist/models/options-symbol.d.ts +0 -10
  160. package/dist/models/options-symbol.js +10 -12
  161. package/dist/models/order-type.d.ts +0 -10
  162. package/dist/models/order-type.js +10 -12
  163. package/dist/models/partner-data.d.ts +0 -10
  164. package/dist/models/partner-data.js +10 -12
  165. package/dist/models/past-value.d.ts +0 -10
  166. package/dist/models/past-value.js +10 -12
  167. package/dist/models/performance-custom.d.ts +0 -10
  168. package/dist/models/performance-custom.js +10 -12
  169. package/dist/models/portfolio-group-info.d.ts +0 -10
  170. package/dist/models/portfolio-group-info.js +10 -12
  171. package/dist/models/portfolio-group-position.d.ts +0 -10
  172. package/dist/models/portfolio-group-position.js +10 -12
  173. package/dist/models/portfolio-group-settings.d.ts +0 -10
  174. package/dist/models/portfolio-group-settings.js +10 -12
  175. package/dist/models/portfolio-group.d.ts +0 -10
  176. package/dist/models/portfolio-group.js +10 -12
  177. package/dist/models/position-symbol.d.ts +0 -10
  178. package/dist/models/position-symbol.js +10 -12
  179. package/dist/models/position.d.ts +0 -10
  180. package/dist/models/position.js +10 -12
  181. package/dist/models/redirect-tokenand-pin.d.ts +0 -10
  182. package/dist/models/redirect-tokenand-pin.js +10 -12
  183. package/dist/models/security-type.d.ts +0 -10
  184. package/dist/models/security-type.js +10 -12
  185. package/dist/models/session-event.d.ts +0 -10
  186. package/dist/models/session-event.js +10 -12
  187. package/dist/models/snap-trade-apidisclaimer-accept-status.d.ts +0 -10
  188. package/dist/models/snap-trade-apidisclaimer-accept-status.js +10 -12
  189. package/dist/models/snap-trade-holdings-account-account-id.d.ts +0 -10
  190. package/dist/models/snap-trade-holdings-account-account-id.js +10 -12
  191. package/dist/models/snap-trade-holdings-account.d.ts +0 -10
  192. package/dist/models/snap-trade-holdings-account.js +10 -12
  193. package/dist/models/snap-trade-holdings-total-value.d.ts +0 -10
  194. package/dist/models/snap-trade-holdings-total-value.js +10 -12
  195. package/dist/models/snap-trade-login-user-request-body.d.ts +0 -10
  196. package/dist/models/snap-trade-login-user-request-body.js +10 -12
  197. package/dist/models/snap-trade-register-user-request-body.d.ts +0 -10
  198. package/dist/models/snap-trade-register-user-request-body.js +10 -12
  199. package/dist/models/status.d.ts +0 -10
  200. package/dist/models/status.js +10 -12
  201. package/dist/models/strategy-impact-legs-inner.d.ts +0 -10
  202. package/dist/models/strategy-impact-legs-inner.js +10 -12
  203. package/dist/models/strategy-impact.d.ts +0 -10
  204. package/dist/models/strategy-impact.js +10 -12
  205. package/dist/models/strategy-order-place-orders-inner-legs-inner.d.ts +0 -10
  206. package/dist/models/strategy-order-place-orders-inner-legs-inner.js +10 -12
  207. package/dist/models/strategy-order-place-orders-inner.d.ts +0 -10
  208. package/dist/models/strategy-order-place-orders-inner.js +10 -12
  209. package/dist/models/strategy-order-place.d.ts +0 -10
  210. package/dist/models/strategy-order-place.js +10 -12
  211. package/dist/models/strategy-order-record.d.ts +0 -10
  212. package/dist/models/strategy-order-record.js +10 -12
  213. package/dist/models/strategy-quotes-greek.d.ts +0 -10
  214. package/dist/models/strategy-quotes-greek.js +10 -12
  215. package/dist/models/strategy-quotes.d.ts +0 -10
  216. package/dist/models/strategy-quotes.js +10 -12
  217. package/dist/models/sub-period-return-rate.d.ts +0 -10
  218. package/dist/models/sub-period-return-rate.js +10 -12
  219. package/dist/models/symbol-query.d.ts +0 -10
  220. package/dist/models/symbol-query.js +10 -12
  221. package/dist/models/symbol.d.ts +0 -10
  222. package/dist/models/symbol.js +10 -12
  223. package/dist/models/symbols-quotes-inner.d.ts +0 -10
  224. package/dist/models/symbols-quotes-inner.js +10 -12
  225. package/dist/models/target-asset.d.ts +0 -10
  226. package/dist/models/target-asset.js +10 -12
  227. package/dist/models/time-in-force.d.ts +0 -10
  228. package/dist/models/time-in-force.js +10 -12
  229. package/dist/models/trade-execution-status.d.ts +0 -10
  230. package/dist/models/trade-execution-status.js +10 -12
  231. package/dist/models/trade-impact.d.ts +0 -10
  232. package/dist/models/trade-impact.js +10 -12
  233. package/dist/models/trade.d.ts +0 -10
  234. package/dist/models/trade.js +10 -12
  235. package/dist/models/trading-cancel-user-account-order-request.d.ts +0 -10
  236. package/dist/models/trading-cancel-user-account-order-request.js +10 -12
  237. package/dist/models/trading-place-ocoorder-request.d.ts +0 -10
  238. package/dist/models/trading-place-ocoorder-request.js +10 -12
  239. package/dist/models/transactions-status.d.ts +0 -10
  240. package/dist/models/transactions-status.js +10 -12
  241. package/dist/models/underlying-symbol.d.ts +0 -10
  242. package/dist/models/underlying-symbol.js +10 -12
  243. package/dist/models/universal-activity.d.ts +1 -11
  244. package/dist/models/universal-activity.js +10 -12
  245. package/dist/models/universal-symbol-ticker.d.ts +0 -10
  246. package/dist/models/universal-symbol-ticker.js +10 -12
  247. package/dist/models/universal-symbol.d.ts +6 -16
  248. package/dist/models/universal-symbol.js +10 -12
  249. package/dist/models/user-error-log.d.ts +0 -10
  250. package/dist/models/user-error-log.js +10 -12
  251. package/dist/models/user-idand-secret.d.ts +0 -10
  252. package/dist/models/user-idand-secret.js +10 -12
  253. package/dist/models/user-settings.d.ts +0 -10
  254. package/dist/models/user-settings.js +10 -12
  255. package/dist/models/usexchange.d.ts +0 -10
  256. package/dist/models/usexchange.js +10 -12
  257. package/dist/pagination/page-types.d.ts +0 -10
  258. package/dist/pagination/page-types.js +10 -10
  259. package/dist/pagination/page.d.ts +0 -10
  260. package/dist/pagination/page.js +10 -10
  261. package/dist/pagination/pageable.d.ts +0 -10
  262. package/dist/pagination/pageable.js +10 -10
  263. package/dist/pagination/paginate.d.ts +0 -10
  264. package/dist/pagination/paginate.js +10 -10
  265. package/package.json +4 -1
package/dist/client.d.ts CHANGED
@@ -1,13 +1,3 @@
1
- /**
2
- * SnapTrade
3
- * Connect brokerage accounts to your app for live positions and trading
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: api@snaptrade.com
7
- *
8
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
9
- * Do not edit the class manually.
10
- */
11
1
  import { AccountInformationApi, ApiStatusApi, AuthenticationApi, ConnectionsApi, ErrorLogsApi, OptionsApi, ReferenceDataApi, TradingApi, TransactionsAndReportingApi } from "./api";
12
2
  import { ConfigurationParameters } from "./configuration";
13
3
  import { SnaptradeCustom } from "./client-custom";
package/dist/client.js CHANGED
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
- /**
3
- * SnapTrade
4
- * Connect brokerage accounts to your app for live positions and trading
5
- *
6
- * The version of the OpenAPI document: 1.0.0
7
- * Contact: api@snaptrade.com
8
- *
9
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
10
- * Do not edit the class manually.
11
- */
2
+ /*
3
+ SnapTrade
4
+
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
+ */
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
13
  exports.Snaptrade = void 0;
14
14
  const api_1 = require("./api");
package/dist/common.d.ts CHANGED
@@ -1,13 +1,3 @@
1
- /**
2
- * SnapTrade
3
- * Connect brokerage accounts to your app for live positions and trading
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: api@snaptrade.com
7
- *
8
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
9
- * Do not edit the class manually.
10
- */
11
1
  import { Configuration } from "./configuration";
12
2
  import { RequestArgs } from "./base";
13
3
  import { AxiosInstance, AxiosResponse } from 'axios';
package/dist/common.js CHANGED
@@ -1,16 +1,16 @@
1
1
  "use strict";
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
- /**
5
- * SnapTrade
6
- * Connect brokerage accounts to your app for live positions and trading
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- * Contact: api@snaptrade.com
10
- *
11
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
12
- * Do not edit the class manually.
13
- */
4
+ /*
5
+ SnapTrade
6
+
7
+ Connect brokerage accounts to your app for live positions and trading
8
+
9
+ The version of the OpenAPI document: 1.0.0
10
+ Contact: api@snaptrade.com
11
+
12
+ NOTE: This file is auto generated by Konfig (https://konfigthis.com).
13
+ */
14
14
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
15
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
16
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -1,13 +1,3 @@
1
- /**
2
- * SnapTrade
3
- * Connect brokerage accounts to your app for live positions and trading
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: api@snaptrade.com
7
- *
8
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
9
- * Do not edit the class manually.
10
- */
11
1
  type ApiKey = string | ((keyParamName: string) => string) | ((keyParamName: string) => Promise<string>) | {
12
2
  [apiKeyName: string]: string | undefined;
13
3
  };
@@ -16,6 +6,11 @@ export interface ConfigurationParameters {
16
6
  clientId?: string;
17
7
  signature?: string;
18
8
  timestamp?: string;
9
+ /**
10
+ * parameter for apiKey security
11
+ * @param name security name
12
+ * @memberof Configuration
13
+ */
19
14
  apiKey?: ApiKey;
20
15
  username?: string;
21
16
  password?: string;
@@ -1,16 +1,16 @@
1
1
  "use strict";
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
- /**
5
- * SnapTrade
6
- * Connect brokerage accounts to your app for live positions and trading
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- * Contact: api@snaptrade.com
10
- *
11
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
12
- * Do not edit the class manually.
13
- */
4
+ /*
5
+ SnapTrade
6
+
7
+ Connect brokerage accounts to your app for live positions and trading
8
+
9
+ The version of the OpenAPI document: 1.0.0
10
+ Contact: api@snaptrade.com
11
+
12
+ NOTE: This file is auto generated by Konfig (https://konfigthis.com).
13
+ */
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.Configuration = void 0;
16
16
  class Configuration {
@@ -32,7 +32,7 @@ class Configuration {
32
32
  this.accessToken = param.accessToken;
33
33
  this.basePath = param.basePath;
34
34
  this.baseOptions = (_a = param.baseOptions) !== null && _a !== void 0 ? _a : {};
35
- this.userAgent = param.userAgent === undefined ? "Konfig/8.28.2/typescript" : param.userAgent;
35
+ this.userAgent = param.userAgent === undefined ? "Konfig/8.29.1/typescript" : param.userAgent;
36
36
  this.formDataCtor = param.formDataCtor;
37
37
  }
38
38
  /**
package/dist/error.d.ts CHANGED
@@ -1,13 +1,3 @@
1
- /**
2
- * SnapTrade
3
- * Connect brokerage accounts to your app for live positions and trading
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: api@snaptrade.com
7
- *
8
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
9
- * Do not edit the class manually.
10
- */
11
1
  import type { AxiosError } from "axios";
12
2
  /**
13
3
  * This class provides a wrapper for network errors when making requests to SnapTrade
package/dist/error.js CHANGED
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
- /**
3
- * SnapTrade
4
- * Connect brokerage accounts to your app for live positions and trading
5
- *
6
- * The version of the OpenAPI document: 1.0.0
7
- * Contact: api@snaptrade.com
8
- *
9
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
10
- * Do not edit the class manually.
11
- */
2
+ /*
3
+ SnapTrade
4
+
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
+ */
12
12
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
13
13
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
14
14
  return new (P || (P = Promise))(function (resolve, reject) {
package/dist/index.d.ts CHANGED
@@ -1,13 +1,3 @@
1
- /**
2
- * SnapTrade
3
- * Connect brokerage accounts to your app for live positions and trading
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: api@snaptrade.com
7
- *
8
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
9
- * Do not edit the class manually.
10
- */
11
1
  export * from "./api";
12
2
  export * from "./configuration";
13
3
  export * from "./models";
package/dist/index.js CHANGED
@@ -1,16 +1,16 @@
1
1
  "use strict";
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
- /**
5
- * SnapTrade
6
- * Connect brokerage accounts to your app for live positions and trading
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- * Contact: api@snaptrade.com
10
- *
11
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
12
- * Do not edit the class manually.
13
- */
4
+ /*
5
+ SnapTrade
6
+
7
+ Connect brokerage accounts to your app for live positions and trading
8
+
9
+ The version of the OpenAPI document: 1.0.0
10
+ Contact: api@snaptrade.com
11
+
12
+ NOTE: This file is auto generated by Konfig (https://konfigthis.com).
13
+ */
14
14
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
15
  if (k2 === undefined) k2 = k;
16
16
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -1,13 +1,3 @@
1
- /**
2
- * SnapTrade
3
- * Connect brokerage accounts to your app for live positions and trading
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: api@snaptrade.com
7
- *
8
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
9
- * Do not edit the class manually.
10
- */
11
1
  import { AccountOrderRecord } from './account-order-record';
12
2
  import { Balance } from './balance';
13
3
  import { Position } from './position';
@@ -1,14 +1,12 @@
1
1
  "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * SnapTrade
6
- * Connect brokerage accounts to your app for live positions and trading
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- * Contact: api@snaptrade.com
10
- *
11
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
12
- * Do not edit the class manually.
13
- */
2
+ /*
3
+ SnapTrade
4
+
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
+ */
14
12
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,13 +1,3 @@
1
- /**
2
- * SnapTrade
3
- * Connect brokerage accounts to your app for live positions and trading
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: api@snaptrade.com
7
- *
8
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
9
- * Do not edit the class manually.
10
- */
11
1
  import { Balance } from './balance';
12
2
  import { Position } from './position';
13
3
  import { SnapTradeHoldingsAccount } from './snap-trade-holdings-account';
@@ -1,14 +1,12 @@
1
1
  "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * SnapTrade
6
- * Connect brokerage accounts to your app for live positions and trading
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- * Contact: api@snaptrade.com
10
- *
11
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
12
- * Do not edit the class manually.
13
- */
2
+ /*
3
+ SnapTrade
4
+
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
+ */
14
12
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,13 +1,3 @@
1
- /**
2
- * SnapTrade
3
- * Connect brokerage accounts to your app for live positions and trading
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: api@snaptrade.com
7
- *
8
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
9
- * Do not edit the class manually.
10
- */
11
1
  /**
12
2
  *
13
3
  * @export
@@ -1,14 +1,12 @@
1
1
  "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * SnapTrade
6
- * Connect brokerage accounts to your app for live positions and trading
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- * Contact: api@snaptrade.com
10
- *
11
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
12
- * Do not edit the class manually.
13
- */
2
+ /*
3
+ SnapTrade
4
+
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
+ */
14
12
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,13 +1,3 @@
1
- /**
2
- * SnapTrade
3
- * Connect brokerage accounts to your app for live positions and trading
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: api@snaptrade.com
7
- *
8
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
9
- * Do not edit the class manually.
10
- */
11
1
  import { AccountOrderRecordStatus } from './account-order-record-status';
12
2
  import { Action } from './action';
13
3
  import { OptionsSymbol } from './options-symbol';
@@ -1,14 +1,12 @@
1
1
  "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * SnapTrade
6
- * Connect brokerage accounts to your app for live positions and trading
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- * Contact: api@snaptrade.com
10
- *
11
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
12
- * Do not edit the class manually.
13
- */
2
+ /*
3
+ SnapTrade
4
+
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
+ */
14
12
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,13 +1,3 @@
1
- /**
2
- * SnapTrade
3
- * Connect brokerage accounts to your app for live positions and trading
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: api@snaptrade.com
7
- *
8
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
9
- * Do not edit the class manually.
10
- */
11
1
  import { AccountSyncStatus } from './account-sync-status';
12
2
  /**
13
3
  * SnapTradeUser Investment Account
@@ -1,14 +1,12 @@
1
1
  "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * SnapTrade
6
- * Connect brokerage accounts to your app for live positions and trading
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- * Contact: api@snaptrade.com
10
- *
11
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
12
- * Do not edit the class manually.
13
- */
2
+ /*
3
+ SnapTrade
4
+
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
+ */
14
12
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,13 +1,3 @@
1
- /**
2
- * SnapTrade
3
- * Connect brokerage accounts to your app for live positions and trading
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: api@snaptrade.com
7
- *
8
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
9
- * Do not edit the class manually.
10
- */
11
1
  import { TransactionsStatus } from './transactions-status';
12
2
  /**
13
3
  * Status of account
@@ -1,14 +1,12 @@
1
1
  "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * SnapTrade
6
- * Connect brokerage accounts to your app for live positions and trading
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- * Contact: api@snaptrade.com
10
- *
11
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
12
- * Do not edit the class manually.
13
- */
2
+ /*
3
+ SnapTrade
4
+
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
+ */
14
12
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,13 +1,3 @@
1
- /**
2
- * SnapTrade
3
- * Connect brokerage accounts to your app for live positions and trading
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: api@snaptrade.com
7
- *
8
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
9
- * Do not edit the class manually.
10
- */
11
1
  import { AccountSyncStatus } from './account-sync-status';
12
2
  import { CashRestriction } from './cash-restriction';
13
3
  /**
@@ -1,14 +1,12 @@
1
1
  "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * SnapTrade
6
- * Connect brokerage accounts to your app for live positions and trading
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- * Contact: api@snaptrade.com
10
- *
11
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
12
- * Do not edit the class manually.
13
- */
2
+ /*
3
+ SnapTrade
4
+
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
+ */
14
12
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,13 +1,3 @@
1
- /**
2
- * SnapTrade
3
- * Connect brokerage accounts to your app for live positions and trading
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: api@snaptrade.com
7
- *
8
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
9
- * Do not edit the class manually.
10
- */
11
1
  /**
12
2
  * Trade Action
13
3
  * @export
@@ -1,14 +1,12 @@
1
1
  "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * SnapTrade
6
- * Connect brokerage accounts to your app for live positions and trading
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- * Contact: api@snaptrade.com
10
- *
11
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
12
- * Do not edit the class manually.
13
- */
2
+ /*
3
+ SnapTrade
4
+
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
+ */
14
12
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,13 +1,3 @@
1
- /**
2
- * SnapTrade
3
- * Connect brokerage accounts to your app for live positions and trading
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: api@snaptrade.com
7
- *
8
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
9
- * Do not edit the class manually.
10
- */
11
1
  import { EncryptedResponse } from './encrypted-response';
12
2
  import { LoginRedirectURI } from './login-redirect-uri';
13
3
  /**
@@ -1,14 +1,12 @@
1
1
  "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * SnapTrade
6
- * Connect brokerage accounts to your app for live positions and trading
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- * Contact: api@snaptrade.com
10
- *
11
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
12
- * Do not edit the class manually.
13
- */
2
+ /*
3
+ SnapTrade
4
+
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
+ */
14
12
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,13 +1,3 @@
1
- /**
2
- * SnapTrade
3
- * Connect brokerage accounts to your app for live positions and trading
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: api@snaptrade.com
7
- *
8
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
9
- * Do not edit the class manually.
10
- */
11
1
  import { Currency } from './currency';
12
2
  /**
13
3
  * Account Balance
@@ -1,14 +1,12 @@
1
1
  "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * SnapTrade
6
- * Connect brokerage accounts to your app for live positions and trading
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- * Contact: api@snaptrade.com
10
- *
11
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
12
- * Do not edit the class manually.
13
- */
2
+ /*
3
+ SnapTrade
4
+
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
+ */
14
12
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,13 +1,3 @@
1
- /**
2
- * SnapTrade
3
- * Connect brokerage accounts to your app for live positions and trading
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: api@snaptrade.com
7
- *
8
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
9
- * Do not edit the class manually.
10
- */
11
1
  /**
12
2
  *
13
3
  * @export