/** * 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 { ScheduleShiftChangeV2 } from './ScheduleShiftChangeV2.js'; /** * * @export * @interface WebhooksScheduleShiftChangeV1ResponseBody */ export interface WebhooksScheduleShiftChangeV1ResponseBody { /** * What type of event is this webhook for? */ event_type: WebhooksScheduleShiftChangeV1ResponseBodyEventTypeEnum; /** * */ schedule_shift_change_v1: ScheduleShiftChangeV2; } /** * @export */ export declare const WebhooksScheduleShiftChangeV1ResponseBodyEventTypeEnum: { 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 WebhooksScheduleShiftChangeV1ResponseBodyEventTypeEnum = typeof WebhooksScheduleShiftChangeV1ResponseBodyEventTypeEnum[keyof typeof WebhooksScheduleShiftChangeV1ResponseBodyEventTypeEnum]; /** * Check if a given object implements the WebhooksScheduleShiftChangeV1ResponseBody interface. */ export declare function instanceOfWebhooksScheduleShiftChangeV1ResponseBody(value: object): value is WebhooksScheduleShiftChangeV1ResponseBody; export declare function WebhooksScheduleShiftChangeV1ResponseBodyFromJSON(json: any): WebhooksScheduleShiftChangeV1ResponseBody; export declare function WebhooksScheduleShiftChangeV1ResponseBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhooksScheduleShiftChangeV1ResponseBody; export declare function WebhooksScheduleShiftChangeV1ResponseBodyToJSON(json: any): WebhooksScheduleShiftChangeV1ResponseBody; export declare function WebhooksScheduleShiftChangeV1ResponseBodyToJSONTyped(value?: WebhooksScheduleShiftChangeV1ResponseBody | null, ignoreDiscriminator?: boolean): any;