@livekit/protocol 1.44.0 → 1.44.1
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 +43 -103
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +56 -137
- package/dist/index.d.mts +56 -137
- package/dist/index.d.ts +56 -137
- package/dist/index.mjs +44 -101
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/agent/livekit_agent_text_pb.d.ts +281 -0
- package/src/gen/agent/livekit_agent_text_pb.js +106 -0
- package/src/gen/livekit_agent_pb.d.ts +0 -134
- package/src/gen/livekit_agent_pb.js +0 -41
- package/src/gen/livekit_cloud_agent_pb.d.ts +360 -0
- package/src/gen/livekit_cloud_agent_pb.js +140 -0
- package/src/gen/livekit_egress_pb.d.ts +7 -2
- package/src/gen/livekit_egress_pb.js +1 -0
- package/src/gen/livekit_ingress_pb.d.ts +13 -1
- package/src/gen/livekit_ingress_pb.js +3 -1
- package/src/gen/livekit_models_pb.d.ts +36 -0
- package/src/gen/livekit_models_pb.js +5 -0
- package/src/gen/version.js +1 -1
package/dist/index.cjs
CHANGED
|
@@ -735,6 +735,13 @@ const ParticipantPermission = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
735
735
|
kind: "scalar",
|
|
736
736
|
T: 8
|
|
737
737
|
/* ScalarType.BOOL */
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
no: 13,
|
|
741
|
+
name: "can_manage_agent_session",
|
|
742
|
+
kind: "scalar",
|
|
743
|
+
T: 8
|
|
744
|
+
/* ScalarType.BOOL */
|
|
738
745
|
}
|
|
739
746
|
]
|
|
740
747
|
);
|
|
@@ -815,7 +822,14 @@ const ParticipantInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
815
822
|
} },
|
|
816
823
|
{ no: 16, name: "disconnect_reason", kind: "enum", T: protobuf.proto3.getEnumType(DisconnectReason) },
|
|
817
824
|
{ no: 18, name: "kind_details", kind: "enum", T: protobuf.proto3.getEnumType(ParticipantInfo_KindDetail), repeated: true },
|
|
818
|
-
{ no: 19, name: "data_tracks", kind: "message", T: DataTrackInfo, repeated: true }
|
|
825
|
+
{ no: 19, name: "data_tracks", kind: "message", T: DataTrackInfo, repeated: true },
|
|
826
|
+
{
|
|
827
|
+
no: 20,
|
|
828
|
+
name: "client_protocol",
|
|
829
|
+
kind: "scalar",
|
|
830
|
+
T: 5
|
|
831
|
+
/* ScalarType.INT32 */
|
|
832
|
+
}
|
|
819
833
|
]
|
|
820
834
|
);
|
|
821
835
|
const ParticipantInfo_State = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
@@ -1426,6 +1440,13 @@ const RpcRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
1426
1440
|
kind: "scalar",
|
|
1427
1441
|
T: 13
|
|
1428
1442
|
/* ScalarType.UINT32 */
|
|
1443
|
+
},
|
|
1444
|
+
{
|
|
1445
|
+
no: 6,
|
|
1446
|
+
name: "compressed_payload",
|
|
1447
|
+
kind: "scalar",
|
|
1448
|
+
T: 12
|
|
1449
|
+
/* ScalarType.BYTES */
|
|
1429
1450
|
}
|
|
1430
1451
|
]
|
|
1431
1452
|
);
|
|
@@ -1452,7 +1473,8 @@ const RpcResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
1452
1473
|
/* ScalarType.STRING */
|
|
1453
1474
|
},
|
|
1454
1475
|
{ no: 2, name: "payload", kind: "scalar", T: 9, oneof: "value" },
|
|
1455
|
-
{ no: 3, name: "error", kind: "message", T: RpcError, oneof: "value" }
|
|
1476
|
+
{ no: 3, name: "error", kind: "message", T: RpcError, oneof: "value" },
|
|
1477
|
+
{ no: 4, name: "compressed_payload", kind: "scalar", T: 12, oneof: "value" }
|
|
1456
1478
|
]
|
|
1457
1479
|
);
|
|
1458
1480
|
const RpcError = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -1622,6 +1644,13 @@ const ClientInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
1622
1644
|
kind: "scalar",
|
|
1623
1645
|
T: 9
|
|
1624
1646
|
/* ScalarType.STRING */
|
|
1647
|
+
},
|
|
1648
|
+
{
|
|
1649
|
+
no: 12,
|
|
1650
|
+
name: "client_protocol",
|
|
1651
|
+
kind: "scalar",
|
|
1652
|
+
T: 5
|
|
1653
|
+
/* ScalarType.INT32 */
|
|
1625
1654
|
}
|
|
1626
1655
|
]
|
|
1627
1656
|
);
|
|
@@ -2543,9 +2572,7 @@ const WorkerMessage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
2543
2572
|
{ no: 4, name: "update_job", kind: "message", T: UpdateJobStatus, oneof: "message" },
|
|
2544
2573
|
{ no: 5, name: "ping", kind: "message", T: WorkerPing, oneof: "message" },
|
|
2545
2574
|
{ no: 6, name: "simulate_job", kind: "message", T: SimulateJobRequest, 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" }
|
|
2575
|
+
{ no: 7, name: "migrate_job", kind: "message", T: MigrateJobRequest, oneof: "message" }
|
|
2549
2576
|
]
|
|
2550
2577
|
);
|
|
2551
2578
|
const ServerMessage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -2555,8 +2582,7 @@ const ServerMessage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
2555
2582
|
{ no: 2, name: "availability", kind: "message", T: AvailabilityRequest, oneof: "message" },
|
|
2556
2583
|
{ no: 3, name: "assignment", kind: "message", T: JobAssignment, oneof: "message" },
|
|
2557
2584
|
{ no: 5, name: "termination", kind: "message", T: JobTermination, 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" }
|
|
2585
|
+
{ no: 4, name: "pong", kind: "message", T: WorkerPong, oneof: "message" }
|
|
2560
2586
|
]
|
|
2561
2587
|
);
|
|
2562
2588
|
const SimulateJobRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -2784,98 +2810,6 @@ const JobTermination = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
2784
2810
|
}
|
|
2785
2811
|
]
|
|
2786
2812
|
);
|
|
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
|
-
);
|
|
2879
2813
|
|
|
2880
2814
|
const CreateAgentDispatchRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
2881
2815
|
"livekit.CreateAgentDispatchRequest",
|
|
@@ -5378,6 +5312,13 @@ const EgressInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5378
5312
|
kind: "scalar",
|
|
5379
5313
|
T: 8
|
|
5380
5314
|
/* ScalarType.BOOL */
|
|
5315
|
+
},
|
|
5316
|
+
{
|
|
5317
|
+
no: 27,
|
|
5318
|
+
name: "retry_count",
|
|
5319
|
+
kind: "scalar",
|
|
5320
|
+
T: 5
|
|
5321
|
+
/* ScalarType.INT32 */
|
|
5381
5322
|
}
|
|
5382
5323
|
]
|
|
5383
5324
|
);
|
|
@@ -6061,6 +6002,7 @@ const UpdateIngressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6061
6002
|
const ListIngressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
6062
6003
|
"livekit.ListIngressRequest",
|
|
6063
6004
|
() => [
|
|
6005
|
+
{ no: 3, name: "page_token", kind: "message", T: TokenPagination },
|
|
6064
6006
|
{
|
|
6065
6007
|
no: 1,
|
|
6066
6008
|
name: "room_name",
|
|
@@ -6080,6 +6022,7 @@ const ListIngressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6080
6022
|
const ListIngressResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
6081
6023
|
"livekit.ListIngressResponse",
|
|
6082
6024
|
() => [
|
|
6025
|
+
{ no: 2, name: "next_page_token", kind: "message", T: TokenPagination },
|
|
6083
6026
|
{ no: 1, name: "items", kind: "message", T: IngressInfo, repeated: true }
|
|
6084
6027
|
]
|
|
6085
6028
|
);
|
|
@@ -8017,7 +7960,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
8017
7960
|
]
|
|
8018
7961
|
);
|
|
8019
7962
|
|
|
8020
|
-
const version = "1.44.
|
|
7963
|
+
const version = "1.44.1";
|
|
8021
7964
|
|
|
8022
7965
|
exports.protoInt64 = protobuf.protoInt64;
|
|
8023
7966
|
exports.AcceptWhatsAppCallRequest = AcceptWhatsAppCallRequest;
|
|
@@ -8191,7 +8134,6 @@ exports.ProviderType = ProviderType;
|
|
|
8191
8134
|
exports.ProxyConfig = ProxyConfig;
|
|
8192
8135
|
exports.PublishDataTrackRequest = PublishDataTrackRequest;
|
|
8193
8136
|
exports.PublishDataTrackResponse = PublishDataTrackResponse;
|
|
8194
|
-
exports.PushTextRequest = PushTextRequest;
|
|
8195
8137
|
exports.RTCPSenderReportState = RTCPSenderReportState;
|
|
8196
8138
|
exports.RTPDrift = RTPDrift;
|
|
8197
8139
|
exports.RTPForwarderState = RTPForwarderState;
|
|
@@ -8285,8 +8227,6 @@ exports.SubscriptionPermission = SubscriptionPermission;
|
|
|
8285
8227
|
exports.SubscriptionPermissionUpdate = SubscriptionPermissionUpdate;
|
|
8286
8228
|
exports.SubscriptionResponse = SubscriptionResponse;
|
|
8287
8229
|
exports.SyncState = SyncState;
|
|
8288
|
-
exports.TextMessageRequest = TextMessageRequest;
|
|
8289
|
-
exports.TextMessageResponse = TextMessageResponse;
|
|
8290
8230
|
exports.TimeSeriesMetric = TimeSeriesMetric;
|
|
8291
8231
|
exports.TimedVersion = TimedVersion;
|
|
8292
8232
|
exports.TokenPagination = TokenPagination;
|