/** * 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 StatusPagesCreateStatusPageIncidentPayloadV2 */ export interface StatusPagesCreateStatusPageIncidentPayloadV2 { /** * An array of mappings from component ID to current component status */ component_statuses?: Array; /** * A unique key to de-duplicate requests. If you send a request with an idempotency_key that was already used, the original response will be returned. */ idempotency_key: string; /** * Current status for this status page incident */ incident_status: StatusPagesCreateStatusPageIncidentPayloadV2IncidentStatusEnum; /** * Markdown initial update on this status page incident */ message: string; /** * A title for the incident */ name: string; /** * Whether to notify subscribers about this status page incident. 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. You can find this by calling the ListStatusPages endpoint. */ status_page_id: string; } /** * @export */ export declare const StatusPagesCreateStatusPageIncidentPayloadV2IncidentStatusEnum: { readonly Investigating: "investigating"; readonly Identified: "identified"; readonly Monitoring: "monitoring"; readonly Resolved: "resolved"; }; export type StatusPagesCreateStatusPageIncidentPayloadV2IncidentStatusEnum = typeof StatusPagesCreateStatusPageIncidentPayloadV2IncidentStatusEnum[keyof typeof StatusPagesCreateStatusPageIncidentPayloadV2IncidentStatusEnum]; /** * Check if a given object implements the StatusPagesCreateStatusPageIncidentPayloadV2 interface. */ export declare function instanceOfStatusPagesCreateStatusPageIncidentPayloadV2(value: object): value is StatusPagesCreateStatusPageIncidentPayloadV2; export declare function StatusPagesCreateStatusPageIncidentPayloadV2FromJSON(json: any): StatusPagesCreateStatusPageIncidentPayloadV2; export declare function StatusPagesCreateStatusPageIncidentPayloadV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): StatusPagesCreateStatusPageIncidentPayloadV2; export declare function StatusPagesCreateStatusPageIncidentPayloadV2ToJSON(json: any): StatusPagesCreateStatusPageIncidentPayloadV2; export declare function StatusPagesCreateStatusPageIncidentPayloadV2ToJSONTyped(value?: StatusPagesCreateStatusPageIncidentPayloadV2 | null, ignoreDiscriminator?: boolean): any;