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.
- package/README.md +1661 -57
- package/dist/api/account-information-api-generated.d.ts +6 -16
- package/dist/api/account-information-api-generated.js +13 -13
- package/dist/api/api-status-api-generated.d.ts +0 -10
- package/dist/api/api-status-api-generated.js +10 -10
- package/dist/api/authentication-api-generated.d.ts +0 -10
- package/dist/api/authentication-api-generated.js +10 -10
- package/dist/api/connections-api-generated.d.ts +0 -10
- package/dist/api/connections-api-generated.js +10 -10
- package/dist/api/error-logs-api-generated.d.ts +0 -10
- package/dist/api/error-logs-api-generated.js +10 -10
- package/dist/api/options-api-generated.d.ts +10 -20
- package/dist/api/options-api-generated.js +15 -15
- package/dist/api/reference-data-api-generated.d.ts +2 -12
- package/dist/api/reference-data-api-generated.js +11 -11
- package/dist/api/trading-api-generated.d.ts +2 -12
- package/dist/api/trading-api-generated.js +11 -11
- package/dist/api/transactions-and-reporting-api-generated.d.ts +0 -10
- package/dist/api/transactions-and-reporting-api-generated.js +10 -10
- package/dist/api.d.ts +0 -10
- package/dist/api.js +10 -10
- package/dist/base.d.ts +0 -10
- package/dist/base.js +10 -10
- package/dist/browser.js +1 -1
- package/dist/client.d.ts +0 -10
- package/dist/client.js +10 -10
- package/dist/common.d.ts +0 -10
- package/dist/common.js +10 -10
- package/dist/configuration.d.ts +5 -10
- package/dist/configuration.js +11 -11
- package/dist/error.d.ts +0 -10
- package/dist/error.js +10 -10
- package/dist/index.d.ts +0 -10
- package/dist/index.js +10 -10
- package/dist/models/account-holdings-account.d.ts +0 -10
- package/dist/models/account-holdings-account.js +10 -12
- package/dist/models/account-holdings.d.ts +0 -10
- package/dist/models/account-holdings.js +10 -12
- package/dist/models/account-order-record-status.d.ts +0 -10
- package/dist/models/account-order-record-status.js +10 -12
- package/dist/models/account-order-record.d.ts +0 -10
- package/dist/models/account-order-record.js +10 -12
- package/dist/models/account-simple.d.ts +0 -10
- package/dist/models/account-simple.js +10 -12
- package/dist/models/account-sync-status.d.ts +0 -10
- package/dist/models/account-sync-status.js +10 -12
- package/dist/models/account.d.ts +0 -10
- package/dist/models/account.js +10 -12
- package/dist/models/action.d.ts +0 -10
- package/dist/models/action.js +10 -12
- package/dist/models/authentication-login-snap-trade-user200-response.d.ts +0 -10
- package/dist/models/authentication-login-snap-trade-user200-response.js +10 -12
- package/dist/models/balance.d.ts +0 -10
- package/dist/models/balance.js +10 -12
- package/dist/models/brokerage-authorization-type-read-only-brokerage.d.ts +0 -10
- package/dist/models/brokerage-authorization-type-read-only-brokerage.js +10 -12
- package/dist/models/brokerage-authorization-type-read-only.d.ts +0 -10
- package/dist/models/brokerage-authorization-type-read-only.js +10 -12
- package/dist/models/brokerage-authorization-type.d.ts +0 -10
- package/dist/models/brokerage-authorization-type.js +10 -12
- package/dist/models/brokerage-authorization.d.ts +0 -10
- package/dist/models/brokerage-authorization.js +10 -12
- package/dist/models/brokerage-symbol-option-symbol.d.ts +0 -10
- package/dist/models/brokerage-symbol-option-symbol.js +10 -12
- package/dist/models/brokerage-symbol-symbol.d.ts +6 -16
- package/dist/models/brokerage-symbol-symbol.js +10 -12
- package/dist/models/brokerage-symbol.d.ts +0 -10
- package/dist/models/brokerage-symbol.js +10 -12
- package/dist/models/brokerage-type.d.ts +0 -10
- package/dist/models/brokerage-type.js +10 -12
- package/dist/models/brokerage.d.ts +0 -10
- package/dist/models/brokerage.js +10 -12
- package/dist/models/calculated-trade.d.ts +0 -10
- package/dist/models/calculated-trade.js +10 -12
- package/dist/models/cash-restriction.d.ts +0 -10
- package/dist/models/cash-restriction.js +10 -12
- package/dist/models/connections-session-events200-response-inner.d.ts +0 -10
- package/dist/models/connections-session-events200-response-inner.js +10 -12
- package/dist/models/currency.d.ts +0 -10
- package/dist/models/currency.js +10 -12
- package/dist/models/delete-user-response.d.ts +0 -10
- package/dist/models/delete-user-response.js +10 -12
- package/dist/models/dividend-at-date.d.ts +0 -10
- package/dist/models/dividend-at-date.js +10 -12
- package/dist/models/encrypted-response-encrypted-message-data.d.ts +0 -10
- package/dist/models/encrypted-response-encrypted-message-data.js +10 -12
- package/dist/models/encrypted-response.d.ts +0 -10
- package/dist/models/encrypted-response.js +10 -12
- package/dist/models/exchange-rate-pairs.d.ts +0 -10
- package/dist/models/exchange-rate-pairs.js +10 -12
- package/dist/models/exchange.d.ts +0 -10
- package/dist/models/exchange.js +10 -12
- package/dist/models/excluded-asset.d.ts +0 -10
- package/dist/models/excluded-asset.js +10 -12
- package/dist/models/jwt.d.ts +0 -10
- package/dist/models/jwt.js +10 -12
- package/dist/models/login-redirect-uri.d.ts +0 -10
- package/dist/models/login-redirect-uri.js +10 -12
- package/dist/models/manual-trade-and-impact.d.ts +0 -10
- package/dist/models/manual-trade-and-impact.js +10 -12
- package/dist/models/manual-trade-balance.d.ts +0 -10
- package/dist/models/manual-trade-balance.js +10 -12
- package/dist/models/manual-trade-form.d.ts +0 -10
- package/dist/models/manual-trade-form.js +10 -12
- package/dist/models/manual-trade-symbol.d.ts +0 -10
- package/dist/models/manual-trade-symbol.js +10 -12
- package/dist/models/manual-trade.d.ts +0 -10
- package/dist/models/manual-trade.js +10 -12
- package/dist/models/model-asset-class-details.d.ts +0 -10
- package/dist/models/model-asset-class-details.js +10 -12
- package/dist/models/model-asset-class-target.d.ts +0 -10
- package/dist/models/model-asset-class-target.js +10 -12
- package/dist/models/model-asset-class.d.ts +0 -10
- package/dist/models/model-asset-class.js +10 -12
- package/dist/models/model-portfolio-asset-class.d.ts +0 -10
- package/dist/models/model-portfolio-asset-class.js +10 -12
- package/dist/models/model-portfolio-details.d.ts +0 -10
- package/dist/models/model-portfolio-details.js +10 -12
- package/dist/models/model-portfolio-security.d.ts +0 -10
- package/dist/models/model-portfolio-security.js +10 -12
- package/dist/models/model-portfolio.d.ts +0 -10
- package/dist/models/model-portfolio.js +10 -12
- package/dist/models/model400-failed-request-response.d.ts +0 -10
- package/dist/models/model400-failed-request-response.js +10 -12
- package/dist/models/model401-failed-request-response.d.ts +0 -10
- package/dist/models/model401-failed-request-response.js +10 -12
- package/dist/models/model403-failed-request-response.d.ts +0 -10
- package/dist/models/model403-failed-request-response.js +10 -12
- package/dist/models/model404-failed-request-response.d.ts +0 -10
- package/dist/models/model404-failed-request-response.js +10 -12
- package/dist/models/monthly-dividends.d.ts +0 -10
- package/dist/models/monthly-dividends.js +10 -12
- package/dist/models/net-contributions.d.ts +0 -10
- package/dist/models/net-contributions.js +10 -12
- package/dist/models/net-dividend.d.ts +0 -10
- package/dist/models/net-dividend.js +10 -12
- package/dist/models/option-chain-inner-chain-per-root-inner-chain-per-strike-price-inner.d.ts +0 -10
- package/dist/models/option-chain-inner-chain-per-root-inner-chain-per-strike-price-inner.js +10 -12
- package/dist/models/option-chain-inner-chain-per-root-inner.d.ts +0 -10
- package/dist/models/option-chain-inner-chain-per-root-inner.js +10 -12
- package/dist/models/option-chain-inner.d.ts +0 -10
- package/dist/models/option-chain-inner.js +10 -12
- package/dist/models/option-leg.d.ts +0 -10
- package/dist/models/option-leg.js +10 -12
- package/dist/models/option-strategy-legs-inner.d.ts +0 -10
- package/dist/models/option-strategy-legs-inner.js +10 -12
- package/dist/models/option-strategy.d.ts +0 -10
- package/dist/models/option-strategy.js +10 -12
- package/dist/models/options-get-option-strategy-request.d.ts +0 -10
- package/dist/models/options-get-option-strategy-request.js +10 -12
- package/dist/models/options-holdings.d.ts +0 -10
- package/dist/models/options-holdings.js +10 -12
- package/dist/models/options-place-option-strategy-request.d.ts +0 -10
- package/dist/models/options-place-option-strategy-request.js +10 -12
- package/dist/models/options-position-currency.d.ts +0 -10
- package/dist/models/options-position-currency.js +10 -12
- package/dist/models/options-position.d.ts +0 -22
- package/dist/models/options-position.js +10 -12
- package/dist/models/options-symbol.d.ts +0 -10
- package/dist/models/options-symbol.js +10 -12
- package/dist/models/order-type.d.ts +0 -10
- package/dist/models/order-type.js +10 -12
- package/dist/models/partner-data.d.ts +0 -10
- package/dist/models/partner-data.js +10 -12
- package/dist/models/past-value.d.ts +0 -10
- package/dist/models/past-value.js +10 -12
- package/dist/models/performance-custom.d.ts +0 -10
- package/dist/models/performance-custom.js +10 -12
- package/dist/models/portfolio-group-info.d.ts +0 -10
- package/dist/models/portfolio-group-info.js +10 -12
- package/dist/models/portfolio-group-position.d.ts +0 -10
- package/dist/models/portfolio-group-position.js +10 -12
- package/dist/models/portfolio-group-settings.d.ts +0 -10
- package/dist/models/portfolio-group-settings.js +10 -12
- package/dist/models/portfolio-group.d.ts +0 -10
- package/dist/models/portfolio-group.js +10 -12
- package/dist/models/position-symbol.d.ts +0 -10
- package/dist/models/position-symbol.js +10 -12
- package/dist/models/position.d.ts +0 -10
- package/dist/models/position.js +10 -12
- package/dist/models/redirect-tokenand-pin.d.ts +0 -10
- package/dist/models/redirect-tokenand-pin.js +10 -12
- package/dist/models/security-type.d.ts +0 -10
- package/dist/models/security-type.js +10 -12
- package/dist/models/session-event.d.ts +0 -10
- package/dist/models/session-event.js +10 -12
- package/dist/models/snap-trade-apidisclaimer-accept-status.d.ts +0 -10
- package/dist/models/snap-trade-apidisclaimer-accept-status.js +10 -12
- package/dist/models/snap-trade-holdings-account-account-id.d.ts +0 -10
- package/dist/models/snap-trade-holdings-account-account-id.js +10 -12
- package/dist/models/snap-trade-holdings-account.d.ts +0 -10
- package/dist/models/snap-trade-holdings-account.js +10 -12
- package/dist/models/snap-trade-holdings-total-value.d.ts +0 -10
- package/dist/models/snap-trade-holdings-total-value.js +10 -12
- package/dist/models/snap-trade-login-user-request-body.d.ts +0 -10
- package/dist/models/snap-trade-login-user-request-body.js +10 -12
- package/dist/models/snap-trade-register-user-request-body.d.ts +0 -10
- package/dist/models/snap-trade-register-user-request-body.js +10 -12
- package/dist/models/status.d.ts +0 -10
- package/dist/models/status.js +10 -12
- package/dist/models/strategy-impact-legs-inner.d.ts +0 -10
- package/dist/models/strategy-impact-legs-inner.js +10 -12
- package/dist/models/strategy-impact.d.ts +0 -10
- package/dist/models/strategy-impact.js +10 -12
- package/dist/models/strategy-order-place-orders-inner-legs-inner.d.ts +0 -10
- package/dist/models/strategy-order-place-orders-inner-legs-inner.js +10 -12
- package/dist/models/strategy-order-place-orders-inner.d.ts +0 -10
- package/dist/models/strategy-order-place-orders-inner.js +10 -12
- package/dist/models/strategy-order-place.d.ts +0 -10
- package/dist/models/strategy-order-place.js +10 -12
- package/dist/models/strategy-order-record.d.ts +0 -10
- package/dist/models/strategy-order-record.js +10 -12
- package/dist/models/strategy-quotes-greek.d.ts +0 -10
- package/dist/models/strategy-quotes-greek.js +10 -12
- package/dist/models/strategy-quotes.d.ts +0 -10
- package/dist/models/strategy-quotes.js +10 -12
- package/dist/models/sub-period-return-rate.d.ts +0 -10
- package/dist/models/sub-period-return-rate.js +10 -12
- package/dist/models/symbol-query.d.ts +0 -10
- package/dist/models/symbol-query.js +10 -12
- package/dist/models/symbol.d.ts +0 -10
- package/dist/models/symbol.js +10 -12
- package/dist/models/symbols-quotes-inner.d.ts +0 -10
- package/dist/models/symbols-quotes-inner.js +10 -12
- package/dist/models/target-asset.d.ts +0 -10
- package/dist/models/target-asset.js +10 -12
- package/dist/models/time-in-force.d.ts +0 -10
- package/dist/models/time-in-force.js +10 -12
- package/dist/models/trade-execution-status.d.ts +0 -10
- package/dist/models/trade-execution-status.js +10 -12
- package/dist/models/trade-impact.d.ts +0 -10
- package/dist/models/trade-impact.js +10 -12
- package/dist/models/trade.d.ts +0 -10
- package/dist/models/trade.js +10 -12
- package/dist/models/trading-cancel-user-account-order-request.d.ts +0 -10
- package/dist/models/trading-cancel-user-account-order-request.js +10 -12
- package/dist/models/trading-place-ocoorder-request.d.ts +0 -10
- package/dist/models/trading-place-ocoorder-request.js +10 -12
- package/dist/models/transactions-status.d.ts +0 -10
- package/dist/models/transactions-status.js +10 -12
- package/dist/models/underlying-symbol.d.ts +0 -10
- package/dist/models/underlying-symbol.js +10 -12
- package/dist/models/universal-activity.d.ts +1 -11
- package/dist/models/universal-activity.js +10 -12
- package/dist/models/universal-symbol-ticker.d.ts +0 -10
- package/dist/models/universal-symbol-ticker.js +10 -12
- package/dist/models/universal-symbol.d.ts +6 -16
- package/dist/models/universal-symbol.js +10 -12
- package/dist/models/user-error-log.d.ts +0 -10
- package/dist/models/user-error-log.js +10 -12
- package/dist/models/user-idand-secret.d.ts +0 -10
- package/dist/models/user-idand-secret.js +10 -12
- package/dist/models/user-settings.d.ts +0 -10
- package/dist/models/user-settings.js +10 -12
- package/dist/models/usexchange.d.ts +0 -10
- package/dist/models/usexchange.js +10 -12
- package/dist/pagination/page-types.d.ts +0 -10
- package/dist/pagination/page-types.js +10 -10
- package/dist/pagination/page.d.ts +0 -10
- package/dist/pagination/page.js +10 -10
- package/dist/pagination/pageable.d.ts +0 -10
- package/dist/pagination/pageable.js +10 -10
- package/dist/pagination/paginate.d.ts +0 -10
- package/dist/pagination/paginate.js +10 -10
- 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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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) {
|
package/dist/configuration.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
|
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;
|
package/dist/configuration.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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.
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
/*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
-
/*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
-
/*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
-
/*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
-
/*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
-
/*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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 });
|
package/dist/models/account.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 { AccountSyncStatus } from './account-sync-status';
|
|
12
2
|
import { CashRestriction } from './cash-restriction';
|
|
13
3
|
/**
|
package/dist/models/account.js
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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 });
|
package/dist/models/action.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
|
/**
|
|
12
2
|
* Trade Action
|
|
13
3
|
* @export
|
package/dist/models/action.js
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
-
/*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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 });
|
package/dist/models/balance.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 { Currency } from './currency';
|
|
12
2
|
/**
|
|
13
3
|
* Account Balance
|
package/dist/models/balance.js
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|