import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { TradeAllocationCreate, TradeAllocationCreate$Outbound } from "./tradeallocationcreate.js"; /** * Used to correct a trade allocation. */ export type RebookTradeAllocationRequestCreate = { /** * The name of the original trade allocation to rebook. */ name: string; /** * A globally unique UUID that is specific to the request. This id is used to prevent duplicate requests from being processed. */ requestId: string; /** * A TradeAllocation represents the movement of positions between two ascend accounts. */ tradeAllocation: TradeAllocationCreate; }; /** @internal */ export declare const RebookTradeAllocationRequestCreate$inboundSchema: z.ZodType; /** @internal */ export type RebookTradeAllocationRequestCreate$Outbound = { name: string; request_id: string; trade_allocation: TradeAllocationCreate$Outbound; }; /** @internal */ export declare const RebookTradeAllocationRequestCreate$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 RebookTradeAllocationRequestCreate$ { /** @deprecated use `RebookTradeAllocationRequestCreate$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `RebookTradeAllocationRequestCreate$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `RebookTradeAllocationRequestCreate$Outbound` instead. */ type Outbound = RebookTradeAllocationRequestCreate$Outbound; } export declare function rebookTradeAllocationRequestCreateToJSON(rebookTradeAllocationRequestCreate: RebookTradeAllocationRequestCreate): string; export declare function rebookTradeAllocationRequestCreateFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=rebooktradeallocationrequestcreate.d.ts.map