/** * 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 { UserV1 } from './UserV1.js'; /** * * @export * @interface PostmortemDocumentV1 */ export interface PostmortemDocumentV1 { /** * Timestamp for when the document was created */ created_at: Date; /** * A URL to view the post-mortem document in the incident.io dashboard */ document_url: string; /** * The list of users who have edited this post-mortem document */ editors: Array; /** * URLs of any external locations this document has been exported to */ exported_urls: Array; /** * Unique identifier for the post-mortem document */ id: string; /** * The unique identifier of the incident that this post-mortem document belongs to */ incident_id: string; /** * The current status of this post-mortem document */ status: PostmortemDocumentV1StatusEnum; /** * The display title of the post-mortem document */ title: string; /** * Whether this is a native incident.io post-mortem or one hosted in an external provider */ type: PostmortemDocumentV1TypeEnum; /** * Timestamp for when the document was last updated */ updated_at: string; } /** * @export */ export declare const PostmortemDocumentV1StatusEnum: { readonly InProgress: "in_progress"; readonly InReview: "in_review"; readonly Completed: "completed"; }; export type PostmortemDocumentV1StatusEnum = typeof PostmortemDocumentV1StatusEnum[keyof typeof PostmortemDocumentV1StatusEnum]; /** * @export */ export declare const PostmortemDocumentV1TypeEnum: { readonly InApp: "in_app"; readonly External: "external"; }; export type PostmortemDocumentV1TypeEnum = typeof PostmortemDocumentV1TypeEnum[keyof typeof PostmortemDocumentV1TypeEnum]; /** * Check if a given object implements the PostmortemDocumentV1 interface. */ export declare function instanceOfPostmortemDocumentV1(value: object): value is PostmortemDocumentV1; export declare function PostmortemDocumentV1FromJSON(json: any): PostmortemDocumentV1; export declare function PostmortemDocumentV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): PostmortemDocumentV1; export declare function PostmortemDocumentV1ToJSON(json: any): PostmortemDocumentV1; export declare function PostmortemDocumentV1ToJSONTyped(value?: PostmortemDocumentV1 | null, ignoreDiscriminator?: boolean): any;