@livekit/protocol 1.27.0 → 1.28.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 (111) hide show
  1. package/dist/gen/livekit_agent_dispatch_pb.cjs +385 -0
  2. package/dist/gen/livekit_agent_dispatch_pb.cjs.map +1 -0
  3. package/dist/gen/livekit_agent_dispatch_pb.d.ts +174 -0
  4. package/dist/gen/livekit_agent_dispatch_pb.d.ts.map +1 -0
  5. package/dist/gen/livekit_agent_dispatch_pb.js +356 -0
  6. package/dist/gen/livekit_agent_dispatch_pb.js.map +1 -0
  7. package/dist/gen/livekit_agent_pb.cjs +881 -0
  8. package/dist/gen/livekit_agent_pb.cjs.map +1 -0
  9. package/dist/gen/livekit_agent_pb.d.ts +575 -0
  10. package/dist/gen/livekit_agent_pb.d.ts.map +1 -0
  11. package/dist/gen/livekit_agent_pb.js +840 -0
  12. package/dist/gen/livekit_agent_pb.js.map +1 -0
  13. package/dist/gen/livekit_analytics_pb.cjs +1087 -0
  14. package/dist/gen/livekit_analytics_pb.cjs.map +1 -0
  15. package/dist/gen/livekit_analytics_pb.d.ts +679 -0
  16. package/dist/gen/livekit_analytics_pb.d.ts.map +1 -0
  17. package/dist/gen/livekit_analytics_pb.js +1053 -0
  18. package/dist/gen/livekit_analytics_pb.js.map +1 -0
  19. package/dist/gen/livekit_egress_pb.cjs +2476 -0
  20. package/dist/gen/livekit_egress_pb.cjs.map +1 -0
  21. package/dist/gen/livekit_egress_pb.d.ts +1720 -0
  22. package/dist/gen/livekit_egress_pb.d.ts.map +1 -0
  23. package/dist/gen/livekit_egress_pb.js +2417 -0
  24. package/dist/gen/livekit_egress_pb.js.map +1 -0
  25. package/dist/gen/livekit_ingress_pb.cjs +1050 -0
  26. package/dist/gen/livekit_ingress_pb.cjs.map +1 -0
  27. package/dist/gen/livekit_ingress_pb.d.ts +660 -0
  28. package/dist/gen/livekit_ingress_pb.d.ts.map +1 -0
  29. package/dist/gen/livekit_ingress_pb.js +1011 -0
  30. package/dist/gen/livekit_ingress_pb.js.map +1 -0
  31. package/dist/gen/livekit_internal_pb.cjs +998 -0
  32. package/dist/gen/livekit_internal_pb.cjs.map +1 -0
  33. package/dist/gen/livekit_internal_pb.d.ts +481 -0
  34. package/dist/gen/livekit_internal_pb.d.ts.map +1 -0
  35. package/dist/gen/livekit_internal_pb.js +968 -0
  36. package/dist/gen/livekit_internal_pb.js.map +1 -0
  37. package/dist/gen/livekit_metrics_pb.cjs +371 -0
  38. package/dist/gen/livekit_metrics_pb.cjs.map +1 -0
  39. package/dist/gen/livekit_metrics_pb.d.ts +304 -0
  40. package/dist/gen/livekit_metrics_pb.d.ts.map +1 -0
  41. package/dist/gen/livekit_metrics_pb.js +344 -0
  42. package/dist/gen/livekit_metrics_pb.js.map +1 -0
  43. package/dist/gen/livekit_models_pb.cjs +3323 -0
  44. package/dist/gen/livekit_models_pb.cjs.map +1 -0
  45. package/dist/gen/livekit_models_pb.d.ts +2024 -0
  46. package/dist/gen/livekit_models_pb.d.ts.map +1 -0
  47. package/dist/gen/livekit_models_pb.js +3249 -0
  48. package/dist/gen/livekit_models_pb.js.map +1 -0
  49. package/dist/gen/livekit_room_pb.cjs +1080 -0
  50. package/dist/gen/livekit_room_pb.cjs.map +1 -0
  51. package/dist/gen/livekit_room_pb.d.ts +580 -0
  52. package/dist/gen/livekit_room_pb.d.ts.map +1 -0
  53. package/dist/gen/livekit_room_pb.js +1038 -0
  54. package/dist/gen/livekit_room_pb.js.map +1 -0
  55. package/dist/gen/livekit_rtc_pb.cjs +2261 -0
  56. package/dist/gen/livekit_rtc_pb.cjs.map +1 -0
  57. package/dist/gen/livekit_rtc_pb.d.ts +1602 -0
  58. package/dist/gen/livekit_rtc_pb.d.ts.map +1 -0
  59. package/dist/gen/livekit_rtc_pb.js +2192 -0
  60. package/dist/gen/livekit_rtc_pb.js.map +1 -0
  61. package/dist/gen/livekit_sip_pb.cjs +2118 -0
  62. package/dist/gen/livekit_sip_pb.cjs.map +1 -0
  63. package/dist/gen/livekit_sip_pb.d.ts +1226 -0
  64. package/dist/gen/livekit_sip_pb.d.ts.map +1 -0
  65. package/dist/gen/livekit_sip_pb.js +2061 -0
  66. package/dist/gen/livekit_sip_pb.js.map +1 -0
  67. package/dist/gen/livekit_webhook_pb.cjs +111 -0
  68. package/dist/gen/livekit_webhook_pb.cjs.map +1 -0
  69. package/dist/gen/livekit_webhook_pb.d.ts +71 -0
  70. package/dist/gen/livekit_webhook_pb.d.ts.map +1 -0
  71. package/dist/gen/livekit_webhook_pb.js +88 -0
  72. package/dist/gen/livekit_webhook_pb.js.map +1 -0
  73. package/dist/gen/version.cjs +28 -0
  74. package/dist/gen/version.cjs.map +1 -0
  75. package/dist/gen/version.d.ts +2 -0
  76. package/dist/gen/version.d.ts.map +1 -0
  77. package/dist/gen/version.js +5 -0
  78. package/dist/gen/version.js.map +1 -0
  79. package/dist/index.cjs +51 -0
  80. package/dist/index.cjs.map +1 -0
  81. package/{src/index.js → dist/index.d.ts} +1 -1
  82. package/dist/index.d.ts.map +1 -0
  83. package/{src/index.d.ts → dist/index.js} +12 -7
  84. package/dist/index.js.map +1 -0
  85. package/package.json +18 -12
  86. package/src/gen/livekit_agent_dispatch_pb.d.ts +0 -253
  87. package/src/gen/livekit_agent_dispatch_pb.js +0 -103
  88. package/src/gen/livekit_agent_pb.d.ts +0 -741
  89. package/src/gen/livekit_agent_pb.js +0 -266
  90. package/src/gen/livekit_analytics_pb.d.ts +0 -889
  91. package/src/gen/livekit_analytics_pb.js +0 -264
  92. package/src/gen/livekit_egress_pb.d.ts +0 -2056
  93. package/src/gen/livekit_egress_pb.js +0 -594
  94. package/src/gen/livekit_ingress_pb.d.ts +0 -843
  95. package/src/gen/livekit_ingress_pb.js +0 -269
  96. package/src/gen/livekit_internal_pb.d.ts +0 -622
  97. package/src/gen/livekit_internal_pb.js +0 -191
  98. package/src/gen/livekit_metrics_pb.d.ts +0 -355
  99. package/src/gen/livekit_metrics_pb.js +0 -94
  100. package/src/gen/livekit_models_pb.d.ts +0 -2539
  101. package/src/gen/livekit_models_pb.js +0 -819
  102. package/src/gen/livekit_room_pb.d.ts +0 -774
  103. package/src/gen/livekit_room_pb.js +0 -259
  104. package/src/gen/livekit_rtc_pb.d.ts +0 -2001
  105. package/src/gen/livekit_rtc_pb.js +0 -634
  106. package/src/gen/livekit_sip_pb.d.ts +0 -1482
  107. package/src/gen/livekit_sip_pb.js +0 -464
  108. package/src/gen/livekit_webhook_pb.d.ts +0 -105
  109. package/src/gen/livekit_webhook_pb.js +0 -42
  110. package/src/gen/version.d.ts +0 -1
  111. package/src/gen/version.js +0 -2
@@ -0,0 +1,2118 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var livekit_sip_pb_exports = {};
19
+ __export(livekit_sip_pb_exports, {
20
+ CreateSIPDispatchRuleRequest: () => CreateSIPDispatchRuleRequest,
21
+ CreateSIPInboundTrunkRequest: () => CreateSIPInboundTrunkRequest,
22
+ CreateSIPOutboundTrunkRequest: () => CreateSIPOutboundTrunkRequest,
23
+ CreateSIPParticipantRequest: () => CreateSIPParticipantRequest,
24
+ CreateSIPTrunkRequest: () => CreateSIPTrunkRequest,
25
+ DeleteSIPDispatchRuleRequest: () => DeleteSIPDispatchRuleRequest,
26
+ DeleteSIPTrunkRequest: () => DeleteSIPTrunkRequest,
27
+ GetSIPInboundTrunkRequest: () => GetSIPInboundTrunkRequest,
28
+ GetSIPInboundTrunkResponse: () => GetSIPInboundTrunkResponse,
29
+ GetSIPOutboundTrunkRequest: () => GetSIPOutboundTrunkRequest,
30
+ GetSIPOutboundTrunkResponse: () => GetSIPOutboundTrunkResponse,
31
+ ListSIPDispatchRuleRequest: () => ListSIPDispatchRuleRequest,
32
+ ListSIPDispatchRuleResponse: () => ListSIPDispatchRuleResponse,
33
+ ListSIPInboundTrunkRequest: () => ListSIPInboundTrunkRequest,
34
+ ListSIPInboundTrunkResponse: () => ListSIPInboundTrunkResponse,
35
+ ListSIPOutboundTrunkRequest: () => ListSIPOutboundTrunkRequest,
36
+ ListSIPOutboundTrunkResponse: () => ListSIPOutboundTrunkResponse,
37
+ ListSIPTrunkRequest: () => ListSIPTrunkRequest,
38
+ ListSIPTrunkResponse: () => ListSIPTrunkResponse,
39
+ SIPCallInfo: () => SIPCallInfo,
40
+ SIPCallStatus: () => SIPCallStatus,
41
+ SIPDispatchRule: () => SIPDispatchRule,
42
+ SIPDispatchRuleCallee: () => SIPDispatchRuleCallee,
43
+ SIPDispatchRuleDirect: () => SIPDispatchRuleDirect,
44
+ SIPDispatchRuleIndividual: () => SIPDispatchRuleIndividual,
45
+ SIPDispatchRuleInfo: () => SIPDispatchRuleInfo,
46
+ SIPFeature: () => SIPFeature,
47
+ SIPInboundTrunkInfo: () => SIPInboundTrunkInfo,
48
+ SIPOutboundTrunkInfo: () => SIPOutboundTrunkInfo,
49
+ SIPParticipantInfo: () => SIPParticipantInfo,
50
+ SIPTransport: () => SIPTransport,
51
+ SIPTrunkInfo: () => SIPTrunkInfo,
52
+ SIPTrunkInfo_TrunkKind: () => SIPTrunkInfo_TrunkKind,
53
+ SIPUri: () => SIPUri,
54
+ TransferSIPParticipantRequest: () => TransferSIPParticipantRequest
55
+ });
56
+ module.exports = __toCommonJS(livekit_sip_pb_exports);
57
+ var import_protobuf = require("@bufbuild/protobuf");
58
+ var import_livekit_models_pb = require("./livekit_models_pb.js");
59
+ var SIPTransport = /* @__PURE__ */ ((SIPTransport2) => {
60
+ SIPTransport2[SIPTransport2["SIP_TRANSPORT_AUTO"] = 0] = "SIP_TRANSPORT_AUTO";
61
+ SIPTransport2[SIPTransport2["SIP_TRANSPORT_UDP"] = 1] = "SIP_TRANSPORT_UDP";
62
+ SIPTransport2[SIPTransport2["SIP_TRANSPORT_TCP"] = 2] = "SIP_TRANSPORT_TCP";
63
+ SIPTransport2[SIPTransport2["SIP_TRANSPORT_TLS"] = 3] = "SIP_TRANSPORT_TLS";
64
+ return SIPTransport2;
65
+ })(SIPTransport || {});
66
+ import_protobuf.proto3.util.setEnumType(SIPTransport, "livekit.SIPTransport", [
67
+ { no: 0, name: "SIP_TRANSPORT_AUTO" },
68
+ { no: 1, name: "SIP_TRANSPORT_UDP" },
69
+ { no: 2, name: "SIP_TRANSPORT_TCP" },
70
+ { no: 3, name: "SIP_TRANSPORT_TLS" }
71
+ ]);
72
+ var SIPCallStatus = /* @__PURE__ */ ((SIPCallStatus2) => {
73
+ SIPCallStatus2[SIPCallStatus2["SCS_CALL_INCOMING"] = 0] = "SCS_CALL_INCOMING";
74
+ SIPCallStatus2[SIPCallStatus2["SCS_PARTICIPANT_JOINED"] = 1] = "SCS_PARTICIPANT_JOINED";
75
+ SIPCallStatus2[SIPCallStatus2["SCS_ACTIVE"] = 2] = "SCS_ACTIVE";
76
+ SIPCallStatus2[SIPCallStatus2["SCS_DISCONNECTED"] = 3] = "SCS_DISCONNECTED";
77
+ SIPCallStatus2[SIPCallStatus2["SCS_ERROR"] = 4] = "SCS_ERROR";
78
+ return SIPCallStatus2;
79
+ })(SIPCallStatus || {});
80
+ import_protobuf.proto3.util.setEnumType(SIPCallStatus, "livekit.SIPCallStatus", [
81
+ { no: 0, name: "SCS_CALL_INCOMING" },
82
+ { no: 1, name: "SCS_PARTICIPANT_JOINED" },
83
+ { no: 2, name: "SCS_ACTIVE" },
84
+ { no: 3, name: "SCS_DISCONNECTED" },
85
+ { no: 4, name: "SCS_ERROR" }
86
+ ]);
87
+ var SIPFeature = /* @__PURE__ */ ((SIPFeature2) => {
88
+ SIPFeature2[SIPFeature2["NONE"] = 0] = "NONE";
89
+ SIPFeature2[SIPFeature2["KRISP_ENABLED"] = 1] = "KRISP_ENABLED";
90
+ return SIPFeature2;
91
+ })(SIPFeature || {});
92
+ import_protobuf.proto3.util.setEnumType(SIPFeature, "livekit.SIPFeature", [
93
+ { no: 0, name: "NONE" },
94
+ { no: 1, name: "KRISP_ENABLED" }
95
+ ]);
96
+ const _CreateSIPTrunkRequest = class _CreateSIPTrunkRequest extends import_protobuf.Message {
97
+ constructor(data) {
98
+ super();
99
+ /**
100
+ * CIDR or IPs that traffic is accepted from
101
+ * An empty list means all inbound traffic is accepted.
102
+ *
103
+ * @generated from field: repeated string inbound_addresses = 1;
104
+ */
105
+ this.inboundAddresses = [];
106
+ /**
107
+ * IP that SIP INVITE is sent too
108
+ *
109
+ * @generated from field: string outbound_address = 2;
110
+ */
111
+ this.outboundAddress = "";
112
+ /**
113
+ * Number used to make outbound calls
114
+ *
115
+ * @generated from field: string outbound_number = 3;
116
+ */
117
+ this.outboundNumber = "";
118
+ /**
119
+ * @generated from field: repeated string inbound_numbers_regex = 4 [deprecated = true];
120
+ * @deprecated
121
+ */
122
+ this.inboundNumbersRegex = [];
123
+ /**
124
+ * Accepted `To` values. This Trunk will only accept a call made to
125
+ * these numbers. This allows you to have distinct Trunks for different phone
126
+ * numbers at the same provider.
127
+ *
128
+ * @generated from field: repeated string inbound_numbers = 9;
129
+ */
130
+ this.inboundNumbers = [];
131
+ /**
132
+ * Username and password used to authenticate inbound and outbound SIP invites
133
+ * May be empty to have no Authentication
134
+ *
135
+ * @generated from field: string inbound_username = 5;
136
+ */
137
+ this.inboundUsername = "";
138
+ /**
139
+ * @generated from field: string inbound_password = 6;
140
+ */
141
+ this.inboundPassword = "";
142
+ /**
143
+ * @generated from field: string outbound_username = 7;
144
+ */
145
+ this.outboundUsername = "";
146
+ /**
147
+ * @generated from field: string outbound_password = 8;
148
+ */
149
+ this.outboundPassword = "";
150
+ /**
151
+ * Optional human-readable name for the Trunk.
152
+ *
153
+ * @generated from field: string name = 10;
154
+ */
155
+ this.name = "";
156
+ /**
157
+ * Optional user-defined metadata for the Trunk.
158
+ *
159
+ * @generated from field: string metadata = 11;
160
+ */
161
+ this.metadata = "";
162
+ import_protobuf.proto3.util.initPartial(data, this);
163
+ }
164
+ static fromBinary(bytes, options) {
165
+ return new _CreateSIPTrunkRequest().fromBinary(bytes, options);
166
+ }
167
+ static fromJson(jsonValue, options) {
168
+ return new _CreateSIPTrunkRequest().fromJson(jsonValue, options);
169
+ }
170
+ static fromJsonString(jsonString, options) {
171
+ return new _CreateSIPTrunkRequest().fromJsonString(jsonString, options);
172
+ }
173
+ static equals(a, b) {
174
+ return import_protobuf.proto3.util.equals(_CreateSIPTrunkRequest, a, b);
175
+ }
176
+ };
177
+ _CreateSIPTrunkRequest.runtime = import_protobuf.proto3;
178
+ _CreateSIPTrunkRequest.typeName = "livekit.CreateSIPTrunkRequest";
179
+ _CreateSIPTrunkRequest.fields = import_protobuf.proto3.util.newFieldList(() => [
180
+ { no: 1, name: "inbound_addresses", kind: "scalar", T: 9, repeated: true },
181
+ {
182
+ no: 2,
183
+ name: "outbound_address",
184
+ kind: "scalar",
185
+ T: 9
186
+ /* ScalarType.STRING */
187
+ },
188
+ {
189
+ no: 3,
190
+ name: "outbound_number",
191
+ kind: "scalar",
192
+ T: 9
193
+ /* ScalarType.STRING */
194
+ },
195
+ { no: 4, name: "inbound_numbers_regex", kind: "scalar", T: 9, repeated: true },
196
+ { no: 9, name: "inbound_numbers", kind: "scalar", T: 9, repeated: true },
197
+ {
198
+ no: 5,
199
+ name: "inbound_username",
200
+ kind: "scalar",
201
+ T: 9
202
+ /* ScalarType.STRING */
203
+ },
204
+ {
205
+ no: 6,
206
+ name: "inbound_password",
207
+ kind: "scalar",
208
+ T: 9
209
+ /* ScalarType.STRING */
210
+ },
211
+ {
212
+ no: 7,
213
+ name: "outbound_username",
214
+ kind: "scalar",
215
+ T: 9
216
+ /* ScalarType.STRING */
217
+ },
218
+ {
219
+ no: 8,
220
+ name: "outbound_password",
221
+ kind: "scalar",
222
+ T: 9
223
+ /* ScalarType.STRING */
224
+ },
225
+ {
226
+ no: 10,
227
+ name: "name",
228
+ kind: "scalar",
229
+ T: 9
230
+ /* ScalarType.STRING */
231
+ },
232
+ {
233
+ no: 11,
234
+ name: "metadata",
235
+ kind: "scalar",
236
+ T: 9
237
+ /* ScalarType.STRING */
238
+ }
239
+ ]);
240
+ let CreateSIPTrunkRequest = _CreateSIPTrunkRequest;
241
+ const _SIPTrunkInfo = class _SIPTrunkInfo extends import_protobuf.Message {
242
+ constructor(data) {
243
+ super();
244
+ /**
245
+ * @generated from field: string sip_trunk_id = 1;
246
+ */
247
+ this.sipTrunkId = "";
248
+ /**
249
+ * @generated from field: livekit.SIPTrunkInfo.TrunkKind kind = 14;
250
+ */
251
+ this.kind = 0 /* TRUNK_LEGACY */;
252
+ /**
253
+ * CIDR or IPs that traffic is accepted from
254
+ * An empty list means all inbound traffic is accepted.
255
+ *
256
+ * @generated from field: repeated string inbound_addresses = 2;
257
+ */
258
+ this.inboundAddresses = [];
259
+ /**
260
+ * IP that SIP INVITE is sent too
261
+ *
262
+ * @generated from field: string outbound_address = 3;
263
+ */
264
+ this.outboundAddress = "";
265
+ /**
266
+ * Number used to make outbound calls
267
+ *
268
+ * @generated from field: string outbound_number = 4;
269
+ */
270
+ this.outboundNumber = "";
271
+ /**
272
+ * Transport used for inbound and outbound calls.
273
+ *
274
+ * @generated from field: livekit.SIPTransport transport = 13;
275
+ */
276
+ this.transport = 0 /* SIP_TRANSPORT_AUTO */;
277
+ /**
278
+ * @generated from field: repeated string inbound_numbers_regex = 5 [deprecated = true];
279
+ * @deprecated
280
+ */
281
+ this.inboundNumbersRegex = [];
282
+ /**
283
+ * Accepted `To` values. This Trunk will only accept a call made to
284
+ * these numbers. This allows you to have distinct Trunks for different phone
285
+ * numbers at the same provider.
286
+ *
287
+ * @generated from field: repeated string inbound_numbers = 10;
288
+ */
289
+ this.inboundNumbers = [];
290
+ /**
291
+ * Username and password used to authenticate inbound and outbound SIP invites
292
+ * May be empty to have no Authentication
293
+ *
294
+ * @generated from field: string inbound_username = 6;
295
+ */
296
+ this.inboundUsername = "";
297
+ /**
298
+ * @generated from field: string inbound_password = 7;
299
+ */
300
+ this.inboundPassword = "";
301
+ /**
302
+ * @generated from field: string outbound_username = 8;
303
+ */
304
+ this.outboundUsername = "";
305
+ /**
306
+ * @generated from field: string outbound_password = 9;
307
+ */
308
+ this.outboundPassword = "";
309
+ /**
310
+ * Human-readable name for the Trunk.
311
+ *
312
+ * @generated from field: string name = 11;
313
+ */
314
+ this.name = "";
315
+ /**
316
+ * User-defined metadata for the Trunk.
317
+ *
318
+ * @generated from field: string metadata = 12;
319
+ */
320
+ this.metadata = "";
321
+ import_protobuf.proto3.util.initPartial(data, this);
322
+ }
323
+ static fromBinary(bytes, options) {
324
+ return new _SIPTrunkInfo().fromBinary(bytes, options);
325
+ }
326
+ static fromJson(jsonValue, options) {
327
+ return new _SIPTrunkInfo().fromJson(jsonValue, options);
328
+ }
329
+ static fromJsonString(jsonString, options) {
330
+ return new _SIPTrunkInfo().fromJsonString(jsonString, options);
331
+ }
332
+ static equals(a, b) {
333
+ return import_protobuf.proto3.util.equals(_SIPTrunkInfo, a, b);
334
+ }
335
+ };
336
+ _SIPTrunkInfo.runtime = import_protobuf.proto3;
337
+ _SIPTrunkInfo.typeName = "livekit.SIPTrunkInfo";
338
+ _SIPTrunkInfo.fields = import_protobuf.proto3.util.newFieldList(() => [
339
+ {
340
+ no: 1,
341
+ name: "sip_trunk_id",
342
+ kind: "scalar",
343
+ T: 9
344
+ /* ScalarType.STRING */
345
+ },
346
+ { no: 14, name: "kind", kind: "enum", T: import_protobuf.proto3.getEnumType(SIPTrunkInfo_TrunkKind) },
347
+ { no: 2, name: "inbound_addresses", kind: "scalar", T: 9, repeated: true },
348
+ {
349
+ no: 3,
350
+ name: "outbound_address",
351
+ kind: "scalar",
352
+ T: 9
353
+ /* ScalarType.STRING */
354
+ },
355
+ {
356
+ no: 4,
357
+ name: "outbound_number",
358
+ kind: "scalar",
359
+ T: 9
360
+ /* ScalarType.STRING */
361
+ },
362
+ { no: 13, name: "transport", kind: "enum", T: import_protobuf.proto3.getEnumType(SIPTransport) },
363
+ { no: 5, name: "inbound_numbers_regex", kind: "scalar", T: 9, repeated: true },
364
+ { no: 10, name: "inbound_numbers", kind: "scalar", T: 9, repeated: true },
365
+ {
366
+ no: 6,
367
+ name: "inbound_username",
368
+ kind: "scalar",
369
+ T: 9
370
+ /* ScalarType.STRING */
371
+ },
372
+ {
373
+ no: 7,
374
+ name: "inbound_password",
375
+ kind: "scalar",
376
+ T: 9
377
+ /* ScalarType.STRING */
378
+ },
379
+ {
380
+ no: 8,
381
+ name: "outbound_username",
382
+ kind: "scalar",
383
+ T: 9
384
+ /* ScalarType.STRING */
385
+ },
386
+ {
387
+ no: 9,
388
+ name: "outbound_password",
389
+ kind: "scalar",
390
+ T: 9
391
+ /* ScalarType.STRING */
392
+ },
393
+ {
394
+ no: 11,
395
+ name: "name",
396
+ kind: "scalar",
397
+ T: 9
398
+ /* ScalarType.STRING */
399
+ },
400
+ {
401
+ no: 12,
402
+ name: "metadata",
403
+ kind: "scalar",
404
+ T: 9
405
+ /* ScalarType.STRING */
406
+ }
407
+ ]);
408
+ let SIPTrunkInfo = _SIPTrunkInfo;
409
+ var SIPTrunkInfo_TrunkKind = /* @__PURE__ */ ((SIPTrunkInfo_TrunkKind2) => {
410
+ SIPTrunkInfo_TrunkKind2[SIPTrunkInfo_TrunkKind2["TRUNK_LEGACY"] = 0] = "TRUNK_LEGACY";
411
+ SIPTrunkInfo_TrunkKind2[SIPTrunkInfo_TrunkKind2["TRUNK_INBOUND"] = 1] = "TRUNK_INBOUND";
412
+ SIPTrunkInfo_TrunkKind2[SIPTrunkInfo_TrunkKind2["TRUNK_OUTBOUND"] = 2] = "TRUNK_OUTBOUND";
413
+ return SIPTrunkInfo_TrunkKind2;
414
+ })(SIPTrunkInfo_TrunkKind || {});
415
+ import_protobuf.proto3.util.setEnumType(SIPTrunkInfo_TrunkKind, "livekit.SIPTrunkInfo.TrunkKind", [
416
+ { no: 0, name: "TRUNK_LEGACY" },
417
+ { no: 1, name: "TRUNK_INBOUND" },
418
+ { no: 2, name: "TRUNK_OUTBOUND" }
419
+ ]);
420
+ const _CreateSIPInboundTrunkRequest = class _CreateSIPInboundTrunkRequest extends import_protobuf.Message {
421
+ constructor(data) {
422
+ super();
423
+ import_protobuf.proto3.util.initPartial(data, this);
424
+ }
425
+ static fromBinary(bytes, options) {
426
+ return new _CreateSIPInboundTrunkRequest().fromBinary(bytes, options);
427
+ }
428
+ static fromJson(jsonValue, options) {
429
+ return new _CreateSIPInboundTrunkRequest().fromJson(jsonValue, options);
430
+ }
431
+ static fromJsonString(jsonString, options) {
432
+ return new _CreateSIPInboundTrunkRequest().fromJsonString(jsonString, options);
433
+ }
434
+ static equals(a, b) {
435
+ return import_protobuf.proto3.util.equals(_CreateSIPInboundTrunkRequest, a, b);
436
+ }
437
+ };
438
+ _CreateSIPInboundTrunkRequest.runtime = import_protobuf.proto3;
439
+ _CreateSIPInboundTrunkRequest.typeName = "livekit.CreateSIPInboundTrunkRequest";
440
+ _CreateSIPInboundTrunkRequest.fields = import_protobuf.proto3.util.newFieldList(() => [
441
+ { no: 1, name: "trunk", kind: "message", T: SIPInboundTrunkInfo }
442
+ ]);
443
+ let CreateSIPInboundTrunkRequest = _CreateSIPInboundTrunkRequest;
444
+ const _SIPInboundTrunkInfo = class _SIPInboundTrunkInfo extends import_protobuf.Message {
445
+ constructor(data) {
446
+ super();
447
+ /**
448
+ * @generated from field: string sip_trunk_id = 1;
449
+ */
450
+ this.sipTrunkId = "";
451
+ /**
452
+ * Human-readable name for the Trunk.
453
+ *
454
+ * @generated from field: string name = 2;
455
+ */
456
+ this.name = "";
457
+ /**
458
+ * User-defined metadata for the Trunk.
459
+ *
460
+ * @generated from field: string metadata = 3;
461
+ */
462
+ this.metadata = "";
463
+ /**
464
+ * Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers.
465
+ * Creating multiple Trunks with different phone numbers allows having different rules for a single provider.
466
+ *
467
+ * @generated from field: repeated string numbers = 4;
468
+ */
469
+ this.numbers = [];
470
+ /**
471
+ * CIDR or IPs that traffic is accepted from.
472
+ * An empty list means all inbound traffic is accepted.
473
+ *
474
+ * @generated from field: repeated string allowed_addresses = 5;
475
+ */
476
+ this.allowedAddresses = [];
477
+ /**
478
+ * Numbers that are allowed to make calls to this Trunk.
479
+ * An empty list means calls from any phone number is accepted.
480
+ *
481
+ * @generated from field: repeated string allowed_numbers = 6;
482
+ */
483
+ this.allowedNumbers = [];
484
+ /**
485
+ * Username and password used to authenticate inbound SIP invites.
486
+ * May be empty to have no authentication.
487
+ *
488
+ * @generated from field: string auth_username = 7;
489
+ */
490
+ this.authUsername = "";
491
+ /**
492
+ * @generated from field: string auth_password = 8;
493
+ */
494
+ this.authPassword = "";
495
+ /**
496
+ * Include these SIP X-* headers in 200 OK responses.
497
+ *
498
+ * @generated from field: map<string, string> headers = 9;
499
+ */
500
+ this.headers = {};
501
+ /**
502
+ * Map SIP X-* headers from INVITE to SIP participant attributes.
503
+ *
504
+ * @generated from field: map<string, string> headers_to_attributes = 10;
505
+ */
506
+ this.headersToAttributes = {};
507
+ /**
508
+ * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests.
509
+ * Keys are the names of attributes and values are the names of X-* headers they will be mapped to.
510
+ *
511
+ * @generated from field: map<string, string> attributes_to_headers = 14;
512
+ */
513
+ this.attributesToHeaders = {};
514
+ /**
515
+ * @generated from field: bool krisp_enabled = 13;
516
+ */
517
+ this.krispEnabled = false;
518
+ import_protobuf.proto3.util.initPartial(data, this);
519
+ }
520
+ static fromBinary(bytes, options) {
521
+ return new _SIPInboundTrunkInfo().fromBinary(bytes, options);
522
+ }
523
+ static fromJson(jsonValue, options) {
524
+ return new _SIPInboundTrunkInfo().fromJson(jsonValue, options);
525
+ }
526
+ static fromJsonString(jsonString, options) {
527
+ return new _SIPInboundTrunkInfo().fromJsonString(jsonString, options);
528
+ }
529
+ static equals(a, b) {
530
+ return import_protobuf.proto3.util.equals(_SIPInboundTrunkInfo, a, b);
531
+ }
532
+ };
533
+ _SIPInboundTrunkInfo.runtime = import_protobuf.proto3;
534
+ _SIPInboundTrunkInfo.typeName = "livekit.SIPInboundTrunkInfo";
535
+ _SIPInboundTrunkInfo.fields = import_protobuf.proto3.util.newFieldList(() => [
536
+ {
537
+ no: 1,
538
+ name: "sip_trunk_id",
539
+ kind: "scalar",
540
+ T: 9
541
+ /* ScalarType.STRING */
542
+ },
543
+ {
544
+ no: 2,
545
+ name: "name",
546
+ kind: "scalar",
547
+ T: 9
548
+ /* ScalarType.STRING */
549
+ },
550
+ {
551
+ no: 3,
552
+ name: "metadata",
553
+ kind: "scalar",
554
+ T: 9
555
+ /* ScalarType.STRING */
556
+ },
557
+ { no: 4, name: "numbers", kind: "scalar", T: 9, repeated: true },
558
+ { no: 5, name: "allowed_addresses", kind: "scalar", T: 9, repeated: true },
559
+ { no: 6, name: "allowed_numbers", kind: "scalar", T: 9, repeated: true },
560
+ {
561
+ no: 7,
562
+ name: "auth_username",
563
+ kind: "scalar",
564
+ T: 9
565
+ /* ScalarType.STRING */
566
+ },
567
+ {
568
+ no: 8,
569
+ name: "auth_password",
570
+ kind: "scalar",
571
+ T: 9
572
+ /* ScalarType.STRING */
573
+ },
574
+ { no: 9, name: "headers", kind: "map", K: 9, V: {
575
+ kind: "scalar",
576
+ T: 9
577
+ /* ScalarType.STRING */
578
+ } },
579
+ { no: 10, name: "headers_to_attributes", kind: "map", K: 9, V: {
580
+ kind: "scalar",
581
+ T: 9
582
+ /* ScalarType.STRING */
583
+ } },
584
+ { no: 14, name: "attributes_to_headers", kind: "map", K: 9, V: {
585
+ kind: "scalar",
586
+ T: 9
587
+ /* ScalarType.STRING */
588
+ } },
589
+ { no: 11, name: "ringing_timeout", kind: "message", T: import_protobuf.Duration },
590
+ { no: 12, name: "max_call_duration", kind: "message", T: import_protobuf.Duration },
591
+ {
592
+ no: 13,
593
+ name: "krisp_enabled",
594
+ kind: "scalar",
595
+ T: 8
596
+ /* ScalarType.BOOL */
597
+ }
598
+ ]);
599
+ let SIPInboundTrunkInfo = _SIPInboundTrunkInfo;
600
+ const _CreateSIPOutboundTrunkRequest = class _CreateSIPOutboundTrunkRequest extends import_protobuf.Message {
601
+ constructor(data) {
602
+ super();
603
+ import_protobuf.proto3.util.initPartial(data, this);
604
+ }
605
+ static fromBinary(bytes, options) {
606
+ return new _CreateSIPOutboundTrunkRequest().fromBinary(bytes, options);
607
+ }
608
+ static fromJson(jsonValue, options) {
609
+ return new _CreateSIPOutboundTrunkRequest().fromJson(jsonValue, options);
610
+ }
611
+ static fromJsonString(jsonString, options) {
612
+ return new _CreateSIPOutboundTrunkRequest().fromJsonString(jsonString, options);
613
+ }
614
+ static equals(a, b) {
615
+ return import_protobuf.proto3.util.equals(_CreateSIPOutboundTrunkRequest, a, b);
616
+ }
617
+ };
618
+ _CreateSIPOutboundTrunkRequest.runtime = import_protobuf.proto3;
619
+ _CreateSIPOutboundTrunkRequest.typeName = "livekit.CreateSIPOutboundTrunkRequest";
620
+ _CreateSIPOutboundTrunkRequest.fields = import_protobuf.proto3.util.newFieldList(() => [
621
+ { no: 1, name: "trunk", kind: "message", T: SIPOutboundTrunkInfo }
622
+ ]);
623
+ let CreateSIPOutboundTrunkRequest = _CreateSIPOutboundTrunkRequest;
624
+ const _SIPOutboundTrunkInfo = class _SIPOutboundTrunkInfo extends import_protobuf.Message {
625
+ constructor(data) {
626
+ super();
627
+ /**
628
+ * @generated from field: string sip_trunk_id = 1;
629
+ */
630
+ this.sipTrunkId = "";
631
+ /**
632
+ * Human-readable name for the Trunk.
633
+ *
634
+ * @generated from field: string name = 2;
635
+ */
636
+ this.name = "";
637
+ /**
638
+ * User-defined metadata for the Trunk.
639
+ *
640
+ * @generated from field: string metadata = 3;
641
+ */
642
+ this.metadata = "";
643
+ /**
644
+ * Hostname or IP that SIP INVITE is sent too.
645
+ * Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix.
646
+ *
647
+ * @generated from field: string address = 4;
648
+ */
649
+ this.address = "";
650
+ /**
651
+ * SIP Transport used for outbound call.
652
+ *
653
+ * @generated from field: livekit.SIPTransport transport = 5;
654
+ */
655
+ this.transport = 0 /* SIP_TRANSPORT_AUTO */;
656
+ /**
657
+ * Numbers used to make the calls. Random one from this list will be selected.
658
+ *
659
+ * @generated from field: repeated string numbers = 6;
660
+ */
661
+ this.numbers = [];
662
+ /**
663
+ * Username and password used to authenticate with SIP server.
664
+ * May be empty to have no authentication.
665
+ *
666
+ * @generated from field: string auth_username = 7;
667
+ */
668
+ this.authUsername = "";
669
+ /**
670
+ * @generated from field: string auth_password = 8;
671
+ */
672
+ this.authPassword = "";
673
+ /**
674
+ * Include these SIP X-* headers in INVITE request.
675
+ * These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.
676
+ *
677
+ * @generated from field: map<string, string> headers = 9;
678
+ */
679
+ this.headers = {};
680
+ /**
681
+ * Map SIP X-* headers from 200 OK to SIP participant attributes.
682
+ * Keys are the names of X-* headers and values are the names of attributes they will be mapped to.
683
+ *
684
+ * @generated from field: map<string, string> headers_to_attributes = 10;
685
+ */
686
+ this.headersToAttributes = {};
687
+ /**
688
+ * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests.
689
+ * Keys are the names of attributes and values are the names of X-* headers they will be mapped to.
690
+ *
691
+ * @generated from field: map<string, string> attributes_to_headers = 11;
692
+ */
693
+ this.attributesToHeaders = {};
694
+ import_protobuf.proto3.util.initPartial(data, this);
695
+ }
696
+ static fromBinary(bytes, options) {
697
+ return new _SIPOutboundTrunkInfo().fromBinary(bytes, options);
698
+ }
699
+ static fromJson(jsonValue, options) {
700
+ return new _SIPOutboundTrunkInfo().fromJson(jsonValue, options);
701
+ }
702
+ static fromJsonString(jsonString, options) {
703
+ return new _SIPOutboundTrunkInfo().fromJsonString(jsonString, options);
704
+ }
705
+ static equals(a, b) {
706
+ return import_protobuf.proto3.util.equals(_SIPOutboundTrunkInfo, a, b);
707
+ }
708
+ };
709
+ _SIPOutboundTrunkInfo.runtime = import_protobuf.proto3;
710
+ _SIPOutboundTrunkInfo.typeName = "livekit.SIPOutboundTrunkInfo";
711
+ _SIPOutboundTrunkInfo.fields = import_protobuf.proto3.util.newFieldList(() => [
712
+ {
713
+ no: 1,
714
+ name: "sip_trunk_id",
715
+ kind: "scalar",
716
+ T: 9
717
+ /* ScalarType.STRING */
718
+ },
719
+ {
720
+ no: 2,
721
+ name: "name",
722
+ kind: "scalar",
723
+ T: 9
724
+ /* ScalarType.STRING */
725
+ },
726
+ {
727
+ no: 3,
728
+ name: "metadata",
729
+ kind: "scalar",
730
+ T: 9
731
+ /* ScalarType.STRING */
732
+ },
733
+ {
734
+ no: 4,
735
+ name: "address",
736
+ kind: "scalar",
737
+ T: 9
738
+ /* ScalarType.STRING */
739
+ },
740
+ { no: 5, name: "transport", kind: "enum", T: import_protobuf.proto3.getEnumType(SIPTransport) },
741
+ { no: 6, name: "numbers", kind: "scalar", T: 9, repeated: true },
742
+ {
743
+ no: 7,
744
+ name: "auth_username",
745
+ kind: "scalar",
746
+ T: 9
747
+ /* ScalarType.STRING */
748
+ },
749
+ {
750
+ no: 8,
751
+ name: "auth_password",
752
+ kind: "scalar",
753
+ T: 9
754
+ /* ScalarType.STRING */
755
+ },
756
+ { no: 9, name: "headers", kind: "map", K: 9, V: {
757
+ kind: "scalar",
758
+ T: 9
759
+ /* ScalarType.STRING */
760
+ } },
761
+ { no: 10, name: "headers_to_attributes", kind: "map", K: 9, V: {
762
+ kind: "scalar",
763
+ T: 9
764
+ /* ScalarType.STRING */
765
+ } },
766
+ { no: 11, name: "attributes_to_headers", kind: "map", K: 9, V: {
767
+ kind: "scalar",
768
+ T: 9
769
+ /* ScalarType.STRING */
770
+ } }
771
+ ]);
772
+ let SIPOutboundTrunkInfo = _SIPOutboundTrunkInfo;
773
+ const _GetSIPInboundTrunkRequest = class _GetSIPInboundTrunkRequest extends import_protobuf.Message {
774
+ constructor(data) {
775
+ super();
776
+ /**
777
+ * @generated from field: string sip_trunk_id = 1;
778
+ */
779
+ this.sipTrunkId = "";
780
+ import_protobuf.proto3.util.initPartial(data, this);
781
+ }
782
+ static fromBinary(bytes, options) {
783
+ return new _GetSIPInboundTrunkRequest().fromBinary(bytes, options);
784
+ }
785
+ static fromJson(jsonValue, options) {
786
+ return new _GetSIPInboundTrunkRequest().fromJson(jsonValue, options);
787
+ }
788
+ static fromJsonString(jsonString, options) {
789
+ return new _GetSIPInboundTrunkRequest().fromJsonString(jsonString, options);
790
+ }
791
+ static equals(a, b) {
792
+ return import_protobuf.proto3.util.equals(_GetSIPInboundTrunkRequest, a, b);
793
+ }
794
+ };
795
+ _GetSIPInboundTrunkRequest.runtime = import_protobuf.proto3;
796
+ _GetSIPInboundTrunkRequest.typeName = "livekit.GetSIPInboundTrunkRequest";
797
+ _GetSIPInboundTrunkRequest.fields = import_protobuf.proto3.util.newFieldList(() => [
798
+ {
799
+ no: 1,
800
+ name: "sip_trunk_id",
801
+ kind: "scalar",
802
+ T: 9
803
+ /* ScalarType.STRING */
804
+ }
805
+ ]);
806
+ let GetSIPInboundTrunkRequest = _GetSIPInboundTrunkRequest;
807
+ const _GetSIPInboundTrunkResponse = class _GetSIPInboundTrunkResponse extends import_protobuf.Message {
808
+ constructor(data) {
809
+ super();
810
+ import_protobuf.proto3.util.initPartial(data, this);
811
+ }
812
+ static fromBinary(bytes, options) {
813
+ return new _GetSIPInboundTrunkResponse().fromBinary(bytes, options);
814
+ }
815
+ static fromJson(jsonValue, options) {
816
+ return new _GetSIPInboundTrunkResponse().fromJson(jsonValue, options);
817
+ }
818
+ static fromJsonString(jsonString, options) {
819
+ return new _GetSIPInboundTrunkResponse().fromJsonString(jsonString, options);
820
+ }
821
+ static equals(a, b) {
822
+ return import_protobuf.proto3.util.equals(_GetSIPInboundTrunkResponse, a, b);
823
+ }
824
+ };
825
+ _GetSIPInboundTrunkResponse.runtime = import_protobuf.proto3;
826
+ _GetSIPInboundTrunkResponse.typeName = "livekit.GetSIPInboundTrunkResponse";
827
+ _GetSIPInboundTrunkResponse.fields = import_protobuf.proto3.util.newFieldList(() => [
828
+ { no: 1, name: "trunk", kind: "message", T: SIPInboundTrunkInfo }
829
+ ]);
830
+ let GetSIPInboundTrunkResponse = _GetSIPInboundTrunkResponse;
831
+ const _GetSIPOutboundTrunkRequest = class _GetSIPOutboundTrunkRequest extends import_protobuf.Message {
832
+ constructor(data) {
833
+ super();
834
+ /**
835
+ * @generated from field: string sip_trunk_id = 1;
836
+ */
837
+ this.sipTrunkId = "";
838
+ import_protobuf.proto3.util.initPartial(data, this);
839
+ }
840
+ static fromBinary(bytes, options) {
841
+ return new _GetSIPOutboundTrunkRequest().fromBinary(bytes, options);
842
+ }
843
+ static fromJson(jsonValue, options) {
844
+ return new _GetSIPOutboundTrunkRequest().fromJson(jsonValue, options);
845
+ }
846
+ static fromJsonString(jsonString, options) {
847
+ return new _GetSIPOutboundTrunkRequest().fromJsonString(jsonString, options);
848
+ }
849
+ static equals(a, b) {
850
+ return import_protobuf.proto3.util.equals(_GetSIPOutboundTrunkRequest, a, b);
851
+ }
852
+ };
853
+ _GetSIPOutboundTrunkRequest.runtime = import_protobuf.proto3;
854
+ _GetSIPOutboundTrunkRequest.typeName = "livekit.GetSIPOutboundTrunkRequest";
855
+ _GetSIPOutboundTrunkRequest.fields = import_protobuf.proto3.util.newFieldList(() => [
856
+ {
857
+ no: 1,
858
+ name: "sip_trunk_id",
859
+ kind: "scalar",
860
+ T: 9
861
+ /* ScalarType.STRING */
862
+ }
863
+ ]);
864
+ let GetSIPOutboundTrunkRequest = _GetSIPOutboundTrunkRequest;
865
+ const _GetSIPOutboundTrunkResponse = class _GetSIPOutboundTrunkResponse extends import_protobuf.Message {
866
+ constructor(data) {
867
+ super();
868
+ import_protobuf.proto3.util.initPartial(data, this);
869
+ }
870
+ static fromBinary(bytes, options) {
871
+ return new _GetSIPOutboundTrunkResponse().fromBinary(bytes, options);
872
+ }
873
+ static fromJson(jsonValue, options) {
874
+ return new _GetSIPOutboundTrunkResponse().fromJson(jsonValue, options);
875
+ }
876
+ static fromJsonString(jsonString, options) {
877
+ return new _GetSIPOutboundTrunkResponse().fromJsonString(jsonString, options);
878
+ }
879
+ static equals(a, b) {
880
+ return import_protobuf.proto3.util.equals(_GetSIPOutboundTrunkResponse, a, b);
881
+ }
882
+ };
883
+ _GetSIPOutboundTrunkResponse.runtime = import_protobuf.proto3;
884
+ _GetSIPOutboundTrunkResponse.typeName = "livekit.GetSIPOutboundTrunkResponse";
885
+ _GetSIPOutboundTrunkResponse.fields = import_protobuf.proto3.util.newFieldList(() => [
886
+ { no: 1, name: "trunk", kind: "message", T: SIPOutboundTrunkInfo }
887
+ ]);
888
+ let GetSIPOutboundTrunkResponse = _GetSIPOutboundTrunkResponse;
889
+ const _ListSIPTrunkRequest = class _ListSIPTrunkRequest extends import_protobuf.Message {
890
+ constructor(data) {
891
+ super();
892
+ import_protobuf.proto3.util.initPartial(data, this);
893
+ }
894
+ static fromBinary(bytes, options) {
895
+ return new _ListSIPTrunkRequest().fromBinary(bytes, options);
896
+ }
897
+ static fromJson(jsonValue, options) {
898
+ return new _ListSIPTrunkRequest().fromJson(jsonValue, options);
899
+ }
900
+ static fromJsonString(jsonString, options) {
901
+ return new _ListSIPTrunkRequest().fromJsonString(jsonString, options);
902
+ }
903
+ static equals(a, b) {
904
+ return import_protobuf.proto3.util.equals(_ListSIPTrunkRequest, a, b);
905
+ }
906
+ };
907
+ _ListSIPTrunkRequest.runtime = import_protobuf.proto3;
908
+ _ListSIPTrunkRequest.typeName = "livekit.ListSIPTrunkRequest";
909
+ _ListSIPTrunkRequest.fields = import_protobuf.proto3.util.newFieldList(() => []);
910
+ let ListSIPTrunkRequest = _ListSIPTrunkRequest;
911
+ const _ListSIPTrunkResponse = class _ListSIPTrunkResponse extends import_protobuf.Message {
912
+ constructor(data) {
913
+ super();
914
+ /**
915
+ * @generated from field: repeated livekit.SIPTrunkInfo items = 1;
916
+ */
917
+ this.items = [];
918
+ import_protobuf.proto3.util.initPartial(data, this);
919
+ }
920
+ static fromBinary(bytes, options) {
921
+ return new _ListSIPTrunkResponse().fromBinary(bytes, options);
922
+ }
923
+ static fromJson(jsonValue, options) {
924
+ return new _ListSIPTrunkResponse().fromJson(jsonValue, options);
925
+ }
926
+ static fromJsonString(jsonString, options) {
927
+ return new _ListSIPTrunkResponse().fromJsonString(jsonString, options);
928
+ }
929
+ static equals(a, b) {
930
+ return import_protobuf.proto3.util.equals(_ListSIPTrunkResponse, a, b);
931
+ }
932
+ };
933
+ _ListSIPTrunkResponse.runtime = import_protobuf.proto3;
934
+ _ListSIPTrunkResponse.typeName = "livekit.ListSIPTrunkResponse";
935
+ _ListSIPTrunkResponse.fields = import_protobuf.proto3.util.newFieldList(() => [
936
+ { no: 1, name: "items", kind: "message", T: SIPTrunkInfo, repeated: true }
937
+ ]);
938
+ let ListSIPTrunkResponse = _ListSIPTrunkResponse;
939
+ const _ListSIPInboundTrunkRequest = class _ListSIPInboundTrunkRequest extends import_protobuf.Message {
940
+ constructor(data) {
941
+ super();
942
+ import_protobuf.proto3.util.initPartial(data, this);
943
+ }
944
+ static fromBinary(bytes, options) {
945
+ return new _ListSIPInboundTrunkRequest().fromBinary(bytes, options);
946
+ }
947
+ static fromJson(jsonValue, options) {
948
+ return new _ListSIPInboundTrunkRequest().fromJson(jsonValue, options);
949
+ }
950
+ static fromJsonString(jsonString, options) {
951
+ return new _ListSIPInboundTrunkRequest().fromJsonString(jsonString, options);
952
+ }
953
+ static equals(a, b) {
954
+ return import_protobuf.proto3.util.equals(_ListSIPInboundTrunkRequest, a, b);
955
+ }
956
+ };
957
+ _ListSIPInboundTrunkRequest.runtime = import_protobuf.proto3;
958
+ _ListSIPInboundTrunkRequest.typeName = "livekit.ListSIPInboundTrunkRequest";
959
+ _ListSIPInboundTrunkRequest.fields = import_protobuf.proto3.util.newFieldList(() => []);
960
+ let ListSIPInboundTrunkRequest = _ListSIPInboundTrunkRequest;
961
+ const _ListSIPInboundTrunkResponse = class _ListSIPInboundTrunkResponse extends import_protobuf.Message {
962
+ constructor(data) {
963
+ super();
964
+ /**
965
+ * @generated from field: repeated livekit.SIPInboundTrunkInfo items = 1;
966
+ */
967
+ this.items = [];
968
+ import_protobuf.proto3.util.initPartial(data, this);
969
+ }
970
+ static fromBinary(bytes, options) {
971
+ return new _ListSIPInboundTrunkResponse().fromBinary(bytes, options);
972
+ }
973
+ static fromJson(jsonValue, options) {
974
+ return new _ListSIPInboundTrunkResponse().fromJson(jsonValue, options);
975
+ }
976
+ static fromJsonString(jsonString, options) {
977
+ return new _ListSIPInboundTrunkResponse().fromJsonString(jsonString, options);
978
+ }
979
+ static equals(a, b) {
980
+ return import_protobuf.proto3.util.equals(_ListSIPInboundTrunkResponse, a, b);
981
+ }
982
+ };
983
+ _ListSIPInboundTrunkResponse.runtime = import_protobuf.proto3;
984
+ _ListSIPInboundTrunkResponse.typeName = "livekit.ListSIPInboundTrunkResponse";
985
+ _ListSIPInboundTrunkResponse.fields = import_protobuf.proto3.util.newFieldList(() => [
986
+ { no: 1, name: "items", kind: "message", T: SIPInboundTrunkInfo, repeated: true }
987
+ ]);
988
+ let ListSIPInboundTrunkResponse = _ListSIPInboundTrunkResponse;
989
+ const _ListSIPOutboundTrunkRequest = class _ListSIPOutboundTrunkRequest extends import_protobuf.Message {
990
+ constructor(data) {
991
+ super();
992
+ import_protobuf.proto3.util.initPartial(data, this);
993
+ }
994
+ static fromBinary(bytes, options) {
995
+ return new _ListSIPOutboundTrunkRequest().fromBinary(bytes, options);
996
+ }
997
+ static fromJson(jsonValue, options) {
998
+ return new _ListSIPOutboundTrunkRequest().fromJson(jsonValue, options);
999
+ }
1000
+ static fromJsonString(jsonString, options) {
1001
+ return new _ListSIPOutboundTrunkRequest().fromJsonString(jsonString, options);
1002
+ }
1003
+ static equals(a, b) {
1004
+ return import_protobuf.proto3.util.equals(_ListSIPOutboundTrunkRequest, a, b);
1005
+ }
1006
+ };
1007
+ _ListSIPOutboundTrunkRequest.runtime = import_protobuf.proto3;
1008
+ _ListSIPOutboundTrunkRequest.typeName = "livekit.ListSIPOutboundTrunkRequest";
1009
+ _ListSIPOutboundTrunkRequest.fields = import_protobuf.proto3.util.newFieldList(() => []);
1010
+ let ListSIPOutboundTrunkRequest = _ListSIPOutboundTrunkRequest;
1011
+ const _ListSIPOutboundTrunkResponse = class _ListSIPOutboundTrunkResponse extends import_protobuf.Message {
1012
+ constructor(data) {
1013
+ super();
1014
+ /**
1015
+ * @generated from field: repeated livekit.SIPOutboundTrunkInfo items = 1;
1016
+ */
1017
+ this.items = [];
1018
+ import_protobuf.proto3.util.initPartial(data, this);
1019
+ }
1020
+ static fromBinary(bytes, options) {
1021
+ return new _ListSIPOutboundTrunkResponse().fromBinary(bytes, options);
1022
+ }
1023
+ static fromJson(jsonValue, options) {
1024
+ return new _ListSIPOutboundTrunkResponse().fromJson(jsonValue, options);
1025
+ }
1026
+ static fromJsonString(jsonString, options) {
1027
+ return new _ListSIPOutboundTrunkResponse().fromJsonString(jsonString, options);
1028
+ }
1029
+ static equals(a, b) {
1030
+ return import_protobuf.proto3.util.equals(_ListSIPOutboundTrunkResponse, a, b);
1031
+ }
1032
+ };
1033
+ _ListSIPOutboundTrunkResponse.runtime = import_protobuf.proto3;
1034
+ _ListSIPOutboundTrunkResponse.typeName = "livekit.ListSIPOutboundTrunkResponse";
1035
+ _ListSIPOutboundTrunkResponse.fields = import_protobuf.proto3.util.newFieldList(() => [
1036
+ { no: 1, name: "items", kind: "message", T: SIPOutboundTrunkInfo, repeated: true }
1037
+ ]);
1038
+ let ListSIPOutboundTrunkResponse = _ListSIPOutboundTrunkResponse;
1039
+ const _DeleteSIPTrunkRequest = class _DeleteSIPTrunkRequest extends import_protobuf.Message {
1040
+ constructor(data) {
1041
+ super();
1042
+ /**
1043
+ * @generated from field: string sip_trunk_id = 1;
1044
+ */
1045
+ this.sipTrunkId = "";
1046
+ import_protobuf.proto3.util.initPartial(data, this);
1047
+ }
1048
+ static fromBinary(bytes, options) {
1049
+ return new _DeleteSIPTrunkRequest().fromBinary(bytes, options);
1050
+ }
1051
+ static fromJson(jsonValue, options) {
1052
+ return new _DeleteSIPTrunkRequest().fromJson(jsonValue, options);
1053
+ }
1054
+ static fromJsonString(jsonString, options) {
1055
+ return new _DeleteSIPTrunkRequest().fromJsonString(jsonString, options);
1056
+ }
1057
+ static equals(a, b) {
1058
+ return import_protobuf.proto3.util.equals(_DeleteSIPTrunkRequest, a, b);
1059
+ }
1060
+ };
1061
+ _DeleteSIPTrunkRequest.runtime = import_protobuf.proto3;
1062
+ _DeleteSIPTrunkRequest.typeName = "livekit.DeleteSIPTrunkRequest";
1063
+ _DeleteSIPTrunkRequest.fields = import_protobuf.proto3.util.newFieldList(() => [
1064
+ {
1065
+ no: 1,
1066
+ name: "sip_trunk_id",
1067
+ kind: "scalar",
1068
+ T: 9
1069
+ /* ScalarType.STRING */
1070
+ }
1071
+ ]);
1072
+ let DeleteSIPTrunkRequest = _DeleteSIPTrunkRequest;
1073
+ const _SIPDispatchRuleDirect = class _SIPDispatchRuleDirect extends import_protobuf.Message {
1074
+ constructor(data) {
1075
+ super();
1076
+ /**
1077
+ * What room should call be directed into
1078
+ *
1079
+ * @generated from field: string room_name = 1;
1080
+ */
1081
+ this.roomName = "";
1082
+ /**
1083
+ * Optional pin required to enter room
1084
+ *
1085
+ * @generated from field: string pin = 2;
1086
+ */
1087
+ this.pin = "";
1088
+ import_protobuf.proto3.util.initPartial(data, this);
1089
+ }
1090
+ static fromBinary(bytes, options) {
1091
+ return new _SIPDispatchRuleDirect().fromBinary(bytes, options);
1092
+ }
1093
+ static fromJson(jsonValue, options) {
1094
+ return new _SIPDispatchRuleDirect().fromJson(jsonValue, options);
1095
+ }
1096
+ static fromJsonString(jsonString, options) {
1097
+ return new _SIPDispatchRuleDirect().fromJsonString(jsonString, options);
1098
+ }
1099
+ static equals(a, b) {
1100
+ return import_protobuf.proto3.util.equals(_SIPDispatchRuleDirect, a, b);
1101
+ }
1102
+ };
1103
+ _SIPDispatchRuleDirect.runtime = import_protobuf.proto3;
1104
+ _SIPDispatchRuleDirect.typeName = "livekit.SIPDispatchRuleDirect";
1105
+ _SIPDispatchRuleDirect.fields = import_protobuf.proto3.util.newFieldList(() => [
1106
+ {
1107
+ no: 1,
1108
+ name: "room_name",
1109
+ kind: "scalar",
1110
+ T: 9
1111
+ /* ScalarType.STRING */
1112
+ },
1113
+ {
1114
+ no: 2,
1115
+ name: "pin",
1116
+ kind: "scalar",
1117
+ T: 9
1118
+ /* ScalarType.STRING */
1119
+ }
1120
+ ]);
1121
+ let SIPDispatchRuleDirect = _SIPDispatchRuleDirect;
1122
+ const _SIPDispatchRuleIndividual = class _SIPDispatchRuleIndividual extends import_protobuf.Message {
1123
+ constructor(data) {
1124
+ super();
1125
+ /**
1126
+ * Prefix used on new room name
1127
+ *
1128
+ * @generated from field: string room_prefix = 1;
1129
+ */
1130
+ this.roomPrefix = "";
1131
+ /**
1132
+ * Optional pin required to enter room
1133
+ *
1134
+ * @generated from field: string pin = 2;
1135
+ */
1136
+ this.pin = "";
1137
+ import_protobuf.proto3.util.initPartial(data, this);
1138
+ }
1139
+ static fromBinary(bytes, options) {
1140
+ return new _SIPDispatchRuleIndividual().fromBinary(bytes, options);
1141
+ }
1142
+ static fromJson(jsonValue, options) {
1143
+ return new _SIPDispatchRuleIndividual().fromJson(jsonValue, options);
1144
+ }
1145
+ static fromJsonString(jsonString, options) {
1146
+ return new _SIPDispatchRuleIndividual().fromJsonString(jsonString, options);
1147
+ }
1148
+ static equals(a, b) {
1149
+ return import_protobuf.proto3.util.equals(_SIPDispatchRuleIndividual, a, b);
1150
+ }
1151
+ };
1152
+ _SIPDispatchRuleIndividual.runtime = import_protobuf.proto3;
1153
+ _SIPDispatchRuleIndividual.typeName = "livekit.SIPDispatchRuleIndividual";
1154
+ _SIPDispatchRuleIndividual.fields = import_protobuf.proto3.util.newFieldList(() => [
1155
+ {
1156
+ no: 1,
1157
+ name: "room_prefix",
1158
+ kind: "scalar",
1159
+ T: 9
1160
+ /* ScalarType.STRING */
1161
+ },
1162
+ {
1163
+ no: 2,
1164
+ name: "pin",
1165
+ kind: "scalar",
1166
+ T: 9
1167
+ /* ScalarType.STRING */
1168
+ }
1169
+ ]);
1170
+ let SIPDispatchRuleIndividual = _SIPDispatchRuleIndividual;
1171
+ const _SIPDispatchRuleCallee = class _SIPDispatchRuleCallee extends import_protobuf.Message {
1172
+ constructor(data) {
1173
+ super();
1174
+ /**
1175
+ * Prefix used on new room name
1176
+ *
1177
+ * @generated from field: string room_prefix = 1;
1178
+ */
1179
+ this.roomPrefix = "";
1180
+ /**
1181
+ * Optional pin required to enter room
1182
+ *
1183
+ * @generated from field: string pin = 2;
1184
+ */
1185
+ this.pin = "";
1186
+ /**
1187
+ * Optionally append random suffix
1188
+ *
1189
+ * @generated from field: bool randomize = 3;
1190
+ */
1191
+ this.randomize = false;
1192
+ import_protobuf.proto3.util.initPartial(data, this);
1193
+ }
1194
+ static fromBinary(bytes, options) {
1195
+ return new _SIPDispatchRuleCallee().fromBinary(bytes, options);
1196
+ }
1197
+ static fromJson(jsonValue, options) {
1198
+ return new _SIPDispatchRuleCallee().fromJson(jsonValue, options);
1199
+ }
1200
+ static fromJsonString(jsonString, options) {
1201
+ return new _SIPDispatchRuleCallee().fromJsonString(jsonString, options);
1202
+ }
1203
+ static equals(a, b) {
1204
+ return import_protobuf.proto3.util.equals(_SIPDispatchRuleCallee, a, b);
1205
+ }
1206
+ };
1207
+ _SIPDispatchRuleCallee.runtime = import_protobuf.proto3;
1208
+ _SIPDispatchRuleCallee.typeName = "livekit.SIPDispatchRuleCallee";
1209
+ _SIPDispatchRuleCallee.fields = import_protobuf.proto3.util.newFieldList(() => [
1210
+ {
1211
+ no: 1,
1212
+ name: "room_prefix",
1213
+ kind: "scalar",
1214
+ T: 9
1215
+ /* ScalarType.STRING */
1216
+ },
1217
+ {
1218
+ no: 2,
1219
+ name: "pin",
1220
+ kind: "scalar",
1221
+ T: 9
1222
+ /* ScalarType.STRING */
1223
+ },
1224
+ {
1225
+ no: 3,
1226
+ name: "randomize",
1227
+ kind: "scalar",
1228
+ T: 8
1229
+ /* ScalarType.BOOL */
1230
+ }
1231
+ ]);
1232
+ let SIPDispatchRuleCallee = _SIPDispatchRuleCallee;
1233
+ const _SIPDispatchRule = class _SIPDispatchRule extends import_protobuf.Message {
1234
+ constructor(data) {
1235
+ super();
1236
+ /**
1237
+ * @generated from oneof livekit.SIPDispatchRule.rule
1238
+ */
1239
+ this.rule = { case: void 0 };
1240
+ import_protobuf.proto3.util.initPartial(data, this);
1241
+ }
1242
+ static fromBinary(bytes, options) {
1243
+ return new _SIPDispatchRule().fromBinary(bytes, options);
1244
+ }
1245
+ static fromJson(jsonValue, options) {
1246
+ return new _SIPDispatchRule().fromJson(jsonValue, options);
1247
+ }
1248
+ static fromJsonString(jsonString, options) {
1249
+ return new _SIPDispatchRule().fromJsonString(jsonString, options);
1250
+ }
1251
+ static equals(a, b) {
1252
+ return import_protobuf.proto3.util.equals(_SIPDispatchRule, a, b);
1253
+ }
1254
+ };
1255
+ _SIPDispatchRule.runtime = import_protobuf.proto3;
1256
+ _SIPDispatchRule.typeName = "livekit.SIPDispatchRule";
1257
+ _SIPDispatchRule.fields = import_protobuf.proto3.util.newFieldList(() => [
1258
+ { no: 1, name: "dispatch_rule_direct", kind: "message", T: SIPDispatchRuleDirect, oneof: "rule" },
1259
+ { no: 2, name: "dispatch_rule_individual", kind: "message", T: SIPDispatchRuleIndividual, oneof: "rule" },
1260
+ { no: 3, name: "dispatch_rule_callee", kind: "message", T: SIPDispatchRuleCallee, oneof: "rule" }
1261
+ ]);
1262
+ let SIPDispatchRule = _SIPDispatchRule;
1263
+ const _CreateSIPDispatchRuleRequest = class _CreateSIPDispatchRuleRequest extends import_protobuf.Message {
1264
+ constructor(data) {
1265
+ super();
1266
+ /**
1267
+ * What trunks are accepted for this dispatch rule
1268
+ * If empty all trunks will match this dispatch rule
1269
+ *
1270
+ * @generated from field: repeated string trunk_ids = 2;
1271
+ */
1272
+ this.trunkIds = [];
1273
+ /**
1274
+ * By default the From value (Phone number) is used for participant name/identity and added to attributes.
1275
+ * If true, a random value for identity will be used and numbers will be omitted from attributes.
1276
+ *
1277
+ * @generated from field: bool hide_phone_number = 3;
1278
+ */
1279
+ this.hidePhoneNumber = false;
1280
+ /**
1281
+ * Dispatch Rule will only accept a call made to these numbers (if set).
1282
+ *
1283
+ * @generated from field: repeated string inbound_numbers = 6;
1284
+ */
1285
+ this.inboundNumbers = [];
1286
+ /**
1287
+ * Optional human-readable name for the Dispatch Rule.
1288
+ *
1289
+ * @generated from field: string name = 4;
1290
+ */
1291
+ this.name = "";
1292
+ /**
1293
+ * User-defined metadata for the Dispatch Rule.
1294
+ * Participants created by this rule will inherit this metadata.
1295
+ *
1296
+ * @generated from field: string metadata = 5;
1297
+ */
1298
+ this.metadata = "";
1299
+ /**
1300
+ * User-defined attributes for the Dispatch Rule.
1301
+ * Participants created by this rule will inherit these attributes.
1302
+ *
1303
+ * @generated from field: map<string, string> attributes = 7;
1304
+ */
1305
+ this.attributes = {};
1306
+ import_protobuf.proto3.util.initPartial(data, this);
1307
+ }
1308
+ static fromBinary(bytes, options) {
1309
+ return new _CreateSIPDispatchRuleRequest().fromBinary(bytes, options);
1310
+ }
1311
+ static fromJson(jsonValue, options) {
1312
+ return new _CreateSIPDispatchRuleRequest().fromJson(jsonValue, options);
1313
+ }
1314
+ static fromJsonString(jsonString, options) {
1315
+ return new _CreateSIPDispatchRuleRequest().fromJsonString(jsonString, options);
1316
+ }
1317
+ static equals(a, b) {
1318
+ return import_protobuf.proto3.util.equals(_CreateSIPDispatchRuleRequest, a, b);
1319
+ }
1320
+ };
1321
+ _CreateSIPDispatchRuleRequest.runtime = import_protobuf.proto3;
1322
+ _CreateSIPDispatchRuleRequest.typeName = "livekit.CreateSIPDispatchRuleRequest";
1323
+ _CreateSIPDispatchRuleRequest.fields = import_protobuf.proto3.util.newFieldList(() => [
1324
+ { no: 1, name: "rule", kind: "message", T: SIPDispatchRule },
1325
+ { no: 2, name: "trunk_ids", kind: "scalar", T: 9, repeated: true },
1326
+ {
1327
+ no: 3,
1328
+ name: "hide_phone_number",
1329
+ kind: "scalar",
1330
+ T: 8
1331
+ /* ScalarType.BOOL */
1332
+ },
1333
+ { no: 6, name: "inbound_numbers", kind: "scalar", T: 9, repeated: true },
1334
+ {
1335
+ no: 4,
1336
+ name: "name",
1337
+ kind: "scalar",
1338
+ T: 9
1339
+ /* ScalarType.STRING */
1340
+ },
1341
+ {
1342
+ no: 5,
1343
+ name: "metadata",
1344
+ kind: "scalar",
1345
+ T: 9
1346
+ /* ScalarType.STRING */
1347
+ },
1348
+ { no: 7, name: "attributes", kind: "map", K: 9, V: {
1349
+ kind: "scalar",
1350
+ T: 9
1351
+ /* ScalarType.STRING */
1352
+ } }
1353
+ ]);
1354
+ let CreateSIPDispatchRuleRequest = _CreateSIPDispatchRuleRequest;
1355
+ const _SIPDispatchRuleInfo = class _SIPDispatchRuleInfo extends import_protobuf.Message {
1356
+ constructor(data) {
1357
+ super();
1358
+ /**
1359
+ * @generated from field: string sip_dispatch_rule_id = 1;
1360
+ */
1361
+ this.sipDispatchRuleId = "";
1362
+ /**
1363
+ * @generated from field: repeated string trunk_ids = 3;
1364
+ */
1365
+ this.trunkIds = [];
1366
+ /**
1367
+ * @generated from field: bool hide_phone_number = 4;
1368
+ */
1369
+ this.hidePhoneNumber = false;
1370
+ /**
1371
+ * Dispatch Rule will only accept a call made to these numbers (if set).
1372
+ *
1373
+ * @generated from field: repeated string inbound_numbers = 7;
1374
+ */
1375
+ this.inboundNumbers = [];
1376
+ /**
1377
+ * Human-readable name for the Dispatch Rule.
1378
+ *
1379
+ * @generated from field: string name = 5;
1380
+ */
1381
+ this.name = "";
1382
+ /**
1383
+ * User-defined metadata for the Dispatch Rule.
1384
+ * Participants created by this rule will inherit this metadata.
1385
+ *
1386
+ * @generated from field: string metadata = 6;
1387
+ */
1388
+ this.metadata = "";
1389
+ /**
1390
+ * User-defined attributes for the Dispatch Rule.
1391
+ * Participants created by this rule will inherit these attributes.
1392
+ *
1393
+ * @generated from field: map<string, string> attributes = 8;
1394
+ */
1395
+ this.attributes = {};
1396
+ import_protobuf.proto3.util.initPartial(data, this);
1397
+ }
1398
+ static fromBinary(bytes, options) {
1399
+ return new _SIPDispatchRuleInfo().fromBinary(bytes, options);
1400
+ }
1401
+ static fromJson(jsonValue, options) {
1402
+ return new _SIPDispatchRuleInfo().fromJson(jsonValue, options);
1403
+ }
1404
+ static fromJsonString(jsonString, options) {
1405
+ return new _SIPDispatchRuleInfo().fromJsonString(jsonString, options);
1406
+ }
1407
+ static equals(a, b) {
1408
+ return import_protobuf.proto3.util.equals(_SIPDispatchRuleInfo, a, b);
1409
+ }
1410
+ };
1411
+ _SIPDispatchRuleInfo.runtime = import_protobuf.proto3;
1412
+ _SIPDispatchRuleInfo.typeName = "livekit.SIPDispatchRuleInfo";
1413
+ _SIPDispatchRuleInfo.fields = import_protobuf.proto3.util.newFieldList(() => [
1414
+ {
1415
+ no: 1,
1416
+ name: "sip_dispatch_rule_id",
1417
+ kind: "scalar",
1418
+ T: 9
1419
+ /* ScalarType.STRING */
1420
+ },
1421
+ { no: 2, name: "rule", kind: "message", T: SIPDispatchRule },
1422
+ { no: 3, name: "trunk_ids", kind: "scalar", T: 9, repeated: true },
1423
+ {
1424
+ no: 4,
1425
+ name: "hide_phone_number",
1426
+ kind: "scalar",
1427
+ T: 8
1428
+ /* ScalarType.BOOL */
1429
+ },
1430
+ { no: 7, name: "inbound_numbers", kind: "scalar", T: 9, repeated: true },
1431
+ {
1432
+ no: 5,
1433
+ name: "name",
1434
+ kind: "scalar",
1435
+ T: 9
1436
+ /* ScalarType.STRING */
1437
+ },
1438
+ {
1439
+ no: 6,
1440
+ name: "metadata",
1441
+ kind: "scalar",
1442
+ T: 9
1443
+ /* ScalarType.STRING */
1444
+ },
1445
+ { no: 8, name: "attributes", kind: "map", K: 9, V: {
1446
+ kind: "scalar",
1447
+ T: 9
1448
+ /* ScalarType.STRING */
1449
+ } }
1450
+ ]);
1451
+ let SIPDispatchRuleInfo = _SIPDispatchRuleInfo;
1452
+ const _ListSIPDispatchRuleRequest = class _ListSIPDispatchRuleRequest extends import_protobuf.Message {
1453
+ constructor(data) {
1454
+ super();
1455
+ import_protobuf.proto3.util.initPartial(data, this);
1456
+ }
1457
+ static fromBinary(bytes, options) {
1458
+ return new _ListSIPDispatchRuleRequest().fromBinary(bytes, options);
1459
+ }
1460
+ static fromJson(jsonValue, options) {
1461
+ return new _ListSIPDispatchRuleRequest().fromJson(jsonValue, options);
1462
+ }
1463
+ static fromJsonString(jsonString, options) {
1464
+ return new _ListSIPDispatchRuleRequest().fromJsonString(jsonString, options);
1465
+ }
1466
+ static equals(a, b) {
1467
+ return import_protobuf.proto3.util.equals(_ListSIPDispatchRuleRequest, a, b);
1468
+ }
1469
+ };
1470
+ _ListSIPDispatchRuleRequest.runtime = import_protobuf.proto3;
1471
+ _ListSIPDispatchRuleRequest.typeName = "livekit.ListSIPDispatchRuleRequest";
1472
+ _ListSIPDispatchRuleRequest.fields = import_protobuf.proto3.util.newFieldList(() => []);
1473
+ let ListSIPDispatchRuleRequest = _ListSIPDispatchRuleRequest;
1474
+ const _ListSIPDispatchRuleResponse = class _ListSIPDispatchRuleResponse extends import_protobuf.Message {
1475
+ constructor(data) {
1476
+ super();
1477
+ /**
1478
+ * @generated from field: repeated livekit.SIPDispatchRuleInfo items = 1;
1479
+ */
1480
+ this.items = [];
1481
+ import_protobuf.proto3.util.initPartial(data, this);
1482
+ }
1483
+ static fromBinary(bytes, options) {
1484
+ return new _ListSIPDispatchRuleResponse().fromBinary(bytes, options);
1485
+ }
1486
+ static fromJson(jsonValue, options) {
1487
+ return new _ListSIPDispatchRuleResponse().fromJson(jsonValue, options);
1488
+ }
1489
+ static fromJsonString(jsonString, options) {
1490
+ return new _ListSIPDispatchRuleResponse().fromJsonString(jsonString, options);
1491
+ }
1492
+ static equals(a, b) {
1493
+ return import_protobuf.proto3.util.equals(_ListSIPDispatchRuleResponse, a, b);
1494
+ }
1495
+ };
1496
+ _ListSIPDispatchRuleResponse.runtime = import_protobuf.proto3;
1497
+ _ListSIPDispatchRuleResponse.typeName = "livekit.ListSIPDispatchRuleResponse";
1498
+ _ListSIPDispatchRuleResponse.fields = import_protobuf.proto3.util.newFieldList(() => [
1499
+ { no: 1, name: "items", kind: "message", T: SIPDispatchRuleInfo, repeated: true }
1500
+ ]);
1501
+ let ListSIPDispatchRuleResponse = _ListSIPDispatchRuleResponse;
1502
+ const _DeleteSIPDispatchRuleRequest = class _DeleteSIPDispatchRuleRequest extends import_protobuf.Message {
1503
+ constructor(data) {
1504
+ super();
1505
+ /**
1506
+ * @generated from field: string sip_dispatch_rule_id = 1;
1507
+ */
1508
+ this.sipDispatchRuleId = "";
1509
+ import_protobuf.proto3.util.initPartial(data, this);
1510
+ }
1511
+ static fromBinary(bytes, options) {
1512
+ return new _DeleteSIPDispatchRuleRequest().fromBinary(bytes, options);
1513
+ }
1514
+ static fromJson(jsonValue, options) {
1515
+ return new _DeleteSIPDispatchRuleRequest().fromJson(jsonValue, options);
1516
+ }
1517
+ static fromJsonString(jsonString, options) {
1518
+ return new _DeleteSIPDispatchRuleRequest().fromJsonString(jsonString, options);
1519
+ }
1520
+ static equals(a, b) {
1521
+ return import_protobuf.proto3.util.equals(_DeleteSIPDispatchRuleRequest, a, b);
1522
+ }
1523
+ };
1524
+ _DeleteSIPDispatchRuleRequest.runtime = import_protobuf.proto3;
1525
+ _DeleteSIPDispatchRuleRequest.typeName = "livekit.DeleteSIPDispatchRuleRequest";
1526
+ _DeleteSIPDispatchRuleRequest.fields = import_protobuf.proto3.util.newFieldList(() => [
1527
+ {
1528
+ no: 1,
1529
+ name: "sip_dispatch_rule_id",
1530
+ kind: "scalar",
1531
+ T: 9
1532
+ /* ScalarType.STRING */
1533
+ }
1534
+ ]);
1535
+ let DeleteSIPDispatchRuleRequest = _DeleteSIPDispatchRuleRequest;
1536
+ const _CreateSIPParticipantRequest = class _CreateSIPParticipantRequest extends import_protobuf.Message {
1537
+ constructor(data) {
1538
+ super();
1539
+ /**
1540
+ * What SIP Trunk should be used to dial the user
1541
+ *
1542
+ * @generated from field: string sip_trunk_id = 1;
1543
+ */
1544
+ this.sipTrunkId = "";
1545
+ /**
1546
+ * What number should be dialed via SIP
1547
+ *
1548
+ * @generated from field: string sip_call_to = 2;
1549
+ */
1550
+ this.sipCallTo = "";
1551
+ /**
1552
+ * Optional SIP From number to use. If empty, trunk number is used.
1553
+ *
1554
+ * @generated from field: string sip_number = 15;
1555
+ */
1556
+ this.sipNumber = "";
1557
+ /**
1558
+ * What LiveKit room should this participant be connected too
1559
+ *
1560
+ * @generated from field: string room_name = 3;
1561
+ */
1562
+ this.roomName = "";
1563
+ /**
1564
+ * Optional identity of the participant in LiveKit room
1565
+ *
1566
+ * @generated from field: string participant_identity = 4;
1567
+ */
1568
+ this.participantIdentity = "";
1569
+ /**
1570
+ * Optional name of the participant in LiveKit room
1571
+ *
1572
+ * @generated from field: string participant_name = 7;
1573
+ */
1574
+ this.participantName = "";
1575
+ /**
1576
+ * Optional user-defined metadata. Will be attached to a created Participant in the room.
1577
+ *
1578
+ * @generated from field: string participant_metadata = 8;
1579
+ */
1580
+ this.participantMetadata = "";
1581
+ /**
1582
+ * Optional user-defined attributes. Will be attached to a created Participant in the room.
1583
+ *
1584
+ * @generated from field: map<string, string> participant_attributes = 9;
1585
+ */
1586
+ this.participantAttributes = {};
1587
+ /**
1588
+ * Optionally send following DTMF digits (extension codes) when making a call.
1589
+ * Character 'w' can be used to add a 0.5 sec delay.
1590
+ *
1591
+ * @generated from field: string dtmf = 5;
1592
+ */
1593
+ this.dtmf = "";
1594
+ /**
1595
+ * Optionally play dialtone in the room as an audible indicator for existing participants. The `play_ringtone` option is deprectated but has the same effect.
1596
+ *
1597
+ * @generated from field: bool play_ringtone = 6 [deprecated = true];
1598
+ * @deprecated
1599
+ */
1600
+ this.playRingtone = false;
1601
+ /**
1602
+ * @generated from field: bool play_dialtone = 13;
1603
+ */
1604
+ this.playDialtone = false;
1605
+ /**
1606
+ * By default the From value (Phone number) is used for participant name/identity (if not set) and added to attributes.
1607
+ * If true, a random value for identity will be used and numbers will be omitted from attributes.
1608
+ *
1609
+ * @generated from field: bool hide_phone_number = 10;
1610
+ */
1611
+ this.hidePhoneNumber = false;
1612
+ /**
1613
+ * Enable voice isolation for the callee.
1614
+ *
1615
+ * NEXT ID: 16
1616
+ *
1617
+ * @generated from field: bool enable_krisp = 14;
1618
+ */
1619
+ this.enableKrisp = false;
1620
+ import_protobuf.proto3.util.initPartial(data, this);
1621
+ }
1622
+ static fromBinary(bytes, options) {
1623
+ return new _CreateSIPParticipantRequest().fromBinary(bytes, options);
1624
+ }
1625
+ static fromJson(jsonValue, options) {
1626
+ return new _CreateSIPParticipantRequest().fromJson(jsonValue, options);
1627
+ }
1628
+ static fromJsonString(jsonString, options) {
1629
+ return new _CreateSIPParticipantRequest().fromJsonString(jsonString, options);
1630
+ }
1631
+ static equals(a, b) {
1632
+ return import_protobuf.proto3.util.equals(_CreateSIPParticipantRequest, a, b);
1633
+ }
1634
+ };
1635
+ _CreateSIPParticipantRequest.runtime = import_protobuf.proto3;
1636
+ _CreateSIPParticipantRequest.typeName = "livekit.CreateSIPParticipantRequest";
1637
+ _CreateSIPParticipantRequest.fields = import_protobuf.proto3.util.newFieldList(() => [
1638
+ {
1639
+ no: 1,
1640
+ name: "sip_trunk_id",
1641
+ kind: "scalar",
1642
+ T: 9
1643
+ /* ScalarType.STRING */
1644
+ },
1645
+ {
1646
+ no: 2,
1647
+ name: "sip_call_to",
1648
+ kind: "scalar",
1649
+ T: 9
1650
+ /* ScalarType.STRING */
1651
+ },
1652
+ {
1653
+ no: 15,
1654
+ name: "sip_number",
1655
+ kind: "scalar",
1656
+ T: 9
1657
+ /* ScalarType.STRING */
1658
+ },
1659
+ {
1660
+ no: 3,
1661
+ name: "room_name",
1662
+ kind: "scalar",
1663
+ T: 9
1664
+ /* ScalarType.STRING */
1665
+ },
1666
+ {
1667
+ no: 4,
1668
+ name: "participant_identity",
1669
+ kind: "scalar",
1670
+ T: 9
1671
+ /* ScalarType.STRING */
1672
+ },
1673
+ {
1674
+ no: 7,
1675
+ name: "participant_name",
1676
+ kind: "scalar",
1677
+ T: 9
1678
+ /* ScalarType.STRING */
1679
+ },
1680
+ {
1681
+ no: 8,
1682
+ name: "participant_metadata",
1683
+ kind: "scalar",
1684
+ T: 9
1685
+ /* ScalarType.STRING */
1686
+ },
1687
+ { no: 9, name: "participant_attributes", kind: "map", K: 9, V: {
1688
+ kind: "scalar",
1689
+ T: 9
1690
+ /* ScalarType.STRING */
1691
+ } },
1692
+ {
1693
+ no: 5,
1694
+ name: "dtmf",
1695
+ kind: "scalar",
1696
+ T: 9
1697
+ /* ScalarType.STRING */
1698
+ },
1699
+ {
1700
+ no: 6,
1701
+ name: "play_ringtone",
1702
+ kind: "scalar",
1703
+ T: 8
1704
+ /* ScalarType.BOOL */
1705
+ },
1706
+ {
1707
+ no: 13,
1708
+ name: "play_dialtone",
1709
+ kind: "scalar",
1710
+ T: 8
1711
+ /* ScalarType.BOOL */
1712
+ },
1713
+ {
1714
+ no: 10,
1715
+ name: "hide_phone_number",
1716
+ kind: "scalar",
1717
+ T: 8
1718
+ /* ScalarType.BOOL */
1719
+ },
1720
+ { no: 11, name: "ringing_timeout", kind: "message", T: import_protobuf.Duration },
1721
+ { no: 12, name: "max_call_duration", kind: "message", T: import_protobuf.Duration },
1722
+ {
1723
+ no: 14,
1724
+ name: "enable_krisp",
1725
+ kind: "scalar",
1726
+ T: 8
1727
+ /* ScalarType.BOOL */
1728
+ }
1729
+ ]);
1730
+ let CreateSIPParticipantRequest = _CreateSIPParticipantRequest;
1731
+ const _SIPParticipantInfo = class _SIPParticipantInfo extends import_protobuf.Message {
1732
+ constructor(data) {
1733
+ super();
1734
+ /**
1735
+ * @generated from field: string participant_id = 1;
1736
+ */
1737
+ this.participantId = "";
1738
+ /**
1739
+ * @generated from field: string participant_identity = 2;
1740
+ */
1741
+ this.participantIdentity = "";
1742
+ /**
1743
+ * @generated from field: string room_name = 3;
1744
+ */
1745
+ this.roomName = "";
1746
+ /**
1747
+ * @generated from field: string sip_call_id = 4;
1748
+ */
1749
+ this.sipCallId = "";
1750
+ import_protobuf.proto3.util.initPartial(data, this);
1751
+ }
1752
+ static fromBinary(bytes, options) {
1753
+ return new _SIPParticipantInfo().fromBinary(bytes, options);
1754
+ }
1755
+ static fromJson(jsonValue, options) {
1756
+ return new _SIPParticipantInfo().fromJson(jsonValue, options);
1757
+ }
1758
+ static fromJsonString(jsonString, options) {
1759
+ return new _SIPParticipantInfo().fromJsonString(jsonString, options);
1760
+ }
1761
+ static equals(a, b) {
1762
+ return import_protobuf.proto3.util.equals(_SIPParticipantInfo, a, b);
1763
+ }
1764
+ };
1765
+ _SIPParticipantInfo.runtime = import_protobuf.proto3;
1766
+ _SIPParticipantInfo.typeName = "livekit.SIPParticipantInfo";
1767
+ _SIPParticipantInfo.fields = import_protobuf.proto3.util.newFieldList(() => [
1768
+ {
1769
+ no: 1,
1770
+ name: "participant_id",
1771
+ kind: "scalar",
1772
+ T: 9
1773
+ /* ScalarType.STRING */
1774
+ },
1775
+ {
1776
+ no: 2,
1777
+ name: "participant_identity",
1778
+ kind: "scalar",
1779
+ T: 9
1780
+ /* ScalarType.STRING */
1781
+ },
1782
+ {
1783
+ no: 3,
1784
+ name: "room_name",
1785
+ kind: "scalar",
1786
+ T: 9
1787
+ /* ScalarType.STRING */
1788
+ },
1789
+ {
1790
+ no: 4,
1791
+ name: "sip_call_id",
1792
+ kind: "scalar",
1793
+ T: 9
1794
+ /* ScalarType.STRING */
1795
+ }
1796
+ ]);
1797
+ let SIPParticipantInfo = _SIPParticipantInfo;
1798
+ const _TransferSIPParticipantRequest = class _TransferSIPParticipantRequest extends import_protobuf.Message {
1799
+ constructor(data) {
1800
+ super();
1801
+ /**
1802
+ * @generated from field: string participant_identity = 1;
1803
+ */
1804
+ this.participantIdentity = "";
1805
+ /**
1806
+ * @generated from field: string room_name = 2;
1807
+ */
1808
+ this.roomName = "";
1809
+ /**
1810
+ * @generated from field: string transfer_to = 3;
1811
+ */
1812
+ this.transferTo = "";
1813
+ /**
1814
+ * Optionally play dialtone to the SIP participant as an audible indicator of being transferred
1815
+ *
1816
+ * @generated from field: bool play_dialtone = 4;
1817
+ */
1818
+ this.playDialtone = false;
1819
+ import_protobuf.proto3.util.initPartial(data, this);
1820
+ }
1821
+ static fromBinary(bytes, options) {
1822
+ return new _TransferSIPParticipantRequest().fromBinary(bytes, options);
1823
+ }
1824
+ static fromJson(jsonValue, options) {
1825
+ return new _TransferSIPParticipantRequest().fromJson(jsonValue, options);
1826
+ }
1827
+ static fromJsonString(jsonString, options) {
1828
+ return new _TransferSIPParticipantRequest().fromJsonString(jsonString, options);
1829
+ }
1830
+ static equals(a, b) {
1831
+ return import_protobuf.proto3.util.equals(_TransferSIPParticipantRequest, a, b);
1832
+ }
1833
+ };
1834
+ _TransferSIPParticipantRequest.runtime = import_protobuf.proto3;
1835
+ _TransferSIPParticipantRequest.typeName = "livekit.TransferSIPParticipantRequest";
1836
+ _TransferSIPParticipantRequest.fields = import_protobuf.proto3.util.newFieldList(() => [
1837
+ {
1838
+ no: 1,
1839
+ name: "participant_identity",
1840
+ kind: "scalar",
1841
+ T: 9
1842
+ /* ScalarType.STRING */
1843
+ },
1844
+ {
1845
+ no: 2,
1846
+ name: "room_name",
1847
+ kind: "scalar",
1848
+ T: 9
1849
+ /* ScalarType.STRING */
1850
+ },
1851
+ {
1852
+ no: 3,
1853
+ name: "transfer_to",
1854
+ kind: "scalar",
1855
+ T: 9
1856
+ /* ScalarType.STRING */
1857
+ },
1858
+ {
1859
+ no: 4,
1860
+ name: "play_dialtone",
1861
+ kind: "scalar",
1862
+ T: 8
1863
+ /* ScalarType.BOOL */
1864
+ }
1865
+ ]);
1866
+ let TransferSIPParticipantRequest = _TransferSIPParticipantRequest;
1867
+ const _SIPCallInfo = class _SIPCallInfo extends import_protobuf.Message {
1868
+ constructor(data) {
1869
+ super();
1870
+ /**
1871
+ * @generated from field: string call_id = 1;
1872
+ */
1873
+ this.callId = "";
1874
+ /**
1875
+ * @generated from field: string trunk_id = 2;
1876
+ */
1877
+ this.trunkId = "";
1878
+ /**
1879
+ * @generated from field: string room_name = 3;
1880
+ */
1881
+ this.roomName = "";
1882
+ /**
1883
+ * ID of the current/previous room published to
1884
+ *
1885
+ * @generated from field: string room_id = 4;
1886
+ */
1887
+ this.roomId = "";
1888
+ /**
1889
+ * @generated from field: string participant_identity = 5;
1890
+ */
1891
+ this.participantIdentity = "";
1892
+ /**
1893
+ * @generated from field: repeated livekit.SIPFeature enabled_features = 14;
1894
+ */
1895
+ this.enabledFeatures = [];
1896
+ /**
1897
+ * @generated from field: livekit.SIPCallStatus call_status = 8;
1898
+ */
1899
+ this.callStatus = 0 /* SCS_CALL_INCOMING */;
1900
+ /**
1901
+ * @generated from field: int64 created_at = 9;
1902
+ */
1903
+ this.createdAt = import_protobuf.protoInt64.zero;
1904
+ /**
1905
+ * @generated from field: int64 started_at = 10;
1906
+ */
1907
+ this.startedAt = import_protobuf.protoInt64.zero;
1908
+ /**
1909
+ * @generated from field: int64 ended_at = 11;
1910
+ */
1911
+ this.endedAt = import_protobuf.protoInt64.zero;
1912
+ /**
1913
+ * @generated from field: livekit.DisconnectReason disconnect_reason = 12;
1914
+ */
1915
+ this.disconnectReason = import_livekit_models_pb.DisconnectReason.UNKNOWN_REASON;
1916
+ /**
1917
+ * @generated from field: string error = 13;
1918
+ */
1919
+ this.error = "";
1920
+ import_protobuf.proto3.util.initPartial(data, this);
1921
+ }
1922
+ static fromBinary(bytes, options) {
1923
+ return new _SIPCallInfo().fromBinary(bytes, options);
1924
+ }
1925
+ static fromJson(jsonValue, options) {
1926
+ return new _SIPCallInfo().fromJson(jsonValue, options);
1927
+ }
1928
+ static fromJsonString(jsonString, options) {
1929
+ return new _SIPCallInfo().fromJsonString(jsonString, options);
1930
+ }
1931
+ static equals(a, b) {
1932
+ return import_protobuf.proto3.util.equals(_SIPCallInfo, a, b);
1933
+ }
1934
+ };
1935
+ _SIPCallInfo.runtime = import_protobuf.proto3;
1936
+ _SIPCallInfo.typeName = "livekit.SIPCallInfo";
1937
+ _SIPCallInfo.fields = import_protobuf.proto3.util.newFieldList(() => [
1938
+ {
1939
+ no: 1,
1940
+ name: "call_id",
1941
+ kind: "scalar",
1942
+ T: 9
1943
+ /* ScalarType.STRING */
1944
+ },
1945
+ {
1946
+ no: 2,
1947
+ name: "trunk_id",
1948
+ kind: "scalar",
1949
+ T: 9
1950
+ /* ScalarType.STRING */
1951
+ },
1952
+ {
1953
+ no: 3,
1954
+ name: "room_name",
1955
+ kind: "scalar",
1956
+ T: 9
1957
+ /* ScalarType.STRING */
1958
+ },
1959
+ {
1960
+ no: 4,
1961
+ name: "room_id",
1962
+ kind: "scalar",
1963
+ T: 9
1964
+ /* ScalarType.STRING */
1965
+ },
1966
+ {
1967
+ no: 5,
1968
+ name: "participant_identity",
1969
+ kind: "scalar",
1970
+ T: 9
1971
+ /* ScalarType.STRING */
1972
+ },
1973
+ { no: 6, name: "from_uri", kind: "message", T: SIPUri },
1974
+ { no: 7, name: "to_uri", kind: "message", T: SIPUri },
1975
+ { no: 14, name: "enabled_features", kind: "enum", T: import_protobuf.proto3.getEnumType(SIPFeature), repeated: true },
1976
+ { no: 8, name: "call_status", kind: "enum", T: import_protobuf.proto3.getEnumType(SIPCallStatus) },
1977
+ {
1978
+ no: 9,
1979
+ name: "created_at",
1980
+ kind: "scalar",
1981
+ T: 3
1982
+ /* ScalarType.INT64 */
1983
+ },
1984
+ {
1985
+ no: 10,
1986
+ name: "started_at",
1987
+ kind: "scalar",
1988
+ T: 3
1989
+ /* ScalarType.INT64 */
1990
+ },
1991
+ {
1992
+ no: 11,
1993
+ name: "ended_at",
1994
+ kind: "scalar",
1995
+ T: 3
1996
+ /* ScalarType.INT64 */
1997
+ },
1998
+ { no: 12, name: "disconnect_reason", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.DisconnectReason) },
1999
+ {
2000
+ no: 13,
2001
+ name: "error",
2002
+ kind: "scalar",
2003
+ T: 9
2004
+ /* ScalarType.STRING */
2005
+ }
2006
+ ]);
2007
+ let SIPCallInfo = _SIPCallInfo;
2008
+ const _SIPUri = class _SIPUri extends import_protobuf.Message {
2009
+ constructor(data) {
2010
+ super();
2011
+ /**
2012
+ * @generated from field: string user = 1;
2013
+ */
2014
+ this.user = "";
2015
+ /**
2016
+ * @generated from field: string host = 2;
2017
+ */
2018
+ this.host = "";
2019
+ /**
2020
+ * @generated from field: string ip = 3;
2021
+ */
2022
+ this.ip = "";
2023
+ /**
2024
+ * @generated from field: uint32 port = 4;
2025
+ */
2026
+ this.port = 0;
2027
+ /**
2028
+ * @generated from field: livekit.SIPTransport transport = 5;
2029
+ */
2030
+ this.transport = 0 /* SIP_TRANSPORT_AUTO */;
2031
+ import_protobuf.proto3.util.initPartial(data, this);
2032
+ }
2033
+ static fromBinary(bytes, options) {
2034
+ return new _SIPUri().fromBinary(bytes, options);
2035
+ }
2036
+ static fromJson(jsonValue, options) {
2037
+ return new _SIPUri().fromJson(jsonValue, options);
2038
+ }
2039
+ static fromJsonString(jsonString, options) {
2040
+ return new _SIPUri().fromJsonString(jsonString, options);
2041
+ }
2042
+ static equals(a, b) {
2043
+ return import_protobuf.proto3.util.equals(_SIPUri, a, b);
2044
+ }
2045
+ };
2046
+ _SIPUri.runtime = import_protobuf.proto3;
2047
+ _SIPUri.typeName = "livekit.SIPUri";
2048
+ _SIPUri.fields = import_protobuf.proto3.util.newFieldList(() => [
2049
+ {
2050
+ no: 1,
2051
+ name: "user",
2052
+ kind: "scalar",
2053
+ T: 9
2054
+ /* ScalarType.STRING */
2055
+ },
2056
+ {
2057
+ no: 2,
2058
+ name: "host",
2059
+ kind: "scalar",
2060
+ T: 9
2061
+ /* ScalarType.STRING */
2062
+ },
2063
+ {
2064
+ no: 3,
2065
+ name: "ip",
2066
+ kind: "scalar",
2067
+ T: 9
2068
+ /* ScalarType.STRING */
2069
+ },
2070
+ {
2071
+ no: 4,
2072
+ name: "port",
2073
+ kind: "scalar",
2074
+ T: 13
2075
+ /* ScalarType.UINT32 */
2076
+ },
2077
+ { no: 5, name: "transport", kind: "enum", T: import_protobuf.proto3.getEnumType(SIPTransport) }
2078
+ ]);
2079
+ let SIPUri = _SIPUri;
2080
+ // Annotate the CommonJS export names for ESM import in node:
2081
+ 0 && (module.exports = {
2082
+ CreateSIPDispatchRuleRequest,
2083
+ CreateSIPInboundTrunkRequest,
2084
+ CreateSIPOutboundTrunkRequest,
2085
+ CreateSIPParticipantRequest,
2086
+ CreateSIPTrunkRequest,
2087
+ DeleteSIPDispatchRuleRequest,
2088
+ DeleteSIPTrunkRequest,
2089
+ GetSIPInboundTrunkRequest,
2090
+ GetSIPInboundTrunkResponse,
2091
+ GetSIPOutboundTrunkRequest,
2092
+ GetSIPOutboundTrunkResponse,
2093
+ ListSIPDispatchRuleRequest,
2094
+ ListSIPDispatchRuleResponse,
2095
+ ListSIPInboundTrunkRequest,
2096
+ ListSIPInboundTrunkResponse,
2097
+ ListSIPOutboundTrunkRequest,
2098
+ ListSIPOutboundTrunkResponse,
2099
+ ListSIPTrunkRequest,
2100
+ ListSIPTrunkResponse,
2101
+ SIPCallInfo,
2102
+ SIPCallStatus,
2103
+ SIPDispatchRule,
2104
+ SIPDispatchRuleCallee,
2105
+ SIPDispatchRuleDirect,
2106
+ SIPDispatchRuleIndividual,
2107
+ SIPDispatchRuleInfo,
2108
+ SIPFeature,
2109
+ SIPInboundTrunkInfo,
2110
+ SIPOutboundTrunkInfo,
2111
+ SIPParticipantInfo,
2112
+ SIPTransport,
2113
+ SIPTrunkInfo,
2114
+ SIPTrunkInfo_TrunkKind,
2115
+ SIPUri,
2116
+ TransferSIPParticipantRequest
2117
+ });
2118
+ //# sourceMappingURL=livekit_sip_pb.cjs.map