/* tslint:disable */ /* eslint-disable */ /** * Kalshi Trade API Manual Endpoints * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach * * The version of the OpenAPI document: 3.36.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ // May contain unused imports in some cases // @ts-ignore import type { MveSelectedLeg } from './mve-selected-leg'; export interface RFQ { /** * UUID of the RFQ. Preserve the exact returned string. */ 'id': string; /** * Public communications ID of the RFQ creator (pseudonymous). When obscure_creator_id is enabled, other users receive the shared placeholder \"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\" (SHA-256 of empty input). The creator sees their normal ID. After successful quote execution, subsequent RFQ responses show the normal public communications ID to all viewers. */ 'creator_id': string; /** * The ticker of the market this RFQ is for */ 'market_ticker': string; /** * Fixed-point contract count string (2 decimals, e.g., \"10.00\"; referred to as \"fp\" in field names). Requests accept 0-2 decimal places (e.g., \"10\", \"10.0\", \"10.00\"); responses always emit 2 decimals. Fractional contract values (e.g., \"2.50\") are supported; the minimum granularity is 0.01 contracts. */ 'contracts_fp': string; /** * Fixed-point US dollar string. Most request fields accept 2-4 decimal places (e.g., \"0.56\", \"0.5600\"); responses emit up to 6. Valid quote intervals for a given market are constrained by that market\'s price level structure. */ 'target_cost_dollars'?: string; /** * True when the target cost is principal-only and quote sizes are computed without reserving taker fees (fees are charged on top). */ 'target_cost_excludes_fees'?: boolean; /** * Current status of the RFQ (open, closed) */ 'status': RFQStatusEnum; /** * Timestamp when the RFQ was created */ 'created_ts': string; /** * Ticker of the MVE collection this market belongs to */ 'mve_collection_ticker'?: string; /** * Selected legs for the MVE collection */ 'mve_selected_legs'?: Array; /** * Whether to rest the remainder of the RFQ after execution */ 'rest_remainder'?: boolean; /** * Reason for RFQ cancellation if cancelled */ 'cancellation_reason'?: string; /** * User ID of the RFQ creator (private field) */ 'creator_user_id'?: string; /** * Subaccount number of the RFQ creator (visible when the caller is the RFQ creator) */ 'creator_subaccount'?: number; /** * Timestamp when the RFQ was cancelled */ 'cancelled_ts'?: string; /** * Timestamp when the RFQ was last updated */ 'updated_ts'?: string; /** * Identifier of the RFQ batch this RFQ is a child of. Omitted for an RFQ outside a batch. A child can be quoted like a single RFQ, with the differences described in [Request for Quote](/getting_started/rfqs#rfq-batch-children). */ 'rfq_batch_id'?: string; } export const RFQStatusEnum = { Open: 'open', Closed: 'closed' } as const; export type RFQStatusEnum = typeof RFQStatusEnum[keyof typeof RFQStatusEnum];