kalshi-typescript 2.1.2 → 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 +57 -39
- package/api/collection-api.ts +506 -0
- package/api/communications-api.ts +296 -114
- package/api/events-api.ts +406 -57
- package/api/exchange-api.ts +104 -29
- 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 +23 -24
- package/api/milestone-api.ts +258 -0
- package/api/milestones-api.ts +5 -6
- package/api/multivariate-api.ts +505 -0
- package/api/multivariate-collections-api.ts +11 -12
- package/api/order-groups-api.ts +454 -0
- package/api/orders-api.ts +941 -0
- package/api/portfolio-api.ts +204 -1355
- package/api/search-api.ts +183 -0
- package/api/series-api.ts +5 -6
- package/api/structured-targets-api.ts +47 -41
- 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 +52 -40
- 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 +268 -124
- package/dist/api/events-api.d.ts +210 -36
- package/dist/api/events-api.js +376 -56
- package/dist/api/exchange-api.d.ts +57 -20
- package/dist/api/exchange-api.js +100 -31
- 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/markets-api.js +10 -10
- package/dist/api/milestone-api.d.ts +128 -0
- package/dist/api/milestone-api.js +249 -0
- package/dist/api/milestones-api.js +4 -4
- package/dist/api/multivariate-api.d.ts +242 -0
- package/dist/api/multivariate-api.js +467 -0
- package/dist/api/multivariate-collections-api.js +6 -6
- 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 +164 -1213
- package/dist/api/search-api.d.ts +92 -0
- package/dist/api/search-api.js +182 -0
- package/dist/api/series-api.js +4 -4
- package/dist/api/structured-targets-api.d.ts +32 -24
- package/dist/api/structured-targets-api.js +47 -39
- 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 +54 -42
- 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 +270 -126
- package/dist/esm/api/events-api.d.ts +210 -36
- package/dist/esm/api/events-api.js +377 -57
- package/dist/esm/api/exchange-api.d.ts +57 -20
- package/dist/esm/api/exchange-api.js +102 -33
- 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/markets-api.js +11 -11
- package/dist/esm/api/milestone-api.d.ts +128 -0
- package/dist/esm/api/milestone-api.js +242 -0
- package/dist/esm/api/milestones-api.js +5 -5
- package/dist/esm/api/multivariate-api.d.ts +242 -0
- package/dist/esm/api/multivariate-api.js +460 -0
- package/dist/esm/api/multivariate-collections-api.js +7 -7
- 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 +164 -1213
- package/dist/esm/api/search-api.d.ts +92 -0
- package/dist/esm/api/search-api.js +175 -0
- package/dist/esm/api/series-api.js +5 -5
- package/dist/esm/api/structured-targets-api.d.ts +32 -24
- package/dist/esm/api/structured-targets-api.js +49 -41
- 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
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Kalshi
|
|
6
|
-
*
|
|
5
|
+
* Kalshi Trade API Manual Endpoints
|
|
6
|
+
* Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 3.0.0
|
|
7
9
|
*
|
|
8
|
-
* The version of the OpenAPI document: 2.0.0
|
|
9
|
-
* Contact: support@kalshi.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -38,7 +38,7 @@ const base_1 = require("../base");
|
|
|
38
38
|
const CommunicationsApiAxiosParamCreator = function (configuration) {
|
|
39
39
|
return {
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* Endpoint for accepting a quote. This will require the quoter to confirm
|
|
42
42
|
* @summary Accept Quote
|
|
43
43
|
* @param {string} quoteId Quote ID
|
|
44
44
|
* @param {AcceptQuoteRequest} acceptQuoteRequest
|
|
@@ -61,9 +61,12 @@ const CommunicationsApiAxiosParamCreator = function (configuration) {
|
|
|
61
61
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
62
62
|
const localVarHeaderParameter = {};
|
|
63
63
|
const localVarQueryParameter = {};
|
|
64
|
-
// authentication
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
// authentication kalshiAccessSignature required
|
|
65
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-SIGNATURE", configuration);
|
|
66
|
+
// authentication kalshiAccessKey required
|
|
67
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-KEY", configuration);
|
|
68
|
+
// authentication kalshiAccessTimestamp required
|
|
69
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-TIMESTAMP", configuration);
|
|
67
70
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
68
71
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
69
72
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -75,13 +78,14 @@ const CommunicationsApiAxiosParamCreator = function (configuration) {
|
|
|
75
78
|
};
|
|
76
79
|
}),
|
|
77
80
|
/**
|
|
78
|
-
*
|
|
81
|
+
* Endpoint for confirming a quote. This will start a timer for order execution
|
|
79
82
|
* @summary Confirm Quote
|
|
80
83
|
* @param {string} quoteId Quote ID
|
|
84
|
+
* @param {object} [body]
|
|
81
85
|
* @param {*} [options] Override http request option.
|
|
82
86
|
* @throws {RequiredError}
|
|
83
87
|
*/
|
|
84
|
-
confirmQuote: (quoteId_1, ...args_1) => __awaiter(this, [quoteId_1, ...args_1], void 0, function* (quoteId, options = {}) {
|
|
88
|
+
confirmQuote: (quoteId_1, body_1, ...args_1) => __awaiter(this, [quoteId_1, body_1, ...args_1], void 0, function* (quoteId, body, options = {}) {
|
|
85
89
|
// verify required parameter 'quoteId' is not null or undefined
|
|
86
90
|
(0, common_1.assertParamExists)('confirmQuote', 'quoteId', quoteId);
|
|
87
91
|
const localVarPath = `/communications/quotes/{quote_id}/confirm`
|
|
@@ -95,19 +99,24 @@ const CommunicationsApiAxiosParamCreator = function (configuration) {
|
|
|
95
99
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
96
100
|
const localVarHeaderParameter = {};
|
|
97
101
|
const localVarQueryParameter = {};
|
|
98
|
-
// authentication
|
|
99
|
-
|
|
100
|
-
|
|
102
|
+
// authentication kalshiAccessSignature required
|
|
103
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-SIGNATURE", configuration);
|
|
104
|
+
// authentication kalshiAccessKey required
|
|
105
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-KEY", configuration);
|
|
106
|
+
// authentication kalshiAccessTimestamp required
|
|
107
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-TIMESTAMP", configuration);
|
|
108
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
101
109
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
102
110
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103
111
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
112
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
104
113
|
return {
|
|
105
114
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
106
115
|
options: localVarRequestOptions,
|
|
107
116
|
};
|
|
108
117
|
}),
|
|
109
118
|
/**
|
|
110
|
-
*
|
|
119
|
+
* Endpoint for creating a quote in response to an RFQ
|
|
111
120
|
* @summary Create Quote
|
|
112
121
|
* @param {CreateQuoteRequest} createQuoteRequest
|
|
113
122
|
* @param {*} [options] Override http request option.
|
|
@@ -126,9 +135,12 @@ const CommunicationsApiAxiosParamCreator = function (configuration) {
|
|
|
126
135
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
127
136
|
const localVarHeaderParameter = {};
|
|
128
137
|
const localVarQueryParameter = {};
|
|
129
|
-
// authentication
|
|
130
|
-
|
|
131
|
-
|
|
138
|
+
// authentication kalshiAccessSignature required
|
|
139
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-SIGNATURE", configuration);
|
|
140
|
+
// authentication kalshiAccessKey required
|
|
141
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-KEY", configuration);
|
|
142
|
+
// authentication kalshiAccessTimestamp required
|
|
143
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-TIMESTAMP", configuration);
|
|
132
144
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
133
145
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
134
146
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -140,7 +152,7 @@ const CommunicationsApiAxiosParamCreator = function (configuration) {
|
|
|
140
152
|
};
|
|
141
153
|
}),
|
|
142
154
|
/**
|
|
143
|
-
*
|
|
155
|
+
* Endpoint for creating a new RFQ. You can have a maximum of 100 open RFQs at a time.
|
|
144
156
|
* @summary Create RFQ
|
|
145
157
|
* @param {CreateRFQRequest} createRFQRequest
|
|
146
158
|
* @param {*} [options] Override http request option.
|
|
@@ -159,9 +171,12 @@ const CommunicationsApiAxiosParamCreator = function (configuration) {
|
|
|
159
171
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
160
172
|
const localVarHeaderParameter = {};
|
|
161
173
|
const localVarQueryParameter = {};
|
|
162
|
-
// authentication
|
|
163
|
-
|
|
164
|
-
|
|
174
|
+
// authentication kalshiAccessSignature required
|
|
175
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-SIGNATURE", configuration);
|
|
176
|
+
// authentication kalshiAccessKey required
|
|
177
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-KEY", configuration);
|
|
178
|
+
// authentication kalshiAccessTimestamp required
|
|
179
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-TIMESTAMP", configuration);
|
|
165
180
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
166
181
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
167
182
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -173,7 +188,7 @@ const CommunicationsApiAxiosParamCreator = function (configuration) {
|
|
|
173
188
|
};
|
|
174
189
|
}),
|
|
175
190
|
/**
|
|
176
|
-
*
|
|
191
|
+
* Endpoint for deleting a quote, which means it can no longer be accepted.
|
|
177
192
|
* @summary Delete Quote
|
|
178
193
|
* @param {string} quoteId Quote ID
|
|
179
194
|
* @param {*} [options] Override http request option.
|
|
@@ -193,9 +208,12 @@ const CommunicationsApiAxiosParamCreator = function (configuration) {
|
|
|
193
208
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
194
209
|
const localVarHeaderParameter = {};
|
|
195
210
|
const localVarQueryParameter = {};
|
|
196
|
-
// authentication
|
|
197
|
-
|
|
198
|
-
|
|
211
|
+
// authentication kalshiAccessSignature required
|
|
212
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-SIGNATURE", configuration);
|
|
213
|
+
// authentication kalshiAccessKey required
|
|
214
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-KEY", configuration);
|
|
215
|
+
// authentication kalshiAccessTimestamp required
|
|
216
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-TIMESTAMP", configuration);
|
|
199
217
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
200
218
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
201
219
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -205,7 +223,7 @@ const CommunicationsApiAxiosParamCreator = function (configuration) {
|
|
|
205
223
|
};
|
|
206
224
|
}),
|
|
207
225
|
/**
|
|
208
|
-
*
|
|
226
|
+
* Endpoint for deleting an RFQ by ID
|
|
209
227
|
* @summary Delete RFQ
|
|
210
228
|
* @param {string} rfqId RFQ ID
|
|
211
229
|
* @param {*} [options] Override http request option.
|
|
@@ -225,9 +243,12 @@ const CommunicationsApiAxiosParamCreator = function (configuration) {
|
|
|
225
243
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
226
244
|
const localVarHeaderParameter = {};
|
|
227
245
|
const localVarQueryParameter = {};
|
|
228
|
-
// authentication
|
|
229
|
-
|
|
230
|
-
|
|
246
|
+
// authentication kalshiAccessSignature required
|
|
247
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-SIGNATURE", configuration);
|
|
248
|
+
// authentication kalshiAccessKey required
|
|
249
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-KEY", configuration);
|
|
250
|
+
// authentication kalshiAccessTimestamp required
|
|
251
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-TIMESTAMP", configuration);
|
|
231
252
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
232
253
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
233
254
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -237,7 +258,7 @@ const CommunicationsApiAxiosParamCreator = function (configuration) {
|
|
|
237
258
|
};
|
|
238
259
|
}),
|
|
239
260
|
/**
|
|
240
|
-
*
|
|
261
|
+
* Endpoint for getting the communications ID of the logged-in user.
|
|
241
262
|
* @summary Get Communications ID
|
|
242
263
|
* @param {*} [options] Override http request option.
|
|
243
264
|
* @throws {RequiredError}
|
|
@@ -253,9 +274,12 @@ const CommunicationsApiAxiosParamCreator = function (configuration) {
|
|
|
253
274
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
254
275
|
const localVarHeaderParameter = {};
|
|
255
276
|
const localVarQueryParameter = {};
|
|
256
|
-
// authentication
|
|
257
|
-
|
|
258
|
-
|
|
277
|
+
// authentication kalshiAccessSignature required
|
|
278
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-SIGNATURE", configuration);
|
|
279
|
+
// authentication kalshiAccessKey required
|
|
280
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-KEY", configuration);
|
|
281
|
+
// authentication kalshiAccessTimestamp required
|
|
282
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-TIMESTAMP", configuration);
|
|
259
283
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
260
284
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
261
285
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -265,7 +289,7 @@ const CommunicationsApiAxiosParamCreator = function (configuration) {
|
|
|
265
289
|
};
|
|
266
290
|
}),
|
|
267
291
|
/**
|
|
268
|
-
*
|
|
292
|
+
* Endpoint for getting a particular quote
|
|
269
293
|
* @summary Get Quote
|
|
270
294
|
* @param {string} quoteId Quote ID
|
|
271
295
|
* @param {*} [options] Override http request option.
|
|
@@ -285,9 +309,12 @@ const CommunicationsApiAxiosParamCreator = function (configuration) {
|
|
|
285
309
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
286
310
|
const localVarHeaderParameter = {};
|
|
287
311
|
const localVarQueryParameter = {};
|
|
288
|
-
// authentication
|
|
289
|
-
|
|
290
|
-
|
|
312
|
+
// authentication kalshiAccessSignature required
|
|
313
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-SIGNATURE", configuration);
|
|
314
|
+
// authentication kalshiAccessKey required
|
|
315
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-KEY", configuration);
|
|
316
|
+
// authentication kalshiAccessTimestamp required
|
|
317
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-TIMESTAMP", configuration);
|
|
291
318
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
292
319
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
293
320
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -297,12 +324,21 @@ const CommunicationsApiAxiosParamCreator = function (configuration) {
|
|
|
297
324
|
};
|
|
298
325
|
}),
|
|
299
326
|
/**
|
|
300
|
-
*
|
|
327
|
+
* Endpoint for getting quotes
|
|
301
328
|
* @summary Get Quotes
|
|
329
|
+
* @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.
|
|
330
|
+
* @param {string} [eventTicker] Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
|
|
331
|
+
* @param {string} [marketTicker] Filter by market ticker
|
|
332
|
+
* @param {number} [limit] Parameter to specify the number of results per page. Defaults to 500.
|
|
333
|
+
* @param {string} [status] Filter quotes by status
|
|
334
|
+
* @param {string} [quoteCreatorUserId] Filter quotes by quote creator user ID
|
|
335
|
+
* @param {string} [rfqCreatorUserId] Filter quotes by RFQ creator user ID
|
|
336
|
+
* @param {string} [rfqCreatorSubtraderId] Filter quotes by RFQ creator subtrader ID (FCM members only)
|
|
337
|
+
* @param {string} [rfqId] Filter quotes by RFQ ID
|
|
302
338
|
* @param {*} [options] Override http request option.
|
|
303
339
|
* @throws {RequiredError}
|
|
304
340
|
*/
|
|
305
|
-
getQuotes: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
341
|
+
getQuotes: (cursor_1, eventTicker_1, marketTicker_1, limit_1, status_1, quoteCreatorUserId_1, rfqCreatorUserId_1, rfqCreatorSubtraderId_1, rfqId_1, ...args_1) => __awaiter(this, [cursor_1, eventTicker_1, marketTicker_1, limit_1, status_1, quoteCreatorUserId_1, rfqCreatorUserId_1, rfqCreatorSubtraderId_1, rfqId_1, ...args_1], void 0, function* (cursor, eventTicker, marketTicker, limit, status, quoteCreatorUserId, rfqCreatorUserId, rfqCreatorSubtraderId, rfqId, options = {}) {
|
|
306
342
|
const localVarPath = `/communications/quotes`;
|
|
307
343
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
308
344
|
const localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -313,9 +349,39 @@ const CommunicationsApiAxiosParamCreator = function (configuration) {
|
|
|
313
349
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
314
350
|
const localVarHeaderParameter = {};
|
|
315
351
|
const localVarQueryParameter = {};
|
|
316
|
-
// authentication
|
|
317
|
-
|
|
318
|
-
|
|
352
|
+
// authentication kalshiAccessSignature required
|
|
353
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-SIGNATURE", configuration);
|
|
354
|
+
// authentication kalshiAccessKey required
|
|
355
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-KEY", configuration);
|
|
356
|
+
// authentication kalshiAccessTimestamp required
|
|
357
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-TIMESTAMP", configuration);
|
|
358
|
+
if (cursor !== undefined) {
|
|
359
|
+
localVarQueryParameter['cursor'] = cursor;
|
|
360
|
+
}
|
|
361
|
+
if (eventTicker !== undefined) {
|
|
362
|
+
localVarQueryParameter['event_ticker'] = eventTicker;
|
|
363
|
+
}
|
|
364
|
+
if (marketTicker !== undefined) {
|
|
365
|
+
localVarQueryParameter['market_ticker'] = marketTicker;
|
|
366
|
+
}
|
|
367
|
+
if (limit !== undefined) {
|
|
368
|
+
localVarQueryParameter['limit'] = limit;
|
|
369
|
+
}
|
|
370
|
+
if (status !== undefined) {
|
|
371
|
+
localVarQueryParameter['status'] = status;
|
|
372
|
+
}
|
|
373
|
+
if (quoteCreatorUserId !== undefined) {
|
|
374
|
+
localVarQueryParameter['quote_creator_user_id'] = quoteCreatorUserId;
|
|
375
|
+
}
|
|
376
|
+
if (rfqCreatorUserId !== undefined) {
|
|
377
|
+
localVarQueryParameter['rfq_creator_user_id'] = rfqCreatorUserId;
|
|
378
|
+
}
|
|
379
|
+
if (rfqCreatorSubtraderId !== undefined) {
|
|
380
|
+
localVarQueryParameter['rfq_creator_subtrader_id'] = rfqCreatorSubtraderId;
|
|
381
|
+
}
|
|
382
|
+
if (rfqId !== undefined) {
|
|
383
|
+
localVarQueryParameter['rfq_id'] = rfqId;
|
|
384
|
+
}
|
|
319
385
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
320
386
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
321
387
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -325,7 +391,7 @@ const CommunicationsApiAxiosParamCreator = function (configuration) {
|
|
|
325
391
|
};
|
|
326
392
|
}),
|
|
327
393
|
/**
|
|
328
|
-
*
|
|
394
|
+
* Endpoint for getting a single RFQ by id
|
|
329
395
|
* @summary Get RFQ
|
|
330
396
|
* @param {string} rfqId RFQ ID
|
|
331
397
|
* @param {*} [options] Override http request option.
|
|
@@ -345,9 +411,12 @@ const CommunicationsApiAxiosParamCreator = function (configuration) {
|
|
|
345
411
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
346
412
|
const localVarHeaderParameter = {};
|
|
347
413
|
const localVarQueryParameter = {};
|
|
348
|
-
// authentication
|
|
349
|
-
|
|
350
|
-
|
|
414
|
+
// authentication kalshiAccessSignature required
|
|
415
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-SIGNATURE", configuration);
|
|
416
|
+
// authentication kalshiAccessKey required
|
|
417
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-KEY", configuration);
|
|
418
|
+
// authentication kalshiAccessTimestamp required
|
|
419
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-TIMESTAMP", configuration);
|
|
351
420
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
352
421
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
353
422
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -357,12 +426,18 @@ const CommunicationsApiAxiosParamCreator = function (configuration) {
|
|
|
357
426
|
};
|
|
358
427
|
}),
|
|
359
428
|
/**
|
|
360
|
-
*
|
|
429
|
+
* Endpoint for getting RFQs
|
|
361
430
|
* @summary Get RFQs
|
|
431
|
+
* @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.
|
|
432
|
+
* @param {string} [eventTicker] Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
|
|
433
|
+
* @param {string} [marketTicker] Filter by market ticker
|
|
434
|
+
* @param {number} [limit] Parameter to specify the number of results per page. Defaults to 100.
|
|
435
|
+
* @param {string} [status] Filter RFQs by status
|
|
436
|
+
* @param {string} [creatorUserId] Filter RFQs by creator user ID
|
|
362
437
|
* @param {*} [options] Override http request option.
|
|
363
438
|
* @throws {RequiredError}
|
|
364
439
|
*/
|
|
365
|
-
getRFQs: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
440
|
+
getRFQs: (cursor_1, eventTicker_1, marketTicker_1, limit_1, status_1, creatorUserId_1, ...args_1) => __awaiter(this, [cursor_1, eventTicker_1, marketTicker_1, limit_1, status_1, creatorUserId_1, ...args_1], void 0, function* (cursor, eventTicker, marketTicker, limit, status, creatorUserId, options = {}) {
|
|
366
441
|
const localVarPath = `/communications/rfqs`;
|
|
367
442
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
368
443
|
const localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -373,9 +448,30 @@ const CommunicationsApiAxiosParamCreator = function (configuration) {
|
|
|
373
448
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
374
449
|
const localVarHeaderParameter = {};
|
|
375
450
|
const localVarQueryParameter = {};
|
|
376
|
-
// authentication
|
|
377
|
-
|
|
378
|
-
|
|
451
|
+
// authentication kalshiAccessSignature required
|
|
452
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-SIGNATURE", configuration);
|
|
453
|
+
// authentication kalshiAccessKey required
|
|
454
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-KEY", configuration);
|
|
455
|
+
// authentication kalshiAccessTimestamp required
|
|
456
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "KALSHI-ACCESS-TIMESTAMP", configuration);
|
|
457
|
+
if (cursor !== undefined) {
|
|
458
|
+
localVarQueryParameter['cursor'] = cursor;
|
|
459
|
+
}
|
|
460
|
+
if (eventTicker !== undefined) {
|
|
461
|
+
localVarQueryParameter['event_ticker'] = eventTicker;
|
|
462
|
+
}
|
|
463
|
+
if (marketTicker !== undefined) {
|
|
464
|
+
localVarQueryParameter['market_ticker'] = marketTicker;
|
|
465
|
+
}
|
|
466
|
+
if (limit !== undefined) {
|
|
467
|
+
localVarQueryParameter['limit'] = limit;
|
|
468
|
+
}
|
|
469
|
+
if (status !== undefined) {
|
|
470
|
+
localVarQueryParameter['status'] = status;
|
|
471
|
+
}
|
|
472
|
+
if (creatorUserId !== undefined) {
|
|
473
|
+
localVarQueryParameter['creator_user_id'] = creatorUserId;
|
|
474
|
+
}
|
|
379
475
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
380
476
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
381
477
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -394,7 +490,7 @@ const CommunicationsApiFp = function (configuration) {
|
|
|
394
490
|
const localVarAxiosParamCreator = (0, exports.CommunicationsApiAxiosParamCreator)(configuration);
|
|
395
491
|
return {
|
|
396
492
|
/**
|
|
397
|
-
*
|
|
493
|
+
* Endpoint for accepting a quote. This will require the quoter to confirm
|
|
398
494
|
* @summary Accept Quote
|
|
399
495
|
* @param {string} quoteId Quote ID
|
|
400
496
|
* @param {AcceptQuoteRequest} acceptQuoteRequest
|
|
@@ -403,31 +499,32 @@ const CommunicationsApiFp = function (configuration) {
|
|
|
403
499
|
*/
|
|
404
500
|
acceptQuote(quoteId, acceptQuoteRequest, options) {
|
|
405
501
|
return __awaiter(this, void 0, void 0, function* () {
|
|
406
|
-
var _a
|
|
502
|
+
var _a;
|
|
407
503
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.acceptQuote(quoteId, acceptQuoteRequest, options);
|
|
408
504
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
409
|
-
const localVarOperationServerBasePath =
|
|
505
|
+
const localVarOperationServerBasePath = undefined;
|
|
410
506
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
411
507
|
});
|
|
412
508
|
},
|
|
413
509
|
/**
|
|
414
|
-
*
|
|
510
|
+
* Endpoint for confirming a quote. This will start a timer for order execution
|
|
415
511
|
* @summary Confirm Quote
|
|
416
512
|
* @param {string} quoteId Quote ID
|
|
513
|
+
* @param {object} [body]
|
|
417
514
|
* @param {*} [options] Override http request option.
|
|
418
515
|
* @throws {RequiredError}
|
|
419
516
|
*/
|
|
420
|
-
confirmQuote(quoteId, options) {
|
|
517
|
+
confirmQuote(quoteId, body, options) {
|
|
421
518
|
return __awaiter(this, void 0, void 0, function* () {
|
|
422
|
-
var _a
|
|
423
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.confirmQuote(quoteId, options);
|
|
519
|
+
var _a;
|
|
520
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.confirmQuote(quoteId, body, options);
|
|
424
521
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
425
|
-
const localVarOperationServerBasePath =
|
|
522
|
+
const localVarOperationServerBasePath = undefined;
|
|
426
523
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
427
524
|
});
|
|
428
525
|
},
|
|
429
526
|
/**
|
|
430
|
-
*
|
|
527
|
+
* Endpoint for creating a quote in response to an RFQ
|
|
431
528
|
* @summary Create Quote
|
|
432
529
|
* @param {CreateQuoteRequest} createQuoteRequest
|
|
433
530
|
* @param {*} [options] Override http request option.
|
|
@@ -435,15 +532,15 @@ const CommunicationsApiFp = function (configuration) {
|
|
|
435
532
|
*/
|
|
436
533
|
createQuote(createQuoteRequest, options) {
|
|
437
534
|
return __awaiter(this, void 0, void 0, function* () {
|
|
438
|
-
var _a
|
|
535
|
+
var _a;
|
|
439
536
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.createQuote(createQuoteRequest, options);
|
|
440
537
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
441
|
-
const localVarOperationServerBasePath =
|
|
538
|
+
const localVarOperationServerBasePath = undefined;
|
|
442
539
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
443
540
|
});
|
|
444
541
|
},
|
|
445
542
|
/**
|
|
446
|
-
*
|
|
543
|
+
* Endpoint for creating a new RFQ. You can have a maximum of 100 open RFQs at a time.
|
|
447
544
|
* @summary Create RFQ
|
|
448
545
|
* @param {CreateRFQRequest} createRFQRequest
|
|
449
546
|
* @param {*} [options] Override http request option.
|
|
@@ -451,15 +548,15 @@ const CommunicationsApiFp = function (configuration) {
|
|
|
451
548
|
*/
|
|
452
549
|
createRFQ(createRFQRequest, options) {
|
|
453
550
|
return __awaiter(this, void 0, void 0, function* () {
|
|
454
|
-
var _a
|
|
551
|
+
var _a;
|
|
455
552
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.createRFQ(createRFQRequest, options);
|
|
456
553
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
457
|
-
const localVarOperationServerBasePath =
|
|
554
|
+
const localVarOperationServerBasePath = undefined;
|
|
458
555
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
459
556
|
});
|
|
460
557
|
},
|
|
461
558
|
/**
|
|
462
|
-
*
|
|
559
|
+
* Endpoint for deleting a quote, which means it can no longer be accepted.
|
|
463
560
|
* @summary Delete Quote
|
|
464
561
|
* @param {string} quoteId Quote ID
|
|
465
562
|
* @param {*} [options] Override http request option.
|
|
@@ -467,15 +564,15 @@ const CommunicationsApiFp = function (configuration) {
|
|
|
467
564
|
*/
|
|
468
565
|
deleteQuote(quoteId, options) {
|
|
469
566
|
return __awaiter(this, void 0, void 0, function* () {
|
|
470
|
-
var _a
|
|
567
|
+
var _a;
|
|
471
568
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteQuote(quoteId, options);
|
|
472
569
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
473
|
-
const localVarOperationServerBasePath =
|
|
570
|
+
const localVarOperationServerBasePath = undefined;
|
|
474
571
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
475
572
|
});
|
|
476
573
|
},
|
|
477
574
|
/**
|
|
478
|
-
*
|
|
575
|
+
* Endpoint for deleting an RFQ by ID
|
|
479
576
|
* @summary Delete RFQ
|
|
480
577
|
* @param {string} rfqId RFQ ID
|
|
481
578
|
* @param {*} [options] Override http request option.
|
|
@@ -483,30 +580,30 @@ const CommunicationsApiFp = function (configuration) {
|
|
|
483
580
|
*/
|
|
484
581
|
deleteRFQ(rfqId, options) {
|
|
485
582
|
return __awaiter(this, void 0, void 0, function* () {
|
|
486
|
-
var _a
|
|
583
|
+
var _a;
|
|
487
584
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteRFQ(rfqId, options);
|
|
488
585
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
489
|
-
const localVarOperationServerBasePath =
|
|
586
|
+
const localVarOperationServerBasePath = undefined;
|
|
490
587
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
491
588
|
});
|
|
492
589
|
},
|
|
493
590
|
/**
|
|
494
|
-
*
|
|
591
|
+
* Endpoint for getting the communications ID of the logged-in user.
|
|
495
592
|
* @summary Get Communications ID
|
|
496
593
|
* @param {*} [options] Override http request option.
|
|
497
594
|
* @throws {RequiredError}
|
|
498
595
|
*/
|
|
499
596
|
getCommunicationsID(options) {
|
|
500
597
|
return __awaiter(this, void 0, void 0, function* () {
|
|
501
|
-
var _a
|
|
598
|
+
var _a;
|
|
502
599
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getCommunicationsID(options);
|
|
503
600
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
504
|
-
const localVarOperationServerBasePath =
|
|
601
|
+
const localVarOperationServerBasePath = undefined;
|
|
505
602
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
506
603
|
});
|
|
507
604
|
},
|
|
508
605
|
/**
|
|
509
|
-
*
|
|
606
|
+
* Endpoint for getting a particular quote
|
|
510
607
|
* @summary Get Quote
|
|
511
608
|
* @param {string} quoteId Quote ID
|
|
512
609
|
* @param {*} [options] Override http request option.
|
|
@@ -514,30 +611,39 @@ const CommunicationsApiFp = function (configuration) {
|
|
|
514
611
|
*/
|
|
515
612
|
getQuote(quoteId, options) {
|
|
516
613
|
return __awaiter(this, void 0, void 0, function* () {
|
|
517
|
-
var _a
|
|
614
|
+
var _a;
|
|
518
615
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getQuote(quoteId, options);
|
|
519
616
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
520
|
-
const localVarOperationServerBasePath =
|
|
617
|
+
const localVarOperationServerBasePath = undefined;
|
|
521
618
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
522
619
|
});
|
|
523
620
|
},
|
|
524
621
|
/**
|
|
525
|
-
*
|
|
622
|
+
* Endpoint for getting quotes
|
|
526
623
|
* @summary Get Quotes
|
|
624
|
+
* @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.
|
|
625
|
+
* @param {string} [eventTicker] Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
|
|
626
|
+
* @param {string} [marketTicker] Filter by market ticker
|
|
627
|
+
* @param {number} [limit] Parameter to specify the number of results per page. Defaults to 500.
|
|
628
|
+
* @param {string} [status] Filter quotes by status
|
|
629
|
+
* @param {string} [quoteCreatorUserId] Filter quotes by quote creator user ID
|
|
630
|
+
* @param {string} [rfqCreatorUserId] Filter quotes by RFQ creator user ID
|
|
631
|
+
* @param {string} [rfqCreatorSubtraderId] Filter quotes by RFQ creator subtrader ID (FCM members only)
|
|
632
|
+
* @param {string} [rfqId] Filter quotes by RFQ ID
|
|
527
633
|
* @param {*} [options] Override http request option.
|
|
528
634
|
* @throws {RequiredError}
|
|
529
635
|
*/
|
|
530
|
-
getQuotes(options) {
|
|
636
|
+
getQuotes(cursor, eventTicker, marketTicker, limit, status, quoteCreatorUserId, rfqCreatorUserId, rfqCreatorSubtraderId, rfqId, options) {
|
|
531
637
|
return __awaiter(this, void 0, void 0, function* () {
|
|
532
|
-
var _a
|
|
533
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getQuotes(options);
|
|
638
|
+
var _a;
|
|
639
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getQuotes(cursor, eventTicker, marketTicker, limit, status, quoteCreatorUserId, rfqCreatorUserId, rfqCreatorSubtraderId, rfqId, options);
|
|
534
640
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
535
|
-
const localVarOperationServerBasePath =
|
|
641
|
+
const localVarOperationServerBasePath = undefined;
|
|
536
642
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
537
643
|
});
|
|
538
644
|
},
|
|
539
645
|
/**
|
|
540
|
-
*
|
|
646
|
+
* Endpoint for getting a single RFQ by id
|
|
541
647
|
* @summary Get RFQ
|
|
542
648
|
* @param {string} rfqId RFQ ID
|
|
543
649
|
* @param {*} [options] Override http request option.
|
|
@@ -545,25 +651,31 @@ const CommunicationsApiFp = function (configuration) {
|
|
|
545
651
|
*/
|
|
546
652
|
getRFQ(rfqId, options) {
|
|
547
653
|
return __awaiter(this, void 0, void 0, function* () {
|
|
548
|
-
var _a
|
|
654
|
+
var _a;
|
|
549
655
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getRFQ(rfqId, options);
|
|
550
656
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
551
|
-
const localVarOperationServerBasePath =
|
|
657
|
+
const localVarOperationServerBasePath = undefined;
|
|
552
658
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
553
659
|
});
|
|
554
660
|
},
|
|
555
661
|
/**
|
|
556
|
-
*
|
|
662
|
+
* Endpoint for getting RFQs
|
|
557
663
|
* @summary Get RFQs
|
|
664
|
+
* @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.
|
|
665
|
+
* @param {string} [eventTicker] Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
|
|
666
|
+
* @param {string} [marketTicker] Filter by market ticker
|
|
667
|
+
* @param {number} [limit] Parameter to specify the number of results per page. Defaults to 100.
|
|
668
|
+
* @param {string} [status] Filter RFQs by status
|
|
669
|
+
* @param {string} [creatorUserId] Filter RFQs by creator user ID
|
|
558
670
|
* @param {*} [options] Override http request option.
|
|
559
671
|
* @throws {RequiredError}
|
|
560
672
|
*/
|
|
561
|
-
getRFQs(options) {
|
|
673
|
+
getRFQs(cursor, eventTicker, marketTicker, limit, status, creatorUserId, options) {
|
|
562
674
|
return __awaiter(this, void 0, void 0, function* () {
|
|
563
|
-
var _a
|
|
564
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getRFQs(options);
|
|
675
|
+
var _a;
|
|
676
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getRFQs(cursor, eventTicker, marketTicker, limit, status, creatorUserId, options);
|
|
565
677
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
566
|
-
const localVarOperationServerBasePath =
|
|
678
|
+
const localVarOperationServerBasePath = undefined;
|
|
567
679
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
568
680
|
});
|
|
569
681
|
},
|
|
@@ -577,7 +689,7 @@ const CommunicationsApiFactory = function (configuration, basePath, axios) {
|
|
|
577
689
|
const localVarFp = (0, exports.CommunicationsApiFp)(configuration);
|
|
578
690
|
return {
|
|
579
691
|
/**
|
|
580
|
-
*
|
|
692
|
+
* Endpoint for accepting a quote. This will require the quoter to confirm
|
|
581
693
|
* @summary Accept Quote
|
|
582
694
|
* @param {string} quoteId Quote ID
|
|
583
695
|
* @param {AcceptQuoteRequest} acceptQuoteRequest
|
|
@@ -588,17 +700,18 @@ const CommunicationsApiFactory = function (configuration, basePath, axios) {
|
|
|
588
700
|
return localVarFp.acceptQuote(quoteId, acceptQuoteRequest, options).then((request) => request(axios, basePath));
|
|
589
701
|
},
|
|
590
702
|
/**
|
|
591
|
-
*
|
|
703
|
+
* Endpoint for confirming a quote. This will start a timer for order execution
|
|
592
704
|
* @summary Confirm Quote
|
|
593
705
|
* @param {string} quoteId Quote ID
|
|
706
|
+
* @param {object} [body]
|
|
594
707
|
* @param {*} [options] Override http request option.
|
|
595
708
|
* @throws {RequiredError}
|
|
596
709
|
*/
|
|
597
|
-
confirmQuote(quoteId, options) {
|
|
598
|
-
return localVarFp.confirmQuote(quoteId, options).then((request) => request(axios, basePath));
|
|
710
|
+
confirmQuote(quoteId, body, options) {
|
|
711
|
+
return localVarFp.confirmQuote(quoteId, body, options).then((request) => request(axios, basePath));
|
|
599
712
|
},
|
|
600
713
|
/**
|
|
601
|
-
*
|
|
714
|
+
* Endpoint for creating a quote in response to an RFQ
|
|
602
715
|
* @summary Create Quote
|
|
603
716
|
* @param {CreateQuoteRequest} createQuoteRequest
|
|
604
717
|
* @param {*} [options] Override http request option.
|
|
@@ -608,7 +721,7 @@ const CommunicationsApiFactory = function (configuration, basePath, axios) {
|
|
|
608
721
|
return localVarFp.createQuote(createQuoteRequest, options).then((request) => request(axios, basePath));
|
|
609
722
|
},
|
|
610
723
|
/**
|
|
611
|
-
*
|
|
724
|
+
* Endpoint for creating a new RFQ. You can have a maximum of 100 open RFQs at a time.
|
|
612
725
|
* @summary Create RFQ
|
|
613
726
|
* @param {CreateRFQRequest} createRFQRequest
|
|
614
727
|
* @param {*} [options] Override http request option.
|
|
@@ -618,7 +731,7 @@ const CommunicationsApiFactory = function (configuration, basePath, axios) {
|
|
|
618
731
|
return localVarFp.createRFQ(createRFQRequest, options).then((request) => request(axios, basePath));
|
|
619
732
|
},
|
|
620
733
|
/**
|
|
621
|
-
*
|
|
734
|
+
* Endpoint for deleting a quote, which means it can no longer be accepted.
|
|
622
735
|
* @summary Delete Quote
|
|
623
736
|
* @param {string} quoteId Quote ID
|
|
624
737
|
* @param {*} [options] Override http request option.
|
|
@@ -628,7 +741,7 @@ const CommunicationsApiFactory = function (configuration, basePath, axios) {
|
|
|
628
741
|
return localVarFp.deleteQuote(quoteId, options).then((request) => request(axios, basePath));
|
|
629
742
|
},
|
|
630
743
|
/**
|
|
631
|
-
*
|
|
744
|
+
* Endpoint for deleting an RFQ by ID
|
|
632
745
|
* @summary Delete RFQ
|
|
633
746
|
* @param {string} rfqId RFQ ID
|
|
634
747
|
* @param {*} [options] Override http request option.
|
|
@@ -638,7 +751,7 @@ const CommunicationsApiFactory = function (configuration, basePath, axios) {
|
|
|
638
751
|
return localVarFp.deleteRFQ(rfqId, options).then((request) => request(axios, basePath));
|
|
639
752
|
},
|
|
640
753
|
/**
|
|
641
|
-
*
|
|
754
|
+
* Endpoint for getting the communications ID of the logged-in user.
|
|
642
755
|
* @summary Get Communications ID
|
|
643
756
|
* @param {*} [options] Override http request option.
|
|
644
757
|
* @throws {RequiredError}
|
|
@@ -647,7 +760,7 @@ const CommunicationsApiFactory = function (configuration, basePath, axios) {
|
|
|
647
760
|
return localVarFp.getCommunicationsID(options).then((request) => request(axios, basePath));
|
|
648
761
|
},
|
|
649
762
|
/**
|
|
650
|
-
*
|
|
763
|
+
* Endpoint for getting a particular quote
|
|
651
764
|
* @summary Get Quote
|
|
652
765
|
* @param {string} quoteId Quote ID
|
|
653
766
|
* @param {*} [options] Override http request option.
|
|
@@ -657,16 +770,25 @@ const CommunicationsApiFactory = function (configuration, basePath, axios) {
|
|
|
657
770
|
return localVarFp.getQuote(quoteId, options).then((request) => request(axios, basePath));
|
|
658
771
|
},
|
|
659
772
|
/**
|
|
660
|
-
*
|
|
773
|
+
* Endpoint for getting quotes
|
|
661
774
|
* @summary Get Quotes
|
|
775
|
+
* @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.
|
|
776
|
+
* @param {string} [eventTicker] Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
|
|
777
|
+
* @param {string} [marketTicker] Filter by market ticker
|
|
778
|
+
* @param {number} [limit] Parameter to specify the number of results per page. Defaults to 500.
|
|
779
|
+
* @param {string} [status] Filter quotes by status
|
|
780
|
+
* @param {string} [quoteCreatorUserId] Filter quotes by quote creator user ID
|
|
781
|
+
* @param {string} [rfqCreatorUserId] Filter quotes by RFQ creator user ID
|
|
782
|
+
* @param {string} [rfqCreatorSubtraderId] Filter quotes by RFQ creator subtrader ID (FCM members only)
|
|
783
|
+
* @param {string} [rfqId] Filter quotes by RFQ ID
|
|
662
784
|
* @param {*} [options] Override http request option.
|
|
663
785
|
* @throws {RequiredError}
|
|
664
786
|
*/
|
|
665
|
-
getQuotes(options) {
|
|
666
|
-
return localVarFp.getQuotes(options).then((request) => request(axios, basePath));
|
|
787
|
+
getQuotes(cursor, eventTicker, marketTicker, limit, status, quoteCreatorUserId, rfqCreatorUserId, rfqCreatorSubtraderId, rfqId, options) {
|
|
788
|
+
return localVarFp.getQuotes(cursor, eventTicker, marketTicker, limit, status, quoteCreatorUserId, rfqCreatorUserId, rfqCreatorSubtraderId, rfqId, options).then((request) => request(axios, basePath));
|
|
667
789
|
},
|
|
668
790
|
/**
|
|
669
|
-
*
|
|
791
|
+
* Endpoint for getting a single RFQ by id
|
|
670
792
|
* @summary Get RFQ
|
|
671
793
|
* @param {string} rfqId RFQ ID
|
|
672
794
|
* @param {*} [options] Override http request option.
|
|
@@ -676,13 +798,19 @@ const CommunicationsApiFactory = function (configuration, basePath, axios) {
|
|
|
676
798
|
return localVarFp.getRFQ(rfqId, options).then((request) => request(axios, basePath));
|
|
677
799
|
},
|
|
678
800
|
/**
|
|
679
|
-
*
|
|
801
|
+
* Endpoint for getting RFQs
|
|
680
802
|
* @summary Get RFQs
|
|
803
|
+
* @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.
|
|
804
|
+
* @param {string} [eventTicker] Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
|
|
805
|
+
* @param {string} [marketTicker] Filter by market ticker
|
|
806
|
+
* @param {number} [limit] Parameter to specify the number of results per page. Defaults to 100.
|
|
807
|
+
* @param {string} [status] Filter RFQs by status
|
|
808
|
+
* @param {string} [creatorUserId] Filter RFQs by creator user ID
|
|
681
809
|
* @param {*} [options] Override http request option.
|
|
682
810
|
* @throws {RequiredError}
|
|
683
811
|
*/
|
|
684
|
-
getRFQs(options) {
|
|
685
|
-
return localVarFp.getRFQs(options).then((request) => request(axios, basePath));
|
|
812
|
+
getRFQs(cursor, eventTicker, marketTicker, limit, status, creatorUserId, options) {
|
|
813
|
+
return localVarFp.getRFQs(cursor, eventTicker, marketTicker, limit, status, creatorUserId, options).then((request) => request(axios, basePath));
|
|
686
814
|
},
|
|
687
815
|
};
|
|
688
816
|
};
|
|
@@ -692,7 +820,7 @@ exports.CommunicationsApiFactory = CommunicationsApiFactory;
|
|
|
692
820
|
*/
|
|
693
821
|
class CommunicationsApi extends base_1.BaseAPI {
|
|
694
822
|
/**
|
|
695
|
-
*
|
|
823
|
+
* Endpoint for accepting a quote. This will require the quoter to confirm
|
|
696
824
|
* @summary Accept Quote
|
|
697
825
|
* @param {string} quoteId Quote ID
|
|
698
826
|
* @param {AcceptQuoteRequest} acceptQuoteRequest
|
|
@@ -703,17 +831,18 @@ class CommunicationsApi extends base_1.BaseAPI {
|
|
|
703
831
|
return (0, exports.CommunicationsApiFp)(this.configuration).acceptQuote(quoteId, acceptQuoteRequest, options).then((request) => request(this.axios, this.basePath));
|
|
704
832
|
}
|
|
705
833
|
/**
|
|
706
|
-
*
|
|
834
|
+
* Endpoint for confirming a quote. This will start a timer for order execution
|
|
707
835
|
* @summary Confirm Quote
|
|
708
836
|
* @param {string} quoteId Quote ID
|
|
837
|
+
* @param {object} [body]
|
|
709
838
|
* @param {*} [options] Override http request option.
|
|
710
839
|
* @throws {RequiredError}
|
|
711
840
|
*/
|
|
712
|
-
confirmQuote(quoteId, options) {
|
|
713
|
-
return (0, exports.CommunicationsApiFp)(this.configuration).confirmQuote(quoteId, options).then((request) => request(this.axios, this.basePath));
|
|
841
|
+
confirmQuote(quoteId, body, options) {
|
|
842
|
+
return (0, exports.CommunicationsApiFp)(this.configuration).confirmQuote(quoteId, body, options).then((request) => request(this.axios, this.basePath));
|
|
714
843
|
}
|
|
715
844
|
/**
|
|
716
|
-
*
|
|
845
|
+
* Endpoint for creating a quote in response to an RFQ
|
|
717
846
|
* @summary Create Quote
|
|
718
847
|
* @param {CreateQuoteRequest} createQuoteRequest
|
|
719
848
|
* @param {*} [options] Override http request option.
|
|
@@ -723,7 +852,7 @@ class CommunicationsApi extends base_1.BaseAPI {
|
|
|
723
852
|
return (0, exports.CommunicationsApiFp)(this.configuration).createQuote(createQuoteRequest, options).then((request) => request(this.axios, this.basePath));
|
|
724
853
|
}
|
|
725
854
|
/**
|
|
726
|
-
*
|
|
855
|
+
* Endpoint for creating a new RFQ. You can have a maximum of 100 open RFQs at a time.
|
|
727
856
|
* @summary Create RFQ
|
|
728
857
|
* @param {CreateRFQRequest} createRFQRequest
|
|
729
858
|
* @param {*} [options] Override http request option.
|
|
@@ -733,7 +862,7 @@ class CommunicationsApi extends base_1.BaseAPI {
|
|
|
733
862
|
return (0, exports.CommunicationsApiFp)(this.configuration).createRFQ(createRFQRequest, options).then((request) => request(this.axios, this.basePath));
|
|
734
863
|
}
|
|
735
864
|
/**
|
|
736
|
-
*
|
|
865
|
+
* Endpoint for deleting a quote, which means it can no longer be accepted.
|
|
737
866
|
* @summary Delete Quote
|
|
738
867
|
* @param {string} quoteId Quote ID
|
|
739
868
|
* @param {*} [options] Override http request option.
|
|
@@ -743,7 +872,7 @@ class CommunicationsApi extends base_1.BaseAPI {
|
|
|
743
872
|
return (0, exports.CommunicationsApiFp)(this.configuration).deleteQuote(quoteId, options).then((request) => request(this.axios, this.basePath));
|
|
744
873
|
}
|
|
745
874
|
/**
|
|
746
|
-
*
|
|
875
|
+
* Endpoint for deleting an RFQ by ID
|
|
747
876
|
* @summary Delete RFQ
|
|
748
877
|
* @param {string} rfqId RFQ ID
|
|
749
878
|
* @param {*} [options] Override http request option.
|
|
@@ -753,7 +882,7 @@ class CommunicationsApi extends base_1.BaseAPI {
|
|
|
753
882
|
return (0, exports.CommunicationsApiFp)(this.configuration).deleteRFQ(rfqId, options).then((request) => request(this.axios, this.basePath));
|
|
754
883
|
}
|
|
755
884
|
/**
|
|
756
|
-
*
|
|
885
|
+
* Endpoint for getting the communications ID of the logged-in user.
|
|
757
886
|
* @summary Get Communications ID
|
|
758
887
|
* @param {*} [options] Override http request option.
|
|
759
888
|
* @throws {RequiredError}
|
|
@@ -762,7 +891,7 @@ class CommunicationsApi extends base_1.BaseAPI {
|
|
|
762
891
|
return (0, exports.CommunicationsApiFp)(this.configuration).getCommunicationsID(options).then((request) => request(this.axios, this.basePath));
|
|
763
892
|
}
|
|
764
893
|
/**
|
|
765
|
-
*
|
|
894
|
+
* Endpoint for getting a particular quote
|
|
766
895
|
* @summary Get Quote
|
|
767
896
|
* @param {string} quoteId Quote ID
|
|
768
897
|
* @param {*} [options] Override http request option.
|
|
@@ -772,16 +901,25 @@ class CommunicationsApi extends base_1.BaseAPI {
|
|
|
772
901
|
return (0, exports.CommunicationsApiFp)(this.configuration).getQuote(quoteId, options).then((request) => request(this.axios, this.basePath));
|
|
773
902
|
}
|
|
774
903
|
/**
|
|
775
|
-
*
|
|
904
|
+
* Endpoint for getting quotes
|
|
776
905
|
* @summary Get Quotes
|
|
906
|
+
* @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.
|
|
907
|
+
* @param {string} [eventTicker] Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
|
|
908
|
+
* @param {string} [marketTicker] Filter by market ticker
|
|
909
|
+
* @param {number} [limit] Parameter to specify the number of results per page. Defaults to 500.
|
|
910
|
+
* @param {string} [status] Filter quotes by status
|
|
911
|
+
* @param {string} [quoteCreatorUserId] Filter quotes by quote creator user ID
|
|
912
|
+
* @param {string} [rfqCreatorUserId] Filter quotes by RFQ creator user ID
|
|
913
|
+
* @param {string} [rfqCreatorSubtraderId] Filter quotes by RFQ creator subtrader ID (FCM members only)
|
|
914
|
+
* @param {string} [rfqId] Filter quotes by RFQ ID
|
|
777
915
|
* @param {*} [options] Override http request option.
|
|
778
916
|
* @throws {RequiredError}
|
|
779
917
|
*/
|
|
780
|
-
getQuotes(options) {
|
|
781
|
-
return (0, exports.CommunicationsApiFp)(this.configuration).getQuotes(options).then((request) => request(this.axios, this.basePath));
|
|
918
|
+
getQuotes(cursor, eventTicker, marketTicker, limit, status, quoteCreatorUserId, rfqCreatorUserId, rfqCreatorSubtraderId, rfqId, options) {
|
|
919
|
+
return (0, exports.CommunicationsApiFp)(this.configuration).getQuotes(cursor, eventTicker, marketTicker, limit, status, quoteCreatorUserId, rfqCreatorUserId, rfqCreatorSubtraderId, rfqId, options).then((request) => request(this.axios, this.basePath));
|
|
782
920
|
}
|
|
783
921
|
/**
|
|
784
|
-
*
|
|
922
|
+
* Endpoint for getting a single RFQ by id
|
|
785
923
|
* @summary Get RFQ
|
|
786
924
|
* @param {string} rfqId RFQ ID
|
|
787
925
|
* @param {*} [options] Override http request option.
|
|
@@ -791,13 +929,19 @@ class CommunicationsApi extends base_1.BaseAPI {
|
|
|
791
929
|
return (0, exports.CommunicationsApiFp)(this.configuration).getRFQ(rfqId, options).then((request) => request(this.axios, this.basePath));
|
|
792
930
|
}
|
|
793
931
|
/**
|
|
794
|
-
*
|
|
932
|
+
* Endpoint for getting RFQs
|
|
795
933
|
* @summary Get RFQs
|
|
934
|
+
* @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.
|
|
935
|
+
* @param {string} [eventTicker] Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
|
|
936
|
+
* @param {string} [marketTicker] Filter by market ticker
|
|
937
|
+
* @param {number} [limit] Parameter to specify the number of results per page. Defaults to 100.
|
|
938
|
+
* @param {string} [status] Filter RFQs by status
|
|
939
|
+
* @param {string} [creatorUserId] Filter RFQs by creator user ID
|
|
796
940
|
* @param {*} [options] Override http request option.
|
|
797
941
|
* @throws {RequiredError}
|
|
798
942
|
*/
|
|
799
|
-
getRFQs(options) {
|
|
800
|
-
return (0, exports.CommunicationsApiFp)(this.configuration).getRFQs(options).then((request) => request(this.axios, this.basePath));
|
|
943
|
+
getRFQs(cursor, eventTicker, marketTicker, limit, status, creatorUserId, options) {
|
|
944
|
+
return (0, exports.CommunicationsApiFp)(this.configuration).getRFQs(cursor, eventTicker, marketTicker, limit, status, creatorUserId, options).then((request) => request(this.axios, this.basePath));
|
|
801
945
|
}
|
|
802
946
|
}
|
|
803
947
|
exports.CommunicationsApi = CommunicationsApi;
|