/* 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.11.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 AmendOrderRequest { /** * Optional subaccount number to use for this amendment (0 for primary, 1-32 for subaccounts) */ 'subaccount'?: number; /** * Market ticker */ 'ticker': string; /** * Side of the order */ 'side': AmendOrderRequestSideEnum; /** * Action of the order */ 'action': AmendOrderRequestActionEnum; /** * The original client-specified order ID to be amended */ 'client_order_id'?: string; /** * The new client-specified order ID after amendment */ 'updated_client_order_id'?: string; /** * Updated yes price for the order in cents */ 'yes_price'?: number; /** * Updated no price for the order in cents */ 'no_price'?: number; /** * US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. */ 'yes_price_dollars'?: string; /** * US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. */ 'no_price_dollars'?: string; /** * Updated quantity for the order (whole contracts only). If updating quantity, provide count or count_fp; if both provided they must match. */ 'count'?: 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. Currently only whole contract values are permitted, but the format supports future fractional precision. Integer contract count fields are legacy and will be deprecated; when both integer and fp fields are provided, they must match. */ 'count_fp'?: string; } export const AmendOrderRequestSideEnum = { Yes: 'yes', No: 'no' } as const; export type AmendOrderRequestSideEnum = typeof AmendOrderRequestSideEnum[keyof typeof AmendOrderRequestSideEnum]; export const AmendOrderRequestActionEnum = { Buy: 'buy', Sell: 'sell' } as const; export type AmendOrderRequestActionEnum = typeof AmendOrderRequestActionEnum[keyof typeof AmendOrderRequestActionEnum];