@cc-livekit/protocol 1.39.5 → 1.42.2

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 (40) hide show
  1. package/dist/index.cjs +449 -14
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.cts +970 -41
  4. package/dist/index.d.mts +970 -41
  5. package/dist/index.d.ts +970 -41
  6. package/dist/index.mjs +432 -16
  7. package/dist/index.mjs.map +1 -1
  8. package/package.json +2 -2
  9. package/src/gen/livekit_agent_pb.d.ts +10 -0
  10. package/src/gen/livekit_agent_pb.js +2 -0
  11. package/src/gen/livekit_analytics_pb.d.ts +10 -0
  12. package/src/gen/livekit_analytics_pb.js +2 -0
  13. package/src/gen/livekit_cloud_agent_pb.d.ts +152 -0
  14. package/src/gen/livekit_cloud_agent_pb.js +54 -0
  15. package/src/gen/livekit_connector_twilio_pb.d.ts +139 -0
  16. package/src/gen/livekit_connector_twilio_pb.js +60 -0
  17. package/src/gen/livekit_connector_whatsapp_pb.d.ts +434 -0
  18. package/src/gen/livekit_connector_whatsapp_pb.js +144 -0
  19. package/src/gen/livekit_egress_pb.d.ts +19 -0
  20. package/src/gen/livekit_egress_pb.js +3 -0
  21. package/src/gen/livekit_internal_pb.d.ts +30 -2
  22. package/src/gen/livekit_internal_pb.js +6 -0
  23. package/src/gen/livekit_metrics_pb.d.ts +30 -1
  24. package/src/gen/livekit_metrics_pb.js +11 -0
  25. package/src/gen/livekit_models_pb.d.ts +305 -9
  26. package/src/gen/livekit_models_pb.js +85 -0
  27. package/src/gen/livekit_phone_number_pb.d.ts +634 -0
  28. package/src/gen/livekit_phone_number_pb.js +222 -0
  29. package/src/gen/livekit_room_pb.d.ts +75 -0
  30. package/src/gen/livekit_room_pb.js +25 -0
  31. package/src/gen/livekit_rtc_pb.d.ts +314 -7
  32. package/src/gen/livekit_rtc_pb.js +91 -1
  33. package/src/gen/livekit_sip_pb.d.ts +88 -3
  34. package/src/gen/livekit_sip_pb.js +29 -1
  35. package/src/gen/livekit_token_source_pb.d.ts +115 -0
  36. package/src/gen/livekit_token_source_pb.js +48 -0
  37. package/src/gen/livekit_webhook_pb.d.ts +1 -1
  38. package/src/gen/version.js +1 -1
  39. package/src/index.d.ts +1 -0
  40. package/src/index.js +1 -0
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { proto3, Timestamp, Duration } from '@bufbuild/protobuf';
1
+ import { proto3, Timestamp, Duration, Any } from '@bufbuild/protobuf';
2
2
  export { protoInt64 } from '@bufbuild/protobuf';
3
3
 
4
4
  const MetricLabel = /* @__PURE__ */ proto3.makeEnum(
@@ -147,13 +147,27 @@ const EventMetric = /* @__PURE__ */ proto3.makeMessageType(
147
147
  }
148
148
  ]
149
149
  );
150
+ const MetricsRecordingHeader = /* @__PURE__ */ proto3.makeMessageType(
151
+ "livekit.MetricsRecordingHeader",
152
+ () => [
153
+ {
154
+ no: 1,
155
+ name: "room_id",
156
+ kind: "scalar",
157
+ T: 9
158
+ /* ScalarType.STRING */
159
+ },
160
+ { no: 2, name: "enable_user_data_training", kind: "scalar", T: 8, opt: true }
161
+ ]
162
+ );
150
163
 
151
164
  const AudioCodec = /* @__PURE__ */ proto3.makeEnum(
152
165
  "livekit.AudioCodec",
153
166
  [
154
167
  { no: 0, name: "DEFAULT_AC" },
155
168
  { no: 1, name: "OPUS" },
156
- { no: 2, name: "AAC" }
169
+ { no: 2, name: "AAC" },
170
+ { no: 3, name: "AC_MP3" }
157
171
  ]
158
172
  );
159
173
  const VideoCodec = /* @__PURE__ */ proto3.makeEnum(
@@ -295,10 +309,31 @@ const Pagination = /* @__PURE__ */ proto3.makeMessageType(
295
309
  }
296
310
  ]
297
311
  );
312
+ const TokenPagination = /* @__PURE__ */ proto3.makeMessageType(
313
+ "livekit.TokenPagination",
314
+ () => [
315
+ {
316
+ no: 1,
317
+ name: "token",
318
+ kind: "scalar",
319
+ T: 9
320
+ /* ScalarType.STRING */
321
+ }
322
+ ]
323
+ );
298
324
  const ListUpdate = /* @__PURE__ */ proto3.makeMessageType(
299
325
  "livekit.ListUpdate",
300
326
  () => [
301
- { no: 1, name: "set", kind: "scalar", T: 9, repeated: true }
327
+ { no: 1, name: "set", kind: "scalar", T: 9, repeated: true },
328
+ { no: 2, name: "add", kind: "scalar", T: 9, repeated: true },
329
+ { no: 3, name: "remove", kind: "scalar", T: 9, repeated: true },
330
+ {
331
+ no: 4,
332
+ name: "clear",
333
+ kind: "scalar",
334
+ T: 8
335
+ /* ScalarType.BOOL */
336
+ }
302
337
  ]
303
338
  );
304
339
  const Room = /* @__PURE__ */ proto3.makeMessageType(
@@ -594,7 +629,8 @@ const ParticipantInfo_Kind = /* @__PURE__ */ proto3.makeEnum(
594
629
  { no: 1, name: "INGRESS" },
595
630
  { no: 2, name: "EGRESS" },
596
631
  { no: 3, name: "SIP" },
597
- { no: 4, name: "AGENT" }
632
+ { no: 4, name: "AGENT" },
633
+ { no: 7, name: "CONNECTOR" }
598
634
  ]
599
635
  );
600
636
  const ParticipantInfo_KindDetail = /* @__PURE__ */ proto3.makeEnum(
@@ -640,7 +676,15 @@ const SimulcastCodecInfo = /* @__PURE__ */ proto3.makeMessageType(
640
676
  T: 9
641
677
  /* ScalarType.STRING */
642
678
  },
643
- { no: 4, name: "layers", kind: "message", T: VideoLayer, repeated: true }
679
+ { no: 4, name: "layers", kind: "message", T: VideoLayer, repeated: true },
680
+ { no: 5, name: "video_layer_mode", kind: "enum", T: proto3.getEnumType(VideoLayer_Mode) },
681
+ {
682
+ no: 6,
683
+ name: "sdp_cid",
684
+ kind: "scalar",
685
+ T: 9
686
+ /* ScalarType.STRING */
687
+ }
644
688
  ]
645
689
  );
646
690
  const TrackInfo = /* @__PURE__ */ proto3.makeMessageType(
@@ -788,6 +832,15 @@ const VideoLayer = /* @__PURE__ */ proto3.makeMessageType(
788
832
  }
789
833
  ]
790
834
  );
835
+ const VideoLayer_Mode = /* @__PURE__ */ proto3.makeEnum(
836
+ "livekit.VideoLayer.Mode",
837
+ [
838
+ { no: 0, name: "MODE_UNUSED" },
839
+ { no: 1, name: "ONE_SPATIAL_LAYER_PER_STREAM" },
840
+ { no: 2, name: "MULTIPLE_SPATIAL_LAYERS_PER_STREAM" },
841
+ { no: 3, name: "ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR" }
842
+ ]
843
+ );
791
844
  const DataPacket = /* @__PURE__ */ proto3.makeMessageType(
792
845
  "livekit.DataPacket",
793
846
  () => [
@@ -812,6 +865,7 @@ const DataPacket = /* @__PURE__ */ proto3.makeMessageType(
812
865
  { no: 13, name: "stream_header", kind: "message", T: DataStream_Header, oneof: "value" },
813
866
  { no: 14, name: "stream_chunk", kind: "message", T: DataStream_Chunk, oneof: "value" },
814
867
  { no: 15, name: "stream_trailer", kind: "message", T: DataStream_Trailer, oneof: "value" },
868
+ { no: 18, name: "encrypted_packet", kind: "message", T: EncryptedPacket, oneof: "value" },
815
869
  {
816
870
  no: 16,
817
871
  name: "sequence",
@@ -835,6 +889,46 @@ const DataPacket_Kind = /* @__PURE__ */ proto3.makeEnum(
835
889
  { no: 1, name: "LOSSY" }
836
890
  ]
837
891
  );
892
+ const EncryptedPacket = /* @__PURE__ */ proto3.makeMessageType(
893
+ "livekit.EncryptedPacket",
894
+ () => [
895
+ { no: 1, name: "encryption_type", kind: "enum", T: proto3.getEnumType(Encryption_Type) },
896
+ {
897
+ no: 2,
898
+ name: "iv",
899
+ kind: "scalar",
900
+ T: 12
901
+ /* ScalarType.BYTES */
902
+ },
903
+ {
904
+ no: 3,
905
+ name: "key_index",
906
+ kind: "scalar",
907
+ T: 13
908
+ /* ScalarType.UINT32 */
909
+ },
910
+ {
911
+ no: 4,
912
+ name: "encrypted_value",
913
+ kind: "scalar",
914
+ T: 12
915
+ /* ScalarType.BYTES */
916
+ }
917
+ ]
918
+ );
919
+ const EncryptedPacketPayload = /* @__PURE__ */ proto3.makeMessageType(
920
+ "livekit.EncryptedPacketPayload",
921
+ () => [
922
+ { no: 1, name: "user", kind: "message", T: UserPacket, oneof: "value" },
923
+ { no: 3, name: "chat_message", kind: "message", T: ChatMessage, oneof: "value" },
924
+ { no: 4, name: "rpc_request", kind: "message", T: RpcRequest, oneof: "value" },
925
+ { no: 5, name: "rpc_ack", kind: "message", T: RpcAck, oneof: "value" },
926
+ { no: 6, name: "rpc_response", kind: "message", T: RpcResponse, oneof: "value" },
927
+ { no: 7, name: "stream_header", kind: "message", T: DataStream_Header, oneof: "value" },
928
+ { no: 8, name: "stream_chunk", kind: "message", T: DataStream_Chunk, oneof: "value" },
929
+ { no: 9, name: "stream_trailer", kind: "message", T: DataStream_Trailer, oneof: "value" }
930
+ ]
931
+ );
838
932
  const ActiveSpeakerUpdate = /* @__PURE__ */ proto3.makeMessageType(
839
933
  "livekit.ActiveSpeakerUpdate",
840
934
  () => [
@@ -2001,6 +2095,13 @@ const DataStream_Trailer = /* @__PURE__ */ proto3.makeMessageType(
2001
2095
  ],
2002
2096
  { localName: "DataStream_Trailer" }
2003
2097
  );
2098
+ const FilterParams = /* @__PURE__ */ proto3.makeMessageType(
2099
+ "livekit.FilterParams",
2100
+ () => [
2101
+ { no: 1, name: "include_events", kind: "scalar", T: 9, repeated: true },
2102
+ { no: 2, name: "exclude_events", kind: "scalar", T: 9, repeated: true }
2103
+ ]
2104
+ );
2004
2105
  const WebhookConfig = /* @__PURE__ */ proto3.makeMessageType(
2005
2106
  "livekit.WebhookConfig",
2006
2107
  () => [
@@ -2017,6 +2118,26 @@ const WebhookConfig = /* @__PURE__ */ proto3.makeMessageType(
2017
2118
  kind: "scalar",
2018
2119
  T: 9
2019
2120
  /* ScalarType.STRING */
2121
+ },
2122
+ { no: 3, name: "filter_params", kind: "message", T: FilterParams }
2123
+ ]
2124
+ );
2125
+ const SubscribedAudioCodec = /* @__PURE__ */ proto3.makeMessageType(
2126
+ "livekit.SubscribedAudioCodec",
2127
+ () => [
2128
+ {
2129
+ no: 1,
2130
+ name: "codec",
2131
+ kind: "scalar",
2132
+ T: 9
2133
+ /* ScalarType.STRING */
2134
+ },
2135
+ {
2136
+ no: 2,
2137
+ name: "enabled",
2138
+ kind: "scalar",
2139
+ T: 8
2140
+ /* ScalarType.BOOL */
2020
2141
  }
2021
2142
  ]
2022
2143
  );
@@ -2086,7 +2207,14 @@ const Job = /* @__PURE__ */ proto3.makeMessageType(
2086
2207
  T: 9
2087
2208
  /* ScalarType.STRING */
2088
2209
  },
2089
- { no: 8, name: "state", kind: "message", T: JobState }
2210
+ { no: 8, name: "state", kind: "message", T: JobState },
2211
+ {
2212
+ no: 10,
2213
+ name: "enable_recording",
2214
+ kind: "scalar",
2215
+ T: 8
2216
+ /* ScalarType.BOOL */
2217
+ }
2090
2218
  ]
2091
2219
  );
2092
2220
  const JobState = /* @__PURE__ */ proto3.makeMessageType(
@@ -2134,6 +2262,13 @@ const JobState = /* @__PURE__ */ proto3.makeMessageType(
2134
2262
  kind: "scalar",
2135
2263
  T: 9
2136
2264
  /* ScalarType.STRING */
2265
+ },
2266
+ {
2267
+ no: 8,
2268
+ name: "agent_id",
2269
+ kind: "scalar",
2270
+ T: 9
2271
+ /* ScalarType.STRING */
2137
2272
  }
2138
2273
  ]
2139
2274
  );
@@ -2534,7 +2669,8 @@ const EncodedFileType = /* @__PURE__ */ proto3.makeEnum(
2534
2669
  [
2535
2670
  { no: 0, name: "DEFAULT_FILETYPE" },
2536
2671
  { no: 1, name: "MP4" },
2537
- { no: 2, name: "OGG" }
2672
+ { no: 2, name: "OGG" },
2673
+ { no: 3, name: "MP3" }
2538
2674
  ]
2539
2675
  );
2540
2676
  const SegmentedFileProtocol = /* @__PURE__ */ proto3.makeEnum(
@@ -2955,6 +3091,20 @@ const S3Upload = /* @__PURE__ */ proto3.makeMessageType(
2955
3091
  T: 9
2956
3092
  /* ScalarType.STRING */
2957
3093
  },
3094
+ {
3095
+ no: 12,
3096
+ name: "assume_role_arn",
3097
+ kind: "scalar",
3098
+ T: 9
3099
+ /* ScalarType.STRING */
3100
+ },
3101
+ {
3102
+ no: 13,
3103
+ name: "assume_role_external_id",
3104
+ kind: "scalar",
3105
+ T: 9
3106
+ /* ScalarType.STRING */
3107
+ },
2958
3108
  {
2959
3109
  no: 3,
2960
3110
  name: "region",
@@ -4436,6 +4586,13 @@ const RoomConfiguration = /* @__PURE__ */ proto3.makeMessageType(
4436
4586
  T: 13
4437
4587
  /* ScalarType.UINT32 */
4438
4588
  },
4589
+ {
4590
+ no: 11,
4591
+ name: "metadata",
4592
+ kind: "scalar",
4593
+ T: 9
4594
+ /* ScalarType.STRING */
4595
+ },
4439
4596
  { no: 5, name: "egress", kind: "message", T: RoomEgress },
4440
4597
  {
4441
4598
  no: 7,
@@ -4521,6 +4678,58 @@ const MoveParticipantResponse = /* @__PURE__ */ proto3.makeMessageType(
4521
4678
  "livekit.MoveParticipantResponse",
4522
4679
  []
4523
4680
  );
4681
+ const PerformRpcRequest = /* @__PURE__ */ proto3.makeMessageType(
4682
+ "livekit.PerformRpcRequest",
4683
+ () => [
4684
+ {
4685
+ no: 1,
4686
+ name: "room",
4687
+ kind: "scalar",
4688
+ T: 9
4689
+ /* ScalarType.STRING */
4690
+ },
4691
+ {
4692
+ no: 2,
4693
+ name: "destination_identity",
4694
+ kind: "scalar",
4695
+ T: 9
4696
+ /* ScalarType.STRING */
4697
+ },
4698
+ {
4699
+ no: 3,
4700
+ name: "method",
4701
+ kind: "scalar",
4702
+ T: 9
4703
+ /* ScalarType.STRING */
4704
+ },
4705
+ {
4706
+ no: 4,
4707
+ name: "payload",
4708
+ kind: "scalar",
4709
+ T: 9
4710
+ /* ScalarType.STRING */
4711
+ },
4712
+ {
4713
+ no: 5,
4714
+ name: "response_timeout_ms",
4715
+ kind: "scalar",
4716
+ T: 13
4717
+ /* ScalarType.UINT32 */
4718
+ }
4719
+ ]
4720
+ );
4721
+ const PerformRpcResponse = /* @__PURE__ */ proto3.makeMessageType(
4722
+ "livekit.PerformRpcResponse",
4723
+ () => [
4724
+ {
4725
+ no: 1,
4726
+ name: "payload",
4727
+ kind: "scalar",
4728
+ T: 9
4729
+ /* ScalarType.STRING */
4730
+ }
4731
+ ]
4732
+ );
4524
4733
 
4525
4734
  const TTCaller = /* @__PURE__ */ proto3.makeMessageType(
4526
4735
  "livekit.TTCaller",
@@ -4896,7 +5105,9 @@ const SignalResponse = /* @__PURE__ */ proto3.makeMessageType(
4896
5105
  { no: 21, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
4897
5106
  { no: 22, name: "request_response", kind: "message", T: RequestResponse, oneof: "message" },
4898
5107
  { no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" },
4899
- { no: 24, name: "room_moved", kind: "message", T: RoomMovedResponse, oneof: "message" }
5108
+ { no: 24, name: "room_moved", kind: "message", T: RoomMovedResponse, oneof: "message" },
5109
+ { no: 25, name: "media_sections_requirement", kind: "message", T: MediaSectionsRequirement, oneof: "message" },
5110
+ { no: 26, name: "subscribed_audio_codec_update", kind: "message", T: SubscribedAudioCodecUpdate, oneof: "message" }
4900
5111
  ]
4901
5112
  );
4902
5113
  const SimulcastCodec = /* @__PURE__ */ proto3.makeMessageType(
@@ -4915,7 +5126,9 @@ const SimulcastCodec = /* @__PURE__ */ proto3.makeMessageType(
4915
5126
  kind: "scalar",
4916
5127
  T: 9
4917
5128
  /* ScalarType.STRING */
4918
- }
5129
+ },
5130
+ { no: 4, name: "layers", kind: "message", T: VideoLayer, repeated: true },
5131
+ { no: 5, name: "video_layer_mode", kind: "enum", T: proto3.getEnumType(VideoLayer_Mode) }
4919
5132
  ]
4920
5133
  );
4921
5134
  const AddTrackRequest = /* @__PURE__ */ proto3.makeMessageType(
@@ -5171,7 +5384,12 @@ const SessionDescription = /* @__PURE__ */ proto3.makeMessageType(
5171
5384
  kind: "scalar",
5172
5385
  T: 13
5173
5386
  /* ScalarType.UINT32 */
5174
- }
5387
+ },
5388
+ { no: 4, name: "mid_to_track_id", kind: "map", K: 9, V: {
5389
+ kind: "scalar",
5390
+ T: 9
5391
+ /* ScalarType.STRING */
5392
+ } }
5175
5393
  ]
5176
5394
  );
5177
5395
  const ParticipantUpdate = /* @__PURE__ */ proto3.makeMessageType(
@@ -5466,6 +5684,19 @@ const SubscribedQualityUpdate = /* @__PURE__ */ proto3.makeMessageType(
5466
5684
  { no: 3, name: "subscribed_codecs", kind: "message", T: SubscribedCodec, repeated: true }
5467
5685
  ]
5468
5686
  );
5687
+ const SubscribedAudioCodecUpdate = /* @__PURE__ */ proto3.makeMessageType(
5688
+ "livekit.SubscribedAudioCodecUpdate",
5689
+ () => [
5690
+ {
5691
+ no: 1,
5692
+ name: "track_sid",
5693
+ kind: "scalar",
5694
+ T: 9
5695
+ /* ScalarType.STRING */
5696
+ },
5697
+ { no: 2, name: "subscribed_audio_codecs", kind: "message", T: SubscribedAudioCodec, repeated: true }
5698
+ ]
5699
+ );
5469
5700
  const TrackPermission = /* @__PURE__ */ proto3.makeMessageType(
5470
5701
  "livekit.TrackPermission",
5471
5702
  () => [
@@ -5712,7 +5943,13 @@ const RequestResponse = /* @__PURE__ */ proto3.makeMessageType(
5712
5943
  kind: "scalar",
5713
5944
  T: 9
5714
5945
  /* ScalarType.STRING */
5715
- }
5946
+ },
5947
+ { no: 4, name: "trickle", kind: "message", T: TrickleRequest, oneof: "request" },
5948
+ { no: 5, name: "add_track", kind: "message", T: AddTrackRequest, oneof: "request" },
5949
+ { no: 6, name: "mute", kind: "message", T: MuteTrackRequest, oneof: "request" },
5950
+ { no: 7, name: "update_metadata", kind: "message", T: UpdateParticipantMetadata, oneof: "request" },
5951
+ { no: 8, name: "update_audio_track", kind: "message", T: UpdateLocalAudioTrack, oneof: "request" },
5952
+ { no: 9, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "request" }
5716
5953
  ]
5717
5954
  );
5718
5955
  const RequestResponse_Reason = /* @__PURE__ */ proto3.makeEnum(
@@ -5721,7 +5958,10 @@ const RequestResponse_Reason = /* @__PURE__ */ proto3.makeEnum(
5721
5958
  { no: 0, name: "OK" },
5722
5959
  { no: 1, name: "NOT_FOUND" },
5723
5960
  { no: 2, name: "NOT_ALLOWED" },
5724
- { no: 3, name: "LIMIT_EXCEEDED" }
5961
+ { no: 3, name: "LIMIT_EXCEEDED" },
5962
+ { no: 4, name: "QUEUED" },
5963
+ { no: 5, name: "UNSUPPORTED_TYPE" },
5964
+ { no: 6, name: "UNCLASSIFIED_ERROR" }
5725
5965
  ]
5726
5966
  );
5727
5967
  const TrackSubscribed = /* @__PURE__ */ proto3.makeMessageType(
@@ -5736,6 +5976,109 @@ const TrackSubscribed = /* @__PURE__ */ proto3.makeMessageType(
5736
5976
  }
5737
5977
  ]
5738
5978
  );
5979
+ const ConnectionSettings = /* @__PURE__ */ proto3.makeMessageType(
5980
+ "livekit.ConnectionSettings",
5981
+ () => [
5982
+ {
5983
+ no: 1,
5984
+ name: "auto_subscribe",
5985
+ kind: "scalar",
5986
+ T: 8
5987
+ /* ScalarType.BOOL */
5988
+ },
5989
+ {
5990
+ no: 2,
5991
+ name: "adaptive_stream",
5992
+ kind: "scalar",
5993
+ T: 8
5994
+ /* ScalarType.BOOL */
5995
+ },
5996
+ { no: 3, name: "subscriber_allow_pause", kind: "scalar", T: 8, opt: true },
5997
+ {
5998
+ no: 4,
5999
+ name: "disable_ice_lite",
6000
+ kind: "scalar",
6001
+ T: 8
6002
+ /* ScalarType.BOOL */
6003
+ }
6004
+ ]
6005
+ );
6006
+ const JoinRequest = /* @__PURE__ */ proto3.makeMessageType(
6007
+ "livekit.JoinRequest",
6008
+ () => [
6009
+ { no: 1, name: "client_info", kind: "message", T: ClientInfo },
6010
+ { no: 2, name: "connection_settings", kind: "message", T: ConnectionSettings },
6011
+ {
6012
+ no: 3,
6013
+ name: "metadata",
6014
+ kind: "scalar",
6015
+ T: 9
6016
+ /* ScalarType.STRING */
6017
+ },
6018
+ { no: 4, name: "participant_attributes", kind: "map", K: 9, V: {
6019
+ kind: "scalar",
6020
+ T: 9
6021
+ /* ScalarType.STRING */
6022
+ } },
6023
+ { no: 5, name: "add_track_requests", kind: "message", T: AddTrackRequest, repeated: true },
6024
+ { no: 6, name: "publisher_offer", kind: "message", T: SessionDescription },
6025
+ {
6026
+ no: 7,
6027
+ name: "reconnect",
6028
+ kind: "scalar",
6029
+ T: 8
6030
+ /* ScalarType.BOOL */
6031
+ },
6032
+ { no: 8, name: "reconnect_reason", kind: "enum", T: proto3.getEnumType(ReconnectReason) },
6033
+ {
6034
+ no: 9,
6035
+ name: "participant_sid",
6036
+ kind: "scalar",
6037
+ T: 9
6038
+ /* ScalarType.STRING */
6039
+ },
6040
+ { no: 10, name: "sync_state", kind: "message", T: SyncState }
6041
+ ]
6042
+ );
6043
+ const WrappedJoinRequest = /* @__PURE__ */ proto3.makeMessageType(
6044
+ "livekit.WrappedJoinRequest",
6045
+ () => [
6046
+ { no: 1, name: "compression", kind: "enum", T: proto3.getEnumType(WrappedJoinRequest_Compression) },
6047
+ {
6048
+ no: 2,
6049
+ name: "join_request",
6050
+ kind: "scalar",
6051
+ T: 12
6052
+ /* ScalarType.BYTES */
6053
+ }
6054
+ ]
6055
+ );
6056
+ const WrappedJoinRequest_Compression = /* @__PURE__ */ proto3.makeEnum(
6057
+ "livekit.WrappedJoinRequest.Compression",
6058
+ [
6059
+ { no: 0, name: "NONE" },
6060
+ { no: 1, name: "GZIP" }
6061
+ ]
6062
+ );
6063
+ const MediaSectionsRequirement = /* @__PURE__ */ proto3.makeMessageType(
6064
+ "livekit.MediaSectionsRequirement",
6065
+ () => [
6066
+ {
6067
+ no: 1,
6068
+ name: "num_audios",
6069
+ kind: "scalar",
6070
+ T: 13
6071
+ /* ScalarType.UINT32 */
6072
+ },
6073
+ {
6074
+ no: 2,
6075
+ name: "num_videos",
6076
+ kind: "scalar",
6077
+ T: 13
6078
+ /* ScalarType.UINT32 */
6079
+ }
6080
+ ]
6081
+ );
5739
6082
 
5740
6083
  const SIPStatusCode = /* @__PURE__ */ proto3.makeEnum(
5741
6084
  "livekit.SIPStatusCode",
@@ -5816,6 +6159,14 @@ const SIPMediaEncryption = /* @__PURE__ */ proto3.makeEnum(
5816
6159
  { no: 2, name: "SIP_MEDIA_ENCRYPT_REQUIRE" }
5817
6160
  ]
5818
6161
  );
6162
+ const ProviderType = /* @__PURE__ */ proto3.makeEnum(
6163
+ "livekit.ProviderType",
6164
+ [
6165
+ { no: 0, name: "PROVIDER_TYPE_UNKNOWN", localName: "UNKNOWN" },
6166
+ { no: 1, name: "PROVIDER_TYPE_INTERNAL", localName: "INTERNAL" },
6167
+ { no: 2, name: "PROVIDER_TYPE_EXTERNAL", localName: "EXTERNAL" }
6168
+ ]
6169
+ );
5819
6170
  const SIPCallStatus = /* @__PURE__ */ proto3.makeEnum(
5820
6171
  "livekit.SIPCallStatus",
5821
6172
  [
@@ -5926,6 +6277,26 @@ const CreateSIPTrunkRequest = /* @__PURE__ */ proto3.makeMessageType(
5926
6277
  }
5927
6278
  ]
5928
6279
  );
6280
+ const ProviderInfo = /* @__PURE__ */ proto3.makeMessageType(
6281
+ "livekit.ProviderInfo",
6282
+ () => [
6283
+ {
6284
+ no: 1,
6285
+ name: "id",
6286
+ kind: "scalar",
6287
+ T: 9
6288
+ /* ScalarType.STRING */
6289
+ },
6290
+ {
6291
+ no: 2,
6292
+ name: "name",
6293
+ kind: "scalar",
6294
+ T: 9
6295
+ /* ScalarType.STRING */
6296
+ },
6297
+ { no: 3, name: "type", kind: "enum", T: proto3.getEnumType(ProviderType) }
6298
+ ]
6299
+ );
5929
6300
  const SIPTrunkInfo = /* @__PURE__ */ proto3.makeMessageType(
5930
6301
  "livekit.SIPTrunkInfo",
5931
6302
  () => [
@@ -6683,7 +7054,8 @@ const CreateSIPParticipantRequest = /* @__PURE__ */ proto3.makeMessageType(
6683
7054
  kind: "scalar",
6684
7055
  T: 8
6685
7056
  /* ScalarType.BOOL */
6686
- }
7057
+ },
7058
+ { no: 21, name: "display_name", kind: "scalar", T: 9, opt: true }
6687
7059
  ]
6688
7060
  );
6689
7061
  const SIPParticipantInfo = /* @__PURE__ */ proto3.makeMessageType(
@@ -6884,7 +7256,16 @@ const SIPCallInfo = /* @__PURE__ */ proto3.makeMessageType(
6884
7256
  kind: "scalar",
6885
7257
  T: 9
6886
7258
  /* ScalarType.STRING */
6887
- }
7259
+ },
7260
+ {
7261
+ no: 25,
7262
+ name: "pcap_file_link",
7263
+ kind: "scalar",
7264
+ T: 9
7265
+ /* ScalarType.STRING */
7266
+ },
7267
+ { no: 26, name: "call_context", kind: "message", T: Any, repeated: true },
7268
+ { no: 27, name: "provider_info", kind: "message", T: ProviderInfo }
6888
7269
  ]
6889
7270
  );
6890
7271
  const SIPTransferInfo = /* @__PURE__ */ proto3.makeMessageType(
@@ -6971,6 +7352,41 @@ const SIPUri = /* @__PURE__ */ proto3.makeMessageType(
6971
7352
  ]
6972
7353
  );
6973
7354
 
7355
+ const TokenSourceRequest = /* @__PURE__ */ proto3.makeMessageType(
7356
+ "livekit.TokenSourceRequest",
7357
+ () => [
7358
+ { no: 1, name: "room_name", kind: "scalar", T: 9, opt: true },
7359
+ { no: 2, name: "participant_name", kind: "scalar", T: 9, opt: true },
7360
+ { no: 3, name: "participant_identity", kind: "scalar", T: 9, opt: true },
7361
+ { no: 4, name: "participant_metadata", kind: "scalar", T: 9, opt: true },
7362
+ { no: 5, name: "participant_attributes", kind: "map", K: 9, V: {
7363
+ kind: "scalar",
7364
+ T: 9
7365
+ /* ScalarType.STRING */
7366
+ } },
7367
+ { no: 6, name: "room_config", kind: "message", T: RoomConfiguration, opt: true }
7368
+ ]
7369
+ );
7370
+ const TokenSourceResponse = /* @__PURE__ */ proto3.makeMessageType(
7371
+ "livekit.TokenSourceResponse",
7372
+ () => [
7373
+ {
7374
+ no: 1,
7375
+ name: "server_url",
7376
+ kind: "scalar",
7377
+ T: 9
7378
+ /* ScalarType.STRING */
7379
+ },
7380
+ {
7381
+ no: 2,
7382
+ name: "participant_token",
7383
+ kind: "scalar",
7384
+ T: 9
7385
+ /* ScalarType.STRING */
7386
+ }
7387
+ ]
7388
+ );
7389
+
6974
7390
  const WebhookEvent = /* @__PURE__ */ proto3.makeMessageType(
6975
7391
  "livekit.WebhookEvent",
6976
7392
  () => [
@@ -7010,7 +7426,7 @@ const WebhookEvent = /* @__PURE__ */ proto3.makeMessageType(
7010
7426
  ]
7011
7427
  );
7012
7428
 
7013
- const version = "1.39.5";
7429
+ const version = "1.42.2";
7014
7430
 
7015
- export { ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, AliOSSUpload, AudioCodec, AudioMixing, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataChannelReceiveState, DataPacket, DataPacket_Kind, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, DirectFileOutput, DisabledCodecs, DisconnectReason, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, Encryption, Encryption_Type, EventMetric, FileInfo, ForwardParticipantRequest, ForwardParticipantResponse, GCPUpload, GetSIPInboundTrunkRequest, GetSIPInboundTrunkResponse, GetSIPOutboundTrunkRequest, GetSIPOutboundTrunkResponse, ICEServer, ImageCodec, ImageFileSuffix, ImageOutput, ImagesInfo, IngressAudioEncodingOptions, IngressAudioEncodingPreset, IngressAudioOptions, IngressInfo, IngressInput, IngressState, IngressState_Status, IngressVideoEncodingOptions, IngressVideoEncodingPreset, IngressVideoOptions, InputAudioState, InputVideoState, Job, JobAssignment, JobState, JobStatus, JobTermination, JobType, JoinResponse, LeaveRequest, LeaveRequest_Action, ListAgentDispatchRequest, ListAgentDispatchResponse, ListEgressRequest, ListEgressResponse, ListIngressRequest, ListIngressResponse, ListParticipantsRequest, ListParticipantsResponse, ListRoomsRequest, ListRoomsResponse, ListSIPDispatchRuleRequest, ListSIPDispatchRuleResponse, ListSIPInboundTrunkRequest, ListSIPInboundTrunkResponse, ListSIPOutboundTrunkRequest, ListSIPOutboundTrunkResponse, ListSIPTrunkRequest, ListSIPTrunkResponse, ListUpdate, MetricLabel, MetricSample, MetricsBatch, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, Ping, PlayoutDelay, Pong, ProxyConfig, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomMovedResponse, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPDispatchRuleUpdate, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPInboundTrunkUpdate, SIPMediaEncryption, SIPOutboundConfig, SIPOutboundTrunkInfo, SIPOutboundTrunkUpdate, SIPParticipantInfo, SIPStatus, SIPStatusCode, SIPTransferInfo, SIPTransferStatus, SIPTransport, SIPTrunkInfo, SIPTrunkInfo_TrunkKind, SIPUri, SegmentedFileOutput, SegmentedFileProtocol, SegmentedFileSuffix, SegmentsInfo, SendDataRequest, SendDataResponse, ServerInfo, ServerInfo_Edition, ServerMessage, SessionDescription, SignalRequest, SignalResponse, SignalTarget, SimulateJobRequest, SimulateScenario, SimulcastCodec, SimulcastCodecInfo, SipDTMF, SpeakerInfo, SpeakersChanged, StopEgressRequest, StreamInfo, StreamInfoList, StreamInfo_Status, StreamOutput, StreamProtocol, StreamState, StreamStateInfo, StreamStateUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TTBaseResponse, TTCallRequest, TTCallResponse, TTCallResponseBody, TTCaller, TTCipherMessages, TTEncInfo, TTExceptionRecipient, TTNotification, TTNotification_TTArgs, TTStartCall, TimeSeriesMetric, TimedVersion, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, UpdateIngressRequest, UpdateJobStatus, UpdateLayoutRequest, UpdateLocalAudioTrack, UpdateLocalVideoTrack, UpdateParticipantMetadata, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateSIPDispatchRuleRequest, UpdateSIPInboundTrunkRequest, UpdateSIPOutboundTrunkRequest, UpdateStreamRequest, UpdateSubscription, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse, UpdateTrackSettings, UpdateVideoLayers, UpdateWorkerStatus, UserPacket, VP8MungerState, VideoCodec, VideoConfiguration, VideoLayer, VideoQuality, WebEgressRequest, WebhookConfig, WebhookEvent, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, version };
7431
+ export { ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, AliOSSUpload, AudioCodec, AudioMixing, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, ConnectionSettings, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataChannelReceiveState, DataPacket, DataPacket_Kind, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, DirectFileOutput, DisabledCodecs, DisconnectReason, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, EncryptedPacket, EncryptedPacketPayload, Encryption, Encryption_Type, EventMetric, FileInfo, FilterParams, ForwardParticipantRequest, ForwardParticipantResponse, GCPUpload, GetSIPInboundTrunkRequest, GetSIPInboundTrunkResponse, GetSIPOutboundTrunkRequest, GetSIPOutboundTrunkResponse, ICEServer, ImageCodec, ImageFileSuffix, ImageOutput, ImagesInfo, IngressAudioEncodingOptions, IngressAudioEncodingPreset, IngressAudioOptions, IngressInfo, IngressInput, IngressState, IngressState_Status, IngressVideoEncodingOptions, IngressVideoEncodingPreset, IngressVideoOptions, InputAudioState, InputVideoState, Job, JobAssignment, JobState, JobStatus, JobTermination, JobType, JoinRequest, JoinResponse, LeaveRequest, LeaveRequest_Action, ListAgentDispatchRequest, ListAgentDispatchResponse, ListEgressRequest, ListEgressResponse, ListIngressRequest, ListIngressResponse, ListParticipantsRequest, ListParticipantsResponse, ListRoomsRequest, ListRoomsResponse, ListSIPDispatchRuleRequest, ListSIPDispatchRuleResponse, ListSIPInboundTrunkRequest, ListSIPInboundTrunkResponse, ListSIPOutboundTrunkRequest, ListSIPOutboundTrunkResponse, ListSIPTrunkRequest, ListSIPTrunkResponse, ListUpdate, MediaSectionsRequirement, MetricLabel, MetricSample, MetricsBatch, MetricsRecordingHeader, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, PerformRpcRequest, PerformRpcResponse, Ping, PlayoutDelay, Pong, ProviderInfo, ProviderType, ProxyConfig, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomMovedResponse, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPDispatchRuleUpdate, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPInboundTrunkUpdate, SIPMediaEncryption, SIPOutboundConfig, SIPOutboundTrunkInfo, SIPOutboundTrunkUpdate, SIPParticipantInfo, SIPStatus, SIPStatusCode, SIPTransferInfo, SIPTransferStatus, SIPTransport, SIPTrunkInfo, SIPTrunkInfo_TrunkKind, SIPUri, SegmentedFileOutput, SegmentedFileProtocol, SegmentedFileSuffix, SegmentsInfo, SendDataRequest, SendDataResponse, ServerInfo, ServerInfo_Edition, ServerMessage, SessionDescription, SignalRequest, SignalResponse, SignalTarget, SimulateJobRequest, SimulateScenario, SimulcastCodec, SimulcastCodecInfo, SipDTMF, SpeakerInfo, SpeakersChanged, StopEgressRequest, StreamInfo, StreamInfoList, StreamInfo_Status, StreamOutput, StreamProtocol, StreamState, StreamStateInfo, StreamStateUpdate, SubscribedAudioCodec, SubscribedAudioCodecUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TTBaseResponse, TTCallRequest, TTCallResponse, TTCallResponseBody, TTCaller, TTCipherMessages, TTEncInfo, TTExceptionRecipient, TTNotification, TTNotification_TTArgs, TTStartCall, TimeSeriesMetric, TimedVersion, TokenPagination, TokenSourceRequest, TokenSourceResponse, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, UpdateIngressRequest, UpdateJobStatus, UpdateLayoutRequest, UpdateLocalAudioTrack, UpdateLocalVideoTrack, UpdateParticipantMetadata, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateSIPDispatchRuleRequest, UpdateSIPInboundTrunkRequest, UpdateSIPOutboundTrunkRequest, UpdateStreamRequest, UpdateSubscription, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse, UpdateTrackSettings, UpdateVideoLayers, UpdateWorkerStatus, UserPacket, VP8MungerState, VideoCodec, VideoConfiguration, VideoLayer, VideoLayer_Mode, VideoQuality, WebEgressRequest, WebhookConfig, WebhookEvent, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, WrappedJoinRequest, WrappedJoinRequest_Compression, version };
7016
7432
  //# sourceMappingURL=index.mjs.map