/** * 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 { StatusPageMaintenanceAffectedComponentV2 } from './StatusPageMaintenanceAffectedComponentV2.js'; /** * * @export * @interface StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2 */ export interface StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2 { /** * An array of mappings from component ID to component status. This must not be set if the status page maintenance window status is being set to "maintenance_complete", as all components statuses will update to "operational". */ component_statuses?: Array; /** * Optional new status for this status page maintenance window. If not provided, the status will remain unchanged. Setting to "maintenance_complete" will end the maintenance window and all component statuses will update to "operational". */ maintenance_status?: StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2MaintenanceStatusEnum; /** * Markdown update on what's changed about this status page maintenance window */ message: string; /** * Whether to notify subscribers about this status page maintenance update. If your status page has more than 1000 subscribers, requests that set this to true are rejected. This limit applies only to the public API: publishing from the incident.io dashboard or Slack always notifies every subscriber. */ notify_subscribers: boolean; /** * ID of the status page maintenance window */ status_page_maintenance_id: string; } /** * @export */ export declare const StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2MaintenanceStatusEnum: { readonly MaintenanceScheduled: "maintenance_scheduled"; readonly MaintenanceInProgress: "maintenance_in_progress"; readonly MaintenanceComplete: "maintenance_complete"; }; export type StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2MaintenanceStatusEnum = typeof StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2MaintenanceStatusEnum[keyof typeof StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2MaintenanceStatusEnum]; /** * Check if a given object implements the StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2 interface. */ export declare function instanceOfStatusPagesCreateStatusPageMaintenanceUpdatePayloadV2(value: object): value is StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2; export declare function StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2FromJSON(json: any): StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2; export declare function StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2; export declare function StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2ToJSON(json: any): StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2; export declare function StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2ToJSONTyped(value?: StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2 | null, ignoreDiscriminator?: boolean): any;