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 OptionOrderServiceGetOptionOrderRequest = { /** * The account id. */ accountId: string; /** * The optionOrder id. */ optionOrderId: string; }; export type OptionOrderServiceGetOptionOrderResponse = { httpMeta: components.HTTPMetadata; /** * OK */ optionOrder?: components.OptionOrder | undefined; /** * INVALID_ARGUMENT: The account_id or the option_order_id could not be determined for the request. */ status?: components.Status | undefined; }; /** @internal */ export declare const OptionOrderServiceGetOptionOrderRequest$inboundSchema: z.ZodType; /** @internal */ export type OptionOrderServiceGetOptionOrderRequest$Outbound = { account_id: string; optionOrder_id: string; }; /** @internal */ export declare const OptionOrderServiceGetOptionOrderRequest$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 OptionOrderServiceGetOptionOrderRequest$ { /** @deprecated use `OptionOrderServiceGetOptionOrderRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OptionOrderServiceGetOptionOrderRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `OptionOrderServiceGetOptionOrderRequest$Outbound` instead. */ type Outbound = OptionOrderServiceGetOptionOrderRequest$Outbound; } export declare function optionOrderServiceGetOptionOrderRequestToJSON(optionOrderServiceGetOptionOrderRequest: OptionOrderServiceGetOptionOrderRequest): string; export declare function optionOrderServiceGetOptionOrderRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const OptionOrderServiceGetOptionOrderResponse$inboundSchema: z.ZodType; /** @internal */ export type OptionOrderServiceGetOptionOrderResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; OptionOrder?: components.OptionOrder$Outbound | undefined; Status?: components.Status$Outbound | undefined; }; /** @internal */ export declare const OptionOrderServiceGetOptionOrderResponse$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 OptionOrderServiceGetOptionOrderResponse$ { /** @deprecated use `OptionOrderServiceGetOptionOrderResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OptionOrderServiceGetOptionOrderResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `OptionOrderServiceGetOptionOrderResponse$Outbound` instead. */ type Outbound = OptionOrderServiceGetOptionOrderResponse$Outbound; } export declare function optionOrderServiceGetOptionOrderResponseToJSON(optionOrderServiceGetOptionOrderResponse: OptionOrderServiceGetOptionOrderResponse): string; export declare function optionOrderServiceGetOptionOrderResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=optionorderservicegetoptionorder.d.ts.map