import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file openstatus/notification/v1/providers.proto. */ export declare const file_openstatus_notification_v1_providers: GenFile; /** * DiscordData contains configuration for Discord notifications. * * @generated from message openstatus.notification.v1.DiscordData */ export type DiscordData = Message<"openstatus.notification.v1.DiscordData"> & { /** * Discord webhook URL. * * @generated from field: string webhook_url = 1; */ webhookUrl: string; }; /** * Describes the message openstatus.notification.v1.DiscordData. * Use `create(DiscordDataSchema)` to create a new message. */ export declare const DiscordDataSchema: GenMessage; /** * EmailData contains configuration for email notifications. * * @generated from message openstatus.notification.v1.EmailData */ export type EmailData = Message<"openstatus.notification.v1.EmailData"> & { /** * Email address to send notifications to. * * @generated from field: string email = 1; */ email: string; }; /** * Describes the message openstatus.notification.v1.EmailData. * Use `create(EmailDataSchema)` to create a new message. */ export declare const EmailDataSchema: GenMessage; /** * GoogleChatData contains configuration for Google Chat notifications. * * @generated from message openstatus.notification.v1.GoogleChatData */ export type GoogleChatData = Message<"openstatus.notification.v1.GoogleChatData"> & { /** * Google Chat webhook URL. * * @generated from field: string webhook_url = 1; */ webhookUrl: string; }; /** * Describes the message openstatus.notification.v1.GoogleChatData. * Use `create(GoogleChatDataSchema)` to create a new message. */ export declare const GoogleChatDataSchema: GenMessage; /** * GrafanaOncallData contains configuration for Grafana OnCall notifications. * * @generated from message openstatus.notification.v1.GrafanaOncallData */ export type GrafanaOncallData = Message<"openstatus.notification.v1.GrafanaOncallData"> & { /** * Grafana OnCall webhook URL. * * @generated from field: string webhook_url = 1; */ webhookUrl: string; }; /** * Describes the message openstatus.notification.v1.GrafanaOncallData. * Use `create(GrafanaOncallDataSchema)` to create a new message. */ export declare const GrafanaOncallDataSchema: GenMessage; /** * NtfyData contains configuration for Ntfy notifications. * * @generated from message openstatus.notification.v1.NtfyData */ export type NtfyData = Message<"openstatus.notification.v1.NtfyData"> & { /** * Ntfy topic to publish to. * * @generated from field: string topic = 1; */ topic: string; /** * Ntfy server URL (defaults to https://ntfy.sh). * * @generated from field: string server_url = 2; */ serverUrl: string; /** * Optional authentication token. * * @generated from field: optional string token = 3; */ token?: string; }; /** * Describes the message openstatus.notification.v1.NtfyData. * Use `create(NtfyDataSchema)` to create a new message. */ export declare const NtfyDataSchema: GenMessage; /** * PagerDutyData contains configuration for PagerDuty notifications. * * @generated from message openstatus.notification.v1.PagerDutyData */ export type PagerDutyData = Message<"openstatus.notification.v1.PagerDutyData"> & { /** * PagerDuty integration key. * * @generated from field: string integration_key = 1; */ integrationKey: string; }; /** * Describes the message openstatus.notification.v1.PagerDutyData. * Use `create(PagerDutyDataSchema)` to create a new message. */ export declare const PagerDutyDataSchema: GenMessage; /** * OpsgenieData contains configuration for Opsgenie notifications. * * @generated from message openstatus.notification.v1.OpsgenieData */ export type OpsgenieData = Message<"openstatus.notification.v1.OpsgenieData"> & { /** * Opsgenie API key. * * @generated from field: string api_key = 1; */ apiKey: string; /** * Opsgenie region. * * @generated from field: openstatus.notification.v1.OpsgenieRegion region = 2; */ region: OpsgenieRegion; }; /** * Describes the message openstatus.notification.v1.OpsgenieData. * Use `create(OpsgenieDataSchema)` to create a new message. */ export declare const OpsgenieDataSchema: GenMessage; /** * SlackData contains configuration for Slack notifications. * * @generated from message openstatus.notification.v1.SlackData */ export type SlackData = Message<"openstatus.notification.v1.SlackData"> & { /** * Slack webhook URL. * * @generated from field: string webhook_url = 1; */ webhookUrl: string; }; /** * Describes the message openstatus.notification.v1.SlackData. * Use `create(SlackDataSchema)` to create a new message. */ export declare const SlackDataSchema: GenMessage; /** * SmsData contains configuration for SMS notifications. * * @generated from message openstatus.notification.v1.SmsData */ export type SmsData = Message<"openstatus.notification.v1.SmsData"> & { /** * Phone number to send SMS to. * * @generated from field: string phone_number = 1; */ phoneNumber: string; }; /** * Describes the message openstatus.notification.v1.SmsData. * Use `create(SmsDataSchema)` to create a new message. */ export declare const SmsDataSchema: GenMessage; /** * TelegramData contains configuration for Telegram notifications. * * @generated from message openstatus.notification.v1.TelegramData */ export type TelegramData = Message<"openstatus.notification.v1.TelegramData"> & { /** * Telegram chat ID. * * @generated from field: string chat_id = 1; */ chatId: string; }; /** * Describes the message openstatus.notification.v1.TelegramData. * Use `create(TelegramDataSchema)` to create a new message. */ export declare const TelegramDataSchema: GenMessage; /** * WebhookHeader represents a custom header for webhook requests. * * @generated from message openstatus.notification.v1.WebhookHeader */ export type WebhookHeader = Message<"openstatus.notification.v1.WebhookHeader"> & { /** * Header name. * * @generated from field: string key = 1; */ key: string; /** * Header value. * * @generated from field: string value = 2; */ value: string; }; /** * Describes the message openstatus.notification.v1.WebhookHeader. * Use `create(WebhookHeaderSchema)` to create a new message. */ export declare const WebhookHeaderSchema: GenMessage; /** * WebhookData contains configuration for custom webhook notifications. * * @generated from message openstatus.notification.v1.WebhookData */ export type WebhookData = Message<"openstatus.notification.v1.WebhookData"> & { /** * Webhook endpoint URL. * * @generated from field: string endpoint = 1; */ endpoint: string; /** * Optional custom headers. * * @generated from field: repeated openstatus.notification.v1.WebhookHeader headers = 2; */ headers: WebhookHeader[]; }; /** * Describes the message openstatus.notification.v1.WebhookData. * Use `create(WebhookDataSchema)` to create a new message. */ export declare const WebhookDataSchema: GenMessage; /** * WhatsappData contains configuration for WhatsApp notifications. * * @generated from message openstatus.notification.v1.WhatsappData */ export type WhatsappData = Message<"openstatus.notification.v1.WhatsappData"> & { /** * Phone number to send WhatsApp messages to. * * @generated from field: string phone_number = 1; */ phoneNumber: string; }; /** * Describes the message openstatus.notification.v1.WhatsappData. * Use `create(WhatsappDataSchema)` to create a new message. */ export declare const WhatsappDataSchema: GenMessage; /** * MsTeamsData contains configuration for Microsoft Teams notifications. * * @generated from message openstatus.notification.v1.MsTeamsData */ export type MsTeamsData = Message<"openstatus.notification.v1.MsTeamsData"> & { /** * Microsoft Teams webhook URL (Power Automate Workflows). * * @generated from field: string webhook_url = 1; */ webhookUrl: string; }; /** * Describes the message openstatus.notification.v1.MsTeamsData. * Use `create(MsTeamsDataSchema)` to create a new message. */ export declare const MsTeamsDataSchema: GenMessage; /** * NotificationData is a union of provider-specific configuration. * * @generated from message openstatus.notification.v1.NotificationData */ export type NotificationData = Message<"openstatus.notification.v1.NotificationData"> & { /** * @generated from oneof openstatus.notification.v1.NotificationData.data */ data: { /** * Discord configuration. * * @generated from field: openstatus.notification.v1.DiscordData discord = 1; */ value: DiscordData; case: "discord"; } | { /** * Email configuration. * * @generated from field: openstatus.notification.v1.EmailData email = 2; */ value: EmailData; case: "email"; } | { /** * Google Chat configuration. * * @generated from field: openstatus.notification.v1.GoogleChatData google_chat = 3; */ value: GoogleChatData; case: "googleChat"; } | { /** * Grafana OnCall configuration. * * @generated from field: openstatus.notification.v1.GrafanaOncallData grafana_oncall = 4; */ value: GrafanaOncallData; case: "grafanaOncall"; } | { /** * Ntfy configuration. * * @generated from field: openstatus.notification.v1.NtfyData ntfy = 5; */ value: NtfyData; case: "ntfy"; } | { /** * PagerDuty configuration. * * @generated from field: openstatus.notification.v1.PagerDutyData pagerduty = 6; */ value: PagerDutyData; case: "pagerduty"; } | { /** * Opsgenie configuration. * * @generated from field: openstatus.notification.v1.OpsgenieData opsgenie = 7; */ value: OpsgenieData; case: "opsgenie"; } | { /** * Slack configuration. * * @generated from field: openstatus.notification.v1.SlackData slack = 8; */ value: SlackData; case: "slack"; } | { /** * SMS configuration. * * @generated from field: openstatus.notification.v1.SmsData sms = 9; */ value: SmsData; case: "sms"; } | { /** * Telegram configuration. * * @generated from field: openstatus.notification.v1.TelegramData telegram = 10; */ value: TelegramData; case: "telegram"; } | { /** * Webhook configuration. * * @generated from field: openstatus.notification.v1.WebhookData webhook = 11; */ value: WebhookData; case: "webhook"; } | { /** * WhatsApp configuration. * * @generated from field: openstatus.notification.v1.WhatsappData whatsapp = 12; */ value: WhatsappData; case: "whatsapp"; } | { /** * Microsoft Teams configuration. * * @generated from field: openstatus.notification.v1.MsTeamsData ms_teams = 13; */ value: MsTeamsData; case: "msTeams"; } | { case: undefined; value?: undefined; }; }; /** * Describes the message openstatus.notification.v1.NotificationData. * Use `create(NotificationDataSchema)` to create a new message. */ export declare const NotificationDataSchema: GenMessage; /** * NotificationProvider represents the supported notification channel types. * * @generated from enum openstatus.notification.v1.NotificationProvider */ export declare enum NotificationProvider { /** * Unspecified provider. * * @generated from enum value: NOTIFICATION_PROVIDER_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * Discord webhook. * * @generated from enum value: NOTIFICATION_PROVIDER_DISCORD = 1; */ DISCORD = 1, /** * Email notification. * * @generated from enum value: NOTIFICATION_PROVIDER_EMAIL = 2; */ EMAIL = 2, /** * Google Chat webhook. * * @generated from enum value: NOTIFICATION_PROVIDER_GOOGLE_CHAT = 3; */ GOOGLE_CHAT = 3, /** * Grafana OnCall webhook. * * @generated from enum value: NOTIFICATION_PROVIDER_GRAFANA_ONCALL = 4; */ GRAFANA_ONCALL = 4, /** * Ntfy notification service. * * @generated from enum value: NOTIFICATION_PROVIDER_NTFY = 5; */ NTFY = 5, /** * PagerDuty integration. * * @generated from enum value: NOTIFICATION_PROVIDER_PAGERDUTY = 6; */ PAGERDUTY = 6, /** * Opsgenie integration. * * @generated from enum value: NOTIFICATION_PROVIDER_OPSGENIE = 7; */ OPSGENIE = 7, /** * Slack webhook. * * @generated from enum value: NOTIFICATION_PROVIDER_SLACK = 8; */ SLACK = 8, /** * SMS notification. * * @generated from enum value: NOTIFICATION_PROVIDER_SMS = 9; */ SMS = 9, /** * Telegram bot. * * @generated from enum value: NOTIFICATION_PROVIDER_TELEGRAM = 10; */ TELEGRAM = 10, /** * Custom webhook. * * @generated from enum value: NOTIFICATION_PROVIDER_WEBHOOK = 11; */ WEBHOOK = 11, /** * WhatsApp notification. * * @generated from enum value: NOTIFICATION_PROVIDER_WHATSAPP = 12; */ WHATSAPP = 12, /** * Microsoft Teams notification. * * @generated from enum value: NOTIFICATION_PROVIDER_MS_TEAMS = 13; */ MS_TEAMS = 13 } /** * Describes the enum openstatus.notification.v1.NotificationProvider. */ export declare const NotificationProviderSchema: GenEnum; /** * OpsgenieRegion represents the Opsgenie API region. * * @generated from enum openstatus.notification.v1.OpsgenieRegion */ export declare enum OpsgenieRegion { /** * Unspecified region. * * @generated from enum value: OPSGENIE_REGION_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * US region. * * @generated from enum value: OPSGENIE_REGION_US = 1; */ US = 1, /** * EU region. * * @generated from enum value: OPSGENIE_REGION_EU = 2; */ EU = 2 } /** * Describes the enum openstatus.notification.v1.OpsgenieRegion. */ export declare const OpsgenieRegionSchema: GenEnum; //# sourceMappingURL=providers_pb.d.ts.map