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"; /** * The desired target settlement state of the order. If unspecified, the order settlement state will default to "FILLED". */ export declare enum OrderSettlementTarget { OrderSettlementTargetUnspecified = "ORDER_SETTLEMENT_TARGET_UNSPECIFIED", Booked = "BOOKED", Filled = "FILLED" } /** * The desired target settlement state of the order. If unspecified, the order settlement state will default to "FILLED". */ export type OrderSettlementTargetOpen = OpenEnum; /** * Request to settle an alternative order. Note: This is a simulation of settlement for testing purposes only, not to be used in production. */ export type SettleAlternativeOrderRequestCreate = { /** * The name of the alternative order to settle. * * @remarks * * Format: accounts/{account}/alternativeOrders/{alternative_order} */ name: string; /** * The desired target settlement state of the order. If unspecified, the order settlement state will default to "FILLED". */ orderSettlementTarget?: OrderSettlementTargetOpen | undefined; }; /** @internal */ export declare const OrderSettlementTarget$inboundSchema: z.ZodType; /** @internal */ export declare const OrderSettlementTarget$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 OrderSettlementTarget$ { /** @deprecated use `OrderSettlementTarget$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OrderSettlementTarget$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const SettleAlternativeOrderRequestCreate$inboundSchema: z.ZodType; /** @internal */ export type SettleAlternativeOrderRequestCreate$Outbound = { name: string; order_settlement_target?: string | undefined; }; /** @internal */ export declare const SettleAlternativeOrderRequestCreate$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 SettleAlternativeOrderRequestCreate$ { /** @deprecated use `SettleAlternativeOrderRequestCreate$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `SettleAlternativeOrderRequestCreate$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `SettleAlternativeOrderRequestCreate$Outbound` instead. */ type Outbound = SettleAlternativeOrderRequestCreate$Outbound; } export declare function settleAlternativeOrderRequestCreateToJSON(settleAlternativeOrderRequestCreate: SettleAlternativeOrderRequestCreate): string; export declare function settleAlternativeOrderRequestCreateFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=settlealternativeorderrequestcreate.d.ts.map