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.
@@ -28,7 +28,7 @@ import { URL } from 'url';
28
28
  // @ts-ignore
29
29
  import { DUMMY_BASE_URL, setBearerAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../common';
30
30
  // @ts-ignore
31
- import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
31
+ import { BASE_PATH, BaseAPI } from '../base';
32
32
  /**
33
33
  * ExchangeApi - axios parameter creator
34
34
  */
@@ -153,10 +153,10 @@ export const ExchangeApiFp = function (configuration) {
153
153
  */
154
154
  getExchangeAnnouncements(options) {
155
155
  return __awaiter(this, void 0, void 0, function* () {
156
- var _a, _b, _c;
156
+ var _a;
157
157
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getExchangeAnnouncements(options);
158
158
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
159
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ExchangeApi.getExchangeAnnouncements']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
159
+ const localVarOperationServerBasePath = undefined;
160
160
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
161
161
  });
162
162
  },
@@ -168,10 +168,10 @@ export const ExchangeApiFp = function (configuration) {
168
168
  */
169
169
  getExchangeSchedule(options) {
170
170
  return __awaiter(this, void 0, void 0, function* () {
171
- var _a, _b, _c;
171
+ var _a;
172
172
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getExchangeSchedule(options);
173
173
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
174
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ExchangeApi.getExchangeSchedule']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
174
+ const localVarOperationServerBasePath = undefined;
175
175
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
176
176
  });
177
177
  },
@@ -183,10 +183,10 @@ export const ExchangeApiFp = function (configuration) {
183
183
  */
184
184
  getExchangeStatus(options) {
185
185
  return __awaiter(this, void 0, void 0, function* () {
186
- var _a, _b, _c;
186
+ var _a;
187
187
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getExchangeStatus(options);
188
188
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
189
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ExchangeApi.getExchangeStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
189
+ const localVarOperationServerBasePath = undefined;
190
190
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
191
191
  });
192
192
  },
@@ -198,10 +198,10 @@ export const ExchangeApiFp = function (configuration) {
198
198
  */
199
199
  getUserDataTimestamp(options) {
200
200
  return __awaiter(this, void 0, void 0, function* () {
201
- var _a, _b, _c;
201
+ var _a;
202
202
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserDataTimestamp(options);
203
203
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
204
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ExchangeApi.getUserDataTimestamp']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
204
+ const localVarOperationServerBasePath = undefined;
205
205
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
206
206
  });
207
207
  },
@@ -28,7 +28,7 @@ import { URL } from 'url';
28
28
  // @ts-ignore
29
29
  import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../common';
30
30
  // @ts-ignore
31
- import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
31
+ import { BASE_PATH, BaseAPI } from '../base';
32
32
  /**
33
33
  * MarketsApi - axios parameter creator
34
34
  */
@@ -272,10 +272,10 @@ export const MarketsApiFp = function (configuration) {
272
272
  */
273
273
  getMarket(ticker, options) {
274
274
  return __awaiter(this, void 0, void 0, function* () {
275
- var _a, _b, _c;
275
+ var _a;
276
276
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getMarket(ticker, options);
277
277
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
278
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MarketsApi.getMarket']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
278
+ const localVarOperationServerBasePath = undefined;
279
279
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
280
280
  });
281
281
  },
@@ -292,10 +292,10 @@ export const MarketsApiFp = function (configuration) {
292
292
  */
293
293
  getMarketCandlesticks(ticker, marketTicker, startTs, endTs, periodInterval, options) {
294
294
  return __awaiter(this, void 0, void 0, function* () {
295
- var _a, _b, _c;
295
+ var _a;
296
296
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getMarketCandlesticks(ticker, marketTicker, startTs, endTs, periodInterval, options);
297
297
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
298
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MarketsApi.getMarketCandlesticks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
298
+ const localVarOperationServerBasePath = undefined;
299
299
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
300
300
  });
301
301
  },
@@ -309,10 +309,10 @@ export const MarketsApiFp = function (configuration) {
309
309
  */
310
310
  getMarketOrderbook(ticker, depth, options) {
311
311
  return __awaiter(this, void 0, void 0, function* () {
312
- var _a, _b, _c;
312
+ var _a;
313
313
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getMarketOrderbook(ticker, depth, options);
314
314
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
315
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MarketsApi.getMarketOrderbook']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
315
+ const localVarOperationServerBasePath = undefined;
316
316
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
317
317
  });
318
318
  },
@@ -332,10 +332,10 @@ export const MarketsApiFp = function (configuration) {
332
332
  */
333
333
  getMarkets(limit, cursor, eventTicker, seriesTicker, maxCloseTs, minCloseTs, status, tickers, options) {
334
334
  return __awaiter(this, void 0, void 0, function* () {
335
- var _a, _b, _c;
335
+ var _a;
336
336
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getMarkets(limit, cursor, eventTicker, seriesTicker, maxCloseTs, minCloseTs, status, tickers, options);
337
337
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
338
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MarketsApi.getMarkets']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
338
+ const localVarOperationServerBasePath = undefined;
339
339
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
340
340
  });
341
341
  },
@@ -352,10 +352,10 @@ export const MarketsApiFp = function (configuration) {
352
352
  */
353
353
  getTrades(limit, cursor, ticker, minTs, maxTs, options) {
354
354
  return __awaiter(this, void 0, void 0, function* () {
355
- var _a, _b, _c;
355
+ var _a;
356
356
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getTrades(limit, cursor, ticker, minTs, maxTs, options);
357
357
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
358
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MarketsApi.getTrades']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
358
+ const localVarOperationServerBasePath = undefined;
359
359
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
360
360
  });
361
361
  },
@@ -28,7 +28,7 @@ import { URL } from 'url';
28
28
  // @ts-ignore
29
29
  import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../common';
30
30
  // @ts-ignore
31
- import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
31
+ import { BASE_PATH, BaseAPI } from '../base';
32
32
  /**
33
33
  * MilestonesApi - axios parameter creator
34
34
  */
@@ -119,10 +119,10 @@ export const MilestonesApiFp = function (configuration) {
119
119
  */
120
120
  getMilestone(milestoneId, options) {
121
121
  return __awaiter(this, void 0, void 0, function* () {
122
- var _a, _b, _c;
122
+ var _a;
123
123
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getMilestone(milestoneId, options);
124
124
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
125
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MilestonesApi.getMilestone']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
125
+ const localVarOperationServerBasePath = undefined;
126
126
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
127
127
  });
128
128
  },
@@ -136,10 +136,10 @@ export const MilestonesApiFp = function (configuration) {
136
136
  */
137
137
  getMilestones(status, limit, options) {
138
138
  return __awaiter(this, void 0, void 0, function* () {
139
- var _a, _b, _c;
139
+ var _a;
140
140
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getMilestones(status, limit, options);
141
141
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
142
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MilestonesApi.getMilestones']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
142
+ const localVarOperationServerBasePath = undefined;
143
143
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
144
144
  });
145
145
  },
@@ -28,7 +28,7 @@ import { URL } from 'url';
28
28
  // @ts-ignore
29
29
  import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
30
30
  // @ts-ignore
31
- import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
31
+ import { BASE_PATH, BaseAPI } from '../base';
32
32
  /**
33
33
  * MultivariateCollectionsApi - axios parameter creator
34
34
  */
@@ -152,10 +152,10 @@ export const MultivariateCollectionsApiFp = function (configuration) {
152
152
  */
153
153
  getMultivariateEventCollection(collectionTicker, options) {
154
154
  return __awaiter(this, void 0, void 0, function* () {
155
- var _a, _b, _c;
155
+ var _a;
156
156
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getMultivariateEventCollection(collectionTicker, options);
157
157
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
158
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MultivariateCollectionsApi.getMultivariateEventCollection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
158
+ const localVarOperationServerBasePath = undefined;
159
159
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
160
160
  });
161
161
  },
@@ -168,10 +168,10 @@ export const MultivariateCollectionsApiFp = function (configuration) {
168
168
  */
169
169
  getMultivariateEventCollections(status, options) {
170
170
  return __awaiter(this, void 0, void 0, function* () {
171
- var _a, _b, _c;
171
+ var _a;
172
172
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getMultivariateEventCollections(status, options);
173
173
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
174
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MultivariateCollectionsApi.getMultivariateEventCollections']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
174
+ const localVarOperationServerBasePath = undefined;
175
175
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
176
176
  });
177
177
  },
@@ -185,10 +185,10 @@ export const MultivariateCollectionsApiFp = function (configuration) {
185
185
  */
186
186
  lookupMultivariateEventCollectionBundle(collectionTicker, lookupBundleRequest, options) {
187
187
  return __awaiter(this, void 0, void 0, function* () {
188
- var _a, _b, _c;
188
+ var _a;
189
189
  const localVarAxiosArgs = yield localVarAxiosParamCreator.lookupMultivariateEventCollectionBundle(collectionTicker, lookupBundleRequest, options);
190
190
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
191
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MultivariateCollectionsApi.lookupMultivariateEventCollectionBundle']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
191
+ const localVarOperationServerBasePath = undefined;
192
192
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
193
193
  });
194
194
  },
@@ -28,7 +28,7 @@ import { URL } from 'url';
28
28
  // @ts-ignore
29
29
  import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
30
30
  // @ts-ignore
31
- import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
31
+ import { BASE_PATH, BaseAPI } from '../base';
32
32
  /**
33
33
  * PortfolioApi - axios parameter creator
34
34
  */
@@ -775,10 +775,10 @@ export const PortfolioApiFp = function (configuration) {
775
775
  */
776
776
  amendOrder(orderId, amendOrderRequest, options) {
777
777
  return __awaiter(this, void 0, void 0, function* () {
778
- var _a, _b, _c;
778
+ var _a;
779
779
  const localVarAxiosArgs = yield localVarAxiosParamCreator.amendOrder(orderId, amendOrderRequest, options);
780
780
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
781
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PortfolioApi.amendOrder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
781
+ const localVarOperationServerBasePath = undefined;
782
782
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
783
783
  });
784
784
  },
@@ -791,10 +791,10 @@ export const PortfolioApiFp = function (configuration) {
791
791
  */
792
792
  batchCancelOrders(batchCancelOrdersRequest, options) {
793
793
  return __awaiter(this, void 0, void 0, function* () {
794
- var _a, _b, _c;
794
+ var _a;
795
795
  const localVarAxiosArgs = yield localVarAxiosParamCreator.batchCancelOrders(batchCancelOrdersRequest, options);
796
796
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
797
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PortfolioApi.batchCancelOrders']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
797
+ const localVarOperationServerBasePath = undefined;
798
798
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
799
799
  });
800
800
  },
@@ -807,10 +807,10 @@ export const PortfolioApiFp = function (configuration) {
807
807
  */
808
808
  batchCreateOrders(batchCreateOrdersRequest, options) {
809
809
  return __awaiter(this, void 0, void 0, function* () {
810
- var _a, _b, _c;
810
+ var _a;
811
811
  const localVarAxiosArgs = yield localVarAxiosParamCreator.batchCreateOrders(batchCreateOrdersRequest, options);
812
812
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
813
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PortfolioApi.batchCreateOrders']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
813
+ const localVarOperationServerBasePath = undefined;
814
814
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
815
815
  });
816
816
  },
@@ -823,10 +823,10 @@ export const PortfolioApiFp = function (configuration) {
823
823
  */
824
824
  cancelOrder(orderId, options) {
825
825
  return __awaiter(this, void 0, void 0, function* () {
826
- var _a, _b, _c;
826
+ var _a;
827
827
  const localVarAxiosArgs = yield localVarAxiosParamCreator.cancelOrder(orderId, options);
828
828
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
829
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PortfolioApi.cancelOrder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
829
+ const localVarOperationServerBasePath = undefined;
830
830
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
831
831
  });
832
832
  },
@@ -839,10 +839,10 @@ export const PortfolioApiFp = function (configuration) {
839
839
  */
840
840
  createOrder(createOrderRequest, options) {
841
841
  return __awaiter(this, void 0, void 0, function* () {
842
- var _a, _b, _c;
842
+ var _a;
843
843
  const localVarAxiosArgs = yield localVarAxiosParamCreator.createOrder(createOrderRequest, options);
844
844
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
845
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PortfolioApi.createOrder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
845
+ const localVarOperationServerBasePath = undefined;
846
846
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
847
847
  });
848
848
  },
@@ -855,10 +855,10 @@ export const PortfolioApiFp = function (configuration) {
855
855
  */
856
856
  createOrderGroup(createOrderGroupRequest, options) {
857
857
  return __awaiter(this, void 0, void 0, function* () {
858
- var _a, _b, _c;
858
+ var _a;
859
859
  const localVarAxiosArgs = yield localVarAxiosParamCreator.createOrderGroup(createOrderGroupRequest, options);
860
860
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
861
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PortfolioApi.createOrderGroup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
861
+ const localVarOperationServerBasePath = undefined;
862
862
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
863
863
  });
864
864
  },
@@ -872,10 +872,10 @@ export const PortfolioApiFp = function (configuration) {
872
872
  */
873
873
  decreaseOrder(orderId, decreaseOrderRequest, options) {
874
874
  return __awaiter(this, void 0, void 0, function* () {
875
- var _a, _b, _c;
875
+ var _a;
876
876
  const localVarAxiosArgs = yield localVarAxiosParamCreator.decreaseOrder(orderId, decreaseOrderRequest, options);
877
877
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
878
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PortfolioApi.decreaseOrder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
878
+ const localVarOperationServerBasePath = undefined;
879
879
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
880
880
  });
881
881
  },
@@ -888,10 +888,10 @@ export const PortfolioApiFp = function (configuration) {
888
888
  */
889
889
  deleteOrderGroup(orderGroupId, options) {
890
890
  return __awaiter(this, void 0, void 0, function* () {
891
- var _a, _b, _c;
891
+ var _a;
892
892
  const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOrderGroup(orderGroupId, options);
893
893
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
894
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PortfolioApi.deleteOrderGroup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
894
+ const localVarOperationServerBasePath = undefined;
895
895
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
896
896
  });
897
897
  },
@@ -903,10 +903,10 @@ export const PortfolioApiFp = function (configuration) {
903
903
  */
904
904
  getBalance(options) {
905
905
  return __awaiter(this, void 0, void 0, function* () {
906
- var _a, _b, _c;
906
+ var _a;
907
907
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getBalance(options);
908
908
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
909
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PortfolioApi.getBalance']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
909
+ const localVarOperationServerBasePath = undefined;
910
910
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
911
911
  });
912
912
  },
@@ -924,10 +924,10 @@ export const PortfolioApiFp = function (configuration) {
924
924
  */
925
925
  getFills(ticker, orderId, minTs, maxTs, limit, cursor, options) {
926
926
  return __awaiter(this, void 0, void 0, function* () {
927
- var _a, _b, _c;
927
+ var _a;
928
928
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getFills(ticker, orderId, minTs, maxTs, limit, cursor, options);
929
929
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
930
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PortfolioApi.getFills']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
930
+ const localVarOperationServerBasePath = undefined;
931
931
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
932
932
  });
933
933
  },
@@ -940,10 +940,10 @@ export const PortfolioApiFp = function (configuration) {
940
940
  */
941
941
  getOrder(orderId, options) {
942
942
  return __awaiter(this, void 0, void 0, function* () {
943
- var _a, _b, _c;
943
+ var _a;
944
944
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrder(orderId, options);
945
945
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
946
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PortfolioApi.getOrder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
946
+ const localVarOperationServerBasePath = undefined;
947
947
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
948
948
  });
949
949
  },
@@ -956,10 +956,10 @@ export const PortfolioApiFp = function (configuration) {
956
956
  */
957
957
  getOrderGroup(orderGroupId, options) {
958
958
  return __awaiter(this, void 0, void 0, function* () {
959
- var _a, _b, _c;
959
+ var _a;
960
960
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrderGroup(orderGroupId, options);
961
961
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
962
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PortfolioApi.getOrderGroup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
962
+ const localVarOperationServerBasePath = undefined;
963
963
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
964
964
  });
965
965
  },
@@ -974,10 +974,10 @@ export const PortfolioApiFp = function (configuration) {
974
974
  */
975
975
  getOrderGroups(status, limit, cursor, options) {
976
976
  return __awaiter(this, void 0, void 0, function* () {
977
- var _a, _b, _c;
977
+ var _a;
978
978
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrderGroups(status, limit, cursor, options);
979
979
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
980
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PortfolioApi.getOrderGroups']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
980
+ const localVarOperationServerBasePath = undefined;
981
981
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
982
982
  });
983
983
  },
@@ -990,10 +990,10 @@ export const PortfolioApiFp = function (configuration) {
990
990
  */
991
991
  getOrderQueuePosition(orderId, options) {
992
992
  return __awaiter(this, void 0, void 0, function* () {
993
- var _a, _b, _c;
993
+ var _a;
994
994
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrderQueuePosition(orderId, options);
995
995
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
996
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PortfolioApi.getOrderQueuePosition']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
996
+ const localVarOperationServerBasePath = undefined;
997
997
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
998
998
  });
999
999
  },
@@ -1012,10 +1012,10 @@ export const PortfolioApiFp = function (configuration) {
1012
1012
  */
1013
1013
  getOrders(ticker, eventTicker, minTs, maxTs, status, limit, cursor, options) {
1014
1014
  return __awaiter(this, void 0, void 0, function* () {
1015
- var _a, _b, _c;
1015
+ var _a;
1016
1016
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrders(ticker, eventTicker, minTs, maxTs, status, limit, cursor, options);
1017
1017
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1018
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PortfolioApi.getOrders']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1018
+ const localVarOperationServerBasePath = undefined;
1019
1019
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1020
1020
  });
1021
1021
  },
@@ -1033,10 +1033,10 @@ export const PortfolioApiFp = function (configuration) {
1033
1033
  */
1034
1034
  getPositions(ticker, eventTicker, countDown, countUp, limit, cursor, options) {
1035
1035
  return __awaiter(this, void 0, void 0, function* () {
1036
- var _a, _b, _c;
1036
+ var _a;
1037
1037
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getPositions(ticker, eventTicker, countDown, countUp, limit, cursor, options);
1038
1038
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1039
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PortfolioApi.getPositions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1039
+ const localVarOperationServerBasePath = undefined;
1040
1040
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1041
1041
  });
1042
1042
  },
@@ -1049,10 +1049,10 @@ export const PortfolioApiFp = function (configuration) {
1049
1049
  */
1050
1050
  getQueuePositions(getQueuePositionsRequest, options) {
1051
1051
  return __awaiter(this, void 0, void 0, function* () {
1052
- var _a, _b, _c;
1052
+ var _a;
1053
1053
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getQueuePositions(getQueuePositionsRequest, options);
1054
1054
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1055
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PortfolioApi.getQueuePositions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1055
+ const localVarOperationServerBasePath = undefined;
1056
1056
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1057
1057
  });
1058
1058
  },
@@ -1066,10 +1066,10 @@ export const PortfolioApiFp = function (configuration) {
1066
1066
  */
1067
1067
  getSettlements(limit, cursor, options) {
1068
1068
  return __awaiter(this, void 0, void 0, function* () {
1069
- var _a, _b, _c;
1069
+ var _a;
1070
1070
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getSettlements(limit, cursor, options);
1071
1071
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1072
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PortfolioApi.getSettlements']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1072
+ const localVarOperationServerBasePath = undefined;
1073
1073
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1074
1074
  });
1075
1075
  },
@@ -1081,10 +1081,10 @@ export const PortfolioApiFp = function (configuration) {
1081
1081
  */
1082
1082
  getTotalRestingOrderValue(options) {
1083
1083
  return __awaiter(this, void 0, void 0, function* () {
1084
- var _a, _b, _c;
1084
+ var _a;
1085
1085
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getTotalRestingOrderValue(options);
1086
1086
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1087
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PortfolioApi.getTotalRestingOrderValue']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1087
+ const localVarOperationServerBasePath = undefined;
1088
1088
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1089
1089
  });
1090
1090
  },
@@ -1097,10 +1097,10 @@ export const PortfolioApiFp = function (configuration) {
1097
1097
  */
1098
1098
  resetOrderGroup(orderGroupId, options) {
1099
1099
  return __awaiter(this, void 0, void 0, function* () {
1100
- var _a, _b, _c;
1100
+ var _a;
1101
1101
  const localVarAxiosArgs = yield localVarAxiosParamCreator.resetOrderGroup(orderGroupId, options);
1102
1102
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1103
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PortfolioApi.resetOrderGroup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1103
+ const localVarOperationServerBasePath = undefined;
1104
1104
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1105
1105
  });
1106
1106
  },
@@ -28,7 +28,7 @@ import { URL } from 'url';
28
28
  // @ts-ignore
29
29
  import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../common';
30
30
  // @ts-ignore
31
- import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
31
+ import { BASE_PATH, BaseAPI } from '../base';
32
32
  /**
33
33
  * SeriesApi - axios parameter creator
34
34
  */
@@ -115,10 +115,10 @@ export const SeriesApiFp = function (configuration) {
115
115
  */
116
116
  getSeries(status, options) {
117
117
  return __awaiter(this, void 0, void 0, function* () {
118
- var _a, _b, _c;
118
+ var _a;
119
119
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getSeries(status, options);
120
120
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
121
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SeriesApi.getSeries']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
121
+ const localVarOperationServerBasePath = undefined;
122
122
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
123
123
  });
124
124
  },
@@ -131,10 +131,10 @@ export const SeriesApiFp = function (configuration) {
131
131
  */
132
132
  getSeriesByTicker(ticker, options) {
133
133
  return __awaiter(this, void 0, void 0, function* () {
134
- var _a, _b, _c;
134
+ var _a;
135
135
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getSeriesByTicker(ticker, options);
136
136
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
137
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SeriesApi.getSeriesByTicker']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
137
+ const localVarOperationServerBasePath = undefined;
138
138
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
139
139
  });
140
140
  },
@@ -28,7 +28,7 @@ import { URL } from 'url';
28
28
  // @ts-ignore
29
29
  import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../common';
30
30
  // @ts-ignore
31
- import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
31
+ import { BASE_PATH, BaseAPI } from '../base';
32
32
  /**
33
33
  * StructuredTargetsApi - axios parameter creator
34
34
  */
@@ -119,10 +119,10 @@ export const StructuredTargetsApiFp = function (configuration) {
119
119
  */
120
120
  getStructuredTarget(structuredTargetId, options) {
121
121
  return __awaiter(this, void 0, void 0, function* () {
122
- var _a, _b, _c;
122
+ var _a;
123
123
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getStructuredTarget(structuredTargetId, options);
124
124
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
125
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StructuredTargetsApi.getStructuredTarget']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
125
+ const localVarOperationServerBasePath = undefined;
126
126
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
127
127
  });
128
128
  },
@@ -136,10 +136,10 @@ export const StructuredTargetsApiFp = function (configuration) {
136
136
  */
137
137
  getStructuredTargets(status, pageSize, options) {
138
138
  return __awaiter(this, void 0, void 0, function* () {
139
- var _a, _b, _c;
139
+ var _a;
140
140
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getStructuredTargets(status, pageSize, options);
141
141
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
142
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StructuredTargetsApi.getStructuredTargets']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
142
+ const localVarOperationServerBasePath = undefined;
143
143
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
144
144
  });
145
145
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kalshi-typescript",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "OpenAPI client for kalshi-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {