@livekit/protocol 1.43.4 → 1.44.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.cjs +133 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +214 -9
- package/dist/index.d.mts +214 -9
- package/dist/index.d.ts +214 -9
- package/dist/index.mjs +130 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -1
- package/src/gen/livekit_agent_dispatch_pb.d.ts +1 -1
- package/src/gen/livekit_agent_pb.d.ts +134 -0
- package/src/gen/livekit_agent_pb.js +41 -0
- package/src/gen/livekit_analytics_pb.d.ts +8 -1
- package/src/gen/livekit_analytics_pb.js +1 -0
- package/src/gen/livekit_cloud_agent_pb.d.ts +64 -0
- package/src/gen/livekit_cloud_agent_pb.js +26 -0
- package/src/gen/livekit_connector_twilio_pb.d.ts +1 -0
- package/src/gen/livekit_connector_whatsapp_pb.d.ts +37 -3
- package/src/gen/livekit_connector_whatsapp_pb.js +12 -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 +21 -2
- package/src/gen/livekit_models_pb.js +3 -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 +14 -2
- package/src/gen/livekit_sip_pb.js +2 -0
- package/src/gen/version.js +1 -1
package/dist/index.cjs
CHANGED
|
@@ -835,7 +835,8 @@ const ParticipantInfo_Kind = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
835
835
|
{ no: 2, name: "EGRESS" },
|
|
836
836
|
{ no: 3, name: "SIP" },
|
|
837
837
|
{ no: 4, name: "AGENT" },
|
|
838
|
-
{ no: 7, name: "CONNECTOR" }
|
|
838
|
+
{ no: 7, name: "CONNECTOR" },
|
|
839
|
+
{ no: 8, name: "BRIDGE" }
|
|
839
840
|
]
|
|
840
841
|
);
|
|
841
842
|
const ParticipantInfo_KindDetail = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
@@ -844,7 +845,8 @@ const ParticipantInfo_KindDetail = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
844
845
|
{ no: 0, name: "CLOUD_AGENT" },
|
|
845
846
|
{ no: 1, name: "FORWARDED" },
|
|
846
847
|
{ no: 2, name: "CONNECTOR_WHATSAPP" },
|
|
847
|
-
{ no: 3, name: "CONNECTOR_TWILIO" }
|
|
848
|
+
{ no: 3, name: "CONNECTOR_TWILIO" },
|
|
849
|
+
{ no: 4, name: "BRIDGE_RTSP" }
|
|
848
850
|
]
|
|
849
851
|
);
|
|
850
852
|
const Encryption = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -1082,6 +1084,13 @@ const VideoLayer = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
1082
1084
|
kind: "scalar",
|
|
1083
1085
|
T: 9
|
|
1084
1086
|
/* ScalarType.STRING */
|
|
1087
|
+
},
|
|
1088
|
+
{
|
|
1089
|
+
no: 8,
|
|
1090
|
+
name: "repair_ssrc",
|
|
1091
|
+
kind: "scalar",
|
|
1092
|
+
T: 13
|
|
1093
|
+
/* ScalarType.UINT32 */
|
|
1085
1094
|
}
|
|
1086
1095
|
]
|
|
1087
1096
|
);
|
|
@@ -2534,7 +2543,9 @@ const WorkerMessage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
2534
2543
|
{ no: 4, name: "update_job", kind: "message", T: UpdateJobStatus, oneof: "message" },
|
|
2535
2544
|
{ no: 5, name: "ping", kind: "message", T: WorkerPing, oneof: "message" },
|
|
2536
2545
|
{ no: 6, name: "simulate_job", kind: "message", T: SimulateJobRequest, oneof: "message" },
|
|
2537
|
-
{ no: 7, name: "migrate_job", kind: "message", T: MigrateJobRequest, oneof: "message" }
|
|
2546
|
+
{ no: 7, name: "migrate_job", kind: "message", T: MigrateJobRequest, oneof: "message" },
|
|
2547
|
+
{ no: 8, name: "text_response", kind: "message", T: TextMessageResponse, oneof: "message" },
|
|
2548
|
+
{ no: 9, name: "push_text", kind: "message", T: PushTextRequest, oneof: "message" }
|
|
2538
2549
|
]
|
|
2539
2550
|
);
|
|
2540
2551
|
const ServerMessage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -2544,7 +2555,8 @@ const ServerMessage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
2544
2555
|
{ no: 2, name: "availability", kind: "message", T: AvailabilityRequest, oneof: "message" },
|
|
2545
2556
|
{ no: 3, name: "assignment", kind: "message", T: JobAssignment, oneof: "message" },
|
|
2546
2557
|
{ no: 5, name: "termination", kind: "message", T: JobTermination, oneof: "message" },
|
|
2547
|
-
{ no: 4, name: "pong", kind: "message", T: WorkerPong, oneof: "message" }
|
|
2558
|
+
{ no: 4, name: "pong", kind: "message", T: WorkerPong, oneof: "message" },
|
|
2559
|
+
{ no: 6, name: "text_request", kind: "message", T: TextMessageRequest, oneof: "message" }
|
|
2548
2560
|
]
|
|
2549
2561
|
);
|
|
2550
2562
|
const SimulateJobRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -2772,6 +2784,98 @@ const JobTermination = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
2772
2784
|
}
|
|
2773
2785
|
]
|
|
2774
2786
|
);
|
|
2787
|
+
const TextMessageRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
2788
|
+
"livekit.TextMessageRequest",
|
|
2789
|
+
() => [
|
|
2790
|
+
{
|
|
2791
|
+
no: 1,
|
|
2792
|
+
name: "message_id",
|
|
2793
|
+
kind: "scalar",
|
|
2794
|
+
T: 9
|
|
2795
|
+
/* ScalarType.STRING */
|
|
2796
|
+
},
|
|
2797
|
+
{
|
|
2798
|
+
no: 2,
|
|
2799
|
+
name: "session_id",
|
|
2800
|
+
kind: "scalar",
|
|
2801
|
+
T: 9
|
|
2802
|
+
/* ScalarType.STRING */
|
|
2803
|
+
},
|
|
2804
|
+
{
|
|
2805
|
+
no: 3,
|
|
2806
|
+
name: "agent_name",
|
|
2807
|
+
kind: "scalar",
|
|
2808
|
+
T: 9
|
|
2809
|
+
/* ScalarType.STRING */
|
|
2810
|
+
},
|
|
2811
|
+
{
|
|
2812
|
+
no: 4,
|
|
2813
|
+
name: "metadata",
|
|
2814
|
+
kind: "scalar",
|
|
2815
|
+
T: 9
|
|
2816
|
+
/* ScalarType.STRING */
|
|
2817
|
+
},
|
|
2818
|
+
{
|
|
2819
|
+
no: 5,
|
|
2820
|
+
name: "session_data",
|
|
2821
|
+
kind: "scalar",
|
|
2822
|
+
T: 12
|
|
2823
|
+
/* ScalarType.BYTES */
|
|
2824
|
+
},
|
|
2825
|
+
{
|
|
2826
|
+
no: 6,
|
|
2827
|
+
name: "text",
|
|
2828
|
+
kind: "scalar",
|
|
2829
|
+
T: 9
|
|
2830
|
+
/* ScalarType.STRING */
|
|
2831
|
+
}
|
|
2832
|
+
]
|
|
2833
|
+
);
|
|
2834
|
+
const PushTextRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
2835
|
+
"livekit.PushTextRequest",
|
|
2836
|
+
() => [
|
|
2837
|
+
{
|
|
2838
|
+
no: 1,
|
|
2839
|
+
name: "message_id",
|
|
2840
|
+
kind: "scalar",
|
|
2841
|
+
T: 9
|
|
2842
|
+
/* ScalarType.STRING */
|
|
2843
|
+
},
|
|
2844
|
+
{
|
|
2845
|
+
no: 2,
|
|
2846
|
+
name: "content",
|
|
2847
|
+
kind: "scalar",
|
|
2848
|
+
T: 9
|
|
2849
|
+
/* ScalarType.STRING */
|
|
2850
|
+
}
|
|
2851
|
+
]
|
|
2852
|
+
);
|
|
2853
|
+
const TextMessageResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
2854
|
+
"livekit.TextMessageResponse",
|
|
2855
|
+
() => [
|
|
2856
|
+
{
|
|
2857
|
+
no: 1,
|
|
2858
|
+
name: "message_id",
|
|
2859
|
+
kind: "scalar",
|
|
2860
|
+
T: 9
|
|
2861
|
+
/* ScalarType.STRING */
|
|
2862
|
+
},
|
|
2863
|
+
{
|
|
2864
|
+
no: 2,
|
|
2865
|
+
name: "session_data",
|
|
2866
|
+
kind: "scalar",
|
|
2867
|
+
T: 12
|
|
2868
|
+
/* ScalarType.BYTES */
|
|
2869
|
+
},
|
|
2870
|
+
{
|
|
2871
|
+
no: 3,
|
|
2872
|
+
name: "error",
|
|
2873
|
+
kind: "scalar",
|
|
2874
|
+
T: 9
|
|
2875
|
+
/* ScalarType.STRING */
|
|
2876
|
+
}
|
|
2877
|
+
]
|
|
2878
|
+
);
|
|
2775
2879
|
|
|
2776
2880
|
const CreateAgentDispatchRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
2777
2881
|
"livekit.CreateAgentDispatchRequest",
|
|
@@ -4073,7 +4177,8 @@ const ConnectionSettings = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
4073
4177
|
kind: "scalar",
|
|
4074
4178
|
T: 8
|
|
4075
4179
|
/* ScalarType.BOOL */
|
|
4076
|
-
}
|
|
4180
|
+
},
|
|
4181
|
+
{ no: 5, name: "auto_subscribe_data_track", kind: "scalar", T: 8, opt: true }
|
|
4077
4182
|
]
|
|
4078
4183
|
);
|
|
4079
4184
|
const JoinRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -4276,7 +4381,15 @@ const DisconnectWhatsAppCallRequest = /* @__PURE__ */ protobuf.proto3.makeMessag
|
|
|
4276
4381
|
kind: "scalar",
|
|
4277
4382
|
T: 9
|
|
4278
4383
|
/* ScalarType.STRING */
|
|
4279
|
-
}
|
|
4384
|
+
},
|
|
4385
|
+
{ no: 3, name: "disconnect_reason", kind: "enum", T: protobuf.proto3.getEnumType(DisconnectWhatsAppCallRequest_DisconnectReason) }
|
|
4386
|
+
]
|
|
4387
|
+
);
|
|
4388
|
+
const DisconnectWhatsAppCallRequest_DisconnectReason = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
4389
|
+
"livekit.DisconnectWhatsAppCallRequest.DisconnectReason",
|
|
4390
|
+
[
|
|
4391
|
+
{ no: 0, name: "BUSINESS_INITIATED" },
|
|
4392
|
+
{ no: 1, name: "USER_INITIATED" }
|
|
4280
4393
|
]
|
|
4281
4394
|
);
|
|
4282
4395
|
const DisconnectWhatsAppCallResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -7267,6 +7380,7 @@ const SIPDispatchRuleInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
7267
7380
|
/* ScalarType.BOOL */
|
|
7268
7381
|
},
|
|
7269
7382
|
{ no: 7, name: "inbound_numbers", kind: "scalar", T: 9, repeated: true },
|
|
7383
|
+
{ no: 13, name: "numbers", kind: "scalar", T: 9, repeated: true },
|
|
7270
7384
|
{
|
|
7271
7385
|
no: 5,
|
|
7272
7386
|
name: "name",
|
|
@@ -7709,7 +7823,14 @@ const SIPCallInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
7709
7823
|
/* ScalarType.STRING */
|
|
7710
7824
|
},
|
|
7711
7825
|
{ no: 26, name: "call_context", kind: "message", T: protobuf.Any, repeated: true },
|
|
7712
|
-
{ no: 27, name: "provider_info", kind: "message", T: ProviderInfo }
|
|
7826
|
+
{ no: 27, name: "provider_info", kind: "message", T: ProviderInfo },
|
|
7827
|
+
{
|
|
7828
|
+
no: 28,
|
|
7829
|
+
name: "sip_call_id",
|
|
7830
|
+
kind: "scalar",
|
|
7831
|
+
T: 9
|
|
7832
|
+
/* ScalarType.STRING */
|
|
7833
|
+
}
|
|
7713
7834
|
]
|
|
7714
7835
|
);
|
|
7715
7836
|
const SIPTransferInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -7896,7 +8017,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
7896
8017
|
]
|
|
7897
8018
|
);
|
|
7898
8019
|
|
|
7899
|
-
const version = "1.
|
|
8020
|
+
const version = "1.44.0";
|
|
7900
8021
|
|
|
7901
8022
|
exports.protoInt64 = protobuf.protoInt64;
|
|
7902
8023
|
exports.AcceptWhatsAppCallRequest = AcceptWhatsAppCallRequest;
|
|
@@ -7971,6 +8092,7 @@ exports.DirectFileOutput = DirectFileOutput;
|
|
|
7971
8092
|
exports.DisabledCodecs = DisabledCodecs;
|
|
7972
8093
|
exports.DisconnectReason = DisconnectReason;
|
|
7973
8094
|
exports.DisconnectWhatsAppCallRequest = DisconnectWhatsAppCallRequest;
|
|
8095
|
+
exports.DisconnectWhatsAppCallRequest_DisconnectReason = DisconnectWhatsAppCallRequest_DisconnectReason;
|
|
7974
8096
|
exports.DisconnectWhatsAppCallResponse = DisconnectWhatsAppCallResponse;
|
|
7975
8097
|
exports.EgressInfo = EgressInfo;
|
|
7976
8098
|
exports.EgressSourceType = EgressSourceType;
|
|
@@ -8069,6 +8191,7 @@ exports.ProviderType = ProviderType;
|
|
|
8069
8191
|
exports.ProxyConfig = ProxyConfig;
|
|
8070
8192
|
exports.PublishDataTrackRequest = PublishDataTrackRequest;
|
|
8071
8193
|
exports.PublishDataTrackResponse = PublishDataTrackResponse;
|
|
8194
|
+
exports.PushTextRequest = PushTextRequest;
|
|
8072
8195
|
exports.RTCPSenderReportState = RTCPSenderReportState;
|
|
8073
8196
|
exports.RTPDrift = RTPDrift;
|
|
8074
8197
|
exports.RTPForwarderState = RTPForwarderState;
|
|
@@ -8162,6 +8285,8 @@ exports.SubscriptionPermission = SubscriptionPermission;
|
|
|
8162
8285
|
exports.SubscriptionPermissionUpdate = SubscriptionPermissionUpdate;
|
|
8163
8286
|
exports.SubscriptionResponse = SubscriptionResponse;
|
|
8164
8287
|
exports.SyncState = SyncState;
|
|
8288
|
+
exports.TextMessageRequest = TextMessageRequest;
|
|
8289
|
+
exports.TextMessageResponse = TextMessageResponse;
|
|
8165
8290
|
exports.TimeSeriesMetric = TimeSeriesMetric;
|
|
8166
8291
|
exports.TimedVersion = TimedVersion;
|
|
8167
8292
|
exports.TokenPagination = TokenPagination;
|