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