@openstatus/sdk-node 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +837 -453
- package/esm/gen/openstatus/notification/v1/notification_pb.d.ts +110 -0
- package/esm/gen/openstatus/notification/v1/notification_pb.d.ts.map +1 -0
- package/esm/gen/openstatus/notification/v1/notification_pb.js +19 -0
- package/esm/gen/openstatus/notification/v1/providers_pb.d.ts +504 -0
- package/esm/gen/openstatus/notification/v1/providers_pb.d.ts.map +1 -0
- package/esm/gen/openstatus/notification/v1/providers_pb.js +199 -0
- package/esm/gen/openstatus/notification/v1/service_pb.d.ts +403 -0
- package/esm/gen/openstatus/notification/v1/service_pb.d.ts.map +1 -0
- package/esm/gen/openstatus/notification/v1/service_pb.js +91 -0
- package/esm/mod.d.ts +25 -0
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +7 -0
- package/package.json +5 -2
- package/script/gen/openstatus/notification/v1/notification_pb.d.ts +110 -0
- package/script/gen/openstatus/notification/v1/notification_pb.d.ts.map +1 -0
- package/script/gen/openstatus/notification/v1/notification_pb.js +22 -0
- package/script/gen/openstatus/notification/v1/providers_pb.d.ts +504 -0
- package/script/gen/openstatus/notification/v1/providers_pb.d.ts.map +1 -0
- package/script/gen/openstatus/notification/v1/providers_pb.js +202 -0
- package/script/gen/openstatus/notification/v1/service_pb.d.ts +403 -0
- package/script/gen/openstatus/notification/v1/service_pb.d.ts.map +1 -0
- package/script/gen/openstatus/notification/v1/service_pb.js +94 -0
- package/script/mod.d.ts +25 -0
- package/script/mod.d.ts.map +1 -1
- package/script/mod.js +12 -3
|
@@ -0,0 +1,504 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file openstatus/notification/v1/providers.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_openstatus_notification_v1_providers: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* DiscordData contains configuration for Discord notifications.
|
|
9
|
+
*
|
|
10
|
+
* @generated from message openstatus.notification.v1.DiscordData
|
|
11
|
+
*/
|
|
12
|
+
export type DiscordData = Message<"openstatus.notification.v1.DiscordData"> & {
|
|
13
|
+
/**
|
|
14
|
+
* Discord webhook URL.
|
|
15
|
+
*
|
|
16
|
+
* @generated from field: string webhook_url = 1;
|
|
17
|
+
*/
|
|
18
|
+
webhookUrl: string;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message openstatus.notification.v1.DiscordData.
|
|
22
|
+
* Use `create(DiscordDataSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export declare const DiscordDataSchema: GenMessage<DiscordData>;
|
|
25
|
+
/**
|
|
26
|
+
* EmailData contains configuration for email notifications.
|
|
27
|
+
*
|
|
28
|
+
* @generated from message openstatus.notification.v1.EmailData
|
|
29
|
+
*/
|
|
30
|
+
export type EmailData = Message<"openstatus.notification.v1.EmailData"> & {
|
|
31
|
+
/**
|
|
32
|
+
* Email address to send notifications to.
|
|
33
|
+
*
|
|
34
|
+
* @generated from field: string email = 1;
|
|
35
|
+
*/
|
|
36
|
+
email: string;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Describes the message openstatus.notification.v1.EmailData.
|
|
40
|
+
* Use `create(EmailDataSchema)` to create a new message.
|
|
41
|
+
*/
|
|
42
|
+
export declare const EmailDataSchema: GenMessage<EmailData>;
|
|
43
|
+
/**
|
|
44
|
+
* GoogleChatData contains configuration for Google Chat notifications.
|
|
45
|
+
*
|
|
46
|
+
* @generated from message openstatus.notification.v1.GoogleChatData
|
|
47
|
+
*/
|
|
48
|
+
export type GoogleChatData = Message<"openstatus.notification.v1.GoogleChatData"> & {
|
|
49
|
+
/**
|
|
50
|
+
* Google Chat webhook URL.
|
|
51
|
+
*
|
|
52
|
+
* @generated from field: string webhook_url = 1;
|
|
53
|
+
*/
|
|
54
|
+
webhookUrl: string;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Describes the message openstatus.notification.v1.GoogleChatData.
|
|
58
|
+
* Use `create(GoogleChatDataSchema)` to create a new message.
|
|
59
|
+
*/
|
|
60
|
+
export declare const GoogleChatDataSchema: GenMessage<GoogleChatData>;
|
|
61
|
+
/**
|
|
62
|
+
* GrafanaOncallData contains configuration for Grafana OnCall notifications.
|
|
63
|
+
*
|
|
64
|
+
* @generated from message openstatus.notification.v1.GrafanaOncallData
|
|
65
|
+
*/
|
|
66
|
+
export type GrafanaOncallData = Message<"openstatus.notification.v1.GrafanaOncallData"> & {
|
|
67
|
+
/**
|
|
68
|
+
* Grafana OnCall webhook URL.
|
|
69
|
+
*
|
|
70
|
+
* @generated from field: string webhook_url = 1;
|
|
71
|
+
*/
|
|
72
|
+
webhookUrl: string;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Describes the message openstatus.notification.v1.GrafanaOncallData.
|
|
76
|
+
* Use `create(GrafanaOncallDataSchema)` to create a new message.
|
|
77
|
+
*/
|
|
78
|
+
export declare const GrafanaOncallDataSchema: GenMessage<GrafanaOncallData>;
|
|
79
|
+
/**
|
|
80
|
+
* NtfyData contains configuration for Ntfy notifications.
|
|
81
|
+
*
|
|
82
|
+
* @generated from message openstatus.notification.v1.NtfyData
|
|
83
|
+
*/
|
|
84
|
+
export type NtfyData = Message<"openstatus.notification.v1.NtfyData"> & {
|
|
85
|
+
/**
|
|
86
|
+
* Ntfy topic to publish to.
|
|
87
|
+
*
|
|
88
|
+
* @generated from field: string topic = 1;
|
|
89
|
+
*/
|
|
90
|
+
topic: string;
|
|
91
|
+
/**
|
|
92
|
+
* Ntfy server URL (defaults to https://ntfy.sh).
|
|
93
|
+
*
|
|
94
|
+
* @generated from field: string server_url = 2;
|
|
95
|
+
*/
|
|
96
|
+
serverUrl: string;
|
|
97
|
+
/**
|
|
98
|
+
* Optional authentication token.
|
|
99
|
+
*
|
|
100
|
+
* @generated from field: optional string token = 3;
|
|
101
|
+
*/
|
|
102
|
+
token?: string;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Describes the message openstatus.notification.v1.NtfyData.
|
|
106
|
+
* Use `create(NtfyDataSchema)` to create a new message.
|
|
107
|
+
*/
|
|
108
|
+
export declare const NtfyDataSchema: GenMessage<NtfyData>;
|
|
109
|
+
/**
|
|
110
|
+
* PagerDutyData contains configuration for PagerDuty notifications.
|
|
111
|
+
*
|
|
112
|
+
* @generated from message openstatus.notification.v1.PagerDutyData
|
|
113
|
+
*/
|
|
114
|
+
export type PagerDutyData = Message<"openstatus.notification.v1.PagerDutyData"> & {
|
|
115
|
+
/**
|
|
116
|
+
* PagerDuty integration key.
|
|
117
|
+
*
|
|
118
|
+
* @generated from field: string integration_key = 1;
|
|
119
|
+
*/
|
|
120
|
+
integrationKey: string;
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* Describes the message openstatus.notification.v1.PagerDutyData.
|
|
124
|
+
* Use `create(PagerDutyDataSchema)` to create a new message.
|
|
125
|
+
*/
|
|
126
|
+
export declare const PagerDutyDataSchema: GenMessage<PagerDutyData>;
|
|
127
|
+
/**
|
|
128
|
+
* OpsgenieData contains configuration for Opsgenie notifications.
|
|
129
|
+
*
|
|
130
|
+
* @generated from message openstatus.notification.v1.OpsgenieData
|
|
131
|
+
*/
|
|
132
|
+
export type OpsgenieData = Message<"openstatus.notification.v1.OpsgenieData"> & {
|
|
133
|
+
/**
|
|
134
|
+
* Opsgenie API key.
|
|
135
|
+
*
|
|
136
|
+
* @generated from field: string api_key = 1;
|
|
137
|
+
*/
|
|
138
|
+
apiKey: string;
|
|
139
|
+
/**
|
|
140
|
+
* Opsgenie region.
|
|
141
|
+
*
|
|
142
|
+
* @generated from field: openstatus.notification.v1.OpsgenieRegion region = 2;
|
|
143
|
+
*/
|
|
144
|
+
region: OpsgenieRegion;
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* Describes the message openstatus.notification.v1.OpsgenieData.
|
|
148
|
+
* Use `create(OpsgenieDataSchema)` to create a new message.
|
|
149
|
+
*/
|
|
150
|
+
export declare const OpsgenieDataSchema: GenMessage<OpsgenieData>;
|
|
151
|
+
/**
|
|
152
|
+
* SlackData contains configuration for Slack notifications.
|
|
153
|
+
*
|
|
154
|
+
* @generated from message openstatus.notification.v1.SlackData
|
|
155
|
+
*/
|
|
156
|
+
export type SlackData = Message<"openstatus.notification.v1.SlackData"> & {
|
|
157
|
+
/**
|
|
158
|
+
* Slack webhook URL.
|
|
159
|
+
*
|
|
160
|
+
* @generated from field: string webhook_url = 1;
|
|
161
|
+
*/
|
|
162
|
+
webhookUrl: string;
|
|
163
|
+
};
|
|
164
|
+
/**
|
|
165
|
+
* Describes the message openstatus.notification.v1.SlackData.
|
|
166
|
+
* Use `create(SlackDataSchema)` to create a new message.
|
|
167
|
+
*/
|
|
168
|
+
export declare const SlackDataSchema: GenMessage<SlackData>;
|
|
169
|
+
/**
|
|
170
|
+
* SmsData contains configuration for SMS notifications.
|
|
171
|
+
*
|
|
172
|
+
* @generated from message openstatus.notification.v1.SmsData
|
|
173
|
+
*/
|
|
174
|
+
export type SmsData = Message<"openstatus.notification.v1.SmsData"> & {
|
|
175
|
+
/**
|
|
176
|
+
* Phone number to send SMS to.
|
|
177
|
+
*
|
|
178
|
+
* @generated from field: string phone_number = 1;
|
|
179
|
+
*/
|
|
180
|
+
phoneNumber: string;
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* Describes the message openstatus.notification.v1.SmsData.
|
|
184
|
+
* Use `create(SmsDataSchema)` to create a new message.
|
|
185
|
+
*/
|
|
186
|
+
export declare const SmsDataSchema: GenMessage<SmsData>;
|
|
187
|
+
/**
|
|
188
|
+
* TelegramData contains configuration for Telegram notifications.
|
|
189
|
+
*
|
|
190
|
+
* @generated from message openstatus.notification.v1.TelegramData
|
|
191
|
+
*/
|
|
192
|
+
export type TelegramData = Message<"openstatus.notification.v1.TelegramData"> & {
|
|
193
|
+
/**
|
|
194
|
+
* Telegram chat ID.
|
|
195
|
+
*
|
|
196
|
+
* @generated from field: string chat_id = 1;
|
|
197
|
+
*/
|
|
198
|
+
chatId: string;
|
|
199
|
+
};
|
|
200
|
+
/**
|
|
201
|
+
* Describes the message openstatus.notification.v1.TelegramData.
|
|
202
|
+
* Use `create(TelegramDataSchema)` to create a new message.
|
|
203
|
+
*/
|
|
204
|
+
export declare const TelegramDataSchema: GenMessage<TelegramData>;
|
|
205
|
+
/**
|
|
206
|
+
* WebhookHeader represents a custom header for webhook requests.
|
|
207
|
+
*
|
|
208
|
+
* @generated from message openstatus.notification.v1.WebhookHeader
|
|
209
|
+
*/
|
|
210
|
+
export type WebhookHeader = Message<"openstatus.notification.v1.WebhookHeader"> & {
|
|
211
|
+
/**
|
|
212
|
+
* Header name.
|
|
213
|
+
*
|
|
214
|
+
* @generated from field: string key = 1;
|
|
215
|
+
*/
|
|
216
|
+
key: string;
|
|
217
|
+
/**
|
|
218
|
+
* Header value.
|
|
219
|
+
*
|
|
220
|
+
* @generated from field: string value = 2;
|
|
221
|
+
*/
|
|
222
|
+
value: string;
|
|
223
|
+
};
|
|
224
|
+
/**
|
|
225
|
+
* Describes the message openstatus.notification.v1.WebhookHeader.
|
|
226
|
+
* Use `create(WebhookHeaderSchema)` to create a new message.
|
|
227
|
+
*/
|
|
228
|
+
export declare const WebhookHeaderSchema: GenMessage<WebhookHeader>;
|
|
229
|
+
/**
|
|
230
|
+
* WebhookData contains configuration for custom webhook notifications.
|
|
231
|
+
*
|
|
232
|
+
* @generated from message openstatus.notification.v1.WebhookData
|
|
233
|
+
*/
|
|
234
|
+
export type WebhookData = Message<"openstatus.notification.v1.WebhookData"> & {
|
|
235
|
+
/**
|
|
236
|
+
* Webhook endpoint URL.
|
|
237
|
+
*
|
|
238
|
+
* @generated from field: string endpoint = 1;
|
|
239
|
+
*/
|
|
240
|
+
endpoint: string;
|
|
241
|
+
/**
|
|
242
|
+
* Optional custom headers.
|
|
243
|
+
*
|
|
244
|
+
* @generated from field: repeated openstatus.notification.v1.WebhookHeader headers = 2;
|
|
245
|
+
*/
|
|
246
|
+
headers: WebhookHeader[];
|
|
247
|
+
};
|
|
248
|
+
/**
|
|
249
|
+
* Describes the message openstatus.notification.v1.WebhookData.
|
|
250
|
+
* Use `create(WebhookDataSchema)` to create a new message.
|
|
251
|
+
*/
|
|
252
|
+
export declare const WebhookDataSchema: GenMessage<WebhookData>;
|
|
253
|
+
/**
|
|
254
|
+
* WhatsappData contains configuration for WhatsApp notifications.
|
|
255
|
+
*
|
|
256
|
+
* @generated from message openstatus.notification.v1.WhatsappData
|
|
257
|
+
*/
|
|
258
|
+
export type WhatsappData = Message<"openstatus.notification.v1.WhatsappData"> & {
|
|
259
|
+
/**
|
|
260
|
+
* Phone number to send WhatsApp messages to.
|
|
261
|
+
*
|
|
262
|
+
* @generated from field: string phone_number = 1;
|
|
263
|
+
*/
|
|
264
|
+
phoneNumber: string;
|
|
265
|
+
};
|
|
266
|
+
/**
|
|
267
|
+
* Describes the message openstatus.notification.v1.WhatsappData.
|
|
268
|
+
* Use `create(WhatsappDataSchema)` to create a new message.
|
|
269
|
+
*/
|
|
270
|
+
export declare const WhatsappDataSchema: GenMessage<WhatsappData>;
|
|
271
|
+
/**
|
|
272
|
+
* NotificationData is a union of provider-specific configuration.
|
|
273
|
+
*
|
|
274
|
+
* @generated from message openstatus.notification.v1.NotificationData
|
|
275
|
+
*/
|
|
276
|
+
export type NotificationData = Message<"openstatus.notification.v1.NotificationData"> & {
|
|
277
|
+
/**
|
|
278
|
+
* @generated from oneof openstatus.notification.v1.NotificationData.data
|
|
279
|
+
*/
|
|
280
|
+
data: {
|
|
281
|
+
/**
|
|
282
|
+
* Discord configuration.
|
|
283
|
+
*
|
|
284
|
+
* @generated from field: openstatus.notification.v1.DiscordData discord = 1;
|
|
285
|
+
*/
|
|
286
|
+
value: DiscordData;
|
|
287
|
+
case: "discord";
|
|
288
|
+
} | {
|
|
289
|
+
/**
|
|
290
|
+
* Email configuration.
|
|
291
|
+
*
|
|
292
|
+
* @generated from field: openstatus.notification.v1.EmailData email = 2;
|
|
293
|
+
*/
|
|
294
|
+
value: EmailData;
|
|
295
|
+
case: "email";
|
|
296
|
+
} | {
|
|
297
|
+
/**
|
|
298
|
+
* Google Chat configuration.
|
|
299
|
+
*
|
|
300
|
+
* @generated from field: openstatus.notification.v1.GoogleChatData google_chat = 3;
|
|
301
|
+
*/
|
|
302
|
+
value: GoogleChatData;
|
|
303
|
+
case: "googleChat";
|
|
304
|
+
} | {
|
|
305
|
+
/**
|
|
306
|
+
* Grafana OnCall configuration.
|
|
307
|
+
*
|
|
308
|
+
* @generated from field: openstatus.notification.v1.GrafanaOncallData grafana_oncall = 4;
|
|
309
|
+
*/
|
|
310
|
+
value: GrafanaOncallData;
|
|
311
|
+
case: "grafanaOncall";
|
|
312
|
+
} | {
|
|
313
|
+
/**
|
|
314
|
+
* Ntfy configuration.
|
|
315
|
+
*
|
|
316
|
+
* @generated from field: openstatus.notification.v1.NtfyData ntfy = 5;
|
|
317
|
+
*/
|
|
318
|
+
value: NtfyData;
|
|
319
|
+
case: "ntfy";
|
|
320
|
+
} | {
|
|
321
|
+
/**
|
|
322
|
+
* PagerDuty configuration.
|
|
323
|
+
*
|
|
324
|
+
* @generated from field: openstatus.notification.v1.PagerDutyData pagerduty = 6;
|
|
325
|
+
*/
|
|
326
|
+
value: PagerDutyData;
|
|
327
|
+
case: "pagerduty";
|
|
328
|
+
} | {
|
|
329
|
+
/**
|
|
330
|
+
* Opsgenie configuration.
|
|
331
|
+
*
|
|
332
|
+
* @generated from field: openstatus.notification.v1.OpsgenieData opsgenie = 7;
|
|
333
|
+
*/
|
|
334
|
+
value: OpsgenieData;
|
|
335
|
+
case: "opsgenie";
|
|
336
|
+
} | {
|
|
337
|
+
/**
|
|
338
|
+
* Slack configuration.
|
|
339
|
+
*
|
|
340
|
+
* @generated from field: openstatus.notification.v1.SlackData slack = 8;
|
|
341
|
+
*/
|
|
342
|
+
value: SlackData;
|
|
343
|
+
case: "slack";
|
|
344
|
+
} | {
|
|
345
|
+
/**
|
|
346
|
+
* SMS configuration.
|
|
347
|
+
*
|
|
348
|
+
* @generated from field: openstatus.notification.v1.SmsData sms = 9;
|
|
349
|
+
*/
|
|
350
|
+
value: SmsData;
|
|
351
|
+
case: "sms";
|
|
352
|
+
} | {
|
|
353
|
+
/**
|
|
354
|
+
* Telegram configuration.
|
|
355
|
+
*
|
|
356
|
+
* @generated from field: openstatus.notification.v1.TelegramData telegram = 10;
|
|
357
|
+
*/
|
|
358
|
+
value: TelegramData;
|
|
359
|
+
case: "telegram";
|
|
360
|
+
} | {
|
|
361
|
+
/**
|
|
362
|
+
* Webhook configuration.
|
|
363
|
+
*
|
|
364
|
+
* @generated from field: openstatus.notification.v1.WebhookData webhook = 11;
|
|
365
|
+
*/
|
|
366
|
+
value: WebhookData;
|
|
367
|
+
case: "webhook";
|
|
368
|
+
} | {
|
|
369
|
+
/**
|
|
370
|
+
* WhatsApp configuration.
|
|
371
|
+
*
|
|
372
|
+
* @generated from field: openstatus.notification.v1.WhatsappData whatsapp = 12;
|
|
373
|
+
*/
|
|
374
|
+
value: WhatsappData;
|
|
375
|
+
case: "whatsapp";
|
|
376
|
+
} | {
|
|
377
|
+
case: undefined;
|
|
378
|
+
value?: undefined;
|
|
379
|
+
};
|
|
380
|
+
};
|
|
381
|
+
/**
|
|
382
|
+
* Describes the message openstatus.notification.v1.NotificationData.
|
|
383
|
+
* Use `create(NotificationDataSchema)` to create a new message.
|
|
384
|
+
*/
|
|
385
|
+
export declare const NotificationDataSchema: GenMessage<NotificationData>;
|
|
386
|
+
/**
|
|
387
|
+
* NotificationProvider represents the supported notification channel types.
|
|
388
|
+
*
|
|
389
|
+
* @generated from enum openstatus.notification.v1.NotificationProvider
|
|
390
|
+
*/
|
|
391
|
+
export declare enum NotificationProvider {
|
|
392
|
+
/**
|
|
393
|
+
* Unspecified provider.
|
|
394
|
+
*
|
|
395
|
+
* @generated from enum value: NOTIFICATION_PROVIDER_UNSPECIFIED = 0;
|
|
396
|
+
*/
|
|
397
|
+
UNSPECIFIED = 0,
|
|
398
|
+
/**
|
|
399
|
+
* Discord webhook.
|
|
400
|
+
*
|
|
401
|
+
* @generated from enum value: NOTIFICATION_PROVIDER_DISCORD = 1;
|
|
402
|
+
*/
|
|
403
|
+
DISCORD = 1,
|
|
404
|
+
/**
|
|
405
|
+
* Email notification.
|
|
406
|
+
*
|
|
407
|
+
* @generated from enum value: NOTIFICATION_PROVIDER_EMAIL = 2;
|
|
408
|
+
*/
|
|
409
|
+
EMAIL = 2,
|
|
410
|
+
/**
|
|
411
|
+
* Google Chat webhook.
|
|
412
|
+
*
|
|
413
|
+
* @generated from enum value: NOTIFICATION_PROVIDER_GOOGLE_CHAT = 3;
|
|
414
|
+
*/
|
|
415
|
+
GOOGLE_CHAT = 3,
|
|
416
|
+
/**
|
|
417
|
+
* Grafana OnCall webhook.
|
|
418
|
+
*
|
|
419
|
+
* @generated from enum value: NOTIFICATION_PROVIDER_GRAFANA_ONCALL = 4;
|
|
420
|
+
*/
|
|
421
|
+
GRAFANA_ONCALL = 4,
|
|
422
|
+
/**
|
|
423
|
+
* Ntfy notification service.
|
|
424
|
+
*
|
|
425
|
+
* @generated from enum value: NOTIFICATION_PROVIDER_NTFY = 5;
|
|
426
|
+
*/
|
|
427
|
+
NTFY = 5,
|
|
428
|
+
/**
|
|
429
|
+
* PagerDuty integration.
|
|
430
|
+
*
|
|
431
|
+
* @generated from enum value: NOTIFICATION_PROVIDER_PAGERDUTY = 6;
|
|
432
|
+
*/
|
|
433
|
+
PAGERDUTY = 6,
|
|
434
|
+
/**
|
|
435
|
+
* Opsgenie integration.
|
|
436
|
+
*
|
|
437
|
+
* @generated from enum value: NOTIFICATION_PROVIDER_OPSGENIE = 7;
|
|
438
|
+
*/
|
|
439
|
+
OPSGENIE = 7,
|
|
440
|
+
/**
|
|
441
|
+
* Slack webhook.
|
|
442
|
+
*
|
|
443
|
+
* @generated from enum value: NOTIFICATION_PROVIDER_SLACK = 8;
|
|
444
|
+
*/
|
|
445
|
+
SLACK = 8,
|
|
446
|
+
/**
|
|
447
|
+
* SMS notification.
|
|
448
|
+
*
|
|
449
|
+
* @generated from enum value: NOTIFICATION_PROVIDER_SMS = 9;
|
|
450
|
+
*/
|
|
451
|
+
SMS = 9,
|
|
452
|
+
/**
|
|
453
|
+
* Telegram bot.
|
|
454
|
+
*
|
|
455
|
+
* @generated from enum value: NOTIFICATION_PROVIDER_TELEGRAM = 10;
|
|
456
|
+
*/
|
|
457
|
+
TELEGRAM = 10,
|
|
458
|
+
/**
|
|
459
|
+
* Custom webhook.
|
|
460
|
+
*
|
|
461
|
+
* @generated from enum value: NOTIFICATION_PROVIDER_WEBHOOK = 11;
|
|
462
|
+
*/
|
|
463
|
+
WEBHOOK = 11,
|
|
464
|
+
/**
|
|
465
|
+
* WhatsApp notification.
|
|
466
|
+
*
|
|
467
|
+
* @generated from enum value: NOTIFICATION_PROVIDER_WHATSAPP = 12;
|
|
468
|
+
*/
|
|
469
|
+
WHATSAPP = 12
|
|
470
|
+
}
|
|
471
|
+
/**
|
|
472
|
+
* Describes the enum openstatus.notification.v1.NotificationProvider.
|
|
473
|
+
*/
|
|
474
|
+
export declare const NotificationProviderSchema: GenEnum<NotificationProvider>;
|
|
475
|
+
/**
|
|
476
|
+
* OpsgenieRegion represents the Opsgenie API region.
|
|
477
|
+
*
|
|
478
|
+
* @generated from enum openstatus.notification.v1.OpsgenieRegion
|
|
479
|
+
*/
|
|
480
|
+
export declare enum OpsgenieRegion {
|
|
481
|
+
/**
|
|
482
|
+
* Unspecified region.
|
|
483
|
+
*
|
|
484
|
+
* @generated from enum value: OPSGENIE_REGION_UNSPECIFIED = 0;
|
|
485
|
+
*/
|
|
486
|
+
UNSPECIFIED = 0,
|
|
487
|
+
/**
|
|
488
|
+
* US region.
|
|
489
|
+
*
|
|
490
|
+
* @generated from enum value: OPSGENIE_REGION_US = 1;
|
|
491
|
+
*/
|
|
492
|
+
US = 1,
|
|
493
|
+
/**
|
|
494
|
+
* EU region.
|
|
495
|
+
*
|
|
496
|
+
* @generated from enum value: OPSGENIE_REGION_EU = 2;
|
|
497
|
+
*/
|
|
498
|
+
EU = 2
|
|
499
|
+
}
|
|
500
|
+
/**
|
|
501
|
+
* Describes the enum openstatus.notification.v1.OpsgenieRegion.
|
|
502
|
+
*/
|
|
503
|
+
export declare const OpsgenieRegionSchema: GenEnum<OpsgenieRegion>;
|
|
504
|
+
//# sourceMappingURL=providers_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"providers_pb.d.ts","sourceRoot":"","sources":["../../../../../src/gen/openstatus/notification/v1/providers_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,OAAO,EACP,OAAO,EACP,UAAU,EACX,MAAM,8BAA8B,CAAC;AAGtC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,OAIrD,CAAC;AAEJ;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,wCAAwC,CAAC,GAAG;IAC5E;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,UAAU,CAAC,WAAW,CACK,CAAC;AAE5D;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG,OAAO,CAAC,sCAAsC,CAAC,GAAG;IACxE;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,UAAU,CAAC,SAAS,CACS,CAAC;AAE5D;;;;GAIG;AACH,MAAM,MAAM,cAAc,GACtB,OAAO,CAAC,2CAA2C,CAAC,GACpD;IACA;;;;OAIG;IACH,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