kalshi-typescript 2.1.3 → 3.0.0

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 (880) hide show
  1. package/.openapi-generator/FILES +112 -42
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +110 -50
  4. package/api/api-keys-api.ts +52 -34
  5. package/api/collection-api.ts +506 -0
  6. package/api/communications-api.ts +284 -102
  7. package/api/events-api.ts +402 -53
  8. package/api/exchange-api.ts +99 -24
  9. package/api/fcm-api.ts +337 -0
  10. package/api/incentive-programs-api.ts +168 -0
  11. package/api/live-data-api.ts +207 -0
  12. package/api/market-api.ts +872 -0
  13. package/api/markets-api.ts +17 -18
  14. package/api/milestone-api.ts +258 -0
  15. package/api/milestones-api.ts +2 -3
  16. package/api/multivariate-api.ts +505 -0
  17. package/api/multivariate-collections-api.ts +7 -8
  18. package/api/order-groups-api.ts +454 -0
  19. package/api/orders-api.ts +941 -0
  20. package/api/portfolio-api.ts +206 -1357
  21. package/api/search-api.ts +183 -0
  22. package/api/series-api.ts +2 -3
  23. package/api/structured-targets-api.ts +44 -38
  24. package/api.ts +13 -8
  25. package/auth.ts +1 -1
  26. package/base.ts +8 -8
  27. package/common.ts +4 -4
  28. package/configuration.ts +4 -5
  29. package/dist/api/api-keys-api.d.ts +20 -20
  30. package/dist/api/api-keys-api.js +44 -32
  31. package/dist/api/collection-api.d.ts +242 -0
  32. package/dist/api/collection-api.js +467 -0
  33. package/dist/api/communications-api.d.ts +124 -60
  34. package/dist/api/communications-api.js +246 -102
  35. package/dist/api/events-api.d.ts +210 -36
  36. package/dist/api/events-api.js +370 -50
  37. package/dist/api/exchange-api.d.ts +57 -20
  38. package/dist/api/exchange-api.js +92 -23
  39. package/dist/api/fcm-api.d.ts +164 -0
  40. package/dist/api/fcm-api.js +313 -0
  41. package/dist/api/incentive-programs-api.d.ts +93 -0
  42. package/dist/api/incentive-programs-api.js +164 -0
  43. package/dist/api/live-data-api.d.ts +104 -0
  44. package/dist/api/live-data-api.js +205 -0
  45. package/dist/api/market-api.d.ts +417 -0
  46. package/dist/api/market-api.js +804 -0
  47. package/dist/api/milestone-api.d.ts +128 -0
  48. package/dist/api/milestone-api.js +249 -0
  49. package/dist/api/multivariate-api.d.ts +242 -0
  50. package/dist/api/multivariate-api.js +467 -0
  51. package/dist/api/order-groups-api.d.ts +198 -0
  52. package/dist/api/order-groups-api.js +421 -0
  53. package/dist/api/orders-api.d.ts +405 -0
  54. package/dist/api/orders-api.js +844 -0
  55. package/dist/api/portfolio-api.d.ts +83 -601
  56. package/dist/api/portfolio-api.js +154 -1203
  57. package/dist/api/search-api.d.ts +92 -0
  58. package/dist/api/search-api.js +182 -0
  59. package/dist/api/structured-targets-api.d.ts +32 -24
  60. package/dist/api/structured-targets-api.js +43 -35
  61. package/dist/api.d.ts +13 -8
  62. package/dist/api.js +13 -8
  63. package/dist/base.d.ts +4 -4
  64. package/dist/base.js +4 -4
  65. package/dist/common.d.ts +4 -4
  66. package/dist/common.js +4 -4
  67. package/dist/configuration.d.ts +4 -4
  68. package/dist/configuration.js +4 -4
  69. package/dist/esm/api/api-keys-api.d.ts +20 -20
  70. package/dist/esm/api/api-keys-api.js +45 -33
  71. package/dist/esm/api/collection-api.d.ts +242 -0
  72. package/dist/esm/api/collection-api.js +460 -0
  73. package/dist/esm/api/communications-api.d.ts +124 -60
  74. package/dist/esm/api/communications-api.js +247 -103
  75. package/dist/esm/api/events-api.d.ts +210 -36
  76. package/dist/esm/api/events-api.js +370 -50
  77. package/dist/esm/api/exchange-api.d.ts +57 -20
  78. package/dist/esm/api/exchange-api.js +93 -24
  79. package/dist/esm/api/fcm-api.d.ts +164 -0
  80. package/dist/esm/api/fcm-api.js +306 -0
  81. package/dist/esm/api/incentive-programs-api.d.ts +93 -0
  82. package/dist/esm/api/incentive-programs-api.js +157 -0
  83. package/dist/esm/api/live-data-api.d.ts +104 -0
  84. package/dist/esm/api/live-data-api.js +198 -0
  85. package/dist/esm/api/market-api.d.ts +417 -0
  86. package/dist/esm/api/market-api.js +797 -0
  87. package/dist/esm/api/milestone-api.d.ts +128 -0
  88. package/dist/esm/api/milestone-api.js +242 -0
  89. package/dist/esm/api/multivariate-api.d.ts +242 -0
  90. package/dist/esm/api/multivariate-api.js +460 -0
  91. package/dist/esm/api/order-groups-api.d.ts +198 -0
  92. package/dist/esm/api/order-groups-api.js +414 -0
  93. package/dist/esm/api/orders-api.d.ts +405 -0
  94. package/dist/esm/api/orders-api.js +837 -0
  95. package/dist/esm/api/portfolio-api.d.ts +83 -601
  96. package/dist/esm/api/portfolio-api.js +153 -1202
  97. package/dist/esm/api/search-api.d.ts +92 -0
  98. package/dist/esm/api/search-api.js +175 -0
  99. package/dist/esm/api/structured-targets-api.d.ts +32 -24
  100. package/dist/esm/api/structured-targets-api.js +44 -36
  101. package/dist/esm/api.d.ts +13 -8
  102. package/dist/esm/api.js +13 -8
  103. package/dist/esm/base.d.ts +4 -4
  104. package/dist/esm/base.js +4 -4
  105. package/dist/esm/common.d.ts +4 -4
  106. package/dist/esm/common.js +4 -4
  107. package/dist/esm/configuration.d.ts +4 -4
  108. package/dist/esm/configuration.js +4 -4
  109. package/dist/esm/index.d.ts +4 -4
  110. package/dist/esm/index.js +4 -4
  111. package/dist/esm/models/accept-quote-request.d.ts +13 -5
  112. package/dist/esm/models/accept-quote-request.js +8 -5
  113. package/dist/esm/models/amend-order-request.d.ts +27 -10
  114. package/dist/esm/models/amend-order-request.js +4 -4
  115. package/dist/esm/models/amend-order-response.d.ts +6 -5
  116. package/dist/esm/models/amend-order-response.js +4 -4
  117. package/dist/esm/models/announcement.d.ts +25 -13
  118. package/dist/esm/models/announcement.js +8 -8
  119. package/dist/esm/models/api-key.d.ts +4 -8
  120. package/dist/esm/models/api-key.js +4 -4
  121. package/dist/esm/models/associated-event.d.ts +33 -0
  122. package/dist/esm/models/associated-event.js +14 -0
  123. package/dist/esm/models/batch-cancel-orders-individual-response.d.ts +25 -0
  124. package/dist/esm/models/batch-cancel-orders-individual-response.js +14 -0
  125. package/dist/esm/models/batch-cancel-orders-request.d.ts +8 -5
  126. package/dist/esm/models/batch-cancel-orders-request.js +4 -4
  127. package/dist/esm/models/batch-cancel-orders-response.d.ts +6 -6
  128. package/dist/esm/models/batch-cancel-orders-response.js +4 -4
  129. package/dist/esm/models/batch-create-orders-individual-response.d.ts +18 -0
  130. package/dist/esm/models/batch-create-orders-individual-response.js +14 -0
  131. package/dist/esm/models/batch-create-orders-request.d.ts +4 -4
  132. package/dist/esm/models/batch-create-orders-request.js +4 -4
  133. package/dist/esm/models/batch-create-orders-response.d.ts +6 -6
  134. package/dist/esm/models/batch-create-orders-response.js +4 -4
  135. package/dist/esm/models/batch-get-market-candlesticks-response.d.ts +18 -0
  136. package/dist/esm/models/batch-get-market-candlesticks-response.js +14 -0
  137. package/dist/esm/models/bid-ask-distribution.d.ts +45 -0
  138. package/dist/esm/models/bid-ask-distribution.js +14 -0
  139. package/dist/esm/models/cancel-order-response.d.ts +6 -6
  140. package/dist/esm/models/cancel-order-response.js +4 -4
  141. package/dist/esm/models/create-api-key-request.d.ts +4 -4
  142. package/dist/esm/models/create-api-key-request.js +4 -4
  143. package/dist/esm/models/create-api-key-response.d.ts +4 -4
  144. package/dist/esm/models/create-api-key-response.js +4 -4
  145. package/dist/esm/models/create-market-in-multivariate-event-collection-request.d.ts +18 -0
  146. package/dist/esm/models/create-market-in-multivariate-event-collection-request.js +14 -0
  147. package/dist/esm/models/create-market-in-multivariate-event-collection-response.d.ts +21 -0
  148. package/dist/esm/models/create-market-in-multivariate-event-collection-response.js +14 -0
  149. package/dist/esm/models/create-order-group-request.d.ts +5 -5
  150. package/dist/esm/models/create-order-group-request.js +4 -4
  151. package/dist/esm/models/create-order-group-response.d.ts +5 -5
  152. package/dist/esm/models/create-order-group-response.js +4 -4
  153. package/dist/esm/models/create-order-request.d.ts +34 -9
  154. package/dist/esm/models/create-order-request.js +9 -4
  155. package/dist/esm/models/create-order-response.d.ts +5 -5
  156. package/dist/esm/models/create-order-response.js +4 -4
  157. package/dist/esm/models/create-quote-request.d.ts +19 -6
  158. package/dist/esm/models/create-quote-request.js +4 -4
  159. package/dist/esm/models/create-quote-response.d.ts +8 -6
  160. package/dist/esm/models/create-quote-response.js +4 -4
  161. package/dist/esm/models/create-rfqrequest.d.ts +28 -13
  162. package/dist/esm/models/create-rfqrequest.js +5 -8
  163. package/dist/esm/models/create-rfqresponse.d.ts +8 -6
  164. package/dist/esm/models/create-rfqresponse.js +4 -4
  165. package/dist/esm/models/daily-schedule.d.ts +12 -6
  166. package/dist/esm/models/daily-schedule.js +4 -4
  167. package/dist/esm/models/decrease-order-request.d.ts +6 -5
  168. package/dist/esm/models/decrease-order-request.js +4 -4
  169. package/dist/esm/models/decrease-order-response.d.ts +5 -5
  170. package/dist/esm/models/decrease-order-response.js +4 -4
  171. package/dist/esm/models/error-response.d.ts +20 -6
  172. package/dist/esm/models/error-response.js +4 -4
  173. package/dist/esm/models/event-data.d.ts +62 -0
  174. package/dist/esm/models/event-data.js +14 -0
  175. package/dist/esm/models/event-position.d.ts +24 -24
  176. package/dist/esm/models/event-position.js +4 -4
  177. package/dist/esm/models/exchange-status.d.ts +16 -6
  178. package/dist/esm/models/exchange-status.js +4 -4
  179. package/dist/esm/models/fill.d.ts +71 -12
  180. package/dist/esm/models/fill.js +4 -4
  181. package/dist/esm/models/forecast-percentiles-point.d.ts +30 -0
  182. package/dist/esm/models/forecast-percentiles-point.js +14 -0
  183. package/dist/esm/models/generate-api-key-request.d.ts +4 -4
  184. package/dist/esm/models/generate-api-key-request.js +4 -4
  185. package/dist/esm/models/generate-api-key-response.d.ts +4 -4
  186. package/dist/esm/models/generate-api-key-response.js +4 -4
  187. package/dist/esm/models/get-api-keys-response.d.ts +4 -4
  188. package/dist/esm/models/get-api-keys-response.js +4 -4
  189. package/dist/esm/models/get-balance-response.d.ts +14 -6
  190. package/dist/esm/models/get-balance-response.js +4 -4
  191. package/dist/esm/models/get-communications-idresponse.d.ts +6 -6
  192. package/dist/esm/models/get-communications-idresponse.js +4 -4
  193. package/dist/esm/models/get-event-candlesticks-response.d.ts +26 -0
  194. package/dist/esm/models/get-event-candlesticks-response.js +14 -0
  195. package/dist/esm/models/get-event-forecast-percentiles-history-response.d.ts +18 -0
  196. package/dist/esm/models/get-event-forecast-percentiles-history-response.js +14 -0
  197. package/dist/esm/models/get-event-metadata-response.d.ts +30 -5
  198. package/dist/esm/models/get-event-metadata-response.js +4 -4
  199. package/dist/esm/models/get-event-response.d.ts +10 -7
  200. package/dist/esm/models/get-event-response.js +4 -4
  201. package/dist/esm/models/get-events-candlesticks-response-events-inner.d.ts +30 -0
  202. package/dist/esm/models/get-events-candlesticks-response-events-inner.js +14 -0
  203. package/dist/esm/models/get-events-candlesticks-response.d.ts +18 -0
  204. package/dist/esm/models/get-events-candlesticks-response.js +14 -0
  205. package/dist/esm/models/get-events-response.d.ts +18 -7
  206. package/dist/esm/models/get-events-response.js +4 -4
  207. package/dist/esm/models/get-exchange-announcements-response.d.ts +8 -5
  208. package/dist/esm/models/get-exchange-announcements-response.js +4 -4
  209. package/dist/esm/models/get-exchange-schedule-response.d.ts +6 -6
  210. package/dist/esm/models/get-exchange-schedule-response.js +4 -4
  211. package/dist/esm/models/get-fills-response.d.ts +6 -6
  212. package/dist/esm/models/get-fills-response.js +4 -4
  213. package/dist/esm/models/get-filters-by-sports-response.d.ts +24 -0
  214. package/dist/esm/models/get-filters-by-sports-response.js +14 -0
  215. package/dist/esm/models/get-incentive-programs-response.d.ts +19 -0
  216. package/dist/esm/models/get-incentive-programs-response.js +14 -0
  217. package/dist/esm/models/get-live-data-response.d.ts +15 -0
  218. package/dist/esm/models/get-live-data-response.js +14 -0
  219. package/dist/esm/models/get-live-datas-response.d.ts +15 -0
  220. package/dist/esm/models/get-live-datas-response.js +14 -0
  221. package/dist/esm/models/get-market-candlesticks-response.d.ts +13 -6
  222. package/dist/esm/models/get-market-candlesticks-response.js +4 -4
  223. package/dist/esm/models/get-market-orderbook-response.d.ts +6 -6
  224. package/dist/esm/models/get-market-orderbook-response.js +4 -4
  225. package/dist/esm/models/get-market-response.d.ts +5 -5
  226. package/dist/esm/models/get-market-response.js +4 -4
  227. package/dist/esm/models/get-markets-response.d.ts +6 -6
  228. package/dist/esm/models/get-markets-response.js +4 -4
  229. package/dist/esm/models/get-milestone-response.d.ts +5 -5
  230. package/dist/esm/models/get-milestone-response.js +4 -4
  231. package/dist/esm/models/get-milestones-response.d.ts +12 -5
  232. package/dist/esm/models/get-milestones-response.js +4 -4
  233. package/dist/esm/models/get-multivariate-event-collection-lookup-history-response.d.ts +18 -0
  234. package/dist/esm/models/get-multivariate-event-collection-lookup-history-response.js +14 -0
  235. package/dist/esm/models/get-multivariate-event-collection-response.d.ts +5 -5
  236. package/dist/esm/models/get-multivariate-event-collection-response.js +4 -4
  237. package/dist/esm/models/get-multivariate-event-collections-response.d.ts +12 -5
  238. package/dist/esm/models/get-multivariate-event-collections-response.js +4 -4
  239. package/dist/esm/models/get-multivariate-events-response.d.ts +22 -0
  240. package/dist/esm/models/get-multivariate-events-response.js +14 -0
  241. package/dist/esm/models/get-order-group-response.d.ts +6 -6
  242. package/dist/esm/models/get-order-group-response.js +4 -4
  243. package/dist/esm/models/get-order-groups-response.d.ts +4 -5
  244. package/dist/esm/models/get-order-groups-response.js +4 -4
  245. package/dist/esm/models/get-order-queue-position-response.d.ts +8 -5
  246. package/dist/esm/models/get-order-queue-position-response.js +4 -4
  247. package/dist/esm/models/get-order-queue-positions-response.d.ts +18 -0
  248. package/dist/esm/models/get-order-queue-positions-response.js +14 -0
  249. package/dist/esm/models/get-order-response.d.ts +4 -4
  250. package/dist/esm/models/get-order-response.js +4 -4
  251. package/dist/esm/models/get-orders-response.d.ts +6 -6
  252. package/dist/esm/models/get-orders-response.js +4 -4
  253. package/dist/esm/models/get-portfolio-resting-order-total-value-response.d.ts +17 -0
  254. package/dist/esm/models/get-portfolio-resting-order-total-value-response.js +14 -0
  255. package/dist/esm/models/get-positions-response.d.ts +16 -7
  256. package/dist/esm/models/get-positions-response.js +4 -4
  257. package/dist/esm/models/get-quote-response.d.ts +5 -5
  258. package/dist/esm/models/get-quote-response.js +4 -4
  259. package/dist/esm/models/get-quotes-response.d.ts +12 -5
  260. package/dist/esm/models/get-quotes-response.js +4 -4
  261. package/dist/esm/models/get-rfqresponse.d.ts +5 -5
  262. package/dist/esm/models/get-rfqresponse.js +4 -4
  263. package/dist/esm/models/get-rfqs-response.d.ts +12 -5
  264. package/dist/esm/models/get-rfqs-response.js +4 -4
  265. package/dist/esm/models/get-series-fee-changes-response.d.ts +15 -0
  266. package/dist/esm/models/get-series-fee-changes-response.js +14 -0
  267. package/dist/esm/models/get-series-list-response.d.ts +15 -0
  268. package/dist/esm/models/get-series-list-response.js +14 -0
  269. package/dist/esm/models/get-series-response.d.ts +5 -5
  270. package/dist/esm/models/get-series-response.js +4 -4
  271. package/dist/esm/models/get-settlements-response.d.ts +5 -5
  272. package/dist/esm/models/get-settlements-response.js +4 -4
  273. package/dist/esm/models/get-structured-target-response.d.ts +4 -4
  274. package/dist/esm/models/get-structured-target-response.js +4 -4
  275. package/dist/esm/models/get-structured-targets-response.d.ts +8 -4
  276. package/dist/esm/models/get-structured-targets-response.js +4 -4
  277. package/dist/esm/models/get-tags-for-series-categories-response.d.ts +19 -0
  278. package/dist/esm/models/get-tags-for-series-categories-response.js +14 -0
  279. package/dist/esm/models/get-trades-response.d.ts +6 -6
  280. package/dist/esm/models/get-trades-response.js +4 -4
  281. package/dist/esm/models/get-user-data-timestamp-response.d.ts +8 -5
  282. package/dist/esm/models/get-user-data-timestamp-response.js +4 -4
  283. package/dist/esm/models/incentive-program.d.ts +54 -0
  284. package/dist/esm/models/incentive-program.js +17 -0
  285. package/dist/esm/models/index.d.ts +47 -17
  286. package/dist/esm/models/index.js +47 -17
  287. package/dist/esm/models/live-data.d.ts +27 -0
  288. package/dist/esm/models/live-data.js +14 -0
  289. package/dist/esm/models/lookup-point.d.ts +30 -0
  290. package/dist/esm/models/lookup-point.js +14 -0
  291. package/dist/esm/models/lookup-tickers-for-market-in-multivariate-event-collection-request.d.ts +18 -0
  292. package/dist/esm/models/lookup-tickers-for-market-in-multivariate-event-collection-request.js +14 -0
  293. package/dist/esm/models/lookup-tickers-for-market-in-multivariate-event-collection-response.d.ts +21 -0
  294. package/dist/esm/models/lookup-tickers-for-market-in-multivariate-event-collection-response.js +14 -0
  295. package/dist/esm/models/maintenance-window.d.ts +21 -0
  296. package/dist/esm/models/maintenance-window.js +14 -0
  297. package/dist/esm/models/market-candlestick.d.ts +30 -0
  298. package/dist/esm/models/market-candlestick.js +14 -0
  299. package/dist/esm/models/market-candlesticks-response.d.ts +22 -0
  300. package/dist/esm/models/market-candlesticks-response.js +14 -0
  301. package/dist/esm/models/market-metadata.d.ts +25 -0
  302. package/dist/esm/models/market-metadata.js +14 -0
  303. package/dist/esm/models/market-position.d.ts +61 -0
  304. package/dist/esm/models/market-position.js +14 -0
  305. package/dist/esm/models/market.d.ts +219 -26
  306. package/dist/esm/models/market.js +21 -4
  307. package/dist/esm/models/milestone.d.ts +54 -7
  308. package/dist/esm/models/milestone.js +4 -4
  309. package/dist/esm/models/multivariate-event-collection.d.ts +61 -9
  310. package/dist/esm/models/multivariate-event-collection.js +4 -4
  311. package/dist/esm/models/mve-selected-leg.d.ts +25 -0
  312. package/dist/esm/models/mve-selected-leg.js +14 -0
  313. package/dist/esm/models/order-group.d.ts +5 -5
  314. package/dist/esm/models/order-group.js +4 -4
  315. package/dist/esm/models/order-queue-position.d.ts +25 -0
  316. package/dist/esm/models/order-queue-position.js +14 -0
  317. package/dist/esm/models/order-status.d.ts +20 -0
  318. package/dist/esm/models/order-status.js +21 -0
  319. package/dist/esm/models/order.d.ts +75 -29
  320. package/dist/esm/models/order.js +4 -10
  321. package/dist/esm/models/orderbook.d.ts +17 -0
  322. package/dist/esm/models/orderbook.js +14 -0
  323. package/dist/esm/models/percentile-point.d.ts +29 -0
  324. package/dist/esm/models/percentile-point.js +14 -0
  325. package/dist/esm/models/price-distribution.d.ts +77 -0
  326. package/dist/esm/models/price-distribution.js +14 -0
  327. package/dist/esm/models/price-range.d.ts +25 -0
  328. package/dist/esm/models/price-range.js +14 -0
  329. package/dist/esm/models/quote.d.ts +116 -17
  330. package/dist/esm/models/quote.js +14 -7
  331. package/dist/esm/models/rfq.d.ts +65 -16
  332. package/dist/esm/models/rfq.js +7 -7
  333. package/dist/esm/models/schedule.d.ts +23 -0
  334. package/dist/esm/models/schedule.js +14 -0
  335. package/dist/esm/models/scope-list.d.ts +17 -0
  336. package/dist/esm/models/scope-list.js +14 -0
  337. package/dist/esm/models/self-trade-prevention-type.d.ts +19 -0
  338. package/dist/esm/models/self-trade-prevention-type.js +20 -0
  339. package/dist/esm/models/series-fee-change.d.ts +39 -0
  340. package/dist/esm/models/series-fee-change.js +18 -0
  341. package/dist/esm/models/series.d.ts +57 -9
  342. package/dist/esm/models/series.js +9 -5
  343. package/dist/esm/models/settlement-source.d.ts +21 -0
  344. package/dist/esm/models/settlement-source.js +14 -0
  345. package/dist/esm/models/settlement.d.ts +48 -12
  346. package/dist/esm/models/settlement.js +8 -6
  347. package/dist/esm/models/sport-filter-details.d.ts +24 -0
  348. package/dist/esm/models/sport-filter-details.js +14 -0
  349. package/dist/esm/models/structured-target.d.ts +28 -7
  350. package/dist/esm/models/structured-target.js +4 -4
  351. package/dist/esm/models/ticker-pair.d.ts +30 -0
  352. package/dist/esm/models/ticker-pair.js +17 -0
  353. package/dist/esm/models/trade.d.ts +45 -11
  354. package/dist/esm/models/trade.js +6 -6
  355. package/dist/esm/models/weekly-schedule.d.ts +50 -0
  356. package/dist/esm/models/weekly-schedule.js +14 -0
  357. package/dist/index.d.ts +4 -4
  358. package/dist/index.js +4 -4
  359. package/dist/models/accept-quote-request.d.ts +13 -5
  360. package/dist/models/accept-quote-request.js +9 -4
  361. package/dist/models/amend-order-request.d.ts +27 -10
  362. package/dist/models/amend-order-request.js +4 -4
  363. package/dist/models/amend-order-response.d.ts +6 -5
  364. package/dist/models/amend-order-response.js +4 -4
  365. package/dist/models/announcement.d.ts +25 -13
  366. package/dist/models/announcement.js +9 -9
  367. package/dist/models/api-key.d.ts +4 -8
  368. package/dist/models/api-key.js +4 -4
  369. package/dist/models/associated-event.d.ts +33 -0
  370. package/dist/models/associated-event.js +15 -0
  371. package/dist/models/batch-cancel-orders-individual-response.d.ts +25 -0
  372. package/dist/models/batch-cancel-orders-individual-response.js +15 -0
  373. package/dist/models/batch-cancel-orders-request.d.ts +8 -5
  374. package/dist/models/batch-cancel-orders-request.js +4 -4
  375. package/dist/models/batch-cancel-orders-response.d.ts +6 -6
  376. package/dist/models/batch-cancel-orders-response.js +4 -4
  377. package/dist/models/batch-create-orders-individual-response.d.ts +18 -0
  378. package/dist/models/batch-create-orders-individual-response.js +15 -0
  379. package/dist/models/batch-create-orders-request.d.ts +4 -4
  380. package/dist/models/batch-create-orders-request.js +4 -4
  381. package/dist/models/batch-create-orders-response.d.ts +6 -6
  382. package/dist/models/batch-create-orders-response.js +4 -4
  383. package/dist/models/batch-get-market-candlesticks-response.d.ts +18 -0
  384. package/dist/models/batch-get-market-candlesticks-response.js +15 -0
  385. package/dist/models/bid-ask-distribution.d.ts +45 -0
  386. package/dist/models/bid-ask-distribution.js +15 -0
  387. package/dist/models/cancel-order-response.d.ts +6 -6
  388. package/dist/models/cancel-order-response.js +4 -4
  389. package/dist/models/create-api-key-request.d.ts +4 -4
  390. package/dist/models/create-api-key-request.js +4 -4
  391. package/dist/models/create-api-key-response.d.ts +4 -4
  392. package/dist/models/create-api-key-response.js +4 -4
  393. package/dist/models/create-market-in-multivariate-event-collection-request.d.ts +18 -0
  394. package/dist/models/create-market-in-multivariate-event-collection-request.js +15 -0
  395. package/dist/models/create-market-in-multivariate-event-collection-response.d.ts +21 -0
  396. package/dist/models/create-market-in-multivariate-event-collection-response.js +15 -0
  397. package/dist/models/create-order-group-request.d.ts +5 -5
  398. package/dist/models/create-order-group-request.js +4 -4
  399. package/dist/models/create-order-group-response.d.ts +5 -5
  400. package/dist/models/create-order-group-response.js +4 -4
  401. package/dist/models/create-order-request.d.ts +34 -9
  402. package/dist/models/create-order-request.js +10 -5
  403. package/dist/models/create-order-response.d.ts +5 -5
  404. package/dist/models/create-order-response.js +4 -4
  405. package/dist/models/create-quote-request.d.ts +19 -6
  406. package/dist/models/create-quote-request.js +4 -4
  407. package/dist/models/create-quote-response.d.ts +8 -6
  408. package/dist/models/create-quote-response.js +4 -4
  409. package/dist/models/create-rfqrequest.d.ts +28 -13
  410. package/dist/models/create-rfqrequest.js +4 -9
  411. package/dist/models/create-rfqresponse.d.ts +8 -6
  412. package/dist/models/create-rfqresponse.js +4 -4
  413. package/dist/models/daily-schedule.d.ts +12 -6
  414. package/dist/models/daily-schedule.js +4 -4
  415. package/dist/models/decrease-order-request.d.ts +6 -5
  416. package/dist/models/decrease-order-request.js +4 -4
  417. package/dist/models/decrease-order-response.d.ts +5 -5
  418. package/dist/models/decrease-order-response.js +4 -4
  419. package/dist/models/error-response.d.ts +20 -6
  420. package/dist/models/error-response.js +4 -4
  421. package/dist/models/event-data.d.ts +62 -0
  422. package/dist/models/event-data.js +15 -0
  423. package/dist/models/event-position.d.ts +24 -24
  424. package/dist/models/event-position.js +4 -4
  425. package/dist/models/exchange-status.d.ts +16 -6
  426. package/dist/models/exchange-status.js +4 -4
  427. package/dist/models/fill.d.ts +71 -12
  428. package/dist/models/fill.js +4 -4
  429. package/dist/models/forecast-percentiles-point.d.ts +30 -0
  430. package/dist/models/forecast-percentiles-point.js +15 -0
  431. package/dist/models/generate-api-key-request.d.ts +4 -4
  432. package/dist/models/generate-api-key-request.js +4 -4
  433. package/dist/models/generate-api-key-response.d.ts +4 -4
  434. package/dist/models/generate-api-key-response.js +4 -4
  435. package/dist/models/get-api-keys-response.d.ts +4 -4
  436. package/dist/models/get-api-keys-response.js +4 -4
  437. package/dist/models/get-balance-response.d.ts +14 -6
  438. package/dist/models/get-balance-response.js +4 -4
  439. package/dist/models/get-communications-idresponse.d.ts +6 -6
  440. package/dist/models/get-communications-idresponse.js +4 -4
  441. package/dist/models/get-event-candlesticks-response.d.ts +26 -0
  442. package/dist/models/get-event-candlesticks-response.js +15 -0
  443. package/dist/models/get-event-forecast-percentiles-history-response.d.ts +18 -0
  444. package/dist/models/get-event-forecast-percentiles-history-response.js +15 -0
  445. package/dist/models/get-event-metadata-response.d.ts +30 -5
  446. package/dist/models/get-event-metadata-response.js +4 -4
  447. package/dist/models/get-event-response.d.ts +10 -7
  448. package/dist/models/get-event-response.js +4 -4
  449. package/dist/models/get-events-candlesticks-response-events-inner.d.ts +30 -0
  450. package/dist/models/get-events-candlesticks-response-events-inner.js +15 -0
  451. package/dist/models/get-events-candlesticks-response.d.ts +18 -0
  452. package/dist/models/get-events-candlesticks-response.js +15 -0
  453. package/dist/models/get-events-response.d.ts +18 -7
  454. package/dist/models/get-events-response.js +4 -4
  455. package/dist/models/get-exchange-announcements-response.d.ts +8 -5
  456. package/dist/models/get-exchange-announcements-response.js +4 -4
  457. package/dist/models/get-exchange-schedule-response.d.ts +6 -6
  458. package/dist/models/get-exchange-schedule-response.js +4 -4
  459. package/dist/models/get-fills-response.d.ts +6 -6
  460. package/dist/models/get-fills-response.js +4 -4
  461. package/dist/models/get-filters-by-sports-response.d.ts +24 -0
  462. package/dist/models/get-filters-by-sports-response.js +15 -0
  463. package/dist/models/get-incentive-programs-response.d.ts +19 -0
  464. package/dist/models/get-incentive-programs-response.js +15 -0
  465. package/dist/models/get-live-data-response.d.ts +15 -0
  466. package/dist/models/get-live-data-response.js +15 -0
  467. package/dist/models/get-live-datas-response.d.ts +15 -0
  468. package/dist/models/get-live-datas-response.js +15 -0
  469. package/dist/models/get-market-candlesticks-response.d.ts +13 -6
  470. package/dist/models/get-market-candlesticks-response.js +4 -4
  471. package/dist/models/get-market-orderbook-response.d.ts +6 -6
  472. package/dist/models/get-market-orderbook-response.js +4 -4
  473. package/dist/models/get-market-response.d.ts +5 -5
  474. package/dist/models/get-market-response.js +4 -4
  475. package/dist/models/get-markets-response.d.ts +6 -6
  476. package/dist/models/get-markets-response.js +4 -4
  477. package/dist/models/get-milestone-response.d.ts +5 -5
  478. package/dist/models/get-milestone-response.js +4 -4
  479. package/dist/models/get-milestones-response.d.ts +12 -5
  480. package/dist/models/get-milestones-response.js +4 -4
  481. package/dist/models/get-multivariate-event-collection-lookup-history-response.d.ts +18 -0
  482. package/dist/models/get-multivariate-event-collection-lookup-history-response.js +15 -0
  483. package/dist/models/get-multivariate-event-collection-response.d.ts +5 -5
  484. package/dist/models/get-multivariate-event-collection-response.js +4 -4
  485. package/dist/models/get-multivariate-event-collections-response.d.ts +12 -5
  486. package/dist/models/get-multivariate-event-collections-response.js +4 -4
  487. package/dist/models/get-multivariate-events-response.d.ts +22 -0
  488. package/dist/models/get-multivariate-events-response.js +15 -0
  489. package/dist/models/get-order-group-response.d.ts +6 -6
  490. package/dist/models/get-order-group-response.js +4 -4
  491. package/dist/models/get-order-groups-response.d.ts +4 -5
  492. package/dist/models/get-order-groups-response.js +4 -4
  493. package/dist/models/get-order-queue-position-response.d.ts +8 -5
  494. package/dist/models/get-order-queue-position-response.js +4 -4
  495. package/dist/models/get-order-queue-positions-response.d.ts +18 -0
  496. package/dist/models/get-order-queue-positions-response.js +15 -0
  497. package/dist/models/get-order-response.d.ts +4 -4
  498. package/dist/models/get-order-response.js +4 -4
  499. package/dist/models/get-orders-response.d.ts +6 -6
  500. package/dist/models/get-orders-response.js +4 -4
  501. package/dist/models/get-portfolio-resting-order-total-value-response.d.ts +17 -0
  502. package/dist/models/get-portfolio-resting-order-total-value-response.js +15 -0
  503. package/dist/models/get-positions-response.d.ts +16 -7
  504. package/dist/models/get-positions-response.js +4 -4
  505. package/dist/models/get-quote-response.d.ts +5 -5
  506. package/dist/models/get-quote-response.js +4 -4
  507. package/dist/models/get-quotes-response.d.ts +12 -5
  508. package/dist/models/get-quotes-response.js +4 -4
  509. package/dist/models/get-rfqresponse.d.ts +5 -5
  510. package/dist/models/get-rfqresponse.js +4 -4
  511. package/dist/models/get-rfqs-response.d.ts +12 -5
  512. package/dist/models/get-rfqs-response.js +4 -4
  513. package/dist/models/get-series-fee-changes-response.d.ts +15 -0
  514. package/dist/models/get-series-fee-changes-response.js +15 -0
  515. package/dist/models/get-series-list-response.d.ts +15 -0
  516. package/dist/models/get-series-list-response.js +15 -0
  517. package/dist/models/get-series-response.d.ts +5 -5
  518. package/dist/models/get-series-response.js +4 -4
  519. package/dist/models/get-settlements-response.d.ts +5 -5
  520. package/dist/models/get-settlements-response.js +4 -4
  521. package/dist/models/get-structured-target-response.d.ts +4 -4
  522. package/dist/models/get-structured-target-response.js +4 -4
  523. package/dist/models/get-structured-targets-response.d.ts +8 -4
  524. package/dist/models/get-structured-targets-response.js +4 -4
  525. package/dist/models/get-tags-for-series-categories-response.d.ts +19 -0
  526. package/dist/models/get-tags-for-series-categories-response.js +15 -0
  527. package/dist/models/get-trades-response.d.ts +6 -6
  528. package/dist/models/get-trades-response.js +4 -4
  529. package/dist/models/get-user-data-timestamp-response.d.ts +8 -5
  530. package/dist/models/get-user-data-timestamp-response.js +4 -4
  531. package/dist/models/incentive-program.d.ts +54 -0
  532. package/dist/models/incentive-program.js +20 -0
  533. package/dist/models/index.d.ts +47 -17
  534. package/dist/models/index.js +47 -17
  535. package/dist/models/live-data.d.ts +27 -0
  536. package/dist/models/live-data.js +15 -0
  537. package/dist/models/lookup-point.d.ts +30 -0
  538. package/dist/models/lookup-point.js +15 -0
  539. package/dist/models/lookup-tickers-for-market-in-multivariate-event-collection-request.d.ts +18 -0
  540. package/dist/models/lookup-tickers-for-market-in-multivariate-event-collection-request.js +15 -0
  541. package/dist/models/lookup-tickers-for-market-in-multivariate-event-collection-response.d.ts +21 -0
  542. package/dist/models/lookup-tickers-for-market-in-multivariate-event-collection-response.js +15 -0
  543. package/dist/models/maintenance-window.d.ts +21 -0
  544. package/dist/models/maintenance-window.js +15 -0
  545. package/dist/models/market-candlestick.d.ts +30 -0
  546. package/dist/models/market-candlestick.js +15 -0
  547. package/dist/models/market-candlesticks-response.d.ts +22 -0
  548. package/dist/models/market-candlesticks-response.js +15 -0
  549. package/dist/models/market-metadata.d.ts +25 -0
  550. package/dist/models/market-metadata.js +15 -0
  551. package/dist/models/market-position.d.ts +61 -0
  552. package/dist/models/market-position.js +15 -0
  553. package/dist/models/market.d.ts +219 -26
  554. package/dist/models/market.js +22 -5
  555. package/dist/models/milestone.d.ts +54 -7
  556. package/dist/models/milestone.js +4 -4
  557. package/dist/models/multivariate-event-collection.d.ts +61 -9
  558. package/dist/models/multivariate-event-collection.js +4 -4
  559. package/dist/models/mve-selected-leg.d.ts +25 -0
  560. package/dist/models/mve-selected-leg.js +15 -0
  561. package/dist/models/order-group.d.ts +5 -5
  562. package/dist/models/order-group.js +4 -4
  563. package/dist/models/order-queue-position.d.ts +25 -0
  564. package/dist/models/order-queue-position.js +15 -0
  565. package/dist/models/order-status.d.ts +20 -0
  566. package/dist/models/order-status.js +24 -0
  567. package/dist/models/order.d.ts +75 -29
  568. package/dist/models/order.js +5 -11
  569. package/dist/models/orderbook.d.ts +17 -0
  570. package/dist/models/orderbook.js +15 -0
  571. package/dist/models/percentile-point.d.ts +29 -0
  572. package/dist/models/percentile-point.js +15 -0
  573. package/dist/models/price-distribution.d.ts +77 -0
  574. package/dist/models/price-distribution.js +15 -0
  575. package/dist/models/price-range.d.ts +25 -0
  576. package/dist/models/price-range.js +15 -0
  577. package/dist/models/quote.d.ts +116 -17
  578. package/dist/models/quote.js +15 -8
  579. package/dist/models/rfq.d.ts +65 -16
  580. package/dist/models/rfq.js +8 -8
  581. package/dist/models/schedule.d.ts +23 -0
  582. package/dist/models/schedule.js +15 -0
  583. package/dist/models/scope-list.d.ts +17 -0
  584. package/dist/models/scope-list.js +15 -0
  585. package/dist/models/self-trade-prevention-type.d.ts +19 -0
  586. package/dist/models/self-trade-prevention-type.js +23 -0
  587. package/dist/models/series-fee-change.d.ts +39 -0
  588. package/dist/models/series-fee-change.js +21 -0
  589. package/dist/models/series.d.ts +57 -9
  590. package/dist/models/series.js +10 -4
  591. package/dist/models/settlement-source.d.ts +21 -0
  592. package/dist/models/settlement-source.js +15 -0
  593. package/dist/models/settlement.d.ts +48 -12
  594. package/dist/models/settlement.js +9 -7
  595. package/dist/models/sport-filter-details.d.ts +24 -0
  596. package/dist/models/sport-filter-details.js +15 -0
  597. package/dist/models/structured-target.d.ts +28 -7
  598. package/dist/models/structured-target.js +4 -4
  599. package/dist/models/ticker-pair.d.ts +30 -0
  600. package/dist/models/ticker-pair.js +20 -0
  601. package/dist/models/trade.d.ts +45 -11
  602. package/dist/models/trade.js +6 -6
  603. package/dist/models/weekly-schedule.d.ts +50 -0
  604. package/dist/models/weekly-schedule.js +15 -0
  605. package/docs/AcceptQuoteRequest.md +2 -2
  606. package/docs/AmendOrderRequest.md +12 -8
  607. package/docs/AmendOrderResponse.md +3 -1
  608. package/docs/Announcement.md +6 -6
  609. package/docs/ApiKey.md +0 -2
  610. package/docs/ApiKeysApi.md +16 -106
  611. package/docs/AssociatedEvent.md +28 -0
  612. package/docs/BatchCancelOrdersIndividualResponse.md +26 -0
  613. package/docs/BatchCancelOrdersRequest.md +2 -2
  614. package/docs/BatchCancelOrdersResponse.md +2 -2
  615. package/docs/BatchCreateOrdersIndividualResponse.md +24 -0
  616. package/docs/BatchCreateOrdersResponse.md +2 -2
  617. package/docs/BatchGetMarketCandlesticksResponse.md +20 -0
  618. package/docs/BidAskDistribution.md +34 -0
  619. package/docs/CancelOrderResponse.md +2 -2
  620. package/docs/CollectionApi.md +318 -0
  621. package/docs/CommunicationsApi.md +46 -271
  622. package/docs/CreateMarketInMultivariateEventCollectionRequest.md +20 -0
  623. package/docs/CreateMarketInMultivariateEventCollectionResponse.md +22 -0
  624. package/docs/CreateOrderGroupRequest.md +1 -1
  625. package/docs/CreateOrderGroupResponse.md +1 -1
  626. package/docs/CreateOrderRequest.md +18 -6
  627. package/docs/CreateOrderResponse.md +1 -1
  628. package/docs/CreateQuoteRequest.md +7 -5
  629. package/docs/CreateQuoteResponse.md +2 -2
  630. package/docs/CreateRFQRequest.md +12 -8
  631. package/docs/CreateRFQResponse.md +2 -2
  632. package/docs/DailySchedule.md +2 -2
  633. package/docs/DecreaseOrderRequest.md +3 -1
  634. package/docs/DecreaseOrderResponse.md +1 -1
  635. package/docs/ErrorResponse.md +8 -2
  636. package/docs/EventData.md +42 -0
  637. package/docs/EventPosition.md +11 -11
  638. package/docs/EventsApi.md +133 -93
  639. package/docs/ExchangeApi.md +42 -83
  640. package/docs/ExchangeStatus.md +4 -2
  641. package/docs/FcmApi.md +92 -0
  642. package/docs/Fill.md +25 -9
  643. package/docs/ForecastPercentilesPoint.md +26 -0
  644. package/docs/GetBalanceResponse.md +5 -1
  645. package/docs/GetCommunicationsIDResponse.md +1 -1
  646. package/docs/GetEventCandlesticksResponse.md +24 -0
  647. package/docs/GetEventForecastPercentilesHistoryResponse.md +20 -0
  648. package/docs/GetEventMetadataResponse.md +12 -2
  649. package/docs/GetEventResponse.md +2 -2
  650. package/docs/GetEventsCandlesticksResponse.md +20 -0
  651. package/docs/GetEventsCandlesticksResponseEventsInner.md +26 -0
  652. package/docs/GetEventsResponse.md +4 -2
  653. package/docs/GetExchangeAnnouncementsResponse.md +1 -1
  654. package/docs/GetExchangeScheduleResponse.md +1 -1
  655. package/docs/GetFillsResponse.md +2 -2
  656. package/docs/GetFiltersBySportsResponse.md +22 -0
  657. package/docs/GetIncentiveProgramsResponse.md +22 -0
  658. package/docs/GetLiveDataResponse.md +20 -0
  659. package/docs/GetLiveDatasResponse.md +20 -0
  660. package/docs/GetMarketCandlesticksResponse.md +3 -1
  661. package/docs/GetMarketOrderbookResponse.md +1 -1
  662. package/docs/GetMarketResponse.md +1 -1
  663. package/docs/GetMarketsResponse.md +2 -2
  664. package/docs/GetMilestoneResponse.md +1 -1
  665. package/docs/GetMilestonesResponse.md +3 -1
  666. package/docs/GetMultivariateEventCollectionLookupHistoryResponse.md +20 -0
  667. package/docs/GetMultivariateEventCollectionResponse.md +2 -2
  668. package/docs/GetMultivariateEventCollectionsResponse.md +4 -2
  669. package/docs/GetMultivariateEventsResponse.md +22 -0
  670. package/docs/GetOrderGroupResponse.md +2 -2
  671. package/docs/GetOrderGroupsResponse.md +0 -2
  672. package/docs/GetOrderQueuePositionResponse.md +1 -1
  673. package/docs/GetOrderQueuePositionsResponse.md +20 -0
  674. package/docs/GetOrdersResponse.md +2 -2
  675. package/docs/GetPortfolioRestingOrderTotalValueResponse.md +20 -0
  676. package/docs/GetPositionsResponse.md +4 -4
  677. package/docs/GetQuoteResponse.md +1 -1
  678. package/docs/GetQuotesResponse.md +3 -1
  679. package/docs/GetRFQResponse.md +1 -1
  680. package/docs/GetRFQsResponse.md +3 -1
  681. package/docs/GetSeriesFeeChangesResponse.md +20 -0
  682. package/docs/GetSeriesListResponse.md +20 -0
  683. package/docs/GetSeriesResponse.md +1 -1
  684. package/docs/GetSettlementsResponse.md +1 -1
  685. package/docs/GetStructuredTargetsResponse.md +2 -0
  686. package/docs/GetTagsForSeriesCategoriesResponse.md +20 -0
  687. package/docs/GetTradesResponse.md +2 -2
  688. package/docs/GetUserDataTimestampResponse.md +2 -2
  689. package/docs/IncentiveProgram.md +36 -0
  690. package/docs/IncentiveProgramsApi.md +44 -0
  691. package/docs/LiveData.md +24 -0
  692. package/docs/LiveDataApi.md +75 -0
  693. package/docs/LookupPoint.md +26 -0
  694. package/docs/LookupTickersForMarketInMultivariateEventCollectionRequest.md +20 -0
  695. package/docs/LookupTickersForMarketInMultivariateEventCollectionResponse.md +22 -0
  696. package/docs/MaintenanceWindow.md +22 -0
  697. package/docs/Market.md +105 -21
  698. package/docs/MarketApi.md +311 -0
  699. package/docs/MarketCandlestick.md +30 -0
  700. package/docs/MarketCandlesticksResponse.md +22 -0
  701. package/docs/MarketMetadata.md +24 -0
  702. package/docs/MarketPosition.md +42 -0
  703. package/docs/MarketsApi.md +3 -4
  704. package/docs/Milestone.md +23 -5
  705. package/docs/MilestoneApi.md +85 -0
  706. package/docs/MilestonesApi.md +0 -1
  707. package/docs/MultivariateApi.md +188 -0
  708. package/docs/MultivariateCollectionsApi.md +0 -1
  709. package/docs/MultivariateEventCollection.md +26 -6
  710. package/docs/MveSelectedLeg.md +24 -0
  711. package/docs/Order.md +42 -18
  712. package/docs/OrderGroup.md +1 -1
  713. package/docs/OrderGroupsApi.md +180 -0
  714. package/docs/OrderQueuePosition.md +24 -0
  715. package/docs/OrderStatus.md +13 -0
  716. package/docs/Orderbook.md +26 -0
  717. package/docs/OrdersApi.md +372 -0
  718. package/docs/PercentilePoint.md +26 -0
  719. package/docs/PortfolioApi.md +27 -1062
  720. package/docs/PriceDistribution.md +50 -0
  721. package/docs/PriceRange.md +24 -0
  722. package/docs/Quote.md +48 -16
  723. package/docs/RFQ.md +26 -14
  724. package/docs/Schedule.md +22 -0
  725. package/docs/ScopeList.md +20 -0
  726. package/docs/SearchApi.md +69 -0
  727. package/docs/SelfTradePreventionType.md +11 -0
  728. package/docs/Series.md +21 -5
  729. package/docs/SeriesApi.md +0 -1
  730. package/docs/SeriesFeeChange.md +28 -0
  731. package/docs/Settlement.md +15 -7
  732. package/docs/SettlementSource.md +22 -0
  733. package/docs/SportFilterDetails.md +22 -0
  734. package/docs/StructuredTarget.md +12 -6
  735. package/docs/StructuredTargetsApi.md +11 -57
  736. package/docs/TickerPair.md +24 -0
  737. package/docs/Trade.md +14 -6
  738. package/docs/WeeklySchedule.md +36 -0
  739. package/index.ts +4 -4
  740. package/models/accept-quote-request.ts +16 -5
  741. package/models/amend-order-request.ts +27 -10
  742. package/models/amend-order-response.ts +6 -5
  743. package/models/announcement.ts +26 -14
  744. package/models/api-key.ts +4 -8
  745. package/models/associated-event.ts +39 -0
  746. package/models/batch-cancel-orders-individual-response.ts +35 -0
  747. package/models/batch-cancel-orders-request.ts +8 -5
  748. package/models/batch-cancel-orders-response-responses-inner.ts +0 -1
  749. package/models/batch-cancel-orders-response.ts +6 -6
  750. package/models/batch-create-orders-individual-response.ts +28 -0
  751. package/models/batch-create-orders-request.ts +4 -4
  752. package/models/batch-create-orders-response-responses-inner.ts +0 -1
  753. package/models/batch-create-orders-response.ts +6 -6
  754. package/models/batch-get-market-candlesticks-response.ts +26 -0
  755. package/models/bid-ask-distribution.ts +51 -0
  756. package/models/cancel-order-response.ts +6 -6
  757. package/models/candlestick.ts +0 -1
  758. package/models/create-api-key-request.ts +4 -4
  759. package/models/create-api-key-response.ts +4 -4
  760. package/models/create-market-in-multivariate-event-collection-request.ts +26 -0
  761. package/models/create-market-in-multivariate-event-collection-response.ts +27 -0
  762. package/models/create-order-group-request.ts +5 -5
  763. package/models/create-order-group-response.ts +5 -5
  764. package/models/create-order-request.ts +37 -9
  765. package/models/create-order-response.ts +5 -5
  766. package/models/create-quote-request.ts +19 -6
  767. package/models/create-quote-response.ts +8 -8
  768. package/models/create-rfqrequest.ts +28 -16
  769. package/models/create-rfqresponse.ts +8 -8
  770. package/models/daily-schedule.ts +12 -6
  771. package/models/decrease-order-request.ts +6 -5
  772. package/models/decrease-order-response.ts +5 -5
  773. package/models/error-response-error.ts +0 -1
  774. package/models/error-response.ts +20 -8
  775. package/models/event-data.ts +70 -0
  776. package/models/event-position.ts +24 -24
  777. package/models/event.ts +0 -2
  778. package/models/exchange-status.ts +16 -6
  779. package/models/fill.ts +71 -12
  780. package/models/forecast-percentiles-point.ts +38 -0
  781. package/models/generate-api-key-request.ts +4 -4
  782. package/models/generate-api-key-response.ts +4 -4
  783. package/models/get-api-keys-response.ts +4 -4
  784. package/models/get-balance-response.ts +14 -6
  785. package/models/get-communications-idresponse.ts +6 -6
  786. package/models/get-event-candlesticks-response.ts +34 -0
  787. package/models/get-event-forecast-percentiles-history-response.ts +26 -0
  788. package/models/get-event-metadata-response.ts +34 -5
  789. package/models/get-event-response.ts +10 -7
  790. package/models/get-events-candlesticks-response-events-inner.ts +38 -0
  791. package/models/get-events-candlesticks-response.ts +26 -0
  792. package/models/get-events-response.ts +20 -7
  793. package/models/get-exchange-announcements-response.ts +8 -5
  794. package/models/get-exchange-schedule-response-schedule.ts +0 -1
  795. package/models/get-exchange-schedule-response.ts +6 -6
  796. package/models/get-fills-response.ts +6 -6
  797. package/models/get-filters-by-sports-response.ts +30 -0
  798. package/models/get-incentive-programs-response.ts +27 -0
  799. package/models/get-live-data-response.ts +23 -0
  800. package/models/get-live-datas-response.ts +23 -0
  801. package/models/get-market-candlesticks-response.ts +13 -6
  802. package/models/get-market-orderbook-response-orderbook.ts +0 -1
  803. package/models/get-market-orderbook-response.ts +6 -6
  804. package/models/get-market-response.ts +5 -5
  805. package/models/get-markets-response.ts +6 -6
  806. package/models/get-milestone-response.ts +5 -5
  807. package/models/get-milestones-response.ts +12 -5
  808. package/models/get-multivariate-event-collection-lookup-history-response.ts +26 -0
  809. package/models/get-multivariate-event-collection-response.ts +5 -5
  810. package/models/get-multivariate-event-collections-response.ts +12 -5
  811. package/models/get-multivariate-events-response.ts +30 -0
  812. package/models/get-order-group-response.ts +6 -6
  813. package/models/get-order-groups-response.ts +4 -5
  814. package/models/get-order-queue-position-response.ts +8 -5
  815. package/models/get-order-queue-positions-response.ts +26 -0
  816. package/models/get-order-response.ts +4 -4
  817. package/models/get-orders-response.ts +6 -6
  818. package/models/get-portfolio-resting-order-total-value-response.ts +23 -0
  819. package/models/get-positions-response.ts +16 -7
  820. package/models/get-queue-positions-request.ts +0 -1
  821. package/models/get-queue-positions-response.ts +0 -1
  822. package/models/get-quote-response.ts +5 -5
  823. package/models/get-quotes-response.ts +12 -5
  824. package/models/get-rfqresponse.ts +5 -5
  825. package/models/get-rfqs-response.ts +12 -5
  826. package/models/get-series-by-ticker-response.ts +0 -1
  827. package/models/get-series-fee-changes-response.ts +23 -0
  828. package/models/get-series-list-response.ts +23 -0
  829. package/models/get-series-response.ts +5 -5
  830. package/models/get-settlements-response.ts +5 -5
  831. package/models/get-structured-target-response.ts +4 -4
  832. package/models/get-structured-targets-response.ts +8 -4
  833. package/models/get-tags-for-series-categories-response.ts +23 -0
  834. package/models/get-total-resting-order-value-response.ts +0 -1
  835. package/models/get-trades-response.ts +6 -6
  836. package/models/get-user-data-timestamp-response.ts +8 -5
  837. package/models/incentive-program.ts +63 -0
  838. package/models/index.ts +47 -17
  839. package/models/live-data.ts +31 -0
  840. package/models/lookup-bundle-request-bundle-inner.ts +0 -1
  841. package/models/lookup-bundle-request.ts +0 -1
  842. package/models/lookup-bundle-response.ts +0 -1
  843. package/models/lookup-point.ts +38 -0
  844. package/models/lookup-tickers-for-market-in-multivariate-event-collection-request.ts +26 -0
  845. package/models/lookup-tickers-for-market-in-multivariate-event-collection-response.ts +27 -0
  846. package/models/maintenance-window.ts +27 -0
  847. package/models/market-candlestick.ts +40 -0
  848. package/models/market-candlesticks-response.ts +30 -0
  849. package/models/market-metadata.ts +31 -0
  850. package/models/market-position.ts +67 -0
  851. package/models/market.ts +226 -26
  852. package/models/milestone.ts +52 -7
  853. package/models/multivariate-event-collection-events-inner.ts +0 -1
  854. package/models/multivariate-event-collection.ts +61 -9
  855. package/models/mve-selected-leg.ts +31 -0
  856. package/models/order-group.ts +5 -5
  857. package/models/order-queue-position.ts +31 -0
  858. package/models/order-status.ts +30 -0
  859. package/models/order.ts +79 -30
  860. package/models/orderbook-level.ts +0 -1
  861. package/models/orderbook.ts +23 -0
  862. package/models/percentile-point.ts +35 -0
  863. package/models/position.ts +0 -2
  864. package/models/price-distribution.ts +83 -0
  865. package/models/price-range.ts +31 -0
  866. package/models/quote.ts +117 -17
  867. package/models/rfq.ts +67 -16
  868. package/models/schedule.ts +33 -0
  869. package/models/scope-list.ts +23 -0
  870. package/models/self-trade-prevention-type.ts +29 -0
  871. package/models/series-fee-change.ts +48 -0
  872. package/models/series.ts +62 -9
  873. package/models/settlement-source.ts +27 -0
  874. package/models/settlement.ts +49 -13
  875. package/models/sport-filter-details.ts +30 -0
  876. package/models/structured-target.ts +28 -7
  877. package/models/ticker-pair.ts +39 -0
  878. package/models/trade.ts +45 -11
  879. package/models/weekly-schedule.ts +58 -0
  880. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  /**
2
- * Kalshi Trading API
3
- * Complete API for the Kalshi trading platform including all handlers for SDK generation
2
+ * Kalshi Trade API Manual Endpoints
3
+ * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
4
+ *
5
+ * The version of the OpenAPI document: 3.0.0
4
6
  *
5
- * The version of the OpenAPI document: 2.0.0
6
- * Contact: support@kalshi.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -22,7 +22,7 @@ import type { GetApiKeysResponse } from '../models';
22
22
  */
23
23
  export declare const ApiKeysApiAxiosParamCreator: (configuration?: Configuration) => {
24
24
  /**
25
- * Create a new API key with a user-provided public key. This endpoint allows users with Premier or Market Maker API usage levels to create API keys by providing their own RSA public key. The platform will use this public key to verify signatures on API requests.
25
+ * Endpoint for creating a new API key with a user-provided public key. This endpoint allows users with Premier or Market Maker API usage levels to create API keys by providing their own RSA public key. The platform will use this public key to verify signatures on API requests.
26
26
  * @summary Create API Key
27
27
  * @param {CreateApiKeyRequest} createApiKeyRequest
28
28
  * @param {*} [options] Override http request option.
@@ -30,7 +30,7 @@ export declare const ApiKeysApiAxiosParamCreator: (configuration?: Configuration
30
30
  */
31
31
  createApiKey: (createApiKeyRequest: CreateApiKeyRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32
32
  /**
33
- * 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.
33
+ * Endpoint for deleting 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.
34
34
  * @summary Delete API Key
35
35
  * @param {string} apiKey API key ID to delete
36
36
  * @param {*} [options] Override http request option.
@@ -38,7 +38,7 @@ export declare const ApiKeysApiAxiosParamCreator: (configuration?: Configuration
38
38
  */
39
39
  deleteApiKey: (apiKey: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
40
40
  /**
41
- * 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.
41
+ * Endpoint for generating 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.
42
42
  * @summary Generate API Key
43
43
  * @param {GenerateApiKeyRequest} generateApiKeyRequest
44
44
  * @param {*} [options] Override http request option.
@@ -46,7 +46,7 @@ export declare const ApiKeysApiAxiosParamCreator: (configuration?: Configuration
46
46
  */
47
47
  generateApiKey: (generateApiKeyRequest: GenerateApiKeyRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
48
48
  /**
49
- * 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.
49
+ * Endpoint for retrieving 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.
50
50
  * @summary Get API Keys
51
51
  * @param {*} [options] Override http request option.
52
52
  * @throws {RequiredError}
@@ -58,7 +58,7 @@ export declare const ApiKeysApiAxiosParamCreator: (configuration?: Configuration
58
58
  */
59
59
  export declare const ApiKeysApiFp: (configuration?: Configuration) => {
60
60
  /**
61
- * Create a new API key with a user-provided public key. This endpoint allows users with Premier or Market Maker API usage levels to create API keys by providing their own RSA public key. The platform will use this public key to verify signatures on API requests.
61
+ * Endpoint for creating a new API key with a user-provided public key. This endpoint allows users with Premier or Market Maker API usage levels to create API keys by providing their own RSA public key. The platform will use this public key to verify signatures on API requests.
62
62
  * @summary Create API Key
63
63
  * @param {CreateApiKeyRequest} createApiKeyRequest
64
64
  * @param {*} [options] Override http request option.
@@ -66,7 +66,7 @@ export declare const ApiKeysApiFp: (configuration?: Configuration) => {
66
66
  */
67
67
  createApiKey(createApiKeyRequest: CreateApiKeyRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateApiKeyResponse>>;
68
68
  /**
69
- * 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.
69
+ * Endpoint for deleting 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.
70
70
  * @summary Delete API Key
71
71
  * @param {string} apiKey API key ID to delete
72
72
  * @param {*} [options] Override http request option.
@@ -74,7 +74,7 @@ export declare const ApiKeysApiFp: (configuration?: Configuration) => {
74
74
  */
75
75
  deleteApiKey(apiKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
76
76
  /**
77
- * 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.
77
+ * Endpoint for generating 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.
78
78
  * @summary Generate API Key
79
79
  * @param {GenerateApiKeyRequest} generateApiKeyRequest
80
80
  * @param {*} [options] Override http request option.
@@ -82,7 +82,7 @@ export declare const ApiKeysApiFp: (configuration?: Configuration) => {
82
82
  */
83
83
  generateApiKey(generateApiKeyRequest: GenerateApiKeyRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenerateApiKeyResponse>>;
84
84
  /**
85
- * 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.
85
+ * Endpoint for retrieving 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.
86
86
  * @summary Get API Keys
87
87
  * @param {*} [options] Override http request option.
88
88
  * @throws {RequiredError}
@@ -94,7 +94,7 @@ export declare const ApiKeysApiFp: (configuration?: Configuration) => {
94
94
  */
95
95
  export declare const ApiKeysApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
96
96
  /**
97
- * Create a new API key with a user-provided public key. This endpoint allows users with Premier or Market Maker API usage levels to create API keys by providing their own RSA public key. The platform will use this public key to verify signatures on API requests.
97
+ * Endpoint for creating a new API key with a user-provided public key. This endpoint allows users with Premier or Market Maker API usage levels to create API keys by providing their own RSA public key. The platform will use this public key to verify signatures on API requests.
98
98
  * @summary Create API Key
99
99
  * @param {CreateApiKeyRequest} createApiKeyRequest
100
100
  * @param {*} [options] Override http request option.
@@ -102,7 +102,7 @@ export declare const ApiKeysApiFactory: (configuration?: Configuration, basePath
102
102
  */
103
103
  createApiKey(createApiKeyRequest: CreateApiKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateApiKeyResponse>;
104
104
  /**
105
- * 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.
105
+ * Endpoint for deleting 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.
106
106
  * @summary Delete API Key
107
107
  * @param {string} apiKey API key ID to delete
108
108
  * @param {*} [options] Override http request option.
@@ -110,7 +110,7 @@ export declare const ApiKeysApiFactory: (configuration?: Configuration, basePath
110
110
  */
111
111
  deleteApiKey(apiKey: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
112
112
  /**
113
- * 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.
113
+ * Endpoint for generating 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.
114
114
  * @summary Generate API Key
115
115
  * @param {GenerateApiKeyRequest} generateApiKeyRequest
116
116
  * @param {*} [options] Override http request option.
@@ -118,7 +118,7 @@ export declare const ApiKeysApiFactory: (configuration?: Configuration, basePath
118
118
  */
119
119
  generateApiKey(generateApiKeyRequest: GenerateApiKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<GenerateApiKeyResponse>;
120
120
  /**
121
- * 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.
121
+ * Endpoint for retrieving 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.
122
122
  * @summary Get API Keys
123
123
  * @param {*} [options] Override http request option.
124
124
  * @throws {RequiredError}
@@ -130,7 +130,7 @@ export declare const ApiKeysApiFactory: (configuration?: Configuration, basePath
130
130
  */
131
131
  export declare class ApiKeysApi extends BaseAPI {
132
132
  /**
133
- * Create a new API key with a user-provided public key. This endpoint allows users with Premier or Market Maker API usage levels to create API keys by providing their own RSA public key. The platform will use this public key to verify signatures on API requests.
133
+ * Endpoint for creating a new API key with a user-provided public key. This endpoint allows users with Premier or Market Maker API usage levels to create API keys by providing their own RSA public key. The platform will use this public key to verify signatures on API requests.
134
134
  * @summary Create API Key
135
135
  * @param {CreateApiKeyRequest} createApiKeyRequest
136
136
  * @param {*} [options] Override http request option.
@@ -138,7 +138,7 @@ export declare class ApiKeysApi extends BaseAPI {
138
138
  */
139
139
  createApiKey(createApiKeyRequest: CreateApiKeyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateApiKeyResponse, any, {}>>;
140
140
  /**
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.
141
+ * Endpoint for deleting 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
143
143
  * @param {string} apiKey API key ID to delete
144
144
  * @param {*} [options] Override http request option.
@@ -146,7 +146,7 @@ export declare class ApiKeysApi extends BaseAPI {
146
146
  */
147
147
  deleteApiKey(apiKey: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
148
148
  /**
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.
149
+ * Endpoint for generating 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
151
151
  * @param {GenerateApiKeyRequest} generateApiKeyRequest
152
152
  * @param {*} [options] Override http request option.
@@ -154,7 +154,7 @@ export declare class ApiKeysApi extends BaseAPI {
154
154
  */
155
155
  generateApiKey(generateApiKeyRequest: GenerateApiKeyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerateApiKeyResponse, any, {}>>;
156
156
  /**
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.
157
+ * Endpoint for retrieving 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}
@@ -2,11 +2,11 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Kalshi Trading API
6
- * Complete API for the Kalshi trading platform including all handlers for SDK generation
5
+ * Kalshi Trade API Manual Endpoints
6
+ * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
7
+ *
8
+ * The version of the OpenAPI document: 3.0.0
7
9
  *
8
- * The version of the OpenAPI document: 2.0.0
9
- * Contact: support@kalshi.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -38,7 +38,7 @@ const base_1 = require("../base");
38
38
  const ApiKeysApiAxiosParamCreator = function (configuration) {
39
39
  return {
40
40
  /**
41
- * Create a new API key with a user-provided public key. This endpoint allows users with Premier or Market Maker API usage levels to create API keys by providing their own RSA public key. The platform will use this public key to verify signatures on API requests.
41
+ * Endpoint for creating a new API key with a user-provided public key. This endpoint allows users with Premier or Market Maker API usage levels to create API keys by providing their own RSA public key. The platform will use this public key to verify signatures on API requests.
42
42
  * @summary Create API Key
43
43
  * @param {CreateApiKeyRequest} createApiKeyRequest
44
44
  * @param {*} [options] Override http request option.
@@ -57,9 +57,12 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
57
57
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
58
58
  const localVarHeaderParameter = {};
59
59
  const localVarQueryParameter = {};
60
- // authentication bearerAuth required
61
- // http bearer authentication required
62
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
60
+ // authentication kalshiAccessSignature required
61
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-SIGNATURE", configuration);
62
+ // authentication kalshiAccessKey required
63
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-KEY", configuration);
64
+ // authentication kalshiAccessTimestamp required
65
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-TIMESTAMP", configuration);
63
66
  localVarHeaderParameter['Content-Type'] = 'application/json';
64
67
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
65
68
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -71,7 +74,7 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
71
74
  };
72
75
  }),
73
76
  /**
74
- * 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.
77
+ * Endpoint for deleting 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.
75
78
  * @summary Delete API Key
76
79
  * @param {string} apiKey API key ID to delete
77
80
  * @param {*} [options] Override http request option.
@@ -91,9 +94,12 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
91
94
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
92
95
  const localVarHeaderParameter = {};
93
96
  const localVarQueryParameter = {};
94
- // authentication bearerAuth required
95
- // http bearer authentication required
96
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
97
+ // authentication kalshiAccessSignature required
98
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-SIGNATURE", configuration);
99
+ // authentication kalshiAccessKey required
100
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-KEY", configuration);
101
+ // authentication kalshiAccessTimestamp required
102
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-TIMESTAMP", configuration);
97
103
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
98
104
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
99
105
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -103,7 +109,7 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
103
109
  };
104
110
  }),
105
111
  /**
106
- * 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.
112
+ * Endpoint for generating 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.
107
113
  * @summary Generate API Key
108
114
  * @param {GenerateApiKeyRequest} generateApiKeyRequest
109
115
  * @param {*} [options] Override http request option.
@@ -122,9 +128,12 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
122
128
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
123
129
  const localVarHeaderParameter = {};
124
130
  const localVarQueryParameter = {};
125
- // authentication bearerAuth required
126
- // http bearer authentication required
127
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
131
+ // authentication kalshiAccessSignature required
132
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-SIGNATURE", configuration);
133
+ // authentication kalshiAccessKey required
134
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-KEY", configuration);
135
+ // authentication kalshiAccessTimestamp required
136
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-TIMESTAMP", configuration);
128
137
  localVarHeaderParameter['Content-Type'] = 'application/json';
129
138
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
130
139
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -136,7 +145,7 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
136
145
  };
137
146
  }),
138
147
  /**
139
- * 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.
148
+ * Endpoint for retrieving 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.
140
149
  * @summary Get API Keys
141
150
  * @param {*} [options] Override http request option.
142
151
  * @throws {RequiredError}
@@ -152,9 +161,12 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
152
161
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
153
162
  const localVarHeaderParameter = {};
154
163
  const localVarQueryParameter = {};
155
- // authentication bearerAuth required
156
- // http bearer authentication required
157
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
164
+ // authentication kalshiAccessSignature required
165
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-SIGNATURE", configuration);
166
+ // authentication kalshiAccessKey required
167
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-KEY", configuration);
168
+ // authentication kalshiAccessTimestamp required
169
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-TIMESTAMP", configuration);
158
170
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
159
171
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
160
172
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -173,7 +185,7 @@ const ApiKeysApiFp = function (configuration) {
173
185
  const localVarAxiosParamCreator = (0, exports.ApiKeysApiAxiosParamCreator)(configuration);
174
186
  return {
175
187
  /**
176
- * Create a new API key with a user-provided public key. This endpoint allows users with Premier or Market Maker API usage levels to create API keys by providing their own RSA public key. The platform will use this public key to verify signatures on API requests.
188
+ * Endpoint for creating a new API key with a user-provided public key. This endpoint allows users with Premier or Market Maker API usage levels to create API keys by providing their own RSA public key. The platform will use this public key to verify signatures on API requests.
177
189
  * @summary Create API Key
178
190
  * @param {CreateApiKeyRequest} createApiKeyRequest
179
191
  * @param {*} [options] Override http request option.
@@ -189,7 +201,7 @@ const ApiKeysApiFp = function (configuration) {
189
201
  });
190
202
  },
191
203
  /**
192
- * 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.
204
+ * Endpoint for deleting 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.
193
205
  * @summary Delete API Key
194
206
  * @param {string} apiKey API key ID to delete
195
207
  * @param {*} [options] Override http request option.
@@ -205,7 +217,7 @@ const ApiKeysApiFp = function (configuration) {
205
217
  });
206
218
  },
207
219
  /**
208
- * 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.
220
+ * Endpoint for generating 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.
209
221
  * @summary Generate API Key
210
222
  * @param {GenerateApiKeyRequest} generateApiKeyRequest
211
223
  * @param {*} [options] Override http request option.
@@ -221,7 +233,7 @@ const ApiKeysApiFp = function (configuration) {
221
233
  });
222
234
  },
223
235
  /**
224
- * 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.
236
+ * Endpoint for retrieving 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.
225
237
  * @summary Get API Keys
226
238
  * @param {*} [options] Override http request option.
227
239
  * @throws {RequiredError}
@@ -245,7 +257,7 @@ const ApiKeysApiFactory = function (configuration, basePath, axios) {
245
257
  const localVarFp = (0, exports.ApiKeysApiFp)(configuration);
246
258
  return {
247
259
  /**
248
- * Create a new API key with a user-provided public key. This endpoint allows users with Premier or Market Maker API usage levels to create API keys by providing their own RSA public key. The platform will use this public key to verify signatures on API requests.
260
+ * Endpoint for creating a new API key with a user-provided public key. This endpoint allows users with Premier or Market Maker API usage levels to create API keys by providing their own RSA public key. The platform will use this public key to verify signatures on API requests.
249
261
  * @summary Create API Key
250
262
  * @param {CreateApiKeyRequest} createApiKeyRequest
251
263
  * @param {*} [options] Override http request option.
@@ -255,7 +267,7 @@ const ApiKeysApiFactory = function (configuration, basePath, axios) {
255
267
  return localVarFp.createApiKey(createApiKeyRequest, options).then((request) => request(axios, basePath));
256
268
  },
257
269
  /**
258
- * 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.
270
+ * Endpoint for deleting 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.
259
271
  * @summary Delete API Key
260
272
  * @param {string} apiKey API key ID to delete
261
273
  * @param {*} [options] Override http request option.
@@ -265,7 +277,7 @@ const ApiKeysApiFactory = function (configuration, basePath, axios) {
265
277
  return localVarFp.deleteApiKey(apiKey, options).then((request) => request(axios, basePath));
266
278
  },
267
279
  /**
268
- * 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.
280
+ * Endpoint for generating 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.
269
281
  * @summary Generate API Key
270
282
  * @param {GenerateApiKeyRequest} generateApiKeyRequest
271
283
  * @param {*} [options] Override http request option.
@@ -275,7 +287,7 @@ const ApiKeysApiFactory = function (configuration, basePath, axios) {
275
287
  return localVarFp.generateApiKey(generateApiKeyRequest, options).then((request) => request(axios, basePath));
276
288
  },
277
289
  /**
278
- * 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.
290
+ * Endpoint for retrieving 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.
279
291
  * @summary Get API Keys
280
292
  * @param {*} [options] Override http request option.
281
293
  * @throws {RequiredError}
@@ -291,7 +303,7 @@ exports.ApiKeysApiFactory = ApiKeysApiFactory;
291
303
  */
292
304
  class ApiKeysApi extends base_1.BaseAPI {
293
305
  /**
294
- * Create a new API key with a user-provided public key. This endpoint allows users with Premier or Market Maker API usage levels to create API keys by providing their own RSA public key. The platform will use this public key to verify signatures on API requests.
306
+ * Endpoint for creating a new API key with a user-provided public key. This endpoint allows users with Premier or Market Maker API usage levels to create API keys by providing their own RSA public key. The platform will use this public key to verify signatures on API requests.
295
307
  * @summary Create API Key
296
308
  * @param {CreateApiKeyRequest} createApiKeyRequest
297
309
  * @param {*} [options] Override http request option.
@@ -301,7 +313,7 @@ class ApiKeysApi extends base_1.BaseAPI {
301
313
  return (0, exports.ApiKeysApiFp)(this.configuration).createApiKey(createApiKeyRequest, options).then((request) => request(this.axios, this.basePath));
302
314
  }
303
315
  /**
304
- * 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.
316
+ * Endpoint for deleting 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.
305
317
  * @summary Delete API Key
306
318
  * @param {string} apiKey API key ID to delete
307
319
  * @param {*} [options] Override http request option.
@@ -311,7 +323,7 @@ class ApiKeysApi extends base_1.BaseAPI {
311
323
  return (0, exports.ApiKeysApiFp)(this.configuration).deleteApiKey(apiKey, options).then((request) => request(this.axios, this.basePath));
312
324
  }
313
325
  /**
314
- * 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.
326
+ * Endpoint for generating 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.
315
327
  * @summary Generate API Key
316
328
  * @param {GenerateApiKeyRequest} generateApiKeyRequest
317
329
  * @param {*} [options] Override http request option.
@@ -321,7 +333,7 @@ class ApiKeysApi extends base_1.BaseAPI {
321
333
  return (0, exports.ApiKeysApiFp)(this.configuration).generateApiKey(generateApiKeyRequest, options).then((request) => request(this.axios, this.basePath));
322
334
  }
323
335
  /**
324
- * 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.
336
+ * Endpoint for retrieving 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.
325
337
  * @summary Get API Keys
326
338
  * @param {*} [options] Override http request option.
327
339
  * @throws {RequiredError}
@@ -0,0 +1,242 @@
1
+ /**
2
+ * Kalshi Trade API Manual Endpoints
3
+ * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
4
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { CreateMarketInMultivariateEventCollectionRequest } from '../models';
16
+ import type { CreateMarketInMultivariateEventCollectionResponse } from '../models';
17
+ import type { GetMultivariateEventCollectionLookupHistoryResponse } from '../models';
18
+ import type { GetMultivariateEventCollectionResponse } from '../models';
19
+ import type { GetMultivariateEventCollectionsResponse } from '../models';
20
+ import type { LookupTickersForMarketInMultivariateEventCollectionRequest } from '../models';
21
+ import type { LookupTickersForMarketInMultivariateEventCollectionResponse } from '../models';
22
+ /**
23
+ * CollectionApi - axios parameter creator
24
+ */
25
+ export declare const CollectionApiAxiosParamCreator: (configuration?: Configuration) => {
26
+ /**
27
+ * Endpoint for looking up an individual market in a multivariate event collection. This endpoint must be hit at least once before trading or looking up a market.
28
+ * @summary Create Market In Multivariate Event Collection
29
+ * @param {string} collectionTicker Collection ticker
30
+ * @param {CreateMarketInMultivariateEventCollectionRequest} createMarketInMultivariateEventCollectionRequest
31
+ * @param {*} [options] Override http request option.
32
+ * @throws {RequiredError}
33
+ */
34
+ createMarketInMultivariateEventCollection: (collectionTicker: string, createMarketInMultivariateEventCollectionRequest: CreateMarketInMultivariateEventCollectionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
35
+ /**
36
+ * Endpoint for getting data about a multivariate event collection by its ticker.
37
+ * @summary Get Multivariate Event Collection
38
+ * @param {string} collectionTicker Collection ticker
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ getMultivariateEventCollection: (collectionTicker: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
43
+ /**
44
+ * Endpoint for retrieving which markets in an event collection were recently looked up.
45
+ * @summary Get Multivariate Event Collection Lookup History
46
+ * @param {string} collectionTicker Collection ticker
47
+ * @param {GetMultivariateEventCollectionLookupHistoryLookbackSecondsEnum} lookbackSeconds Number of seconds to look back for lookup history. Must be one of 10, 60, 300, or 3600.
48
+ * @param {*} [options] Override http request option.
49
+ * @throws {RequiredError}
50
+ */
51
+ getMultivariateEventCollectionLookupHistory: (collectionTicker: string, lookbackSeconds: GetMultivariateEventCollectionLookupHistoryLookbackSecondsEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
52
+ /**
53
+ * Endpoint for getting data about multivariate event collections.
54
+ * @summary Get Multivariate Event Collections
55
+ * @param {GetMultivariateEventCollectionsStatusEnum} [status] Only return collections of a certain status. Can be unopened, open, or closed.
56
+ * @param {string} [associatedEventTicker] Only return collections associated with a particular event ticker.
57
+ * @param {string} [seriesTicker] Only return collections with a particular series ticker.
58
+ * @param {number} [limit] Specify the maximum number of results.
59
+ * @param {string} [cursor] The Cursor represents a pointer to the next page of records in the pagination. This optional parameter, when filled, should be filled with the cursor string returned in a previous request to this end-point.
60
+ * @param {*} [options] Override http request option.
61
+ * @throws {RequiredError}
62
+ */
63
+ getMultivariateEventCollections: (status?: GetMultivariateEventCollectionsStatusEnum, associatedEventTicker?: string, seriesTicker?: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
64
+ /**
65
+ * Endpoint for looking up an individual market in a multivariate event collection. If CreateMarketInMultivariateEventCollection has never been hit with that variable combination before, this will return a 404.
66
+ * @summary Lookup Tickers For Market In Multivariate Event Collection
67
+ * @param {string} collectionTicker Collection ticker
68
+ * @param {LookupTickersForMarketInMultivariateEventCollectionRequest} lookupTickersForMarketInMultivariateEventCollectionRequest
69
+ * @param {*} [options] Override http request option.
70
+ * @throws {RequiredError}
71
+ */
72
+ lookupTickersForMarketInMultivariateEventCollection: (collectionTicker: string, lookupTickersForMarketInMultivariateEventCollectionRequest: LookupTickersForMarketInMultivariateEventCollectionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
73
+ };
74
+ /**
75
+ * CollectionApi - functional programming interface
76
+ */
77
+ export declare const CollectionApiFp: (configuration?: Configuration) => {
78
+ /**
79
+ * Endpoint for looking up an individual market in a multivariate event collection. This endpoint must be hit at least once before trading or looking up a market.
80
+ * @summary Create Market In Multivariate Event Collection
81
+ * @param {string} collectionTicker Collection ticker
82
+ * @param {CreateMarketInMultivariateEventCollectionRequest} createMarketInMultivariateEventCollectionRequest
83
+ * @param {*} [options] Override http request option.
84
+ * @throws {RequiredError}
85
+ */
86
+ createMarketInMultivariateEventCollection(collectionTicker: string, createMarketInMultivariateEventCollectionRequest: CreateMarketInMultivariateEventCollectionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateMarketInMultivariateEventCollectionResponse>>;
87
+ /**
88
+ * Endpoint for getting data about a multivariate event collection by its ticker.
89
+ * @summary Get Multivariate Event Collection
90
+ * @param {string} collectionTicker Collection ticker
91
+ * @param {*} [options] Override http request option.
92
+ * @throws {RequiredError}
93
+ */
94
+ getMultivariateEventCollection(collectionTicker: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMultivariateEventCollectionResponse>>;
95
+ /**
96
+ * Endpoint for retrieving which markets in an event collection were recently looked up.
97
+ * @summary Get Multivariate Event Collection Lookup History
98
+ * @param {string} collectionTicker Collection ticker
99
+ * @param {GetMultivariateEventCollectionLookupHistoryLookbackSecondsEnum} lookbackSeconds Number of seconds to look back for lookup history. Must be one of 10, 60, 300, or 3600.
100
+ * @param {*} [options] Override http request option.
101
+ * @throws {RequiredError}
102
+ */
103
+ getMultivariateEventCollectionLookupHistory(collectionTicker: string, lookbackSeconds: GetMultivariateEventCollectionLookupHistoryLookbackSecondsEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMultivariateEventCollectionLookupHistoryResponse>>;
104
+ /**
105
+ * Endpoint for getting data about multivariate event collections.
106
+ * @summary Get Multivariate Event Collections
107
+ * @param {GetMultivariateEventCollectionsStatusEnum} [status] Only return collections of a certain status. Can be unopened, open, or closed.
108
+ * @param {string} [associatedEventTicker] Only return collections associated with a particular event ticker.
109
+ * @param {string} [seriesTicker] Only return collections with a particular series ticker.
110
+ * @param {number} [limit] Specify the maximum number of results.
111
+ * @param {string} [cursor] The Cursor represents a pointer to the next page of records in the pagination. This optional parameter, when filled, should be filled with the cursor string returned in a previous request to this end-point.
112
+ * @param {*} [options] Override http request option.
113
+ * @throws {RequiredError}
114
+ */
115
+ getMultivariateEventCollections(status?: GetMultivariateEventCollectionsStatusEnum, associatedEventTicker?: string, seriesTicker?: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMultivariateEventCollectionsResponse>>;
116
+ /**
117
+ * Endpoint for looking up an individual market in a multivariate event collection. If CreateMarketInMultivariateEventCollection has never been hit with that variable combination before, this will return a 404.
118
+ * @summary Lookup Tickers For Market In Multivariate Event Collection
119
+ * @param {string} collectionTicker Collection ticker
120
+ * @param {LookupTickersForMarketInMultivariateEventCollectionRequest} lookupTickersForMarketInMultivariateEventCollectionRequest
121
+ * @param {*} [options] Override http request option.
122
+ * @throws {RequiredError}
123
+ */
124
+ lookupTickersForMarketInMultivariateEventCollection(collectionTicker: string, lookupTickersForMarketInMultivariateEventCollectionRequest: LookupTickersForMarketInMultivariateEventCollectionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LookupTickersForMarketInMultivariateEventCollectionResponse>>;
125
+ };
126
+ /**
127
+ * CollectionApi - factory interface
128
+ */
129
+ export declare const CollectionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
130
+ /**
131
+ * Endpoint for looking up an individual market in a multivariate event collection. This endpoint must be hit at least once before trading or looking up a market.
132
+ * @summary Create Market In Multivariate Event Collection
133
+ * @param {string} collectionTicker Collection ticker
134
+ * @param {CreateMarketInMultivariateEventCollectionRequest} createMarketInMultivariateEventCollectionRequest
135
+ * @param {*} [options] Override http request option.
136
+ * @throws {RequiredError}
137
+ */
138
+ createMarketInMultivariateEventCollection(collectionTicker: string, createMarketInMultivariateEventCollectionRequest: CreateMarketInMultivariateEventCollectionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateMarketInMultivariateEventCollectionResponse>;
139
+ /**
140
+ * Endpoint for getting data about a multivariate event collection by its ticker.
141
+ * @summary Get Multivariate Event Collection
142
+ * @param {string} collectionTicker Collection ticker
143
+ * @param {*} [options] Override http request option.
144
+ * @throws {RequiredError}
145
+ */
146
+ getMultivariateEventCollection(collectionTicker: string, options?: RawAxiosRequestConfig): AxiosPromise<GetMultivariateEventCollectionResponse>;
147
+ /**
148
+ * Endpoint for retrieving which markets in an event collection were recently looked up.
149
+ * @summary Get Multivariate Event Collection Lookup History
150
+ * @param {string} collectionTicker Collection ticker
151
+ * @param {GetMultivariateEventCollectionLookupHistoryLookbackSecondsEnum} lookbackSeconds Number of seconds to look back for lookup history. Must be one of 10, 60, 300, or 3600.
152
+ * @param {*} [options] Override http request option.
153
+ * @throws {RequiredError}
154
+ */
155
+ getMultivariateEventCollectionLookupHistory(collectionTicker: string, lookbackSeconds: GetMultivariateEventCollectionLookupHistoryLookbackSecondsEnum, options?: RawAxiosRequestConfig): AxiosPromise<GetMultivariateEventCollectionLookupHistoryResponse>;
156
+ /**
157
+ * Endpoint for getting data about multivariate event collections.
158
+ * @summary Get Multivariate Event Collections
159
+ * @param {GetMultivariateEventCollectionsStatusEnum} [status] Only return collections of a certain status. Can be unopened, open, or closed.
160
+ * @param {string} [associatedEventTicker] Only return collections associated with a particular event ticker.
161
+ * @param {string} [seriesTicker] Only return collections with a particular series ticker.
162
+ * @param {number} [limit] Specify the maximum number of results.
163
+ * @param {string} [cursor] The Cursor represents a pointer to the next page of records in the pagination. This optional parameter, when filled, should be filled with the cursor string returned in a previous request to this end-point.
164
+ * @param {*} [options] Override http request option.
165
+ * @throws {RequiredError}
166
+ */
167
+ getMultivariateEventCollections(status?: GetMultivariateEventCollectionsStatusEnum, associatedEventTicker?: string, seriesTicker?: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetMultivariateEventCollectionsResponse>;
168
+ /**
169
+ * Endpoint for looking up an individual market in a multivariate event collection. If CreateMarketInMultivariateEventCollection has never been hit with that variable combination before, this will return a 404.
170
+ * @summary Lookup Tickers For Market In Multivariate Event Collection
171
+ * @param {string} collectionTicker Collection ticker
172
+ * @param {LookupTickersForMarketInMultivariateEventCollectionRequest} lookupTickersForMarketInMultivariateEventCollectionRequest
173
+ * @param {*} [options] Override http request option.
174
+ * @throws {RequiredError}
175
+ */
176
+ lookupTickersForMarketInMultivariateEventCollection(collectionTicker: string, lookupTickersForMarketInMultivariateEventCollectionRequest: LookupTickersForMarketInMultivariateEventCollectionRequest, options?: RawAxiosRequestConfig): AxiosPromise<LookupTickersForMarketInMultivariateEventCollectionResponse>;
177
+ };
178
+ /**
179
+ * CollectionApi - object-oriented interface
180
+ */
181
+ export declare class CollectionApi extends BaseAPI {
182
+ /**
183
+ * Endpoint for looking up an individual market in a multivariate event collection. This endpoint must be hit at least once before trading or looking up a market.
184
+ * @summary Create Market In Multivariate Event Collection
185
+ * @param {string} collectionTicker Collection ticker
186
+ * @param {CreateMarketInMultivariateEventCollectionRequest} createMarketInMultivariateEventCollectionRequest
187
+ * @param {*} [options] Override http request option.
188
+ * @throws {RequiredError}
189
+ */
190
+ createMarketInMultivariateEventCollection(collectionTicker: string, createMarketInMultivariateEventCollectionRequest: CreateMarketInMultivariateEventCollectionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateMarketInMultivariateEventCollectionResponse, any, {}>>;
191
+ /**
192
+ * Endpoint for getting data about a multivariate event collection by its ticker.
193
+ * @summary Get Multivariate Event Collection
194
+ * @param {string} collectionTicker Collection ticker
195
+ * @param {*} [options] Override http request option.
196
+ * @throws {RequiredError}
197
+ */
198
+ getMultivariateEventCollection(collectionTicker: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMultivariateEventCollectionResponse, any, {}>>;
199
+ /**
200
+ * Endpoint for retrieving which markets in an event collection were recently looked up.
201
+ * @summary Get Multivariate Event Collection Lookup History
202
+ * @param {string} collectionTicker Collection ticker
203
+ * @param {GetMultivariateEventCollectionLookupHistoryLookbackSecondsEnum} lookbackSeconds Number of seconds to look back for lookup history. Must be one of 10, 60, 300, or 3600.
204
+ * @param {*} [options] Override http request option.
205
+ * @throws {RequiredError}
206
+ */
207
+ getMultivariateEventCollectionLookupHistory(collectionTicker: string, lookbackSeconds: GetMultivariateEventCollectionLookupHistoryLookbackSecondsEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMultivariateEventCollectionLookupHistoryResponse, any, {}>>;
208
+ /**
209
+ * Endpoint for getting data about multivariate event collections.
210
+ * @summary Get Multivariate Event Collections
211
+ * @param {GetMultivariateEventCollectionsStatusEnum} [status] Only return collections of a certain status. Can be unopened, open, or closed.
212
+ * @param {string} [associatedEventTicker] Only return collections associated with a particular event ticker.
213
+ * @param {string} [seriesTicker] Only return collections with a particular series ticker.
214
+ * @param {number} [limit] Specify the maximum number of results.
215
+ * @param {string} [cursor] The Cursor represents a pointer to the next page of records in the pagination. This optional parameter, when filled, should be filled with the cursor string returned in a previous request to this end-point.
216
+ * @param {*} [options] Override http request option.
217
+ * @throws {RequiredError}
218
+ */
219
+ getMultivariateEventCollections(status?: GetMultivariateEventCollectionsStatusEnum, associatedEventTicker?: string, seriesTicker?: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMultivariateEventCollectionsResponse, any, {}>>;
220
+ /**
221
+ * Endpoint for looking up an individual market in a multivariate event collection. If CreateMarketInMultivariateEventCollection has never been hit with that variable combination before, this will return a 404.
222
+ * @summary Lookup Tickers For Market In Multivariate Event Collection
223
+ * @param {string} collectionTicker Collection ticker
224
+ * @param {LookupTickersForMarketInMultivariateEventCollectionRequest} lookupTickersForMarketInMultivariateEventCollectionRequest
225
+ * @param {*} [options] Override http request option.
226
+ * @throws {RequiredError}
227
+ */
228
+ lookupTickersForMarketInMultivariateEventCollection(collectionTicker: string, lookupTickersForMarketInMultivariateEventCollectionRequest: LookupTickersForMarketInMultivariateEventCollectionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LookupTickersForMarketInMultivariateEventCollectionResponse, any, {}>>;
229
+ }
230
+ export declare const GetMultivariateEventCollectionLookupHistoryLookbackSecondsEnum: {
231
+ readonly NUMBER_10: 10;
232
+ readonly NUMBER_60: 60;
233
+ readonly NUMBER_300: 300;
234
+ readonly NUMBER_3600: 3600;
235
+ };
236
+ export type GetMultivariateEventCollectionLookupHistoryLookbackSecondsEnum = typeof GetMultivariateEventCollectionLookupHistoryLookbackSecondsEnum[keyof typeof GetMultivariateEventCollectionLookupHistoryLookbackSecondsEnum];
237
+ export declare const GetMultivariateEventCollectionsStatusEnum: {
238
+ readonly Unopened: "unopened";
239
+ readonly Open: "open";
240
+ readonly Closed: "closed";
241
+ };
242
+ export type GetMultivariateEventCollectionsStatusEnum = typeof GetMultivariateEventCollectionsStatusEnum[keyof typeof GetMultivariateEventCollectionsStatusEnum];