kalshi-typescript 2.1.1 → 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.
Files changed (210) hide show
  1. package/.openapi-generator/FILES +4 -1
  2. package/.openapi-generator-ignore +9 -2
  3. package/README.md +200 -29
  4. package/api/api-keys-api.ts +5 -5
  5. package/api/communications-api.ts +12 -12
  6. package/api/events-api.ts +4 -4
  7. package/api/exchange-api.ts +9 -9
  8. package/api/markets-api.ts +10 -10
  9. package/api/milestones-api.ts +3 -3
  10. package/api/multivariate-collections-api.ts +4 -4
  11. package/api/portfolio-api.ts +95 -21
  12. package/api/series-api.ts +3 -3
  13. package/api/structured-targets-api.ts +3 -3
  14. package/auth.ts +38 -0
  15. package/base.ts +51 -17
  16. package/common.ts +1 -1
  17. package/configuration.ts +1 -1
  18. package/dist/api/api-keys-api.d.ts +4 -4
  19. package/dist/api/api-keys-api.js +8 -8
  20. package/dist/api/communications-api.d.ts +11 -11
  21. package/dist/api/communications-api.js +22 -22
  22. package/dist/api/events-api.d.ts +3 -3
  23. package/dist/api/events-api.js +6 -6
  24. package/dist/api/exchange-api.d.ts +8 -8
  25. package/dist/api/exchange-api.js +12 -12
  26. package/dist/api/markets-api.d.ts +9 -9
  27. package/dist/api/markets-api.js +14 -14
  28. package/dist/api/milestones-api.d.ts +2 -2
  29. package/dist/api/milestones-api.js +4 -4
  30. package/dist/api/multivariate-collections-api.d.ts +3 -3
  31. package/dist/api/multivariate-collections-api.js +6 -6
  32. package/dist/api/portfolio-api.d.ts +52 -19
  33. package/dist/api/portfolio-api.js +107 -39
  34. package/dist/api/series-api.d.ts +2 -2
  35. package/dist/api/series-api.js +4 -4
  36. package/dist/api/structured-targets-api.d.ts +2 -2
  37. package/dist/api/structured-targets-api.js +4 -4
  38. package/dist/auth.d.ts +7 -0
  39. package/dist/auth.js +33 -0
  40. package/dist/base.d.ts +25 -10
  41. package/dist/base.js +37 -6
  42. package/dist/esm/api/api-keys-api.d.ts +4 -4
  43. package/dist/esm/api/api-keys-api.js +9 -9
  44. package/dist/esm/api/communications-api.d.ts +11 -11
  45. package/dist/esm/api/communications-api.js +23 -23
  46. package/dist/esm/api/events-api.d.ts +3 -3
  47. package/dist/esm/api/events-api.js +7 -7
  48. package/dist/esm/api/exchange-api.d.ts +8 -8
  49. package/dist/esm/api/exchange-api.js +13 -13
  50. package/dist/esm/api/markets-api.d.ts +9 -9
  51. package/dist/esm/api/markets-api.js +15 -15
  52. package/dist/esm/api/milestones-api.d.ts +2 -2
  53. package/dist/esm/api/milestones-api.js +5 -5
  54. package/dist/esm/api/multivariate-collections-api.d.ts +3 -3
  55. package/dist/esm/api/multivariate-collections-api.js +7 -7
  56. package/dist/esm/api/portfolio-api.d.ts +52 -19
  57. package/dist/esm/api/portfolio-api.js +108 -40
  58. package/dist/esm/api/series-api.d.ts +2 -2
  59. package/dist/esm/api/series-api.js +5 -5
  60. package/dist/esm/api/structured-targets-api.d.ts +2 -2
  61. package/dist/esm/api/structured-targets-api.js +5 -5
  62. package/dist/esm/auth.d.ts +7 -0
  63. package/dist/esm/auth.js +29 -0
  64. package/dist/esm/base.d.ts +25 -10
  65. package/dist/esm/base.js +36 -5
  66. package/dist/esm/models/amend-order-request.d.ts +30 -0
  67. package/dist/esm/models/amend-order-request.js +8 -1
  68. package/dist/esm/models/create-order-group-request.d.ts +4 -1
  69. package/dist/esm/models/create-order-group-response.d.ts +4 -2
  70. package/dist/esm/models/create-order-request.d.ts +8 -0
  71. package/dist/esm/models/error-response-error.d.ts +1 -1
  72. package/dist/esm/models/event-position.d.ts +53 -0
  73. package/dist/esm/models/event-position.js +14 -0
  74. package/dist/esm/models/get-order-group-response.d.ts +21 -0
  75. package/dist/esm/models/get-order-group-response.js +14 -0
  76. package/dist/esm/models/get-order-response.d.ts +1 -1
  77. package/dist/esm/models/get-positions-response.d.ts +3 -1
  78. package/dist/esm/models/index.d.ts +2 -0
  79. package/dist/esm/models/index.js +2 -0
  80. package/dist/esm/models/order-group.d.ts +8 -4
  81. package/dist/esm/models/order.d.ts +16 -0
  82. package/dist/models/amend-order-request.d.ts +30 -0
  83. package/dist/models/amend-order-request.js +9 -0
  84. package/dist/models/create-order-group-request.d.ts +4 -1
  85. package/dist/models/create-order-group-response.d.ts +4 -2
  86. package/dist/models/create-order-request.d.ts +8 -0
  87. package/dist/models/error-response-error.d.ts +1 -1
  88. package/dist/models/event-position.d.ts +53 -0
  89. package/dist/models/event-position.js +15 -0
  90. package/dist/models/get-order-group-response.d.ts +21 -0
  91. package/dist/models/get-order-group-response.js +15 -0
  92. package/dist/models/get-order-response.d.ts +1 -1
  93. package/dist/models/get-positions-response.d.ts +3 -1
  94. package/dist/models/index.d.ts +2 -0
  95. package/dist/models/index.js +2 -0
  96. package/dist/models/order-group.d.ts +8 -4
  97. package/dist/models/order.d.ts +16 -0
  98. package/docs/AcceptQuoteRequest.md +1 -1
  99. package/docs/AmendOrderRequest.md +11 -1
  100. package/docs/AmendOrderResponse.md +1 -1
  101. package/docs/Announcement.md +1 -1
  102. package/docs/ApiKey.md +1 -1
  103. package/docs/ApiKeysApi.md +20 -8
  104. package/docs/BatchCancelOrdersRequest.md +1 -1
  105. package/docs/BatchCancelOrdersResponse.md +1 -1
  106. package/docs/BatchCancelOrdersResponseResponsesInner.md +1 -1
  107. package/docs/BatchCreateOrdersRequest.md +1 -1
  108. package/docs/BatchCreateOrdersResponse.md +1 -1
  109. package/docs/BatchCreateOrdersResponseResponsesInner.md +1 -1
  110. package/docs/CancelOrderResponse.md +1 -1
  111. package/docs/Candlestick.md +1 -1
  112. package/docs/CommunicationsApi.md +55 -22
  113. package/docs/CreateApiKeyRequest.md +1 -1
  114. package/docs/CreateApiKeyResponse.md +1 -1
  115. package/docs/CreateOrderGroupRequest.md +3 -3
  116. package/docs/CreateOrderGroupResponse.md +3 -3
  117. package/docs/CreateOrderRequest.md +5 -1
  118. package/docs/CreateOrderResponse.md +1 -1
  119. package/docs/CreateQuoteRequest.md +1 -1
  120. package/docs/CreateQuoteResponse.md +1 -1
  121. package/docs/CreateRFQRequest.md +1 -1
  122. package/docs/CreateRFQResponse.md +1 -1
  123. package/docs/DailySchedule.md +1 -1
  124. package/docs/DecreaseOrderRequest.md +1 -1
  125. package/docs/DecreaseOrderResponse.md +1 -1
  126. package/docs/ErrorResponse.md +1 -1
  127. package/docs/ErrorResponseError.md +2 -2
  128. package/docs/Event.md +1 -1
  129. package/docs/EventPosition.md +38 -0
  130. package/docs/EventsApi.md +15 -6
  131. package/docs/ExchangeApi.md +21 -9
  132. package/docs/ExchangeStatus.md +1 -1
  133. package/docs/Fill.md +1 -1
  134. package/docs/GenerateApiKeyRequest.md +1 -1
  135. package/docs/GenerateApiKeyResponse.md +1 -1
  136. package/docs/GetApiKeysResponse.md +1 -1
  137. package/docs/GetBalanceResponse.md +1 -1
  138. package/docs/GetCommunicationsIDResponse.md +1 -1
  139. package/docs/GetEventMetadataResponse.md +1 -1
  140. package/docs/GetEventResponse.md +1 -1
  141. package/docs/GetEventsResponse.md +1 -1
  142. package/docs/GetExchangeAnnouncementsResponse.md +1 -1
  143. package/docs/GetExchangeScheduleResponse.md +1 -1
  144. package/docs/GetExchangeScheduleResponseSchedule.md +1 -1
  145. package/docs/GetFillsResponse.md +1 -1
  146. package/docs/GetMarketCandlesticksResponse.md +1 -1
  147. package/docs/GetMarketOrderbookResponse.md +1 -1
  148. package/docs/GetMarketOrderbookResponseOrderbook.md +1 -1
  149. package/docs/GetMarketResponse.md +1 -1
  150. package/docs/GetMarketsResponse.md +1 -1
  151. package/docs/GetMilestoneResponse.md +1 -1
  152. package/docs/GetMilestonesResponse.md +1 -1
  153. package/docs/GetMultivariateEventCollectionResponse.md +1 -1
  154. package/docs/GetMultivariateEventCollectionsResponse.md +1 -1
  155. package/docs/GetOrderGroupResponse.md +22 -0
  156. package/docs/GetOrderGroupsResponse.md +1 -1
  157. package/docs/GetOrderQueuePositionResponse.md +1 -1
  158. package/docs/GetOrderResponse.md +2 -2
  159. package/docs/GetOrdersResponse.md +1 -1
  160. package/docs/GetPositionsResponse.md +5 -3
  161. package/docs/GetQueuePositionsRequest.md +1 -1
  162. package/docs/GetQueuePositionsResponse.md +1 -1
  163. package/docs/GetQuoteResponse.md +1 -1
  164. package/docs/GetQuotesResponse.md +1 -1
  165. package/docs/GetRFQResponse.md +1 -1
  166. package/docs/GetRFQsResponse.md +1 -1
  167. package/docs/GetSeriesByTickerResponse.md +1 -1
  168. package/docs/GetSeriesResponse.md +1 -1
  169. package/docs/GetSettlementsResponse.md +1 -1
  170. package/docs/GetStructuredTargetResponse.md +1 -1
  171. package/docs/GetStructuredTargetsResponse.md +1 -1
  172. package/docs/GetTotalRestingOrderValueResponse.md +1 -1
  173. package/docs/GetTradesResponse.md +1 -1
  174. package/docs/GetUserDataTimestampResponse.md +1 -1
  175. package/docs/LookupBundleRequest.md +1 -1
  176. package/docs/LookupBundleRequestBundleInner.md +1 -1
  177. package/docs/LookupBundleResponse.md +1 -1
  178. package/docs/Market.md +1 -1
  179. package/docs/MarketsApi.md +26 -11
  180. package/docs/Milestone.md +1 -1
  181. package/docs/MilestonesApi.md +10 -4
  182. package/docs/MultivariateCollectionsApi.md +15 -6
  183. package/docs/MultivariateEventCollection.md +1 -1
  184. package/docs/MultivariateEventCollectionEventsInner.md +1 -1
  185. package/docs/Order.md +9 -1
  186. package/docs/OrderGroup.md +5 -9
  187. package/docs/OrderbookLevel.md +1 -1
  188. package/docs/PortfolioApi.md +154 -39
  189. package/docs/Position.md +1 -1
  190. package/docs/Quote.md +1 -1
  191. package/docs/RFQ.md +1 -1
  192. package/docs/Series.md +1 -1
  193. package/docs/SeriesApi.md +10 -4
  194. package/docs/Settlement.md +1 -1
  195. package/docs/StructuredTarget.md +1 -1
  196. package/docs/StructuredTargetsApi.md +10 -4
  197. package/docs/Trade.md +1 -1
  198. package/models/amend-order-request.ts +34 -0
  199. package/models/create-order-group-request.ts +4 -1
  200. package/models/create-order-group-response.ts +4 -4
  201. package/models/create-order-request.ts +8 -0
  202. package/models/error-response-error.ts +1 -1
  203. package/models/event-position.ts +59 -0
  204. package/models/get-order-group-response.ts +27 -0
  205. package/models/get-order-response.ts +1 -1
  206. package/models/get-positions-response.ts +5 -1
  207. package/models/index.ts +2 -0
  208. package/models/order-group.ts +8 -4
  209. package/models/order.ts +16 -0
  210. package/package.json +4 -4
package/base.ts CHANGED
@@ -1,5 +1,3 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
1
  /**
4
2
  * Kalshi Trading API
5
3
  * Complete API for the Kalshi trading platform including all handlers for SDK generation
@@ -12,15 +10,22 @@
12
10
  * Do not edit the class manually.
13
11
  */
14
12
 
13
+ /* tslint:disable */
14
+ /* eslint-disable */
15
15
 
16
16
  import type { Configuration } from './configuration';
17
17
  // Some imports not used depending on template conditions
18
18
  // @ts-ignore
19
- import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
19
+ import type { AxiosPromise, AxiosInstance, AxiosRequestConfig, Method } from 'axios';
20
20
  import globalAxios from 'axios';
21
+ import { KalshiAuth } from './auth';
21
22
 
22
23
  export const BASE_PATH = "https://api.elections.kalshi.com/trade-api/v2".replace(/\/+$/, "");
23
24
 
25
+ /**
26
+ *
27
+ * @export
28
+ */
24
29
  export const COLLECTION_FORMATS = {
25
30
  csv: ",",
26
31
  ssv: " ",
@@ -28,35 +33,64 @@ export const COLLECTION_FORMATS = {
28
33
  pipes: "|",
29
34
  };
30
35
 
36
+ /**
37
+ *
38
+ * @export
39
+ * @interface RequestArgs
40
+ */
31
41
  export interface RequestArgs {
32
42
  url: string;
33
- options: RawAxiosRequestConfig;
43
+ options: AxiosRequestConfig;
34
44
  }
35
45
 
46
+ /**
47
+ *
48
+ * @export
49
+ * @class BaseAPI
50
+ */
36
51
  export class BaseAPI {
37
52
  protected configuration: Configuration | undefined;
53
+ protected auth: KalshiAuth | undefined;
38
54
 
39
55
  constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {
40
56
  if (configuration) {
41
57
  this.configuration = configuration;
42
- this.basePath = configuration.basePath ?? basePath;
58
+ this.basePath = configuration.basePath || this.basePath;
59
+
60
+ // Initialize auth if credentials are provided
61
+ if (configuration.apiKey && (configuration.privateKeyPath || configuration.privateKeyPem)) {
62
+ const privateKey = configuration.privateKeyPem ||
63
+ (configuration.privateKeyPath ? require('fs').readFileSync(configuration.privateKeyPath, 'utf8') : '');
64
+ this.auth = new KalshiAuth(configuration.apiKey, privateKey);
65
+ }
43
66
  }
67
+
68
+ // Add request interceptor for authentication
69
+ this.axios.interceptors.request.use((config) => {
70
+ if (this.auth && config.url && config.method) {
71
+ // Extract path from URL
72
+ const url = new URL(config.url, this.basePath);
73
+ const path = url.pathname;
74
+ const method = config.method.toUpperCase();
75
+
76
+ // Generate and add auth headers
77
+ const authHeaders = this.auth.generateAuthHeaders(method, path);
78
+ Object.assign(config.headers, authHeaders);
79
+ }
80
+ return config;
81
+ });
44
82
  }
45
83
  };
46
84
 
85
+ /**
86
+ *
87
+ * @export
88
+ * @class RequiredError
89
+ * @extends {Error}
90
+ */
47
91
  export class RequiredError extends Error {
92
+ name: "RequiredError" = "RequiredError";
48
93
  constructor(public field: string, msg?: string) {
49
94
  super(msg);
50
- this.name = "RequiredError"
51
95
  }
52
- }
53
-
54
- interface ServerMap {
55
- [key: string]: {
56
- url: string,
57
- description: string,
58
- }[];
59
- }
60
-
61
- export const operationServerMap: ServerMap = {
62
- }
96
+ }
package/common.ts CHANGED
@@ -95,4 +95,4 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
95
95
  const axiosRequestArgs = {...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url};
96
96
  return axios.request<T, R>(axiosRequestArgs);
97
97
  };
98
- }
98
+ }
package/configuration.ts CHANGED
@@ -91,4 +91,4 @@ export class Configuration {
91
91
  const jsonMime: RegExp = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
92
92
  return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
93
93
  }
94
- }
94
+ }
@@ -136,7 +136,7 @@ export declare class ApiKeysApi extends BaseAPI {
136
136
  * @param {*} [options] Override http request option.
137
137
  * @throws {RequiredError}
138
138
  */
139
- createApiKey(createApiKeyRequest: CreateApiKeyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateApiKeyResponse, any>>;
139
+ createApiKey(createApiKeyRequest: CreateApiKeyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateApiKeyResponse, any, {}>>;
140
140
  /**
141
141
  * Delete an existing API key. This endpoint permanently deletes an API key. Once deleted, the key can no longer be used for authentication. This action cannot be undone.
142
142
  * @summary Delete API Key
@@ -144,7 +144,7 @@ export declare class ApiKeysApi extends BaseAPI {
144
144
  * @param {*} [options] Override http request option.
145
145
  * @throws {RequiredError}
146
146
  */
147
- deleteApiKey(apiKey: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
147
+ deleteApiKey(apiKey: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
148
148
  /**
149
149
  * Generate a new API key with an automatically created key pair. This endpoint generates both a public and private RSA key pair. The public key is stored on the platform, while the private key is returned to the user and must be stored securely. The private key cannot be retrieved again.
150
150
  * @summary Generate API Key
@@ -152,12 +152,12 @@ export declare class ApiKeysApi extends BaseAPI {
152
152
  * @param {*} [options] Override http request option.
153
153
  * @throws {RequiredError}
154
154
  */
155
- generateApiKey(generateApiKeyRequest: GenerateApiKeyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerateApiKeyResponse, any>>;
155
+ generateApiKey(generateApiKeyRequest: GenerateApiKeyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerateApiKeyResponse, any, {}>>;
156
156
  /**
157
157
  * Retrieve all API keys associated with the authenticated user. API keys allow programmatic access to the platform without requiring username/password authentication. Each key has a unique identifier and name.
158
158
  * @summary Get API Keys
159
159
  * @param {*} [options] Override http request option.
160
160
  * @throws {RequiredError}
161
161
  */
162
- getApiKeys(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetApiKeysResponse, any>>;
162
+ getApiKeys(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetApiKeysResponse, any, {}>>;
163
163
  }
@@ -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, _b, _c;
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 = (_c = (_b = base_1.operationServerMap['ApiKeysApi.createApiKey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
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, _b, _c;
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 = (_c = (_b = base_1.operationServerMap['ApiKeysApi.deleteApiKey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
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, _b, _c;
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 = (_c = (_b = base_1.operationServerMap['ApiKeysApi.generateApiKey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
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, _b, _c;
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 = (_c = (_b = base_1.operationServerMap['ApiKeysApi.getApiKeys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
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
  },
@@ -307,7 +307,7 @@ export declare class CommunicationsApi extends BaseAPI {
307
307
  * @param {*} [options] Override http request option.
308
308
  * @throws {RequiredError}
309
309
  */
310
- acceptQuote(quoteId: string, acceptQuoteRequest: AcceptQuoteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
310
+ acceptQuote(quoteId: string, acceptQuoteRequest: AcceptQuoteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
311
311
  /**
312
312
  * Confirm a quote. This will start a timer for order execution
313
313
  * @summary Confirm Quote
@@ -315,7 +315,7 @@ export declare class CommunicationsApi extends BaseAPI {
315
315
  * @param {*} [options] Override http request option.
316
316
  * @throws {RequiredError}
317
317
  */
318
- confirmQuote(quoteId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
318
+ confirmQuote(quoteId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
319
319
  /**
320
320
  * Create a quote in response to an RFQ
321
321
  * @summary Create Quote
@@ -323,7 +323,7 @@ export declare class CommunicationsApi extends BaseAPI {
323
323
  * @param {*} [options] Override http request option.
324
324
  * @throws {RequiredError}
325
325
  */
326
- createQuote(createQuoteRequest: CreateQuoteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateQuoteResponse, any>>;
326
+ createQuote(createQuoteRequest: CreateQuoteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateQuoteResponse, any, {}>>;
327
327
  /**
328
328
  * Create a new RFQ
329
329
  * @summary Create RFQ
@@ -331,7 +331,7 @@ export declare class CommunicationsApi extends BaseAPI {
331
331
  * @param {*} [options] Override http request option.
332
332
  * @throws {RequiredError}
333
333
  */
334
- createRFQ(createRFQRequest: CreateRFQRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateRFQResponse, any>>;
334
+ createRFQ(createRFQRequest: CreateRFQRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateRFQResponse, any, {}>>;
335
335
  /**
336
336
  * Delete a quote, which means it can no longer be accepted
337
337
  * @summary Delete Quote
@@ -339,7 +339,7 @@ export declare class CommunicationsApi extends BaseAPI {
339
339
  * @param {*} [options] Override http request option.
340
340
  * @throws {RequiredError}
341
341
  */
342
- deleteQuote(quoteId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
342
+ deleteQuote(quoteId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
343
343
  /**
344
344
  * Delete an RFQ by ID
345
345
  * @summary Delete RFQ
@@ -347,14 +347,14 @@ export declare class CommunicationsApi extends BaseAPI {
347
347
  * @param {*} [options] Override http request option.
348
348
  * @throws {RequiredError}
349
349
  */
350
- deleteRFQ(rfqId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
350
+ deleteRFQ(rfqId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
351
351
  /**
352
352
  * Get the communications ID of the logged-in user
353
353
  * @summary Get Communications ID
354
354
  * @param {*} [options] Override http request option.
355
355
  * @throws {RequiredError}
356
356
  */
357
- getCommunicationsID(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCommunicationsIDResponse, any>>;
357
+ getCommunicationsID(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCommunicationsIDResponse, any, {}>>;
358
358
  /**
359
359
  * Get a particular quote by ID
360
360
  * @summary Get Quote
@@ -362,14 +362,14 @@ export declare class CommunicationsApi extends BaseAPI {
362
362
  * @param {*} [options] Override http request option.
363
363
  * @throws {RequiredError}
364
364
  */
365
- getQuote(quoteId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetQuoteResponse, any>>;
365
+ getQuote(quoteId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetQuoteResponse, any, {}>>;
366
366
  /**
367
367
  * Retrieve all quotes
368
368
  * @summary Get Quotes
369
369
  * @param {*} [options] Override http request option.
370
370
  * @throws {RequiredError}
371
371
  */
372
- getQuotes(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetQuotesResponse, any>>;
372
+ getQuotes(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetQuotesResponse, any, {}>>;
373
373
  /**
374
374
  * Get a single RFQ by ID
375
375
  * @summary Get RFQ
@@ -377,12 +377,12 @@ export declare class CommunicationsApi extends BaseAPI {
377
377
  * @param {*} [options] Override http request option.
378
378
  * @throws {RequiredError}
379
379
  */
380
- getRFQ(rfqId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetRFQResponse, any>>;
380
+ getRFQ(rfqId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetRFQResponse, any, {}>>;
381
381
  /**
382
382
  * Retrieve all RFQs
383
383
  * @summary Get RFQs
384
384
  * @param {*} [options] Override http request option.
385
385
  * @throws {RequiredError}
386
386
  */
387
- getRFQs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetRFQsResponse, any>>;
387
+ getRFQs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetRFQsResponse, any, {}>>;
388
388
  }
@@ -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, _b, _c;
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 = (_c = (_b = base_1.operationServerMap['CommunicationsApi.acceptQuote']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
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, _b, _c;
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 = (_c = (_b = base_1.operationServerMap['CommunicationsApi.confirmQuote']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
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, _b, _c;
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 = (_c = (_b = base_1.operationServerMap['CommunicationsApi.createQuote']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
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, _b, _c;
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 = (_c = (_b = base_1.operationServerMap['CommunicationsApi.createRFQ']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
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, _b, _c;
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 = (_c = (_b = base_1.operationServerMap['CommunicationsApi.deleteQuote']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
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, _b, _c;
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 = (_c = (_b = base_1.operationServerMap['CommunicationsApi.deleteRFQ']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
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, _b, _c;
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 = (_c = (_b = base_1.operationServerMap['CommunicationsApi.getCommunicationsID']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
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, _b, _c;
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 = (_c = (_b = base_1.operationServerMap['CommunicationsApi.getQuote']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
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, _b, _c;
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 = (_c = (_b = base_1.operationServerMap['CommunicationsApi.getQuotes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
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, _b, _c;
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 = (_c = (_b = base_1.operationServerMap['CommunicationsApi.getRFQ']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
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, _b, _c;
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 = (_c = (_b = base_1.operationServerMap['CommunicationsApi.getRFQs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
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
  },
@@ -132,7 +132,7 @@ export declare class EventsApi extends BaseAPI {
132
132
  * @param {*} [options] Override http request option.
133
133
  * @throws {RequiredError}
134
134
  */
135
- getEvent(eventTicker: string, withNestedMarkets?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEventResponse, any>>;
135
+ getEvent(eventTicker: string, withNestedMarkets?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEventResponse, any, {}>>;
136
136
  /**
137
137
  * Get metadata about an event by its ticker
138
138
  * @summary Get Event Metadata
@@ -140,7 +140,7 @@ export declare class EventsApi extends BaseAPI {
140
140
  * @param {*} [options] Override http request option.
141
141
  * @throws {RequiredError}
142
142
  */
143
- getEventMetadata(eventTicker: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEventMetadataResponse, any>>;
143
+ getEventMetadata(eventTicker: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEventMetadataResponse, any, {}>>;
144
144
  /**
145
145
  * Get data about all events. An event represents a real-world occurrence that can be traded on, such as an election, sports game, or economic indicator release. Events contain one or more markets where users can place trades on different outcomes. This endpoint returns a paginated response. Use the \'limit\' parameter to control page size (1-200, defaults to 100). The response includes a \'cursor\' field - pass this value in the \'cursor\' parameter of your next request to get the next page. An empty cursor indicates no more pages are available.
146
146
  * @summary Get Events
@@ -153,5 +153,5 @@ export declare class EventsApi extends BaseAPI {
153
153
  * @param {*} [options] Override http request option.
154
154
  * @throws {RequiredError}
155
155
  */
156
- getEvents(limit?: number, cursor?: string, withNestedMarkets?: boolean, status?: string, seriesTicker?: string, minCloseTs?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEventsResponse, any>>;
156
+ getEvents(limit?: number, cursor?: string, withNestedMarkets?: boolean, status?: string, seriesTicker?: string, minCloseTs?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEventsResponse, any, {}>>;
157
157
  }
@@ -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, _b, _c;
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 = (_c = (_b = base_1.operationServerMap['EventsApi.getEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
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, _b, _c;
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 = (_c = (_b = base_1.operationServerMap['EventsApi.getEventMetadata']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
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, _b, _c;
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 = (_c = (_b = base_1.operationServerMap['EventsApi.getEvents']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
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
  },
@@ -42,7 +42,7 @@ export declare const ExchangeApiAxiosParamCreator: (configuration?: Configuratio
42
42
  */
43
43
  getExchangeStatus: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
44
44
  /**
45
- * There is typically a short delay before exchange events are reflected in the API endpoints. Whenever possible, combine API responses to PUT/POST/DELETE requests with websocket data to obtain the most accurate view of the exchange state. This endpoint provides an approximate indication of when the data from the following endpoints was last validated: GetBalance, GetOrder(s), GetFills, GetPositions
45
+ * There is typically a short delay before exchange events are reflected in the API endpoints. Whenever possible, combine API responses to PUT/POST/DELETE requests with websocket data to obtain the most accurate view of the exchange state. This endpoint provides an approximate indication of when the data from the following endpoints was last validated: GetBalance, GetOrder(s), GetFills, GetPositions
46
46
  * @summary Get User Data Timestamp
47
47
  * @param {*} [options] Override http request option.
48
48
  * @throws {RequiredError}
@@ -75,7 +75,7 @@ export declare const ExchangeApiFp: (configuration?: Configuration) => {
75
75
  */
76
76
  getExchangeStatus(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExchangeStatus>>;
77
77
  /**
78
- * There is typically a short delay before exchange events are reflected in the API endpoints. Whenever possible, combine API responses to PUT/POST/DELETE requests with websocket data to obtain the most accurate view of the exchange state. This endpoint provides an approximate indication of when the data from the following endpoints was last validated: GetBalance, GetOrder(s), GetFills, GetPositions
78
+ * There is typically a short delay before exchange events are reflected in the API endpoints. Whenever possible, combine API responses to PUT/POST/DELETE requests with websocket data to obtain the most accurate view of the exchange state. This endpoint provides an approximate indication of when the data from the following endpoints was last validated: GetBalance, GetOrder(s), GetFills, GetPositions
79
79
  * @summary Get User Data Timestamp
80
80
  * @param {*} [options] Override http request option.
81
81
  * @throws {RequiredError}
@@ -108,7 +108,7 @@ export declare const ExchangeApiFactory: (configuration?: Configuration, basePat
108
108
  */
109
109
  getExchangeStatus(options?: RawAxiosRequestConfig): AxiosPromise<ExchangeStatus>;
110
110
  /**
111
- * There is typically a short delay before exchange events are reflected in the API endpoints. Whenever possible, combine API responses to PUT/POST/DELETE requests with websocket data to obtain the most accurate view of the exchange state. This endpoint provides an approximate indication of when the data from the following endpoints was last validated: GetBalance, GetOrder(s), GetFills, GetPositions
111
+ * There is typically a short delay before exchange events are reflected in the API endpoints. Whenever possible, combine API responses to PUT/POST/DELETE requests with websocket data to obtain the most accurate view of the exchange state. This endpoint provides an approximate indication of when the data from the following endpoints was last validated: GetBalance, GetOrder(s), GetFills, GetPositions
112
112
  * @summary Get User Data Timestamp
113
113
  * @param {*} [options] Override http request option.
114
114
  * @throws {RequiredError}
@@ -125,26 +125,26 @@ export declare class ExchangeApi extends BaseAPI {
125
125
  * @param {*} [options] Override http request option.
126
126
  * @throws {RequiredError}
127
127
  */
128
- getExchangeAnnouncements(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetExchangeAnnouncementsResponse, any>>;
128
+ getExchangeAnnouncements(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetExchangeAnnouncementsResponse, any, {}>>;
129
129
  /**
130
130
  * Get the exchange schedule
131
131
  * @summary Get Exchange Schedule
132
132
  * @param {*} [options] Override http request option.
133
133
  * @throws {RequiredError}
134
134
  */
135
- getExchangeSchedule(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetExchangeScheduleResponse, any>>;
135
+ getExchangeSchedule(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetExchangeScheduleResponse, any, {}>>;
136
136
  /**
137
137
  * Get the exchange status
138
138
  * @summary Get Exchange Status
139
139
  * @param {*} [options] Override http request option.
140
140
  * @throws {RequiredError}
141
141
  */
142
- getExchangeStatus(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExchangeStatus, any>>;
142
+ getExchangeStatus(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExchangeStatus, any, {}>>;
143
143
  /**
144
- * There is typically a short delay before exchange events are reflected in the API endpoints. Whenever possible, combine API responses to PUT/POST/DELETE requests with websocket data to obtain the most accurate view of the exchange state. This endpoint provides an approximate indication of when the data from the following endpoints was last validated: GetBalance, GetOrder(s), GetFills, GetPositions
144
+ * There is typically a short delay before exchange events are reflected in the API endpoints. Whenever possible, combine API responses to PUT/POST/DELETE requests with websocket data to obtain the most accurate view of the exchange state. This endpoint provides an approximate indication of when the data from the following endpoints was last validated: GetBalance, GetOrder(s), GetFills, GetPositions
145
145
  * @summary Get User Data Timestamp
146
146
  * @param {*} [options] Override http request option.
147
147
  * @throws {RequiredError}
148
148
  */
149
- getUserDataTimestamp(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserDataTimestampResponse, any>>;
149
+ getUserDataTimestamp(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserDataTimestampResponse, any, {}>>;
150
150
  }