import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CustomFieldTextProperties, CustomFieldTextProperties$Outbound } from "./customfieldtextproperties.js"; import { MetadataOutputType, MetadataOutputType$Outbound } from "./metadataoutputtype.js"; /** * Schema for a custom field of type text. */ export type CustomFieldText = { /** * 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: "text"; /** * 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: CustomFieldTextProperties; }; /** @internal */ export declare const CustomFieldText$inboundSchema: z.ZodMiniType; /** @internal */ export type CustomFieldText$Outbound = { created_at: string; modified_at: string | null; id: string; metadata: { [k: string]: MetadataOutputType$Outbound; }; type: "text"; slug: string; name: string; organization_id: string; properties: CustomFieldTextProperties$Outbound; }; /** @internal */ export declare const CustomFieldText$outboundSchema: z.ZodMiniType; export declare function customFieldTextToJSON(customFieldText: CustomFieldText): string; export declare function customFieldTextFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=customfieldtext.d.ts.map