@openstatus/sdk-node 0.1.2 → 0.1.3

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 (26) hide show
  1. package/README.md +837 -453
  2. package/esm/gen/openstatus/notification/v1/notification_pb.d.ts +110 -0
  3. package/esm/gen/openstatus/notification/v1/notification_pb.d.ts.map +1 -0
  4. package/esm/gen/openstatus/notification/v1/notification_pb.js +19 -0
  5. package/esm/gen/openstatus/notification/v1/providers_pb.d.ts +504 -0
  6. package/esm/gen/openstatus/notification/v1/providers_pb.d.ts.map +1 -0
  7. package/esm/gen/openstatus/notification/v1/providers_pb.js +199 -0
  8. package/esm/gen/openstatus/notification/v1/service_pb.d.ts +403 -0
  9. package/esm/gen/openstatus/notification/v1/service_pb.d.ts.map +1 -0
  10. package/esm/gen/openstatus/notification/v1/service_pb.js +91 -0
  11. package/esm/mod.d.ts +25 -0
  12. package/esm/mod.d.ts.map +1 -1
  13. package/esm/mod.js +7 -0
  14. package/package.json +5 -2
  15. package/script/gen/openstatus/notification/v1/notification_pb.d.ts +110 -0
  16. package/script/gen/openstatus/notification/v1/notification_pb.d.ts.map +1 -0
  17. package/script/gen/openstatus/notification/v1/notification_pb.js +22 -0
  18. package/script/gen/openstatus/notification/v1/providers_pb.d.ts +504 -0
  19. package/script/gen/openstatus/notification/v1/providers_pb.d.ts.map +1 -0
  20. package/script/gen/openstatus/notification/v1/providers_pb.js +202 -0
  21. package/script/gen/openstatus/notification/v1/service_pb.d.ts +403 -0
  22. package/script/gen/openstatus/notification/v1/service_pb.d.ts.map +1 -0
  23. package/script/gen/openstatus/notification/v1/service_pb.js +94 -0
  24. package/script/mod.d.ts +25 -0
  25. package/script/mod.d.ts.map +1 -1
  26. package/script/mod.js +12 -3
@@ -0,0 +1,91 @@
1
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=ts,import_extension=ts"
2
+ // @generated from file openstatus/notification/v1/service.proto (package openstatus.notification.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_notification_v1_notification } from "./notification_pb.js";
7
+ import { file_openstatus_notification_v1_providers } from "./providers_pb.js";
8
+ /**
9
+ * Describes the file openstatus/notification/v1/service.proto.
10
+ */
11
+ export const file_openstatus_notification_v1_service = /*@__PURE__*/ fileDesc("CihvcGVuc3RhdHVzL25vdGlmaWNhdGlvbi92MS9zZXJ2aWNlLnByb3RvEhpvcGVuc3RhdHVzLm5vdGlmaWNhdGlvbi52MSLbAQoZQ3JlYXRlTm90aWZpY2F0aW9uUmVxdWVzdBIVCgRuYW1lGAEgASgJQge6SARyAhABEk4KCHByb3ZpZGVyGAIgASgOMjAub3BlbnN0YXR1cy5ub3RpZmljYXRpb24udjEuTm90aWZpY2F0aW9uUHJvdmlkZXJCCrpIB4IBBBABIAASQgoEZGF0YRgDIAEoCzIsLm9wZW5zdGF0dXMubm90aWZpY2F0aW9uLnYxLk5vdGlmaWNhdGlvbkRhdGFCBrpIA8gBARITCgttb25pdG9yX2lkcxgEIAMoCSJcChpDcmVhdGVOb3RpZmljYXRpb25SZXNwb25zZRI+Cgxub3RpZmljYXRpb24YASABKAsyKC5vcGVuc3RhdHVzLm5vdGlmaWNhdGlvbi52MS5Ob3RpZmljYXRpb24iLQoWR2V0Tm90aWZpY2F0aW9uUmVxdWVzdBITCgJpZBgBIAEoCUIHukgEcgIQASJZChdHZXROb3RpZmljYXRpb25SZXNwb25zZRI+Cgxub3RpZmljYXRpb24YASABKAsyKC5vcGVuc3RhdHVzLm5vdGlmaWNhdGlvbi52MS5Ob3RpZmljYXRpb24ibAoYTGlzdE5vdGlmaWNhdGlvbnNSZXF1ZXN0Eh0KBWxpbWl0GAEgASgFQgm6SAYaBBhkKAFIAIgBARIcCgZvZmZzZXQYAiABKAVCB7pIBBoCKABIAYgBAUIICgZfbGltaXR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Lm9wZW5zdGF0dXMubm90aWZpY2F0aW9uLnYxLlNlbmRUZXN0Tm90aWZpY2F0aW9uUmVxdWVzdBo4Lm9wZW5zdGF0dXMubm90aWZpY2F0aW9uLnYxLlNlbmRUZXN0Tm90aWZpY2F0aW9uUmVzcG9uc2USjwEKFkNoZWNrTm90aWZpY2F0aW9uTGltaXQSOS5vcGVuc3RhdHVzLm5vdGlmaWNhdGlvbi52MS5DaGVja05vdGlmaWNhdGlvbkxpbWl0UmVxdWVzdBo6Lm9wZW5zdGF0dXMubm90aWZpY2F0aW9uLnYxLkNoZWNrTm90aWZpY2F0aW9uTGltaXRSZXNwb25zZUJdWltnaXRodWIuY29tL29wZW5zdGF0dXNocS9vcGVuc3RhdHVzL3BhY2thZ2VzL3Byb3RvL29wZW5zdGF0dXMvbm90aWZpY2F0aW9uL3YxO25vdGlmaWNhdGlvbnYxYgZwcm90bzM", [
12
+ file_buf_validate_validate,
13
+ file_openstatus_notification_v1_notification,
14
+ file_openstatus_notification_v1_providers,
15
+ ]);
16
+ /**
17
+ * Describes the message openstatus.notification.v1.CreateNotificationRequest.
18
+ * Use `create(CreateNotificationRequestSchema)` to create a new message.
19
+ */
20
+ export const CreateNotificationRequestSchema = /*@__PURE__*/ messageDesc(file_openstatus_notification_v1_service, 0);
21
+ /**
22
+ * Describes the message openstatus.notification.v1.CreateNotificationResponse.
23
+ * Use `create(CreateNotificationResponseSchema)` to create a new message.
24
+ */
25
+ export const CreateNotificationResponseSchema = /*@__PURE__*/ messageDesc(file_openstatus_notification_v1_service, 1);
26
+ /**
27
+ * Describes the message openstatus.notification.v1.GetNotificationRequest.
28
+ * Use `create(GetNotificationRequestSchema)` to create a new message.
29
+ */
30
+ export const GetNotificationRequestSchema = /*@__PURE__*/ messageDesc(file_openstatus_notification_v1_service, 2);
31
+ /**
32
+ * Describes the message openstatus.notification.v1.GetNotificationResponse.
33
+ * Use `create(GetNotificationResponseSchema)` to create a new message.
34
+ */
35
+ export const GetNotificationResponseSchema = /*@__PURE__*/ messageDesc(file_openstatus_notification_v1_service, 3);
36
+ /**
37
+ * Describes the message openstatus.notification.v1.ListNotificationsRequest.
38
+ * Use `create(ListNotificationsRequestSchema)` to create a new message.
39
+ */
40
+ export const ListNotificationsRequestSchema = /*@__PURE__*/ messageDesc(file_openstatus_notification_v1_service, 4);
41
+ /**
42
+ * Describes the message openstatus.notification.v1.ListNotificationsResponse.
43
+ * Use `create(ListNotificationsResponseSchema)` to create a new message.
44
+ */
45
+ export const ListNotificationsResponseSchema = /*@__PURE__*/ messageDesc(file_openstatus_notification_v1_service, 5);
46
+ /**
47
+ * Describes the message openstatus.notification.v1.UpdateNotificationRequest.
48
+ * Use `create(UpdateNotificationRequestSchema)` to create a new message.
49
+ */
50
+ export const UpdateNotificationRequestSchema = /*@__PURE__*/ messageDesc(file_openstatus_notification_v1_service, 6);
51
+ /**
52
+ * Describes the message openstatus.notification.v1.UpdateNotificationResponse.
53
+ * Use `create(UpdateNotificationResponseSchema)` to create a new message.
54
+ */
55
+ export const UpdateNotificationResponseSchema = /*@__PURE__*/ messageDesc(file_openstatus_notification_v1_service, 7);
56
+ /**
57
+ * Describes the message openstatus.notification.v1.DeleteNotificationRequest.
58
+ * Use `create(DeleteNotificationRequestSchema)` to create a new message.
59
+ */
60
+ export const DeleteNotificationRequestSchema = /*@__PURE__*/ messageDesc(file_openstatus_notification_v1_service, 8);
61
+ /**
62
+ * Describes the message openstatus.notification.v1.DeleteNotificationResponse.
63
+ * Use `create(DeleteNotificationResponseSchema)` to create a new message.
64
+ */
65
+ export const DeleteNotificationResponseSchema = /*@__PURE__*/ messageDesc(file_openstatus_notification_v1_service, 9);
66
+ /**
67
+ * Describes the message openstatus.notification.v1.SendTestNotificationRequest.
68
+ * Use `create(SendTestNotificationRequestSchema)` to create a new message.
69
+ */
70
+ export const SendTestNotificationRequestSchema = /*@__PURE__*/ messageDesc(file_openstatus_notification_v1_service, 10);
71
+ /**
72
+ * Describes the message openstatus.notification.v1.SendTestNotificationResponse.
73
+ * Use `create(SendTestNotificationResponseSchema)` to create a new message.
74
+ */
75
+ export const SendTestNotificationResponseSchema = /*@__PURE__*/ messageDesc(file_openstatus_notification_v1_service, 11);
76
+ /**
77
+ * Describes the message openstatus.notification.v1.CheckNotificationLimitRequest.
78
+ * Use `create(CheckNotificationLimitRequestSchema)` to create a new message.
79
+ */
80
+ export const CheckNotificationLimitRequestSchema = /*@__PURE__*/ messageDesc(file_openstatus_notification_v1_service, 12);
81
+ /**
82
+ * Describes the message openstatus.notification.v1.CheckNotificationLimitResponse.
83
+ * Use `create(CheckNotificationLimitResponseSchema)` to create a new message.
84
+ */
85
+ export const CheckNotificationLimitResponseSchema = /*@__PURE__*/ messageDesc(file_openstatus_notification_v1_service, 13);
86
+ /**
87
+ * NotificationService provides CRUD operations for notification channels.
88
+ *
89
+ * @generated from service openstatus.notification.v1.NotificationService
90
+ */
91
+ export const NotificationService = /*@__PURE__*/ serviceDesc(file_openstatus_notification_v1_service, 0);
package/esm/mod.d.ts CHANGED
@@ -33,6 +33,7 @@ import { HealthService } from "./gen/openstatus/health/v1/health_pb.js";
33
33
  import { StatusReportService } from "./gen/openstatus/status_report/v1/service_pb.js";
34
34
  import { StatusPageService } from "./gen/openstatus/status_page/v1/service_pb.js";
35
35
  import { MaintenanceService } from "./gen/openstatus/maintenance/v1/service_pb.js";
36
+ import { NotificationService } from "./gen/openstatus/notification/v1/service_pb.js";
36
37
  export type { Headers, HTTPMonitor, OpenTelemetryConfig, } from "./gen/openstatus/monitor/v1/http_monitor_pb.js";
37
38
  export type { TCPMonitor } from "./gen/openstatus/monitor/v1/tcp_monitor_pb.js";
38
39
  export type { DNSMonitor } from "./gen/openstatus/monitor/v1/dns_monitor_pb.js";
@@ -56,6 +57,10 @@ export type { PageSubscriber } from "./gen/openstatus/status_page/v1/page_subscr
56
57
  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
58
  export type { Maintenance, MaintenanceSummary, } from "./gen/openstatus/maintenance/v1/maintenance_pb.js";
58
59
  export type { CreateMaintenanceRequest, CreateMaintenanceResponse, DeleteMaintenanceRequest, DeleteMaintenanceResponse, GetMaintenanceRequest, GetMaintenanceResponse, ListMaintenancesRequest, ListMaintenancesResponse, UpdateMaintenanceRequest, UpdateMaintenanceResponse, } from "./gen/openstatus/maintenance/v1/service_pb.js";
60
+ export type { Notification, NotificationSummary, } from "./gen/openstatus/notification/v1/notification_pb.js";
61
+ export type { DiscordData, EmailData, GoogleChatData, GrafanaOncallData, NotificationData, NtfyData, OpsgenieData, PagerDutyData, SlackData, SmsData, TelegramData, WebhookData, WebhookHeader, WhatsappData, } from "./gen/openstatus/notification/v1/providers_pb.js";
62
+ export { NotificationProvider, OpsgenieRegion, } from "./gen/openstatus/notification/v1/providers_pb.js";
63
+ export type { CheckNotificationLimitRequest, CheckNotificationLimitResponse, CreateNotificationRequest, CreateNotificationResponse, DeleteNotificationRequest, DeleteNotificationResponse, GetNotificationRequest, GetNotificationResponse, ListNotificationsRequest, ListNotificationsResponse, SendTestNotificationRequest, SendTestNotificationResponse, UpdateNotificationRequest, UpdateNotificationResponse, } from "./gen/openstatus/notification/v1/service_pb.js";
59
64
  /**
60
65
  * OpenStatus API client interface.
61
66
  *
@@ -167,6 +172,26 @@ export interface OpenStatusClient {
167
172
  MaintenanceService: Client<typeof MaintenanceService>;
168
173
  };
169
174
  };
175
+ /**
176
+ * Notification service namespace (v1).
177
+ */
178
+ notification: {
179
+ v1: {
180
+ /**
181
+ * NotificationService provides CRUD operations for notification channels.
182
+ *
183
+ * Methods:
184
+ * - `createNotification` - Create a new notification channel
185
+ * - `getNotification` - Get a notification channel by ID
186
+ * - `listNotifications` - List all notification channels
187
+ * - `updateNotification` - Update a notification channel
188
+ * - `deleteNotification` - Delete a notification channel
189
+ * - `sendTestNotification` - Send a test notification
190
+ * - `checkNotificationLimit` - Check notification limits
191
+ */
192
+ NotificationService: Client<typeof NotificationService>;
193
+ };
194
+ };
170
195
  }
171
196
  /**
172
197
  * 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;AACtF,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAClF,OAAO,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AAGnF,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,mBA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IACF;;OAEG;IACH,WAAW,EAAE;QACX,EAAE,EAAE;YACF;;;;;;;;;eASG;YACH,kBAAkB,EAAE,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAC;SACvD,CAAC;KACH,CAAC;IACF;;OAEG;IACH,YAAY,EAAE;QACZ,EAAE,EAAE;YACF;;;;;;;;;;;eAWG;YACH,mBAAmB,EAAE,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAC;SACzD,CAAC;KACH,CAAC;CACH;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,UAAU,EAAE,gBA+BxB,CAAC"}
package/esm/mod.js CHANGED
@@ -34,6 +34,7 @@ import { HealthService } from "./gen/openstatus/health/v1/health_pb.js";
34
34
  import { StatusReportService } from "./gen/openstatus/status_report/v1/service_pb.js";
35
35
  import { StatusPageService } from "./gen/openstatus/status_page/v1/service_pb.js";
36
36
  import { MaintenanceService } from "./gen/openstatus/maintenance/v1/service_pb.js";
37
+ import { NotificationService } from "./gen/openstatus/notification/v1/service_pb.js";
37
38
  // Re-export assertion comparator enums
38
39
  export { NumberComparator, RecordComparator, StringComparator, } from "./gen/openstatus/monitor/v1/assertions_pb.js";
39
40
  // Re-export enums
@@ -45,6 +46,7 @@ export { CheckResponse_ServingStatus as ServingStatus } from "./gen/openstatus/h
45
46
  export { StatusReportStatus } from "./gen/openstatus/status_report/v1/status_report_pb.js";
46
47
  export { OverallStatus, PageAccessType, PageTheme, } from "./gen/openstatus/status_page/v1/status_page_pb.js";
47
48
  export { PageComponentType } from "./gen/openstatus/status_page/v1/page_component_pb.js";
49
+ export { NotificationProvider, OpsgenieRegion, } from "./gen/openstatus/notification/v1/providers_pb.js";
48
50
  /**
49
51
  * Default OpenStatus API URL.
50
52
  */
@@ -106,4 +108,9 @@ export const openstatus = {
106
108
  MaintenanceService: createClient(MaintenanceService, transport),
107
109
  },
108
110
  },
111
+ notification: {
112
+ v1: {
113
+ NotificationService: createClient(NotificationService, transport),
114
+ },
115
+ },
109
116
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openstatus/sdk-node",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "SDK for openstatus.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "license": "MIT",
10
10
  "bugs": {
11
- "url": "https://github.com/openstatushq/sdk-nod/issues"
11
+ "url": "https://github.com/openstatushq/sdk-node/issues"
12
12
  },
13
13
  "main": "./script/mod.js",
14
14
  "module": "./esm/mod.js",
@@ -21,6 +21,9 @@
21
21
  "scripts": {
22
22
  "test": "node test_runner.js"
23
23
  },
24
+ "publishConfig": {
25
+ "access": "public"
26
+ },
24
27
  "dependencies": {
25
28
  "@bufbuild/protobuf": "^2.11.0",
26
29
  "@connectrpc/connect": "^2.1.1",
@@ -0,0 +1,110 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { NotificationData, NotificationProvider } from "./providers_pb.js";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file openstatus/notification/v1/notification.proto.
6
+ */
7
+ export declare const file_openstatus_notification_v1_notification: GenFile;
8
+ /**
9
+ * Notification represents a notification channel with full details.
10
+ *
11
+ * @generated from message openstatus.notification.v1.Notification
12
+ */
13
+ export type Notification = Message<"openstatus.notification.v1.Notification"> & {
14
+ /**
15
+ * Unique identifier for the notification.
16
+ *
17
+ * @generated from field: string id = 1;
18
+ */
19
+ id: string;
20
+ /**
21
+ * Display name for the notification channel.
22
+ *
23
+ * @generated from field: string name = 2;
24
+ */
25
+ name: string;
26
+ /**
27
+ * Provider type.
28
+ *
29
+ * @generated from field: openstatus.notification.v1.NotificationProvider provider = 3;
30
+ */
31
+ provider: NotificationProvider;
32
+ /**
33
+ * Provider-specific configuration.
34
+ *
35
+ * @generated from field: openstatus.notification.v1.NotificationData data = 4;
36
+ */
37
+ data?: NotificationData;
38
+ /**
39
+ * IDs of monitors associated with this notification.
40
+ *
41
+ * @generated from field: repeated string monitor_ids = 5;
42
+ */
43
+ monitorIds: string[];
44
+ /**
45
+ * Timestamp when the notification was created (RFC 3339).
46
+ *
47
+ * @generated from field: string created_at = 6;
48
+ */
49
+ createdAt: string;
50
+ /**
51
+ * Timestamp when the notification was last updated (RFC 3339).
52
+ *
53
+ * @generated from field: string updated_at = 7;
54
+ */
55
+ updatedAt: string;
56
+ };
57
+ /**
58
+ * Describes the message openstatus.notification.v1.Notification.
59
+ * Use `create(NotificationSchema)` to create a new message.
60
+ */
61
+ export declare const NotificationSchema: GenMessage<Notification>;
62
+ /**
63
+ * NotificationSummary represents a notification channel summary for list responses.
64
+ *
65
+ * @generated from message openstatus.notification.v1.NotificationSummary
66
+ */
67
+ export type NotificationSummary = Message<"openstatus.notification.v1.NotificationSummary"> & {
68
+ /**
69
+ * Unique identifier for the notification.
70
+ *
71
+ * @generated from field: string id = 1;
72
+ */
73
+ id: string;
74
+ /**
75
+ * Display name for the notification channel.
76
+ *
77
+ * @generated from field: string name = 2;
78
+ */
79
+ name: string;
80
+ /**
81
+ * Provider type.
82
+ *
83
+ * @generated from field: openstatus.notification.v1.NotificationProvider provider = 3;
84
+ */
85
+ provider: NotificationProvider;
86
+ /**
87
+ * Number of monitors associated with this notification.
88
+ *
89
+ * @generated from field: int32 monitor_count = 4;
90
+ */
91
+ monitorCount: number;
92
+ /**
93
+ * Timestamp when the notification was created (RFC 3339).
94
+ *
95
+ * @generated from field: string created_at = 5;
96
+ */
97
+ createdAt: string;
98
+ /**
99
+ * Timestamp when the notification was last updated (RFC 3339).
100
+ *
101
+ * @generated from field: string updated_at = 6;
102
+ */
103
+ updatedAt: string;
104
+ };
105
+ /**
106
+ * Describes the message openstatus.notification.v1.NotificationSummary.
107
+ * Use `create(NotificationSummarySchema)` to create a new message.
108
+ */
109
+ export declare const NotificationSummarySchema: GenMessage<NotificationSummary>;
110
+ //# sourceMappingURL=notification_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification_pb.d.ts","sourceRoot":"","sources":["../../../../../src/gen/openstatus/notification/v1/notification_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAExE,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEhF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,4CAA4C,EACvD,OAIC,CAAC;AAEJ;;;;GAIG;AACH,MAAM,MAAM,YAAY,GACpB,OAAO,CAAC,yCAAyC,CAAC,GAClD;IACA;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,QAAQ,EAAE,oBAAoB,CAAC;IAE/B;;;;OAIG;IACH,IAAI,CAAC,EAAE,gBAAgB,CAAC;IAExB;;;;OAIG;IACH,UAAU,EAAE,MAAM,EAAE,CAAC;IAErB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEJ;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,UAAU,CAAC,YAAY,CACM,CAAC;AAE/D;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAC3B,OAAO,CAAC,gDAAgD,CAAC,GACzD;IACA;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,QAAQ,EAAE,oBAAoB,CAAC;IAE/B;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEJ;;;GAGG;AACH,eAAO,MAAM,yBAAyB,EAAE,UAAU,CAChD,mBAAmB,CAEyC,CAAC"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=ts,import_extension=ts"
3
+ // @generated from file openstatus/notification/v1/notification.proto (package openstatus.notification.v1, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.NotificationSummarySchema = exports.NotificationSchema = exports.file_openstatus_notification_v1_notification = void 0;
7
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
+ const providers_pb_js_1 = require("./providers_pb.js");
9
+ /**
10
+ * Describes the file openstatus/notification/v1/notification.proto.
11
+ */
12
+ exports.file_openstatus_notification_v1_notification = (0, codegenv2_1.fileDesc)("Ci1vcGVuc3RhdHVzL25vdGlmaWNhdGlvbi92MS9ub3RpZmljYXRpb24ucHJvdG8SGm9wZW5zdGF0dXMubm90aWZpY2F0aW9uLnYxIuUBCgxOb3RpZmljYXRpb24SCgoCaWQYASABKAkSDAoEbmFtZRgCIAEoCRJCCghwcm92aWRlchgDIAEoDjIwLm9wZW5zdGF0dXMubm90aWZpY2F0aW9uLnYxLk5vdGlmaWNhdGlvblByb3ZpZGVyEjoKBGRhdGEYBCABKAsyLC5vcGVuc3RhdHVzLm5vdGlmaWNhdGlvbi52MS5Ob3RpZmljYXRpb25EYXRhEhMKC21vbml0b3JfaWRzGAUgAygJEhIKCmNyZWF0ZWRfYXQYBiABKAkSEgoKdXBkYXRlZF9hdBgHIAEoCSKyAQoTTm90aWZpY2F0aW9uU3VtbWFyeRIKCgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEkIKCHByb3ZpZGVyGAMgASgOMjAub3BlbnN0YXR1cy5ub3RpZmljYXRpb24udjEuTm90aWZpY2F0aW9uUHJvdmlkZXISFQoNbW9uaXRvcl9jb3VudBgEIAEoBRISCgpjcmVhdGVkX2F0GAUgASgJEhIKCnVwZGF0ZWRfYXQYBiABKAlCXVpbZ2l0aHViLmNvbS9vcGVuc3RhdHVzaHEvb3BlbnN0YXR1cy9wYWNrYWdlcy9wcm90by9vcGVuc3RhdHVzL25vdGlmaWNhdGlvbi92MTtub3RpZmljYXRpb252MWIGcHJvdG8z", [providers_pb_js_1.file_openstatus_notification_v1_providers]);
13
+ /**
14
+ * Describes the message openstatus.notification.v1.Notification.
15
+ * Use `create(NotificationSchema)` to create a new message.
16
+ */
17
+ exports.NotificationSchema = (0, codegenv2_1.messageDesc)(exports.file_openstatus_notification_v1_notification, 0);
18
+ /**
19
+ * Describes the message openstatus.notification.v1.NotificationSummary.
20
+ * Use `create(NotificationSummarySchema)` to create a new message.
21
+ */
22
+ exports.NotificationSummarySchema = (0, codegenv2_1.messageDesc)(exports.file_openstatus_notification_v1_notification, 1);