import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CustomFieldDateProperties, CustomFieldDateProperties$Outbound } from "./customfielddateproperties.js"; import { MetadataOutputType, MetadataOutputType$Outbound } from "./metadataoutputtype.js"; /** * Schema for a custom field of type date. */ export type CustomFieldDate = { /** * Creation timestamp of the object. */ createdAt: Date; /** * Last modification timestamp of the object. */ modifiedAt: Date | null; /** * The ID of the object. */ id: string; metadata: { [k: string]: MetadataOutputType; }; type: "date"; /** * Identifier of the custom field. It'll be used as key when storing the value. */ slug: string; /** * Name of the custom field. */ name: string; /** * The ID of the organization owning the custom field. */ organizationId: string; properties: CustomFieldDateProperties; }; /** @internal */ export declare const CustomFieldDate$inboundSchema: z.ZodMiniType; /** @internal */ export type CustomFieldDate$Outbound = { created_at: string; modified_at: string | null; id: string; metadata: { [k: string]: MetadataOutputType$Outbound; }; type: "date"; slug: string; name: string; organization_id: string; properties: CustomFieldDateProperties$Outbound; }; /** @internal */ export declare const CustomFieldDate$outboundSchema: z.ZodMiniType; export declare function customFieldDateToJSON(customFieldDate: CustomFieldDate): string; export declare function customFieldDateFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=customfielddate.d.ts.map