/** * 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 { WebhookPrivateResourceV2 } from './WebhookPrivateResourceV2.js'; /** * * @export * @interface WebhooksPrivateAlertCreatedV1ResponseBody */ export interface WebhooksPrivateAlertCreatedV1ResponseBody { /** * What type of event is this webhook for? */ event_type: WebhooksPrivateAlertCreatedV1ResponseBodyEventTypeEnum; /** * */ private_alert_alert_created_v1: WebhookPrivateResourceV2; } /** * @export */ export declare const WebhooksPrivateAlertCreatedV1ResponseBodyEventTypeEnum: { readonly PublicIncidentIncidentCreatedV2: "public_incident.incident_created_v2"; readonly PrivateIncidentIncidentCreatedV2: "private_incident.incident_created_v2"; readonly PublicIncidentIncidentUpdatedV2: "public_incident.incident_updated_v2"; readonly PrivateIncidentIncidentUpdatedV2: "private_incident.incident_updated_v2"; readonly PublicIncidentIncidentStatusUpdatedV2: "public_incident.incident_status_updated_v2"; readonly PublicIncidentFollowUpCreatedV1: "public_incident.follow_up_created_v1"; readonly PrivateIncidentFollowUpCreatedV1: "private_incident.follow_up_created_v1"; readonly PublicIncidentFollowUpUpdatedV1: "public_incident.follow_up_updated_v1"; readonly PrivateIncidentFollowUpUpdatedV1: "private_incident.follow_up_updated_v1"; readonly PublicIncidentFollowUpCreatedV2: "public_incident.follow_up_created_v2"; readonly PrivateIncidentFollowUpCreatedV2: "private_incident.follow_up_created_v2"; readonly PublicIncidentFollowUpUpdatedV2: "public_incident.follow_up_updated_v2"; readonly PrivateIncidentFollowUpUpdatedV2: "private_incident.follow_up_updated_v2"; readonly PublicIncidentActionCreatedV1: "public_incident.action_created_v1"; readonly PrivateIncidentActionCreatedV1: "private_incident.action_created_v1"; readonly PublicIncidentActionUpdatedV1: "public_incident.action_updated_v1"; readonly PrivateIncidentActionUpdatedV1: "private_incident.action_updated_v1"; readonly PublicAlertAlertCreatedV1: "public_alert.alert_created_v1"; readonly PrivateAlertAlertCreatedV1: "private_alert.alert_created_v1"; readonly PublicAlertAlertResolvedV1: "public_alert.alert_resolved_v1"; readonly PrivateAlertAlertResolvedV1: "private_alert.alert_resolved_v1"; readonly PublicEscalationEscalationCreatedV1: "public_escalation.escalation_created_v1"; readonly PrivateEscalationEscalationCreatedV1: "private_escalation.escalation_created_v1"; readonly PublicEscalationEscalationStatusUpdatedV1: "public_escalation.escalation_status_updated_v1"; readonly PrivateEscalationEscalationStatusUpdatedV1: "private_escalation.escalation_status_updated_v1"; readonly PrivateIncidentMembershipGrantedV1: "private_incident.membership_granted_v1"; readonly PrivateIncidentMembershipRevokedV1: "private_incident.membership_revoked_v1"; readonly PublicIncidentPostmortemDocumentStatusUpdatedV1: "public_incident.postmortem_document_status_updated_v1"; readonly PrivateIncidentPostmortemDocumentStatusUpdatedV1: "private_incident.postmortem_document_status_updated_v1"; readonly ScheduleShiftChangeV1: "schedule.shift_change_v1"; readonly ScheduleCreatedV1: "schedule.created_v1"; readonly ScheduleUpdatedV1: "schedule.updated_v1"; readonly ScheduleDeletedV1: "schedule.deleted_v1"; readonly StatusPageIncidentUpdateSharedV1: "status_page_incident.update_shared_v1"; }; export type WebhooksPrivateAlertCreatedV1ResponseBodyEventTypeEnum = typeof WebhooksPrivateAlertCreatedV1ResponseBodyEventTypeEnum[keyof typeof WebhooksPrivateAlertCreatedV1ResponseBodyEventTypeEnum]; /** * Check if a given object implements the WebhooksPrivateAlertCreatedV1ResponseBody interface. */ export declare function instanceOfWebhooksPrivateAlertCreatedV1ResponseBody(value: object): value is WebhooksPrivateAlertCreatedV1ResponseBody; export declare function WebhooksPrivateAlertCreatedV1ResponseBodyFromJSON(json: any): WebhooksPrivateAlertCreatedV1ResponseBody; export declare function WebhooksPrivateAlertCreatedV1ResponseBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhooksPrivateAlertCreatedV1ResponseBody; export declare function WebhooksPrivateAlertCreatedV1ResponseBodyToJSON(json: any): WebhooksPrivateAlertCreatedV1ResponseBody; export declare function WebhooksPrivateAlertCreatedV1ResponseBodyToJSONTyped(value?: WebhooksPrivateAlertCreatedV1ResponseBody | null, ignoreDiscriminator?: boolean): any;