@livekit/protocol 1.51.0 → 1.52.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.51.0",
3
+ "version": "1.52.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "require": "dist/index.cjs",
@@ -242,6 +242,22 @@ 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
+
245
261
  constructor(data?: PartialMessage<SimulationRun>);
246
262
 
247
263
  static readonly runtime: typeof proto3;
@@ -447,23 +463,18 @@ export declare class SimulationRun_Job_Usage extends Message<SimulationRun_Job_U
447
463
  */
448
464
  export declare class SimulationRun_JobMetrics extends Message<SimulationRun_JobMetrics> {
449
465
  /**
450
- * Headline scores, 0-1. All absent when the simulator spoiled the call.
466
+ * the scenario verdict as 1/0
451
467
  *
452
- * @generated from field: optional float accuracy_score = 1;
453
- */
454
- accuracyScore?: number;
455
-
456
- /**
457
- * @generated from field: optional float experience_score = 2;
468
+ * @generated from field: optional float task_completion = 3;
458
469
  */
459
- experienceScore?: number;
470
+ taskCompletion?: number;
460
471
 
461
472
  /**
462
- * the scenario verdict as 1/0
473
+ * weighted mean of the judged and heard scores
463
474
  *
464
- * @generated from field: optional float task_completion = 3;
475
+ * @generated from field: optional float overall_score = 20;
465
476
  */
466
- taskCompletion?: number;
477
+ overallScore?: number;
467
478
 
468
479
  /**
469
480
  * @generated from field: livekit.SimulationRun.JobMetrics.STT stt = 4;
@@ -1065,23 +1076,18 @@ export declare class SimulationRun_JobMetrics_Turn extends Message<SimulationRun
1065
1076
  */
1066
1077
  export declare class SimulationRun_RunMetrics extends Message<SimulationRun_RunMetrics> {
1067
1078
  /**
1068
- * mean over scored jobs
1079
+ * share of jobs whose scenario verdict passed
1069
1080
  *
1070
- * @generated from field: optional float accuracy_score = 1;
1071
- */
1072
- accuracyScore?: number;
1073
-
1074
- /**
1075
- * @generated from field: optional float experience_score = 2;
1081
+ * @generated from field: optional float scenario_pass_rate = 3;
1076
1082
  */
1077
- experienceScore?: number;
1083
+ scenarioPassRate?: number;
1078
1084
 
1079
1085
  /**
1080
- * share of jobs whose scenario verdict passed
1086
+ * mean over scored jobs
1081
1087
  *
1082
- * @generated from field: optional float scenario_pass_rate = 3;
1088
+ * @generated from field: optional float overall_score = 10;
1083
1089
  */
1084
- scenarioPassRate?: number;
1090
+ overallScore?: number;
1085
1091
 
1086
1092
  /**
1087
1093
  * @generated from field: livekit.SimulationRun.JobMetrics.STT stt = 4;
@@ -1130,6 +1136,64 @@ export declare class SimulationRun_RunMetrics extends Message<SimulationRun_RunM
1130
1136
  static equals(a: SimulationRun_RunMetrics | PlainMessage<SimulationRun_RunMetrics> | undefined, b: SimulationRun_RunMetrics | PlainMessage<SimulationRun_RunMetrics> | undefined): boolean;
1131
1137
  }
1132
1138
 
1139
+ /**
1140
+ * The pipeline this run came from. Set by the client from its CI
1141
+ * environment; absent for runs not started by a pipeline.
1142
+ *
1143
+ * @generated from message livekit.SimulationRun.CI
1144
+ */
1145
+ export declare class SimulationRun_CI extends Message<SimulationRun_CI> {
1146
+ /**
1147
+ * e.g. "github_actions"
1148
+ *
1149
+ * @generated from field: string provider = 1;
1150
+ */
1151
+ provider: string;
1152
+
1153
+ /**
1154
+ * @generated from field: string commit_sha = 2;
1155
+ */
1156
+ commitSha: string;
1157
+
1158
+ /**
1159
+ * branch or tag
1160
+ *
1161
+ * @generated from field: string ref = 3;
1162
+ */
1163
+ ref: string;
1164
+
1165
+ /**
1166
+ * @generated from field: string pull_request = 4;
1167
+ */
1168
+ pullRequest: string;
1169
+
1170
+ /**
1171
+ * link back to the CI job
1172
+ *
1173
+ * @generated from field: string run_url = 5;
1174
+ */
1175
+ runUrl: string;
1176
+
1177
+ /**
1178
+ * @generated from field: string actor = 6;
1179
+ */
1180
+ actor: string;
1181
+
1182
+ constructor(data?: PartialMessage<SimulationRun_CI>);
1183
+
1184
+ static readonly runtime: typeof proto3;
1185
+ static readonly typeName = "livekit.SimulationRun.CI";
1186
+ static readonly fields: FieldList;
1187
+
1188
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SimulationRun_CI;
1189
+
1190
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SimulationRun_CI;
1191
+
1192
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SimulationRun_CI;
1193
+
1194
+ static equals(a: SimulationRun_CI | PlainMessage<SimulationRun_CI> | undefined, b: SimulationRun_CI | PlainMessage<SimulationRun_CI> | undefined): boolean;
1195
+ }
1196
+
1133
1197
  /**
1134
1198
  * @generated from message livekit.SimulationRun.Create
1135
1199
  */
@@ -1213,6 +1277,11 @@ export declare class SimulationRun_Create_Request extends Message<SimulationRun_
1213
1277
  */
1214
1278
  packetLoss: boolean;
1215
1279
 
1280
+ /**
1281
+ * @generated from field: optional livekit.SimulationRun.CI ci = 13;
1282
+ */
1283
+ ci?: SimulationRun_CI;
1284
+
1216
1285
  constructor(data?: PartialMessage<SimulationRun_Create_Request>);
1217
1286
 
1218
1287
  static readonly runtime: typeof proto3;
@@ -1461,6 +1530,14 @@ export declare class SimulationRun_List_Request extends Message<SimulationRun_Li
1461
1530
  */
1462
1531
  agentName?: string;
1463
1532
 
1533
+ /**
1534
+ * Absent applies no mode filter. TEXT matches runs stored as TEXT or
1535
+ * UNSPECIFIED, which `SimulationRun.mode` defines as the same mode.
1536
+ *
1537
+ * @generated from field: optional livekit.SimulationMode mode = 7;
1538
+ */
1539
+ mode?: SimulationMode;
1540
+
1464
1541
  constructor(data?: PartialMessage<SimulationRun_List_Request>);
1465
1542
 
1466
1543
  static readonly runtime: typeof proto3;
@@ -1562,6 +1639,11 @@ export declare class SimulationRun_Counts_Request extends Message<SimulationRun_
1562
1639
  */
1563
1640
  agentName?: string;
1564
1641
 
1642
+ /**
1643
+ * @generated from field: optional livekit.SimulationMode mode = 6;
1644
+ */
1645
+ mode?: SimulationMode;
1646
+
1565
1647
  constructor(data?: PartialMessage<SimulationRun_Counts_Request>);
1566
1648
 
1567
1649
  static readonly runtime: typeof proto3;
@@ -1775,6 +1857,14 @@ export declare class Scenario extends Message<Scenario> {
1775
1857
  */
1776
1858
  userdata: string;
1777
1859
 
1860
+ /**
1861
+ * SCN_-prefixed guid. Stable across edits to label, instructions, or
1862
+ * expectations, so runs of the same scenario can be correlated over time.
1863
+ *
1864
+ * @generated from field: string id = 6;
1865
+ */
1866
+ id: string;
1867
+
1778
1868
  constructor(data?: PartialMessage<Scenario>);
1779
1869
 
1780
1870
  static readonly runtime: typeof proto3;
@@ -1883,6 +1973,14 @@ export declare class ScenarioGroup extends Message<ScenarioGroup> {
1883
1973
  */
1884
1974
  scenarios: Scenario[];
1885
1975
 
1976
+ /**
1977
+ * SCNG_-prefixed guid. Stable identity of the scenarios file, independent
1978
+ * of its name.
1979
+ *
1980
+ * @generated from field: string id = 3;
1981
+ */
1982
+ id: string;
1983
+
1886
1984
  constructor(data?: PartialMessage<ScenarioGroup>);
1887
1985
 
1888
1986
  static readonly runtime: typeof proto3;
@@ -89,6 +89,8 @@ 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 },
92
94
  ],
93
95
  );
94
96
 
@@ -163,9 +165,8 @@ export const SimulationRun_Job_Usage = /*@__PURE__*/ proto3.makeMessageType(
163
165
  export const SimulationRun_JobMetrics = /*@__PURE__*/ proto3.makeMessageType(
164
166
  "livekit.SimulationRun.JobMetrics",
165
167
  () => [
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
168
  { no: 3, name: "task_completion", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
169
+ { no: 20, name: "overall_score", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
169
170
  { no: 4, name: "stt", kind: "message", T: SimulationRun_JobMetrics_STT },
170
171
  { no: 5, name: "llm", kind: "message", T: SimulationRun_JobMetrics_LLM },
171
172
  { no: 6, name: "tts", kind: "message", T: SimulationRun_JobMetrics_TTS },
@@ -311,9 +312,8 @@ export const SimulationRun_JobMetrics_Turn = /*@__PURE__*/ proto3.makeMessageTyp
311
312
  export const SimulationRun_RunMetrics = /*@__PURE__*/ proto3.makeMessageType(
312
313
  "livekit.SimulationRun.RunMetrics",
313
314
  () => [
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
315
  { no: 3, name: "scenario_pass_rate", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
316
+ { no: 10, name: "overall_score", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
317
317
  { no: 4, name: "stt", kind: "message", T: SimulationRun_JobMetrics_STT },
318
318
  { no: 5, name: "llm", kind: "message", T: SimulationRun_JobMetrics_LLM },
319
319
  { no: 6, name: "tts", kind: "message", T: SimulationRun_JobMetrics_TTS },
@@ -324,6 +324,25 @@ export const SimulationRun_RunMetrics = /*@__PURE__*/ proto3.makeMessageType(
324
324
  {localName: "SimulationRun_RunMetrics"},
325
325
  );
326
326
 
327
+ /**
328
+ * The pipeline this run came from. Set by the client from its CI
329
+ * environment; absent for runs not started by a pipeline.
330
+ *
331
+ * @generated from message livekit.SimulationRun.CI
332
+ */
333
+ export const SimulationRun_CI = /*@__PURE__*/ proto3.makeMessageType(
334
+ "livekit.SimulationRun.CI",
335
+ () => [
336
+ { no: 1, name: "provider", kind: "scalar", T: 9 /* ScalarType.STRING */ },
337
+ { no: 2, name: "commit_sha", kind: "scalar", T: 9 /* ScalarType.STRING */ },
338
+ { no: 3, name: "ref", kind: "scalar", T: 9 /* ScalarType.STRING */ },
339
+ { no: 4, name: "pull_request", kind: "scalar", T: 9 /* ScalarType.STRING */ },
340
+ { no: 5, name: "run_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
341
+ { no: 6, name: "actor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
342
+ ],
343
+ {localName: "SimulationRun_CI"},
344
+ );
345
+
327
346
  /**
328
347
  * @generated from message livekit.SimulationRun.Create
329
348
  */
@@ -349,6 +368,7 @@ export const SimulationRun_Create_Request = /*@__PURE__*/ proto3.makeMessageType
349
368
  { no: 10, name: "background_noise", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
350
369
  { no: 11, name: "low_quality_microphone", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
351
370
  { no: 12, name: "packet_loss", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
371
+ { no: 13, name: "ci", kind: "message", T: SimulationRun_CI, opt: true },
352
372
  ],
353
373
  {localName: "SimulationRun_Create_Request"},
354
374
  );
@@ -449,6 +469,7 @@ export const SimulationRun_List_Request = /*@__PURE__*/ proto3.makeMessageType(
449
469
  { no: 4, name: "start_time", kind: "message", T: Timestamp, opt: true },
450
470
  { no: 5, name: "end_time", kind: "message", T: Timestamp, opt: true },
451
471
  { no: 6, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
472
+ { no: 7, name: "mode", kind: "enum", T: proto3.getEnumType(SimulationMode), opt: true },
452
473
  ],
453
474
  {localName: "SimulationRun_List_Request"},
454
475
  );
@@ -488,6 +509,7 @@ export const SimulationRun_Counts_Request = /*@__PURE__*/ proto3.makeMessageType
488
509
  { no: 3, name: "end_time", kind: "message", T: Timestamp },
489
510
  { no: 4, name: "status", kind: "enum", T: proto3.getEnumType(SimulationRun_Status), opt: true },
490
511
  { no: 5, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
512
+ { no: 6, name: "mode", kind: "enum", T: proto3.getEnumType(SimulationMode), opt: true },
491
513
  ],
492
514
  {localName: "SimulationRun_Counts_Request"},
493
515
  );
@@ -572,6 +594,7 @@ export const Scenario = /*@__PURE__*/ proto3.makeMessageType(
572
594
  { no: 3, name: "agent_expectations", kind: "scalar", T: 9 /* ScalarType.STRING */ },
573
595
  { no: 4, name: "tags", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
574
596
  { no: 5, name: "userdata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
597
+ { no: 6, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
575
598
  ],
576
599
  );
577
600
 
@@ -618,6 +641,7 @@ export const ScenarioGroup = /*@__PURE__*/ proto3.makeMessageType(
618
641
  () => [
619
642
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
620
643
  { no: 2, name: "scenarios", kind: "message", T: Scenario, repeated: true },
644
+ { no: 3, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
621
645
  ],
622
646
  );
623
647
 
@@ -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
  /**
@@ -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
 
@@ -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 */ },
@@ -2867,6 +2867,10 @@ export declare class TransferSIPParticipantRequest extends Message<TransferSIPPa
2867
2867
  }
2868
2868
 
2869
2869
  /**
2870
+ * Added in https://github.com/livekit/protocol/pull/1730. Not needed after all:
2871
+ * will be rolled back to an empty message once STR_CALL_ENDED is reported as an
2872
+ * error like every other failed transfer.
2873
+ *
2870
2874
  * @generated from message livekit.TransferSIPParticipantResponse
2871
2875
  */
2872
2876
  export declare class TransferSIPParticipantResponse extends Message<TransferSIPParticipantResponse> {
@@ -2907,6 +2911,44 @@ export declare class TransferSIPParticipantResponse extends Message<TransferSIPP
2907
2911
  static equals(a: TransferSIPParticipantResponse | PlainMessage<TransferSIPParticipantResponse> | undefined, b: TransferSIPParticipantResponse | PlainMessage<TransferSIPParticipantResponse> | undefined): boolean;
2908
2912
  }
2909
2913
 
2914
+ /**
2915
+ * Details of a failed SIP transfer, attached to the error.
2916
+ *
2917
+ * @generated from message livekit.SIPTransferError
2918
+ */
2919
+ export declare class SIPTransferError extends Message<SIPTransferError> {
2920
+ /**
2921
+ * @generated from field: string transfer_id = 1;
2922
+ */
2923
+ transferId: string;
2924
+
2925
+ /**
2926
+ * @generated from field: livekit.SIPTransferReason reason = 2;
2927
+ */
2928
+ reason: SIPTransferReason;
2929
+
2930
+ /**
2931
+ * Set when the outcome was reported by a SIP response.
2932
+ *
2933
+ * @generated from field: livekit.SIPStatus sip_status = 3;
2934
+ */
2935
+ sipStatus?: SIPStatus;
2936
+
2937
+ constructor(data?: PartialMessage<SIPTransferError>);
2938
+
2939
+ static readonly runtime: typeof proto3;
2940
+ static readonly typeName = "livekit.SIPTransferError";
2941
+ static readonly fields: FieldList;
2942
+
2943
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPTransferError;
2944
+
2945
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPTransferError;
2946
+
2947
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPTransferError;
2948
+
2949
+ static equals(a: SIPTransferError | PlainMessage<SIPTransferError> | undefined, b: SIPTransferError | PlainMessage<SIPTransferError> | undefined): boolean;
2950
+ }
2951
+
2910
2952
  /**
2911
2953
  * @generated from message livekit.SIPCallInfo
2912
2954
  */
@@ -824,6 +824,10 @@ export const TransferSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageTyp
824
824
  );
825
825
 
826
826
  /**
827
+ * Added in https://github.com/livekit/protocol/pull/1730. Not needed after all:
828
+ * will be rolled back to an empty message once STR_CALL_ENDED is reported as an
829
+ * error like every other failed transfer.
830
+ *
827
831
  * @generated from message livekit.TransferSIPParticipantResponse
828
832
  */
829
833
  export const TransferSIPParticipantResponse = /*@__PURE__*/ proto3.makeMessageType(
@@ -836,6 +840,20 @@ export const TransferSIPParticipantResponse = /*@__PURE__*/ proto3.makeMessageTy
836
840
  ],
837
841
  );
838
842
 
843
+ /**
844
+ * Details of a failed SIP transfer, attached to the error.
845
+ *
846
+ * @generated from message livekit.SIPTransferError
847
+ */
848
+ export const SIPTransferError = /*@__PURE__*/ proto3.makeMessageType(
849
+ "livekit.SIPTransferError",
850
+ () => [
851
+ { no: 1, name: "transfer_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
852
+ { no: 2, name: "reason", kind: "enum", T: proto3.getEnumType(SIPTransferReason) },
853
+ { no: 3, name: "sip_status", kind: "message", T: SIPStatus },
854
+ ],
855
+ );
856
+
839
857
  /**
840
858
  * @generated from message livekit.SIPCallInfo
841
859
  */
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '1.51.0';
2
+ export const version = '1.52.0';