@openstatus/sdk-node 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/README.md +345 -10
  2. package/esm/gen/openstatus/status_page/v1/page_component_pb.d.ts +150 -0
  3. package/esm/gen/openstatus/status_page/v1/page_component_pb.d.ts.map +1 -0
  4. package/esm/gen/openstatus/status_page/v1/page_component_pb.js +42 -0
  5. package/esm/gen/openstatus/status_page/v1/page_subscriber_pb.d.ts +61 -0
  6. package/esm/gen/openstatus/status_page/v1/page_subscriber_pb.d.ts.map +1 -0
  7. package/esm/gen/openstatus/status_page/v1/page_subscriber_pb.js +13 -0
  8. package/esm/gen/openstatus/status_page/v1/service_pb.d.ts +1043 -0
  9. package/esm/gen/openstatus/status_page/v1/service_pb.d.ts.map +1 -0
  10. package/esm/gen/openstatus/status_page/v1/service_pb.js +202 -0
  11. package/esm/gen/openstatus/status_page/v1/status_page_pb.d.ts +298 -0
  12. package/esm/gen/openstatus/status_page/v1/status_page_pb.d.ts.map +1 -0
  13. package/esm/gen/openstatus/status_page/v1/status_page_pb.js +119 -0
  14. package/esm/mod.d.ts +37 -0
  15. package/esm/mod.d.ts.map +1 -1
  16. package/esm/mod.js +8 -0
  17. package/package.json +1 -1
  18. package/script/gen/openstatus/status_page/v1/page_component_pb.d.ts +150 -0
  19. package/script/gen/openstatus/status_page/v1/page_component_pb.d.ts.map +1 -0
  20. package/script/gen/openstatus/status_page/v1/page_component_pb.js +45 -0
  21. package/script/gen/openstatus/status_page/v1/page_subscriber_pb.d.ts +61 -0
  22. package/script/gen/openstatus/status_page/v1/page_subscriber_pb.d.ts.map +1 -0
  23. package/script/gen/openstatus/status_page/v1/page_subscriber_pb.js +16 -0
  24. package/script/gen/openstatus/status_page/v1/service_pb.d.ts +1043 -0
  25. package/script/gen/openstatus/status_page/v1/service_pb.d.ts.map +1 -0
  26. package/script/gen/openstatus/status_page/v1/service_pb.js +205 -0
  27. package/script/gen/openstatus/status_page/v1/status_page_pb.d.ts +298 -0
  28. package/script/gen/openstatus/status_page/v1/status_page_pb.d.ts.map +1 -0
  29. package/script/gen/openstatus/status_page/v1/status_page_pb.js +122 -0
  30. package/script/mod.d.ts +37 -0
  31. package/script/mod.d.ts.map +1 -1
  32. package/script/mod.js +15 -3
package/esm/mod.d.ts CHANGED
@@ -31,6 +31,7 @@ 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";
34
35
  export type { Headers, HTTPMonitor, OpenTelemetryConfig, } from "./gen/openstatus/monitor/v1/http_monitor_pb.js";
35
36
  export type { TCPMonitor } from "./gen/openstatus/monitor/v1/tcp_monitor_pb.js";
36
37
  export type { DNSMonitor } from "./gen/openstatus/monitor/v1/dns_monitor_pb.js";
@@ -46,6 +47,12 @@ export { CheckResponse_ServingStatus as ServingStatus } from "./gen/openstatus/h
46
47
  export type { StatusReport, StatusReportSummary, StatusReportUpdate, } from "./gen/openstatus/status_report/v1/status_report_pb.js";
47
48
  export { StatusReportStatus } from "./gen/openstatus/status_report/v1/status_report_pb.js";
48
49
  export type { AddStatusReportUpdateRequest, AddStatusReportUpdateResponse, CreateStatusReportRequest, CreateStatusReportResponse, DeleteStatusReportRequest, DeleteStatusReportResponse, GetStatusReportRequest, GetStatusReportResponse, ListStatusReportsRequest, ListStatusReportsResponse, UpdateStatusReportRequest, UpdateStatusReportResponse, } from "./gen/openstatus/status_report/v1/service_pb.js";
50
+ export type { Maintenance, StatusPage, StatusPageSummary, } from "./gen/openstatus/status_page/v1/status_page_pb.js";
51
+ export { OverallStatus, PageAccessType, PageTheme, } from "./gen/openstatus/status_page/v1/status_page_pb.js";
52
+ export type { PageComponent, PageComponentGroup, } from "./gen/openstatus/status_page/v1/page_component_pb.js";
53
+ export { PageComponentType } from "./gen/openstatus/status_page/v1/page_component_pb.js";
54
+ export type { PageSubscriber } from "./gen/openstatus/status_page/v1/page_subscriber_pb.js";
55
+ 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";
49
56
  /**
50
57
  * OpenStatus API client interface.
51
58
  *
@@ -109,6 +116,36 @@ export interface OpenStatusClient {
109
116
  StatusReportService: Client<typeof StatusReportService>;
110
117
  };
111
118
  };
119
+ /**
120
+ * Status page service namespace (v1).
121
+ */
122
+ statusPage: {
123
+ v1: {
124
+ /**
125
+ * StatusPageService provides CRUD and management operations for status pages.
126
+ *
127
+ * Methods:
128
+ * - `createStatusPage` - Create a new status page
129
+ * - `getStatusPage` - Get a status page by ID
130
+ * - `listStatusPages` - List all status pages
131
+ * - `updateStatusPage` - Update a status page
132
+ * - `deleteStatusPage` - Delete a status page
133
+ * - `addMonitorComponent` - Add a monitor-based component
134
+ * - `addStaticComponent` - Add a static component
135
+ * - `removeComponent` - Remove a component
136
+ * - `updateComponent` - Update a component
137
+ * - `createComponentGroup` - Create a component group
138
+ * - `deleteComponentGroup` - Delete a component group
139
+ * - `updateComponentGroup` - Update a component group
140
+ * - `subscribeToPage` - Subscribe an email to a status page
141
+ * - `unsubscribeFromPage` - Unsubscribe from a status page
142
+ * - `listSubscribers` - List all subscribers
143
+ * - `getStatusPageContent` - Get full status page content
144
+ * - `getOverallStatus` - Get aggregated status
145
+ */
146
+ StatusPageService: Client<typeof StatusPageService>;
147
+ };
148
+ };
112
149
  }
113
150
  /**
114
151
  * 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,8CAA8C,CAAC;AAGtD,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,8CAA8C,CAAC;AAGtD,OAAO,EAAE,UAAU,EAAE,MAAM,gDAAgD,CAAC;AAE5E,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AAEhF,OAAO,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAG1E,YAAY,EACV,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,EACxB,yBAAyB,E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vB,wBAAwB,EACxB,uBAAuB,EACvB,wBAAwB,EACxB,2BAA2B,EAC3B,4BAA4B,EAC5B,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,EACvB,0BAA0B,EAC1B,2BAA2B,EAC3B,2BAA2B,EAC3B,4BAA4B,EAC5B,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,wBAAwB,GACzB,MAAM,+CAA+C,CAAC;AAevD;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,OAAO,EAAE;QACP,EAAE,EAAE;YACF;;;;;;;;;;;;;;;eAeG;YACH,cAAc,EAAE,MAAM,CAAC,OAAO,cAAc,CAAC,CAAC;SAC/C,CAAC;KACH,CAAC;IACF;;OAEG;IACH,MAAM,EAAE;QACN,EAAE,EAAE;YACF;;;;;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;CACH;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,UAAU,EAAE,gBAqBxB,CAAC"}
package/esm/mod.js CHANGED
@@ -32,6 +32,7 @@ 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";
35
36
  // Re-export assertion comparator enums
36
37
  export { NumberComparator, RecordComparator, StringComparator, } from "./gen/openstatus/monitor/v1/assertions_pb.js";
37
38
  // Re-export enums
@@ -41,6 +42,8 @@ export { MonitorStatus } from "./gen/openstatus/monitor/v1/monitor_pb.js";
41
42
  export { TimeRange } from "./gen/openstatus/monitor/v1/service_pb.js";
42
43
  export { CheckResponse_ServingStatus as ServingStatus } from "./gen/openstatus/health/v1/health_pb.js";
43
44
  export { StatusReportStatus } from "./gen/openstatus/status_report/v1/status_report_pb.js";
45
+ export { OverallStatus, PageAccessType, PageTheme, } from "./gen/openstatus/status_page/v1/status_page_pb.js";
46
+ export { PageComponentType } from "./gen/openstatus/status_page/v1/page_component_pb.js";
44
47
  /**
45
48
  * Default OpenStatus API URL.
46
49
  */
@@ -92,4 +95,9 @@ export const openstatus = {
92
95
  StatusReportService: createClient(StatusReportService, transport),
93
96
  },
94
97
  },
98
+ statusPage: {
99
+ v1: {
100
+ StatusPageService: createClient(StatusPageService, transport),
101
+ },
102
+ },
95
103
  };
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.1",
4
4
  "description": "SDK for openstatus.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -0,0 +1,150 @@
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Message } from "@bufbuild/protobuf";
3
+ /**
4
+ * Describes the file openstatus/status_page/v1/page_component.proto.
5
+ */
6
+ export declare const file_openstatus_status_page_v1_page_component: GenFile;
7
+ /**
8
+ * PageComponent represents a component displayed on a status page.
9
+ *
10
+ * @generated from message openstatus.status_page.v1.PageComponent
11
+ */
12
+ export type PageComponent = Message<"openstatus.status_page.v1.PageComponent"> & {
13
+ /**
14
+ * Unique identifier for the component.
15
+ *
16
+ * @generated from field: string id = 1;
17
+ */
18
+ id: string;
19
+ /**
20
+ * ID of the status page this component belongs to.
21
+ *
22
+ * @generated from field: string page_id = 2;
23
+ */
24
+ pageId: string;
25
+ /**
26
+ * Display name of the component.
27
+ *
28
+ * @generated from field: string name = 3;
29
+ */
30
+ name: string;
31
+ /**
32
+ * Description of the component (optional).
33
+ *
34
+ * @generated from field: string description = 4;
35
+ */
36
+ description: string;
37
+ /**
38
+ * Type of the component (monitor or static).
39
+ *
40
+ * @generated from field: openstatus.status_page.v1.PageComponentType type = 5;
41
+ */
42
+ type: PageComponentType;
43
+ /**
44
+ * ID of the monitor if type is MONITOR (optional).
45
+ *
46
+ * @generated from field: string monitor_id = 6;
47
+ */
48
+ monitorId: string;
49
+ /**
50
+ * Display order of the component.
51
+ *
52
+ * @generated from field: int32 order = 7;
53
+ */
54
+ order: number;
55
+ /**
56
+ * ID of the group this component belongs to (optional).
57
+ *
58
+ * @generated from field: string group_id = 8;
59
+ */
60
+ groupId: string;
61
+ /**
62
+ * Order within the group if grouped.
63
+ *
64
+ * @generated from field: int32 group_order = 9;
65
+ */
66
+ groupOrder: number;
67
+ /**
68
+ * Timestamp when the component was created (RFC 3339 format).
69
+ *
70
+ * @generated from field: string created_at = 10;
71
+ */
72
+ createdAt: string;
73
+ /**
74
+ * Timestamp when the component was last updated (RFC 3339 format).
75
+ *
76
+ * @generated from field: string updated_at = 11;
77
+ */
78
+ updatedAt: string;
79
+ };
80
+ /**
81
+ * Describes the message openstatus.status_page.v1.PageComponent.
82
+ * Use `create(PageComponentSchema)` to create a new message.
83
+ */
84
+ export declare const PageComponentSchema: GenMessage<PageComponent>;
85
+ /**
86
+ * PageComponentGroup represents a group of components on a status page.
87
+ *
88
+ * @generated from message openstatus.status_page.v1.PageComponentGroup
89
+ */
90
+ export type PageComponentGroup = Message<"openstatus.status_page.v1.PageComponentGroup"> & {
91
+ /**
92
+ * Unique identifier for the group.
93
+ *
94
+ * @generated from field: string id = 1;
95
+ */
96
+ id: string;
97
+ /**
98
+ * ID of the status page this group belongs to.
99
+ *
100
+ * @generated from field: string page_id = 2;
101
+ */
102
+ pageId: string;
103
+ /**
104
+ * Display name of the group.
105
+ *
106
+ * @generated from field: string name = 3;
107
+ */
108
+ name: string;
109
+ /**
110
+ * Timestamp when the group was created (RFC 3339 format).
111
+ *
112
+ * @generated from field: string created_at = 4;
113
+ */
114
+ createdAt: string;
115
+ /**
116
+ * Timestamp when the group was last updated (RFC 3339 format).
117
+ *
118
+ * @generated from field: string updated_at = 5;
119
+ */
120
+ updatedAt: string;
121
+ };
122
+ /**
123
+ * Describes the message openstatus.status_page.v1.PageComponentGroup.
124
+ * Use `create(PageComponentGroupSchema)` to create a new message.
125
+ */
126
+ export declare const PageComponentGroupSchema: GenMessage<PageComponentGroup>;
127
+ /**
128
+ * PageComponentType defines the type of a component on a status page.
129
+ *
130
+ * @generated from enum openstatus.status_page.v1.PageComponentType
131
+ */
132
+ export declare enum PageComponentType {
133
+ /**
134
+ * @generated from enum value: PAGE_COMPONENT_TYPE_UNSPECIFIED = 0;
135
+ */
136
+ UNSPECIFIED = 0,
137
+ /**
138
+ * @generated from enum value: PAGE_COMPONENT_TYPE_MONITOR = 1;
139
+ */
140
+ MONITOR = 1,
141
+ /**
142
+ * @generated from enum value: PAGE_COMPONENT_TYPE_STATIC = 2;
143
+ */
144
+ STATIC = 2
145
+ }
146
+ /**
147
+ * Describes the enum openstatus.status_page.v1.PageComponentType.
148
+ */
149
+ export declare const PageComponentTypeSchema: GenEnum<PageComponentType>;
150
+ //# sourceMappingURL=page_component_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page_component_pb.d.ts","sourceRoot":"","sources":["../../../../../src/gen/openstatus/status_page/v1/page_component_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,OAAO,EACP,OAAO,EACP,UAAU,EACX,MAAM,8BAA8B,CAAC;AAE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AAI;IAEf;;OAEG;IACH,OAAO,IAAI;IAEX;;OAEG;IACH,MAAM,IAAI;CACX;AAED;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE,OAAO,CAAC,iBAAiB,CACH,CAAC"}
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=ts,import_extension=ts"
3
+ // @generated from file openstatus/status_page/v1/page_component.proto (package openstatus.status_page.v1, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PageComponentTypeSchema = exports.PageComponentType = exports.PageComponentGroupSchema = exports.PageComponentSchema = exports.file_openstatus_status_page_v1_page_component = void 0;
7
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
+ /**
9
+ * Describes the file openstatus/status_page/v1/page_component.proto.
10
+ */
11
+ exports.file_openstatus_status_page_v1_page_component = (0, codegenv2_1.fileDesc)("Ci5vcGVuc3RhdHVzL3N0YXR1c19wYWdlL3YxL3BhZ2VfY29tcG9uZW50LnByb3RvEhlvcGVuc3RhdHVzLnN0YXR1c19wYWdlLnYxIv0BCg1QYWdlQ29tcG9uZW50EgoKAmlkGAEgASgJEg8KB3BhZ2VfaWQYAiABKAkSDAoEbmFtZRgDIAEoCRITCgtkZXNjcmlwdGlvbhgEIAEoCRI6CgR0eXBlGAUgASgOMiwub3BlbnN0YXR1cy5zdGF0dXNfcGFnZS52MS5QYWdlQ29tcG9uZW50VHlwZRISCgptb25pdG9yX2lkGAYgASgJEg0KBW9yZGVyGAcgASgFEhAKCGdyb3VwX2lkGAggASgJEhMKC2dyb3VwX29yZGVyGAkgASgFEhIKCmNyZWF0ZWRfYXQYCiABKAkSEgoKdXBkYXRlZF9hdBgLIAEoCSJnChJQYWdlQ29tcG9uZW50R3JvdXASCgoCaWQYASABKAkSDwoHcGFnZV9pZBgCIAEoCRIMCgRuYW1lGAMgASgJEhIKCmNyZWF0ZWRfYXQYBCABKAkSEgoKdXBkYXRlZF9hdBgFIAEoCSp5ChFQYWdlQ29tcG9uZW50VHlwZRIjCh9QQUdFX0NPTVBPTkVOVF9UWVBFX1VOU1BFQ0lGSUVEEAASHwobUEFHRV9DT01QT05FTlRfVFlQRV9NT05JVE9SEAESHgoaUEFHRV9DT01QT05FTlRfVFlQRV9TVEFUSUMQAkJaWlhnaXRodWIuY29tL29wZW5zdGF0dXNocS9vcGVuc3RhdHVzL3BhY2thZ2VzL3Byb3RvL29wZW5zdGF0dXMvc3RhdHVzX3BhZ2UvdjE7c3RhdHVzcGFnZXYxYgZwcm90bzM");
12
+ /**
13
+ * Describes the message openstatus.status_page.v1.PageComponent.
14
+ * Use `create(PageComponentSchema)` to create a new message.
15
+ */
16
+ exports.PageComponentSchema = (0, codegenv2_1.messageDesc)(exports.file_openstatus_status_page_v1_page_component, 0);
17
+ /**
18
+ * Describes the message openstatus.status_page.v1.PageComponentGroup.
19
+ * Use `create(PageComponentGroupSchema)` to create a new message.
20
+ */
21
+ exports.PageComponentGroupSchema = (0, codegenv2_1.messageDesc)(exports.file_openstatus_status_page_v1_page_component, 1);
22
+ /**
23
+ * PageComponentType defines the type of a component on a status page.
24
+ *
25
+ * @generated from enum openstatus.status_page.v1.PageComponentType
26
+ */
27
+ var PageComponentType;
28
+ (function (PageComponentType) {
29
+ /**
30
+ * @generated from enum value: PAGE_COMPONENT_TYPE_UNSPECIFIED = 0;
31
+ */
32
+ PageComponentType[PageComponentType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
33
+ /**
34
+ * @generated from enum value: PAGE_COMPONENT_TYPE_MONITOR = 1;
35
+ */
36
+ PageComponentType[PageComponentType["MONITOR"] = 1] = "MONITOR";
37
+ /**
38
+ * @generated from enum value: PAGE_COMPONENT_TYPE_STATIC = 2;
39
+ */
40
+ PageComponentType[PageComponentType["STATIC"] = 2] = "STATIC";
41
+ })(PageComponentType || (exports.PageComponentType = PageComponentType = {}));
42
+ /**
43
+ * Describes the enum openstatus.status_page.v1.PageComponentType.
44
+ */
45
+ exports.PageComponentTypeSchema = (0, codegenv2_1.enumDesc)(exports.file_openstatus_status_page_v1_page_component, 0);
@@ -0,0 +1,61 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Message } from "@bufbuild/protobuf";
3
+ /**
4
+ * Describes the file openstatus/status_page/v1/page_subscriber.proto.
5
+ */
6
+ export declare const file_openstatus_status_page_v1_page_subscriber: GenFile;
7
+ /**
8
+ * PageSubscriber represents a subscriber to a status page.
9
+ *
10
+ * @generated from message openstatus.status_page.v1.PageSubscriber
11
+ */
12
+ export type PageSubscriber = Message<"openstatus.status_page.v1.PageSubscriber"> & {
13
+ /**
14
+ * Unique identifier for the subscriber.
15
+ *
16
+ * @generated from field: string id = 1;
17
+ */
18
+ id: string;
19
+ /**
20
+ * ID of the status page the user is subscribed to.
21
+ *
22
+ * @generated from field: string page_id = 2;
23
+ */
24
+ pageId: string;
25
+ /**
26
+ * Email address of the subscriber.
27
+ *
28
+ * @generated from field: string email = 3;
29
+ */
30
+ email: string;
31
+ /**
32
+ * Timestamp when the subscription was accepted/confirmed (RFC 3339 format, optional).
33
+ *
34
+ * @generated from field: string accepted_at = 4;
35
+ */
36
+ acceptedAt: string;
37
+ /**
38
+ * Timestamp when the user unsubscribed (RFC 3339 format, optional).
39
+ *
40
+ * @generated from field: string unsubscribed_at = 5;
41
+ */
42
+ unsubscribedAt: string;
43
+ /**
44
+ * Timestamp when the subscription was created (RFC 3339 format).
45
+ *
46
+ * @generated from field: string created_at = 6;
47
+ */
48
+ createdAt: string;
49
+ /**
50
+ * Timestamp when the subscription was last updated (RFC 3339 format).
51
+ *
52
+ * @generated from field: string updated_at = 7;
53
+ */
54
+ updatedAt: string;
55
+ };
56
+ /**
57
+ * Describes the message openstatus.status_page.v1.PageSubscriber.
58
+ * Use `create(PageSubscriberSchema)` to create a new message.
59
+ */
60
+ export declare const PageSubscriberSchema: GenMessage<PageSubscriber>;
61
+ //# sourceMappingURL=page_subscriber_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page_subscriber_pb.d.ts","sourceRoot":"","sources":["../../../../../src/gen/openstatus/status_page/v1/page_subscriber_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,8CAA8C,EACzD,OAGC,CAAC;AAEJ;;;;GAIG;AACH,MAAM,MAAM,cAAc,GACtB,OAAO,CAAC,0CAA0C,CAAC,GACnD;IACA;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEJ;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,UAAU,CAAC,cAAc,CACI,CAAC"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=ts,import_extension=ts"
3
+ // @generated from file openstatus/status_page/v1/page_subscriber.proto (package openstatus.status_page.v1, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PageSubscriberSchema = exports.file_openstatus_status_page_v1_page_subscriber = void 0;
7
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
+ /**
9
+ * Describes the file openstatus/status_page/v1/page_subscriber.proto.
10
+ */
11
+ exports.file_openstatus_status_page_v1_page_subscriber = (0, codegenv2_1.fileDesc)("Ci9vcGVuc3RhdHVzL3N0YXR1c19wYWdlL3YxL3BhZ2Vfc3Vic2NyaWJlci5wcm90bxIZb3BlbnN0YXR1cy5zdGF0dXNfcGFnZS52MSKSAQoOUGFnZVN1YnNjcmliZXISCgoCaWQYASABKAkSDwoHcGFnZV9pZBgCIAEoCRINCgVlbWFpbBgDIAEoCRITCgthY2NlcHRlZF9hdBgEIAEoCRIXCg91bnN1YnNjcmliZWRfYXQYBSABKAkSEgoKY3JlYXRlZF9hdBgGIAEoCRISCgp1cGRhdGVkX2F0GAcgASgJQlpaWGdpdGh1Yi5jb20vb3BlbnN0YXR1c2hxL29wZW5zdGF0dXMvcGFja2FnZXMvcHJvdG8vb3BlbnN0YXR1cy9zdGF0dXNfcGFnZS92MTtzdGF0dXNwYWdldjFiBnByb3RvMw");
12
+ /**
13
+ * Describes the message openstatus.status_page.v1.PageSubscriber.
14
+ * Use `create(PageSubscriberSchema)` to create a new message.
15
+ */
16
+ exports.PageSubscriberSchema = (0, codegenv2_1.messageDesc)(exports.file_openstatus_status_page_v1_page_subscriber, 0);