@livekit/protocol 1.38.0 → 1.39.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 +86 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +120 -2
- package/dist/index.d.mts +120 -2
- package/dist/index.d.ts +120 -2
- package/dist/index.mjs +85 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/gen/livekit_agent_pb.d.ts +7 -0
- package/src/gen/livekit_agent_pb.js +1 -0
- package/src/gen/livekit_analytics_pb.d.ts +16 -1
- package/src/gen/livekit_analytics_pb.js +4 -1
- package/src/gen/livekit_models_pb.d.ts +7 -0
- package/src/gen/livekit_models_pb.js +1 -0
- package/src/gen/livekit_rtc_pb.d.ts +7 -1
- package/src/gen/livekit_rtc_pb.js +1 -0
- package/src/gen/livekit_sip_pb.d.ts +98 -0
- package/src/gen/livekit_sip_pb.js +32 -0
- package/src/gen/version.js +1 -1
package/dist/index.cjs
CHANGED
|
@@ -243,7 +243,8 @@ const DisconnectReason = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
243
243
|
{ no: 11, name: "USER_UNAVAILABLE" },
|
|
244
244
|
{ no: 12, name: "USER_REJECTED" },
|
|
245
245
|
{ no: 13, name: "SIP_TRUNK_FAILURE" },
|
|
246
|
-
{ no: 14, name: "CONNECTION_TIMEOUT" }
|
|
246
|
+
{ no: 14, name: "CONNECTION_TIMEOUT" },
|
|
247
|
+
{ no: 15, name: "MEDIA_FAILURE" }
|
|
247
248
|
]
|
|
248
249
|
);
|
|
249
250
|
const ReconnectReason = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
@@ -2247,6 +2248,13 @@ const AvailabilityResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
2247
2248
|
T: 8
|
|
2248
2249
|
/* ScalarType.BOOL */
|
|
2249
2250
|
},
|
|
2251
|
+
{
|
|
2252
|
+
no: 8,
|
|
2253
|
+
name: "terminate",
|
|
2254
|
+
kind: "scalar",
|
|
2255
|
+
T: 8
|
|
2256
|
+
/* ScalarType.BOOL */
|
|
2257
|
+
},
|
|
2250
2258
|
{
|
|
2251
2259
|
no: 4,
|
|
2252
2260
|
name: "participant_name",
|
|
@@ -4763,7 +4771,8 @@ const ReconnectResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
4763
4771
|
"livekit.ReconnectResponse",
|
|
4764
4772
|
() => [
|
|
4765
4773
|
{ no: 1, name: "ice_servers", kind: "message", T: ICEServer, repeated: true },
|
|
4766
|
-
{ no: 2, name: "client_configuration", kind: "message", T: ClientConfiguration }
|
|
4774
|
+
{ no: 2, name: "client_configuration", kind: "message", T: ClientConfiguration },
|
|
4775
|
+
{ no: 3, name: "server_info", kind: "message", T: ServerInfo }
|
|
4767
4776
|
]
|
|
4768
4777
|
);
|
|
4769
4778
|
const TrackPublishedResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -5442,6 +5451,14 @@ const SIPCallStatus = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
5442
5451
|
{ no: 4, name: "SCS_ERROR" }
|
|
5443
5452
|
]
|
|
5444
5453
|
);
|
|
5454
|
+
const SIPTransferStatus = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
5455
|
+
"livekit.SIPTransferStatus",
|
|
5456
|
+
[
|
|
5457
|
+
{ no: 0, name: "STS_TRANSFER_ONGOING" },
|
|
5458
|
+
{ no: 1, name: "STS_TRANSFER_FAILED" },
|
|
5459
|
+
{ no: 2, name: "STS_TRANSFER_SUCCESSFUL" }
|
|
5460
|
+
]
|
|
5461
|
+
);
|
|
5445
5462
|
const SIPFeature = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
5446
5463
|
"livekit.SIPFeature",
|
|
5447
5464
|
[
|
|
@@ -5768,6 +5785,13 @@ const SIPOutboundTrunkInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5768
5785
|
T: 9
|
|
5769
5786
|
/* ScalarType.STRING */
|
|
5770
5787
|
},
|
|
5788
|
+
{
|
|
5789
|
+
no: 14,
|
|
5790
|
+
name: "destination_country",
|
|
5791
|
+
kind: "scalar",
|
|
5792
|
+
T: 9
|
|
5793
|
+
/* ScalarType.STRING */
|
|
5794
|
+
},
|
|
5771
5795
|
{ no: 5, name: "transport", kind: "enum", T: protobuf.proto3.getEnumType(SIPTransport) },
|
|
5772
5796
|
{ no: 6, name: "numbers", kind: "scalar", T: 9, repeated: true },
|
|
5773
5797
|
{
|
|
@@ -5808,6 +5832,7 @@ const SIPOutboundTrunkUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5808
5832
|
() => [
|
|
5809
5833
|
{ no: 1, name: "address", kind: "scalar", T: 9, opt: true },
|
|
5810
5834
|
{ no: 2, name: "transport", kind: "enum", T: protobuf.proto3.getEnumType(SIPTransport), opt: true },
|
|
5835
|
+
{ no: 9, name: "destination_country", kind: "scalar", T: 9, opt: true },
|
|
5811
5836
|
{ no: 3, name: "numbers", kind: "message", T: ListUpdate },
|
|
5812
5837
|
{ no: 4, name: "auth_username", kind: "scalar", T: 9, opt: true },
|
|
5813
5838
|
{ no: 5, name: "auth_password", kind: "scalar", T: 9, opt: true },
|
|
@@ -6141,6 +6166,13 @@ const SIPOutboundConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6141
6166
|
T: 9
|
|
6142
6167
|
/* ScalarType.STRING */
|
|
6143
6168
|
},
|
|
6169
|
+
{
|
|
6170
|
+
no: 7,
|
|
6171
|
+
name: "destination_country",
|
|
6172
|
+
kind: "scalar",
|
|
6173
|
+
T: 9
|
|
6174
|
+
/* ScalarType.STRING */
|
|
6175
|
+
},
|
|
6144
6176
|
{ no: 2, name: "transport", kind: "enum", T: protobuf.proto3.getEnumType(SIPTransport) },
|
|
6145
6177
|
{
|
|
6146
6178
|
no: 3,
|
|
@@ -6480,6 +6512,55 @@ const SIPCallInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6480
6512
|
}
|
|
6481
6513
|
]
|
|
6482
6514
|
);
|
|
6515
|
+
const SIPTransferInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
6516
|
+
"livekit.SIPTransferInfo",
|
|
6517
|
+
() => [
|
|
6518
|
+
{
|
|
6519
|
+
no: 1,
|
|
6520
|
+
name: "transfer_id",
|
|
6521
|
+
kind: "scalar",
|
|
6522
|
+
T: 9
|
|
6523
|
+
/* ScalarType.STRING */
|
|
6524
|
+
},
|
|
6525
|
+
{
|
|
6526
|
+
no: 2,
|
|
6527
|
+
name: "call_id",
|
|
6528
|
+
kind: "scalar",
|
|
6529
|
+
T: 9
|
|
6530
|
+
/* ScalarType.STRING */
|
|
6531
|
+
},
|
|
6532
|
+
{
|
|
6533
|
+
no: 3,
|
|
6534
|
+
name: "transfer_to",
|
|
6535
|
+
kind: "scalar",
|
|
6536
|
+
T: 9
|
|
6537
|
+
/* ScalarType.STRING */
|
|
6538
|
+
},
|
|
6539
|
+
{
|
|
6540
|
+
no: 4,
|
|
6541
|
+
name: "transfer_initiated_at_ns",
|
|
6542
|
+
kind: "scalar",
|
|
6543
|
+
T: 3
|
|
6544
|
+
/* ScalarType.INT64 */
|
|
6545
|
+
},
|
|
6546
|
+
{
|
|
6547
|
+
no: 5,
|
|
6548
|
+
name: "transfer_completed_at_ns",
|
|
6549
|
+
kind: "scalar",
|
|
6550
|
+
T: 3
|
|
6551
|
+
/* ScalarType.INT64 */
|
|
6552
|
+
},
|
|
6553
|
+
{ no: 6, name: "transfer_status", kind: "enum", T: protobuf.proto3.getEnumType(SIPTransferStatus) },
|
|
6554
|
+
{
|
|
6555
|
+
no: 7,
|
|
6556
|
+
name: "error",
|
|
6557
|
+
kind: "scalar",
|
|
6558
|
+
T: 9
|
|
6559
|
+
/* ScalarType.STRING */
|
|
6560
|
+
},
|
|
6561
|
+
{ no: 8, name: "transfer_status_code", kind: "message", T: SIPStatus }
|
|
6562
|
+
]
|
|
6563
|
+
);
|
|
6483
6564
|
const SIPUri = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
6484
6565
|
"livekit.SIPUri",
|
|
6485
6566
|
() => [
|
|
@@ -6554,7 +6635,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6554
6635
|
]
|
|
6555
6636
|
);
|
|
6556
6637
|
|
|
6557
|
-
const version = "1.
|
|
6638
|
+
const version = "1.39.0";
|
|
6558
6639
|
|
|
6559
6640
|
exports.protoInt64 = protobuf.protoInt64;
|
|
6560
6641
|
exports.ActiveSpeakerUpdate = ActiveSpeakerUpdate;
|
|
@@ -6741,6 +6822,8 @@ exports.SIPOutboundTrunkUpdate = SIPOutboundTrunkUpdate;
|
|
|
6741
6822
|
exports.SIPParticipantInfo = SIPParticipantInfo;
|
|
6742
6823
|
exports.SIPStatus = SIPStatus;
|
|
6743
6824
|
exports.SIPStatusCode = SIPStatusCode;
|
|
6825
|
+
exports.SIPTransferInfo = SIPTransferInfo;
|
|
6826
|
+
exports.SIPTransferStatus = SIPTransferStatus;
|
|
6744
6827
|
exports.SIPTransport = SIPTransport;
|
|
6745
6828
|
exports.SIPTrunkInfo = SIPTrunkInfo;
|
|
6746
6829
|
exports.SIPTrunkInfo_TrunkKind = SIPTrunkInfo_TrunkKind;
|