@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.
- package/README.md +433 -10
- 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/page_component_pb.d.ts +150 -0
- package/esm/gen/openstatus/status_page/v1/page_component_pb.d.ts.map +1 -0
- package/esm/gen/openstatus/status_page/v1/page_component_pb.js +42 -0
- package/esm/gen/openstatus/status_page/v1/page_subscriber_pb.d.ts +61 -0
- package/esm/gen/openstatus/status_page/v1/page_subscriber_pb.d.ts.map +1 -0
- package/esm/gen/openstatus/status_page/v1/page_subscriber_pb.js +13 -0
- package/esm/gen/openstatus/status_page/v1/service_pb.d.ts +1044 -0
- package/esm/gen/openstatus/status_page/v1/service_pb.d.ts.map +1 -0
- package/esm/gen/openstatus/status_page/v1/service_pb.js +204 -0
- package/esm/gen/openstatus/status_page/v1/status_page_pb.d.ts +238 -0
- package/esm/gen/openstatus/status_page/v1/status_page_pb.d.ts.map +1 -0
- package/esm/gen/openstatus/status_page/v1/status_page_pb.js +114 -0
- package/esm/gen/openstatus/status_report/v1/service_pb.js +1 -1
- package/esm/mod.d.ts +58 -0
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +14 -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/page_component_pb.d.ts +150 -0
- package/script/gen/openstatus/status_page/v1/page_component_pb.d.ts.map +1 -0
- package/script/gen/openstatus/status_page/v1/page_component_pb.js +45 -0
- package/script/gen/openstatus/status_page/v1/page_subscriber_pb.d.ts +61 -0
- package/script/gen/openstatus/status_page/v1/page_subscriber_pb.d.ts.map +1 -0
- package/script/gen/openstatus/status_page/v1/page_subscriber_pb.js +16 -0
- package/script/gen/openstatus/status_page/v1/service_pb.d.ts +1044 -0
- package/script/gen/openstatus/status_page/v1/service_pb.d.ts.map +1 -0
- package/script/gen/openstatus/status_page/v1/service_pb.js +207 -0
- package/script/gen/openstatus/status_page/v1/status_page_pb.d.ts +238 -0
- package/script/gen/openstatus/status_page/v1/status_page_pb.d.ts.map +1 -0
- package/script/gen/openstatus/status_page/v1/status_page_pb.js +117 -0
- package/script/gen/openstatus/status_report/v1/service_pb.js +1 -1
- package/script/mod.d.ts +58 -0
- package/script/mod.d.ts.map +1 -1
- package/script/mod.js +21 -3
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file openstatus/status_page/v1/page_component.proto (package openstatus.status_page.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file openstatus/status_page/v1/page_component.proto.
|
|
7
|
+
*/
|
|
8
|
+
export const file_openstatus_status_page_v1_page_component = /*@__PURE__*/ fileDesc("Ci5vcGVuc3RhdHVzL3N0YXR1c19wYWdlL3YxL3BhZ2VfY29tcG9uZW50LnByb3RvEhlvcGVuc3RhdHVzLnN0YXR1c19wYWdlLnYxIv0BCg1QYWdlQ29tcG9uZW50EgoKAmlkGAEgASgJEg8KB3BhZ2VfaWQYAiABKAkSDAoEbmFtZRgDIAEoCRITCgtkZXNjcmlwdGlvbhgEIAEoCRI6CgR0eXBlGAUgASgOMiwub3BlbnN0YXR1cy5zdGF0dXNfcGFnZS52MS5QYWdlQ29tcG9uZW50VHlwZRISCgptb25pdG9yX2lkGAYgASgJEg0KBW9yZGVyGAcgASgFEhAKCGdyb3VwX2lkGAggASgJEhMKC2dyb3VwX29yZGVyGAkgASgFEhIKCmNyZWF0ZWRfYXQYCiABKAkSEgoKdXBkYXRlZF9hdBgLIAEoCSJnChJQYWdlQ29tcG9uZW50R3JvdXASCgoCaWQYASABKAkSDwoHcGFnZV9pZBgCIAEoCRIMCgRuYW1lGAMgASgJEhIKCmNyZWF0ZWRfYXQYBCABKAkSEgoKdXBkYXRlZF9hdBgFIAEoCSp5ChFQYWdlQ29tcG9uZW50VHlwZRIjCh9QQUdFX0NPTVBPTkVOVF9UWVBFX1VOU1BFQ0lGSUVEEAASHwobUEFHRV9DT01QT05FTlRfVFlQRV9NT05JVE9SEAESHgoaUEFHRV9DT01QT05FTlRfVFlQRV9TVEFUSUMQAkJaWlhnaXRodWIuY29tL29wZW5zdGF0dXNocS9vcGVuc3RhdHVzL3BhY2thZ2VzL3Byb3RvL29wZW5zdGF0dXMvc3RhdHVzX3BhZ2UvdjE7c3RhdHVzcGFnZXYxYgZwcm90bzM");
|
|
9
|
+
/**
|
|
10
|
+
* Describes the message openstatus.status_page.v1.PageComponent.
|
|
11
|
+
* Use `create(PageComponentSchema)` to create a new message.
|
|
12
|
+
*/
|
|
13
|
+
export const PageComponentSchema = /*@__PURE__*/ messageDesc(file_openstatus_status_page_v1_page_component, 0);
|
|
14
|
+
/**
|
|
15
|
+
* Describes the message openstatus.status_page.v1.PageComponentGroup.
|
|
16
|
+
* Use `create(PageComponentGroupSchema)` to create a new message.
|
|
17
|
+
*/
|
|
18
|
+
export const PageComponentGroupSchema = /*@__PURE__*/ messageDesc(file_openstatus_status_page_v1_page_component, 1);
|
|
19
|
+
/**
|
|
20
|
+
* PageComponentType defines the type of a component on a status page.
|
|
21
|
+
*
|
|
22
|
+
* @generated from enum openstatus.status_page.v1.PageComponentType
|
|
23
|
+
*/
|
|
24
|
+
export var PageComponentType;
|
|
25
|
+
(function (PageComponentType) {
|
|
26
|
+
/**
|
|
27
|
+
* @generated from enum value: PAGE_COMPONENT_TYPE_UNSPECIFIED = 0;
|
|
28
|
+
*/
|
|
29
|
+
PageComponentType[PageComponentType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
30
|
+
/**
|
|
31
|
+
* @generated from enum value: PAGE_COMPONENT_TYPE_MONITOR = 1;
|
|
32
|
+
*/
|
|
33
|
+
PageComponentType[PageComponentType["MONITOR"] = 1] = "MONITOR";
|
|
34
|
+
/**
|
|
35
|
+
* @generated from enum value: PAGE_COMPONENT_TYPE_STATIC = 2;
|
|
36
|
+
*/
|
|
37
|
+
PageComponentType[PageComponentType["STATIC"] = 2] = "STATIC";
|
|
38
|
+
})(PageComponentType || (PageComponentType = {}));
|
|
39
|
+
/**
|
|
40
|
+
* Describes the enum openstatus.status_page.v1.PageComponentType.
|
|
41
|
+
*/
|
|
42
|
+
export const PageComponentTypeSchema = /*@__PURE__*/ enumDesc(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,13 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file openstatus/status_page/v1/page_subscriber.proto (package openstatus.status_page.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file openstatus/status_page/v1/page_subscriber.proto.
|
|
7
|
+
*/
|
|
8
|
+
export const file_openstatus_status_page_v1_page_subscriber = /*@__PURE__*/ fileDesc("Ci9vcGVuc3RhdHVzL3N0YXR1c19wYWdlL3YxL3BhZ2Vfc3Vic2NyaWJlci5wcm90bxIZb3BlbnN0YXR1cy5zdGF0dXNfcGFnZS52MSKSAQoOUGFnZVN1YnNjcmliZXISCgoCaWQYASABKAkSDwoHcGFnZV9pZBgCIAEoCRINCgVlbWFpbBgDIAEoCRITCgthY2NlcHRlZF9hdBgEIAEoCRIXCg91bnN1YnNjcmliZWRfYXQYBSABKAkSEgoKY3JlYXRlZF9hdBgGIAEoCRISCgp1cGRhdGVkX2F0GAcgASgJQlpaWGdpdGh1Yi5jb20vb3BlbnN0YXR1c2hxL29wZW5zdGF0dXMvcGFja2FnZXMvcHJvdG8vb3BlbnN0YXR1cy9zdGF0dXNfcGFnZS92MTtzdGF0dXNwYWdldjFiBnByb3RvMw");
|
|
9
|
+
/**
|
|
10
|
+
* Describes the message openstatus.status_page.v1.PageSubscriber.
|
|
11
|
+
* Use `create(PageSubscriberSchema)` to create a new message.
|
|
12
|
+
*/
|
|
13
|
+
export const PageSubscriberSchema = /*@__PURE__*/ messageDesc(file_openstatus_status_page_v1_page_subscriber, 0);
|