snaptrade-typescript-sdk 9.0.15 → 9.0.16
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 +32 -55
- package/dist/api/account-information-api-generated.d.ts +24 -24
- package/dist/api/account-information-api-generated.js +24 -24
- package/dist/api/authentication-api-generated.d.ts +12 -12
- package/dist/api/authentication-api-generated.js +12 -12
- package/dist/api/reference-data-api-generated.d.ts +8 -8
- package/dist/api/reference-data-api-generated.js +8 -8
- package/dist/api/trading-api-generated.d.ts +8 -67
- package/dist/api/trading-api-generated.js +8 -107
- package/dist/browser.js +1 -1
- package/dist/configuration.js +1 -1
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/dist/operationParameterMap.js +0 -16
- package/package.json +1 -1
- package/dist/models/trading-place-ocoorder-request.d.ts +0 -19
- package/dist/models/trading-place-ocoorder-request.js +0 -2
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.16/typescript" : param.userAgent;
|
|
36
36
|
this.formDataCtor = param.formDataCtor;
|
|
37
37
|
}
|
|
38
38
|
/**
|
package/dist/models/index.d.ts
CHANGED
|
@@ -105,7 +105,6 @@ export * from './trade';
|
|
|
105
105
|
export * from './trade-execution-status';
|
|
106
106
|
export * from './trade-impact';
|
|
107
107
|
export * from './trading-cancel-user-account-order-request';
|
|
108
|
-
export * from './trading-place-ocoorder-request';
|
|
109
108
|
export * from './transactions-status';
|
|
110
109
|
export * from './usexchange';
|
|
111
110
|
export * from './underlying-symbol';
|
package/dist/models/index.js
CHANGED
|
@@ -121,7 +121,6 @@ __exportStar(require("./trade"), exports);
|
|
|
121
121
|
__exportStar(require("./trade-execution-status"), exports);
|
|
122
122
|
__exportStar(require("./trade-impact"), exports);
|
|
123
123
|
__exportStar(require("./trading-cancel-user-account-order-request"), exports);
|
|
124
|
-
__exportStar(require("./trading-place-ocoorder-request"), exports);
|
|
125
124
|
__exportStar(require("./transactions-status"), exports);
|
|
126
125
|
__exportStar(require("./usexchange"), exports);
|
|
127
126
|
__exportStar(require("./underlying-symbol"), exports);
|
|
@@ -489,22 +489,6 @@ exports.operationParameterMap = {
|
|
|
489
489
|
},
|
|
490
490
|
]
|
|
491
491
|
},
|
|
492
|
-
'/trade/oco-POST': {
|
|
493
|
-
parameters: [
|
|
494
|
-
{
|
|
495
|
-
name: 'userId'
|
|
496
|
-
},
|
|
497
|
-
{
|
|
498
|
-
name: 'userSecret'
|
|
499
|
-
},
|
|
500
|
-
{
|
|
501
|
-
name: 'first_trade_id'
|
|
502
|
-
},
|
|
503
|
-
{
|
|
504
|
-
name: 'second_trade_id'
|
|
505
|
-
},
|
|
506
|
-
]
|
|
507
|
-
},
|
|
508
492
|
'/trade/{tradeId}-POST': {
|
|
509
493
|
parameters: [
|
|
510
494
|
{
|
package/package.json
CHANGED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @export
|
|
4
|
-
* @interface TradingPlaceOCOOrderRequest
|
|
5
|
-
*/
|
|
6
|
-
export interface TradingPlaceOCOOrderRequest {
|
|
7
|
-
/**
|
|
8
|
-
* The ID of first trade object obtained from trade/impact endpoint
|
|
9
|
-
* @type {any}
|
|
10
|
-
* @memberof TradingPlaceOCOOrderRequest
|
|
11
|
-
*/
|
|
12
|
-
'first_trade_id'?: any;
|
|
13
|
-
/**
|
|
14
|
-
* The ID of second trade object obtained from trade/impact endpoint
|
|
15
|
-
* @type {any}
|
|
16
|
-
* @memberof TradingPlaceOCOOrderRequest
|
|
17
|
-
*/
|
|
18
|
-
'second_trade_id'?: any;
|
|
19
|
-
}
|