/** * 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 { GroupingKeyV3 } from './GroupingKeyV3.js'; /** * * @export * @interface GroupingSettingsV3 */ export interface GroupingSettingsV3 { /** * Use AI to group similar looking alerts. AI alert grouping can only group alerts that are attributed to the same team, so grouping keys must only contain the team alert attribute. Private alerts are not grouped unless AI incident access allows private incidents and alerts. Omit it on an update to keep the current value. */ ai_enabled?: boolean; /** * Optional instructions the model follows when AI groups alerts on this route, such as how the systems you run relate to each other. Up to 2000 characters. */ ai_instructions?: string; /** * Whether grouping is enabled */ enabled: boolean; /** * Which attributes should this alert route use to group alerts? Only set when grouping is enabled. */ grouping_keys?: Array; /** * How long the grouping window is, in seconds. Must be between 60 (1 minute) and 172800 (48 hours). Only set when grouping is enabled. */ window_seconds?: number; /** * Controls how the grouping window behaves. 'rolling' keeps the window open for window_seconds after the most recent alert, so the group stays open as long as alerts keep arriving. 'fixed' opens the window when the first alert arrives and always closes window_seconds later, regardless of any subsequent alerts. Only set when grouping is enabled. */ window_type?: GroupingSettingsV3WindowTypeEnum; } /** * @export */ export declare const GroupingSettingsV3WindowTypeEnum: { readonly Rolling: "rolling"; readonly Fixed: "fixed"; }; export type GroupingSettingsV3WindowTypeEnum = typeof GroupingSettingsV3WindowTypeEnum[keyof typeof GroupingSettingsV3WindowTypeEnum]; /** * Check if a given object implements the GroupingSettingsV3 interface. */ export declare function instanceOfGroupingSettingsV3(value: object): value is GroupingSettingsV3; export declare function GroupingSettingsV3FromJSON(json: any): GroupingSettingsV3; export declare function GroupingSettingsV3FromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupingSettingsV3; export declare function GroupingSettingsV3ToJSON(json: any): GroupingSettingsV3; export declare function GroupingSettingsV3ToJSONTyped(value?: GroupingSettingsV3 | null, ignoreDiscriminator?: boolean): any;