@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,2619 @@
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_sip.proto (package livekit, syntax proto3)
17
+ /* eslint-disable */
18
+ // @ts-nocheck
19
+
20
+ import type { BinaryReadOptions, Duration, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
21
+ import { Message, proto3 } from "@bufbuild/protobuf";
22
+ import type { DisconnectReason, ListUpdate, Pagination } from "./livekit_models_pb.js";
23
+ import type { RoomConfiguration } from "./livekit_room_pb.js";
24
+
25
+ /**
26
+ * @generated from enum livekit.SIPStatusCode
27
+ */
28
+ export declare enum SIPStatusCode {
29
+ /**
30
+ * @generated from enum value: SIP_STATUS_UNKNOWN = 0;
31
+ */
32
+ SIP_STATUS_UNKNOWN = 0,
33
+
34
+ /**
35
+ * @generated from enum value: SIP_STATUS_TRYING = 100;
36
+ */
37
+ SIP_STATUS_TRYING = 100,
38
+
39
+ /**
40
+ * @generated from enum value: SIP_STATUS_RINGING = 180;
41
+ */
42
+ SIP_STATUS_RINGING = 180,
43
+
44
+ /**
45
+ * @generated from enum value: SIP_STATUS_CALL_IS_FORWARDED = 181;
46
+ */
47
+ SIP_STATUS_CALL_IS_FORWARDED = 181,
48
+
49
+ /**
50
+ * @generated from enum value: SIP_STATUS_QUEUED = 182;
51
+ */
52
+ SIP_STATUS_QUEUED = 182,
53
+
54
+ /**
55
+ * @generated from enum value: SIP_STATUS_SESSION_PROGRESS = 183;
56
+ */
57
+ SIP_STATUS_SESSION_PROGRESS = 183,
58
+
59
+ /**
60
+ * @generated from enum value: SIP_STATUS_OK = 200;
61
+ */
62
+ SIP_STATUS_OK = 200,
63
+
64
+ /**
65
+ * @generated from enum value: SIP_STATUS_ACCEPTED = 202;
66
+ */
67
+ SIP_STATUS_ACCEPTED = 202,
68
+
69
+ /**
70
+ * @generated from enum value: SIP_STATUS_MOVED_PERMANENTLY = 301;
71
+ */
72
+ SIP_STATUS_MOVED_PERMANENTLY = 301,
73
+
74
+ /**
75
+ * @generated from enum value: SIP_STATUS_MOVED_TEMPORARILY = 302;
76
+ */
77
+ SIP_STATUS_MOVED_TEMPORARILY = 302,
78
+
79
+ /**
80
+ * @generated from enum value: SIP_STATUS_USE_PROXY = 305;
81
+ */
82
+ SIP_STATUS_USE_PROXY = 305,
83
+
84
+ /**
85
+ * @generated from enum value: SIP_STATUS_BAD_REQUEST = 400;
86
+ */
87
+ SIP_STATUS_BAD_REQUEST = 400,
88
+
89
+ /**
90
+ * @generated from enum value: SIP_STATUS_UNAUTHORIZED = 401;
91
+ */
92
+ SIP_STATUS_UNAUTHORIZED = 401,
93
+
94
+ /**
95
+ * @generated from enum value: SIP_STATUS_PAYMENT_REQUIRED = 402;
96
+ */
97
+ SIP_STATUS_PAYMENT_REQUIRED = 402,
98
+
99
+ /**
100
+ * @generated from enum value: SIP_STATUS_FORBIDDEN = 403;
101
+ */
102
+ SIP_STATUS_FORBIDDEN = 403,
103
+
104
+ /**
105
+ * @generated from enum value: SIP_STATUS_NOTFOUND = 404;
106
+ */
107
+ SIP_STATUS_NOTFOUND = 404,
108
+
109
+ /**
110
+ * @generated from enum value: SIP_STATUS_METHOD_NOT_ALLOWED = 405;
111
+ */
112
+ SIP_STATUS_METHOD_NOT_ALLOWED = 405,
113
+
114
+ /**
115
+ * @generated from enum value: SIP_STATUS_NOT_ACCEPTABLE = 406;
116
+ */
117
+ SIP_STATUS_NOT_ACCEPTABLE = 406,
118
+
119
+ /**
120
+ * @generated from enum value: SIP_STATUS_PROXY_AUTH_REQUIRED = 407;
121
+ */
122
+ SIP_STATUS_PROXY_AUTH_REQUIRED = 407,
123
+
124
+ /**
125
+ * @generated from enum value: SIP_STATUS_REQUEST_TIMEOUT = 408;
126
+ */
127
+ SIP_STATUS_REQUEST_TIMEOUT = 408,
128
+
129
+ /**
130
+ * @generated from enum value: SIP_STATUS_CONFLICT = 409;
131
+ */
132
+ SIP_STATUS_CONFLICT = 409,
133
+
134
+ /**
135
+ * @generated from enum value: SIP_STATUS_GONE = 410;
136
+ */
137
+ SIP_STATUS_GONE = 410,
138
+
139
+ /**
140
+ * @generated from enum value: SIP_STATUS_REQUEST_ENTITY_TOO_LARGE = 413;
141
+ */
142
+ SIP_STATUS_REQUEST_ENTITY_TOO_LARGE = 413,
143
+
144
+ /**
145
+ * @generated from enum value: SIP_STATUS_REQUEST_URI_TOO_LONG = 414;
146
+ */
147
+ SIP_STATUS_REQUEST_URI_TOO_LONG = 414,
148
+
149
+ /**
150
+ * @generated from enum value: SIP_STATUS_UNSUPPORTED_MEDIA_TYPE = 415;
151
+ */
152
+ SIP_STATUS_UNSUPPORTED_MEDIA_TYPE = 415,
153
+
154
+ /**
155
+ * @generated from enum value: SIP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE = 416;
156
+ */
157
+ SIP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE = 416,
158
+
159
+ /**
160
+ * @generated from enum value: SIP_STATUS_BAD_EXTENSION = 420;
161
+ */
162
+ SIP_STATUS_BAD_EXTENSION = 420,
163
+
164
+ /**
165
+ * @generated from enum value: SIP_STATUS_EXTENSION_REQUIRED = 421;
166
+ */
167
+ SIP_STATUS_EXTENSION_REQUIRED = 421,
168
+
169
+ /**
170
+ * @generated from enum value: SIP_STATUS_INTERVAL_TOO_BRIEF = 423;
171
+ */
172
+ SIP_STATUS_INTERVAL_TOO_BRIEF = 423,
173
+
174
+ /**
175
+ * @generated from enum value: SIP_STATUS_TEMPORARILY_UNAVAILABLE = 480;
176
+ */
177
+ SIP_STATUS_TEMPORARILY_UNAVAILABLE = 480,
178
+
179
+ /**
180
+ * @generated from enum value: SIP_STATUS_CALL_TRANSACTION_DOES_NOT_EXISTS = 481;
181
+ */
182
+ SIP_STATUS_CALL_TRANSACTION_DOES_NOT_EXISTS = 481,
183
+
184
+ /**
185
+ * @generated from enum value: SIP_STATUS_LOOP_DETECTED = 482;
186
+ */
187
+ SIP_STATUS_LOOP_DETECTED = 482,
188
+
189
+ /**
190
+ * @generated from enum value: SIP_STATUS_TOO_MANY_HOPS = 483;
191
+ */
192
+ SIP_STATUS_TOO_MANY_HOPS = 483,
193
+
194
+ /**
195
+ * @generated from enum value: SIP_STATUS_ADDRESS_INCOMPLETE = 484;
196
+ */
197
+ SIP_STATUS_ADDRESS_INCOMPLETE = 484,
198
+
199
+ /**
200
+ * @generated from enum value: SIP_STATUS_AMBIGUOUS = 485;
201
+ */
202
+ SIP_STATUS_AMBIGUOUS = 485,
203
+
204
+ /**
205
+ * @generated from enum value: SIP_STATUS_BUSY_HERE = 486;
206
+ */
207
+ SIP_STATUS_BUSY_HERE = 486,
208
+
209
+ /**
210
+ * @generated from enum value: SIP_STATUS_REQUEST_TERMINATED = 487;
211
+ */
212
+ SIP_STATUS_REQUEST_TERMINATED = 487,
213
+
214
+ /**
215
+ * @generated from enum value: SIP_STATUS_NOT_ACCEPTABLE_HERE = 488;
216
+ */
217
+ SIP_STATUS_NOT_ACCEPTABLE_HERE = 488,
218
+
219
+ /**
220
+ * @generated from enum value: SIP_STATUS_INTERNAL_SERVER_ERROR = 500;
221
+ */
222
+ SIP_STATUS_INTERNAL_SERVER_ERROR = 500,
223
+
224
+ /**
225
+ * @generated from enum value: SIP_STATUS_NOT_IMPLEMENTED = 501;
226
+ */
227
+ SIP_STATUS_NOT_IMPLEMENTED = 501,
228
+
229
+ /**
230
+ * @generated from enum value: SIP_STATUS_BAD_GATEWAY = 502;
231
+ */
232
+ SIP_STATUS_BAD_GATEWAY = 502,
233
+
234
+ /**
235
+ * @generated from enum value: SIP_STATUS_SERVICE_UNAVAILABLE = 503;
236
+ */
237
+ SIP_STATUS_SERVICE_UNAVAILABLE = 503,
238
+
239
+ /**
240
+ * @generated from enum value: SIP_STATUS_GATEWAY_TIMEOUT = 504;
241
+ */
242
+ SIP_STATUS_GATEWAY_TIMEOUT = 504,
243
+
244
+ /**
245
+ * @generated from enum value: SIP_STATUS_VERSION_NOT_SUPPORTED = 505;
246
+ */
247
+ SIP_STATUS_VERSION_NOT_SUPPORTED = 505,
248
+
249
+ /**
250
+ * @generated from enum value: SIP_STATUS_MESSAGE_TOO_LARGE = 513;
251
+ */
252
+ SIP_STATUS_MESSAGE_TOO_LARGE = 513,
253
+
254
+ /**
255
+ * @generated from enum value: SIP_STATUS_GLOBAL_BUSY_EVERYWHERE = 600;
256
+ */
257
+ SIP_STATUS_GLOBAL_BUSY_EVERYWHERE = 600,
258
+
259
+ /**
260
+ * @generated from enum value: SIP_STATUS_GLOBAL_DECLINE = 603;
261
+ */
262
+ SIP_STATUS_GLOBAL_DECLINE = 603,
263
+
264
+ /**
265
+ * @generated from enum value: SIP_STATUS_GLOBAL_DOES_NOT_EXIST_ANYWHERE = 604;
266
+ */
267
+ SIP_STATUS_GLOBAL_DOES_NOT_EXIST_ANYWHERE = 604,
268
+
269
+ /**
270
+ * @generated from enum value: SIP_STATUS_GLOBAL_NOT_ACCEPTABLE = 606;
271
+ */
272
+ SIP_STATUS_GLOBAL_NOT_ACCEPTABLE = 606,
273
+ }
274
+
275
+ /**
276
+ * @generated from enum livekit.SIPTransport
277
+ */
278
+ export declare enum SIPTransport {
279
+ /**
280
+ * @generated from enum value: SIP_TRANSPORT_AUTO = 0;
281
+ */
282
+ SIP_TRANSPORT_AUTO = 0,
283
+
284
+ /**
285
+ * @generated from enum value: SIP_TRANSPORT_UDP = 1;
286
+ */
287
+ SIP_TRANSPORT_UDP = 1,
288
+
289
+ /**
290
+ * @generated from enum value: SIP_TRANSPORT_TCP = 2;
291
+ */
292
+ SIP_TRANSPORT_TCP = 2,
293
+
294
+ /**
295
+ * @generated from enum value: SIP_TRANSPORT_TLS = 3;
296
+ */
297
+ SIP_TRANSPORT_TLS = 3,
298
+ }
299
+
300
+ /**
301
+ * @generated from enum livekit.SIPHeaderOptions
302
+ */
303
+ export declare enum SIPHeaderOptions {
304
+ /**
305
+ * do not map any headers, except ones mapped explicitly
306
+ *
307
+ * @generated from enum value: SIP_NO_HEADERS = 0;
308
+ */
309
+ SIP_NO_HEADERS = 0,
310
+
311
+ /**
312
+ * map all X-* headers to sip.h.x-* attributes
313
+ *
314
+ * @generated from enum value: SIP_X_HEADERS = 1;
315
+ */
316
+ SIP_X_HEADERS = 1,
317
+
318
+ /**
319
+ * map all headers to sip.h.* attributes
320
+ *
321
+ * @generated from enum value: SIP_ALL_HEADERS = 2;
322
+ */
323
+ SIP_ALL_HEADERS = 2,
324
+ }
325
+
326
+ /**
327
+ * @generated from enum livekit.SIPMediaEncryption
328
+ */
329
+ export declare enum SIPMediaEncryption {
330
+ /**
331
+ * do not enable encryption
332
+ *
333
+ * @generated from enum value: SIP_MEDIA_ENCRYPT_DISABLE = 0;
334
+ */
335
+ SIP_MEDIA_ENCRYPT_DISABLE = 0,
336
+
337
+ /**
338
+ * use encryption if available
339
+ *
340
+ * @generated from enum value: SIP_MEDIA_ENCRYPT_ALLOW = 1;
341
+ */
342
+ SIP_MEDIA_ENCRYPT_ALLOW = 1,
343
+
344
+ /**
345
+ * require encryption
346
+ *
347
+ * @generated from enum value: SIP_MEDIA_ENCRYPT_REQUIRE = 2;
348
+ */
349
+ SIP_MEDIA_ENCRYPT_REQUIRE = 2,
350
+ }
351
+
352
+ /**
353
+ * @generated from enum livekit.SIPCallStatus
354
+ */
355
+ export declare enum SIPCallStatus {
356
+ /**
357
+ * Incoming call is being handled by the SIP service. The SIP participant hasn't joined a LiveKit room yet
358
+ *
359
+ * @generated from enum value: SCS_CALL_INCOMING = 0;
360
+ */
361
+ SCS_CALL_INCOMING = 0,
362
+
363
+ /**
364
+ * SIP participant for outgoing call has been created. The SIP outgoing call is being established
365
+ *
366
+ * @generated from enum value: SCS_PARTICIPANT_JOINED = 1;
367
+ */
368
+ SCS_PARTICIPANT_JOINED = 1,
369
+
370
+ /**
371
+ * Call is ongoing. SIP participant is active in the LiveKit room
372
+ *
373
+ * @generated from enum value: SCS_ACTIVE = 2;
374
+ */
375
+ SCS_ACTIVE = 2,
376
+
377
+ /**
378
+ * Call has ended
379
+ *
380
+ * @generated from enum value: SCS_DISCONNECTED = 3;
381
+ */
382
+ SCS_DISCONNECTED = 3,
383
+
384
+ /**
385
+ * Call has ended or never succeeded because of an error
386
+ *
387
+ * @generated from enum value: SCS_ERROR = 4;
388
+ */
389
+ SCS_ERROR = 4,
390
+ }
391
+
392
+ /**
393
+ * @generated from enum livekit.SIPTransferStatus
394
+ */
395
+ export declare enum SIPTransferStatus {
396
+ /**
397
+ * @generated from enum value: STS_TRANSFER_ONGOING = 0;
398
+ */
399
+ STS_TRANSFER_ONGOING = 0,
400
+
401
+ /**
402
+ * @generated from enum value: STS_TRANSFER_FAILED = 1;
403
+ */
404
+ STS_TRANSFER_FAILED = 1,
405
+
406
+ /**
407
+ * @generated from enum value: STS_TRANSFER_SUCCESSFUL = 2;
408
+ */
409
+ STS_TRANSFER_SUCCESSFUL = 2,
410
+ }
411
+
412
+ /**
413
+ * @generated from enum livekit.SIPFeature
414
+ */
415
+ export declare enum SIPFeature {
416
+ /**
417
+ * @generated from enum value: NONE = 0;
418
+ */
419
+ NONE = 0,
420
+
421
+ /**
422
+ * @generated from enum value: KRISP_ENABLED = 1;
423
+ */
424
+ KRISP_ENABLED = 1,
425
+ }
426
+
427
+ /**
428
+ * @generated from enum livekit.SIPCallDirection
429
+ */
430
+ export declare enum SIPCallDirection {
431
+ /**
432
+ * @generated from enum value: SCD_UNKNOWN = 0;
433
+ */
434
+ SCD_UNKNOWN = 0,
435
+
436
+ /**
437
+ * @generated from enum value: SCD_INBOUND = 1;
438
+ */
439
+ SCD_INBOUND = 1,
440
+
441
+ /**
442
+ * @generated from enum value: SCD_OUTBOUND = 2;
443
+ */
444
+ SCD_OUTBOUND = 2,
445
+ }
446
+
447
+ /**
448
+ * SIPStatus is returned as an error detail in CreateSIPParticipant.
449
+ *
450
+ * @generated from message livekit.SIPStatus
451
+ */
452
+ export declare class SIPStatus extends Message<SIPStatus> {
453
+ /**
454
+ * @generated from field: livekit.SIPStatusCode code = 1;
455
+ */
456
+ code: SIPStatusCode;
457
+
458
+ /**
459
+ * @generated from field: string status = 2;
460
+ */
461
+ status: string;
462
+
463
+ constructor(data?: PartialMessage<SIPStatus>);
464
+
465
+ static readonly runtime: typeof proto3;
466
+ static readonly typeName = "livekit.SIPStatus";
467
+ static readonly fields: FieldList;
468
+
469
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPStatus;
470
+
471
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPStatus;
472
+
473
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPStatus;
474
+
475
+ static equals(a: SIPStatus | PlainMessage<SIPStatus> | undefined, b: SIPStatus | PlainMessage<SIPStatus> | undefined): boolean;
476
+ }
477
+
478
+ /**
479
+ * @generated from message livekit.CreateSIPTrunkRequest
480
+ * @deprecated
481
+ */
482
+ export declare class CreateSIPTrunkRequest extends Message<CreateSIPTrunkRequest> {
483
+ /**
484
+ * CIDR or IPs that traffic is accepted from
485
+ * An empty list means all inbound traffic is accepted.
486
+ *
487
+ * @generated from field: repeated string inbound_addresses = 1;
488
+ */
489
+ inboundAddresses: string[];
490
+
491
+ /**
492
+ * IP that SIP INVITE is sent too
493
+ *
494
+ * @generated from field: string outbound_address = 2;
495
+ */
496
+ outboundAddress: string;
497
+
498
+ /**
499
+ * Number used to make outbound calls
500
+ *
501
+ * @generated from field: string outbound_number = 3;
502
+ */
503
+ outboundNumber: string;
504
+
505
+ /**
506
+ * @generated from field: repeated string inbound_numbers_regex = 4 [deprecated = true];
507
+ * @deprecated
508
+ */
509
+ inboundNumbersRegex: string[];
510
+
511
+ /**
512
+ * Accepted `To` values. This Trunk will only accept a call made to
513
+ * these numbers. This allows you to have distinct Trunks for different phone
514
+ * numbers at the same provider.
515
+ *
516
+ * @generated from field: repeated string inbound_numbers = 9;
517
+ */
518
+ inboundNumbers: string[];
519
+
520
+ /**
521
+ * Username and password used to authenticate inbound and outbound SIP invites
522
+ * May be empty to have no Authentication
523
+ *
524
+ * @generated from field: string inbound_username = 5;
525
+ */
526
+ inboundUsername: string;
527
+
528
+ /**
529
+ * @generated from field: string inbound_password = 6;
530
+ */
531
+ inboundPassword: string;
532
+
533
+ /**
534
+ * @generated from field: string outbound_username = 7;
535
+ */
536
+ outboundUsername: string;
537
+
538
+ /**
539
+ * @generated from field: string outbound_password = 8;
540
+ */
541
+ outboundPassword: string;
542
+
543
+ /**
544
+ * Optional human-readable name for the Trunk.
545
+ *
546
+ * @generated from field: string name = 10;
547
+ */
548
+ name: string;
549
+
550
+ /**
551
+ * Optional user-defined metadata for the Trunk.
552
+ *
553
+ * @generated from field: string metadata = 11;
554
+ */
555
+ metadata: string;
556
+
557
+ constructor(data?: PartialMessage<CreateSIPTrunkRequest>);
558
+
559
+ static readonly runtime: typeof proto3;
560
+ static readonly typeName = "livekit.CreateSIPTrunkRequest";
561
+ static readonly fields: FieldList;
562
+
563
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSIPTrunkRequest;
564
+
565
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSIPTrunkRequest;
566
+
567
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSIPTrunkRequest;
568
+
569
+ static equals(a: CreateSIPTrunkRequest | PlainMessage<CreateSIPTrunkRequest> | undefined, b: CreateSIPTrunkRequest | PlainMessage<CreateSIPTrunkRequest> | undefined): boolean;
570
+ }
571
+
572
+ /**
573
+ * @generated from message livekit.SIPTrunkInfo
574
+ * @deprecated
575
+ */
576
+ export declare class SIPTrunkInfo extends Message<SIPTrunkInfo> {
577
+ /**
578
+ * @generated from field: string sip_trunk_id = 1;
579
+ */
580
+ sipTrunkId: string;
581
+
582
+ /**
583
+ * @generated from field: livekit.SIPTrunkInfo.TrunkKind kind = 14;
584
+ */
585
+ kind: SIPTrunkInfo_TrunkKind;
586
+
587
+ /**
588
+ * CIDR or IPs that traffic is accepted from
589
+ * An empty list means all inbound traffic is accepted.
590
+ *
591
+ * @generated from field: repeated string inbound_addresses = 2;
592
+ */
593
+ inboundAddresses: string[];
594
+
595
+ /**
596
+ * IP that SIP INVITE is sent too
597
+ *
598
+ * @generated from field: string outbound_address = 3;
599
+ */
600
+ outboundAddress: string;
601
+
602
+ /**
603
+ * Number used to make outbound calls
604
+ *
605
+ * @generated from field: string outbound_number = 4;
606
+ */
607
+ outboundNumber: string;
608
+
609
+ /**
610
+ * Transport used for inbound and outbound calls.
611
+ *
612
+ * @generated from field: livekit.SIPTransport transport = 13;
613
+ */
614
+ transport: SIPTransport;
615
+
616
+ /**
617
+ * @generated from field: repeated string inbound_numbers_regex = 5 [deprecated = true];
618
+ * @deprecated
619
+ */
620
+ inboundNumbersRegex: string[];
621
+
622
+ /**
623
+ * Accepted `To` values. This Trunk will only accept a call made to
624
+ * these numbers. This allows you to have distinct Trunks for different phone
625
+ * numbers at the same provider.
626
+ *
627
+ * @generated from field: repeated string inbound_numbers = 10;
628
+ */
629
+ inboundNumbers: string[];
630
+
631
+ /**
632
+ * Username and password used to authenticate inbound and outbound SIP invites
633
+ * May be empty to have no Authentication
634
+ *
635
+ * @generated from field: string inbound_username = 6;
636
+ */
637
+ inboundUsername: string;
638
+
639
+ /**
640
+ * @generated from field: string inbound_password = 7;
641
+ */
642
+ inboundPassword: string;
643
+
644
+ /**
645
+ * @generated from field: string outbound_username = 8;
646
+ */
647
+ outboundUsername: string;
648
+
649
+ /**
650
+ * @generated from field: string outbound_password = 9;
651
+ */
652
+ outboundPassword: string;
653
+
654
+ /**
655
+ * Human-readable name for the Trunk.
656
+ *
657
+ * @generated from field: string name = 11;
658
+ */
659
+ name: string;
660
+
661
+ /**
662
+ * User-defined metadata for the Trunk.
663
+ *
664
+ * @generated from field: string metadata = 12;
665
+ */
666
+ metadata: string;
667
+
668
+ constructor(data?: PartialMessage<SIPTrunkInfo>);
669
+
670
+ static readonly runtime: typeof proto3;
671
+ static readonly typeName = "livekit.SIPTrunkInfo";
672
+ static readonly fields: FieldList;
673
+
674
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPTrunkInfo;
675
+
676
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPTrunkInfo;
677
+
678
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPTrunkInfo;
679
+
680
+ static equals(a: SIPTrunkInfo | PlainMessage<SIPTrunkInfo> | undefined, b: SIPTrunkInfo | PlainMessage<SIPTrunkInfo> | undefined): boolean;
681
+ }
682
+
683
+ /**
684
+ * @generated from enum livekit.SIPTrunkInfo.TrunkKind
685
+ */
686
+ export declare enum SIPTrunkInfo_TrunkKind {
687
+ /**
688
+ * @generated from enum value: TRUNK_LEGACY = 0;
689
+ */
690
+ TRUNK_LEGACY = 0,
691
+
692
+ /**
693
+ * @generated from enum value: TRUNK_INBOUND = 1;
694
+ */
695
+ TRUNK_INBOUND = 1,
696
+
697
+ /**
698
+ * @generated from enum value: TRUNK_OUTBOUND = 2;
699
+ */
700
+ TRUNK_OUTBOUND = 2,
701
+ }
702
+
703
+ /**
704
+ * @generated from message livekit.CreateSIPInboundTrunkRequest
705
+ */
706
+ export declare class CreateSIPInboundTrunkRequest extends Message<CreateSIPInboundTrunkRequest> {
707
+ /**
708
+ * Trunk ID is ignored
709
+ *
710
+ * @generated from field: livekit.SIPInboundTrunkInfo trunk = 1;
711
+ */
712
+ trunk?: SIPInboundTrunkInfo;
713
+
714
+ constructor(data?: PartialMessage<CreateSIPInboundTrunkRequest>);
715
+
716
+ static readonly runtime: typeof proto3;
717
+ static readonly typeName = "livekit.CreateSIPInboundTrunkRequest";
718
+ static readonly fields: FieldList;
719
+
720
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSIPInboundTrunkRequest;
721
+
722
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSIPInboundTrunkRequest;
723
+
724
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSIPInboundTrunkRequest;
725
+
726
+ static equals(a: CreateSIPInboundTrunkRequest | PlainMessage<CreateSIPInboundTrunkRequest> | undefined, b: CreateSIPInboundTrunkRequest | PlainMessage<CreateSIPInboundTrunkRequest> | undefined): boolean;
727
+ }
728
+
729
+ /**
730
+ * @generated from message livekit.UpdateSIPInboundTrunkRequest
731
+ */
732
+ export declare class UpdateSIPInboundTrunkRequest extends Message<UpdateSIPInboundTrunkRequest> {
733
+ /**
734
+ * @generated from field: string sip_trunk_id = 1;
735
+ */
736
+ sipTrunkId: string;
737
+
738
+ /**
739
+ * @generated from oneof livekit.UpdateSIPInboundTrunkRequest.action
740
+ */
741
+ action: {
742
+ /**
743
+ * @generated from field: livekit.SIPInboundTrunkInfo replace = 2;
744
+ */
745
+ value: SIPInboundTrunkInfo;
746
+ case: "replace";
747
+ } | {
748
+ /**
749
+ * @generated from field: livekit.SIPInboundTrunkUpdate update = 3;
750
+ */
751
+ value: SIPInboundTrunkUpdate;
752
+ case: "update";
753
+ } | { case: undefined; value?: undefined };
754
+
755
+ constructor(data?: PartialMessage<UpdateSIPInboundTrunkRequest>);
756
+
757
+ static readonly runtime: typeof proto3;
758
+ static readonly typeName = "livekit.UpdateSIPInboundTrunkRequest";
759
+ static readonly fields: FieldList;
760
+
761
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSIPInboundTrunkRequest;
762
+
763
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSIPInboundTrunkRequest;
764
+
765
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSIPInboundTrunkRequest;
766
+
767
+ static equals(a: UpdateSIPInboundTrunkRequest | PlainMessage<UpdateSIPInboundTrunkRequest> | undefined, b: UpdateSIPInboundTrunkRequest | PlainMessage<UpdateSIPInboundTrunkRequest> | undefined): boolean;
768
+ }
769
+
770
+ /**
771
+ * @generated from message livekit.SIPInboundTrunkInfo
772
+ */
773
+ export declare class SIPInboundTrunkInfo extends Message<SIPInboundTrunkInfo> {
774
+ /**
775
+ * @generated from field: string sip_trunk_id = 1;
776
+ */
777
+ sipTrunkId: string;
778
+
779
+ /**
780
+ * Human-readable name for the Trunk.
781
+ *
782
+ * @generated from field: string name = 2;
783
+ */
784
+ name: string;
785
+
786
+ /**
787
+ * User-defined metadata for the Trunk.
788
+ *
789
+ * @generated from field: string metadata = 3;
790
+ */
791
+ metadata: string;
792
+
793
+ /**
794
+ * Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers.
795
+ * Creating multiple Trunks with different phone numbers allows having different rules for a single provider.
796
+ *
797
+ * @generated from field: repeated string numbers = 4;
798
+ */
799
+ numbers: string[];
800
+
801
+ /**
802
+ * CIDR or IPs that traffic is accepted from.
803
+ * An empty list means all inbound traffic is accepted.
804
+ *
805
+ * @generated from field: repeated string allowed_addresses = 5;
806
+ */
807
+ allowedAddresses: string[];
808
+
809
+ /**
810
+ * Numbers that are allowed to make calls to this Trunk.
811
+ * An empty list means calls from any phone number is accepted.
812
+ *
813
+ * @generated from field: repeated string allowed_numbers = 6;
814
+ */
815
+ allowedNumbers: string[];
816
+
817
+ /**
818
+ * Username and password used to authenticate inbound SIP invites.
819
+ * May be empty to have no authentication.
820
+ *
821
+ * @generated from field: string auth_username = 7;
822
+ */
823
+ authUsername: string;
824
+
825
+ /**
826
+ * @generated from field: string auth_password = 8;
827
+ */
828
+ authPassword: string;
829
+
830
+ /**
831
+ * Include these SIP X-* headers in 200 OK responses.
832
+ *
833
+ * @generated from field: map<string, string> headers = 9;
834
+ */
835
+ headers: { [key: string]: string };
836
+
837
+ /**
838
+ * Map SIP X-* headers from INVITE to SIP participant attributes.
839
+ *
840
+ * @generated from field: map<string, string> headers_to_attributes = 10;
841
+ */
842
+ headersToAttributes: { [key: string]: string };
843
+
844
+ /**
845
+ * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests.
846
+ * Keys are the names of attributes and values are the names of X-* headers they will be mapped to.
847
+ *
848
+ * @generated from field: map<string, string> attributes_to_headers = 14;
849
+ */
850
+ attributesToHeaders: { [key: string]: string };
851
+
852
+ /**
853
+ * Map SIP headers from INVITE to sip.h.* participant attributes automatically.
854
+ *
855
+ * When the names of required headers is known, using headers_to_attributes is strongly recommended.
856
+ *
857
+ * When mapping INVITE headers to response headers with attributes_to_headers map,
858
+ * lowercase header names should be used, for example: sip.h.x-custom-header.
859
+ *
860
+ * @generated from field: livekit.SIPHeaderOptions include_headers = 15;
861
+ */
862
+ includeHeaders: SIPHeaderOptions;
863
+
864
+ /**
865
+ * Max time for the caller to wait for track subscription.
866
+ *
867
+ * @generated from field: google.protobuf.Duration ringing_timeout = 11;
868
+ */
869
+ ringingTimeout?: Duration;
870
+
871
+ /**
872
+ * Max call duration.
873
+ *
874
+ * @generated from field: google.protobuf.Duration max_call_duration = 12;
875
+ */
876
+ maxCallDuration?: Duration;
877
+
878
+ /**
879
+ * @generated from field: bool krisp_enabled = 13;
880
+ */
881
+ krispEnabled: boolean;
882
+
883
+ /**
884
+ * @generated from field: livekit.SIPMediaEncryption media_encryption = 16;
885
+ */
886
+ mediaEncryption: SIPMediaEncryption;
887
+
888
+ constructor(data?: PartialMessage<SIPInboundTrunkInfo>);
889
+
890
+ static readonly runtime: typeof proto3;
891
+ static readonly typeName = "livekit.SIPInboundTrunkInfo";
892
+ static readonly fields: FieldList;
893
+
894
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPInboundTrunkInfo;
895
+
896
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPInboundTrunkInfo;
897
+
898
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPInboundTrunkInfo;
899
+
900
+ static equals(a: SIPInboundTrunkInfo | PlainMessage<SIPInboundTrunkInfo> | undefined, b: SIPInboundTrunkInfo | PlainMessage<SIPInboundTrunkInfo> | undefined): boolean;
901
+ }
902
+
903
+ /**
904
+ * @generated from message livekit.SIPInboundTrunkUpdate
905
+ */
906
+ export declare class SIPInboundTrunkUpdate extends Message<SIPInboundTrunkUpdate> {
907
+ /**
908
+ * @generated from field: livekit.ListUpdate numbers = 1;
909
+ */
910
+ numbers?: ListUpdate;
911
+
912
+ /**
913
+ * @generated from field: livekit.ListUpdate allowed_addresses = 2;
914
+ */
915
+ allowedAddresses?: ListUpdate;
916
+
917
+ /**
918
+ * @generated from field: livekit.ListUpdate allowed_numbers = 3;
919
+ */
920
+ allowedNumbers?: ListUpdate;
921
+
922
+ /**
923
+ * @generated from field: optional string auth_username = 4;
924
+ */
925
+ authUsername?: string;
926
+
927
+ /**
928
+ * @generated from field: optional string auth_password = 5;
929
+ */
930
+ authPassword?: string;
931
+
932
+ /**
933
+ * @generated from field: optional string name = 6;
934
+ */
935
+ name?: string;
936
+
937
+ /**
938
+ * @generated from field: optional string metadata = 7;
939
+ */
940
+ metadata?: string;
941
+
942
+ /**
943
+ * @generated from field: optional livekit.SIPMediaEncryption media_encryption = 8;
944
+ */
945
+ mediaEncryption?: SIPMediaEncryption;
946
+
947
+ constructor(data?: PartialMessage<SIPInboundTrunkUpdate>);
948
+
949
+ static readonly runtime: typeof proto3;
950
+ static readonly typeName = "livekit.SIPInboundTrunkUpdate";
951
+ static readonly fields: FieldList;
952
+
953
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPInboundTrunkUpdate;
954
+
955
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPInboundTrunkUpdate;
956
+
957
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPInboundTrunkUpdate;
958
+
959
+ static equals(a: SIPInboundTrunkUpdate | PlainMessage<SIPInboundTrunkUpdate> | undefined, b: SIPInboundTrunkUpdate | PlainMessage<SIPInboundTrunkUpdate> | undefined): boolean;
960
+ }
961
+
962
+ /**
963
+ * @generated from message livekit.CreateSIPOutboundTrunkRequest
964
+ */
965
+ export declare class CreateSIPOutboundTrunkRequest extends Message<CreateSIPOutboundTrunkRequest> {
966
+ /**
967
+ * Trunk ID is ignored
968
+ *
969
+ * @generated from field: livekit.SIPOutboundTrunkInfo trunk = 1;
970
+ */
971
+ trunk?: SIPOutboundTrunkInfo;
972
+
973
+ constructor(data?: PartialMessage<CreateSIPOutboundTrunkRequest>);
974
+
975
+ static readonly runtime: typeof proto3;
976
+ static readonly typeName = "livekit.CreateSIPOutboundTrunkRequest";
977
+ static readonly fields: FieldList;
978
+
979
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSIPOutboundTrunkRequest;
980
+
981
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSIPOutboundTrunkRequest;
982
+
983
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSIPOutboundTrunkRequest;
984
+
985
+ static equals(a: CreateSIPOutboundTrunkRequest | PlainMessage<CreateSIPOutboundTrunkRequest> | undefined, b: CreateSIPOutboundTrunkRequest | PlainMessage<CreateSIPOutboundTrunkRequest> | undefined): boolean;
986
+ }
987
+
988
+ /**
989
+ * @generated from message livekit.UpdateSIPOutboundTrunkRequest
990
+ */
991
+ export declare class UpdateSIPOutboundTrunkRequest extends Message<UpdateSIPOutboundTrunkRequest> {
992
+ /**
993
+ * @generated from field: string sip_trunk_id = 1;
994
+ */
995
+ sipTrunkId: string;
996
+
997
+ /**
998
+ * @generated from oneof livekit.UpdateSIPOutboundTrunkRequest.action
999
+ */
1000
+ action: {
1001
+ /**
1002
+ * @generated from field: livekit.SIPOutboundTrunkInfo replace = 2;
1003
+ */
1004
+ value: SIPOutboundTrunkInfo;
1005
+ case: "replace";
1006
+ } | {
1007
+ /**
1008
+ * @generated from field: livekit.SIPOutboundTrunkUpdate update = 3;
1009
+ */
1010
+ value: SIPOutboundTrunkUpdate;
1011
+ case: "update";
1012
+ } | { case: undefined; value?: undefined };
1013
+
1014
+ constructor(data?: PartialMessage<UpdateSIPOutboundTrunkRequest>);
1015
+
1016
+ static readonly runtime: typeof proto3;
1017
+ static readonly typeName = "livekit.UpdateSIPOutboundTrunkRequest";
1018
+ static readonly fields: FieldList;
1019
+
1020
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSIPOutboundTrunkRequest;
1021
+
1022
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSIPOutboundTrunkRequest;
1023
+
1024
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSIPOutboundTrunkRequest;
1025
+
1026
+ static equals(a: UpdateSIPOutboundTrunkRequest | PlainMessage<UpdateSIPOutboundTrunkRequest> | undefined, b: UpdateSIPOutboundTrunkRequest | PlainMessage<UpdateSIPOutboundTrunkRequest> | undefined): boolean;
1027
+ }
1028
+
1029
+ /**
1030
+ * @generated from message livekit.SIPOutboundTrunkInfo
1031
+ */
1032
+ export declare class SIPOutboundTrunkInfo extends Message<SIPOutboundTrunkInfo> {
1033
+ /**
1034
+ * @generated from field: string sip_trunk_id = 1;
1035
+ */
1036
+ sipTrunkId: string;
1037
+
1038
+ /**
1039
+ * Human-readable name for the Trunk.
1040
+ *
1041
+ * @generated from field: string name = 2;
1042
+ */
1043
+ name: string;
1044
+
1045
+ /**
1046
+ * User-defined metadata for the Trunk.
1047
+ *
1048
+ * @generated from field: string metadata = 3;
1049
+ */
1050
+ metadata: string;
1051
+
1052
+ /**
1053
+ * Hostname or IP that SIP INVITE is sent too.
1054
+ * Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix.
1055
+ *
1056
+ * @generated from field: string address = 4;
1057
+ */
1058
+ address: string;
1059
+
1060
+ /**
1061
+ * 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.
1062
+ *
1063
+ * @generated from field: string destination_country = 14;
1064
+ */
1065
+ destinationCountry: string;
1066
+
1067
+ /**
1068
+ * SIP Transport used for outbound call.
1069
+ *
1070
+ * @generated from field: livekit.SIPTransport transport = 5;
1071
+ */
1072
+ transport: SIPTransport;
1073
+
1074
+ /**
1075
+ * Numbers used to make the calls. Random one from this list will be selected.
1076
+ *
1077
+ * @generated from field: repeated string numbers = 6;
1078
+ */
1079
+ numbers: string[];
1080
+
1081
+ /**
1082
+ * Username and password used to authenticate with SIP server.
1083
+ * May be empty to have no authentication.
1084
+ *
1085
+ * @generated from field: string auth_username = 7;
1086
+ */
1087
+ authUsername: string;
1088
+
1089
+ /**
1090
+ * @generated from field: string auth_password = 8;
1091
+ */
1092
+ authPassword: string;
1093
+
1094
+ /**
1095
+ * Include these SIP X-* headers in INVITE request.
1096
+ * These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.
1097
+ *
1098
+ * @generated from field: map<string, string> headers = 9;
1099
+ */
1100
+ headers: { [key: string]: string };
1101
+
1102
+ /**
1103
+ * Map SIP X-* headers from 200 OK to SIP participant attributes.
1104
+ * Keys are the names of X-* headers and values are the names of attributes they will be mapped to.
1105
+ *
1106
+ * @generated from field: map<string, string> headers_to_attributes = 10;
1107
+ */
1108
+ headersToAttributes: { [key: string]: string };
1109
+
1110
+ /**
1111
+ * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests.
1112
+ * Keys are the names of attributes and values are the names of X-* headers they will be mapped to.
1113
+ *
1114
+ * @generated from field: map<string, string> attributes_to_headers = 11;
1115
+ */
1116
+ attributesToHeaders: { [key: string]: string };
1117
+
1118
+ /**
1119
+ * Map SIP headers from 200 OK to sip.h.* participant attributes automatically.
1120
+ *
1121
+ * When the names of required headers is known, using headers_to_attributes is strongly recommended.
1122
+ *
1123
+ * When mapping 200 OK headers to follow-up request headers with attributes_to_headers map,
1124
+ * lowercase header names should be used, for example: sip.h.x-custom-header.
1125
+ *
1126
+ * @generated from field: livekit.SIPHeaderOptions include_headers = 12;
1127
+ */
1128
+ includeHeaders: SIPHeaderOptions;
1129
+
1130
+ /**
1131
+ * @generated from field: livekit.SIPMediaEncryption media_encryption = 13;
1132
+ */
1133
+ mediaEncryption: SIPMediaEncryption;
1134
+
1135
+ constructor(data?: PartialMessage<SIPOutboundTrunkInfo>);
1136
+
1137
+ static readonly runtime: typeof proto3;
1138
+ static readonly typeName = "livekit.SIPOutboundTrunkInfo";
1139
+ static readonly fields: FieldList;
1140
+
1141
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPOutboundTrunkInfo;
1142
+
1143
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPOutboundTrunkInfo;
1144
+
1145
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPOutboundTrunkInfo;
1146
+
1147
+ static equals(a: SIPOutboundTrunkInfo | PlainMessage<SIPOutboundTrunkInfo> | undefined, b: SIPOutboundTrunkInfo | PlainMessage<SIPOutboundTrunkInfo> | undefined): boolean;
1148
+ }
1149
+
1150
+ /**
1151
+ * @generated from message livekit.SIPOutboundTrunkUpdate
1152
+ */
1153
+ export declare class SIPOutboundTrunkUpdate extends Message<SIPOutboundTrunkUpdate> {
1154
+ /**
1155
+ * @generated from field: optional string address = 1;
1156
+ */
1157
+ address?: string;
1158
+
1159
+ /**
1160
+ * @generated from field: optional livekit.SIPTransport transport = 2;
1161
+ */
1162
+ transport?: SIPTransport;
1163
+
1164
+ /**
1165
+ * @generated from field: optional string destination_country = 9;
1166
+ */
1167
+ destinationCountry?: string;
1168
+
1169
+ /**
1170
+ * @generated from field: livekit.ListUpdate numbers = 3;
1171
+ */
1172
+ numbers?: ListUpdate;
1173
+
1174
+ /**
1175
+ * @generated from field: optional string auth_username = 4;
1176
+ */
1177
+ authUsername?: string;
1178
+
1179
+ /**
1180
+ * @generated from field: optional string auth_password = 5;
1181
+ */
1182
+ authPassword?: string;
1183
+
1184
+ /**
1185
+ * @generated from field: optional string name = 6;
1186
+ */
1187
+ name?: string;
1188
+
1189
+ /**
1190
+ * @generated from field: optional string metadata = 7;
1191
+ */
1192
+ metadata?: string;
1193
+
1194
+ /**
1195
+ * @generated from field: optional livekit.SIPMediaEncryption media_encryption = 8;
1196
+ */
1197
+ mediaEncryption?: SIPMediaEncryption;
1198
+
1199
+ constructor(data?: PartialMessage<SIPOutboundTrunkUpdate>);
1200
+
1201
+ static readonly runtime: typeof proto3;
1202
+ static readonly typeName = "livekit.SIPOutboundTrunkUpdate";
1203
+ static readonly fields: FieldList;
1204
+
1205
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPOutboundTrunkUpdate;
1206
+
1207
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPOutboundTrunkUpdate;
1208
+
1209
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPOutboundTrunkUpdate;
1210
+
1211
+ static equals(a: SIPOutboundTrunkUpdate | PlainMessage<SIPOutboundTrunkUpdate> | undefined, b: SIPOutboundTrunkUpdate | PlainMessage<SIPOutboundTrunkUpdate> | undefined): boolean;
1212
+ }
1213
+
1214
+ /**
1215
+ * @generated from message livekit.GetSIPInboundTrunkRequest
1216
+ */
1217
+ export declare class GetSIPInboundTrunkRequest extends Message<GetSIPInboundTrunkRequest> {
1218
+ /**
1219
+ * @generated from field: string sip_trunk_id = 1;
1220
+ */
1221
+ sipTrunkId: string;
1222
+
1223
+ constructor(data?: PartialMessage<GetSIPInboundTrunkRequest>);
1224
+
1225
+ static readonly runtime: typeof proto3;
1226
+ static readonly typeName = "livekit.GetSIPInboundTrunkRequest";
1227
+ static readonly fields: FieldList;
1228
+
1229
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSIPInboundTrunkRequest;
1230
+
1231
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSIPInboundTrunkRequest;
1232
+
1233
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSIPInboundTrunkRequest;
1234
+
1235
+ static equals(a: GetSIPInboundTrunkRequest | PlainMessage<GetSIPInboundTrunkRequest> | undefined, b: GetSIPInboundTrunkRequest | PlainMessage<GetSIPInboundTrunkRequest> | undefined): boolean;
1236
+ }
1237
+
1238
+ /**
1239
+ * @generated from message livekit.GetSIPInboundTrunkResponse
1240
+ */
1241
+ export declare class GetSIPInboundTrunkResponse extends Message<GetSIPInboundTrunkResponse> {
1242
+ /**
1243
+ * @generated from field: livekit.SIPInboundTrunkInfo trunk = 1;
1244
+ */
1245
+ trunk?: SIPInboundTrunkInfo;
1246
+
1247
+ constructor(data?: PartialMessage<GetSIPInboundTrunkResponse>);
1248
+
1249
+ static readonly runtime: typeof proto3;
1250
+ static readonly typeName = "livekit.GetSIPInboundTrunkResponse";
1251
+ static readonly fields: FieldList;
1252
+
1253
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSIPInboundTrunkResponse;
1254
+
1255
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSIPInboundTrunkResponse;
1256
+
1257
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSIPInboundTrunkResponse;
1258
+
1259
+ static equals(a: GetSIPInboundTrunkResponse | PlainMessage<GetSIPInboundTrunkResponse> | undefined, b: GetSIPInboundTrunkResponse | PlainMessage<GetSIPInboundTrunkResponse> | undefined): boolean;
1260
+ }
1261
+
1262
+ /**
1263
+ * @generated from message livekit.GetSIPOutboundTrunkRequest
1264
+ */
1265
+ export declare class GetSIPOutboundTrunkRequest extends Message<GetSIPOutboundTrunkRequest> {
1266
+ /**
1267
+ * @generated from field: string sip_trunk_id = 1;
1268
+ */
1269
+ sipTrunkId: string;
1270
+
1271
+ constructor(data?: PartialMessage<GetSIPOutboundTrunkRequest>);
1272
+
1273
+ static readonly runtime: typeof proto3;
1274
+ static readonly typeName = "livekit.GetSIPOutboundTrunkRequest";
1275
+ static readonly fields: FieldList;
1276
+
1277
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSIPOutboundTrunkRequest;
1278
+
1279
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSIPOutboundTrunkRequest;
1280
+
1281
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSIPOutboundTrunkRequest;
1282
+
1283
+ static equals(a: GetSIPOutboundTrunkRequest | PlainMessage<GetSIPOutboundTrunkRequest> | undefined, b: GetSIPOutboundTrunkRequest | PlainMessage<GetSIPOutboundTrunkRequest> | undefined): boolean;
1284
+ }
1285
+
1286
+ /**
1287
+ * @generated from message livekit.GetSIPOutboundTrunkResponse
1288
+ */
1289
+ export declare class GetSIPOutboundTrunkResponse extends Message<GetSIPOutboundTrunkResponse> {
1290
+ /**
1291
+ * @generated from field: livekit.SIPOutboundTrunkInfo trunk = 1;
1292
+ */
1293
+ trunk?: SIPOutboundTrunkInfo;
1294
+
1295
+ constructor(data?: PartialMessage<GetSIPOutboundTrunkResponse>);
1296
+
1297
+ static readonly runtime: typeof proto3;
1298
+ static readonly typeName = "livekit.GetSIPOutboundTrunkResponse";
1299
+ static readonly fields: FieldList;
1300
+
1301
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSIPOutboundTrunkResponse;
1302
+
1303
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSIPOutboundTrunkResponse;
1304
+
1305
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSIPOutboundTrunkResponse;
1306
+
1307
+ static equals(a: GetSIPOutboundTrunkResponse | PlainMessage<GetSIPOutboundTrunkResponse> | undefined, b: GetSIPOutboundTrunkResponse | PlainMessage<GetSIPOutboundTrunkResponse> | undefined): boolean;
1308
+ }
1309
+
1310
+ /**
1311
+ * @generated from message livekit.ListSIPTrunkRequest
1312
+ * @deprecated
1313
+ */
1314
+ export declare class ListSIPTrunkRequest extends Message<ListSIPTrunkRequest> {
1315
+ /**
1316
+ * @generated from field: livekit.Pagination page = 1;
1317
+ */
1318
+ page?: Pagination;
1319
+
1320
+ constructor(data?: PartialMessage<ListSIPTrunkRequest>);
1321
+
1322
+ static readonly runtime: typeof proto3;
1323
+ static readonly typeName = "livekit.ListSIPTrunkRequest";
1324
+ static readonly fields: FieldList;
1325
+
1326
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSIPTrunkRequest;
1327
+
1328
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSIPTrunkRequest;
1329
+
1330
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSIPTrunkRequest;
1331
+
1332
+ static equals(a: ListSIPTrunkRequest | PlainMessage<ListSIPTrunkRequest> | undefined, b: ListSIPTrunkRequest | PlainMessage<ListSIPTrunkRequest> | undefined): boolean;
1333
+ }
1334
+
1335
+ /**
1336
+ * @generated from message livekit.ListSIPTrunkResponse
1337
+ * @deprecated
1338
+ */
1339
+ export declare class ListSIPTrunkResponse extends Message<ListSIPTrunkResponse> {
1340
+ /**
1341
+ * @generated from field: repeated livekit.SIPTrunkInfo items = 1;
1342
+ */
1343
+ items: SIPTrunkInfo[];
1344
+
1345
+ constructor(data?: PartialMessage<ListSIPTrunkResponse>);
1346
+
1347
+ static readonly runtime: typeof proto3;
1348
+ static readonly typeName = "livekit.ListSIPTrunkResponse";
1349
+ static readonly fields: FieldList;
1350
+
1351
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSIPTrunkResponse;
1352
+
1353
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSIPTrunkResponse;
1354
+
1355
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSIPTrunkResponse;
1356
+
1357
+ static equals(a: ListSIPTrunkResponse | PlainMessage<ListSIPTrunkResponse> | undefined, b: ListSIPTrunkResponse | PlainMessage<ListSIPTrunkResponse> | undefined): boolean;
1358
+ }
1359
+
1360
+ /**
1361
+ * ListSIPInboundTrunkRequest lists inbound trunks for given filters. If no filters are set, all trunks are listed.
1362
+ *
1363
+ * @generated from message livekit.ListSIPInboundTrunkRequest
1364
+ */
1365
+ export declare class ListSIPInboundTrunkRequest extends Message<ListSIPInboundTrunkRequest> {
1366
+ /**
1367
+ * @generated from field: livekit.Pagination page = 3;
1368
+ */
1369
+ page?: Pagination;
1370
+
1371
+ /**
1372
+ * Trunk IDs to list. If this option is set, the response will contains trunks in the same order.
1373
+ * If any of the trunks is missing, a nil item in that position will be sent in the response.
1374
+ *
1375
+ * @generated from field: repeated string trunk_ids = 1;
1376
+ */
1377
+ trunkIds: string[];
1378
+
1379
+ /**
1380
+ * Only list trunks that contain one of the numbers, including wildcard trunks.
1381
+ *
1382
+ * @generated from field: repeated string numbers = 2;
1383
+ */
1384
+ numbers: string[];
1385
+
1386
+ constructor(data?: PartialMessage<ListSIPInboundTrunkRequest>);
1387
+
1388
+ static readonly runtime: typeof proto3;
1389
+ static readonly typeName = "livekit.ListSIPInboundTrunkRequest";
1390
+ static readonly fields: FieldList;
1391
+
1392
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSIPInboundTrunkRequest;
1393
+
1394
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSIPInboundTrunkRequest;
1395
+
1396
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSIPInboundTrunkRequest;
1397
+
1398
+ static equals(a: ListSIPInboundTrunkRequest | PlainMessage<ListSIPInboundTrunkRequest> | undefined, b: ListSIPInboundTrunkRequest | PlainMessage<ListSIPInboundTrunkRequest> | undefined): boolean;
1399
+ }
1400
+
1401
+ /**
1402
+ * @generated from message livekit.ListSIPInboundTrunkResponse
1403
+ */
1404
+ export declare class ListSIPInboundTrunkResponse extends Message<ListSIPInboundTrunkResponse> {
1405
+ /**
1406
+ * @generated from field: repeated livekit.SIPInboundTrunkInfo items = 1;
1407
+ */
1408
+ items: SIPInboundTrunkInfo[];
1409
+
1410
+ constructor(data?: PartialMessage<ListSIPInboundTrunkResponse>);
1411
+
1412
+ static readonly runtime: typeof proto3;
1413
+ static readonly typeName = "livekit.ListSIPInboundTrunkResponse";
1414
+ static readonly fields: FieldList;
1415
+
1416
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSIPInboundTrunkResponse;
1417
+
1418
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSIPInboundTrunkResponse;
1419
+
1420
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSIPInboundTrunkResponse;
1421
+
1422
+ static equals(a: ListSIPInboundTrunkResponse | PlainMessage<ListSIPInboundTrunkResponse> | undefined, b: ListSIPInboundTrunkResponse | PlainMessage<ListSIPInboundTrunkResponse> | undefined): boolean;
1423
+ }
1424
+
1425
+ /**
1426
+ * ListSIPOutboundTrunkRequest lists outbound trunks for given filters. If no filters are set, all trunks are listed.
1427
+ *
1428
+ * @generated from message livekit.ListSIPOutboundTrunkRequest
1429
+ */
1430
+ export declare class ListSIPOutboundTrunkRequest extends Message<ListSIPOutboundTrunkRequest> {
1431
+ /**
1432
+ * @generated from field: livekit.Pagination page = 3;
1433
+ */
1434
+ page?: Pagination;
1435
+
1436
+ /**
1437
+ * Trunk IDs to list. If this option is set, the response will contains trunks in the same order.
1438
+ * If any of the trunks is missing, a nil item in that position will be sent in the response.
1439
+ *
1440
+ * @generated from field: repeated string trunk_ids = 1;
1441
+ */
1442
+ trunkIds: string[];
1443
+
1444
+ /**
1445
+ * Only list trunks that contain one of the numbers, including wildcard trunks.
1446
+ *
1447
+ * @generated from field: repeated string numbers = 2;
1448
+ */
1449
+ numbers: string[];
1450
+
1451
+ constructor(data?: PartialMessage<ListSIPOutboundTrunkRequest>);
1452
+
1453
+ static readonly runtime: typeof proto3;
1454
+ static readonly typeName = "livekit.ListSIPOutboundTrunkRequest";
1455
+ static readonly fields: FieldList;
1456
+
1457
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSIPOutboundTrunkRequest;
1458
+
1459
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSIPOutboundTrunkRequest;
1460
+
1461
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSIPOutboundTrunkRequest;
1462
+
1463
+ static equals(a: ListSIPOutboundTrunkRequest | PlainMessage<ListSIPOutboundTrunkRequest> | undefined, b: ListSIPOutboundTrunkRequest | PlainMessage<ListSIPOutboundTrunkRequest> | undefined): boolean;
1464
+ }
1465
+
1466
+ /**
1467
+ * @generated from message livekit.ListSIPOutboundTrunkResponse
1468
+ */
1469
+ export declare class ListSIPOutboundTrunkResponse extends Message<ListSIPOutboundTrunkResponse> {
1470
+ /**
1471
+ * @generated from field: repeated livekit.SIPOutboundTrunkInfo items = 1;
1472
+ */
1473
+ items: SIPOutboundTrunkInfo[];
1474
+
1475
+ constructor(data?: PartialMessage<ListSIPOutboundTrunkResponse>);
1476
+
1477
+ static readonly runtime: typeof proto3;
1478
+ static readonly typeName = "livekit.ListSIPOutboundTrunkResponse";
1479
+ static readonly fields: FieldList;
1480
+
1481
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSIPOutboundTrunkResponse;
1482
+
1483
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSIPOutboundTrunkResponse;
1484
+
1485
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSIPOutboundTrunkResponse;
1486
+
1487
+ static equals(a: ListSIPOutboundTrunkResponse | PlainMessage<ListSIPOutboundTrunkResponse> | undefined, b: ListSIPOutboundTrunkResponse | PlainMessage<ListSIPOutboundTrunkResponse> | undefined): boolean;
1488
+ }
1489
+
1490
+ /**
1491
+ * @generated from message livekit.DeleteSIPTrunkRequest
1492
+ */
1493
+ export declare class DeleteSIPTrunkRequest extends Message<DeleteSIPTrunkRequest> {
1494
+ /**
1495
+ * @generated from field: string sip_trunk_id = 1;
1496
+ */
1497
+ sipTrunkId: string;
1498
+
1499
+ constructor(data?: PartialMessage<DeleteSIPTrunkRequest>);
1500
+
1501
+ static readonly runtime: typeof proto3;
1502
+ static readonly typeName = "livekit.DeleteSIPTrunkRequest";
1503
+ static readonly fields: FieldList;
1504
+
1505
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteSIPTrunkRequest;
1506
+
1507
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteSIPTrunkRequest;
1508
+
1509
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteSIPTrunkRequest;
1510
+
1511
+ static equals(a: DeleteSIPTrunkRequest | PlainMessage<DeleteSIPTrunkRequest> | undefined, b: DeleteSIPTrunkRequest | PlainMessage<DeleteSIPTrunkRequest> | undefined): boolean;
1512
+ }
1513
+
1514
+ /**
1515
+ * @generated from message livekit.SIPDispatchRuleDirect
1516
+ */
1517
+ export declare class SIPDispatchRuleDirect extends Message<SIPDispatchRuleDirect> {
1518
+ /**
1519
+ * What room should call be directed into
1520
+ *
1521
+ * @generated from field: string room_name = 1;
1522
+ */
1523
+ roomName: string;
1524
+
1525
+ /**
1526
+ * Optional pin required to enter room
1527
+ *
1528
+ * @generated from field: string pin = 2;
1529
+ */
1530
+ pin: string;
1531
+
1532
+ constructor(data?: PartialMessage<SIPDispatchRuleDirect>);
1533
+
1534
+ static readonly runtime: typeof proto3;
1535
+ static readonly typeName = "livekit.SIPDispatchRuleDirect";
1536
+ static readonly fields: FieldList;
1537
+
1538
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPDispatchRuleDirect;
1539
+
1540
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPDispatchRuleDirect;
1541
+
1542
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPDispatchRuleDirect;
1543
+
1544
+ static equals(a: SIPDispatchRuleDirect | PlainMessage<SIPDispatchRuleDirect> | undefined, b: SIPDispatchRuleDirect | PlainMessage<SIPDispatchRuleDirect> | undefined): boolean;
1545
+ }
1546
+
1547
+ /**
1548
+ * @generated from message livekit.SIPDispatchRuleIndividual
1549
+ */
1550
+ export declare class SIPDispatchRuleIndividual extends Message<SIPDispatchRuleIndividual> {
1551
+ /**
1552
+ * Prefix used on new room name
1553
+ *
1554
+ * @generated from field: string room_prefix = 1;
1555
+ */
1556
+ roomPrefix: string;
1557
+
1558
+ /**
1559
+ * Optional pin required to enter room
1560
+ *
1561
+ * @generated from field: string pin = 2;
1562
+ */
1563
+ pin: string;
1564
+
1565
+ constructor(data?: PartialMessage<SIPDispatchRuleIndividual>);
1566
+
1567
+ static readonly runtime: typeof proto3;
1568
+ static readonly typeName = "livekit.SIPDispatchRuleIndividual";
1569
+ static readonly fields: FieldList;
1570
+
1571
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPDispatchRuleIndividual;
1572
+
1573
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPDispatchRuleIndividual;
1574
+
1575
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPDispatchRuleIndividual;
1576
+
1577
+ static equals(a: SIPDispatchRuleIndividual | PlainMessage<SIPDispatchRuleIndividual> | undefined, b: SIPDispatchRuleIndividual | PlainMessage<SIPDispatchRuleIndividual> | undefined): boolean;
1578
+ }
1579
+
1580
+ /**
1581
+ * @generated from message livekit.SIPDispatchRuleCallee
1582
+ */
1583
+ export declare class SIPDispatchRuleCallee extends Message<SIPDispatchRuleCallee> {
1584
+ /**
1585
+ * Prefix used on new room name
1586
+ *
1587
+ * @generated from field: string room_prefix = 1;
1588
+ */
1589
+ roomPrefix: string;
1590
+
1591
+ /**
1592
+ * Optional pin required to enter room
1593
+ *
1594
+ * @generated from field: string pin = 2;
1595
+ */
1596
+ pin: string;
1597
+
1598
+ /**
1599
+ * Optionally append random suffix
1600
+ *
1601
+ * @generated from field: bool randomize = 3;
1602
+ */
1603
+ randomize: boolean;
1604
+
1605
+ constructor(data?: PartialMessage<SIPDispatchRuleCallee>);
1606
+
1607
+ static readonly runtime: typeof proto3;
1608
+ static readonly typeName = "livekit.SIPDispatchRuleCallee";
1609
+ static readonly fields: FieldList;
1610
+
1611
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPDispatchRuleCallee;
1612
+
1613
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPDispatchRuleCallee;
1614
+
1615
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPDispatchRuleCallee;
1616
+
1617
+ static equals(a: SIPDispatchRuleCallee | PlainMessage<SIPDispatchRuleCallee> | undefined, b: SIPDispatchRuleCallee | PlainMessage<SIPDispatchRuleCallee> | undefined): boolean;
1618
+ }
1619
+
1620
+ /**
1621
+ * @generated from message livekit.SIPDispatchRule
1622
+ */
1623
+ export declare class SIPDispatchRule extends Message<SIPDispatchRule> {
1624
+ /**
1625
+ * @generated from oneof livekit.SIPDispatchRule.rule
1626
+ */
1627
+ rule: {
1628
+ /**
1629
+ * SIPDispatchRuleDirect is a `SIP Dispatch Rule` that puts a user directly into a room
1630
+ * This places users into an existing room. Optionally you can require a pin before a user can
1631
+ * enter the room
1632
+ *
1633
+ * @generated from field: livekit.SIPDispatchRuleDirect dispatch_rule_direct = 1;
1634
+ */
1635
+ value: SIPDispatchRuleDirect;
1636
+ case: "dispatchRuleDirect";
1637
+ } | {
1638
+ /**
1639
+ * SIPDispatchRuleIndividual is a `SIP Dispatch Rule` that creates a new room for each caller.
1640
+ *
1641
+ * @generated from field: livekit.SIPDispatchRuleIndividual dispatch_rule_individual = 2;
1642
+ */
1643
+ value: SIPDispatchRuleIndividual;
1644
+ case: "dispatchRuleIndividual";
1645
+ } | {
1646
+ /**
1647
+ * SIPDispatchRuleCallee is a `SIP Dispatch Rule` that creates a new room for each callee.
1648
+ *
1649
+ * @generated from field: livekit.SIPDispatchRuleCallee dispatch_rule_callee = 3;
1650
+ */
1651
+ value: SIPDispatchRuleCallee;
1652
+ case: "dispatchRuleCallee";
1653
+ } | { case: undefined; value?: undefined };
1654
+
1655
+ constructor(data?: PartialMessage<SIPDispatchRule>);
1656
+
1657
+ static readonly runtime: typeof proto3;
1658
+ static readonly typeName = "livekit.SIPDispatchRule";
1659
+ static readonly fields: FieldList;
1660
+
1661
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPDispatchRule;
1662
+
1663
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPDispatchRule;
1664
+
1665
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPDispatchRule;
1666
+
1667
+ static equals(a: SIPDispatchRule | PlainMessage<SIPDispatchRule> | undefined, b: SIPDispatchRule | PlainMessage<SIPDispatchRule> | undefined): boolean;
1668
+ }
1669
+
1670
+ /**
1671
+ * @generated from message livekit.CreateSIPDispatchRuleRequest
1672
+ */
1673
+ export declare class CreateSIPDispatchRuleRequest extends Message<CreateSIPDispatchRuleRequest> {
1674
+ /**
1675
+ * Rule ID is ignored
1676
+ *
1677
+ * @generated from field: livekit.SIPDispatchRuleInfo dispatch_rule = 10;
1678
+ */
1679
+ dispatchRule?: SIPDispatchRuleInfo;
1680
+
1681
+ /**
1682
+ * @generated from field: livekit.SIPDispatchRule rule = 1 [deprecated = true];
1683
+ * @deprecated
1684
+ */
1685
+ rule?: SIPDispatchRule;
1686
+
1687
+ /**
1688
+ * What trunks are accepted for this dispatch rule
1689
+ * If empty all trunks will match this dispatch rule
1690
+ *
1691
+ * @generated from field: repeated string trunk_ids = 2 [deprecated = true];
1692
+ * @deprecated
1693
+ */
1694
+ trunkIds: string[];
1695
+
1696
+ /**
1697
+ * By default the From value (Phone number) is used for participant name/identity and added to attributes.
1698
+ * If true, a random value for identity will be used and numbers will be omitted from attributes.
1699
+ *
1700
+ * @generated from field: bool hide_phone_number = 3 [deprecated = true];
1701
+ * @deprecated
1702
+ */
1703
+ hidePhoneNumber: boolean;
1704
+
1705
+ /**
1706
+ * Dispatch Rule will only accept a call made to these numbers (if set).
1707
+ *
1708
+ * @generated from field: repeated string inbound_numbers = 6 [deprecated = true];
1709
+ * @deprecated
1710
+ */
1711
+ inboundNumbers: string[];
1712
+
1713
+ /**
1714
+ * Optional human-readable name for the Dispatch Rule.
1715
+ *
1716
+ * @generated from field: string name = 4 [deprecated = true];
1717
+ * @deprecated
1718
+ */
1719
+ name: string;
1720
+
1721
+ /**
1722
+ * User-defined metadata for the Dispatch Rule.
1723
+ * Participants created by this rule will inherit this metadata.
1724
+ *
1725
+ * @generated from field: string metadata = 5 [deprecated = true];
1726
+ * @deprecated
1727
+ */
1728
+ metadata: string;
1729
+
1730
+ /**
1731
+ * User-defined attributes for the Dispatch Rule.
1732
+ * Participants created by this rule will inherit these attributes.
1733
+ *
1734
+ * @generated from field: map<string, string> attributes = 7 [deprecated = true];
1735
+ * @deprecated
1736
+ */
1737
+ attributes: { [key: string]: string };
1738
+
1739
+ /**
1740
+ * Cloud-only, config preset to use
1741
+ *
1742
+ * @generated from field: string room_preset = 8 [deprecated = true];
1743
+ * @deprecated
1744
+ */
1745
+ roomPreset: string;
1746
+
1747
+ /**
1748
+ * RoomConfiguration to use if the participant initiates the room
1749
+ *
1750
+ * @generated from field: livekit.RoomConfiguration room_config = 9 [deprecated = true];
1751
+ * @deprecated
1752
+ */
1753
+ roomConfig?: RoomConfiguration;
1754
+
1755
+ constructor(data?: PartialMessage<CreateSIPDispatchRuleRequest>);
1756
+
1757
+ static readonly runtime: typeof proto3;
1758
+ static readonly typeName = "livekit.CreateSIPDispatchRuleRequest";
1759
+ static readonly fields: FieldList;
1760
+
1761
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSIPDispatchRuleRequest;
1762
+
1763
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSIPDispatchRuleRequest;
1764
+
1765
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSIPDispatchRuleRequest;
1766
+
1767
+ static equals(a: CreateSIPDispatchRuleRequest | PlainMessage<CreateSIPDispatchRuleRequest> | undefined, b: CreateSIPDispatchRuleRequest | PlainMessage<CreateSIPDispatchRuleRequest> | undefined): boolean;
1768
+ }
1769
+
1770
+ /**
1771
+ * @generated from message livekit.UpdateSIPDispatchRuleRequest
1772
+ */
1773
+ export declare class UpdateSIPDispatchRuleRequest extends Message<UpdateSIPDispatchRuleRequest> {
1774
+ /**
1775
+ * @generated from field: string sip_dispatch_rule_id = 1;
1776
+ */
1777
+ sipDispatchRuleId: string;
1778
+
1779
+ /**
1780
+ * @generated from oneof livekit.UpdateSIPDispatchRuleRequest.action
1781
+ */
1782
+ action: {
1783
+ /**
1784
+ * @generated from field: livekit.SIPDispatchRuleInfo replace = 2;
1785
+ */
1786
+ value: SIPDispatchRuleInfo;
1787
+ case: "replace";
1788
+ } | {
1789
+ /**
1790
+ * @generated from field: livekit.SIPDispatchRuleUpdate update = 3;
1791
+ */
1792
+ value: SIPDispatchRuleUpdate;
1793
+ case: "update";
1794
+ } | { case: undefined; value?: undefined };
1795
+
1796
+ constructor(data?: PartialMessage<UpdateSIPDispatchRuleRequest>);
1797
+
1798
+ static readonly runtime: typeof proto3;
1799
+ static readonly typeName = "livekit.UpdateSIPDispatchRuleRequest";
1800
+ static readonly fields: FieldList;
1801
+
1802
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSIPDispatchRuleRequest;
1803
+
1804
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSIPDispatchRuleRequest;
1805
+
1806
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSIPDispatchRuleRequest;
1807
+
1808
+ static equals(a: UpdateSIPDispatchRuleRequest | PlainMessage<UpdateSIPDispatchRuleRequest> | undefined, b: UpdateSIPDispatchRuleRequest | PlainMessage<UpdateSIPDispatchRuleRequest> | undefined): boolean;
1809
+ }
1810
+
1811
+ /**
1812
+ * @generated from message livekit.SIPDispatchRuleInfo
1813
+ */
1814
+ export declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
1815
+ /**
1816
+ * @generated from field: string sip_dispatch_rule_id = 1;
1817
+ */
1818
+ sipDispatchRuleId: string;
1819
+
1820
+ /**
1821
+ * @generated from field: livekit.SIPDispatchRule rule = 2;
1822
+ */
1823
+ rule?: SIPDispatchRule;
1824
+
1825
+ /**
1826
+ * @generated from field: repeated string trunk_ids = 3;
1827
+ */
1828
+ trunkIds: string[];
1829
+
1830
+ /**
1831
+ * @generated from field: bool hide_phone_number = 4;
1832
+ */
1833
+ hidePhoneNumber: boolean;
1834
+
1835
+ /**
1836
+ * Dispatch Rule will only accept a call made to these numbers (if set).
1837
+ *
1838
+ * @generated from field: repeated string inbound_numbers = 7;
1839
+ */
1840
+ inboundNumbers: string[];
1841
+
1842
+ /**
1843
+ * Human-readable name for the Dispatch Rule.
1844
+ *
1845
+ * @generated from field: string name = 5;
1846
+ */
1847
+ name: string;
1848
+
1849
+ /**
1850
+ * User-defined metadata for the Dispatch Rule.
1851
+ * Participants created by this rule will inherit this metadata.
1852
+ *
1853
+ * @generated from field: string metadata = 6;
1854
+ */
1855
+ metadata: string;
1856
+
1857
+ /**
1858
+ * User-defined attributes for the Dispatch Rule.
1859
+ * Participants created by this rule will inherit these attributes.
1860
+ *
1861
+ * @generated from field: map<string, string> attributes = 8;
1862
+ */
1863
+ attributes: { [key: string]: string };
1864
+
1865
+ /**
1866
+ * Cloud-only, config preset to use
1867
+ *
1868
+ * @generated from field: string room_preset = 9;
1869
+ */
1870
+ roomPreset: string;
1871
+
1872
+ /**
1873
+ * RoomConfiguration to use if the participant initiates the room
1874
+ *
1875
+ * @generated from field: livekit.RoomConfiguration room_config = 10;
1876
+ */
1877
+ roomConfig?: RoomConfiguration;
1878
+
1879
+ /**
1880
+ * @generated from field: bool krisp_enabled = 11;
1881
+ */
1882
+ krispEnabled: boolean;
1883
+
1884
+ /**
1885
+ * NEXT ID: 13
1886
+ *
1887
+ * @generated from field: livekit.SIPMediaEncryption media_encryption = 12;
1888
+ */
1889
+ mediaEncryption: SIPMediaEncryption;
1890
+
1891
+ constructor(data?: PartialMessage<SIPDispatchRuleInfo>);
1892
+
1893
+ static readonly runtime: typeof proto3;
1894
+ static readonly typeName = "livekit.SIPDispatchRuleInfo";
1895
+ static readonly fields: FieldList;
1896
+
1897
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPDispatchRuleInfo;
1898
+
1899
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPDispatchRuleInfo;
1900
+
1901
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPDispatchRuleInfo;
1902
+
1903
+ static equals(a: SIPDispatchRuleInfo | PlainMessage<SIPDispatchRuleInfo> | undefined, b: SIPDispatchRuleInfo | PlainMessage<SIPDispatchRuleInfo> | undefined): boolean;
1904
+ }
1905
+
1906
+ /**
1907
+ * @generated from message livekit.SIPDispatchRuleUpdate
1908
+ */
1909
+ export declare class SIPDispatchRuleUpdate extends Message<SIPDispatchRuleUpdate> {
1910
+ /**
1911
+ * @generated from field: livekit.ListUpdate trunk_ids = 1;
1912
+ */
1913
+ trunkIds?: ListUpdate;
1914
+
1915
+ /**
1916
+ * @generated from field: livekit.SIPDispatchRule rule = 2;
1917
+ */
1918
+ rule?: SIPDispatchRule;
1919
+
1920
+ /**
1921
+ * @generated from field: optional string name = 3;
1922
+ */
1923
+ name?: string;
1924
+
1925
+ /**
1926
+ * @generated from field: optional string metadata = 4;
1927
+ */
1928
+ metadata?: string;
1929
+
1930
+ /**
1931
+ * @generated from field: map<string, string> attributes = 5;
1932
+ */
1933
+ attributes: { [key: string]: string };
1934
+
1935
+ /**
1936
+ * @generated from field: optional livekit.SIPMediaEncryption media_encryption = 6;
1937
+ */
1938
+ mediaEncryption?: SIPMediaEncryption;
1939
+
1940
+ constructor(data?: PartialMessage<SIPDispatchRuleUpdate>);
1941
+
1942
+ static readonly runtime: typeof proto3;
1943
+ static readonly typeName = "livekit.SIPDispatchRuleUpdate";
1944
+ static readonly fields: FieldList;
1945
+
1946
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPDispatchRuleUpdate;
1947
+
1948
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPDispatchRuleUpdate;
1949
+
1950
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPDispatchRuleUpdate;
1951
+
1952
+ static equals(a: SIPDispatchRuleUpdate | PlainMessage<SIPDispatchRuleUpdate> | undefined, b: SIPDispatchRuleUpdate | PlainMessage<SIPDispatchRuleUpdate> | undefined): boolean;
1953
+ }
1954
+
1955
+ /**
1956
+ * ListSIPDispatchRuleRequest lists dispatch rules for given filters. If no filters are set, all rules are listed.
1957
+ *
1958
+ * @generated from message livekit.ListSIPDispatchRuleRequest
1959
+ */
1960
+ export declare class ListSIPDispatchRuleRequest extends Message<ListSIPDispatchRuleRequest> {
1961
+ /**
1962
+ * @generated from field: livekit.Pagination page = 3;
1963
+ */
1964
+ page?: Pagination;
1965
+
1966
+ /**
1967
+ * Rule IDs to list. If this option is set, the response will contains rules in the same order.
1968
+ * If any of the rules is missing, a nil item in that position will be sent in the response.
1969
+ *
1970
+ * @generated from field: repeated string dispatch_rule_ids = 1;
1971
+ */
1972
+ dispatchRuleIds: string[];
1973
+
1974
+ /**
1975
+ * Only list rules that contain one of the Trunk IDs, including wildcard rules.
1976
+ *
1977
+ * @generated from field: repeated string trunk_ids = 2;
1978
+ */
1979
+ trunkIds: string[];
1980
+
1981
+ constructor(data?: PartialMessage<ListSIPDispatchRuleRequest>);
1982
+
1983
+ static readonly runtime: typeof proto3;
1984
+ static readonly typeName = "livekit.ListSIPDispatchRuleRequest";
1985
+ static readonly fields: FieldList;
1986
+
1987
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSIPDispatchRuleRequest;
1988
+
1989
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSIPDispatchRuleRequest;
1990
+
1991
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSIPDispatchRuleRequest;
1992
+
1993
+ static equals(a: ListSIPDispatchRuleRequest | PlainMessage<ListSIPDispatchRuleRequest> | undefined, b: ListSIPDispatchRuleRequest | PlainMessage<ListSIPDispatchRuleRequest> | undefined): boolean;
1994
+ }
1995
+
1996
+ /**
1997
+ * @generated from message livekit.ListSIPDispatchRuleResponse
1998
+ */
1999
+ export declare class ListSIPDispatchRuleResponse extends Message<ListSIPDispatchRuleResponse> {
2000
+ /**
2001
+ * @generated from field: repeated livekit.SIPDispatchRuleInfo items = 1;
2002
+ */
2003
+ items: SIPDispatchRuleInfo[];
2004
+
2005
+ constructor(data?: PartialMessage<ListSIPDispatchRuleResponse>);
2006
+
2007
+ static readonly runtime: typeof proto3;
2008
+ static readonly typeName = "livekit.ListSIPDispatchRuleResponse";
2009
+ static readonly fields: FieldList;
2010
+
2011
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSIPDispatchRuleResponse;
2012
+
2013
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSIPDispatchRuleResponse;
2014
+
2015
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSIPDispatchRuleResponse;
2016
+
2017
+ static equals(a: ListSIPDispatchRuleResponse | PlainMessage<ListSIPDispatchRuleResponse> | undefined, b: ListSIPDispatchRuleResponse | PlainMessage<ListSIPDispatchRuleResponse> | undefined): boolean;
2018
+ }
2019
+
2020
+ /**
2021
+ * @generated from message livekit.DeleteSIPDispatchRuleRequest
2022
+ */
2023
+ export declare class DeleteSIPDispatchRuleRequest extends Message<DeleteSIPDispatchRuleRequest> {
2024
+ /**
2025
+ * @generated from field: string sip_dispatch_rule_id = 1;
2026
+ */
2027
+ sipDispatchRuleId: string;
2028
+
2029
+ constructor(data?: PartialMessage<DeleteSIPDispatchRuleRequest>);
2030
+
2031
+ static readonly runtime: typeof proto3;
2032
+ static readonly typeName = "livekit.DeleteSIPDispatchRuleRequest";
2033
+ static readonly fields: FieldList;
2034
+
2035
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteSIPDispatchRuleRequest;
2036
+
2037
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteSIPDispatchRuleRequest;
2038
+
2039
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteSIPDispatchRuleRequest;
2040
+
2041
+ static equals(a: DeleteSIPDispatchRuleRequest | PlainMessage<DeleteSIPDispatchRuleRequest> | undefined, b: DeleteSIPDispatchRuleRequest | PlainMessage<DeleteSIPDispatchRuleRequest> | undefined): boolean;
2042
+ }
2043
+
2044
+ /**
2045
+ * @generated from message livekit.SIPOutboundConfig
2046
+ */
2047
+ export declare class SIPOutboundConfig extends Message<SIPOutboundConfig> {
2048
+ /**
2049
+ * SIP server address
2050
+ *
2051
+ * @generated from field: string hostname = 1;
2052
+ */
2053
+ hostname: string;
2054
+
2055
+ /**
2056
+ * 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.
2057
+ *
2058
+ * @generated from field: string destination_country = 7;
2059
+ */
2060
+ destinationCountry: string;
2061
+
2062
+ /**
2063
+ * SIP Transport used for outbound call.
2064
+ *
2065
+ * @generated from field: livekit.SIPTransport transport = 2;
2066
+ */
2067
+ transport: SIPTransport;
2068
+
2069
+ /**
2070
+ * Username and password used to authenticate with SIP server.
2071
+ * May be empty to have no authentication.
2072
+ *
2073
+ * @generated from field: string auth_username = 3;
2074
+ */
2075
+ authUsername: string;
2076
+
2077
+ /**
2078
+ * @generated from field: string auth_password = 4;
2079
+ */
2080
+ authPassword: string;
2081
+
2082
+ /**
2083
+ * Map SIP X-* headers from 200 OK to SIP participant attributes.
2084
+ * Keys are the names of X-* headers and values are the names of attributes they will be mapped to.
2085
+ *
2086
+ * @generated from field: map<string, string> headers_to_attributes = 5;
2087
+ */
2088
+ headersToAttributes: { [key: string]: string };
2089
+
2090
+ /**
2091
+ * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests.
2092
+ * Keys are the names of attributes and values are the names of X-* headers they will be mapped to.
2093
+ *
2094
+ * @generated from field: map<string, string> attributes_to_headers = 6;
2095
+ */
2096
+ attributesToHeaders: { [key: string]: string };
2097
+
2098
+ constructor(data?: PartialMessage<SIPOutboundConfig>);
2099
+
2100
+ static readonly runtime: typeof proto3;
2101
+ static readonly typeName = "livekit.SIPOutboundConfig";
2102
+ static readonly fields: FieldList;
2103
+
2104
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPOutboundConfig;
2105
+
2106
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPOutboundConfig;
2107
+
2108
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPOutboundConfig;
2109
+
2110
+ static equals(a: SIPOutboundConfig | PlainMessage<SIPOutboundConfig> | undefined, b: SIPOutboundConfig | PlainMessage<SIPOutboundConfig> | undefined): boolean;
2111
+ }
2112
+
2113
+ /**
2114
+ * A SIP Participant is a singular SIP session connected to a LiveKit room via
2115
+ * a SIP Trunk into a SIP DispatchRule
2116
+ *
2117
+ * @generated from message livekit.CreateSIPParticipantRequest
2118
+ */
2119
+ export declare class CreateSIPParticipantRequest extends Message<CreateSIPParticipantRequest> {
2120
+ /**
2121
+ * What SIP Trunk should be used to dial the user
2122
+ *
2123
+ * @generated from field: string sip_trunk_id = 1;
2124
+ */
2125
+ sipTrunkId: string;
2126
+
2127
+ /**
2128
+ * @generated from field: livekit.SIPOutboundConfig trunk = 20;
2129
+ */
2130
+ trunk?: SIPOutboundConfig;
2131
+
2132
+ /**
2133
+ * What number should be dialed via SIP
2134
+ *
2135
+ * @generated from field: string sip_call_to = 2;
2136
+ */
2137
+ sipCallTo: string;
2138
+
2139
+ /**
2140
+ * Optional SIP From number to use. If empty, trunk number is used.
2141
+ *
2142
+ * @generated from field: string sip_number = 15;
2143
+ */
2144
+ sipNumber: string;
2145
+
2146
+ /**
2147
+ * What LiveKit room should this participant be connected too
2148
+ *
2149
+ * @generated from field: string room_name = 3;
2150
+ */
2151
+ roomName: string;
2152
+
2153
+ /**
2154
+ * Optional identity of the participant in LiveKit room
2155
+ *
2156
+ * @generated from field: string participant_identity = 4;
2157
+ */
2158
+ participantIdentity: string;
2159
+
2160
+ /**
2161
+ * Optional name of the participant in LiveKit room
2162
+ *
2163
+ * @generated from field: string participant_name = 7;
2164
+ */
2165
+ participantName: string;
2166
+
2167
+ /**
2168
+ * Optional user-defined metadata. Will be attached to a created Participant in the room.
2169
+ *
2170
+ * @generated from field: string participant_metadata = 8;
2171
+ */
2172
+ participantMetadata: string;
2173
+
2174
+ /**
2175
+ * Optional user-defined attributes. Will be attached to a created Participant in the room.
2176
+ *
2177
+ * @generated from field: map<string, string> participant_attributes = 9;
2178
+ */
2179
+ participantAttributes: { [key: string]: string };
2180
+
2181
+ /**
2182
+ * Optionally send following DTMF digits (extension codes) when making a call.
2183
+ * Character 'w' can be used to add a 0.5 sec delay.
2184
+ *
2185
+ * @generated from field: string dtmf = 5;
2186
+ */
2187
+ dtmf: string;
2188
+
2189
+ /**
2190
+ * Optionally play dialtone in the room as an audible indicator for existing participants. The `play_ringtone` option is deprectated but has the same effect.
2191
+ *
2192
+ * @generated from field: bool play_ringtone = 6 [deprecated = true];
2193
+ * @deprecated
2194
+ */
2195
+ playRingtone: boolean;
2196
+
2197
+ /**
2198
+ * @generated from field: bool play_dialtone = 13;
2199
+ */
2200
+ playDialtone: boolean;
2201
+
2202
+ /**
2203
+ * By default the From value (Phone number) is used for participant name/identity (if not set) and added to attributes.
2204
+ * If true, a random value for identity will be used and numbers will be omitted from attributes.
2205
+ *
2206
+ * @generated from field: bool hide_phone_number = 10;
2207
+ */
2208
+ hidePhoneNumber: boolean;
2209
+
2210
+ /**
2211
+ * These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.
2212
+ *
2213
+ * @generated from field: map<string, string> headers = 16;
2214
+ */
2215
+ headers: { [key: string]: string };
2216
+
2217
+ /**
2218
+ * Map SIP headers from 200 OK to sip.h.* participant attributes automatically.
2219
+ *
2220
+ * When the names of required headers is known, using headers_to_attributes is strongly recommended.
2221
+ *
2222
+ * When mapping 200 OK headers to follow-up request headers with attributes_to_headers map,
2223
+ * lowercase header names should be used, for example: sip.h.x-custom-header.
2224
+ *
2225
+ * @generated from field: livekit.SIPHeaderOptions include_headers = 17;
2226
+ */
2227
+ includeHeaders: SIPHeaderOptions;
2228
+
2229
+ /**
2230
+ * Max time for the callee to answer the call.
2231
+ *
2232
+ * @generated from field: google.protobuf.Duration ringing_timeout = 11;
2233
+ */
2234
+ ringingTimeout?: Duration;
2235
+
2236
+ /**
2237
+ * Max call duration.
2238
+ *
2239
+ * @generated from field: google.protobuf.Duration max_call_duration = 12;
2240
+ */
2241
+ maxCallDuration?: Duration;
2242
+
2243
+ /**
2244
+ * Enable voice isolation for the callee.
2245
+ *
2246
+ * @generated from field: bool krisp_enabled = 14;
2247
+ */
2248
+ krispEnabled: boolean;
2249
+
2250
+ /**
2251
+ * @generated from field: livekit.SIPMediaEncryption media_encryption = 18;
2252
+ */
2253
+ mediaEncryption: SIPMediaEncryption;
2254
+
2255
+ /**
2256
+ * Wait for the answer for the call before returning.
2257
+ *
2258
+ * NEXT ID: 21
2259
+ *
2260
+ * @generated from field: bool wait_until_answered = 19;
2261
+ */
2262
+ waitUntilAnswered: boolean;
2263
+
2264
+ constructor(data?: PartialMessage<CreateSIPParticipantRequest>);
2265
+
2266
+ static readonly runtime: typeof proto3;
2267
+ static readonly typeName = "livekit.CreateSIPParticipantRequest";
2268
+ static readonly fields: FieldList;
2269
+
2270
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSIPParticipantRequest;
2271
+
2272
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSIPParticipantRequest;
2273
+
2274
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSIPParticipantRequest;
2275
+
2276
+ static equals(a: CreateSIPParticipantRequest | PlainMessage<CreateSIPParticipantRequest> | undefined, b: CreateSIPParticipantRequest | PlainMessage<CreateSIPParticipantRequest> | undefined): boolean;
2277
+ }
2278
+
2279
+ /**
2280
+ * @generated from message livekit.SIPParticipantInfo
2281
+ */
2282
+ export declare class SIPParticipantInfo extends Message<SIPParticipantInfo> {
2283
+ /**
2284
+ * @generated from field: string participant_id = 1;
2285
+ */
2286
+ participantId: string;
2287
+
2288
+ /**
2289
+ * @generated from field: string participant_identity = 2;
2290
+ */
2291
+ participantIdentity: string;
2292
+
2293
+ /**
2294
+ * @generated from field: string room_name = 3;
2295
+ */
2296
+ roomName: string;
2297
+
2298
+ /**
2299
+ * @generated from field: string sip_call_id = 4;
2300
+ */
2301
+ sipCallId: string;
2302
+
2303
+ constructor(data?: PartialMessage<SIPParticipantInfo>);
2304
+
2305
+ static readonly runtime: typeof proto3;
2306
+ static readonly typeName = "livekit.SIPParticipantInfo";
2307
+ static readonly fields: FieldList;
2308
+
2309
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPParticipantInfo;
2310
+
2311
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPParticipantInfo;
2312
+
2313
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPParticipantInfo;
2314
+
2315
+ static equals(a: SIPParticipantInfo | PlainMessage<SIPParticipantInfo> | undefined, b: SIPParticipantInfo | PlainMessage<SIPParticipantInfo> | undefined): boolean;
2316
+ }
2317
+
2318
+ /**
2319
+ * @generated from message livekit.TransferSIPParticipantRequest
2320
+ */
2321
+ export declare class TransferSIPParticipantRequest extends Message<TransferSIPParticipantRequest> {
2322
+ /**
2323
+ * @generated from field: string participant_identity = 1;
2324
+ */
2325
+ participantIdentity: string;
2326
+
2327
+ /**
2328
+ * @generated from field: string room_name = 2;
2329
+ */
2330
+ roomName: string;
2331
+
2332
+ /**
2333
+ * @generated from field: string transfer_to = 3;
2334
+ */
2335
+ transferTo: string;
2336
+
2337
+ /**
2338
+ * Optionally play dialtone to the SIP participant as an audible indicator of being transferred
2339
+ *
2340
+ * @generated from field: bool play_dialtone = 4;
2341
+ */
2342
+ playDialtone: boolean;
2343
+
2344
+ /**
2345
+ * Add the following headers to the REFER SIP request.
2346
+ *
2347
+ * @generated from field: map<string, string> headers = 5;
2348
+ */
2349
+ headers: { [key: string]: string };
2350
+
2351
+ /**
2352
+ * Max time for the transfer destination to answer the call.
2353
+ *
2354
+ * @generated from field: google.protobuf.Duration ringing_timeout = 6;
2355
+ */
2356
+ ringingTimeout?: Duration;
2357
+
2358
+ constructor(data?: PartialMessage<TransferSIPParticipantRequest>);
2359
+
2360
+ static readonly runtime: typeof proto3;
2361
+ static readonly typeName = "livekit.TransferSIPParticipantRequest";
2362
+ static readonly fields: FieldList;
2363
+
2364
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TransferSIPParticipantRequest;
2365
+
2366
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TransferSIPParticipantRequest;
2367
+
2368
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TransferSIPParticipantRequest;
2369
+
2370
+ static equals(a: TransferSIPParticipantRequest | PlainMessage<TransferSIPParticipantRequest> | undefined, b: TransferSIPParticipantRequest | PlainMessage<TransferSIPParticipantRequest> | undefined): boolean;
2371
+ }
2372
+
2373
+ /**
2374
+ * @generated from message livekit.SIPCallInfo
2375
+ */
2376
+ export declare class SIPCallInfo extends Message<SIPCallInfo> {
2377
+ /**
2378
+ * @generated from field: string call_id = 1;
2379
+ */
2380
+ callId: string;
2381
+
2382
+ /**
2383
+ * @generated from field: string trunk_id = 2;
2384
+ */
2385
+ trunkId: string;
2386
+
2387
+ /**
2388
+ * @generated from field: string dispatch_rule_id = 16;
2389
+ */
2390
+ dispatchRuleId: string;
2391
+
2392
+ /**
2393
+ * @generated from field: string region = 17;
2394
+ */
2395
+ region: string;
2396
+
2397
+ /**
2398
+ * @generated from field: string room_name = 3;
2399
+ */
2400
+ roomName: string;
2401
+
2402
+ /**
2403
+ * ID of the current/previous room published to
2404
+ *
2405
+ * @generated from field: string room_id = 4;
2406
+ */
2407
+ roomId: string;
2408
+
2409
+ /**
2410
+ * @generated from field: string participant_identity = 5;
2411
+ */
2412
+ participantIdentity: string;
2413
+
2414
+ /**
2415
+ * @generated from field: map<string, string> participant_attributes = 18;
2416
+ */
2417
+ participantAttributes: { [key: string]: string };
2418
+
2419
+ /**
2420
+ * @generated from field: livekit.SIPUri from_uri = 6;
2421
+ */
2422
+ fromUri?: SIPUri;
2423
+
2424
+ /**
2425
+ * @generated from field: livekit.SIPUri to_uri = 7;
2426
+ */
2427
+ toUri?: SIPUri;
2428
+
2429
+ /**
2430
+ * @generated from field: int64 created_at = 9 [deprecated = true];
2431
+ * @deprecated
2432
+ */
2433
+ createdAt: bigint;
2434
+
2435
+ /**
2436
+ * @generated from field: int64 started_at = 10 [deprecated = true];
2437
+ * @deprecated
2438
+ */
2439
+ startedAt: bigint;
2440
+
2441
+ /**
2442
+ * @generated from field: int64 ended_at = 11 [deprecated = true];
2443
+ * @deprecated
2444
+ */
2445
+ endedAt: bigint;
2446
+
2447
+ /**
2448
+ * @generated from field: repeated livekit.SIPFeature enabled_features = 14;
2449
+ */
2450
+ enabledFeatures: SIPFeature[];
2451
+
2452
+ /**
2453
+ * @generated from field: livekit.SIPCallDirection call_direction = 15;
2454
+ */
2455
+ callDirection: SIPCallDirection;
2456
+
2457
+ /**
2458
+ * @generated from field: livekit.SIPCallStatus call_status = 8;
2459
+ */
2460
+ callStatus: SIPCallStatus;
2461
+
2462
+ /**
2463
+ * @generated from field: int64 created_at_ns = 22;
2464
+ */
2465
+ createdAtNs: bigint;
2466
+
2467
+ /**
2468
+ * @generated from field: int64 started_at_ns = 23;
2469
+ */
2470
+ startedAtNs: bigint;
2471
+
2472
+ /**
2473
+ * @generated from field: int64 ended_at_ns = 24;
2474
+ */
2475
+ endedAtNs: bigint;
2476
+
2477
+ /**
2478
+ * @generated from field: livekit.DisconnectReason disconnect_reason = 12;
2479
+ */
2480
+ disconnectReason: DisconnectReason;
2481
+
2482
+ /**
2483
+ * @generated from field: string error = 13;
2484
+ */
2485
+ error: string;
2486
+
2487
+ /**
2488
+ * @generated from field: livekit.SIPStatus call_status_code = 19;
2489
+ */
2490
+ callStatusCode?: SIPStatus;
2491
+
2492
+ /**
2493
+ * @generated from field: string audio_codec = 20;
2494
+ */
2495
+ audioCodec: string;
2496
+
2497
+ /**
2498
+ * @generated from field: string media_encryption = 21;
2499
+ */
2500
+ mediaEncryption: string;
2501
+
2502
+ constructor(data?: PartialMessage<SIPCallInfo>);
2503
+
2504
+ static readonly runtime: typeof proto3;
2505
+ static readonly typeName = "livekit.SIPCallInfo";
2506
+ static readonly fields: FieldList;
2507
+
2508
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPCallInfo;
2509
+
2510
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPCallInfo;
2511
+
2512
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPCallInfo;
2513
+
2514
+ static equals(a: SIPCallInfo | PlainMessage<SIPCallInfo> | undefined, b: SIPCallInfo | PlainMessage<SIPCallInfo> | undefined): boolean;
2515
+ }
2516
+
2517
+ /**
2518
+ * @generated from message livekit.SIPTransferInfo
2519
+ */
2520
+ export declare class SIPTransferInfo extends Message<SIPTransferInfo> {
2521
+ /**
2522
+ * @generated from field: string transfer_id = 1;
2523
+ */
2524
+ transferId: string;
2525
+
2526
+ /**
2527
+ * @generated from field: string call_id = 2;
2528
+ */
2529
+ callId: string;
2530
+
2531
+ /**
2532
+ * @generated from field: string transfer_to = 3;
2533
+ */
2534
+ transferTo: string;
2535
+
2536
+ /**
2537
+ * @generated from field: int64 transfer_initiated_at_ns = 4;
2538
+ */
2539
+ transferInitiatedAtNs: bigint;
2540
+
2541
+ /**
2542
+ * @generated from field: int64 transfer_completed_at_ns = 5;
2543
+ */
2544
+ transferCompletedAtNs: bigint;
2545
+
2546
+ /**
2547
+ * @generated from field: livekit.SIPTransferStatus transfer_status = 6;
2548
+ */
2549
+ transferStatus: SIPTransferStatus;
2550
+
2551
+ /**
2552
+ * @generated from field: string error = 7;
2553
+ */
2554
+ error: string;
2555
+
2556
+ /**
2557
+ * @generated from field: livekit.SIPStatus transfer_status_code = 8;
2558
+ */
2559
+ transferStatusCode?: SIPStatus;
2560
+
2561
+ constructor(data?: PartialMessage<SIPTransferInfo>);
2562
+
2563
+ static readonly runtime: typeof proto3;
2564
+ static readonly typeName = "livekit.SIPTransferInfo";
2565
+ static readonly fields: FieldList;
2566
+
2567
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPTransferInfo;
2568
+
2569
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPTransferInfo;
2570
+
2571
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPTransferInfo;
2572
+
2573
+ static equals(a: SIPTransferInfo | PlainMessage<SIPTransferInfo> | undefined, b: SIPTransferInfo | PlainMessage<SIPTransferInfo> | undefined): boolean;
2574
+ }
2575
+
2576
+ /**
2577
+ * @generated from message livekit.SIPUri
2578
+ */
2579
+ export declare class SIPUri extends Message<SIPUri> {
2580
+ /**
2581
+ * @generated from field: string user = 1;
2582
+ */
2583
+ user: string;
2584
+
2585
+ /**
2586
+ * @generated from field: string host = 2;
2587
+ */
2588
+ host: string;
2589
+
2590
+ /**
2591
+ * @generated from field: string ip = 3;
2592
+ */
2593
+ ip: string;
2594
+
2595
+ /**
2596
+ * @generated from field: uint32 port = 4;
2597
+ */
2598
+ port: number;
2599
+
2600
+ /**
2601
+ * @generated from field: livekit.SIPTransport transport = 5;
2602
+ */
2603
+ transport: SIPTransport;
2604
+
2605
+ constructor(data?: PartialMessage<SIPUri>);
2606
+
2607
+ static readonly runtime: typeof proto3;
2608
+ static readonly typeName = "livekit.SIPUri";
2609
+ static readonly fields: FieldList;
2610
+
2611
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPUri;
2612
+
2613
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPUri;
2614
+
2615
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPUri;
2616
+
2617
+ static equals(a: SIPUri | PlainMessage<SIPUri> | undefined, b: SIPUri | PlainMessage<SIPUri> | undefined): boolean;
2618
+ }
2619
+