/** * incident.io * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { CustomFieldFixedFilterOptionsV2 } from './CustomFieldFixedFilterOptionsV2.js'; import type { CustomFieldFilterByOptionsV2 } from './CustomFieldFilterByOptionsV2.js'; /** * * @export * @interface CustomFieldV2 */ export interface CustomFieldV2 { /** * For catalog fields, the ID of the associated catalog type */ catalog_type_id?: string; /** * When the action was created */ created_at: Date; /** * Description of the custom field */ description: string; /** * Type of custom field */ field_type: CustomFieldV2FieldTypeEnum; /** * */ filter_by?: CustomFieldFilterByOptionsV2; /** * */ fixed_filter?: CustomFieldFixedFilterOptionsV2; /** * For catalog fields, the ID of the attribute used to group catalog entries (if applicable) */ group_by_catalog_attribute_id?: string; /** * Which catalog attribute provides helptext for the options */ helptext_catalog_attribute_id?: string; /** * Unique identifier for the custom field */ id: string; /** * Human readable name for the custom field */ name: string; /** * When the action was last updated */ updated_at: Date; } /** * @export */ export declare const CustomFieldV2FieldTypeEnum: { readonly SingleSelect: "single_select"; readonly MultiSelect: "multi_select"; readonly Text: "text"; readonly Link: "link"; readonly Numeric: "numeric"; }; export type CustomFieldV2FieldTypeEnum = typeof CustomFieldV2FieldTypeEnum[keyof typeof CustomFieldV2FieldTypeEnum]; /** * Check if a given object implements the CustomFieldV2 interface. */ export declare function instanceOfCustomFieldV2(value: object): value is CustomFieldV2; export declare function CustomFieldV2FromJSON(json: any): CustomFieldV2; export declare function CustomFieldV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomFieldV2; export declare function CustomFieldV2ToJSON(json: any): CustomFieldV2; export declare function CustomFieldV2ToJSONTyped(value?: CustomFieldV2 | null, ignoreDiscriminator?: boolean): any;