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