snaptrade-typescript-sdk 9.0.40 → 9.0.41
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 +14 -7
- package/dist/api/authentication-api-generated.d.ts +8 -8
- package/dist/api/authentication-api-generated.js +8 -8
- package/dist/api/connections-api-generated.d.ts +8 -8
- package/dist/api/connections-api-generated.js +8 -8
- package/dist/api/trading-api-generated.d.ts +8 -8
- package/dist/api/trading-api-generated.js +8 -8
- package/dist/browser.js +1 -1
- package/dist/configuration.js +1 -1
- package/dist/models/brokerage-authorization.d.ts +1 -1
- package/dist/models/snap-trade-login-user-request-body.d.ts +3 -3
- package/package.json +1 -1
package/dist/configuration.js
CHANGED
|
@@ -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/9.0.
|
|
35
|
+
this.userAgent = param.userAgent === undefined ? "Konfig/9.0.41/typescript" : param.userAgent;
|
|
36
36
|
this.formDataCtor = param.formDataCtor;
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
@@ -44,7 +44,7 @@ export interface BrokerageAuthorization {
|
|
|
44
44
|
*/
|
|
45
45
|
'type'?: string;
|
|
46
46
|
/**
|
|
47
|
-
* Whether the connection is disabled. A disabled connection can no longer access the latest data from the brokerage, but will continue to return the last cached state. A connection can become disabled for many reasons and differs by brokerage. Here are some common scenarios: - The user has changed their username or password at the brokerage. - The user has explicitly removed the access grant at the brokerage. - The session has expired at the brokerage and now requires explicit user re-authentication. Please see [this guide](
|
|
47
|
+
* Whether the connection is disabled. A disabled connection can no longer access the latest data from the brokerage, but will continue to return the last cached state. A connection can become disabled for many reasons and differs by brokerage. Here are some common scenarios: - The user has changed their username or password at the brokerage. - The user has explicitly removed the access grant at the brokerage. - The session has expired at the brokerage and now requires explicit user re-authentication. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
48
48
|
* @type {boolean}
|
|
49
49
|
* @memberof BrokerageAuthorization
|
|
50
50
|
*/
|
|
@@ -11,19 +11,19 @@ export interface SnapTradeLoginUserRequestBody {
|
|
|
11
11
|
*/
|
|
12
12
|
'broker'?: string;
|
|
13
13
|
/**
|
|
14
|
-
* When set to `true`, user will be redirected back to the partner\'s site instead of the connection portal. This parameter is ignored if the connection portal is loaded inside an iframe. See the [guide on ways to integrate the connection portal](
|
|
14
|
+
* When set to `true`, user will be redirected back to the partner\'s site instead of the connection portal. This parameter is ignored if the connection portal is loaded inside an iframe. See the [guide on ways to integrate the connection portal](/docs/implement-connection-portal) for more information.
|
|
15
15
|
* @type {boolean}
|
|
16
16
|
* @memberof SnapTradeLoginUserRequestBody
|
|
17
17
|
*/
|
|
18
18
|
'immediateRedirect'?: boolean;
|
|
19
19
|
/**
|
|
20
|
-
* URL to redirect the user to after the user connects their brokerage account. This parameter is ignored if the connection portal is loaded inside an iframe. See the [guide on ways to integrate the connection portal](
|
|
20
|
+
* URL to redirect the user to after the user connects their brokerage account. This parameter is ignored if the connection portal is loaded inside an iframe. See the [guide on ways to integrate the connection portal](/docs/implement-connection-portal) for more information.
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof SnapTradeLoginUserRequestBody
|
|
23
23
|
*/
|
|
24
24
|
'customRedirect'?: string;
|
|
25
25
|
/**
|
|
26
|
-
* The UUID of the brokerage connection to be reconnected. This parameter should be left empty unless you are reconnecting a disabled connection. See the [guide on fixing broken connections](
|
|
26
|
+
* The UUID of the brokerage connection to be reconnected. This parameter should be left empty unless you are reconnecting a disabled connection. See the [guide on fixing broken connections](/docs/fix-broken-connections) for more information.
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof SnapTradeLoginUserRequestBody
|
|
29
29
|
*/
|