/** * 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. */ /** * Incident slim is a subset of the full incident object, listing key fields. * @export * @interface IncidentSlimV2 */ export interface IncidentSlimV2 { /** * External identifier for the incident - often displayed with an INC- prefix */ external_id: number; /** * Unique identifier for the incident */ id: string; /** * Explanation of the incident */ name: string; /** * Reference to this incident, as displayed across the product */ reference: string; /** * The category of the incidents status */ status_category: IncidentSlimV2StatusCategoryEnum; /** * Detailed description of the incident */ summary?: string; /** * Whether the incident should be open to anyone in your Slack workspace (public), or invite-only (private). For more information on Private Incidents see our [docs](https://docs.incident.io/incidents/sensitive-incidents). */ visibility: IncidentSlimV2VisibilityEnum; } /** * @export */ export declare const IncidentSlimV2StatusCategoryEnum: { readonly Triage: "triage"; readonly Declined: "declined"; readonly Merged: "merged"; readonly Canceled: "canceled"; readonly Active: "active"; readonly PostIncident: "post-incident"; readonly Closed: "closed"; readonly Paused: "paused"; }; export type IncidentSlimV2StatusCategoryEnum = typeof IncidentSlimV2StatusCategoryEnum[keyof typeof IncidentSlimV2StatusCategoryEnum]; /** * @export */ export declare const IncidentSlimV2VisibilityEnum: { readonly Public: "public"; readonly Private: "private"; }; export type IncidentSlimV2VisibilityEnum = typeof IncidentSlimV2VisibilityEnum[keyof typeof IncidentSlimV2VisibilityEnum]; /** * Check if a given object implements the IncidentSlimV2 interface. */ export declare function instanceOfIncidentSlimV2(value: object): value is IncidentSlimV2; export declare function IncidentSlimV2FromJSON(json: any): IncidentSlimV2; export declare function IncidentSlimV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentSlimV2; export declare function IncidentSlimV2ToJSON(json: any): IncidentSlimV2; export declare function IncidentSlimV2ToJSONTyped(value?: IncidentSlimV2 | null, ignoreDiscriminator?: boolean): any;