/** * 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 { ActorV2 } from './ActorV2.js'; import type { MaintenanceWindowNotifyChannelV1 } from './MaintenanceWindowNotifyChannelV1.js'; import type { ConditionGroupV2 } from './ConditionGroupV2.js'; import type { MaintenanceWindowEscalationTargetV1 } from './MaintenanceWindowEscalationTargetV1.js'; /** * * @export * @interface MaintenanceWindowV1 */ export interface MaintenanceWindowV1 { /** * Condition groups that determine which alerts this maintenance window applies to */ alert_condition_groups: Array; /** * When this maintenance window was archived, if it has been */ archived_at?: Date; /** * When this maintenance window was created */ created_at: Date; /** * When the maintenance window ends */ end_at: Date; /** * If set, alerts matching this window will be escalated to these targets */ escalation_targets?: Array; /** * Unique identifier for this maintenance window */ id: string; /** * If set, alerts matching this window will be automatically attached to this incident */ incident_id?: string; /** * */ lead: ActorV2; /** * Human readable name for the maintenance window */ name: string; /** * Custom message included in notifications about this maintenance window */ notification_message?: string; /** * Channels to notify about the maintenance window starting and ending */ notify_channels?: Array; /** * Minutes before the end to send a notification to the configured channels */ notify_end_minutes_before?: number; /** * Minutes before the start to send a notification to the configured channels */ notify_start_minutes_before?: number; /** * IDs of teams that own this maintenance window. Owning teams control who can manage the window, and restrict it to holding alerts belonging to those teams or their descendants in the team hierarchy. */ owning_team_ids?: Array; /** * Whether to retrigger firing alerts through alert routing when the window ends */ reroute_on_end: boolean; /** * Whether to automatically resolve all firing alerts that matched this window when it ends */ resolve_on_end: boolean; /** * Whether to show this maintenance window in the dashboard sidebar when active */ show_in_sidebar: boolean; /** * When the maintenance window starts */ start_at: Date; /** * When this maintenance window was last updated */ updated_at: Date; } /** * Check if a given object implements the MaintenanceWindowV1 interface. */ export declare function instanceOfMaintenanceWindowV1(value: object): value is MaintenanceWindowV1; export declare function MaintenanceWindowV1FromJSON(json: any): MaintenanceWindowV1; export declare function MaintenanceWindowV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): MaintenanceWindowV1; export declare function MaintenanceWindowV1ToJSON(json: any): MaintenanceWindowV1; export declare function MaintenanceWindowV1ToJSONTyped(value?: MaintenanceWindowV1 | null, ignoreDiscriminator?: boolean): any;