/** * 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 { AlertSourceAzureDevopsOptionsV2 } from './AlertSourceAzureDevopsOptionsV2.js'; import type { AlertSourceJiraOptionsV2 } from './AlertSourceJiraOptionsV2.js'; import type { AlertSourceHeartbeatOptionsPayloadV2 } from './AlertSourceHeartbeatOptionsPayloadV2.js'; import type { AlertSourceRateLimitShardingV2 } from './AlertSourceRateLimitShardingV2.js'; import type { ConditionGroupPayloadV2 } from './ConditionGroupPayloadV2.js'; import type { AlertSourceEmailOptionsPayloadV2 } from './AlertSourceEmailOptionsPayloadV2.js'; import type { AlertSourceHTTPCustomOptionsV2 } from './AlertSourceHTTPCustomOptionsV2.js'; import type { AlertTemplatePayloadV2 } from './AlertTemplatePayloadV2.js'; /** * * @export * @interface AlertSourcesUpdatePayloadV2 */ export interface AlertSourcesUpdatePayloadV2 { /** * Whether alerts from this source keep counting down to auto-resolve while attached to an incident. Defaults to true. Has no effect without auto_resolve_timeout_minutes. */ auto_resolve_incident_alerts?: boolean; /** * When set, alerts from this source will automatically resolve after this many minutes. */ auto_resolve_timeout_minutes?: number; /** * */ azure_devops_options?: AlertSourceAzureDevopsOptionsV2; /** * For heartbeat sources, set to true to disable monitoring */ disabled?: boolean; /** * */ email_options?: AlertSourceEmailOptionsPayloadV2; /** * Conditions an incoming event must match to be ingested from this source, evaluated against the event's payload and this source's expressions. When empty, everything is ingested; otherwise a firing event that doesn't match is dropped and never creates or updates an alert. Resolve events are never filtered. Omit to leave unchanged. */ filter_condition_groups?: Array; /** * Fix the team every alert from this source is attributed to. While set, the team attribute is managed from this field: a team binding sent in the template is ignored. Omit to leave unchanged; set to an empty string to clear it, making the team attribute editable again. */ fixed_team_id?: string; /** * */ heartbeat_options?: AlertSourceHeartbeatOptionsPayloadV2; /** * */ http_custom_options?: AlertSourceHTTPCustomOptionsV2; /** * */ jira_options?: AlertSourceJiraOptionsV2; /** * Unique name of the alert source */ name: string; /** * IDs of teams that own this alert source */ owning_team_ids?: Array; /** * */ rate_limit_sharding?: AlertSourceRateLimitShardingV2; /** * */ template: AlertTemplatePayloadV2; } /** * Check if a given object implements the AlertSourcesUpdatePayloadV2 interface. */ export declare function instanceOfAlertSourcesUpdatePayloadV2(value: object): value is AlertSourcesUpdatePayloadV2; export declare function AlertSourcesUpdatePayloadV2FromJSON(json: any): AlertSourcesUpdatePayloadV2; export declare function AlertSourcesUpdatePayloadV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AlertSourcesUpdatePayloadV2; export declare function AlertSourcesUpdatePayloadV2ToJSON(json: any): AlertSourcesUpdatePayloadV2; export declare function AlertSourcesUpdatePayloadV2ToJSONTyped(value?: AlertSourcesUpdatePayloadV2 | null, ignoreDiscriminator?: boolean): any;