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 ExerciseServiceCancelOptionInstructionRequest = { /** * The account id. */ accountId: string; /** * The asset id. */ assetId: string; /** * The instruction id. */ instructionId: string; cancelOptionInstructionRequestCreate: components.CancelOptionInstructionRequestCreate; }; export type ExerciseServiceCancelOptionInstructionResponse = { httpMeta: components.HTTPMetadata; /** * OK */ optionInstruction?: components.OptionInstruction | undefined; /** * Default error response */ status?: components.Status | undefined; }; /** @internal */ export declare const ExerciseServiceCancelOptionInstructionRequest$inboundSchema: z.ZodType; /** @internal */ export type ExerciseServiceCancelOptionInstructionRequest$Outbound = { account_id: string; asset_id: string; instruction_id: string; CancelOptionInstructionRequestCreate: components.CancelOptionInstructionRequestCreate$Outbound; }; /** @internal */ export declare const ExerciseServiceCancelOptionInstructionRequest$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 ExerciseServiceCancelOptionInstructionRequest$ { /** @deprecated use `ExerciseServiceCancelOptionInstructionRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ExerciseServiceCancelOptionInstructionRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ExerciseServiceCancelOptionInstructionRequest$Outbound` instead. */ type Outbound = ExerciseServiceCancelOptionInstructionRequest$Outbound; } export declare function exerciseServiceCancelOptionInstructionRequestToJSON(exerciseServiceCancelOptionInstructionRequest: ExerciseServiceCancelOptionInstructionRequest): string; export declare function exerciseServiceCancelOptionInstructionRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ExerciseServiceCancelOptionInstructionResponse$inboundSchema: z.ZodType; /** @internal */ export type ExerciseServiceCancelOptionInstructionResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; OptionInstruction?: components.OptionInstruction$Outbound | undefined; Status?: components.Status$Outbound | undefined; }; /** @internal */ export declare const ExerciseServiceCancelOptionInstructionResponse$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 ExerciseServiceCancelOptionInstructionResponse$ { /** @deprecated use `ExerciseServiceCancelOptionInstructionResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ExerciseServiceCancelOptionInstructionResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ExerciseServiceCancelOptionInstructionResponse$Outbound` instead. */ type Outbound = ExerciseServiceCancelOptionInstructionResponse$Outbound; } export declare function exerciseServiceCancelOptionInstructionResponseToJSON(exerciseServiceCancelOptionInstructionResponse: ExerciseServiceCancelOptionInstructionResponse): string; export declare function exerciseServiceCancelOptionInstructionResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=exerciseservicecanceloptioninstruction.d.ts.map