/** * 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 CustomFieldsCreatePayloadV2 */ export interface CustomFieldsCreatePayloadV2 { /** * For catalog fields, the ID of the associated catalog type */ catalog_type_id?: string; /** * Description of the custom field */ description: string; /** * Type of custom field */ field_type: CustomFieldsCreatePayloadV2FieldTypeEnum; /** * */ 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; /** * Human readable name for the custom field */ name: string; } /** * @export */ export declare const CustomFieldsCreatePayloadV2FieldTypeEnum: { readonly SingleSelect: "single_select"; readonly MultiSelect: "multi_select"; readonly Text: "text"; readonly Link: "link"; readonly Numeric: "numeric"; }; export type CustomFieldsCreatePayloadV2FieldTypeEnum = typeof CustomFieldsCreatePayloadV2FieldTypeEnum[keyof typeof CustomFieldsCreatePayloadV2FieldTypeEnum]; /** * Check if a given object implements the CustomFieldsCreatePayloadV2 interface. */ export declare function instanceOfCustomFieldsCreatePayloadV2(value: object): value is CustomFieldsCreatePayloadV2; export declare function CustomFieldsCreatePayloadV2FromJSON(json: any): CustomFieldsCreatePayloadV2; export declare function CustomFieldsCreatePayloadV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomFieldsCreatePayloadV2; export declare function CustomFieldsCreatePayloadV2ToJSON(json: any): CustomFieldsCreatePayloadV2; export declare function CustomFieldsCreatePayloadV2ToJSONTyped(value?: CustomFieldsCreatePayloadV2 | null, ignoreDiscriminator?: boolean): any;