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.
- package/.openapi-generator/FILES +112 -42
- package/.openapi-generator/VERSION +1 -1
- package/README.md +110 -50
- package/api/api-keys-api.ts +52 -34
- package/api/collection-api.ts +506 -0
- package/api/communications-api.ts +284 -102
- package/api/events-api.ts +402 -53
- package/api/exchange-api.ts +99 -24
- package/api/fcm-api.ts +337 -0
- package/api/incentive-programs-api.ts +168 -0
- package/api/live-data-api.ts +207 -0
- package/api/market-api.ts +872 -0
- package/api/markets-api.ts +17 -18
- package/api/milestone-api.ts +258 -0
- package/api/milestones-api.ts +2 -3
- package/api/multivariate-api.ts +505 -0
- package/api/multivariate-collections-api.ts +7 -8
- package/api/order-groups-api.ts +454 -0
- package/api/orders-api.ts +941 -0
- package/api/portfolio-api.ts +206 -1357
- package/api/search-api.ts +183 -0
- package/api/series-api.ts +2 -3
- package/api/structured-targets-api.ts +44 -38
- package/api.ts +13 -8
- package/auth.ts +1 -1
- package/base.ts +8 -8
- package/common.ts +4 -4
- package/configuration.ts +4 -5
- package/dist/api/api-keys-api.d.ts +20 -20
- package/dist/api/api-keys-api.js +44 -32
- package/dist/api/collection-api.d.ts +242 -0
- package/dist/api/collection-api.js +467 -0
- package/dist/api/communications-api.d.ts +124 -60
- package/dist/api/communications-api.js +246 -102
- package/dist/api/events-api.d.ts +210 -36
- package/dist/api/events-api.js +370 -50
- package/dist/api/exchange-api.d.ts +57 -20
- package/dist/api/exchange-api.js +92 -23
- package/dist/api/fcm-api.d.ts +164 -0
- package/dist/api/fcm-api.js +313 -0
- package/dist/api/incentive-programs-api.d.ts +93 -0
- package/dist/api/incentive-programs-api.js +164 -0
- package/dist/api/live-data-api.d.ts +104 -0
- package/dist/api/live-data-api.js +205 -0
- package/dist/api/market-api.d.ts +417 -0
- package/dist/api/market-api.js +804 -0
- package/dist/api/milestone-api.d.ts +128 -0
- package/dist/api/milestone-api.js +249 -0
- package/dist/api/multivariate-api.d.ts +242 -0
- package/dist/api/multivariate-api.js +467 -0
- package/dist/api/order-groups-api.d.ts +198 -0
- package/dist/api/order-groups-api.js +421 -0
- package/dist/api/orders-api.d.ts +405 -0
- package/dist/api/orders-api.js +844 -0
- package/dist/api/portfolio-api.d.ts +83 -601
- package/dist/api/portfolio-api.js +154 -1203
- package/dist/api/search-api.d.ts +92 -0
- package/dist/api/search-api.js +182 -0
- package/dist/api/structured-targets-api.d.ts +32 -24
- package/dist/api/structured-targets-api.js +43 -35
- package/dist/api.d.ts +13 -8
- package/dist/api.js +13 -8
- package/dist/base.d.ts +4 -4
- package/dist/base.js +4 -4
- package/dist/common.d.ts +4 -4
- package/dist/common.js +4 -4
- package/dist/configuration.d.ts +4 -4
- package/dist/configuration.js +4 -4
- package/dist/esm/api/api-keys-api.d.ts +20 -20
- package/dist/esm/api/api-keys-api.js +45 -33
- package/dist/esm/api/collection-api.d.ts +242 -0
- package/dist/esm/api/collection-api.js +460 -0
- package/dist/esm/api/communications-api.d.ts +124 -60
- package/dist/esm/api/communications-api.js +247 -103
- package/dist/esm/api/events-api.d.ts +210 -36
- package/dist/esm/api/events-api.js +370 -50
- package/dist/esm/api/exchange-api.d.ts +57 -20
- package/dist/esm/api/exchange-api.js +93 -24
- package/dist/esm/api/fcm-api.d.ts +164 -0
- package/dist/esm/api/fcm-api.js +306 -0
- package/dist/esm/api/incentive-programs-api.d.ts +93 -0
- package/dist/esm/api/incentive-programs-api.js +157 -0
- package/dist/esm/api/live-data-api.d.ts +104 -0
- package/dist/esm/api/live-data-api.js +198 -0
- package/dist/esm/api/market-api.d.ts +417 -0
- package/dist/esm/api/market-api.js +797 -0
- package/dist/esm/api/milestone-api.d.ts +128 -0
- package/dist/esm/api/milestone-api.js +242 -0
- package/dist/esm/api/multivariate-api.d.ts +242 -0
- package/dist/esm/api/multivariate-api.js +460 -0
- package/dist/esm/api/order-groups-api.d.ts +198 -0
- package/dist/esm/api/order-groups-api.js +414 -0
- package/dist/esm/api/orders-api.d.ts +405 -0
- package/dist/esm/api/orders-api.js +837 -0
- package/dist/esm/api/portfolio-api.d.ts +83 -601
- package/dist/esm/api/portfolio-api.js +153 -1202
- package/dist/esm/api/search-api.d.ts +92 -0
- package/dist/esm/api/search-api.js +175 -0
- package/dist/esm/api/structured-targets-api.d.ts +32 -24
- package/dist/esm/api/structured-targets-api.js +44 -36
- package/dist/esm/api.d.ts +13 -8
- package/dist/esm/api.js +13 -8
- package/dist/esm/base.d.ts +4 -4
- package/dist/esm/base.js +4 -4
- package/dist/esm/common.d.ts +4 -4
- package/dist/esm/common.js +4 -4
- package/dist/esm/configuration.d.ts +4 -4
- package/dist/esm/configuration.js +4 -4
- package/dist/esm/index.d.ts +4 -4
- package/dist/esm/index.js +4 -4
- package/dist/esm/models/accept-quote-request.d.ts +13 -5
- package/dist/esm/models/accept-quote-request.js +8 -5
- package/dist/esm/models/amend-order-request.d.ts +27 -10
- package/dist/esm/models/amend-order-request.js +4 -4
- package/dist/esm/models/amend-order-response.d.ts +6 -5
- package/dist/esm/models/amend-order-response.js +4 -4
- package/dist/esm/models/announcement.d.ts +25 -13
- package/dist/esm/models/announcement.js +8 -8
- package/dist/esm/models/api-key.d.ts +4 -8
- package/dist/esm/models/api-key.js +4 -4
- package/dist/esm/models/associated-event.d.ts +33 -0
- package/dist/esm/models/associated-event.js +14 -0
- package/dist/esm/models/batch-cancel-orders-individual-response.d.ts +25 -0
- package/dist/esm/models/batch-cancel-orders-individual-response.js +14 -0
- package/dist/esm/models/batch-cancel-orders-request.d.ts +8 -5
- package/dist/esm/models/batch-cancel-orders-request.js +4 -4
- package/dist/esm/models/batch-cancel-orders-response.d.ts +6 -6
- package/dist/esm/models/batch-cancel-orders-response.js +4 -4
- package/dist/esm/models/batch-create-orders-individual-response.d.ts +18 -0
- package/dist/esm/models/batch-create-orders-individual-response.js +14 -0
- package/dist/esm/models/batch-create-orders-request.d.ts +4 -4
- package/dist/esm/models/batch-create-orders-request.js +4 -4
- package/dist/esm/models/batch-create-orders-response.d.ts +6 -6
- package/dist/esm/models/batch-create-orders-response.js +4 -4
- package/dist/esm/models/batch-get-market-candlesticks-response.d.ts +18 -0
- package/dist/esm/models/batch-get-market-candlesticks-response.js +14 -0
- package/dist/esm/models/bid-ask-distribution.d.ts +45 -0
- package/dist/esm/models/bid-ask-distribution.js +14 -0
- package/dist/esm/models/cancel-order-response.d.ts +6 -6
- package/dist/esm/models/cancel-order-response.js +4 -4
- package/dist/esm/models/create-api-key-request.d.ts +4 -4
- package/dist/esm/models/create-api-key-request.js +4 -4
- package/dist/esm/models/create-api-key-response.d.ts +4 -4
- package/dist/esm/models/create-api-key-response.js +4 -4
- package/dist/esm/models/create-market-in-multivariate-event-collection-request.d.ts +18 -0
- package/dist/esm/models/create-market-in-multivariate-event-collection-request.js +14 -0
- package/dist/esm/models/create-market-in-multivariate-event-collection-response.d.ts +21 -0
- package/dist/esm/models/create-market-in-multivariate-event-collection-response.js +14 -0
- package/dist/esm/models/create-order-group-request.d.ts +5 -5
- package/dist/esm/models/create-order-group-request.js +4 -4
- package/dist/esm/models/create-order-group-response.d.ts +5 -5
- package/dist/esm/models/create-order-group-response.js +4 -4
- package/dist/esm/models/create-order-request.d.ts +34 -9
- package/dist/esm/models/create-order-request.js +9 -4
- package/dist/esm/models/create-order-response.d.ts +5 -5
- package/dist/esm/models/create-order-response.js +4 -4
- package/dist/esm/models/create-quote-request.d.ts +19 -6
- package/dist/esm/models/create-quote-request.js +4 -4
- package/dist/esm/models/create-quote-response.d.ts +8 -6
- package/dist/esm/models/create-quote-response.js +4 -4
- package/dist/esm/models/create-rfqrequest.d.ts +28 -13
- package/dist/esm/models/create-rfqrequest.js +5 -8
- package/dist/esm/models/create-rfqresponse.d.ts +8 -6
- package/dist/esm/models/create-rfqresponse.js +4 -4
- package/dist/esm/models/daily-schedule.d.ts +12 -6
- package/dist/esm/models/daily-schedule.js +4 -4
- package/dist/esm/models/decrease-order-request.d.ts +6 -5
- package/dist/esm/models/decrease-order-request.js +4 -4
- package/dist/esm/models/decrease-order-response.d.ts +5 -5
- package/dist/esm/models/decrease-order-response.js +4 -4
- package/dist/esm/models/error-response.d.ts +20 -6
- package/dist/esm/models/error-response.js +4 -4
- package/dist/esm/models/event-data.d.ts +62 -0
- package/dist/esm/models/event-data.js +14 -0
- package/dist/esm/models/event-position.d.ts +24 -24
- package/dist/esm/models/event-position.js +4 -4
- package/dist/esm/models/exchange-status.d.ts +16 -6
- package/dist/esm/models/exchange-status.js +4 -4
- package/dist/esm/models/fill.d.ts +71 -12
- package/dist/esm/models/fill.js +4 -4
- package/dist/esm/models/forecast-percentiles-point.d.ts +30 -0
- package/dist/esm/models/forecast-percentiles-point.js +14 -0
- package/dist/esm/models/generate-api-key-request.d.ts +4 -4
- package/dist/esm/models/generate-api-key-request.js +4 -4
- package/dist/esm/models/generate-api-key-response.d.ts +4 -4
- package/dist/esm/models/generate-api-key-response.js +4 -4
- package/dist/esm/models/get-api-keys-response.d.ts +4 -4
- package/dist/esm/models/get-api-keys-response.js +4 -4
- package/dist/esm/models/get-balance-response.d.ts +14 -6
- package/dist/esm/models/get-balance-response.js +4 -4
- package/dist/esm/models/get-communications-idresponse.d.ts +6 -6
- package/dist/esm/models/get-communications-idresponse.js +4 -4
- package/dist/esm/models/get-event-candlesticks-response.d.ts +26 -0
- package/dist/esm/models/get-event-candlesticks-response.js +14 -0
- package/dist/esm/models/get-event-forecast-percentiles-history-response.d.ts +18 -0
- package/dist/esm/models/get-event-forecast-percentiles-history-response.js +14 -0
- package/dist/esm/models/get-event-metadata-response.d.ts +30 -5
- package/dist/esm/models/get-event-metadata-response.js +4 -4
- package/dist/esm/models/get-event-response.d.ts +10 -7
- package/dist/esm/models/get-event-response.js +4 -4
- package/dist/esm/models/get-events-candlesticks-response-events-inner.d.ts +30 -0
- package/dist/esm/models/get-events-candlesticks-response-events-inner.js +14 -0
- package/dist/esm/models/get-events-candlesticks-response.d.ts +18 -0
- package/dist/esm/models/get-events-candlesticks-response.js +14 -0
- package/dist/esm/models/get-events-response.d.ts +18 -7
- package/dist/esm/models/get-events-response.js +4 -4
- package/dist/esm/models/get-exchange-announcements-response.d.ts +8 -5
- package/dist/esm/models/get-exchange-announcements-response.js +4 -4
- package/dist/esm/models/get-exchange-schedule-response.d.ts +6 -6
- package/dist/esm/models/get-exchange-schedule-response.js +4 -4
- package/dist/esm/models/get-fills-response.d.ts +6 -6
- package/dist/esm/models/get-fills-response.js +4 -4
- package/dist/esm/models/get-filters-by-sports-response.d.ts +24 -0
- package/dist/esm/models/get-filters-by-sports-response.js +14 -0
- package/dist/esm/models/get-incentive-programs-response.d.ts +19 -0
- package/dist/esm/models/get-incentive-programs-response.js +14 -0
- package/dist/esm/models/get-live-data-response.d.ts +15 -0
- package/dist/esm/models/get-live-data-response.js +14 -0
- package/dist/esm/models/get-live-datas-response.d.ts +15 -0
- package/dist/esm/models/get-live-datas-response.js +14 -0
- package/dist/esm/models/get-market-candlesticks-response.d.ts +13 -6
- package/dist/esm/models/get-market-candlesticks-response.js +4 -4
- package/dist/esm/models/get-market-orderbook-response.d.ts +6 -6
- package/dist/esm/models/get-market-orderbook-response.js +4 -4
- package/dist/esm/models/get-market-response.d.ts +5 -5
- package/dist/esm/models/get-market-response.js +4 -4
- package/dist/esm/models/get-markets-response.d.ts +6 -6
- package/dist/esm/models/get-markets-response.js +4 -4
- package/dist/esm/models/get-milestone-response.d.ts +5 -5
- package/dist/esm/models/get-milestone-response.js +4 -4
- package/dist/esm/models/get-milestones-response.d.ts +12 -5
- package/dist/esm/models/get-milestones-response.js +4 -4
- package/dist/esm/models/get-multivariate-event-collection-lookup-history-response.d.ts +18 -0
- package/dist/esm/models/get-multivariate-event-collection-lookup-history-response.js +14 -0
- package/dist/esm/models/get-multivariate-event-collection-response.d.ts +5 -5
- package/dist/esm/models/get-multivariate-event-collection-response.js +4 -4
- package/dist/esm/models/get-multivariate-event-collections-response.d.ts +12 -5
- package/dist/esm/models/get-multivariate-event-collections-response.js +4 -4
- package/dist/esm/models/get-multivariate-events-response.d.ts +22 -0
- package/dist/esm/models/get-multivariate-events-response.js +14 -0
- package/dist/esm/models/get-order-group-response.d.ts +6 -6
- package/dist/esm/models/get-order-group-response.js +4 -4
- package/dist/esm/models/get-order-groups-response.d.ts +4 -5
- package/dist/esm/models/get-order-groups-response.js +4 -4
- package/dist/esm/models/get-order-queue-position-response.d.ts +8 -5
- package/dist/esm/models/get-order-queue-position-response.js +4 -4
- package/dist/esm/models/get-order-queue-positions-response.d.ts +18 -0
- package/dist/esm/models/get-order-queue-positions-response.js +14 -0
- package/dist/esm/models/get-order-response.d.ts +4 -4
- package/dist/esm/models/get-order-response.js +4 -4
- package/dist/esm/models/get-orders-response.d.ts +6 -6
- package/dist/esm/models/get-orders-response.js +4 -4
- package/dist/esm/models/get-portfolio-resting-order-total-value-response.d.ts +17 -0
- package/dist/esm/models/get-portfolio-resting-order-total-value-response.js +14 -0
- package/dist/esm/models/get-positions-response.d.ts +16 -7
- package/dist/esm/models/get-positions-response.js +4 -4
- package/dist/esm/models/get-quote-response.d.ts +5 -5
- package/dist/esm/models/get-quote-response.js +4 -4
- package/dist/esm/models/get-quotes-response.d.ts +12 -5
- package/dist/esm/models/get-quotes-response.js +4 -4
- package/dist/esm/models/get-rfqresponse.d.ts +5 -5
- package/dist/esm/models/get-rfqresponse.js +4 -4
- package/dist/esm/models/get-rfqs-response.d.ts +12 -5
- package/dist/esm/models/get-rfqs-response.js +4 -4
- package/dist/esm/models/get-series-fee-changes-response.d.ts +15 -0
- package/dist/esm/models/get-series-fee-changes-response.js +14 -0
- package/dist/esm/models/get-series-list-response.d.ts +15 -0
- package/dist/esm/models/get-series-list-response.js +14 -0
- package/dist/esm/models/get-series-response.d.ts +5 -5
- package/dist/esm/models/get-series-response.js +4 -4
- package/dist/esm/models/get-settlements-response.d.ts +5 -5
- package/dist/esm/models/get-settlements-response.js +4 -4
- package/dist/esm/models/get-structured-target-response.d.ts +4 -4
- package/dist/esm/models/get-structured-target-response.js +4 -4
- package/dist/esm/models/get-structured-targets-response.d.ts +8 -4
- package/dist/esm/models/get-structured-targets-response.js +4 -4
- package/dist/esm/models/get-tags-for-series-categories-response.d.ts +19 -0
- package/dist/esm/models/get-tags-for-series-categories-response.js +14 -0
- package/dist/esm/models/get-trades-response.d.ts +6 -6
- package/dist/esm/models/get-trades-response.js +4 -4
- package/dist/esm/models/get-user-data-timestamp-response.d.ts +8 -5
- package/dist/esm/models/get-user-data-timestamp-response.js +4 -4
- package/dist/esm/models/incentive-program.d.ts +54 -0
- package/dist/esm/models/incentive-program.js +17 -0
- package/dist/esm/models/index.d.ts +47 -17
- package/dist/esm/models/index.js +47 -17
- package/dist/esm/models/live-data.d.ts +27 -0
- package/dist/esm/models/live-data.js +14 -0
- package/dist/esm/models/lookup-point.d.ts +30 -0
- package/dist/esm/models/lookup-point.js +14 -0
- package/dist/esm/models/lookup-tickers-for-market-in-multivariate-event-collection-request.d.ts +18 -0
- package/dist/esm/models/lookup-tickers-for-market-in-multivariate-event-collection-request.js +14 -0
- package/dist/esm/models/lookup-tickers-for-market-in-multivariate-event-collection-response.d.ts +21 -0
- package/dist/esm/models/lookup-tickers-for-market-in-multivariate-event-collection-response.js +14 -0
- package/dist/esm/models/maintenance-window.d.ts +21 -0
- package/dist/esm/models/maintenance-window.js +14 -0
- package/dist/esm/models/market-candlestick.d.ts +30 -0
- package/dist/esm/models/market-candlestick.js +14 -0
- package/dist/esm/models/market-candlesticks-response.d.ts +22 -0
- package/dist/esm/models/market-candlesticks-response.js +14 -0
- package/dist/esm/models/market-metadata.d.ts +25 -0
- package/dist/esm/models/market-metadata.js +14 -0
- package/dist/esm/models/market-position.d.ts +61 -0
- package/dist/esm/models/market-position.js +14 -0
- package/dist/esm/models/market.d.ts +219 -26
- package/dist/esm/models/market.js +21 -4
- package/dist/esm/models/milestone.d.ts +54 -7
- package/dist/esm/models/milestone.js +4 -4
- package/dist/esm/models/multivariate-event-collection.d.ts +61 -9
- package/dist/esm/models/multivariate-event-collection.js +4 -4
- package/dist/esm/models/mve-selected-leg.d.ts +25 -0
- package/dist/esm/models/mve-selected-leg.js +14 -0
- package/dist/esm/models/order-group.d.ts +5 -5
- package/dist/esm/models/order-group.js +4 -4
- package/dist/esm/models/order-queue-position.d.ts +25 -0
- package/dist/esm/models/order-queue-position.js +14 -0
- package/dist/esm/models/order-status.d.ts +20 -0
- package/dist/esm/models/order-status.js +21 -0
- package/dist/esm/models/order.d.ts +75 -29
- package/dist/esm/models/order.js +4 -10
- package/dist/esm/models/orderbook.d.ts +17 -0
- package/dist/esm/models/orderbook.js +14 -0
- package/dist/esm/models/percentile-point.d.ts +29 -0
- package/dist/esm/models/percentile-point.js +14 -0
- package/dist/esm/models/price-distribution.d.ts +77 -0
- package/dist/esm/models/price-distribution.js +14 -0
- package/dist/esm/models/price-range.d.ts +25 -0
- package/dist/esm/models/price-range.js +14 -0
- package/dist/esm/models/quote.d.ts +116 -17
- package/dist/esm/models/quote.js +14 -7
- package/dist/esm/models/rfq.d.ts +65 -16
- package/dist/esm/models/rfq.js +7 -7
- package/dist/esm/models/schedule.d.ts +23 -0
- package/dist/esm/models/schedule.js +14 -0
- package/dist/esm/models/scope-list.d.ts +17 -0
- package/dist/esm/models/scope-list.js +14 -0
- package/dist/esm/models/self-trade-prevention-type.d.ts +19 -0
- package/dist/esm/models/self-trade-prevention-type.js +20 -0
- package/dist/esm/models/series-fee-change.d.ts +39 -0
- package/dist/esm/models/series-fee-change.js +18 -0
- package/dist/esm/models/series.d.ts +57 -9
- package/dist/esm/models/series.js +9 -5
- package/dist/esm/models/settlement-source.d.ts +21 -0
- package/dist/esm/models/settlement-source.js +14 -0
- package/dist/esm/models/settlement.d.ts +48 -12
- package/dist/esm/models/settlement.js +8 -6
- package/dist/esm/models/sport-filter-details.d.ts +24 -0
- package/dist/esm/models/sport-filter-details.js +14 -0
- package/dist/esm/models/structured-target.d.ts +28 -7
- package/dist/esm/models/structured-target.js +4 -4
- package/dist/esm/models/ticker-pair.d.ts +30 -0
- package/dist/esm/models/ticker-pair.js +17 -0
- package/dist/esm/models/trade.d.ts +45 -11
- package/dist/esm/models/trade.js +6 -6
- package/dist/esm/models/weekly-schedule.d.ts +50 -0
- package/dist/esm/models/weekly-schedule.js +14 -0
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -4
- package/dist/models/accept-quote-request.d.ts +13 -5
- package/dist/models/accept-quote-request.js +9 -4
- package/dist/models/amend-order-request.d.ts +27 -10
- package/dist/models/amend-order-request.js +4 -4
- package/dist/models/amend-order-response.d.ts +6 -5
- package/dist/models/amend-order-response.js +4 -4
- package/dist/models/announcement.d.ts +25 -13
- package/dist/models/announcement.js +9 -9
- package/dist/models/api-key.d.ts +4 -8
- package/dist/models/api-key.js +4 -4
- package/dist/models/associated-event.d.ts +33 -0
- package/dist/models/associated-event.js +15 -0
- package/dist/models/batch-cancel-orders-individual-response.d.ts +25 -0
- package/dist/models/batch-cancel-orders-individual-response.js +15 -0
- package/dist/models/batch-cancel-orders-request.d.ts +8 -5
- package/dist/models/batch-cancel-orders-request.js +4 -4
- package/dist/models/batch-cancel-orders-response.d.ts +6 -6
- package/dist/models/batch-cancel-orders-response.js +4 -4
- package/dist/models/batch-create-orders-individual-response.d.ts +18 -0
- package/dist/models/batch-create-orders-individual-response.js +15 -0
- package/dist/models/batch-create-orders-request.d.ts +4 -4
- package/dist/models/batch-create-orders-request.js +4 -4
- package/dist/models/batch-create-orders-response.d.ts +6 -6
- package/dist/models/batch-create-orders-response.js +4 -4
- package/dist/models/batch-get-market-candlesticks-response.d.ts +18 -0
- package/dist/models/batch-get-market-candlesticks-response.js +15 -0
- package/dist/models/bid-ask-distribution.d.ts +45 -0
- package/dist/models/bid-ask-distribution.js +15 -0
- package/dist/models/cancel-order-response.d.ts +6 -6
- package/dist/models/cancel-order-response.js +4 -4
- package/dist/models/create-api-key-request.d.ts +4 -4
- package/dist/models/create-api-key-request.js +4 -4
- package/dist/models/create-api-key-response.d.ts +4 -4
- package/dist/models/create-api-key-response.js +4 -4
- package/dist/models/create-market-in-multivariate-event-collection-request.d.ts +18 -0
- package/dist/models/create-market-in-multivariate-event-collection-request.js +15 -0
- package/dist/models/create-market-in-multivariate-event-collection-response.d.ts +21 -0
- package/dist/models/create-market-in-multivariate-event-collection-response.js +15 -0
- package/dist/models/create-order-group-request.d.ts +5 -5
- package/dist/models/create-order-group-request.js +4 -4
- package/dist/models/create-order-group-response.d.ts +5 -5
- package/dist/models/create-order-group-response.js +4 -4
- package/dist/models/create-order-request.d.ts +34 -9
- package/dist/models/create-order-request.js +10 -5
- package/dist/models/create-order-response.d.ts +5 -5
- package/dist/models/create-order-response.js +4 -4
- package/dist/models/create-quote-request.d.ts +19 -6
- package/dist/models/create-quote-request.js +4 -4
- package/dist/models/create-quote-response.d.ts +8 -6
- package/dist/models/create-quote-response.js +4 -4
- package/dist/models/create-rfqrequest.d.ts +28 -13
- package/dist/models/create-rfqrequest.js +4 -9
- package/dist/models/create-rfqresponse.d.ts +8 -6
- package/dist/models/create-rfqresponse.js +4 -4
- package/dist/models/daily-schedule.d.ts +12 -6
- package/dist/models/daily-schedule.js +4 -4
- package/dist/models/decrease-order-request.d.ts +6 -5
- package/dist/models/decrease-order-request.js +4 -4
- package/dist/models/decrease-order-response.d.ts +5 -5
- package/dist/models/decrease-order-response.js +4 -4
- package/dist/models/error-response.d.ts +20 -6
- package/dist/models/error-response.js +4 -4
- package/dist/models/event-data.d.ts +62 -0
- package/dist/models/event-data.js +15 -0
- package/dist/models/event-position.d.ts +24 -24
- package/dist/models/event-position.js +4 -4
- package/dist/models/exchange-status.d.ts +16 -6
- package/dist/models/exchange-status.js +4 -4
- package/dist/models/fill.d.ts +71 -12
- package/dist/models/fill.js +4 -4
- package/dist/models/forecast-percentiles-point.d.ts +30 -0
- package/dist/models/forecast-percentiles-point.js +15 -0
- package/dist/models/generate-api-key-request.d.ts +4 -4
- package/dist/models/generate-api-key-request.js +4 -4
- package/dist/models/generate-api-key-response.d.ts +4 -4
- package/dist/models/generate-api-key-response.js +4 -4
- package/dist/models/get-api-keys-response.d.ts +4 -4
- package/dist/models/get-api-keys-response.js +4 -4
- package/dist/models/get-balance-response.d.ts +14 -6
- package/dist/models/get-balance-response.js +4 -4
- package/dist/models/get-communications-idresponse.d.ts +6 -6
- package/dist/models/get-communications-idresponse.js +4 -4
- package/dist/models/get-event-candlesticks-response.d.ts +26 -0
- package/dist/models/get-event-candlesticks-response.js +15 -0
- package/dist/models/get-event-forecast-percentiles-history-response.d.ts +18 -0
- package/dist/models/get-event-forecast-percentiles-history-response.js +15 -0
- package/dist/models/get-event-metadata-response.d.ts +30 -5
- package/dist/models/get-event-metadata-response.js +4 -4
- package/dist/models/get-event-response.d.ts +10 -7
- package/dist/models/get-event-response.js +4 -4
- package/dist/models/get-events-candlesticks-response-events-inner.d.ts +30 -0
- package/dist/models/get-events-candlesticks-response-events-inner.js +15 -0
- package/dist/models/get-events-candlesticks-response.d.ts +18 -0
- package/dist/models/get-events-candlesticks-response.js +15 -0
- package/dist/models/get-events-response.d.ts +18 -7
- package/dist/models/get-events-response.js +4 -4
- package/dist/models/get-exchange-announcements-response.d.ts +8 -5
- package/dist/models/get-exchange-announcements-response.js +4 -4
- package/dist/models/get-exchange-schedule-response.d.ts +6 -6
- package/dist/models/get-exchange-schedule-response.js +4 -4
- package/dist/models/get-fills-response.d.ts +6 -6
- package/dist/models/get-fills-response.js +4 -4
- package/dist/models/get-filters-by-sports-response.d.ts +24 -0
- package/dist/models/get-filters-by-sports-response.js +15 -0
- package/dist/models/get-incentive-programs-response.d.ts +19 -0
- package/dist/models/get-incentive-programs-response.js +15 -0
- package/dist/models/get-live-data-response.d.ts +15 -0
- package/dist/models/get-live-data-response.js +15 -0
- package/dist/models/get-live-datas-response.d.ts +15 -0
- package/dist/models/get-live-datas-response.js +15 -0
- package/dist/models/get-market-candlesticks-response.d.ts +13 -6
- package/dist/models/get-market-candlesticks-response.js +4 -4
- package/dist/models/get-market-orderbook-response.d.ts +6 -6
- package/dist/models/get-market-orderbook-response.js +4 -4
- package/dist/models/get-market-response.d.ts +5 -5
- package/dist/models/get-market-response.js +4 -4
- package/dist/models/get-markets-response.d.ts +6 -6
- package/dist/models/get-markets-response.js +4 -4
- package/dist/models/get-milestone-response.d.ts +5 -5
- package/dist/models/get-milestone-response.js +4 -4
- package/dist/models/get-milestones-response.d.ts +12 -5
- package/dist/models/get-milestones-response.js +4 -4
- package/dist/models/get-multivariate-event-collection-lookup-history-response.d.ts +18 -0
- package/dist/models/get-multivariate-event-collection-lookup-history-response.js +15 -0
- package/dist/models/get-multivariate-event-collection-response.d.ts +5 -5
- package/dist/models/get-multivariate-event-collection-response.js +4 -4
- package/dist/models/get-multivariate-event-collections-response.d.ts +12 -5
- package/dist/models/get-multivariate-event-collections-response.js +4 -4
- package/dist/models/get-multivariate-events-response.d.ts +22 -0
- package/dist/models/get-multivariate-events-response.js +15 -0
- package/dist/models/get-order-group-response.d.ts +6 -6
- package/dist/models/get-order-group-response.js +4 -4
- package/dist/models/get-order-groups-response.d.ts +4 -5
- package/dist/models/get-order-groups-response.js +4 -4
- package/dist/models/get-order-queue-position-response.d.ts +8 -5
- package/dist/models/get-order-queue-position-response.js +4 -4
- package/dist/models/get-order-queue-positions-response.d.ts +18 -0
- package/dist/models/get-order-queue-positions-response.js +15 -0
- package/dist/models/get-order-response.d.ts +4 -4
- package/dist/models/get-order-response.js +4 -4
- package/dist/models/get-orders-response.d.ts +6 -6
- package/dist/models/get-orders-response.js +4 -4
- package/dist/models/get-portfolio-resting-order-total-value-response.d.ts +17 -0
- package/dist/models/get-portfolio-resting-order-total-value-response.js +15 -0
- package/dist/models/get-positions-response.d.ts +16 -7
- package/dist/models/get-positions-response.js +4 -4
- package/dist/models/get-quote-response.d.ts +5 -5
- package/dist/models/get-quote-response.js +4 -4
- package/dist/models/get-quotes-response.d.ts +12 -5
- package/dist/models/get-quotes-response.js +4 -4
- package/dist/models/get-rfqresponse.d.ts +5 -5
- package/dist/models/get-rfqresponse.js +4 -4
- package/dist/models/get-rfqs-response.d.ts +12 -5
- package/dist/models/get-rfqs-response.js +4 -4
- package/dist/models/get-series-fee-changes-response.d.ts +15 -0
- package/dist/models/get-series-fee-changes-response.js +15 -0
- package/dist/models/get-series-list-response.d.ts +15 -0
- package/dist/models/get-series-list-response.js +15 -0
- package/dist/models/get-series-response.d.ts +5 -5
- package/dist/models/get-series-response.js +4 -4
- package/dist/models/get-settlements-response.d.ts +5 -5
- package/dist/models/get-settlements-response.js +4 -4
- package/dist/models/get-structured-target-response.d.ts +4 -4
- package/dist/models/get-structured-target-response.js +4 -4
- package/dist/models/get-structured-targets-response.d.ts +8 -4
- package/dist/models/get-structured-targets-response.js +4 -4
- package/dist/models/get-tags-for-series-categories-response.d.ts +19 -0
- package/dist/models/get-tags-for-series-categories-response.js +15 -0
- package/dist/models/get-trades-response.d.ts +6 -6
- package/dist/models/get-trades-response.js +4 -4
- package/dist/models/get-user-data-timestamp-response.d.ts +8 -5
- package/dist/models/get-user-data-timestamp-response.js +4 -4
- package/dist/models/incentive-program.d.ts +54 -0
- package/dist/models/incentive-program.js +20 -0
- package/dist/models/index.d.ts +47 -17
- package/dist/models/index.js +47 -17
- package/dist/models/live-data.d.ts +27 -0
- package/dist/models/live-data.js +15 -0
- package/dist/models/lookup-point.d.ts +30 -0
- package/dist/models/lookup-point.js +15 -0
- package/dist/models/lookup-tickers-for-market-in-multivariate-event-collection-request.d.ts +18 -0
- package/dist/models/lookup-tickers-for-market-in-multivariate-event-collection-request.js +15 -0
- package/dist/models/lookup-tickers-for-market-in-multivariate-event-collection-response.d.ts +21 -0
- package/dist/models/lookup-tickers-for-market-in-multivariate-event-collection-response.js +15 -0
- package/dist/models/maintenance-window.d.ts +21 -0
- package/dist/models/maintenance-window.js +15 -0
- package/dist/models/market-candlestick.d.ts +30 -0
- package/dist/models/market-candlestick.js +15 -0
- package/dist/models/market-candlesticks-response.d.ts +22 -0
- package/dist/models/market-candlesticks-response.js +15 -0
- package/dist/models/market-metadata.d.ts +25 -0
- package/dist/models/market-metadata.js +15 -0
- package/dist/models/market-position.d.ts +61 -0
- package/dist/models/market-position.js +15 -0
- package/dist/models/market.d.ts +219 -26
- package/dist/models/market.js +22 -5
- package/dist/models/milestone.d.ts +54 -7
- package/dist/models/milestone.js +4 -4
- package/dist/models/multivariate-event-collection.d.ts +61 -9
- package/dist/models/multivariate-event-collection.js +4 -4
- package/dist/models/mve-selected-leg.d.ts +25 -0
- package/dist/models/mve-selected-leg.js +15 -0
- package/dist/models/order-group.d.ts +5 -5
- package/dist/models/order-group.js +4 -4
- package/dist/models/order-queue-position.d.ts +25 -0
- package/dist/models/order-queue-position.js +15 -0
- package/dist/models/order-status.d.ts +20 -0
- package/dist/models/order-status.js +24 -0
- package/dist/models/order.d.ts +75 -29
- package/dist/models/order.js +5 -11
- package/dist/models/orderbook.d.ts +17 -0
- package/dist/models/orderbook.js +15 -0
- package/dist/models/percentile-point.d.ts +29 -0
- package/dist/models/percentile-point.js +15 -0
- package/dist/models/price-distribution.d.ts +77 -0
- package/dist/models/price-distribution.js +15 -0
- package/dist/models/price-range.d.ts +25 -0
- package/dist/models/price-range.js +15 -0
- package/dist/models/quote.d.ts +116 -17
- package/dist/models/quote.js +15 -8
- package/dist/models/rfq.d.ts +65 -16
- package/dist/models/rfq.js +8 -8
- package/dist/models/schedule.d.ts +23 -0
- package/dist/models/schedule.js +15 -0
- package/dist/models/scope-list.d.ts +17 -0
- package/dist/models/scope-list.js +15 -0
- package/dist/models/self-trade-prevention-type.d.ts +19 -0
- package/dist/models/self-trade-prevention-type.js +23 -0
- package/dist/models/series-fee-change.d.ts +39 -0
- package/dist/models/series-fee-change.js +21 -0
- package/dist/models/series.d.ts +57 -9
- package/dist/models/series.js +10 -4
- package/dist/models/settlement-source.d.ts +21 -0
- package/dist/models/settlement-source.js +15 -0
- package/dist/models/settlement.d.ts +48 -12
- package/dist/models/settlement.js +9 -7
- package/dist/models/sport-filter-details.d.ts +24 -0
- package/dist/models/sport-filter-details.js +15 -0
- package/dist/models/structured-target.d.ts +28 -7
- package/dist/models/structured-target.js +4 -4
- package/dist/models/ticker-pair.d.ts +30 -0
- package/dist/models/ticker-pair.js +20 -0
- package/dist/models/trade.d.ts +45 -11
- package/dist/models/trade.js +6 -6
- package/dist/models/weekly-schedule.d.ts +50 -0
- package/dist/models/weekly-schedule.js +15 -0
- package/docs/AcceptQuoteRequest.md +2 -2
- package/docs/AmendOrderRequest.md +12 -8
- package/docs/AmendOrderResponse.md +3 -1
- package/docs/Announcement.md +6 -6
- package/docs/ApiKey.md +0 -2
- package/docs/ApiKeysApi.md +16 -106
- package/docs/AssociatedEvent.md +28 -0
- package/docs/BatchCancelOrdersIndividualResponse.md +26 -0
- package/docs/BatchCancelOrdersRequest.md +2 -2
- package/docs/BatchCancelOrdersResponse.md +2 -2
- package/docs/BatchCreateOrdersIndividualResponse.md +24 -0
- package/docs/BatchCreateOrdersResponse.md +2 -2
- package/docs/BatchGetMarketCandlesticksResponse.md +20 -0
- package/docs/BidAskDistribution.md +34 -0
- package/docs/CancelOrderResponse.md +2 -2
- package/docs/CollectionApi.md +318 -0
- package/docs/CommunicationsApi.md +46 -271
- package/docs/CreateMarketInMultivariateEventCollectionRequest.md +20 -0
- package/docs/CreateMarketInMultivariateEventCollectionResponse.md +22 -0
- package/docs/CreateOrderGroupRequest.md +1 -1
- package/docs/CreateOrderGroupResponse.md +1 -1
- package/docs/CreateOrderRequest.md +18 -6
- package/docs/CreateOrderResponse.md +1 -1
- package/docs/CreateQuoteRequest.md +7 -5
- package/docs/CreateQuoteResponse.md +2 -2
- package/docs/CreateRFQRequest.md +12 -8
- package/docs/CreateRFQResponse.md +2 -2
- package/docs/DailySchedule.md +2 -2
- package/docs/DecreaseOrderRequest.md +3 -1
- package/docs/DecreaseOrderResponse.md +1 -1
- package/docs/ErrorResponse.md +8 -2
- package/docs/EventData.md +42 -0
- package/docs/EventPosition.md +11 -11
- package/docs/EventsApi.md +133 -93
- package/docs/ExchangeApi.md +42 -83
- package/docs/ExchangeStatus.md +4 -2
- package/docs/FcmApi.md +92 -0
- package/docs/Fill.md +25 -9
- package/docs/ForecastPercentilesPoint.md +26 -0
- package/docs/GetBalanceResponse.md +5 -1
- package/docs/GetCommunicationsIDResponse.md +1 -1
- package/docs/GetEventCandlesticksResponse.md +24 -0
- package/docs/GetEventForecastPercentilesHistoryResponse.md +20 -0
- package/docs/GetEventMetadataResponse.md +12 -2
- package/docs/GetEventResponse.md +2 -2
- package/docs/GetEventsCandlesticksResponse.md +20 -0
- package/docs/GetEventsCandlesticksResponseEventsInner.md +26 -0
- package/docs/GetEventsResponse.md +4 -2
- package/docs/GetExchangeAnnouncementsResponse.md +1 -1
- package/docs/GetExchangeScheduleResponse.md +1 -1
- package/docs/GetFillsResponse.md +2 -2
- package/docs/GetFiltersBySportsResponse.md +22 -0
- package/docs/GetIncentiveProgramsResponse.md +22 -0
- package/docs/GetLiveDataResponse.md +20 -0
- package/docs/GetLiveDatasResponse.md +20 -0
- package/docs/GetMarketCandlesticksResponse.md +3 -1
- package/docs/GetMarketOrderbookResponse.md +1 -1
- package/docs/GetMarketResponse.md +1 -1
- package/docs/GetMarketsResponse.md +2 -2
- package/docs/GetMilestoneResponse.md +1 -1
- package/docs/GetMilestonesResponse.md +3 -1
- package/docs/GetMultivariateEventCollectionLookupHistoryResponse.md +20 -0
- package/docs/GetMultivariateEventCollectionResponse.md +2 -2
- package/docs/GetMultivariateEventCollectionsResponse.md +4 -2
- package/docs/GetMultivariateEventsResponse.md +22 -0
- package/docs/GetOrderGroupResponse.md +2 -2
- package/docs/GetOrderGroupsResponse.md +0 -2
- package/docs/GetOrderQueuePositionResponse.md +1 -1
- package/docs/GetOrderQueuePositionsResponse.md +20 -0
- package/docs/GetOrdersResponse.md +2 -2
- package/docs/GetPortfolioRestingOrderTotalValueResponse.md +20 -0
- package/docs/GetPositionsResponse.md +4 -4
- package/docs/GetQuoteResponse.md +1 -1
- package/docs/GetQuotesResponse.md +3 -1
- package/docs/GetRFQResponse.md +1 -1
- package/docs/GetRFQsResponse.md +3 -1
- package/docs/GetSeriesFeeChangesResponse.md +20 -0
- package/docs/GetSeriesListResponse.md +20 -0
- package/docs/GetSeriesResponse.md +1 -1
- package/docs/GetSettlementsResponse.md +1 -1
- package/docs/GetStructuredTargetsResponse.md +2 -0
- package/docs/GetTagsForSeriesCategoriesResponse.md +20 -0
- package/docs/GetTradesResponse.md +2 -2
- package/docs/GetUserDataTimestampResponse.md +2 -2
- package/docs/IncentiveProgram.md +36 -0
- package/docs/IncentiveProgramsApi.md +44 -0
- package/docs/LiveData.md +24 -0
- package/docs/LiveDataApi.md +75 -0
- package/docs/LookupPoint.md +26 -0
- package/docs/LookupTickersForMarketInMultivariateEventCollectionRequest.md +20 -0
- package/docs/LookupTickersForMarketInMultivariateEventCollectionResponse.md +22 -0
- package/docs/MaintenanceWindow.md +22 -0
- package/docs/Market.md +105 -21
- package/docs/MarketApi.md +311 -0
- package/docs/MarketCandlestick.md +30 -0
- package/docs/MarketCandlesticksResponse.md +22 -0
- package/docs/MarketMetadata.md +24 -0
- package/docs/MarketPosition.md +42 -0
- package/docs/MarketsApi.md +3 -4
- package/docs/Milestone.md +23 -5
- package/docs/MilestoneApi.md +85 -0
- package/docs/MilestonesApi.md +0 -1
- package/docs/MultivariateApi.md +188 -0
- package/docs/MultivariateCollectionsApi.md +0 -1
- package/docs/MultivariateEventCollection.md +26 -6
- package/docs/MveSelectedLeg.md +24 -0
- package/docs/Order.md +42 -18
- package/docs/OrderGroup.md +1 -1
- package/docs/OrderGroupsApi.md +180 -0
- package/docs/OrderQueuePosition.md +24 -0
- package/docs/OrderStatus.md +13 -0
- package/docs/Orderbook.md +26 -0
- package/docs/OrdersApi.md +372 -0
- package/docs/PercentilePoint.md +26 -0
- package/docs/PortfolioApi.md +27 -1062
- package/docs/PriceDistribution.md +50 -0
- package/docs/PriceRange.md +24 -0
- package/docs/Quote.md +48 -16
- package/docs/RFQ.md +26 -14
- package/docs/Schedule.md +22 -0
- package/docs/ScopeList.md +20 -0
- package/docs/SearchApi.md +69 -0
- package/docs/SelfTradePreventionType.md +11 -0
- package/docs/Series.md +21 -5
- package/docs/SeriesApi.md +0 -1
- package/docs/SeriesFeeChange.md +28 -0
- package/docs/Settlement.md +15 -7
- package/docs/SettlementSource.md +22 -0
- package/docs/SportFilterDetails.md +22 -0
- package/docs/StructuredTarget.md +12 -6
- package/docs/StructuredTargetsApi.md +11 -57
- package/docs/TickerPair.md +24 -0
- package/docs/Trade.md +14 -6
- package/docs/WeeklySchedule.md +36 -0
- package/index.ts +4 -4
- package/models/accept-quote-request.ts +16 -5
- package/models/amend-order-request.ts +27 -10
- package/models/amend-order-response.ts +6 -5
- package/models/announcement.ts +26 -14
- package/models/api-key.ts +4 -8
- package/models/associated-event.ts +39 -0
- package/models/batch-cancel-orders-individual-response.ts +35 -0
- package/models/batch-cancel-orders-request.ts +8 -5
- package/models/batch-cancel-orders-response-responses-inner.ts +0 -1
- package/models/batch-cancel-orders-response.ts +6 -6
- package/models/batch-create-orders-individual-response.ts +28 -0
- package/models/batch-create-orders-request.ts +4 -4
- package/models/batch-create-orders-response-responses-inner.ts +0 -1
- package/models/batch-create-orders-response.ts +6 -6
- package/models/batch-get-market-candlesticks-response.ts +26 -0
- package/models/bid-ask-distribution.ts +51 -0
- package/models/cancel-order-response.ts +6 -6
- package/models/candlestick.ts +0 -1
- package/models/create-api-key-request.ts +4 -4
- package/models/create-api-key-response.ts +4 -4
- package/models/create-market-in-multivariate-event-collection-request.ts +26 -0
- package/models/create-market-in-multivariate-event-collection-response.ts +27 -0
- package/models/create-order-group-request.ts +5 -5
- package/models/create-order-group-response.ts +5 -5
- package/models/create-order-request.ts +37 -9
- package/models/create-order-response.ts +5 -5
- package/models/create-quote-request.ts +19 -6
- package/models/create-quote-response.ts +8 -8
- package/models/create-rfqrequest.ts +28 -16
- package/models/create-rfqresponse.ts +8 -8
- package/models/daily-schedule.ts +12 -6
- package/models/decrease-order-request.ts +6 -5
- package/models/decrease-order-response.ts +5 -5
- package/models/error-response-error.ts +0 -1
- package/models/error-response.ts +20 -8
- package/models/event-data.ts +70 -0
- package/models/event-position.ts +24 -24
- package/models/event.ts +0 -2
- package/models/exchange-status.ts +16 -6
- package/models/fill.ts +71 -12
- package/models/forecast-percentiles-point.ts +38 -0
- package/models/generate-api-key-request.ts +4 -4
- package/models/generate-api-key-response.ts +4 -4
- package/models/get-api-keys-response.ts +4 -4
- package/models/get-balance-response.ts +14 -6
- package/models/get-communications-idresponse.ts +6 -6
- package/models/get-event-candlesticks-response.ts +34 -0
- package/models/get-event-forecast-percentiles-history-response.ts +26 -0
- package/models/get-event-metadata-response.ts +34 -5
- package/models/get-event-response.ts +10 -7
- package/models/get-events-candlesticks-response-events-inner.ts +38 -0
- package/models/get-events-candlesticks-response.ts +26 -0
- package/models/get-events-response.ts +20 -7
- package/models/get-exchange-announcements-response.ts +8 -5
- package/models/get-exchange-schedule-response-schedule.ts +0 -1
- package/models/get-exchange-schedule-response.ts +6 -6
- package/models/get-fills-response.ts +6 -6
- package/models/get-filters-by-sports-response.ts +30 -0
- package/models/get-incentive-programs-response.ts +27 -0
- package/models/get-live-data-response.ts +23 -0
- package/models/get-live-datas-response.ts +23 -0
- package/models/get-market-candlesticks-response.ts +13 -6
- package/models/get-market-orderbook-response-orderbook.ts +0 -1
- package/models/get-market-orderbook-response.ts +6 -6
- package/models/get-market-response.ts +5 -5
- package/models/get-markets-response.ts +6 -6
- package/models/get-milestone-response.ts +5 -5
- package/models/get-milestones-response.ts +12 -5
- package/models/get-multivariate-event-collection-lookup-history-response.ts +26 -0
- package/models/get-multivariate-event-collection-response.ts +5 -5
- package/models/get-multivariate-event-collections-response.ts +12 -5
- package/models/get-multivariate-events-response.ts +30 -0
- package/models/get-order-group-response.ts +6 -6
- package/models/get-order-groups-response.ts +4 -5
- package/models/get-order-queue-position-response.ts +8 -5
- package/models/get-order-queue-positions-response.ts +26 -0
- package/models/get-order-response.ts +4 -4
- package/models/get-orders-response.ts +6 -6
- package/models/get-portfolio-resting-order-total-value-response.ts +23 -0
- package/models/get-positions-response.ts +16 -7
- package/models/get-queue-positions-request.ts +0 -1
- package/models/get-queue-positions-response.ts +0 -1
- package/models/get-quote-response.ts +5 -5
- package/models/get-quotes-response.ts +12 -5
- package/models/get-rfqresponse.ts +5 -5
- package/models/get-rfqs-response.ts +12 -5
- package/models/get-series-by-ticker-response.ts +0 -1
- package/models/get-series-fee-changes-response.ts +23 -0
- package/models/get-series-list-response.ts +23 -0
- package/models/get-series-response.ts +5 -5
- package/models/get-settlements-response.ts +5 -5
- package/models/get-structured-target-response.ts +4 -4
- package/models/get-structured-targets-response.ts +8 -4
- package/models/get-tags-for-series-categories-response.ts +23 -0
- package/models/get-total-resting-order-value-response.ts +0 -1
- package/models/get-trades-response.ts +6 -6
- package/models/get-user-data-timestamp-response.ts +8 -5
- package/models/incentive-program.ts +63 -0
- package/models/index.ts +47 -17
- package/models/live-data.ts +31 -0
- package/models/lookup-bundle-request-bundle-inner.ts +0 -1
- package/models/lookup-bundle-request.ts +0 -1
- package/models/lookup-bundle-response.ts +0 -1
- package/models/lookup-point.ts +38 -0
- package/models/lookup-tickers-for-market-in-multivariate-event-collection-request.ts +26 -0
- package/models/lookup-tickers-for-market-in-multivariate-event-collection-response.ts +27 -0
- package/models/maintenance-window.ts +27 -0
- package/models/market-candlestick.ts +40 -0
- package/models/market-candlesticks-response.ts +30 -0
- package/models/market-metadata.ts +31 -0
- package/models/market-position.ts +67 -0
- package/models/market.ts +226 -26
- package/models/milestone.ts +52 -7
- package/models/multivariate-event-collection-events-inner.ts +0 -1
- package/models/multivariate-event-collection.ts +61 -9
- package/models/mve-selected-leg.ts +31 -0
- package/models/order-group.ts +5 -5
- package/models/order-queue-position.ts +31 -0
- package/models/order-status.ts +30 -0
- package/models/order.ts +79 -30
- package/models/orderbook-level.ts +0 -1
- package/models/orderbook.ts +23 -0
- package/models/percentile-point.ts +35 -0
- package/models/position.ts +0 -2
- package/models/price-distribution.ts +83 -0
- package/models/price-range.ts +31 -0
- package/models/quote.ts +117 -17
- package/models/rfq.ts +67 -16
- package/models/schedule.ts +33 -0
- package/models/scope-list.ts +23 -0
- package/models/self-trade-prevention-type.ts +29 -0
- package/models/series-fee-change.ts +48 -0
- package/models/series.ts +62 -9
- package/models/settlement-source.ts +27 -0
- package/models/settlement.ts +49 -13
- package/models/sport-filter-details.ts +30 -0
- package/models/structured-target.ts +28 -7
- package/models/ticker-pair.ts +39 -0
- package/models/trade.ts +45 -11
- package/models/weekly-schedule.ts +58 -0
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Kalshi
|
|
5
|
-
*
|
|
4
|
+
* Kalshi Trade API Manual Endpoints
|
|
5
|
+
* Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
8
|
-
*
|
|
7
|
+
* The version of the OpenAPI document: 3.0.0
|
|
8
|
+
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -52,7 +52,7 @@ import type { GetRFQsResponse } from '../models';
|
|
|
52
52
|
export const CommunicationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
53
53
|
return {
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* Endpoint for accepting a quote. This will require the quoter to confirm
|
|
56
56
|
* @summary Accept Quote
|
|
57
57
|
* @param {string} quoteId Quote ID
|
|
58
58
|
* @param {AcceptQuoteRequest} acceptQuoteRequest
|
|
@@ -77,9 +77,14 @@ export const CommunicationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
77
77
|
const localVarHeaderParameter = {} as any;
|
|
78
78
|
const localVarQueryParameter = {} as any;
|
|
79
79
|
|
|
80
|
-
// authentication
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
// authentication kalshiAccessSignature required
|
|
81
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-SIGNATURE", configuration)
|
|
82
|
+
|
|
83
|
+
// authentication kalshiAccessKey required
|
|
84
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-KEY", configuration)
|
|
85
|
+
|
|
86
|
+
// authentication kalshiAccessTimestamp required
|
|
87
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-TIMESTAMP", configuration)
|
|
83
88
|
|
|
84
89
|
|
|
85
90
|
|
|
@@ -96,13 +101,14 @@ export const CommunicationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
96
101
|
};
|
|
97
102
|
},
|
|
98
103
|
/**
|
|
99
|
-
*
|
|
104
|
+
* Endpoint for confirming a quote. This will start a timer for order execution
|
|
100
105
|
* @summary Confirm Quote
|
|
101
106
|
* @param {string} quoteId Quote ID
|
|
107
|
+
* @param {object} [body]
|
|
102
108
|
* @param {*} [options] Override http request option.
|
|
103
109
|
* @throws {RequiredError}
|
|
104
110
|
*/
|
|
105
|
-
confirmQuote: async (quoteId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
111
|
+
confirmQuote: async (quoteId: string, body?: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
106
112
|
// verify required parameter 'quoteId' is not null or undefined
|
|
107
113
|
assertParamExists('confirmQuote', 'quoteId', quoteId)
|
|
108
114
|
const localVarPath = `/communications/quotes/{quote_id}/confirm`
|
|
@@ -118,15 +124,23 @@ export const CommunicationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
118
124
|
const localVarHeaderParameter = {} as any;
|
|
119
125
|
const localVarQueryParameter = {} as any;
|
|
120
126
|
|
|
121
|
-
// authentication
|
|
122
|
-
|
|
123
|
-
|
|
127
|
+
// authentication kalshiAccessSignature required
|
|
128
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-SIGNATURE", configuration)
|
|
129
|
+
|
|
130
|
+
// authentication kalshiAccessKey required
|
|
131
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-KEY", configuration)
|
|
132
|
+
|
|
133
|
+
// authentication kalshiAccessTimestamp required
|
|
134
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-TIMESTAMP", configuration)
|
|
124
135
|
|
|
125
136
|
|
|
126
137
|
|
|
138
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
139
|
+
|
|
127
140
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
128
141
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
129
142
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
143
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
130
144
|
|
|
131
145
|
return {
|
|
132
146
|
url: toPathString(localVarUrlObj),
|
|
@@ -134,7 +148,7 @@ export const CommunicationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
134
148
|
};
|
|
135
149
|
},
|
|
136
150
|
/**
|
|
137
|
-
*
|
|
151
|
+
* Endpoint for creating a quote in response to an RFQ
|
|
138
152
|
* @summary Create Quote
|
|
139
153
|
* @param {CreateQuoteRequest} createQuoteRequest
|
|
140
154
|
* @param {*} [options] Override http request option.
|
|
@@ -155,9 +169,14 @@ export const CommunicationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
155
169
|
const localVarHeaderParameter = {} as any;
|
|
156
170
|
const localVarQueryParameter = {} as any;
|
|
157
171
|
|
|
158
|
-
// authentication
|
|
159
|
-
|
|
160
|
-
|
|
172
|
+
// authentication kalshiAccessSignature required
|
|
173
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-SIGNATURE", configuration)
|
|
174
|
+
|
|
175
|
+
// authentication kalshiAccessKey required
|
|
176
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-KEY", configuration)
|
|
177
|
+
|
|
178
|
+
// authentication kalshiAccessTimestamp required
|
|
179
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-TIMESTAMP", configuration)
|
|
161
180
|
|
|
162
181
|
|
|
163
182
|
|
|
@@ -174,7 +193,7 @@ export const CommunicationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
174
193
|
};
|
|
175
194
|
},
|
|
176
195
|
/**
|
|
177
|
-
*
|
|
196
|
+
* Endpoint for creating a new RFQ. You can have a maximum of 100 open RFQs at a time.
|
|
178
197
|
* @summary Create RFQ
|
|
179
198
|
* @param {CreateRFQRequest} createRFQRequest
|
|
180
199
|
* @param {*} [options] Override http request option.
|
|
@@ -195,9 +214,14 @@ export const CommunicationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
195
214
|
const localVarHeaderParameter = {} as any;
|
|
196
215
|
const localVarQueryParameter = {} as any;
|
|
197
216
|
|
|
198
|
-
// authentication
|
|
199
|
-
|
|
200
|
-
|
|
217
|
+
// authentication kalshiAccessSignature required
|
|
218
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-SIGNATURE", configuration)
|
|
219
|
+
|
|
220
|
+
// authentication kalshiAccessKey required
|
|
221
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-KEY", configuration)
|
|
222
|
+
|
|
223
|
+
// authentication kalshiAccessTimestamp required
|
|
224
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-TIMESTAMP", configuration)
|
|
201
225
|
|
|
202
226
|
|
|
203
227
|
|
|
@@ -214,7 +238,7 @@ export const CommunicationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
214
238
|
};
|
|
215
239
|
},
|
|
216
240
|
/**
|
|
217
|
-
*
|
|
241
|
+
* Endpoint for deleting a quote, which means it can no longer be accepted.
|
|
218
242
|
* @summary Delete Quote
|
|
219
243
|
* @param {string} quoteId Quote ID
|
|
220
244
|
* @param {*} [options] Override http request option.
|
|
@@ -236,9 +260,14 @@ export const CommunicationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
236
260
|
const localVarHeaderParameter = {} as any;
|
|
237
261
|
const localVarQueryParameter = {} as any;
|
|
238
262
|
|
|
239
|
-
// authentication
|
|
240
|
-
|
|
241
|
-
|
|
263
|
+
// authentication kalshiAccessSignature required
|
|
264
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-SIGNATURE", configuration)
|
|
265
|
+
|
|
266
|
+
// authentication kalshiAccessKey required
|
|
267
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-KEY", configuration)
|
|
268
|
+
|
|
269
|
+
// authentication kalshiAccessTimestamp required
|
|
270
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-TIMESTAMP", configuration)
|
|
242
271
|
|
|
243
272
|
|
|
244
273
|
|
|
@@ -252,7 +281,7 @@ export const CommunicationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
252
281
|
};
|
|
253
282
|
},
|
|
254
283
|
/**
|
|
255
|
-
*
|
|
284
|
+
* Endpoint for deleting an RFQ by ID
|
|
256
285
|
* @summary Delete RFQ
|
|
257
286
|
* @param {string} rfqId RFQ ID
|
|
258
287
|
* @param {*} [options] Override http request option.
|
|
@@ -274,9 +303,14 @@ export const CommunicationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
274
303
|
const localVarHeaderParameter = {} as any;
|
|
275
304
|
const localVarQueryParameter = {} as any;
|
|
276
305
|
|
|
277
|
-
// authentication
|
|
278
|
-
|
|
279
|
-
|
|
306
|
+
// authentication kalshiAccessSignature required
|
|
307
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-SIGNATURE", configuration)
|
|
308
|
+
|
|
309
|
+
// authentication kalshiAccessKey required
|
|
310
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-KEY", configuration)
|
|
311
|
+
|
|
312
|
+
// authentication kalshiAccessTimestamp required
|
|
313
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-TIMESTAMP", configuration)
|
|
280
314
|
|
|
281
315
|
|
|
282
316
|
|
|
@@ -290,7 +324,7 @@ export const CommunicationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
290
324
|
};
|
|
291
325
|
},
|
|
292
326
|
/**
|
|
293
|
-
*
|
|
327
|
+
* Endpoint for getting the communications ID of the logged-in user.
|
|
294
328
|
* @summary Get Communications ID
|
|
295
329
|
* @param {*} [options] Override http request option.
|
|
296
330
|
* @throws {RequiredError}
|
|
@@ -308,9 +342,14 @@ export const CommunicationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
308
342
|
const localVarHeaderParameter = {} as any;
|
|
309
343
|
const localVarQueryParameter = {} as any;
|
|
310
344
|
|
|
311
|
-
// authentication
|
|
312
|
-
|
|
313
|
-
|
|
345
|
+
// authentication kalshiAccessSignature required
|
|
346
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-SIGNATURE", configuration)
|
|
347
|
+
|
|
348
|
+
// authentication kalshiAccessKey required
|
|
349
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-KEY", configuration)
|
|
350
|
+
|
|
351
|
+
// authentication kalshiAccessTimestamp required
|
|
352
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-TIMESTAMP", configuration)
|
|
314
353
|
|
|
315
354
|
|
|
316
355
|
|
|
@@ -324,7 +363,7 @@ export const CommunicationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
324
363
|
};
|
|
325
364
|
},
|
|
326
365
|
/**
|
|
327
|
-
*
|
|
366
|
+
* Endpoint for getting a particular quote
|
|
328
367
|
* @summary Get Quote
|
|
329
368
|
* @param {string} quoteId Quote ID
|
|
330
369
|
* @param {*} [options] Override http request option.
|
|
@@ -346,9 +385,14 @@ export const CommunicationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
346
385
|
const localVarHeaderParameter = {} as any;
|
|
347
386
|
const localVarQueryParameter = {} as any;
|
|
348
387
|
|
|
349
|
-
// authentication
|
|
350
|
-
|
|
351
|
-
|
|
388
|
+
// authentication kalshiAccessSignature required
|
|
389
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-SIGNATURE", configuration)
|
|
390
|
+
|
|
391
|
+
// authentication kalshiAccessKey required
|
|
392
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-KEY", configuration)
|
|
393
|
+
|
|
394
|
+
// authentication kalshiAccessTimestamp required
|
|
395
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-TIMESTAMP", configuration)
|
|
352
396
|
|
|
353
397
|
|
|
354
398
|
|
|
@@ -362,12 +406,21 @@ export const CommunicationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
362
406
|
};
|
|
363
407
|
},
|
|
364
408
|
/**
|
|
365
|
-
*
|
|
409
|
+
* Endpoint for getting quotes
|
|
366
410
|
* @summary Get Quotes
|
|
411
|
+
* @param {string} [cursor] Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
|
|
412
|
+
* @param {string} [eventTicker] Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
|
|
413
|
+
* @param {string} [marketTicker] Filter by market ticker
|
|
414
|
+
* @param {number} [limit] Parameter to specify the number of results per page. Defaults to 500.
|
|
415
|
+
* @param {string} [status] Filter quotes by status
|
|
416
|
+
* @param {string} [quoteCreatorUserId] Filter quotes by quote creator user ID
|
|
417
|
+
* @param {string} [rfqCreatorUserId] Filter quotes by RFQ creator user ID
|
|
418
|
+
* @param {string} [rfqCreatorSubtraderId] Filter quotes by RFQ creator subtrader ID (FCM members only)
|
|
419
|
+
* @param {string} [rfqId] Filter quotes by RFQ ID
|
|
367
420
|
* @param {*} [options] Override http request option.
|
|
368
421
|
* @throws {RequiredError}
|
|
369
422
|
*/
|
|
370
|
-
getQuotes: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
423
|
+
getQuotes: async (cursor?: string, eventTicker?: string, marketTicker?: string, limit?: number, status?: string, quoteCreatorUserId?: string, rfqCreatorUserId?: string, rfqCreatorSubtraderId?: string, rfqId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
371
424
|
const localVarPath = `/communications/quotes`;
|
|
372
425
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
373
426
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -380,9 +433,50 @@ export const CommunicationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
380
433
|
const localVarHeaderParameter = {} as any;
|
|
381
434
|
const localVarQueryParameter = {} as any;
|
|
382
435
|
|
|
383
|
-
// authentication
|
|
384
|
-
|
|
385
|
-
|
|
436
|
+
// authentication kalshiAccessSignature required
|
|
437
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-SIGNATURE", configuration)
|
|
438
|
+
|
|
439
|
+
// authentication kalshiAccessKey required
|
|
440
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-KEY", configuration)
|
|
441
|
+
|
|
442
|
+
// authentication kalshiAccessTimestamp required
|
|
443
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-TIMESTAMP", configuration)
|
|
444
|
+
|
|
445
|
+
if (cursor !== undefined) {
|
|
446
|
+
localVarQueryParameter['cursor'] = cursor;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
if (eventTicker !== undefined) {
|
|
450
|
+
localVarQueryParameter['event_ticker'] = eventTicker;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
if (marketTicker !== undefined) {
|
|
454
|
+
localVarQueryParameter['market_ticker'] = marketTicker;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
if (limit !== undefined) {
|
|
458
|
+
localVarQueryParameter['limit'] = limit;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
if (status !== undefined) {
|
|
462
|
+
localVarQueryParameter['status'] = status;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
if (quoteCreatorUserId !== undefined) {
|
|
466
|
+
localVarQueryParameter['quote_creator_user_id'] = quoteCreatorUserId;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
if (rfqCreatorUserId !== undefined) {
|
|
470
|
+
localVarQueryParameter['rfq_creator_user_id'] = rfqCreatorUserId;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
if (rfqCreatorSubtraderId !== undefined) {
|
|
474
|
+
localVarQueryParameter['rfq_creator_subtrader_id'] = rfqCreatorSubtraderId;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
if (rfqId !== undefined) {
|
|
478
|
+
localVarQueryParameter['rfq_id'] = rfqId;
|
|
479
|
+
}
|
|
386
480
|
|
|
387
481
|
|
|
388
482
|
|
|
@@ -396,7 +490,7 @@ export const CommunicationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
396
490
|
};
|
|
397
491
|
},
|
|
398
492
|
/**
|
|
399
|
-
*
|
|
493
|
+
* Endpoint for getting a single RFQ by id
|
|
400
494
|
* @summary Get RFQ
|
|
401
495
|
* @param {string} rfqId RFQ ID
|
|
402
496
|
* @param {*} [options] Override http request option.
|
|
@@ -418,9 +512,14 @@ export const CommunicationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
418
512
|
const localVarHeaderParameter = {} as any;
|
|
419
513
|
const localVarQueryParameter = {} as any;
|
|
420
514
|
|
|
421
|
-
// authentication
|
|
422
|
-
|
|
423
|
-
|
|
515
|
+
// authentication kalshiAccessSignature required
|
|
516
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-SIGNATURE", configuration)
|
|
517
|
+
|
|
518
|
+
// authentication kalshiAccessKey required
|
|
519
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-KEY", configuration)
|
|
520
|
+
|
|
521
|
+
// authentication kalshiAccessTimestamp required
|
|
522
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-TIMESTAMP", configuration)
|
|
424
523
|
|
|
425
524
|
|
|
426
525
|
|
|
@@ -434,12 +533,18 @@ export const CommunicationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
434
533
|
};
|
|
435
534
|
},
|
|
436
535
|
/**
|
|
437
|
-
*
|
|
536
|
+
* Endpoint for getting RFQs
|
|
438
537
|
* @summary Get RFQs
|
|
538
|
+
* @param {string} [cursor] Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
|
|
539
|
+
* @param {string} [eventTicker] Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
|
|
540
|
+
* @param {string} [marketTicker] Filter by market ticker
|
|
541
|
+
* @param {number} [limit] Parameter to specify the number of results per page. Defaults to 100.
|
|
542
|
+
* @param {string} [status] Filter RFQs by status
|
|
543
|
+
* @param {string} [creatorUserId] Filter RFQs by creator user ID
|
|
439
544
|
* @param {*} [options] Override http request option.
|
|
440
545
|
* @throws {RequiredError}
|
|
441
546
|
*/
|
|
442
|
-
getRFQs: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
547
|
+
getRFQs: async (cursor?: string, eventTicker?: string, marketTicker?: string, limit?: number, status?: string, creatorUserId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
443
548
|
const localVarPath = `/communications/rfqs`;
|
|
444
549
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
445
550
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -452,9 +557,38 @@ export const CommunicationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
452
557
|
const localVarHeaderParameter = {} as any;
|
|
453
558
|
const localVarQueryParameter = {} as any;
|
|
454
559
|
|
|
455
|
-
// authentication
|
|
456
|
-
|
|
457
|
-
|
|
560
|
+
// authentication kalshiAccessSignature required
|
|
561
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-SIGNATURE", configuration)
|
|
562
|
+
|
|
563
|
+
// authentication kalshiAccessKey required
|
|
564
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-KEY", configuration)
|
|
565
|
+
|
|
566
|
+
// authentication kalshiAccessTimestamp required
|
|
567
|
+
await setApiKeyToObject(localVarHeaderParameter, "KALSHI-ACCESS-TIMESTAMP", configuration)
|
|
568
|
+
|
|
569
|
+
if (cursor !== undefined) {
|
|
570
|
+
localVarQueryParameter['cursor'] = cursor;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
if (eventTicker !== undefined) {
|
|
574
|
+
localVarQueryParameter['event_ticker'] = eventTicker;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
if (marketTicker !== undefined) {
|
|
578
|
+
localVarQueryParameter['market_ticker'] = marketTicker;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
if (limit !== undefined) {
|
|
582
|
+
localVarQueryParameter['limit'] = limit;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
if (status !== undefined) {
|
|
586
|
+
localVarQueryParameter['status'] = status;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
if (creatorUserId !== undefined) {
|
|
590
|
+
localVarQueryParameter['creator_user_id'] = creatorUserId;
|
|
591
|
+
}
|
|
458
592
|
|
|
459
593
|
|
|
460
594
|
|
|
@@ -477,7 +611,7 @@ export const CommunicationsApiFp = function(configuration?: Configuration) {
|
|
|
477
611
|
const localVarAxiosParamCreator = CommunicationsApiAxiosParamCreator(configuration)
|
|
478
612
|
return {
|
|
479
613
|
/**
|
|
480
|
-
*
|
|
614
|
+
* Endpoint for accepting a quote. This will require the quoter to confirm
|
|
481
615
|
* @summary Accept Quote
|
|
482
616
|
* @param {string} quoteId Quote ID
|
|
483
617
|
* @param {AcceptQuoteRequest} acceptQuoteRequest
|
|
@@ -491,20 +625,21 @@ export const CommunicationsApiFp = function(configuration?: Configuration) {
|
|
|
491
625
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
492
626
|
},
|
|
493
627
|
/**
|
|
494
|
-
*
|
|
628
|
+
* Endpoint for confirming a quote. This will start a timer for order execution
|
|
495
629
|
* @summary Confirm Quote
|
|
496
630
|
* @param {string} quoteId Quote ID
|
|
631
|
+
* @param {object} [body]
|
|
497
632
|
* @param {*} [options] Override http request option.
|
|
498
633
|
* @throws {RequiredError}
|
|
499
634
|
*/
|
|
500
|
-
async confirmQuote(quoteId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
501
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.confirmQuote(quoteId, options);
|
|
635
|
+
async confirmQuote(quoteId: string, body?: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
636
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.confirmQuote(quoteId, body, options);
|
|
502
637
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
503
638
|
const localVarOperationServerBasePath: string | undefined = undefined;
|
|
504
639
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
505
640
|
},
|
|
506
641
|
/**
|
|
507
|
-
*
|
|
642
|
+
* Endpoint for creating a quote in response to an RFQ
|
|
508
643
|
* @summary Create Quote
|
|
509
644
|
* @param {CreateQuoteRequest} createQuoteRequest
|
|
510
645
|
* @param {*} [options] Override http request option.
|
|
@@ -517,7 +652,7 @@ export const CommunicationsApiFp = function(configuration?: Configuration) {
|
|
|
517
652
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
518
653
|
},
|
|
519
654
|
/**
|
|
520
|
-
*
|
|
655
|
+
* Endpoint for creating a new RFQ. You can have a maximum of 100 open RFQs at a time.
|
|
521
656
|
* @summary Create RFQ
|
|
522
657
|
* @param {CreateRFQRequest} createRFQRequest
|
|
523
658
|
* @param {*} [options] Override http request option.
|
|
@@ -530,7 +665,7 @@ export const CommunicationsApiFp = function(configuration?: Configuration) {
|
|
|
530
665
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
531
666
|
},
|
|
532
667
|
/**
|
|
533
|
-
*
|
|
668
|
+
* Endpoint for deleting a quote, which means it can no longer be accepted.
|
|
534
669
|
* @summary Delete Quote
|
|
535
670
|
* @param {string} quoteId Quote ID
|
|
536
671
|
* @param {*} [options] Override http request option.
|
|
@@ -543,7 +678,7 @@ export const CommunicationsApiFp = function(configuration?: Configuration) {
|
|
|
543
678
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
544
679
|
},
|
|
545
680
|
/**
|
|
546
|
-
*
|
|
681
|
+
* Endpoint for deleting an RFQ by ID
|
|
547
682
|
* @summary Delete RFQ
|
|
548
683
|
* @param {string} rfqId RFQ ID
|
|
549
684
|
* @param {*} [options] Override http request option.
|
|
@@ -556,7 +691,7 @@ export const CommunicationsApiFp = function(configuration?: Configuration) {
|
|
|
556
691
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
557
692
|
},
|
|
558
693
|
/**
|
|
559
|
-
*
|
|
694
|
+
* Endpoint for getting the communications ID of the logged-in user.
|
|
560
695
|
* @summary Get Communications ID
|
|
561
696
|
* @param {*} [options] Override http request option.
|
|
562
697
|
* @throws {RequiredError}
|
|
@@ -568,7 +703,7 @@ export const CommunicationsApiFp = function(configuration?: Configuration) {
|
|
|
568
703
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
569
704
|
},
|
|
570
705
|
/**
|
|
571
|
-
*
|
|
706
|
+
* Endpoint for getting a particular quote
|
|
572
707
|
* @summary Get Quote
|
|
573
708
|
* @param {string} quoteId Quote ID
|
|
574
709
|
* @param {*} [options] Override http request option.
|
|
@@ -581,19 +716,28 @@ export const CommunicationsApiFp = function(configuration?: Configuration) {
|
|
|
581
716
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
582
717
|
},
|
|
583
718
|
/**
|
|
584
|
-
*
|
|
719
|
+
* Endpoint for getting quotes
|
|
585
720
|
* @summary Get Quotes
|
|
721
|
+
* @param {string} [cursor] Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
|
|
722
|
+
* @param {string} [eventTicker] Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
|
|
723
|
+
* @param {string} [marketTicker] Filter by market ticker
|
|
724
|
+
* @param {number} [limit] Parameter to specify the number of results per page. Defaults to 500.
|
|
725
|
+
* @param {string} [status] Filter quotes by status
|
|
726
|
+
* @param {string} [quoteCreatorUserId] Filter quotes by quote creator user ID
|
|
727
|
+
* @param {string} [rfqCreatorUserId] Filter quotes by RFQ creator user ID
|
|
728
|
+
* @param {string} [rfqCreatorSubtraderId] Filter quotes by RFQ creator subtrader ID (FCM members only)
|
|
729
|
+
* @param {string} [rfqId] Filter quotes by RFQ ID
|
|
586
730
|
* @param {*} [options] Override http request option.
|
|
587
731
|
* @throws {RequiredError}
|
|
588
732
|
*/
|
|
589
|
-
async getQuotes(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetQuotesResponse>> {
|
|
590
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getQuotes(options);
|
|
733
|
+
async getQuotes(cursor?: string, eventTicker?: string, marketTicker?: string, limit?: number, status?: string, quoteCreatorUserId?: string, rfqCreatorUserId?: string, rfqCreatorSubtraderId?: string, rfqId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetQuotesResponse>> {
|
|
734
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getQuotes(cursor, eventTicker, marketTicker, limit, status, quoteCreatorUserId, rfqCreatorUserId, rfqCreatorSubtraderId, rfqId, options);
|
|
591
735
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
592
736
|
const localVarOperationServerBasePath: string | undefined = undefined;
|
|
593
737
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
594
738
|
},
|
|
595
739
|
/**
|
|
596
|
-
*
|
|
740
|
+
* Endpoint for getting a single RFQ by id
|
|
597
741
|
* @summary Get RFQ
|
|
598
742
|
* @param {string} rfqId RFQ ID
|
|
599
743
|
* @param {*} [options] Override http request option.
|
|
@@ -606,13 +750,19 @@ export const CommunicationsApiFp = function(configuration?: Configuration) {
|
|
|
606
750
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
607
751
|
},
|
|
608
752
|
/**
|
|
609
|
-
*
|
|
753
|
+
* Endpoint for getting RFQs
|
|
610
754
|
* @summary Get RFQs
|
|
755
|
+
* @param {string} [cursor] Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
|
|
756
|
+
* @param {string} [eventTicker] Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
|
|
757
|
+
* @param {string} [marketTicker] Filter by market ticker
|
|
758
|
+
* @param {number} [limit] Parameter to specify the number of results per page. Defaults to 100.
|
|
759
|
+
* @param {string} [status] Filter RFQs by status
|
|
760
|
+
* @param {string} [creatorUserId] Filter RFQs by creator user ID
|
|
611
761
|
* @param {*} [options] Override http request option.
|
|
612
762
|
* @throws {RequiredError}
|
|
613
763
|
*/
|
|
614
|
-
async getRFQs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRFQsResponse>> {
|
|
615
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getRFQs(options);
|
|
764
|
+
async getRFQs(cursor?: string, eventTicker?: string, marketTicker?: string, limit?: number, status?: string, creatorUserId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRFQsResponse>> {
|
|
765
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRFQs(cursor, eventTicker, marketTicker, limit, status, creatorUserId, options);
|
|
616
766
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
617
767
|
const localVarOperationServerBasePath: string | undefined = undefined;
|
|
618
768
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -627,7 +777,7 @@ export const CommunicationsApiFactory = function (configuration?: Configuration,
|
|
|
627
777
|
const localVarFp = CommunicationsApiFp(configuration)
|
|
628
778
|
return {
|
|
629
779
|
/**
|
|
630
|
-
*
|
|
780
|
+
* Endpoint for accepting a quote. This will require the quoter to confirm
|
|
631
781
|
* @summary Accept Quote
|
|
632
782
|
* @param {string} quoteId Quote ID
|
|
633
783
|
* @param {AcceptQuoteRequest} acceptQuoteRequest
|
|
@@ -638,17 +788,18 @@ export const CommunicationsApiFactory = function (configuration?: Configuration,
|
|
|
638
788
|
return localVarFp.acceptQuote(quoteId, acceptQuoteRequest, options).then((request) => request(axios, basePath));
|
|
639
789
|
},
|
|
640
790
|
/**
|
|
641
|
-
*
|
|
791
|
+
* Endpoint for confirming a quote. This will start a timer for order execution
|
|
642
792
|
* @summary Confirm Quote
|
|
643
793
|
* @param {string} quoteId Quote ID
|
|
794
|
+
* @param {object} [body]
|
|
644
795
|
* @param {*} [options] Override http request option.
|
|
645
796
|
* @throws {RequiredError}
|
|
646
797
|
*/
|
|
647
|
-
confirmQuote(quoteId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
648
|
-
return localVarFp.confirmQuote(quoteId, options).then((request) => request(axios, basePath));
|
|
798
|
+
confirmQuote(quoteId: string, body?: object, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
799
|
+
return localVarFp.confirmQuote(quoteId, body, options).then((request) => request(axios, basePath));
|
|
649
800
|
},
|
|
650
801
|
/**
|
|
651
|
-
*
|
|
802
|
+
* Endpoint for creating a quote in response to an RFQ
|
|
652
803
|
* @summary Create Quote
|
|
653
804
|
* @param {CreateQuoteRequest} createQuoteRequest
|
|
654
805
|
* @param {*} [options] Override http request option.
|
|
@@ -658,7 +809,7 @@ export const CommunicationsApiFactory = function (configuration?: Configuration,
|
|
|
658
809
|
return localVarFp.createQuote(createQuoteRequest, options).then((request) => request(axios, basePath));
|
|
659
810
|
},
|
|
660
811
|
/**
|
|
661
|
-
*
|
|
812
|
+
* Endpoint for creating a new RFQ. You can have a maximum of 100 open RFQs at a time.
|
|
662
813
|
* @summary Create RFQ
|
|
663
814
|
* @param {CreateRFQRequest} createRFQRequest
|
|
664
815
|
* @param {*} [options] Override http request option.
|
|
@@ -668,7 +819,7 @@ export const CommunicationsApiFactory = function (configuration?: Configuration,
|
|
|
668
819
|
return localVarFp.createRFQ(createRFQRequest, options).then((request) => request(axios, basePath));
|
|
669
820
|
},
|
|
670
821
|
/**
|
|
671
|
-
*
|
|
822
|
+
* Endpoint for deleting a quote, which means it can no longer be accepted.
|
|
672
823
|
* @summary Delete Quote
|
|
673
824
|
* @param {string} quoteId Quote ID
|
|
674
825
|
* @param {*} [options] Override http request option.
|
|
@@ -678,7 +829,7 @@ export const CommunicationsApiFactory = function (configuration?: Configuration,
|
|
|
678
829
|
return localVarFp.deleteQuote(quoteId, options).then((request) => request(axios, basePath));
|
|
679
830
|
},
|
|
680
831
|
/**
|
|
681
|
-
*
|
|
832
|
+
* Endpoint for deleting an RFQ by ID
|
|
682
833
|
* @summary Delete RFQ
|
|
683
834
|
* @param {string} rfqId RFQ ID
|
|
684
835
|
* @param {*} [options] Override http request option.
|
|
@@ -688,7 +839,7 @@ export const CommunicationsApiFactory = function (configuration?: Configuration,
|
|
|
688
839
|
return localVarFp.deleteRFQ(rfqId, options).then((request) => request(axios, basePath));
|
|
689
840
|
},
|
|
690
841
|
/**
|
|
691
|
-
*
|
|
842
|
+
* Endpoint for getting the communications ID of the logged-in user.
|
|
692
843
|
* @summary Get Communications ID
|
|
693
844
|
* @param {*} [options] Override http request option.
|
|
694
845
|
* @throws {RequiredError}
|
|
@@ -697,7 +848,7 @@ export const CommunicationsApiFactory = function (configuration?: Configuration,
|
|
|
697
848
|
return localVarFp.getCommunicationsID(options).then((request) => request(axios, basePath));
|
|
698
849
|
},
|
|
699
850
|
/**
|
|
700
|
-
*
|
|
851
|
+
* Endpoint for getting a particular quote
|
|
701
852
|
* @summary Get Quote
|
|
702
853
|
* @param {string} quoteId Quote ID
|
|
703
854
|
* @param {*} [options] Override http request option.
|
|
@@ -707,16 +858,25 @@ export const CommunicationsApiFactory = function (configuration?: Configuration,
|
|
|
707
858
|
return localVarFp.getQuote(quoteId, options).then((request) => request(axios, basePath));
|
|
708
859
|
},
|
|
709
860
|
/**
|
|
710
|
-
*
|
|
861
|
+
* Endpoint for getting quotes
|
|
711
862
|
* @summary Get Quotes
|
|
863
|
+
* @param {string} [cursor] Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
|
|
864
|
+
* @param {string} [eventTicker] Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
|
|
865
|
+
* @param {string} [marketTicker] Filter by market ticker
|
|
866
|
+
* @param {number} [limit] Parameter to specify the number of results per page. Defaults to 500.
|
|
867
|
+
* @param {string} [status] Filter quotes by status
|
|
868
|
+
* @param {string} [quoteCreatorUserId] Filter quotes by quote creator user ID
|
|
869
|
+
* @param {string} [rfqCreatorUserId] Filter quotes by RFQ creator user ID
|
|
870
|
+
* @param {string} [rfqCreatorSubtraderId] Filter quotes by RFQ creator subtrader ID (FCM members only)
|
|
871
|
+
* @param {string} [rfqId] Filter quotes by RFQ ID
|
|
712
872
|
* @param {*} [options] Override http request option.
|
|
713
873
|
* @throws {RequiredError}
|
|
714
874
|
*/
|
|
715
|
-
getQuotes(options?: RawAxiosRequestConfig): AxiosPromise<GetQuotesResponse> {
|
|
716
|
-
return localVarFp.getQuotes(options).then((request) => request(axios, basePath));
|
|
875
|
+
getQuotes(cursor?: string, eventTicker?: string, marketTicker?: string, limit?: number, status?: string, quoteCreatorUserId?: string, rfqCreatorUserId?: string, rfqCreatorSubtraderId?: string, rfqId?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetQuotesResponse> {
|
|
876
|
+
return localVarFp.getQuotes(cursor, eventTicker, marketTicker, limit, status, quoteCreatorUserId, rfqCreatorUserId, rfqCreatorSubtraderId, rfqId, options).then((request) => request(axios, basePath));
|
|
717
877
|
},
|
|
718
878
|
/**
|
|
719
|
-
*
|
|
879
|
+
* Endpoint for getting a single RFQ by id
|
|
720
880
|
* @summary Get RFQ
|
|
721
881
|
* @param {string} rfqId RFQ ID
|
|
722
882
|
* @param {*} [options] Override http request option.
|
|
@@ -726,13 +886,19 @@ export const CommunicationsApiFactory = function (configuration?: Configuration,
|
|
|
726
886
|
return localVarFp.getRFQ(rfqId, options).then((request) => request(axios, basePath));
|
|
727
887
|
},
|
|
728
888
|
/**
|
|
729
|
-
*
|
|
889
|
+
* Endpoint for getting RFQs
|
|
730
890
|
* @summary Get RFQs
|
|
891
|
+
* @param {string} [cursor] Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
|
|
892
|
+
* @param {string} [eventTicker] Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
|
|
893
|
+
* @param {string} [marketTicker] Filter by market ticker
|
|
894
|
+
* @param {number} [limit] Parameter to specify the number of results per page. Defaults to 100.
|
|
895
|
+
* @param {string} [status] Filter RFQs by status
|
|
896
|
+
* @param {string} [creatorUserId] Filter RFQs by creator user ID
|
|
731
897
|
* @param {*} [options] Override http request option.
|
|
732
898
|
* @throws {RequiredError}
|
|
733
899
|
*/
|
|
734
|
-
getRFQs(options?: RawAxiosRequestConfig): AxiosPromise<GetRFQsResponse> {
|
|
735
|
-
return localVarFp.getRFQs(options).then((request) => request(axios, basePath));
|
|
900
|
+
getRFQs(cursor?: string, eventTicker?: string, marketTicker?: string, limit?: number, status?: string, creatorUserId?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetRFQsResponse> {
|
|
901
|
+
return localVarFp.getRFQs(cursor, eventTicker, marketTicker, limit, status, creatorUserId, options).then((request) => request(axios, basePath));
|
|
736
902
|
},
|
|
737
903
|
};
|
|
738
904
|
};
|
|
@@ -742,7 +908,7 @@ export const CommunicationsApiFactory = function (configuration?: Configuration,
|
|
|
742
908
|
*/
|
|
743
909
|
export class CommunicationsApi extends BaseAPI {
|
|
744
910
|
/**
|
|
745
|
-
*
|
|
911
|
+
* Endpoint for accepting a quote. This will require the quoter to confirm
|
|
746
912
|
* @summary Accept Quote
|
|
747
913
|
* @param {string} quoteId Quote ID
|
|
748
914
|
* @param {AcceptQuoteRequest} acceptQuoteRequest
|
|
@@ -754,18 +920,19 @@ export class CommunicationsApi extends BaseAPI {
|
|
|
754
920
|
}
|
|
755
921
|
|
|
756
922
|
/**
|
|
757
|
-
*
|
|
923
|
+
* Endpoint for confirming a quote. This will start a timer for order execution
|
|
758
924
|
* @summary Confirm Quote
|
|
759
925
|
* @param {string} quoteId Quote ID
|
|
926
|
+
* @param {object} [body]
|
|
760
927
|
* @param {*} [options] Override http request option.
|
|
761
928
|
* @throws {RequiredError}
|
|
762
929
|
*/
|
|
763
|
-
public confirmQuote(quoteId: string, options?: RawAxiosRequestConfig) {
|
|
764
|
-
return CommunicationsApiFp(this.configuration).confirmQuote(quoteId, options).then((request) => request(this.axios, this.basePath));
|
|
930
|
+
public confirmQuote(quoteId: string, body?: object, options?: RawAxiosRequestConfig) {
|
|
931
|
+
return CommunicationsApiFp(this.configuration).confirmQuote(quoteId, body, options).then((request) => request(this.axios, this.basePath));
|
|
765
932
|
}
|
|
766
933
|
|
|
767
934
|
/**
|
|
768
|
-
*
|
|
935
|
+
* Endpoint for creating a quote in response to an RFQ
|
|
769
936
|
* @summary Create Quote
|
|
770
937
|
* @param {CreateQuoteRequest} createQuoteRequest
|
|
771
938
|
* @param {*} [options] Override http request option.
|
|
@@ -776,7 +943,7 @@ export class CommunicationsApi extends BaseAPI {
|
|
|
776
943
|
}
|
|
777
944
|
|
|
778
945
|
/**
|
|
779
|
-
*
|
|
946
|
+
* Endpoint for creating a new RFQ. You can have a maximum of 100 open RFQs at a time.
|
|
780
947
|
* @summary Create RFQ
|
|
781
948
|
* @param {CreateRFQRequest} createRFQRequest
|
|
782
949
|
* @param {*} [options] Override http request option.
|
|
@@ -787,7 +954,7 @@ export class CommunicationsApi extends BaseAPI {
|
|
|
787
954
|
}
|
|
788
955
|
|
|
789
956
|
/**
|
|
790
|
-
*
|
|
957
|
+
* Endpoint for deleting a quote, which means it can no longer be accepted.
|
|
791
958
|
* @summary Delete Quote
|
|
792
959
|
* @param {string} quoteId Quote ID
|
|
793
960
|
* @param {*} [options] Override http request option.
|
|
@@ -798,7 +965,7 @@ export class CommunicationsApi extends BaseAPI {
|
|
|
798
965
|
}
|
|
799
966
|
|
|
800
967
|
/**
|
|
801
|
-
*
|
|
968
|
+
* Endpoint for deleting an RFQ by ID
|
|
802
969
|
* @summary Delete RFQ
|
|
803
970
|
* @param {string} rfqId RFQ ID
|
|
804
971
|
* @param {*} [options] Override http request option.
|
|
@@ -809,7 +976,7 @@ export class CommunicationsApi extends BaseAPI {
|
|
|
809
976
|
}
|
|
810
977
|
|
|
811
978
|
/**
|
|
812
|
-
*
|
|
979
|
+
* Endpoint for getting the communications ID of the logged-in user.
|
|
813
980
|
* @summary Get Communications ID
|
|
814
981
|
* @param {*} [options] Override http request option.
|
|
815
982
|
* @throws {RequiredError}
|
|
@@ -819,7 +986,7 @@ export class CommunicationsApi extends BaseAPI {
|
|
|
819
986
|
}
|
|
820
987
|
|
|
821
988
|
/**
|
|
822
|
-
*
|
|
989
|
+
* Endpoint for getting a particular quote
|
|
823
990
|
* @summary Get Quote
|
|
824
991
|
* @param {string} quoteId Quote ID
|
|
825
992
|
* @param {*} [options] Override http request option.
|
|
@@ -830,17 +997,26 @@ export class CommunicationsApi extends BaseAPI {
|
|
|
830
997
|
}
|
|
831
998
|
|
|
832
999
|
/**
|
|
833
|
-
*
|
|
1000
|
+
* Endpoint for getting quotes
|
|
834
1001
|
* @summary Get Quotes
|
|
1002
|
+
* @param {string} [cursor] Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
|
|
1003
|
+
* @param {string} [eventTicker] Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
|
|
1004
|
+
* @param {string} [marketTicker] Filter by market ticker
|
|
1005
|
+
* @param {number} [limit] Parameter to specify the number of results per page. Defaults to 500.
|
|
1006
|
+
* @param {string} [status] Filter quotes by status
|
|
1007
|
+
* @param {string} [quoteCreatorUserId] Filter quotes by quote creator user ID
|
|
1008
|
+
* @param {string} [rfqCreatorUserId] Filter quotes by RFQ creator user ID
|
|
1009
|
+
* @param {string} [rfqCreatorSubtraderId] Filter quotes by RFQ creator subtrader ID (FCM members only)
|
|
1010
|
+
* @param {string} [rfqId] Filter quotes by RFQ ID
|
|
835
1011
|
* @param {*} [options] Override http request option.
|
|
836
1012
|
* @throws {RequiredError}
|
|
837
1013
|
*/
|
|
838
|
-
public getQuotes(options?: RawAxiosRequestConfig) {
|
|
839
|
-
return CommunicationsApiFp(this.configuration).getQuotes(options).then((request) => request(this.axios, this.basePath));
|
|
1014
|
+
public getQuotes(cursor?: string, eventTicker?: string, marketTicker?: string, limit?: number, status?: string, quoteCreatorUserId?: string, rfqCreatorUserId?: string, rfqCreatorSubtraderId?: string, rfqId?: string, options?: RawAxiosRequestConfig) {
|
|
1015
|
+
return CommunicationsApiFp(this.configuration).getQuotes(cursor, eventTicker, marketTicker, limit, status, quoteCreatorUserId, rfqCreatorUserId, rfqCreatorSubtraderId, rfqId, options).then((request) => request(this.axios, this.basePath));
|
|
840
1016
|
}
|
|
841
1017
|
|
|
842
1018
|
/**
|
|
843
|
-
*
|
|
1019
|
+
* Endpoint for getting a single RFQ by id
|
|
844
1020
|
* @summary Get RFQ
|
|
845
1021
|
* @param {string} rfqId RFQ ID
|
|
846
1022
|
* @param {*} [options] Override http request option.
|
|
@@ -851,13 +1027,19 @@ export class CommunicationsApi extends BaseAPI {
|
|
|
851
1027
|
}
|
|
852
1028
|
|
|
853
1029
|
/**
|
|
854
|
-
*
|
|
1030
|
+
* Endpoint for getting RFQs
|
|
855
1031
|
* @summary Get RFQs
|
|
1032
|
+
* @param {string} [cursor] Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
|
|
1033
|
+
* @param {string} [eventTicker] Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
|
|
1034
|
+
* @param {string} [marketTicker] Filter by market ticker
|
|
1035
|
+
* @param {number} [limit] Parameter to specify the number of results per page. Defaults to 100.
|
|
1036
|
+
* @param {string} [status] Filter RFQs by status
|
|
1037
|
+
* @param {string} [creatorUserId] Filter RFQs by creator user ID
|
|
856
1038
|
* @param {*} [options] Override http request option.
|
|
857
1039
|
* @throws {RequiredError}
|
|
858
1040
|
*/
|
|
859
|
-
public getRFQs(options?: RawAxiosRequestConfig) {
|
|
860
|
-
return CommunicationsApiFp(this.configuration).getRFQs(options).then((request) => request(this.axios, this.basePath));
|
|
1041
|
+
public getRFQs(cursor?: string, eventTicker?: string, marketTicker?: string, limit?: number, status?: string, creatorUserId?: string, options?: RawAxiosRequestConfig) {
|
|
1042
|
+
return CommunicationsApiFp(this.configuration).getRFQs(cursor, eventTicker, marketTicker, limit, status, creatorUserId, options).then((request) => request(this.axios, this.basePath));
|
|
861
1043
|
}
|
|
862
1044
|
}
|
|
863
1045
|
|