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 Contacts */ export declare const ContactsSortBy: { readonly CreatedAt: "created_at"; readonly UpdatedAt: "updated_at"; readonly Name: "name"; readonly FirstName: "first_name"; readonly LastName: "last_name"; readonly Email: "email"; }; /** * The field on which to sort the Contacts */ export type ContactsSortBy = ClosedEnum; export type ContactsSort = { /** * The field on which to sort the Contacts */ by?: ContactsSortBy | undefined; /** * The direction in which to sort the results */ direction?: SortDirection | undefined; }; /** @internal */ export declare const ContactsSortBy$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ContactsSortBy$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 ContactsSortBy$ { /** @deprecated use `ContactsSortBy$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly CreatedAt: "created_at"; readonly UpdatedAt: "updated_at"; readonly Name: "name"; readonly FirstName: "first_name"; readonly LastName: "last_name"; readonly Email: "email"; }>; /** @deprecated use `ContactsSortBy$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly CreatedAt: "created_at"; readonly UpdatedAt: "updated_at"; readonly Name: "name"; readonly FirstName: "first_name"; readonly LastName: "last_name"; readonly Email: "email"; }>; } /** @internal */ export declare const ContactsSort$inboundSchema: z.ZodType; /** @internal */ export type ContactsSort$Outbound = { by?: string | undefined; direction: string; }; /** @internal */ export declare const ContactsSort$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 ContactsSort$ { /** @deprecated use `ContactsSort$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ContactsSort$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ContactsSort$Outbound` instead. */ type Outbound = ContactsSort$Outbound; } export declare function contactsSortToJSON(contactsSort: ContactsSort): string; export declare function contactsSortFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=contactssort.d.ts.map