@livekit/protocol 1.42.2 → 1.43.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/dist/index.cjs +46 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +56 -5
- package/dist/index.d.mts +56 -5
- package/dist/index.d.ts +56 -5
- package/dist/index.mjs +46 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/livekit_cloud_agent_pb.d.ts +5 -0
- package/src/gen/livekit_cloud_agent_pb.js +1 -0
- package/src/gen/livekit_connector_pb.d.ts +39 -0
- package/src/gen/livekit_connector_pb.js +33 -0
- package/src/gen/livekit_connector_twilio_pb.d.ts +4 -0
- package/src/gen/livekit_connector_whatsapp_pb.d.ts +62 -42
- package/src/gen/livekit_connector_whatsapp_pb.js +8 -5
- package/src/gen/livekit_metrics_pb.d.ts +9 -2
- package/src/gen/livekit_metrics_pb.js +2 -1
- package/src/gen/livekit_phone_number_pb.d.ts +40 -40
- package/src/gen/livekit_phone_number_pb.js +13 -13
- package/src/gen/livekit_sip_pb.d.ts +46 -2
- package/src/gen/livekit_sip_pb.js +14 -0
- package/src/gen/version.js +1 -1
package/package.json
CHANGED
|
@@ -445,6 +445,11 @@ export declare class AgentVersion extends Message<AgentVersion> {
|
|
|
445
445
|
*/
|
|
446
446
|
status: string;
|
|
447
447
|
|
|
448
|
+
/**
|
|
449
|
+
* @generated from field: string owner = 7;
|
|
450
|
+
*/
|
|
451
|
+
owner: string;
|
|
452
|
+
|
|
448
453
|
constructor(data?: PartialMessage<AgentVersion>);
|
|
449
454
|
|
|
450
455
|
static readonly runtime: typeof proto3;
|
|
@@ -158,6 +158,7 @@ export const AgentVersion = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
158
158
|
{ no: 4, name: "deployed_at", kind: "message", T: Timestamp },
|
|
159
159
|
{ no: 5, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
160
160
|
{ no: 6, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
161
|
+
{ no: 7, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
161
162
|
],
|
|
162
163
|
);
|
|
163
164
|
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// Copyright 2025 LiveKit, Inc.
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
16
|
+
// @generated from file livekit_connector.proto (package livekit, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @generated from enum livekit.ConnectorType
|
|
22
|
+
*/
|
|
23
|
+
export declare enum ConnectorType {
|
|
24
|
+
/**
|
|
25
|
+
* @generated from enum value: Unspecified = 0;
|
|
26
|
+
*/
|
|
27
|
+
Unspecified = 0,
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @generated from enum value: WhatsApp = 1;
|
|
31
|
+
*/
|
|
32
|
+
WhatsApp = 1,
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @generated from enum value: Twilio = 2;
|
|
36
|
+
*/
|
|
37
|
+
Twilio = 2,
|
|
38
|
+
}
|
|
39
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// Copyright 2025 LiveKit, Inc.
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
16
|
+
// @generated from file livekit_connector.proto (package livekit, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { proto3 } from "@bufbuild/protobuf";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* @generated from enum livekit.ConnectorType
|
|
24
|
+
*/
|
|
25
|
+
export const ConnectorType = /*@__PURE__*/ proto3.makeEnum(
|
|
26
|
+
"livekit.ConnectorType",
|
|
27
|
+
[
|
|
28
|
+
{no: 0, name: "Unspecified"},
|
|
29
|
+
{no: 1, name: "WhatsApp"},
|
|
30
|
+
{no: 2, name: "Twilio"},
|
|
31
|
+
],
|
|
32
|
+
);
|
|
33
|
+
|
|
@@ -101,11 +101,15 @@ export declare class ConnectTwilioCallRequest extends Message<ConnectTwilioCallR
|
|
|
101
101
|
*/
|
|
102
102
|
export declare enum ConnectTwilioCallRequest_TwilioCallDirection {
|
|
103
103
|
/**
|
|
104
|
+
* Call is inbound to LiveKit from Twilio
|
|
105
|
+
*
|
|
104
106
|
* @generated from enum value: TWILIO_CALL_DIRECTION_INBOUND = 0;
|
|
105
107
|
*/
|
|
106
108
|
INBOUND = 0,
|
|
107
109
|
|
|
108
110
|
/**
|
|
111
|
+
* Call is outbound from LiveKit to Twilio
|
|
112
|
+
*
|
|
109
113
|
* @generated from enum value: TWILIO_CALL_DIRECTION_OUTBOUND = 1;
|
|
110
114
|
*/
|
|
111
115
|
OUTBOUND = 1,
|
|
@@ -42,77 +42,86 @@ export declare enum WhatsAppCallDirection {
|
|
|
42
42
|
*/
|
|
43
43
|
export declare class DialWhatsAppCallRequest extends Message<DialWhatsAppCallRequest> {
|
|
44
44
|
/**
|
|
45
|
-
* The number of the business that is initiating the call
|
|
45
|
+
* Required - The number of the business that is initiating the call
|
|
46
46
|
*
|
|
47
47
|
* @generated from field: string whatsapp_phone_number_id = 1;
|
|
48
48
|
*/
|
|
49
49
|
whatsappPhoneNumberId: string;
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
* The number of the user that is supossed to receive the call
|
|
52
|
+
* Required - The number of the user that is supossed to receive the call
|
|
53
53
|
*
|
|
54
54
|
* @generated from field: string whatsapp_to_phone_number = 2;
|
|
55
55
|
*/
|
|
56
56
|
whatsappToPhoneNumber: string;
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
|
-
* The API key of the business that is initiating the call
|
|
59
|
+
* Required - The API key of the business that is initiating the call
|
|
60
60
|
*
|
|
61
61
|
* @generated from field: string whatsapp_api_key = 3;
|
|
62
62
|
*/
|
|
63
63
|
whatsappApiKey: string;
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
66
|
+
* Required - WhatsApp Cloud API version, eg: 23.0, 24.0, etc.
|
|
67
|
+
*
|
|
68
|
+
* @generated from field: string whatsapp_cloud_api_version = 12;
|
|
69
|
+
*/
|
|
70
|
+
whatsappCloudApiVersion: string;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Optional - An arbitrary string you can pass in that is useful for tracking and logging purposes.
|
|
67
74
|
*
|
|
68
75
|
* @generated from field: string whatsapp_biz_opaque_callback_data = 4;
|
|
69
76
|
*/
|
|
70
77
|
whatsappBizOpaqueCallbackData: string;
|
|
71
78
|
|
|
72
79
|
/**
|
|
73
|
-
* What LiveKit room should this participant be connected too
|
|
80
|
+
* Optional - What LiveKit room should this participant be connected too
|
|
74
81
|
*
|
|
75
82
|
* @generated from field: string room_name = 5;
|
|
76
83
|
*/
|
|
77
84
|
roomName: string;
|
|
78
85
|
|
|
79
86
|
/**
|
|
80
|
-
* Optional
|
|
87
|
+
* Optional - Agents to dispatch the call to
|
|
81
88
|
*
|
|
82
89
|
* @generated from field: repeated livekit.RoomAgentDispatch agents = 6;
|
|
83
90
|
*/
|
|
84
91
|
agents: RoomAgentDispatch[];
|
|
85
92
|
|
|
86
93
|
/**
|
|
87
|
-
* Optional
|
|
94
|
+
* Optional - Identity of the participant in LiveKit room
|
|
88
95
|
*
|
|
89
96
|
* @generated from field: string participant_identity = 7;
|
|
90
97
|
*/
|
|
91
98
|
participantIdentity: string;
|
|
92
99
|
|
|
93
100
|
/**
|
|
94
|
-
* Optional
|
|
101
|
+
* Optional - Name of the participant in LiveKit room
|
|
95
102
|
*
|
|
96
103
|
* @generated from field: string participant_name = 8;
|
|
97
104
|
*/
|
|
98
105
|
participantName: string;
|
|
99
106
|
|
|
100
107
|
/**
|
|
101
|
-
* Optional
|
|
108
|
+
* Optional - User-defined metadata. Will be attached to a created Participant in the room.
|
|
102
109
|
*
|
|
103
110
|
* @generated from field: string participant_metadata = 9;
|
|
104
111
|
*/
|
|
105
112
|
participantMetadata: string;
|
|
106
113
|
|
|
107
114
|
/**
|
|
108
|
-
* Optional
|
|
115
|
+
* Optional - User-defined attributes. Will be attached to a created Participant in the room.
|
|
109
116
|
*
|
|
110
117
|
* @generated from field: map<string, string> participant_attributes = 10;
|
|
111
118
|
*/
|
|
112
119
|
participantAttributes: { [key: string]: string };
|
|
113
120
|
|
|
114
121
|
/**
|
|
115
|
-
* Country where the call terminates as ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This will be used by the livekit infrastructure to route calls.
|
|
122
|
+
* Optional - Country where the call terminates as ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This will be used by the livekit infrastructure to route calls.
|
|
123
|
+
*
|
|
124
|
+
* Next - 13
|
|
116
125
|
*
|
|
117
126
|
* @generated from field: string destination_country = 11;
|
|
118
127
|
*/
|
|
@@ -144,6 +153,13 @@ export declare class DialWhatsAppCallResponse extends Message<DialWhatsAppCallRe
|
|
|
144
153
|
*/
|
|
145
154
|
whatsappCallId: string;
|
|
146
155
|
|
|
156
|
+
/**
|
|
157
|
+
* The name of the LiveKit room that the call is connected to
|
|
158
|
+
*
|
|
159
|
+
* @generated from field: string room_name = 2;
|
|
160
|
+
*/
|
|
161
|
+
roomName: string;
|
|
162
|
+
|
|
147
163
|
constructor(data?: PartialMessage<DialWhatsAppCallResponse>);
|
|
148
164
|
|
|
149
165
|
static readonly runtime: typeof proto3;
|
|
@@ -164,13 +180,15 @@ export declare class DialWhatsAppCallResponse extends Message<DialWhatsAppCallRe
|
|
|
164
180
|
*/
|
|
165
181
|
export declare class DisconnectWhatsAppCallRequest extends Message<DisconnectWhatsAppCallRequest> {
|
|
166
182
|
/**
|
|
167
|
-
* Call ID sent by Meta
|
|
183
|
+
* Required - Call ID sent by Meta
|
|
168
184
|
*
|
|
169
185
|
* @generated from field: string whatsapp_call_id = 1;
|
|
170
186
|
*/
|
|
171
187
|
whatsappCallId: string;
|
|
172
188
|
|
|
173
189
|
/**
|
|
190
|
+
* Required - The API key of the business that is disconnecting the call
|
|
191
|
+
*
|
|
174
192
|
* @generated from field: string whatsapp_api_key = 2;
|
|
175
193
|
*/
|
|
176
194
|
whatsappApiKey: string;
|
|
@@ -214,31 +232,17 @@ export declare class DisconnectWhatsAppCallResponse extends Message<DisconnectWh
|
|
|
214
232
|
*/
|
|
215
233
|
export declare class ConnectWhatsAppCallRequest extends Message<ConnectWhatsAppCallRequest> {
|
|
216
234
|
/**
|
|
217
|
-
*
|
|
218
|
-
*
|
|
219
|
-
* @generated from field: string whatsapp_phone_number_id = 1;
|
|
220
|
-
*/
|
|
221
|
-
whatsappPhoneNumberId: string;
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* The API key of the business that is connecting the call
|
|
225
|
-
*
|
|
226
|
-
* @generated from field: string whatsapp_api_key = 2;
|
|
227
|
-
*/
|
|
228
|
-
whatsappApiKey: string;
|
|
229
|
-
|
|
230
|
-
/**
|
|
231
|
-
* Call ID sent by Meta
|
|
235
|
+
* Required - Call ID sent by Meta
|
|
232
236
|
*
|
|
233
|
-
* @generated from field: string whatsapp_call_id =
|
|
237
|
+
* @generated from field: string whatsapp_call_id = 1;
|
|
234
238
|
*/
|
|
235
239
|
whatsappCallId: string;
|
|
236
240
|
|
|
237
241
|
/**
|
|
238
|
-
* The call connect webhook comes with SDP from Meta
|
|
242
|
+
* Required - The call connect webhook comes with SDP from Meta
|
|
239
243
|
* It is the answer SDP for a business initiated call
|
|
240
244
|
*
|
|
241
|
-
* @generated from field: livekit.SessionDescription sdp =
|
|
245
|
+
* @generated from field: livekit.SessionDescription sdp = 2;
|
|
242
246
|
*/
|
|
243
247
|
sdp?: SessionDescription;
|
|
244
248
|
|
|
@@ -281,35 +285,42 @@ export declare class ConnectWhatsAppCallResponse extends Message<ConnectWhatsApp
|
|
|
281
285
|
*/
|
|
282
286
|
export declare class AcceptWhatsAppCallRequest extends Message<AcceptWhatsAppCallRequest> {
|
|
283
287
|
/**
|
|
284
|
-
* The number of the business that is conencting the call
|
|
288
|
+
* Required - The number of the business that is conencting the call
|
|
285
289
|
*
|
|
286
290
|
* @generated from field: string whatsapp_phone_number_id = 1;
|
|
287
291
|
*/
|
|
288
292
|
whatsappPhoneNumberId: string;
|
|
289
293
|
|
|
290
294
|
/**
|
|
291
|
-
* The API key of the business that is connecting the call
|
|
295
|
+
* Required - The API key of the business that is connecting the call
|
|
292
296
|
*
|
|
293
297
|
* @generated from field: string whatsapp_api_key = 2;
|
|
294
298
|
*/
|
|
295
299
|
whatsappApiKey: string;
|
|
296
300
|
|
|
297
301
|
/**
|
|
298
|
-
*
|
|
302
|
+
* Required - WhatsApp Cloud API version, eg: 23.0, 24.0, etc.
|
|
303
|
+
*
|
|
304
|
+
* @generated from field: string whatsapp_cloud_api_version = 13;
|
|
305
|
+
*/
|
|
306
|
+
whatsappCloudApiVersion: string;
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* Required - Call ID sent by Meta
|
|
299
310
|
*
|
|
300
311
|
* @generated from field: string whatsapp_call_id = 3;
|
|
301
312
|
*/
|
|
302
313
|
whatsappCallId: string;
|
|
303
314
|
|
|
304
315
|
/**
|
|
305
|
-
* An arbitrary string you can pass in that is useful for tracking and logging purposes.
|
|
316
|
+
* Optional - An arbitrary string you can pass in that is useful for tracking and logging purposes.
|
|
306
317
|
*
|
|
307
318
|
* @generated from field: string whatsapp_biz_opaque_callback_data = 4;
|
|
308
319
|
*/
|
|
309
320
|
whatsappBizOpaqueCallbackData: string;
|
|
310
321
|
|
|
311
322
|
/**
|
|
312
|
-
* The call accept webhook comes with SDP from Meta
|
|
323
|
+
* Required - The call accept webhook comes with SDP from Meta
|
|
313
324
|
* It is the for a user initiated call
|
|
314
325
|
*
|
|
315
326
|
* @generated from field: livekit.SessionDescription sdp = 5;
|
|
@@ -317,49 +328,51 @@ export declare class AcceptWhatsAppCallRequest extends Message<AcceptWhatsAppCal
|
|
|
317
328
|
sdp?: SessionDescription;
|
|
318
329
|
|
|
319
330
|
/**
|
|
320
|
-
* What LiveKit room should this participant be connected too
|
|
331
|
+
* Optional - What LiveKit room should this participant be connected too
|
|
321
332
|
*
|
|
322
333
|
* @generated from field: string room_name = 6;
|
|
323
334
|
*/
|
|
324
335
|
roomName: string;
|
|
325
336
|
|
|
326
337
|
/**
|
|
327
|
-
* Optional
|
|
338
|
+
* Optional - Agents to dispatch the call to
|
|
328
339
|
*
|
|
329
340
|
* @generated from field: repeated livekit.RoomAgentDispatch agents = 7;
|
|
330
341
|
*/
|
|
331
342
|
agents: RoomAgentDispatch[];
|
|
332
343
|
|
|
333
344
|
/**
|
|
334
|
-
* Optional
|
|
345
|
+
* Optional - Identity of the participant in LiveKit room
|
|
335
346
|
*
|
|
336
347
|
* @generated from field: string participant_identity = 8;
|
|
337
348
|
*/
|
|
338
349
|
participantIdentity: string;
|
|
339
350
|
|
|
340
351
|
/**
|
|
341
|
-
* Optional
|
|
352
|
+
* Optional - Name of the participant in LiveKit room
|
|
342
353
|
*
|
|
343
354
|
* @generated from field: string participant_name = 9;
|
|
344
355
|
*/
|
|
345
356
|
participantName: string;
|
|
346
357
|
|
|
347
358
|
/**
|
|
348
|
-
* Optional
|
|
359
|
+
* Optional - User-defined metadata. Will be attached to a created Participant in the room.
|
|
349
360
|
*
|
|
350
361
|
* @generated from field: string participant_metadata = 10;
|
|
351
362
|
*/
|
|
352
363
|
participantMetadata: string;
|
|
353
364
|
|
|
354
365
|
/**
|
|
355
|
-
* Optional
|
|
366
|
+
* Optional - User-defined attributes. Will be attached to a created Participant in the room.
|
|
356
367
|
*
|
|
357
368
|
* @generated from field: map<string, string> participant_attributes = 11;
|
|
358
369
|
*/
|
|
359
370
|
participantAttributes: { [key: string]: string };
|
|
360
371
|
|
|
361
372
|
/**
|
|
362
|
-
* Country where the call terminates as ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This will be used by the livekit infrastructure to route calls.
|
|
373
|
+
* Optional - Country where the call terminates as ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This will be used by the livekit infrastructure to route calls.
|
|
374
|
+
*
|
|
375
|
+
* Next - 14
|
|
363
376
|
*
|
|
364
377
|
* @generated from field: string destination_country = 12;
|
|
365
378
|
*/
|
|
@@ -384,6 +397,13 @@ export declare class AcceptWhatsAppCallRequest extends Message<AcceptWhatsAppCal
|
|
|
384
397
|
* @generated from message livekit.AcceptWhatsAppCallResponse
|
|
385
398
|
*/
|
|
386
399
|
export declare class AcceptWhatsAppCallResponse extends Message<AcceptWhatsAppCallResponse> {
|
|
400
|
+
/**
|
|
401
|
+
* The name of the LiveKit room that the call is connected to
|
|
402
|
+
*
|
|
403
|
+
* @generated from field: string room_name = 1;
|
|
404
|
+
*/
|
|
405
|
+
roomName: string;
|
|
406
|
+
|
|
387
407
|
constructor(data?: PartialMessage<AcceptWhatsAppCallResponse>);
|
|
388
408
|
|
|
389
409
|
static readonly runtime: typeof proto3;
|
|
@@ -41,6 +41,7 @@ export const DialWhatsAppCallRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
41
41
|
{ no: 1, name: "whatsapp_phone_number_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
42
42
|
{ no: 2, name: "whatsapp_to_phone_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
43
43
|
{ no: 3, name: "whatsapp_api_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
44
|
+
{ no: 12, name: "whatsapp_cloud_api_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
44
45
|
{ no: 4, name: "whatsapp_biz_opaque_callback_data", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
45
46
|
{ no: 5, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
46
47
|
{ no: 6, name: "agents", kind: "message", T: RoomAgentDispatch, repeated: true },
|
|
@@ -59,6 +60,7 @@ export const DialWhatsAppCallResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
59
60
|
"livekit.DialWhatsAppCallResponse",
|
|
60
61
|
() => [
|
|
61
62
|
{ no: 1, name: "whatsapp_call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
63
|
+
{ no: 2, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
62
64
|
],
|
|
63
65
|
);
|
|
64
66
|
|
|
@@ -87,10 +89,8 @@ export const DisconnectWhatsAppCallResponse = /*@__PURE__*/ proto3.makeMessageTy
|
|
|
87
89
|
export const ConnectWhatsAppCallRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
88
90
|
"livekit.ConnectWhatsAppCallRequest",
|
|
89
91
|
() => [
|
|
90
|
-
{ no: 1, name: "
|
|
91
|
-
{ no: 2, name: "
|
|
92
|
-
{ no: 3, name: "whatsapp_call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
93
|
-
{ no: 4, name: "sdp", kind: "message", T: SessionDescription },
|
|
92
|
+
{ no: 1, name: "whatsapp_call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
93
|
+
{ no: 2, name: "sdp", kind: "message", T: SessionDescription },
|
|
94
94
|
],
|
|
95
95
|
);
|
|
96
96
|
|
|
@@ -110,6 +110,7 @@ export const AcceptWhatsAppCallRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
110
110
|
() => [
|
|
111
111
|
{ no: 1, name: "whatsapp_phone_number_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
112
112
|
{ no: 2, name: "whatsapp_api_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
113
|
+
{ no: 13, name: "whatsapp_cloud_api_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
113
114
|
{ no: 3, name: "whatsapp_call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
114
115
|
{ no: 4, name: "whatsapp_biz_opaque_callback_data", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
115
116
|
{ no: 5, name: "sdp", kind: "message", T: SessionDescription },
|
|
@@ -128,7 +129,9 @@ export const AcceptWhatsAppCallRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
128
129
|
*/
|
|
129
130
|
export const AcceptWhatsAppCallResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
130
131
|
"livekit.AcceptWhatsAppCallResponse",
|
|
131
|
-
[
|
|
132
|
+
() => [
|
|
133
|
+
{ no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
134
|
+
],
|
|
132
135
|
);
|
|
133
136
|
|
|
134
137
|
/**
|
|
@@ -384,9 +384,16 @@ export declare class MetricsRecordingHeader extends Message<MetricsRecordingHead
|
|
|
384
384
|
roomId: string;
|
|
385
385
|
|
|
386
386
|
/**
|
|
387
|
-
*
|
|
387
|
+
* milliseconds
|
|
388
|
+
*
|
|
389
|
+
* @generated from field: uint64 duration = 3;
|
|
390
|
+
*/
|
|
391
|
+
duration: bigint;
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* @generated from field: google.protobuf.Timestamp start_time = 4;
|
|
388
395
|
*/
|
|
389
|
-
|
|
396
|
+
startTime?: Timestamp;
|
|
390
397
|
|
|
391
398
|
constructor(data?: PartialMessage<MetricsRecordingHeader>);
|
|
392
399
|
|
|
@@ -102,7 +102,8 @@ export const MetricsRecordingHeader = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
102
102
|
"livekit.MetricsRecordingHeader",
|
|
103
103
|
() => [
|
|
104
104
|
{ no: 1, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
105
|
-
{ no:
|
|
105
|
+
{ no: 3, name: "duration", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
106
|
+
{ no: 4, name: "start_time", kind: "message", T: Timestamp },
|
|
106
107
|
],
|
|
107
108
|
);
|
|
108
109
|
|
|
@@ -84,30 +84,30 @@ export declare enum PhoneNumberType {
|
|
|
84
84
|
*/
|
|
85
85
|
export declare class SearchPhoneNumbersRequest extends Message<SearchPhoneNumbersRequest> {
|
|
86
86
|
/**
|
|
87
|
-
*
|
|
87
|
+
* Filter by country code (e.g., "US", "CA")
|
|
88
88
|
*
|
|
89
89
|
* @generated from field: string country_code = 1;
|
|
90
90
|
*/
|
|
91
91
|
countryCode: string;
|
|
92
92
|
|
|
93
93
|
/**
|
|
94
|
-
*
|
|
94
|
+
* Filter by area code (e.g., "415")
|
|
95
95
|
*
|
|
96
|
-
* @generated from field: string area_code = 2;
|
|
96
|
+
* @generated from field: optional string area_code = 2;
|
|
97
97
|
*/
|
|
98
|
-
areaCode
|
|
98
|
+
areaCode?: string;
|
|
99
99
|
|
|
100
100
|
/**
|
|
101
|
-
*
|
|
101
|
+
* Maximum number of results (default: 50)
|
|
102
102
|
*
|
|
103
|
-
* @generated from field: int32 limit = 3;
|
|
103
|
+
* @generated from field: optional int32 limit = 3;
|
|
104
104
|
*/
|
|
105
|
-
limit
|
|
105
|
+
limit?: number;
|
|
106
106
|
|
|
107
107
|
/**
|
|
108
|
-
*
|
|
108
|
+
* Token for pagination (empty for first page)
|
|
109
109
|
*
|
|
110
|
-
* @generated from field: livekit.TokenPagination page_token = 4;
|
|
110
|
+
* @generated from field: optional livekit.TokenPagination page_token = 4;
|
|
111
111
|
*/
|
|
112
112
|
pageToken?: TokenPagination;
|
|
113
113
|
|
|
@@ -175,11 +175,11 @@ export declare class PurchasePhoneNumberRequest extends Message<PurchasePhoneNum
|
|
|
175
175
|
phoneNumbers: string[];
|
|
176
176
|
|
|
177
177
|
/**
|
|
178
|
-
*
|
|
178
|
+
* SIP dispatch rule ID to apply to all purchased numbers
|
|
179
179
|
*
|
|
180
|
-
* @generated from field: string sip_dispatch_rule_id = 2;
|
|
180
|
+
* @generated from field: optional string sip_dispatch_rule_id = 2;
|
|
181
181
|
*/
|
|
182
|
-
sipDispatchRuleId
|
|
182
|
+
sipDispatchRuleId?: string;
|
|
183
183
|
|
|
184
184
|
constructor(data?: PartialMessage<PurchasePhoneNumberRequest>);
|
|
185
185
|
|
|
@@ -231,32 +231,32 @@ export declare class PurchasePhoneNumberResponse extends Message<PurchasePhoneNu
|
|
|
231
231
|
*/
|
|
232
232
|
export declare class ListPhoneNumbersRequest extends Message<ListPhoneNumbersRequest> {
|
|
233
233
|
/**
|
|
234
|
-
*
|
|
234
|
+
* Maximum number of results (default: 50)
|
|
235
235
|
*
|
|
236
|
-
* @generated from field: int32 limit = 1;
|
|
236
|
+
* @generated from field: optional int32 limit = 1;
|
|
237
237
|
*/
|
|
238
|
-
limit
|
|
238
|
+
limit?: number;
|
|
239
239
|
|
|
240
240
|
/**
|
|
241
|
-
*
|
|
241
|
+
* Filter by statuses (active, pending, released)
|
|
242
242
|
*
|
|
243
|
-
* @generated from field: livekit.PhoneNumberStatus
|
|
243
|
+
* @generated from field: repeated livekit.PhoneNumberStatus statuses = 2;
|
|
244
244
|
*/
|
|
245
|
-
|
|
245
|
+
statuses: PhoneNumberStatus[];
|
|
246
246
|
|
|
247
247
|
/**
|
|
248
|
-
*
|
|
248
|
+
* Token for pagination (empty for first page)
|
|
249
249
|
*
|
|
250
|
-
* @generated from field: livekit.TokenPagination page_token = 3;
|
|
250
|
+
* @generated from field: optional livekit.TokenPagination page_token = 3;
|
|
251
251
|
*/
|
|
252
252
|
pageToken?: TokenPagination;
|
|
253
253
|
|
|
254
254
|
/**
|
|
255
|
-
*
|
|
255
|
+
* Filter by SIP dispatch rule ID
|
|
256
256
|
*
|
|
257
|
-
* @generated from field: string sip_dispatch_rule_id = 4;
|
|
257
|
+
* @generated from field: optional string sip_dispatch_rule_id = 4;
|
|
258
258
|
*/
|
|
259
|
-
sipDispatchRuleId
|
|
259
|
+
sipDispatchRuleId?: string;
|
|
260
260
|
|
|
261
261
|
constructor(data?: PartialMessage<ListPhoneNumbersRequest>);
|
|
262
262
|
|
|
@@ -322,18 +322,18 @@ export declare class ListPhoneNumbersResponse extends Message<ListPhoneNumbersRe
|
|
|
322
322
|
*/
|
|
323
323
|
export declare class GetPhoneNumberRequest extends Message<GetPhoneNumberRequest> {
|
|
324
324
|
/**
|
|
325
|
-
*
|
|
325
|
+
* Use phone number ID for direct lookup
|
|
326
326
|
*
|
|
327
|
-
* @generated from field: string id = 1;
|
|
327
|
+
* @generated from field: optional string id = 1;
|
|
328
328
|
*/
|
|
329
|
-
id
|
|
329
|
+
id?: string;
|
|
330
330
|
|
|
331
331
|
/**
|
|
332
|
-
*
|
|
332
|
+
* Use phone number string for lookup
|
|
333
333
|
*
|
|
334
|
-
* @generated from field: string phone_number = 2;
|
|
334
|
+
* @generated from field: optional string phone_number = 2;
|
|
335
335
|
*/
|
|
336
|
-
phoneNumber
|
|
336
|
+
phoneNumber?: string;
|
|
337
337
|
|
|
338
338
|
constructor(data?: PartialMessage<GetPhoneNumberRequest>);
|
|
339
339
|
|
|
@@ -385,25 +385,25 @@ export declare class GetPhoneNumberResponse extends Message<GetPhoneNumberRespon
|
|
|
385
385
|
*/
|
|
386
386
|
export declare class UpdatePhoneNumberRequest extends Message<UpdatePhoneNumberRequest> {
|
|
387
387
|
/**
|
|
388
|
-
*
|
|
388
|
+
* Use phone number ID for direct lookup
|
|
389
389
|
*
|
|
390
|
-
* @generated from field: string id = 1;
|
|
390
|
+
* @generated from field: optional string id = 1;
|
|
391
391
|
*/
|
|
392
|
-
id
|
|
392
|
+
id?: string;
|
|
393
393
|
|
|
394
394
|
/**
|
|
395
|
-
*
|
|
395
|
+
* Use phone number string for lookup
|
|
396
396
|
*
|
|
397
|
-
* @generated from field: string phone_number = 2;
|
|
397
|
+
* @generated from field: optional string phone_number = 2;
|
|
398
398
|
*/
|
|
399
|
-
phoneNumber
|
|
399
|
+
phoneNumber?: string;
|
|
400
400
|
|
|
401
401
|
/**
|
|
402
|
-
*
|
|
402
|
+
* SIP dispatch rule ID to assign to the phone number
|
|
403
403
|
*
|
|
404
|
-
* @generated from field: string sip_dispatch_rule_id = 3;
|
|
404
|
+
* @generated from field: optional string sip_dispatch_rule_id = 3;
|
|
405
405
|
*/
|
|
406
|
-
sipDispatchRuleId
|
|
406
|
+
sipDispatchRuleId?: string;
|
|
407
407
|
|
|
408
408
|
constructor(data?: PartialMessage<UpdatePhoneNumberRequest>);
|
|
409
409
|
|
|
@@ -455,14 +455,14 @@ export declare class UpdatePhoneNumberResponse extends Message<UpdatePhoneNumber
|
|
|
455
455
|
*/
|
|
456
456
|
export declare class ReleasePhoneNumbersRequest extends Message<ReleasePhoneNumbersRequest> {
|
|
457
457
|
/**
|
|
458
|
-
*
|
|
458
|
+
* Use phone number IDs for direct lookup
|
|
459
459
|
*
|
|
460
460
|
* @generated from field: repeated string ids = 1;
|
|
461
461
|
*/
|
|
462
462
|
ids: string[];
|
|
463
463
|
|
|
464
464
|
/**
|
|
465
|
-
*
|
|
465
|
+
* Use phone number strings for lookup
|
|
466
466
|
*
|
|
467
467
|
* @generated from field: repeated string phone_numbers = 2;
|
|
468
468
|
*/
|