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