@cc-livekit/protocol 1.39.3

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.
Files changed (40) hide show
  1. package/dist/index.cjs +7285 -0
  2. package/dist/index.cjs.map +1 -0
  3. package/dist/index.d.cts +13646 -0
  4. package/dist/index.d.mts +13646 -0
  5. package/dist/index.d.ts +13646 -0
  6. package/dist/index.mjs +7009 -0
  7. package/dist/index.mjs.map +1 -0
  8. package/package.json +42 -0
  9. package/src/gen/livekit_agent_dispatch_pb.d.ts +253 -0
  10. package/src/gen/livekit_agent_dispatch_pb.js +103 -0
  11. package/src/gen/livekit_agent_pb.d.ts +758 -0
  12. package/src/gen/livekit_agent_pb.js +269 -0
  13. package/src/gen/livekit_analytics_pb.d.ts +1379 -0
  14. package/src/gen/livekit_analytics_pb.js +397 -0
  15. package/src/gen/livekit_cloud_agent_pb.d.ts +919 -0
  16. package/src/gen/livekit_cloud_agent_pb.js +327 -0
  17. package/src/gen/livekit_egress_pb.d.ts +2151 -0
  18. package/src/gen/livekit_egress_pb.js +625 -0
  19. package/src/gen/livekit_ingress_pb.d.ts +864 -0
  20. package/src/gen/livekit_ingress_pb.js +272 -0
  21. package/src/gen/livekit_internal_pb.d.ts +786 -0
  22. package/src/gen/livekit_internal_pb.js +227 -0
  23. package/src/gen/livekit_metrics_pb.d.ts +376 -0
  24. package/src/gen/livekit_metrics_pb.js +97 -0
  25. package/src/gen/livekit_models_pb.d.ts +3083 -0
  26. package/src/gen/livekit_models_pb.js +998 -0
  27. package/src/gen/livekit_room_pb.d.ts +899 -0
  28. package/src/gen/livekit_room_pb.js +300 -0
  29. package/src/gen/livekit_rtc_pb.d.ts +2134 -0
  30. package/src/gen/livekit_rtc_pb.js +668 -0
  31. package/src/gen/livekit_sip_pb.d.ts +2619 -0
  32. package/src/gen/livekit_sip_pb.js +771 -0
  33. package/src/gen/livekit_temptalk_pb.d.ts +473 -0
  34. package/src/gen/livekit_temptalk_pb.js +167 -0
  35. package/src/gen/livekit_webhook_pb.d.ts +106 -0
  36. package/src/gen/livekit_webhook_pb.js +42 -0
  37. package/src/gen/version.d.ts +1 -0
  38. package/src/gen/version.js +2 -0
  39. package/src/index.d.ts +12 -0
  40. package/src/index.js +13 -0
@@ -0,0 +1,758 @@
1
+ // Copyright 2023 LiveKit, Inc.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
16
+ // @generated from file livekit_agent.proto (package livekit, syntax proto3)
17
+ /* eslint-disable */
18
+ // @ts-nocheck
19
+
20
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
21
+ import { Message, proto3 } from "@bufbuild/protobuf";
22
+ import type { ParticipantInfo, ParticipantPermission, Room, ServerInfo } from "./livekit_models_pb.js";
23
+
24
+ /**
25
+ * @generated from enum livekit.JobType
26
+ */
27
+ export declare enum JobType {
28
+ /**
29
+ * @generated from enum value: JT_ROOM = 0;
30
+ */
31
+ JT_ROOM = 0,
32
+
33
+ /**
34
+ * @generated from enum value: JT_PUBLISHER = 1;
35
+ */
36
+ JT_PUBLISHER = 1,
37
+
38
+ /**
39
+ * @generated from enum value: JT_PARTICIPANT = 2;
40
+ */
41
+ JT_PARTICIPANT = 2,
42
+ }
43
+
44
+ /**
45
+ * @generated from enum livekit.WorkerStatus
46
+ */
47
+ export declare enum WorkerStatus {
48
+ /**
49
+ * @generated from enum value: WS_AVAILABLE = 0;
50
+ */
51
+ WS_AVAILABLE = 0,
52
+
53
+ /**
54
+ * @generated from enum value: WS_FULL = 1;
55
+ */
56
+ WS_FULL = 1,
57
+ }
58
+
59
+ /**
60
+ * @generated from enum livekit.JobStatus
61
+ */
62
+ export declare enum JobStatus {
63
+ /**
64
+ * @generated from enum value: JS_PENDING = 0;
65
+ */
66
+ JS_PENDING = 0,
67
+
68
+ /**
69
+ * @generated from enum value: JS_RUNNING = 1;
70
+ */
71
+ JS_RUNNING = 1,
72
+
73
+ /**
74
+ * @generated from enum value: JS_SUCCESS = 2;
75
+ */
76
+ JS_SUCCESS = 2,
77
+
78
+ /**
79
+ * @generated from enum value: JS_FAILED = 3;
80
+ */
81
+ JS_FAILED = 3,
82
+ }
83
+
84
+ /**
85
+ * @generated from message livekit.Job
86
+ */
87
+ export declare class Job extends Message<Job> {
88
+ /**
89
+ * @generated from field: string id = 1;
90
+ */
91
+ id: string;
92
+
93
+ /**
94
+ * @generated from field: string dispatch_id = 9;
95
+ */
96
+ dispatchId: string;
97
+
98
+ /**
99
+ * @generated from field: livekit.JobType type = 2;
100
+ */
101
+ type: JobType;
102
+
103
+ /**
104
+ * @generated from field: livekit.Room room = 3;
105
+ */
106
+ room?: Room;
107
+
108
+ /**
109
+ * @generated from field: optional livekit.ParticipantInfo participant = 4;
110
+ */
111
+ participant?: ParticipantInfo;
112
+
113
+ /**
114
+ * @generated from field: string namespace = 5 [deprecated = true];
115
+ * @deprecated
116
+ */
117
+ namespace: string;
118
+
119
+ /**
120
+ * @generated from field: string metadata = 6;
121
+ */
122
+ metadata: string;
123
+
124
+ /**
125
+ * @generated from field: string agent_name = 7;
126
+ */
127
+ agentName: string;
128
+
129
+ /**
130
+ * @generated from field: livekit.JobState state = 8;
131
+ */
132
+ state?: JobState;
133
+
134
+ constructor(data?: PartialMessage<Job>);
135
+
136
+ static readonly runtime: typeof proto3;
137
+ static readonly typeName = "livekit.Job";
138
+ static readonly fields: FieldList;
139
+
140
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Job;
141
+
142
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Job;
143
+
144
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Job;
145
+
146
+ static equals(a: Job | PlainMessage<Job> | undefined, b: Job | PlainMessage<Job> | undefined): boolean;
147
+ }
148
+
149
+ /**
150
+ * @generated from message livekit.JobState
151
+ */
152
+ export declare class JobState extends Message<JobState> {
153
+ /**
154
+ * @generated from field: livekit.JobStatus status = 1;
155
+ */
156
+ status: JobStatus;
157
+
158
+ /**
159
+ * @generated from field: string error = 2;
160
+ */
161
+ error: string;
162
+
163
+ /**
164
+ * @generated from field: int64 started_at = 3;
165
+ */
166
+ startedAt: bigint;
167
+
168
+ /**
169
+ * @generated from field: int64 ended_at = 4;
170
+ */
171
+ endedAt: bigint;
172
+
173
+ /**
174
+ * @generated from field: int64 updated_at = 5;
175
+ */
176
+ updatedAt: bigint;
177
+
178
+ /**
179
+ * @generated from field: string participant_identity = 6;
180
+ */
181
+ participantIdentity: string;
182
+
183
+ /**
184
+ * @generated from field: string worker_id = 7;
185
+ */
186
+ workerId: string;
187
+
188
+ constructor(data?: PartialMessage<JobState>);
189
+
190
+ static readonly runtime: typeof proto3;
191
+ static readonly typeName = "livekit.JobState";
192
+ static readonly fields: FieldList;
193
+
194
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobState;
195
+
196
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobState;
197
+
198
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobState;
199
+
200
+ static equals(a: JobState | PlainMessage<JobState> | undefined, b: JobState | PlainMessage<JobState> | undefined): boolean;
201
+ }
202
+
203
+ /**
204
+ * from Worker to Server
205
+ *
206
+ * @generated from message livekit.WorkerMessage
207
+ */
208
+ export declare class WorkerMessage extends Message<WorkerMessage> {
209
+ /**
210
+ * @generated from oneof livekit.WorkerMessage.message
211
+ */
212
+ message: {
213
+ /**
214
+ * agent workers need to register themselves with the server first
215
+ *
216
+ * @generated from field: livekit.RegisterWorkerRequest register = 1;
217
+ */
218
+ value: RegisterWorkerRequest;
219
+ case: "register";
220
+ } | {
221
+ /**
222
+ * worker confirms to server that it's available for a job, or declines it
223
+ *
224
+ * @generated from field: livekit.AvailabilityResponse availability = 2;
225
+ */
226
+ value: AvailabilityResponse;
227
+ case: "availability";
228
+ } | {
229
+ /**
230
+ * worker can update its status to the server, including taking itself out of the pool
231
+ *
232
+ * @generated from field: livekit.UpdateWorkerStatus update_worker = 3;
233
+ */
234
+ value: UpdateWorkerStatus;
235
+ case: "updateWorker";
236
+ } | {
237
+ /**
238
+ * job can send status updates to the server, useful for tracking progress
239
+ *
240
+ * @generated from field: livekit.UpdateJobStatus update_job = 4;
241
+ */
242
+ value: UpdateJobStatus;
243
+ case: "updateJob";
244
+ } | {
245
+ /**
246
+ * @generated from field: livekit.WorkerPing ping = 5;
247
+ */
248
+ value: WorkerPing;
249
+ case: "ping";
250
+ } | {
251
+ /**
252
+ * @generated from field: livekit.SimulateJobRequest simulate_job = 6;
253
+ */
254
+ value: SimulateJobRequest;
255
+ case: "simulateJob";
256
+ } | {
257
+ /**
258
+ * @generated from field: livekit.MigrateJobRequest migrate_job = 7;
259
+ */
260
+ value: MigrateJobRequest;
261
+ case: "migrateJob";
262
+ } | { case: undefined; value?: undefined };
263
+
264
+ constructor(data?: PartialMessage<WorkerMessage>);
265
+
266
+ static readonly runtime: typeof proto3;
267
+ static readonly typeName = "livekit.WorkerMessage";
268
+ static readonly fields: FieldList;
269
+
270
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkerMessage;
271
+
272
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkerMessage;
273
+
274
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkerMessage;
275
+
276
+ static equals(a: WorkerMessage | PlainMessage<WorkerMessage> | undefined, b: WorkerMessage | PlainMessage<WorkerMessage> | undefined): boolean;
277
+ }
278
+
279
+ /**
280
+ * from Server to Worker
281
+ *
282
+ * @generated from message livekit.ServerMessage
283
+ */
284
+ export declare class ServerMessage extends Message<ServerMessage> {
285
+ /**
286
+ * @generated from oneof livekit.ServerMessage.message
287
+ */
288
+ message: {
289
+ /**
290
+ * server confirms the registration, from this moment on, the worker is considered active
291
+ *
292
+ * @generated from field: livekit.RegisterWorkerResponse register = 1;
293
+ */
294
+ value: RegisterWorkerResponse;
295
+ case: "register";
296
+ } | {
297
+ /**
298
+ * server asks worker to confirm availability for a job
299
+ *
300
+ * @generated from field: livekit.AvailabilityRequest availability = 2;
301
+ */
302
+ value: AvailabilityRequest;
303
+ case: "availability";
304
+ } | {
305
+ /**
306
+ * @generated from field: livekit.JobAssignment assignment = 3;
307
+ */
308
+ value: JobAssignment;
309
+ case: "assignment";
310
+ } | {
311
+ /**
312
+ * @generated from field: livekit.JobTermination termination = 5;
313
+ */
314
+ value: JobTermination;
315
+ case: "termination";
316
+ } | {
317
+ /**
318
+ * @generated from field: livekit.WorkerPong pong = 4;
319
+ */
320
+ value: WorkerPong;
321
+ case: "pong";
322
+ } | { case: undefined; value?: undefined };
323
+
324
+ constructor(data?: PartialMessage<ServerMessage>);
325
+
326
+ static readonly runtime: typeof proto3;
327
+ static readonly typeName = "livekit.ServerMessage";
328
+ static readonly fields: FieldList;
329
+
330
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ServerMessage;
331
+
332
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ServerMessage;
333
+
334
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ServerMessage;
335
+
336
+ static equals(a: ServerMessage | PlainMessage<ServerMessage> | undefined, b: ServerMessage | PlainMessage<ServerMessage> | undefined): boolean;
337
+ }
338
+
339
+ /**
340
+ * @generated from message livekit.SimulateJobRequest
341
+ */
342
+ export declare class SimulateJobRequest extends Message<SimulateJobRequest> {
343
+ /**
344
+ * @generated from field: livekit.JobType type = 1;
345
+ */
346
+ type: JobType;
347
+
348
+ /**
349
+ * @generated from field: livekit.Room room = 2;
350
+ */
351
+ room?: Room;
352
+
353
+ /**
354
+ * @generated from field: livekit.ParticipantInfo participant = 3;
355
+ */
356
+ participant?: ParticipantInfo;
357
+
358
+ constructor(data?: PartialMessage<SimulateJobRequest>);
359
+
360
+ static readonly runtime: typeof proto3;
361
+ static readonly typeName = "livekit.SimulateJobRequest";
362
+ static readonly fields: FieldList;
363
+
364
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SimulateJobRequest;
365
+
366
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SimulateJobRequest;
367
+
368
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SimulateJobRequest;
369
+
370
+ static equals(a: SimulateJobRequest | PlainMessage<SimulateJobRequest> | undefined, b: SimulateJobRequest | PlainMessage<SimulateJobRequest> | undefined): boolean;
371
+ }
372
+
373
+ /**
374
+ * @generated from message livekit.WorkerPing
375
+ */
376
+ export declare class WorkerPing extends Message<WorkerPing> {
377
+ /**
378
+ * @generated from field: int64 timestamp = 1;
379
+ */
380
+ timestamp: bigint;
381
+
382
+ constructor(data?: PartialMessage<WorkerPing>);
383
+
384
+ static readonly runtime: typeof proto3;
385
+ static readonly typeName = "livekit.WorkerPing";
386
+ static readonly fields: FieldList;
387
+
388
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkerPing;
389
+
390
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkerPing;
391
+
392
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkerPing;
393
+
394
+ static equals(a: WorkerPing | PlainMessage<WorkerPing> | undefined, b: WorkerPing | PlainMessage<WorkerPing> | undefined): boolean;
395
+ }
396
+
397
+ /**
398
+ * @generated from message livekit.WorkerPong
399
+ */
400
+ export declare class WorkerPong extends Message<WorkerPong> {
401
+ /**
402
+ * @generated from field: int64 last_timestamp = 1;
403
+ */
404
+ lastTimestamp: bigint;
405
+
406
+ /**
407
+ * @generated from field: int64 timestamp = 2;
408
+ */
409
+ timestamp: bigint;
410
+
411
+ constructor(data?: PartialMessage<WorkerPong>);
412
+
413
+ static readonly runtime: typeof proto3;
414
+ static readonly typeName = "livekit.WorkerPong";
415
+ static readonly fields: FieldList;
416
+
417
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkerPong;
418
+
419
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkerPong;
420
+
421
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkerPong;
422
+
423
+ static equals(a: WorkerPong | PlainMessage<WorkerPong> | undefined, b: WorkerPong | PlainMessage<WorkerPong> | undefined): boolean;
424
+ }
425
+
426
+ /**
427
+ * @generated from message livekit.RegisterWorkerRequest
428
+ */
429
+ export declare class RegisterWorkerRequest extends Message<RegisterWorkerRequest> {
430
+ /**
431
+ * @generated from field: livekit.JobType type = 1;
432
+ */
433
+ type: JobType;
434
+
435
+ /**
436
+ * @generated from field: string agent_name = 8;
437
+ */
438
+ agentName: string;
439
+
440
+ /**
441
+ * string worker_id = 2;
442
+ *
443
+ * @generated from field: string version = 3;
444
+ */
445
+ version: string;
446
+
447
+ /**
448
+ * string name = 4 [deprecated = true];
449
+ *
450
+ * @generated from field: uint32 ping_interval = 5;
451
+ */
452
+ pingInterval: number;
453
+
454
+ /**
455
+ * @generated from field: optional string namespace = 6;
456
+ */
457
+ namespace?: string;
458
+
459
+ /**
460
+ * @generated from field: livekit.ParticipantPermission allowed_permissions = 7;
461
+ */
462
+ allowedPermissions?: ParticipantPermission;
463
+
464
+ constructor(data?: PartialMessage<RegisterWorkerRequest>);
465
+
466
+ static readonly runtime: typeof proto3;
467
+ static readonly typeName = "livekit.RegisterWorkerRequest";
468
+ static readonly fields: FieldList;
469
+
470
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterWorkerRequest;
471
+
472
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterWorkerRequest;
473
+
474
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterWorkerRequest;
475
+
476
+ static equals(a: RegisterWorkerRequest | PlainMessage<RegisterWorkerRequest> | undefined, b: RegisterWorkerRequest | PlainMessage<RegisterWorkerRequest> | undefined): boolean;
477
+ }
478
+
479
+ /**
480
+ * @generated from message livekit.RegisterWorkerResponse
481
+ */
482
+ export declare class RegisterWorkerResponse extends Message<RegisterWorkerResponse> {
483
+ /**
484
+ * @generated from field: string worker_id = 1;
485
+ */
486
+ workerId: string;
487
+
488
+ /**
489
+ * @generated from field: livekit.ServerInfo server_info = 3;
490
+ */
491
+ serverInfo?: ServerInfo;
492
+
493
+ constructor(data?: PartialMessage<RegisterWorkerResponse>);
494
+
495
+ static readonly runtime: typeof proto3;
496
+ static readonly typeName = "livekit.RegisterWorkerResponse";
497
+ static readonly fields: FieldList;
498
+
499
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterWorkerResponse;
500
+
501
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterWorkerResponse;
502
+
503
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterWorkerResponse;
504
+
505
+ static equals(a: RegisterWorkerResponse | PlainMessage<RegisterWorkerResponse> | undefined, b: RegisterWorkerResponse | PlainMessage<RegisterWorkerResponse> | undefined): boolean;
506
+ }
507
+
508
+ /**
509
+ * @generated from message livekit.MigrateJobRequest
510
+ */
511
+ export declare class MigrateJobRequest extends Message<MigrateJobRequest> {
512
+ /**
513
+ * string job_id = 1 [deprecated = true];
514
+ *
515
+ * @generated from field: repeated string job_ids = 2;
516
+ */
517
+ jobIds: string[];
518
+
519
+ constructor(data?: PartialMessage<MigrateJobRequest>);
520
+
521
+ static readonly runtime: typeof proto3;
522
+ static readonly typeName = "livekit.MigrateJobRequest";
523
+ static readonly fields: FieldList;
524
+
525
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MigrateJobRequest;
526
+
527
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MigrateJobRequest;
528
+
529
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MigrateJobRequest;
530
+
531
+ static equals(a: MigrateJobRequest | PlainMessage<MigrateJobRequest> | undefined, b: MigrateJobRequest | PlainMessage<MigrateJobRequest> | undefined): boolean;
532
+ }
533
+
534
+ /**
535
+ * @generated from message livekit.AvailabilityRequest
536
+ */
537
+ export declare class AvailabilityRequest extends Message<AvailabilityRequest> {
538
+ /**
539
+ * @generated from field: livekit.Job job = 1;
540
+ */
541
+ job?: Job;
542
+
543
+ /**
544
+ * True when the job was previously assigned to another worker but has been
545
+ * migrated due to different reasons (e.g. worker failure, job migration)
546
+ *
547
+ * @generated from field: bool resuming = 2;
548
+ */
549
+ resuming: boolean;
550
+
551
+ constructor(data?: PartialMessage<AvailabilityRequest>);
552
+
553
+ static readonly runtime: typeof proto3;
554
+ static readonly typeName = "livekit.AvailabilityRequest";
555
+ static readonly fields: FieldList;
556
+
557
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AvailabilityRequest;
558
+
559
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AvailabilityRequest;
560
+
561
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AvailabilityRequest;
562
+
563
+ static equals(a: AvailabilityRequest | PlainMessage<AvailabilityRequest> | undefined, b: AvailabilityRequest | PlainMessage<AvailabilityRequest> | undefined): boolean;
564
+ }
565
+
566
+ /**
567
+ * @generated from message livekit.AvailabilityResponse
568
+ */
569
+ export declare class AvailabilityResponse extends Message<AvailabilityResponse> {
570
+ /**
571
+ * @generated from field: string job_id = 1;
572
+ */
573
+ jobId: string;
574
+
575
+ /**
576
+ * @generated from field: bool available = 2;
577
+ */
578
+ available: boolean;
579
+
580
+ /**
581
+ * @generated from field: bool supports_resume = 3;
582
+ */
583
+ supportsResume: boolean;
584
+
585
+ /**
586
+ * @generated from field: bool terminate = 8;
587
+ */
588
+ terminate: boolean;
589
+
590
+ /**
591
+ * @generated from field: string participant_name = 4;
592
+ */
593
+ participantName: string;
594
+
595
+ /**
596
+ * @generated from field: string participant_identity = 5;
597
+ */
598
+ participantIdentity: string;
599
+
600
+ /**
601
+ * @generated from field: string participant_metadata = 6;
602
+ */
603
+ participantMetadata: string;
604
+
605
+ /**
606
+ * NEXT_ID: 9
607
+ *
608
+ * @generated from field: map<string, string> participant_attributes = 7;
609
+ */
610
+ participantAttributes: { [key: string]: string };
611
+
612
+ constructor(data?: PartialMessage<AvailabilityResponse>);
613
+
614
+ static readonly runtime: typeof proto3;
615
+ static readonly typeName = "livekit.AvailabilityResponse";
616
+ static readonly fields: FieldList;
617
+
618
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AvailabilityResponse;
619
+
620
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AvailabilityResponse;
621
+
622
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AvailabilityResponse;
623
+
624
+ static equals(a: AvailabilityResponse | PlainMessage<AvailabilityResponse> | undefined, b: AvailabilityResponse | PlainMessage<AvailabilityResponse> | undefined): boolean;
625
+ }
626
+
627
+ /**
628
+ * @generated from message livekit.UpdateJobStatus
629
+ */
630
+ export declare class UpdateJobStatus extends Message<UpdateJobStatus> {
631
+ /**
632
+ * @generated from field: string job_id = 1;
633
+ */
634
+ jobId: string;
635
+
636
+ /**
637
+ * The worker can indicate the job end by either specifying SUCCESS or FAILED
638
+ *
639
+ * @generated from field: livekit.JobStatus status = 2;
640
+ */
641
+ status: JobStatus;
642
+
643
+ /**
644
+ * metadata shown on the dashboard, useful for debugging
645
+ *
646
+ * @generated from field: string error = 3;
647
+ */
648
+ error: string;
649
+
650
+ constructor(data?: PartialMessage<UpdateJobStatus>);
651
+
652
+ static readonly runtime: typeof proto3;
653
+ static readonly typeName = "livekit.UpdateJobStatus";
654
+ static readonly fields: FieldList;
655
+
656
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateJobStatus;
657
+
658
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateJobStatus;
659
+
660
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateJobStatus;
661
+
662
+ static equals(a: UpdateJobStatus | PlainMessage<UpdateJobStatus> | undefined, b: UpdateJobStatus | PlainMessage<UpdateJobStatus> | undefined): boolean;
663
+ }
664
+
665
+ /**
666
+ * @generated from message livekit.UpdateWorkerStatus
667
+ */
668
+ export declare class UpdateWorkerStatus extends Message<UpdateWorkerStatus> {
669
+ /**
670
+ * @generated from field: optional livekit.WorkerStatus status = 1;
671
+ */
672
+ status?: WorkerStatus;
673
+
674
+ /**
675
+ * optional string metadata = 2 [deprecated=true];
676
+ *
677
+ * @generated from field: float load = 3;
678
+ */
679
+ load: number;
680
+
681
+ /**
682
+ * @generated from field: uint32 job_count = 4;
683
+ */
684
+ jobCount: number;
685
+
686
+ constructor(data?: PartialMessage<UpdateWorkerStatus>);
687
+
688
+ static readonly runtime: typeof proto3;
689
+ static readonly typeName = "livekit.UpdateWorkerStatus";
690
+ static readonly fields: FieldList;
691
+
692
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateWorkerStatus;
693
+
694
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateWorkerStatus;
695
+
696
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateWorkerStatus;
697
+
698
+ static equals(a: UpdateWorkerStatus | PlainMessage<UpdateWorkerStatus> | undefined, b: UpdateWorkerStatus | PlainMessage<UpdateWorkerStatus> | undefined): boolean;
699
+ }
700
+
701
+ /**
702
+ * @generated from message livekit.JobAssignment
703
+ */
704
+ export declare class JobAssignment extends Message<JobAssignment> {
705
+ /**
706
+ * @generated from field: livekit.Job job = 1;
707
+ */
708
+ job?: Job;
709
+
710
+ /**
711
+ * @generated from field: optional string url = 2;
712
+ */
713
+ url?: string;
714
+
715
+ /**
716
+ * @generated from field: string token = 3;
717
+ */
718
+ token: string;
719
+
720
+ constructor(data?: PartialMessage<JobAssignment>);
721
+
722
+ static readonly runtime: typeof proto3;
723
+ static readonly typeName = "livekit.JobAssignment";
724
+ static readonly fields: FieldList;
725
+
726
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobAssignment;
727
+
728
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobAssignment;
729
+
730
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobAssignment;
731
+
732
+ static equals(a: JobAssignment | PlainMessage<JobAssignment> | undefined, b: JobAssignment | PlainMessage<JobAssignment> | undefined): boolean;
733
+ }
734
+
735
+ /**
736
+ * @generated from message livekit.JobTermination
737
+ */
738
+ export declare class JobTermination extends Message<JobTermination> {
739
+ /**
740
+ * @generated from field: string job_id = 1;
741
+ */
742
+ jobId: string;
743
+
744
+ constructor(data?: PartialMessage<JobTermination>);
745
+
746
+ static readonly runtime: typeof proto3;
747
+ static readonly typeName = "livekit.JobTermination";
748
+ static readonly fields: FieldList;
749
+
750
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobTermination;
751
+
752
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobTermination;
753
+
754
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobTermination;
755
+
756
+ static equals(a: JobTermination | PlainMessage<JobTermination> | undefined, b: JobTermination | PlainMessage<JobTermination> | undefined): boolean;
757
+ }
758
+