@livekit/protocol 1.35.0 → 1.36.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 +106 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +346 -14
- package/dist/index.d.mts +346 -14
- package/dist/index.d.ts +346 -14
- package/dist/index.mjs +99 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/livekit_cloud_agent_pb.d.ts +897 -0
- package/src/gen/livekit_cloud_agent_pb.js +325 -0
- package/src/gen/livekit_internal_pb.d.ts +5 -0
- package/src/gen/livekit_internal_pb.js +1 -0
- package/src/gen/livekit_models_pb.d.ts +45 -4
- package/src/gen/livekit_models_pb.js +24 -1
- package/src/gen/livekit_sip_pb.d.ts +301 -10
- package/src/gen/livekit_sip_pb.js +84 -1
- package/src/gen/version.js +1 -1
package/dist/index.cjs
CHANGED
|
@@ -292,6 +292,12 @@ const Pagination = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
292
292
|
}
|
|
293
293
|
]
|
|
294
294
|
);
|
|
295
|
+
const ListUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
296
|
+
"livekit.ListUpdate",
|
|
297
|
+
() => [
|
|
298
|
+
{ no: 1, name: "set", kind: "scalar", T: 9, repeated: true }
|
|
299
|
+
]
|
|
300
|
+
);
|
|
295
301
|
const Room = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
296
302
|
"livekit.Room",
|
|
297
303
|
() => [
|
|
@@ -565,7 +571,8 @@ const ParticipantInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
565
571
|
T: 9
|
|
566
572
|
/* ScalarType.STRING */
|
|
567
573
|
} },
|
|
568
|
-
{ no: 16, name: "disconnect_reason", kind: "enum", T: protobuf.proto3.getEnumType(DisconnectReason) }
|
|
574
|
+
{ no: 16, name: "disconnect_reason", kind: "enum", T: protobuf.proto3.getEnumType(DisconnectReason) },
|
|
575
|
+
{ no: 18, name: "kind_details", kind: "enum", T: protobuf.proto3.getEnumType(ParticipantInfo_KindDetail), repeated: true }
|
|
569
576
|
]
|
|
570
577
|
);
|
|
571
578
|
const ParticipantInfo_State = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
@@ -584,8 +591,14 @@ const ParticipantInfo_Kind = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
584
591
|
{ no: 1, name: "INGRESS" },
|
|
585
592
|
{ no: 2, name: "EGRESS" },
|
|
586
593
|
{ no: 3, name: "SIP" },
|
|
587
|
-
{ no: 4, name: "AGENT" }
|
|
588
|
-
|
|
594
|
+
{ no: 4, name: "AGENT" }
|
|
595
|
+
]
|
|
596
|
+
);
|
|
597
|
+
const ParticipantInfo_KindDetail = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
598
|
+
"livekit.ParticipantInfo.KindDetail",
|
|
599
|
+
[
|
|
600
|
+
{ no: 0, name: "CLOUD_AGENT" },
|
|
601
|
+
{ no: 1, name: "FORWARDED" }
|
|
589
602
|
]
|
|
590
603
|
);
|
|
591
604
|
const Encryption = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -5532,6 +5545,20 @@ const CreateSIPInboundTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessage
|
|
|
5532
5545
|
{ no: 1, name: "trunk", kind: "message", T: SIPInboundTrunkInfo }
|
|
5533
5546
|
]
|
|
5534
5547
|
);
|
|
5548
|
+
const UpdateSIPInboundTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5549
|
+
"livekit.UpdateSIPInboundTrunkRequest",
|
|
5550
|
+
() => [
|
|
5551
|
+
{
|
|
5552
|
+
no: 1,
|
|
5553
|
+
name: "sip_trunk_id",
|
|
5554
|
+
kind: "scalar",
|
|
5555
|
+
T: 9
|
|
5556
|
+
/* ScalarType.STRING */
|
|
5557
|
+
},
|
|
5558
|
+
{ no: 2, name: "replace", kind: "message", T: SIPInboundTrunkInfo, oneof: "action" },
|
|
5559
|
+
{ no: 3, name: "update", kind: "message", T: SIPInboundTrunkUpdate, oneof: "action" }
|
|
5560
|
+
]
|
|
5561
|
+
);
|
|
5535
5562
|
const SIPInboundTrunkInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5536
5563
|
"livekit.SIPInboundTrunkInfo",
|
|
5537
5564
|
() => [
|
|
@@ -5601,12 +5628,38 @@ const SIPInboundTrunkInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5601
5628
|
{ no: 16, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption) }
|
|
5602
5629
|
]
|
|
5603
5630
|
);
|
|
5631
|
+
const SIPInboundTrunkUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5632
|
+
"livekit.SIPInboundTrunkUpdate",
|
|
5633
|
+
() => [
|
|
5634
|
+
{ no: 1, name: "numbers", kind: "message", T: ListUpdate },
|
|
5635
|
+
{ no: 2, name: "allowed_addresses", kind: "message", T: ListUpdate },
|
|
5636
|
+
{ no: 3, name: "allowed_numbers", kind: "message", T: ListUpdate },
|
|
5637
|
+
{ no: 4, name: "auth_username", kind: "scalar", T: 9, opt: true },
|
|
5638
|
+
{ no: 5, name: "auth_password", kind: "scalar", T: 9, opt: true },
|
|
5639
|
+
{ no: 6, name: "name", kind: "scalar", T: 9, opt: true },
|
|
5640
|
+
{ no: 7, name: "metadata", kind: "scalar", T: 9, opt: true }
|
|
5641
|
+
]
|
|
5642
|
+
);
|
|
5604
5643
|
const CreateSIPOutboundTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5605
5644
|
"livekit.CreateSIPOutboundTrunkRequest",
|
|
5606
5645
|
() => [
|
|
5607
5646
|
{ no: 1, name: "trunk", kind: "message", T: SIPOutboundTrunkInfo }
|
|
5608
5647
|
]
|
|
5609
5648
|
);
|
|
5649
|
+
const UpdateSIPOutboundTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5650
|
+
"livekit.UpdateSIPOutboundTrunkRequest",
|
|
5651
|
+
() => [
|
|
5652
|
+
{
|
|
5653
|
+
no: 1,
|
|
5654
|
+
name: "sip_trunk_id",
|
|
5655
|
+
kind: "scalar",
|
|
5656
|
+
T: 9
|
|
5657
|
+
/* ScalarType.STRING */
|
|
5658
|
+
},
|
|
5659
|
+
{ no: 2, name: "replace", kind: "message", T: SIPOutboundTrunkInfo, oneof: "action" },
|
|
5660
|
+
{ no: 3, name: "update", kind: "message", T: SIPOutboundTrunkUpdate, oneof: "action" }
|
|
5661
|
+
]
|
|
5662
|
+
);
|
|
5610
5663
|
const SIPOutboundTrunkInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5611
5664
|
"livekit.SIPOutboundTrunkInfo",
|
|
5612
5665
|
() => [
|
|
@@ -5673,6 +5726,18 @@ const SIPOutboundTrunkInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5673
5726
|
{ no: 13, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption) }
|
|
5674
5727
|
]
|
|
5675
5728
|
);
|
|
5729
|
+
const SIPOutboundTrunkUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5730
|
+
"livekit.SIPOutboundTrunkUpdate",
|
|
5731
|
+
() => [
|
|
5732
|
+
{ no: 1, name: "address", kind: "scalar", T: 9, opt: true },
|
|
5733
|
+
{ no: 2, name: "transport", kind: "enum", T: protobuf.proto3.getEnumType(SIPTransport), opt: true },
|
|
5734
|
+
{ no: 3, name: "numbers", kind: "message", T: ListUpdate },
|
|
5735
|
+
{ no: 4, name: "auth_username", kind: "scalar", T: 9, opt: true },
|
|
5736
|
+
{ no: 5, name: "auth_password", kind: "scalar", T: 9, opt: true },
|
|
5737
|
+
{ no: 6, name: "name", kind: "scalar", T: 9, opt: true },
|
|
5738
|
+
{ no: 7, name: "metadata", kind: "scalar", T: 9, opt: true }
|
|
5739
|
+
]
|
|
5740
|
+
);
|
|
5676
5741
|
const GetSIPInboundTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5677
5742
|
"livekit.GetSIPInboundTrunkRequest",
|
|
5678
5743
|
() => [
|
|
@@ -5836,6 +5901,7 @@ const SIPDispatchRule = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5836
5901
|
const CreateSIPDispatchRuleRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5837
5902
|
"livekit.CreateSIPDispatchRuleRequest",
|
|
5838
5903
|
() => [
|
|
5904
|
+
{ no: 10, name: "dispatch_rule", kind: "message", T: SIPDispatchRuleInfo },
|
|
5839
5905
|
{ no: 1, name: "rule", kind: "message", T: SIPDispatchRule },
|
|
5840
5906
|
{ no: 2, name: "trunk_ids", kind: "scalar", T: 9, repeated: true },
|
|
5841
5907
|
{
|
|
@@ -5875,6 +5941,20 @@ const CreateSIPDispatchRuleRequest = /* @__PURE__ */ protobuf.proto3.makeMessage
|
|
|
5875
5941
|
{ no: 9, name: "room_config", kind: "message", T: RoomConfiguration }
|
|
5876
5942
|
]
|
|
5877
5943
|
);
|
|
5944
|
+
const UpdateSIPDispatchRuleRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5945
|
+
"livekit.UpdateSIPDispatchRuleRequest",
|
|
5946
|
+
() => [
|
|
5947
|
+
{
|
|
5948
|
+
no: 1,
|
|
5949
|
+
name: "sip_dispatch_rule_id",
|
|
5950
|
+
kind: "scalar",
|
|
5951
|
+
T: 9
|
|
5952
|
+
/* ScalarType.STRING */
|
|
5953
|
+
},
|
|
5954
|
+
{ no: 2, name: "replace", kind: "message", T: SIPDispatchRuleInfo, oneof: "action" },
|
|
5955
|
+
{ no: 3, name: "update", kind: "message", T: SIPDispatchRuleUpdate, oneof: "action" }
|
|
5956
|
+
]
|
|
5957
|
+
);
|
|
5878
5958
|
const SIPDispatchRuleInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5879
5959
|
"livekit.SIPDispatchRuleInfo",
|
|
5880
5960
|
() => [
|
|
@@ -5932,6 +6012,20 @@ const SIPDispatchRuleInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5932
6012
|
{ no: 12, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption) }
|
|
5933
6013
|
]
|
|
5934
6014
|
);
|
|
6015
|
+
const SIPDispatchRuleUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
6016
|
+
"livekit.SIPDispatchRuleUpdate",
|
|
6017
|
+
() => [
|
|
6018
|
+
{ no: 1, name: "trunk_ids", kind: "message", T: ListUpdate },
|
|
6019
|
+
{ no: 2, name: "rule", kind: "message", T: SIPDispatchRule },
|
|
6020
|
+
{ no: 3, name: "name", kind: "scalar", T: 9, opt: true },
|
|
6021
|
+
{ no: 4, name: "metadata", kind: "scalar", T: 9, opt: true },
|
|
6022
|
+
{ no: 5, name: "attributes", kind: "map", K: 9, V: {
|
|
6023
|
+
kind: "scalar",
|
|
6024
|
+
T: 9
|
|
6025
|
+
/* ScalarType.STRING */
|
|
6026
|
+
} }
|
|
6027
|
+
]
|
|
6028
|
+
);
|
|
5935
6029
|
const ListSIPDispatchRuleRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5936
6030
|
"livekit.ListSIPDispatchRuleRequest",
|
|
5937
6031
|
() => [
|
|
@@ -6380,7 +6474,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6380
6474
|
]
|
|
6381
6475
|
);
|
|
6382
6476
|
|
|
6383
|
-
const version = "1.
|
|
6477
|
+
const version = "1.36.0";
|
|
6384
6478
|
|
|
6385
6479
|
exports.protoInt64 = protobuf.protoInt64;
|
|
6386
6480
|
exports.ActiveSpeakerUpdate = ActiveSpeakerUpdate;
|
|
@@ -6496,6 +6590,7 @@ exports.ListSIPOutboundTrunkRequest = ListSIPOutboundTrunkRequest;
|
|
|
6496
6590
|
exports.ListSIPOutboundTrunkResponse = ListSIPOutboundTrunkResponse;
|
|
6497
6591
|
exports.ListSIPTrunkRequest = ListSIPTrunkRequest;
|
|
6498
6592
|
exports.ListSIPTrunkResponse = ListSIPTrunkResponse;
|
|
6593
|
+
exports.ListUpdate = ListUpdate;
|
|
6499
6594
|
exports.MetricLabel = MetricLabel;
|
|
6500
6595
|
exports.MetricSample = MetricSample;
|
|
6501
6596
|
exports.MetricsBatch = MetricsBatch;
|
|
@@ -6507,6 +6602,7 @@ exports.Pagination = Pagination;
|
|
|
6507
6602
|
exports.ParticipantEgressRequest = ParticipantEgressRequest;
|
|
6508
6603
|
exports.ParticipantInfo = ParticipantInfo;
|
|
6509
6604
|
exports.ParticipantInfo_Kind = ParticipantInfo_Kind;
|
|
6605
|
+
exports.ParticipantInfo_KindDetail = ParticipantInfo_KindDetail;
|
|
6510
6606
|
exports.ParticipantInfo_State = ParticipantInfo_State;
|
|
6511
6607
|
exports.ParticipantPermission = ParticipantPermission;
|
|
6512
6608
|
exports.ParticipantTracks = ParticipantTracks;
|
|
@@ -6550,12 +6646,15 @@ exports.SIPDispatchRuleCallee = SIPDispatchRuleCallee;
|
|
|
6550
6646
|
exports.SIPDispatchRuleDirect = SIPDispatchRuleDirect;
|
|
6551
6647
|
exports.SIPDispatchRuleIndividual = SIPDispatchRuleIndividual;
|
|
6552
6648
|
exports.SIPDispatchRuleInfo = SIPDispatchRuleInfo;
|
|
6649
|
+
exports.SIPDispatchRuleUpdate = SIPDispatchRuleUpdate;
|
|
6553
6650
|
exports.SIPFeature = SIPFeature;
|
|
6554
6651
|
exports.SIPHeaderOptions = SIPHeaderOptions;
|
|
6555
6652
|
exports.SIPInboundTrunkInfo = SIPInboundTrunkInfo;
|
|
6653
|
+
exports.SIPInboundTrunkUpdate = SIPInboundTrunkUpdate;
|
|
6556
6654
|
exports.SIPMediaEncryption = SIPMediaEncryption;
|
|
6557
6655
|
exports.SIPOutboundConfig = SIPOutboundConfig;
|
|
6558
6656
|
exports.SIPOutboundTrunkInfo = SIPOutboundTrunkInfo;
|
|
6657
|
+
exports.SIPOutboundTrunkUpdate = SIPOutboundTrunkUpdate;
|
|
6559
6658
|
exports.SIPParticipantInfo = SIPParticipantInfo;
|
|
6560
6659
|
exports.SIPStatus = SIPStatus;
|
|
6561
6660
|
exports.SIPStatusCode = SIPStatusCode;
|
|
@@ -6623,6 +6722,9 @@ exports.UpdateLocalVideoTrack = UpdateLocalVideoTrack;
|
|
|
6623
6722
|
exports.UpdateParticipantMetadata = UpdateParticipantMetadata;
|
|
6624
6723
|
exports.UpdateParticipantRequest = UpdateParticipantRequest;
|
|
6625
6724
|
exports.UpdateRoomMetadataRequest = UpdateRoomMetadataRequest;
|
|
6725
|
+
exports.UpdateSIPDispatchRuleRequest = UpdateSIPDispatchRuleRequest;
|
|
6726
|
+
exports.UpdateSIPInboundTrunkRequest = UpdateSIPInboundTrunkRequest;
|
|
6727
|
+
exports.UpdateSIPOutboundTrunkRequest = UpdateSIPOutboundTrunkRequest;
|
|
6626
6728
|
exports.UpdateStreamRequest = UpdateStreamRequest;
|
|
6627
6729
|
exports.UpdateSubscription = UpdateSubscription;
|
|
6628
6730
|
exports.UpdateSubscriptionsRequest = UpdateSubscriptionsRequest;
|