/** * 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 { StatusPageIncidentAffectedComponentV2 } from './StatusPageIncidentAffectedComponentV2.js'; /** * * @export * @interface StatusPagesCreateStatusPageIncidentUpdatePayloadV2 */ export interface StatusPagesCreateStatusPageIncidentUpdatePayloadV2 { /** * An array of mappings from component ID to component status. This must not be set if the status page incident status is being set to "resolved", as all components statuses will update to "operational". */ component_statuses?: Array; /** * Optional new status for this status page incident. If not provided, the status will remain unchanged. Setting to "resolved" will end the incident and all component statuses will update to "operational". */ incident_status?: StatusPagesCreateStatusPageIncidentUpdatePayloadV2IncidentStatusEnum; /** * Markdown update on what's changed about this status page incident */ message: string; /** * Whether to notify subscribers about this incident 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 incident */ status_page_incident_id: string; } /** * @export */ export declare const StatusPagesCreateStatusPageIncidentUpdatePayloadV2IncidentStatusEnum: { readonly Investigating: "investigating"; readonly Identified: "identified"; readonly Monitoring: "monitoring"; readonly Resolved: "resolved"; }; export type StatusPagesCreateStatusPageIncidentUpdatePayloadV2IncidentStatusEnum = typeof StatusPagesCreateStatusPageIncidentUpdatePayloadV2IncidentStatusEnum[keyof typeof StatusPagesCreateStatusPageIncidentUpdatePayloadV2IncidentStatusEnum]; /** * Check if a given object implements the StatusPagesCreateStatusPageIncidentUpdatePayloadV2 interface. */ export declare function instanceOfStatusPagesCreateStatusPageIncidentUpdatePayloadV2(value: object): value is StatusPagesCreateStatusPageIncidentUpdatePayloadV2; export declare function StatusPagesCreateStatusPageIncidentUpdatePayloadV2FromJSON(json: any): StatusPagesCreateStatusPageIncidentUpdatePayloadV2; export declare function StatusPagesCreateStatusPageIncidentUpdatePayloadV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): StatusPagesCreateStatusPageIncidentUpdatePayloadV2; export declare function StatusPagesCreateStatusPageIncidentUpdatePayloadV2ToJSON(json: any): StatusPagesCreateStatusPageIncidentUpdatePayloadV2; export declare function StatusPagesCreateStatusPageIncidentUpdatePayloadV2ToJSONTyped(value?: StatusPagesCreateStatusPageIncidentUpdatePayloadV2 | null, ignoreDiscriminator?: boolean): any;