@livekit/protocol 1.44.1 → 1.45.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/dist/index.cjs +694 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1675 -118
- package/dist/index.d.mts +1675 -118
- package/dist/index.d.ts +1675 -118
- package/dist/index.mjs +695 -14
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/agent/livekit_agent_dev_pb.d.ts +149 -0
- package/src/gen/agent/livekit_agent_dev_pb.js +56 -0
- package/src/gen/agent/livekit_agent_session_pb.d.ts +1378 -1
- package/src/gen/agent/livekit_agent_session_pb.js +494 -1
- package/src/gen/livekit_agent_simulation_pb.d.ts +1505 -0
- package/src/gen/livekit_agent_simulation_pb.js +612 -0
- package/src/gen/livekit_cloud_agent_pb.d.ts +20 -4
- package/src/gen/livekit_cloud_agent_pb.js +2 -0
- package/src/gen/livekit_connector_whatsapp_pb.d.ts +22 -5
- package/src/gen/livekit_connector_whatsapp_pb.js +4 -1
- package/src/gen/livekit_models_pb.d.ts +22 -0
- package/src/gen/livekit_models_pb.js +12 -0
- package/src/gen/livekit_rtc_pb.d.ts +6 -1
- package/src/gen/livekit_rtc_pb.js +2 -1
- package/src/gen/livekit_sip_pb.d.ts +59 -3
- package/src/gen/livekit_sip_pb.js +11 -1
- package/src/gen/version.js +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Message, Timestamp, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage, Duration, Any } from '@bufbuild/protobuf';
|
|
1
|
+
import { Message, Timestamp, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage, Struct, Duration, Any } from '@bufbuild/protobuf';
|
|
2
2
|
export { protoInt64 } from '@bufbuild/protobuf';
|
|
3
3
|
|
|
4
4
|
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
@@ -33,6 +33,56 @@ declare enum ChatRole {
|
|
|
33
33
|
ASSISTANT = 3,
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
+
/**
|
|
37
|
+
* @generated from enum livekit.agent.AgentState
|
|
38
|
+
*/
|
|
39
|
+
declare enum AgentState {
|
|
40
|
+
/**
|
|
41
|
+
* @generated from enum value: AS_INITIALIZING = 0;
|
|
42
|
+
*/
|
|
43
|
+
AS_INITIALIZING = 0,
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @generated from enum value: AS_IDLE = 1;
|
|
47
|
+
*/
|
|
48
|
+
AS_IDLE = 1,
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @generated from enum value: AS_LISTENING = 2;
|
|
52
|
+
*/
|
|
53
|
+
AS_LISTENING = 2,
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @generated from enum value: AS_THINKING = 3;
|
|
57
|
+
*/
|
|
58
|
+
AS_THINKING = 3,
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @generated from enum value: AS_SPEAKING = 4;
|
|
62
|
+
*/
|
|
63
|
+
AS_SPEAKING = 4,
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @generated from enum livekit.agent.UserState
|
|
68
|
+
*/
|
|
69
|
+
declare enum UserState {
|
|
70
|
+
/**
|
|
71
|
+
* @generated from enum value: US_SPEAKING = 0;
|
|
72
|
+
*/
|
|
73
|
+
US_SPEAKING = 0,
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* @generated from enum value: US_LISTENING = 1;
|
|
77
|
+
*/
|
|
78
|
+
US_LISTENING = 1,
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @generated from enum value: US_AWAY = 2;
|
|
82
|
+
*/
|
|
83
|
+
US_AWAY = 2,
|
|
84
|
+
}
|
|
85
|
+
|
|
36
86
|
/**
|
|
37
87
|
* @generated from message livekit.agent.MetricsReport
|
|
38
88
|
*/
|
|
@@ -166,227 +216,1590 @@ declare class ChatMessage_ChatContent extends Message<ChatMessage_ChatContent> {
|
|
|
166
216
|
case: "text";
|
|
167
217
|
} | { case: undefined; value?: undefined };
|
|
168
218
|
|
|
169
|
-
constructor(data?: PartialMessage<ChatMessage_ChatContent>);
|
|
219
|
+
constructor(data?: PartialMessage<ChatMessage_ChatContent>);
|
|
220
|
+
|
|
221
|
+
static readonly runtime: typeof proto3;
|
|
222
|
+
static readonly typeName = "livekit.agent.ChatMessage.ChatContent";
|
|
223
|
+
static readonly fields: FieldList;
|
|
224
|
+
|
|
225
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChatMessage_ChatContent;
|
|
226
|
+
|
|
227
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChatMessage_ChatContent;
|
|
228
|
+
|
|
229
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChatMessage_ChatContent;
|
|
230
|
+
|
|
231
|
+
static equals(a: ChatMessage_ChatContent | PlainMessage<ChatMessage_ChatContent> | undefined, b: ChatMessage_ChatContent | PlainMessage<ChatMessage_ChatContent> | undefined): boolean;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* @generated from message livekit.agent.FunctionCall
|
|
236
|
+
*/
|
|
237
|
+
declare class FunctionCall extends Message<FunctionCall> {
|
|
238
|
+
/**
|
|
239
|
+
* @generated from field: string id = 1;
|
|
240
|
+
*/
|
|
241
|
+
id: string;
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* @generated from field: string call_id = 2;
|
|
245
|
+
*/
|
|
246
|
+
callId: string;
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* @generated from field: string arguments = 3;
|
|
250
|
+
*/
|
|
251
|
+
arguments: string;
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* @generated from field: string name = 4;
|
|
255
|
+
*/
|
|
256
|
+
name: string;
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* @generated from field: google.protobuf.Timestamp created_at = 5;
|
|
260
|
+
*/
|
|
261
|
+
createdAt?: Timestamp;
|
|
262
|
+
|
|
263
|
+
constructor(data?: PartialMessage<FunctionCall>);
|
|
264
|
+
|
|
265
|
+
static readonly runtime: typeof proto3;
|
|
266
|
+
static readonly typeName = "livekit.agent.FunctionCall";
|
|
267
|
+
static readonly fields: FieldList;
|
|
268
|
+
|
|
269
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FunctionCall;
|
|
270
|
+
|
|
271
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FunctionCall;
|
|
272
|
+
|
|
273
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FunctionCall;
|
|
274
|
+
|
|
275
|
+
static equals(a: FunctionCall | PlainMessage<FunctionCall> | undefined, b: FunctionCall | PlainMessage<FunctionCall> | undefined): boolean;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* @generated from message livekit.agent.FunctionCallOutput
|
|
280
|
+
*/
|
|
281
|
+
declare class FunctionCallOutput extends Message<FunctionCallOutput> {
|
|
282
|
+
/**
|
|
283
|
+
* @generated from field: string id = 1;
|
|
284
|
+
*/
|
|
285
|
+
id: string;
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* @generated from field: string name = 2;
|
|
289
|
+
*/
|
|
290
|
+
name: string;
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* @generated from field: string call_id = 3;
|
|
294
|
+
*/
|
|
295
|
+
callId: string;
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* @generated from field: string output = 4;
|
|
299
|
+
*/
|
|
300
|
+
output: string;
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* @generated from field: bool is_error = 5;
|
|
304
|
+
*/
|
|
305
|
+
isError: boolean;
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* @generated from field: google.protobuf.Timestamp created_at = 6;
|
|
309
|
+
*/
|
|
310
|
+
createdAt?: Timestamp;
|
|
311
|
+
|
|
312
|
+
constructor(data?: PartialMessage<FunctionCallOutput>);
|
|
313
|
+
|
|
314
|
+
static readonly runtime: typeof proto3;
|
|
315
|
+
static readonly typeName = "livekit.agent.FunctionCallOutput";
|
|
316
|
+
static readonly fields: FieldList;
|
|
317
|
+
|
|
318
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FunctionCallOutput;
|
|
319
|
+
|
|
320
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FunctionCallOutput;
|
|
321
|
+
|
|
322
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FunctionCallOutput;
|
|
323
|
+
|
|
324
|
+
static equals(a: FunctionCallOutput | PlainMessage<FunctionCallOutput> | undefined, b: FunctionCallOutput | PlainMessage<FunctionCallOutput> | undefined): boolean;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* @generated from message livekit.agent.AgentHandoff
|
|
329
|
+
*/
|
|
330
|
+
declare class AgentHandoff extends Message<AgentHandoff> {
|
|
331
|
+
/**
|
|
332
|
+
* @generated from field: string id = 1;
|
|
333
|
+
*/
|
|
334
|
+
id: string;
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* @generated from field: optional string old_agent_id = 2;
|
|
338
|
+
*/
|
|
339
|
+
oldAgentId?: string;
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* @generated from field: string new_agent_id = 3;
|
|
343
|
+
*/
|
|
344
|
+
newAgentId: string;
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* @generated from field: google.protobuf.Timestamp created_at = 4;
|
|
348
|
+
*/
|
|
349
|
+
createdAt?: Timestamp;
|
|
350
|
+
|
|
351
|
+
constructor(data?: PartialMessage<AgentHandoff>);
|
|
352
|
+
|
|
353
|
+
static readonly runtime: typeof proto3;
|
|
354
|
+
static readonly typeName = "livekit.agent.AgentHandoff";
|
|
355
|
+
static readonly fields: FieldList;
|
|
356
|
+
|
|
357
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentHandoff;
|
|
358
|
+
|
|
359
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentHandoff;
|
|
360
|
+
|
|
361
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentHandoff;
|
|
362
|
+
|
|
363
|
+
static equals(a: AgentHandoff | PlainMessage<AgentHandoff> | undefined, b: AgentHandoff | PlainMessage<AgentHandoff> | undefined): boolean;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* @generated from message livekit.agent.AgentConfigUpdate
|
|
368
|
+
*/
|
|
369
|
+
declare class AgentConfigUpdate extends Message<AgentConfigUpdate> {
|
|
370
|
+
/**
|
|
371
|
+
* @generated from field: string id = 1;
|
|
372
|
+
*/
|
|
373
|
+
id: string;
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* @generated from field: optional string instructions = 2;
|
|
377
|
+
*/
|
|
378
|
+
instructions?: string;
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* @generated from field: repeated string tools_added = 3;
|
|
382
|
+
*/
|
|
383
|
+
toolsAdded: string[];
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* @generated from field: repeated string tools_removed = 4;
|
|
387
|
+
*/
|
|
388
|
+
toolsRemoved: string[];
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* @generated from field: google.protobuf.Timestamp created_at = 5;
|
|
392
|
+
*/
|
|
393
|
+
createdAt?: Timestamp;
|
|
394
|
+
|
|
395
|
+
constructor(data?: PartialMessage<AgentConfigUpdate>);
|
|
396
|
+
|
|
397
|
+
static readonly runtime: typeof proto3;
|
|
398
|
+
static readonly typeName = "livekit.agent.AgentConfigUpdate";
|
|
399
|
+
static readonly fields: FieldList;
|
|
400
|
+
|
|
401
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentConfigUpdate;
|
|
402
|
+
|
|
403
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentConfigUpdate;
|
|
404
|
+
|
|
405
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentConfigUpdate;
|
|
406
|
+
|
|
407
|
+
static equals(a: AgentConfigUpdate | PlainMessage<AgentConfigUpdate> | undefined, b: AgentConfigUpdate | PlainMessage<AgentConfigUpdate> | undefined): boolean;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* @generated from message livekit.agent.ChatContext
|
|
412
|
+
*/
|
|
413
|
+
declare class ChatContext extends Message<ChatContext> {
|
|
414
|
+
/**
|
|
415
|
+
* @generated from field: repeated livekit.agent.ChatContext.ChatItem items = 1;
|
|
416
|
+
*/
|
|
417
|
+
items: ChatContext_ChatItem[];
|
|
418
|
+
|
|
419
|
+
constructor(data?: PartialMessage<ChatContext>);
|
|
420
|
+
|
|
421
|
+
static readonly runtime: typeof proto3;
|
|
422
|
+
static readonly typeName = "livekit.agent.ChatContext";
|
|
423
|
+
static readonly fields: FieldList;
|
|
424
|
+
|
|
425
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChatContext;
|
|
426
|
+
|
|
427
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChatContext;
|
|
428
|
+
|
|
429
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChatContext;
|
|
430
|
+
|
|
431
|
+
static equals(a: ChatContext | PlainMessage<ChatContext> | undefined, b: ChatContext | PlainMessage<ChatContext> | undefined): boolean;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* @generated from message livekit.agent.ChatContext.ChatItem
|
|
436
|
+
*/
|
|
437
|
+
declare class ChatContext_ChatItem extends Message<ChatContext_ChatItem> {
|
|
438
|
+
/**
|
|
439
|
+
* @generated from oneof livekit.agent.ChatContext.ChatItem.item
|
|
440
|
+
*/
|
|
441
|
+
item: {
|
|
442
|
+
/**
|
|
443
|
+
* @generated from field: livekit.agent.ChatMessage message = 1;
|
|
444
|
+
*/
|
|
445
|
+
value: ChatMessage$1;
|
|
446
|
+
case: "message";
|
|
447
|
+
} | {
|
|
448
|
+
/**
|
|
449
|
+
* @generated from field: livekit.agent.FunctionCall function_call = 2;
|
|
450
|
+
*/
|
|
451
|
+
value: FunctionCall;
|
|
452
|
+
case: "functionCall";
|
|
453
|
+
} | {
|
|
454
|
+
/**
|
|
455
|
+
* @generated from field: livekit.agent.FunctionCallOutput function_call_output = 3;
|
|
456
|
+
*/
|
|
457
|
+
value: FunctionCallOutput;
|
|
458
|
+
case: "functionCallOutput";
|
|
459
|
+
} | {
|
|
460
|
+
/**
|
|
461
|
+
* @generated from field: livekit.agent.AgentHandoff agent_handoff = 4;
|
|
462
|
+
*/
|
|
463
|
+
value: AgentHandoff;
|
|
464
|
+
case: "agentHandoff";
|
|
465
|
+
} | {
|
|
466
|
+
/**
|
|
467
|
+
* @generated from field: livekit.agent.AgentConfigUpdate agent_config_update = 5;
|
|
468
|
+
*/
|
|
469
|
+
value: AgentConfigUpdate;
|
|
470
|
+
case: "agentConfigUpdate";
|
|
471
|
+
} | { case: undefined; value?: undefined };
|
|
472
|
+
|
|
473
|
+
constructor(data?: PartialMessage<ChatContext_ChatItem>);
|
|
474
|
+
|
|
475
|
+
static readonly runtime: typeof proto3;
|
|
476
|
+
static readonly typeName = "livekit.agent.ChatContext.ChatItem";
|
|
477
|
+
static readonly fields: FieldList;
|
|
478
|
+
|
|
479
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChatContext_ChatItem;
|
|
480
|
+
|
|
481
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChatContext_ChatItem;
|
|
482
|
+
|
|
483
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChatContext_ChatItem;
|
|
484
|
+
|
|
485
|
+
static equals(a: ChatContext_ChatItem | PlainMessage<ChatContext_ChatItem> | undefined, b: ChatContext_ChatItem | PlainMessage<ChatContext_ChatItem> | undefined): boolean;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* @generated from message livekit.agent.LLMModelUsage
|
|
490
|
+
*/
|
|
491
|
+
declare class LLMModelUsage extends Message<LLMModelUsage> {
|
|
492
|
+
/**
|
|
493
|
+
* @generated from field: string provider = 1;
|
|
494
|
+
*/
|
|
495
|
+
provider: string;
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* @generated from field: string model = 2;
|
|
499
|
+
*/
|
|
500
|
+
model: string;
|
|
501
|
+
|
|
502
|
+
/**
|
|
503
|
+
* @generated from field: int32 input_tokens = 3;
|
|
504
|
+
*/
|
|
505
|
+
inputTokens: number;
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* @generated from field: int32 input_cached_tokens = 4;
|
|
509
|
+
*/
|
|
510
|
+
inputCachedTokens: number;
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* @generated from field: int32 input_audio_tokens = 5;
|
|
514
|
+
*/
|
|
515
|
+
inputAudioTokens: number;
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* @generated from field: int32 input_cached_audio_tokens = 6;
|
|
519
|
+
*/
|
|
520
|
+
inputCachedAudioTokens: number;
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* @generated from field: int32 input_text_tokens = 7;
|
|
524
|
+
*/
|
|
525
|
+
inputTextTokens: number;
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* @generated from field: int32 input_cached_text_tokens = 8;
|
|
529
|
+
*/
|
|
530
|
+
inputCachedTextTokens: number;
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* @generated from field: int32 input_image_tokens = 9;
|
|
534
|
+
*/
|
|
535
|
+
inputImageTokens: number;
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* @generated from field: int32 input_cached_image_tokens = 10;
|
|
539
|
+
*/
|
|
540
|
+
inputCachedImageTokens: number;
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* @generated from field: int32 output_tokens = 11;
|
|
544
|
+
*/
|
|
545
|
+
outputTokens: number;
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* @generated from field: int32 output_audio_tokens = 12;
|
|
549
|
+
*/
|
|
550
|
+
outputAudioTokens: number;
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* @generated from field: int32 output_text_tokens = 13;
|
|
554
|
+
*/
|
|
555
|
+
outputTextTokens: number;
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* @generated from field: double session_duration = 14;
|
|
559
|
+
*/
|
|
560
|
+
sessionDuration: number;
|
|
561
|
+
|
|
562
|
+
constructor(data?: PartialMessage<LLMModelUsage>);
|
|
563
|
+
|
|
564
|
+
static readonly runtime: typeof proto3;
|
|
565
|
+
static readonly typeName = "livekit.agent.LLMModelUsage";
|
|
566
|
+
static readonly fields: FieldList;
|
|
567
|
+
|
|
568
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LLMModelUsage;
|
|
569
|
+
|
|
570
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LLMModelUsage;
|
|
571
|
+
|
|
572
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LLMModelUsage;
|
|
573
|
+
|
|
574
|
+
static equals(a: LLMModelUsage | PlainMessage<LLMModelUsage> | undefined, b: LLMModelUsage | PlainMessage<LLMModelUsage> | undefined): boolean;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* @generated from message livekit.agent.TTSModelUsage
|
|
579
|
+
*/
|
|
580
|
+
declare class TTSModelUsage extends Message<TTSModelUsage> {
|
|
581
|
+
/**
|
|
582
|
+
* @generated from field: string provider = 1;
|
|
583
|
+
*/
|
|
584
|
+
provider: string;
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* @generated from field: string model = 2;
|
|
588
|
+
*/
|
|
589
|
+
model: string;
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* @generated from field: int32 input_tokens = 3;
|
|
593
|
+
*/
|
|
594
|
+
inputTokens: number;
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* @generated from field: int32 output_tokens = 4;
|
|
598
|
+
*/
|
|
599
|
+
outputTokens: number;
|
|
600
|
+
|
|
601
|
+
/**
|
|
602
|
+
* @generated from field: int32 characters_count = 5;
|
|
603
|
+
*/
|
|
604
|
+
charactersCount: number;
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* @generated from field: double audio_duration = 6;
|
|
608
|
+
*/
|
|
609
|
+
audioDuration: number;
|
|
610
|
+
|
|
611
|
+
constructor(data?: PartialMessage<TTSModelUsage>);
|
|
612
|
+
|
|
613
|
+
static readonly runtime: typeof proto3;
|
|
614
|
+
static readonly typeName = "livekit.agent.TTSModelUsage";
|
|
615
|
+
static readonly fields: FieldList;
|
|
616
|
+
|
|
617
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TTSModelUsage;
|
|
618
|
+
|
|
619
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TTSModelUsage;
|
|
620
|
+
|
|
621
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TTSModelUsage;
|
|
622
|
+
|
|
623
|
+
static equals(a: TTSModelUsage | PlainMessage<TTSModelUsage> | undefined, b: TTSModelUsage | PlainMessage<TTSModelUsage> | undefined): boolean;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* @generated from message livekit.agent.STTModelUsage
|
|
628
|
+
*/
|
|
629
|
+
declare class STTModelUsage extends Message<STTModelUsage> {
|
|
630
|
+
/**
|
|
631
|
+
* @generated from field: string provider = 1;
|
|
632
|
+
*/
|
|
633
|
+
provider: string;
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* @generated from field: string model = 2;
|
|
637
|
+
*/
|
|
638
|
+
model: string;
|
|
639
|
+
|
|
640
|
+
/**
|
|
641
|
+
* @generated from field: int32 input_tokens = 3;
|
|
642
|
+
*/
|
|
643
|
+
inputTokens: number;
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* @generated from field: int32 output_tokens = 4;
|
|
647
|
+
*/
|
|
648
|
+
outputTokens: number;
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* @generated from field: double audio_duration = 5;
|
|
652
|
+
*/
|
|
653
|
+
audioDuration: number;
|
|
654
|
+
|
|
655
|
+
constructor(data?: PartialMessage<STTModelUsage>);
|
|
656
|
+
|
|
657
|
+
static readonly runtime: typeof proto3;
|
|
658
|
+
static readonly typeName = "livekit.agent.STTModelUsage";
|
|
659
|
+
static readonly fields: FieldList;
|
|
660
|
+
|
|
661
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): STTModelUsage;
|
|
662
|
+
|
|
663
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): STTModelUsage;
|
|
664
|
+
|
|
665
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): STTModelUsage;
|
|
666
|
+
|
|
667
|
+
static equals(a: STTModelUsage | PlainMessage<STTModelUsage> | undefined, b: STTModelUsage | PlainMessage<STTModelUsage> | undefined): boolean;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
/**
|
|
671
|
+
* @generated from message livekit.agent.InterruptionModelUsage
|
|
672
|
+
*/
|
|
673
|
+
declare class InterruptionModelUsage extends Message<InterruptionModelUsage> {
|
|
674
|
+
/**
|
|
675
|
+
* @generated from field: string provider = 1;
|
|
676
|
+
*/
|
|
677
|
+
provider: string;
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* @generated from field: string model = 2;
|
|
681
|
+
*/
|
|
682
|
+
model: string;
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* @generated from field: int32 total_requests = 3;
|
|
686
|
+
*/
|
|
687
|
+
totalRequests: number;
|
|
688
|
+
|
|
689
|
+
constructor(data?: PartialMessage<InterruptionModelUsage>);
|
|
690
|
+
|
|
691
|
+
static readonly runtime: typeof proto3;
|
|
692
|
+
static readonly typeName = "livekit.agent.InterruptionModelUsage";
|
|
693
|
+
static readonly fields: FieldList;
|
|
694
|
+
|
|
695
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InterruptionModelUsage;
|
|
696
|
+
|
|
697
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InterruptionModelUsage;
|
|
698
|
+
|
|
699
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InterruptionModelUsage;
|
|
700
|
+
|
|
701
|
+
static equals(a: InterruptionModelUsage | PlainMessage<InterruptionModelUsage> | undefined, b: InterruptionModelUsage | PlainMessage<InterruptionModelUsage> | undefined): boolean;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
/**
|
|
705
|
+
* @generated from message livekit.agent.ModelUsage
|
|
706
|
+
*/
|
|
707
|
+
declare class ModelUsage extends Message<ModelUsage> {
|
|
708
|
+
/**
|
|
709
|
+
* @generated from oneof livekit.agent.ModelUsage.usage
|
|
710
|
+
*/
|
|
711
|
+
usage: {
|
|
712
|
+
/**
|
|
713
|
+
* @generated from field: livekit.agent.LLMModelUsage llm = 1;
|
|
714
|
+
*/
|
|
715
|
+
value: LLMModelUsage;
|
|
716
|
+
case: "llm";
|
|
717
|
+
} | {
|
|
718
|
+
/**
|
|
719
|
+
* @generated from field: livekit.agent.TTSModelUsage tts = 2;
|
|
720
|
+
*/
|
|
721
|
+
value: TTSModelUsage;
|
|
722
|
+
case: "tts";
|
|
723
|
+
} | {
|
|
724
|
+
/**
|
|
725
|
+
* @generated from field: livekit.agent.STTModelUsage stt = 3;
|
|
726
|
+
*/
|
|
727
|
+
value: STTModelUsage;
|
|
728
|
+
case: "stt";
|
|
729
|
+
} | {
|
|
730
|
+
/**
|
|
731
|
+
* @generated from field: livekit.agent.InterruptionModelUsage interruption = 4;
|
|
732
|
+
*/
|
|
733
|
+
value: InterruptionModelUsage;
|
|
734
|
+
case: "interruption";
|
|
735
|
+
} | { case: undefined; value?: undefined };
|
|
736
|
+
|
|
737
|
+
constructor(data?: PartialMessage<ModelUsage>);
|
|
738
|
+
|
|
739
|
+
static readonly runtime: typeof proto3;
|
|
740
|
+
static readonly typeName = "livekit.agent.ModelUsage";
|
|
741
|
+
static readonly fields: FieldList;
|
|
742
|
+
|
|
743
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ModelUsage;
|
|
744
|
+
|
|
745
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ModelUsage;
|
|
746
|
+
|
|
747
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ModelUsage;
|
|
748
|
+
|
|
749
|
+
static equals(a: ModelUsage | PlainMessage<ModelUsage> | undefined, b: ModelUsage | PlainMessage<ModelUsage> | undefined): boolean;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* @generated from message livekit.agent.AgentSessionUsage
|
|
754
|
+
*/
|
|
755
|
+
declare class AgentSessionUsage extends Message<AgentSessionUsage> {
|
|
756
|
+
/**
|
|
757
|
+
* @generated from field: repeated livekit.agent.ModelUsage model_usage = 1;
|
|
758
|
+
*/
|
|
759
|
+
modelUsage: ModelUsage[];
|
|
760
|
+
|
|
761
|
+
constructor(data?: PartialMessage<AgentSessionUsage>);
|
|
762
|
+
|
|
763
|
+
static readonly runtime: typeof proto3;
|
|
764
|
+
static readonly typeName = "livekit.agent.AgentSessionUsage";
|
|
765
|
+
static readonly fields: FieldList;
|
|
766
|
+
|
|
767
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionUsage;
|
|
768
|
+
|
|
769
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionUsage;
|
|
770
|
+
|
|
771
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionUsage;
|
|
772
|
+
|
|
773
|
+
static equals(a: AgentSessionUsage | PlainMessage<AgentSessionUsage> | undefined, b: AgentSessionUsage | PlainMessage<AgentSessionUsage> | undefined): boolean;
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
/**
|
|
777
|
+
* @generated from message livekit.agent.AgentSessionEvent
|
|
778
|
+
*/
|
|
779
|
+
declare class AgentSessionEvent extends Message<AgentSessionEvent> {
|
|
780
|
+
/**
|
|
781
|
+
* @generated from field: google.protobuf.Timestamp created_at = 1;
|
|
782
|
+
*/
|
|
783
|
+
createdAt?: Timestamp;
|
|
784
|
+
|
|
785
|
+
/**
|
|
786
|
+
* @generated from oneof livekit.agent.AgentSessionEvent.event
|
|
787
|
+
*/
|
|
788
|
+
event: {
|
|
789
|
+
/**
|
|
790
|
+
* @generated from field: livekit.agent.AgentSessionEvent.AgentStateChanged agent_state_changed = 10;
|
|
791
|
+
*/
|
|
792
|
+
value: AgentSessionEvent_AgentStateChanged;
|
|
793
|
+
case: "agentStateChanged";
|
|
794
|
+
} | {
|
|
795
|
+
/**
|
|
796
|
+
* @generated from field: livekit.agent.AgentSessionEvent.UserStateChanged user_state_changed = 11;
|
|
797
|
+
*/
|
|
798
|
+
value: AgentSessionEvent_UserStateChanged;
|
|
799
|
+
case: "userStateChanged";
|
|
800
|
+
} | {
|
|
801
|
+
/**
|
|
802
|
+
* @generated from field: livekit.agent.AgentSessionEvent.ConversationItemAdded conversation_item_added = 12;
|
|
803
|
+
*/
|
|
804
|
+
value: AgentSessionEvent_ConversationItemAdded;
|
|
805
|
+
case: "conversationItemAdded";
|
|
806
|
+
} | {
|
|
807
|
+
/**
|
|
808
|
+
* @generated from field: livekit.agent.AgentSessionEvent.UserInputTranscribed user_input_transcribed = 13;
|
|
809
|
+
*/
|
|
810
|
+
value: AgentSessionEvent_UserInputTranscribed;
|
|
811
|
+
case: "userInputTranscribed";
|
|
812
|
+
} | {
|
|
813
|
+
/**
|
|
814
|
+
* @generated from field: livekit.agent.AgentSessionEvent.FunctionToolsExecuted function_tools_executed = 14;
|
|
815
|
+
*/
|
|
816
|
+
value: AgentSessionEvent_FunctionToolsExecuted;
|
|
817
|
+
case: "functionToolsExecuted";
|
|
818
|
+
} | {
|
|
819
|
+
/**
|
|
820
|
+
* @generated from field: livekit.agent.AgentSessionEvent.Error error = 15;
|
|
821
|
+
*/
|
|
822
|
+
value: AgentSessionEvent_Error;
|
|
823
|
+
case: "error";
|
|
824
|
+
} | {
|
|
825
|
+
/**
|
|
826
|
+
* @generated from field: livekit.agent.AgentSessionEvent.OverlappingSpeech overlapping_speech = 16;
|
|
827
|
+
*/
|
|
828
|
+
value: AgentSessionEvent_OverlappingSpeech;
|
|
829
|
+
case: "overlappingSpeech";
|
|
830
|
+
} | {
|
|
831
|
+
/**
|
|
832
|
+
* @generated from field: livekit.agent.AgentSessionEvent.SessionUsageUpdated session_usage_updated = 17;
|
|
833
|
+
*/
|
|
834
|
+
value: AgentSessionEvent_SessionUsageUpdated;
|
|
835
|
+
case: "sessionUsageUpdated";
|
|
836
|
+
} | { case: undefined; value?: undefined };
|
|
837
|
+
|
|
838
|
+
constructor(data?: PartialMessage<AgentSessionEvent>);
|
|
839
|
+
|
|
840
|
+
static readonly runtime: typeof proto3;
|
|
841
|
+
static readonly typeName = "livekit.agent.AgentSessionEvent";
|
|
842
|
+
static readonly fields: FieldList;
|
|
843
|
+
|
|
844
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionEvent;
|
|
845
|
+
|
|
846
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionEvent;
|
|
847
|
+
|
|
848
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionEvent;
|
|
849
|
+
|
|
850
|
+
static equals(a: AgentSessionEvent | PlainMessage<AgentSessionEvent> | undefined, b: AgentSessionEvent | PlainMessage<AgentSessionEvent> | undefined): boolean;
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* @generated from message livekit.agent.AgentSessionEvent.AgentStateChanged
|
|
855
|
+
*/
|
|
856
|
+
declare class AgentSessionEvent_AgentStateChanged extends Message<AgentSessionEvent_AgentStateChanged> {
|
|
857
|
+
/**
|
|
858
|
+
* @generated from field: livekit.agent.AgentState old_state = 1;
|
|
859
|
+
*/
|
|
860
|
+
oldState: AgentState;
|
|
861
|
+
|
|
862
|
+
/**
|
|
863
|
+
* @generated from field: livekit.agent.AgentState new_state = 2;
|
|
864
|
+
*/
|
|
865
|
+
newState: AgentState;
|
|
866
|
+
|
|
867
|
+
constructor(data?: PartialMessage<AgentSessionEvent_AgentStateChanged>);
|
|
868
|
+
|
|
869
|
+
static readonly runtime: typeof proto3;
|
|
870
|
+
static readonly typeName = "livekit.agent.AgentSessionEvent.AgentStateChanged";
|
|
871
|
+
static readonly fields: FieldList;
|
|
872
|
+
|
|
873
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionEvent_AgentStateChanged;
|
|
874
|
+
|
|
875
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionEvent_AgentStateChanged;
|
|
876
|
+
|
|
877
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionEvent_AgentStateChanged;
|
|
878
|
+
|
|
879
|
+
static equals(a: AgentSessionEvent_AgentStateChanged | PlainMessage<AgentSessionEvent_AgentStateChanged> | undefined, b: AgentSessionEvent_AgentStateChanged | PlainMessage<AgentSessionEvent_AgentStateChanged> | undefined): boolean;
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
/**
|
|
883
|
+
* @generated from message livekit.agent.AgentSessionEvent.UserStateChanged
|
|
884
|
+
*/
|
|
885
|
+
declare class AgentSessionEvent_UserStateChanged extends Message<AgentSessionEvent_UserStateChanged> {
|
|
886
|
+
/**
|
|
887
|
+
* @generated from field: livekit.agent.UserState old_state = 1;
|
|
888
|
+
*/
|
|
889
|
+
oldState: UserState;
|
|
890
|
+
|
|
891
|
+
/**
|
|
892
|
+
* @generated from field: livekit.agent.UserState new_state = 2;
|
|
893
|
+
*/
|
|
894
|
+
newState: UserState;
|
|
895
|
+
|
|
896
|
+
constructor(data?: PartialMessage<AgentSessionEvent_UserStateChanged>);
|
|
897
|
+
|
|
898
|
+
static readonly runtime: typeof proto3;
|
|
899
|
+
static readonly typeName = "livekit.agent.AgentSessionEvent.UserStateChanged";
|
|
900
|
+
static readonly fields: FieldList;
|
|
901
|
+
|
|
902
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionEvent_UserStateChanged;
|
|
903
|
+
|
|
904
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionEvent_UserStateChanged;
|
|
905
|
+
|
|
906
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionEvent_UserStateChanged;
|
|
907
|
+
|
|
908
|
+
static equals(a: AgentSessionEvent_UserStateChanged | PlainMessage<AgentSessionEvent_UserStateChanged> | undefined, b: AgentSessionEvent_UserStateChanged | PlainMessage<AgentSessionEvent_UserStateChanged> | undefined): boolean;
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
/**
|
|
912
|
+
* @generated from message livekit.agent.AgentSessionEvent.ConversationItemAdded
|
|
913
|
+
*/
|
|
914
|
+
declare class AgentSessionEvent_ConversationItemAdded extends Message<AgentSessionEvent_ConversationItemAdded> {
|
|
915
|
+
/**
|
|
916
|
+
* @generated from field: livekit.agent.ChatContext.ChatItem item = 1;
|
|
917
|
+
*/
|
|
918
|
+
item?: ChatContext_ChatItem;
|
|
919
|
+
|
|
920
|
+
constructor(data?: PartialMessage<AgentSessionEvent_ConversationItemAdded>);
|
|
921
|
+
|
|
922
|
+
static readonly runtime: typeof proto3;
|
|
923
|
+
static readonly typeName = "livekit.agent.AgentSessionEvent.ConversationItemAdded";
|
|
924
|
+
static readonly fields: FieldList;
|
|
925
|
+
|
|
926
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionEvent_ConversationItemAdded;
|
|
927
|
+
|
|
928
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionEvent_ConversationItemAdded;
|
|
929
|
+
|
|
930
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionEvent_ConversationItemAdded;
|
|
931
|
+
|
|
932
|
+
static equals(a: AgentSessionEvent_ConversationItemAdded | PlainMessage<AgentSessionEvent_ConversationItemAdded> | undefined, b: AgentSessionEvent_ConversationItemAdded | PlainMessage<AgentSessionEvent_ConversationItemAdded> | undefined): boolean;
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
/**
|
|
936
|
+
* @generated from message livekit.agent.AgentSessionEvent.UserInputTranscribed
|
|
937
|
+
*/
|
|
938
|
+
declare class AgentSessionEvent_UserInputTranscribed extends Message<AgentSessionEvent_UserInputTranscribed> {
|
|
939
|
+
/**
|
|
940
|
+
* @generated from field: string transcript = 1;
|
|
941
|
+
*/
|
|
942
|
+
transcript: string;
|
|
943
|
+
|
|
944
|
+
/**
|
|
945
|
+
* @generated from field: bool is_final = 2;
|
|
946
|
+
*/
|
|
947
|
+
isFinal: boolean;
|
|
948
|
+
|
|
949
|
+
/**
|
|
950
|
+
* @generated from field: optional string language = 3;
|
|
951
|
+
*/
|
|
952
|
+
language?: string;
|
|
953
|
+
|
|
954
|
+
constructor(data?: PartialMessage<AgentSessionEvent_UserInputTranscribed>);
|
|
955
|
+
|
|
956
|
+
static readonly runtime: typeof proto3;
|
|
957
|
+
static readonly typeName = "livekit.agent.AgentSessionEvent.UserInputTranscribed";
|
|
958
|
+
static readonly fields: FieldList;
|
|
959
|
+
|
|
960
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionEvent_UserInputTranscribed;
|
|
961
|
+
|
|
962
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionEvent_UserInputTranscribed;
|
|
963
|
+
|
|
964
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionEvent_UserInputTranscribed;
|
|
965
|
+
|
|
966
|
+
static equals(a: AgentSessionEvent_UserInputTranscribed | PlainMessage<AgentSessionEvent_UserInputTranscribed> | undefined, b: AgentSessionEvent_UserInputTranscribed | PlainMessage<AgentSessionEvent_UserInputTranscribed> | undefined): boolean;
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
/**
|
|
970
|
+
* @generated from message livekit.agent.AgentSessionEvent.FunctionToolsExecuted
|
|
971
|
+
*/
|
|
972
|
+
declare class AgentSessionEvent_FunctionToolsExecuted extends Message<AgentSessionEvent_FunctionToolsExecuted> {
|
|
973
|
+
/**
|
|
974
|
+
* @generated from field: repeated livekit.agent.FunctionCall function_calls = 1;
|
|
975
|
+
*/
|
|
976
|
+
functionCalls: FunctionCall[];
|
|
977
|
+
|
|
978
|
+
/**
|
|
979
|
+
* @generated from field: repeated livekit.agent.FunctionCallOutput function_call_outputs = 2;
|
|
980
|
+
*/
|
|
981
|
+
functionCallOutputs: FunctionCallOutput[];
|
|
982
|
+
|
|
983
|
+
constructor(data?: PartialMessage<AgentSessionEvent_FunctionToolsExecuted>);
|
|
984
|
+
|
|
985
|
+
static readonly runtime: typeof proto3;
|
|
986
|
+
static readonly typeName = "livekit.agent.AgentSessionEvent.FunctionToolsExecuted";
|
|
987
|
+
static readonly fields: FieldList;
|
|
988
|
+
|
|
989
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionEvent_FunctionToolsExecuted;
|
|
990
|
+
|
|
991
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionEvent_FunctionToolsExecuted;
|
|
992
|
+
|
|
993
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionEvent_FunctionToolsExecuted;
|
|
994
|
+
|
|
995
|
+
static equals(a: AgentSessionEvent_FunctionToolsExecuted | PlainMessage<AgentSessionEvent_FunctionToolsExecuted> | undefined, b: AgentSessionEvent_FunctionToolsExecuted | PlainMessage<AgentSessionEvent_FunctionToolsExecuted> | undefined): boolean;
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
/**
|
|
999
|
+
* @generated from message livekit.agent.AgentSessionEvent.Error
|
|
1000
|
+
*/
|
|
1001
|
+
declare class AgentSessionEvent_Error extends Message<AgentSessionEvent_Error> {
|
|
1002
|
+
/**
|
|
1003
|
+
* @generated from field: string message = 1;
|
|
1004
|
+
*/
|
|
1005
|
+
message: string;
|
|
1006
|
+
|
|
1007
|
+
constructor(data?: PartialMessage<AgentSessionEvent_Error>);
|
|
1008
|
+
|
|
1009
|
+
static readonly runtime: typeof proto3;
|
|
1010
|
+
static readonly typeName = "livekit.agent.AgentSessionEvent.Error";
|
|
1011
|
+
static readonly fields: FieldList;
|
|
1012
|
+
|
|
1013
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionEvent_Error;
|
|
1014
|
+
|
|
1015
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionEvent_Error;
|
|
1016
|
+
|
|
1017
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionEvent_Error;
|
|
1018
|
+
|
|
1019
|
+
static equals(a: AgentSessionEvent_Error | PlainMessage<AgentSessionEvent_Error> | undefined, b: AgentSessionEvent_Error | PlainMessage<AgentSessionEvent_Error> | undefined): boolean;
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
/**
|
|
1023
|
+
* @generated from message livekit.agent.AgentSessionEvent.OverlappingSpeech
|
|
1024
|
+
*/
|
|
1025
|
+
declare class AgentSessionEvent_OverlappingSpeech extends Message<AgentSessionEvent_OverlappingSpeech> {
|
|
1026
|
+
/**
|
|
1027
|
+
* @generated from field: bool is_interruption = 1;
|
|
1028
|
+
*/
|
|
1029
|
+
isInterruption: boolean;
|
|
1030
|
+
|
|
1031
|
+
/**
|
|
1032
|
+
* @generated from field: optional google.protobuf.Timestamp overlap_started_at = 2;
|
|
1033
|
+
*/
|
|
1034
|
+
overlapStartedAt?: Timestamp;
|
|
1035
|
+
|
|
1036
|
+
/**
|
|
1037
|
+
* @generated from field: double detection_delay = 3;
|
|
1038
|
+
*/
|
|
1039
|
+
detectionDelay: number;
|
|
1040
|
+
|
|
1041
|
+
/**
|
|
1042
|
+
* @generated from field: google.protobuf.Timestamp detected_at = 4;
|
|
1043
|
+
*/
|
|
1044
|
+
detectedAt?: Timestamp;
|
|
1045
|
+
|
|
1046
|
+
constructor(data?: PartialMessage<AgentSessionEvent_OverlappingSpeech>);
|
|
1047
|
+
|
|
1048
|
+
static readonly runtime: typeof proto3;
|
|
1049
|
+
static readonly typeName = "livekit.agent.AgentSessionEvent.OverlappingSpeech";
|
|
1050
|
+
static readonly fields: FieldList;
|
|
1051
|
+
|
|
1052
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionEvent_OverlappingSpeech;
|
|
1053
|
+
|
|
1054
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionEvent_OverlappingSpeech;
|
|
1055
|
+
|
|
1056
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionEvent_OverlappingSpeech;
|
|
1057
|
+
|
|
1058
|
+
static equals(a: AgentSessionEvent_OverlappingSpeech | PlainMessage<AgentSessionEvent_OverlappingSpeech> | undefined, b: AgentSessionEvent_OverlappingSpeech | PlainMessage<AgentSessionEvent_OverlappingSpeech> | undefined): boolean;
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
/**
|
|
1062
|
+
* @generated from message livekit.agent.AgentSessionEvent.SessionUsageUpdated
|
|
1063
|
+
*/
|
|
1064
|
+
declare class AgentSessionEvent_SessionUsageUpdated extends Message<AgentSessionEvent_SessionUsageUpdated> {
|
|
1065
|
+
/**
|
|
1066
|
+
* @generated from field: livekit.agent.AgentSessionUsage usage = 1;
|
|
1067
|
+
*/
|
|
1068
|
+
usage?: AgentSessionUsage;
|
|
1069
|
+
|
|
1070
|
+
constructor(data?: PartialMessage<AgentSessionEvent_SessionUsageUpdated>);
|
|
1071
|
+
|
|
1072
|
+
static readonly runtime: typeof proto3;
|
|
1073
|
+
static readonly typeName = "livekit.agent.AgentSessionEvent.SessionUsageUpdated";
|
|
1074
|
+
static readonly fields: FieldList;
|
|
1075
|
+
|
|
1076
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionEvent_SessionUsageUpdated;
|
|
1077
|
+
|
|
1078
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionEvent_SessionUsageUpdated;
|
|
1079
|
+
|
|
1080
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionEvent_SessionUsageUpdated;
|
|
1081
|
+
|
|
1082
|
+
static equals(a: AgentSessionEvent_SessionUsageUpdated | PlainMessage<AgentSessionEvent_SessionUsageUpdated> | undefined, b: AgentSessionEvent_SessionUsageUpdated | PlainMessage<AgentSessionEvent_SessionUsageUpdated> | undefined): boolean;
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
/**
|
|
1086
|
+
* @generated from message livekit.agent.SessionRequest
|
|
1087
|
+
*/
|
|
1088
|
+
declare class SessionRequest extends Message<SessionRequest> {
|
|
1089
|
+
/**
|
|
1090
|
+
* @generated from field: string request_id = 1;
|
|
1091
|
+
*/
|
|
1092
|
+
requestId: string;
|
|
1093
|
+
|
|
1094
|
+
/**
|
|
1095
|
+
* @generated from oneof livekit.agent.SessionRequest.request
|
|
1096
|
+
*/
|
|
1097
|
+
request: {
|
|
1098
|
+
/**
|
|
1099
|
+
* @generated from field: livekit.agent.SessionRequest.Ping ping = 2;
|
|
1100
|
+
*/
|
|
1101
|
+
value: SessionRequest_Ping;
|
|
1102
|
+
case: "ping";
|
|
1103
|
+
} | {
|
|
1104
|
+
/**
|
|
1105
|
+
* @generated from field: livekit.agent.SessionRequest.GetChatHistory get_chat_history = 4;
|
|
1106
|
+
*/
|
|
1107
|
+
value: SessionRequest_GetChatHistory;
|
|
1108
|
+
case: "getChatHistory";
|
|
1109
|
+
} | {
|
|
1110
|
+
/**
|
|
1111
|
+
* @generated from field: livekit.agent.SessionRequest.RunInput run_input = 5;
|
|
1112
|
+
*/
|
|
1113
|
+
value: SessionRequest_RunInput;
|
|
1114
|
+
case: "runInput";
|
|
1115
|
+
} | {
|
|
1116
|
+
/**
|
|
1117
|
+
* @generated from field: livekit.agent.SessionRequest.GetAgentInfo get_agent_info = 6;
|
|
1118
|
+
*/
|
|
1119
|
+
value: SessionRequest_GetAgentInfo;
|
|
1120
|
+
case: "getAgentInfo";
|
|
1121
|
+
} | {
|
|
1122
|
+
/**
|
|
1123
|
+
* @generated from field: livekit.agent.SessionRequest.GetSessionState get_session_state = 7;
|
|
1124
|
+
*/
|
|
1125
|
+
value: SessionRequest_GetSessionState;
|
|
1126
|
+
case: "getSessionState";
|
|
1127
|
+
} | {
|
|
1128
|
+
/**
|
|
1129
|
+
* @generated from field: livekit.agent.SessionRequest.GetRTCStats get_rtc_stats = 8;
|
|
1130
|
+
*/
|
|
1131
|
+
value: SessionRequest_GetRTCStats;
|
|
1132
|
+
case: "getRtcStats";
|
|
1133
|
+
} | {
|
|
1134
|
+
/**
|
|
1135
|
+
* @generated from field: livekit.agent.SessionRequest.GetSessionUsage get_session_usage = 9;
|
|
1136
|
+
*/
|
|
1137
|
+
value: SessionRequest_GetSessionUsage;
|
|
1138
|
+
case: "getSessionUsage";
|
|
1139
|
+
} | { case: undefined; value?: undefined };
|
|
1140
|
+
|
|
1141
|
+
constructor(data?: PartialMessage<SessionRequest>);
|
|
1142
|
+
|
|
1143
|
+
static readonly runtime: typeof proto3;
|
|
1144
|
+
static readonly typeName = "livekit.agent.SessionRequest";
|
|
1145
|
+
static readonly fields: FieldList;
|
|
1146
|
+
|
|
1147
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionRequest;
|
|
1148
|
+
|
|
1149
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionRequest;
|
|
1150
|
+
|
|
1151
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionRequest;
|
|
1152
|
+
|
|
1153
|
+
static equals(a: SessionRequest | PlainMessage<SessionRequest> | undefined, b: SessionRequest | PlainMessage<SessionRequest> | undefined): boolean;
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
/**
|
|
1157
|
+
* @generated from message livekit.agent.SessionRequest.Ping
|
|
1158
|
+
*/
|
|
1159
|
+
declare class SessionRequest_Ping extends Message<SessionRequest_Ping> {
|
|
1160
|
+
constructor(data?: PartialMessage<SessionRequest_Ping>);
|
|
1161
|
+
|
|
1162
|
+
static readonly runtime: typeof proto3;
|
|
1163
|
+
static readonly typeName = "livekit.agent.SessionRequest.Ping";
|
|
1164
|
+
static readonly fields: FieldList;
|
|
1165
|
+
|
|
1166
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionRequest_Ping;
|
|
1167
|
+
|
|
1168
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionRequest_Ping;
|
|
1169
|
+
|
|
1170
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionRequest_Ping;
|
|
1171
|
+
|
|
1172
|
+
static equals(a: SessionRequest_Ping | PlainMessage<SessionRequest_Ping> | undefined, b: SessionRequest_Ping | PlainMessage<SessionRequest_Ping> | undefined): boolean;
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
/**
|
|
1176
|
+
* @generated from message livekit.agent.SessionRequest.GetChatHistory
|
|
1177
|
+
*/
|
|
1178
|
+
declare class SessionRequest_GetChatHistory extends Message<SessionRequest_GetChatHistory> {
|
|
1179
|
+
constructor(data?: PartialMessage<SessionRequest_GetChatHistory>);
|
|
1180
|
+
|
|
1181
|
+
static readonly runtime: typeof proto3;
|
|
1182
|
+
static readonly typeName = "livekit.agent.SessionRequest.GetChatHistory";
|
|
1183
|
+
static readonly fields: FieldList;
|
|
1184
|
+
|
|
1185
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionRequest_GetChatHistory;
|
|
1186
|
+
|
|
1187
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionRequest_GetChatHistory;
|
|
1188
|
+
|
|
1189
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionRequest_GetChatHistory;
|
|
1190
|
+
|
|
1191
|
+
static equals(a: SessionRequest_GetChatHistory | PlainMessage<SessionRequest_GetChatHistory> | undefined, b: SessionRequest_GetChatHistory | PlainMessage<SessionRequest_GetChatHistory> | undefined): boolean;
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
/**
|
|
1195
|
+
* @generated from message livekit.agent.SessionRequest.RunInput
|
|
1196
|
+
*/
|
|
1197
|
+
declare class SessionRequest_RunInput extends Message<SessionRequest_RunInput> {
|
|
1198
|
+
/**
|
|
1199
|
+
* @generated from field: string text = 1;
|
|
1200
|
+
*/
|
|
1201
|
+
text: string;
|
|
1202
|
+
|
|
1203
|
+
constructor(data?: PartialMessage<SessionRequest_RunInput>);
|
|
1204
|
+
|
|
1205
|
+
static readonly runtime: typeof proto3;
|
|
1206
|
+
static readonly typeName = "livekit.agent.SessionRequest.RunInput";
|
|
1207
|
+
static readonly fields: FieldList;
|
|
1208
|
+
|
|
1209
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionRequest_RunInput;
|
|
1210
|
+
|
|
1211
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionRequest_RunInput;
|
|
1212
|
+
|
|
1213
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionRequest_RunInput;
|
|
1214
|
+
|
|
1215
|
+
static equals(a: SessionRequest_RunInput | PlainMessage<SessionRequest_RunInput> | undefined, b: SessionRequest_RunInput | PlainMessage<SessionRequest_RunInput> | undefined): boolean;
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
/**
|
|
1219
|
+
* @generated from message livekit.agent.SessionRequest.GetAgentInfo
|
|
1220
|
+
*/
|
|
1221
|
+
declare class SessionRequest_GetAgentInfo extends Message<SessionRequest_GetAgentInfo> {
|
|
1222
|
+
constructor(data?: PartialMessage<SessionRequest_GetAgentInfo>);
|
|
1223
|
+
|
|
1224
|
+
static readonly runtime: typeof proto3;
|
|
1225
|
+
static readonly typeName = "livekit.agent.SessionRequest.GetAgentInfo";
|
|
1226
|
+
static readonly fields: FieldList;
|
|
1227
|
+
|
|
1228
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionRequest_GetAgentInfo;
|
|
1229
|
+
|
|
1230
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionRequest_GetAgentInfo;
|
|
1231
|
+
|
|
1232
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionRequest_GetAgentInfo;
|
|
1233
|
+
|
|
1234
|
+
static equals(a: SessionRequest_GetAgentInfo | PlainMessage<SessionRequest_GetAgentInfo> | undefined, b: SessionRequest_GetAgentInfo | PlainMessage<SessionRequest_GetAgentInfo> | undefined): boolean;
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
/**
|
|
1238
|
+
* @generated from message livekit.agent.SessionRequest.GetSessionState
|
|
1239
|
+
*/
|
|
1240
|
+
declare class SessionRequest_GetSessionState extends Message<SessionRequest_GetSessionState> {
|
|
1241
|
+
constructor(data?: PartialMessage<SessionRequest_GetSessionState>);
|
|
1242
|
+
|
|
1243
|
+
static readonly runtime: typeof proto3;
|
|
1244
|
+
static readonly typeName = "livekit.agent.SessionRequest.GetSessionState";
|
|
1245
|
+
static readonly fields: FieldList;
|
|
1246
|
+
|
|
1247
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionRequest_GetSessionState;
|
|
1248
|
+
|
|
1249
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionRequest_GetSessionState;
|
|
1250
|
+
|
|
1251
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionRequest_GetSessionState;
|
|
1252
|
+
|
|
1253
|
+
static equals(a: SessionRequest_GetSessionState | PlainMessage<SessionRequest_GetSessionState> | undefined, b: SessionRequest_GetSessionState | PlainMessage<SessionRequest_GetSessionState> | undefined): boolean;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
/**
|
|
1257
|
+
* @generated from message livekit.agent.SessionRequest.GetRTCStats
|
|
1258
|
+
*/
|
|
1259
|
+
declare class SessionRequest_GetRTCStats extends Message<SessionRequest_GetRTCStats> {
|
|
1260
|
+
constructor(data?: PartialMessage<SessionRequest_GetRTCStats>);
|
|
1261
|
+
|
|
1262
|
+
static readonly runtime: typeof proto3;
|
|
1263
|
+
static readonly typeName = "livekit.agent.SessionRequest.GetRTCStats";
|
|
1264
|
+
static readonly fields: FieldList;
|
|
1265
|
+
|
|
1266
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionRequest_GetRTCStats;
|
|
1267
|
+
|
|
1268
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionRequest_GetRTCStats;
|
|
1269
|
+
|
|
1270
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionRequest_GetRTCStats;
|
|
1271
|
+
|
|
1272
|
+
static equals(a: SessionRequest_GetRTCStats | PlainMessage<SessionRequest_GetRTCStats> | undefined, b: SessionRequest_GetRTCStats | PlainMessage<SessionRequest_GetRTCStats> | undefined): boolean;
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1275
|
+
/**
|
|
1276
|
+
* @generated from message livekit.agent.SessionRequest.GetSessionUsage
|
|
1277
|
+
*/
|
|
1278
|
+
declare class SessionRequest_GetSessionUsage extends Message<SessionRequest_GetSessionUsage> {
|
|
1279
|
+
constructor(data?: PartialMessage<SessionRequest_GetSessionUsage>);
|
|
1280
|
+
|
|
1281
|
+
static readonly runtime: typeof proto3;
|
|
1282
|
+
static readonly typeName = "livekit.agent.SessionRequest.GetSessionUsage";
|
|
1283
|
+
static readonly fields: FieldList;
|
|
1284
|
+
|
|
1285
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionRequest_GetSessionUsage;
|
|
1286
|
+
|
|
1287
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionRequest_GetSessionUsage;
|
|
1288
|
+
|
|
1289
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionRequest_GetSessionUsage;
|
|
1290
|
+
|
|
1291
|
+
static equals(a: SessionRequest_GetSessionUsage | PlainMessage<SessionRequest_GetSessionUsage> | undefined, b: SessionRequest_GetSessionUsage | PlainMessage<SessionRequest_GetSessionUsage> | undefined): boolean;
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
/**
|
|
1295
|
+
* @generated from message livekit.agent.SessionResponse
|
|
1296
|
+
*/
|
|
1297
|
+
declare class SessionResponse extends Message<SessionResponse> {
|
|
1298
|
+
/**
|
|
1299
|
+
* @generated from field: string request_id = 1;
|
|
1300
|
+
*/
|
|
1301
|
+
requestId: string;
|
|
1302
|
+
|
|
1303
|
+
/**
|
|
1304
|
+
* @generated from field: optional string error = 2;
|
|
1305
|
+
*/
|
|
1306
|
+
error?: string;
|
|
1307
|
+
|
|
1308
|
+
/**
|
|
1309
|
+
* @generated from oneof livekit.agent.SessionResponse.response
|
|
1310
|
+
*/
|
|
1311
|
+
response: {
|
|
1312
|
+
/**
|
|
1313
|
+
* @generated from field: livekit.agent.SessionResponse.Pong pong = 3;
|
|
1314
|
+
*/
|
|
1315
|
+
value: SessionResponse_Pong;
|
|
1316
|
+
case: "pong";
|
|
1317
|
+
} | {
|
|
1318
|
+
/**
|
|
1319
|
+
* @generated from field: livekit.agent.SessionResponse.GetChatHistoryResponse get_chat_history = 5;
|
|
1320
|
+
*/
|
|
1321
|
+
value: SessionResponse_GetChatHistoryResponse;
|
|
1322
|
+
case: "getChatHistory";
|
|
1323
|
+
} | {
|
|
1324
|
+
/**
|
|
1325
|
+
* @generated from field: livekit.agent.SessionResponse.RunInputResponse run_input = 6;
|
|
1326
|
+
*/
|
|
1327
|
+
value: SessionResponse_RunInputResponse;
|
|
1328
|
+
case: "runInput";
|
|
1329
|
+
} | {
|
|
1330
|
+
/**
|
|
1331
|
+
* @generated from field: livekit.agent.SessionResponse.GetAgentInfoResponse get_agent_info = 7;
|
|
1332
|
+
*/
|
|
1333
|
+
value: SessionResponse_GetAgentInfoResponse;
|
|
1334
|
+
case: "getAgentInfo";
|
|
1335
|
+
} | {
|
|
1336
|
+
/**
|
|
1337
|
+
* @generated from field: livekit.agent.SessionResponse.GetSessionStateResponse get_session_state = 8;
|
|
1338
|
+
*/
|
|
1339
|
+
value: SessionResponse_GetSessionStateResponse;
|
|
1340
|
+
case: "getSessionState";
|
|
1341
|
+
} | {
|
|
1342
|
+
/**
|
|
1343
|
+
* @generated from field: livekit.agent.SessionResponse.GetRTCStatsResponse get_rtc_stats = 9;
|
|
1344
|
+
*/
|
|
1345
|
+
value: SessionResponse_GetRTCStatsResponse;
|
|
1346
|
+
case: "getRtcStats";
|
|
1347
|
+
} | {
|
|
1348
|
+
/**
|
|
1349
|
+
* @generated from field: livekit.agent.SessionResponse.GetSessionUsageResponse get_session_usage = 10;
|
|
1350
|
+
*/
|
|
1351
|
+
value: SessionResponse_GetSessionUsageResponse;
|
|
1352
|
+
case: "getSessionUsage";
|
|
1353
|
+
} | { case: undefined; value?: undefined };
|
|
1354
|
+
|
|
1355
|
+
constructor(data?: PartialMessage<SessionResponse>);
|
|
1356
|
+
|
|
1357
|
+
static readonly runtime: typeof proto3;
|
|
1358
|
+
static readonly typeName = "livekit.agent.SessionResponse";
|
|
1359
|
+
static readonly fields: FieldList;
|
|
1360
|
+
|
|
1361
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionResponse;
|
|
1362
|
+
|
|
1363
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionResponse;
|
|
1364
|
+
|
|
1365
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionResponse;
|
|
1366
|
+
|
|
1367
|
+
static equals(a: SessionResponse | PlainMessage<SessionResponse> | undefined, b: SessionResponse | PlainMessage<SessionResponse> | undefined): boolean;
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
/**
|
|
1371
|
+
* @generated from message livekit.agent.SessionResponse.Pong
|
|
1372
|
+
*/
|
|
1373
|
+
declare class SessionResponse_Pong extends Message<SessionResponse_Pong> {
|
|
1374
|
+
constructor(data?: PartialMessage<SessionResponse_Pong>);
|
|
1375
|
+
|
|
1376
|
+
static readonly runtime: typeof proto3;
|
|
1377
|
+
static readonly typeName = "livekit.agent.SessionResponse.Pong";
|
|
1378
|
+
static readonly fields: FieldList;
|
|
1379
|
+
|
|
1380
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionResponse_Pong;
|
|
1381
|
+
|
|
1382
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionResponse_Pong;
|
|
1383
|
+
|
|
1384
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionResponse_Pong;
|
|
1385
|
+
|
|
1386
|
+
static equals(a: SessionResponse_Pong | PlainMessage<SessionResponse_Pong> | undefined, b: SessionResponse_Pong | PlainMessage<SessionResponse_Pong> | undefined): boolean;
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1389
|
+
/**
|
|
1390
|
+
* @generated from message livekit.agent.SessionResponse.GetChatHistoryResponse
|
|
1391
|
+
*/
|
|
1392
|
+
declare class SessionResponse_GetChatHistoryResponse extends Message<SessionResponse_GetChatHistoryResponse> {
|
|
1393
|
+
/**
|
|
1394
|
+
* @generated from field: repeated livekit.agent.ChatContext.ChatItem items = 1;
|
|
1395
|
+
*/
|
|
1396
|
+
items: ChatContext_ChatItem[];
|
|
1397
|
+
|
|
1398
|
+
constructor(data?: PartialMessage<SessionResponse_GetChatHistoryResponse>);
|
|
1399
|
+
|
|
1400
|
+
static readonly runtime: typeof proto3;
|
|
1401
|
+
static readonly typeName = "livekit.agent.SessionResponse.GetChatHistoryResponse";
|
|
1402
|
+
static readonly fields: FieldList;
|
|
1403
|
+
|
|
1404
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionResponse_GetChatHistoryResponse;
|
|
1405
|
+
|
|
1406
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionResponse_GetChatHistoryResponse;
|
|
1407
|
+
|
|
1408
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionResponse_GetChatHistoryResponse;
|
|
1409
|
+
|
|
1410
|
+
static equals(a: SessionResponse_GetChatHistoryResponse | PlainMessage<SessionResponse_GetChatHistoryResponse> | undefined, b: SessionResponse_GetChatHistoryResponse | PlainMessage<SessionResponse_GetChatHistoryResponse> | undefined): boolean;
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
/**
|
|
1414
|
+
* @generated from message livekit.agent.SessionResponse.GetAgentInfoResponse
|
|
1415
|
+
*/
|
|
1416
|
+
declare class SessionResponse_GetAgentInfoResponse extends Message<SessionResponse_GetAgentInfoResponse> {
|
|
1417
|
+
/**
|
|
1418
|
+
* @generated from field: string id = 1;
|
|
1419
|
+
*/
|
|
1420
|
+
id: string;
|
|
1421
|
+
|
|
1422
|
+
/**
|
|
1423
|
+
* @generated from field: optional string instructions = 2;
|
|
1424
|
+
*/
|
|
1425
|
+
instructions?: string;
|
|
1426
|
+
|
|
1427
|
+
/**
|
|
1428
|
+
* @generated from field: repeated string tools = 3;
|
|
1429
|
+
*/
|
|
1430
|
+
tools: string[];
|
|
1431
|
+
|
|
1432
|
+
/**
|
|
1433
|
+
* @generated from field: repeated livekit.agent.ChatContext.ChatItem chat_ctx = 4;
|
|
1434
|
+
*/
|
|
1435
|
+
chatCtx: ChatContext_ChatItem[];
|
|
1436
|
+
|
|
1437
|
+
constructor(data?: PartialMessage<SessionResponse_GetAgentInfoResponse>);
|
|
1438
|
+
|
|
1439
|
+
static readonly runtime: typeof proto3;
|
|
1440
|
+
static readonly typeName = "livekit.agent.SessionResponse.GetAgentInfoResponse";
|
|
1441
|
+
static readonly fields: FieldList;
|
|
1442
|
+
|
|
1443
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionResponse_GetAgentInfoResponse;
|
|
1444
|
+
|
|
1445
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionResponse_GetAgentInfoResponse;
|
|
1446
|
+
|
|
1447
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionResponse_GetAgentInfoResponse;
|
|
1448
|
+
|
|
1449
|
+
static equals(a: SessionResponse_GetAgentInfoResponse | PlainMessage<SessionResponse_GetAgentInfoResponse> | undefined, b: SessionResponse_GetAgentInfoResponse | PlainMessage<SessionResponse_GetAgentInfoResponse> | undefined): boolean;
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
/**
|
|
1453
|
+
* @generated from message livekit.agent.SessionResponse.RunInputResponse
|
|
1454
|
+
*/
|
|
1455
|
+
declare class SessionResponse_RunInputResponse extends Message<SessionResponse_RunInputResponse> {
|
|
1456
|
+
/**
|
|
1457
|
+
* @generated from field: repeated livekit.agent.ChatContext.ChatItem items = 1;
|
|
1458
|
+
*/
|
|
1459
|
+
items: ChatContext_ChatItem[];
|
|
1460
|
+
|
|
1461
|
+
constructor(data?: PartialMessage<SessionResponse_RunInputResponse>);
|
|
170
1462
|
|
|
171
1463
|
static readonly runtime: typeof proto3;
|
|
172
|
-
static readonly typeName = "livekit.agent.
|
|
1464
|
+
static readonly typeName = "livekit.agent.SessionResponse.RunInputResponse";
|
|
173
1465
|
static readonly fields: FieldList;
|
|
174
1466
|
|
|
175
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
1467
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionResponse_RunInputResponse;
|
|
176
1468
|
|
|
177
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
1469
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionResponse_RunInputResponse;
|
|
178
1470
|
|
|
179
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
1471
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionResponse_RunInputResponse;
|
|
180
1472
|
|
|
181
|
-
static equals(a:
|
|
1473
|
+
static equals(a: SessionResponse_RunInputResponse | PlainMessage<SessionResponse_RunInputResponse> | undefined, b: SessionResponse_RunInputResponse | PlainMessage<SessionResponse_RunInputResponse> | undefined): boolean;
|
|
182
1474
|
}
|
|
183
1475
|
|
|
184
1476
|
/**
|
|
185
|
-
* @generated from message livekit.agent.
|
|
1477
|
+
* @generated from message livekit.agent.SessionResponse.GetSessionStateResponse
|
|
186
1478
|
*/
|
|
187
|
-
declare class
|
|
1479
|
+
declare class SessionResponse_GetSessionStateResponse extends Message<SessionResponse_GetSessionStateResponse> {
|
|
188
1480
|
/**
|
|
189
|
-
* @generated from field:
|
|
1481
|
+
* @generated from field: livekit.agent.AgentState agent_state = 1;
|
|
190
1482
|
*/
|
|
191
|
-
|
|
1483
|
+
agentState: AgentState;
|
|
192
1484
|
|
|
193
1485
|
/**
|
|
194
|
-
* @generated from field:
|
|
1486
|
+
* @generated from field: livekit.agent.UserState user_state = 2;
|
|
195
1487
|
*/
|
|
196
|
-
|
|
1488
|
+
userState: UserState;
|
|
197
1489
|
|
|
198
1490
|
/**
|
|
199
|
-
* @generated from field: string
|
|
1491
|
+
* @generated from field: string agent_id = 3;
|
|
200
1492
|
*/
|
|
201
|
-
|
|
1493
|
+
agentId: string;
|
|
202
1494
|
|
|
203
1495
|
/**
|
|
204
|
-
* @generated from field: string
|
|
1496
|
+
* @generated from field: map<string, string> options = 4;
|
|
205
1497
|
*/
|
|
206
|
-
|
|
1498
|
+
options: { [key: string]: string };
|
|
207
1499
|
|
|
208
1500
|
/**
|
|
209
1501
|
* @generated from field: google.protobuf.Timestamp created_at = 5;
|
|
210
1502
|
*/
|
|
211
1503
|
createdAt?: Timestamp;
|
|
212
1504
|
|
|
213
|
-
constructor(data?: PartialMessage<
|
|
1505
|
+
constructor(data?: PartialMessage<SessionResponse_GetSessionStateResponse>);
|
|
214
1506
|
|
|
215
1507
|
static readonly runtime: typeof proto3;
|
|
216
|
-
static readonly typeName = "livekit.agent.
|
|
1508
|
+
static readonly typeName = "livekit.agent.SessionResponse.GetSessionStateResponse";
|
|
217
1509
|
static readonly fields: FieldList;
|
|
218
1510
|
|
|
219
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
1511
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionResponse_GetSessionStateResponse;
|
|
220
1512
|
|
|
221
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
1513
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionResponse_GetSessionStateResponse;
|
|
222
1514
|
|
|
223
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
1515
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionResponse_GetSessionStateResponse;
|
|
224
1516
|
|
|
225
|
-
static equals(a:
|
|
1517
|
+
static equals(a: SessionResponse_GetSessionStateResponse | PlainMessage<SessionResponse_GetSessionStateResponse> | undefined, b: SessionResponse_GetSessionStateResponse | PlainMessage<SessionResponse_GetSessionStateResponse> | undefined): boolean;
|
|
226
1518
|
}
|
|
227
1519
|
|
|
228
1520
|
/**
|
|
229
|
-
* @generated from message livekit.agent.
|
|
1521
|
+
* @generated from message livekit.agent.SessionResponse.GetRTCStatsResponse
|
|
230
1522
|
*/
|
|
231
|
-
declare class
|
|
1523
|
+
declare class SessionResponse_GetRTCStatsResponse extends Message<SessionResponse_GetRTCStatsResponse> {
|
|
232
1524
|
/**
|
|
233
|
-
* @generated from field:
|
|
1525
|
+
* @generated from field: repeated google.protobuf.Struct publisher_stats = 1;
|
|
234
1526
|
*/
|
|
235
|
-
|
|
1527
|
+
publisherStats: Struct[];
|
|
236
1528
|
|
|
237
1529
|
/**
|
|
238
|
-
* @generated from field:
|
|
1530
|
+
* @generated from field: repeated google.protobuf.Struct subscriber_stats = 2;
|
|
239
1531
|
*/
|
|
240
|
-
|
|
1532
|
+
subscriberStats: Struct[];
|
|
241
1533
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
1534
|
+
constructor(data?: PartialMessage<SessionResponse_GetRTCStatsResponse>);
|
|
1535
|
+
|
|
1536
|
+
static readonly runtime: typeof proto3;
|
|
1537
|
+
static readonly typeName = "livekit.agent.SessionResponse.GetRTCStatsResponse";
|
|
1538
|
+
static readonly fields: FieldList;
|
|
1539
|
+
|
|
1540
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionResponse_GetRTCStatsResponse;
|
|
1541
|
+
|
|
1542
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionResponse_GetRTCStatsResponse;
|
|
246
1543
|
|
|
1544
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionResponse_GetRTCStatsResponse;
|
|
1545
|
+
|
|
1546
|
+
static equals(a: SessionResponse_GetRTCStatsResponse | PlainMessage<SessionResponse_GetRTCStatsResponse> | undefined, b: SessionResponse_GetRTCStatsResponse | PlainMessage<SessionResponse_GetRTCStatsResponse> | undefined): boolean;
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
/**
|
|
1550
|
+
* @generated from message livekit.agent.SessionResponse.GetSessionUsageResponse
|
|
1551
|
+
*/
|
|
1552
|
+
declare class SessionResponse_GetSessionUsageResponse extends Message<SessionResponse_GetSessionUsageResponse> {
|
|
247
1553
|
/**
|
|
248
|
-
* @generated from field:
|
|
1554
|
+
* @generated from field: livekit.agent.AgentSessionUsage usage = 1;
|
|
249
1555
|
*/
|
|
250
|
-
|
|
1556
|
+
usage?: AgentSessionUsage;
|
|
251
1557
|
|
|
252
1558
|
/**
|
|
253
|
-
* @generated from field:
|
|
1559
|
+
* @generated from field: google.protobuf.Timestamp created_at = 2;
|
|
254
1560
|
*/
|
|
255
|
-
|
|
1561
|
+
createdAt?: Timestamp;
|
|
1562
|
+
|
|
1563
|
+
constructor(data?: PartialMessage<SessionResponse_GetSessionUsageResponse>);
|
|
1564
|
+
|
|
1565
|
+
static readonly runtime: typeof proto3;
|
|
1566
|
+
static readonly typeName = "livekit.agent.SessionResponse.GetSessionUsageResponse";
|
|
1567
|
+
static readonly fields: FieldList;
|
|
1568
|
+
|
|
1569
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionResponse_GetSessionUsageResponse;
|
|
1570
|
+
|
|
1571
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionResponse_GetSessionUsageResponse;
|
|
256
1572
|
|
|
1573
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionResponse_GetSessionUsageResponse;
|
|
1574
|
+
|
|
1575
|
+
static equals(a: SessionResponse_GetSessionUsageResponse | PlainMessage<SessionResponse_GetSessionUsageResponse> | undefined, b: SessionResponse_GetSessionUsageResponse | PlainMessage<SessionResponse_GetSessionUsageResponse> | undefined): boolean;
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
/**
|
|
1579
|
+
* @generated from message livekit.agent.AgentSessionMessage
|
|
1580
|
+
*/
|
|
1581
|
+
declare class AgentSessionMessage extends Message<AgentSessionMessage> {
|
|
257
1582
|
/**
|
|
258
|
-
* @generated from
|
|
1583
|
+
* @generated from oneof livekit.agent.AgentSessionMessage.message
|
|
259
1584
|
*/
|
|
260
|
-
|
|
1585
|
+
message: {
|
|
1586
|
+
/**
|
|
1587
|
+
* @generated from field: livekit.agent.AgentSessionMessage.ConsoleIO.AudioFrame audio_input = 1;
|
|
1588
|
+
*/
|
|
1589
|
+
value: AgentSessionMessage_ConsoleIO_AudioFrame;
|
|
1590
|
+
case: "audioInput";
|
|
1591
|
+
} | {
|
|
1592
|
+
/**
|
|
1593
|
+
* @generated from field: livekit.agent.AgentSessionMessage.ConsoleIO.AudioFrame audio_output = 2;
|
|
1594
|
+
*/
|
|
1595
|
+
value: AgentSessionMessage_ConsoleIO_AudioFrame;
|
|
1596
|
+
case: "audioOutput";
|
|
1597
|
+
} | {
|
|
1598
|
+
/**
|
|
1599
|
+
* @generated from field: livekit.agent.AgentSessionEvent event = 3;
|
|
1600
|
+
*/
|
|
1601
|
+
value: AgentSessionEvent;
|
|
1602
|
+
case: "event";
|
|
1603
|
+
} | {
|
|
1604
|
+
/**
|
|
1605
|
+
* @generated from field: livekit.agent.SessionRequest request = 4;
|
|
1606
|
+
*/
|
|
1607
|
+
value: SessionRequest;
|
|
1608
|
+
case: "request";
|
|
1609
|
+
} | {
|
|
1610
|
+
/**
|
|
1611
|
+
* @generated from field: livekit.agent.SessionResponse response = 5;
|
|
1612
|
+
*/
|
|
1613
|
+
value: SessionResponse;
|
|
1614
|
+
case: "response";
|
|
1615
|
+
} | {
|
|
1616
|
+
/**
|
|
1617
|
+
* @generated from field: livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFlush audio_playback_flush = 6;
|
|
1618
|
+
*/
|
|
1619
|
+
value: AgentSessionMessage_ConsoleIO_AudioPlaybackFlush;
|
|
1620
|
+
case: "audioPlaybackFlush";
|
|
1621
|
+
} | {
|
|
1622
|
+
/**
|
|
1623
|
+
* @generated from field: livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackClear audio_playback_clear = 7;
|
|
1624
|
+
*/
|
|
1625
|
+
value: AgentSessionMessage_ConsoleIO_AudioPlaybackClear;
|
|
1626
|
+
case: "audioPlaybackClear";
|
|
1627
|
+
} | {
|
|
1628
|
+
/**
|
|
1629
|
+
* @generated from field: livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFinished audio_playback_finished = 8;
|
|
1630
|
+
*/
|
|
1631
|
+
value: AgentSessionMessage_ConsoleIO_AudioPlaybackFinished;
|
|
1632
|
+
case: "audioPlaybackFinished";
|
|
1633
|
+
} | { case: undefined; value?: undefined };
|
|
261
1634
|
|
|
262
|
-
constructor(data?: PartialMessage<
|
|
1635
|
+
constructor(data?: PartialMessage<AgentSessionMessage>);
|
|
263
1636
|
|
|
264
1637
|
static readonly runtime: typeof proto3;
|
|
265
|
-
static readonly typeName = "livekit.agent.
|
|
1638
|
+
static readonly typeName = "livekit.agent.AgentSessionMessage";
|
|
266
1639
|
static readonly fields: FieldList;
|
|
267
1640
|
|
|
268
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
1641
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionMessage;
|
|
269
1642
|
|
|
270
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
1643
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionMessage;
|
|
271
1644
|
|
|
272
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
1645
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionMessage;
|
|
273
1646
|
|
|
274
|
-
static equals(a:
|
|
1647
|
+
static equals(a: AgentSessionMessage | PlainMessage<AgentSessionMessage> | undefined, b: AgentSessionMessage | PlainMessage<AgentSessionMessage> | undefined): boolean;
|
|
275
1648
|
}
|
|
276
1649
|
|
|
277
1650
|
/**
|
|
278
|
-
* @generated from message livekit.agent.
|
|
1651
|
+
* @generated from message livekit.agent.AgentSessionMessage.ConsoleIO
|
|
279
1652
|
*/
|
|
280
|
-
declare class
|
|
1653
|
+
declare class AgentSessionMessage_ConsoleIO extends Message<AgentSessionMessage_ConsoleIO> {
|
|
1654
|
+
constructor(data?: PartialMessage<AgentSessionMessage_ConsoleIO>);
|
|
1655
|
+
|
|
1656
|
+
static readonly runtime: typeof proto3;
|
|
1657
|
+
static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO";
|
|
1658
|
+
static readonly fields: FieldList;
|
|
1659
|
+
|
|
1660
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionMessage_ConsoleIO;
|
|
1661
|
+
|
|
1662
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO;
|
|
1663
|
+
|
|
1664
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO;
|
|
1665
|
+
|
|
1666
|
+
static equals(a: AgentSessionMessage_ConsoleIO | PlainMessage<AgentSessionMessage_ConsoleIO> | undefined, b: AgentSessionMessage_ConsoleIO | PlainMessage<AgentSessionMessage_ConsoleIO> | undefined): boolean;
|
|
1667
|
+
}
|
|
1668
|
+
|
|
1669
|
+
/**
|
|
1670
|
+
* @generated from message livekit.agent.AgentSessionMessage.ConsoleIO.AudioFrame
|
|
1671
|
+
*/
|
|
1672
|
+
declare class AgentSessionMessage_ConsoleIO_AudioFrame extends Message<AgentSessionMessage_ConsoleIO_AudioFrame> {
|
|
281
1673
|
/**
|
|
282
|
-
* @generated from field:
|
|
1674
|
+
* @generated from field: bytes data = 1;
|
|
283
1675
|
*/
|
|
284
|
-
|
|
1676
|
+
data: Uint8Array;
|
|
285
1677
|
|
|
286
1678
|
/**
|
|
287
|
-
* @generated from field:
|
|
1679
|
+
* @generated from field: uint32 sample_rate = 2;
|
|
288
1680
|
*/
|
|
289
|
-
|
|
1681
|
+
sampleRate: number;
|
|
290
1682
|
|
|
291
1683
|
/**
|
|
292
|
-
* @generated from field:
|
|
1684
|
+
* @generated from field: uint32 num_channels = 3;
|
|
293
1685
|
*/
|
|
294
|
-
|
|
1686
|
+
numChannels: number;
|
|
295
1687
|
|
|
296
1688
|
/**
|
|
297
|
-
* @generated from field:
|
|
1689
|
+
* @generated from field: uint32 samples_per_channel = 4;
|
|
298
1690
|
*/
|
|
299
|
-
|
|
1691
|
+
samplesPerChannel: number;
|
|
300
1692
|
|
|
301
|
-
constructor(data?: PartialMessage<
|
|
1693
|
+
constructor(data?: PartialMessage<AgentSessionMessage_ConsoleIO_AudioFrame>);
|
|
302
1694
|
|
|
303
1695
|
static readonly runtime: typeof proto3;
|
|
304
|
-
static readonly typeName = "livekit.agent.
|
|
1696
|
+
static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO.AudioFrame";
|
|
305
1697
|
static readonly fields: FieldList;
|
|
306
1698
|
|
|
307
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
1699
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionMessage_ConsoleIO_AudioFrame;
|
|
308
1700
|
|
|
309
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
1701
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioFrame;
|
|
310
1702
|
|
|
311
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
1703
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioFrame;
|
|
312
1704
|
|
|
313
|
-
static equals(a:
|
|
1705
|
+
static equals(a: AgentSessionMessage_ConsoleIO_AudioFrame | PlainMessage<AgentSessionMessage_ConsoleIO_AudioFrame> | undefined, b: AgentSessionMessage_ConsoleIO_AudioFrame | PlainMessage<AgentSessionMessage_ConsoleIO_AudioFrame> | undefined): boolean;
|
|
314
1706
|
}
|
|
315
1707
|
|
|
316
1708
|
/**
|
|
317
|
-
* @generated from message livekit.agent.
|
|
1709
|
+
* @generated from message livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFlush
|
|
318
1710
|
*/
|
|
319
|
-
declare class
|
|
320
|
-
|
|
321
|
-
* @generated from field: repeated livekit.agent.ChatContext.ChatItem items = 1;
|
|
322
|
-
*/
|
|
323
|
-
items: ChatContext_ChatItem[];
|
|
324
|
-
|
|
325
|
-
constructor(data?: PartialMessage<ChatContext>);
|
|
1711
|
+
declare class AgentSessionMessage_ConsoleIO_AudioPlaybackFlush extends Message<AgentSessionMessage_ConsoleIO_AudioPlaybackFlush> {
|
|
1712
|
+
constructor(data?: PartialMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFlush>);
|
|
326
1713
|
|
|
327
1714
|
static readonly runtime: typeof proto3;
|
|
328
|
-
static readonly typeName = "livekit.agent.
|
|
1715
|
+
static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFlush";
|
|
329
1716
|
static readonly fields: FieldList;
|
|
330
1717
|
|
|
331
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
1718
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFlush;
|
|
332
1719
|
|
|
333
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
1720
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFlush;
|
|
334
1721
|
|
|
335
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
1722
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFlush;
|
|
336
1723
|
|
|
337
|
-
static equals(a:
|
|
1724
|
+
static equals(a: AgentSessionMessage_ConsoleIO_AudioPlaybackFlush | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFlush> | undefined, b: AgentSessionMessage_ConsoleIO_AudioPlaybackFlush | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFlush> | undefined): boolean;
|
|
338
1725
|
}
|
|
339
1726
|
|
|
340
1727
|
/**
|
|
341
|
-
* @generated from message livekit.agent.
|
|
1728
|
+
* @generated from message livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackClear
|
|
342
1729
|
*/
|
|
343
|
-
declare class
|
|
344
|
-
|
|
345
|
-
* @generated from oneof livekit.agent.ChatContext.ChatItem.item
|
|
346
|
-
*/
|
|
347
|
-
item: {
|
|
348
|
-
/**
|
|
349
|
-
* @generated from field: livekit.agent.ChatMessage message = 1;
|
|
350
|
-
*/
|
|
351
|
-
value: ChatMessage$1;
|
|
352
|
-
case: "message";
|
|
353
|
-
} | {
|
|
354
|
-
/**
|
|
355
|
-
* @generated from field: livekit.agent.FunctionCall function_call = 2;
|
|
356
|
-
*/
|
|
357
|
-
value: FunctionCall;
|
|
358
|
-
case: "functionCall";
|
|
359
|
-
} | {
|
|
360
|
-
/**
|
|
361
|
-
* @generated from field: livekit.agent.FunctionCallOutput function_call_output = 3;
|
|
362
|
-
*/
|
|
363
|
-
value: FunctionCallOutput;
|
|
364
|
-
case: "functionCallOutput";
|
|
365
|
-
} | {
|
|
366
|
-
/**
|
|
367
|
-
* @generated from field: livekit.agent.AgentHandoff agent_handoff = 4;
|
|
368
|
-
*/
|
|
369
|
-
value: AgentHandoff;
|
|
370
|
-
case: "agentHandoff";
|
|
371
|
-
} | { case: undefined; value?: undefined };
|
|
1730
|
+
declare class AgentSessionMessage_ConsoleIO_AudioPlaybackClear extends Message<AgentSessionMessage_ConsoleIO_AudioPlaybackClear> {
|
|
1731
|
+
constructor(data?: PartialMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackClear>);
|
|
372
1732
|
|
|
373
|
-
|
|
1733
|
+
static readonly runtime: typeof proto3;
|
|
1734
|
+
static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackClear";
|
|
1735
|
+
static readonly fields: FieldList;
|
|
1736
|
+
|
|
1737
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackClear;
|
|
1738
|
+
|
|
1739
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackClear;
|
|
1740
|
+
|
|
1741
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackClear;
|
|
1742
|
+
|
|
1743
|
+
static equals(a: AgentSessionMessage_ConsoleIO_AudioPlaybackClear | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackClear> | undefined, b: AgentSessionMessage_ConsoleIO_AudioPlaybackClear | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackClear> | undefined): boolean;
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1746
|
+
/**
|
|
1747
|
+
* @generated from message livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFinished
|
|
1748
|
+
*/
|
|
1749
|
+
declare class AgentSessionMessage_ConsoleIO_AudioPlaybackFinished extends Message<AgentSessionMessage_ConsoleIO_AudioPlaybackFinished> {
|
|
1750
|
+
constructor(data?: PartialMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFinished>);
|
|
374
1751
|
|
|
375
1752
|
static readonly runtime: typeof proto3;
|
|
376
|
-
static readonly typeName = "livekit.agent.
|
|
1753
|
+
static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFinished";
|
|
377
1754
|
static readonly fields: FieldList;
|
|
378
1755
|
|
|
379
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
1756
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFinished;
|
|
380
1757
|
|
|
381
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
1758
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFinished;
|
|
382
1759
|
|
|
383
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
1760
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFinished;
|
|
384
1761
|
|
|
385
|
-
static equals(a:
|
|
1762
|
+
static equals(a: AgentSessionMessage_ConsoleIO_AudioPlaybackFinished | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFinished> | undefined, b: AgentSessionMessage_ConsoleIO_AudioPlaybackFinished | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFinished> | undefined): boolean;
|
|
386
1763
|
}
|
|
387
1764
|
|
|
1765
|
+
type livekit_agent_session_pb_d_AgentConfigUpdate = AgentConfigUpdate;
|
|
1766
|
+
declare const livekit_agent_session_pb_d_AgentConfigUpdate: typeof AgentConfigUpdate;
|
|
388
1767
|
type livekit_agent_session_pb_d_AgentHandoff = AgentHandoff;
|
|
389
1768
|
declare const livekit_agent_session_pb_d_AgentHandoff: typeof AgentHandoff;
|
|
1769
|
+
type livekit_agent_session_pb_d_AgentSessionEvent = AgentSessionEvent;
|
|
1770
|
+
declare const livekit_agent_session_pb_d_AgentSessionEvent: typeof AgentSessionEvent;
|
|
1771
|
+
type livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged = AgentSessionEvent_AgentStateChanged;
|
|
1772
|
+
declare const livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged: typeof AgentSessionEvent_AgentStateChanged;
|
|
1773
|
+
type livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded = AgentSessionEvent_ConversationItemAdded;
|
|
1774
|
+
declare const livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded: typeof AgentSessionEvent_ConversationItemAdded;
|
|
1775
|
+
type livekit_agent_session_pb_d_AgentSessionEvent_Error = AgentSessionEvent_Error;
|
|
1776
|
+
declare const livekit_agent_session_pb_d_AgentSessionEvent_Error: typeof AgentSessionEvent_Error;
|
|
1777
|
+
type livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsExecuted = AgentSessionEvent_FunctionToolsExecuted;
|
|
1778
|
+
declare const livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsExecuted: typeof AgentSessionEvent_FunctionToolsExecuted;
|
|
1779
|
+
type livekit_agent_session_pb_d_AgentSessionEvent_OverlappingSpeech = AgentSessionEvent_OverlappingSpeech;
|
|
1780
|
+
declare const livekit_agent_session_pb_d_AgentSessionEvent_OverlappingSpeech: typeof AgentSessionEvent_OverlappingSpeech;
|
|
1781
|
+
type livekit_agent_session_pb_d_AgentSessionEvent_SessionUsageUpdated = AgentSessionEvent_SessionUsageUpdated;
|
|
1782
|
+
declare const livekit_agent_session_pb_d_AgentSessionEvent_SessionUsageUpdated: typeof AgentSessionEvent_SessionUsageUpdated;
|
|
1783
|
+
type livekit_agent_session_pb_d_AgentSessionEvent_UserInputTranscribed = AgentSessionEvent_UserInputTranscribed;
|
|
1784
|
+
declare const livekit_agent_session_pb_d_AgentSessionEvent_UserInputTranscribed: typeof AgentSessionEvent_UserInputTranscribed;
|
|
1785
|
+
type livekit_agent_session_pb_d_AgentSessionEvent_UserStateChanged = AgentSessionEvent_UserStateChanged;
|
|
1786
|
+
declare const livekit_agent_session_pb_d_AgentSessionEvent_UserStateChanged: typeof AgentSessionEvent_UserStateChanged;
|
|
1787
|
+
type livekit_agent_session_pb_d_AgentSessionMessage = AgentSessionMessage;
|
|
1788
|
+
declare const livekit_agent_session_pb_d_AgentSessionMessage: typeof AgentSessionMessage;
|
|
1789
|
+
type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO = AgentSessionMessage_ConsoleIO;
|
|
1790
|
+
declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO: typeof AgentSessionMessage_ConsoleIO;
|
|
1791
|
+
type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioFrame = AgentSessionMessage_ConsoleIO_AudioFrame;
|
|
1792
|
+
declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioFrame: typeof AgentSessionMessage_ConsoleIO_AudioFrame;
|
|
1793
|
+
type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackClear = AgentSessionMessage_ConsoleIO_AudioPlaybackClear;
|
|
1794
|
+
declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackClear: typeof AgentSessionMessage_ConsoleIO_AudioPlaybackClear;
|
|
1795
|
+
type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFinished = AgentSessionMessage_ConsoleIO_AudioPlaybackFinished;
|
|
1796
|
+
declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFinished: typeof AgentSessionMessage_ConsoleIO_AudioPlaybackFinished;
|
|
1797
|
+
type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFlush = AgentSessionMessage_ConsoleIO_AudioPlaybackFlush;
|
|
1798
|
+
declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFlush: typeof AgentSessionMessage_ConsoleIO_AudioPlaybackFlush;
|
|
1799
|
+
type livekit_agent_session_pb_d_AgentSessionUsage = AgentSessionUsage;
|
|
1800
|
+
declare const livekit_agent_session_pb_d_AgentSessionUsage: typeof AgentSessionUsage;
|
|
1801
|
+
type livekit_agent_session_pb_d_AgentState = AgentState;
|
|
1802
|
+
declare const livekit_agent_session_pb_d_AgentState: typeof AgentState;
|
|
390
1803
|
type livekit_agent_session_pb_d_ChatContext = ChatContext;
|
|
391
1804
|
declare const livekit_agent_session_pb_d_ChatContext: typeof ChatContext;
|
|
392
1805
|
type livekit_agent_session_pb_d_ChatContext_ChatItem = ChatContext_ChatItem;
|
|
@@ -399,10 +1812,54 @@ type livekit_agent_session_pb_d_FunctionCall = FunctionCall;
|
|
|
399
1812
|
declare const livekit_agent_session_pb_d_FunctionCall: typeof FunctionCall;
|
|
400
1813
|
type livekit_agent_session_pb_d_FunctionCallOutput = FunctionCallOutput;
|
|
401
1814
|
declare const livekit_agent_session_pb_d_FunctionCallOutput: typeof FunctionCallOutput;
|
|
1815
|
+
type livekit_agent_session_pb_d_InterruptionModelUsage = InterruptionModelUsage;
|
|
1816
|
+
declare const livekit_agent_session_pb_d_InterruptionModelUsage: typeof InterruptionModelUsage;
|
|
1817
|
+
type livekit_agent_session_pb_d_LLMModelUsage = LLMModelUsage;
|
|
1818
|
+
declare const livekit_agent_session_pb_d_LLMModelUsage: typeof LLMModelUsage;
|
|
402
1819
|
type livekit_agent_session_pb_d_MetricsReport = MetricsReport;
|
|
403
1820
|
declare const livekit_agent_session_pb_d_MetricsReport: typeof MetricsReport;
|
|
1821
|
+
type livekit_agent_session_pb_d_ModelUsage = ModelUsage;
|
|
1822
|
+
declare const livekit_agent_session_pb_d_ModelUsage: typeof ModelUsage;
|
|
1823
|
+
type livekit_agent_session_pb_d_STTModelUsage = STTModelUsage;
|
|
1824
|
+
declare const livekit_agent_session_pb_d_STTModelUsage: typeof STTModelUsage;
|
|
1825
|
+
type livekit_agent_session_pb_d_SessionRequest = SessionRequest;
|
|
1826
|
+
declare const livekit_agent_session_pb_d_SessionRequest: typeof SessionRequest;
|
|
1827
|
+
type livekit_agent_session_pb_d_SessionRequest_GetAgentInfo = SessionRequest_GetAgentInfo;
|
|
1828
|
+
declare const livekit_agent_session_pb_d_SessionRequest_GetAgentInfo: typeof SessionRequest_GetAgentInfo;
|
|
1829
|
+
type livekit_agent_session_pb_d_SessionRequest_GetChatHistory = SessionRequest_GetChatHistory;
|
|
1830
|
+
declare const livekit_agent_session_pb_d_SessionRequest_GetChatHistory: typeof SessionRequest_GetChatHistory;
|
|
1831
|
+
type livekit_agent_session_pb_d_SessionRequest_GetRTCStats = SessionRequest_GetRTCStats;
|
|
1832
|
+
declare const livekit_agent_session_pb_d_SessionRequest_GetRTCStats: typeof SessionRequest_GetRTCStats;
|
|
1833
|
+
type livekit_agent_session_pb_d_SessionRequest_GetSessionState = SessionRequest_GetSessionState;
|
|
1834
|
+
declare const livekit_agent_session_pb_d_SessionRequest_GetSessionState: typeof SessionRequest_GetSessionState;
|
|
1835
|
+
type livekit_agent_session_pb_d_SessionRequest_GetSessionUsage = SessionRequest_GetSessionUsage;
|
|
1836
|
+
declare const livekit_agent_session_pb_d_SessionRequest_GetSessionUsage: typeof SessionRequest_GetSessionUsage;
|
|
1837
|
+
type livekit_agent_session_pb_d_SessionRequest_Ping = SessionRequest_Ping;
|
|
1838
|
+
declare const livekit_agent_session_pb_d_SessionRequest_Ping: typeof SessionRequest_Ping;
|
|
1839
|
+
type livekit_agent_session_pb_d_SessionRequest_RunInput = SessionRequest_RunInput;
|
|
1840
|
+
declare const livekit_agent_session_pb_d_SessionRequest_RunInput: typeof SessionRequest_RunInput;
|
|
1841
|
+
type livekit_agent_session_pb_d_SessionResponse = SessionResponse;
|
|
1842
|
+
declare const livekit_agent_session_pb_d_SessionResponse: typeof SessionResponse;
|
|
1843
|
+
type livekit_agent_session_pb_d_SessionResponse_GetAgentInfoResponse = SessionResponse_GetAgentInfoResponse;
|
|
1844
|
+
declare const livekit_agent_session_pb_d_SessionResponse_GetAgentInfoResponse: typeof SessionResponse_GetAgentInfoResponse;
|
|
1845
|
+
type livekit_agent_session_pb_d_SessionResponse_GetChatHistoryResponse = SessionResponse_GetChatHistoryResponse;
|
|
1846
|
+
declare const livekit_agent_session_pb_d_SessionResponse_GetChatHistoryResponse: typeof SessionResponse_GetChatHistoryResponse;
|
|
1847
|
+
type livekit_agent_session_pb_d_SessionResponse_GetRTCStatsResponse = SessionResponse_GetRTCStatsResponse;
|
|
1848
|
+
declare const livekit_agent_session_pb_d_SessionResponse_GetRTCStatsResponse: typeof SessionResponse_GetRTCStatsResponse;
|
|
1849
|
+
type livekit_agent_session_pb_d_SessionResponse_GetSessionStateResponse = SessionResponse_GetSessionStateResponse;
|
|
1850
|
+
declare const livekit_agent_session_pb_d_SessionResponse_GetSessionStateResponse: typeof SessionResponse_GetSessionStateResponse;
|
|
1851
|
+
type livekit_agent_session_pb_d_SessionResponse_GetSessionUsageResponse = SessionResponse_GetSessionUsageResponse;
|
|
1852
|
+
declare const livekit_agent_session_pb_d_SessionResponse_GetSessionUsageResponse: typeof SessionResponse_GetSessionUsageResponse;
|
|
1853
|
+
type livekit_agent_session_pb_d_SessionResponse_Pong = SessionResponse_Pong;
|
|
1854
|
+
declare const livekit_agent_session_pb_d_SessionResponse_Pong: typeof SessionResponse_Pong;
|
|
1855
|
+
type livekit_agent_session_pb_d_SessionResponse_RunInputResponse = SessionResponse_RunInputResponse;
|
|
1856
|
+
declare const livekit_agent_session_pb_d_SessionResponse_RunInputResponse: typeof SessionResponse_RunInputResponse;
|
|
1857
|
+
type livekit_agent_session_pb_d_TTSModelUsage = TTSModelUsage;
|
|
1858
|
+
declare const livekit_agent_session_pb_d_TTSModelUsage: typeof TTSModelUsage;
|
|
1859
|
+
type livekit_agent_session_pb_d_UserState = UserState;
|
|
1860
|
+
declare const livekit_agent_session_pb_d_UserState: typeof UserState;
|
|
404
1861
|
declare namespace livekit_agent_session_pb_d {
|
|
405
|
-
export { livekit_agent_session_pb_d_AgentHandoff as AgentHandoff, livekit_agent_session_pb_d_ChatContext as ChatContext, livekit_agent_session_pb_d_ChatContext_ChatItem as ChatContext_ChatItem, ChatMessage$1 as ChatMessage, livekit_agent_session_pb_d_ChatMessage_ChatContent as ChatMessage_ChatContent, livekit_agent_session_pb_d_ChatRole as ChatRole, livekit_agent_session_pb_d_FunctionCall as FunctionCall, livekit_agent_session_pb_d_FunctionCallOutput as FunctionCallOutput, livekit_agent_session_pb_d_MetricsReport as MetricsReport };
|
|
1862
|
+
export { livekit_agent_session_pb_d_AgentConfigUpdate as AgentConfigUpdate, livekit_agent_session_pb_d_AgentHandoff as AgentHandoff, livekit_agent_session_pb_d_AgentSessionEvent as AgentSessionEvent, livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged as AgentSessionEvent_AgentStateChanged, livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded as AgentSessionEvent_ConversationItemAdded, livekit_agent_session_pb_d_AgentSessionEvent_Error as AgentSessionEvent_Error, livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsExecuted as AgentSessionEvent_FunctionToolsExecuted, livekit_agent_session_pb_d_AgentSessionEvent_OverlappingSpeech as AgentSessionEvent_OverlappingSpeech, livekit_agent_session_pb_d_AgentSessionEvent_SessionUsageUpdated as AgentSessionEvent_SessionUsageUpdated, livekit_agent_session_pb_d_AgentSessionEvent_UserInputTranscribed as AgentSessionEvent_UserInputTranscribed, livekit_agent_session_pb_d_AgentSessionEvent_UserStateChanged as AgentSessionEvent_UserStateChanged, livekit_agent_session_pb_d_AgentSessionMessage as AgentSessionMessage, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO as AgentSessionMessage_ConsoleIO, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioFrame as AgentSessionMessage_ConsoleIO_AudioFrame, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackClear as AgentSessionMessage_ConsoleIO_AudioPlaybackClear, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFinished as AgentSessionMessage_ConsoleIO_AudioPlaybackFinished, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFlush as AgentSessionMessage_ConsoleIO_AudioPlaybackFlush, livekit_agent_session_pb_d_AgentSessionUsage as AgentSessionUsage, livekit_agent_session_pb_d_AgentState as AgentState, livekit_agent_session_pb_d_ChatContext as ChatContext, livekit_agent_session_pb_d_ChatContext_ChatItem as ChatContext_ChatItem, ChatMessage$1 as ChatMessage, livekit_agent_session_pb_d_ChatMessage_ChatContent as ChatMessage_ChatContent, livekit_agent_session_pb_d_ChatRole as ChatRole, livekit_agent_session_pb_d_FunctionCall as FunctionCall, livekit_agent_session_pb_d_FunctionCallOutput as FunctionCallOutput, livekit_agent_session_pb_d_InterruptionModelUsage as InterruptionModelUsage, livekit_agent_session_pb_d_LLMModelUsage as LLMModelUsage, livekit_agent_session_pb_d_MetricsReport as MetricsReport, livekit_agent_session_pb_d_ModelUsage as ModelUsage, livekit_agent_session_pb_d_STTModelUsage as STTModelUsage, livekit_agent_session_pb_d_SessionRequest as SessionRequest, livekit_agent_session_pb_d_SessionRequest_GetAgentInfo as SessionRequest_GetAgentInfo, livekit_agent_session_pb_d_SessionRequest_GetChatHistory as SessionRequest_GetChatHistory, livekit_agent_session_pb_d_SessionRequest_GetRTCStats as SessionRequest_GetRTCStats, livekit_agent_session_pb_d_SessionRequest_GetSessionState as SessionRequest_GetSessionState, livekit_agent_session_pb_d_SessionRequest_GetSessionUsage as SessionRequest_GetSessionUsage, livekit_agent_session_pb_d_SessionRequest_Ping as SessionRequest_Ping, livekit_agent_session_pb_d_SessionRequest_RunInput as SessionRequest_RunInput, livekit_agent_session_pb_d_SessionResponse as SessionResponse, livekit_agent_session_pb_d_SessionResponse_GetAgentInfoResponse as SessionResponse_GetAgentInfoResponse, livekit_agent_session_pb_d_SessionResponse_GetChatHistoryResponse as SessionResponse_GetChatHistoryResponse, livekit_agent_session_pb_d_SessionResponse_GetRTCStatsResponse as SessionResponse_GetRTCStatsResponse, livekit_agent_session_pb_d_SessionResponse_GetSessionStateResponse as SessionResponse_GetSessionStateResponse, livekit_agent_session_pb_d_SessionResponse_GetSessionUsageResponse as SessionResponse_GetSessionUsageResponse, livekit_agent_session_pb_d_SessionResponse_Pong as SessionResponse_Pong, livekit_agent_session_pb_d_SessionResponse_RunInputResponse as SessionResponse_RunInputResponse, livekit_agent_session_pb_d_TTSModelUsage as TTSModelUsage, livekit_agent_session_pb_d_UserState as UserState };
|
|
406
1863
|
}
|
|
407
1864
|
|
|
408
1865
|
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
@@ -1184,6 +2641,13 @@ declare enum DisconnectReason {
|
|
|
1184
2641
|
* @generated from enum value: MEDIA_FAILURE = 15;
|
|
1185
2642
|
*/
|
|
1186
2643
|
MEDIA_FAILURE = 15,
|
|
2644
|
+
|
|
2645
|
+
/**
|
|
2646
|
+
* agent encountered an error
|
|
2647
|
+
*
|
|
2648
|
+
* @generated from enum value: AGENT_ERROR = 16;
|
|
2649
|
+
*/
|
|
2650
|
+
AGENT_ERROR = 16,
|
|
1187
2651
|
}
|
|
1188
2652
|
|
|
1189
2653
|
/**
|
|
@@ -1278,6 +2742,16 @@ declare enum AudioTrackFeature {
|
|
|
1278
2742
|
TF_PRECONNECT_BUFFER = 6,
|
|
1279
2743
|
}
|
|
1280
2744
|
|
|
2745
|
+
/**
|
|
2746
|
+
* @generated from enum livekit.PacketTrailerFeature
|
|
2747
|
+
*/
|
|
2748
|
+
declare enum PacketTrailerFeature {
|
|
2749
|
+
/**
|
|
2750
|
+
* @generated from enum value: PTF_USER_TIMESTAMP = 0;
|
|
2751
|
+
*/
|
|
2752
|
+
PTF_USER_TIMESTAMP = 0,
|
|
2753
|
+
}
|
|
2754
|
+
|
|
1281
2755
|
/**
|
|
1282
2756
|
* @generated from message livekit.Pagination
|
|
1283
2757
|
*/
|
|
@@ -2090,6 +3564,11 @@ declare class TrackInfo extends Message<TrackInfo> {
|
|
|
2090
3564
|
*/
|
|
2091
3565
|
backupCodecPolicy: BackupCodecPolicy;
|
|
2092
3566
|
|
|
3567
|
+
/**
|
|
3568
|
+
* @generated from field: repeated livekit.PacketTrailerFeature packet_trailer_features = 21;
|
|
3569
|
+
*/
|
|
3570
|
+
packetTrailerFeatures: PacketTrailerFeature[];
|
|
3571
|
+
|
|
2093
3572
|
constructor(data?: PartialMessage<TrackInfo>);
|
|
2094
3573
|
|
|
2095
3574
|
static readonly runtime: typeof proto3;
|
|
@@ -6210,6 +7689,11 @@ declare class AddTrackRequest extends Message<AddTrackRequest> {
|
|
|
6210
7689
|
*/
|
|
6211
7690
|
audioFeatures: AudioTrackFeature[];
|
|
6212
7691
|
|
|
7692
|
+
/**
|
|
7693
|
+
* @generated from field: repeated livekit.PacketTrailerFeature packet_trailer_features = 18;
|
|
7694
|
+
*/
|
|
7695
|
+
packetTrailerFeatures: PacketTrailerFeature[];
|
|
7696
|
+
|
|
6213
7697
|
constructor(data?: PartialMessage<AddTrackRequest>);
|
|
6214
7698
|
|
|
6215
7699
|
static readonly runtime: typeof proto3;
|
|
@@ -8431,12 +9915,17 @@ declare class DialWhatsAppCallRequest extends Message<DialWhatsAppCallRequest> {
|
|
|
8431
9915
|
/**
|
|
8432
9916
|
* 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.
|
|
8433
9917
|
*
|
|
8434
|
-
* Next - 13
|
|
8435
|
-
*
|
|
8436
9918
|
* @generated from field: string destination_country = 11;
|
|
8437
9919
|
*/
|
|
8438
9920
|
destinationCountry: string;
|
|
8439
9921
|
|
|
9922
|
+
/**
|
|
9923
|
+
* Max time for the callee to answer the call.
|
|
9924
|
+
*
|
|
9925
|
+
* @generated from field: google.protobuf.Duration ringing_timeout = 13;
|
|
9926
|
+
*/
|
|
9927
|
+
ringingTimeout?: Duration;
|
|
9928
|
+
|
|
8440
9929
|
constructor(data?: PartialMessage<DialWhatsAppCallRequest>);
|
|
8441
9930
|
|
|
8442
9931
|
static readonly runtime: typeof proto3;
|
|
@@ -8715,12 +10204,24 @@ declare class AcceptWhatsAppCallRequest extends Message<AcceptWhatsAppCallReques
|
|
|
8715
10204
|
/**
|
|
8716
10205
|
* 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.
|
|
8717
10206
|
*
|
|
8718
|
-
* Next - 14
|
|
8719
|
-
*
|
|
8720
10207
|
* @generated from field: string destination_country = 12;
|
|
8721
10208
|
*/
|
|
8722
10209
|
destinationCountry: string;
|
|
8723
10210
|
|
|
10211
|
+
/**
|
|
10212
|
+
* Max time for the callee to answer the call.
|
|
10213
|
+
*
|
|
10214
|
+
* @generated from field: google.protobuf.Duration ringing_timeout = 14;
|
|
10215
|
+
*/
|
|
10216
|
+
ringingTimeout?: Duration;
|
|
10217
|
+
|
|
10218
|
+
/**
|
|
10219
|
+
* Wait for the answer for the call before returning.
|
|
10220
|
+
*
|
|
10221
|
+
* @generated from field: bool wait_until_answered = 15;
|
|
10222
|
+
*/
|
|
10223
|
+
waitUntilAnswered: boolean;
|
|
10224
|
+
|
|
8724
10225
|
constructor(data?: PartialMessage<AcceptWhatsAppCallRequest>);
|
|
8725
10226
|
|
|
8726
10227
|
static readonly runtime: typeof proto3;
|
|
@@ -13884,6 +15385,16 @@ declare class SIPInboundTrunkInfo extends Message<SIPInboundTrunkInfo> {
|
|
|
13884
15385
|
*/
|
|
13885
15386
|
mediaEncryption: SIPMediaEncryption;
|
|
13886
15387
|
|
|
15388
|
+
/**
|
|
15389
|
+
* @generated from field: google.protobuf.Timestamp created_at = 17;
|
|
15390
|
+
*/
|
|
15391
|
+
createdAt?: Timestamp;
|
|
15392
|
+
|
|
15393
|
+
/**
|
|
15394
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 18;
|
|
15395
|
+
*/
|
|
15396
|
+
updatedAt?: Timestamp;
|
|
15397
|
+
|
|
13887
15398
|
constructor(data?: PartialMessage<SIPInboundTrunkInfo>);
|
|
13888
15399
|
|
|
13889
15400
|
static readonly runtime: typeof proto3;
|
|
@@ -14131,6 +15642,25 @@ declare class SIPOutboundTrunkInfo extends Message<SIPOutboundTrunkInfo> {
|
|
|
14131
15642
|
*/
|
|
14132
15643
|
mediaEncryption: SIPMediaEncryption;
|
|
14133
15644
|
|
|
15645
|
+
/**
|
|
15646
|
+
* Optional custom hostname for the 'From' SIP header in outbound INVITEs.
|
|
15647
|
+
* When set, outbound calls from this trunk will use this host instead of the default project SIP domain.
|
|
15648
|
+
* Enables originating calls from custom domains.
|
|
15649
|
+
*
|
|
15650
|
+
* @generated from field: string from_host = 15;
|
|
15651
|
+
*/
|
|
15652
|
+
fromHost: string;
|
|
15653
|
+
|
|
15654
|
+
/**
|
|
15655
|
+
* @generated from field: google.protobuf.Timestamp created_at = 16;
|
|
15656
|
+
*/
|
|
15657
|
+
createdAt?: Timestamp;
|
|
15658
|
+
|
|
15659
|
+
/**
|
|
15660
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 17;
|
|
15661
|
+
*/
|
|
15662
|
+
updatedAt?: Timestamp;
|
|
15663
|
+
|
|
14134
15664
|
constructor(data?: PartialMessage<SIPOutboundTrunkInfo>);
|
|
14135
15665
|
|
|
14136
15666
|
static readonly runtime: typeof proto3;
|
|
@@ -14195,6 +15725,11 @@ declare class SIPOutboundTrunkUpdate extends Message<SIPOutboundTrunkUpdate> {
|
|
|
14195
15725
|
*/
|
|
14196
15726
|
mediaEncryption?: SIPMediaEncryption;
|
|
14197
15727
|
|
|
15728
|
+
/**
|
|
15729
|
+
* @generated from field: optional string from_host = 10;
|
|
15730
|
+
*/
|
|
15731
|
+
fromHost?: string;
|
|
15732
|
+
|
|
14198
15733
|
constructor(data?: PartialMessage<SIPOutboundTrunkUpdate>);
|
|
14199
15734
|
|
|
14200
15735
|
static readonly runtime: typeof proto3;
|
|
@@ -14561,6 +16096,13 @@ declare class SIPDispatchRuleIndividual extends Message<SIPDispatchRuleIndividua
|
|
|
14561
16096
|
*/
|
|
14562
16097
|
pin: string;
|
|
14563
16098
|
|
|
16099
|
+
/**
|
|
16100
|
+
* Optionally append random suffix
|
|
16101
|
+
*
|
|
16102
|
+
* @generated from field: bool no_randomness = 3;
|
|
16103
|
+
*/
|
|
16104
|
+
noRandomness: boolean;
|
|
16105
|
+
|
|
14564
16106
|
constructor(data?: PartialMessage<SIPDispatchRuleIndividual>);
|
|
14565
16107
|
|
|
14566
16108
|
static readonly runtime: typeof proto3;
|
|
@@ -14888,12 +16430,20 @@ declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
|
|
|
14888
16430
|
krispEnabled: boolean;
|
|
14889
16431
|
|
|
14890
16432
|
/**
|
|
14891
|
-
* NEXT ID: 14
|
|
14892
|
-
*
|
|
14893
16433
|
* @generated from field: livekit.SIPMediaEncryption media_encryption = 12;
|
|
14894
16434
|
*/
|
|
14895
16435
|
mediaEncryption: SIPMediaEncryption;
|
|
14896
16436
|
|
|
16437
|
+
/**
|
|
16438
|
+
* @generated from field: google.protobuf.Timestamp created_at = 14;
|
|
16439
|
+
*/
|
|
16440
|
+
createdAt?: Timestamp;
|
|
16441
|
+
|
|
16442
|
+
/**
|
|
16443
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 15;
|
|
16444
|
+
*/
|
|
16445
|
+
updatedAt?: Timestamp;
|
|
16446
|
+
|
|
14897
16447
|
constructor(data?: PartialMessage<SIPDispatchRuleInfo>);
|
|
14898
16448
|
|
|
14899
16449
|
static readonly runtime: typeof proto3;
|
|
@@ -15101,6 +16651,13 @@ declare class SIPOutboundConfig extends Message<SIPOutboundConfig> {
|
|
|
15101
16651
|
*/
|
|
15102
16652
|
attributesToHeaders: { [key: string]: string };
|
|
15103
16653
|
|
|
16654
|
+
/**
|
|
16655
|
+
* Optional custom hostname for the 'From' SIP header. When set, outbound calls use this host instead of the default project SIP domain.
|
|
16656
|
+
*
|
|
16657
|
+
* @generated from field: string from_host = 8;
|
|
16658
|
+
*/
|
|
16659
|
+
fromHost: string;
|
|
16660
|
+
|
|
15104
16661
|
constructor(data?: PartialMessage<SIPOutboundConfig>);
|
|
15105
16662
|
|
|
15106
16663
|
static readonly runtime: typeof proto3;
|
|
@@ -15901,4 +17458,4 @@ declare class WebhookEvent extends Message<WebhookEvent> {
|
|
|
15901
17458
|
|
|
15902
17459
|
declare const version: string;
|
|
15903
17460
|
|
|
15904
|
-
export { AcceptWhatsAppCallRequest, AcceptWhatsAppCallResponse, ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, livekit_agent_session_pb_d as AgentSession, AliOSSUpload, AudioCodec, AudioMixing, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectTwilioCallRequest, ConnectTwilioCallRequest_TwilioCallDirection, ConnectTwilioCallResponse, ConnectWhatsAppCallRequest, ConnectWhatsAppCallResponse, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, ConnectionSettings, ConnectorType, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataChannelReceiveState, DataPacket, DataPacket_Kind, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DataTrackExtensionID, DataTrackExtensionParticipantSid, DataTrackInfo, DataTrackSubscriberHandles, DataTrackSubscriberHandles_PublishedDataTrack, DataTrackSubscriptionOptions, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, Destination, DialWhatsAppCallRequest, DialWhatsAppCallResponse, DirectFileOutput, DisabledCodecs, DisconnectReason, DisconnectWhatsAppCallRequest, DisconnectWhatsAppCallRequest_DisconnectReason, DisconnectWhatsAppCallResponse, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, EncryptedPacket, EncryptedPacketPayload, Encryption, Encryption_Type, EventMetric, FileInfo, FilterParams, ForwardParticipantRequest, ForwardParticipantResponse, GCPUpload, GetSIPInboundTrunkRequest, GetSIPInboundTrunkResponse, GetSIPOutboundTrunkRequest, GetSIPOutboundTrunkResponse, ICEServer, ImageCodec, ImageFileSuffix, ImageOutput, ImagesInfo, IngressAudioEncodingOptions, IngressAudioEncodingPreset, IngressAudioOptions, IngressInfo, IngressInput, IngressState, IngressState_Status, IngressVideoEncodingOptions, IngressVideoEncodingPreset, IngressVideoOptions, InputAudioState, InputVideoState, Job, JobAssignment, JobState, JobStatus, JobTermination, JobType, JoinRequest, JoinResponse, LeaveRequest, LeaveRequest_Action, ListAgentDispatchRequest, ListAgentDispatchResponse, ListEgressRequest, ListEgressResponse, ListIngressRequest, ListIngressResponse, ListParticipantsRequest, ListParticipantsResponse, ListRoomsRequest, ListRoomsResponse, ListSIPDispatchRuleRequest, ListSIPDispatchRuleResponse, ListSIPInboundTrunkRequest, ListSIPInboundTrunkResponse, ListSIPOutboundTrunkRequest, ListSIPOutboundTrunkResponse, ListSIPTrunkRequest, ListSIPTrunkResponse, ListUpdate, MediaSectionsRequirement, MetricLabel, MetricSample, MetricsBatch, MetricsRecordingHeader, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, PerformRpcRequest, PerformRpcResponse, Ping, PlayoutDelay, Pong, ProviderInfo, ProviderType, ProxyConfig, PublishDataTrackRequest, PublishDataTrackResponse, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomMovedResponse, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPDispatchRuleUpdate, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPInboundTrunkUpdate, SIPMediaEncryption, SIPOutboundConfig, SIPOutboundTrunkInfo, SIPOutboundTrunkUpdate, SIPParticipantInfo, SIPStatus, SIPStatusCode, SIPTransferInfo, SIPTransferStatus, SIPTransport, SIPTrunkInfo, SIPTrunkInfo_TrunkKind, SIPUri, SegmentedFileOutput, SegmentedFileProtocol, SegmentedFileSuffix, SegmentsInfo, SendDataRequest, SendDataResponse, ServerInfo, ServerInfo_Edition, ServerMessage, SessionDescription, SignalRequest, SignalResponse, SignalTarget, SimulateJobRequest, SimulateScenario, SimulcastCodec, SimulcastCodecInfo, SipDTMF, SpeakerInfo, SpeakersChanged, StopEgressRequest, StreamInfo, StreamInfoList, StreamInfo_Status, StreamOutput, StreamProtocol, StreamState, StreamStateInfo, StreamStateUpdate, SubscribedAudioCodec, SubscribedAudioCodecUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TimeSeriesMetric, TimedVersion, TokenPagination, TokenSourceRequest, TokenSourceResponse, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, UnpublishDataTrackRequest, UnpublishDataTrackResponse, UpdateDataSubscription, UpdateDataSubscription_Update, UpdateIngressRequest, UpdateJobStatus, UpdateLayoutRequest, UpdateLocalAudioTrack, UpdateLocalVideoTrack, UpdateParticipantMetadata, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateSIPDispatchRuleRequest, UpdateSIPInboundTrunkRequest, UpdateSIPOutboundTrunkRequest, UpdateStreamRequest, UpdateSubscription, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse, UpdateTrackSettings, UpdateVideoLayers, UpdateWorkerStatus, UserPacket, VP8MungerState, VideoCodec, VideoConfiguration, VideoLayer, VideoLayer_Mode, VideoQuality, WebEgressRequest, WebhookConfig, WebhookEvent, WhatsAppCall, WhatsAppCallDirection, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, WrappedJoinRequest, WrappedJoinRequest_Compression, version };
|
|
17461
|
+
export { AcceptWhatsAppCallRequest, AcceptWhatsAppCallResponse, ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, livekit_agent_session_pb_d as AgentSession, AliOSSUpload, AudioCodec, AudioMixing, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectTwilioCallRequest, ConnectTwilioCallRequest_TwilioCallDirection, ConnectTwilioCallResponse, ConnectWhatsAppCallRequest, ConnectWhatsAppCallResponse, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, ConnectionSettings, ConnectorType, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataChannelReceiveState, DataPacket, DataPacket_Kind, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DataTrackExtensionID, DataTrackExtensionParticipantSid, DataTrackInfo, DataTrackSubscriberHandles, DataTrackSubscriberHandles_PublishedDataTrack, DataTrackSubscriptionOptions, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, Destination, DialWhatsAppCallRequest, DialWhatsAppCallResponse, DirectFileOutput, DisabledCodecs, DisconnectReason, DisconnectWhatsAppCallRequest, DisconnectWhatsAppCallRequest_DisconnectReason, DisconnectWhatsAppCallResponse, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, EncryptedPacket, EncryptedPacketPayload, Encryption, Encryption_Type, EventMetric, FileInfo, FilterParams, ForwardParticipantRequest, ForwardParticipantResponse, GCPUpload, GetSIPInboundTrunkRequest, GetSIPInboundTrunkResponse, GetSIPOutboundTrunkRequest, GetSIPOutboundTrunkResponse, ICEServer, ImageCodec, ImageFileSuffix, ImageOutput, ImagesInfo, IngressAudioEncodingOptions, IngressAudioEncodingPreset, IngressAudioOptions, IngressInfo, IngressInput, IngressState, IngressState_Status, IngressVideoEncodingOptions, IngressVideoEncodingPreset, IngressVideoOptions, InputAudioState, InputVideoState, Job, JobAssignment, JobState, JobStatus, JobTermination, JobType, JoinRequest, JoinResponse, LeaveRequest, LeaveRequest_Action, ListAgentDispatchRequest, ListAgentDispatchResponse, ListEgressRequest, ListEgressResponse, ListIngressRequest, ListIngressResponse, ListParticipantsRequest, ListParticipantsResponse, ListRoomsRequest, ListRoomsResponse, ListSIPDispatchRuleRequest, ListSIPDispatchRuleResponse, ListSIPInboundTrunkRequest, ListSIPInboundTrunkResponse, ListSIPOutboundTrunkRequest, ListSIPOutboundTrunkResponse, ListSIPTrunkRequest, ListSIPTrunkResponse, ListUpdate, MediaSectionsRequirement, MetricLabel, MetricSample, MetricsBatch, MetricsRecordingHeader, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, PacketTrailerFeature, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, PerformRpcRequest, PerformRpcResponse, Ping, PlayoutDelay, Pong, ProviderInfo, ProviderType, ProxyConfig, PublishDataTrackRequest, PublishDataTrackResponse, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomMovedResponse, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPDispatchRuleUpdate, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPInboundTrunkUpdate, SIPMediaEncryption, SIPOutboundConfig, SIPOutboundTrunkInfo, SIPOutboundTrunkUpdate, SIPParticipantInfo, SIPStatus, SIPStatusCode, SIPTransferInfo, SIPTransferStatus, SIPTransport, SIPTrunkInfo, SIPTrunkInfo_TrunkKind, SIPUri, SegmentedFileOutput, SegmentedFileProtocol, SegmentedFileSuffix, SegmentsInfo, SendDataRequest, SendDataResponse, ServerInfo, ServerInfo_Edition, ServerMessage, SessionDescription, SignalRequest, SignalResponse, SignalTarget, SimulateJobRequest, SimulateScenario, SimulcastCodec, SimulcastCodecInfo, SipDTMF, SpeakerInfo, SpeakersChanged, StopEgressRequest, StreamInfo, StreamInfoList, StreamInfo_Status, StreamOutput, StreamProtocol, StreamState, StreamStateInfo, StreamStateUpdate, SubscribedAudioCodec, SubscribedAudioCodecUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TimeSeriesMetric, TimedVersion, TokenPagination, TokenSourceRequest, TokenSourceResponse, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, UnpublishDataTrackRequest, UnpublishDataTrackResponse, UpdateDataSubscription, UpdateDataSubscription_Update, UpdateIngressRequest, UpdateJobStatus, UpdateLayoutRequest, UpdateLocalAudioTrack, UpdateLocalVideoTrack, UpdateParticipantMetadata, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateSIPDispatchRuleRequest, UpdateSIPInboundTrunkRequest, UpdateSIPOutboundTrunkRequest, UpdateStreamRequest, UpdateSubscription, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse, UpdateTrackSettings, UpdateVideoLayers, UpdateWorkerStatus, UserPacket, VP8MungerState, VideoCodec, VideoConfiguration, VideoLayer, VideoLayer_Mode, VideoQuality, WebEgressRequest, WebhookConfig, WebhookEvent, WhatsAppCall, WhatsAppCallDirection, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, WrappedJoinRequest, WrappedJoinRequest_Compression, version };
|