@livekit/protocol 1.41.0 → 1.42.1

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 (37) hide show
  1. package/dist/index.cjs +234 -12
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.cts +522 -12
  4. package/dist/index.d.mts +522 -12
  5. package/dist/index.d.ts +522 -12
  6. package/dist/index.mjs +225 -14
  7. package/dist/index.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/src/gen/livekit_agent_pb.d.ts +5 -0
  10. package/src/gen/livekit_agent_pb.js +1 -0
  11. package/src/gen/livekit_analytics_pb.d.ts +5 -0
  12. package/src/gen/livekit_analytics_pb.js +1 -0
  13. package/src/gen/livekit_cloud_agent_pb.d.ts +89 -0
  14. package/src/gen/livekit_cloud_agent_pb.js +31 -0
  15. package/src/gen/livekit_connector_whatsapp_pb.d.ts +434 -0
  16. package/src/gen/livekit_connector_whatsapp_pb.js +144 -0
  17. package/src/gen/livekit_egress_pb.d.ts +5 -0
  18. package/src/gen/livekit_egress_pb.js +1 -0
  19. package/src/gen/livekit_internal_pb.d.ts +5 -0
  20. package/src/gen/livekit_internal_pb.js +1 -0
  21. package/src/gen/livekit_metrics_pb.d.ts +30 -1
  22. package/src/gen/livekit_metrics_pb.js +11 -0
  23. package/src/gen/livekit_models_pb.d.ts +87 -7
  24. package/src/gen/livekit_models_pb.js +27 -1
  25. package/src/gen/livekit_phone_number_pb.d.ts +283 -226
  26. package/src/gen/livekit_phone_number_pb.js +104 -80
  27. package/src/gen/livekit_room_pb.d.ts +68 -0
  28. package/src/gen/livekit_room_pb.js +24 -0
  29. package/src/gen/livekit_rtc_pb.d.ts +131 -1
  30. package/src/gen/livekit_rtc_pb.js +34 -1
  31. package/src/gen/livekit_sip_pb.d.ts +88 -3
  32. package/src/gen/livekit_sip_pb.js +29 -1
  33. package/src/gen/livekit_token_source_pb.d.ts +115 -0
  34. package/src/gen/livekit_token_source_pb.js +48 -0
  35. package/src/gen/version.js +1 -1
  36. package/src/index.d.ts +1 -0
  37. package/src/index.js +1 -0
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { Message, Timestamp, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage, Duration } from '@bufbuild/protobuf';
1
+ import { Message, Timestamp, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage, Duration, Any } from '@bufbuild/protobuf';
2
2
  export { protoInt64 } from '@bufbuild/protobuf';
3
3
 
4
4
  // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
@@ -181,7 +181,7 @@ declare class MetricsBatch extends Message<MetricsBatch> {
181
181
  * This is useful for storing participant identities, track names, etc.
182
182
  * There is also a predefined list of labels that can be used to reference common metrics.
183
183
  * They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1).
184
- * Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE,
184
+ * Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE,
185
185
  * such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE.
186
186
  *
187
187
  * @generated from field: repeated string str_data = 3;
@@ -376,6 +376,35 @@ declare class EventMetric extends Message<EventMetric> {
376
376
  static equals(a: EventMetric | PlainMessage<EventMetric> | undefined, b: EventMetric | PlainMessage<EventMetric> | undefined): boolean;
377
377
  }
378
378
 
379
+ /**
380
+ * @generated from message livekit.MetricsRecordingHeader
381
+ */
382
+ declare class MetricsRecordingHeader extends Message<MetricsRecordingHeader> {
383
+ /**
384
+ * @generated from field: string room_id = 1;
385
+ */
386
+ roomId: string;
387
+
388
+ /**
389
+ * @generated from field: optional bool enable_user_data_training = 2;
390
+ */
391
+ enableUserDataTraining?: boolean;
392
+
393
+ constructor(data?: PartialMessage<MetricsRecordingHeader>);
394
+
395
+ static readonly runtime: typeof proto3;
396
+ static readonly typeName = "livekit.MetricsRecordingHeader";
397
+ static readonly fields: FieldList;
398
+
399
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MetricsRecordingHeader;
400
+
401
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MetricsRecordingHeader;
402
+
403
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MetricsRecordingHeader;
404
+
405
+ static equals(a: MetricsRecordingHeader | PlainMessage<MetricsRecordingHeader> | undefined, b: MetricsRecordingHeader | PlainMessage<MetricsRecordingHeader> | undefined): boolean;
406
+ }
407
+
379
408
  // Copyright 2023 LiveKit, Inc.
380
409
  //
381
410
  // Licensed under the Apache License, Version 2.0 (the "License");
@@ -410,6 +439,11 @@ declare enum AudioCodec {
410
439
  * @generated from enum value: AAC = 2;
411
440
  */
412
441
  AAC = 2,
442
+
443
+ /**
444
+ * @generated from enum value: AC_MP3 = 3;
445
+ */
446
+ AC_MP3 = 3,
413
447
  }
414
448
 
415
449
  /**
@@ -891,9 +925,9 @@ declare class ListUpdate extends Message<ListUpdate> {
891
925
  /**
892
926
  * delete items from a list
893
927
  *
894
- * @generated from field: repeated string del = 3;
928
+ * @generated from field: repeated string remove = 3;
895
929
  */
896
- del: string[];
930
+ remove: string[];
897
931
 
898
932
  /**
899
933
  * sets the list to an empty list
@@ -1332,6 +1366,15 @@ declare enum ParticipantInfo_Kind {
1332
1366
  * @generated from enum value: AGENT = 4;
1333
1367
  */
1334
1368
  AGENT = 4,
1369
+
1370
+ /**
1371
+ * Connectors participants
1372
+ *
1373
+ * NEXT_ID: 8
1374
+ *
1375
+ * @generated from enum value: CONNECTOR = 7;
1376
+ */
1377
+ CONNECTOR = 7,
1335
1378
  }
1336
1379
 
1337
1380
  /**
@@ -1470,16 +1513,14 @@ declare class TrackInfo extends Message<TrackInfo> {
1470
1513
  * original width of video (unset for audio)
1471
1514
  * clients may receive a lower resolution version with simulcast
1472
1515
  *
1473
- * @generated from field: uint32 width = 5 [deprecated = true];
1474
- * @deprecated
1516
+ * @generated from field: uint32 width = 5;
1475
1517
  */
1476
1518
  width: number;
1477
1519
 
1478
1520
  /**
1479
1521
  * original height of video (unset for audio)
1480
1522
  *
1481
- * @generated from field: uint32 height = 6 [deprecated = true];
1482
- * @deprecated
1523
+ * @generated from field: uint32 height = 6;
1483
1524
  */
1484
1525
  height: number;
1485
1526
 
@@ -1668,6 +1709,11 @@ declare enum VideoLayer_Mode {
1668
1709
  * @generated from enum value: MULTIPLE_SPATIAL_LAYERS_PER_STREAM = 2;
1669
1710
  */
1670
1711
  MULTIPLE_SPATIAL_LAYERS_PER_STREAM = 2,
1712
+
1713
+ /**
1714
+ * @generated from enum value: ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR = 3;
1715
+ */
1716
+ ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR = 3,
1671
1717
  }
1672
1718
 
1673
1719
  /**
@@ -1844,7 +1890,7 @@ declare class EncryptedPacket extends Message<EncryptedPacket> {
1844
1890
  keyIndex: number;
1845
1891
 
1846
1892
  /**
1847
- * This is an encrypted EncryptedPacketPayload message representation
1893
+ * This is an encrypted EncryptedPacketPayload message representation
1848
1894
  *
1849
1895
  * @generated from field: bytes encrypted_value = 4;
1850
1896
  */
@@ -3639,6 +3685,35 @@ declare class DataStream_Trailer extends Message<DataStream_Trailer> {
3639
3685
  static equals(a: DataStream_Trailer | PlainMessage<DataStream_Trailer> | undefined, b: DataStream_Trailer | PlainMessage<DataStream_Trailer> | undefined): boolean;
3640
3686
  }
3641
3687
 
3688
+ /**
3689
+ * @generated from message livekit.FilterParams
3690
+ */
3691
+ declare class FilterParams extends Message<FilterParams> {
3692
+ /**
3693
+ * @generated from field: repeated string include_events = 1;
3694
+ */
3695
+ includeEvents: string[];
3696
+
3697
+ /**
3698
+ * @generated from field: repeated string exclude_events = 2;
3699
+ */
3700
+ excludeEvents: string[];
3701
+
3702
+ constructor(data?: PartialMessage<FilterParams>);
3703
+
3704
+ static readonly runtime: typeof proto3;
3705
+ static readonly typeName = "livekit.FilterParams";
3706
+ static readonly fields: FieldList;
3707
+
3708
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FilterParams;
3709
+
3710
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FilterParams;
3711
+
3712
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FilterParams;
3713
+
3714
+ static equals(a: FilterParams | PlainMessage<FilterParams> | undefined, b: FilterParams | PlainMessage<FilterParams> | undefined): boolean;
3715
+ }
3716
+
3642
3717
  /**
3643
3718
  * @generated from message livekit.WebhookConfig
3644
3719
  */
@@ -3653,6 +3728,11 @@ declare class WebhookConfig extends Message<WebhookConfig> {
3653
3728
  */
3654
3729
  signingKey: string;
3655
3730
 
3731
+ /**
3732
+ * @generated from field: livekit.FilterParams filter_params = 3;
3733
+ */
3734
+ filterParams?: FilterParams;
3735
+
3656
3736
  constructor(data?: PartialMessage<WebhookConfig>);
3657
3737
 
3658
3738
  static readonly runtime: typeof proto3;
@@ -3668,6 +3748,35 @@ declare class WebhookConfig extends Message<WebhookConfig> {
3668
3748
  static equals(a: WebhookConfig | PlainMessage<WebhookConfig> | undefined, b: WebhookConfig | PlainMessage<WebhookConfig> | undefined): boolean;
3669
3749
  }
3670
3750
 
3751
+ /**
3752
+ * @generated from message livekit.SubscribedAudioCodec
3753
+ */
3754
+ declare class SubscribedAudioCodec extends Message<SubscribedAudioCodec> {
3755
+ /**
3756
+ * @generated from field: string codec = 1;
3757
+ */
3758
+ codec: string;
3759
+
3760
+ /**
3761
+ * @generated from field: bool enabled = 2;
3762
+ */
3763
+ enabled: boolean;
3764
+
3765
+ constructor(data?: PartialMessage<SubscribedAudioCodec>);
3766
+
3767
+ static readonly runtime: typeof proto3;
3768
+ static readonly typeName = "livekit.SubscribedAudioCodec";
3769
+ static readonly fields: FieldList;
3770
+
3771
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubscribedAudioCodec;
3772
+
3773
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubscribedAudioCodec;
3774
+
3775
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubscribedAudioCodec;
3776
+
3777
+ static equals(a: SubscribedAudioCodec | PlainMessage<SubscribedAudioCodec> | undefined, b: SubscribedAudioCodec | PlainMessage<SubscribedAudioCodec> | undefined): boolean;
3778
+ }
3779
+
3671
3780
  // Copyright 2023 LiveKit, Inc.
3672
3781
  //
3673
3782
  // Licensed under the Apache License, Version 2.0 (the "License");
@@ -3794,6 +3903,11 @@ declare class Job extends Message<Job> {
3794
3903
  */
3795
3904
  state?: JobState;
3796
3905
 
3906
+ /**
3907
+ * @generated from field: bool enable_recording = 10;
3908
+ */
3909
+ enableRecording: boolean;
3910
+
3797
3911
  constructor(data?: PartialMessage<Job>);
3798
3912
 
3799
3913
  static readonly runtime: typeof proto3;
@@ -4706,6 +4820,11 @@ declare enum EncodedFileType {
4706
4820
  * @generated from enum value: OGG = 2;
4707
4821
  */
4708
4822
  OGG = 2,
4823
+
4824
+ /**
4825
+ * @generated from enum value: MP3 = 3;
4826
+ */
4827
+ MP3 = 3,
4709
4828
  }
4710
4829
 
4711
4830
  /**
@@ -8582,6 +8701,74 @@ declare class MoveParticipantResponse extends Message<MoveParticipantResponse> {
8582
8701
  static equals(a: MoveParticipantResponse | PlainMessage<MoveParticipantResponse> | undefined, b: MoveParticipantResponse | PlainMessage<MoveParticipantResponse> | undefined): boolean;
8583
8702
  }
8584
8703
 
8704
+ /**
8705
+ * @generated from message livekit.PerformRpcRequest
8706
+ */
8707
+ declare class PerformRpcRequest extends Message<PerformRpcRequest> {
8708
+ /**
8709
+ * @generated from field: string room = 1;
8710
+ */
8711
+ room: string;
8712
+
8713
+ /**
8714
+ * @generated from field: string destination_identity = 2;
8715
+ */
8716
+ destinationIdentity: string;
8717
+
8718
+ /**
8719
+ * @generated from field: string method = 3;
8720
+ */
8721
+ method: string;
8722
+
8723
+ /**
8724
+ * @generated from field: string payload = 4;
8725
+ */
8726
+ payload: string;
8727
+
8728
+ /**
8729
+ * @generated from field: uint32 response_timeout_ms = 5;
8730
+ */
8731
+ responseTimeoutMs: number;
8732
+
8733
+ constructor(data?: PartialMessage<PerformRpcRequest>);
8734
+
8735
+ static readonly runtime: typeof proto3;
8736
+ static readonly typeName = "livekit.PerformRpcRequest";
8737
+ static readonly fields: FieldList;
8738
+
8739
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PerformRpcRequest;
8740
+
8741
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PerformRpcRequest;
8742
+
8743
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PerformRpcRequest;
8744
+
8745
+ static equals(a: PerformRpcRequest | PlainMessage<PerformRpcRequest> | undefined, b: PerformRpcRequest | PlainMessage<PerformRpcRequest> | undefined): boolean;
8746
+ }
8747
+
8748
+ /**
8749
+ * @generated from message livekit.PerformRpcResponse
8750
+ */
8751
+ declare class PerformRpcResponse extends Message<PerformRpcResponse> {
8752
+ /**
8753
+ * @generated from field: string payload = 1;
8754
+ */
8755
+ payload: string;
8756
+
8757
+ constructor(data?: PartialMessage<PerformRpcResponse>);
8758
+
8759
+ static readonly runtime: typeof proto3;
8760
+ static readonly typeName = "livekit.PerformRpcResponse";
8761
+ static readonly fields: FieldList;
8762
+
8763
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PerformRpcResponse;
8764
+
8765
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PerformRpcResponse;
8766
+
8767
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PerformRpcResponse;
8768
+
8769
+ static equals(a: PerformRpcResponse | PlainMessage<PerformRpcResponse> | undefined, b: PerformRpcResponse | PlainMessage<PerformRpcResponse> | undefined): boolean;
8770
+ }
8771
+
8585
8772
  // Copyright 2023 LiveKit, Inc.
8586
8773
  //
8587
8774
  // Licensed under the Apache License, Version 2.0 (the "License");
@@ -9008,6 +9195,22 @@ declare class SignalResponse extends Message<SignalResponse> {
9008
9195
  */
9009
9196
  value: MediaSectionsRequirement;
9010
9197
  case: "mediaSectionsRequirement";
9198
+ } | {
9199
+ /**
9200
+ * when audio subscription changes, used to enable simulcasting of audio codecs based on subscriptions
9201
+ *
9202
+ * @generated from field: livekit.SubscribedAudioCodecUpdate subscribed_audio_codec_update = 26;
9203
+ */
9204
+ value: SubscribedAudioCodecUpdate;
9205
+ case: "subscribedAudioCodecUpdate";
9206
+ } | {
9207
+ /**
9208
+ * sent when server answers publisher, includes the mid -> trackID mapping
9209
+ *
9210
+ * @generated from field: livekit.MappedSessionDescription mapped_answer = 27;
9211
+ */
9212
+ value: MappedSessionDescription;
9213
+ case: "mappedAnswer";
9011
9214
  } | { case: undefined; value?: undefined };
9012
9215
 
9013
9216
  constructor(data?: PartialMessage<SignalResponse>);
@@ -9487,6 +9690,35 @@ declare class SessionDescription extends Message<SessionDescription> {
9487
9690
  static equals(a: SessionDescription | PlainMessage<SessionDescription> | undefined, b: SessionDescription | PlainMessage<SessionDescription> | undefined): boolean;
9488
9691
  }
9489
9692
 
9693
+ /**
9694
+ * @generated from message livekit.MappedSessionDescription
9695
+ */
9696
+ declare class MappedSessionDescription extends Message<MappedSessionDescription> {
9697
+ /**
9698
+ * @generated from field: livekit.SessionDescription session_description = 1;
9699
+ */
9700
+ sessionDescription?: SessionDescription;
9701
+
9702
+ /**
9703
+ * @generated from field: map<string, string> mid_to_track_id = 2;
9704
+ */
9705
+ midToTrackId: { [key: string]: string };
9706
+
9707
+ constructor(data?: PartialMessage<MappedSessionDescription>);
9708
+
9709
+ static readonly runtime: typeof proto3;
9710
+ static readonly typeName = "livekit.MappedSessionDescription";
9711
+ static readonly fields: FieldList;
9712
+
9713
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MappedSessionDescription;
9714
+
9715
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MappedSessionDescription;
9716
+
9717
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MappedSessionDescription;
9718
+
9719
+ static equals(a: MappedSessionDescription | PlainMessage<MappedSessionDescription> | undefined, b: MappedSessionDescription | PlainMessage<MappedSessionDescription> | undefined): boolean;
9720
+ }
9721
+
9490
9722
  /**
9491
9723
  * @generated from message livekit.ParticipantUpdate
9492
9724
  */
@@ -10114,6 +10346,35 @@ declare class SubscribedQualityUpdate extends Message<SubscribedQualityUpdate> {
10114
10346
  static equals(a: SubscribedQualityUpdate | PlainMessage<SubscribedQualityUpdate> | undefined, b: SubscribedQualityUpdate | PlainMessage<SubscribedQualityUpdate> | undefined): boolean;
10115
10347
  }
10116
10348
 
10349
+ /**
10350
+ * @generated from message livekit.SubscribedAudioCodecUpdate
10351
+ */
10352
+ declare class SubscribedAudioCodecUpdate extends Message<SubscribedAudioCodecUpdate> {
10353
+ /**
10354
+ * @generated from field: string track_sid = 1;
10355
+ */
10356
+ trackSid: string;
10357
+
10358
+ /**
10359
+ * @generated from field: repeated livekit.SubscribedAudioCodec subscribed_audio_codecs = 2;
10360
+ */
10361
+ subscribedAudioCodecs: SubscribedAudioCodec[];
10362
+
10363
+ constructor(data?: PartialMessage<SubscribedAudioCodecUpdate>);
10364
+
10365
+ static readonly runtime: typeof proto3;
10366
+ static readonly typeName = "livekit.SubscribedAudioCodecUpdate";
10367
+ static readonly fields: FieldList;
10368
+
10369
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubscribedAudioCodecUpdate;
10370
+
10371
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubscribedAudioCodecUpdate;
10372
+
10373
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubscribedAudioCodecUpdate;
10374
+
10375
+ static equals(a: SubscribedAudioCodecUpdate | PlainMessage<SubscribedAudioCodecUpdate> | undefined, b: SubscribedAudioCodecUpdate | PlainMessage<SubscribedAudioCodecUpdate> | undefined): boolean;
10376
+ }
10377
+
10117
10378
  /**
10118
10379
  * @generated from message livekit.TrackPermission
10119
10380
  */
@@ -10651,6 +10912,47 @@ declare class RequestResponse extends Message<RequestResponse> {
10651
10912
  */
10652
10913
  message: string;
10653
10914
 
10915
+ /**
10916
+ * @generated from oneof livekit.RequestResponse.request
10917
+ */
10918
+ request: {
10919
+ /**
10920
+ * @generated from field: livekit.TrickleRequest trickle = 4;
10921
+ */
10922
+ value: TrickleRequest;
10923
+ case: "trickle";
10924
+ } | {
10925
+ /**
10926
+ * @generated from field: livekit.AddTrackRequest add_track = 5;
10927
+ */
10928
+ value: AddTrackRequest;
10929
+ case: "addTrack";
10930
+ } | {
10931
+ /**
10932
+ * @generated from field: livekit.MuteTrackRequest mute = 6;
10933
+ */
10934
+ value: MuteTrackRequest;
10935
+ case: "mute";
10936
+ } | {
10937
+ /**
10938
+ * @generated from field: livekit.UpdateParticipantMetadata update_metadata = 7;
10939
+ */
10940
+ value: UpdateParticipantMetadata;
10941
+ case: "updateMetadata";
10942
+ } | {
10943
+ /**
10944
+ * @generated from field: livekit.UpdateLocalAudioTrack update_audio_track = 8;
10945
+ */
10946
+ value: UpdateLocalAudioTrack;
10947
+ case: "updateAudioTrack";
10948
+ } | {
10949
+ /**
10950
+ * @generated from field: livekit.UpdateLocalVideoTrack update_video_track = 9;
10951
+ */
10952
+ value: UpdateLocalVideoTrack;
10953
+ case: "updateVideoTrack";
10954
+ } | { case: undefined; value?: undefined };
10955
+
10654
10956
  constructor(data?: PartialMessage<RequestResponse>);
10655
10957
 
10656
10958
  static readonly runtime: typeof proto3;
@@ -10689,6 +10991,21 @@ declare enum RequestResponse_Reason {
10689
10991
  * @generated from enum value: LIMIT_EXCEEDED = 3;
10690
10992
  */
10691
10993
  LIMIT_EXCEEDED = 3,
10994
+
10995
+ /**
10996
+ * @generated from enum value: QUEUED = 4;
10997
+ */
10998
+ QUEUED = 4,
10999
+
11000
+ /**
11001
+ * @generated from enum value: UNSUPPORTED_TYPE = 5;
11002
+ */
11003
+ UNSUPPORTED_TYPE = 5,
11004
+
11005
+ /**
11006
+ * @generated from enum value: UNCLASSIFIED_ERROR = 6;
11007
+ */
11008
+ UNCLASSIFIED_ERROR = 6,
10692
11009
  }
10693
11010
 
10694
11011
  /**
@@ -11247,6 +11564,30 @@ declare enum SIPMediaEncryption {
11247
11564
  SIP_MEDIA_ENCRYPT_REQUIRE = 2,
11248
11565
  }
11249
11566
 
11567
+ /**
11568
+ * @generated from enum livekit.ProviderType
11569
+ */
11570
+ declare enum ProviderType {
11571
+ /**
11572
+ * @generated from enum value: PROVIDER_TYPE_UNKNOWN = 0;
11573
+ */
11574
+ UNKNOWN = 0,
11575
+
11576
+ /**
11577
+ * Internally implemented
11578
+ *
11579
+ * @generated from enum value: PROVIDER_TYPE_INTERNAL = 1;
11580
+ */
11581
+ INTERNAL = 1,
11582
+
11583
+ /**
11584
+ * Vendor provided
11585
+ *
11586
+ * @generated from enum value: PROVIDER_TYPE_EXTERNAL = 2;
11587
+ */
11588
+ EXTERNAL = 2,
11589
+ }
11590
+
11250
11591
  /**
11251
11592
  * @generated from enum livekit.SIPCallStatus
11252
11593
  */
@@ -11467,6 +11808,40 @@ declare class CreateSIPTrunkRequest extends Message<CreateSIPTrunkRequest> {
11467
11808
  static equals(a: CreateSIPTrunkRequest | PlainMessage<CreateSIPTrunkRequest> | undefined, b: CreateSIPTrunkRequest | PlainMessage<CreateSIPTrunkRequest> | undefined): boolean;
11468
11809
  }
11469
11810
 
11811
+ /**
11812
+ * @generated from message livekit.ProviderInfo
11813
+ */
11814
+ declare class ProviderInfo extends Message<ProviderInfo> {
11815
+ /**
11816
+ * @generated from field: string id = 1;
11817
+ */
11818
+ id: string;
11819
+
11820
+ /**
11821
+ * @generated from field: string name = 2;
11822
+ */
11823
+ name: string;
11824
+
11825
+ /**
11826
+ * @generated from field: livekit.ProviderType type = 3;
11827
+ */
11828
+ type: ProviderType;
11829
+
11830
+ constructor(data?: PartialMessage<ProviderInfo>);
11831
+
11832
+ static readonly runtime: typeof proto3;
11833
+ static readonly typeName = "livekit.ProviderInfo";
11834
+ static readonly fields: FieldList;
11835
+
11836
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ProviderInfo;
11837
+
11838
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ProviderInfo;
11839
+
11840
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ProviderInfo;
11841
+
11842
+ static equals(a: ProviderInfo | PlainMessage<ProviderInfo> | undefined, b: ProviderInfo | PlainMessage<ProviderInfo> | undefined): boolean;
11843
+ }
11844
+
11470
11845
  /**
11471
11846
  * @generated from message livekit.SIPTrunkInfo
11472
11847
  * @deprecated
@@ -13153,12 +13528,24 @@ declare class CreateSIPParticipantRequest extends Message<CreateSIPParticipantRe
13153
13528
  /**
13154
13529
  * Wait for the answer for the call before returning.
13155
13530
  *
13156
- * NEXT ID: 21
13157
- *
13158
13531
  * @generated from field: bool wait_until_answered = 19;
13159
13532
  */
13160
13533
  waitUntilAnswered: boolean;
13161
13534
 
13535
+ /**
13536
+ * Optional display name for the 'From' SIP header.
13537
+ *
13538
+ * Cases:
13539
+ * 1) Unspecified: Use legacy behavior - display name will be set to be the caller's number.
13540
+ * 2) Empty string: Do not send a display name, which will result in a CNAM lookup downstream.
13541
+ * 3) Non-empty: Use the specified value as the display name.
13542
+ *
13543
+ * NEXT ID: 22
13544
+ *
13545
+ * @generated from field: optional string display_name = 21;
13546
+ */
13547
+ displayName?: string;
13548
+
13162
13549
  constructor(data?: PartialMessage<CreateSIPParticipantRequest>);
13163
13550
 
13164
13551
  static readonly runtime: typeof proto3;
@@ -13397,6 +13784,21 @@ declare class SIPCallInfo extends Message<SIPCallInfo> {
13397
13784
  */
13398
13785
  mediaEncryption: string;
13399
13786
 
13787
+ /**
13788
+ * @generated from field: string pcap_file_link = 25;
13789
+ */
13790
+ pcapFileLink: string;
13791
+
13792
+ /**
13793
+ * @generated from field: repeated google.protobuf.Any call_context = 26;
13794
+ */
13795
+ callContext: Any[];
13796
+
13797
+ /**
13798
+ * @generated from field: livekit.ProviderInfo provider_info = 27;
13799
+ */
13800
+ providerInfo?: ProviderInfo;
13801
+
13400
13802
  constructor(data?: PartialMessage<SIPCallInfo>);
13401
13803
 
13402
13804
  static readonly runtime: typeof proto3;
@@ -13515,6 +13917,114 @@ declare class SIPUri extends Message<SIPUri> {
13515
13917
  static equals(a: SIPUri | PlainMessage<SIPUri> | undefined, b: SIPUri | PlainMessage<SIPUri> | undefined): boolean;
13516
13918
  }
13517
13919
 
13920
+ // Copyright 2025 LiveKit, Inc.
13921
+ //
13922
+ // Licensed under the Apache License, Version 2.0 (the "License");
13923
+ // you may not use this file except in compliance with the License.
13924
+ // You may obtain a copy of the License at
13925
+ //
13926
+ // http://www.apache.org/licenses/LICENSE-2.0
13927
+ //
13928
+ // Unless required by applicable law or agreed to in writing, software
13929
+ // distributed under the License is distributed on an "AS IS" BASIS,
13930
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13931
+ // See the License for the specific language governing permissions and
13932
+ // limitations under the License.
13933
+
13934
+
13935
+
13936
+ /**
13937
+ * @generated from message livekit.TokenSourceRequest
13938
+ */
13939
+ declare class TokenSourceRequest extends Message<TokenSourceRequest> {
13940
+ /**
13941
+ * The name of the room being requested when generating credentials
13942
+ *
13943
+ * @generated from field: optional string room_name = 1;
13944
+ */
13945
+ roomName?: string;
13946
+
13947
+ /**
13948
+ * The name of the participant being requested for this client when generating credentials
13949
+ *
13950
+ * @generated from field: optional string participant_name = 2;
13951
+ */
13952
+ participantName?: string;
13953
+
13954
+ /**
13955
+ * The identity of the participant being requested for this client when generating credentials
13956
+ *
13957
+ * @generated from field: optional string participant_identity = 3;
13958
+ */
13959
+ participantIdentity?: string;
13960
+
13961
+ /**
13962
+ * Any participant metadata being included along with the credentials generation operation
13963
+ *
13964
+ * @generated from field: optional string participant_metadata = 4;
13965
+ */
13966
+ participantMetadata?: string;
13967
+
13968
+ /**
13969
+ * Any participant attributes being included along with the credentials generation operation
13970
+ *
13971
+ * @generated from field: map<string, string> participant_attributes = 5;
13972
+ */
13973
+ participantAttributes: { [key: string]: string };
13974
+
13975
+ /**
13976
+ * A RoomConfiguration object can be passed to request extra parameters should be included when
13977
+ * generating connection credentials - dispatching agents, defining egress settings, etc
13978
+ * More info: https://docs.livekit.io/home/get-started/authentication/#room-configuration
13979
+ *
13980
+ * @generated from field: optional livekit.RoomConfiguration room_config = 6;
13981
+ */
13982
+ roomConfig?: RoomConfiguration;
13983
+
13984
+ constructor(data?: PartialMessage<TokenSourceRequest>);
13985
+
13986
+ static readonly runtime: typeof proto3;
13987
+ static readonly typeName = "livekit.TokenSourceRequest";
13988
+ static readonly fields: FieldList;
13989
+
13990
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenSourceRequest;
13991
+
13992
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenSourceRequest;
13993
+
13994
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenSourceRequest;
13995
+
13996
+ static equals(a: TokenSourceRequest | PlainMessage<TokenSourceRequest> | undefined, b: TokenSourceRequest | PlainMessage<TokenSourceRequest> | undefined): boolean;
13997
+ }
13998
+
13999
+ /**
14000
+ * @generated from message livekit.TokenSourceResponse
14001
+ */
14002
+ declare class TokenSourceResponse extends Message<TokenSourceResponse> {
14003
+ /**
14004
+ * @generated from field: string server_url = 1;
14005
+ */
14006
+ serverUrl: string;
14007
+
14008
+ /**
14009
+ * @generated from field: string participant_token = 2;
14010
+ */
14011
+ participantToken: string;
14012
+
14013
+ constructor(data?: PartialMessage<TokenSourceResponse>);
14014
+
14015
+ static readonly runtime: typeof proto3;
14016
+ static readonly typeName = "livekit.TokenSourceResponse";
14017
+ static readonly fields: FieldList;
14018
+
14019
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenSourceResponse;
14020
+
14021
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenSourceResponse;
14022
+
14023
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenSourceResponse;
14024
+
14025
+ static equals(a: TokenSourceResponse | PlainMessage<TokenSourceResponse> | undefined, b: TokenSourceResponse | PlainMessage<TokenSourceResponse> | undefined): boolean;
14026
+ }
14027
+
13518
14028
  // Copyright 2023 LiveKit, Inc.
13519
14029
  //
13520
14030
  // Licensed under the Apache License, Version 2.0 (the "License");
@@ -13614,4 +14124,4 @@ declare class WebhookEvent extends Message<WebhookEvent> {
13614
14124
 
13615
14125
  declare const version: string;
13616
14126
 
13617
- 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, 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, 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, TimeSeriesMetric, TimedVersion, TokenPagination, 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 };
14127
+ 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, MappedSessionDescription, 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, 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 };