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 OptionOrderServiceCreateOptionOrderRequest = { /** * The account id. */ accountId: string; optionOrderCreate: components.OptionOrderCreate; }; export type OptionOrderServiceCreateOptionOrderResponse = { httpMeta: components.HTTPMetadata; /** * OK */ optionOrder?: components.OptionOrder | undefined; /** * INVALID_ARGUMENT: There was an issue with one or more fields in the request. The message field will contain details about which field failed validation and why. */ status?: components.Status | undefined; }; /** @internal */ export declare const OptionOrderServiceCreateOptionOrderRequest$inboundSchema: z.ZodType; /** @internal */ export type OptionOrderServiceCreateOptionOrderRequest$Outbound = { account_id: string; OptionOrderCreate: components.OptionOrderCreate$Outbound; }; /** @internal */ export declare const OptionOrderServiceCreateOptionOrderRequest$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 OptionOrderServiceCreateOptionOrderRequest$ { /** @deprecated use `OptionOrderServiceCreateOptionOrderRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OptionOrderServiceCreateOptionOrderRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `OptionOrderServiceCreateOptionOrderRequest$Outbound` instead. */ type Outbound = OptionOrderServiceCreateOptionOrderRequest$Outbound; } export declare function optionOrderServiceCreateOptionOrderRequestToJSON(optionOrderServiceCreateOptionOrderRequest: OptionOrderServiceCreateOptionOrderRequest): string; export declare function optionOrderServiceCreateOptionOrderRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const OptionOrderServiceCreateOptionOrderResponse$inboundSchema: z.ZodType; /** @internal */ export type OptionOrderServiceCreateOptionOrderResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; OptionOrder?: components.OptionOrder$Outbound | undefined; Status?: components.Status$Outbound | undefined; }; /** @internal */ export declare const OptionOrderServiceCreateOptionOrderResponse$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 OptionOrderServiceCreateOptionOrderResponse$ { /** @deprecated use `OptionOrderServiceCreateOptionOrderResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OptionOrderServiceCreateOptionOrderResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `OptionOrderServiceCreateOptionOrderResponse$Outbound` instead. */ type Outbound = OptionOrderServiceCreateOptionOrderResponse$Outbound; } export declare function optionOrderServiceCreateOptionOrderResponseToJSON(optionOrderServiceCreateOptionOrderResponse: OptionOrderServiceCreateOptionOrderResponse): string; export declare function optionOrderServiceCreateOptionOrderResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=optionorderservicecreateoptionorder.d.ts.map