/** * 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 { IncidentFormLifecycleElementConfigV3 } from './IncidentFormLifecycleElementConfigV3.js'; import type { ConditionGroupV3 } from './ConditionGroupV3.js'; import type { EngineParamBindingV3 } from './EngineParamBindingV3.js'; /** * * @export * @interface IncidentFormLifecycleElementV3 */ export interface IncidentFormLifecycleElementV3 { /** * Whether the user can explicitly choose no value. Only meaningful for custom field elements. */ can_select_no_value?: boolean; /** * */ config?: IncidentFormLifecycleElementConfigV3; /** * The custom field this element edits. Set only when element_type is custom_field. */ custom_field_id?: string; /** * */ default_value?: EngineParamBindingV3; /** * Description shown beside this element, as markdown */ description?: string; /** * What this element captures */ element_type: IncidentFormLifecycleElementV3ElementTypeEnum; /** * Unique identifier for this element. divider and text elements are matched on this, because they have no natural key. */ id?: string; /** * The incident role this element assigns. Set only when element_type is incident_role. */ incident_role_id?: string; /** * The incident timestamp this element sets. Set only when element_type is timestamp. */ incident_timestamp_id?: string; /** * Placeholder text shown in the empty field */ placeholder?: string; /** * When this element must be filled in */ required_if?: IncidentFormLifecycleElementV3RequiredIfEnum; /** * Condition groups that make this element required. Used when required_if is check_engine_config. */ required_if_condition_groups?: Array; /** * The element is shown when any of these condition groups match. Unset means it is always shown. */ show_if_condition_groups?: Array; } /** * @export */ export declare const IncidentFormLifecycleElementV3ElementTypeEnum: { readonly Name: "name"; readonly Status: "status"; readonly Severity: "severity"; readonly IncidentRole: "incident_role"; readonly IncidentType: "incident_type"; readonly Summary: "summary"; readonly CustomField: "custom_field"; readonly Timestamp: "timestamp"; readonly UpdateMessage: "update_message"; readonly NextUpdateIn: "next_update_in"; readonly Triage: "triage"; readonly Visibility: "visibility"; readonly Divider: "divider"; readonly Text: "text"; readonly IncidentAttachments: "incident_attachments"; readonly SlackChannel: "slack_channel"; readonly AnnounceRetroIncident: "announce_retro_incident"; readonly EnterPostIncidentFlow: "enter_post_incident_flow"; readonly InvestigationFeedback: "investigation_feedback"; }; export type IncidentFormLifecycleElementV3ElementTypeEnum = typeof IncidentFormLifecycleElementV3ElementTypeEnum[keyof typeof IncidentFormLifecycleElementV3ElementTypeEnum]; /** * @export */ export declare const IncidentFormLifecycleElementV3RequiredIfEnum: { readonly CheckEngineConfig: "check_engine_config"; readonly AlwaysRequire: "always_require"; readonly NeverRequire: "never_require"; }; export type IncidentFormLifecycleElementV3RequiredIfEnum = typeof IncidentFormLifecycleElementV3RequiredIfEnum[keyof typeof IncidentFormLifecycleElementV3RequiredIfEnum]; /** * Check if a given object implements the IncidentFormLifecycleElementV3 interface. */ export declare function instanceOfIncidentFormLifecycleElementV3(value: object): value is IncidentFormLifecycleElementV3; export declare function IncidentFormLifecycleElementV3FromJSON(json: any): IncidentFormLifecycleElementV3; export declare function IncidentFormLifecycleElementV3FromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentFormLifecycleElementV3; export declare function IncidentFormLifecycleElementV3ToJSON(json: any): IncidentFormLifecycleElementV3; export declare function IncidentFormLifecycleElementV3ToJSONTyped(value?: IncidentFormLifecycleElementV3 | null, ignoreDiscriminator?: boolean): any;