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 OrderServiceGetOrderRequest = { /** * The account id. */ accountId: string; /** * The order id. */ orderId: string; }; export type OrderServiceGetOrderResponse = { httpMeta: components.HTTPMetadata; /** * OK */ order?: components.Order | undefined; /** * INVALID_ARGUMENT: The account_id or the order_id could not be determined for the request. */ status?: components.Status | undefined; }; /** @internal */ export declare const OrderServiceGetOrderRequest$inboundSchema: z.ZodType; /** @internal */ export type OrderServiceGetOrderRequest$Outbound = { account_id: string; order_id: string; }; /** @internal */ export declare const OrderServiceGetOrderRequest$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 OrderServiceGetOrderRequest$ { /** @deprecated use `OrderServiceGetOrderRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OrderServiceGetOrderRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `OrderServiceGetOrderRequest$Outbound` instead. */ type Outbound = OrderServiceGetOrderRequest$Outbound; } export declare function orderServiceGetOrderRequestToJSON(orderServiceGetOrderRequest: OrderServiceGetOrderRequest): string; export declare function orderServiceGetOrderRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const OrderServiceGetOrderResponse$inboundSchema: z.ZodType; /** @internal */ export type OrderServiceGetOrderResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; Order?: components.Order$Outbound | undefined; Status?: components.Status$Outbound | undefined; }; /** @internal */ export declare const OrderServiceGetOrderResponse$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 OrderServiceGetOrderResponse$ { /** @deprecated use `OrderServiceGetOrderResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OrderServiceGetOrderResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `OrderServiceGetOrderResponse$Outbound` instead. */ type Outbound = OrderServiceGetOrderResponse$Outbound; } export declare function orderServiceGetOrderResponseToJSON(orderServiceGetOrderResponse: OrderServiceGetOrderResponse): string; export declare function orderServiceGetOrderResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=orderservicegetorder.d.ts.map