import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type CustomFieldValue25 = string | number | boolean | { [k: string]: any; }; export type CustomFieldValue = string | number | boolean | { [k: string]: any; } | Array; export type CustomField2 = { /** * Unique identifier for the custom field. */ id?: string | null | undefined; /** * Name of the custom field. */ name: string | null; /** * Display name of the record a reference-type custom field points at. `value` carries that record's id; this carries its human-readable name, so a consumer does not need a second lookup to render it. */ refName?: string | null | undefined; /** * More information about the custom field */ description?: string | null | undefined; value?: string | number | boolean | { [k: string]: any; } | Array | null | undefined; }; export type CustomFieldValue5 = string | number | boolean | { [k: string]: any; }; export type CustomField1Value = string | number | boolean | { [k: string]: any; } | Array; export type CustomField1 = { /** * Unique identifier for the custom field. */ id: string | null; /** * Name of the custom field. */ name?: string | null | undefined; /** * Display name of the record a reference-type custom field points at. `value` carries that record's id; this carries its human-readable name, so a consumer does not need a second lookup to render it. */ refName?: string | null | undefined; /** * More information about the custom field */ description?: string | null | undefined; value?: string | number | boolean | { [k: string]: any; } | Array | null | undefined; }; export type CustomField = CustomField1 | CustomField2; /** @internal */ export declare const CustomFieldValue25$inboundSchema: z.ZodType; /** @internal */ export type CustomFieldValue25$Outbound = string | number | boolean | { [k: string]: any; }; /** @internal */ export declare const CustomFieldValue25$outboundSchema: z.ZodType; export declare function customFieldValue25ToJSON(customFieldValue25: CustomFieldValue25): string; export declare function customFieldValue25FromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CustomFieldValue$inboundSchema: z.ZodType; /** @internal */ export type CustomFieldValue$Outbound = string | number | boolean | { [k: string]: any; } | Array; /** @internal */ export declare const CustomFieldValue$outboundSchema: z.ZodType; export declare function customFieldValueToJSON(customFieldValue: CustomFieldValue): string; export declare function customFieldValueFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CustomField2$inboundSchema: z.ZodType; /** @internal */ export type CustomField2$Outbound = { id?: string | null | undefined; name: string | null; ref_name?: string | null | undefined; description?: string | null | undefined; value?: string | number | boolean | { [k: string]: any; } | Array | null | undefined; }; /** @internal */ export declare const CustomField2$outboundSchema: z.ZodType; export declare function customField2ToJSON(customField2: CustomField2): string; export declare function customField2FromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CustomFieldValue5$inboundSchema: z.ZodType; /** @internal */ export type CustomFieldValue5$Outbound = string | number | boolean | { [k: string]: any; }; /** @internal */ export declare const CustomFieldValue5$outboundSchema: z.ZodType; export declare function customFieldValue5ToJSON(customFieldValue5: CustomFieldValue5): string; export declare function customFieldValue5FromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CustomField1Value$inboundSchema: z.ZodType; /** @internal */ export type CustomField1Value$Outbound = string | number | boolean | { [k: string]: any; } | Array; /** @internal */ export declare const CustomField1Value$outboundSchema: z.ZodType; export declare function customField1ValueToJSON(customField1Value: CustomField1Value): string; export declare function customField1ValueFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CustomField1$inboundSchema: z.ZodType; /** @internal */ export type CustomField1$Outbound = { id: string | null; name?: string | null | undefined; ref_name?: string | null | undefined; description?: string | null | undefined; value?: string | number | boolean | { [k: string]: any; } | Array | null | undefined; }; /** @internal */ export declare const CustomField1$outboundSchema: z.ZodType; export declare function customField1ToJSON(customField1: CustomField1): string; export declare function customField1FromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CustomField$inboundSchema: z.ZodType; /** @internal */ export type CustomField$Outbound = CustomField1$Outbound | CustomField2$Outbound; /** @internal */ export declare const CustomField$outboundSchema: z.ZodType; export declare function customFieldToJSON(customField: CustomField): string; export declare function customFieldFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=customfield.d.ts.map