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 AlternativeOrdersGetAlternativeOrderRequest = { /** * The account id. */ accountId: string; /** * The alternativeOrder id. */ alternativeOrderId: string; }; export type AlternativeOrdersGetAlternativeOrderResponse = { httpMeta: components.HTTPMetadata; /** * OK */ alternativeOrder?: components.AlternativeOrder | undefined; /** * INVALID_ARGUMENT: The request has an invalid argument. */ status?: components.Status | undefined; }; /** @internal */ export declare const AlternativeOrdersGetAlternativeOrderRequest$inboundSchema: z.ZodType; /** @internal */ export type AlternativeOrdersGetAlternativeOrderRequest$Outbound = { account_id: string; alternativeOrder_id: string; }; /** @internal */ export declare const AlternativeOrdersGetAlternativeOrderRequest$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 AlternativeOrdersGetAlternativeOrderRequest$ { /** @deprecated use `AlternativeOrdersGetAlternativeOrderRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AlternativeOrdersGetAlternativeOrderRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AlternativeOrdersGetAlternativeOrderRequest$Outbound` instead. */ type Outbound = AlternativeOrdersGetAlternativeOrderRequest$Outbound; } export declare function alternativeOrdersGetAlternativeOrderRequestToJSON(alternativeOrdersGetAlternativeOrderRequest: AlternativeOrdersGetAlternativeOrderRequest): string; export declare function alternativeOrdersGetAlternativeOrderRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AlternativeOrdersGetAlternativeOrderResponse$inboundSchema: z.ZodType; /** @internal */ export type AlternativeOrdersGetAlternativeOrderResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; AlternativeOrder?: components.AlternativeOrder$Outbound | undefined; Status?: components.Status$Outbound | undefined; }; /** @internal */ export declare const AlternativeOrdersGetAlternativeOrderResponse$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 AlternativeOrdersGetAlternativeOrderResponse$ { /** @deprecated use `AlternativeOrdersGetAlternativeOrderResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AlternativeOrdersGetAlternativeOrderResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AlternativeOrdersGetAlternativeOrderResponse$Outbound` instead. */ type Outbound = AlternativeOrdersGetAlternativeOrderResponse$Outbound; } export declare function alternativeOrdersGetAlternativeOrderResponseToJSON(alternativeOrdersGetAlternativeOrderResponse: AlternativeOrdersGetAlternativeOrderResponse): string; export declare function alternativeOrdersGetAlternativeOrderResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=alternativeordersgetalternativeorder.d.ts.map