@livekit/protocol 1.41.0 → 1.42.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.
@@ -5,24 +5,6 @@
5
5
 
6
6
  import { proto3, Timestamp } from "@bufbuild/protobuf";
7
7
  import { TokenPagination } from "./livekit_models_pb.js";
8
- import { SIPDispatchRuleInfo } from "./livekit_sip_pb.js";
9
-
10
- /**
11
- * Telephony cost type enumeration
12
- *
13
- * @generated from enum livekit.TelephonyCostType
14
- */
15
- export const TelephonyCostType = /*@__PURE__*/ proto3.makeEnum(
16
- "livekit.TelephonyCostType",
17
- [
18
- {no: 0, name: "TELEPHONY_COST_TYPE_UNSPECIFIED", localName: "UNSPECIFIED"},
19
- {no: 1, name: "TELEPHONY_COST_TYPE_NUMBER_RENTAL", localName: "NUMBER_RENTAL"},
20
- {no: 2, name: "TELEPHONY_COST_TYPE_VOICE_INBOUND", localName: "VOICE_INBOUND"},
21
- {no: 3, name: "TELEPHONY_COST_TYPE_VOICE_OUTBOUND", localName: "VOICE_OUTBOUND"},
22
- {no: 4, name: "TELEPHONY_COST_TYPE_SMS_INBOUND", localName: "SMS_INBOUND"},
23
- {no: 5, name: "TELEPHONY_COST_TYPE_SMS_OUTBOUND", localName: "SMS_OUTBOUND"},
24
- ],
25
- );
26
8
 
27
9
  /**
28
10
  * Phone number status enumeration
@@ -40,12 +22,27 @@ export const PhoneNumberStatus = /*@__PURE__*/ proto3.makeEnum(
40
22
  );
41
23
 
42
24
  /**
43
- * ListPhoneNumberInventoryRequest - Request to list available phone numbers
25
+ * Phone number type enumeration
26
+ *
27
+ * @generated from enum livekit.PhoneNumberType
28
+ */
29
+ export const PhoneNumberType = /*@__PURE__*/ proto3.makeEnum(
30
+ "livekit.PhoneNumberType",
31
+ [
32
+ {no: 0, name: "PHONE_NUMBER_TYPE_UNKNOWN", localName: "UNKNOWN"},
33
+ {no: 1, name: "PHONE_NUMBER_TYPE_MOBILE", localName: "MOBILE"},
34
+ {no: 2, name: "PHONE_NUMBER_TYPE_LOCAL", localName: "LOCAL"},
35
+ {no: 3, name: "PHONE_NUMBER_TYPE_TOLL_FREE", localName: "TOLL_FREE"},
36
+ ],
37
+ );
38
+
39
+ /**
40
+ * SearchPhoneNumbersRequest - Request to search available phone numbers
44
41
  *
45
- * @generated from message livekit.ListPhoneNumberInventoryRequest
42
+ * @generated from message livekit.SearchPhoneNumbersRequest
46
43
  */
47
- export const ListPhoneNumberInventoryRequest = /*@__PURE__*/ proto3.makeMessageType(
48
- "livekit.ListPhoneNumberInventoryRequest",
44
+ export const SearchPhoneNumbersRequest = /*@__PURE__*/ proto3.makeMessageType(
45
+ "livekit.SearchPhoneNumbersRequest",
49
46
  () => [
50
47
  { no: 1, name: "country_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
51
48
  { no: 2, name: "area_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -55,14 +52,14 @@ export const ListPhoneNumberInventoryRequest = /*@__PURE__*/ proto3.makeMessageT
55
52
  );
56
53
 
57
54
  /**
58
- * ListPhoneNumberInventoryResponse - Response containing available phone numbers
55
+ * SearchPhoneNumbersResponse - Response containing available phone numbers
59
56
  *
60
- * @generated from message livekit.ListPhoneNumberInventoryResponse
57
+ * @generated from message livekit.SearchPhoneNumbersResponse
61
58
  */
62
- export const ListPhoneNumberInventoryResponse = /*@__PURE__*/ proto3.makeMessageType(
63
- "livekit.ListPhoneNumberInventoryResponse",
59
+ export const SearchPhoneNumbersResponse = /*@__PURE__*/ proto3.makeMessageType(
60
+ "livekit.SearchPhoneNumbersResponse",
64
61
  () => [
65
- { no: 1, name: "items", kind: "message", T: PhoneNumberInventoryItem, repeated: true },
62
+ { no: 1, name: "items", kind: "message", T: PhoneNumber, repeated: true },
66
63
  { no: 2, name: "next_page_token", kind: "message", T: TokenPagination },
67
64
  ],
68
65
  );
@@ -76,6 +73,7 @@ export const PurchasePhoneNumberRequest = /*@__PURE__*/ proto3.makeMessageType(
76
73
  "livekit.PurchasePhoneNumberRequest",
77
74
  () => [
78
75
  { no: 1, name: "phone_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
76
+ { no: 2, name: "sip_dispatch_rule_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
79
77
  ],
80
78
  );
81
79
 
@@ -87,112 +85,138 @@ export const PurchasePhoneNumberRequest = /*@__PURE__*/ proto3.makeMessageType(
87
85
  export const PurchasePhoneNumberResponse = /*@__PURE__*/ proto3.makeMessageType(
88
86
  "livekit.PurchasePhoneNumberResponse",
89
87
  () => [
90
- { no: 1, name: "phone_numbers", kind: "message", T: PurchasedPhoneNumber, repeated: true },
88
+ { no: 1, name: "phone_numbers", kind: "message", T: PhoneNumber, repeated: true },
91
89
  ],
92
90
  );
93
91
 
94
92
  /**
95
- * ListPurchasedPhoneNumbersRequest - Request to list purchased phone numbers
93
+ * ListPhoneNumbersRequest - Request to list phone numbers
96
94
  *
97
- * @generated from message livekit.ListPurchasedPhoneNumbersRequest
95
+ * @generated from message livekit.ListPhoneNumbersRequest
98
96
  */
99
- export const ListPurchasedPhoneNumbersRequest = /*@__PURE__*/ proto3.makeMessageType(
100
- "livekit.ListPurchasedPhoneNumbersRequest",
97
+ export const ListPhoneNumbersRequest = /*@__PURE__*/ proto3.makeMessageType(
98
+ "livekit.ListPhoneNumbersRequest",
101
99
  () => [
102
100
  { no: 1, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
103
- { no: 2, name: "page_token", kind: "message", T: TokenPagination },
101
+ { no: 2, name: "status", kind: "enum", T: proto3.getEnumType(PhoneNumberStatus) },
102
+ { no: 3, name: "page_token", kind: "message", T: TokenPagination },
103
+ { no: 4, name: "sip_dispatch_rule_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
104
104
  ],
105
105
  );
106
106
 
107
107
  /**
108
- * ListPurchasedPhoneNumbersResponse - Response containing purchased phone numbers
108
+ * ListPhoneNumbersResponse - Response containing phone numbers
109
109
  *
110
- * @generated from message livekit.ListPurchasedPhoneNumbersResponse
110
+ * @generated from message livekit.ListPhoneNumbersResponse
111
111
  */
112
- export const ListPurchasedPhoneNumbersResponse = /*@__PURE__*/ proto3.makeMessageType(
113
- "livekit.ListPurchasedPhoneNumbersResponse",
112
+ export const ListPhoneNumbersResponse = /*@__PURE__*/ proto3.makeMessageType(
113
+ "livekit.ListPhoneNumbersResponse",
114
114
  () => [
115
- { no: 1, name: "items", kind: "message", T: PurchasedPhoneNumber, repeated: true },
115
+ { no: 1, name: "items", kind: "message", T: PhoneNumber, repeated: true },
116
116
  { no: 2, name: "next_page_token", kind: "message", T: TokenPagination },
117
117
  { no: 3, name: "total_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
118
118
  ],
119
119
  );
120
120
 
121
121
  /**
122
- * ReleasePhoneNumberRequest - Request to release purchased phone numbers
122
+ * GetPhoneNumberRequest - Request to get a phone number
123
123
  *
124
- * @generated from message livekit.ReleasePhoneNumberRequest
124
+ * @generated from message livekit.GetPhoneNumberRequest
125
125
  */
126
- export const ReleasePhoneNumberRequest = /*@__PURE__*/ proto3.makeMessageType(
127
- "livekit.ReleasePhoneNumberRequest",
126
+ export const GetPhoneNumberRequest = /*@__PURE__*/ proto3.makeMessageType(
127
+ "livekit.GetPhoneNumberRequest",
128
128
  () => [
129
- { no: 1, name: "phone_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
129
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
130
+ { no: 2, name: "phone_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
131
+ ],
132
+ );
133
+
134
+ /**
135
+ * GetPhoneNumberResponse - Response containing the phone number
136
+ *
137
+ * @generated from message livekit.GetPhoneNumberResponse
138
+ */
139
+ export const GetPhoneNumberResponse = /*@__PURE__*/ proto3.makeMessageType(
140
+ "livekit.GetPhoneNumberResponse",
141
+ () => [
142
+ { no: 1, name: "phone_number", kind: "message", T: PhoneNumber },
130
143
  ],
131
144
  );
132
145
 
133
146
  /**
134
- * GlobalPhoneNumber represents a phone number with standardized format
147
+ * UpdatePhoneNumberRequest - Request to update a phone number
135
148
  *
136
- * @generated from message livekit.GlobalPhoneNumber
149
+ * @generated from message livekit.UpdatePhoneNumberRequest
137
150
  */
138
- export const GlobalPhoneNumber = /*@__PURE__*/ proto3.makeMessageType(
139
- "livekit.GlobalPhoneNumber",
151
+ export const UpdatePhoneNumberRequest = /*@__PURE__*/ proto3.makeMessageType(
152
+ "livekit.UpdatePhoneNumberRequest",
140
153
  () => [
141
154
  { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
142
- { no: 2, name: "e164_format", kind: "scalar", T: 9 /* ScalarType.STRING */ },
143
- { no: 3, name: "country_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
144
- { no: 4, name: "area_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
145
- { no: 5, name: "number_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
146
- { no: 6, name: "locality", kind: "scalar", T: 9 /* ScalarType.STRING */ },
147
- { no: 7, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
148
- { no: 8, name: "spam_score", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
149
- { no: 9, name: "created_at", kind: "message", T: Timestamp },
150
- { no: 10, name: "updated_at", kind: "message", T: Timestamp },
155
+ { no: 2, name: "phone_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
156
+ { no: 3, name: "sip_dispatch_rule_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
151
157
  ],
152
158
  );
153
159
 
154
160
  /**
155
- * TelephonyCost represents the pricing structure for a specific telephony service
161
+ * UpdatePhoneNumberResponse - Response containing the updated phone number
156
162
  *
157
- * @generated from message livekit.TelephonyCost
163
+ * @generated from message livekit.UpdatePhoneNumberResponse
158
164
  */
159
- export const TelephonyCost = /*@__PURE__*/ proto3.makeMessageType(
160
- "livekit.TelephonyCost",
165
+ export const UpdatePhoneNumberResponse = /*@__PURE__*/ proto3.makeMessageType(
166
+ "livekit.UpdatePhoneNumberResponse",
161
167
  () => [
162
- { no: 1, name: "resource", kind: "enum", T: proto3.getEnumType(TelephonyCostType) },
163
- { no: 2, name: "currency", kind: "scalar", T: 9 /* ScalarType.STRING */ },
164
- { no: 3, name: "price", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
165
- { no: 4, name: "billing_unit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
168
+ { no: 1, name: "phone_number", kind: "message", T: PhoneNumber },
166
169
  ],
167
170
  );
168
171
 
169
172
  /**
170
- * PhoneNumberInventoryItem - Represents an available phone number for purchase
173
+ * ReleasePhoneNumbersRequest - Request to release phone numbers
171
174
  *
172
- * @generated from message livekit.PhoneNumberInventoryItem
175
+ * @generated from message livekit.ReleasePhoneNumbersRequest
173
176
  */
174
- export const PhoneNumberInventoryItem = /*@__PURE__*/ proto3.makeMessageType(
175
- "livekit.PhoneNumberInventoryItem",
177
+ export const ReleasePhoneNumbersRequest = /*@__PURE__*/ proto3.makeMessageType(
178
+ "livekit.ReleasePhoneNumbersRequest",
176
179
  () => [
177
- { no: 1, name: "phone_number", kind: "message", T: GlobalPhoneNumber },
178
- { no: 2, name: "capabilities", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
179
- { no: 3, name: "costs", kind: "message", T: TelephonyCost, repeated: true },
180
+ { no: 1, name: "ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
181
+ { no: 2, name: "phone_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
180
182
  ],
181
183
  );
182
184
 
183
185
  /**
184
- * PurchasedPhoneNumber - Represents a phone number owned by a LiveKit project
186
+ * ReleasePhoneNumbersResponse - Response for releasing phone numbers
187
+ *
188
+ * Empty response - operation completed successfully
189
+ *
190
+ * @generated from message livekit.ReleasePhoneNumbersResponse
191
+ */
192
+ export const ReleasePhoneNumbersResponse = /*@__PURE__*/ proto3.makeMessageType(
193
+ "livekit.ReleasePhoneNumbersResponse",
194
+ [],
195
+ );
196
+
197
+ /**
198
+ * PhoneNumber - Unified phone number type for inventory and purchased numbers
185
199
  *
186
- * @generated from message livekit.PurchasedPhoneNumber
200
+ * @generated from message livekit.PhoneNumber
187
201
  */
188
- export const PurchasedPhoneNumber = /*@__PURE__*/ proto3.makeMessageType(
189
- "livekit.PurchasedPhoneNumber",
202
+ export const PhoneNumber = /*@__PURE__*/ proto3.makeMessageType(
203
+ "livekit.PhoneNumber",
190
204
  () => [
191
- { no: 1, name: "phone_number", kind: "message", T: GlobalPhoneNumber },
192
- { no: 2, name: "status", kind: "enum", T: proto3.getEnumType(PhoneNumberStatus) },
193
- { no: 3, name: "assigned_at", kind: "message", T: Timestamp },
194
- { no: 4, name: "released_at", kind: "message", T: Timestamp },
195
- { no: 5, name: "sip_dispatch_rule", kind: "message", T: SIPDispatchRuleInfo },
205
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
206
+ { no: 2, name: "e164_format", kind: "scalar", T: 9 /* ScalarType.STRING */ },
207
+ { no: 3, name: "country_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
208
+ { no: 4, name: "area_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
209
+ { no: 5, name: "number_type", kind: "enum", T: proto3.getEnumType(PhoneNumberType) },
210
+ { no: 6, name: "locality", kind: "scalar", T: 9 /* ScalarType.STRING */ },
211
+ { no: 7, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
212
+ { no: 8, name: "spam_score", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
213
+ { no: 9, name: "created_at", kind: "message", T: Timestamp },
214
+ { no: 10, name: "updated_at", kind: "message", T: Timestamp },
215
+ { no: 11, name: "capabilities", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
216
+ { no: 12, name: "status", kind: "enum", T: proto3.getEnumType(PhoneNumberStatus) },
217
+ { no: 13, name: "assigned_at", kind: "message", T: Timestamp },
218
+ { no: 14, name: "released_at", kind: "message", T: Timestamp },
219
+ { no: 15, name: "sip_dispatch_rule_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
196
220
  ],
197
221
  );
198
222
 
@@ -904,3 +904,71 @@ export declare class MoveParticipantResponse extends Message<MoveParticipantResp
904
904
  static equals(a: MoveParticipantResponse | PlainMessage<MoveParticipantResponse> | undefined, b: MoveParticipantResponse | PlainMessage<MoveParticipantResponse> | undefined): boolean;
905
905
  }
906
906
 
907
+ /**
908
+ * @generated from message livekit.PerformRpcRequest
909
+ */
910
+ export declare class PerformRpcRequest extends Message<PerformRpcRequest> {
911
+ /**
912
+ * @generated from field: string room = 1;
913
+ */
914
+ room: string;
915
+
916
+ /**
917
+ * @generated from field: string destination_identity = 2;
918
+ */
919
+ destinationIdentity: string;
920
+
921
+ /**
922
+ * @generated from field: string method = 3;
923
+ */
924
+ method: string;
925
+
926
+ /**
927
+ * @generated from field: string payload = 4;
928
+ */
929
+ payload: string;
930
+
931
+ /**
932
+ * @generated from field: uint32 response_timeout_ms = 5;
933
+ */
934
+ responseTimeoutMs: number;
935
+
936
+ constructor(data?: PartialMessage<PerformRpcRequest>);
937
+
938
+ static readonly runtime: typeof proto3;
939
+ static readonly typeName = "livekit.PerformRpcRequest";
940
+ static readonly fields: FieldList;
941
+
942
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PerformRpcRequest;
943
+
944
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PerformRpcRequest;
945
+
946
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PerformRpcRequest;
947
+
948
+ static equals(a: PerformRpcRequest | PlainMessage<PerformRpcRequest> | undefined, b: PerformRpcRequest | PlainMessage<PerformRpcRequest> | undefined): boolean;
949
+ }
950
+
951
+ /**
952
+ * @generated from message livekit.PerformRpcResponse
953
+ */
954
+ export declare class PerformRpcResponse extends Message<PerformRpcResponse> {
955
+ /**
956
+ * @generated from field: string payload = 1;
957
+ */
958
+ payload: string;
959
+
960
+ constructor(data?: PartialMessage<PerformRpcResponse>);
961
+
962
+ static readonly runtime: typeof proto3;
963
+ static readonly typeName = "livekit.PerformRpcResponse";
964
+ static readonly fields: FieldList;
965
+
966
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PerformRpcResponse;
967
+
968
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PerformRpcResponse;
969
+
970
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PerformRpcResponse;
971
+
972
+ static equals(a: PerformRpcResponse | PlainMessage<PerformRpcResponse> | undefined, b: PerformRpcResponse | PlainMessage<PerformRpcResponse> | undefined): boolean;
973
+ }
974
+
@@ -299,3 +299,27 @@ export const MoveParticipantResponse = /*@__PURE__*/ proto3.makeMessageType(
299
299
  [],
300
300
  );
301
301
 
302
+ /**
303
+ * @generated from message livekit.PerformRpcRequest
304
+ */
305
+ export const PerformRpcRequest = /*@__PURE__*/ proto3.makeMessageType(
306
+ "livekit.PerformRpcRequest",
307
+ () => [
308
+ { no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
309
+ { no: 2, name: "destination_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
310
+ { no: 3, name: "method", kind: "scalar", T: 9 /* ScalarType.STRING */ },
311
+ { no: 4, name: "payload", kind: "scalar", T: 9 /* ScalarType.STRING */ },
312
+ { no: 5, name: "response_timeout_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
313
+ ],
314
+ );
315
+
316
+ /**
317
+ * @generated from message livekit.PerformRpcResponse
318
+ */
319
+ export const PerformRpcResponse = /*@__PURE__*/ proto3.makeMessageType(
320
+ "livekit.PerformRpcResponse",
321
+ () => [
322
+ { no: 1, name: "payload", kind: "scalar", T: 9 /* ScalarType.STRING */ },
323
+ ],
324
+ );
325
+
@@ -19,7 +19,7 @@
19
19
 
20
20
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
21
21
  import { Message, proto3 } from "@bufbuild/protobuf";
22
- import type { AudioTrackFeature, BackupCodecPolicy, ClientConfiguration, ClientInfo, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, ReconnectReason, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoLayer_Mode, VideoQuality } from "./livekit_models_pb.js";
22
+ import type { AudioTrackFeature, BackupCodecPolicy, ClientConfiguration, ClientInfo, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, ReconnectReason, Room, ServerInfo, SpeakerInfo, SubscribedAudioCodec, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoLayer_Mode, VideoQuality } from "./livekit_models_pb.js";
23
23
 
24
24
  /**
25
25
  * @generated from enum livekit.SignalTarget
@@ -431,6 +431,14 @@ export declare class SignalResponse extends Message<SignalResponse> {
431
431
  */
432
432
  value: MediaSectionsRequirement;
433
433
  case: "mediaSectionsRequirement";
434
+ } | {
435
+ /**
436
+ * when audio subscription changes, used to enable simulcasting of audio codecs based on subscriptions
437
+ *
438
+ * @generated from field: livekit.SubscribedAudioCodecUpdate subscribed_audio_codec_update = 26;
439
+ */
440
+ value: SubscribedAudioCodecUpdate;
441
+ case: "subscribedAudioCodecUpdate";
434
442
  } | { case: undefined; value?: undefined };
435
443
 
436
444
  constructor(data?: PartialMessage<SignalResponse>);
@@ -1537,6 +1545,35 @@ export declare class SubscribedQualityUpdate extends Message<SubscribedQualityUp
1537
1545
  static equals(a: SubscribedQualityUpdate | PlainMessage<SubscribedQualityUpdate> | undefined, b: SubscribedQualityUpdate | PlainMessage<SubscribedQualityUpdate> | undefined): boolean;
1538
1546
  }
1539
1547
 
1548
+ /**
1549
+ * @generated from message livekit.SubscribedAudioCodecUpdate
1550
+ */
1551
+ export declare class SubscribedAudioCodecUpdate extends Message<SubscribedAudioCodecUpdate> {
1552
+ /**
1553
+ * @generated from field: string track_sid = 1;
1554
+ */
1555
+ trackSid: string;
1556
+
1557
+ /**
1558
+ * @generated from field: repeated livekit.SubscribedAudioCodec subscribed_audio_codecs = 2;
1559
+ */
1560
+ subscribedAudioCodecs: SubscribedAudioCodec[];
1561
+
1562
+ constructor(data?: PartialMessage<SubscribedAudioCodecUpdate>);
1563
+
1564
+ static readonly runtime: typeof proto3;
1565
+ static readonly typeName = "livekit.SubscribedAudioCodecUpdate";
1566
+ static readonly fields: FieldList;
1567
+
1568
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubscribedAudioCodecUpdate;
1569
+
1570
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubscribedAudioCodecUpdate;
1571
+
1572
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubscribedAudioCodecUpdate;
1573
+
1574
+ static equals(a: SubscribedAudioCodecUpdate | PlainMessage<SubscribedAudioCodecUpdate> | undefined, b: SubscribedAudioCodecUpdate | PlainMessage<SubscribedAudioCodecUpdate> | undefined): boolean;
1575
+ }
1576
+
1540
1577
  /**
1541
1578
  * @generated from message livekit.TrackPermission
1542
1579
  */
@@ -2074,6 +2111,47 @@ export declare class RequestResponse extends Message<RequestResponse> {
2074
2111
  */
2075
2112
  message: string;
2076
2113
 
2114
+ /**
2115
+ * @generated from oneof livekit.RequestResponse.request
2116
+ */
2117
+ request: {
2118
+ /**
2119
+ * @generated from field: livekit.TrickleRequest trickle = 4;
2120
+ */
2121
+ value: TrickleRequest;
2122
+ case: "trickle";
2123
+ } | {
2124
+ /**
2125
+ * @generated from field: livekit.AddTrackRequest add_track = 5;
2126
+ */
2127
+ value: AddTrackRequest;
2128
+ case: "addTrack";
2129
+ } | {
2130
+ /**
2131
+ * @generated from field: livekit.MuteTrackRequest mute = 6;
2132
+ */
2133
+ value: MuteTrackRequest;
2134
+ case: "mute";
2135
+ } | {
2136
+ /**
2137
+ * @generated from field: livekit.UpdateParticipantMetadata update_metadata = 7;
2138
+ */
2139
+ value: UpdateParticipantMetadata;
2140
+ case: "updateMetadata";
2141
+ } | {
2142
+ /**
2143
+ * @generated from field: livekit.UpdateLocalAudioTrack update_audio_track = 8;
2144
+ */
2145
+ value: UpdateLocalAudioTrack;
2146
+ case: "updateAudioTrack";
2147
+ } | {
2148
+ /**
2149
+ * @generated from field: livekit.UpdateLocalVideoTrack update_video_track = 9;
2150
+ */
2151
+ value: UpdateLocalVideoTrack;
2152
+ case: "updateVideoTrack";
2153
+ } | { case: undefined; value?: undefined };
2154
+
2077
2155
  constructor(data?: PartialMessage<RequestResponse>);
2078
2156
 
2079
2157
  static readonly runtime: typeof proto3;
@@ -2112,6 +2190,21 @@ export declare enum RequestResponse_Reason {
2112
2190
  * @generated from enum value: LIMIT_EXCEEDED = 3;
2113
2191
  */
2114
2192
  LIMIT_EXCEEDED = 3,
2193
+
2194
+ /**
2195
+ * @generated from enum value: QUEUED = 4;
2196
+ */
2197
+ QUEUED = 4,
2198
+
2199
+ /**
2200
+ * @generated from enum value: UNSUPPORTED_TYPE = 5;
2201
+ */
2202
+ UNSUPPORTED_TYPE = 5,
2203
+
2204
+ /**
2205
+ * @generated from enum value: UNCLASSIFIED_ERROR = 6;
2206
+ */
2207
+ UNCLASSIFIED_ERROR = 6,
2115
2208
  }
2116
2209
 
2117
2210
  /**
@@ -18,7 +18,7 @@
18
18
  // @ts-nocheck
19
19
 
20
20
  import { proto3 } from "@bufbuild/protobuf";
21
- import { AudioTrackFeature, BackupCodecPolicy, ClientConfiguration, ClientInfo, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, ReconnectReason, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoLayer_Mode, VideoQuality } from "./livekit_models_pb.js";
21
+ import { AudioTrackFeature, BackupCodecPolicy, ClientConfiguration, ClientInfo, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, ReconnectReason, Room, ServerInfo, SpeakerInfo, SubscribedAudioCodec, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoLayer_Mode, VideoQuality } from "./livekit_models_pb.js";
22
22
 
23
23
  /**
24
24
  * @generated from enum livekit.SignalTarget
@@ -110,6 +110,7 @@ export const SignalResponse = /*@__PURE__*/ proto3.makeMessageType(
110
110
  { no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" },
111
111
  { no: 24, name: "room_moved", kind: "message", T: RoomMovedResponse, oneof: "message" },
112
112
  { no: 25, name: "media_sections_requirement", kind: "message", T: MediaSectionsRequirement, oneof: "message" },
113
+ { no: 26, name: "subscribed_audio_codec_update", kind: "message", T: SubscribedAudioCodecUpdate, oneof: "message" },
113
114
  ],
114
115
  );
115
116
 
@@ -470,6 +471,17 @@ export const SubscribedQualityUpdate = /*@__PURE__*/ proto3.makeMessageType(
470
471
  ],
471
472
  );
472
473
 
474
+ /**
475
+ * @generated from message livekit.SubscribedAudioCodecUpdate
476
+ */
477
+ export const SubscribedAudioCodecUpdate = /*@__PURE__*/ proto3.makeMessageType(
478
+ "livekit.SubscribedAudioCodecUpdate",
479
+ () => [
480
+ { no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
481
+ { no: 2, name: "subscribed_audio_codecs", kind: "message", T: SubscribedAudioCodec, repeated: true },
482
+ ],
483
+ );
484
+
473
485
  /**
474
486
  * @generated from message livekit.TrackPermission
475
487
  */
@@ -640,6 +652,12 @@ export const RequestResponse = /*@__PURE__*/ proto3.makeMessageType(
640
652
  { no: 1, name: "request_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
641
653
  { no: 2, name: "reason", kind: "enum", T: proto3.getEnumType(RequestResponse_Reason) },
642
654
  { no: 3, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
655
+ { no: 4, name: "trickle", kind: "message", T: TrickleRequest, oneof: "request" },
656
+ { no: 5, name: "add_track", kind: "message", T: AddTrackRequest, oneof: "request" },
657
+ { no: 6, name: "mute", kind: "message", T: MuteTrackRequest, oneof: "request" },
658
+ { no: 7, name: "update_metadata", kind: "message", T: UpdateParticipantMetadata, oneof: "request" },
659
+ { no: 8, name: "update_audio_track", kind: "message", T: UpdateLocalAudioTrack, oneof: "request" },
660
+ { no: 9, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "request" },
643
661
  ],
644
662
  );
645
663
 
@@ -653,6 +671,9 @@ export const RequestResponse_Reason = /*@__PURE__*/ proto3.makeEnum(
653
671
  {no: 1, name: "NOT_FOUND"},
654
672
  {no: 2, name: "NOT_ALLOWED"},
655
673
  {no: 3, name: "LIMIT_EXCEEDED"},
674
+ {no: 4, name: "QUEUED"},
675
+ {no: 5, name: "UNSUPPORTED_TYPE"},
676
+ {no: 6, name: "UNCLASSIFIED_ERROR"},
656
677
  ],
657
678
  );
658
679
 
@@ -17,7 +17,7 @@
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
19
19
 
20
- import type { BinaryReadOptions, Duration, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
20
+ import type { Any, BinaryReadOptions, Duration, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
21
21
  import { Message, proto3 } from "@bufbuild/protobuf";
22
22
  import type { DisconnectReason, ListUpdate, Pagination } from "./livekit_models_pb.js";
23
23
  import type { RoomConfiguration } from "./livekit_room_pb.js";
@@ -2255,12 +2255,24 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
2255
2255
  /**
2256
2256
  * Wait for the answer for the call before returning.
2257
2257
  *
2258
- * NEXT ID: 21
2259
- *
2260
2258
  * @generated from field: bool wait_until_answered = 19;
2261
2259
  */
2262
2260
  waitUntilAnswered: boolean;
2263
2261
 
2262
+ /**
2263
+ * Optional display name for the 'From' SIP header.
2264
+ *
2265
+ * Cases:
2266
+ * 1) Unspecified: Use legacy behavior - display name will be set to be the caller's number.
2267
+ * 2) Empty string: Do not send a display name, which will result in a CNAM lookup downstream.
2268
+ * 3) Non-empty: Use the specified value as the display name.
2269
+ *
2270
+ * NEXT ID: 22
2271
+ *
2272
+ * @generated from field: optional string display_name = 21;
2273
+ */
2274
+ displayName?: string;
2275
+
2264
2276
  constructor(data?: PartialMessage<CreateSIPParticipantRequest>);
2265
2277
 
2266
2278
  static readonly runtime: typeof proto3;
@@ -2499,6 +2511,16 @@ export declare class SIPCallInfo extends Message<SIPCallInfo> {
2499
2511
  */
2500
2512
  mediaEncryption: string;
2501
2513
 
2514
+ /**
2515
+ * @generated from field: string pcap_file_link = 25;
2516
+ */
2517
+ pcapFileLink: string;
2518
+
2519
+ /**
2520
+ * @generated from field: repeated google.protobuf.Any call_context = 26;
2521
+ */
2522
+ callContext: Any[];
2523
+
2502
2524
  constructor(data?: PartialMessage<SIPCallInfo>);
2503
2525
 
2504
2526
  static readonly runtime: typeof proto3;
@@ -17,7 +17,7 @@
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
19
19
 
20
- import { Duration, proto3 } from "@bufbuild/protobuf";
20
+ import { Any, Duration, proto3 } from "@bufbuild/protobuf";
21
21
  import { DisconnectReason, ListUpdate, Pagination } from "./livekit_models_pb.js";
22
22
  import { RoomConfiguration } from "./livekit_room_pb.js";
23
23
 
@@ -674,6 +674,7 @@ export const CreateSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageType(
674
674
  { no: 14, name: "krisp_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
675
675
  { no: 18, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) },
676
676
  { no: 19, name: "wait_until_answered", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
677
+ { no: 21, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
677
678
  ],
678
679
  );
679
680
 
@@ -735,6 +736,8 @@ export const SIPCallInfo = /*@__PURE__*/ proto3.makeMessageType(
735
736
  { no: 19, name: "call_status_code", kind: "message", T: SIPStatus },
736
737
  { no: 20, name: "audio_codec", kind: "scalar", T: 9 /* ScalarType.STRING */ },
737
738
  { no: 21, name: "media_encryption", kind: "scalar", T: 9 /* ScalarType.STRING */ },
739
+ { no: 25, name: "pcap_file_link", kind: "scalar", T: 9 /* ScalarType.STRING */ },
740
+ { no: 26, name: "call_context", kind: "message", T: Any, repeated: true },
738
741
  ],
739
742
  );
740
743