kalshi-typescript 2.1.2 → 2.1.3
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 +2 -2
- package/api/api-keys-api.ts +5 -5
- package/api/communications-api.ts +12 -12
- package/api/events-api.ts +4 -4
- package/api/exchange-api.ts +5 -5
- package/api/markets-api.ts +6 -6
- package/api/milestones-api.ts +3 -3
- package/api/multivariate-collections-api.ts +4 -4
- package/api/portfolio-api.ts +21 -21
- package/api/series-api.ts +3 -3
- package/api/structured-targets-api.ts +3 -3
- package/dist/api/api-keys-api.js +8 -8
- package/dist/api/communications-api.js +22 -22
- package/dist/api/events-api.js +6 -6
- package/dist/api/exchange-api.js +8 -8
- package/dist/api/markets-api.js +10 -10
- package/dist/api/milestones-api.js +4 -4
- package/dist/api/multivariate-collections-api.js +6 -6
- package/dist/api/portfolio-api.js +40 -40
- package/dist/api/series-api.js +4 -4
- package/dist/api/structured-targets-api.js +4 -4
- package/dist/esm/api/api-keys-api.js +9 -9
- package/dist/esm/api/communications-api.js +23 -23
- package/dist/esm/api/events-api.js +7 -7
- package/dist/esm/api/exchange-api.js +9 -9
- package/dist/esm/api/markets-api.js +11 -11
- package/dist/esm/api/milestones-api.js +5 -5
- package/dist/esm/api/multivariate-collections-api.js +7 -7
- package/dist/esm/api/portfolio-api.js +41 -41
- package/dist/esm/api/series-api.js +5 -5
- package/dist/esm/api/structured-targets-api.js +5 -5
- package/package.json +1 -1
|
@@ -23,7 +23,7 @@ import { URL, URLSearchParams } from 'url';
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
25
25
|
// @ts-ignore
|
|
26
|
-
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError
|
|
26
|
+
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import type { ErrorResponse } from '../models';
|
|
29
29
|
// @ts-ignore
|
|
@@ -136,7 +136,7 @@ export const StructuredTargetsApiFp = function(configuration?: Configuration) {
|
|
|
136
136
|
async getStructuredTarget(structuredTargetId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStructuredTargetResponse>> {
|
|
137
137
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getStructuredTarget(structuredTargetId, options);
|
|
138
138
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
139
|
-
const localVarOperationServerBasePath =
|
|
139
|
+
const localVarOperationServerBasePath: string | undefined = undefined;
|
|
140
140
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
141
141
|
},
|
|
142
142
|
/**
|
|
@@ -150,7 +150,7 @@ export const StructuredTargetsApiFp = function(configuration?: Configuration) {
|
|
|
150
150
|
async getStructuredTargets(status?: string, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStructuredTargetsResponse>> {
|
|
151
151
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getStructuredTargets(status, pageSize, options);
|
|
152
152
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
153
|
-
const localVarOperationServerBasePath =
|
|
153
|
+
const localVarOperationServerBasePath: string | undefined = undefined;
|
|
154
154
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
155
155
|
},
|
|
156
156
|
}
|
package/dist/api/api-keys-api.js
CHANGED
|
@@ -181,10 +181,10 @@ const ApiKeysApiFp = function (configuration) {
|
|
|
181
181
|
*/
|
|
182
182
|
createApiKey(createApiKeyRequest, options) {
|
|
183
183
|
return __awaiter(this, void 0, void 0, function* () {
|
|
184
|
-
var _a
|
|
184
|
+
var _a;
|
|
185
185
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.createApiKey(createApiKeyRequest, options);
|
|
186
186
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
187
|
-
const localVarOperationServerBasePath =
|
|
187
|
+
const localVarOperationServerBasePath = undefined;
|
|
188
188
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
189
189
|
});
|
|
190
190
|
},
|
|
@@ -197,10 +197,10 @@ const ApiKeysApiFp = function (configuration) {
|
|
|
197
197
|
*/
|
|
198
198
|
deleteApiKey(apiKey, options) {
|
|
199
199
|
return __awaiter(this, void 0, void 0, function* () {
|
|
200
|
-
var _a
|
|
200
|
+
var _a;
|
|
201
201
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteApiKey(apiKey, options);
|
|
202
202
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
203
|
-
const localVarOperationServerBasePath =
|
|
203
|
+
const localVarOperationServerBasePath = undefined;
|
|
204
204
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
205
205
|
});
|
|
206
206
|
},
|
|
@@ -213,10 +213,10 @@ const ApiKeysApiFp = function (configuration) {
|
|
|
213
213
|
*/
|
|
214
214
|
generateApiKey(generateApiKeyRequest, options) {
|
|
215
215
|
return __awaiter(this, void 0, void 0, function* () {
|
|
216
|
-
var _a
|
|
216
|
+
var _a;
|
|
217
217
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.generateApiKey(generateApiKeyRequest, options);
|
|
218
218
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
219
|
-
const localVarOperationServerBasePath =
|
|
219
|
+
const localVarOperationServerBasePath = undefined;
|
|
220
220
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
221
221
|
});
|
|
222
222
|
},
|
|
@@ -228,10 +228,10 @@ const ApiKeysApiFp = function (configuration) {
|
|
|
228
228
|
*/
|
|
229
229
|
getApiKeys(options) {
|
|
230
230
|
return __awaiter(this, void 0, void 0, function* () {
|
|
231
|
-
var _a
|
|
231
|
+
var _a;
|
|
232
232
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getApiKeys(options);
|
|
233
233
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
234
|
-
const localVarOperationServerBasePath =
|
|
234
|
+
const localVarOperationServerBasePath = undefined;
|
|
235
235
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
236
236
|
});
|
|
237
237
|
},
|
|
@@ -403,10 +403,10 @@ const CommunicationsApiFp = function (configuration) {
|
|
|
403
403
|
*/
|
|
404
404
|
acceptQuote(quoteId, acceptQuoteRequest, options) {
|
|
405
405
|
return __awaiter(this, void 0, void 0, function* () {
|
|
406
|
-
var _a
|
|
406
|
+
var _a;
|
|
407
407
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.acceptQuote(quoteId, acceptQuoteRequest, options);
|
|
408
408
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
409
|
-
const localVarOperationServerBasePath =
|
|
409
|
+
const localVarOperationServerBasePath = undefined;
|
|
410
410
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
411
411
|
});
|
|
412
412
|
},
|
|
@@ -419,10 +419,10 @@ const CommunicationsApiFp = function (configuration) {
|
|
|
419
419
|
*/
|
|
420
420
|
confirmQuote(quoteId, options) {
|
|
421
421
|
return __awaiter(this, void 0, void 0, function* () {
|
|
422
|
-
var _a
|
|
422
|
+
var _a;
|
|
423
423
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.confirmQuote(quoteId, options);
|
|
424
424
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
425
|
-
const localVarOperationServerBasePath =
|
|
425
|
+
const localVarOperationServerBasePath = undefined;
|
|
426
426
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
427
427
|
});
|
|
428
428
|
},
|
|
@@ -435,10 +435,10 @@ const CommunicationsApiFp = function (configuration) {
|
|
|
435
435
|
*/
|
|
436
436
|
createQuote(createQuoteRequest, options) {
|
|
437
437
|
return __awaiter(this, void 0, void 0, function* () {
|
|
438
|
-
var _a
|
|
438
|
+
var _a;
|
|
439
439
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.createQuote(createQuoteRequest, options);
|
|
440
440
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
441
|
-
const localVarOperationServerBasePath =
|
|
441
|
+
const localVarOperationServerBasePath = undefined;
|
|
442
442
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
443
443
|
});
|
|
444
444
|
},
|
|
@@ -451,10 +451,10 @@ const CommunicationsApiFp = function (configuration) {
|
|
|
451
451
|
*/
|
|
452
452
|
createRFQ(createRFQRequest, options) {
|
|
453
453
|
return __awaiter(this, void 0, void 0, function* () {
|
|
454
|
-
var _a
|
|
454
|
+
var _a;
|
|
455
455
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.createRFQ(createRFQRequest, options);
|
|
456
456
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
457
|
-
const localVarOperationServerBasePath =
|
|
457
|
+
const localVarOperationServerBasePath = undefined;
|
|
458
458
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
459
459
|
});
|
|
460
460
|
},
|
|
@@ -467,10 +467,10 @@ const CommunicationsApiFp = function (configuration) {
|
|
|
467
467
|
*/
|
|
468
468
|
deleteQuote(quoteId, options) {
|
|
469
469
|
return __awaiter(this, void 0, void 0, function* () {
|
|
470
|
-
var _a
|
|
470
|
+
var _a;
|
|
471
471
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteQuote(quoteId, options);
|
|
472
472
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
473
|
-
const localVarOperationServerBasePath =
|
|
473
|
+
const localVarOperationServerBasePath = undefined;
|
|
474
474
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
475
475
|
});
|
|
476
476
|
},
|
|
@@ -483,10 +483,10 @@ const CommunicationsApiFp = function (configuration) {
|
|
|
483
483
|
*/
|
|
484
484
|
deleteRFQ(rfqId, options) {
|
|
485
485
|
return __awaiter(this, void 0, void 0, function* () {
|
|
486
|
-
var _a
|
|
486
|
+
var _a;
|
|
487
487
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteRFQ(rfqId, options);
|
|
488
488
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
489
|
-
const localVarOperationServerBasePath =
|
|
489
|
+
const localVarOperationServerBasePath = undefined;
|
|
490
490
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
491
491
|
});
|
|
492
492
|
},
|
|
@@ -498,10 +498,10 @@ const CommunicationsApiFp = function (configuration) {
|
|
|
498
498
|
*/
|
|
499
499
|
getCommunicationsID(options) {
|
|
500
500
|
return __awaiter(this, void 0, void 0, function* () {
|
|
501
|
-
var _a
|
|
501
|
+
var _a;
|
|
502
502
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getCommunicationsID(options);
|
|
503
503
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
504
|
-
const localVarOperationServerBasePath =
|
|
504
|
+
const localVarOperationServerBasePath = undefined;
|
|
505
505
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
506
506
|
});
|
|
507
507
|
},
|
|
@@ -514,10 +514,10 @@ const CommunicationsApiFp = function (configuration) {
|
|
|
514
514
|
*/
|
|
515
515
|
getQuote(quoteId, options) {
|
|
516
516
|
return __awaiter(this, void 0, void 0, function* () {
|
|
517
|
-
var _a
|
|
517
|
+
var _a;
|
|
518
518
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getQuote(quoteId, options);
|
|
519
519
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
520
|
-
const localVarOperationServerBasePath =
|
|
520
|
+
const localVarOperationServerBasePath = undefined;
|
|
521
521
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
522
522
|
});
|
|
523
523
|
},
|
|
@@ -529,10 +529,10 @@ const CommunicationsApiFp = function (configuration) {
|
|
|
529
529
|
*/
|
|
530
530
|
getQuotes(options) {
|
|
531
531
|
return __awaiter(this, void 0, void 0, function* () {
|
|
532
|
-
var _a
|
|
532
|
+
var _a;
|
|
533
533
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getQuotes(options);
|
|
534
534
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
535
|
-
const localVarOperationServerBasePath =
|
|
535
|
+
const localVarOperationServerBasePath = undefined;
|
|
536
536
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
537
537
|
});
|
|
538
538
|
},
|
|
@@ -545,10 +545,10 @@ const CommunicationsApiFp = function (configuration) {
|
|
|
545
545
|
*/
|
|
546
546
|
getRFQ(rfqId, options) {
|
|
547
547
|
return __awaiter(this, void 0, void 0, function* () {
|
|
548
|
-
var _a
|
|
548
|
+
var _a;
|
|
549
549
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getRFQ(rfqId, options);
|
|
550
550
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
551
|
-
const localVarOperationServerBasePath =
|
|
551
|
+
const localVarOperationServerBasePath = undefined;
|
|
552
552
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
553
553
|
});
|
|
554
554
|
},
|
|
@@ -560,10 +560,10 @@ const CommunicationsApiFp = function (configuration) {
|
|
|
560
560
|
*/
|
|
561
561
|
getRFQs(options) {
|
|
562
562
|
return __awaiter(this, void 0, void 0, function* () {
|
|
563
|
-
var _a
|
|
563
|
+
var _a;
|
|
564
564
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getRFQs(options);
|
|
565
565
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
566
|
-
const localVarOperationServerBasePath =
|
|
566
|
+
const localVarOperationServerBasePath = undefined;
|
|
567
567
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
568
568
|
});
|
|
569
569
|
},
|
package/dist/api/events-api.js
CHANGED
|
@@ -176,10 +176,10 @@ const EventsApiFp = function (configuration) {
|
|
|
176
176
|
*/
|
|
177
177
|
getEvent(eventTicker, withNestedMarkets, options) {
|
|
178
178
|
return __awaiter(this, void 0, void 0, function* () {
|
|
179
|
-
var _a
|
|
179
|
+
var _a;
|
|
180
180
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEvent(eventTicker, withNestedMarkets, options);
|
|
181
181
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
182
|
-
const localVarOperationServerBasePath =
|
|
182
|
+
const localVarOperationServerBasePath = undefined;
|
|
183
183
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
184
184
|
});
|
|
185
185
|
},
|
|
@@ -192,10 +192,10 @@ const EventsApiFp = function (configuration) {
|
|
|
192
192
|
*/
|
|
193
193
|
getEventMetadata(eventTicker, options) {
|
|
194
194
|
return __awaiter(this, void 0, void 0, function* () {
|
|
195
|
-
var _a
|
|
195
|
+
var _a;
|
|
196
196
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventMetadata(eventTicker, options);
|
|
197
197
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
198
|
-
const localVarOperationServerBasePath =
|
|
198
|
+
const localVarOperationServerBasePath = undefined;
|
|
199
199
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
200
200
|
});
|
|
201
201
|
},
|
|
@@ -213,10 +213,10 @@ const EventsApiFp = function (configuration) {
|
|
|
213
213
|
*/
|
|
214
214
|
getEvents(limit, cursor, withNestedMarkets, status, seriesTicker, minCloseTs, options) {
|
|
215
215
|
return __awaiter(this, void 0, void 0, function* () {
|
|
216
|
-
var _a
|
|
216
|
+
var _a;
|
|
217
217
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEvents(limit, cursor, withNestedMarkets, status, seriesTicker, minCloseTs, options);
|
|
218
218
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
219
|
-
const localVarOperationServerBasePath =
|
|
219
|
+
const localVarOperationServerBasePath = undefined;
|
|
220
220
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
221
221
|
});
|
|
222
222
|
},
|
package/dist/api/exchange-api.js
CHANGED
|
@@ -157,10 +157,10 @@ const ExchangeApiFp = function (configuration) {
|
|
|
157
157
|
*/
|
|
158
158
|
getExchangeAnnouncements(options) {
|
|
159
159
|
return __awaiter(this, void 0, void 0, function* () {
|
|
160
|
-
var _a
|
|
160
|
+
var _a;
|
|
161
161
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getExchangeAnnouncements(options);
|
|
162
162
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
163
|
-
const localVarOperationServerBasePath =
|
|
163
|
+
const localVarOperationServerBasePath = undefined;
|
|
164
164
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
165
165
|
});
|
|
166
166
|
},
|
|
@@ -172,10 +172,10 @@ const ExchangeApiFp = function (configuration) {
|
|
|
172
172
|
*/
|
|
173
173
|
getExchangeSchedule(options) {
|
|
174
174
|
return __awaiter(this, void 0, void 0, function* () {
|
|
175
|
-
var _a
|
|
175
|
+
var _a;
|
|
176
176
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getExchangeSchedule(options);
|
|
177
177
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
178
|
-
const localVarOperationServerBasePath =
|
|
178
|
+
const localVarOperationServerBasePath = undefined;
|
|
179
179
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
180
180
|
});
|
|
181
181
|
},
|
|
@@ -187,10 +187,10 @@ const ExchangeApiFp = function (configuration) {
|
|
|
187
187
|
*/
|
|
188
188
|
getExchangeStatus(options) {
|
|
189
189
|
return __awaiter(this, void 0, void 0, function* () {
|
|
190
|
-
var _a
|
|
190
|
+
var _a;
|
|
191
191
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getExchangeStatus(options);
|
|
192
192
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
193
|
-
const localVarOperationServerBasePath =
|
|
193
|
+
const localVarOperationServerBasePath = undefined;
|
|
194
194
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
195
195
|
});
|
|
196
196
|
},
|
|
@@ -202,10 +202,10 @@ const ExchangeApiFp = function (configuration) {
|
|
|
202
202
|
*/
|
|
203
203
|
getUserDataTimestamp(options) {
|
|
204
204
|
return __awaiter(this, void 0, void 0, function* () {
|
|
205
|
-
var _a
|
|
205
|
+
var _a;
|
|
206
206
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserDataTimestamp(options);
|
|
207
207
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
208
|
-
const localVarOperationServerBasePath =
|
|
208
|
+
const localVarOperationServerBasePath = undefined;
|
|
209
209
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
210
210
|
});
|
|
211
211
|
},
|
package/dist/api/markets-api.js
CHANGED
|
@@ -276,10 +276,10 @@ const MarketsApiFp = function (configuration) {
|
|
|
276
276
|
*/
|
|
277
277
|
getMarket(ticker, options) {
|
|
278
278
|
return __awaiter(this, void 0, void 0, function* () {
|
|
279
|
-
var _a
|
|
279
|
+
var _a;
|
|
280
280
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMarket(ticker, options);
|
|
281
281
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
282
|
-
const localVarOperationServerBasePath =
|
|
282
|
+
const localVarOperationServerBasePath = undefined;
|
|
283
283
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
284
284
|
});
|
|
285
285
|
},
|
|
@@ -296,10 +296,10 @@ const MarketsApiFp = function (configuration) {
|
|
|
296
296
|
*/
|
|
297
297
|
getMarketCandlesticks(ticker, marketTicker, startTs, endTs, periodInterval, options) {
|
|
298
298
|
return __awaiter(this, void 0, void 0, function* () {
|
|
299
|
-
var _a
|
|
299
|
+
var _a;
|
|
300
300
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMarketCandlesticks(ticker, marketTicker, startTs, endTs, periodInterval, options);
|
|
301
301
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
302
|
-
const localVarOperationServerBasePath =
|
|
302
|
+
const localVarOperationServerBasePath = undefined;
|
|
303
303
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
304
304
|
});
|
|
305
305
|
},
|
|
@@ -313,10 +313,10 @@ const MarketsApiFp = function (configuration) {
|
|
|
313
313
|
*/
|
|
314
314
|
getMarketOrderbook(ticker, depth, options) {
|
|
315
315
|
return __awaiter(this, void 0, void 0, function* () {
|
|
316
|
-
var _a
|
|
316
|
+
var _a;
|
|
317
317
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMarketOrderbook(ticker, depth, options);
|
|
318
318
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
319
|
-
const localVarOperationServerBasePath =
|
|
319
|
+
const localVarOperationServerBasePath = undefined;
|
|
320
320
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
321
321
|
});
|
|
322
322
|
},
|
|
@@ -336,10 +336,10 @@ const MarketsApiFp = function (configuration) {
|
|
|
336
336
|
*/
|
|
337
337
|
getMarkets(limit, cursor, eventTicker, seriesTicker, maxCloseTs, minCloseTs, status, tickers, options) {
|
|
338
338
|
return __awaiter(this, void 0, void 0, function* () {
|
|
339
|
-
var _a
|
|
339
|
+
var _a;
|
|
340
340
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMarkets(limit, cursor, eventTicker, seriesTicker, maxCloseTs, minCloseTs, status, tickers, options);
|
|
341
341
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
342
|
-
const localVarOperationServerBasePath =
|
|
342
|
+
const localVarOperationServerBasePath = undefined;
|
|
343
343
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
344
344
|
});
|
|
345
345
|
},
|
|
@@ -356,10 +356,10 @@ const MarketsApiFp = function (configuration) {
|
|
|
356
356
|
*/
|
|
357
357
|
getTrades(limit, cursor, ticker, minTs, maxTs, options) {
|
|
358
358
|
return __awaiter(this, void 0, void 0, function* () {
|
|
359
|
-
var _a
|
|
359
|
+
var _a;
|
|
360
360
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTrades(limit, cursor, ticker, minTs, maxTs, options);
|
|
361
361
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
362
|
-
const localVarOperationServerBasePath =
|
|
362
|
+
const localVarOperationServerBasePath = undefined;
|
|
363
363
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
364
364
|
});
|
|
365
365
|
},
|
|
@@ -123,10 +123,10 @@ const MilestonesApiFp = function (configuration) {
|
|
|
123
123
|
*/
|
|
124
124
|
getMilestone(milestoneId, options) {
|
|
125
125
|
return __awaiter(this, void 0, void 0, function* () {
|
|
126
|
-
var _a
|
|
126
|
+
var _a;
|
|
127
127
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMilestone(milestoneId, options);
|
|
128
128
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
129
|
-
const localVarOperationServerBasePath =
|
|
129
|
+
const localVarOperationServerBasePath = undefined;
|
|
130
130
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
131
131
|
});
|
|
132
132
|
},
|
|
@@ -140,10 +140,10 @@ const MilestonesApiFp = function (configuration) {
|
|
|
140
140
|
*/
|
|
141
141
|
getMilestones(status, limit, options) {
|
|
142
142
|
return __awaiter(this, void 0, void 0, function* () {
|
|
143
|
-
var _a
|
|
143
|
+
var _a;
|
|
144
144
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMilestones(status, limit, options);
|
|
145
145
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
146
|
-
const localVarOperationServerBasePath =
|
|
146
|
+
const localVarOperationServerBasePath = undefined;
|
|
147
147
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
148
148
|
});
|
|
149
149
|
},
|
|
@@ -156,10 +156,10 @@ const MultivariateCollectionsApiFp = function (configuration) {
|
|
|
156
156
|
*/
|
|
157
157
|
getMultivariateEventCollection(collectionTicker, options) {
|
|
158
158
|
return __awaiter(this, void 0, void 0, function* () {
|
|
159
|
-
var _a
|
|
159
|
+
var _a;
|
|
160
160
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMultivariateEventCollection(collectionTicker, options);
|
|
161
161
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
162
|
-
const localVarOperationServerBasePath =
|
|
162
|
+
const localVarOperationServerBasePath = undefined;
|
|
163
163
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
164
164
|
});
|
|
165
165
|
},
|
|
@@ -172,10 +172,10 @@ const MultivariateCollectionsApiFp = function (configuration) {
|
|
|
172
172
|
*/
|
|
173
173
|
getMultivariateEventCollections(status, options) {
|
|
174
174
|
return __awaiter(this, void 0, void 0, function* () {
|
|
175
|
-
var _a
|
|
175
|
+
var _a;
|
|
176
176
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMultivariateEventCollections(status, options);
|
|
177
177
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
178
|
-
const localVarOperationServerBasePath =
|
|
178
|
+
const localVarOperationServerBasePath = undefined;
|
|
179
179
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
180
180
|
});
|
|
181
181
|
},
|
|
@@ -189,10 +189,10 @@ const MultivariateCollectionsApiFp = function (configuration) {
|
|
|
189
189
|
*/
|
|
190
190
|
lookupMultivariateEventCollectionBundle(collectionTicker, lookupBundleRequest, options) {
|
|
191
191
|
return __awaiter(this, void 0, void 0, function* () {
|
|
192
|
-
var _a
|
|
192
|
+
var _a;
|
|
193
193
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.lookupMultivariateEventCollectionBundle(collectionTicker, lookupBundleRequest, options);
|
|
194
194
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
195
|
-
const localVarOperationServerBasePath =
|
|
195
|
+
const localVarOperationServerBasePath = undefined;
|
|
196
196
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
197
197
|
});
|
|
198
198
|
},
|