@livekit/protocol 1.42.0 → 1.42.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.42.0",
3
+ "version": "1.42.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "require": "dist/index.cjs",
@@ -131,6 +131,11 @@ export declare class Job extends Message<Job> {
131
131
  */
132
132
  state?: JobState;
133
133
 
134
+ /**
135
+ * @generated from field: bool enable_recording = 10;
136
+ */
137
+ enableRecording: boolean;
138
+
134
139
  constructor(data?: PartialMessage<Job>);
135
140
 
136
141
  static readonly runtime: typeof proto3;
@@ -71,6 +71,7 @@ export const Job = /*@__PURE__*/ proto3.makeMessageType(
71
71
  { no: 6, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
72
72
  { no: 7, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
73
73
  { no: 8, name: "state", kind: "message", T: JobState },
74
+ { no: 10, name: "enable_recording", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
74
75
  ],
75
76
  );
76
77
 
@@ -171,6 +171,16 @@ export declare class CreateAgentResponse extends Message<CreateAgentResponse> {
171
171
  */
172
172
  tag: string;
173
173
 
174
+ /**
175
+ * @generated from field: repeated string server_regions = 7;
176
+ */
177
+ serverRegions: string[];
178
+
179
+ /**
180
+ * @generated from field: livekit.PresignedPostRequest presigned_post_request = 8;
181
+ */
182
+ presignedPostRequest?: PresignedPostRequest;
183
+
174
184
  constructor(data?: PartialMessage<CreateAgentResponse>);
175
185
 
176
186
  static readonly runtime: typeof proto3;
@@ -186,6 +196,35 @@ export declare class CreateAgentResponse extends Message<CreateAgentResponse> {
186
196
  static equals(a: CreateAgentResponse | PlainMessage<CreateAgentResponse> | undefined, b: CreateAgentResponse | PlainMessage<CreateAgentResponse> | undefined): boolean;
187
197
  }
188
198
 
199
+ /**
200
+ * @generated from message livekit.PresignedPostRequest
201
+ */
202
+ export declare class PresignedPostRequest extends Message<PresignedPostRequest> {
203
+ /**
204
+ * @generated from field: string url = 1;
205
+ */
206
+ url: string;
207
+
208
+ /**
209
+ * @generated from field: map<string, string> values = 2;
210
+ */
211
+ values: { [key: string]: string };
212
+
213
+ constructor(data?: PartialMessage<PresignedPostRequest>);
214
+
215
+ static readonly runtime: typeof proto3;
216
+ static readonly typeName = "livekit.PresignedPostRequest";
217
+ static readonly fields: FieldList;
218
+
219
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PresignedPostRequest;
220
+
221
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PresignedPostRequest;
222
+
223
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PresignedPostRequest;
224
+
225
+ static equals(a: PresignedPostRequest | PlainMessage<PresignedPostRequest> | undefined, b: PresignedPostRequest | PlainMessage<PresignedPostRequest> | undefined): boolean;
226
+ }
227
+
189
228
  /**
190
229
  * @generated from message livekit.AgentDeployment
191
230
  */
@@ -250,6 +289,11 @@ export declare class AgentDeployment extends Message<AgentDeployment> {
250
289
  */
251
290
  cpuLimit: string;
252
291
 
292
+ /**
293
+ * @generated from field: string server_region = 13;
294
+ */
295
+ serverRegion: string;
296
+
253
297
  constructor(data?: PartialMessage<AgentDeployment>);
254
298
 
255
299
  static readonly runtime: typeof proto3;
@@ -396,6 +440,11 @@ export declare class AgentVersion extends Message<AgentVersion> {
396
440
  */
397
441
  attributes: { [key: string]: string };
398
442
 
443
+ /**
444
+ * @generated from field: string status = 6;
445
+ */
446
+ status: string;
447
+
399
448
  constructor(data?: PartialMessage<AgentVersion>);
400
449
 
401
450
  static readonly runtime: typeof proto3;
@@ -686,6 +735,11 @@ export declare class DeployAgentResponse extends Message<DeployAgentResponse> {
686
735
  */
687
736
  tag: string;
688
737
 
738
+ /**
739
+ * @generated from field: livekit.PresignedPostRequest presigned_post_request = 6;
740
+ */
741
+ presignedPostRequest?: PresignedPostRequest;
742
+
689
743
  constructor(data?: PartialMessage<DeployAgentResponse>);
690
744
 
691
745
  static readonly runtime: typeof proto3;
@@ -72,6 +72,19 @@ export const CreateAgentResponse = /*@__PURE__*/ proto3.makeMessageType(
72
72
  { no: 4, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
73
73
  { no: 5, name: "presigned_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
74
74
  { no: 6, name: "tag", kind: "scalar", T: 9 /* ScalarType.STRING */ },
75
+ { no: 7, name: "server_regions", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
76
+ { no: 8, name: "presigned_post_request", kind: "message", T: PresignedPostRequest },
77
+ ],
78
+ );
79
+
80
+ /**
81
+ * @generated from message livekit.PresignedPostRequest
82
+ */
83
+ export const PresignedPostRequest = /*@__PURE__*/ proto3.makeMessageType(
84
+ "livekit.PresignedPostRequest",
85
+ () => [
86
+ { no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
87
+ { no: 2, name: "values", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
75
88
  ],
76
89
  );
77
90
 
@@ -93,6 +106,7 @@ export const AgentDeployment = /*@__PURE__*/ proto3.makeMessageType(
93
106
  { no: 10, name: "mem_req", kind: "scalar", T: 9 /* ScalarType.STRING */ },
94
107
  { no: 11, name: "mem_limit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
95
108
  { no: 12, name: "cpu_limit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
109
+ { no: 13, name: "server_region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
96
110
  ],
97
111
  );
98
112
 
@@ -143,6 +157,7 @@ export const AgentVersion = /*@__PURE__*/ proto3.makeMessageType(
143
157
  { no: 3, name: "created_at", kind: "message", T: Timestamp },
144
158
  { no: 4, name: "deployed_at", kind: "message", T: Timestamp },
145
159
  { no: 5, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
160
+ { no: 6, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
146
161
  ],
147
162
  );
148
163
 
@@ -241,6 +256,7 @@ export const DeployAgentResponse = /*@__PURE__*/ proto3.makeMessageType(
241
256
  { no: 3, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
242
257
  { no: 4, name: "presigned_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
243
258
  { no: 5, name: "tag", kind: "scalar", T: 9 /* ScalarType.STRING */ },
259
+ { no: 6, name: "presigned_post_request", kind: "message", T: PresignedPostRequest },
244
260
  ],
245
261
  );
246
262
 
@@ -0,0 +1,434 @@
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_whatsapp.proto (package livekit, syntax proto3)
17
+ /* eslint-disable */
18
+ // @ts-nocheck
19
+
20
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
21
+ import { Message, proto3 } from "@bufbuild/protobuf";
22
+ import type { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js";
23
+ import type { SessionDescription } from "./livekit_rtc_pb.js";
24
+
25
+ /**
26
+ * @generated from enum livekit.WhatsAppCallDirection
27
+ */
28
+ export declare enum WhatsAppCallDirection {
29
+ /**
30
+ * @generated from enum value: WHATSAPP_CALL_DIRECTION_INBOUND = 0;
31
+ */
32
+ WHATSAPP_CALL_DIRECTION_INBOUND = 0,
33
+
34
+ /**
35
+ * @generated from enum value: WHATSAPP_CALL_DIRECTION_OUTBOUND = 2;
36
+ */
37
+ WHATSAPP_CALL_DIRECTION_OUTBOUND = 2,
38
+ }
39
+
40
+ /**
41
+ * @generated from message livekit.DialWhatsAppCallRequest
42
+ */
43
+ export declare class DialWhatsAppCallRequest extends Message<DialWhatsAppCallRequest> {
44
+ /**
45
+ * The number of the business that is initiating the call
46
+ *
47
+ * @generated from field: string whatsapp_phone_number_id = 1;
48
+ */
49
+ whatsappPhoneNumberId: string;
50
+
51
+ /**
52
+ * The number of the user that is supossed to receive the call
53
+ *
54
+ * @generated from field: string whatsapp_to_phone_number = 2;
55
+ */
56
+ whatsappToPhoneNumber: string;
57
+
58
+ /**
59
+ * The API key of the business that is initiating the call
60
+ *
61
+ * @generated from field: string whatsapp_api_key = 3;
62
+ */
63
+ whatsappApiKey: string;
64
+
65
+ /**
66
+ * An arbitrary string you can pass in that is useful for tracking and logging purposes.
67
+ *
68
+ * @generated from field: string whatsapp_biz_opaque_callback_data = 4;
69
+ */
70
+ whatsappBizOpaqueCallbackData: string;
71
+
72
+ /**
73
+ * What LiveKit room should this participant be connected too
74
+ *
75
+ * @generated from field: string room_name = 5;
76
+ */
77
+ roomName: string;
78
+
79
+ /**
80
+ * Optional agents to dispatch the call to
81
+ *
82
+ * @generated from field: repeated livekit.RoomAgentDispatch agents = 6;
83
+ */
84
+ agents: RoomAgentDispatch[];
85
+
86
+ /**
87
+ * Optional identity of the participant in LiveKit room
88
+ *
89
+ * @generated from field: string participant_identity = 7;
90
+ */
91
+ participantIdentity: string;
92
+
93
+ /**
94
+ * Optional name of the participant in LiveKit room
95
+ *
96
+ * @generated from field: string participant_name = 8;
97
+ */
98
+ participantName: string;
99
+
100
+ /**
101
+ * Optional user-defined metadata. Will be attached to a created Participant in the room.
102
+ *
103
+ * @generated from field: string participant_metadata = 9;
104
+ */
105
+ participantMetadata: string;
106
+
107
+ /**
108
+ * Optional user-defined attributes. Will be attached to a created Participant in the room.
109
+ *
110
+ * @generated from field: map<string, string> participant_attributes = 10;
111
+ */
112
+ participantAttributes: { [key: string]: string };
113
+
114
+ /**
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.
116
+ *
117
+ * @generated from field: string destination_country = 11;
118
+ */
119
+ destinationCountry: string;
120
+
121
+ constructor(data?: PartialMessage<DialWhatsAppCallRequest>);
122
+
123
+ static readonly runtime: typeof proto3;
124
+ static readonly typeName = "livekit.DialWhatsAppCallRequest";
125
+ static readonly fields: FieldList;
126
+
127
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DialWhatsAppCallRequest;
128
+
129
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DialWhatsAppCallRequest;
130
+
131
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DialWhatsAppCallRequest;
132
+
133
+ static equals(a: DialWhatsAppCallRequest | PlainMessage<DialWhatsAppCallRequest> | undefined, b: DialWhatsAppCallRequest | PlainMessage<DialWhatsAppCallRequest> | undefined): boolean;
134
+ }
135
+
136
+ /**
137
+ * @generated from message livekit.DialWhatsAppCallResponse
138
+ */
139
+ export declare class DialWhatsAppCallResponse extends Message<DialWhatsAppCallResponse> {
140
+ /**
141
+ * Call ID sent by Meta
142
+ *
143
+ * @generated from field: string whatsapp_call_id = 1;
144
+ */
145
+ whatsappCallId: string;
146
+
147
+ constructor(data?: PartialMessage<DialWhatsAppCallResponse>);
148
+
149
+ static readonly runtime: typeof proto3;
150
+ static readonly typeName = "livekit.DialWhatsAppCallResponse";
151
+ static readonly fields: FieldList;
152
+
153
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DialWhatsAppCallResponse;
154
+
155
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DialWhatsAppCallResponse;
156
+
157
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DialWhatsAppCallResponse;
158
+
159
+ static equals(a: DialWhatsAppCallResponse | PlainMessage<DialWhatsAppCallResponse> | undefined, b: DialWhatsAppCallResponse | PlainMessage<DialWhatsAppCallResponse> | undefined): boolean;
160
+ }
161
+
162
+ /**
163
+ * @generated from message livekit.DisconnectWhatsAppCallRequest
164
+ */
165
+ export declare class DisconnectWhatsAppCallRequest extends Message<DisconnectWhatsAppCallRequest> {
166
+ /**
167
+ * Call ID sent by Meta
168
+ *
169
+ * @generated from field: string whatsapp_call_id = 1;
170
+ */
171
+ whatsappCallId: string;
172
+
173
+ /**
174
+ * @generated from field: string whatsapp_api_key = 2;
175
+ */
176
+ whatsappApiKey: string;
177
+
178
+ constructor(data?: PartialMessage<DisconnectWhatsAppCallRequest>);
179
+
180
+ static readonly runtime: typeof proto3;
181
+ static readonly typeName = "livekit.DisconnectWhatsAppCallRequest";
182
+ static readonly fields: FieldList;
183
+
184
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DisconnectWhatsAppCallRequest;
185
+
186
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DisconnectWhatsAppCallRequest;
187
+
188
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DisconnectWhatsAppCallRequest;
189
+
190
+ static equals(a: DisconnectWhatsAppCallRequest | PlainMessage<DisconnectWhatsAppCallRequest> | undefined, b: DisconnectWhatsAppCallRequest | PlainMessage<DisconnectWhatsAppCallRequest> | undefined): boolean;
191
+ }
192
+
193
+ /**
194
+ * @generated from message livekit.DisconnectWhatsAppCallResponse
195
+ */
196
+ export declare class DisconnectWhatsAppCallResponse extends Message<DisconnectWhatsAppCallResponse> {
197
+ constructor(data?: PartialMessage<DisconnectWhatsAppCallResponse>);
198
+
199
+ static readonly runtime: typeof proto3;
200
+ static readonly typeName = "livekit.DisconnectWhatsAppCallResponse";
201
+ static readonly fields: FieldList;
202
+
203
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DisconnectWhatsAppCallResponse;
204
+
205
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DisconnectWhatsAppCallResponse;
206
+
207
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DisconnectWhatsAppCallResponse;
208
+
209
+ static equals(a: DisconnectWhatsAppCallResponse | PlainMessage<DisconnectWhatsAppCallResponse> | undefined, b: DisconnectWhatsAppCallResponse | PlainMessage<DisconnectWhatsAppCallResponse> | undefined): boolean;
210
+ }
211
+
212
+ /**
213
+ * @generated from message livekit.ConnectWhatsAppCallRequest
214
+ */
215
+ export declare class ConnectWhatsAppCallRequest extends Message<ConnectWhatsAppCallRequest> {
216
+ /**
217
+ * The number of the business that is conencting the call
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
232
+ *
233
+ * @generated from field: string whatsapp_call_id = 3;
234
+ */
235
+ whatsappCallId: string;
236
+
237
+ /**
238
+ * The call connect webhook comes with SDP from Meta
239
+ * It is the answer SDP for a business initiated call
240
+ *
241
+ * @generated from field: livekit.SessionDescription sdp = 4;
242
+ */
243
+ sdp?: SessionDescription;
244
+
245
+ constructor(data?: PartialMessage<ConnectWhatsAppCallRequest>);
246
+
247
+ static readonly runtime: typeof proto3;
248
+ static readonly typeName = "livekit.ConnectWhatsAppCallRequest";
249
+ static readonly fields: FieldList;
250
+
251
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConnectWhatsAppCallRequest;
252
+
253
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConnectWhatsAppCallRequest;
254
+
255
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConnectWhatsAppCallRequest;
256
+
257
+ static equals(a: ConnectWhatsAppCallRequest | PlainMessage<ConnectWhatsAppCallRequest> | undefined, b: ConnectWhatsAppCallRequest | PlainMessage<ConnectWhatsAppCallRequest> | undefined): boolean;
258
+ }
259
+
260
+ /**
261
+ * @generated from message livekit.ConnectWhatsAppCallResponse
262
+ */
263
+ export declare class ConnectWhatsAppCallResponse extends Message<ConnectWhatsAppCallResponse> {
264
+ constructor(data?: PartialMessage<ConnectWhatsAppCallResponse>);
265
+
266
+ static readonly runtime: typeof proto3;
267
+ static readonly typeName = "livekit.ConnectWhatsAppCallResponse";
268
+ static readonly fields: FieldList;
269
+
270
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConnectWhatsAppCallResponse;
271
+
272
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConnectWhatsAppCallResponse;
273
+
274
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConnectWhatsAppCallResponse;
275
+
276
+ static equals(a: ConnectWhatsAppCallResponse | PlainMessage<ConnectWhatsAppCallResponse> | undefined, b: ConnectWhatsAppCallResponse | PlainMessage<ConnectWhatsAppCallResponse> | undefined): boolean;
277
+ }
278
+
279
+ /**
280
+ * @generated from message livekit.AcceptWhatsAppCallRequest
281
+ */
282
+ export declare class AcceptWhatsAppCallRequest extends Message<AcceptWhatsAppCallRequest> {
283
+ /**
284
+ * The number of the business that is conencting the call
285
+ *
286
+ * @generated from field: string whatsapp_phone_number_id = 1;
287
+ */
288
+ whatsappPhoneNumberId: string;
289
+
290
+ /**
291
+ * The API key of the business that is connecting the call
292
+ *
293
+ * @generated from field: string whatsapp_api_key = 2;
294
+ */
295
+ whatsappApiKey: string;
296
+
297
+ /**
298
+ * Call ID sent by Meta
299
+ *
300
+ * @generated from field: string whatsapp_call_id = 3;
301
+ */
302
+ whatsappCallId: string;
303
+
304
+ /**
305
+ * An arbitrary string you can pass in that is useful for tracking and logging purposes.
306
+ *
307
+ * @generated from field: string whatsapp_biz_opaque_callback_data = 4;
308
+ */
309
+ whatsappBizOpaqueCallbackData: string;
310
+
311
+ /**
312
+ * The call accept webhook comes with SDP from Meta
313
+ * It is the for a user initiated call
314
+ *
315
+ * @generated from field: livekit.SessionDescription sdp = 5;
316
+ */
317
+ sdp?: SessionDescription;
318
+
319
+ /**
320
+ * What LiveKit room should this participant be connected too
321
+ *
322
+ * @generated from field: string room_name = 6;
323
+ */
324
+ roomName: string;
325
+
326
+ /**
327
+ * Optional agents to dispatch the call to
328
+ *
329
+ * @generated from field: repeated livekit.RoomAgentDispatch agents = 7;
330
+ */
331
+ agents: RoomAgentDispatch[];
332
+
333
+ /**
334
+ * Optional identity of the participant in LiveKit room
335
+ *
336
+ * @generated from field: string participant_identity = 8;
337
+ */
338
+ participantIdentity: string;
339
+
340
+ /**
341
+ * Optional name of the participant in LiveKit room
342
+ *
343
+ * @generated from field: string participant_name = 9;
344
+ */
345
+ participantName: string;
346
+
347
+ /**
348
+ * Optional user-defined metadata. Will be attached to a created Participant in the room.
349
+ *
350
+ * @generated from field: string participant_metadata = 10;
351
+ */
352
+ participantMetadata: string;
353
+
354
+ /**
355
+ * Optional user-defined attributes. Will be attached to a created Participant in the room.
356
+ *
357
+ * @generated from field: map<string, string> participant_attributes = 11;
358
+ */
359
+ participantAttributes: { [key: string]: string };
360
+
361
+ /**
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.
363
+ *
364
+ * @generated from field: string destination_country = 12;
365
+ */
366
+ destinationCountry: string;
367
+
368
+ constructor(data?: PartialMessage<AcceptWhatsAppCallRequest>);
369
+
370
+ static readonly runtime: typeof proto3;
371
+ static readonly typeName = "livekit.AcceptWhatsAppCallRequest";
372
+ static readonly fields: FieldList;
373
+
374
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AcceptWhatsAppCallRequest;
375
+
376
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AcceptWhatsAppCallRequest;
377
+
378
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AcceptWhatsAppCallRequest;
379
+
380
+ static equals(a: AcceptWhatsAppCallRequest | PlainMessage<AcceptWhatsAppCallRequest> | undefined, b: AcceptWhatsAppCallRequest | PlainMessage<AcceptWhatsAppCallRequest> | undefined): boolean;
381
+ }
382
+
383
+ /**
384
+ * @generated from message livekit.AcceptWhatsAppCallResponse
385
+ */
386
+ export declare class AcceptWhatsAppCallResponse extends Message<AcceptWhatsAppCallResponse> {
387
+ constructor(data?: PartialMessage<AcceptWhatsAppCallResponse>);
388
+
389
+ static readonly runtime: typeof proto3;
390
+ static readonly typeName = "livekit.AcceptWhatsAppCallResponse";
391
+ static readonly fields: FieldList;
392
+
393
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AcceptWhatsAppCallResponse;
394
+
395
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AcceptWhatsAppCallResponse;
396
+
397
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AcceptWhatsAppCallResponse;
398
+
399
+ static equals(a: AcceptWhatsAppCallResponse | PlainMessage<AcceptWhatsAppCallResponse> | undefined, b: AcceptWhatsAppCallResponse | PlainMessage<AcceptWhatsAppCallResponse> | undefined): boolean;
400
+ }
401
+
402
+ /**
403
+ * @generated from message livekit.WhatsAppCall
404
+ */
405
+ export declare class WhatsAppCall extends Message<WhatsAppCall> {
406
+ /**
407
+ * list of call ids that are currently active
408
+ *
409
+ * @generated from field: string whatsapp_call_id = 1;
410
+ */
411
+ whatsappCallId: string;
412
+
413
+ /**
414
+ * Direction of the call
415
+ *
416
+ * @generated from field: livekit.WhatsAppCallDirection direction = 2;
417
+ */
418
+ direction: WhatsAppCallDirection;
419
+
420
+ constructor(data?: PartialMessage<WhatsAppCall>);
421
+
422
+ static readonly runtime: typeof proto3;
423
+ static readonly typeName = "livekit.WhatsAppCall";
424
+ static readonly fields: FieldList;
425
+
426
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WhatsAppCall;
427
+
428
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WhatsAppCall;
429
+
430
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WhatsAppCall;
431
+
432
+ static equals(a: WhatsAppCall | PlainMessage<WhatsAppCall> | undefined, b: WhatsAppCall | PlainMessage<WhatsAppCall> | undefined): boolean;
433
+ }
434
+