/** * 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. */ export interface Quote { /** * UUID of the quote. Preserve the exact returned string. */ 'id': string; /** * UUID of the RFQ this quote is responding to. */ 'rfq_id': string; /** * Public communications ID of the quote creator */ 'creator_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 this quote executes successfully, its counterparty sees the normal public communications ID. */ 'rfq_creator_id': string; /** * The ticker of the market this quote 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. */ 'yes_bid_dollars': 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. */ 'no_bid_dollars': string; /** * Timestamp when the quote was created */ 'created_ts': string; /** * Timestamp when the quote was last updated */ 'updated_ts': string; /** * Current status of the quote */ 'status': QuoteStatusEnum; /** * The side that was accepted (yes or no) */ 'accepted_side'?: QuoteAcceptedSideEnum; /** * Timestamp when the quote was accepted */ 'accepted_ts'?: string; /** * Timestamp when the quote was confirmed */ 'confirmed_ts'?: string; /** * Timestamp when the quote was executed */ 'executed_ts'?: string; /** * Timestamp when the quote was cancelled */ 'cancelled_ts'?: string; /** * Whether to rest the remainder of the quote after execution */ 'rest_remainder'?: boolean; /** * Whether the quote creator\'s order is post-only (visible when the caller is the quote creator) */ 'post_only'?: boolean; /** * Reason for quote cancellation if cancelled */ 'cancellation_reason'?: string; /** * User ID of the quote creator (private field) */ 'creator_user_id'?: string; /** * User ID of the RFQ creator (private field) */ 'rfq_creator_user_id'?: 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. */ 'rfq_target_cost_dollars'?: string; /** * True when the RFQ\'s target cost is principal-only and the contracts-offered sizes were computed without reserving taker fees (fees are charged on top of the target cost). */ 'target_cost_excludes_fees'?: boolean; /** * Order ID for the RFQ creator (private field) */ 'rfq_creator_order_id'?: string; /** * Order ID for the quote creator (private field) */ 'creator_order_id'?: string; /** * Subaccount number of the quote creator (visible when the caller is the quote creator) */ 'creator_subaccount'?: number; /** * Subaccount number of the RFQ creator (visible when the caller is the RFQ creator) */ 'rfq_creator_subaccount'?: number; /** * 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. */ 'yes_contracts_fp'?: 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. */ 'no_contracts_fp'?: string; } export declare const QuoteStatusEnum: { readonly Open: "open"; readonly Accepted: "accepted"; readonly Confirmed: "confirmed"; readonly Executed: "executed"; readonly Cancelled: "cancelled"; }; export type QuoteStatusEnum = typeof QuoteStatusEnum[keyof typeof QuoteStatusEnum]; export declare const QuoteAcceptedSideEnum: { readonly Yes: "yes"; readonly No: "no"; }; export type QuoteAcceptedSideEnum = typeof QuoteAcceptedSideEnum[keyof typeof QuoteAcceptedSideEnum];