import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; /** * Type of custom field */ export declare const CustomFieldV2FieldType: { readonly SingleSelect: "single_select"; readonly MultiSelect: "multi_select"; readonly Text: "text"; readonly Link: "link"; readonly Numeric: "numeric"; }; /** * Type of custom field */ export type CustomFieldV2FieldType = ClosedEnum; export type CustomFieldV2 = { /** * For catalog fields, the ID of the associated catalog type */ catalogTypeId?: string | undefined; /** * When the action was created */ createdAt: Date; /** * Description of the custom field */ description: string; /** * Type of custom field */ fieldType: CustomFieldV2FieldType; /** * Unique identifier for the custom field */ id: string; /** * Human readable name for the custom field */ name: string; /** * When the action was last updated */ updatedAt: Date; }; /** @internal */ export declare const CustomFieldV2FieldType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const CustomFieldV2FieldType$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 CustomFieldV2FieldType$ { /** @deprecated use `CustomFieldV2FieldType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly SingleSelect: "single_select"; readonly MultiSelect: "multi_select"; readonly Text: "text"; readonly Link: "link"; readonly Numeric: "numeric"; }>; /** @deprecated use `CustomFieldV2FieldType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly SingleSelect: "single_select"; readonly MultiSelect: "multi_select"; readonly Text: "text"; readonly Link: "link"; readonly Numeric: "numeric"; }>; } /** @internal */ export declare const CustomFieldV2$inboundSchema: z.ZodType; /** @internal */ export type CustomFieldV2$Outbound = { catalog_type_id?: string | undefined; created_at: string; description: string; field_type: string; id: string; name: string; updated_at: string; }; /** @internal */ export declare const CustomFieldV2$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 CustomFieldV2$ { /** @deprecated use `CustomFieldV2$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CustomFieldV2$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CustomFieldV2$Outbound` instead. */ type Outbound = CustomFieldV2$Outbound; } //# sourceMappingURL=customfieldv2.d.ts.map