plugnmeet-protocol-js 1.0.0

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 (69) hide show
  1. package/package.json +26 -0
  2. package/src/gen/buf/validate/expression_pb.d.ts +158 -0
  3. package/src/gen/buf/validate/expression_pb.js +47 -0
  4. package/src/gen/buf/validate/priv/private_pb.d.ts +80 -0
  5. package/src/gen/buf/validate/priv/private_pb.js +49 -0
  6. package/src/gen/buf/validate/validate_pb.d.ts +3932 -0
  7. package/src/gen/buf/validate/validate_pb.js +253 -0
  8. package/src/gen/livekit_agent_dispatch_pb.d.ts +231 -0
  9. package/src/gen/livekit_agent_dispatch_pb.js +82 -0
  10. package/src/gen/livekit_agent_pb.d.ts +632 -0
  11. package/src/gen/livekit_agent_pb.js +175 -0
  12. package/src/gen/livekit_analytics_pb.d.ts +733 -0
  13. package/src/gen/livekit_analytics_pb.js +124 -0
  14. package/src/gen/livekit_egress_pb.d.ts +1945 -0
  15. package/src/gen/livekit_egress_pb.js +333 -0
  16. package/src/gen/livekit_ingress_pb.d.ts +805 -0
  17. package/src/gen/livekit_ingress_pb.js +172 -0
  18. package/src/gen/livekit_internal_pb.d.ts +601 -0
  19. package/src/gen/livekit_internal_pb.js +101 -0
  20. package/src/gen/livekit_metrics_pb.d.ts +193 -0
  21. package/src/gen/livekit_metrics_pb.js +54 -0
  22. package/src/gen/livekit_models_pb.d.ts +2089 -0
  23. package/src/gen/livekit_models_pb.js +440 -0
  24. package/src/gen/livekit_room_pb.d.ts +743 -0
  25. package/src/gen/livekit_room_pb.js +178 -0
  26. package/src/gen/livekit_rtc_pb.d.ts +1688 -0
  27. package/src/gen/livekit_rtc_pb.js +384 -0
  28. package/src/gen/livekit_sip_pb.d.ts +1010 -0
  29. package/src/gen/livekit_sip_pb.js +223 -0
  30. package/src/gen/livekit_webhook_pb.d.ts +101 -0
  31. package/src/gen/livekit_webhook_pb.js +36 -0
  32. package/src/gen/plugnmeet_analytics_pb.d.ts +512 -0
  33. package/src/gen/plugnmeet_analytics_pb.js +97 -0
  34. package/src/gen/plugnmeet_auth_analytics_pb.d.ts +225 -0
  35. package/src/gen/plugnmeet_auth_analytics_pb.js +69 -0
  36. package/src/gen/plugnmeet_auth_recording_pb.d.ts +278 -0
  37. package/src/gen/plugnmeet_auth_recording_pb.js +84 -0
  38. package/src/gen/plugnmeet_auth_room_pb.d.ts +427 -0
  39. package/src/gen/plugnmeet_auth_room_pb.js +112 -0
  40. package/src/gen/plugnmeet_breakout_room_pb.d.ts +256 -0
  41. package/src/gen/plugnmeet_breakout_room_pb.js +68 -0
  42. package/src/gen/plugnmeet_common_api_pb.d.ts +591 -0
  43. package/src/gen/plugnmeet_common_api_pb.js +169 -0
  44. package/src/gen/plugnmeet_common_pb.d.ts +193 -0
  45. package/src/gen/plugnmeet_common_pb.js +48 -0
  46. package/src/gen/plugnmeet_create_room_pb.d.ts +696 -0
  47. package/src/gen/plugnmeet_create_room_pb.js +128 -0
  48. package/src/gen/plugnmeet_datamessage_pb.d.ts +137 -0
  49. package/src/gen/plugnmeet_datamessage_pb.js +31 -0
  50. package/src/gen/plugnmeet_gen_token_pb.d.ts +308 -0
  51. package/src/gen/plugnmeet_gen_token_pb.js +62 -0
  52. package/src/gen/plugnmeet_ingress_pb.d.ts +94 -0
  53. package/src/gen/plugnmeet_ingress_pb.js +38 -0
  54. package/src/gen/plugnmeet_lti_v1_pb.d.ts +145 -0
  55. package/src/gen/plugnmeet_lti_v1_pb.js +33 -0
  56. package/src/gen/plugnmeet_nats_msg_pb.d.ts +526 -0
  57. package/src/gen/plugnmeet_nats_msg_pb.js +118 -0
  58. package/src/gen/plugnmeet_polls_pb.d.ts +321 -0
  59. package/src/gen/plugnmeet_polls_pb.js +75 -0
  60. package/src/gen/plugnmeet_recorder_pb.d.ts +401 -0
  61. package/src/gen/plugnmeet_recorder_pb.js +85 -0
  62. package/src/gen/plugnmeet_recording_pb.d.ts +120 -0
  63. package/src/gen/plugnmeet_recording_pb.js +27 -0
  64. package/src/gen/plugnmeet_speech_services_pb.d.ts +212 -0
  65. package/src/gen/plugnmeet_speech_services_pb.js +59 -0
  66. package/src/gen/rpc/analytics_pb.d.ts +57 -0
  67. package/src/gen/rpc/analytics_pb.js +34 -0
  68. package/src/index.d.ts +17 -0
  69. package/src/index.js +17 -0
package/package.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "plugnmeet-protocol-js",
3
+ "version": "1.0.0",
4
+ "description": "plugNmeet JS proto files",
5
+ "author": "Jibon L. Costa",
6
+ "license": "MIT",
7
+ "type": "module",
8
+ "main": "src/index.js",
9
+ "types": "src/index.d.ts",
10
+ "files": [
11
+ "src"
12
+ ],
13
+ "exports": {
14
+ ".": {
15
+ "types": "./src/index.d.ts",
16
+ "default": "./src/index.js"
17
+ },
18
+ "./*": {
19
+ "types": "./src/gen/plugnmeet_*_pb.d.ts",
20
+ "default": "./src/gen/plugnmeet_*_pb.js"
21
+ }
22
+ },
23
+ "dependencies": {
24
+ "@bufbuild/protobuf": "2.0.0"
25
+ }
26
+ }
@@ -0,0 +1,158 @@
1
+ // Copyright 2023 Buf Technologies, Inc.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v2.0.0 with parameter "target=dts+js,import_extension=js"
16
+ // @generated from file buf/validate/expression.proto (package buf.validate, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
20
+ import type { Message } from "@bufbuild/protobuf";
21
+
22
+ /**
23
+ * Describes the file buf/validate/expression.proto.
24
+ */
25
+ export declare const file_buf_validate_expression: GenFile;
26
+
27
+ /**
28
+ * `Constraint` represents a validation rule written in the Common Expression
29
+ * Language (CEL) syntax. Each Constraint includes a unique identifier, an
30
+ * optional error message, and the CEL expression to evaluate. For more
31
+ * information on CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md).
32
+ *
33
+ * ```proto
34
+ * message Foo {
35
+ * option (buf.validate.message).cel = {
36
+ * id: "foo.bar"
37
+ * message: "bar must be greater than 0"
38
+ * expression: "this.bar > 0"
39
+ * };
40
+ * int32 bar = 1;
41
+ * }
42
+ * ```
43
+ *
44
+ * @generated from message buf.validate.Constraint
45
+ */
46
+ export declare type Constraint = Message<"buf.validate.Constraint"> & {
47
+ /**
48
+ * `id` is a string that serves as a machine-readable name for this Constraint.
49
+ * It should be unique within its scope, which could be either a message or a field.
50
+ *
51
+ * @generated from field: string id = 1;
52
+ */
53
+ id: string;
54
+
55
+ /**
56
+ * `message` is an optional field that provides a human-readable error message
57
+ * for this Constraint when the CEL expression evaluates to false. If a
58
+ * non-empty message is provided, any strings resulting from the CEL
59
+ * expression evaluation are ignored.
60
+ *
61
+ * @generated from field: string message = 2;
62
+ */
63
+ message: string;
64
+
65
+ /**
66
+ * `expression` is the actual CEL expression that will be evaluated for
67
+ * validation. This string must resolve to either a boolean or a string
68
+ * value. If the expression evaluates to false or a non-empty string, the
69
+ * validation is considered failed, and the message is rejected.
70
+ *
71
+ * @generated from field: string expression = 3;
72
+ */
73
+ expression: string;
74
+ };
75
+
76
+ /**
77
+ * Describes the message buf.validate.Constraint.
78
+ * Use `create(ConstraintSchema)` to create a new message.
79
+ */
80
+ export declare const ConstraintSchema: GenMessage<Constraint>;
81
+
82
+ /**
83
+ * `Violations` is a collection of `Violation` messages. This message type is returned by
84
+ * protovalidate when a proto message fails to meet the requirements set by the `Constraint` validation rules.
85
+ * Each individual violation is represented by a `Violation` message.
86
+ *
87
+ * @generated from message buf.validate.Violations
88
+ */
89
+ export declare type Violations = Message<"buf.validate.Violations"> & {
90
+ /**
91
+ * `violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
92
+ *
93
+ * @generated from field: repeated buf.validate.Violation violations = 1;
94
+ */
95
+ violations: Violation[];
96
+ };
97
+
98
+ /**
99
+ * Describes the message buf.validate.Violations.
100
+ * Use `create(ViolationsSchema)` to create a new message.
101
+ */
102
+ export declare const ViolationsSchema: GenMessage<Violations>;
103
+
104
+ /**
105
+ * `Violation` represents a single instance where a validation rule, expressed
106
+ * as a `Constraint`, was not met. It provides information about the field that
107
+ * caused the violation, the specific constraint that wasn't fulfilled, and a
108
+ * human-readable error message.
109
+ *
110
+ * ```json
111
+ * {
112
+ * "fieldPath": "bar",
113
+ * "constraintId": "foo.bar",
114
+ * "message": "bar must be greater than 0"
115
+ * }
116
+ * ```
117
+ *
118
+ * @generated from message buf.validate.Violation
119
+ */
120
+ export declare type Violation = Message<"buf.validate.Violation"> & {
121
+ /**
122
+ * `field_path` is a machine-readable identifier that points to the specific field that failed the validation.
123
+ * This could be a nested field, in which case the path will include all the parent fields leading to the actual field that caused the violation.
124
+ *
125
+ * @generated from field: string field_path = 1;
126
+ */
127
+ fieldPath: string;
128
+
129
+ /**
130
+ * `constraint_id` is the unique identifier of the `Constraint` that was not fulfilled.
131
+ * This is the same `id` that was specified in the `Constraint` message, allowing easy tracing of which rule was violated.
132
+ *
133
+ * @generated from field: string constraint_id = 2;
134
+ */
135
+ constraintId: string;
136
+
137
+ /**
138
+ * `message` is a human-readable error message that describes the nature of the violation.
139
+ * This can be the default error message from the violated `Constraint`, or it can be a custom message that gives more context about the violation.
140
+ *
141
+ * @generated from field: string message = 3;
142
+ */
143
+ message: string;
144
+
145
+ /**
146
+ * `for_key` indicates whether the violation was caused by a map key, rather than a value.
147
+ *
148
+ * @generated from field: bool for_key = 4;
149
+ */
150
+ forKey: boolean;
151
+ };
152
+
153
+ /**
154
+ * Describes the message buf.validate.Violation.
155
+ * Use `create(ViolationSchema)` to create a new message.
156
+ */
157
+ export declare const ViolationSchema: GenMessage<Violation>;
158
+
@@ -0,0 +1,47 @@
1
+ // Copyright 2023 Buf Technologies, Inc.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v2.0.0 with parameter "target=dts+js,import_extension=js"
16
+ // @generated from file buf/validate/expression.proto (package buf.validate, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
20
+
21
+ /**
22
+ * Describes the file buf/validate/expression.proto.
23
+ */
24
+ export const file_buf_validate_expression = /*@__PURE__*/
25
+ fileDesc("Ch1idWYvdmFsaWRhdGUvZXhwcmVzc2lvbi5wcm90bxIMYnVmLnZhbGlkYXRlIj0KCkNvbnN0cmFpbnQSCgoCaWQYASABKAkSDwoHbWVzc2FnZRgCIAEoCRISCgpleHByZXNzaW9uGAMgASgJIjkKClZpb2xhdGlvbnMSKwoKdmlvbGF0aW9ucxgBIAMoCzIXLmJ1Zi52YWxpZGF0ZS5WaW9sYXRpb24iWAoJVmlvbGF0aW9uEhIKCmZpZWxkX3BhdGgYASABKAkSFQoNY29uc3RyYWludF9pZBgCIAEoCRIPCgdtZXNzYWdlGAMgASgJEg8KB2Zvcl9rZXkYBCABKAhCvQEKEGNvbS5idWYudmFsaWRhdGVCD0V4cHJlc3Npb25Qcm90b1ABWkdidWYuYnVpbGQvZ2VuL2dvL2J1ZmJ1aWxkL3Byb3RvdmFsaWRhdGUvcHJvdG9jb2xidWZmZXJzL2dvL2J1Zi92YWxpZGF0ZaICA0JWWKoCDEJ1Zi5WYWxpZGF0ZcoCDEJ1ZlxWYWxpZGF0ZeICGEJ1ZlxWYWxpZGF0ZVxHUEJNZXRhZGF0YeoCDUJ1Zjo6VmFsaWRhdGViBnByb3RvMw");
26
+
27
+ /**
28
+ * Describes the message buf.validate.Constraint.
29
+ * Use `create(ConstraintSchema)` to create a new message.
30
+ */
31
+ export const ConstraintSchema = /*@__PURE__*/
32
+ messageDesc(file_buf_validate_expression, 0);
33
+
34
+ /**
35
+ * Describes the message buf.validate.Violations.
36
+ * Use `create(ViolationsSchema)` to create a new message.
37
+ */
38
+ export const ViolationsSchema = /*@__PURE__*/
39
+ messageDesc(file_buf_validate_expression, 1);
40
+
41
+ /**
42
+ * Describes the message buf.validate.Violation.
43
+ * Use `create(ViolationSchema)` to create a new message.
44
+ */
45
+ export const ViolationSchema = /*@__PURE__*/
46
+ messageDesc(file_buf_validate_expression, 2);
47
+
@@ -0,0 +1,80 @@
1
+ // Copyright 2023 Buf Technologies, Inc.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v2.0.0 with parameter "target=dts+js,import_extension=js"
16
+ // @generated from file buf/validate/priv/private.proto (package buf.validate.priv, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
20
+ import type { Message } from "@bufbuild/protobuf";
21
+ import type { FieldOptions } from "@bufbuild/protobuf/wkt";
22
+
23
+ /**
24
+ * Describes the file buf/validate/priv/private.proto.
25
+ */
26
+ export declare const file_buf_validate_priv_private: GenFile;
27
+
28
+ /**
29
+ * Do not use. Internal to protovalidate library
30
+ *
31
+ * @generated from message buf.validate.priv.FieldConstraints
32
+ */
33
+ export declare type FieldConstraints = Message<"buf.validate.priv.FieldConstraints"> & {
34
+ /**
35
+ * @generated from field: repeated buf.validate.priv.Constraint cel = 1;
36
+ */
37
+ cel: Constraint[];
38
+ };
39
+
40
+ /**
41
+ * Describes the message buf.validate.priv.FieldConstraints.
42
+ * Use `create(FieldConstraintsSchema)` to create a new message.
43
+ */
44
+ export declare const FieldConstraintsSchema: GenMessage<FieldConstraints>;
45
+
46
+ /**
47
+ * Do not use. Internal to protovalidate library
48
+ *
49
+ * @generated from message buf.validate.priv.Constraint
50
+ */
51
+ export declare type Constraint = Message<"buf.validate.priv.Constraint"> & {
52
+ /**
53
+ * @generated from field: string id = 1;
54
+ */
55
+ id: string;
56
+
57
+ /**
58
+ * @generated from field: string message = 2;
59
+ */
60
+ message: string;
61
+
62
+ /**
63
+ * @generated from field: string expression = 3;
64
+ */
65
+ expression: string;
66
+ };
67
+
68
+ /**
69
+ * Describes the message buf.validate.priv.Constraint.
70
+ * Use `create(ConstraintSchema)` to create a new message.
71
+ */
72
+ export declare const ConstraintSchema: GenMessage<Constraint>;
73
+
74
+ /**
75
+ * Do not use. Internal to protovalidate library
76
+ *
77
+ * @generated from extension: optional buf.validate.priv.FieldConstraints field = 1160;
78
+ */
79
+ export declare const field: GenExtension<FieldOptions, FieldConstraints>;
80
+
@@ -0,0 +1,49 @@
1
+ // Copyright 2023 Buf Technologies, Inc.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v2.0.0 with parameter "target=dts+js,import_extension=js"
16
+ // @generated from file buf/validate/priv/private.proto (package buf.validate.priv, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import { extDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
20
+ import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
21
+
22
+ /**
23
+ * Describes the file buf/validate/priv/private.proto.
24
+ */
25
+ export const file_buf_validate_priv_private = /*@__PURE__*/
26
+ fileDesc("Ch9idWYvdmFsaWRhdGUvcHJpdi9wcml2YXRlLnByb3RvEhFidWYudmFsaWRhdGUucHJpdiI+ChBGaWVsZENvbnN0cmFpbnRzEioKA2NlbBgBIAMoCzIdLmJ1Zi52YWxpZGF0ZS5wcml2LkNvbnN0cmFpbnQiPQoKQ29uc3RyYWludBIKCgJpZBgBIAEoCRIPCgdtZXNzYWdlGAIgASgJEhIKCmV4cHJlc3Npb24YAyABKAk6XAoFZmllbGQSHS5nb29nbGUucHJvdG9idWYuRmllbGRPcHRpb25zGIgJIAEoCzIjLmJ1Zi52YWxpZGF0ZS5wcml2LkZpZWxkQ29uc3RyYWludHNSBWZpZWxkiAEBQtkBChVjb20uYnVmLnZhbGlkYXRlLnByaXZCDFByaXZhdGVQcm90b1ABWkxidWYuYnVpbGQvZ2VuL2dvL2J1ZmJ1aWxkL3Byb3RvdmFsaWRhdGUvcHJvdG9jb2xidWZmZXJzL2dvL2J1Zi92YWxpZGF0ZS9wcml2ogIDQlZQqgIRQnVmLlZhbGlkYXRlLlByaXbKAhFCdWZcVmFsaWRhdGVcUHJpduICHUJ1ZlxWYWxpZGF0ZVxQcml2XEdQQk1ldGFkYXRh6gITQnVmOjpWYWxpZGF0ZTo6UHJpdmIGcHJvdG8z", [file_google_protobuf_descriptor]);
27
+
28
+ /**
29
+ * Describes the message buf.validate.priv.FieldConstraints.
30
+ * Use `create(FieldConstraintsSchema)` to create a new message.
31
+ */
32
+ export const FieldConstraintsSchema = /*@__PURE__*/
33
+ messageDesc(file_buf_validate_priv_private, 0);
34
+
35
+ /**
36
+ * Describes the message buf.validate.priv.Constraint.
37
+ * Use `create(ConstraintSchema)` to create a new message.
38
+ */
39
+ export const ConstraintSchema = /*@__PURE__*/
40
+ messageDesc(file_buf_validate_priv_private, 1);
41
+
42
+ /**
43
+ * Do not use. Internal to protovalidate library
44
+ *
45
+ * @generated from extension: optional buf.validate.priv.FieldConstraints field = 1160;
46
+ */
47
+ export const field = /*@__PURE__*/
48
+ extDesc(file_buf_validate_priv_private, 0);
49
+