/** * 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 { CustomFieldEntryPayloadV2 } from './CustomFieldEntryPayloadV2.js'; import type { IncidentTimestampValuePayloadV2 } from './IncidentTimestampValuePayloadV2.js'; import type { IncidentRoleAssignmentPayloadV2 } from './IncidentRoleAssignmentPayloadV2.js'; /** * * @export * @interface IncidentEditPayloadV2 */ export interface IncidentEditPayloadV2 { /** * The call URL attached to this incident */ call_url?: string; /** * Set the incident's custom fields to these values */ custom_field_entries?: Array; /** * Assign incident roles to these people */ incident_role_assignments?: Array; /** * Incident status to move the incident to. Allowed transitions are: * * - Moving between statuses within the same category (e.g. between active statuses) * - Resolving an incident by moving from active/triage to a post-incident or closed status * - Closing an incident from a post-incident status * * When resolving to a post-incident status, the incident enters the post-incident flow and tasks are created. The status must belong to the post-incident flow that applies to this incident based on its severity, incident type, and other properties. If you specify a status from a different post-incident flow, the request will fail with a validation error. * * When resolving directly to closed, any configured post-incident flow is skipped entirely. This requires the 'Close incidents by opting out of post-incident flow' permission on the API key, if your incident lifecycle normally requires you to run a post-incident flow for this incident. * * Note: Once an incident is in the post-incident flow, its status is managed automatically based on task completion. Moving between post-incident statuses via the API is not recommended as the system will recalculate the correct status when tasks are updated. */ incident_status_id?: string; /** * Assign the incident's timestamps to these values */ incident_timestamp_values?: Array; /** * Explanation of the incident */ name?: string; /** * The ID of the current severity of this incident */ severity_id?: string; /** * Override the name of the incident Slack channel */ slack_channel_name_override?: string; /** * Detailed description of the incident */ summary?: string; } /** * Check if a given object implements the IncidentEditPayloadV2 interface. */ export declare function instanceOfIncidentEditPayloadV2(value: object): value is IncidentEditPayloadV2; export declare function IncidentEditPayloadV2FromJSON(json: any): IncidentEditPayloadV2; export declare function IncidentEditPayloadV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentEditPayloadV2; export declare function IncidentEditPayloadV2ToJSON(json: any): IncidentEditPayloadV2; export declare function IncidentEditPayloadV2ToJSONTyped(value?: IncidentEditPayloadV2 | null, ignoreDiscriminator?: boolean): any;