import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type BookingRebookExecutionRequest = { /** * The account id. */ accountId: string; /** * The trade id. */ tradeId: string; /** * The execution id. */ executionId: string; rebookExecutionRequestCreate: components.RebookExecutionRequestCreate; }; export type BookingRebookExecutionResponse = { httpMeta: components.HTTPMetadata; /** * OK */ rebookExecutionResponse?: components.RebookExecutionResponse | undefined; /** * INVALID_ARGUMENT: The request is not valid. * * @remarks * FAILED_PRECONDITION: The operation was rejected because the system is not in a state required for the operation's processing. */ status?: components.Status | undefined; }; /** @internal */ export declare const BookingRebookExecutionRequest$inboundSchema: z.ZodType; /** @internal */ export type BookingRebookExecutionRequest$Outbound = { account_id: string; trade_id: string; execution_id: string; RebookExecutionRequestCreate: components.RebookExecutionRequestCreate$Outbound; }; /** @internal */ export declare const BookingRebookExecutionRequest$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 BookingRebookExecutionRequest$ { /** @deprecated use `BookingRebookExecutionRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `BookingRebookExecutionRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `BookingRebookExecutionRequest$Outbound` instead. */ type Outbound = BookingRebookExecutionRequest$Outbound; } export declare function bookingRebookExecutionRequestToJSON(bookingRebookExecutionRequest: BookingRebookExecutionRequest): string; export declare function bookingRebookExecutionRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const BookingRebookExecutionResponse$inboundSchema: z.ZodType; /** @internal */ export type BookingRebookExecutionResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; RebookExecutionResponse?: components.RebookExecutionResponse$Outbound | undefined; Status?: components.Status$Outbound | undefined; }; /** @internal */ export declare const BookingRebookExecutionResponse$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 BookingRebookExecutionResponse$ { /** @deprecated use `BookingRebookExecutionResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `BookingRebookExecutionResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `BookingRebookExecutionResponse$Outbound` instead. */ type Outbound = BookingRebookExecutionResponse$Outbound; } export declare function bookingRebookExecutionResponseToJSON(bookingRebookExecutionResponse: BookingRebookExecutionResponse): string; export declare function bookingRebookExecutionResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=bookingrebookexecution.d.ts.map