snaptrade-typescript-sdk 9.0.29 → 9.0.31
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 +11 -44
- package/dist/api/account-information-api-generated.d.ts +4 -4
- package/dist/api/account-information-api-generated.js +4 -4
- package/dist/api/authentication-api-generated.d.ts +4 -58
- package/dist/api/authentication-api-generated.js +4 -89
- package/dist/api/connections-api-generated.d.ts +4 -4
- package/dist/api/connections-api-generated.js +4 -4
- package/dist/api/trading-api-generated.d.ts +4 -4
- package/dist/api/trading-api-generated.js +4 -4
- package/dist/browser.js +1 -1
- package/dist/configuration.js +1 -1
- package/dist/models/snap-trade-login-user-request-body.d.ts +2 -2
- package/dist/operationParameterMap.js +0 -10
- 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.31/typescript" : param.userAgent;
|
|
36
36
|
this.formDataCtor = param.formDataCtor;
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export interface SnapTradeLoginUserRequestBody {
|
|
7
7
|
/**
|
|
8
|
-
* Slug of the brokerage to connect the user to
|
|
8
|
+
* Slug of the brokerage to connect the user to. See [this document](https://snaptrade.notion.site/SnapTrade-Brokerage-Integrations-f83946a714a84c3caf599f6a945f0ead) for a list of supported brokerages and their slugs.
|
|
9
9
|
* @type {string}
|
|
10
10
|
* @memberof SnapTradeLoginUserRequestBody
|
|
11
11
|
*/
|
|
@@ -35,7 +35,7 @@ export interface SnapTradeLoginUserRequestBody {
|
|
|
35
35
|
*/
|
|
36
36
|
'connectionType'?: SnapTradeLoginUserRequestBodyConnectionTypeEnum;
|
|
37
37
|
/**
|
|
38
|
-
* Sets the version of the connection portal to render, with a default to \'
|
|
38
|
+
* Sets the version of the connection portal to render, with a default to \'v3\'
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof SnapTradeLoginUserRequestBody
|
|
41
41
|
*/
|
|
@@ -119,16 +119,6 @@ exports.operationParameterMap = {
|
|
|
119
119
|
},
|
|
120
120
|
]
|
|
121
121
|
},
|
|
122
|
-
'/snapTrade/encryptedJWT-GET': {
|
|
123
|
-
parameters: [
|
|
124
|
-
{
|
|
125
|
-
name: 'userId'
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
name: 'userSecret'
|
|
129
|
-
},
|
|
130
|
-
]
|
|
131
|
-
},
|
|
132
122
|
'/snapTrade/listUsers-GET': {
|
|
133
123
|
parameters: []
|
|
134
124
|
},
|