/** * 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'; import type { RetrospectiveIncidentOptionsV2 } from './RetrospectiveIncidentOptionsV2.js'; /** * * @export * @interface IncidentsCreatePayloadV2 */ export interface IncidentsCreatePayloadV2 { /** * 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 status to assign to the incident */ incident_status_id?: string; /** * Assign the incident's timestamps to these values */ incident_timestamp_values?: Array; /** * Incident type to create this incident as */ incident_type_id?: string; /** * Whether the incident is real, a test, a tutorial, or importing as a retrospective incident */ mode?: IncidentsCreatePayloadV2ModeEnum; /** * Explanation of the incident */ name?: string; /** * */ retrospective_incident_options?: RetrospectiveIncidentOptionsV2; /** * Severity to create incident as */ severity_id?: string; /** * Name of the Slack channel to create for this incident */ slack_channel_name_override?: string; /** * Slack Team to create the incident in */ slack_team_id?: string; /** * 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: IncidentsCreatePayloadV2VisibilityEnum; } /** * @export */ export declare const IncidentsCreatePayloadV2ModeEnum: { readonly Standard: "standard"; readonly Retrospective: "retrospective"; readonly Test: "test"; readonly Tutorial: "tutorial"; }; export type IncidentsCreatePayloadV2ModeEnum = typeof IncidentsCreatePayloadV2ModeEnum[keyof typeof IncidentsCreatePayloadV2ModeEnum]; /** * @export */ export declare const IncidentsCreatePayloadV2VisibilityEnum: { readonly Public: "public"; readonly Private: "private"; }; export type IncidentsCreatePayloadV2VisibilityEnum = typeof IncidentsCreatePayloadV2VisibilityEnum[keyof typeof IncidentsCreatePayloadV2VisibilityEnum]; /** * Check if a given object implements the IncidentsCreatePayloadV2 interface. */ export declare function instanceOfIncidentsCreatePayloadV2(value: object): value is IncidentsCreatePayloadV2; export declare function IncidentsCreatePayloadV2FromJSON(json: any): IncidentsCreatePayloadV2; export declare function IncidentsCreatePayloadV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentsCreatePayloadV2; export declare function IncidentsCreatePayloadV2ToJSON(json: any): IncidentsCreatePayloadV2; export declare function IncidentsCreatePayloadV2ToJSONTyped(value?: IncidentsCreatePayloadV2 | null, ignoreDiscriminator?: boolean): any;