@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
package/esm/mod.d.ts CHANGED
@@ -31,6 +31,8 @@ import type { Client } from "@connectrpc/connect";
31
31
  import { MonitorService } from "./gen/openstatus/monitor/v1/service_pb.js";
32
32
  import { HealthService } from "./gen/openstatus/health/v1/health_pb.js";
33
33
  import { StatusReportService } from "./gen/openstatus/status_report/v1/service_pb.js";
34
+ import { StatusPageService } from "./gen/openstatus/status_page/v1/service_pb.js";
35
+ import { MaintenanceService } from "./gen/openstatus/maintenance/v1/service_pb.js";
34
36
  export type { Headers, HTTPMonitor, OpenTelemetryConfig, } from "./gen/openstatus/monitor/v1/http_monitor_pb.js";
35
37
  export type { TCPMonitor } from "./gen/openstatus/monitor/v1/tcp_monitor_pb.js";
36
38
  export type { DNSMonitor } from "./gen/openstatus/monitor/v1/dns_monitor_pb.js";
@@ -46,6 +48,14 @@ export { CheckResponse_ServingStatus as ServingStatus } from "./gen/openstatus/h
46
48
  export type { StatusReport, StatusReportSummary, StatusReportUpdate, } from "./gen/openstatus/status_report/v1/status_report_pb.js";
47
49
  export { StatusReportStatus } from "./gen/openstatus/status_report/v1/status_report_pb.js";
48
50
  export type { AddStatusReportUpdateRequest, AddStatusReportUpdateResponse, CreateStatusReportRequest, CreateStatusReportResponse, DeleteStatusReportRequest, DeleteStatusReportResponse, GetStatusReportRequest, GetStatusReportResponse, ListStatusReportsRequest, ListStatusReportsResponse, UpdateStatusReportRequest, UpdateStatusReportResponse, } from "./gen/openstatus/status_report/v1/service_pb.js";
51
+ export type { StatusPage, StatusPageSummary, } from "./gen/openstatus/status_page/v1/status_page_pb.js";
52
+ export { OverallStatus, PageAccessType, PageTheme, } from "./gen/openstatus/status_page/v1/status_page_pb.js";
53
+ export type { PageComponent, PageComponentGroup, } from "./gen/openstatus/status_page/v1/page_component_pb.js";
54
+ export { PageComponentType } from "./gen/openstatus/status_page/v1/page_component_pb.js";
55
+ export type { PageSubscriber } from "./gen/openstatus/status_page/v1/page_subscriber_pb.js";
56
+ export type { AddMonitorComponentRequest, AddMonitorComponentResponse, AddStaticComponentRequest, AddStaticComponentResponse, ComponentStatus, CreateComponentGroupRequest, CreateComponentGroupResponse, CreateStatusPageRequest, CreateStatusPageResponse, DeleteComponentGroupRequest, DeleteComponentGroupResponse, DeleteStatusPageRequest, DeleteStatusPageResponse, GetOverallStatusRequest, GetOverallStatusResponse, GetStatusPageContentRequest, GetStatusPageContentResponse, GetStatusPageRequest, GetStatusPageResponse, ListStatusPagesRequest, ListStatusPagesResponse, ListSubscribersRequest, ListSubscribersResponse, RemoveComponentRequest, RemoveComponentResponse, SubscribeToPageRequest, SubscribeToPageResponse, UnsubscribeFromPageRequest, UnsubscribeFromPageResponse, UpdateComponentGroupRequest, UpdateComponentGroupResponse, UpdateComponentRequest, UpdateComponentResponse, UpdateStatusPageRequest, UpdateStatusPageResponse, } from "./gen/openstatus/status_page/v1/service_pb.js";
57
+ export type { Maintenance, MaintenanceSummary, } from "./gen/openstatus/maintenance/v1/maintenance_pb.js";
58
+ export type { CreateMaintenanceRequest, CreateMaintenanceResponse, DeleteMaintenanceRequest, DeleteMaintenanceResponse, GetMaintenanceRequest, GetMaintenanceResponse, ListMaintenancesRequest, ListMaintenancesResponse, UpdateMaintenanceRequest, UpdateMaintenanceResponse, } from "./gen/openstatus/maintenance/v1/service_pb.js";
49
59
  /**
50
60
  * OpenStatus API client interface.
51
61
  *
@@ -109,6 +119,54 @@ export interface OpenStatusClient {
109
119
  StatusReportService: Client<typeof StatusReportService>;
110
120
  };
111
121
  };
122
+ /**
123
+ * Status page service namespace (v1).
124
+ */
125
+ statusPage: {
126
+ v1: {
127
+ /**
128
+ * StatusPageService provides CRUD and management operations for status pages.
129
+ *
130
+ * Methods:
131
+ * - `createStatusPage` - Create a new status page
132
+ * - `getStatusPage` - Get a status page by ID
133
+ * - `listStatusPages` - List all status pages
134
+ * - `updateStatusPage` - Update a status page
135
+ * - `deleteStatusPage` - Delete a status page
136
+ * - `addMonitorComponent` - Add a monitor-based component
137
+ * - `addStaticComponent` - Add a static component
138
+ * - `removeComponent` - Remove a component
139
+ * - `updateComponent` - Update a component
140
+ * - `createComponentGroup` - Create a component group
141
+ * - `deleteComponentGroup` - Delete a component group
142
+ * - `updateComponentGroup` - Update a component group
143
+ * - `subscribeToPage` - Subscribe an email to a status page
144
+ * - `unsubscribeFromPage` - Unsubscribe from a status page
145
+ * - `listSubscribers` - List all subscribers
146
+ * - `getStatusPageContent` - Get full status page content
147
+ * - `getOverallStatus` - Get aggregated status
148
+ */
149
+ StatusPageService: Client<typeof StatusPageService>;
150
+ };
151
+ };
152
+ /**
153
+ * Maintenance service namespace (v1).
154
+ */
155
+ maintenance: {
156
+ v1: {
157
+ /**
158
+ * MaintenanceService provides CRUD operations for maintenance windows.
159
+ *
160
+ * Methods:
161
+ * - `createMaintenance` - Create a new maintenance window
162
+ * - `getMaintenance` - Get a maintenance window by ID
163
+ * - `listMaintenances` - List all maintenance windows
164
+ * - `updateMaintenance` - Update a maintenance window
165
+ * - `deleteMaintenance` - Delete a maintenance window
166
+ */
167
+ MaintenanceService: Client<typeof MaintenanceService>;
168
+ };
169
+ };
112
170
  }
113
171
  /**
114
172
  * OpenStatus SDK client.
package/esm/mod.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../src/mod.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAGlD,OAAO,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAC;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AACxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAGtF,YAAY,EACV,OAAO,EACP,WAAW,EACX,mBAAmB,GACpB,MAAM,gDAAgD,CAAC;AAExD,YAAY,EAAE,UAAU,EAAE,MAAM,+CAA+C,CAAC;AAEhF,YAAY,EAAE,UAAU,EAAE,MAAM,+CAA+C,CAAC;AAGhF,YAAY,EACV,aAAa,EACb,eAAe,EACf,eAAe,EACf,mBAAmB,GACpB,MAAM,8C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;;eAKG;YACH,aAAa,EAAE,MAAM,CAAC,OAAO,aAAa,CAAC,CAAC;SAC7C,CAAC;KACH,CAAC;IACF;;OAEG;IACH,YAAY,EAAE;QACZ,EAAE,EAAE;YACF;;;;;;;;;;eAUG;YACH,mBAAmB,EAAE,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAC;SACzD,CAAC;KACH,CAAC;IACF;;OAEG;IACH,UAAU,EAAE;QACV,EAAE,EAAE;YACF;;;;;;;;;;;;;;;;;;;;;eAqBG;YACH,iBAAiB,EAAE,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAC;SACrD,CAAC;KACH,CAAC;IACF;;OAEG;IACH,WAAW,EAAE;QACX,EAAE,EAAE;YACF;;;;;;;;;eASG;YACH,kBAAkB,EAAE,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAC;SACvD,CAAC;KACH,CAAC;CACH;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,UAAU,EAAE,gBA0BxB,CAAC"}
package/esm/mod.js CHANGED
@@ -32,6 +32,8 @@ import { createConnectTransport } from "@connectrpc/connect-node";
32
32
  import { MonitorService } from "./gen/openstatus/monitor/v1/service_pb.js";
33
33
  import { HealthService } from "./gen/openstatus/health/v1/health_pb.js";
34
34
  import { StatusReportService } from "./gen/openstatus/status_report/v1/service_pb.js";
35
+ import { StatusPageService } from "./gen/openstatus/status_page/v1/service_pb.js";
36
+ import { MaintenanceService } from "./gen/openstatus/maintenance/v1/service_pb.js";
35
37
  // Re-export assertion comparator enums
36
38
  export { NumberComparator, RecordComparator, StringComparator, } from "./gen/openstatus/monitor/v1/assertions_pb.js";
37
39
  // Re-export enums
@@ -41,6 +43,8 @@ export { MonitorStatus } from "./gen/openstatus/monitor/v1/monitor_pb.js";
41
43
  export { TimeRange } from "./gen/openstatus/monitor/v1/service_pb.js";
42
44
  export { CheckResponse_ServingStatus as ServingStatus } from "./gen/openstatus/health/v1/health_pb.js";
43
45
  export { StatusReportStatus } from "./gen/openstatus/status_report/v1/status_report_pb.js";
46
+ export { OverallStatus, PageAccessType, PageTheme, } from "./gen/openstatus/status_page/v1/status_page_pb.js";
47
+ export { PageComponentType } from "./gen/openstatus/status_page/v1/page_component_pb.js";
44
48
  /**
45
49
  * Default OpenStatus API URL.
46
50
  */
@@ -92,4 +96,14 @@ export const openstatus = {
92
96
  StatusReportService: createClient(StatusReportService, transport),
93
97
  },
94
98
  },
99
+ statusPage: {
100
+ v1: {
101
+ StatusPageService: createClient(StatusPageService, transport),
102
+ },
103
+ },
104
+ maintenance: {
105
+ v1: {
106
+ MaintenanceService: createClient(MaintenanceService, transport),
107
+ },
108
+ },
95
109
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openstatus/sdk-node",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "SDK for openstatus.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -0,0 +1,139 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Message } from "@bufbuild/protobuf";
3
+ /**
4
+ * Describes the file openstatus/maintenance/v1/maintenance.proto.
5
+ */
6
+ export declare const file_openstatus_maintenance_v1_maintenance: GenFile;
7
+ /**
8
+ * MaintenanceSummary represents metadata for a maintenance window (used in list responses).
9
+ *
10
+ * @generated from message openstatus.maintenance.v1.MaintenanceSummary
11
+ */
12
+ export type MaintenanceSummary = Message<"openstatus.maintenance.v1.MaintenanceSummary"> & {
13
+ /**
14
+ * Unique identifier for the maintenance.
15
+ *
16
+ * @generated from field: string id = 1;
17
+ */
18
+ id: string;
19
+ /**
20
+ * Title of the maintenance.
21
+ *
22
+ * @generated from field: string title = 2;
23
+ */
24
+ title: string;
25
+ /**
26
+ * Message describing the maintenance.
27
+ *
28
+ * @generated from field: string message = 3;
29
+ */
30
+ message: string;
31
+ /**
32
+ * Start time of the maintenance window (RFC 3339 format).
33
+ *
34
+ * @generated from field: string from = 4;
35
+ */
36
+ from: string;
37
+ /**
38
+ * End time of the maintenance window (RFC 3339 format).
39
+ *
40
+ * @generated from field: string to = 5;
41
+ */
42
+ to: string;
43
+ /**
44
+ * ID of the page this maintenance is associated with.
45
+ *
46
+ * @generated from field: string page_id = 6;
47
+ */
48
+ pageId: string;
49
+ /**
50
+ * IDs of affected page components.
51
+ *
52
+ * @generated from field: repeated string page_component_ids = 7;
53
+ */
54
+ pageComponentIds: string[];
55
+ /**
56
+ * Timestamp when the maintenance was created (RFC 3339 format).
57
+ *
58
+ * @generated from field: string created_at = 8;
59
+ */
60
+ createdAt: string;
61
+ /**
62
+ * Timestamp when the maintenance was last updated (RFC 3339 format).
63
+ *
64
+ * @generated from field: string updated_at = 9;
65
+ */
66
+ updatedAt: string;
67
+ };
68
+ /**
69
+ * Describes the message openstatus.maintenance.v1.MaintenanceSummary.
70
+ * Use `create(MaintenanceSummarySchema)` to create a new message.
71
+ */
72
+ export declare const MaintenanceSummarySchema: GenMessage<MaintenanceSummary>;
73
+ /**
74
+ * Maintenance represents a maintenance window with full details.
75
+ *
76
+ * @generated from message openstatus.maintenance.v1.Maintenance
77
+ */
78
+ export type Maintenance = Message<"openstatus.maintenance.v1.Maintenance"> & {
79
+ /**
80
+ * Unique identifier for the maintenance.
81
+ *
82
+ * @generated from field: string id = 1;
83
+ */
84
+ id: string;
85
+ /**
86
+ * Title of the maintenance.
87
+ *
88
+ * @generated from field: string title = 2;
89
+ */
90
+ title: string;
91
+ /**
92
+ * Message describing the maintenance.
93
+ *
94
+ * @generated from field: string message = 3;
95
+ */
96
+ message: string;
97
+ /**
98
+ * Start time of the maintenance window (RFC 3339 format).
99
+ *
100
+ * @generated from field: string from = 4;
101
+ */
102
+ from: string;
103
+ /**
104
+ * End time of the maintenance window (RFC 3339 format).
105
+ *
106
+ * @generated from field: string to = 5;
107
+ */
108
+ to: string;
109
+ /**
110
+ * ID of the page this maintenance is associated with.
111
+ *
112
+ * @generated from field: string page_id = 6;
113
+ */
114
+ pageId: string;
115
+ /**
116
+ * IDs of affected page components.
117
+ *
118
+ * @generated from field: repeated string page_component_ids = 7;
119
+ */
120
+ pageComponentIds: string[];
121
+ /**
122
+ * Timestamp when the maintenance was created (RFC 3339 format).
123
+ *
124
+ * @generated from field: string created_at = 8;
125
+ */
126
+ createdAt: string;
127
+ /**
128
+ * Timestamp when the maintenance was last updated (RFC 3339 format).
129
+ *
130
+ * @generated from field: string updated_at = 9;
131
+ */
132
+ updatedAt: string;
133
+ };
134
+ /**
135
+ * Describes the message openstatus.maintenance.v1.Maintenance.
136
+ * Use `create(MaintenanceSchema)` to create a new message.
137
+ */
138
+ export declare const MaintenanceSchema: GenMessage<Maintenance>;
139
+ //# sourceMappingURL=maintenance_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"maintenance_pb.d.ts","sourceRoot":"","sources":["../../../../../src/gen/openstatus/maintenance/v1/maintenance_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAExE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,OAGtD,CAAC;AAEJ;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAC1B,OAAO,CAAC,8CAA8C,CAAC,GACvD;IACA;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAE3B;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEJ;;;GAGG;AACH,eAAO,MAAM,wBAAwB,EAAE,UAAU,CAC/C,kBAAkB,CAEwC,CAAC;AAE7D;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,uCAAuC,CAAC,GAAG;IAC3E;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAE3B;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,UAAU,CAAC,WAAW,CACM,CAAC"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=ts,import_extension=ts"
3
+ // @generated from file openstatus/maintenance/v1/maintenance.proto (package openstatus.maintenance.v1, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.MaintenanceSchema = exports.MaintenanceSummarySchema = exports.file_openstatus_maintenance_v1_maintenance = void 0;
7
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
+ /**
9
+ * Describes the file openstatus/maintenance/v1/maintenance.proto.
10
+ */
11
+ exports.file_openstatus_maintenance_v1_maintenance = (0, codegenv2_1.fileDesc)("CitvcGVuc3RhdHVzL21haW50ZW5hbmNlL3YxL21haW50ZW5hbmNlLnByb3RvEhlvcGVuc3RhdHVzLm1haW50ZW5hbmNlLnYxIq8BChJNYWludGVuYW5jZVN1bW1hcnkSCgoCaWQYASABKAkSDQoFdGl0bGUYAiABKAkSDwoHbWVzc2FnZRgDIAEoCRIMCgRmcm9tGAQgASgJEgoKAnRvGAUgASgJEg8KB3BhZ2VfaWQYBiABKAkSGgoScGFnZV9jb21wb25lbnRfaWRzGAcgAygJEhIKCmNyZWF0ZWRfYXQYCCABKAkSEgoKdXBkYXRlZF9hdBgJIAEoCSKoAQoLTWFpbnRlbmFuY2USCgoCaWQYASABKAkSDQoFdGl0bGUYAiABKAkSDwoHbWVzc2FnZRgDIAEoCRIMCgRmcm9tGAQgASgJEgoKAnRvGAUgASgJEg8KB3BhZ2VfaWQYBiABKAkSGgoScGFnZV9jb21wb25lbnRfaWRzGAcgAygJEhIKCmNyZWF0ZWRfYXQYCCABKAkSEgoKdXBkYXRlZF9hdBgJIAEoCUJbWllnaXRodWIuY29tL29wZW5zdGF0dXNocS9vcGVuc3RhdHVzL3BhY2thZ2VzL3Byb3RvL29wZW5zdGF0dXMvbWFpbnRlbmFuY2UvdjE7bWFpbnRlbmFuY2V2MWIGcHJvdG8z");
12
+ /**
13
+ * Describes the message openstatus.maintenance.v1.MaintenanceSummary.
14
+ * Use `create(MaintenanceSummarySchema)` to create a new message.
15
+ */
16
+ exports.MaintenanceSummarySchema = (0, codegenv2_1.messageDesc)(exports.file_openstatus_maintenance_v1_maintenance, 0);
17
+ /**
18
+ * Describes the message openstatus.maintenance.v1.Maintenance.
19
+ * Use `create(MaintenanceSchema)` to create a new message.
20
+ */
21
+ exports.MaintenanceSchema = (0, codegenv2_1.messageDesc)(exports.file_openstatus_maintenance_v1_maintenance, 1);
@@ -0,0 +1,315 @@
1
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Maintenance, MaintenanceSummary } from "./maintenance_pb.js";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file openstatus/maintenance/v1/service.proto.
6
+ */
7
+ export declare const file_openstatus_maintenance_v1_service: GenFile;
8
+ /**
9
+ * @generated from message openstatus.maintenance.v1.CreateMaintenanceRequest
10
+ */
11
+ export type CreateMaintenanceRequest = Message<"openstatus.maintenance.v1.CreateMaintenanceRequest"> & {
12
+ /**
13
+ * Title of the maintenance (required, 1-256 characters).
14
+ *
15
+ * @generated from field: string title = 1;
16
+ */
17
+ title: string;
18
+ /**
19
+ * Message describing the maintenance (required).
20
+ *
21
+ * @generated from field: string message = 2;
22
+ */
23
+ message: string;
24
+ /**
25
+ * Start time of the maintenance window (RFC 3339 format, required).
26
+ *
27
+ * @generated from field: string from = 3;
28
+ */
29
+ from: string;
30
+ /**
31
+ * End time of the maintenance window (RFC 3339 format, required).
32
+ *
33
+ * @generated from field: string to = 4;
34
+ */
35
+ to: string;
36
+ /**
37
+ * Page ID to associate with this maintenance (required).
38
+ *
39
+ * @generated from field: string page_id = 5;
40
+ */
41
+ pageId: string;
42
+ /**
43
+ * Page component IDs to associate with this maintenance (optional).
44
+ *
45
+ * @generated from field: repeated string page_component_ids = 6;
46
+ */
47
+ pageComponentIds: string[];
48
+ /**
49
+ * Whether to notify subscribers about this maintenance (optional, defaults to false).
50
+ *
51
+ * @generated from field: optional bool notify = 7;
52
+ */
53
+ notify?: boolean;
54
+ };
55
+ /**
56
+ * Describes the message openstatus.maintenance.v1.CreateMaintenanceRequest.
57
+ * Use `create(CreateMaintenanceRequestSchema)` to create a new message.
58
+ */
59
+ export declare const CreateMaintenanceRequestSchema: GenMessage<CreateMaintenanceRequest>;
60
+ /**
61
+ * @generated from message openstatus.maintenance.v1.CreateMaintenanceResponse
62
+ */
63
+ export type CreateMaintenanceResponse = Message<"openstatus.maintenance.v1.CreateMaintenanceResponse"> & {
64
+ /**
65
+ * The created maintenance.
66
+ *
67
+ * @generated from field: openstatus.maintenance.v1.Maintenance maintenance = 1;
68
+ */
69
+ maintenance?: Maintenance;
70
+ };
71
+ /**
72
+ * Describes the message openstatus.maintenance.v1.CreateMaintenanceResponse.
73
+ * Use `create(CreateMaintenanceResponseSchema)` to create a new message.
74
+ */
75
+ export declare const CreateMaintenanceResponseSchema: GenMessage<CreateMaintenanceResponse>;
76
+ /**
77
+ * @generated from message openstatus.maintenance.v1.GetMaintenanceRequest
78
+ */
79
+ export type GetMaintenanceRequest = Message<"openstatus.maintenance.v1.GetMaintenanceRequest"> & {
80
+ /**
81
+ * ID of the maintenance to retrieve (required).
82
+ *
83
+ * @generated from field: string id = 1;
84
+ */
85
+ id: string;
86
+ };
87
+ /**
88
+ * Describes the message openstatus.maintenance.v1.GetMaintenanceRequest.
89
+ * Use `create(GetMaintenanceRequestSchema)` to create a new message.
90
+ */
91
+ export declare const GetMaintenanceRequestSchema: GenMessage<GetMaintenanceRequest>;
92
+ /**
93
+ * @generated from message openstatus.maintenance.v1.GetMaintenanceResponse
94
+ */
95
+ export type GetMaintenanceResponse = Message<"openstatus.maintenance.v1.GetMaintenanceResponse"> & {
96
+ /**
97
+ * The requested maintenance.
98
+ *
99
+ * @generated from field: openstatus.maintenance.v1.Maintenance maintenance = 1;
100
+ */
101
+ maintenance?: Maintenance;
102
+ };
103
+ /**
104
+ * Describes the message openstatus.maintenance.v1.GetMaintenanceResponse.
105
+ * Use `create(GetMaintenanceResponseSchema)` to create a new message.
106
+ */
107
+ export declare const GetMaintenanceResponseSchema: GenMessage<GetMaintenanceResponse>;
108
+ /**
109
+ * @generated from message openstatus.maintenance.v1.ListMaintenancesRequest
110
+ */
111
+ export type ListMaintenancesRequest = Message<"openstatus.maintenance.v1.ListMaintenancesRequest"> & {
112
+ /**
113
+ * Maximum number of maintenances to return (1-100, defaults to 50).
114
+ *
115
+ * @generated from field: optional int32 limit = 1;
116
+ */
117
+ limit?: number;
118
+ /**
119
+ * Number of maintenances to skip for pagination (defaults to 0).
120
+ *
121
+ * @generated from field: optional int32 offset = 2;
122
+ */
123
+ offset?: number;
124
+ /**
125
+ * Filter by page ID (optional).
126
+ *
127
+ * @generated from field: optional string page_id = 3;
128
+ */
129
+ pageId?: string;
130
+ };
131
+ /**
132
+ * Describes the message openstatus.maintenance.v1.ListMaintenancesRequest.
133
+ * Use `create(ListMaintenancesRequestSchema)` to create a new message.
134
+ */
135
+ export declare const ListMaintenancesRequestSchema: GenMessage<ListMaintenancesRequest>;
136
+ /**
137
+ * @generated from message openstatus.maintenance.v1.ListMaintenancesResponse
138
+ */
139
+ export type ListMaintenancesResponse = Message<"openstatus.maintenance.v1.ListMaintenancesResponse"> & {
140
+ /**
141
+ * List of maintenances.
142
+ *
143
+ * @generated from field: repeated openstatus.maintenance.v1.MaintenanceSummary maintenances = 1;
144
+ */
145
+ maintenances: MaintenanceSummary[];
146
+ /**
147
+ * Total number of maintenances matching the filter.
148
+ *
149
+ * @generated from field: int32 total_size = 2;
150
+ */
151
+ totalSize: number;
152
+ };
153
+ /**
154
+ * Describes the message openstatus.maintenance.v1.ListMaintenancesResponse.
155
+ * Use `create(ListMaintenancesResponseSchema)` to create a new message.
156
+ */
157
+ export declare const ListMaintenancesResponseSchema: GenMessage<ListMaintenancesResponse>;
158
+ /**
159
+ * @generated from message openstatus.maintenance.v1.UpdateMaintenanceRequest
160
+ */
161
+ export type UpdateMaintenanceRequest = Message<"openstatus.maintenance.v1.UpdateMaintenanceRequest"> & {
162
+ /**
163
+ * ID of the maintenance to update (required).
164
+ *
165
+ * @generated from field: string id = 1;
166
+ */
167
+ id: string;
168
+ /**
169
+ * New title for the maintenance (optional).
170
+ *
171
+ * @generated from field: optional string title = 2;
172
+ */
173
+ title?: string;
174
+ /**
175
+ * New message for the maintenance (optional).
176
+ *
177
+ * @generated from field: optional string message = 3;
178
+ */
179
+ message?: string;
180
+ /**
181
+ * New start time (RFC 3339 format, optional).
182
+ *
183
+ * @generated from field: optional string from = 4;
184
+ */
185
+ from?: string;
186
+ /**
187
+ * New end time (RFC 3339 format, optional).
188
+ *
189
+ * @generated from field: optional string to = 5;
190
+ */
191
+ to?: string;
192
+ /**
193
+ * New page ID (optional).
194
+ *
195
+ * @generated from field: optional string page_id = 6;
196
+ */
197
+ pageId?: string;
198
+ /**
199
+ * New list of page component IDs (optional, replaces existing list).
200
+ *
201
+ * @generated from field: repeated string page_component_ids = 7;
202
+ */
203
+ pageComponentIds: string[];
204
+ };
205
+ /**
206
+ * Describes the message openstatus.maintenance.v1.UpdateMaintenanceRequest.
207
+ * Use `create(UpdateMaintenanceRequestSchema)` to create a new message.
208
+ */
209
+ export declare const UpdateMaintenanceRequestSchema: GenMessage<UpdateMaintenanceRequest>;
210
+ /**
211
+ * @generated from message openstatus.maintenance.v1.UpdateMaintenanceResponse
212
+ */
213
+ export type UpdateMaintenanceResponse = Message<"openstatus.maintenance.v1.UpdateMaintenanceResponse"> & {
214
+ /**
215
+ * The updated maintenance.
216
+ *
217
+ * @generated from field: openstatus.maintenance.v1.Maintenance maintenance = 1;
218
+ */
219
+ maintenance?: Maintenance;
220
+ };
221
+ /**
222
+ * Describes the message openstatus.maintenance.v1.UpdateMaintenanceResponse.
223
+ * Use `create(UpdateMaintenanceResponseSchema)` to create a new message.
224
+ */
225
+ export declare const UpdateMaintenanceResponseSchema: GenMessage<UpdateMaintenanceResponse>;
226
+ /**
227
+ * @generated from message openstatus.maintenance.v1.DeleteMaintenanceRequest
228
+ */
229
+ export type DeleteMaintenanceRequest = Message<"openstatus.maintenance.v1.DeleteMaintenanceRequest"> & {
230
+ /**
231
+ * ID of the maintenance to delete (required).
232
+ *
233
+ * @generated from field: string id = 1;
234
+ */
235
+ id: string;
236
+ };
237
+ /**
238
+ * Describes the message openstatus.maintenance.v1.DeleteMaintenanceRequest.
239
+ * Use `create(DeleteMaintenanceRequestSchema)` to create a new message.
240
+ */
241
+ export declare const DeleteMaintenanceRequestSchema: GenMessage<DeleteMaintenanceRequest>;
242
+ /**
243
+ * @generated from message openstatus.maintenance.v1.DeleteMaintenanceResponse
244
+ */
245
+ export type DeleteMaintenanceResponse = Message<"openstatus.maintenance.v1.DeleteMaintenanceResponse"> & {
246
+ /**
247
+ * Whether the deletion was successful.
248
+ *
249
+ * @generated from field: bool success = 1;
250
+ */
251
+ success: boolean;
252
+ };
253
+ /**
254
+ * Describes the message openstatus.maintenance.v1.DeleteMaintenanceResponse.
255
+ * Use `create(DeleteMaintenanceResponseSchema)` to create a new message.
256
+ */
257
+ export declare const DeleteMaintenanceResponseSchema: GenMessage<DeleteMaintenanceResponse>;
258
+ /**
259
+ * MaintenanceService provides CRUD operations for maintenance windows.
260
+ *
261
+ * @generated from service openstatus.maintenance.v1.MaintenanceService
262
+ */
263
+ export declare const MaintenanceService: GenService<{
264
+ /**
265
+ * CreateMaintenance creates a new maintenance window.
266
+ *
267
+ * @generated from rpc openstatus.maintenance.v1.MaintenanceService.CreateMaintenance
268
+ */
269
+ createMaintenance: {
270
+ methodKind: "unary";
271
+ input: typeof CreateMaintenanceRequestSchema;
272
+ output: typeof CreateMaintenanceResponseSchema;
273
+ };
274
+ /**
275
+ * GetMaintenance retrieves a specific maintenance window by ID.
276
+ *
277
+ * @generated from rpc openstatus.maintenance.v1.MaintenanceService.GetMaintenance
278
+ */
279
+ getMaintenance: {
280
+ methodKind: "unary";
281
+ input: typeof GetMaintenanceRequestSchema;
282
+ output: typeof GetMaintenanceResponseSchema;
283
+ };
284
+ /**
285
+ * ListMaintenances returns all maintenance windows for the workspace.
286
+ *
287
+ * @generated from rpc openstatus.maintenance.v1.MaintenanceService.ListMaintenances
288
+ */
289
+ listMaintenances: {
290
+ methodKind: "unary";
291
+ input: typeof ListMaintenancesRequestSchema;
292
+ output: typeof ListMaintenancesResponseSchema;
293
+ };
294
+ /**
295
+ * UpdateMaintenance updates a maintenance window.
296
+ *
297
+ * @generated from rpc openstatus.maintenance.v1.MaintenanceService.UpdateMaintenance
298
+ */
299
+ updateMaintenance: {
300
+ methodKind: "unary";
301
+ input: typeof UpdateMaintenanceRequestSchema;
302
+ output: typeof UpdateMaintenanceResponseSchema;
303
+ };
304
+ /**
305
+ * DeleteMaintenance removes a maintenance window.
306
+ *
307
+ * @generated from rpc openstatus.maintenance.v1.MaintenanceService.DeleteMaintenance
308
+ */
309
+ deleteMaintenance: {
310
+ methodKind: "unary";
311
+ input: typeof DeleteMaintenanceRequestSchema;
312
+ output: typeof DeleteMaintenanceResponseSchema;
313
+ };
314
+ }>;
315
+ //# sourceMappingURL=service_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service_pb.d.ts","sourceRoot":"","sources":["../../../../../src/gen/openstatus/maintenance/v1/service_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,OAAO,EACP,UAAU,EACV,UAAU,EACX,MAAM,8BAA8B,CAAC;AAOtC,OAAO,KAAK,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE3E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,OAIlD,CAAC;AAEJ;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAChC,OAAO,CAAC,oDAAoD,CAAC,GAC7D;IACA;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAE3B;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEJ;;;GAGG;AACH,eAAO,MAAM,8BAA8B,EAAE,UAAU,CACrD,wBAAwB,CAE8B,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,yBAAyB,GACjC,OAAO,CAAC,qDAAqD,CAAC,GAC9D;IACA;;;;OAIG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B,CAAC;AAEJ;;;GAGG;AACH,eAAO,MAAM,+BAA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