@livekit/rtc-node 0.12.1 → 0.13.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 (223) hide show
  1. package/dist/audio_frame.cjs +2 -2
  2. package/dist/audio_frame.cjs.map +1 -1
  3. package/dist/audio_frame.d.cts +31 -0
  4. package/dist/audio_frame.d.ts +11 -5
  5. package/dist/audio_frame.d.ts.map +1 -1
  6. package/dist/audio_frame.js +3 -3
  7. package/dist/audio_frame.js.map +1 -1
  8. package/dist/audio_resampler.cjs +10 -7
  9. package/dist/audio_resampler.cjs.map +1 -1
  10. package/dist/audio_resampler.d.cts +59 -0
  11. package/dist/audio_resampler.d.ts +11 -3
  12. package/dist/audio_resampler.d.ts.map +1 -1
  13. package/dist/audio_resampler.js +13 -10
  14. package/dist/audio_resampler.js.map +1 -1
  15. package/dist/audio_source.cjs +6 -4
  16. package/dist/audio_source.cjs.map +1 -1
  17. package/dist/audio_source.d.cts +37 -0
  18. package/dist/audio_source.d.ts +13 -5
  19. package/dist/audio_source.d.ts.map +1 -1
  20. package/dist/audio_source.js +9 -7
  21. package/dist/audio_source.js.map +1 -1
  22. package/dist/audio_stream.cjs +1 -2
  23. package/dist/audio_stream.cjs.map +1 -1
  24. package/dist/audio_stream.d.cts +37 -0
  25. package/dist/audio_stream.d.ts +16 -5
  26. package/dist/audio_stream.d.ts.map +1 -1
  27. package/dist/audio_stream.js +2 -3
  28. package/dist/audio_stream.js.map +1 -1
  29. package/dist/e2ee.cjs +19 -20
  30. package/dist/e2ee.cjs.map +1 -1
  31. package/dist/e2ee.d.cts +47 -0
  32. package/dist/e2ee.d.ts +11 -8
  33. package/dist/e2ee.d.ts.map +1 -1
  34. package/dist/e2ee.js +29 -30
  35. package/dist/e2ee.js.map +1 -1
  36. package/dist/ffi_client.cjs +6 -5
  37. package/dist/ffi_client.cjs.map +1 -1
  38. package/dist/ffi_client.d.cts +35 -0
  39. package/dist/ffi_client.d.ts +23 -11
  40. package/dist/ffi_client.d.ts.map +1 -1
  41. package/dist/ffi_client.js +6 -10
  42. package/dist/ffi_client.js.map +1 -1
  43. package/dist/index.cjs +16 -49
  44. package/dist/index.cjs.map +1 -1
  45. package/dist/index.d.cts +28 -0
  46. package/dist/index.d.ts +20 -41
  47. package/dist/index.d.ts.map +1 -1
  48. package/dist/index.js +7 -46
  49. package/dist/index.js.map +1 -1
  50. package/dist/napi/native.d.cjs.map +1 -1
  51. package/dist/napi/native.d.d.cts +21 -0
  52. package/dist/napi/native.d.d.ts +21 -0
  53. package/dist/napi/native.d.ts +5 -5
  54. package/dist/native.d.ts +5 -5
  55. package/dist/participant.cjs +57 -34
  56. package/dist/participant.cjs.map +1 -1
  57. package/dist/participant.d.cts +126 -0
  58. package/dist/participant.d.ts +34 -20
  59. package/dist/participant.d.ts.map +1 -1
  60. package/dist/participant.js +75 -50
  61. package/dist/participant.js.map +1 -1
  62. package/dist/proto/audio_frame_pb.cjs +977 -125
  63. package/dist/proto/audio_frame_pb.cjs.map +1 -1
  64. package/dist/proto/audio_frame_pb.d.cts +898 -0
  65. package/dist/proto/audio_frame_pb.d.ts +506 -417
  66. package/dist/proto/audio_frame_pb.d.ts.map +1 -1
  67. package/dist/proto/audio_frame_pb.js +943 -85
  68. package/dist/proto/audio_frame_pb.js.map +1 -1
  69. package/dist/proto/e2ee_pb.cjs +700 -85
  70. package/dist/proto/e2ee_pb.cjs.map +1 -1
  71. package/dist/proto/e2ee_pb.d.cts +653 -0
  72. package/dist/proto/e2ee_pb.d.ts +333 -263
  73. package/dist/proto/e2ee_pb.d.ts.map +1 -1
  74. package/dist/proto/e2ee_pb.js +675 -57
  75. package/dist/proto/e2ee_pb.js.map +1 -1
  76. package/dist/proto/ffi_pb.cjs +369 -36
  77. package/dist/proto/ffi_pb.cjs.map +1 -1
  78. package/dist/proto/ffi_pb.d.cts +898 -0
  79. package/dist/proto/ffi_pb.d.ts +164 -112
  80. package/dist/proto/ffi_pb.d.ts.map +1 -1
  81. package/dist/proto/ffi_pb.js +364 -29
  82. package/dist/proto/ffi_pb.js.map +1 -1
  83. package/dist/proto/handle_pb.cjs +27 -7
  84. package/dist/proto/handle_pb.cjs.map +1 -1
  85. package/dist/proto/handle_pb.d.cts +31 -0
  86. package/dist/proto/handle_pb.d.ts +15 -15
  87. package/dist/proto/handle_pb.d.ts.map +1 -1
  88. package/dist/proto/handle_pb.js +26 -5
  89. package/dist/proto/handle_pb.js.map +1 -1
  90. package/dist/proto/participant_pb.cjs +112 -15
  91. package/dist/proto/participant_pb.cjs.map +1 -1
  92. package/dist/proto/participant_pb.d.cts +181 -0
  93. package/dist/proto/participant_pb.d.ts +143 -53
  94. package/dist/proto/participant_pb.d.ts.map +1 -1
  95. package/dist/proto/participant_pb.js +109 -11
  96. package/dist/proto/participant_pb.js.map +1 -1
  97. package/dist/proto/room_pb.cjs +2693 -302
  98. package/dist/proto/room_pb.cjs.map +1 -1
  99. package/dist/proto/room_pb.d.cts +2475 -0
  100. package/dist/proto/room_pb.d.ts +1269 -864
  101. package/dist/proto/room_pb.d.ts.map +1 -1
  102. package/dist/proto/room_pb.js +2603 -210
  103. package/dist/proto/room_pb.js.map +1 -1
  104. package/dist/proto/rpc_pb.cjs +302 -37
  105. package/dist/proto/rpc_pb.cjs.map +1 -1
  106. package/dist/proto/rpc_pb.d.cts +267 -0
  107. package/dist/proto/rpc_pb.d.ts +140 -108
  108. package/dist/proto/rpc_pb.d.ts.map +1 -1
  109. package/dist/proto/rpc_pb.js +291 -25
  110. package/dist/proto/rpc_pb.js.map +1 -1
  111. package/dist/proto/stats_pb.cjs +1253 -139
  112. package/dist/proto/stats_pb.cjs.map +1 -1
  113. package/dist/proto/stats_pb.d.cts +1764 -0
  114. package/dist/proto/stats_pb.d.ts +806 -693
  115. package/dist/proto/stats_pb.d.ts.map +1 -1
  116. package/dist/proto/stats_pb.js +1216 -93
  117. package/dist/proto/stats_pb.js.map +1 -1
  118. package/dist/proto/track_pb.cjs +462 -64
  119. package/dist/proto/track_pb.cjs.map +1 -1
  120. package/dist/proto/track_pb.d.cts +434 -0
  121. package/dist/proto/track_pb.d.ts +254 -220
  122. package/dist/proto/track_pb.d.ts.map +1 -1
  123. package/dist/proto/track_pb.js +447 -45
  124. package/dist/proto/track_pb.js.map +1 -1
  125. package/dist/proto/track_publication_pb.cjs +130 -0
  126. package/dist/proto/track_publication_pb.cjs.map +1 -0
  127. package/dist/proto/track_publication_pb.d.cts +80 -0
  128. package/dist/proto/track_publication_pb.d.ts +80 -0
  129. package/dist/proto/track_publication_pb.d.ts.map +1 -0
  130. package/dist/proto/track_publication_pb.js +103 -0
  131. package/dist/proto/track_publication_pb.js.map +1 -0
  132. package/dist/proto/video_frame_pb.cjs +648 -88
  133. package/dist/proto/video_frame_pb.cjs.map +1 -1
  134. package/dist/proto/video_frame_pb.d.cts +660 -0
  135. package/dist/proto/video_frame_pb.d.ts +375 -328
  136. package/dist/proto/video_frame_pb.d.ts.map +1 -1
  137. package/dist/proto/video_frame_pb.js +626 -60
  138. package/dist/proto/video_frame_pb.js.map +1 -1
  139. package/dist/room.cjs +93 -125
  140. package/dist/room.cjs.map +1 -1
  141. package/dist/room.d.cts +123 -0
  142. package/dist/room.d.ts +37 -34
  143. package/dist/room.d.ts.map +1 -1
  144. package/dist/room.js +92 -122
  145. package/dist/room.js.map +1 -1
  146. package/dist/rpc.cjs.map +1 -1
  147. package/dist/rpc.d.cts +81 -0
  148. package/dist/rpc.d.ts +10 -7
  149. package/dist/rpc.js.map +1 -1
  150. package/dist/track.cjs +12 -8
  151. package/dist/track.cjs.map +1 -1
  152. package/dist/track.d.cts +45 -0
  153. package/dist/track.d.ts +30 -20
  154. package/dist/track.d.ts.map +1 -1
  155. package/dist/track.js +13 -9
  156. package/dist/track.js.map +1 -1
  157. package/dist/track_publication.cjs +21 -12
  158. package/dist/track_publication.cjs.map +1 -1
  159. package/dist/track_publication.d.cts +47 -0
  160. package/dist/track_publication.d.ts +30 -19
  161. package/dist/track_publication.d.ts.map +1 -1
  162. package/dist/track_publication.js +22 -13
  163. package/dist/track_publication.js.map +1 -1
  164. package/dist/transcription.d.cts +15 -0
  165. package/dist/transcription.d.ts +4 -3
  166. package/dist/types.d.cts +9 -0
  167. package/dist/types.d.ts +3 -2
  168. package/dist/version.cjs +1 -1
  169. package/dist/version.cjs.map +1 -1
  170. package/dist/version.d.cts +3 -0
  171. package/dist/version.d.ts +3 -2
  172. package/dist/version.js +1 -1
  173. package/dist/version.js.map +1 -1
  174. package/dist/video_frame.cjs +26 -45
  175. package/dist/video_frame.cjs.map +1 -1
  176. package/dist/video_frame.d.cts +24 -0
  177. package/dist/video_frame.d.ts +10 -4
  178. package/dist/video_frame.d.ts.map +1 -1
  179. package/dist/video_frame.js +29 -48
  180. package/dist/video_frame.js.map +1 -1
  181. package/dist/video_source.cjs +7 -4
  182. package/dist/video_source.cjs.map +1 -1
  183. package/dist/video_source.d.cts +22 -0
  184. package/dist/video_source.d.ts +14 -7
  185. package/dist/video_source.d.ts.map +1 -1
  186. package/dist/video_source.js +9 -6
  187. package/dist/video_source.js.map +1 -1
  188. package/dist/video_stream.cjs +16 -5
  189. package/dist/video_stream.cjs.map +1 -1
  190. package/dist/video_stream.d.cts +40 -0
  191. package/dist/video_stream.d.ts +18 -7
  192. package/dist/video_stream.d.ts.map +1 -1
  193. package/dist/video_stream.js +17 -6
  194. package/dist/video_stream.js.map +1 -1
  195. package/package.json +17 -12
  196. package/src/audio_frame.ts +10 -10
  197. package/src/audio_resampler.ts +15 -13
  198. package/src/audio_source.ts +11 -8
  199. package/src/audio_stream.ts +3 -4
  200. package/src/e2ee.ts +36 -37
  201. package/src/ffi_client.ts +8 -16
  202. package/src/index.ts +5 -68
  203. package/src/napi/native.d.ts +5 -5
  204. package/src/participant.ts +100 -72
  205. package/src/proto/audio_frame_pb.ts +1220 -496
  206. package/src/proto/e2ee_pb.ts +858 -337
  207. package/src/proto/ffi_pb.ts +442 -135
  208. package/src/proto/handle_pb.ts +33 -19
  209. package/src/proto/participant_pb.ts +225 -60
  210. package/src/proto/room_pb.ts +3149 -1013
  211. package/src/proto/rpc_pb.ts +358 -129
  212. package/src/proto/stats_pb.ts +1891 -877
  213. package/src/proto/track_pb.ts +587 -253
  214. package/src/proto/track_publication_pb.ts +180 -0
  215. package/src/proto/video_frame_pb.ts +861 -394
  216. package/src/room.ts +143 -188
  217. package/src/rpc.ts +1 -1
  218. package/src/track.ts +16 -17
  219. package/src/track_publication.ts +25 -26
  220. package/src/version.ts +1 -1
  221. package/src/video_frame.ts +48 -72
  222. package/src/video_source.ts +11 -8
  223. package/src/video_stream.ts +18 -8
@@ -18,46 +18,311 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var rpc_pb_exports = {};
20
20
  __export(rpc_pb_exports, {
21
- PerformRpcCallbackSchema: () => PerformRpcCallbackSchema,
22
- PerformRpcRequestSchema: () => PerformRpcRequestSchema,
23
- PerformRpcResponseSchema: () => PerformRpcResponseSchema,
24
- RegisterRpcMethodRequestSchema: () => RegisterRpcMethodRequestSchema,
25
- RegisterRpcMethodResponseSchema: () => RegisterRpcMethodResponseSchema,
26
- RpcErrorSchema: () => RpcErrorSchema,
27
- RpcMethodInvocationEventSchema: () => RpcMethodInvocationEventSchema,
28
- RpcMethodInvocationResponseRequestSchema: () => RpcMethodInvocationResponseRequestSchema,
29
- RpcMethodInvocationResponseResponseSchema: () => RpcMethodInvocationResponseResponseSchema,
30
- UnregisterRpcMethodRequestSchema: () => UnregisterRpcMethodRequestSchema,
31
- UnregisterRpcMethodResponseSchema: () => UnregisterRpcMethodResponseSchema,
32
- file_rpc: () => file_rpc
21
+ PerformRpcCallback: () => PerformRpcCallback,
22
+ PerformRpcRequest: () => PerformRpcRequest,
23
+ PerformRpcResponse: () => PerformRpcResponse,
24
+ RegisterRpcMethodRequest: () => RegisterRpcMethodRequest,
25
+ RegisterRpcMethodResponse: () => RegisterRpcMethodResponse,
26
+ RpcError: () => RpcError,
27
+ RpcMethodInvocationEvent: () => RpcMethodInvocationEvent,
28
+ RpcMethodInvocationResponseRequest: () => RpcMethodInvocationResponseRequest,
29
+ RpcMethodInvocationResponseResponse: () => RpcMethodInvocationResponseResponse,
30
+ UnregisterRpcMethodRequest: () => UnregisterRpcMethodRequest,
31
+ UnregisterRpcMethodResponse: () => UnregisterRpcMethodResponse
33
32
  });
34
33
  module.exports = __toCommonJS(rpc_pb_exports);
35
- var import_codegenv1 = require("@bufbuild/protobuf/codegenv1");
36
- const file_rpc = /* @__PURE__ */ (0, import_codegenv1.fileDesc)("CglycGMucHJvdG8SDWxpdmVraXQucHJvdG8iNwoIUnBjRXJyb3ISDAoEY29kZRgBIAIoDRIPCgdtZXNzYWdlGAIgAigJEgwKBGRhdGEYAyABKAkikQEKEVBlcmZvcm1ScGNSZXF1ZXN0EiAKGGxvY2FsX3BhcnRpY2lwYW50X2hhbmRsZRgBIAIoBBIcChRkZXN0aW5hdGlvbl9pZGVudGl0eRgCIAIoCRIOCgZtZXRob2QYAyACKAkSDwoHcGF5bG9hZBgEIAIoCRIbChNyZXNwb25zZV90aW1lb3V0X21zGAUgASgNIkwKGFJlZ2lzdGVyUnBjTWV0aG9kUmVxdWVzdBIgChhsb2NhbF9wYXJ0aWNpcGFudF9oYW5kbGUYASACKAQSDgoGbWV0aG9kGAIgAigJIk4KGlVucmVnaXN0ZXJScGNNZXRob2RSZXF1ZXN0EiAKGGxvY2FsX3BhcnRpY2lwYW50X2hhbmRsZRgBIAIoBBIOCgZtZXRob2QYAiACKAkilgEKIlJwY01ldGhvZEludm9jYXRpb25SZXNwb25zZVJlcXVlc3QSIAoYbG9jYWxfcGFydGljaXBhbnRfaGFuZGxlGAEgAigEEhUKDWludm9jYXRpb25faWQYAiACKAQSDwoHcGF5bG9hZBgDIAEoCRImCgVlcnJvchgEIAEoCzIXLmxpdmVraXQucHJvdG8uUnBjRXJyb3IiJgoSUGVyZm9ybVJwY1Jlc3BvbnNlEhAKCGFzeW5jX2lkGAEgAigEIhsKGVJlZ2lzdGVyUnBjTWV0aG9kUmVzcG9uc2UiHQobVW5yZWdpc3RlclJwY01ldGhvZFJlc3BvbnNlIjQKI1JwY01ldGhvZEludm9jYXRpb25SZXNwb25zZVJlc3BvbnNlEg0KBWVycm9yGAEgASgJIl8KElBlcmZvcm1ScGNDYWxsYmFjaxIQCghhc3luY19pZBgBIAIoBBIPCgdwYXlsb2FkGAIgASgJEiYKBWVycm9yGAMgASgLMhcubGl2ZWtpdC5wcm90by5ScGNFcnJvciK+AQoYUnBjTWV0aG9kSW52b2NhdGlvbkV2ZW50EiAKGGxvY2FsX3BhcnRpY2lwYW50X2hhbmRsZRgBIAIoBBIVCg1pbnZvY2F0aW9uX2lkGAIgAigEEg4KBm1ldGhvZBgDIAIoCRISCgpyZXF1ZXN0X2lkGAQgAigJEhcKD2NhbGxlcl9pZGVudGl0eRgFIAIoCRIPCgdwYXlsb2FkGAYgAigJEhsKE3Jlc3BvbnNlX3RpbWVvdXRfbXMYByACKA1CEKoCDUxpdmVLaXQuUHJvdG8");
37
- const RpcErrorSchema = /* @__PURE__ */ (0, import_codegenv1.messageDesc)(file_rpc, 0);
38
- const PerformRpcRequestSchema = /* @__PURE__ */ (0, import_codegenv1.messageDesc)(file_rpc, 1);
39
- const RegisterRpcMethodRequestSchema = /* @__PURE__ */ (0, import_codegenv1.messageDesc)(file_rpc, 2);
40
- const UnregisterRpcMethodRequestSchema = /* @__PURE__ */ (0, import_codegenv1.messageDesc)(file_rpc, 3);
41
- const RpcMethodInvocationResponseRequestSchema = /* @__PURE__ */ (0, import_codegenv1.messageDesc)(file_rpc, 4);
42
- const PerformRpcResponseSchema = /* @__PURE__ */ (0, import_codegenv1.messageDesc)(file_rpc, 5);
43
- const RegisterRpcMethodResponseSchema = /* @__PURE__ */ (0, import_codegenv1.messageDesc)(file_rpc, 6);
44
- const UnregisterRpcMethodResponseSchema = /* @__PURE__ */ (0, import_codegenv1.messageDesc)(file_rpc, 7);
45
- const RpcMethodInvocationResponseResponseSchema = /* @__PURE__ */ (0, import_codegenv1.messageDesc)(file_rpc, 8);
46
- const PerformRpcCallbackSchema = /* @__PURE__ */ (0, import_codegenv1.messageDesc)(file_rpc, 9);
47
- const RpcMethodInvocationEventSchema = /* @__PURE__ */ (0, import_codegenv1.messageDesc)(file_rpc, 10);
34
+ var import_protobuf = require("@bufbuild/protobuf");
35
+ const _RpcError = class _RpcError extends import_protobuf.Message {
36
+ constructor(data) {
37
+ super();
38
+ import_protobuf.proto2.util.initPartial(data, this);
39
+ }
40
+ static fromBinary(bytes, options) {
41
+ return new _RpcError().fromBinary(bytes, options);
42
+ }
43
+ static fromJson(jsonValue, options) {
44
+ return new _RpcError().fromJson(jsonValue, options);
45
+ }
46
+ static fromJsonString(jsonString, options) {
47
+ return new _RpcError().fromJsonString(jsonString, options);
48
+ }
49
+ static equals(a, b) {
50
+ return import_protobuf.proto2.util.equals(_RpcError, a, b);
51
+ }
52
+ };
53
+ _RpcError.runtime = import_protobuf.proto2;
54
+ _RpcError.typeName = "livekit.proto.RpcError";
55
+ _RpcError.fields = import_protobuf.proto2.util.newFieldList(() => [
56
+ { no: 1, name: "code", kind: "scalar", T: 13, req: true },
57
+ { no: 2, name: "message", kind: "scalar", T: 9, req: true },
58
+ { no: 3, name: "data", kind: "scalar", T: 9, opt: true }
59
+ ]);
60
+ let RpcError = _RpcError;
61
+ const _PerformRpcRequest = class _PerformRpcRequest extends import_protobuf.Message {
62
+ constructor(data) {
63
+ super();
64
+ import_protobuf.proto2.util.initPartial(data, this);
65
+ }
66
+ static fromBinary(bytes, options) {
67
+ return new _PerformRpcRequest().fromBinary(bytes, options);
68
+ }
69
+ static fromJson(jsonValue, options) {
70
+ return new _PerformRpcRequest().fromJson(jsonValue, options);
71
+ }
72
+ static fromJsonString(jsonString, options) {
73
+ return new _PerformRpcRequest().fromJsonString(jsonString, options);
74
+ }
75
+ static equals(a, b) {
76
+ return import_protobuf.proto2.util.equals(_PerformRpcRequest, a, b);
77
+ }
78
+ };
79
+ _PerformRpcRequest.runtime = import_protobuf.proto2;
80
+ _PerformRpcRequest.typeName = "livekit.proto.PerformRpcRequest";
81
+ _PerformRpcRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
82
+ { no: 1, name: "local_participant_handle", kind: "scalar", T: 4, req: true },
83
+ { no: 2, name: "destination_identity", kind: "scalar", T: 9, req: true },
84
+ { no: 3, name: "method", kind: "scalar", T: 9, req: true },
85
+ { no: 4, name: "payload", kind: "scalar", T: 9, req: true },
86
+ { no: 5, name: "response_timeout_ms", kind: "scalar", T: 13, opt: true }
87
+ ]);
88
+ let PerformRpcRequest = _PerformRpcRequest;
89
+ const _RegisterRpcMethodRequest = class _RegisterRpcMethodRequest extends import_protobuf.Message {
90
+ constructor(data) {
91
+ super();
92
+ import_protobuf.proto2.util.initPartial(data, this);
93
+ }
94
+ static fromBinary(bytes, options) {
95
+ return new _RegisterRpcMethodRequest().fromBinary(bytes, options);
96
+ }
97
+ static fromJson(jsonValue, options) {
98
+ return new _RegisterRpcMethodRequest().fromJson(jsonValue, options);
99
+ }
100
+ static fromJsonString(jsonString, options) {
101
+ return new _RegisterRpcMethodRequest().fromJsonString(jsonString, options);
102
+ }
103
+ static equals(a, b) {
104
+ return import_protobuf.proto2.util.equals(_RegisterRpcMethodRequest, a, b);
105
+ }
106
+ };
107
+ _RegisterRpcMethodRequest.runtime = import_protobuf.proto2;
108
+ _RegisterRpcMethodRequest.typeName = "livekit.proto.RegisterRpcMethodRequest";
109
+ _RegisterRpcMethodRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
110
+ { no: 1, name: "local_participant_handle", kind: "scalar", T: 4, req: true },
111
+ { no: 2, name: "method", kind: "scalar", T: 9, req: true }
112
+ ]);
113
+ let RegisterRpcMethodRequest = _RegisterRpcMethodRequest;
114
+ const _UnregisterRpcMethodRequest = class _UnregisterRpcMethodRequest extends import_protobuf.Message {
115
+ constructor(data) {
116
+ super();
117
+ import_protobuf.proto2.util.initPartial(data, this);
118
+ }
119
+ static fromBinary(bytes, options) {
120
+ return new _UnregisterRpcMethodRequest().fromBinary(bytes, options);
121
+ }
122
+ static fromJson(jsonValue, options) {
123
+ return new _UnregisterRpcMethodRequest().fromJson(jsonValue, options);
124
+ }
125
+ static fromJsonString(jsonString, options) {
126
+ return new _UnregisterRpcMethodRequest().fromJsonString(jsonString, options);
127
+ }
128
+ static equals(a, b) {
129
+ return import_protobuf.proto2.util.equals(_UnregisterRpcMethodRequest, a, b);
130
+ }
131
+ };
132
+ _UnregisterRpcMethodRequest.runtime = import_protobuf.proto2;
133
+ _UnregisterRpcMethodRequest.typeName = "livekit.proto.UnregisterRpcMethodRequest";
134
+ _UnregisterRpcMethodRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
135
+ { no: 1, name: "local_participant_handle", kind: "scalar", T: 4, req: true },
136
+ { no: 2, name: "method", kind: "scalar", T: 9, req: true }
137
+ ]);
138
+ let UnregisterRpcMethodRequest = _UnregisterRpcMethodRequest;
139
+ const _RpcMethodInvocationResponseRequest = class _RpcMethodInvocationResponseRequest extends import_protobuf.Message {
140
+ constructor(data) {
141
+ super();
142
+ import_protobuf.proto2.util.initPartial(data, this);
143
+ }
144
+ static fromBinary(bytes, options) {
145
+ return new _RpcMethodInvocationResponseRequest().fromBinary(bytes, options);
146
+ }
147
+ static fromJson(jsonValue, options) {
148
+ return new _RpcMethodInvocationResponseRequest().fromJson(jsonValue, options);
149
+ }
150
+ static fromJsonString(jsonString, options) {
151
+ return new _RpcMethodInvocationResponseRequest().fromJsonString(jsonString, options);
152
+ }
153
+ static equals(a, b) {
154
+ return import_protobuf.proto2.util.equals(_RpcMethodInvocationResponseRequest, a, b);
155
+ }
156
+ };
157
+ _RpcMethodInvocationResponseRequest.runtime = import_protobuf.proto2;
158
+ _RpcMethodInvocationResponseRequest.typeName = "livekit.proto.RpcMethodInvocationResponseRequest";
159
+ _RpcMethodInvocationResponseRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
160
+ { no: 1, name: "local_participant_handle", kind: "scalar", T: 4, req: true },
161
+ { no: 2, name: "invocation_id", kind: "scalar", T: 4, req: true },
162
+ { no: 3, name: "payload", kind: "scalar", T: 9, opt: true },
163
+ { no: 4, name: "error", kind: "message", T: RpcError, opt: true }
164
+ ]);
165
+ let RpcMethodInvocationResponseRequest = _RpcMethodInvocationResponseRequest;
166
+ const _PerformRpcResponse = class _PerformRpcResponse extends import_protobuf.Message {
167
+ constructor(data) {
168
+ super();
169
+ import_protobuf.proto2.util.initPartial(data, this);
170
+ }
171
+ static fromBinary(bytes, options) {
172
+ return new _PerformRpcResponse().fromBinary(bytes, options);
173
+ }
174
+ static fromJson(jsonValue, options) {
175
+ return new _PerformRpcResponse().fromJson(jsonValue, options);
176
+ }
177
+ static fromJsonString(jsonString, options) {
178
+ return new _PerformRpcResponse().fromJsonString(jsonString, options);
179
+ }
180
+ static equals(a, b) {
181
+ return import_protobuf.proto2.util.equals(_PerformRpcResponse, a, b);
182
+ }
183
+ };
184
+ _PerformRpcResponse.runtime = import_protobuf.proto2;
185
+ _PerformRpcResponse.typeName = "livekit.proto.PerformRpcResponse";
186
+ _PerformRpcResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
187
+ { no: 1, name: "async_id", kind: "scalar", T: 4, req: true }
188
+ ]);
189
+ let PerformRpcResponse = _PerformRpcResponse;
190
+ const _RegisterRpcMethodResponse = class _RegisterRpcMethodResponse extends import_protobuf.Message {
191
+ constructor(data) {
192
+ super();
193
+ import_protobuf.proto2.util.initPartial(data, this);
194
+ }
195
+ static fromBinary(bytes, options) {
196
+ return new _RegisterRpcMethodResponse().fromBinary(bytes, options);
197
+ }
198
+ static fromJson(jsonValue, options) {
199
+ return new _RegisterRpcMethodResponse().fromJson(jsonValue, options);
200
+ }
201
+ static fromJsonString(jsonString, options) {
202
+ return new _RegisterRpcMethodResponse().fromJsonString(jsonString, options);
203
+ }
204
+ static equals(a, b) {
205
+ return import_protobuf.proto2.util.equals(_RegisterRpcMethodResponse, a, b);
206
+ }
207
+ };
208
+ _RegisterRpcMethodResponse.runtime = import_protobuf.proto2;
209
+ _RegisterRpcMethodResponse.typeName = "livekit.proto.RegisterRpcMethodResponse";
210
+ _RegisterRpcMethodResponse.fields = import_protobuf.proto2.util.newFieldList(() => []);
211
+ let RegisterRpcMethodResponse = _RegisterRpcMethodResponse;
212
+ const _UnregisterRpcMethodResponse = class _UnregisterRpcMethodResponse extends import_protobuf.Message {
213
+ constructor(data) {
214
+ super();
215
+ import_protobuf.proto2.util.initPartial(data, this);
216
+ }
217
+ static fromBinary(bytes, options) {
218
+ return new _UnregisterRpcMethodResponse().fromBinary(bytes, options);
219
+ }
220
+ static fromJson(jsonValue, options) {
221
+ return new _UnregisterRpcMethodResponse().fromJson(jsonValue, options);
222
+ }
223
+ static fromJsonString(jsonString, options) {
224
+ return new _UnregisterRpcMethodResponse().fromJsonString(jsonString, options);
225
+ }
226
+ static equals(a, b) {
227
+ return import_protobuf.proto2.util.equals(_UnregisterRpcMethodResponse, a, b);
228
+ }
229
+ };
230
+ _UnregisterRpcMethodResponse.runtime = import_protobuf.proto2;
231
+ _UnregisterRpcMethodResponse.typeName = "livekit.proto.UnregisterRpcMethodResponse";
232
+ _UnregisterRpcMethodResponse.fields = import_protobuf.proto2.util.newFieldList(() => []);
233
+ let UnregisterRpcMethodResponse = _UnregisterRpcMethodResponse;
234
+ const _RpcMethodInvocationResponseResponse = class _RpcMethodInvocationResponseResponse extends import_protobuf.Message {
235
+ constructor(data) {
236
+ super();
237
+ import_protobuf.proto2.util.initPartial(data, this);
238
+ }
239
+ static fromBinary(bytes, options) {
240
+ return new _RpcMethodInvocationResponseResponse().fromBinary(bytes, options);
241
+ }
242
+ static fromJson(jsonValue, options) {
243
+ return new _RpcMethodInvocationResponseResponse().fromJson(jsonValue, options);
244
+ }
245
+ static fromJsonString(jsonString, options) {
246
+ return new _RpcMethodInvocationResponseResponse().fromJsonString(jsonString, options);
247
+ }
248
+ static equals(a, b) {
249
+ return import_protobuf.proto2.util.equals(_RpcMethodInvocationResponseResponse, a, b);
250
+ }
251
+ };
252
+ _RpcMethodInvocationResponseResponse.runtime = import_protobuf.proto2;
253
+ _RpcMethodInvocationResponseResponse.typeName = "livekit.proto.RpcMethodInvocationResponseResponse";
254
+ _RpcMethodInvocationResponseResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
255
+ { no: 1, name: "error", kind: "scalar", T: 9, opt: true }
256
+ ]);
257
+ let RpcMethodInvocationResponseResponse = _RpcMethodInvocationResponseResponse;
258
+ const _PerformRpcCallback = class _PerformRpcCallback extends import_protobuf.Message {
259
+ constructor(data) {
260
+ super();
261
+ import_protobuf.proto2.util.initPartial(data, this);
262
+ }
263
+ static fromBinary(bytes, options) {
264
+ return new _PerformRpcCallback().fromBinary(bytes, options);
265
+ }
266
+ static fromJson(jsonValue, options) {
267
+ return new _PerformRpcCallback().fromJson(jsonValue, options);
268
+ }
269
+ static fromJsonString(jsonString, options) {
270
+ return new _PerformRpcCallback().fromJsonString(jsonString, options);
271
+ }
272
+ static equals(a, b) {
273
+ return import_protobuf.proto2.util.equals(_PerformRpcCallback, a, b);
274
+ }
275
+ };
276
+ _PerformRpcCallback.runtime = import_protobuf.proto2;
277
+ _PerformRpcCallback.typeName = "livekit.proto.PerformRpcCallback";
278
+ _PerformRpcCallback.fields = import_protobuf.proto2.util.newFieldList(() => [
279
+ { no: 1, name: "async_id", kind: "scalar", T: 4, req: true },
280
+ { no: 2, name: "payload", kind: "scalar", T: 9, opt: true },
281
+ { no: 3, name: "error", kind: "message", T: RpcError, opt: true }
282
+ ]);
283
+ let PerformRpcCallback = _PerformRpcCallback;
284
+ const _RpcMethodInvocationEvent = class _RpcMethodInvocationEvent extends import_protobuf.Message {
285
+ constructor(data) {
286
+ super();
287
+ import_protobuf.proto2.util.initPartial(data, this);
288
+ }
289
+ static fromBinary(bytes, options) {
290
+ return new _RpcMethodInvocationEvent().fromBinary(bytes, options);
291
+ }
292
+ static fromJson(jsonValue, options) {
293
+ return new _RpcMethodInvocationEvent().fromJson(jsonValue, options);
294
+ }
295
+ static fromJsonString(jsonString, options) {
296
+ return new _RpcMethodInvocationEvent().fromJsonString(jsonString, options);
297
+ }
298
+ static equals(a, b) {
299
+ return import_protobuf.proto2.util.equals(_RpcMethodInvocationEvent, a, b);
300
+ }
301
+ };
302
+ _RpcMethodInvocationEvent.runtime = import_protobuf.proto2;
303
+ _RpcMethodInvocationEvent.typeName = "livekit.proto.RpcMethodInvocationEvent";
304
+ _RpcMethodInvocationEvent.fields = import_protobuf.proto2.util.newFieldList(() => [
305
+ { no: 1, name: "local_participant_handle", kind: "scalar", T: 4, req: true },
306
+ { no: 2, name: "invocation_id", kind: "scalar", T: 4, req: true },
307
+ { no: 3, name: "method", kind: "scalar", T: 9, req: true },
308
+ { no: 4, name: "request_id", kind: "scalar", T: 9, req: true },
309
+ { no: 5, name: "caller_identity", kind: "scalar", T: 9, req: true },
310
+ { no: 6, name: "payload", kind: "scalar", T: 9, req: true },
311
+ { no: 7, name: "response_timeout_ms", kind: "scalar", T: 13, req: true }
312
+ ]);
313
+ let RpcMethodInvocationEvent = _RpcMethodInvocationEvent;
48
314
  // Annotate the CommonJS export names for ESM import in node:
49
315
  0 && (module.exports = {
50
- PerformRpcCallbackSchema,
51
- PerformRpcRequestSchema,
52
- PerformRpcResponseSchema,
53
- RegisterRpcMethodRequestSchema,
54
- RegisterRpcMethodResponseSchema,
55
- RpcErrorSchema,
56
- RpcMethodInvocationEventSchema,
57
- RpcMethodInvocationResponseRequestSchema,
58
- RpcMethodInvocationResponseResponseSchema,
59
- UnregisterRpcMethodRequestSchema,
60
- UnregisterRpcMethodResponseSchema,
61
- file_rpc
316
+ PerformRpcCallback,
317
+ PerformRpcRequest,
318
+ PerformRpcResponse,
319
+ RegisterRpcMethodRequest,
320
+ RegisterRpcMethodResponse,
321
+ RpcError,
322
+ RpcMethodInvocationEvent,
323
+ RpcMethodInvocationResponseRequest,
324
+ RpcMethodInvocationResponseResponse,
325
+ UnregisterRpcMethodRequest,
326
+ UnregisterRpcMethodResponse
62
327
  });
63
328
  //# sourceMappingURL=rpc_pb.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/proto/rpc_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v2.2.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file rpc.proto (package livekit.proto, syntax proto2)\n/* eslint-disable */\n\nimport type { GenFile, GenMessage } from \"@bufbuild/protobuf/codegenv1\";\nimport { fileDesc, messageDesc } from \"@bufbuild/protobuf/codegenv1\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file rpc.proto.\n */\nexport const file_rpc: GenFile = /*@__PURE__*/\n fileDesc(\"CglycGMucHJvdG8SDWxpdmVraXQucHJvdG8iNwoIUnBjRXJyb3ISDAoEY29kZRgBIAIoDRIPCgdtZXNzYWdlGAIgAigJEgwKBGRhdGEYAyABKAkikQEKEVBlcmZvcm1ScGNSZXF1ZXN0EiAKGGxvY2FsX3BhcnRpY2lwYW50X2hhbmRsZRgBIAIoBBIcChRkZXN0aW5hdGlvbl9pZGVudGl0eRgCIAIoCRIOCgZtZXRob2QYAyACKAkSDwoHcGF5bG9hZBgEIAIoCRIbChNyZXNwb25zZV90aW1lb3V0X21zGAUgASgNIkwKGFJlZ2lzdGVyUnBjTWV0aG9kUmVxdWVzdBIgChhsb2NhbF9wYXJ0aWNpcGFudF9oYW5kbGUYASACKAQSDgoGbWV0aG9kGAIgAigJIk4KGlVucmVnaXN0ZXJScGNNZXRob2RSZXF1ZXN0EiAKGGxvY2FsX3BhcnRpY2lwYW50X2hhbmRsZRgBIAIoBBIOCgZtZXRob2QYAiACKAkilgEKIlJwY01ldGhvZEludm9jYXRpb25SZXNwb25zZVJlcXVlc3QSIAoYbG9jYWxfcGFydGljaXBhbnRfaGFuZGxlGAEgAigEEhUKDWludm9jYXRpb25faWQYAiACKAQSDwoHcGF5bG9hZBgDIAEoCRImCgVlcnJvchgEIAEoCzIXLmxpdmVraXQucHJvdG8uUnBjRXJyb3IiJgoSUGVyZm9ybVJwY1Jlc3BvbnNlEhAKCGFzeW5jX2lkGAEgAigEIhsKGVJlZ2lzdGVyUnBjTWV0aG9kUmVzcG9uc2UiHQobVW5yZWdpc3RlclJwY01ldGhvZFJlc3BvbnNlIjQKI1JwY01ldGhvZEludm9jYXRpb25SZXNwb25zZVJlc3BvbnNlEg0KBWVycm9yGAEgASgJIl8KElBlcmZvcm1ScGNDYWxsYmFjaxIQCghhc3luY19pZBgBIAIoBBIPCgdwYXlsb2FkGAIgASgJEiYKBWVycm9yGAMgASgLMhcubGl2ZWtpdC5wcm90by5ScGNFcnJvciK+AQoYUnBjTWV0aG9kSW52b2NhdGlvbkV2ZW50EiAKGGxvY2FsX3BhcnRpY2lwYW50X2hhbmRsZRgBIAIoBBIVCg1pbnZvY2F0aW9uX2lkGAIgAigEEg4KBm1ldGhvZBgDIAIoCRISCgpyZXF1ZXN0X2lkGAQgAigJEhcKD2NhbGxlcl9pZGVudGl0eRgFIAIoCRIPCgdwYXlsb2FkGAYgAigJEhsKE3Jlc3BvbnNlX3RpbWVvdXRfbXMYByACKA1CEKoCDUxpdmVLaXQuUHJvdG8\");\n\n/**\n * @generated from message livekit.proto.RpcError\n */\nexport type RpcError = Message<\"livekit.proto.RpcError\"> & {\n /**\n * @generated from field: required uint32 code = 1;\n */\n code: number;\n\n /**\n * @generated from field: required string message = 2;\n */\n message: string;\n\n /**\n * @generated from field: optional string data = 3;\n */\n data: string;\n};\n\n/**\n * Describes the message livekit.proto.RpcError.\n * Use `create(RpcErrorSchema)` to create a new message.\n */\nexport const RpcErrorSchema: GenMessage<RpcError> = /*@__PURE__*/\n messageDesc(file_rpc, 0);\n\n/**\n * FFI Requests\n *\n * @generated from message livekit.proto.PerformRpcRequest\n */\nexport type PerformRpcRequest = Message<\"livekit.proto.PerformRpcRequest\"> & {\n /**\n * @generated from field: required uint64 local_participant_handle = 1;\n */\n localParticipantHandle: bigint;\n\n /**\n * @generated from field: required string destination_identity = 2;\n */\n destinationIdentity: string;\n\n /**\n * @generated from field: required string method = 3;\n */\n method: string;\n\n /**\n * @generated from field: required string payload = 4;\n */\n payload: string;\n\n /**\n * @generated from field: optional uint32 response_timeout_ms = 5;\n */\n responseTimeoutMs: number;\n};\n\n/**\n * Describes the message livekit.proto.PerformRpcRequest.\n * Use `create(PerformRpcRequestSchema)` to create a new message.\n */\nexport const PerformRpcRequestSchema: GenMessage<PerformRpcRequest> = /*@__PURE__*/\n messageDesc(file_rpc, 1);\n\n/**\n * @generated from message livekit.proto.RegisterRpcMethodRequest\n */\nexport type RegisterRpcMethodRequest = Message<\"livekit.proto.RegisterRpcMethodRequest\"> & {\n /**\n * @generated from field: required uint64 local_participant_handle = 1;\n */\n localParticipantHandle: bigint;\n\n /**\n * @generated from field: required string method = 2;\n */\n method: string;\n};\n\n/**\n * Describes the message livekit.proto.RegisterRpcMethodRequest.\n * Use `create(RegisterRpcMethodRequestSchema)` to create a new message.\n */\nexport const RegisterRpcMethodRequestSchema: GenMessage<RegisterRpcMethodRequest> = /*@__PURE__*/\n messageDesc(file_rpc, 2);\n\n/**\n * @generated from message livekit.proto.UnregisterRpcMethodRequest\n */\nexport type UnregisterRpcMethodRequest = Message<\"livekit.proto.UnregisterRpcMethodRequest\"> & {\n /**\n * @generated from field: required uint64 local_participant_handle = 1;\n */\n localParticipantHandle: bigint;\n\n /**\n * @generated from field: required string method = 2;\n */\n method: string;\n};\n\n/**\n * Describes the message livekit.proto.UnregisterRpcMethodRequest.\n * Use `create(UnregisterRpcMethodRequestSchema)` to create a new message.\n */\nexport const UnregisterRpcMethodRequestSchema: GenMessage<UnregisterRpcMethodRequest> = /*@__PURE__*/\n messageDesc(file_rpc, 3);\n\n/**\n * @generated from message livekit.proto.RpcMethodInvocationResponseRequest\n */\nexport type RpcMethodInvocationResponseRequest = Message<\"livekit.proto.RpcMethodInvocationResponseRequest\"> & {\n /**\n * @generated from field: required uint64 local_participant_handle = 1;\n */\n localParticipantHandle: bigint;\n\n /**\n * @generated from field: required uint64 invocation_id = 2;\n */\n invocationId: bigint;\n\n /**\n * @generated from field: optional string payload = 3;\n */\n payload: string;\n\n /**\n * @generated from field: optional livekit.proto.RpcError error = 4;\n */\n error?: RpcError;\n};\n\n/**\n * Describes the message livekit.proto.RpcMethodInvocationResponseRequest.\n * Use `create(RpcMethodInvocationResponseRequestSchema)` to create a new message.\n */\nexport const RpcMethodInvocationResponseRequestSchema: GenMessage<RpcMethodInvocationResponseRequest> = /*@__PURE__*/\n messageDesc(file_rpc, 4);\n\n/**\n * FFI Responses\n *\n * @generated from message livekit.proto.PerformRpcResponse\n */\nexport type PerformRpcResponse = Message<\"livekit.proto.PerformRpcResponse\"> & {\n /**\n * @generated from field: required uint64 async_id = 1;\n */\n asyncId: bigint;\n};\n\n/**\n * Describes the message livekit.proto.PerformRpcResponse.\n * Use `create(PerformRpcResponseSchema)` to create a new message.\n */\nexport const PerformRpcResponseSchema: GenMessage<PerformRpcResponse> = /*@__PURE__*/\n messageDesc(file_rpc, 5);\n\n/**\n * @generated from message livekit.proto.RegisterRpcMethodResponse\n */\nexport type RegisterRpcMethodResponse = Message<\"livekit.proto.RegisterRpcMethodResponse\"> & {\n};\n\n/**\n * Describes the message livekit.proto.RegisterRpcMethodResponse.\n * Use `create(RegisterRpcMethodResponseSchema)` to create a new message.\n */\nexport const RegisterRpcMethodResponseSchema: GenMessage<RegisterRpcMethodResponse> = /*@__PURE__*/\n messageDesc(file_rpc, 6);\n\n/**\n * @generated from message livekit.proto.UnregisterRpcMethodResponse\n */\nexport type UnregisterRpcMethodResponse = Message<\"livekit.proto.UnregisterRpcMethodResponse\"> & {\n};\n\n/**\n * Describes the message livekit.proto.UnregisterRpcMethodResponse.\n * Use `create(UnregisterRpcMethodResponseSchema)` to create a new message.\n */\nexport const UnregisterRpcMethodResponseSchema: GenMessage<UnregisterRpcMethodResponse> = /*@__PURE__*/\n messageDesc(file_rpc, 7);\n\n/**\n * @generated from message livekit.proto.RpcMethodInvocationResponseResponse\n */\nexport type RpcMethodInvocationResponseResponse = Message<\"livekit.proto.RpcMethodInvocationResponseResponse\"> & {\n /**\n * @generated from field: optional string error = 1;\n */\n error: string;\n};\n\n/**\n * Describes the message livekit.proto.RpcMethodInvocationResponseResponse.\n * Use `create(RpcMethodInvocationResponseResponseSchema)` to create a new message.\n */\nexport const RpcMethodInvocationResponseResponseSchema: GenMessage<RpcMethodInvocationResponseResponse> = /*@__PURE__*/\n messageDesc(file_rpc, 8);\n\n/**\n * FFI Callbacks\n *\n * @generated from message livekit.proto.PerformRpcCallback\n */\nexport type PerformRpcCallback = Message<\"livekit.proto.PerformRpcCallback\"> & {\n /**\n * @generated from field: required uint64 async_id = 1;\n */\n asyncId: bigint;\n\n /**\n * @generated from field: optional string payload = 2;\n */\n payload: string;\n\n /**\n * @generated from field: optional livekit.proto.RpcError error = 3;\n */\n error?: RpcError;\n};\n\n/**\n * Describes the message livekit.proto.PerformRpcCallback.\n * Use `create(PerformRpcCallbackSchema)` to create a new message.\n */\nexport const PerformRpcCallbackSchema: GenMessage<PerformRpcCallback> = /*@__PURE__*/\n messageDesc(file_rpc, 9);\n\n/**\n * FFI Events\n *\n * @generated from message livekit.proto.RpcMethodInvocationEvent\n */\nexport type RpcMethodInvocationEvent = Message<\"livekit.proto.RpcMethodInvocationEvent\"> & {\n /**\n * @generated from field: required uint64 local_participant_handle = 1;\n */\n localParticipantHandle: bigint;\n\n /**\n * @generated from field: required uint64 invocation_id = 2;\n */\n invocationId: bigint;\n\n /**\n * @generated from field: required string method = 3;\n */\n method: string;\n\n /**\n * @generated from field: required string request_id = 4;\n */\n requestId: string;\n\n /**\n * @generated from field: required string caller_identity = 5;\n */\n callerIdentity: string;\n\n /**\n * @generated from field: required string payload = 6;\n */\n payload: string;\n\n /**\n * @generated from field: required uint32 response_timeout_ms = 7;\n */\n responseTimeoutMs: number;\n};\n\n/**\n * Describes the message livekit.proto.RpcMethodInvocationEvent.\n * Use `create(RpcMethodInvocationEventSchema)` to create a new message.\n */\nexport const RpcMethodInvocationEventSchema: GenMessage<RpcMethodInvocationEvent> = /*@__PURE__*/\n messageDesc(file_rpc, 10);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAmBA,uBAAsC;AAM/B,MAAM,WACX,+CAAS,6zCAA6zC;AA0Bj0C,MAAM,iBACX,kDAAY,UAAU,CAAC;AAsClB,MAAM,0BACX,kDAAY,UAAU,CAAC;AAqBlB,MAAM,iCACX,kDAAY,UAAU,CAAC;AAqBlB,MAAM,mCACX,kDAAY,UAAU,CAAC;AA+BlB,MAAM,2CACX,kDAAY,UAAU,CAAC;AAkBlB,MAAM,2BACX,kDAAY,UAAU,CAAC;AAYlB,MAAM,kCACX,kDAAY,UAAU,CAAC;AAYlB,MAAM,oCACX,kDAAY,UAAU,CAAC;AAgBlB,MAAM,4CACX,kDAAY,UAAU,CAAC;AA4BlB,MAAM,2BACX,kDAAY,UAAU,CAAC;AAgDlB,MAAM,iCACX,kDAAY,UAAU,EAAE;","names":[]}
1
+ {"version":3,"sources":["../../src/proto/rpc_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts,import_extension=.js\"\n// @generated from file rpc.proto (package livekit.proto, syntax proto2)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto2 } from \"@bufbuild/protobuf\";\n\n/**\n * @generated from message livekit.proto.RpcError\n */\nexport class RpcError extends Message<RpcError> {\n /**\n * @generated from field: required uint32 code = 1;\n */\n code?: number;\n\n /**\n * @generated from field: required string message = 2;\n */\n message?: string;\n\n /**\n * @generated from field: optional string data = 3;\n */\n data?: string;\n\n constructor(data?: PartialMessage<RpcError>) {\n super();\n proto2.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto2 = proto2;\n static readonly typeName = \"livekit.proto.RpcError\";\n static readonly fields: FieldList = proto2.util.newFieldList(() => [\n { no: 1, name: \"code\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */, req: true },\n { no: 2, name: \"message\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, req: true },\n { no: 3, name: \"data\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RpcError {\n return new RpcError().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RpcError {\n return new RpcError().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RpcError {\n return new RpcError().fromJsonString(jsonString, options);\n }\n\n static equals(a: RpcError | PlainMessage<RpcError> | undefined, b: RpcError | PlainMessage<RpcError> | undefined): boolean {\n return proto2.util.equals(RpcError, a, b);\n }\n}\n\n/**\n * FFI Requests\n *\n * @generated from message livekit.proto.PerformRpcRequest\n */\nexport class PerformRpcRequest extends Message<PerformRpcRequest> {\n /**\n * @generated from field: required uint64 local_participant_handle = 1;\n */\n localParticipantHandle?: bigint;\n\n /**\n * @generated from field: required string destination_identity = 2;\n */\n destinationIdentity?: string;\n\n /**\n * @generated from field: required string method = 3;\n */\n method?: string;\n\n /**\n * @generated from field: required string payload = 4;\n */\n payload?: string;\n\n /**\n * @generated from field: optional uint32 response_timeout_ms = 5;\n */\n responseTimeoutMs?: number;\n\n constructor(data?: PartialMessage<PerformRpcRequest>) {\n super();\n proto2.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto2 = proto2;\n static readonly typeName = \"livekit.proto.PerformRpcRequest\";\n static readonly fields: FieldList = proto2.util.newFieldList(() => [\n { no: 1, name: \"local_participant_handle\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */, req: true },\n { no: 2, name: \"destination_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, req: true },\n { no: 3, name: \"method\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, req: true },\n { no: 4, name: \"payload\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, req: true },\n { no: 5, name: \"response_timeout_ms\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */, opt: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PerformRpcRequest {\n return new PerformRpcRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PerformRpcRequest {\n return new PerformRpcRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PerformRpcRequest {\n return new PerformRpcRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: PerformRpcRequest | PlainMessage<PerformRpcRequest> | undefined, b: PerformRpcRequest | PlainMessage<PerformRpcRequest> | undefined): boolean {\n return proto2.util.equals(PerformRpcRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.proto.RegisterRpcMethodRequest\n */\nexport class RegisterRpcMethodRequest extends Message<RegisterRpcMethodRequest> {\n /**\n * @generated from field: required uint64 local_participant_handle = 1;\n */\n localParticipantHandle?: bigint;\n\n /**\n * @generated from field: required string method = 2;\n */\n method?: string;\n\n constructor(data?: PartialMessage<RegisterRpcMethodRequest>) {\n super();\n proto2.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto2 = proto2;\n static readonly typeName = \"livekit.proto.RegisterRpcMethodRequest\";\n static readonly fields: FieldList = proto2.util.newFieldList(() => [\n { no: 1, name: \"local_participant_handle\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */, req: true },\n { no: 2, name: \"method\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, req: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterRpcMethodRequest {\n return new RegisterRpcMethodRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterRpcMethodRequest {\n return new RegisterRpcMethodRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterRpcMethodRequest {\n return new RegisterRpcMethodRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: RegisterRpcMethodRequest | PlainMessage<RegisterRpcMethodRequest> | undefined, b: RegisterRpcMethodRequest | PlainMessage<RegisterRpcMethodRequest> | undefined): boolean {\n return proto2.util.equals(RegisterRpcMethodRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.proto.UnregisterRpcMethodRequest\n */\nexport class UnregisterRpcMethodRequest extends Message<UnregisterRpcMethodRequest> {\n /**\n * @generated from field: required uint64 local_participant_handle = 1;\n */\n localParticipantHandle?: bigint;\n\n /**\n * @generated from field: required string method = 2;\n */\n method?: string;\n\n constructor(data?: PartialMessage<UnregisterRpcMethodRequest>) {\n super();\n proto2.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto2 = proto2;\n static readonly typeName = \"livekit.proto.UnregisterRpcMethodRequest\";\n static readonly fields: FieldList = proto2.util.newFieldList(() => [\n { no: 1, name: \"local_participant_handle\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */, req: true },\n { no: 2, name: \"method\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, req: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UnregisterRpcMethodRequest {\n return new UnregisterRpcMethodRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UnregisterRpcMethodRequest {\n return new UnregisterRpcMethodRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnregisterRpcMethodRequest {\n return new UnregisterRpcMethodRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: UnregisterRpcMethodRequest | PlainMessage<UnregisterRpcMethodRequest> | undefined, b: UnregisterRpcMethodRequest | PlainMessage<UnregisterRpcMethodRequest> | undefined): boolean {\n return proto2.util.equals(UnregisterRpcMethodRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.proto.RpcMethodInvocationResponseRequest\n */\nexport class RpcMethodInvocationResponseRequest extends Message<RpcMethodInvocationResponseRequest> {\n /**\n * @generated from field: required uint64 local_participant_handle = 1;\n */\n localParticipantHandle?: bigint;\n\n /**\n * @generated from field: required uint64 invocation_id = 2;\n */\n invocationId?: bigint;\n\n /**\n * @generated from field: optional string payload = 3;\n */\n payload?: string;\n\n /**\n * @generated from field: optional livekit.proto.RpcError error = 4;\n */\n error?: RpcError;\n\n constructor(data?: PartialMessage<RpcMethodInvocationResponseRequest>) {\n super();\n proto2.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto2 = proto2;\n static readonly typeName = \"livekit.proto.RpcMethodInvocationResponseRequest\";\n static readonly fields: FieldList = proto2.util.newFieldList(() => [\n { no: 1, name: \"local_participant_handle\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */, req: true },\n { no: 2, name: \"invocation_id\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */, req: true },\n { no: 3, name: \"payload\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 4, name: \"error\", kind: \"message\", T: RpcError, opt: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RpcMethodInvocationResponseRequest {\n return new RpcMethodInvocationResponseRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RpcMethodInvocationResponseRequest {\n return new RpcMethodInvocationResponseRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RpcMethodInvocationResponseRequest {\n return new RpcMethodInvocationResponseRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: RpcMethodInvocationResponseRequest | PlainMessage<RpcMethodInvocationResponseRequest> | undefined, b: RpcMethodInvocationResponseRequest | PlainMessage<RpcMethodInvocationResponseRequest> | undefined): boolean {\n return proto2.util.equals(RpcMethodInvocationResponseRequest, a, b);\n }\n}\n\n/**\n * FFI Responses\n *\n * @generated from message livekit.proto.PerformRpcResponse\n */\nexport class PerformRpcResponse extends Message<PerformRpcResponse> {\n /**\n * @generated from field: required uint64 async_id = 1;\n */\n asyncId?: bigint;\n\n constructor(data?: PartialMessage<PerformRpcResponse>) {\n super();\n proto2.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto2 = proto2;\n static readonly typeName = \"livekit.proto.PerformRpcResponse\";\n static readonly fields: FieldList = proto2.util.newFieldList(() => [\n { no: 1, name: \"async_id\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */, req: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PerformRpcResponse {\n return new PerformRpcResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PerformRpcResponse {\n return new PerformRpcResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PerformRpcResponse {\n return new PerformRpcResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: PerformRpcResponse | PlainMessage<PerformRpcResponse> | undefined, b: PerformRpcResponse | PlainMessage<PerformRpcResponse> | undefined): boolean {\n return proto2.util.equals(PerformRpcResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.proto.RegisterRpcMethodResponse\n */\nexport class RegisterRpcMethodResponse extends Message<RegisterRpcMethodResponse> {\n constructor(data?: PartialMessage<RegisterRpcMethodResponse>) {\n super();\n proto2.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto2 = proto2;\n static readonly typeName = \"livekit.proto.RegisterRpcMethodResponse\";\n static readonly fields: FieldList = proto2.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterRpcMethodResponse {\n return new RegisterRpcMethodResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterRpcMethodResponse {\n return new RegisterRpcMethodResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterRpcMethodResponse {\n return new RegisterRpcMethodResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: RegisterRpcMethodResponse | PlainMessage<RegisterRpcMethodResponse> | undefined, b: RegisterRpcMethodResponse | PlainMessage<RegisterRpcMethodResponse> | undefined): boolean {\n return proto2.util.equals(RegisterRpcMethodResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.proto.UnregisterRpcMethodResponse\n */\nexport class UnregisterRpcMethodResponse extends Message<UnregisterRpcMethodResponse> {\n constructor(data?: PartialMessage<UnregisterRpcMethodResponse>) {\n super();\n proto2.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto2 = proto2;\n static readonly typeName = \"livekit.proto.UnregisterRpcMethodResponse\";\n static readonly fields: FieldList = proto2.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UnregisterRpcMethodResponse {\n return new UnregisterRpcMethodResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UnregisterRpcMethodResponse {\n return new UnregisterRpcMethodResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnregisterRpcMethodResponse {\n return new UnregisterRpcMethodResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: UnregisterRpcMethodResponse | PlainMessage<UnregisterRpcMethodResponse> | undefined, b: UnregisterRpcMethodResponse | PlainMessage<UnregisterRpcMethodResponse> | undefined): boolean {\n return proto2.util.equals(UnregisterRpcMethodResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.proto.RpcMethodInvocationResponseResponse\n */\nexport class RpcMethodInvocationResponseResponse extends Message<RpcMethodInvocationResponseResponse> {\n /**\n * @generated from field: optional string error = 1;\n */\n error?: string;\n\n constructor(data?: PartialMessage<RpcMethodInvocationResponseResponse>) {\n super();\n proto2.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto2 = proto2;\n static readonly typeName = \"livekit.proto.RpcMethodInvocationResponseResponse\";\n static readonly fields: FieldList = proto2.util.newFieldList(() => [\n { no: 1, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RpcMethodInvocationResponseResponse {\n return new RpcMethodInvocationResponseResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RpcMethodInvocationResponseResponse {\n return new RpcMethodInvocationResponseResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RpcMethodInvocationResponseResponse {\n return new RpcMethodInvocationResponseResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: RpcMethodInvocationResponseResponse | PlainMessage<RpcMethodInvocationResponseResponse> | undefined, b: RpcMethodInvocationResponseResponse | PlainMessage<RpcMethodInvocationResponseResponse> | undefined): boolean {\n return proto2.util.equals(RpcMethodInvocationResponseResponse, a, b);\n }\n}\n\n/**\n * FFI Callbacks\n *\n * @generated from message livekit.proto.PerformRpcCallback\n */\nexport class PerformRpcCallback extends Message<PerformRpcCallback> {\n /**\n * @generated from field: required uint64 async_id = 1;\n */\n asyncId?: bigint;\n\n /**\n * @generated from field: optional string payload = 2;\n */\n payload?: string;\n\n /**\n * @generated from field: optional livekit.proto.RpcError error = 3;\n */\n error?: RpcError;\n\n constructor(data?: PartialMessage<PerformRpcCallback>) {\n super();\n proto2.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto2 = proto2;\n static readonly typeName = \"livekit.proto.PerformRpcCallback\";\n static readonly fields: FieldList = proto2.util.newFieldList(() => [\n { no: 1, name: \"async_id\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */, req: true },\n { no: 2, name: \"payload\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 3, name: \"error\", kind: \"message\", T: RpcError, opt: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PerformRpcCallback {\n return new PerformRpcCallback().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PerformRpcCallback {\n return new PerformRpcCallback().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PerformRpcCallback {\n return new PerformRpcCallback().fromJsonString(jsonString, options);\n }\n\n static equals(a: PerformRpcCallback | PlainMessage<PerformRpcCallback> | undefined, b: PerformRpcCallback | PlainMessage<PerformRpcCallback> | undefined): boolean {\n return proto2.util.equals(PerformRpcCallback, a, b);\n }\n}\n\n/**\n * FFI Events\n *\n * @generated from message livekit.proto.RpcMethodInvocationEvent\n */\nexport class RpcMethodInvocationEvent extends Message<RpcMethodInvocationEvent> {\n /**\n * @generated from field: required uint64 local_participant_handle = 1;\n */\n localParticipantHandle?: bigint;\n\n /**\n * @generated from field: required uint64 invocation_id = 2;\n */\n invocationId?: bigint;\n\n /**\n * @generated from field: required string method = 3;\n */\n method?: string;\n\n /**\n * @generated from field: required string request_id = 4;\n */\n requestId?: string;\n\n /**\n * @generated from field: required string caller_identity = 5;\n */\n callerIdentity?: string;\n\n /**\n * @generated from field: required string payload = 6;\n */\n payload?: string;\n\n /**\n * @generated from field: required uint32 response_timeout_ms = 7;\n */\n responseTimeoutMs?: number;\n\n constructor(data?: PartialMessage<RpcMethodInvocationEvent>) {\n super();\n proto2.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto2 = proto2;\n static readonly typeName = \"livekit.proto.RpcMethodInvocationEvent\";\n static readonly fields: FieldList = proto2.util.newFieldList(() => [\n { no: 1, name: \"local_participant_handle\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */, req: true },\n { no: 2, name: \"invocation_id\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */, req: true },\n { no: 3, name: \"method\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, req: true },\n { no: 4, name: \"request_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, req: true },\n { no: 5, name: \"caller_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, req: true },\n { no: 6, name: \"payload\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, req: true },\n { no: 7, name: \"response_timeout_ms\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */, req: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RpcMethodInvocationEvent {\n return new RpcMethodInvocationEvent().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RpcMethodInvocationEvent {\n return new RpcMethodInvocationEvent().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RpcMethodInvocationEvent {\n return new RpcMethodInvocationEvent().fromJsonString(jsonString, options);\n }\n\n static equals(a: RpcMethodInvocationEvent | PlainMessage<RpcMethodInvocationEvent> | undefined, b: RpcMethodInvocationEvent | PlainMessage<RpcMethodInvocationEvent> | undefined): boolean {\n return proto2.util.equals(RpcMethodInvocationEvent, a, b);\n }\n}\n\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAoBA,sBAAgC;AAKzB,MAAM,YAAN,MAAM,kBAAiB,wBAAkB;AAAA,EAgB9C,YAAY,MAAiC;AAC3C,UAAM;AACN,2BAAO,KAAK,YAAY,MAAM,IAAI;AAAA,EACpC;AAAA,EAUA,OAAO,WAAW,OAAmB,SAAgD;AACnF,WAAO,IAAI,UAAS,EAAE,WAAW,OAAO,OAAO;AAAA,EACjD;AAAA,EAEA,OAAO,SAAS,WAAsB,SAA8C;AAClF,WAAO,IAAI,UAAS,EAAE,SAAS,WAAW,OAAO;AAAA,EACnD;AAAA,EAEA,OAAO,eAAe,YAAoB,SAA8C;AACtF,WAAO,IAAI,UAAS,EAAE,eAAe,YAAY,OAAO;AAAA,EAC1D;AAAA,EAEA,OAAO,OAAO,GAAkD,GAA2D;AACzH,WAAO,uBAAO,KAAK,OAAO,WAAU,GAAG,CAAC;AAAA,EAC1C;AACF;AA5Ca,UAqBK,UAAyB;AArB9B,UAsBK,WAAW;AAtBhB,UAuBK,SAAoB,uBAAO,KAAK,aAAa,MAAM;AAAA,EACjE,EAAE,IAAI,GAAG,MAAM,QAAQ,MAAM,UAAU,GAAG,IAA4B,KAAK,KAAK;AAAA,EAChF,EAAE,IAAI,GAAG,MAAM,WAAW,MAAM,UAAU,GAAG,GAA2B,KAAK,KAAK;AAAA,EAClF,EAAE,IAAI,GAAG,MAAM,QAAQ,MAA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