import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { SortDirection } from "./sortdirection.js"; /** * The field on which to sort the Orders */ export declare const OrdersSortBy: { readonly CreatedAt: "created_at"; readonly UpdatedAt: "updated_at"; readonly Name: "name"; }; /** * The field on which to sort the Orders */ export type OrdersSortBy = ClosedEnum; export type OrdersSort = { /** * The field on which to sort the Orders */ by?: OrdersSortBy | undefined; /** * The direction in which to sort the results */ direction?: SortDirection | undefined; }; /** @internal */ export declare const OrdersSortBy$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const OrdersSortBy$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace OrdersSortBy$ { /** @deprecated use `OrdersSortBy$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly CreatedAt: "created_at"; readonly UpdatedAt: "updated_at"; readonly Name: "name"; }>; /** @deprecated use `OrdersSortBy$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly CreatedAt: "created_at"; readonly UpdatedAt: "updated_at"; readonly Name: "name"; }>; } /** @internal */ export declare const OrdersSort$inboundSchema: z.ZodType; /** @internal */ export type OrdersSort$Outbound = { by?: string | undefined; direction: string; }; /** @internal */ export declare const OrdersSort$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 OrdersSort$ { /** @deprecated use `OrdersSort$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OrdersSort$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `OrdersSort$Outbound` instead. */ type Outbound = OrdersSort$Outbound; } export declare function ordersSortToJSON(ordersSort: OrdersSort): string; export declare function ordersSortFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=orderssort.d.ts.map