@livekit/protocol 1.16.0 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/gen/livekit_egress_pb.d.ts +10 -0
- package/src/gen/livekit_egress_pb.js +2 -0
- package/src/gen/livekit_models_pb.d.ts +16 -5
- package/src/gen/livekit_models_pb.js +2 -1
- package/src/gen/livekit_room_pb.d.ts +8 -0
- package/src/gen/livekit_room_pb.js +1 -0
- package/src/gen/livekit_rtc_pb.d.ts +10 -1
- package/src/gen/livekit_rtc_pb.js +1 -0
- package/src/gen/livekit_sip_pb.d.ts +382 -3
- package/src/gen/livekit_sip_pb.js +125 -0
- package/src/gen/version.js +1 -1
package/package.json
CHANGED
|
@@ -1030,6 +1030,11 @@ export declare class S3Upload extends Message<S3Upload> {
|
|
|
1030
1030
|
*/
|
|
1031
1031
|
secret: string;
|
|
1032
1032
|
|
|
1033
|
+
/**
|
|
1034
|
+
* @generated from field: string session_token = 11;
|
|
1035
|
+
*/
|
|
1036
|
+
sessionToken: string;
|
|
1037
|
+
|
|
1033
1038
|
/**
|
|
1034
1039
|
* @generated from field: string region = 3;
|
|
1035
1040
|
*/
|
|
@@ -1571,6 +1576,11 @@ export declare class EgressInfo extends Message<EgressInfo> {
|
|
|
1571
1576
|
*/
|
|
1572
1577
|
error: string;
|
|
1573
1578
|
|
|
1579
|
+
/**
|
|
1580
|
+
* @generated from field: int32 error_code = 22;
|
|
1581
|
+
*/
|
|
1582
|
+
errorCode: number;
|
|
1583
|
+
|
|
1574
1584
|
/**
|
|
1575
1585
|
* @generated from oneof livekit.EgressInfo.request
|
|
1576
1586
|
*/
|
|
@@ -297,6 +297,7 @@ export const S3Upload = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
297
297
|
() => [
|
|
298
298
|
{ no: 1, name: "access_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
299
299
|
{ no: 2, name: "secret", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
300
|
+
{ no: 11, name: "session_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
300
301
|
{ no: 3, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
301
302
|
{ no: 4, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
302
303
|
{ no: 5, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -460,6 +461,7 @@ export const EgressInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
460
461
|
{ no: 18, name: "updated_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
461
462
|
{ no: 21, name: "details", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
462
463
|
{ no: 9, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
464
|
+
{ no: 22, name: "error_code", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
463
465
|
{ no: 4, name: "room_composite", kind: "message", T: RoomCompositeEgressRequest, oneof: "request" },
|
|
464
466
|
{ no: 14, name: "web", kind: "message", T: WebEgressRequest, oneof: "request" },
|
|
465
467
|
{ no: 19, name: "participant", kind: "message", T: ParticipantEgressRequest, oneof: "request" },
|
|
@@ -533,13 +533,15 @@ export declare class ParticipantPermission extends Message<ParticipantPermission
|
|
|
533
533
|
|
|
534
534
|
/**
|
|
535
535
|
* indicates it's a recorder instance
|
|
536
|
+
* deprecated: use ParticipantInfo.kind instead
|
|
536
537
|
*
|
|
537
|
-
* @generated from field: bool recorder = 8;
|
|
538
|
+
* @generated from field: bool recorder = 8 [deprecated = true];
|
|
539
|
+
* @deprecated
|
|
538
540
|
*/
|
|
539
541
|
recorder: boolean;
|
|
540
542
|
|
|
541
543
|
/**
|
|
542
|
-
* indicates that participant can update own metadata
|
|
544
|
+
* indicates that participant can update own metadata and attributes
|
|
543
545
|
*
|
|
544
546
|
* @generated from field: bool can_update_metadata = 10;
|
|
545
547
|
*/
|
|
@@ -547,8 +549,10 @@ export declare class ParticipantPermission extends Message<ParticipantPermission
|
|
|
547
549
|
|
|
548
550
|
/**
|
|
549
551
|
* indicates that participant is an agent
|
|
552
|
+
* deprecated: use ParticipantInfo.kind instead
|
|
550
553
|
*
|
|
551
|
-
* @generated from field: bool agent = 11;
|
|
554
|
+
* @generated from field: bool agent = 11 [deprecated = true];
|
|
555
|
+
* @deprecated
|
|
552
556
|
*/
|
|
553
557
|
agent: boolean;
|
|
554
558
|
|
|
@@ -636,6 +640,11 @@ export declare class ParticipantInfo extends Message<ParticipantInfo> {
|
|
|
636
640
|
*/
|
|
637
641
|
kind: ParticipantInfo_Kind;
|
|
638
642
|
|
|
643
|
+
/**
|
|
644
|
+
* @generated from field: map<string, string> attributes = 15;
|
|
645
|
+
*/
|
|
646
|
+
attributes: { [key: string]: string };
|
|
647
|
+
|
|
639
648
|
constructor(data?: PartialMessage<ParticipantInfo>);
|
|
640
649
|
|
|
641
650
|
static readonly runtime: typeof proto3;
|
|
@@ -1245,9 +1254,11 @@ export declare class SipDTMF extends Message<SipDTMF> {
|
|
|
1245
1254
|
*/
|
|
1246
1255
|
export declare class Transcription extends Message<Transcription> {
|
|
1247
1256
|
/**
|
|
1248
|
-
*
|
|
1257
|
+
* Participant that got its speech transcribed
|
|
1258
|
+
*
|
|
1259
|
+
* @generated from field: string transcribed_participant_identity = 2;
|
|
1249
1260
|
*/
|
|
1250
|
-
|
|
1261
|
+
transcribedParticipantIdentity: string;
|
|
1251
1262
|
|
|
1252
1263
|
/**
|
|
1253
1264
|
* @generated from field: string track_id = 3;
|
|
@@ -260,6 +260,7 @@ export const ParticipantInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
260
260
|
{ no: 12, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
261
261
|
{ no: 13, name: "is_publisher", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
262
262
|
{ no: 14, name: "kind", kind: "enum", T: proto3.getEnumType(ParticipantInfo_Kind) },
|
|
263
|
+
{ no: 15, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
263
264
|
],
|
|
264
265
|
);
|
|
265
266
|
|
|
@@ -453,7 +454,7 @@ export const SipDTMF = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
453
454
|
export const Transcription = /*@__PURE__*/ proto3.makeMessageType(
|
|
454
455
|
"livekit.Transcription",
|
|
455
456
|
() => [
|
|
456
|
-
{ no: 2, name: "
|
|
457
|
+
{ no: 2, name: "transcribed_participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
457
458
|
{ no: 3, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
458
459
|
{ no: 4, name: "segments", kind: "message", T: TranscriptionSegment, repeated: true },
|
|
459
460
|
],
|
|
@@ -445,6 +445,14 @@ export declare class UpdateParticipantRequest extends Message<UpdateParticipantR
|
|
|
445
445
|
*/
|
|
446
446
|
name: string;
|
|
447
447
|
|
|
448
|
+
/**
|
|
449
|
+
* attributes to update. it only updates attributes that have been set
|
|
450
|
+
* to delete attributes, set the value to an empty string
|
|
451
|
+
*
|
|
452
|
+
* @generated from field: map<string, string> attributes = 6;
|
|
453
|
+
*/
|
|
454
|
+
attributes: { [key: string]: string };
|
|
455
|
+
|
|
448
456
|
constructor(data?: PartialMessage<UpdateParticipantRequest>);
|
|
449
457
|
|
|
450
458
|
static readonly runtime: typeof proto3;
|
|
@@ -163,6 +163,7 @@ export const UpdateParticipantRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
163
163
|
{ no: 3, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
164
164
|
{ no: 4, name: "permission", kind: "message", T: ParticipantPermission },
|
|
165
165
|
{ no: 5, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
166
|
+
{ no: 6, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
166
167
|
],
|
|
167
168
|
);
|
|
168
169
|
|
|
@@ -183,7 +183,8 @@ export declare class SignalRequest extends Message<SignalRequest> {
|
|
|
183
183
|
case: "ping";
|
|
184
184
|
} | {
|
|
185
185
|
/**
|
|
186
|
-
* update a participant's own metadata
|
|
186
|
+
* update a participant's own metadata, name, or attributes
|
|
187
|
+
* requires canUpdateOwnParticipantMetadata permission
|
|
187
188
|
*
|
|
188
189
|
* @generated from field: livekit.UpdateParticipantMetadata update_metadata = 15;
|
|
189
190
|
*/
|
|
@@ -1127,6 +1128,14 @@ export declare class UpdateParticipantMetadata extends Message<UpdateParticipant
|
|
|
1127
1128
|
*/
|
|
1128
1129
|
name: string;
|
|
1129
1130
|
|
|
1131
|
+
/**
|
|
1132
|
+
* attributes to update. it only updates attributes that have been set
|
|
1133
|
+
* to delete attributes, set the value to an empty string
|
|
1134
|
+
*
|
|
1135
|
+
* @generated from field: map<string, string> attributes = 3;
|
|
1136
|
+
*/
|
|
1137
|
+
attributes: { [key: string]: string };
|
|
1138
|
+
|
|
1130
1139
|
constructor(data?: PartialMessage<UpdateParticipantMetadata>);
|
|
1131
1140
|
|
|
1132
1141
|
static readonly runtime: typeof proto3;
|
|
@@ -341,6 +341,7 @@ export const UpdateParticipantMetadata = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
341
341
|
() => [
|
|
342
342
|
{ no: 1, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
343
343
|
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
344
|
+
{ no: 3, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
344
345
|
],
|
|
345
346
|
);
|
|
346
347
|
|
|
@@ -20,8 +20,34 @@
|
|
|
20
20
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
21
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
22
|
|
|
23
|
+
/**
|
|
24
|
+
* @generated from enum livekit.SIPTransport
|
|
25
|
+
*/
|
|
26
|
+
export declare enum SIPTransport {
|
|
27
|
+
/**
|
|
28
|
+
* @generated from enum value: SIP_TRANSPORT_AUTO = 0;
|
|
29
|
+
*/
|
|
30
|
+
SIP_TRANSPORT_AUTO = 0,
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* @generated from enum value: SIP_TRANSPORT_UDP = 1;
|
|
34
|
+
*/
|
|
35
|
+
SIP_TRANSPORT_UDP = 1,
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @generated from enum value: SIP_TRANSPORT_TCP = 2;
|
|
39
|
+
*/
|
|
40
|
+
SIP_TRANSPORT_TCP = 2,
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @generated from enum value: SIP_TRANSPORT_TLS = 3;
|
|
44
|
+
*/
|
|
45
|
+
SIP_TRANSPORT_TLS = 3,
|
|
46
|
+
}
|
|
47
|
+
|
|
23
48
|
/**
|
|
24
49
|
* @generated from message livekit.CreateSIPTrunkRequest
|
|
50
|
+
* @deprecated
|
|
25
51
|
*/
|
|
26
52
|
export declare class CreateSIPTrunkRequest extends Message<CreateSIPTrunkRequest> {
|
|
27
53
|
/**
|
|
@@ -115,6 +141,7 @@ export declare class CreateSIPTrunkRequest extends Message<CreateSIPTrunkRequest
|
|
|
115
141
|
|
|
116
142
|
/**
|
|
117
143
|
* @generated from message livekit.SIPTrunkInfo
|
|
144
|
+
* @deprecated
|
|
118
145
|
*/
|
|
119
146
|
export declare class SIPTrunkInfo extends Message<SIPTrunkInfo> {
|
|
120
147
|
/**
|
|
@@ -122,6 +149,11 @@ export declare class SIPTrunkInfo extends Message<SIPTrunkInfo> {
|
|
|
122
149
|
*/
|
|
123
150
|
sipTrunkId: string;
|
|
124
151
|
|
|
152
|
+
/**
|
|
153
|
+
* @generated from field: livekit.SIPTrunkInfo.TrunkKind kind = 14;
|
|
154
|
+
*/
|
|
155
|
+
kind: SIPTrunkInfo_TrunkKind;
|
|
156
|
+
|
|
125
157
|
/**
|
|
126
158
|
* CIDR or IPs that traffic is accepted from
|
|
127
159
|
* An empty list means all inbound traffic is accepted.
|
|
@@ -144,6 +176,13 @@ export declare class SIPTrunkInfo extends Message<SIPTrunkInfo> {
|
|
|
144
176
|
*/
|
|
145
177
|
outboundNumber: string;
|
|
146
178
|
|
|
179
|
+
/**
|
|
180
|
+
* Transport used for inbound and outbound calls.
|
|
181
|
+
*
|
|
182
|
+
* @generated from field: livekit.SIPTransport transport = 13;
|
|
183
|
+
*/
|
|
184
|
+
transport: SIPTransport;
|
|
185
|
+
|
|
147
186
|
/**
|
|
148
187
|
* @generated from field: repeated string inbound_numbers_regex = 5 [deprecated = true];
|
|
149
188
|
* @deprecated
|
|
@@ -211,8 +250,229 @@ export declare class SIPTrunkInfo extends Message<SIPTrunkInfo> {
|
|
|
211
250
|
static equals(a: SIPTrunkInfo | PlainMessage<SIPTrunkInfo> | undefined, b: SIPTrunkInfo | PlainMessage<SIPTrunkInfo> | undefined): boolean;
|
|
212
251
|
}
|
|
213
252
|
|
|
253
|
+
/**
|
|
254
|
+
* @generated from enum livekit.SIPTrunkInfo.TrunkKind
|
|
255
|
+
*/
|
|
256
|
+
export declare enum SIPTrunkInfo_TrunkKind {
|
|
257
|
+
/**
|
|
258
|
+
* @generated from enum value: TRUNK_LEGACY = 0;
|
|
259
|
+
*/
|
|
260
|
+
TRUNK_LEGACY = 0,
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* @generated from enum value: TRUNK_INBOUND = 1;
|
|
264
|
+
*/
|
|
265
|
+
TRUNK_INBOUND = 1,
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* @generated from enum value: TRUNK_OUTBOUND = 2;
|
|
269
|
+
*/
|
|
270
|
+
TRUNK_OUTBOUND = 2,
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* @generated from message livekit.CreateSIPInboundTrunkRequest
|
|
275
|
+
*/
|
|
276
|
+
export declare class CreateSIPInboundTrunkRequest extends Message<CreateSIPInboundTrunkRequest> {
|
|
277
|
+
/**
|
|
278
|
+
* Trunk ID is ignored
|
|
279
|
+
*
|
|
280
|
+
* @generated from field: livekit.SIPInboundTrunkInfo trunk = 1;
|
|
281
|
+
*/
|
|
282
|
+
trunk?: SIPInboundTrunkInfo;
|
|
283
|
+
|
|
284
|
+
constructor(data?: PartialMessage<CreateSIPInboundTrunkRequest>);
|
|
285
|
+
|
|
286
|
+
static readonly runtime: typeof proto3;
|
|
287
|
+
static readonly typeName = "livekit.CreateSIPInboundTrunkRequest";
|
|
288
|
+
static readonly fields: FieldList;
|
|
289
|
+
|
|
290
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSIPInboundTrunkRequest;
|
|
291
|
+
|
|
292
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSIPInboundTrunkRequest;
|
|
293
|
+
|
|
294
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSIPInboundTrunkRequest;
|
|
295
|
+
|
|
296
|
+
static equals(a: CreateSIPInboundTrunkRequest | PlainMessage<CreateSIPInboundTrunkRequest> | undefined, b: CreateSIPInboundTrunkRequest | PlainMessage<CreateSIPInboundTrunkRequest> | undefined): boolean;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* @generated from message livekit.SIPInboundTrunkInfo
|
|
301
|
+
*/
|
|
302
|
+
export declare class SIPInboundTrunkInfo extends Message<SIPInboundTrunkInfo> {
|
|
303
|
+
/**
|
|
304
|
+
* @generated from field: string sip_trunk_id = 1;
|
|
305
|
+
*/
|
|
306
|
+
sipTrunkId: string;
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* Human-readable name for the Trunk.
|
|
310
|
+
*
|
|
311
|
+
* @generated from field: string name = 2;
|
|
312
|
+
*/
|
|
313
|
+
name: string;
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* User-defined metadata for the Trunk.
|
|
317
|
+
*
|
|
318
|
+
* @generated from field: string metadata = 3;
|
|
319
|
+
*/
|
|
320
|
+
metadata: string;
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers.
|
|
324
|
+
* Creating multiple Trunks with different phone numbers allows having different rules for a single provider.
|
|
325
|
+
*
|
|
326
|
+
* @generated from field: repeated string numbers = 4;
|
|
327
|
+
*/
|
|
328
|
+
numbers: string[];
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* CIDR or IPs that traffic is accepted from.
|
|
332
|
+
* An empty list means all inbound traffic is accepted.
|
|
333
|
+
*
|
|
334
|
+
* @generated from field: repeated string allowed_addresses = 5;
|
|
335
|
+
*/
|
|
336
|
+
allowedAddresses: string[];
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* Numbers that are allowed to make calls to this Trunk.
|
|
340
|
+
* An empty list means calls from any phone number is accepted.
|
|
341
|
+
*
|
|
342
|
+
* @generated from field: repeated string allowed_numbers = 6;
|
|
343
|
+
*/
|
|
344
|
+
allowedNumbers: string[];
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* Username and password used to authenticate inbound SIP invites.
|
|
348
|
+
* May be empty to have no authentication.
|
|
349
|
+
*
|
|
350
|
+
* @generated from field: string auth_username = 7;
|
|
351
|
+
*/
|
|
352
|
+
authUsername: string;
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* @generated from field: string auth_password = 8;
|
|
356
|
+
*/
|
|
357
|
+
authPassword: string;
|
|
358
|
+
|
|
359
|
+
constructor(data?: PartialMessage<SIPInboundTrunkInfo>);
|
|
360
|
+
|
|
361
|
+
static readonly runtime: typeof proto3;
|
|
362
|
+
static readonly typeName = "livekit.SIPInboundTrunkInfo";
|
|
363
|
+
static readonly fields: FieldList;
|
|
364
|
+
|
|
365
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPInboundTrunkInfo;
|
|
366
|
+
|
|
367
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPInboundTrunkInfo;
|
|
368
|
+
|
|
369
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPInboundTrunkInfo;
|
|
370
|
+
|
|
371
|
+
static equals(a: SIPInboundTrunkInfo | PlainMessage<SIPInboundTrunkInfo> | undefined, b: SIPInboundTrunkInfo | PlainMessage<SIPInboundTrunkInfo> | undefined): boolean;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* @generated from message livekit.CreateSIPOutboundTrunkRequest
|
|
376
|
+
*/
|
|
377
|
+
export declare class CreateSIPOutboundTrunkRequest extends Message<CreateSIPOutboundTrunkRequest> {
|
|
378
|
+
/**
|
|
379
|
+
* Trunk ID is ignored
|
|
380
|
+
*
|
|
381
|
+
* @generated from field: livekit.SIPOutboundTrunkInfo trunk = 1;
|
|
382
|
+
*/
|
|
383
|
+
trunk?: SIPOutboundTrunkInfo;
|
|
384
|
+
|
|
385
|
+
constructor(data?: PartialMessage<CreateSIPOutboundTrunkRequest>);
|
|
386
|
+
|
|
387
|
+
static readonly runtime: typeof proto3;
|
|
388
|
+
static readonly typeName = "livekit.CreateSIPOutboundTrunkRequest";
|
|
389
|
+
static readonly fields: FieldList;
|
|
390
|
+
|
|
391
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSIPOutboundTrunkRequest;
|
|
392
|
+
|
|
393
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSIPOutboundTrunkRequest;
|
|
394
|
+
|
|
395
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSIPOutboundTrunkRequest;
|
|
396
|
+
|
|
397
|
+
static equals(a: CreateSIPOutboundTrunkRequest | PlainMessage<CreateSIPOutboundTrunkRequest> | undefined, b: CreateSIPOutboundTrunkRequest | PlainMessage<CreateSIPOutboundTrunkRequest> | undefined): boolean;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* @generated from message livekit.SIPOutboundTrunkInfo
|
|
402
|
+
*/
|
|
403
|
+
export declare class SIPOutboundTrunkInfo extends Message<SIPOutboundTrunkInfo> {
|
|
404
|
+
/**
|
|
405
|
+
* @generated from field: string sip_trunk_id = 1;
|
|
406
|
+
*/
|
|
407
|
+
sipTrunkId: string;
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* Human-readable name for the Trunk.
|
|
411
|
+
*
|
|
412
|
+
* @generated from field: string name = 2;
|
|
413
|
+
*/
|
|
414
|
+
name: string;
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* User-defined metadata for the Trunk.
|
|
418
|
+
*
|
|
419
|
+
* @generated from field: string metadata = 3;
|
|
420
|
+
*/
|
|
421
|
+
metadata: string;
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
* Hostname or IP that SIP INVITE is sent too.
|
|
425
|
+
* Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix.
|
|
426
|
+
*
|
|
427
|
+
* @generated from field: string address = 4;
|
|
428
|
+
*/
|
|
429
|
+
address: string;
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* SIP Transport used for outbound call.
|
|
433
|
+
*
|
|
434
|
+
* @generated from field: livekit.SIPTransport transport = 5;
|
|
435
|
+
*/
|
|
436
|
+
transport: SIPTransport;
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* Numbers used to make the calls. Random one from this list will be selected.
|
|
440
|
+
*
|
|
441
|
+
* @generated from field: repeated string numbers = 6;
|
|
442
|
+
*/
|
|
443
|
+
numbers: string[];
|
|
444
|
+
|
|
445
|
+
/**
|
|
446
|
+
* Username and password used to authenticate with SIP server.
|
|
447
|
+
* May be empty to have no authentication.
|
|
448
|
+
*
|
|
449
|
+
* @generated from field: string auth_username = 7;
|
|
450
|
+
*/
|
|
451
|
+
authUsername: string;
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* @generated from field: string auth_password = 8;
|
|
455
|
+
*/
|
|
456
|
+
authPassword: string;
|
|
457
|
+
|
|
458
|
+
constructor(data?: PartialMessage<SIPOutboundTrunkInfo>);
|
|
459
|
+
|
|
460
|
+
static readonly runtime: typeof proto3;
|
|
461
|
+
static readonly typeName = "livekit.SIPOutboundTrunkInfo";
|
|
462
|
+
static readonly fields: FieldList;
|
|
463
|
+
|
|
464
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPOutboundTrunkInfo;
|
|
465
|
+
|
|
466
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPOutboundTrunkInfo;
|
|
467
|
+
|
|
468
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPOutboundTrunkInfo;
|
|
469
|
+
|
|
470
|
+
static equals(a: SIPOutboundTrunkInfo | PlainMessage<SIPOutboundTrunkInfo> | undefined, b: SIPOutboundTrunkInfo | PlainMessage<SIPOutboundTrunkInfo> | undefined): boolean;
|
|
471
|
+
}
|
|
472
|
+
|
|
214
473
|
/**
|
|
215
474
|
* @generated from message livekit.ListSIPTrunkRequest
|
|
475
|
+
* @deprecated
|
|
216
476
|
*/
|
|
217
477
|
export declare class ListSIPTrunkRequest extends Message<ListSIPTrunkRequest> {
|
|
218
478
|
constructor(data?: PartialMessage<ListSIPTrunkRequest>);
|
|
@@ -232,6 +492,7 @@ export declare class ListSIPTrunkRequest extends Message<ListSIPTrunkRequest> {
|
|
|
232
492
|
|
|
233
493
|
/**
|
|
234
494
|
* @generated from message livekit.ListSIPTrunkResponse
|
|
495
|
+
* @deprecated
|
|
235
496
|
*/
|
|
236
497
|
export declare class ListSIPTrunkResponse extends Message<ListSIPTrunkResponse> {
|
|
237
498
|
/**
|
|
@@ -254,6 +515,92 @@ export declare class ListSIPTrunkResponse extends Message<ListSIPTrunkResponse>
|
|
|
254
515
|
static equals(a: ListSIPTrunkResponse | PlainMessage<ListSIPTrunkResponse> | undefined, b: ListSIPTrunkResponse | PlainMessage<ListSIPTrunkResponse> | undefined): boolean;
|
|
255
516
|
}
|
|
256
517
|
|
|
518
|
+
/**
|
|
519
|
+
* @generated from message livekit.ListSIPInboundTrunkRequest
|
|
520
|
+
*/
|
|
521
|
+
export declare class ListSIPInboundTrunkRequest extends Message<ListSIPInboundTrunkRequest> {
|
|
522
|
+
constructor(data?: PartialMessage<ListSIPInboundTrunkRequest>);
|
|
523
|
+
|
|
524
|
+
static readonly runtime: typeof proto3;
|
|
525
|
+
static readonly typeName = "livekit.ListSIPInboundTrunkRequest";
|
|
526
|
+
static readonly fields: FieldList;
|
|
527
|
+
|
|
528
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSIPInboundTrunkRequest;
|
|
529
|
+
|
|
530
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSIPInboundTrunkRequest;
|
|
531
|
+
|
|
532
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSIPInboundTrunkRequest;
|
|
533
|
+
|
|
534
|
+
static equals(a: ListSIPInboundTrunkRequest | PlainMessage<ListSIPInboundTrunkRequest> | undefined, b: ListSIPInboundTrunkRequest | PlainMessage<ListSIPInboundTrunkRequest> | undefined): boolean;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* @generated from message livekit.ListSIPInboundTrunkResponse
|
|
539
|
+
*/
|
|
540
|
+
export declare class ListSIPInboundTrunkResponse extends Message<ListSIPInboundTrunkResponse> {
|
|
541
|
+
/**
|
|
542
|
+
* @generated from field: repeated livekit.SIPInboundTrunkInfo items = 1;
|
|
543
|
+
*/
|
|
544
|
+
items: SIPInboundTrunkInfo[];
|
|
545
|
+
|
|
546
|
+
constructor(data?: PartialMessage<ListSIPInboundTrunkResponse>);
|
|
547
|
+
|
|
548
|
+
static readonly runtime: typeof proto3;
|
|
549
|
+
static readonly typeName = "livekit.ListSIPInboundTrunkResponse";
|
|
550
|
+
static readonly fields: FieldList;
|
|
551
|
+
|
|
552
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSIPInboundTrunkResponse;
|
|
553
|
+
|
|
554
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSIPInboundTrunkResponse;
|
|
555
|
+
|
|
556
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSIPInboundTrunkResponse;
|
|
557
|
+
|
|
558
|
+
static equals(a: ListSIPInboundTrunkResponse | PlainMessage<ListSIPInboundTrunkResponse> | undefined, b: ListSIPInboundTrunkResponse | PlainMessage<ListSIPInboundTrunkResponse> | undefined): boolean;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* @generated from message livekit.ListSIPOutboundTrunkRequest
|
|
563
|
+
*/
|
|
564
|
+
export declare class ListSIPOutboundTrunkRequest extends Message<ListSIPOutboundTrunkRequest> {
|
|
565
|
+
constructor(data?: PartialMessage<ListSIPOutboundTrunkRequest>);
|
|
566
|
+
|
|
567
|
+
static readonly runtime: typeof proto3;
|
|
568
|
+
static readonly typeName = "livekit.ListSIPOutboundTrunkRequest";
|
|
569
|
+
static readonly fields: FieldList;
|
|
570
|
+
|
|
571
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSIPOutboundTrunkRequest;
|
|
572
|
+
|
|
573
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSIPOutboundTrunkRequest;
|
|
574
|
+
|
|
575
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSIPOutboundTrunkRequest;
|
|
576
|
+
|
|
577
|
+
static equals(a: ListSIPOutboundTrunkRequest | PlainMessage<ListSIPOutboundTrunkRequest> | undefined, b: ListSIPOutboundTrunkRequest | PlainMessage<ListSIPOutboundTrunkRequest> | undefined): boolean;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* @generated from message livekit.ListSIPOutboundTrunkResponse
|
|
582
|
+
*/
|
|
583
|
+
export declare class ListSIPOutboundTrunkResponse extends Message<ListSIPOutboundTrunkResponse> {
|
|
584
|
+
/**
|
|
585
|
+
* @generated from field: repeated livekit.SIPOutboundTrunkInfo items = 1;
|
|
586
|
+
*/
|
|
587
|
+
items: SIPOutboundTrunkInfo[];
|
|
588
|
+
|
|
589
|
+
constructor(data?: PartialMessage<ListSIPOutboundTrunkResponse>);
|
|
590
|
+
|
|
591
|
+
static readonly runtime: typeof proto3;
|
|
592
|
+
static readonly typeName = "livekit.ListSIPOutboundTrunkResponse";
|
|
593
|
+
static readonly fields: FieldList;
|
|
594
|
+
|
|
595
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSIPOutboundTrunkResponse;
|
|
596
|
+
|
|
597
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSIPOutboundTrunkResponse;
|
|
598
|
+
|
|
599
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSIPOutboundTrunkResponse;
|
|
600
|
+
|
|
601
|
+
static equals(a: ListSIPOutboundTrunkResponse | PlainMessage<ListSIPOutboundTrunkResponse> | undefined, b: ListSIPOutboundTrunkResponse | PlainMessage<ListSIPOutboundTrunkResponse> | undefined): boolean;
|
|
602
|
+
}
|
|
603
|
+
|
|
257
604
|
/**
|
|
258
605
|
* @generated from message livekit.DeleteSIPTrunkRequest
|
|
259
606
|
*/
|
|
@@ -404,8 +751,8 @@ export declare class CreateSIPDispatchRuleRequest extends Message<CreateSIPDispa
|
|
|
404
751
|
trunkIds: string[];
|
|
405
752
|
|
|
406
753
|
/**
|
|
407
|
-
* By default the From value (Phone number) is used
|
|
408
|
-
* If true a random value will be used
|
|
754
|
+
* By default the From value (Phone number) is used for participant name/identity and added to attributes.
|
|
755
|
+
* If true, a random value for identity will be used and numbers will be omitted from attributes.
|
|
409
756
|
*
|
|
410
757
|
* @generated from field: bool hide_phone_number = 3;
|
|
411
758
|
*/
|
|
@@ -426,12 +773,21 @@ export declare class CreateSIPDispatchRuleRequest extends Message<CreateSIPDispa
|
|
|
426
773
|
name: string;
|
|
427
774
|
|
|
428
775
|
/**
|
|
429
|
-
*
|
|
776
|
+
* User-defined metadata for the Dispatch Rule.
|
|
777
|
+
* Participants created by this rule will inherit this metadata.
|
|
430
778
|
*
|
|
431
779
|
* @generated from field: string metadata = 5;
|
|
432
780
|
*/
|
|
433
781
|
metadata: string;
|
|
434
782
|
|
|
783
|
+
/**
|
|
784
|
+
* User-defined attributes for the Dispatch Rule.
|
|
785
|
+
* Participants created by this rule will inherit these attributes.
|
|
786
|
+
*
|
|
787
|
+
* @generated from field: map<string, string> attributes = 7;
|
|
788
|
+
*/
|
|
789
|
+
attributes: { [key: string]: string };
|
|
790
|
+
|
|
435
791
|
constructor(data?: PartialMessage<CreateSIPDispatchRuleRequest>);
|
|
436
792
|
|
|
437
793
|
static readonly runtime: typeof proto3;
|
|
@@ -493,6 +849,14 @@ export declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
|
|
|
493
849
|
*/
|
|
494
850
|
metadata: string;
|
|
495
851
|
|
|
852
|
+
/**
|
|
853
|
+
* User-defined attributes for the Dispatch Rule.
|
|
854
|
+
* Participants created by this rule will inherit these attributes.
|
|
855
|
+
*
|
|
856
|
+
* @generated from field: map<string, string> attributes = 8;
|
|
857
|
+
*/
|
|
858
|
+
attributes: { [key: string]: string };
|
|
859
|
+
|
|
496
860
|
constructor(data?: PartialMessage<SIPDispatchRuleInfo>);
|
|
497
861
|
|
|
498
862
|
static readonly runtime: typeof proto3;
|
|
@@ -624,6 +988,13 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
|
|
|
624
988
|
*/
|
|
625
989
|
participantMetadata: string;
|
|
626
990
|
|
|
991
|
+
/**
|
|
992
|
+
* Optional user-defined attributes. Will be attached to a created Participant in the room.
|
|
993
|
+
*
|
|
994
|
+
* @generated from field: map<string, string> participant_attributes = 9;
|
|
995
|
+
*/
|
|
996
|
+
participantAttributes: { [key: string]: string };
|
|
997
|
+
|
|
627
998
|
/**
|
|
628
999
|
* Optionally send following DTMF digits (extension codes) when making a call.
|
|
629
1000
|
* Character 'w' can be used to add a 0.5 sec delay.
|
|
@@ -639,6 +1010,14 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
|
|
|
639
1010
|
*/
|
|
640
1011
|
playRingtone: boolean;
|
|
641
1012
|
|
|
1013
|
+
/**
|
|
1014
|
+
* By default the From value (Phone number) is used for participant name/identity (if not set) and added to attributes.
|
|
1015
|
+
* If true, a random value for identity will be used and numbers will be omitted from attributes.
|
|
1016
|
+
*
|
|
1017
|
+
* @generated from field: bool hide_phone_number = 10;
|
|
1018
|
+
*/
|
|
1019
|
+
hidePhoneNumber: boolean;
|
|
1020
|
+
|
|
642
1021
|
constructor(data?: PartialMessage<CreateSIPParticipantRequest>);
|
|
643
1022
|
|
|
644
1023
|
static readonly runtime: typeof proto3;
|
|
@@ -19,8 +19,22 @@
|
|
|
19
19
|
|
|
20
20
|
import { proto3 } from "@bufbuild/protobuf";
|
|
21
21
|
|
|
22
|
+
/**
|
|
23
|
+
* @generated from enum livekit.SIPTransport
|
|
24
|
+
*/
|
|
25
|
+
export const SIPTransport = /*@__PURE__*/ proto3.makeEnum(
|
|
26
|
+
"livekit.SIPTransport",
|
|
27
|
+
[
|
|
28
|
+
{no: 0, name: "SIP_TRANSPORT_AUTO"},
|
|
29
|
+
{no: 1, name: "SIP_TRANSPORT_UDP"},
|
|
30
|
+
{no: 2, name: "SIP_TRANSPORT_TCP"},
|
|
31
|
+
{no: 3, name: "SIP_TRANSPORT_TLS"},
|
|
32
|
+
],
|
|
33
|
+
);
|
|
34
|
+
|
|
22
35
|
/**
|
|
23
36
|
* @generated from message livekit.CreateSIPTrunkRequest
|
|
37
|
+
* @deprecated
|
|
24
38
|
*/
|
|
25
39
|
export const CreateSIPTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
26
40
|
"livekit.CreateSIPTrunkRequest",
|
|
@@ -41,14 +55,17 @@ export const CreateSIPTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
41
55
|
|
|
42
56
|
/**
|
|
43
57
|
* @generated from message livekit.SIPTrunkInfo
|
|
58
|
+
* @deprecated
|
|
44
59
|
*/
|
|
45
60
|
export const SIPTrunkInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
46
61
|
"livekit.SIPTrunkInfo",
|
|
47
62
|
() => [
|
|
48
63
|
{ no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
64
|
+
{ no: 14, name: "kind", kind: "enum", T: proto3.getEnumType(SIPTrunkInfo_TrunkKind) },
|
|
49
65
|
{ no: 2, name: "inbound_addresses", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
50
66
|
{ no: 3, name: "outbound_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
51
67
|
{ no: 4, name: "outbound_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
68
|
+
{ no: 13, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport) },
|
|
52
69
|
{ no: 5, name: "inbound_numbers_regex", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
53
70
|
{ no: 10, name: "inbound_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
54
71
|
{ no: 6, name: "inbound_username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -60,8 +77,75 @@ export const SIPTrunkInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
60
77
|
],
|
|
61
78
|
);
|
|
62
79
|
|
|
80
|
+
/**
|
|
81
|
+
* @generated from enum livekit.SIPTrunkInfo.TrunkKind
|
|
82
|
+
*/
|
|
83
|
+
export const SIPTrunkInfo_TrunkKind = /*@__PURE__*/ proto3.makeEnum(
|
|
84
|
+
"livekit.SIPTrunkInfo.TrunkKind",
|
|
85
|
+
[
|
|
86
|
+
{no: 0, name: "TRUNK_LEGACY"},
|
|
87
|
+
{no: 1, name: "TRUNK_INBOUND"},
|
|
88
|
+
{no: 2, name: "TRUNK_OUTBOUND"},
|
|
89
|
+
],
|
|
90
|
+
);
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* @generated from message livekit.CreateSIPInboundTrunkRequest
|
|
94
|
+
*/
|
|
95
|
+
export const CreateSIPInboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
96
|
+
"livekit.CreateSIPInboundTrunkRequest",
|
|
97
|
+
() => [
|
|
98
|
+
{ no: 1, name: "trunk", kind: "message", T: SIPInboundTrunkInfo },
|
|
99
|
+
],
|
|
100
|
+
);
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* @generated from message livekit.SIPInboundTrunkInfo
|
|
104
|
+
*/
|
|
105
|
+
export const SIPInboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
106
|
+
"livekit.SIPInboundTrunkInfo",
|
|
107
|
+
() => [
|
|
108
|
+
{ no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
109
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
110
|
+
{ no: 3, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
111
|
+
{ no: 4, name: "numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
112
|
+
{ no: 5, name: "allowed_addresses", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
113
|
+
{ no: 6, name: "allowed_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
114
|
+
{ no: 7, name: "auth_username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
115
|
+
{ no: 8, name: "auth_password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
116
|
+
],
|
|
117
|
+
);
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* @generated from message livekit.CreateSIPOutboundTrunkRequest
|
|
121
|
+
*/
|
|
122
|
+
export const CreateSIPOutboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
123
|
+
"livekit.CreateSIPOutboundTrunkRequest",
|
|
124
|
+
() => [
|
|
125
|
+
{ no: 1, name: "trunk", kind: "message", T: SIPOutboundTrunkInfo },
|
|
126
|
+
],
|
|
127
|
+
);
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* @generated from message livekit.SIPOutboundTrunkInfo
|
|
131
|
+
*/
|
|
132
|
+
export const SIPOutboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
133
|
+
"livekit.SIPOutboundTrunkInfo",
|
|
134
|
+
() => [
|
|
135
|
+
{ no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
136
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
137
|
+
{ no: 3, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
138
|
+
{ no: 4, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
139
|
+
{ no: 5, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport) },
|
|
140
|
+
{ no: 6, name: "numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
141
|
+
{ no: 7, name: "auth_username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
142
|
+
{ no: 8, name: "auth_password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
143
|
+
],
|
|
144
|
+
);
|
|
145
|
+
|
|
63
146
|
/**
|
|
64
147
|
* @generated from message livekit.ListSIPTrunkRequest
|
|
148
|
+
* @deprecated
|
|
65
149
|
*/
|
|
66
150
|
export const ListSIPTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
67
151
|
"livekit.ListSIPTrunkRequest",
|
|
@@ -70,6 +154,7 @@ export const ListSIPTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
70
154
|
|
|
71
155
|
/**
|
|
72
156
|
* @generated from message livekit.ListSIPTrunkResponse
|
|
157
|
+
* @deprecated
|
|
73
158
|
*/
|
|
74
159
|
export const ListSIPTrunkResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
75
160
|
"livekit.ListSIPTrunkResponse",
|
|
@@ -78,6 +163,42 @@ export const ListSIPTrunkResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
78
163
|
],
|
|
79
164
|
);
|
|
80
165
|
|
|
166
|
+
/**
|
|
167
|
+
* @generated from message livekit.ListSIPInboundTrunkRequest
|
|
168
|
+
*/
|
|
169
|
+
export const ListSIPInboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
170
|
+
"livekit.ListSIPInboundTrunkRequest",
|
|
171
|
+
[],
|
|
172
|
+
);
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* @generated from message livekit.ListSIPInboundTrunkResponse
|
|
176
|
+
*/
|
|
177
|
+
export const ListSIPInboundTrunkResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
178
|
+
"livekit.ListSIPInboundTrunkResponse",
|
|
179
|
+
() => [
|
|
180
|
+
{ no: 1, name: "items", kind: "message", T: SIPInboundTrunkInfo, repeated: true },
|
|
181
|
+
],
|
|
182
|
+
);
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* @generated from message livekit.ListSIPOutboundTrunkRequest
|
|
186
|
+
*/
|
|
187
|
+
export const ListSIPOutboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
188
|
+
"livekit.ListSIPOutboundTrunkRequest",
|
|
189
|
+
[],
|
|
190
|
+
);
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* @generated from message livekit.ListSIPOutboundTrunkResponse
|
|
194
|
+
*/
|
|
195
|
+
export const ListSIPOutboundTrunkResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
196
|
+
"livekit.ListSIPOutboundTrunkResponse",
|
|
197
|
+
() => [
|
|
198
|
+
{ no: 1, name: "items", kind: "message", T: SIPOutboundTrunkInfo, repeated: true },
|
|
199
|
+
],
|
|
200
|
+
);
|
|
201
|
+
|
|
81
202
|
/**
|
|
82
203
|
* @generated from message livekit.DeleteSIPTrunkRequest
|
|
83
204
|
*/
|
|
@@ -133,6 +254,7 @@ export const CreateSIPDispatchRuleRequest = /*@__PURE__*/ proto3.makeMessageType
|
|
|
133
254
|
{ no: 6, name: "inbound_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
134
255
|
{ no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
135
256
|
{ no: 5, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
257
|
+
{ no: 7, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
136
258
|
],
|
|
137
259
|
);
|
|
138
260
|
|
|
@@ -149,6 +271,7 @@ export const SIPDispatchRuleInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
149
271
|
{ no: 7, name: "inbound_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
150
272
|
{ no: 5, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
151
273
|
{ no: 6, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
274
|
+
{ no: 8, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
152
275
|
],
|
|
153
276
|
);
|
|
154
277
|
|
|
@@ -195,8 +318,10 @@ export const CreateSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
195
318
|
{ no: 4, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
196
319
|
{ no: 7, name: "participant_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
197
320
|
{ no: 8, name: "participant_metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
321
|
+
{ no: 9, name: "participant_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
198
322
|
{ no: 5, name: "dtmf", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
199
323
|
{ no: 6, name: "play_ringtone", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
324
|
+
{ no: 10, name: "hide_phone_number", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
200
325
|
],
|
|
201
326
|
);
|
|
202
327
|
|
package/src/gen/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '1.
|
|
2
|
+
export const version = '1.18.0';
|