@openstatus/sdk-node 0.0.2 → 0.1.0
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 +281 -142
- 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 +25 -2
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +8 -1
- package/package.json +1 -1
- 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 +25 -2
- package/script/mod.d.ts.map +1 -1
- package/script/mod.js +12 -4
|
@@ -0,0 +1,357 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { StatusReport, StatusReportStatus, StatusReportSummary } from "./status_report_pb.js";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file openstatus/status_report/v1/service.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_openstatus_status_report_v1_service: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message openstatus.status_report.v1.CreateStatusReportRequest
|
|
10
|
+
*/
|
|
11
|
+
export type CreateStatusReportRequest = Message<"openstatus.status_report.v1.CreateStatusReportRequest"> & {
|
|
12
|
+
/**
|
|
13
|
+
* Title of the status report (required).
|
|
14
|
+
*
|
|
15
|
+
* @generated from field: string title = 1;
|
|
16
|
+
*/
|
|
17
|
+
title: string;
|
|
18
|
+
/**
|
|
19
|
+
* Initial status (required).
|
|
20
|
+
*
|
|
21
|
+
* @generated from field: openstatus.status_report.v1.StatusReportStatus status = 2;
|
|
22
|
+
*/
|
|
23
|
+
status: StatusReportStatus;
|
|
24
|
+
/**
|
|
25
|
+
* Initial message describing the incident (required).
|
|
26
|
+
*
|
|
27
|
+
* @generated from field: string message = 3;
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
30
|
+
/**
|
|
31
|
+
* Date when the event occurred (RFC 3339 format, required).
|
|
32
|
+
*
|
|
33
|
+
* @generated from field: string date = 4;
|
|
34
|
+
*/
|
|
35
|
+
date: string;
|
|
36
|
+
/**
|
|
37
|
+
* Page ID to associate with this report (required).
|
|
38
|
+
*
|
|
39
|
+
* @generated from field: string page_id = 5;
|
|
40
|
+
*/
|
|
41
|
+
pageId: string;
|
|
42
|
+
/**
|
|
43
|
+
* Page component IDs to associate with this report (optional).
|
|
44
|
+
*
|
|
45
|
+
* @generated from field: repeated string page_component_ids = 6;
|
|
46
|
+
*/
|
|
47
|
+
pageComponentIds: string[];
|
|
48
|
+
/**
|
|
49
|
+
* Whether to notify subscribers about this status report (optional, defaults to false).
|
|
50
|
+
*
|
|
51
|
+
* @generated from field: optional bool notify = 7;
|
|
52
|
+
*/
|
|
53
|
+
notify?: boolean;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Describes the message openstatus.status_report.v1.CreateStatusReportRequest.
|
|
57
|
+
* Use `create(CreateStatusReportRequestSchema)` to create a new message.
|
|
58
|
+
*/
|
|
59
|
+
export declare const CreateStatusReportRequestSchema: GenMessage<CreateStatusReportRequest>;
|
|
60
|
+
/**
|
|
61
|
+
* @generated from message openstatus.status_report.v1.CreateStatusReportResponse
|
|
62
|
+
*/
|
|
63
|
+
export type CreateStatusReportResponse = Message<"openstatus.status_report.v1.CreateStatusReportResponse"> & {
|
|
64
|
+
/**
|
|
65
|
+
* The created status report.
|
|
66
|
+
*
|
|
67
|
+
* @generated from field: openstatus.status_report.v1.StatusReport status_report = 1;
|
|
68
|
+
*/
|
|
69
|
+
statusReport?: StatusReport;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Describes the message openstatus.status_report.v1.CreateStatusReportResponse.
|
|
73
|
+
* Use `create(CreateStatusReportResponseSchema)` to create a new message.
|
|
74
|
+
*/
|
|
75
|
+
export declare const CreateStatusReportResponseSchema: GenMessage<CreateStatusReportResponse>;
|
|
76
|
+
/**
|
|
77
|
+
* @generated from message openstatus.status_report.v1.GetStatusReportRequest
|
|
78
|
+
*/
|
|
79
|
+
export type GetStatusReportRequest = Message<"openstatus.status_report.v1.GetStatusReportRequest"> & {
|
|
80
|
+
/**
|
|
81
|
+
* ID of the status report to retrieve (required).
|
|
82
|
+
*
|
|
83
|
+
* @generated from field: string id = 1;
|
|
84
|
+
*/
|
|
85
|
+
id: string;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* Describes the message openstatus.status_report.v1.GetStatusReportRequest.
|
|
89
|
+
* Use `create(GetStatusReportRequestSchema)` to create a new message.
|
|
90
|
+
*/
|
|
91
|
+
export declare const GetStatusReportRequestSchema: GenMessage<GetStatusReportRequest>;
|
|
92
|
+
/**
|
|
93
|
+
* @generated from message openstatus.status_report.v1.GetStatusReportResponse
|
|
94
|
+
*/
|
|
95
|
+
export type GetStatusReportResponse = Message<"openstatus.status_report.v1.GetStatusReportResponse"> & {
|
|
96
|
+
/**
|
|
97
|
+
* The requested status report.
|
|
98
|
+
*
|
|
99
|
+
* @generated from field: openstatus.status_report.v1.StatusReport status_report = 1;
|
|
100
|
+
*/
|
|
101
|
+
statusReport?: StatusReport;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Describes the message openstatus.status_report.v1.GetStatusReportResponse.
|
|
105
|
+
* Use `create(GetStatusReportResponseSchema)` to create a new message.
|
|
106
|
+
*/
|
|
107
|
+
export declare const GetStatusReportResponseSchema: GenMessage<GetStatusReportResponse>;
|
|
108
|
+
/**
|
|
109
|
+
* @generated from message openstatus.status_report.v1.ListStatusReportsRequest
|
|
110
|
+
*/
|
|
111
|
+
export type ListStatusReportsRequest = Message<"openstatus.status_report.v1.ListStatusReportsRequest"> & {
|
|
112
|
+
/**
|
|
113
|
+
* Maximum number of reports to return (1-100, defaults to 50).
|
|
114
|
+
*
|
|
115
|
+
* @generated from field: optional int32 limit = 1;
|
|
116
|
+
*/
|
|
117
|
+
limit?: number;
|
|
118
|
+
/**
|
|
119
|
+
* Number of reports to skip for pagination (defaults to 0).
|
|
120
|
+
*
|
|
121
|
+
* @generated from field: optional int32 offset = 2;
|
|
122
|
+
*/
|
|
123
|
+
offset?: number;
|
|
124
|
+
/**
|
|
125
|
+
* Filter by status (optional). If empty, returns all statuses.
|
|
126
|
+
*
|
|
127
|
+
* @generated from field: repeated openstatus.status_report.v1.StatusReportStatus statuses = 3;
|
|
128
|
+
*/
|
|
129
|
+
statuses: StatusReportStatus[];
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* Describes the message openstatus.status_report.v1.ListStatusReportsRequest.
|
|
133
|
+
* Use `create(ListStatusReportsRequestSchema)` to create a new message.
|
|
134
|
+
*/
|
|
135
|
+
export declare const ListStatusReportsRequestSchema: GenMessage<ListStatusReportsRequest>;
|
|
136
|
+
/**
|
|
137
|
+
* @generated from message openstatus.status_report.v1.ListStatusReportsResponse
|
|
138
|
+
*/
|
|
139
|
+
export type ListStatusReportsResponse = Message<"openstatus.status_report.v1.ListStatusReportsResponse"> & {
|
|
140
|
+
/**
|
|
141
|
+
* List of status reports (metadata only, use GetStatusReport for full details).
|
|
142
|
+
*
|
|
143
|
+
* @generated from field: repeated openstatus.status_report.v1.StatusReportSummary status_reports = 1;
|
|
144
|
+
*/
|
|
145
|
+
statusReports: StatusReportSummary[];
|
|
146
|
+
/**
|
|
147
|
+
* Total number of reports matching the filter.
|
|
148
|
+
*
|
|
149
|
+
* @generated from field: int32 total_size = 2;
|
|
150
|
+
*/
|
|
151
|
+
totalSize: number;
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* Describes the message openstatus.status_report.v1.ListStatusReportsResponse.
|
|
155
|
+
* Use `create(ListStatusReportsResponseSchema)` to create a new message.
|
|
156
|
+
*/
|
|
157
|
+
export declare const ListStatusReportsResponseSchema: GenMessage<ListStatusReportsResponse>;
|
|
158
|
+
/**
|
|
159
|
+
* @generated from message openstatus.status_report.v1.UpdateStatusReportRequest
|
|
160
|
+
*/
|
|
161
|
+
export type UpdateStatusReportRequest = Message<"openstatus.status_report.v1.UpdateStatusReportRequest"> & {
|
|
162
|
+
/**
|
|
163
|
+
* ID of the status report to update (required).
|
|
164
|
+
*
|
|
165
|
+
* @generated from field: string id = 1;
|
|
166
|
+
*/
|
|
167
|
+
id: string;
|
|
168
|
+
/**
|
|
169
|
+
* New title for the report (optional).
|
|
170
|
+
*
|
|
171
|
+
* @generated from field: optional string title = 2;
|
|
172
|
+
*/
|
|
173
|
+
title?: string;
|
|
174
|
+
/**
|
|
175
|
+
* New list of page component IDs (optional, replaces existing list).
|
|
176
|
+
*
|
|
177
|
+
* @generated from field: repeated string page_component_ids = 3;
|
|
178
|
+
*/
|
|
179
|
+
pageComponentIds: string[];
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* Describes the message openstatus.status_report.v1.UpdateStatusReportRequest.
|
|
183
|
+
* Use `create(UpdateStatusReportRequestSchema)` to create a new message.
|
|
184
|
+
*/
|
|
185
|
+
export declare const UpdateStatusReportRequestSchema: GenMessage<UpdateStatusReportRequest>;
|
|
186
|
+
/**
|
|
187
|
+
* @generated from message openstatus.status_report.v1.UpdateStatusReportResponse
|
|
188
|
+
*/
|
|
189
|
+
export type UpdateStatusReportResponse = Message<"openstatus.status_report.v1.UpdateStatusReportResponse"> & {
|
|
190
|
+
/**
|
|
191
|
+
* The updated status report.
|
|
192
|
+
*
|
|
193
|
+
* @generated from field: openstatus.status_report.v1.StatusReport status_report = 1;
|
|
194
|
+
*/
|
|
195
|
+
statusReport?: StatusReport;
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* Describes the message openstatus.status_report.v1.UpdateStatusReportResponse.
|
|
199
|
+
* Use `create(UpdateStatusReportResponseSchema)` to create a new message.
|
|
200
|
+
*/
|
|
201
|
+
export declare const UpdateStatusReportResponseSchema: GenMessage<UpdateStatusReportResponse>;
|
|
202
|
+
/**
|
|
203
|
+
* @generated from message openstatus.status_report.v1.DeleteStatusReportRequest
|
|
204
|
+
*/
|
|
205
|
+
export type DeleteStatusReportRequest = Message<"openstatus.status_report.v1.DeleteStatusReportRequest"> & {
|
|
206
|
+
/**
|
|
207
|
+
* ID of the status report to delete (required).
|
|
208
|
+
*
|
|
209
|
+
* @generated from field: string id = 1;
|
|
210
|
+
*/
|
|
211
|
+
id: string;
|
|
212
|
+
};
|
|
213
|
+
/**
|
|
214
|
+
* Describes the message openstatus.status_report.v1.DeleteStatusReportRequest.
|
|
215
|
+
* Use `create(DeleteStatusReportRequestSchema)` to create a new message.
|
|
216
|
+
*/
|
|
217
|
+
export declare const DeleteStatusReportRequestSchema: GenMessage<DeleteStatusReportRequest>;
|
|
218
|
+
/**
|
|
219
|
+
* @generated from message openstatus.status_report.v1.DeleteStatusReportResponse
|
|
220
|
+
*/
|
|
221
|
+
export type DeleteStatusReportResponse = Message<"openstatus.status_report.v1.DeleteStatusReportResponse"> & {
|
|
222
|
+
/**
|
|
223
|
+
* Whether the deletion was successful.
|
|
224
|
+
*
|
|
225
|
+
* @generated from field: bool success = 1;
|
|
226
|
+
*/
|
|
227
|
+
success: boolean;
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
* Describes the message openstatus.status_report.v1.DeleteStatusReportResponse.
|
|
231
|
+
* Use `create(DeleteStatusReportResponseSchema)` to create a new message.
|
|
232
|
+
*/
|
|
233
|
+
export declare const DeleteStatusReportResponseSchema: GenMessage<DeleteStatusReportResponse>;
|
|
234
|
+
/**
|
|
235
|
+
* @generated from message openstatus.status_report.v1.AddStatusReportUpdateRequest
|
|
236
|
+
*/
|
|
237
|
+
export type AddStatusReportUpdateRequest = Message<"openstatus.status_report.v1.AddStatusReportUpdateRequest"> & {
|
|
238
|
+
/**
|
|
239
|
+
* ID of the status report to update (required).
|
|
240
|
+
*
|
|
241
|
+
* @generated from field: string status_report_id = 1;
|
|
242
|
+
*/
|
|
243
|
+
statusReportId: string;
|
|
244
|
+
/**
|
|
245
|
+
* New status for the report (required).
|
|
246
|
+
*
|
|
247
|
+
* @generated from field: openstatus.status_report.v1.StatusReportStatus status = 2;
|
|
248
|
+
*/
|
|
249
|
+
status: StatusReportStatus;
|
|
250
|
+
/**
|
|
251
|
+
* Message describing what changed (required).
|
|
252
|
+
*
|
|
253
|
+
* @generated from field: string message = 3;
|
|
254
|
+
*/
|
|
255
|
+
message: string;
|
|
256
|
+
/**
|
|
257
|
+
* Optional date for the update (RFC 3339 format). Defaults to current time if not provided.
|
|
258
|
+
*
|
|
259
|
+
* @generated from field: optional string date = 4;
|
|
260
|
+
*/
|
|
261
|
+
date?: string;
|
|
262
|
+
/**
|
|
263
|
+
* Whether to notify subscribers about this update (optional, defaults to false).
|
|
264
|
+
*
|
|
265
|
+
* @generated from field: optional bool notify = 5;
|
|
266
|
+
*/
|
|
267
|
+
notify?: boolean;
|
|
268
|
+
};
|
|
269
|
+
/**
|
|
270
|
+
* Describes the message openstatus.status_report.v1.AddStatusReportUpdateRequest.
|
|
271
|
+
* Use `create(AddStatusReportUpdateRequestSchema)` to create a new message.
|
|
272
|
+
*/
|
|
273
|
+
export declare const AddStatusReportUpdateRequestSchema: GenMessage<AddStatusReportUpdateRequest>;
|
|
274
|
+
/**
|
|
275
|
+
* @generated from message openstatus.status_report.v1.AddStatusReportUpdateResponse
|
|
276
|
+
*/
|
|
277
|
+
export type AddStatusReportUpdateResponse = Message<"openstatus.status_report.v1.AddStatusReportUpdateResponse"> & {
|
|
278
|
+
/**
|
|
279
|
+
* The updated status report with the new update included.
|
|
280
|
+
*
|
|
281
|
+
* @generated from field: openstatus.status_report.v1.StatusReport status_report = 1;
|
|
282
|
+
*/
|
|
283
|
+
statusReport?: StatusReport;
|
|
284
|
+
};
|
|
285
|
+
/**
|
|
286
|
+
* Describes the message openstatus.status_report.v1.AddStatusReportUpdateResponse.
|
|
287
|
+
* Use `create(AddStatusReportUpdateResponseSchema)` to create a new message.
|
|
288
|
+
*/
|
|
289
|
+
export declare const AddStatusReportUpdateResponseSchema: GenMessage<AddStatusReportUpdateResponse>;
|
|
290
|
+
/**
|
|
291
|
+
* StatusReportService provides CRUD operations for status reports.
|
|
292
|
+
*
|
|
293
|
+
* @generated from service openstatus.status_report.v1.StatusReportService
|
|
294
|
+
*/
|
|
295
|
+
export declare const StatusReportService: GenService<{
|
|
296
|
+
/**
|
|
297
|
+
* CreateStatusReport creates a new status report.
|
|
298
|
+
*
|
|
299
|
+
* @generated from rpc openstatus.status_report.v1.StatusReportService.CreateStatusReport
|
|
300
|
+
*/
|
|
301
|
+
createStatusReport: {
|
|
302
|
+
methodKind: "unary";
|
|
303
|
+
input: typeof CreateStatusReportRequestSchema;
|
|
304
|
+
output: typeof CreateStatusReportResponseSchema;
|
|
305
|
+
};
|
|
306
|
+
/**
|
|
307
|
+
* GetStatusReport retrieves a specific status report by ID (includes full update timeline).
|
|
308
|
+
*
|
|
309
|
+
* @generated from rpc openstatus.status_report.v1.StatusReportService.GetStatusReport
|
|
310
|
+
*/
|
|
311
|
+
getStatusReport: {
|
|
312
|
+
methodKind: "unary";
|
|
313
|
+
input: typeof GetStatusReportRequestSchema;
|
|
314
|
+
output: typeof GetStatusReportResponseSchema;
|
|
315
|
+
};
|
|
316
|
+
/**
|
|
317
|
+
* ListStatusReports returns all status reports for the workspace (metadata only).
|
|
318
|
+
*
|
|
319
|
+
* @generated from rpc openstatus.status_report.v1.StatusReportService.ListStatusReports
|
|
320
|
+
*/
|
|
321
|
+
listStatusReports: {
|
|
322
|
+
methodKind: "unary";
|
|
323
|
+
input: typeof ListStatusReportsRequestSchema;
|
|
324
|
+
output: typeof ListStatusReportsResponseSchema;
|
|
325
|
+
};
|
|
326
|
+
/**
|
|
327
|
+
* UpdateStatusReport updates the metadata of a status report (title, page components).
|
|
328
|
+
*
|
|
329
|
+
* @generated from rpc openstatus.status_report.v1.StatusReportService.UpdateStatusReport
|
|
330
|
+
*/
|
|
331
|
+
updateStatusReport: {
|
|
332
|
+
methodKind: "unary";
|
|
333
|
+
input: typeof UpdateStatusReportRequestSchema;
|
|
334
|
+
output: typeof UpdateStatusReportResponseSchema;
|
|
335
|
+
};
|
|
336
|
+
/**
|
|
337
|
+
* DeleteStatusReport removes a status report and all its updates.
|
|
338
|
+
*
|
|
339
|
+
* @generated from rpc openstatus.status_report.v1.StatusReportService.DeleteStatusReport
|
|
340
|
+
*/
|
|
341
|
+
deleteStatusReport: {
|
|
342
|
+
methodKind: "unary";
|
|
343
|
+
input: typeof DeleteStatusReportRequestSchema;
|
|
344
|
+
output: typeof DeleteStatusReportResponseSchema;
|
|
345
|
+
};
|
|
346
|
+
/**
|
|
347
|
+
* AddStatusReportUpdate adds a new update to an existing status report timeline.
|
|
348
|
+
*
|
|
349
|
+
* @generated from rpc openstatus.status_report.v1.StatusReportService.AddStatusReportUpdate
|
|
350
|
+
*/
|
|
351
|
+
addStatusReportUpdate: {
|
|
352
|
+
methodKind: "unary";
|
|
353
|
+
input: typeof AddStatusReportUpdateRequestSchema;
|
|
354
|
+
output: typeof AddStatusReportUpdateResponseSchema;
|
|
355
|
+
};
|
|
356
|
+
}>;
|
|
357
|
+
//# sourceMappingURL=service_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service_pb.d.ts","sourceRoot":"","sources":["../../../../../src/gen/openstatus/status_report/v1/service_pb.ts"],"names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AAU,CAAC;IAC3C;;;;OAIG;IACH,kBAAkB,EAAE;QAClB,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,+BAA+B,CAAC;QAC9C,MAAM,EAAE,OAAO,gCAAgC,CAAC;KACjD,CAAC;IACF;;;;OAIG;IACH,eAAe,EAAE;QACf,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,4BAA4B,CAAC;QAC3C,MAAM,EAAE,OAAO,6BAA6B,CAAC;KAC9C,CAAC;IACF;;;;OAIG;IACH,iBAAiB,EAAE;QACjB,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,8BAA8B,CAAC;QAC7C,MAAM,EAAE,OAAO,+BAA+B,CAAC;KAChD,CAAC;IACF;;;;OAIG;IACH,kBAAkB,EAAE;QAClB,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,+BAA+B,CAAC;QAC9C,MAAM,EAAE,OAAO,gCAAgC,CAAC;KACjD,CAAC;IACF;;;;OAIG;IACH,kBAAkB,EAAE;QAClB,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,+BAA+B,CAAC;QAC9C,MAAM,EAAE,OAAO,gCAAgC,CAAC;KACjD,CAAC;IACF;;;;OAIG;IACH,qBAAqB,EAAE;QACrB,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,kCAAkC,CAAC;QACjD,MAAM,EAAE,OAAO,mCAAmC,CAAC;KACpD,CAAC;CACH,CACyD,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file openstatus/status_report/v1/service.proto (package openstatus.status_report.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc, } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb.js";
|
|
6
|
+
import { file_openstatus_status_report_v1_status_report } from "./status_report_pb.js";
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file openstatus/status_report/v1/service.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_openstatus_status_report_v1_service = /*@__PURE__*/ fileDesc("CilvcGVuc3RhdHVzL3N0YXR1c19yZXBvcnQvdjEvc2VydmljZS5wcm90bxIbb3BlbnN0YXR1cy5zdGF0dXNfcmVwb3J0LnYxIqkCChlDcmVhdGVTdGF0dXNSZXBvcnRSZXF1ZXN0EhYKBXRpdGxlGAEgASgJQge6SARyAhABEkkKBnN0YXR1cxgCIAEoDjIvLm9wZW5zdGF0dXMuc3RhdHVzX3JlcG9ydC52MS5TdGF0dXNSZXBvcnRTdGF0dXNCCLpIBYIBAhABEhgKB21lc3NhZ2UYAyABKAlCB7pIBHICEAESOQoEZGF0ZRgEIAEoCUIrukgociYyJF5cZHs0fS1cZHsyfS1cZHsyfVRcZHsyfTpcZHsyfTpcZHsyfRIYCgdwYWdlX2lkGAUgASgJQge6SARyAhABEhoKEnBhZ2VfY29tcG9uZW50X2lkcxgGIAMoCRITCgZub3RpZnkYByABKAhIAIgBAUIJCgdfbm90aWZ5Il4KGkNyZWF0ZVN0YXR1c1JlcG9ydFJlc3BvbnNlEkAKDXN0YXR1c19yZXBvcnQYASABKAsyKS5vcGVuc3RhdHVzLnN0YXR1c19yZXBvcnQudjEuU3RhdHVzUmVwb3J0Ii0KFkdldFN0YXR1c1JlcG9ydFJlcXVlc3QSEwoCaWQYASABKAlCB7pIBHICEAEiWwoXR2V0U3RhdHVzUmVwb3J0UmVzcG9uc2USQAoNc3RhdHVzX3JlcG9ydBgBIAEoCzIpLm9wZW5zdGF0dXMuc3RhdHVzX3JlcG9ydC52MS5TdGF0dXNSZXBvcnQirwEKGExpc3RTdGF0dXNSZXBvcnRzUmVxdWVzdBIdCgVsaW1pdBgBIAEoBUIJukgGGgQYZCgBSACIAQESHAoGb2Zmc2V0G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c1JlcG9ydFJlc3BvbnNlEo4BChVBZGRTdGF0dXNSZXBvcnRVcGRhdGUSOS5vcGVuc3RhdHVzLnN0YXR1c19yZXBvcnQudjEuQWRkU3RhdHVzUmVwb3J0VXBkYXRlUmVxdWVzdBo6Lm9wZW5zdGF0dXMuc3RhdHVzX3JlcG9ydC52MS5BZGRTdGF0dXNSZXBvcnRVcGRhdGVSZXNwb25zZUJeWlxnaXRodWIuY29tL29wZW5zdGF0dXNocS9vcGVuc3RhdHVzL3BhY2thZ2VzL3Byb3RvL29wZW5zdGF0dXMvc3RhdHVzX3JlcG9ydC92MTtzdGF0dXNyZXBvcnR2MWIGcHJvdG8z", [
|
|
11
|
+
file_buf_validate_validate,
|
|
12
|
+
file_openstatus_status_report_v1_status_report,
|
|
13
|
+
]);
|
|
14
|
+
/**
|
|
15
|
+
* Describes the message openstatus.status_report.v1.CreateStatusReportRequest.
|
|
16
|
+
* Use `create(CreateStatusReportRequestSchema)` to create a new message.
|
|
17
|
+
*/
|
|
18
|
+
export const CreateStatusReportRequestSchema = /*@__PURE__*/ messageDesc(file_openstatus_status_report_v1_service, 0);
|
|
19
|
+
/**
|
|
20
|
+
* Describes the message openstatus.status_report.v1.CreateStatusReportResponse.
|
|
21
|
+
* Use `create(CreateStatusReportResponseSchema)` to create a new message.
|
|
22
|
+
*/
|
|
23
|
+
export const CreateStatusReportResponseSchema = /*@__PURE__*/ messageDesc(file_openstatus_status_report_v1_service, 1);
|
|
24
|
+
/**
|
|
25
|
+
* Describes the message openstatus.status_report.v1.GetStatusReportRequest.
|
|
26
|
+
* Use `create(GetStatusReportRequestSchema)` to create a new message.
|
|
27
|
+
*/
|
|
28
|
+
export const GetStatusReportRequestSchema = /*@__PURE__*/ messageDesc(file_openstatus_status_report_v1_service, 2);
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message openstatus.status_report.v1.GetStatusReportResponse.
|
|
31
|
+
* Use `create(GetStatusReportResponseSchema)` to create a new message.
|
|
32
|
+
*/
|
|
33
|
+
export const GetStatusReportResponseSchema = /*@__PURE__*/ messageDesc(file_openstatus_status_report_v1_service, 3);
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message openstatus.status_report.v1.ListStatusReportsRequest.
|
|
36
|
+
* Use `create(ListStatusReportsRequestSchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
export const ListStatusReportsRequestSchema = /*@__PURE__*/ messageDesc(file_openstatus_status_report_v1_service, 4);
|
|
39
|
+
/**
|
|
40
|
+
* Describes the message openstatus.status_report.v1.ListStatusReportsResponse.
|
|
41
|
+
* Use `create(ListStatusReportsResponseSchema)` to create a new message.
|
|
42
|
+
*/
|
|
43
|
+
export const ListStatusReportsResponseSchema = /*@__PURE__*/ messageDesc(file_openstatus_status_report_v1_service, 5);
|
|
44
|
+
/**
|
|
45
|
+
* Describes the message openstatus.status_report.v1.UpdateStatusReportRequest.
|
|
46
|
+
* Use `create(UpdateStatusReportRequestSchema)` to create a new message.
|
|
47
|
+
*/
|
|
48
|
+
export const UpdateStatusReportRequestSchema = /*@__PURE__*/ messageDesc(file_openstatus_status_report_v1_service, 6);
|
|
49
|
+
/**
|
|
50
|
+
* Describes the message openstatus.status_report.v1.UpdateStatusReportResponse.
|
|
51
|
+
* Use `create(UpdateStatusReportResponseSchema)` to create a new message.
|
|
52
|
+
*/
|
|
53
|
+
export const UpdateStatusReportResponseSchema = /*@__PURE__*/ messageDesc(file_openstatus_status_report_v1_service, 7);
|
|
54
|
+
/**
|
|
55
|
+
* Describes the message openstatus.status_report.v1.DeleteStatusReportRequest.
|
|
56
|
+
* Use `create(DeleteStatusReportRequestSchema)` to create a new message.
|
|
57
|
+
*/
|
|
58
|
+
export const DeleteStatusReportRequestSchema = /*@__PURE__*/ messageDesc(file_openstatus_status_report_v1_service, 8);
|
|
59
|
+
/**
|
|
60
|
+
* Describes the message openstatus.status_report.v1.DeleteStatusReportResponse.
|
|
61
|
+
* Use `create(DeleteStatusReportResponseSchema)` to create a new message.
|
|
62
|
+
*/
|
|
63
|
+
export const DeleteStatusReportResponseSchema = /*@__PURE__*/ messageDesc(file_openstatus_status_report_v1_service, 9);
|
|
64
|
+
/**
|
|
65
|
+
* Describes the message openstatus.status_report.v1.AddStatusReportUpdateRequest.
|
|
66
|
+
* Use `create(AddStatusReportUpdateRequestSchema)` to create a new message.
|
|
67
|
+
*/
|
|
68
|
+
export const AddStatusReportUpdateRequestSchema = /*@__PURE__*/ messageDesc(file_openstatus_status_report_v1_service, 10);
|
|
69
|
+
/**
|
|
70
|
+
* Describes the message openstatus.status_report.v1.AddStatusReportUpdateResponse.
|
|
71
|
+
* Use `create(AddStatusReportUpdateResponseSchema)` to create a new message.
|
|
72
|
+
*/
|
|
73
|
+
export const AddStatusReportUpdateResponseSchema = /*@__PURE__*/ messageDesc(file_openstatus_status_report_v1_service, 11);
|
|
74
|
+
/**
|
|
75
|
+
* StatusReportService provides CRUD operations for status reports.
|
|
76
|
+
*
|
|
77
|
+
* @generated from service openstatus.status_report.v1.StatusReportService
|
|
78
|
+
*/
|
|
79
|
+
export const StatusReportService = /*@__PURE__*/ serviceDesc(file_openstatus_status_report_v1_service, 0);
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file openstatus/status_report/v1/status_report.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_openstatus_status_report_v1_status_report: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* StatusReportUpdate represents a single update entry in a status report timeline.
|
|
9
|
+
*
|
|
10
|
+
* @generated from message openstatus.status_report.v1.StatusReportUpdate
|
|
11
|
+
*/
|
|
12
|
+
export type StatusReportUpdate = Message<"openstatus.status_report.v1.StatusReportUpdate"> & {
|
|
13
|
+
/**
|
|
14
|
+
* Unique identifier for the update.
|
|
15
|
+
*
|
|
16
|
+
* @generated from field: string id = 1;
|
|
17
|
+
*/
|
|
18
|
+
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* Status at the time of this update.
|
|
21
|
+
*
|
|
22
|
+
* @generated from field: openstatus.status_report.v1.StatusReportStatus status = 2;
|
|
23
|
+
*/
|
|
24
|
+
status: StatusReportStatus;
|
|
25
|
+
/**
|
|
26
|
+
* Timestamp when this update occurred (RFC 3339 format).
|
|
27
|
+
*
|
|
28
|
+
* @generated from field: string date = 3;
|
|
29
|
+
*/
|
|
30
|
+
date: string;
|
|
31
|
+
/**
|
|
32
|
+
* Message describing the update.
|
|
33
|
+
*
|
|
34
|
+
* @generated from field: string message = 4;
|
|
35
|
+
*/
|
|
36
|
+
message: string;
|
|
37
|
+
/**
|
|
38
|
+
* Timestamp when the update was created (RFC 3339 format).
|
|
39
|
+
*
|
|
40
|
+
* @generated from field: string created_at = 5;
|
|
41
|
+
*/
|
|
42
|
+
createdAt: string;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Describes the message openstatus.status_report.v1.StatusReportUpdate.
|
|
46
|
+
* Use `create(StatusReportUpdateSchema)` to create a new message.
|
|
47
|
+
*/
|
|
48
|
+
export declare const StatusReportUpdateSchema: GenMessage<StatusReportUpdate>;
|
|
49
|
+
/**
|
|
50
|
+
* StatusReportSummary represents metadata for a status report (used in list responses).
|
|
51
|
+
*
|
|
52
|
+
* @generated from message openstatus.status_report.v1.StatusReportSummary
|
|
53
|
+
*/
|
|
54
|
+
export type StatusReportSummary = Message<"openstatus.status_report.v1.StatusReportSummary"> & {
|
|
55
|
+
/**
|
|
56
|
+
* Unique identifier for the status report.
|
|
57
|
+
*
|
|
58
|
+
* @generated from field: string id = 1;
|
|
59
|
+
*/
|
|
60
|
+
id: string;
|
|
61
|
+
/**
|
|
62
|
+
* Current status of the report.
|
|
63
|
+
*
|
|
64
|
+
* @generated from field: openstatus.status_report.v1.StatusReportStatus status = 2;
|
|
65
|
+
*/
|
|
66
|
+
status: StatusReportStatus;
|
|
67
|
+
/**
|
|
68
|
+
* Title of the status report.
|
|
69
|
+
*
|
|
70
|
+
* @generated from field: string title = 3;
|
|
71
|
+
*/
|
|
72
|
+
title: string;
|
|
73
|
+
/**
|
|
74
|
+
* IDs of affected page components.
|
|
75
|
+
*
|
|
76
|
+
* @generated from field: repeated string page_component_ids = 4;
|
|
77
|
+
*/
|
|
78
|
+
pageComponentIds: string[];
|
|
79
|
+
/**
|
|
80
|
+
* Timestamp when the report was created (RFC 3339 format).
|
|
81
|
+
*
|
|
82
|
+
* @generated from field: string created_at = 5;
|
|
83
|
+
*/
|
|
84
|
+
createdAt: string;
|
|
85
|
+
/**
|
|
86
|
+
* Timestamp when the report was last updated (RFC 3339 format).
|
|
87
|
+
*
|
|
88
|
+
* @generated from field: string updated_at = 6;
|
|
89
|
+
*/
|
|
90
|
+
updatedAt: string;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Describes the message openstatus.status_report.v1.StatusReportSummary.
|
|
94
|
+
* Use `create(StatusReportSummarySchema)` to create a new message.
|
|
95
|
+
*/
|
|
96
|
+
export declare const StatusReportSummarySchema: GenMessage<StatusReportSummary>;
|
|
97
|
+
/**
|
|
98
|
+
* StatusReport represents an incident or maintenance report with full details.
|
|
99
|
+
*
|
|
100
|
+
* @generated from message openstatus.status_report.v1.StatusReport
|
|
101
|
+
*/
|
|
102
|
+
export type StatusReport = Message<"openstatus.status_report.v1.StatusReport"> & {
|
|
103
|
+
/**
|
|
104
|
+
* Unique identifier for the status report.
|
|
105
|
+
*
|
|
106
|
+
* @generated from field: string id = 1;
|
|
107
|
+
*/
|
|
108
|
+
id: string;
|
|
109
|
+
/**
|
|
110
|
+
* Current status of the report.
|
|
111
|
+
*
|
|
112
|
+
* @generated from field: openstatus.status_report.v1.StatusReportStatus status = 2;
|
|
113
|
+
*/
|
|
114
|
+
status: StatusReportStatus;
|
|
115
|
+
/**
|
|
116
|
+
* Title of the status report.
|
|
117
|
+
*
|
|
118
|
+
* @generated from field: string title = 3;
|
|
119
|
+
*/
|
|
120
|
+
title: string;
|
|
121
|
+
/**
|
|
122
|
+
* IDs of affected page components.
|
|
123
|
+
*
|
|
124
|
+
* @generated from field: repeated string page_component_ids = 4;
|
|
125
|
+
*/
|
|
126
|
+
pageComponentIds: string[];
|
|
127
|
+
/**
|
|
128
|
+
* Timeline of updates for this report (only included in GetStatusReport).
|
|
129
|
+
*
|
|
130
|
+
* @generated from field: repeated openstatus.status_report.v1.StatusReportUpdate updates = 5;
|
|
131
|
+
*/
|
|
132
|
+
updates: StatusReportUpdate[];
|
|
133
|
+
/**
|
|
134
|
+
* Timestamp when the report was created (RFC 3339 format).
|
|
135
|
+
*
|
|
136
|
+
* @generated from field: string created_at = 6;
|
|
137
|
+
*/
|
|
138
|
+
createdAt: string;
|
|
139
|
+
/**
|
|
140
|
+
* Timestamp when the report was last updated (RFC 3339 format).
|
|
141
|
+
*
|
|
142
|
+
* @generated from field: string updated_at = 7;
|
|
143
|
+
*/
|
|
144
|
+
updatedAt: string;
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* Describes the message openstatus.status_report.v1.StatusReport.
|
|
148
|
+
* Use `create(StatusReportSchema)` to create a new message.
|
|
149
|
+
*/
|
|
150
|
+
export declare const StatusReportSchema: GenMessage<StatusReport>;
|
|
151
|
+
/**
|
|
152
|
+
* StatusReportStatus represents the current state of a status report.
|
|
153
|
+
*
|
|
154
|
+
* @generated from enum openstatus.status_report.v1.StatusReportStatus
|
|
155
|
+
*/
|
|
156
|
+
export declare enum StatusReportStatus {
|
|
157
|
+
/**
|
|
158
|
+
* @generated from enum value: STATUS_REPORT_STATUS_UNSPECIFIED = 0;
|
|
159
|
+
*/
|
|
160
|
+
UNSPECIFIED = 0,
|
|
161
|
+
/**
|
|
162
|
+
* @generated from enum value: STATUS_REPORT_STATUS_INVESTIGATING = 1;
|
|
163
|
+
*/
|
|
164
|
+
INVESTIGATING = 1,
|
|
165
|
+
/**
|
|
166
|
+
* @generated from enum value: STATUS_REPORT_STATUS_IDENTIFIED = 2;
|
|
167
|
+
*/
|
|
168
|
+
IDENTIFIED = 2,
|
|
169
|
+
/**
|
|
170
|
+
* @generated from enum value: STATUS_REPORT_STATUS_MONITORING = 3;
|
|
171
|
+
*/
|
|
172
|
+
MONITORING = 3,
|
|
173
|
+
/**
|
|
174
|
+
* @generated from enum value: STATUS_REPORT_STATUS_RESOLVED = 4;
|
|
175
|
+
*/
|
|
176
|
+
RESOLVED = 4
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Describes the enum openstatus.status_report.v1.StatusReportStatus.
|
|
180
|
+
*/
|
|
181
|
+
export declare const StatusReportStatusSchema: GenEnum<StatusReportStatus>;
|
|
182
|
+
//# sourceMappingURL=status_report_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status_report_pb.d.ts","sourceRoot":"","sources":["../../../../../src/gen/openstatus/status_report/v1/status_report_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,OAAO,EACP,OAAO,EACP,UAAU,EACX,MAAM,8BAA8B,CAAC;AAEtC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,8CAA8C,EACzD,OAGC,CAAC;AAEJ;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAC1B,OAAO,CAAC,gDAAgD,CAAC,GACzD;IACA;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;;OAIG;IACH,MAAM,EAAE,kBAAkB,CAAC;IAE3B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEJ;;;GAGG;AACH,eAAO,MAAM,wBAAwB,EAAE,UAAU,CAC/C,kBAAkB,CAE4C,CAAC;AAEjE;;;;GAIG;AACH,MAAM,MAAM,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