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 Suppliers */ export declare const SuppliersSortBy: { readonly CreatedAt: "created_at"; readonly UpdatedAt: "updated_at"; }; /** * The field on which to sort the Suppliers */ export type SuppliersSortBy = ClosedEnum; export type SuppliersSort = { /** * The field on which to sort the Suppliers */ by?: SuppliersSortBy | undefined; /** * The direction in which to sort the results */ direction?: SortDirection | undefined; }; /** @internal */ export declare const SuppliersSortBy$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const SuppliersSortBy$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 SuppliersSortBy$ { /** @deprecated use `SuppliersSortBy$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly CreatedAt: "created_at"; readonly UpdatedAt: "updated_at"; }>; /** @deprecated use `SuppliersSortBy$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly CreatedAt: "created_at"; readonly UpdatedAt: "updated_at"; }>; } /** @internal */ export declare const SuppliersSort$inboundSchema: z.ZodType; /** @internal */ export type SuppliersSort$Outbound = { by?: string | undefined; direction: string; }; /** @internal */ export declare const SuppliersSort$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 SuppliersSort$ { /** @deprecated use `SuppliersSort$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `SuppliersSort$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `SuppliersSort$Outbound` instead. */ type Outbound = SuppliersSort$Outbound; } export declare function suppliersSortToJSON(suppliersSort: SuppliersSort): string; export declare function suppliersSortFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=supplierssort.d.ts.map