/** * 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 { ActorV2 } from './ActorV2.js'; /** * An item on an incident's curated timeline. * * The timeline is the narrative of an incident, as opposed to the activity log, which records * everything that happened. Some of that activity - a pinned message, an escalation, an event a * workflow added - is promoted onto the timeline, and those items carry the ID of the activity * log entry they came from. The rest are custom, written by hand in the dashboard or through * the API, and have no activity_log_id. * @export * @interface IncidentTimelineItemV2 */ export interface IncidentTimelineItemV2 { /** * ID of the activity log entry this item was promoted from. Null for items written by hand, which are the items whose timestamp can be changed. */ activity_log_id?: string; /** * When this item was added to the timeline */ created_at: Date; /** * */ creator: ActorV2; /** * Description of the timeline item, in markdown. Absent when the item has no description. */ description?: string; /** * Unique identifier of the timeline item */ id: string; /** * ID of the incident this item belongs to. When the incident has streams, listing the parent also returns items belonging to its streams, and this is the stream's ID for those. */ incident_id: string; /** * When the thing this item describes happened. This is what the timeline is ordered by, and is not the same as created_at. */ timestamp: Date; /** * Title of the timeline item */ title: string; /** * When this item was last edited */ updated_at: Date; } /** * Check if a given object implements the IncidentTimelineItemV2 interface. */ export declare function instanceOfIncidentTimelineItemV2(value: object): value is IncidentTimelineItemV2; export declare function IncidentTimelineItemV2FromJSON(json: any): IncidentTimelineItemV2; export declare function IncidentTimelineItemV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentTimelineItemV2; export declare function IncidentTimelineItemV2ToJSON(json: any): IncidentTimelineItemV2; export declare function IncidentTimelineItemV2ToJSONTyped(value?: IncidentTimelineItemV2 | null, ignoreDiscriminator?: boolean): any;