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"; /** * Only relevant for CAT reporting when clients have Apex do CAT reporting on their behalf. A value may be provided for non-Equity orders, and will be remembered, but the value will have no impact on how they are processed. Cancel requests without this field set will default to CLIENT */ export declare enum RemoveOrderRequestCreateCancelInitiator { InitiatorUnspecified = "INITIATOR_UNSPECIFIED", Firm = "FIRM", Client = "CLIENT" } /** * Only relevant for CAT reporting when clients have Apex do CAT reporting on their behalf. A value may be provided for non-Equity orders, and will be remembered, but the value will have no impact on how they are processed. Cancel requests without this field set will default to CLIENT */ export type RemoveOrderRequestCreateCancelInitiatorOpen = OpenEnum; /** * The message to remove a basket order by client order ID with optional CAT reporting data. */ export type RemoveOrderRequestCreate = { /** * Only relevant for CAT reporting when clients have Apex do CAT reporting on their behalf. A value may be provided for non-Equity orders, and will be remembered, but the value will have no impact on how they are processed. Cancel requests without this field set will default to CLIENT */ cancelInitiator?: RemoveOrderRequestCreateCancelInitiatorOpen | undefined; /** * Related to CAT reporting when Apex reports for the client. A value may be provided for non-Equity orders, and will be remembered, but valid timestamps will have no impact on how they are processed. */ clientCancelReceivedTime?: Date | null | undefined; /** * Related to CAT reporting when Apex reports for the client. Denotes the time the client sent the cancel request to Apex. A value may be provided for non-Equity orders, and will be remembered, but valid timestamps will have no impact on how they are processed. */ clientCancelSentTime?: Date | null | undefined; /** * The client order ID of the basket order to remove. */ clientOrderId: string; }; /** @internal */ export declare const RemoveOrderRequestCreateCancelInitiator$inboundSchema: z.ZodType; /** @internal */ export declare const RemoveOrderRequestCreateCancelInitiator$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 RemoveOrderRequestCreateCancelInitiator$ { /** @deprecated use `RemoveOrderRequestCreateCancelInitiator$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `RemoveOrderRequestCreateCancelInitiator$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const RemoveOrderRequestCreate$inboundSchema: z.ZodType; /** @internal */ export type RemoveOrderRequestCreate$Outbound = { cancel_initiator?: string | undefined; client_cancel_received_time?: string | null | undefined; client_cancel_sent_time?: string | null | undefined; client_order_id: string; }; /** @internal */ export declare const RemoveOrderRequestCreate$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 RemoveOrderRequestCreate$ { /** @deprecated use `RemoveOrderRequestCreate$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `RemoveOrderRequestCreate$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `RemoveOrderRequestCreate$Outbound` instead. */ type Outbound = RemoveOrderRequestCreate$Outbound; } export declare function removeOrderRequestCreateToJSON(removeOrderRequestCreate: RemoveOrderRequestCreate): string; export declare function removeOrderRequestCreateFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=removeorderrequestcreate.d.ts.map