@livekit/protocol 1.30.0 → 1.32.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.
- package/dist/index.cjs +111 -26
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +226 -34
- package/dist/index.d.mts +226 -34
- package/dist/index.d.ts +226 -34
- package/dist/index.mjs +107 -26
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/livekit_ingress_pb.d.ts +21 -0
- package/src/gen/livekit_ingress_pb.js +3 -0
- package/src/gen/livekit_models_pb.d.ts +103 -28
- package/src/gen/livekit_models_pb.js +36 -11
- package/src/gen/livekit_sip_pb.d.ts +102 -6
- package/src/gen/livekit_sip_pb.js +38 -3
- package/src/gen/version.js +1 -1
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
// @ts-nocheck
|
|
19
19
|
|
|
20
20
|
import { Duration, proto3 } from "@bufbuild/protobuf";
|
|
21
|
+
import { DisconnectReason, Pagination } from "./livekit_models_pb.js";
|
|
21
22
|
import { RoomConfiguration } from "./livekit_room_pb.js";
|
|
22
|
-
import { DisconnectReason } from "./livekit_models_pb.js";
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* @generated from enum livekit.SIPTransport
|
|
@@ -46,6 +46,18 @@ export const SIPHeaderOptions = /*@__PURE__*/ proto3.makeEnum(
|
|
|
46
46
|
],
|
|
47
47
|
);
|
|
48
48
|
|
|
49
|
+
/**
|
|
50
|
+
* @generated from enum livekit.SIPMediaEncryption
|
|
51
|
+
*/
|
|
52
|
+
export const SIPMediaEncryption = /*@__PURE__*/ proto3.makeEnum(
|
|
53
|
+
"livekit.SIPMediaEncryption",
|
|
54
|
+
[
|
|
55
|
+
{no: 0, name: "SIP_MEDIA_ENCRYPT_DISABLE"},
|
|
56
|
+
{no: 1, name: "SIP_MEDIA_ENCRYPT_ALLOW"},
|
|
57
|
+
{no: 2, name: "SIP_MEDIA_ENCRYPT_REQUIRE"},
|
|
58
|
+
],
|
|
59
|
+
);
|
|
60
|
+
|
|
49
61
|
/**
|
|
50
62
|
* @generated from enum livekit.SIPCallStatus
|
|
51
63
|
*/
|
|
@@ -71,6 +83,18 @@ export const SIPFeature = /*@__PURE__*/ proto3.makeEnum(
|
|
|
71
83
|
],
|
|
72
84
|
);
|
|
73
85
|
|
|
86
|
+
/**
|
|
87
|
+
* @generated from enum livekit.SIPCallDirection
|
|
88
|
+
*/
|
|
89
|
+
export const SIPCallDirection = /*@__PURE__*/ proto3.makeEnum(
|
|
90
|
+
"livekit.SIPCallDirection",
|
|
91
|
+
[
|
|
92
|
+
{no: 0, name: "SCD_UNKNOWN"},
|
|
93
|
+
{no: 1, name: "SCD_INBOUND"},
|
|
94
|
+
{no: 2, name: "SCD_OUTBOUND"},
|
|
95
|
+
],
|
|
96
|
+
);
|
|
97
|
+
|
|
74
98
|
/**
|
|
75
99
|
* @generated from message livekit.CreateSIPTrunkRequest
|
|
76
100
|
* @deprecated
|
|
@@ -159,6 +183,7 @@ export const SIPInboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
159
183
|
{ no: 11, name: "ringing_timeout", kind: "message", T: Duration },
|
|
160
184
|
{ no: 12, name: "max_call_duration", kind: "message", T: Duration },
|
|
161
185
|
{ no: 13, name: "krisp_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
186
|
+
{ no: 16, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) },
|
|
162
187
|
],
|
|
163
188
|
);
|
|
164
189
|
|
|
@@ -190,6 +215,7 @@ export const SIPOutboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
190
215
|
{ no: 10, name: "headers_to_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
191
216
|
{ no: 11, name: "attributes_to_headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
192
217
|
{ no: 12, name: "include_headers", kind: "enum", T: proto3.getEnumType(SIPHeaderOptions) },
|
|
218
|
+
{ no: 13, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) },
|
|
193
219
|
],
|
|
194
220
|
);
|
|
195
221
|
|
|
@@ -239,7 +265,9 @@ export const GetSIPOutboundTrunkResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
239
265
|
*/
|
|
240
266
|
export const ListSIPTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
241
267
|
"livekit.ListSIPTrunkRequest",
|
|
242
|
-
[
|
|
268
|
+
() => [
|
|
269
|
+
{ no: 1, name: "page", kind: "message", T: Pagination },
|
|
270
|
+
],
|
|
243
271
|
);
|
|
244
272
|
|
|
245
273
|
/**
|
|
@@ -261,6 +289,7 @@ export const ListSIPTrunkResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
261
289
|
export const ListSIPInboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
262
290
|
"livekit.ListSIPInboundTrunkRequest",
|
|
263
291
|
() => [
|
|
292
|
+
{ no: 3, name: "page", kind: "message", T: Pagination },
|
|
264
293
|
{ no: 1, name: "trunk_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
265
294
|
{ no: 2, name: "numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
266
295
|
],
|
|
@@ -284,6 +313,7 @@ export const ListSIPInboundTrunkResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
284
313
|
export const ListSIPOutboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
285
314
|
"livekit.ListSIPOutboundTrunkRequest",
|
|
286
315
|
() => [
|
|
316
|
+
{ no: 3, name: "page", kind: "message", T: Pagination },
|
|
287
317
|
{ no: 1, name: "trunk_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
288
318
|
{ no: 2, name: "numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
289
319
|
],
|
|
@@ -389,6 +419,8 @@ export const SIPDispatchRuleInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
389
419
|
{ no: 8, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
390
420
|
{ no: 9, name: "room_preset", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
391
421
|
{ no: 10, name: "room_config", kind: "message", T: RoomConfiguration },
|
|
422
|
+
{ no: 11, name: "krisp_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
423
|
+
{ no: 12, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) },
|
|
392
424
|
],
|
|
393
425
|
);
|
|
394
426
|
|
|
@@ -400,6 +432,7 @@ export const SIPDispatchRuleInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
400
432
|
export const ListSIPDispatchRuleRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
401
433
|
"livekit.ListSIPDispatchRuleRequest",
|
|
402
434
|
() => [
|
|
435
|
+
{ no: 3, name: "page", kind: "message", T: Pagination },
|
|
403
436
|
{ no: 1, name: "dispatch_rule_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
404
437
|
{ no: 2, name: "trunk_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
405
438
|
],
|
|
@@ -450,7 +483,8 @@ export const CreateSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
450
483
|
{ no: 17, name: "include_headers", kind: "enum", T: proto3.getEnumType(SIPHeaderOptions) },
|
|
451
484
|
{ no: 11, name: "ringing_timeout", kind: "message", T: Duration },
|
|
452
485
|
{ no: 12, name: "max_call_duration", kind: "message", T: Duration },
|
|
453
|
-
{ no: 14, name: "
|
|
486
|
+
{ no: 14, name: "krisp_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
487
|
+
{ no: 18, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) },
|
|
454
488
|
],
|
|
455
489
|
);
|
|
456
490
|
|
|
@@ -495,6 +529,7 @@ export const SIPCallInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
495
529
|
{ no: 6, name: "from_uri", kind: "message", T: SIPUri },
|
|
496
530
|
{ no: 7, name: "to_uri", kind: "message", T: SIPUri },
|
|
497
531
|
{ no: 14, name: "enabled_features", kind: "enum", T: proto3.getEnumType(SIPFeature), repeated: true },
|
|
532
|
+
{ no: 15, name: "call_direction", kind: "enum", T: proto3.getEnumType(SIPCallDirection) },
|
|
498
533
|
{ no: 8, name: "call_status", kind: "enum", T: proto3.getEnumType(SIPCallStatus) },
|
|
499
534
|
{ no: 9, name: "created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
500
535
|
{ no: 10, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
package/src/gen/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '1.
|
|
2
|
+
export const version = '1.32.0';
|