/** * 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 { CustomFieldEntryPayloadV1 } from './CustomFieldEntryPayloadV1.js'; import type { IncidentRoleAssignmentPayloadV1 } from './IncidentRoleAssignmentPayloadV1.js'; /** * * @export * @interface IncidentsCreatePayloadV1 */ export interface IncidentsCreatePayloadV1 { /** * Set the incident's custom fields to these values */ custom_field_entries?: Array; /** * Unique string used to de-duplicate incident create requests */ idempotency_key: string; /** * Assign incident roles to these people */ incident_role_assignments?: Array; /** * Incident type to create this incident as */ incident_type_id?: string; /** * Whether the incident is real or test */ mode?: IncidentsCreatePayloadV1ModeEnum; /** * Explanation of the incident */ name?: string; /** * Severity to create incident as */ severity_id?: string; /** * ID of the Slack team / workspace. This is only required if you are using a Slack Enterprise Grid with multiple teams. */ slack_team_id?: string; /** * Channel ID of the source message, if this incident was created from one */ source_message_channel_id?: string; /** * Timestamp of the source message, if this incident was created from one */ source_message_timestamp?: string; /** * Current status of the incident */ status?: IncidentsCreatePayloadV1StatusEnum; /** * 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: IncidentsCreatePayloadV1VisibilityEnum; } /** * @export */ export declare const IncidentsCreatePayloadV1ModeEnum: { readonly Real: "real"; readonly Test: "test"; }; export type IncidentsCreatePayloadV1ModeEnum = typeof IncidentsCreatePayloadV1ModeEnum[keyof typeof IncidentsCreatePayloadV1ModeEnum]; /** * @export */ export declare const IncidentsCreatePayloadV1StatusEnum: { readonly Triage: "triage"; readonly Investigating: "investigating"; readonly Fixing: "fixing"; readonly Monitoring: "monitoring"; readonly Closed: "closed"; readonly Declined: "declined"; }; export type IncidentsCreatePayloadV1StatusEnum = typeof IncidentsCreatePayloadV1StatusEnum[keyof typeof IncidentsCreatePayloadV1StatusEnum]; /** * @export */ export declare const IncidentsCreatePayloadV1VisibilityEnum: { readonly Public: "public"; readonly Private: "private"; }; export type IncidentsCreatePayloadV1VisibilityEnum = typeof IncidentsCreatePayloadV1VisibilityEnum[keyof typeof IncidentsCreatePayloadV1VisibilityEnum]; /** * Check if a given object implements the IncidentsCreatePayloadV1 interface. */ export declare function instanceOfIncidentsCreatePayloadV1(value: object): value is IncidentsCreatePayloadV1; export declare function IncidentsCreatePayloadV1FromJSON(json: any): IncidentsCreatePayloadV1; export declare function IncidentsCreatePayloadV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentsCreatePayloadV1; export declare function IncidentsCreatePayloadV1ToJSON(json: any): IncidentsCreatePayloadV1; export declare function IncidentsCreatePayloadV1ToJSONTyped(value?: IncidentsCreatePayloadV1 | null, ignoreDiscriminator?: boolean): any;