@livekit/protocol 1.32.1 → 1.34.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livekit/protocol",
3
- "version": "1.32.1",
3
+ "version": "1.34.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "require": "dist/index.cjs",
@@ -28,7 +28,7 @@
28
28
  "devDependencies": {
29
29
  "@bufbuild/protoc-gen-es": "^1.10.0",
30
30
  "genversion": "^3.2.0",
31
- "typescript": "5.5.4",
31
+ "typescript": "5.7.3",
32
32
  "unbuild": "^2.0.0"
33
33
  },
34
34
  "dependencies": {
@@ -34,6 +34,11 @@ export declare enum JobType {
34
34
  * @generated from enum value: JT_PUBLISHER = 1;
35
35
  */
36
36
  JT_PUBLISHER = 1,
37
+
38
+ /**
39
+ * @generated from enum value: JT_PARTICIPANT = 2;
40
+ */
41
+ JT_PARTICIPANT = 2,
37
42
  }
38
43
 
39
44
  /**
@@ -28,6 +28,7 @@ export const JobType = /*@__PURE__*/ proto3.makeEnum(
28
28
  [
29
29
  {no: 0, name: "JT_ROOM"},
30
30
  {no: 1, name: "JT_PUBLISHER"},
31
+ {no: 2, name: "JT_PARTICIPANT"},
31
32
  ],
32
33
  );
33
34
 
@@ -23,6 +23,7 @@ import type { ClientInfo, ParticipantInfo, ParticipantInfo_State, ReconnectReaso
23
23
  import type { EgressInfo } from "./livekit_egress_pb.js";
24
24
  import type { IngressInfo } from "./livekit_ingress_pb.js";
25
25
  import type { SIPCallInfo, SIPDispatchRuleInfo, SIPInboundTrunkInfo, SIPOutboundTrunkInfo } from "./livekit_sip_pb.js";
26
+ import type { CreateRoomRequest, DeleteRoomRequest, ListParticipantsRequest, ListRoomsRequest, MuteRoomTrackRequest, RoomParticipantIdentity, SendDataRequest, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateSubscriptionsRequest } from "./livekit_room_pb.js";
26
27
 
27
28
  /**
28
29
  * @generated from enum livekit.StreamType
@@ -232,6 +233,21 @@ export declare enum AnalyticsEventType {
232
233
  * @generated from enum value: SIP_CALL_ENDED = 39;
233
234
  */
234
235
  SIP_CALL_ENDED = 39,
236
+
237
+ /**
238
+ * @generated from enum value: REPORT = 40;
239
+ */
240
+ REPORT = 40,
241
+
242
+ /**
243
+ * @generated from enum value: API_CALL = 41;
244
+ */
245
+ API_CALL = 41,
246
+
247
+ /**
248
+ * @generated from enum value: WEBHOOK = 42;
249
+ */
250
+ WEBHOOK = 42,
235
251
  }
236
252
 
237
253
  /**
@@ -721,6 +737,21 @@ export declare class AnalyticsEvent extends Message<AnalyticsEvent> {
721
737
  */
722
738
  sipDispatchRule?: SIPDispatchRuleInfo;
723
739
 
740
+ /**
741
+ * @generated from field: livekit.ReportInfo report = 33;
742
+ */
743
+ report?: ReportInfo;
744
+
745
+ /**
746
+ * @generated from field: livekit.APICallInfo api_call = 34;
747
+ */
748
+ apiCall?: APICallInfo;
749
+
750
+ /**
751
+ * @generated from field: livekit.WebhookInfo webhook = 35;
752
+ */
753
+ webhook?: WebhookInfo;
754
+
724
755
  constructor(data?: PartialMessage<AnalyticsEvent>);
725
756
 
726
757
  static readonly runtime: typeof proto3;
@@ -887,3 +918,447 @@ export declare class AnalyticsNodeRooms extends Message<AnalyticsNodeRooms> {
887
918
  static equals(a: AnalyticsNodeRooms | PlainMessage<AnalyticsNodeRooms> | undefined, b: AnalyticsNodeRooms | PlainMessage<AnalyticsNodeRooms> | undefined): boolean;
888
919
  }
889
920
 
921
+ /**
922
+ * @generated from message livekit.ReportInfo
923
+ */
924
+ export declare class ReportInfo extends Message<ReportInfo> {
925
+ /**
926
+ * @generated from oneof livekit.ReportInfo.message
927
+ */
928
+ message: {
929
+ /**
930
+ * @generated from field: livekit.FeatureUsageInfo feature_usage = 1;
931
+ */
932
+ value: FeatureUsageInfo;
933
+ case: "featureUsage";
934
+ } | { case: undefined; value?: undefined };
935
+
936
+ constructor(data?: PartialMessage<ReportInfo>);
937
+
938
+ static readonly runtime: typeof proto3;
939
+ static readonly typeName = "livekit.ReportInfo";
940
+ static readonly fields: FieldList;
941
+
942
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ReportInfo;
943
+
944
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ReportInfo;
945
+
946
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ReportInfo;
947
+
948
+ static equals(a: ReportInfo | PlainMessage<ReportInfo> | undefined, b: ReportInfo | PlainMessage<ReportInfo> | undefined): boolean;
949
+ }
950
+
951
+ /**
952
+ * @generated from message livekit.TimeRange
953
+ */
954
+ export declare class TimeRange extends Message<TimeRange> {
955
+ /**
956
+ * @generated from field: google.protobuf.Timestamp started_at = 1;
957
+ */
958
+ startedAt?: Timestamp;
959
+
960
+ /**
961
+ * @generated from field: google.protobuf.Timestamp ended_at = 2;
962
+ */
963
+ endedAt?: Timestamp;
964
+
965
+ constructor(data?: PartialMessage<TimeRange>);
966
+
967
+ static readonly runtime: typeof proto3;
968
+ static readonly typeName = "livekit.TimeRange";
969
+ static readonly fields: FieldList;
970
+
971
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TimeRange;
972
+
973
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TimeRange;
974
+
975
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TimeRange;
976
+
977
+ static equals(a: TimeRange | PlainMessage<TimeRange> | undefined, b: TimeRange | PlainMessage<TimeRange> | undefined): boolean;
978
+ }
979
+
980
+ /**
981
+ * @generated from message livekit.FeatureUsageInfo
982
+ */
983
+ export declare class FeatureUsageInfo extends Message<FeatureUsageInfo> {
984
+ /**
985
+ * @generated from field: livekit.FeatureUsageInfo.Feature feature = 1;
986
+ */
987
+ feature: FeatureUsageInfo_Feature;
988
+
989
+ /**
990
+ * @generated from field: string project_id = 2;
991
+ */
992
+ projectId: string;
993
+
994
+ /**
995
+ * @generated from field: string room_name = 3;
996
+ */
997
+ roomName: string;
998
+
999
+ /**
1000
+ * @generated from field: string room_id = 4;
1001
+ */
1002
+ roomId: string;
1003
+
1004
+ /**
1005
+ * @generated from field: string participant_identity = 5;
1006
+ */
1007
+ participantIdentity: string;
1008
+
1009
+ /**
1010
+ * @generated from field: string participant_id = 6;
1011
+ */
1012
+ participantId: string;
1013
+
1014
+ /**
1015
+ * @generated from field: string track_id = 7;
1016
+ */
1017
+ trackId: string;
1018
+
1019
+ /**
1020
+ * time ranges during which the feature was enabled.
1021
+ * for e. g., noise cancellation may not be applied when a media track is paused/muted,
1022
+ * this allows reporting only periods during which a feature is avtive.
1023
+ *
1024
+ * @generated from field: repeated livekit.TimeRange time_ranges = 8;
1025
+ */
1026
+ timeRanges: TimeRange[];
1027
+
1028
+ constructor(data?: PartialMessage<FeatureUsageInfo>);
1029
+
1030
+ static readonly runtime: typeof proto3;
1031
+ static readonly typeName = "livekit.FeatureUsageInfo";
1032
+ static readonly fields: FieldList;
1033
+
1034
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FeatureUsageInfo;
1035
+
1036
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FeatureUsageInfo;
1037
+
1038
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FeatureUsageInfo;
1039
+
1040
+ static equals(a: FeatureUsageInfo | PlainMessage<FeatureUsageInfo> | undefined, b: FeatureUsageInfo | PlainMessage<FeatureUsageInfo> | undefined): boolean;
1041
+ }
1042
+
1043
+ /**
1044
+ * @generated from enum livekit.FeatureUsageInfo.Feature
1045
+ */
1046
+ export declare enum FeatureUsageInfo_Feature {
1047
+ /**
1048
+ * @generated from enum value: KRISP_NOISE_CANCELLATION = 0;
1049
+ */
1050
+ KRISP_NOISE_CANCELLATION = 0,
1051
+
1052
+ /**
1053
+ * @generated from enum value: KRISP_BACKGROUND_VOICE_CANCELLATION = 1;
1054
+ */
1055
+ KRISP_BACKGROUND_VOICE_CANCELLATION = 1,
1056
+ }
1057
+
1058
+ /**
1059
+ * @generated from message livekit.APICallRequest
1060
+ */
1061
+ export declare class APICallRequest extends Message<APICallRequest> {
1062
+ /**
1063
+ * @generated from oneof livekit.APICallRequest.message
1064
+ */
1065
+ message: {
1066
+ /**
1067
+ * @generated from field: livekit.CreateRoomRequest create_room_request = 1;
1068
+ */
1069
+ value: CreateRoomRequest;
1070
+ case: "createRoomRequest";
1071
+ } | {
1072
+ /**
1073
+ * @generated from field: livekit.ListRoomsRequest list_rooms_request = 2;
1074
+ */
1075
+ value: ListRoomsRequest;
1076
+ case: "listRoomsRequest";
1077
+ } | {
1078
+ /**
1079
+ * @generated from field: livekit.DeleteRoomRequest delete_room_request = 3;
1080
+ */
1081
+ value: DeleteRoomRequest;
1082
+ case: "deleteRoomRequest";
1083
+ } | {
1084
+ /**
1085
+ * @generated from field: livekit.ListParticipantsRequest list_participants_request = 4;
1086
+ */
1087
+ value: ListParticipantsRequest;
1088
+ case: "listParticipantsRequest";
1089
+ } | {
1090
+ /**
1091
+ * @generated from field: livekit.RoomParticipantIdentity room_participant_identity = 5;
1092
+ */
1093
+ value: RoomParticipantIdentity;
1094
+ case: "roomParticipantIdentity";
1095
+ } | {
1096
+ /**
1097
+ * @generated from field: livekit.MuteRoomTrackRequest mute_room_track_request = 6;
1098
+ */
1099
+ value: MuteRoomTrackRequest;
1100
+ case: "muteRoomTrackRequest";
1101
+ } | {
1102
+ /**
1103
+ * @generated from field: livekit.UpdateParticipantRequest update_participant_request = 7;
1104
+ */
1105
+ value: UpdateParticipantRequest;
1106
+ case: "updateParticipantRequest";
1107
+ } | {
1108
+ /**
1109
+ * @generated from field: livekit.UpdateSubscriptionsRequest update_subscriptions_request = 8;
1110
+ */
1111
+ value: UpdateSubscriptionsRequest;
1112
+ case: "updateSubscriptionsRequest";
1113
+ } | {
1114
+ /**
1115
+ * @generated from field: livekit.SendDataRequest send_data_request = 9;
1116
+ */
1117
+ value: SendDataRequest;
1118
+ case: "sendDataRequest";
1119
+ } | {
1120
+ /**
1121
+ * @generated from field: livekit.UpdateRoomMetadataRequest update_room_metadata_request = 10;
1122
+ */
1123
+ value: UpdateRoomMetadataRequest;
1124
+ case: "updateRoomMetadataRequest";
1125
+ } | { case: undefined; value?: undefined };
1126
+
1127
+ constructor(data?: PartialMessage<APICallRequest>);
1128
+
1129
+ static readonly runtime: typeof proto3;
1130
+ static readonly typeName = "livekit.APICallRequest";
1131
+ static readonly fields: FieldList;
1132
+
1133
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): APICallRequest;
1134
+
1135
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): APICallRequest;
1136
+
1137
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): APICallRequest;
1138
+
1139
+ static equals(a: APICallRequest | PlainMessage<APICallRequest> | undefined, b: APICallRequest | PlainMessage<APICallRequest> | undefined): boolean;
1140
+ }
1141
+
1142
+ /**
1143
+ * @generated from message livekit.APICallInfo
1144
+ */
1145
+ export declare class APICallInfo extends Message<APICallInfo> {
1146
+ /**
1147
+ * @generated from field: string project_id = 1;
1148
+ */
1149
+ projectId: string;
1150
+
1151
+ /**
1152
+ * @generated from field: livekit.APICallRequest request = 2;
1153
+ */
1154
+ request?: APICallRequest;
1155
+
1156
+ /**
1157
+ * @generated from field: string service = 3;
1158
+ */
1159
+ service: string;
1160
+
1161
+ /**
1162
+ * @generated from field: string method = 4;
1163
+ */
1164
+ method: string;
1165
+
1166
+ /**
1167
+ * @generated from field: string node_id = 5;
1168
+ */
1169
+ nodeId: string;
1170
+
1171
+ /**
1172
+ * @generated from field: int32 status = 6;
1173
+ */
1174
+ status: number;
1175
+
1176
+ /**
1177
+ * @generated from field: string twirp_error_code = 7;
1178
+ */
1179
+ twirpErrorCode: string;
1180
+
1181
+ /**
1182
+ * @generated from field: string twirp_error_message = 8;
1183
+ */
1184
+ twirpErrorMessage: string;
1185
+
1186
+ /**
1187
+ * @generated from field: string room_name = 9;
1188
+ */
1189
+ roomName: string;
1190
+
1191
+ /**
1192
+ * @generated from field: string room_id = 10;
1193
+ */
1194
+ roomId: string;
1195
+
1196
+ /**
1197
+ * @generated from field: string participant_identity = 11;
1198
+ */
1199
+ participantIdentity: string;
1200
+
1201
+ /**
1202
+ * @generated from field: string participant_id = 12;
1203
+ */
1204
+ participantId: string;
1205
+
1206
+ /**
1207
+ * @generated from field: string track_id = 13;
1208
+ */
1209
+ trackId: string;
1210
+
1211
+ /**
1212
+ * @generated from field: google.protobuf.Timestamp started_at = 14;
1213
+ */
1214
+ startedAt?: Timestamp;
1215
+
1216
+ /**
1217
+ * @generated from field: int64 duration_ns = 15;
1218
+ */
1219
+ durationNs: bigint;
1220
+
1221
+ constructor(data?: PartialMessage<APICallInfo>);
1222
+
1223
+ static readonly runtime: typeof proto3;
1224
+ static readonly typeName = "livekit.APICallInfo";
1225
+ static readonly fields: FieldList;
1226
+
1227
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): APICallInfo;
1228
+
1229
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): APICallInfo;
1230
+
1231
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): APICallInfo;
1232
+
1233
+ static equals(a: APICallInfo | PlainMessage<APICallInfo> | undefined, b: APICallInfo | PlainMessage<APICallInfo> | undefined): boolean;
1234
+ }
1235
+
1236
+ /**
1237
+ * @generated from message livekit.WebhookInfo
1238
+ */
1239
+ export declare class WebhookInfo extends Message<WebhookInfo> {
1240
+ /**
1241
+ * @generated from field: string event_id = 1;
1242
+ */
1243
+ eventId: string;
1244
+
1245
+ /**
1246
+ * @generated from field: string event = 2;
1247
+ */
1248
+ event: string;
1249
+
1250
+ /**
1251
+ * @generated from field: string project_id = 3;
1252
+ */
1253
+ projectId: string;
1254
+
1255
+ /**
1256
+ * @generated from field: string room_name = 4;
1257
+ */
1258
+ roomName: string;
1259
+
1260
+ /**
1261
+ * @generated from field: string room_id = 5;
1262
+ */
1263
+ roomId: string;
1264
+
1265
+ /**
1266
+ * @generated from field: string participant_identity = 6;
1267
+ */
1268
+ participantIdentity: string;
1269
+
1270
+ /**
1271
+ * @generated from field: string participant_id = 7;
1272
+ */
1273
+ participantId: string;
1274
+
1275
+ /**
1276
+ * @generated from field: string track_id = 8;
1277
+ */
1278
+ trackId: string;
1279
+
1280
+ /**
1281
+ * @generated from field: string egress_id = 9;
1282
+ */
1283
+ egressId: string;
1284
+
1285
+ /**
1286
+ * @generated from field: string ingress_id = 10;
1287
+ */
1288
+ ingressId: string;
1289
+
1290
+ /**
1291
+ * @generated from field: google.protobuf.Timestamp created_at = 11;
1292
+ */
1293
+ createdAt?: Timestamp;
1294
+
1295
+ /**
1296
+ * @generated from field: google.protobuf.Timestamp queued_at = 12;
1297
+ */
1298
+ queuedAt?: Timestamp;
1299
+
1300
+ /**
1301
+ * @generated from field: int64 queue_duration_ns = 13;
1302
+ */
1303
+ queueDurationNs: bigint;
1304
+
1305
+ /**
1306
+ * @generated from field: google.protobuf.Timestamp sent_at = 14;
1307
+ */
1308
+ sentAt?: Timestamp;
1309
+
1310
+ /**
1311
+ * @generated from field: int64 send_duration_ns = 15;
1312
+ */
1313
+ sendDurationNs: bigint;
1314
+
1315
+ /**
1316
+ * @generated from field: string url = 16;
1317
+ */
1318
+ url: string;
1319
+
1320
+ /**
1321
+ * @generated from field: int32 num_dropped = 17;
1322
+ */
1323
+ numDropped: number;
1324
+
1325
+ /**
1326
+ * @generated from field: bool is_dropped = 18;
1327
+ */
1328
+ isDropped: boolean;
1329
+
1330
+ /**
1331
+ * @generated from field: string service_status = 19;
1332
+ */
1333
+ serviceStatus: string;
1334
+
1335
+ /**
1336
+ * @generated from field: int32 service_error_code = 20;
1337
+ */
1338
+ serviceErrorCode: number;
1339
+
1340
+ /**
1341
+ * @generated from field: string service_error = 21;
1342
+ */
1343
+ serviceError: string;
1344
+
1345
+ /**
1346
+ * @generated from field: string send_error = 22;
1347
+ */
1348
+ sendError: string;
1349
+
1350
+ constructor(data?: PartialMessage<WebhookInfo>);
1351
+
1352
+ static readonly runtime: typeof proto3;
1353
+ static readonly typeName = "livekit.WebhookInfo";
1354
+ static readonly fields: FieldList;
1355
+
1356
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebhookInfo;
1357
+
1358
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebhookInfo;
1359
+
1360
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebhookInfo;
1361
+
1362
+ static equals(a: WebhookInfo | PlainMessage<WebhookInfo> | undefined, b: WebhookInfo | PlainMessage<WebhookInfo> | undefined): boolean;
1363
+ }
1364
+
@@ -22,6 +22,7 @@ import { ClientInfo, ParticipantInfo, ParticipantInfo_State, ReconnectReason, Ro
22
22
  import { EgressInfo } from "./livekit_egress_pb.js";
23
23
  import { IngressInfo } from "./livekit_ingress_pb.js";
24
24
  import { SIPCallInfo, SIPDispatchRuleInfo, SIPInboundTrunkInfo, SIPOutboundTrunkInfo } from "./livekit_sip_pb.js";
25
+ import { CreateRoomRequest, DeleteRoomRequest, ListParticipantsRequest, ListRoomsRequest, MuteRoomTrackRequest, RoomParticipantIdentity, SendDataRequest, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateSubscriptionsRequest } from "./livekit_room_pb.js";
25
26
 
26
27
  /**
27
28
  * @generated from enum livekit.StreamType
@@ -78,6 +79,9 @@ export const AnalyticsEventType = /*@__PURE__*/ proto3.makeEnum(
78
79
  {no: 37, name: "SIP_CALL_INCOMING"},
79
80
  {no: 38, name: "SIP_CALL_STARTED"},
80
81
  {no: 39, name: "SIP_CALL_ENDED"},
82
+ {no: 40, name: "REPORT"},
83
+ {no: 41, name: "API_CALL"},
84
+ {no: 42, name: "WEBHOOK"},
81
85
  ],
82
86
  );
83
87
 
@@ -208,6 +212,9 @@ export const AnalyticsEvent = /*@__PURE__*/ proto3.makeMessageType(
208
212
  { no: 30, name: "sip_outbound_trunk", kind: "message", T: SIPOutboundTrunkInfo },
209
213
  { no: 31, name: "sip_dispatch_rule_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
210
214
  { no: 32, name: "sip_dispatch_rule", kind: "message", T: SIPDispatchRuleInfo },
215
+ { no: 33, name: "report", kind: "message", T: ReportInfo },
216
+ { no: 34, name: "api_call", kind: "message", T: APICallInfo },
217
+ { no: 35, name: "webhook", kind: "message", T: WebhookInfo },
211
218
  ],
212
219
  );
213
220
 
@@ -262,3 +269,126 @@ export const AnalyticsNodeRooms = /*@__PURE__*/ proto3.makeMessageType(
262
269
  ],
263
270
  );
264
271
 
272
+ /**
273
+ * @generated from message livekit.ReportInfo
274
+ */
275
+ export const ReportInfo = /*@__PURE__*/ proto3.makeMessageType(
276
+ "livekit.ReportInfo",
277
+ () => [
278
+ { no: 1, name: "feature_usage", kind: "message", T: FeatureUsageInfo, oneof: "message" },
279
+ ],
280
+ );
281
+
282
+ /**
283
+ * @generated from message livekit.TimeRange
284
+ */
285
+ export const TimeRange = /*@__PURE__*/ proto3.makeMessageType(
286
+ "livekit.TimeRange",
287
+ () => [
288
+ { no: 1, name: "started_at", kind: "message", T: Timestamp },
289
+ { no: 2, name: "ended_at", kind: "message", T: Timestamp },
290
+ ],
291
+ );
292
+
293
+ /**
294
+ * @generated from message livekit.FeatureUsageInfo
295
+ */
296
+ export const FeatureUsageInfo = /*@__PURE__*/ proto3.makeMessageType(
297
+ "livekit.FeatureUsageInfo",
298
+ () => [
299
+ { no: 1, name: "feature", kind: "enum", T: proto3.getEnumType(FeatureUsageInfo_Feature) },
300
+ { no: 2, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
301
+ { no: 3, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
302
+ { no: 4, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
303
+ { no: 5, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
304
+ { no: 6, name: "participant_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
305
+ { no: 7, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
306
+ { no: 8, name: "time_ranges", kind: "message", T: TimeRange, repeated: true },
307
+ ],
308
+ );
309
+
310
+ /**
311
+ * @generated from enum livekit.FeatureUsageInfo.Feature
312
+ */
313
+ export const FeatureUsageInfo_Feature = /*@__PURE__*/ proto3.makeEnum(
314
+ "livekit.FeatureUsageInfo.Feature",
315
+ [
316
+ {no: 0, name: "KRISP_NOISE_CANCELLATION"},
317
+ {no: 1, name: "KRISP_BACKGROUND_VOICE_CANCELLATION"},
318
+ ],
319
+ );
320
+
321
+ /**
322
+ * @generated from message livekit.APICallRequest
323
+ */
324
+ export const APICallRequest = /*@__PURE__*/ proto3.makeMessageType(
325
+ "livekit.APICallRequest",
326
+ () => [
327
+ { no: 1, name: "create_room_request", kind: "message", T: CreateRoomRequest, oneof: "message" },
328
+ { no: 2, name: "list_rooms_request", kind: "message", T: ListRoomsRequest, oneof: "message" },
329
+ { no: 3, name: "delete_room_request", kind: "message", T: DeleteRoomRequest, oneof: "message" },
330
+ { no: 4, name: "list_participants_request", kind: "message", T: ListParticipantsRequest, oneof: "message" },
331
+ { no: 5, name: "room_participant_identity", kind: "message", T: RoomParticipantIdentity, oneof: "message" },
332
+ { no: 6, name: "mute_room_track_request", kind: "message", T: MuteRoomTrackRequest, oneof: "message" },
333
+ { no: 7, name: "update_participant_request", kind: "message", T: UpdateParticipantRequest, oneof: "message" },
334
+ { no: 8, name: "update_subscriptions_request", kind: "message", T: UpdateSubscriptionsRequest, oneof: "message" },
335
+ { no: 9, name: "send_data_request", kind: "message", T: SendDataRequest, oneof: "message" },
336
+ { no: 10, name: "update_room_metadata_request", kind: "message", T: UpdateRoomMetadataRequest, oneof: "message" },
337
+ ],
338
+ );
339
+
340
+ /**
341
+ * @generated from message livekit.APICallInfo
342
+ */
343
+ export const APICallInfo = /*@__PURE__*/ proto3.makeMessageType(
344
+ "livekit.APICallInfo",
345
+ () => [
346
+ { no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
347
+ { no: 2, name: "request", kind: "message", T: APICallRequest },
348
+ { no: 3, name: "service", kind: "scalar", T: 9 /* ScalarType.STRING */ },
349
+ { no: 4, name: "method", kind: "scalar", T: 9 /* ScalarType.STRING */ },
350
+ { no: 5, name: "node_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
351
+ { no: 6, name: "status", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
352
+ { no: 7, name: "twirp_error_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
353
+ { no: 8, name: "twirp_error_message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
354
+ { no: 9, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
355
+ { no: 10, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
356
+ { no: 11, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
357
+ { no: 12, name: "participant_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
358
+ { no: 13, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
359
+ { no: 14, name: "started_at", kind: "message", T: Timestamp },
360
+ { no: 15, name: "duration_ns", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
361
+ ],
362
+ );
363
+
364
+ /**
365
+ * @generated from message livekit.WebhookInfo
366
+ */
367
+ export const WebhookInfo = /*@__PURE__*/ proto3.makeMessageType(
368
+ "livekit.WebhookInfo",
369
+ () => [
370
+ { no: 1, name: "event_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
371
+ { no: 2, name: "event", kind: "scalar", T: 9 /* ScalarType.STRING */ },
372
+ { no: 3, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
373
+ { no: 4, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
374
+ { no: 5, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
375
+ { no: 6, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
376
+ { no: 7, name: "participant_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
377
+ { no: 8, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
378
+ { no: 9, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
379
+ { no: 10, name: "ingress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
380
+ { no: 11, name: "created_at", kind: "message", T: Timestamp },
381
+ { no: 12, name: "queued_at", kind: "message", T: Timestamp },
382
+ { no: 13, name: "queue_duration_ns", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
383
+ { no: 14, name: "sent_at", kind: "message", T: Timestamp },
384
+ { no: 15, name: "send_duration_ns", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
385
+ { no: 16, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
386
+ { no: 17, name: "num_dropped", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
387
+ { no: 18, name: "is_dropped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
388
+ { no: 19, name: "service_status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
389
+ { no: 20, name: "service_error_code", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
390
+ { no: 21, name: "service_error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
391
+ { no: 22, name: "send_error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
392
+ ],
393
+ );
394
+