@livekit/protocol 1.42.0 → 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.
- package/dist/index.cjs +59 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +120 -6
- package/dist/index.d.mts +120 -6
- package/dist/index.d.ts +120 -6
- package/dist/index.mjs +57 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/livekit_agent_pb.d.ts +5 -0
- package/src/gen/livekit_agent_pb.js +1 -0
- package/src/gen/livekit_cloud_agent_pb.d.ts +54 -0
- package/src/gen/livekit_cloud_agent_pb.js +16 -0
- package/src/gen/livekit_connector_twilio_pb.d.ts +139 -0
- package/src/gen/livekit_connector_twilio_pb.js +60 -0
- package/src/gen/livekit_connector_whatsapp_pb.d.ts +434 -0
- package/src/gen/livekit_connector_whatsapp_pb.js +144 -0
- package/src/gen/livekit_internal_pb.d.ts +5 -0
- package/src/gen/livekit_internal_pb.js +1 -0
- package/src/gen/livekit_models_pb.d.ts +46 -5
- package/src/gen/livekit_models_pb.js +13 -0
- package/src/gen/livekit_rtc_pb.d.ts +5 -0
- package/src/gen/livekit_rtc_pb.js +1 -0
- package/src/gen/livekit_sip_pb.d.ts +63 -0
- package/src/gen/livekit_sip_pb.js +25 -0
- package/src/gen/version.js +1 -1
package/dist/index.mjs
CHANGED
|
@@ -629,7 +629,8 @@ const ParticipantInfo_Kind = /* @__PURE__ */ proto3.makeEnum(
|
|
|
629
629
|
{ no: 1, name: "INGRESS" },
|
|
630
630
|
{ no: 2, name: "EGRESS" },
|
|
631
631
|
{ no: 3, name: "SIP" },
|
|
632
|
-
{ no: 4, name: "AGENT" }
|
|
632
|
+
{ no: 4, name: "AGENT" },
|
|
633
|
+
{ no: 7, name: "CONNECTOR" }
|
|
633
634
|
]
|
|
634
635
|
);
|
|
635
636
|
const ParticipantInfo_KindDetail = /* @__PURE__ */ proto3.makeEnum(
|
|
@@ -2094,6 +2095,13 @@ const DataStream_Trailer = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
2094
2095
|
],
|
|
2095
2096
|
{ localName: "DataStream_Trailer" }
|
|
2096
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
|
+
);
|
|
2097
2105
|
const WebhookConfig = /* @__PURE__ */ proto3.makeMessageType(
|
|
2098
2106
|
"livekit.WebhookConfig",
|
|
2099
2107
|
() => [
|
|
@@ -2110,7 +2118,8 @@ const WebhookConfig = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
2110
2118
|
kind: "scalar",
|
|
2111
2119
|
T: 9
|
|
2112
2120
|
/* ScalarType.STRING */
|
|
2113
|
-
}
|
|
2121
|
+
},
|
|
2122
|
+
{ no: 3, name: "filter_params", kind: "message", T: FilterParams }
|
|
2114
2123
|
]
|
|
2115
2124
|
);
|
|
2116
2125
|
const SubscribedAudioCodec = /* @__PURE__ */ proto3.makeMessageType(
|
|
@@ -2198,7 +2207,14 @@ const Job = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
2198
2207
|
T: 9
|
|
2199
2208
|
/* ScalarType.STRING */
|
|
2200
2209
|
},
|
|
2201
|
-
{ 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
|
+
}
|
|
2202
2218
|
]
|
|
2203
2219
|
);
|
|
2204
2220
|
const JobState = /* @__PURE__ */ proto3.makeMessageType(
|
|
@@ -5062,7 +5078,12 @@ const SessionDescription = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
5062
5078
|
kind: "scalar",
|
|
5063
5079
|
T: 13
|
|
5064
5080
|
/* ScalarType.UINT32 */
|
|
5065
|
-
}
|
|
5081
|
+
},
|
|
5082
|
+
{ no: 4, name: "mid_to_track_id", kind: "map", K: 9, V: {
|
|
5083
|
+
kind: "scalar",
|
|
5084
|
+
T: 9
|
|
5085
|
+
/* ScalarType.STRING */
|
|
5086
|
+
} }
|
|
5066
5087
|
]
|
|
5067
5088
|
);
|
|
5068
5089
|
const ParticipantUpdate = /* @__PURE__ */ proto3.makeMessageType(
|
|
@@ -5832,6 +5853,14 @@ const SIPMediaEncryption = /* @__PURE__ */ proto3.makeEnum(
|
|
|
5832
5853
|
{ no: 2, name: "SIP_MEDIA_ENCRYPT_REQUIRE" }
|
|
5833
5854
|
]
|
|
5834
5855
|
);
|
|
5856
|
+
const ProviderType = /* @__PURE__ */ proto3.makeEnum(
|
|
5857
|
+
"livekit.ProviderType",
|
|
5858
|
+
[
|
|
5859
|
+
{ no: 0, name: "PROVIDER_TYPE_UNKNOWN", localName: "UNKNOWN" },
|
|
5860
|
+
{ no: 1, name: "PROVIDER_TYPE_INTERNAL", localName: "INTERNAL" },
|
|
5861
|
+
{ no: 2, name: "PROVIDER_TYPE_EXTERNAL", localName: "EXTERNAL" }
|
|
5862
|
+
]
|
|
5863
|
+
);
|
|
5835
5864
|
const SIPCallStatus = /* @__PURE__ */ proto3.makeEnum(
|
|
5836
5865
|
"livekit.SIPCallStatus",
|
|
5837
5866
|
[
|
|
@@ -5942,6 +5971,26 @@ const CreateSIPTrunkRequest = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
5942
5971
|
}
|
|
5943
5972
|
]
|
|
5944
5973
|
);
|
|
5974
|
+
const ProviderInfo = /* @__PURE__ */ proto3.makeMessageType(
|
|
5975
|
+
"livekit.ProviderInfo",
|
|
5976
|
+
() => [
|
|
5977
|
+
{
|
|
5978
|
+
no: 1,
|
|
5979
|
+
name: "id",
|
|
5980
|
+
kind: "scalar",
|
|
5981
|
+
T: 9
|
|
5982
|
+
/* ScalarType.STRING */
|
|
5983
|
+
},
|
|
5984
|
+
{
|
|
5985
|
+
no: 2,
|
|
5986
|
+
name: "name",
|
|
5987
|
+
kind: "scalar",
|
|
5988
|
+
T: 9
|
|
5989
|
+
/* ScalarType.STRING */
|
|
5990
|
+
},
|
|
5991
|
+
{ no: 3, name: "type", kind: "enum", T: proto3.getEnumType(ProviderType) }
|
|
5992
|
+
]
|
|
5993
|
+
);
|
|
5945
5994
|
const SIPTrunkInfo = /* @__PURE__ */ proto3.makeMessageType(
|
|
5946
5995
|
"livekit.SIPTrunkInfo",
|
|
5947
5996
|
() => [
|
|
@@ -6909,7 +6958,8 @@ const SIPCallInfo = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
6909
6958
|
T: 9
|
|
6910
6959
|
/* ScalarType.STRING */
|
|
6911
6960
|
},
|
|
6912
|
-
{ no: 26, name: "call_context", kind: "message", T: Any, repeated: true }
|
|
6961
|
+
{ no: 26, name: "call_context", kind: "message", T: Any, repeated: true },
|
|
6962
|
+
{ no: 27, name: "provider_info", kind: "message", T: ProviderInfo }
|
|
6913
6963
|
]
|
|
6914
6964
|
);
|
|
6915
6965
|
const SIPTransferInfo = /* @__PURE__ */ proto3.makeMessageType(
|
|
@@ -7070,7 +7120,7 @@ const WebhookEvent = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
7070
7120
|
]
|
|
7071
7121
|
);
|
|
7072
7122
|
|
|
7073
|
-
const version = "1.42.
|
|
7123
|
+
const version = "1.42.2";
|
|
7074
7124
|
|
|
7075
|
-
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, MetricsRecordingHeader, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, PerformRpcRequest, PerformRpcResponse, 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, 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 };
|
|
7125
|
+
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, 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 };
|
|
7076
7126
|
//# sourceMappingURL=index.mjs.map
|