@livekit/protocol 1.51.0 → 1.52.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livekit/protocol",
3
- "version": "1.51.0",
3
+ "version": "1.52.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "require": "dist/index.cjs",
@@ -242,6 +242,29 @@ export declare class SimulationRun extends Message<SimulationRun> {
242
242
  */
243
243
  summaryZstd: Uint8Array;
244
244
 
245
+ /**
246
+ * How many issues the stored summary flagged. Present only once a summary
247
+ * landed — absent and 0 differ ("never summarized" vs "no issues") — and
248
+ * List responses carry it without the summary blob itself.
249
+ *
250
+ * @generated from field: optional int32 issue_count = 21;
251
+ */
252
+ issueCount?: number;
253
+
254
+ /**
255
+ * The pipeline this run came from; unset when it did not come from one.
256
+ *
257
+ * @generated from field: optional livekit.SimulationRun.CI ci = 22;
258
+ */
259
+ ci?: SimulationRun_CI;
260
+
261
+ /**
262
+ * Absent when the run ran each scenario once and required it to pass.
263
+ *
264
+ * @generated from field: optional livekit.SimulationRun.Sampling sampling = 23;
265
+ */
266
+ sampling?: SimulationRun_Sampling;
267
+
245
268
  constructor(data?: PartialMessage<SimulationRun>);
246
269
 
247
270
  static readonly runtime: typeof proto3;
@@ -368,6 +391,22 @@ export declare class SimulationRun_Job extends Message<SimulationRun_Job> {
368
391
  */
369
392
  metrics?: SimulationRun_JobMetrics;
370
393
 
394
+ /**
395
+ * The Scenario.id this job ran; empty for generated runs. Every sample
396
+ * of one scenario shares it, so a run's jobs group back into scenarios.
397
+ *
398
+ * @generated from field: string scenario_id = 15;
399
+ */
400
+ scenarioId: string;
401
+
402
+ /**
403
+ * 1-based sample of that scenario within the run; always 1 when the run's
404
+ * samples is 1.
405
+ *
406
+ * @generated from field: int32 sample = 16;
407
+ */
408
+ sample: number;
409
+
371
410
  constructor(data?: PartialMessage<SimulationRun_Job>);
372
411
 
373
412
  static readonly runtime: typeof proto3;
@@ -447,23 +486,18 @@ export declare class SimulationRun_Job_Usage extends Message<SimulationRun_Job_U
447
486
  */
448
487
  export declare class SimulationRun_JobMetrics extends Message<SimulationRun_JobMetrics> {
449
488
  /**
450
- * Headline scores, 0-1. All absent when the simulator spoiled the call.
489
+ * the scenario verdict as 1/0
451
490
  *
452
- * @generated from field: optional float accuracy_score = 1;
453
- */
454
- accuracyScore?: number;
455
-
456
- /**
457
- * @generated from field: optional float experience_score = 2;
491
+ * @generated from field: optional float task_completion = 3;
458
492
  */
459
- experienceScore?: number;
493
+ taskCompletion?: number;
460
494
 
461
495
  /**
462
- * the scenario verdict as 1/0
496
+ * weighted mean of the judged and heard scores
463
497
  *
464
- * @generated from field: optional float task_completion = 3;
498
+ * @generated from field: optional float overall_score = 20;
465
499
  */
466
- taskCompletion?: number;
500
+ overallScore?: number;
467
501
 
468
502
  /**
469
503
  * @generated from field: livekit.SimulationRun.JobMetrics.STT stt = 4;
@@ -1065,23 +1099,18 @@ export declare class SimulationRun_JobMetrics_Turn extends Message<SimulationRun
1065
1099
  */
1066
1100
  export declare class SimulationRun_RunMetrics extends Message<SimulationRun_RunMetrics> {
1067
1101
  /**
1068
- * mean over scored jobs
1102
+ * share of jobs whose scenario verdict passed
1069
1103
  *
1070
- * @generated from field: optional float accuracy_score = 1;
1071
- */
1072
- accuracyScore?: number;
1073
-
1074
- /**
1075
- * @generated from field: optional float experience_score = 2;
1104
+ * @generated from field: optional float scenario_pass_rate = 3;
1076
1105
  */
1077
- experienceScore?: number;
1106
+ scenarioPassRate?: number;
1078
1107
 
1079
1108
  /**
1080
- * share of jobs whose scenario verdict passed
1109
+ * mean over scored jobs
1081
1110
  *
1082
- * @generated from field: optional float scenario_pass_rate = 3;
1111
+ * @generated from field: optional float overall_score = 10;
1083
1112
  */
1084
- scenarioPassRate?: number;
1113
+ overallScore?: number;
1085
1114
 
1086
1115
  /**
1087
1116
  * @generated from field: livekit.SimulationRun.JobMetrics.STT stt = 4;
@@ -1130,6 +1159,103 @@ export declare class SimulationRun_RunMetrics extends Message<SimulationRun_RunM
1130
1159
  static equals(a: SimulationRun_RunMetrics | PlainMessage<SimulationRun_RunMetrics> | undefined, b: SimulationRun_RunMetrics | PlainMessage<SimulationRun_RunMetrics> | undefined): boolean;
1131
1160
  }
1132
1161
 
1162
+ /**
1163
+ * The pipeline this run came from. Set by the client from its CI
1164
+ * environment; absent for runs not started by a pipeline.
1165
+ *
1166
+ * @generated from message livekit.SimulationRun.CI
1167
+ */
1168
+ export declare class SimulationRun_CI extends Message<SimulationRun_CI> {
1169
+ /**
1170
+ * e.g. "github_actions"
1171
+ *
1172
+ * @generated from field: string provider = 1;
1173
+ */
1174
+ provider: string;
1175
+
1176
+ /**
1177
+ * @generated from field: string commit_sha = 2;
1178
+ */
1179
+ commitSha: string;
1180
+
1181
+ /**
1182
+ * branch or tag
1183
+ *
1184
+ * @generated from field: string ref = 3;
1185
+ */
1186
+ ref: string;
1187
+
1188
+ /**
1189
+ * @generated from field: string pull_request = 4;
1190
+ */
1191
+ pullRequest: string;
1192
+
1193
+ /**
1194
+ * link back to the CI job
1195
+ *
1196
+ * @generated from field: string run_url = 5;
1197
+ */
1198
+ runUrl: string;
1199
+
1200
+ /**
1201
+ * @generated from field: string actor = 6;
1202
+ */
1203
+ actor: string;
1204
+
1205
+ constructor(data?: PartialMessage<SimulationRun_CI>);
1206
+
1207
+ static readonly runtime: typeof proto3;
1208
+ static readonly typeName = "livekit.SimulationRun.CI";
1209
+ static readonly fields: FieldList;
1210
+
1211
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SimulationRun_CI;
1212
+
1213
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SimulationRun_CI;
1214
+
1215
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SimulationRun_CI;
1216
+
1217
+ static equals(a: SimulationRun_CI | PlainMessage<SimulationRun_CI> | undefined, b: SimulationRun_CI | PlainMessage<SimulationRun_CI> | undefined): boolean;
1218
+ }
1219
+
1220
+ /**
1221
+ * Runs each scenario more than once, so a flaky sample is distinguishable
1222
+ * from a broken scenario. Both fields are required when it is present.
1223
+ *
1224
+ * @generated from message livekit.SimulationRun.Sampling
1225
+ */
1226
+ export declare class SimulationRun_Sampling extends Message<SimulationRun_Sampling> {
1227
+ /**
1228
+ * Samples per scenario, > 1. The run holds scenarios × samples jobs,
1229
+ * subject to the usual job cap.
1230
+ *
1231
+ * @generated from field: int32 samples = 1;
1232
+ */
1233
+ samples: number;
1234
+
1235
+ /**
1236
+ * The share of a scenario's samples that must pass for that scenario to
1237
+ * pass, 0-1. A scenario needs round(rate × samples) of them, so 1
1238
+ * requires every sample and 0.67 of 3 requires 2.
1239
+ *
1240
+ * @generated from field: double pass_rate = 2;
1241
+ */
1242
+ passRate: number;
1243
+
1244
+ constructor(data?: PartialMessage<SimulationRun_Sampling>);
1245
+
1246
+ static readonly runtime: typeof proto3;
1247
+ static readonly typeName = "livekit.SimulationRun.Sampling";
1248
+ static readonly fields: FieldList;
1249
+
1250
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SimulationRun_Sampling;
1251
+
1252
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SimulationRun_Sampling;
1253
+
1254
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SimulationRun_Sampling;
1255
+
1256
+ static equals(a: SimulationRun_Sampling | PlainMessage<SimulationRun_Sampling> | undefined, b: SimulationRun_Sampling | PlainMessage<SimulationRun_Sampling> | undefined): boolean;
1257
+ }
1258
+
1133
1259
  /**
1134
1260
  * @generated from message livekit.SimulationRun.Create
1135
1261
  */
@@ -1213,6 +1339,20 @@ export declare class SimulationRun_Create_Request extends Message<SimulationRun_
1213
1339
  */
1214
1340
  packetLoss: boolean;
1215
1341
 
1342
+ /**
1343
+ * @generated from field: optional livekit.SimulationRun.CI ci = 13;
1344
+ */
1345
+ ci?: SimulationRun_CI;
1346
+
1347
+ /**
1348
+ * Absent runs each scenario once and requires it to pass. Requires
1349
+ * scenario_group. The run fails if any scenario fails; pass@k and
1350
+ * pass^k report over scenarios and neither gates.
1351
+ *
1352
+ * @generated from field: optional livekit.SimulationRun.Sampling sampling = 14;
1353
+ */
1354
+ sampling?: SimulationRun_Sampling;
1355
+
1216
1356
  constructor(data?: PartialMessage<SimulationRun_Create_Request>);
1217
1357
 
1218
1358
  static readonly runtime: typeof proto3;
@@ -1461,6 +1601,14 @@ export declare class SimulationRun_List_Request extends Message<SimulationRun_Li
1461
1601
  */
1462
1602
  agentName?: string;
1463
1603
 
1604
+ /**
1605
+ * Absent applies no mode filter. TEXT matches runs stored as TEXT or
1606
+ * UNSPECIFIED, which `SimulationRun.mode` defines as the same mode.
1607
+ *
1608
+ * @generated from field: optional livekit.SimulationMode mode = 7;
1609
+ */
1610
+ mode?: SimulationMode;
1611
+
1464
1612
  constructor(data?: PartialMessage<SimulationRun_List_Request>);
1465
1613
 
1466
1614
  static readonly runtime: typeof proto3;
@@ -1562,6 +1710,11 @@ export declare class SimulationRun_Counts_Request extends Message<SimulationRun_
1562
1710
  */
1563
1711
  agentName?: string;
1564
1712
 
1713
+ /**
1714
+ * @generated from field: optional livekit.SimulationMode mode = 6;
1715
+ */
1716
+ mode?: SimulationMode;
1717
+
1565
1718
  constructor(data?: PartialMessage<SimulationRun_Counts_Request>);
1566
1719
 
1567
1720
  static readonly runtime: typeof proto3;
@@ -1775,6 +1928,14 @@ export declare class Scenario extends Message<Scenario> {
1775
1928
  */
1776
1929
  userdata: string;
1777
1930
 
1931
+ /**
1932
+ * SCN_-prefixed guid. Stable across edits to label, instructions, or
1933
+ * expectations, so runs of the same scenario can be correlated over time.
1934
+ *
1935
+ * @generated from field: string id = 6;
1936
+ */
1937
+ id: string;
1938
+
1778
1939
  constructor(data?: PartialMessage<Scenario>);
1779
1940
 
1780
1941
  static readonly runtime: typeof proto3;
@@ -1883,6 +2044,14 @@ export declare class ScenarioGroup extends Message<ScenarioGroup> {
1883
2044
  */
1884
2045
  scenarios: Scenario[];
1885
2046
 
2047
+ /**
2048
+ * SCNG_-prefixed guid. Stable identity of the scenarios file, independent
2049
+ * of its name.
2050
+ *
2051
+ * @generated from field: string id = 3;
2052
+ */
2053
+ id: string;
2054
+
1886
2055
  constructor(data?: PartialMessage<ScenarioGroup>);
1887
2056
 
1888
2057
  static readonly runtime: typeof proto3;
@@ -89,6 +89,9 @@ export const SimulationRun = /*@__PURE__*/ proto3.makeMessageType(
89
89
  { no: 18, name: "mode", kind: "enum", T: proto3.getEnumType(SimulationMode) },
90
90
  { no: 19, name: "metrics", kind: "message", T: SimulationRun_RunMetrics },
91
91
  { no: 20, name: "summary_zstd", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
92
+ { no: 21, name: "issue_count", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
93
+ { no: 22, name: "ci", kind: "message", T: SimulationRun_CI, opt: true },
94
+ { no: 23, name: "sampling", kind: "message", T: SimulationRun_Sampling, opt: true },
92
95
  ],
93
96
  );
94
97
 
@@ -127,6 +130,8 @@ export const SimulationRun_Job = /*@__PURE__*/ proto3.makeMessageType(
127
130
  { no: 12, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
128
131
  { no: 13, name: "usage", kind: "message", T: SimulationRun_Job_Usage },
129
132
  { no: 14, name: "metrics", kind: "message", T: SimulationRun_JobMetrics },
133
+ { no: 15, name: "scenario_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
134
+ { no: 16, name: "sample", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
130
135
  ],
131
136
  {localName: "SimulationRun_Job"},
132
137
  );
@@ -163,9 +168,8 @@ export const SimulationRun_Job_Usage = /*@__PURE__*/ proto3.makeMessageType(
163
168
  export const SimulationRun_JobMetrics = /*@__PURE__*/ proto3.makeMessageType(
164
169
  "livekit.SimulationRun.JobMetrics",
165
170
  () => [
166
- { no: 1, name: "accuracy_score", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
167
- { no: 2, name: "experience_score", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
168
171
  { no: 3, name: "task_completion", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
172
+ { no: 20, name: "overall_score", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
169
173
  { no: 4, name: "stt", kind: "message", T: SimulationRun_JobMetrics_STT },
170
174
  { no: 5, name: "llm", kind: "message", T: SimulationRun_JobMetrics_LLM },
171
175
  { no: 6, name: "tts", kind: "message", T: SimulationRun_JobMetrics_TTS },
@@ -311,9 +315,8 @@ export const SimulationRun_JobMetrics_Turn = /*@__PURE__*/ proto3.makeMessageTyp
311
315
  export const SimulationRun_RunMetrics = /*@__PURE__*/ proto3.makeMessageType(
312
316
  "livekit.SimulationRun.RunMetrics",
313
317
  () => [
314
- { no: 1, name: "accuracy_score", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
315
- { no: 2, name: "experience_score", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
316
318
  { no: 3, name: "scenario_pass_rate", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
319
+ { no: 10, name: "overall_score", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
317
320
  { no: 4, name: "stt", kind: "message", T: SimulationRun_JobMetrics_STT },
318
321
  { no: 5, name: "llm", kind: "message", T: SimulationRun_JobMetrics_LLM },
319
322
  { no: 6, name: "tts", kind: "message", T: SimulationRun_JobMetrics_TTS },
@@ -324,6 +327,40 @@ export const SimulationRun_RunMetrics = /*@__PURE__*/ proto3.makeMessageType(
324
327
  {localName: "SimulationRun_RunMetrics"},
325
328
  );
326
329
 
330
+ /**
331
+ * The pipeline this run came from. Set by the client from its CI
332
+ * environment; absent for runs not started by a pipeline.
333
+ *
334
+ * @generated from message livekit.SimulationRun.CI
335
+ */
336
+ export const SimulationRun_CI = /*@__PURE__*/ proto3.makeMessageType(
337
+ "livekit.SimulationRun.CI",
338
+ () => [
339
+ { no: 1, name: "provider", kind: "scalar", T: 9 /* ScalarType.STRING */ },
340
+ { no: 2, name: "commit_sha", kind: "scalar", T: 9 /* ScalarType.STRING */ },
341
+ { no: 3, name: "ref", kind: "scalar", T: 9 /* ScalarType.STRING */ },
342
+ { no: 4, name: "pull_request", kind: "scalar", T: 9 /* ScalarType.STRING */ },
343
+ { no: 5, name: "run_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
344
+ { no: 6, name: "actor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
345
+ ],
346
+ {localName: "SimulationRun_CI"},
347
+ );
348
+
349
+ /**
350
+ * Runs each scenario more than once, so a flaky sample is distinguishable
351
+ * from a broken scenario. Both fields are required when it is present.
352
+ *
353
+ * @generated from message livekit.SimulationRun.Sampling
354
+ */
355
+ export const SimulationRun_Sampling = /*@__PURE__*/ proto3.makeMessageType(
356
+ "livekit.SimulationRun.Sampling",
357
+ () => [
358
+ { no: 1, name: "samples", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
359
+ { no: 2, name: "pass_rate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
360
+ ],
361
+ {localName: "SimulationRun_Sampling"},
362
+ );
363
+
327
364
  /**
328
365
  * @generated from message livekit.SimulationRun.Create
329
366
  */
@@ -349,6 +386,8 @@ export const SimulationRun_Create_Request = /*@__PURE__*/ proto3.makeMessageType
349
386
  { no: 10, name: "background_noise", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
350
387
  { no: 11, name: "low_quality_microphone", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
351
388
  { no: 12, name: "packet_loss", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
389
+ { no: 13, name: "ci", kind: "message", T: SimulationRun_CI, opt: true },
390
+ { no: 14, name: "sampling", kind: "message", T: SimulationRun_Sampling, opt: true },
352
391
  ],
353
392
  {localName: "SimulationRun_Create_Request"},
354
393
  );
@@ -449,6 +488,7 @@ export const SimulationRun_List_Request = /*@__PURE__*/ proto3.makeMessageType(
449
488
  { no: 4, name: "start_time", kind: "message", T: Timestamp, opt: true },
450
489
  { no: 5, name: "end_time", kind: "message", T: Timestamp, opt: true },
451
490
  { no: 6, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
491
+ { no: 7, name: "mode", kind: "enum", T: proto3.getEnumType(SimulationMode), opt: true },
452
492
  ],
453
493
  {localName: "SimulationRun_List_Request"},
454
494
  );
@@ -488,6 +528,7 @@ export const SimulationRun_Counts_Request = /*@__PURE__*/ proto3.makeMessageType
488
528
  { no: 3, name: "end_time", kind: "message", T: Timestamp },
489
529
  { no: 4, name: "status", kind: "enum", T: proto3.getEnumType(SimulationRun_Status), opt: true },
490
530
  { no: 5, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
531
+ { no: 6, name: "mode", kind: "enum", T: proto3.getEnumType(SimulationMode), opt: true },
491
532
  ],
492
533
  {localName: "SimulationRun_Counts_Request"},
493
534
  );
@@ -572,6 +613,7 @@ export const Scenario = /*@__PURE__*/ proto3.makeMessageType(
572
613
  { no: 3, name: "agent_expectations", kind: "scalar", T: 9 /* ScalarType.STRING */ },
573
614
  { no: 4, name: "tags", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
574
615
  { no: 5, name: "userdata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
616
+ { no: 6, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
575
617
  ],
576
618
  );
577
619
 
@@ -618,6 +660,7 @@ export const ScenarioGroup = /*@__PURE__*/ proto3.makeMessageType(
618
660
  () => [
619
661
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
620
662
  { no: 2, name: "scenarios", kind: "message", T: Scenario, repeated: true },
663
+ { no: 3, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
621
664
  ],
622
665
  );
623
666
 
@@ -2939,6 +2939,11 @@ export declare enum ClientInfo_SDK {
2939
2939
  * @generated from enum value: ESP32 = 14;
2940
2940
  */
2941
2941
  ESP32 = 14,
2942
+
2943
+ /**
2944
+ * @generated from enum value: DOTNET = 15;
2945
+ */
2946
+ DOTNET = 15,
2942
2947
  }
2943
2948
 
2944
2949
  /**
@@ -3358,12 +3363,32 @@ export declare class RTPStats extends Message<RTPStats> {
3358
3363
  rebasedReportDrift?: RTPDrift;
3359
3364
 
3360
3365
  /**
3361
- * NEXT_ID: 48
3362
- *
3363
3366
  * @generated from field: livekit.RTPDrift received_report_drift = 47;
3364
3367
  */
3365
3368
  receivedReportDrift?: RTPDrift;
3366
3369
 
3370
+ /**
3371
+ * @generated from field: uint32 fec_packets = 48;
3372
+ */
3373
+ fecPackets: number;
3374
+
3375
+ /**
3376
+ * @generated from field: uint64 fec_bytes = 49;
3377
+ */
3378
+ fecBytes: bigint;
3379
+
3380
+ /**
3381
+ * @generated from field: uint32 fec_packets_discarded = 50;
3382
+ */
3383
+ fecPacketsDiscarded: number;
3384
+
3385
+ /**
3386
+ * NEXT_ID: 52
3387
+ *
3388
+ * @generated from field: uint32 fec_packets_recovered = 51;
3389
+ */
3390
+ fecPacketsRecovered: number;
3391
+
3367
3392
  constructor(data?: PartialMessage<RTPStats>);
3368
3393
 
3369
3394
  static readonly runtime: typeof proto3;
@@ -964,6 +964,7 @@ export const ClientInfo_SDK = /*@__PURE__*/ proto3.makeEnum(
964
964
  {no: 12, name: "NODE"},
965
965
  {no: 13, name: "UNREAL"},
966
966
  {no: 14, name: "ESP32"},
967
+ {no: 15, name: "DOTNET"},
967
968
  ],
968
969
  );
969
970
 
@@ -1090,6 +1091,10 @@ export const RTPStats = /*@__PURE__*/ proto3.makeMessageType(
1090
1091
  { no: 45, name: "ntp_report_drift", kind: "message", T: RTPDrift },
1091
1092
  { no: 46, name: "rebased_report_drift", kind: "message", T: RTPDrift },
1092
1093
  { no: 47, name: "received_report_drift", kind: "message", T: RTPDrift },
1094
+ { no: 48, name: "fec_packets", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1095
+ { no: 49, name: "fec_bytes", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1096
+ { no: 50, name: "fec_packets_discarded", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1097
+ { no: 51, name: "fec_packets_recovered", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1093
1098
  ],
1094
1099
  );
1095
1100
 
@@ -42,13 +42,72 @@ export declare enum PhoneNumberStatus {
42
42
  RELEASED = 3,
43
43
 
44
44
  /**
45
- * Number is offline (not associated with any dispatch rule)
45
+ * Number is offline (provider is unreachable)
46
46
  *
47
47
  * @generated from enum value: PHONE_NUMBER_STATUS_OFFLINE = 4;
48
48
  */
49
49
  OFFLINE = 4,
50
50
  }
51
51
 
52
+ /**
53
+ * @generated from enum livekit.PhoneNumberInboundStatus
54
+ */
55
+ export declare enum PhoneNumberInboundStatus {
56
+ /**
57
+ * Default value
58
+ *
59
+ * @generated from enum value: PHONE_NUMBER_IN_STATUS_UNSPECIFIED = 0;
60
+ */
61
+ PHONE_NUMBER_IN_STATUS_UNSPECIFIED = 0,
62
+
63
+ /**
64
+ * Number is serving inbound calls
65
+ *
66
+ * @generated from enum value: PHONE_NUMBER_IN_STATUS_ACTIVE = 1;
67
+ */
68
+ PHONE_NUMBER_IN_STATUS_ACTIVE = 1,
69
+
70
+ /**
71
+ * Inbound calling is unavailable
72
+ *
73
+ * @generated from enum value: PHONE_NUMBER_IN_STATUS_UNAVAILABLE = 2;
74
+ */
75
+ PHONE_NUMBER_IN_STATUS_UNAVAILABLE = 2,
76
+
77
+ /**
78
+ * Number is not serving calls (not associated with dispatch rules)
79
+ *
80
+ * @generated from enum value: PHONE_NUMBER_IN_STATUS_DETACHED = 3;
81
+ */
82
+ PHONE_NUMBER_IN_STATUS_DETACHED = 3,
83
+ }
84
+
85
+ /**
86
+ * @generated from enum livekit.PhoneNumberOutboundStatus
87
+ */
88
+ export declare enum PhoneNumberOutboundStatus {
89
+ /**
90
+ * Default value
91
+ *
92
+ * @generated from enum value: PHONE_NUMBER_OUT_STATUS_UNSPECIFIED = 0;
93
+ */
94
+ PHONE_NUMBER_OUT_STATUS_UNSPECIFIED = 0,
95
+
96
+ /**
97
+ * Number is can be used to initiate outbound calls
98
+ *
99
+ * @generated from enum value: PHONE_NUMBER_OUT_STATUS_ACTIVE = 1;
100
+ */
101
+ PHONE_NUMBER_OUT_STATUS_ACTIVE = 1,
102
+
103
+ /**
104
+ * Outbound calling is unavailable
105
+ *
106
+ * @generated from enum value: PHONE_NUMBER_OUT_STATUS_UNAVAILABLE = 2;
107
+ */
108
+ PHONE_NUMBER_OUT_STATUS_UNAVAILABLE = 2,
109
+ }
110
+
52
111
  /**
53
112
  * Phone number type enumeration
54
113
  *
@@ -419,6 +478,11 @@ export declare class UpdatePhoneNumberRequest extends Message<UpdatePhoneNumberR
419
478
  */
420
479
  sipDispatchRuleId?: string;
421
480
 
481
+ /**
482
+ * @generated from field: optional string name = 4;
483
+ */
484
+ name?: string;
485
+
422
486
  constructor(data?: PartialMessage<UpdatePhoneNumberRequest>);
423
487
 
424
488
  static readonly runtime: typeof proto3;
@@ -533,6 +597,13 @@ export declare class PhoneNumber extends Message<PhoneNumber> {
533
597
  */
534
598
  id: string;
535
599
 
600
+ /**
601
+ * Human-readable name/label for the phone number
602
+ *
603
+ * @generated from field: string name = 17;
604
+ */
605
+ name: string;
606
+
536
607
  /**
537
608
  * Phone number in E.164 format (e.g., "+14155552671")
538
609
  *
@@ -610,6 +681,20 @@ export declare class PhoneNumber extends Message<PhoneNumber> {
610
681
  */
611
682
  status: PhoneNumberStatus;
612
683
 
684
+ /**
685
+ * Inbound calling status
686
+ *
687
+ * @generated from field: livekit.PhoneNumberInboundStatus inbound_status = 18;
688
+ */
689
+ inboundStatus: PhoneNumberInboundStatus;
690
+
691
+ /**
692
+ * Outbound calling status
693
+ *
694
+ * @generated from field: livekit.PhoneNumberOutboundStatus outbound_status = 19;
695
+ */
696
+ outboundStatus: PhoneNumberOutboundStatus;
697
+
613
698
  /**
614
699
  * Assignment timestamp
615
700
  *
@@ -22,6 +22,31 @@ export const PhoneNumberStatus = /*@__PURE__*/ proto3.makeEnum(
22
22
  ],
23
23
  );
24
24
 
25
+ /**
26
+ * @generated from enum livekit.PhoneNumberInboundStatus
27
+ */
28
+ export const PhoneNumberInboundStatus = /*@__PURE__*/ proto3.makeEnum(
29
+ "livekit.PhoneNumberInboundStatus",
30
+ [
31
+ {no: 0, name: "PHONE_NUMBER_IN_STATUS_UNSPECIFIED"},
32
+ {no: 1, name: "PHONE_NUMBER_IN_STATUS_ACTIVE"},
33
+ {no: 2, name: "PHONE_NUMBER_IN_STATUS_UNAVAILABLE"},
34
+ {no: 3, name: "PHONE_NUMBER_IN_STATUS_DETACHED"},
35
+ ],
36
+ );
37
+
38
+ /**
39
+ * @generated from enum livekit.PhoneNumberOutboundStatus
40
+ */
41
+ export const PhoneNumberOutboundStatus = /*@__PURE__*/ proto3.makeEnum(
42
+ "livekit.PhoneNumberOutboundStatus",
43
+ [
44
+ {no: 0, name: "PHONE_NUMBER_OUT_STATUS_UNSPECIFIED"},
45
+ {no: 1, name: "PHONE_NUMBER_OUT_STATUS_ACTIVE"},
46
+ {no: 2, name: "PHONE_NUMBER_OUT_STATUS_UNAVAILABLE"},
47
+ ],
48
+ );
49
+
25
50
  /**
26
51
  * Phone number type enumeration
27
52
  *
@@ -156,6 +181,7 @@ export const UpdatePhoneNumberRequest = /*@__PURE__*/ proto3.makeMessageType(
156
181
  { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
157
182
  { no: 2, name: "phone_number", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
158
183
  { no: 3, name: "sip_dispatch_rule_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
184
+ { no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
159
185
  ],
160
186
  );
161
187
 
@@ -205,6 +231,7 @@ export const PhoneNumber = /*@__PURE__*/ proto3.makeMessageType(
205
231
  "livekit.PhoneNumber",
206
232
  () => [
207
233
  { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
234
+ { no: 17, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
208
235
  { no: 2, name: "e164_format", kind: "scalar", T: 9 /* ScalarType.STRING */ },
209
236
  { no: 3, name: "country_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
210
237
  { no: 4, name: "area_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -216,6 +243,8 @@ export const PhoneNumber = /*@__PURE__*/ proto3.makeMessageType(
216
243
  { no: 10, name: "updated_at", kind: "message", T: Timestamp },
217
244
  { no: 11, name: "capabilities", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
218
245
  { no: 12, name: "status", kind: "enum", T: proto3.getEnumType(PhoneNumberStatus) },
246
+ { no: 18, name: "inbound_status", kind: "enum", T: proto3.getEnumType(PhoneNumberInboundStatus) },
247
+ { no: 19, name: "outbound_status", kind: "enum", T: proto3.getEnumType(PhoneNumberOutboundStatus) },
219
248
  { no: 13, name: "assigned_at", kind: "message", T: Timestamp },
220
249
  { no: 14, name: "released_at", kind: "message", T: Timestamp },
221
250
  { no: 15, name: "sip_dispatch_rule_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },