/** * 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 AlertSourcesCreatePayloadV2 */ export interface AlertSourcesCreatePayloadV2 { /** * 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; /** * */ 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 or omitted, 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. */ 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: don't send its binding in the template. */ 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; /** * Type of alert source */ source_type: AlertSourcesCreatePayloadV2SourceTypeEnum; /** * */ template: AlertTemplatePayloadV2; } /** * @export */ export declare const AlertSourcesCreatePayloadV2SourceTypeEnum: { readonly Alertmanager: "alertmanager"; readonly AppOptics: "app_optics"; readonly AzureMonitor: "azure_monitor"; readonly AzureDevops: "azure_devops"; readonly BigPanda: "big_panda"; readonly Bugsnag: "bugsnag"; readonly Checkly: "checkly"; readonly Chronosphere: "chronosphere"; readonly Cloudwatch: "cloudwatch"; readonly Cloudflare: "cloudflare"; readonly Coralogix: "coralogix"; readonly Cronitor: "cronitor"; readonly CrowdstrikeFalcon: "crowdstrike_falcon"; readonly Dash0: "dash0"; readonly Datadog: "datadog"; readonly Dynatrace: "dynatrace"; readonly Elasticsearch: "elasticsearch"; readonly Email: "email"; readonly Expel: "expel"; readonly GitGuardian: "git_guardian"; readonly GithubIssue: "github_issue"; readonly GoogleCloud: "google_cloud"; readonly GoogleSecops: "google_secops"; readonly Grafana: "grafana"; readonly Heartbeat: "heartbeat"; readonly Http: "http"; readonly HttpCustom: "http_custom"; readonly Honeycomb: "honeycomb"; readonly Icinga2: "icinga2"; readonly IncomingCalls: "incoming_calls"; readonly Jira: "jira"; readonly Jsm: "jsm"; readonly Logzio: "logzio"; readonly MonteCarlo: "monte_carlo"; readonly Nagios: "nagios"; readonly NewRelic: "new_relic"; readonly Opsgenie: "opsgenie"; readonly Prtg: "prtg"; readonly PagerDuty: "pager_duty"; readonly Panther: "panther"; readonly Pingdom: "pingdom"; readonly Posthog: "posthog"; readonly Runscope: "runscope"; readonly Sns: "sns"; readonly SalesforceCase: "salesforce_case"; readonly Sentry: "sentry"; readonly SentryMetric: "sentry_metric"; readonly ServiceNow: "service_now"; readonly Splunk: "splunk"; readonly StatusCake: "status_cake"; readonly StatusPageViews: "status_page_views"; readonly SumoLogic: "sumo_logic"; readonly Uptime: "uptime"; readonly Upwind: "upwind"; readonly Vercel: "vercel"; readonly Wiz: "wiz"; readonly Zendesk: "zendesk"; }; export type AlertSourcesCreatePayloadV2SourceTypeEnum = typeof AlertSourcesCreatePayloadV2SourceTypeEnum[keyof typeof AlertSourcesCreatePayloadV2SourceTypeEnum]; /** * Check if a given object implements the AlertSourcesCreatePayloadV2 interface. */ export declare function instanceOfAlertSourcesCreatePayloadV2(value: object): value is AlertSourcesCreatePayloadV2; export declare function AlertSourcesCreatePayloadV2FromJSON(json: any): AlertSourcesCreatePayloadV2; export declare function AlertSourcesCreatePayloadV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AlertSourcesCreatePayloadV2; export declare function AlertSourcesCreatePayloadV2ToJSON(json: any): AlertSourcesCreatePayloadV2; export declare function AlertSourcesCreatePayloadV2ToJSONTyped(value?: AlertSourcesCreatePayloadV2 | null, ignoreDiscriminator?: boolean): any;