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