@openstatus/sdk-node 0.1.1 → 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.
- package/README.md +90 -2
- package/esm/gen/openstatus/maintenance/v1/maintenance_pb.d.ts +139 -0
- package/esm/gen/openstatus/maintenance/v1/maintenance_pb.d.ts.map +1 -0
- package/esm/gen/openstatus/maintenance/v1/maintenance_pb.js +18 -0
- package/esm/gen/openstatus/maintenance/v1/service_pb.d.ts +315 -0
- package/esm/gen/openstatus/maintenance/v1/service_pb.d.ts.map +1 -0
- package/esm/gen/openstatus/maintenance/v1/service_pb.js +66 -0
- package/esm/gen/openstatus/monitor/v1/service_pb.d.ts +7 -13
- package/esm/gen/openstatus/monitor/v1/service_pb.d.ts.map +1 -1
- package/esm/gen/openstatus/monitor/v1/service_pb.js +1 -1
- package/esm/gen/openstatus/status_page/v1/service_pb.d.ts +4 -3
- package/esm/gen/openstatus/status_page/v1/service_pb.d.ts.map +1 -1
- package/esm/gen/openstatus/status_page/v1/service_pb.js +3 -1
- package/esm/gen/openstatus/status_page/v1/status_page_pb.d.ts +0 -60
- package/esm/gen/openstatus/status_page/v1/status_page_pb.d.ts.map +1 -1
- package/esm/gen/openstatus/status_page/v1/status_page_pb.js +1 -6
- package/esm/gen/openstatus/status_report/v1/service_pb.js +1 -1
- package/esm/mod.d.ts +22 -1
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +6 -0
- package/package.json +1 -1
- package/script/gen/openstatus/maintenance/v1/maintenance_pb.d.ts +139 -0
- package/script/gen/openstatus/maintenance/v1/maintenance_pb.d.ts.map +1 -0
- package/script/gen/openstatus/maintenance/v1/maintenance_pb.js +21 -0
- package/script/gen/openstatus/maintenance/v1/service_pb.d.ts +315 -0
- package/script/gen/openstatus/maintenance/v1/service_pb.d.ts.map +1 -0
- package/script/gen/openstatus/maintenance/v1/service_pb.js +69 -0
- package/script/gen/openstatus/monitor/v1/service_pb.d.ts +7 -13
- package/script/gen/openstatus/monitor/v1/service_pb.d.ts.map +1 -1
- package/script/gen/openstatus/monitor/v1/service_pb.js +1 -1
- package/script/gen/openstatus/status_page/v1/service_pb.d.ts +4 -3
- package/script/gen/openstatus/status_page/v1/service_pb.d.ts.map +1 -1
- package/script/gen/openstatus/status_page/v1/service_pb.js +3 -1
- package/script/gen/openstatus/status_page/v1/status_page_pb.d.ts +0 -60
- package/script/gen/openstatus/status_page/v1/status_page_pb.d.ts.map +1 -1
- package/script/gen/openstatus/status_page/v1/status_page_pb.js +2 -7
- package/script/gen/openstatus/status_report/v1/service_pb.js +1 -1
- package/script/mod.d.ts +22 -1
- package/script/mod.d.ts.map +1 -1
- package/script/mod.js +8 -2
package/README.md
CHANGED
|
@@ -14,8 +14,8 @@ status page with uptime monitoring.
|
|
|
14
14
|
- **Status Pages** - Create and manage public status pages with custom domains
|
|
15
15
|
- **Page Components** - Add monitor-based or static components with grouping
|
|
16
16
|
- **Subscribers** - Manage email subscriptions for status updates
|
|
17
|
-
- **Status Reports** - Manage incident
|
|
18
|
-
|
|
17
|
+
- **Status Reports** - Manage incident reports with update timelines
|
|
18
|
+
- **Maintenance Windows** - Schedule and manage planned maintenance periods
|
|
19
19
|
|
|
20
20
|
### Monitoring
|
|
21
21
|
|
|
@@ -733,6 +733,94 @@ for (const { componentId, status } of componentStatuses) {
|
|
|
733
733
|
}
|
|
734
734
|
```
|
|
735
735
|
|
|
736
|
+
### Maintenance Service
|
|
737
|
+
|
|
738
|
+
Manage scheduled maintenance windows.
|
|
739
|
+
|
|
740
|
+
#### `createMaintenance(request, options)`
|
|
741
|
+
|
|
742
|
+
Create a new maintenance window.
|
|
743
|
+
|
|
744
|
+
```typescript
|
|
745
|
+
const { maintenance } = await openstatus.maintenance.v1.MaintenanceService
|
|
746
|
+
.createMaintenance(
|
|
747
|
+
{
|
|
748
|
+
title: "Database Upgrade",
|
|
749
|
+
message: "We will be upgrading our database infrastructure.",
|
|
750
|
+
from: "2024-01-20T02:00:00Z",
|
|
751
|
+
to: "2024-01-20T04:00:00Z",
|
|
752
|
+
pageId: "page_123",
|
|
753
|
+
pageComponentIds: ["comp_456"],
|
|
754
|
+
notify: true,
|
|
755
|
+
},
|
|
756
|
+
{ headers },
|
|
757
|
+
);
|
|
758
|
+
|
|
759
|
+
console.log(`Maintenance created: ${maintenance?.id}`);
|
|
760
|
+
```
|
|
761
|
+
|
|
762
|
+
#### `getMaintenance(request, options)`
|
|
763
|
+
|
|
764
|
+
Get a maintenance window by ID.
|
|
765
|
+
|
|
766
|
+
```typescript
|
|
767
|
+
const { maintenance } = await openstatus.maintenance.v1.MaintenanceService
|
|
768
|
+
.getMaintenance(
|
|
769
|
+
{ id: "maint_123" },
|
|
770
|
+
{ headers },
|
|
771
|
+
);
|
|
772
|
+
|
|
773
|
+
console.log(`Title: ${maintenance?.title}`);
|
|
774
|
+
console.log(`From: ${maintenance?.from}`);
|
|
775
|
+
console.log(`To: ${maintenance?.to}`);
|
|
776
|
+
```
|
|
777
|
+
|
|
778
|
+
#### `listMaintenances(request, options)`
|
|
779
|
+
|
|
780
|
+
List all maintenance windows with pagination and optional filtering.
|
|
781
|
+
|
|
782
|
+
```typescript
|
|
783
|
+
const { maintenances, totalSize } = await openstatus.maintenance.v1
|
|
784
|
+
.MaintenanceService.listMaintenances(
|
|
785
|
+
{
|
|
786
|
+
limit: 10,
|
|
787
|
+
offset: 0,
|
|
788
|
+
pageId: "page_123", // optional filter
|
|
789
|
+
},
|
|
790
|
+
{ headers },
|
|
791
|
+
);
|
|
792
|
+
|
|
793
|
+
console.log(`Found ${totalSize} maintenance windows`);
|
|
794
|
+
```
|
|
795
|
+
|
|
796
|
+
#### `updateMaintenance(request, options)`
|
|
797
|
+
|
|
798
|
+
Update a maintenance window.
|
|
799
|
+
|
|
800
|
+
```typescript
|
|
801
|
+
const { maintenance } = await openstatus.maintenance.v1.MaintenanceService
|
|
802
|
+
.updateMaintenance(
|
|
803
|
+
{
|
|
804
|
+
id: "maint_123",
|
|
805
|
+
title: "Extended Database Upgrade",
|
|
806
|
+
to: "2024-01-20T06:00:00Z",
|
|
807
|
+
},
|
|
808
|
+
{ headers },
|
|
809
|
+
);
|
|
810
|
+
```
|
|
811
|
+
|
|
812
|
+
#### `deleteMaintenance(request, options)`
|
|
813
|
+
|
|
814
|
+
Delete a maintenance window.
|
|
815
|
+
|
|
816
|
+
```typescript
|
|
817
|
+
const { success } = await openstatus.maintenance.v1.MaintenanceService
|
|
818
|
+
.deleteMaintenance(
|
|
819
|
+
{ id: "maint_123" },
|
|
820
|
+
{ headers },
|
|
821
|
+
);
|
|
822
|
+
```
|
|
823
|
+
|
|
736
824
|
### Status Page Options
|
|
737
825
|
|
|
738
826
|
| Option | Type | Required | Description |
|
|
@@ -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,18 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file openstatus/maintenance/v1/maintenance.proto (package openstatus.maintenance.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file openstatus/maintenance/v1/maintenance.proto.
|
|
7
|
+
*/
|
|
8
|
+
export const file_openstatus_maintenance_v1_maintenance = /*@__PURE__*/ fileDesc("CitvcGVuc3RhdHVzL21haW50ZW5hbmNlL3YxL21haW50ZW5hbmNlLnByb3RvEhlvcGVuc3RhdHVzLm1haW50ZW5hbmNlLnYxIq8BChJNYWludGVuYW5jZVN1bW1hcnkSCgoCaWQYASABKAkSDQoFdGl0bGUYAiABKAkSDwoHbWVzc2FnZRgDIAEoCRIMCgRmcm9tGAQgASgJEgoKAnRvGAUgASgJEg8KB3BhZ2VfaWQYBiABKAkSGgoScGFnZV9jb21wb25lbnRfaWRzGAcgAygJEhIKCmNyZWF0ZWRfYXQYCCABKAkSEgoKdXBkYXRlZF9hdBgJIAEoCSKoAQoLTWFpbnRlbmFuY2USCgoCaWQYASABKAkSDQoFdGl0bGUYAiABKAkSDwoHbWVzc2FnZRgDIAEoCRIMCgRmcm9tGAQgASgJEgoKAnRvGAUgASgJEg8KB3BhZ2VfaWQYBiABKAkSGgoScGFnZV9jb21wb25lbnRfaWRzGAcgAygJEhIKCmNyZWF0ZWRfYXQYCCABKAkSEgoKdXBkYXRlZF9hdBgJIAEoCUJbWllnaXRodWIuY29tL29wZW5zdGF0dXNocS9vcGVuc3RhdHVzL3BhY2thZ2VzL3Byb3RvL29wZW5zdGF0dXMvbWFpbnRlbmFuY2UvdjE7bWFpbnRlbmFuY2V2MWIGcHJvdG8z");
|
|
9
|
+
/**
|
|
10
|
+
* Describes the message openstatus.maintenance.v1.MaintenanceSummary.
|
|
11
|
+
* Use `create(MaintenanceSummarySchema)` to create a new message.
|
|
12
|
+
*/
|
|
13
|
+
export const MaintenanceSummarySchema = /*@__PURE__*/ messageDesc(file_openstatus_maintenance_v1_maintenance, 0);
|
|
14
|
+
/**
|
|
15
|
+
* Describes the message openstatus.maintenance.v1.Maintenance.
|
|
16
|
+
* Use `create(MaintenanceSchema)` to create a new message.
|
|
17
|
+
*/
|
|
18
|
+
export const MaintenanceSchema = /*@__PURE__*/ messageDesc(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,WA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AAE,OAAO,8BAA8B,CAAC;QAC7C,MAAM,EAAE,OAAO,+BAA+B,CAAC;KAChD,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;CACH,CACuD,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file openstatus/maintenance/v1/service.proto (package openstatus.maintenance.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_maintenance_v1_maintenance } from "./maintenance_pb.js";
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file openstatus/maintenance/v1/service.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_openstatus_maintenance_v1_service = /*@__PURE__*/ fileDesc("CidvcGVuc3RhdHVzL21haW50ZW5hbmNlL3YxL3NlcnZpY2UucHJvdG8SGW9wZW5zdGF0dXMubWFpbnRlbmFuY2UudjEi2QIKGENyZWF0ZU1haW50ZW5hbmNlUmVxdWVzdBIZCgV0aXRsZRgBIAEoCUIKukgHcgUQARiAAhIYCgdtZXNzYWdlGAIgASgJQge6SARyAhABElkKBGZyb20YAyABKAlCS7pISHJGMkReXGR7NH0tXGR7Mn0tXGR7Mn1UXGR7Mn06XGR7Mn06XGR7Mn0oXC5cZHsxLDl9KT8oWnxbKy1dXGR7Mn06XGR7Mn0pJBJXCgJ0bxgEIAEoCUJLukhIckYyRF5cZHs0fS1cZHsyfS1cZHsyfVRcZHsyfTpcZHsyfTpcZHsyfShcLlxkezEsOX0pPyhafFsrLV1cZHsyfTpcZHsyfS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wZW5zdGF0dXMubWFpbnRlbmFuY2UudjEuVXBkYXRlTWFpbnRlbmFuY2VSZXNwb25zZRJ+ChFEZWxldGVNYWludGVuYW5jZRIzLm9wZW5zdGF0dXMubWFpbnRlbmFuY2UudjEuRGVsZXRlTWFpbnRlbmFuY2VSZXF1ZXN0GjQub3BlbnN0YXR1cy5tYWludGVuYW5jZS52MS5EZWxldGVNYWludGVuYW5jZVJlc3BvbnNlQltaWWdpdGh1Yi5jb20vb3BlbnN0YXR1c2hxL29wZW5zdGF0dXMvcGFja2FnZXMvcHJvdG8vb3BlbnN0YXR1cy9tYWludGVuYW5jZS92MTttYWludGVuYW5jZXYxYgZwcm90bzM", [file_buf_validate_validate, file_openstatus_maintenance_v1_maintenance]);
|
|
11
|
+
/**
|
|
12
|
+
* Describes the message openstatus.maintenance.v1.CreateMaintenanceRequest.
|
|
13
|
+
* Use `create(CreateMaintenanceRequestSchema)` to create a new message.
|
|
14
|
+
*/
|
|
15
|
+
export const CreateMaintenanceRequestSchema = /*@__PURE__*/ messageDesc(file_openstatus_maintenance_v1_service, 0);
|
|
16
|
+
/**
|
|
17
|
+
* Describes the message openstatus.maintenance.v1.CreateMaintenanceResponse.
|
|
18
|
+
* Use `create(CreateMaintenanceResponseSchema)` to create a new message.
|
|
19
|
+
*/
|
|
20
|
+
export const CreateMaintenanceResponseSchema = /*@__PURE__*/ messageDesc(file_openstatus_maintenance_v1_service, 1);
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message openstatus.maintenance.v1.GetMaintenanceRequest.
|
|
23
|
+
* Use `create(GetMaintenanceRequestSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export const GetMaintenanceRequestSchema = /*@__PURE__*/ messageDesc(file_openstatus_maintenance_v1_service, 2);
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message openstatus.maintenance.v1.GetMaintenanceResponse.
|
|
28
|
+
* Use `create(GetMaintenanceResponseSchema)` to create a new message.
|
|
29
|
+
*/
|
|
30
|
+
export const GetMaintenanceResponseSchema = /*@__PURE__*/ messageDesc(file_openstatus_maintenance_v1_service, 3);
|
|
31
|
+
/**
|
|
32
|
+
* Describes the message openstatus.maintenance.v1.ListMaintenancesRequest.
|
|
33
|
+
* Use `create(ListMaintenancesRequestSchema)` to create a new message.
|
|
34
|
+
*/
|
|
35
|
+
export const ListMaintenancesRequestSchema = /*@__PURE__*/ messageDesc(file_openstatus_maintenance_v1_service, 4);
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message openstatus.maintenance.v1.ListMaintenancesResponse.
|
|
38
|
+
* Use `create(ListMaintenancesResponseSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
export const ListMaintenancesResponseSchema = /*@__PURE__*/ messageDesc(file_openstatus_maintenance_v1_service, 5);
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message openstatus.maintenance.v1.UpdateMaintenanceRequest.
|
|
43
|
+
* Use `create(UpdateMaintenanceRequestSchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
export const UpdateMaintenanceRequestSchema = /*@__PURE__*/ messageDesc(file_openstatus_maintenance_v1_service, 6);
|
|
46
|
+
/**
|
|
47
|
+
* Describes the message openstatus.maintenance.v1.UpdateMaintenanceResponse.
|
|
48
|
+
* Use `create(UpdateMaintenanceResponseSchema)` to create a new message.
|
|
49
|
+
*/
|
|
50
|
+
export const UpdateMaintenanceResponseSchema = /*@__PURE__*/ messageDesc(file_openstatus_maintenance_v1_service, 7);
|
|
51
|
+
/**
|
|
52
|
+
* Describes the message openstatus.maintenance.v1.DeleteMaintenanceRequest.
|
|
53
|
+
* Use `create(DeleteMaintenanceRequestSchema)` to create a new message.
|
|
54
|
+
*/
|
|
55
|
+
export const DeleteMaintenanceRequestSchema = /*@__PURE__*/ messageDesc(file_openstatus_maintenance_v1_service, 8);
|
|
56
|
+
/**
|
|
57
|
+
* Describes the message openstatus.maintenance.v1.DeleteMaintenanceResponse.
|
|
58
|
+
* Use `create(DeleteMaintenanceResponseSchema)` to create a new message.
|
|
59
|
+
*/
|
|
60
|
+
export const DeleteMaintenanceResponseSchema = /*@__PURE__*/ messageDesc(file_openstatus_maintenance_v1_service, 9);
|
|
61
|
+
/**
|
|
62
|
+
* MaintenanceService provides CRUD operations for maintenance windows.
|
|
63
|
+
*
|
|
64
|
+
* @generated from service openstatus.maintenance.v1.MaintenanceService
|
|
65
|
+
*/
|
|
66
|
+
export const MaintenanceService = /*@__PURE__*/ serviceDesc(file_openstatus_maintenance_v1_service, 0);
|