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 OrderPriceServicePreviewOrderCostRequest = { /** * The account id. */ accountId: string; orderCostPreviewRequestCreate: components.OrderCostPreviewRequestCreate; }; export type OrderPriceServicePreviewOrderCostResponse = { httpMeta: components.HTTPMetadata; /** * OK */ orderCostPreviewResponse?: components.OrderCostPreviewResponse | 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 OrderPriceServicePreviewOrderCostRequest$inboundSchema: z.ZodType; /** @internal */ export type OrderPriceServicePreviewOrderCostRequest$Outbound = { account_id: string; OrderCostPreviewRequestCreate: components.OrderCostPreviewRequestCreate$Outbound; }; /** @internal */ export declare const OrderPriceServicePreviewOrderCostRequest$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 OrderPriceServicePreviewOrderCostRequest$ { /** @deprecated use `OrderPriceServicePreviewOrderCostRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OrderPriceServicePreviewOrderCostRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `OrderPriceServicePreviewOrderCostRequest$Outbound` instead. */ type Outbound = OrderPriceServicePreviewOrderCostRequest$Outbound; } export declare function orderPriceServicePreviewOrderCostRequestToJSON(orderPriceServicePreviewOrderCostRequest: OrderPriceServicePreviewOrderCostRequest): string; export declare function orderPriceServicePreviewOrderCostRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const OrderPriceServicePreviewOrderCostResponse$inboundSchema: z.ZodType; /** @internal */ export type OrderPriceServicePreviewOrderCostResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; OrderCostPreviewResponse?: components.OrderCostPreviewResponse$Outbound | undefined; Status?: components.Status$Outbound | undefined; }; /** @internal */ export declare const OrderPriceServicePreviewOrderCostResponse$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 OrderPriceServicePreviewOrderCostResponse$ { /** @deprecated use `OrderPriceServicePreviewOrderCostResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OrderPriceServicePreviewOrderCostResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `OrderPriceServicePreviewOrderCostResponse$Outbound` instead. */ type Outbound = OrderPriceServicePreviewOrderCostResponse$Outbound; } export declare function orderPriceServicePreviewOrderCostResponseToJSON(orderPriceServicePreviewOrderCostResponse: OrderPriceServicePreviewOrderCostResponse): string; export declare function orderPriceServicePreviewOrderCostResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=orderpriceservicepreviewordercost.d.ts.map