import * as z from "zod"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { OptionOrderLeg, OptionOrderLeg$Outbound } from "./optionorderleg.js"; import { TradingFee, TradingFee$Outbound } from "./tradingfee.js"; /** * The capacity in which the broker is acting for this option order. */ export declare enum OptionOrderBrokerCapacity { BrokerCapacityUnspecified = "BROKER_CAPACITY_UNSPECIFIED", Agency = "AGENCY", Principal = "PRINCIPAL" } /** * The capacity in which the broker is acting for this option order. */ export type OptionOrderBrokerCapacityOpen = OpenEnum; /** * Used to denote when a cancel request has been rejected. */ export declare enum OptionOrderCancelRejectedReason { CancelRejectReasonUnspecified = "CANCEL_REJECT_REASON_UNSPECIFIED", TooLateToCancel = "TOO_LATE_TO_CANCEL", CancellationUnknownOrder = "CANCELLATION_UNKNOWN_ORDER", BrokerExchangeOption = "BROKER_EXCHANGE_OPTION", OrderAlreadyInPendingCancelOrPendingReplaceStatus = "ORDER_ALREADY_IN_PENDING_CANCEL_OR_PENDING_REPLACE_STATUS", Duplicate = "DUPLICATE", CancellationSystemError = "CANCELLATION_SYSTEM_ERROR", OrderAlreadyCanceled = "ORDER_ALREADY_CANCELED", CancellationMisconfiguredClient = "CANCELLATION_MISCONFIGURED_CLIENT" } /** * Used to denote when a cancel request has been rejected. */ export type OptionOrderCancelRejectedReasonOpen = OpenEnum; /** * This represents the absolute value of the notional amount (without fees) transacted across all of this legs. If present, this will always a positive number, or zero. This field will be empty if there are no leg executions. */ export type OptionOrderCumulativeNotionalValue = { /** * The decimal value, as a string; Refer to [Google’s Decimal type protocol buffer](https://github.com/googleapis/googleapis/blob/40203ca1880849480bbff7b8715491060bbccdf1/google/type/decimal.proto#L33) for details */ value?: string | undefined; }; /** * This represents the direction of the total filled notional value, which will be present if the `cumulative_notional_value` is also present. If there are no executions, this value will be absent. When the summed notional value of all CREDIT legs exceeds that of the DEBIT legs a CREDIT will be reported here; otherwise a DEBIT will be reported. */ export declare enum CumulativeNotionalValueDirection { DebitCreditTypeUnspecified = "DEBIT_CREDIT_TYPE_UNSPECIFIED", Debit = "DEBIT", Credit = "CREDIT" } /** * This represents the direction of the total filled notional value, which will be present if the `cumulative_notional_value` is also present. If there are no executions, this value will be absent. When the summed notional value of all CREDIT legs exceeds that of the DEBIT legs a CREDIT will be reported here; otherwise a DEBIT will be reported. */ export type CumulativeNotionalValueDirectionOpen = OpenEnum; /** * The limit price for this option order. For single-leg option orders, this is the price per contract which the filled order must match or beat. For multi-leg orders, this represents the amortized "price per unit" that must be matched or beat. (E.g. with a limit price of a $4 DEBIT, and an order with 2 legs that includes one leg buy 100 shares of SBX and another leg to sell 1 contract of SBX, then the fills will be guaranteed to result in no more than a $400--4 USD X 100 shares/contract--total debit against the ordering account.) */ export type OptionOrderLimitPrice = { /** * The decimal value, as a string; Refer to [Google’s Decimal type protocol buffer](https://github.com/googleapis/googleapis/blob/40203ca1880849480bbff7b8715491060bbccdf1/google/type/decimal.proto#L33) for details */ value?: string | undefined; }; /** * The date on which the option order will go to the market: must be "today". Option orders will only be accepted during normal trading hours. */ export type OptionOrderOrderDate = { /** * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */ day?: number | undefined; /** * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. */ month?: number | undefined; /** * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */ year?: number | undefined; }; /** * When an option order has the REJECTED status, this will be populated with a system code describing the rejection. */ export declare enum OptionOrderOrderRejectedReason { OrderRejectReasonUnspecified = "ORDER_REJECT_REASON_UNSPECIFIED", BrokerOption = "BROKER_OPTION", UnknownSecurity = "UNKNOWN_SECURITY", ExchangeClosed = "EXCHANGE_CLOSED", OrderExceedsLimit = "ORDER_EXCEEDS_LIMIT", TooLateToEnter = "TOO_LATE_TO_ENTER", UnknownOrder = "UNKNOWN_ORDER", DuplicateOrder = "DUPLICATE_ORDER", StaleOrder = "STALE_ORDER", BelowNotionalMinimum = "BELOW_NOTIONAL_MINIMUM", OrderDateUnavailable = "ORDER_DATE_UNAVAILABLE", AggressiveLimitPrice = "AGGRESSIVE_LIMIT_PRICE", AccountNotEntitled = "ACCOUNT_NOT_ENTITLED", SystemError = "SYSTEM_ERROR", BlockingCorporateAction = "BLOCKING_CORPORATE_ACTION", UnavailablePriceQuote = "UNAVAILABLE_PRICE_QUOTE", ExecutionMisconfiguredClient = "EXECUTION_MISCONFIGURED_CLIENT", NotionalQuantityNotAllowedForSecurity = "NOTIONAL_QUANTITY_NOT_ALLOWED_FOR_SECURITY", FractionalQuantityNotAllowedForSecurity = "FRACTIONAL_QUANTITY_NOT_ALLOWED_FOR_SECURITY", OnlyFractionalSellOrWholeOrdersAllowedForSecurity = "ONLY_FRACTIONAL_SELL_OR_WHOLE_ORDERS_ALLOWED_FOR_SECURITY", AboveNotionalMaximum = "ABOVE_NOTIONAL_MAXIMUM", AboveShareMaximum = "ABOVE_SHARE_MAXIMUM", FailedBuyingPower = "FAILED_BUYING_POWER", InsufficientPosition = "INSUFFICIENT_POSITION", TradesDisabledForAssetType = "TRADES_DISABLED_FOR_ASSET_TYPE", CommissionNotAllowedForNonBrokerDealer = "COMMISSION_NOT_ALLOWED_FOR_NON_BROKER_DEALER", AssetNotSetUpToTrade = "ASSET_NOT_SET_UP_TO_TRADE", InvalidOrderQuantity = "INVALID_ORDER_QUANTITY", ClientReceivedTimeRequired = "CLIENT_RECEIVED_TIME_REQUIRED", UnsupportedPriceValue = "UNSUPPORTED_PRICE_VALUE" } /** * When an option order has the REJECTED status, this will be populated with a system code describing the rejection. */ export type OptionOrderOrderRejectedReasonOpen = OpenEnum; /** * The processing status of the option order */ export declare enum OptionOrderOrderStatus { OrderStatusUnspecified = "ORDER_STATUS_UNSPECIFIED", PendingNew = "PENDING_NEW", New = "NEW", PendingQueued = "PENDING_QUEUED", Queued = "QUEUED", PartiallyFilled = "PARTIALLY_FILLED", Filled = "FILLED", PendingCancel = "PENDING_CANCEL", Canceled = "CANCELED", Rejected = "REJECTED" } /** * The processing status of the option order */ export type OptionOrderOrderStatusOpen = OpenEnum; /** * The execution type of this option order. */ export declare enum OptionOrderOrderType { OrderTypeUnspecified = "ORDER_TYPE_UNSPECIFIED", Limit = "LIMIT" } /** * The execution type of this option order. */ export type OptionOrderOrderTypeOpen = OpenEnum; /** * The direction of the price, which indicates whether the entire option order should result in a credit to the account placing the order, or a debit from the account placing the order. */ export declare enum OptionOrderPriceDirection { DebitCreditTypeUnspecified = "DEBIT_CREDIT_TYPE_UNSPECIFIED", Debit = "DEBIT", Credit = "CREDIT" } /** * The direction of the price, which indicates whether the entire option order should result in a credit to the account placing the order, or a debit from the account placing the order. */ export type OptionOrderPriceDirectionOpen = OpenEnum; /** * The quantity of the option order to be placed. The `ratio_quantity` of each leg will be multiplied by this value to determine the total number of units being ordered within each leg. (E.g. if a quantity of 3 is specified, and a leg with a `ratio_quantity` of 2 is specified, then the total number of contracts being ordered by that leg will be 6.) */ export type OptionOrderQuantity = { /** * The decimal value, as a string; Refer to [Google’s Decimal type protocol buffer](https://github.com/googleapis/googleapis/blob/40203ca1880849480bbff7b8715491060bbccdf1/google/type/decimal.proto#L33) for details */ value?: string | undefined; }; export declare enum OptionOrderSpecialReportingInstructions { SpecialReportingInstructionsUnspecified = "SPECIAL_REPORTING_INSTRUCTIONS_UNSPECIFIED", CustomerDirected = "CUSTOMER_DIRECTED", WithDividend = "WITH_DIVIDEND", WithRights = "WITH_RIGHTS", DiscretionExercised = "DISCRETION_EXERCISED", DiscretionNotExercised = "DISCRETION_NOT_EXERCISED", BrokerDealerOrder = "BROKER_DEALER_ORDER", FullyRegistered = "FULLY_REGISTERED", OddlotDiffOnRequest = "ODDLOT_DIFF_ON_REQUEST", ProspectusEnclosed = "PROSPECTUS_ENCLOSED", ProspectusSeparateMail = "PROSPECTUS_SEPARATE_MAIL", Solicited = "SOLICITED", Unsolicited = "UNSOLICITED", XDividend = "X_DIVIDEND", ActingAsPrincipal = "ACTING_AS_PRINCIPAL", AveragePrice = "AVERAGE_PRICE", BrokerLiquidation = "BROKER_LIQUIDATION", InternetOrder = "INTERNET_ORDER", MarginSellout = "MARGIN_SELLOUT", NegativeNetProceed = "NEGATIVE_NET_PROCEED", RisklessPrincipal = "RISKLESS_PRINCIPAL", ThirdMarket = "THIRD_MARKET", SuppressTraceReporting = "SUPPRESS_TRACE_REPORTING", WhenDistributed = "WHEN_DISTRIBUTED", RoundUp = "ROUND_UP", CatParentAlgo = "CAT_PARENT_ALGO", CatParentGtc = "CAT_PARENT_GTC" } export type OptionOrderSpecialReportingInstructionsOpen = OpenEnum; /** * Must be the value "DAY". Regulatory requirements dictate the system captures the intended time_in_force, which is why this a mandatory field. */ export declare enum OptionOrderTimeInForce { TimeInForceUnspecified = "TIME_IN_FORCE_UNSPECIFIED", Day = "DAY" } /** * Must be the value "DAY". Regulatory requirements dictate the system captures the intended time_in_force, which is why this a mandatory field. */ export type OptionOrderTimeInForceOpen = OpenEnum; /** * The message describing an option order */ export type OptionOrder = { /** * The identifier of the account transacting this option order */ accountId?: string | undefined; /** * The capacity in which the broker is acting for this option order. */ brokerCapacity?: OptionOrderBrokerCapacityOpen | undefined; /** * Used to explain why an option order is canceled */ cancelReason?: string | undefined; /** * Used to denote when a cancel request has been rejected. */ cancelRejectedReason?: OptionOrderCancelRejectedReasonOpen | undefined; /** * User-supplied unique option order ID. Cannot be more than 40 characters long. */ clientOrderId?: string | undefined; /** * Required for any client who is having Apex do CAT reporting on their behalf. */ clientReceivedTime?: Date | null | undefined; /** * Time of the option order creation */ createTime?: Date | null | undefined; /** * This represents the absolute value of the notional amount (without fees) transacted across all of this legs. If present, this will always a positive number, or zero. This field will be empty if there are no leg executions. */ cumulativeNotionalValue?: OptionOrderCumulativeNotionalValue | null | undefined; /** * This represents the direction of the total filled notional value, which will be present if the `cumulative_notional_value` is also present. If there are no executions, this value will be absent. When the summed notional value of all CREDIT legs exceeds that of the DEBIT legs a CREDIT will be reported here; otherwise a DEBIT will be reported. */ cumulativeNotionalValueDirection?: CumulativeNotionalValueDirectionOpen | undefined; /** * Only "USD" is supported. Full list of currency codes is defined at: https://en.wikipedia.org/wiki/ISO_4217 */ currencyCode?: string | undefined; /** * Fees that will be applied to this option order. */ fees?: Array | undefined; /** * Time of the last option order update */ lastUpdateTime?: Date | null | undefined; /** * The legs of this option order. Only a single leg is allowed to be specified, and it must be for an OPTION security. */ legs?: Array | undefined; /** * The limit price for this option order. For single-leg option orders, this is the price per contract which the filled order must match or beat. For multi-leg orders, this represents the amortized "price per unit" that must be matched or beat. (E.g. with a limit price of a $4 DEBIT, and an order with 2 legs that includes one leg buy 100 shares of SBX and another leg to sell 1 contract of SBX, then the fills will be guaranteed to result in no more than a $400--4 USD X 100 shares/contract--total debit against the ordering account.) */ limitPrice?: OptionOrderLimitPrice | null | undefined; /** * System generated name of the option order. */ name?: string | undefined; /** * System generated unique id for the option order. */ optionOrderId?: string | undefined; /** * The date on which the option order will go to the market: must be "today". Option orders will only be accepted during normal trading hours. */ orderDate?: OptionOrderOrderDate | null | undefined; /** * When an option order has the REJECTED status, this will be populated with a system code describing the rejection. */ orderRejectedReason?: OptionOrderOrderRejectedReasonOpen | undefined; /** * The processing status of the option order */ orderStatus?: OptionOrderOrderStatusOpen | undefined; /** * The execution type of this option order. */ orderType?: OptionOrderOrderTypeOpen | undefined; /** * The direction of the price, which indicates whether the entire option order should result in a credit to the account placing the order, or a debit from the account placing the order. */ priceDirection?: OptionOrderPriceDirectionOpen | undefined; /** * The quantity of the option order to be placed. The `ratio_quantity` of each leg will be multiplied by this value to determine the total number of units being ordered within each leg. (E.g. if a quantity of 3 is specified, and a leg with a `ratio_quantity` of 2 is specified, then the total number of contracts being ordered by that leg will be 6.) */ quantity?: OptionOrderQuantity | null | undefined; /** * Special Reporting Instructions to be applied to this option order. Can include multiple Instructions. */ specialReportingInstructions?: Array | undefined; /** * Must be the value "DAY". Regulatory requirements dictate the system captures the intended time_in_force, which is why this a mandatory field. */ timeInForce?: OptionOrderTimeInForceOpen | undefined; }; /** @internal */ export declare const OptionOrderBrokerCapacity$inboundSchema: z.ZodType; /** @internal */ export declare const OptionOrderBrokerCapacity$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace OptionOrderBrokerCapacity$ { /** @deprecated use `OptionOrderBrokerCapacity$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OptionOrderBrokerCapacity$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const OptionOrderCancelRejectedReason$inboundSchema: z.ZodType; /** @internal */ export declare const OptionOrderCancelRejectedReason$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace OptionOrderCancelRejectedReason$ { /** @deprecated use `OptionOrderCancelRejectedReason$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OptionOrderCancelRejectedReason$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const OptionOrderCumulativeNotionalValue$inboundSchema: z.ZodType; /** @internal */ export type OptionOrderCumulativeNotionalValue$Outbound = { value?: string | undefined; }; /** @internal */ export declare const OptionOrderCumulativeNotionalValue$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace OptionOrderCumulativeNotionalValue$ { /** @deprecated use `OptionOrderCumulativeNotionalValue$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OptionOrderCumulativeNotionalValue$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `OptionOrderCumulativeNotionalValue$Outbound` instead. */ type Outbound = OptionOrderCumulativeNotionalValue$Outbound; } export declare function optionOrderCumulativeNotionalValueToJSON(optionOrderCumulativeNotionalValue: OptionOrderCumulativeNotionalValue): string; export declare function optionOrderCumulativeNotionalValueFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CumulativeNotionalValueDirection$inboundSchema: z.ZodType; /** @internal */ export declare const CumulativeNotionalValueDirection$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace CumulativeNotionalValueDirection$ { /** @deprecated use `CumulativeNotionalValueDirection$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CumulativeNotionalValueDirection$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const OptionOrderLimitPrice$inboundSchema: z.ZodType; /** @internal */ export type OptionOrderLimitPrice$Outbound = { value?: string | undefined; }; /** @internal */ export declare const OptionOrderLimitPrice$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace OptionOrderLimitPrice$ { /** @deprecated use `OptionOrderLimitPrice$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OptionOrderLimitPrice$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `OptionOrderLimitPrice$Outbound` instead. */ type Outbound = OptionOrderLimitPrice$Outbound; } export declare function optionOrderLimitPriceToJSON(optionOrderLimitPrice: OptionOrderLimitPrice): string; export declare function optionOrderLimitPriceFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const OptionOrderOrderDate$inboundSchema: z.ZodType; /** @internal */ export type OptionOrderOrderDate$Outbound = { day?: number | undefined; month?: number | undefined; year?: number | undefined; }; /** @internal */ export declare const OptionOrderOrderDate$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace OptionOrderOrderDate$ { /** @deprecated use `OptionOrderOrderDate$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OptionOrderOrderDate$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `OptionOrderOrderDate$Outbound` instead. */ type Outbound = OptionOrderOrderDate$Outbound; } export declare function optionOrderOrderDateToJSON(optionOrderOrderDate: OptionOrderOrderDate): string; export declare function optionOrderOrderDateFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const OptionOrderOrderRejectedReason$inboundSchema: z.ZodType; /** @internal */ export declare const OptionOrderOrderRejectedReason$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace OptionOrderOrderRejectedReason$ { /** @deprecated use `OptionOrderOrderRejectedReason$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OptionOrderOrderRejectedReason$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const OptionOrderOrderStatus$inboundSchema: z.ZodType; /** @internal */ export declare const OptionOrderOrderStatus$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace OptionOrderOrderStatus$ { /** @deprecated use `OptionOrderOrderStatus$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OptionOrderOrderStatus$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const OptionOrderOrderType$inboundSchema: z.ZodType; /** @internal */ export declare const OptionOrderOrderType$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace OptionOrderOrderType$ { /** @deprecated use `OptionOrderOrderType$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OptionOrderOrderType$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const OptionOrderPriceDirection$inboundSchema: z.ZodType; /** @internal */ export declare const OptionOrderPriceDirection$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace OptionOrderPriceDirection$ { /** @deprecated use `OptionOrderPriceDirection$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OptionOrderPriceDirection$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const OptionOrderQuantity$inboundSchema: z.ZodType; /** @internal */ export type OptionOrderQuantity$Outbound = { value?: string | undefined; }; /** @internal */ export declare const OptionOrderQuantity$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace OptionOrderQuantity$ { /** @deprecated use `OptionOrderQuantity$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OptionOrderQuantity$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `OptionOrderQuantity$Outbound` instead. */ type Outbound = OptionOrderQuantity$Outbound; } export declare function optionOrderQuantityToJSON(optionOrderQuantity: OptionOrderQuantity): string; export declare function optionOrderQuantityFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const OptionOrderSpecialReportingInstructions$inboundSchema: z.ZodType; /** @internal */ export declare const OptionOrderSpecialReportingInstructions$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace OptionOrderSpecialReportingInstructions$ { /** @deprecated use `OptionOrderSpecialReportingInstructions$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OptionOrderSpecialReportingInstructions$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const OptionOrderTimeInForce$inboundSchema: z.ZodType; /** @internal */ export declare const OptionOrderTimeInForce$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace OptionOrderTimeInForce$ { /** @deprecated use `OptionOrderTimeInForce$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OptionOrderTimeInForce$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const OptionOrder$inboundSchema: z.ZodType; /** @internal */ export type OptionOrder$Outbound = { account_id?: string | undefined; broker_capacity?: string | undefined; cancel_reason?: string | undefined; cancel_rejected_reason?: string | undefined; client_order_id?: string | undefined; client_received_time?: string | null | undefined; create_time?: string | null | undefined; cumulative_notional_value?: OptionOrderCumulativeNotionalValue$Outbound | null | undefined; cumulative_notional_value_direction?: string | undefined; currency_code?: string | undefined; fees?: Array | undefined; last_update_time?: string | null | undefined; legs?: Array | undefined; limit_price?: OptionOrderLimitPrice$Outbound | null | undefined; name?: string | undefined; option_order_id?: string | undefined; order_date?: OptionOrderOrderDate$Outbound | null | undefined; order_rejected_reason?: string | undefined; order_status?: string | undefined; order_type?: string | undefined; price_direction?: string | undefined; quantity?: OptionOrderQuantity$Outbound | null | undefined; special_reporting_instructions?: Array | undefined; time_in_force?: string | undefined; }; /** @internal */ export declare const OptionOrder$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace OptionOrder$ { /** @deprecated use `OptionOrder$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OptionOrder$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `OptionOrder$Outbound` instead. */ type Outbound = OptionOrder$Outbound; } export declare function optionOrderToJSON(optionOrder: OptionOrder): string; export declare function optionOrderFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=optionorder.d.ts.map