@livekit/protocol 1.35.0 → 1.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -291,6 +291,12 @@ const Pagination = /* @__PURE__ */ proto3.makeMessageType(
291
291
  }
292
292
  ]
293
293
  );
294
+ const ListUpdate = /* @__PURE__ */ proto3.makeMessageType(
295
+ "livekit.ListUpdate",
296
+ () => [
297
+ { no: 1, name: "set", kind: "scalar", T: 9, repeated: true }
298
+ ]
299
+ );
294
300
  const Room = /* @__PURE__ */ proto3.makeMessageType(
295
301
  "livekit.Room",
296
302
  () => [
@@ -564,7 +570,8 @@ const ParticipantInfo = /* @__PURE__ */ proto3.makeMessageType(
564
570
  T: 9
565
571
  /* ScalarType.STRING */
566
572
  } },
567
- { no: 16, name: "disconnect_reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) }
573
+ { no: 16, name: "disconnect_reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) },
574
+ { no: 18, name: "kind_details", kind: "enum", T: proto3.getEnumType(ParticipantInfo_KindDetail), repeated: true }
568
575
  ]
569
576
  );
570
577
  const ParticipantInfo_State = /* @__PURE__ */ proto3.makeEnum(
@@ -583,8 +590,14 @@ const ParticipantInfo_Kind = /* @__PURE__ */ proto3.makeEnum(
583
590
  { no: 1, name: "INGRESS" },
584
591
  { no: 2, name: "EGRESS" },
585
592
  { no: 3, name: "SIP" },
586
- { no: 4, name: "AGENT" },
587
- { no: 5, name: "FORWARDED" }
593
+ { no: 4, name: "AGENT" }
594
+ ]
595
+ );
596
+ const ParticipantInfo_KindDetail = /* @__PURE__ */ proto3.makeEnum(
597
+ "livekit.ParticipantInfo.KindDetail",
598
+ [
599
+ { no: 0, name: "CLOUD_AGENT" },
600
+ { no: 1, name: "FORWARDED" }
588
601
  ]
589
602
  );
590
603
  const Encryption = /* @__PURE__ */ proto3.makeMessageType(
@@ -5531,6 +5544,20 @@ const CreateSIPInboundTrunkRequest = /* @__PURE__ */ proto3.makeMessageType(
5531
5544
  { no: 1, name: "trunk", kind: "message", T: SIPInboundTrunkInfo }
5532
5545
  ]
5533
5546
  );
5547
+ const UpdateSIPInboundTrunkRequest = /* @__PURE__ */ proto3.makeMessageType(
5548
+ "livekit.UpdateSIPInboundTrunkRequest",
5549
+ () => [
5550
+ {
5551
+ no: 1,
5552
+ name: "sip_trunk_id",
5553
+ kind: "scalar",
5554
+ T: 9
5555
+ /* ScalarType.STRING */
5556
+ },
5557
+ { no: 2, name: "replace", kind: "message", T: SIPInboundTrunkInfo, oneof: "action" },
5558
+ { no: 3, name: "update", kind: "message", T: SIPInboundTrunkUpdate, oneof: "action" }
5559
+ ]
5560
+ );
5534
5561
  const SIPInboundTrunkInfo = /* @__PURE__ */ proto3.makeMessageType(
5535
5562
  "livekit.SIPInboundTrunkInfo",
5536
5563
  () => [
@@ -5600,12 +5627,38 @@ const SIPInboundTrunkInfo = /* @__PURE__ */ proto3.makeMessageType(
5600
5627
  { no: 16, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) }
5601
5628
  ]
5602
5629
  );
5630
+ const SIPInboundTrunkUpdate = /* @__PURE__ */ proto3.makeMessageType(
5631
+ "livekit.SIPInboundTrunkUpdate",
5632
+ () => [
5633
+ { no: 1, name: "numbers", kind: "message", T: ListUpdate },
5634
+ { no: 2, name: "allowed_addresses", kind: "message", T: ListUpdate },
5635
+ { no: 3, name: "allowed_numbers", kind: "message", T: ListUpdate },
5636
+ { no: 4, name: "auth_username", kind: "scalar", T: 9, opt: true },
5637
+ { no: 5, name: "auth_password", kind: "scalar", T: 9, opt: true },
5638
+ { no: 6, name: "name", kind: "scalar", T: 9, opt: true },
5639
+ { no: 7, name: "metadata", kind: "scalar", T: 9, opt: true }
5640
+ ]
5641
+ );
5603
5642
  const CreateSIPOutboundTrunkRequest = /* @__PURE__ */ proto3.makeMessageType(
5604
5643
  "livekit.CreateSIPOutboundTrunkRequest",
5605
5644
  () => [
5606
5645
  { no: 1, name: "trunk", kind: "message", T: SIPOutboundTrunkInfo }
5607
5646
  ]
5608
5647
  );
5648
+ const UpdateSIPOutboundTrunkRequest = /* @__PURE__ */ proto3.makeMessageType(
5649
+ "livekit.UpdateSIPOutboundTrunkRequest",
5650
+ () => [
5651
+ {
5652
+ no: 1,
5653
+ name: "sip_trunk_id",
5654
+ kind: "scalar",
5655
+ T: 9
5656
+ /* ScalarType.STRING */
5657
+ },
5658
+ { no: 2, name: "replace", kind: "message", T: SIPOutboundTrunkInfo, oneof: "action" },
5659
+ { no: 3, name: "update", kind: "message", T: SIPOutboundTrunkUpdate, oneof: "action" }
5660
+ ]
5661
+ );
5609
5662
  const SIPOutboundTrunkInfo = /* @__PURE__ */ proto3.makeMessageType(
5610
5663
  "livekit.SIPOutboundTrunkInfo",
5611
5664
  () => [
@@ -5672,6 +5725,18 @@ const SIPOutboundTrunkInfo = /* @__PURE__ */ proto3.makeMessageType(
5672
5725
  { no: 13, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) }
5673
5726
  ]
5674
5727
  );
5728
+ const SIPOutboundTrunkUpdate = /* @__PURE__ */ proto3.makeMessageType(
5729
+ "livekit.SIPOutboundTrunkUpdate",
5730
+ () => [
5731
+ { no: 1, name: "address", kind: "scalar", T: 9, opt: true },
5732
+ { no: 2, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport), opt: true },
5733
+ { no: 3, name: "numbers", kind: "message", T: ListUpdate },
5734
+ { no: 4, name: "auth_username", kind: "scalar", T: 9, opt: true },
5735
+ { no: 5, name: "auth_password", kind: "scalar", T: 9, opt: true },
5736
+ { no: 6, name: "name", kind: "scalar", T: 9, opt: true },
5737
+ { no: 7, name: "metadata", kind: "scalar", T: 9, opt: true }
5738
+ ]
5739
+ );
5675
5740
  const GetSIPInboundTrunkRequest = /* @__PURE__ */ proto3.makeMessageType(
5676
5741
  "livekit.GetSIPInboundTrunkRequest",
5677
5742
  () => [
@@ -5835,6 +5900,7 @@ const SIPDispatchRule = /* @__PURE__ */ proto3.makeMessageType(
5835
5900
  const CreateSIPDispatchRuleRequest = /* @__PURE__ */ proto3.makeMessageType(
5836
5901
  "livekit.CreateSIPDispatchRuleRequest",
5837
5902
  () => [
5903
+ { no: 10, name: "dispatch_rule", kind: "message", T: SIPDispatchRuleInfo },
5838
5904
  { no: 1, name: "rule", kind: "message", T: SIPDispatchRule },
5839
5905
  { no: 2, name: "trunk_ids", kind: "scalar", T: 9, repeated: true },
5840
5906
  {
@@ -5874,6 +5940,20 @@ const CreateSIPDispatchRuleRequest = /* @__PURE__ */ proto3.makeMessageType(
5874
5940
  { no: 9, name: "room_config", kind: "message", T: RoomConfiguration }
5875
5941
  ]
5876
5942
  );
5943
+ const UpdateSIPDispatchRuleRequest = /* @__PURE__ */ proto3.makeMessageType(
5944
+ "livekit.UpdateSIPDispatchRuleRequest",
5945
+ () => [
5946
+ {
5947
+ no: 1,
5948
+ name: "sip_dispatch_rule_id",
5949
+ kind: "scalar",
5950
+ T: 9
5951
+ /* ScalarType.STRING */
5952
+ },
5953
+ { no: 2, name: "replace", kind: "message", T: SIPDispatchRuleInfo, oneof: "action" },
5954
+ { no: 3, name: "update", kind: "message", T: SIPDispatchRuleUpdate, oneof: "action" }
5955
+ ]
5956
+ );
5877
5957
  const SIPDispatchRuleInfo = /* @__PURE__ */ proto3.makeMessageType(
5878
5958
  "livekit.SIPDispatchRuleInfo",
5879
5959
  () => [
@@ -5931,6 +6011,20 @@ const SIPDispatchRuleInfo = /* @__PURE__ */ proto3.makeMessageType(
5931
6011
  { no: 12, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) }
5932
6012
  ]
5933
6013
  );
6014
+ const SIPDispatchRuleUpdate = /* @__PURE__ */ proto3.makeMessageType(
6015
+ "livekit.SIPDispatchRuleUpdate",
6016
+ () => [
6017
+ { no: 1, name: "trunk_ids", kind: "message", T: ListUpdate },
6018
+ { no: 2, name: "rule", kind: "message", T: SIPDispatchRule },
6019
+ { no: 3, name: "name", kind: "scalar", T: 9, opt: true },
6020
+ { no: 4, name: "metadata", kind: "scalar", T: 9, opt: true },
6021
+ { no: 5, name: "attributes", kind: "map", K: 9, V: {
6022
+ kind: "scalar",
6023
+ T: 9
6024
+ /* ScalarType.STRING */
6025
+ } }
6026
+ ]
6027
+ );
5934
6028
  const ListSIPDispatchRuleRequest = /* @__PURE__ */ proto3.makeMessageType(
5935
6029
  "livekit.ListSIPDispatchRuleRequest",
5936
6030
  () => [
@@ -6379,7 +6473,7 @@ const WebhookEvent = /* @__PURE__ */ proto3.makeMessageType(
6379
6473
  ]
6380
6474
  );
6381
6475
 
6382
- const version = "1.35.0";
6476
+ const version = "1.36.0";
6383
6477
 
6384
- 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, MetricLabel, MetricSample, MetricsBatch, MigrateJobRequest, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, 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, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPMediaEncryption, SIPOutboundConfig, SIPOutboundTrunkInfo, 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, UpdateStreamRequest, UpdateSubscription, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse, UpdateTrackSettings, UpdateVideoLayers, UpdateWorkerStatus, UserPacket, VP8MungerState, VideoCodec, VideoConfiguration, VideoLayer, VideoQuality, WebEgressRequest, WebhookEvent, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, version };
6478
+ 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, 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, 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, WebhookEvent, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, version };
6385
6479
  //# sourceMappingURL=index.mjs.map