@livekit/protocol 1.38.0 → 1.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -242,7 +242,8 @@ const DisconnectReason = /* @__PURE__ */ proto3.makeEnum(
242
242
  { no: 11, name: "USER_UNAVAILABLE" },
243
243
  { no: 12, name: "USER_REJECTED" },
244
244
  { no: 13, name: "SIP_TRUNK_FAILURE" },
245
- { no: 14, name: "CONNECTION_TIMEOUT" }
245
+ { no: 14, name: "CONNECTION_TIMEOUT" },
246
+ { no: 15, name: "MEDIA_FAILURE" }
246
247
  ]
247
248
  );
248
249
  const ReconnectReason = /* @__PURE__ */ proto3.makeEnum(
@@ -2246,6 +2247,13 @@ const AvailabilityResponse = /* @__PURE__ */ proto3.makeMessageType(
2246
2247
  T: 8
2247
2248
  /* ScalarType.BOOL */
2248
2249
  },
2250
+ {
2251
+ no: 8,
2252
+ name: "terminate",
2253
+ kind: "scalar",
2254
+ T: 8
2255
+ /* ScalarType.BOOL */
2256
+ },
2249
2257
  {
2250
2258
  no: 4,
2251
2259
  name: "participant_name",
@@ -4762,7 +4770,8 @@ const ReconnectResponse = /* @__PURE__ */ proto3.makeMessageType(
4762
4770
  "livekit.ReconnectResponse",
4763
4771
  () => [
4764
4772
  { no: 1, name: "ice_servers", kind: "message", T: ICEServer, repeated: true },
4765
- { no: 2, name: "client_configuration", kind: "message", T: ClientConfiguration }
4773
+ { no: 2, name: "client_configuration", kind: "message", T: ClientConfiguration },
4774
+ { no: 3, name: "server_info", kind: "message", T: ServerInfo }
4766
4775
  ]
4767
4776
  );
4768
4777
  const TrackPublishedResponse = /* @__PURE__ */ proto3.makeMessageType(
@@ -5441,6 +5450,14 @@ const SIPCallStatus = /* @__PURE__ */ proto3.makeEnum(
5441
5450
  { no: 4, name: "SCS_ERROR" }
5442
5451
  ]
5443
5452
  );
5453
+ const SIPTransferStatus = /* @__PURE__ */ proto3.makeEnum(
5454
+ "livekit.SIPTransferStatus",
5455
+ [
5456
+ { no: 0, name: "STS_TRANSFER_ONGOING" },
5457
+ { no: 1, name: "STS_TRANSFER_FAILED" },
5458
+ { no: 2, name: "STS_TRANSFER_SUCCESSFUL" }
5459
+ ]
5460
+ );
5444
5461
  const SIPFeature = /* @__PURE__ */ proto3.makeEnum(
5445
5462
  "livekit.SIPFeature",
5446
5463
  [
@@ -5767,6 +5784,13 @@ const SIPOutboundTrunkInfo = /* @__PURE__ */ proto3.makeMessageType(
5767
5784
  T: 9
5768
5785
  /* ScalarType.STRING */
5769
5786
  },
5787
+ {
5788
+ no: 14,
5789
+ name: "destination_country",
5790
+ kind: "scalar",
5791
+ T: 9
5792
+ /* ScalarType.STRING */
5793
+ },
5770
5794
  { no: 5, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport) },
5771
5795
  { no: 6, name: "numbers", kind: "scalar", T: 9, repeated: true },
5772
5796
  {
@@ -5807,6 +5831,7 @@ const SIPOutboundTrunkUpdate = /* @__PURE__ */ proto3.makeMessageType(
5807
5831
  () => [
5808
5832
  { no: 1, name: "address", kind: "scalar", T: 9, opt: true },
5809
5833
  { no: 2, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport), opt: true },
5834
+ { no: 9, name: "destination_country", kind: "scalar", T: 9, opt: true },
5810
5835
  { no: 3, name: "numbers", kind: "message", T: ListUpdate },
5811
5836
  { no: 4, name: "auth_username", kind: "scalar", T: 9, opt: true },
5812
5837
  { no: 5, name: "auth_password", kind: "scalar", T: 9, opt: true },
@@ -6140,6 +6165,13 @@ const SIPOutboundConfig = /* @__PURE__ */ proto3.makeMessageType(
6140
6165
  T: 9
6141
6166
  /* ScalarType.STRING */
6142
6167
  },
6168
+ {
6169
+ no: 7,
6170
+ name: "destination_country",
6171
+ kind: "scalar",
6172
+ T: 9
6173
+ /* ScalarType.STRING */
6174
+ },
6143
6175
  { no: 2, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport) },
6144
6176
  {
6145
6177
  no: 3,
@@ -6479,6 +6511,55 @@ const SIPCallInfo = /* @__PURE__ */ proto3.makeMessageType(
6479
6511
  }
6480
6512
  ]
6481
6513
  );
6514
+ const SIPTransferInfo = /* @__PURE__ */ proto3.makeMessageType(
6515
+ "livekit.SIPTransferInfo",
6516
+ () => [
6517
+ {
6518
+ no: 1,
6519
+ name: "transfer_id",
6520
+ kind: "scalar",
6521
+ T: 9
6522
+ /* ScalarType.STRING */
6523
+ },
6524
+ {
6525
+ no: 2,
6526
+ name: "call_id",
6527
+ kind: "scalar",
6528
+ T: 9
6529
+ /* ScalarType.STRING */
6530
+ },
6531
+ {
6532
+ no: 3,
6533
+ name: "transfer_to",
6534
+ kind: "scalar",
6535
+ T: 9
6536
+ /* ScalarType.STRING */
6537
+ },
6538
+ {
6539
+ no: 4,
6540
+ name: "transfer_initiated_at_ns",
6541
+ kind: "scalar",
6542
+ T: 3
6543
+ /* ScalarType.INT64 */
6544
+ },
6545
+ {
6546
+ no: 5,
6547
+ name: "transfer_completed_at_ns",
6548
+ kind: "scalar",
6549
+ T: 3
6550
+ /* ScalarType.INT64 */
6551
+ },
6552
+ { no: 6, name: "transfer_status", kind: "enum", T: proto3.getEnumType(SIPTransferStatus) },
6553
+ {
6554
+ no: 7,
6555
+ name: "error",
6556
+ kind: "scalar",
6557
+ T: 9
6558
+ /* ScalarType.STRING */
6559
+ },
6560
+ { no: 8, name: "transfer_status_code", kind: "message", T: SIPStatus }
6561
+ ]
6562
+ );
6482
6563
  const SIPUri = /* @__PURE__ */ proto3.makeMessageType(
6483
6564
  "livekit.SIPUri",
6484
6565
  () => [
@@ -6553,7 +6634,7 @@ const WebhookEvent = /* @__PURE__ */ proto3.makeMessageType(
6553
6634
  ]
6554
6635
  );
6555
6636
 
6556
- const version = "1.38.0";
6637
+ const version = "1.39.0";
6557
6638
 
6558
- 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, 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, 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, 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 };
6639
+ 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, 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, 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 };
6559
6640
  //# sourceMappingURL=index.mjs.map