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