@openstatus/sdk-node 0.1.0 → 0.1.2

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.
Files changed (52) hide show
  1. package/README.md +433 -10
  2. package/esm/gen/openstatus/maintenance/v1/maintenance_pb.d.ts +139 -0
  3. package/esm/gen/openstatus/maintenance/v1/maintenance_pb.d.ts.map +1 -0
  4. package/esm/gen/openstatus/maintenance/v1/maintenance_pb.js +18 -0
  5. package/esm/gen/openstatus/maintenance/v1/service_pb.d.ts +315 -0
  6. package/esm/gen/openstatus/maintenance/v1/service_pb.d.ts.map +1 -0
  7. package/esm/gen/openstatus/maintenance/v1/service_pb.js +66 -0
  8. package/esm/gen/openstatus/monitor/v1/service_pb.d.ts +7 -13
  9. package/esm/gen/openstatus/monitor/v1/service_pb.d.ts.map +1 -1
  10. package/esm/gen/openstatus/monitor/v1/service_pb.js +1 -1
  11. package/esm/gen/openstatus/status_page/v1/page_component_pb.d.ts +150 -0
  12. package/esm/gen/openstatus/status_page/v1/page_component_pb.d.ts.map +1 -0
  13. package/esm/gen/openstatus/status_page/v1/page_component_pb.js +42 -0
  14. package/esm/gen/openstatus/status_page/v1/page_subscriber_pb.d.ts +61 -0
  15. package/esm/gen/openstatus/status_page/v1/page_subscriber_pb.d.ts.map +1 -0
  16. package/esm/gen/openstatus/status_page/v1/page_subscriber_pb.js +13 -0
  17. package/esm/gen/openstatus/status_page/v1/service_pb.d.ts +1044 -0
  18. package/esm/gen/openstatus/status_page/v1/service_pb.d.ts.map +1 -0
  19. package/esm/gen/openstatus/status_page/v1/service_pb.js +204 -0
  20. package/esm/gen/openstatus/status_page/v1/status_page_pb.d.ts +238 -0
  21. package/esm/gen/openstatus/status_page/v1/status_page_pb.d.ts.map +1 -0
  22. package/esm/gen/openstatus/status_page/v1/status_page_pb.js +114 -0
  23. package/esm/gen/openstatus/status_report/v1/service_pb.js +1 -1
  24. package/esm/mod.d.ts +58 -0
  25. package/esm/mod.d.ts.map +1 -1
  26. package/esm/mod.js +14 -0
  27. package/package.json +1 -1
  28. package/script/gen/openstatus/maintenance/v1/maintenance_pb.d.ts +139 -0
  29. package/script/gen/openstatus/maintenance/v1/maintenance_pb.d.ts.map +1 -0
  30. package/script/gen/openstatus/maintenance/v1/maintenance_pb.js +21 -0
  31. package/script/gen/openstatus/maintenance/v1/service_pb.d.ts +315 -0
  32. package/script/gen/openstatus/maintenance/v1/service_pb.d.ts.map +1 -0
  33. package/script/gen/openstatus/maintenance/v1/service_pb.js +69 -0
  34. package/script/gen/openstatus/monitor/v1/service_pb.d.ts +7 -13
  35. package/script/gen/openstatus/monitor/v1/service_pb.d.ts.map +1 -1
  36. package/script/gen/openstatus/monitor/v1/service_pb.js +1 -1
  37. package/script/gen/openstatus/status_page/v1/page_component_pb.d.ts +150 -0
  38. package/script/gen/openstatus/status_page/v1/page_component_pb.d.ts.map +1 -0
  39. package/script/gen/openstatus/status_page/v1/page_component_pb.js +45 -0
  40. package/script/gen/openstatus/status_page/v1/page_subscriber_pb.d.ts +61 -0
  41. package/script/gen/openstatus/status_page/v1/page_subscriber_pb.d.ts.map +1 -0
  42. package/script/gen/openstatus/status_page/v1/page_subscriber_pb.js +16 -0
  43. package/script/gen/openstatus/status_page/v1/service_pb.d.ts +1044 -0
  44. package/script/gen/openstatus/status_page/v1/service_pb.d.ts.map +1 -0
  45. package/script/gen/openstatus/status_page/v1/service_pb.js +207 -0
  46. package/script/gen/openstatus/status_page/v1/status_page_pb.d.ts +238 -0
  47. package/script/gen/openstatus/status_page/v1/status_page_pb.d.ts.map +1 -0
  48. package/script/gen/openstatus/status_page/v1/status_page_pb.js +117 -0
  49. package/script/gen/openstatus/status_report/v1/service_pb.js +1 -1
  50. package/script/mod.d.ts +58 -0
  51. package/script/mod.d.ts.map +1 -1
  52. package/script/mod.js +21 -3
@@ -0,0 +1,1044 @@
1
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { MaintenanceSummary } from "../../maintenance/v1/maintenance_pb.js";
3
+ import type { PageComponent, PageComponentGroup } from "./page_component_pb.js";
4
+ import type { PageSubscriber } from "./page_subscriber_pb.js";
5
+ import type { OverallStatus, StatusPage, StatusPageSummary } from "./status_page_pb.js";
6
+ import type { StatusReport } from "../../status_report/v1/status_report_pb.js";
7
+ import type { Message } from "@bufbuild/protobuf";
8
+ /**
9
+ * Describes the file openstatus/status_page/v1/service.proto.
10
+ */
11
+ export declare const file_openstatus_status_page_v1_service: GenFile;
12
+ /**
13
+ * @generated from message openstatus.status_page.v1.CreateStatusPageRequest
14
+ */
15
+ export type CreateStatusPageRequest = Message<"openstatus.status_page.v1.CreateStatusPageRequest"> & {
16
+ /**
17
+ * Title of the status page (required).
18
+ *
19
+ * @generated from field: string title = 1;
20
+ */
21
+ title: string;
22
+ /**
23
+ * Description of the status page (optional).
24
+ *
25
+ * @generated from field: optional string description = 2;
26
+ */
27
+ description?: string;
28
+ /**
29
+ * URL-friendly slug for the status page (required).
30
+ *
31
+ * @generated from field: string slug = 3;
32
+ */
33
+ slug: string;
34
+ /**
35
+ * URL to the homepage (optional).
36
+ *
37
+ * @generated from field: optional string homepage_url = 4;
38
+ */
39
+ homepageUrl?: string;
40
+ /**
41
+ * URL to the contact page (optional).
42
+ *
43
+ * @generated from field: optional string contact_url = 5;
44
+ */
45
+ contactUrl?: string;
46
+ };
47
+ /**
48
+ * Describes the message openstatus.status_page.v1.CreateStatusPageRequest.
49
+ * Use `create(CreateStatusPageRequestSchema)` to create a new message.
50
+ */
51
+ export declare const CreateStatusPageRequestSchema: GenMessage<CreateStatusPageRequest>;
52
+ /**
53
+ * @generated from message openstatus.status_page.v1.CreateStatusPageResponse
54
+ */
55
+ export type CreateStatusPageResponse = Message<"openstatus.status_page.v1.CreateStatusPageResponse"> & {
56
+ /**
57
+ * The created status page.
58
+ *
59
+ * @generated from field: openstatus.status_page.v1.StatusPage status_page = 1;
60
+ */
61
+ statusPage?: StatusPage;
62
+ };
63
+ /**
64
+ * Describes the message openstatus.status_page.v1.CreateStatusPageResponse.
65
+ * Use `create(CreateStatusPageResponseSchema)` to create a new message.
66
+ */
67
+ export declare const CreateStatusPageResponseSchema: GenMessage<CreateStatusPageResponse>;
68
+ /**
69
+ * @generated from message openstatus.status_page.v1.GetStatusPageRequest
70
+ */
71
+ export type GetStatusPageRequest = Message<"openstatus.status_page.v1.GetStatusPageRequest"> & {
72
+ /**
73
+ * ID of the status page to retrieve (required).
74
+ *
75
+ * @generated from field: string id = 1;
76
+ */
77
+ id: string;
78
+ };
79
+ /**
80
+ * Describes the message openstatus.status_page.v1.GetStatusPageRequest.
81
+ * Use `create(GetStatusPageRequestSchema)` to create a new message.
82
+ */
83
+ export declare const GetStatusPageRequestSchema: GenMessage<GetStatusPageRequest>;
84
+ /**
85
+ * @generated from message openstatus.status_page.v1.GetStatusPageResponse
86
+ */
87
+ export type GetStatusPageResponse = Message<"openstatus.status_page.v1.GetStatusPageResponse"> & {
88
+ /**
89
+ * The requested status page.
90
+ *
91
+ * @generated from field: openstatus.status_page.v1.StatusPage status_page = 1;
92
+ */
93
+ statusPage?: StatusPage;
94
+ };
95
+ /**
96
+ * Describes the message openstatus.status_page.v1.GetStatusPageResponse.
97
+ * Use `create(GetStatusPageResponseSchema)` to create a new message.
98
+ */
99
+ export declare const GetStatusPageResponseSchema: GenMessage<GetStatusPageResponse>;
100
+ /**
101
+ * @generated from message openstatus.status_page.v1.ListStatusPagesRequest
102
+ */
103
+ export type ListStatusPagesRequest = Message<"openstatus.status_page.v1.ListStatusPagesRequest"> & {
104
+ /**
105
+ * Maximum number of pages to return (1-100, defaults to 50).
106
+ *
107
+ * @generated from field: optional int32 limit = 1;
108
+ */
109
+ limit?: number;
110
+ /**
111
+ * Number of pages to skip for pagination (defaults to 0).
112
+ *
113
+ * @generated from field: optional int32 offset = 2;
114
+ */
115
+ offset?: number;
116
+ };
117
+ /**
118
+ * Describes the message openstatus.status_page.v1.ListStatusPagesRequest.
119
+ * Use `create(ListStatusPagesRequestSchema)` to create a new message.
120
+ */
121
+ export declare const ListStatusPagesRequestSchema: GenMessage<ListStatusPagesRequest>;
122
+ /**
123
+ * @generated from message openstatus.status_page.v1.ListStatusPagesResponse
124
+ */
125
+ export type ListStatusPagesResponse = Message<"openstatus.status_page.v1.ListStatusPagesResponse"> & {
126
+ /**
127
+ * List of status pages (metadata only).
128
+ *
129
+ * @generated from field: repeated openstatus.status_page.v1.StatusPageSummary status_pages = 1;
130
+ */
131
+ statusPages: StatusPageSummary[];
132
+ /**
133
+ * Total number of status pages.
134
+ *
135
+ * @generated from field: int32 total_size = 2;
136
+ */
137
+ totalSize: number;
138
+ };
139
+ /**
140
+ * Describes the message openstatus.status_page.v1.ListStatusPagesResponse.
141
+ * Use `create(ListStatusPagesResponseSchema)` to create a new message.
142
+ */
143
+ export declare const ListStatusPagesResponseSchema: GenMessage<ListStatusPagesResponse>;
144
+ /**
145
+ * @generated from message openstatus.status_page.v1.UpdateStatusPageRequest
146
+ */
147
+ export type UpdateStatusPageRequest = Message<"openstatus.status_page.v1.UpdateStatusPageRequest"> & {
148
+ /**
149
+ * ID of the status page to update (required).
150
+ *
151
+ * @generated from field: string id = 1;
152
+ */
153
+ id: string;
154
+ /**
155
+ * New title for the status page (optional).
156
+ *
157
+ * @generated from field: optional string title = 2;
158
+ */
159
+ title?: string;
160
+ /**
161
+ * New description for the status page (optional).
162
+ *
163
+ * @generated from field: optional string description = 3;
164
+ */
165
+ description?: string;
166
+ /**
167
+ * New slug for the status page (optional).
168
+ *
169
+ * @generated from field: optional string slug = 4;
170
+ */
171
+ slug?: string;
172
+ /**
173
+ * New homepage URL (optional).
174
+ *
175
+ * @generated from field: optional string homepage_url = 5;
176
+ */
177
+ homepageUrl?: string;
178
+ /**
179
+ * New contact URL (optional).
180
+ *
181
+ * @generated from field: optional string contact_url = 6;
182
+ */
183
+ contactUrl?: string;
184
+ };
185
+ /**
186
+ * Describes the message openstatus.status_page.v1.UpdateStatusPageRequest.
187
+ * Use `create(UpdateStatusPageRequestSchema)` to create a new message.
188
+ */
189
+ export declare const UpdateStatusPageRequestSchema: GenMessage<UpdateStatusPageRequest>;
190
+ /**
191
+ * @generated from message openstatus.status_page.v1.UpdateStatusPageResponse
192
+ */
193
+ export type UpdateStatusPageResponse = Message<"openstatus.status_page.v1.UpdateStatusPageResponse"> & {
194
+ /**
195
+ * The updated status page.
196
+ *
197
+ * @generated from field: openstatus.status_page.v1.StatusPage status_page = 1;
198
+ */
199
+ statusPage?: StatusPage;
200
+ };
201
+ /**
202
+ * Describes the message openstatus.status_page.v1.UpdateStatusPageResponse.
203
+ * Use `create(UpdateStatusPageResponseSchema)` to create a new message.
204
+ */
205
+ export declare const UpdateStatusPageResponseSchema: GenMessage<UpdateStatusPageResponse>;
206
+ /**
207
+ * @generated from message openstatus.status_page.v1.DeleteStatusPageRequest
208
+ */
209
+ export type DeleteStatusPageRequest = Message<"openstatus.status_page.v1.DeleteStatusPageRequest"> & {
210
+ /**
211
+ * ID of the status page to delete (required).
212
+ *
213
+ * @generated from field: string id = 1;
214
+ */
215
+ id: string;
216
+ };
217
+ /**
218
+ * Describes the message openstatus.status_page.v1.DeleteStatusPageRequest.
219
+ * Use `create(DeleteStatusPageRequestSchema)` to create a new message.
220
+ */
221
+ export declare const DeleteStatusPageRequestSchema: GenMessage<DeleteStatusPageRequest>;
222
+ /**
223
+ * @generated from message openstatus.status_page.v1.DeleteStatusPageResponse
224
+ */
225
+ export type DeleteStatusPageResponse = Message<"openstatus.status_page.v1.DeleteStatusPageResponse"> & {
226
+ /**
227
+ * Whether the deletion was successful.
228
+ *
229
+ * @generated from field: bool success = 1;
230
+ */
231
+ success: boolean;
232
+ };
233
+ /**
234
+ * Describes the message openstatus.status_page.v1.DeleteStatusPageResponse.
235
+ * Use `create(DeleteStatusPageResponseSchema)` to create a new message.
236
+ */
237
+ export declare const DeleteStatusPageResponseSchema: GenMessage<DeleteStatusPageResponse>;
238
+ /**
239
+ * @generated from message openstatus.status_page.v1.AddMonitorComponentRequest
240
+ */
241
+ export type AddMonitorComponentRequest = Message<"openstatus.status_page.v1.AddMonitorComponentRequest"> & {
242
+ /**
243
+ * ID of the status page to add the component to (required).
244
+ *
245
+ * @generated from field: string page_id = 1;
246
+ */
247
+ pageId: string;
248
+ /**
249
+ * ID of the monitor to associate with this component (required).
250
+ *
251
+ * @generated from field: string monitor_id = 2;
252
+ */
253
+ monitorId: string;
254
+ /**
255
+ * Display name for the component (optional, defaults to monitor name).
256
+ *
257
+ * @generated from field: optional string name = 3;
258
+ */
259
+ name?: string;
260
+ /**
261
+ * Description of the component (optional).
262
+ *
263
+ * @generated from field: optional string description = 4;
264
+ */
265
+ description?: string;
266
+ /**
267
+ * Display order of the component (optional).
268
+ *
269
+ * @generated from field: optional int32 order = 5;
270
+ */
271
+ order?: number;
272
+ /**
273
+ * ID of the group to add this component to (optional).
274
+ *
275
+ * @generated from field: optional string group_id = 6;
276
+ */
277
+ groupId?: string;
278
+ };
279
+ /**
280
+ * Describes the message openstatus.status_page.v1.AddMonitorComponentRequest.
281
+ * Use `create(AddMonitorComponentRequestSchema)` to create a new message.
282
+ */
283
+ export declare const AddMonitorComponentRequestSchema: GenMessage<AddMonitorComponentRequest>;
284
+ /**
285
+ * @generated from message openstatus.status_page.v1.AddMonitorComponentResponse
286
+ */
287
+ export type AddMonitorComponentResponse = Message<"openstatus.status_page.v1.AddMonitorComponentResponse"> & {
288
+ /**
289
+ * The created component.
290
+ *
291
+ * @generated from field: openstatus.status_page.v1.PageComponent component = 1;
292
+ */
293
+ component?: PageComponent;
294
+ };
295
+ /**
296
+ * Describes the message openstatus.status_page.v1.AddMonitorComponentResponse.
297
+ * Use `create(AddMonitorComponentResponseSchema)` to create a new message.
298
+ */
299
+ export declare const AddMonitorComponentResponseSchema: GenMessage<AddMonitorComponentResponse>;
300
+ /**
301
+ * @generated from message openstatus.status_page.v1.AddStaticComponentRequest
302
+ */
303
+ export type AddStaticComponentRequest = Message<"openstatus.status_page.v1.AddStaticComponentRequest"> & {
304
+ /**
305
+ * ID of the status page to add the component to (required).
306
+ *
307
+ * @generated from field: string page_id = 1;
308
+ */
309
+ pageId: string;
310
+ /**
311
+ * Display name for the component (required).
312
+ *
313
+ * @generated from field: string name = 2;
314
+ */
315
+ name: string;
316
+ /**
317
+ * Description of the component (optional).
318
+ *
319
+ * @generated from field: optional string description = 3;
320
+ */
321
+ description?: string;
322
+ /**
323
+ * Display order of the component (optional).
324
+ *
325
+ * @generated from field: optional int32 order = 4;
326
+ */
327
+ order?: number;
328
+ /**
329
+ * ID of the group to add this component to (optional).
330
+ *
331
+ * @generated from field: optional string group_id = 5;
332
+ */
333
+ groupId?: string;
334
+ };
335
+ /**
336
+ * Describes the message openstatus.status_page.v1.AddStaticComponentRequest.
337
+ * Use `create(AddStaticComponentRequestSchema)` to create a new message.
338
+ */
339
+ export declare const AddStaticComponentRequestSchema: GenMessage<AddStaticComponentRequest>;
340
+ /**
341
+ * @generated from message openstatus.status_page.v1.AddStaticComponentResponse
342
+ */
343
+ export type AddStaticComponentResponse = Message<"openstatus.status_page.v1.AddStaticComponentResponse"> & {
344
+ /**
345
+ * The created component.
346
+ *
347
+ * @generated from field: openstatus.status_page.v1.PageComponent component = 1;
348
+ */
349
+ component?: PageComponent;
350
+ };
351
+ /**
352
+ * Describes the message openstatus.status_page.v1.AddStaticComponentResponse.
353
+ * Use `create(AddStaticComponentResponseSchema)` to create a new message.
354
+ */
355
+ export declare const AddStaticComponentResponseSchema: GenMessage<AddStaticComponentResponse>;
356
+ /**
357
+ * @generated from message openstatus.status_page.v1.RemoveComponentRequest
358
+ */
359
+ export type RemoveComponentRequest = Message<"openstatus.status_page.v1.RemoveComponentRequest"> & {
360
+ /**
361
+ * ID of the component to remove (required).
362
+ *
363
+ * @generated from field: string id = 1;
364
+ */
365
+ id: string;
366
+ };
367
+ /**
368
+ * Describes the message openstatus.status_page.v1.RemoveComponentRequest.
369
+ * Use `create(RemoveComponentRequestSchema)` to create a new message.
370
+ */
371
+ export declare const RemoveComponentRequestSchema: GenMessage<RemoveComponentRequest>;
372
+ /**
373
+ * @generated from message openstatus.status_page.v1.RemoveComponentResponse
374
+ */
375
+ export type RemoveComponentResponse = Message<"openstatus.status_page.v1.RemoveComponentResponse"> & {
376
+ /**
377
+ * Whether the removal was successful.
378
+ *
379
+ * @generated from field: bool success = 1;
380
+ */
381
+ success: boolean;
382
+ };
383
+ /**
384
+ * Describes the message openstatus.status_page.v1.RemoveComponentResponse.
385
+ * Use `create(RemoveComponentResponseSchema)` to create a new message.
386
+ */
387
+ export declare const RemoveComponentResponseSchema: GenMessage<RemoveComponentResponse>;
388
+ /**
389
+ * @generated from message openstatus.status_page.v1.UpdateComponentRequest
390
+ */
391
+ export type UpdateComponentRequest = Message<"openstatus.status_page.v1.UpdateComponentRequest"> & {
392
+ /**
393
+ * ID of the component to update (required).
394
+ *
395
+ * @generated from field: string id = 1;
396
+ */
397
+ id: string;
398
+ /**
399
+ * New display name for the component (optional).
400
+ *
401
+ * @generated from field: optional string name = 2;
402
+ */
403
+ name?: string;
404
+ /**
405
+ * New description for the component (optional).
406
+ *
407
+ * @generated from field: optional string description = 3;
408
+ */
409
+ description?: string;
410
+ /**
411
+ * New display order (optional).
412
+ *
413
+ * @generated from field: optional int32 order = 4;
414
+ */
415
+ order?: number;
416
+ /**
417
+ * New group ID (optional, set to empty string to remove from group).
418
+ *
419
+ * @generated from field: optional string group_id = 5;
420
+ */
421
+ groupId?: string;
422
+ /**
423
+ * New order within the group (optional).
424
+ *
425
+ * @generated from field: optional int32 group_order = 6;
426
+ */
427
+ groupOrder?: number;
428
+ };
429
+ /**
430
+ * Describes the message openstatus.status_page.v1.UpdateComponentRequest.
431
+ * Use `create(UpdateComponentRequestSchema)` to create a new message.
432
+ */
433
+ export declare const UpdateComponentRequestSchema: GenMessage<UpdateComponentRequest>;
434
+ /**
435
+ * @generated from message openstatus.status_page.v1.UpdateComponentResponse
436
+ */
437
+ export type UpdateComponentResponse = Message<"openstatus.status_page.v1.UpdateComponentResponse"> & {
438
+ /**
439
+ * The updated component.
440
+ *
441
+ * @generated from field: openstatus.status_page.v1.PageComponent component = 1;
442
+ */
443
+ component?: PageComponent;
444
+ };
445
+ /**
446
+ * Describes the message openstatus.status_page.v1.UpdateComponentResponse.
447
+ * Use `create(UpdateComponentResponseSchema)` to create a new message.
448
+ */
449
+ export declare const UpdateComponentResponseSchema: GenMessage<UpdateComponentResponse>;
450
+ /**
451
+ * @generated from message openstatus.status_page.v1.CreateComponentGroupRequest
452
+ */
453
+ export type CreateComponentGroupRequest = Message<"openstatus.status_page.v1.CreateComponentGroupRequest"> & {
454
+ /**
455
+ * ID of the status page to create the group in (required).
456
+ *
457
+ * @generated from field: string page_id = 1;
458
+ */
459
+ pageId: string;
460
+ /**
461
+ * Display name for the group (required).
462
+ *
463
+ * @generated from field: string name = 2;
464
+ */
465
+ name: string;
466
+ };
467
+ /**
468
+ * Describes the message openstatus.status_page.v1.CreateComponentGroupRequest.
469
+ * Use `create(CreateComponentGroupRequestSchema)` to create a new message.
470
+ */
471
+ export declare const CreateComponentGroupRequestSchema: GenMessage<CreateComponentGroupRequest>;
472
+ /**
473
+ * @generated from message openstatus.status_page.v1.CreateComponentGroupResponse
474
+ */
475
+ export type CreateComponentGroupResponse = Message<"openstatus.status_page.v1.CreateComponentGroupResponse"> & {
476
+ /**
477
+ * The created component group.
478
+ *
479
+ * @generated from field: openstatus.status_page.v1.PageComponentGroup group = 1;
480
+ */
481
+ group?: PageComponentGroup;
482
+ };
483
+ /**
484
+ * Describes the message openstatus.status_page.v1.CreateComponentGroupResponse.
485
+ * Use `create(CreateComponentGroupResponseSchema)` to create a new message.
486
+ */
487
+ export declare const CreateComponentGroupResponseSchema: GenMessage<CreateComponentGroupResponse>;
488
+ /**
489
+ * @generated from message openstatus.status_page.v1.DeleteComponentGroupRequest
490
+ */
491
+ export type DeleteComponentGroupRequest = Message<"openstatus.status_page.v1.DeleteComponentGroupRequest"> & {
492
+ /**
493
+ * ID of the component group to delete (required).
494
+ *
495
+ * @generated from field: string id = 1;
496
+ */
497
+ id: string;
498
+ };
499
+ /**
500
+ * Describes the message openstatus.status_page.v1.DeleteComponentGroupRequest.
501
+ * Use `create(DeleteComponentGroupRequestSchema)` to create a new message.
502
+ */
503
+ export declare const DeleteComponentGroupRequestSchema: GenMessage<DeleteComponentGroupRequest>;
504
+ /**
505
+ * @generated from message openstatus.status_page.v1.DeleteComponentGroupResponse
506
+ */
507
+ export type DeleteComponentGroupResponse = Message<"openstatus.status_page.v1.DeleteComponentGroupResponse"> & {
508
+ /**
509
+ * Whether the deletion was successful.
510
+ *
511
+ * @generated from field: bool success = 1;
512
+ */
513
+ success: boolean;
514
+ };
515
+ /**
516
+ * Describes the message openstatus.status_page.v1.DeleteComponentGroupResponse.
517
+ * Use `create(DeleteComponentGroupResponseSchema)` to create a new message.
518
+ */
519
+ export declare const DeleteComponentGroupResponseSchema: GenMessage<DeleteComponentGroupResponse>;
520
+ /**
521
+ * @generated from message openstatus.status_page.v1.UpdateComponentGroupRequest
522
+ */
523
+ export type UpdateComponentGroupRequest = Message<"openstatus.status_page.v1.UpdateComponentGroupRequest"> & {
524
+ /**
525
+ * ID of the component group to update (required).
526
+ *
527
+ * @generated from field: string id = 1;
528
+ */
529
+ id: string;
530
+ /**
531
+ * New display name for the group (optional).
532
+ *
533
+ * @generated from field: optional string name = 2;
534
+ */
535
+ name?: string;
536
+ };
537
+ /**
538
+ * Describes the message openstatus.status_page.v1.UpdateComponentGroupRequest.
539
+ * Use `create(UpdateComponentGroupRequestSchema)` to create a new message.
540
+ */
541
+ export declare const UpdateComponentGroupRequestSchema: GenMessage<UpdateComponentGroupRequest>;
542
+ /**
543
+ * @generated from message openstatus.status_page.v1.UpdateComponentGroupResponse
544
+ */
545
+ export type UpdateComponentGroupResponse = Message<"openstatus.status_page.v1.UpdateComponentGroupResponse"> & {
546
+ /**
547
+ * The updated component group.
548
+ *
549
+ * @generated from field: openstatus.status_page.v1.PageComponentGroup group = 1;
550
+ */
551
+ group?: PageComponentGroup;
552
+ };
553
+ /**
554
+ * Describes the message openstatus.status_page.v1.UpdateComponentGroupResponse.
555
+ * Use `create(UpdateComponentGroupResponseSchema)` to create a new message.
556
+ */
557
+ export declare const UpdateComponentGroupResponseSchema: GenMessage<UpdateComponentGroupResponse>;
558
+ /**
559
+ * @generated from message openstatus.status_page.v1.SubscribeToPageRequest
560
+ */
561
+ export type SubscribeToPageRequest = Message<"openstatus.status_page.v1.SubscribeToPageRequest"> & {
562
+ /**
563
+ * ID of the status page to subscribe to (required).
564
+ *
565
+ * @generated from field: string page_id = 1;
566
+ */
567
+ pageId: string;
568
+ /**
569
+ * Email address to subscribe (required).
570
+ *
571
+ * @generated from field: string email = 2;
572
+ */
573
+ email: string;
574
+ };
575
+ /**
576
+ * Describes the message openstatus.status_page.v1.SubscribeToPageRequest.
577
+ * Use `create(SubscribeToPageRequestSchema)` to create a new message.
578
+ */
579
+ export declare const SubscribeToPageRequestSchema: GenMessage<SubscribeToPageRequest>;
580
+ /**
581
+ * @generated from message openstatus.status_page.v1.SubscribeToPageResponse
582
+ */
583
+ export type SubscribeToPageResponse = Message<"openstatus.status_page.v1.SubscribeToPageResponse"> & {
584
+ /**
585
+ * The created subscriber.
586
+ *
587
+ * @generated from field: openstatus.status_page.v1.PageSubscriber subscriber = 1;
588
+ */
589
+ subscriber?: PageSubscriber;
590
+ };
591
+ /**
592
+ * Describes the message openstatus.status_page.v1.SubscribeToPageResponse.
593
+ * Use `create(SubscribeToPageResponseSchema)` to create a new message.
594
+ */
595
+ export declare const SubscribeToPageResponseSchema: GenMessage<SubscribeToPageResponse>;
596
+ /**
597
+ * @generated from message openstatus.status_page.v1.UnsubscribeFromPageRequest
598
+ */
599
+ export type UnsubscribeFromPageRequest = Message<"openstatus.status_page.v1.UnsubscribeFromPageRequest"> & {
600
+ /**
601
+ * ID of the status page to unsubscribe from (required).
602
+ *
603
+ * @generated from field: string page_id = 1;
604
+ */
605
+ pageId: string;
606
+ /**
607
+ * Identifier for the subscription (either email or id).
608
+ *
609
+ * @generated from oneof openstatus.status_page.v1.UnsubscribeFromPageRequest.identifier
610
+ */
611
+ identifier: {
612
+ /**
613
+ * Email address to unsubscribe.
614
+ *
615
+ * @generated from field: string email = 2;
616
+ */
617
+ value: string;
618
+ case: "email";
619
+ } | {
620
+ /**
621
+ * Subscriber ID.
622
+ *
623
+ * @generated from field: string id = 3;
624
+ */
625
+ value: string;
626
+ case: "id";
627
+ } | {
628
+ case: undefined;
629
+ value?: undefined;
630
+ };
631
+ };
632
+ /**
633
+ * Describes the message openstatus.status_page.v1.UnsubscribeFromPageRequest.
634
+ * Use `create(UnsubscribeFromPageRequestSchema)` to create a new message.
635
+ */
636
+ export declare const UnsubscribeFromPageRequestSchema: GenMessage<UnsubscribeFromPageRequest>;
637
+ /**
638
+ * @generated from message openstatus.status_page.v1.UnsubscribeFromPageResponse
639
+ */
640
+ export type UnsubscribeFromPageResponse = Message<"openstatus.status_page.v1.UnsubscribeFromPageResponse"> & {
641
+ /**
642
+ * Whether the unsubscription was successful.
643
+ *
644
+ * @generated from field: bool success = 1;
645
+ */
646
+ success: boolean;
647
+ };
648
+ /**
649
+ * Describes the message openstatus.status_page.v1.UnsubscribeFromPageResponse.
650
+ * Use `create(UnsubscribeFromPageResponseSchema)` to create a new message.
651
+ */
652
+ export declare const UnsubscribeFromPageResponseSchema: GenMessage<UnsubscribeFromPageResponse>;
653
+ /**
654
+ * @generated from message openstatus.status_page.v1.ListSubscribersRequest
655
+ */
656
+ export type ListSubscribersRequest = Message<"openstatus.status_page.v1.ListSubscribersRequest"> & {
657
+ /**
658
+ * ID of the status page to list subscribers for (required).
659
+ *
660
+ * @generated from field: string page_id = 1;
661
+ */
662
+ pageId: string;
663
+ /**
664
+ * Maximum number of subscribers to return (1-100, defaults to 50).
665
+ *
666
+ * @generated from field: optional int32 limit = 2;
667
+ */
668
+ limit?: number;
669
+ /**
670
+ * Number of subscribers to skip for pagination (defaults to 0).
671
+ *
672
+ * @generated from field: optional int32 offset = 3;
673
+ */
674
+ offset?: number;
675
+ /**
676
+ * Whether to include unsubscribed users (defaults to false).
677
+ *
678
+ * @generated from field: optional bool include_unsubscribed = 4;
679
+ */
680
+ includeUnsubscribed?: boolean;
681
+ };
682
+ /**
683
+ * Describes the message openstatus.status_page.v1.ListSubscribersRequest.
684
+ * Use `create(ListSubscribersRequestSchema)` to create a new message.
685
+ */
686
+ export declare const ListSubscribersRequestSchema: GenMessage<ListSubscribersRequest>;
687
+ /**
688
+ * @generated from message openstatus.status_page.v1.ListSubscribersResponse
689
+ */
690
+ export type ListSubscribersResponse = Message<"openstatus.status_page.v1.ListSubscribersResponse"> & {
691
+ /**
692
+ * List of subscribers.
693
+ *
694
+ * @generated from field: repeated openstatus.status_page.v1.PageSubscriber subscribers = 1;
695
+ */
696
+ subscribers: PageSubscriber[];
697
+ /**
698
+ * Total number of subscribers matching the filter.
699
+ *
700
+ * @generated from field: int32 total_size = 2;
701
+ */
702
+ totalSize: number;
703
+ };
704
+ /**
705
+ * Describes the message openstatus.status_page.v1.ListSubscribersResponse.
706
+ * Use `create(ListSubscribersResponseSchema)` to create a new message.
707
+ */
708
+ export declare const ListSubscribersResponseSchema: GenMessage<ListSubscribersResponse>;
709
+ /**
710
+ * @generated from message openstatus.status_page.v1.GetStatusPageContentRequest
711
+ */
712
+ export type GetStatusPageContentRequest = Message<"openstatus.status_page.v1.GetStatusPageContentRequest"> & {
713
+ /**
714
+ * Identifier for the status page (either id or slug).
715
+ *
716
+ * @generated from oneof openstatus.status_page.v1.GetStatusPageContentRequest.identifier
717
+ */
718
+ identifier: {
719
+ /**
720
+ * ID of the status page.
721
+ *
722
+ * @generated from field: string id = 1;
723
+ */
724
+ value: string;
725
+ case: "id";
726
+ } | {
727
+ /**
728
+ * Slug of the status page.
729
+ *
730
+ * @generated from field: string slug = 2;
731
+ */
732
+ value: string;
733
+ case: "slug";
734
+ } | {
735
+ case: undefined;
736
+ value?: undefined;
737
+ };
738
+ };
739
+ /**
740
+ * Describes the message openstatus.status_page.v1.GetStatusPageContentRequest.
741
+ * Use `create(GetStatusPageContentRequestSchema)` to create a new message.
742
+ */
743
+ export declare const GetStatusPageContentRequestSchema: GenMessage<GetStatusPageContentRequest>;
744
+ /**
745
+ * @generated from message openstatus.status_page.v1.GetStatusPageContentResponse
746
+ */
747
+ export type GetStatusPageContentResponse = Message<"openstatus.status_page.v1.GetStatusPageContentResponse"> & {
748
+ /**
749
+ * The status page details.
750
+ *
751
+ * @generated from field: openstatus.status_page.v1.StatusPage status_page = 1;
752
+ */
753
+ statusPage?: StatusPage;
754
+ /**
755
+ * Components on the status page.
756
+ *
757
+ * @generated from field: repeated openstatus.status_page.v1.PageComponent components = 2;
758
+ */
759
+ components: PageComponent[];
760
+ /**
761
+ * Component groups on the status page.
762
+ *
763
+ * @generated from field: repeated openstatus.status_page.v1.PageComponentGroup groups = 3;
764
+ */
765
+ groups: PageComponentGroup[];
766
+ /**
767
+ * Active and recent status reports.
768
+ *
769
+ * @generated from field: repeated openstatus.status_report.v1.StatusReport status_reports = 4;
770
+ */
771
+ statusReports: StatusReport[];
772
+ /**
773
+ * Scheduled maintenances.
774
+ *
775
+ * @generated from field: repeated openstatus.maintenance.v1.MaintenanceSummary maintenances = 5;
776
+ */
777
+ maintenances: MaintenanceSummary[];
778
+ };
779
+ /**
780
+ * Describes the message openstatus.status_page.v1.GetStatusPageContentResponse.
781
+ * Use `create(GetStatusPageContentResponseSchema)` to create a new message.
782
+ */
783
+ export declare const GetStatusPageContentResponseSchema: GenMessage<GetStatusPageContentResponse>;
784
+ /**
785
+ * @generated from message openstatus.status_page.v1.GetOverallStatusRequest
786
+ */
787
+ export type GetOverallStatusRequest = Message<"openstatus.status_page.v1.GetOverallStatusRequest"> & {
788
+ /**
789
+ * Identifier for the status page (either id or slug).
790
+ *
791
+ * @generated from oneof openstatus.status_page.v1.GetOverallStatusRequest.identifier
792
+ */
793
+ identifier: {
794
+ /**
795
+ * ID of the status page.
796
+ *
797
+ * @generated from field: string id = 1;
798
+ */
799
+ value: string;
800
+ case: "id";
801
+ } | {
802
+ /**
803
+ * Slug of the status page.
804
+ *
805
+ * @generated from field: string slug = 2;
806
+ */
807
+ value: string;
808
+ case: "slug";
809
+ } | {
810
+ case: undefined;
811
+ value?: undefined;
812
+ };
813
+ };
814
+ /**
815
+ * Describes the message openstatus.status_page.v1.GetOverallStatusRequest.
816
+ * Use `create(GetOverallStatusRequestSchema)` to create a new message.
817
+ */
818
+ export declare const GetOverallStatusRequestSchema: GenMessage<GetOverallStatusRequest>;
819
+ /**
820
+ * ComponentStatus represents the status of a single component.
821
+ *
822
+ * @generated from message openstatus.status_page.v1.ComponentStatus
823
+ */
824
+ export type ComponentStatus = Message<"openstatus.status_page.v1.ComponentStatus"> & {
825
+ /**
826
+ * ID of the component.
827
+ *
828
+ * @generated from field: string component_id = 1;
829
+ */
830
+ componentId: string;
831
+ /**
832
+ * Current status of the component.
833
+ *
834
+ * @generated from field: openstatus.status_page.v1.OverallStatus status = 2;
835
+ */
836
+ status: OverallStatus;
837
+ };
838
+ /**
839
+ * Describes the message openstatus.status_page.v1.ComponentStatus.
840
+ * Use `create(ComponentStatusSchema)` to create a new message.
841
+ */
842
+ export declare const ComponentStatusSchema: GenMessage<ComponentStatus>;
843
+ /**
844
+ * @generated from message openstatus.status_page.v1.GetOverallStatusResponse
845
+ */
846
+ export type GetOverallStatusResponse = Message<"openstatus.status_page.v1.GetOverallStatusResponse"> & {
847
+ /**
848
+ * Aggregated status across all components.
849
+ *
850
+ * @generated from field: openstatus.status_page.v1.OverallStatus overall_status = 1;
851
+ */
852
+ overallStatus: OverallStatus;
853
+ /**
854
+ * Status of individual components.
855
+ *
856
+ * @generated from field: repeated openstatus.status_page.v1.ComponentStatus component_statuses = 2;
857
+ */
858
+ componentStatuses: ComponentStatus[];
859
+ };
860
+ /**
861
+ * Describes the message openstatus.status_page.v1.GetOverallStatusResponse.
862
+ * Use `create(GetOverallStatusResponseSchema)` to create a new message.
863
+ */
864
+ export declare const GetOverallStatusResponseSchema: GenMessage<GetOverallStatusResponse>;
865
+ /**
866
+ * StatusPageService provides CRUD and management operations for status pages.
867
+ *
868
+ * --- Page CRUD ---
869
+ *
870
+ * @generated from service openstatus.status_page.v1.StatusPageService
871
+ */
872
+ export declare const StatusPageService: GenService<{
873
+ /**
874
+ * CreateStatusPage creates a new status page.
875
+ *
876
+ * @generated from rpc openstatus.status_page.v1.StatusPageService.CreateStatusPage
877
+ */
878
+ createStatusPage: {
879
+ methodKind: "unary";
880
+ input: typeof CreateStatusPageRequestSchema;
881
+ output: typeof CreateStatusPageResponseSchema;
882
+ };
883
+ /**
884
+ * GetStatusPage retrieves a specific status page by ID.
885
+ *
886
+ * @generated from rpc openstatus.status_page.v1.StatusPageService.GetStatusPage
887
+ */
888
+ getStatusPage: {
889
+ methodKind: "unary";
890
+ input: typeof GetStatusPageRequestSchema;
891
+ output: typeof GetStatusPageResponseSchema;
892
+ };
893
+ /**
894
+ * ListStatusPages returns all status pages for the workspace.
895
+ *
896
+ * @generated from rpc openstatus.status_page.v1.StatusPageService.ListStatusPages
897
+ */
898
+ listStatusPages: {
899
+ methodKind: "unary";
900
+ input: typeof ListStatusPagesRequestSchema;
901
+ output: typeof ListStatusPagesResponseSchema;
902
+ };
903
+ /**
904
+ * UpdateStatusPage updates an existing status page.
905
+ *
906
+ * @generated from rpc openstatus.status_page.v1.StatusPageService.UpdateStatusPage
907
+ */
908
+ updateStatusPage: {
909
+ methodKind: "unary";
910
+ input: typeof UpdateStatusPageRequestSchema;
911
+ output: typeof UpdateStatusPageResponseSchema;
912
+ };
913
+ /**
914
+ * DeleteStatusPage removes a status page.
915
+ *
916
+ * @generated from rpc openstatus.status_page.v1.StatusPageService.DeleteStatusPage
917
+ */
918
+ deleteStatusPage: {
919
+ methodKind: "unary";
920
+ input: typeof DeleteStatusPageRequestSchema;
921
+ output: typeof DeleteStatusPageResponseSchema;
922
+ };
923
+ /**
924
+ * AddMonitorComponent adds a monitor-based component to a status page.
925
+ *
926
+ * @generated from rpc openstatus.status_page.v1.StatusPageService.AddMonitorComponent
927
+ */
928
+ addMonitorComponent: {
929
+ methodKind: "unary";
930
+ input: typeof AddMonitorComponentRequestSchema;
931
+ output: typeof AddMonitorComponentResponseSchema;
932
+ };
933
+ /**
934
+ * AddStaticComponent adds a static component to a status page.
935
+ *
936
+ * @generated from rpc openstatus.status_page.v1.StatusPageService.AddStaticComponent
937
+ */
938
+ addStaticComponent: {
939
+ methodKind: "unary";
940
+ input: typeof AddStaticComponentRequestSchema;
941
+ output: typeof AddStaticComponentResponseSchema;
942
+ };
943
+ /**
944
+ * RemoveComponent removes a component from a status page.
945
+ *
946
+ * @generated from rpc openstatus.status_page.v1.StatusPageService.RemoveComponent
947
+ */
948
+ removeComponent: {
949
+ methodKind: "unary";
950
+ input: typeof RemoveComponentRequestSchema;
951
+ output: typeof RemoveComponentResponseSchema;
952
+ };
953
+ /**
954
+ * UpdateComponent updates an existing component.
955
+ *
956
+ * @generated from rpc openstatus.status_page.v1.StatusPageService.UpdateComponent
957
+ */
958
+ updateComponent: {
959
+ methodKind: "unary";
960
+ input: typeof UpdateComponentRequestSchema;
961
+ output: typeof UpdateComponentResponseSchema;
962
+ };
963
+ /**
964
+ * CreateComponentGroup creates a new component group.
965
+ *
966
+ * @generated from rpc openstatus.status_page.v1.StatusPageService.CreateComponentGroup
967
+ */
968
+ createComponentGroup: {
969
+ methodKind: "unary";
970
+ input: typeof CreateComponentGroupRequestSchema;
971
+ output: typeof CreateComponentGroupResponseSchema;
972
+ };
973
+ /**
974
+ * DeleteComponentGroup removes a component group.
975
+ *
976
+ * @generated from rpc openstatus.status_page.v1.StatusPageService.DeleteComponentGroup
977
+ */
978
+ deleteComponentGroup: {
979
+ methodKind: "unary";
980
+ input: typeof DeleteComponentGroupRequestSchema;
981
+ output: typeof DeleteComponentGroupResponseSchema;
982
+ };
983
+ /**
984
+ * UpdateComponentGroup updates an existing component group.
985
+ *
986
+ * @generated from rpc openstatus.status_page.v1.StatusPageService.UpdateComponentGroup
987
+ */
988
+ updateComponentGroup: {
989
+ methodKind: "unary";
990
+ input: typeof UpdateComponentGroupRequestSchema;
991
+ output: typeof UpdateComponentGroupResponseSchema;
992
+ };
993
+ /**
994
+ * SubscribeToPage subscribes an email to a status page.
995
+ *
996
+ * @generated from rpc openstatus.status_page.v1.StatusPageService.SubscribeToPage
997
+ */
998
+ subscribeToPage: {
999
+ methodKind: "unary";
1000
+ input: typeof SubscribeToPageRequestSchema;
1001
+ output: typeof SubscribeToPageResponseSchema;
1002
+ };
1003
+ /**
1004
+ * UnsubscribeFromPage removes a subscription from a status page.
1005
+ *
1006
+ * @generated from rpc openstatus.status_page.v1.StatusPageService.UnsubscribeFromPage
1007
+ */
1008
+ unsubscribeFromPage: {
1009
+ methodKind: "unary";
1010
+ input: typeof UnsubscribeFromPageRequestSchema;
1011
+ output: typeof UnsubscribeFromPageResponseSchema;
1012
+ };
1013
+ /**
1014
+ * ListSubscribers returns all subscribers for a status page.
1015
+ *
1016
+ * @generated from rpc openstatus.status_page.v1.StatusPageService.ListSubscribers
1017
+ */
1018
+ listSubscribers: {
1019
+ methodKind: "unary";
1020
+ input: typeof ListSubscribersRequestSchema;
1021
+ output: typeof ListSubscribersResponseSchema;
1022
+ };
1023
+ /**
1024
+ * GetStatusPageContent retrieves the full content of a status page including components and reports.
1025
+ *
1026
+ * @generated from rpc openstatus.status_page.v1.StatusPageService.GetStatusPageContent
1027
+ */
1028
+ getStatusPageContent: {
1029
+ methodKind: "unary";
1030
+ input: typeof GetStatusPageContentRequestSchema;
1031
+ output: typeof GetStatusPageContentResponseSchema;
1032
+ };
1033
+ /**
1034
+ * GetOverallStatus returns the aggregated status of a status page.
1035
+ *
1036
+ * @generated from rpc openstatus.status_page.v1.StatusPageService.GetOverallStatus
1037
+ */
1038
+ getOverallStatus: {
1039
+ methodKind: "unary";
1040
+ input: typeof GetOverallStatusRequestSchema;
1041
+ output: typeof GetOverallStatusResponseSchema;
1042
+ };
1043
+ }>;
1044
+ //# sourceMappingURL=service_pb.d.ts.map