@livekit/protocol 1.53.1 → 1.53.3

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 CHANGED
@@ -66,7 +66,9 @@ const AmdCategory = /* @__PURE__ */ protobuf.proto3.makeEnum(
66
66
  { no: 2, name: "AMD_MACHINE_IVR" },
67
67
  { no: 3, name: "AMD_MACHINE_VM" },
68
68
  { no: 4, name: "AMD_MACHINE_UNAVAILABLE" },
69
- { no: 5, name: "AMD_UNCERTAIN" }
69
+ { no: 5, name: "AMD_UNCERTAIN" },
70
+ { no: 6, name: "AMD_MACHINE_SCREENING" },
71
+ { no: 7, name: "AMD_WAIT" }
70
72
  ]
71
73
  );
72
74
  const MetricsReport = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -552,7 +554,8 @@ const AgentSessionEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
552
554
  { no: 20, name: "function_tools_started", kind: "message", T: AgentSessionEvent_FunctionToolsStarted, oneof: "event" },
553
555
  { no: 21, name: "debug_message", kind: "message", T: DebugMessage, oneof: "event" },
554
556
  { no: 22, name: "tool_execution_updated", kind: "message", T: AgentSessionEvent_ToolExecutionUpdated, oneof: "event" },
555
- { no: 23, name: "agent_false_interruption", kind: "message", T: AgentSessionEvent_AgentFalseInterruption, oneof: "event" }
557
+ { no: 23, name: "agent_false_interruption", kind: "message", T: AgentSessionEvent_AgentFalseInterruption, oneof: "event" },
558
+ { no: 24, name: "amd_completed", kind: "message", T: AgentSessionEvent_AmdCompleted, oneof: "event" }
556
559
  ]
557
560
  );
558
561
  const AgentSessionEvent_AgentStateChanged = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -668,10 +671,41 @@ const AgentSessionEvent_AmdPrediction = /* @__PURE__ */ protobuf.proto3.makeMess
668
671
  T: 9
669
672
  /* ScalarType.STRING */
670
673
  },
671
- { no: 5, name: "delay", kind: "message", T: protobuf.Duration }
674
+ { no: 5, name: "delay", kind: "message", T: protobuf.Duration },
675
+ {
676
+ no: 6,
677
+ name: "turn_id",
678
+ kind: "scalar",
679
+ T: 13
680
+ /* ScalarType.UINT32 */
681
+ },
682
+ { no: 7, name: "stage", kind: "enum", T: protobuf.proto3.getEnumType(AmdCategory) },
683
+ { no: 8, name: "inference_duration", kind: "message", T: protobuf.Duration }
672
684
  ],
673
685
  { localName: "AgentSessionEvent_AmdPrediction" }
674
686
  );
687
+ const AgentSessionEvent_AmdCompleted = /* @__PURE__ */ protobuf.proto3.makeMessageType(
688
+ "livekit.agent.AgentSessionEvent.AmdCompleted",
689
+ () => [
690
+ { no: 1, name: "category", kind: "enum", T: protobuf.proto3.getEnumType(AmdCategory) },
691
+ {
692
+ no: 2,
693
+ name: "reason",
694
+ kind: "scalar",
695
+ T: 9
696
+ /* ScalarType.STRING */
697
+ },
698
+ {
699
+ no: 3,
700
+ name: "voicemail_message_played",
701
+ kind: "scalar",
702
+ T: 8
703
+ /* ScalarType.BOOL */
704
+ },
705
+ { no: 4, name: "prediction", kind: "message", T: AgentSessionEvent_AmdPrediction }
706
+ ],
707
+ { localName: "AgentSessionEvent_AmdCompleted" }
708
+ );
675
709
  const AgentSessionEvent_EotPrediction = /* @__PURE__ */ protobuf.proto3.makeMessageType(
676
710
  "livekit.agent.AgentSessionEvent.EotPrediction",
677
711
  () => [
@@ -1132,6 +1166,7 @@ const livekit_agent_session_pb = {
1132
1166
  AgentSessionEvent: AgentSessionEvent,
1133
1167
  AgentSessionEvent_AgentFalseInterruption: AgentSessionEvent_AgentFalseInterruption,
1134
1168
  AgentSessionEvent_AgentStateChanged: AgentSessionEvent_AgentStateChanged,
1169
+ AgentSessionEvent_AmdCompleted: AgentSessionEvent_AmdCompleted,
1135
1170
  AgentSessionEvent_AmdPrediction: AgentSessionEvent_AmdPrediction,
1136
1171
  AgentSessionEvent_ConversationItemAdded: AgentSessionEvent_ConversationItemAdded,
1137
1172
  AgentSessionEvent_EotPrediction: AgentSessionEvent_EotPrediction,
@@ -1664,6 +1699,13 @@ const InferenceStart = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1664
1699
  kind: "scalar",
1665
1700
  T: 9
1666
1701
  /* ScalarType.STRING */
1702
+ },
1703
+ {
1704
+ no: 2,
1705
+ name: "turn_samples",
1706
+ kind: "scalar",
1707
+ T: 13
1708
+ /* ScalarType.UINT32 */
1667
1709
  }
1668
1710
  ]
1669
1711
  );
@@ -4707,6 +4749,13 @@ const Job = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4707
4749
  kind: "scalar",
4708
4750
  T: 8
4709
4751
  /* ScalarType.BOOL */
4752
+ },
4753
+ {
4754
+ no: 14,
4755
+ name: "created_at",
4756
+ kind: "scalar",
4757
+ T: 3
4758
+ /* ScalarType.INT64 */
4710
4759
  }
4711
4760
  ]
4712
4761
  );
@@ -4763,7 +4812,21 @@ const JobState = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4763
4812
  T: 9
4764
4813
  /* ScalarType.STRING */
4765
4814
  },
4766
- { no: 9, name: "reason", kind: "enum", T: protobuf.proto3.getEnumType(JobStateReason) }
4815
+ { no: 9, name: "reason", kind: "enum", T: protobuf.proto3.getEnumType(JobStateReason) },
4816
+ {
4817
+ no: 10,
4818
+ name: "accepted_at",
4819
+ kind: "scalar",
4820
+ T: 3
4821
+ /* ScalarType.INT64 */
4822
+ },
4823
+ {
4824
+ no: 11,
4825
+ name: "assigned_at",
4826
+ kind: "scalar",
4827
+ T: 3
4828
+ /* ScalarType.INT64 */
4829
+ }
4767
4830
  ]
4768
4831
  );
4769
4832
  const WorkerMessage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -4989,6 +5052,68 @@ const UpdateJobStatus = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4989
5052
  kind: "scalar",
4990
5053
  T: 9
4991
5054
  /* ScalarType.STRING */
5055
+ },
5056
+ { no: 4, name: "join_timing", kind: "message", T: JobJoinTiming }
5057
+ ]
5058
+ );
5059
+ const JobJoinTiming = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5060
+ "livekit.JobJoinTiming",
5061
+ () => [
5062
+ {
5063
+ no: 1,
5064
+ name: "offer_received_us",
5065
+ kind: "scalar",
5066
+ T: 3
5067
+ /* ScalarType.INT64 */
5068
+ },
5069
+ {
5070
+ no: 2,
5071
+ name: "accepted_us",
5072
+ kind: "scalar",
5073
+ T: 3
5074
+ /* ScalarType.INT64 */
5075
+ },
5076
+ {
5077
+ no: 3,
5078
+ name: "assignment_received_us",
5079
+ kind: "scalar",
5080
+ T: 3
5081
+ /* ScalarType.INT64 */
5082
+ },
5083
+ {
5084
+ no: 4,
5085
+ name: "launched_us",
5086
+ kind: "scalar",
5087
+ T: 3
5088
+ /* ScalarType.INT64 */
5089
+ },
5090
+ {
5091
+ no: 5,
5092
+ name: "launch_warm",
5093
+ kind: "scalar",
5094
+ T: 8
5095
+ /* ScalarType.BOOL */
5096
+ },
5097
+ {
5098
+ no: 6,
5099
+ name: "entrypoint_started_us",
5100
+ kind: "scalar",
5101
+ T: 3
5102
+ /* ScalarType.INT64 */
5103
+ },
5104
+ {
5105
+ no: 7,
5106
+ name: "connect_called_us",
5107
+ kind: "scalar",
5108
+ T: 3
5109
+ /* ScalarType.INT64 */
5110
+ },
5111
+ {
5112
+ no: 8,
5113
+ name: "connected_us",
5114
+ kind: "scalar",
5115
+ T: 3
5116
+ /* ScalarType.INT64 */
4992
5117
  }
4993
5118
  ]
4994
5119
  );
@@ -5178,6 +5303,15 @@ const JobRestartPolicy = /* @__PURE__ */ protobuf.proto3.makeEnum(
5178
5303
  { no: 1, name: "JRP_NEVER" }
5179
5304
  ]
5180
5305
  );
5306
+ const AgentDispatchTrigger = /* @__PURE__ */ protobuf.proto3.makeEnum(
5307
+ "livekit.AgentDispatchTrigger",
5308
+ [
5309
+ { no: 0, name: "ADT_UNSPECIFIED" },
5310
+ { no: 1, name: "ADT_JOIN" },
5311
+ { no: 2, name: "ADT_ROOM_API" },
5312
+ { no: 3, name: "ADT_DISPATCH_API" }
5313
+ ]
5314
+ );
5181
5315
  const CreateAgentDispatchRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5182
5316
  "livekit.CreateAgentDispatchRequest",
5183
5317
  () => [
@@ -5357,7 +5491,8 @@ const AgentDispatchState = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5357
5491
  kind: "scalar",
5358
5492
  T: 3
5359
5493
  /* ScalarType.INT64 */
5360
- }
5494
+ },
5495
+ { no: 4, name: "trigger", kind: "enum", T: protobuf.proto3.getEnumType(AgentDispatchTrigger) }
5361
5496
  ]
5362
5497
  );
5363
5498
 
@@ -5975,7 +6110,35 @@ const SimulationRun_Create_Request = /* @__PURE__ */ protobuf.proto3.makeMessage
5975
6110
  /* ScalarType.BOOL */
5976
6111
  },
5977
6112
  { no: 13, name: "ci", kind: "message", T: SimulationRun_CI, opt: true },
5978
- { no: 14, name: "sampling", kind: "message", T: SimulationRun_SamplingOptions, opt: true }
6113
+ { no: 14, name: "sampling", kind: "message", T: SimulationRun_SamplingOptions, opt: true },
6114
+ {
6115
+ no: 15,
6116
+ name: "sip_call_to",
6117
+ kind: "scalar",
6118
+ T: 9
6119
+ /* ScalarType.STRING */
6120
+ },
6121
+ {
6122
+ no: 16,
6123
+ name: "sip_trunk_id",
6124
+ kind: "scalar",
6125
+ T: 9
6126
+ /* ScalarType.STRING */
6127
+ },
6128
+ {
6129
+ no: 17,
6130
+ name: "sip_number",
6131
+ kind: "scalar",
6132
+ T: 9
6133
+ /* ScalarType.STRING */
6134
+ },
6135
+ {
6136
+ no: 18,
6137
+ name: "deployment",
6138
+ kind: "scalar",
6139
+ T: 9
6140
+ /* ScalarType.STRING */
6141
+ }
5979
6142
  ],
5980
6143
  { localName: "SimulationRun_Create_Request" }
5981
6144
  );
@@ -6369,7 +6532,8 @@ const EncodedFileType = /* @__PURE__ */ protobuf.proto3.makeEnum(
6369
6532
  { no: 0, name: "DEFAULT_FILETYPE" },
6370
6533
  { no: 1, name: "MP4" },
6371
6534
  { no: 2, name: "OGG" },
6372
- { no: 3, name: "MP3" }
6535
+ { no: 3, name: "MP3" },
6536
+ { no: 4, name: "MCAP" }
6373
6537
  ]
6374
6538
  );
6375
6539
  const StreamProtocol = /* @__PURE__ */ protobuf.proto3.makeEnum(
@@ -6522,7 +6686,9 @@ const MediaSource = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6522
6686
  () => [
6523
6687
  { no: 1, name: "video_track_id", kind: "scalar", T: 9, oneof: "video" },
6524
6688
  { no: 2, name: "participant_video", kind: "message", T: ParticipantVideo, oneof: "video" },
6525
- { no: 3, name: "audio", kind: "message", T: AudioConfig }
6689
+ { no: 5, name: "videos", kind: "message", T: VideoConfig, oneof: "video" },
6690
+ { no: 3, name: "audio", kind: "message", T: AudioConfig },
6691
+ { no: 4, name: "data", kind: "message", T: DataConfig }
6526
6692
  ]
6527
6693
  );
6528
6694
  const ParticipantVideo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -6544,6 +6710,40 @@ const ParticipantVideo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6544
6710
  }
6545
6711
  ]
6546
6712
  );
6713
+ const VideoConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6714
+ "livekit.VideoConfig",
6715
+ () => [
6716
+ {
6717
+ no: 1,
6718
+ name: "capture_all",
6719
+ kind: "scalar",
6720
+ T: 8
6721
+ /* ScalarType.BOOL */
6722
+ },
6723
+ { no: 2, name: "selectors", kind: "message", T: VideoSelector, repeated: true }
6724
+ ]
6725
+ );
6726
+ const VideoSelector = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6727
+ "livekit.VideoSelector",
6728
+ () => [
6729
+ { no: 1, name: "track_id", kind: "scalar", T: 9, oneof: "match" },
6730
+ { no: 2, name: "participant_identity", kind: "scalar", T: 9, oneof: "match" },
6731
+ {
6732
+ no: 3,
6733
+ name: "track_name",
6734
+ kind: "scalar",
6735
+ T: 9
6736
+ /* ScalarType.STRING */
6737
+ },
6738
+ {
6739
+ no: 4,
6740
+ name: "exclude",
6741
+ kind: "scalar",
6742
+ T: 8
6743
+ /* ScalarType.BOOL */
6744
+ }
6745
+ ]
6746
+ );
6547
6747
  const AudioConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6548
6748
  "livekit.AudioConfig",
6549
6749
  () => [
@@ -6563,6 +6763,20 @@ const AudioRoute = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6563
6763
  { no: 1, name: "track_id", kind: "scalar", T: 9, oneof: "match" },
6564
6764
  { no: 2, name: "participant_identity", kind: "scalar", T: 9, oneof: "match" },
6565
6765
  { no: 3, name: "participant_kind", kind: "enum", T: protobuf.proto3.getEnumType(ParticipantInfo_Kind), oneof: "match" },
6766
+ {
6767
+ no: 5,
6768
+ name: "track_name",
6769
+ kind: "scalar",
6770
+ T: 9
6771
+ /* ScalarType.STRING */
6772
+ },
6773
+ {
6774
+ no: 6,
6775
+ name: "exclude",
6776
+ kind: "scalar",
6777
+ T: 8
6778
+ /* ScalarType.BOOL */
6779
+ },
6566
6780
  { no: 4, name: "channel", kind: "enum", T: protobuf.proto3.getEnumType(AudioChannel) }
6567
6781
  ]
6568
6782
  );
@@ -6583,7 +6797,21 @@ const DataSelector = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6583
6797
  "livekit.DataSelector",
6584
6798
  () => [
6585
6799
  { no: 1, name: "track_id", kind: "scalar", T: 9, oneof: "match" },
6586
- { no: 2, name: "participant_identity", kind: "scalar", T: 9, oneof: "match" }
6800
+ { no: 2, name: "participant_identity", kind: "scalar", T: 9, oneof: "match" },
6801
+ {
6802
+ no: 3,
6803
+ name: "track_name",
6804
+ kind: "scalar",
6805
+ T: 9
6806
+ /* ScalarType.STRING */
6807
+ },
6808
+ {
6809
+ no: 4,
6810
+ name: "exclude",
6811
+ kind: "scalar",
6812
+ T: 8
6813
+ /* ScalarType.BOOL */
6814
+ }
6587
6815
  ]
6588
6816
  );
6589
6817
  const EncodingOptions = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -8825,6 +9053,18 @@ const SIPMediaEncryption = /* @__PURE__ */ protobuf.proto3.makeEnum(
8825
9053
  { no: 2, name: "SIP_MEDIA_ENCRYPT_REQUIRE" }
8826
9054
  ]
8827
9055
  );
9056
+ const SIPDialtone = /* @__PURE__ */ protobuf.proto3.makeEnum(
9057
+ "livekit.SIPDialtone",
9058
+ [
9059
+ { no: 0, name: "SIP_DIALTONE_DISABLED" },
9060
+ { no: 1, name: "SIP_DIALTONE_ETSI" },
9061
+ { no: 2, name: "SIP_DIALTONE_AUTO" },
9062
+ { no: 3, name: "SIP_DIALTONE_US" },
9063
+ { no: 4, name: "SIP_DIALTONE_UK" },
9064
+ { no: 5, name: "SIP_DIALTONE_JP" },
9065
+ { no: 6, name: "SIP_DIALTONE_AU" }
9066
+ ]
9067
+ );
8828
9068
  const ProviderType = /* @__PURE__ */ protobuf.proto3.makeEnum(
8829
9069
  "livekit.ProviderType",
8830
9070
  [
@@ -8986,7 +9226,14 @@ const SIPMediaConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
8986
9226
  },
8987
9227
  { no: 2, name: "codecs", kind: "message", T: SIPCodec, repeated: true },
8988
9228
  { no: 3, name: "encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption), opt: true },
8989
- { no: 4, name: "media_timeout", kind: "message", T: protobuf.Duration, opt: true }
9229
+ { no: 4, name: "media_timeout", kind: "message", T: protobuf.Duration, opt: true },
9230
+ {
9231
+ no: 5,
9232
+ name: "drop_audio_during_dtmf",
9233
+ kind: "scalar",
9234
+ T: 8
9235
+ /* ScalarType.BOOL */
9236
+ }
8990
9237
  ]
8991
9238
  );
8992
9239
  const ProviderInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -9798,6 +10045,7 @@ const CreateSIPParticipantRequest = /* @__PURE__ */ protobuf.proto3.makeMessageT
9798
10045
  T: 8
9799
10046
  /* ScalarType.BOOL */
9800
10047
  },
10048
+ { no: 28, name: "dialtone", kind: "enum", T: protobuf.proto3.getEnumType(SIPDialtone) },
9801
10049
  {
9802
10050
  no: 10,
9803
10051
  name: "hide_phone_number",
@@ -9897,6 +10145,7 @@ const TransferSIPParticipantRequest = /* @__PURE__ */ protobuf.proto3.makeMessag
9897
10145
  T: 8
9898
10146
  /* ScalarType.BOOL */
9899
10147
  },
10148
+ { no: 7, name: "dialtone", kind: "enum", T: protobuf.proto3.getEnumType(SIPDialtone) },
9900
10149
  { no: 5, name: "headers", kind: "map", K: 9, V: {
9901
10150
  kind: "scalar",
9902
10151
  T: 9
@@ -12763,7 +13012,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
12763
13012
  ]
12764
13013
  );
12765
13014
 
12766
- const version = "1.53.1";
13015
+ const version = "1.53.3";
12767
13016
 
12768
13017
  exports.Timestamp = protobuf.Timestamp;
12769
13018
  exports.protoInt64 = protobuf.protoInt64;
@@ -12776,6 +13025,7 @@ exports.AddTrackRequest = AddTrackRequest;
12776
13025
  exports.AgentDev = livekit_agent_dev_pb;
12777
13026
  exports.AgentDispatch = AgentDispatch;
12778
13027
  exports.AgentDispatchState = AgentDispatchState;
13028
+ exports.AgentDispatchTrigger = AgentDispatchTrigger;
12779
13029
  exports.AgentHttp = AgentHttp;
12780
13030
  exports.AgentHttp_AgentEndpoint = AgentHttp_AgentEndpoint;
12781
13031
  exports.AgentHttp_AgentEndpointKind = AgentHttp_AgentEndpointKind;
@@ -12926,6 +13176,7 @@ exports.InputAudioState = InputAudioState;
12926
13176
  exports.InputVideoState = InputVideoState;
12927
13177
  exports.Job = Job;
12928
13178
  exports.JobAssignment = JobAssignment;
13179
+ exports.JobJoinTiming = JobJoinTiming;
12929
13180
  exports.JobRestartPolicy = JobRestartPolicy;
12930
13181
  exports.JobState = JobState;
12931
13182
  exports.JobStateReason = JobStateReason;
@@ -13024,6 +13275,7 @@ exports.SIPCallDirection = SIPCallDirection;
13024
13275
  exports.SIPCallInfo = SIPCallInfo;
13025
13276
  exports.SIPCallStatus = SIPCallStatus;
13026
13277
  exports.SIPCodec = SIPCodec;
13278
+ exports.SIPDialtone = SIPDialtone;
13027
13279
  exports.SIPDispatchRule = SIPDispatchRule;
13028
13280
  exports.SIPDispatchRuleCallee = SIPDispatchRuleCallee;
13029
13281
  exports.SIPDispatchRuleDirect = SIPDispatchRuleDirect;
@@ -13189,10 +13441,12 @@ exports.UpdateWorkerStatus = UpdateWorkerStatus;
13189
13441
  exports.UserPacket = UserPacket;
13190
13442
  exports.VP8MungerState = VP8MungerState;
13191
13443
  exports.VideoCodec = VideoCodec;
13444
+ exports.VideoConfig = VideoConfig;
13192
13445
  exports.VideoConfiguration = VideoConfiguration;
13193
13446
  exports.VideoLayer = VideoLayer;
13194
13447
  exports.VideoLayer_Mode = VideoLayer_Mode;
13195
13448
  exports.VideoQuality = VideoQuality;
13449
+ exports.VideoSelector = VideoSelector;
13196
13450
  exports.WebEgressRequest = WebEgressRequest;
13197
13451
  exports.WebSource = WebSource;
13198
13452
  exports.WebhookConfig = WebhookConfig;