@livekit/protocol 1.13.0 → 1.15.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_ingress_pb.d.ts +29 -4
- package/src/gen/livekit_ingress_pb.js +4 -0
- package/src/gen/livekit_models_pb.d.ts +113 -0
- package/src/gen/livekit_models_pb.js +32 -0
- package/src/gen/livekit_rtc_pb.d.ts +3 -1
- package/src/gen/livekit_rtc_pb.js +1 -0
- package/src/gen/livekit_sip_pb.d.ts +76 -0
- package/src/gen/livekit_sip_pb.js +11 -0
- package/src/gen/version.js +1 -1
package/package.json
CHANGED
|
@@ -189,12 +189,20 @@ export declare class CreateIngressRequest extends Message<CreateIngressRequest>
|
|
|
189
189
|
participantMetadata: string;
|
|
190
190
|
|
|
191
191
|
/**
|
|
192
|
-
* whether to pass through the incoming media without transcoding, only compatible with some input types
|
|
192
|
+
* [depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use `enable_transcoding` instead.
|
|
193
193
|
*
|
|
194
|
-
* @generated from field: bool bypass_transcoding = 8;
|
|
194
|
+
* @generated from field: bool bypass_transcoding = 8 [deprecated = true];
|
|
195
|
+
* @deprecated
|
|
195
196
|
*/
|
|
196
197
|
bypassTranscoding: boolean;
|
|
197
198
|
|
|
199
|
+
/**
|
|
200
|
+
* Whether to transcode the ingested media. Only WHIP supports disabling transcoding currently. WHIP will default to transcoding disabled. Replaces `bypass_transcoding.
|
|
201
|
+
*
|
|
202
|
+
* @generated from field: optional bool enable_transcoding = 11;
|
|
203
|
+
*/
|
|
204
|
+
enableTranscoding?: boolean;
|
|
205
|
+
|
|
198
206
|
/**
|
|
199
207
|
* @generated from field: livekit.IngressAudioOptions audio = 6;
|
|
200
208
|
*/
|
|
@@ -427,10 +435,16 @@ export declare class IngressInfo extends Message<IngressInfo> {
|
|
|
427
435
|
inputType: IngressInput;
|
|
428
436
|
|
|
429
437
|
/**
|
|
430
|
-
* @generated from field: bool bypass_transcoding = 13;
|
|
438
|
+
* @generated from field: bool bypass_transcoding = 13 [deprecated = true];
|
|
439
|
+
* @deprecated
|
|
431
440
|
*/
|
|
432
441
|
bypassTranscoding: boolean;
|
|
433
442
|
|
|
443
|
+
/**
|
|
444
|
+
* @generated from field: optional bool enable_transcoding = 15;
|
|
445
|
+
*/
|
|
446
|
+
enableTranscoding?: boolean;
|
|
447
|
+
|
|
434
448
|
/**
|
|
435
449
|
* @generated from field: livekit.IngressAudioOptions audio = 6;
|
|
436
450
|
*/
|
|
@@ -531,6 +545,11 @@ export declare class IngressState extends Message<IngressState> {
|
|
|
531
545
|
*/
|
|
532
546
|
endedAt: bigint;
|
|
533
547
|
|
|
548
|
+
/**
|
|
549
|
+
* @generated from field: int64 updated_at = 10;
|
|
550
|
+
*/
|
|
551
|
+
updatedAt: bigint;
|
|
552
|
+
|
|
534
553
|
/**
|
|
535
554
|
* @generated from field: string resource_id = 9;
|
|
536
555
|
*/
|
|
@@ -704,10 +723,16 @@ export declare class UpdateIngressRequest extends Message<UpdateIngressRequest>
|
|
|
704
723
|
participantMetadata: string;
|
|
705
724
|
|
|
706
725
|
/**
|
|
707
|
-
* @generated from field: optional bool bypass_transcoding = 8;
|
|
726
|
+
* @generated from field: optional bool bypass_transcoding = 8 [deprecated = true];
|
|
727
|
+
* @deprecated
|
|
708
728
|
*/
|
|
709
729
|
bypassTranscoding?: boolean;
|
|
710
730
|
|
|
731
|
+
/**
|
|
732
|
+
* @generated from field: optional bool enable_transcoding = 10;
|
|
733
|
+
*/
|
|
734
|
+
enableTranscoding?: boolean;
|
|
735
|
+
|
|
711
736
|
/**
|
|
712
737
|
* @generated from field: livekit.IngressAudioOptions audio = 6;
|
|
713
738
|
*/
|
|
@@ -76,6 +76,7 @@ export const CreateIngressRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
76
76
|
{ no: 5, name: "participant_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
77
77
|
{ no: 10, name: "participant_metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
78
78
|
{ no: 8, name: "bypass_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
79
|
+
{ no: 11, name: "enable_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
79
80
|
{ no: 6, name: "audio", kind: "message", T: IngressAudioOptions },
|
|
80
81
|
{ no: 7, name: "video", kind: "message", T: IngressVideoOptions },
|
|
81
82
|
],
|
|
@@ -144,6 +145,7 @@ export const IngressInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
144
145
|
{ no: 4, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
145
146
|
{ no: 5, name: "input_type", kind: "enum", T: proto3.getEnumType(IngressInput) },
|
|
146
147
|
{ no: 13, name: "bypass_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
148
|
+
{ no: 15, name: "enable_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
147
149
|
{ no: 6, name: "audio", kind: "message", T: IngressAudioOptions },
|
|
148
150
|
{ no: 7, name: "video", kind: "message", T: IngressVideoOptions },
|
|
149
151
|
{ no: 8, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -168,6 +170,7 @@ export const IngressState = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
168
170
|
{ no: 5, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
169
171
|
{ no: 7, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
170
172
|
{ no: 8, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
173
|
+
{ no: 10, name: "updated_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
171
174
|
{ no: 9, name: "resource_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
172
175
|
{ no: 6, name: "tracks", kind: "message", T: TrackInfo, repeated: true },
|
|
173
176
|
],
|
|
@@ -227,6 +230,7 @@ export const UpdateIngressRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
227
230
|
{ no: 5, name: "participant_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
228
231
|
{ no: 9, name: "participant_metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
229
232
|
{ no: 8, name: "bypass_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
233
|
+
{ no: 10, name: "enable_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
230
234
|
{ no: 6, name: "audio", kind: "message", T: IngressAudioOptions },
|
|
231
235
|
{ no: 7, name: "video", kind: "message", T: IngressVideoOptions },
|
|
232
236
|
],
|
|
@@ -911,6 +911,11 @@ export declare class TrackInfo extends Message<TrackInfo> {
|
|
|
911
911
|
*/
|
|
912
912
|
version?: TimedVersion;
|
|
913
913
|
|
|
914
|
+
/**
|
|
915
|
+
* @generated from field: repeated livekit.AudioTrackFeature audio_features = 19;
|
|
916
|
+
*/
|
|
917
|
+
audioFeatures: AudioTrackFeature[];
|
|
918
|
+
|
|
914
919
|
constructor(data?: PartialMessage<TrackInfo>);
|
|
915
920
|
|
|
916
921
|
static readonly runtime: typeof proto3;
|
|
@@ -1024,6 +1029,12 @@ export declare class DataPacket extends Message<DataPacket> {
|
|
|
1024
1029
|
*/
|
|
1025
1030
|
value: SipDTMF;
|
|
1026
1031
|
case: "sipDtmf";
|
|
1032
|
+
} | {
|
|
1033
|
+
/**
|
|
1034
|
+
* @generated from field: livekit.Transcription transcription = 7;
|
|
1035
|
+
*/
|
|
1036
|
+
value: Transcription;
|
|
1037
|
+
case: "transcription";
|
|
1027
1038
|
} | { case: undefined; value?: undefined };
|
|
1028
1039
|
|
|
1029
1040
|
constructor(data?: PartialMessage<DataPacket>);
|
|
@@ -1166,6 +1177,25 @@ export declare class UserPacket extends Message<UserPacket> {
|
|
|
1166
1177
|
*/
|
|
1167
1178
|
topic?: string;
|
|
1168
1179
|
|
|
1180
|
+
/**
|
|
1181
|
+
* Unique ID to indentify the message
|
|
1182
|
+
*
|
|
1183
|
+
* @generated from field: optional string id = 8;
|
|
1184
|
+
*/
|
|
1185
|
+
id?: string;
|
|
1186
|
+
|
|
1187
|
+
/**
|
|
1188
|
+
* start and end time allow relating the message to specific media time
|
|
1189
|
+
*
|
|
1190
|
+
* @generated from field: optional uint64 start_time = 9;
|
|
1191
|
+
*/
|
|
1192
|
+
startTime?: bigint;
|
|
1193
|
+
|
|
1194
|
+
/**
|
|
1195
|
+
* @generated from field: optional uint64 end_time = 10;
|
|
1196
|
+
*/
|
|
1197
|
+
endTime?: bigint;
|
|
1198
|
+
|
|
1169
1199
|
constructor(data?: PartialMessage<UserPacket>);
|
|
1170
1200
|
|
|
1171
1201
|
static readonly runtime: typeof proto3;
|
|
@@ -1210,6 +1240,89 @@ export declare class SipDTMF extends Message<SipDTMF> {
|
|
|
1210
1240
|
static equals(a: SipDTMF | PlainMessage<SipDTMF> | undefined, b: SipDTMF | PlainMessage<SipDTMF> | undefined): boolean;
|
|
1211
1241
|
}
|
|
1212
1242
|
|
|
1243
|
+
/**
|
|
1244
|
+
* @generated from message livekit.Transcription
|
|
1245
|
+
*/
|
|
1246
|
+
export declare class Transcription extends Message<Transcription> {
|
|
1247
|
+
/**
|
|
1248
|
+
* @generated from field: string participant_identity = 2;
|
|
1249
|
+
*/
|
|
1250
|
+
participantIdentity: string;
|
|
1251
|
+
|
|
1252
|
+
/**
|
|
1253
|
+
* @generated from field: string track_id = 3;
|
|
1254
|
+
*/
|
|
1255
|
+
trackId: string;
|
|
1256
|
+
|
|
1257
|
+
/**
|
|
1258
|
+
* @generated from field: repeated livekit.TranscriptionSegment segments = 4;
|
|
1259
|
+
*/
|
|
1260
|
+
segments: TranscriptionSegment[];
|
|
1261
|
+
|
|
1262
|
+
constructor(data?: PartialMessage<Transcription>);
|
|
1263
|
+
|
|
1264
|
+
static readonly runtime: typeof proto3;
|
|
1265
|
+
static readonly typeName = "livekit.Transcription";
|
|
1266
|
+
static readonly fields: FieldList;
|
|
1267
|
+
|
|
1268
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Transcription;
|
|
1269
|
+
|
|
1270
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Transcription;
|
|
1271
|
+
|
|
1272
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Transcription;
|
|
1273
|
+
|
|
1274
|
+
static equals(a: Transcription | PlainMessage<Transcription> | undefined, b: Transcription | PlainMessage<Transcription> | undefined): boolean;
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
/**
|
|
1278
|
+
* @generated from message livekit.TranscriptionSegment
|
|
1279
|
+
*/
|
|
1280
|
+
export declare class TranscriptionSegment extends Message<TranscriptionSegment> {
|
|
1281
|
+
/**
|
|
1282
|
+
* @generated from field: string id = 1;
|
|
1283
|
+
*/
|
|
1284
|
+
id: string;
|
|
1285
|
+
|
|
1286
|
+
/**
|
|
1287
|
+
* @generated from field: string text = 2;
|
|
1288
|
+
*/
|
|
1289
|
+
text: string;
|
|
1290
|
+
|
|
1291
|
+
/**
|
|
1292
|
+
* @generated from field: uint64 start_time = 3;
|
|
1293
|
+
*/
|
|
1294
|
+
startTime: bigint;
|
|
1295
|
+
|
|
1296
|
+
/**
|
|
1297
|
+
* @generated from field: uint64 end_time = 4;
|
|
1298
|
+
*/
|
|
1299
|
+
endTime: bigint;
|
|
1300
|
+
|
|
1301
|
+
/**
|
|
1302
|
+
* @generated from field: bool final = 5;
|
|
1303
|
+
*/
|
|
1304
|
+
final: boolean;
|
|
1305
|
+
|
|
1306
|
+
/**
|
|
1307
|
+
* @generated from field: string language = 6;
|
|
1308
|
+
*/
|
|
1309
|
+
language: string;
|
|
1310
|
+
|
|
1311
|
+
constructor(data?: PartialMessage<TranscriptionSegment>);
|
|
1312
|
+
|
|
1313
|
+
static readonly runtime: typeof proto3;
|
|
1314
|
+
static readonly typeName = "livekit.TranscriptionSegment";
|
|
1315
|
+
static readonly fields: FieldList;
|
|
1316
|
+
|
|
1317
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TranscriptionSegment;
|
|
1318
|
+
|
|
1319
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TranscriptionSegment;
|
|
1320
|
+
|
|
1321
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TranscriptionSegment;
|
|
1322
|
+
|
|
1323
|
+
static equals(a: TranscriptionSegment | PlainMessage<TranscriptionSegment> | undefined, b: TranscriptionSegment | PlainMessage<TranscriptionSegment> | undefined): boolean;
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1213
1326
|
/**
|
|
1214
1327
|
* @generated from message livekit.ParticipantTracks
|
|
1215
1328
|
*/
|
|
@@ -347,6 +347,7 @@ export const TrackInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
347
347
|
{ no: 16, name: "encryption", kind: "enum", T: proto3.getEnumType(Encryption_Type) },
|
|
348
348
|
{ no: 17, name: "stream", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
349
349
|
{ no: 18, name: "version", kind: "message", T: TimedVersion },
|
|
350
|
+
{ no: 19, name: "audio_features", kind: "enum", T: proto3.getEnumType(AudioTrackFeature), repeated: true },
|
|
350
351
|
],
|
|
351
352
|
);
|
|
352
353
|
|
|
@@ -380,6 +381,7 @@ export const DataPacket = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
380
381
|
{ no: 2, name: "user", kind: "message", T: UserPacket, oneof: "value" },
|
|
381
382
|
{ no: 3, name: "speaker", kind: "message", T: ActiveSpeakerUpdate, oneof: "value" },
|
|
382
383
|
{ no: 6, name: "sip_dtmf", kind: "message", T: SipDTMF, oneof: "value" },
|
|
384
|
+
{ no: 7, name: "transcription", kind: "message", T: Transcription, oneof: "value" },
|
|
383
385
|
],
|
|
384
386
|
);
|
|
385
387
|
|
|
@@ -428,6 +430,9 @@ export const UserPacket = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
428
430
|
{ no: 3, name: "destination_sids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
429
431
|
{ no: 6, name: "destination_identities", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
430
432
|
{ no: 4, name: "topic", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
433
|
+
{ no: 8, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
434
|
+
{ no: 9, name: "start_time", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
435
|
+
{ no: 10, name: "end_time", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
431
436
|
],
|
|
432
437
|
);
|
|
433
438
|
|
|
@@ -442,6 +447,33 @@ export const SipDTMF = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
442
447
|
],
|
|
443
448
|
);
|
|
444
449
|
|
|
450
|
+
/**
|
|
451
|
+
* @generated from message livekit.Transcription
|
|
452
|
+
*/
|
|
453
|
+
export const Transcription = /*@__PURE__*/ proto3.makeMessageType(
|
|
454
|
+
"livekit.Transcription",
|
|
455
|
+
() => [
|
|
456
|
+
{ no: 2, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
457
|
+
{ no: 3, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
458
|
+
{ no: 4, name: "segments", kind: "message", T: TranscriptionSegment, repeated: true },
|
|
459
|
+
],
|
|
460
|
+
);
|
|
461
|
+
|
|
462
|
+
/**
|
|
463
|
+
* @generated from message livekit.TranscriptionSegment
|
|
464
|
+
*/
|
|
465
|
+
export const TranscriptionSegment = /*@__PURE__*/ proto3.makeMessageType(
|
|
466
|
+
"livekit.TranscriptionSegment",
|
|
467
|
+
() => [
|
|
468
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
469
|
+
{ no: 2, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
470
|
+
{ no: 3, name: "start_time", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
471
|
+
{ no: 4, name: "end_time", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
472
|
+
{ no: 5, name: "final", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
473
|
+
{ no: 6, name: "language", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
474
|
+
],
|
|
475
|
+
);
|
|
476
|
+
|
|
445
477
|
/**
|
|
446
478
|
* @generated from message livekit.ParticipantTracks
|
|
447
479
|
*/
|
|
@@ -142,7 +142,8 @@ export declare class SignalRequest extends Message<SignalRequest> {
|
|
|
142
142
|
/**
|
|
143
143
|
* Update published video layers
|
|
144
144
|
*
|
|
145
|
-
* @generated from field: livekit.UpdateVideoLayers update_layers = 10;
|
|
145
|
+
* @generated from field: livekit.UpdateVideoLayers update_layers = 10 [deprecated = true];
|
|
146
|
+
* @deprecated
|
|
146
147
|
*/
|
|
147
148
|
value: UpdateVideoLayers;
|
|
148
149
|
case: "updateLayers";
|
|
@@ -1084,6 +1085,7 @@ export declare enum LeaveRequest_Action {
|
|
|
1084
1085
|
* message to indicate published video track dimensions are changing
|
|
1085
1086
|
*
|
|
1086
1087
|
* @generated from message livekit.UpdateVideoLayers
|
|
1088
|
+
* @deprecated
|
|
1087
1089
|
*/
|
|
1088
1090
|
export declare class UpdateVideoLayers extends Message<UpdateVideoLayers> {
|
|
1089
1091
|
/**
|
|
@@ -323,6 +323,7 @@ export const LeaveRequest_Action = /*@__PURE__*/ proto3.makeEnum(
|
|
|
323
323
|
* message to indicate published video track dimensions are changing
|
|
324
324
|
*
|
|
325
325
|
* @generated from message livekit.UpdateVideoLayers
|
|
326
|
+
* @deprecated
|
|
326
327
|
*/
|
|
327
328
|
export const UpdateVideoLayers = /*@__PURE__*/ proto3.makeMessageType(
|
|
328
329
|
"livekit.UpdateVideoLayers",
|
|
@@ -84,6 +84,20 @@ export declare class CreateSIPTrunkRequest extends Message<CreateSIPTrunkRequest
|
|
|
84
84
|
*/
|
|
85
85
|
outboundPassword: string;
|
|
86
86
|
|
|
87
|
+
/**
|
|
88
|
+
* Optional human-readable name for the Trunk.
|
|
89
|
+
*
|
|
90
|
+
* @generated from field: string name = 10;
|
|
91
|
+
*/
|
|
92
|
+
name: string;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Optional user-defined metadata for the Trunk.
|
|
96
|
+
*
|
|
97
|
+
* @generated from field: string metadata = 11;
|
|
98
|
+
*/
|
|
99
|
+
metadata: string;
|
|
100
|
+
|
|
87
101
|
constructor(data?: PartialMessage<CreateSIPTrunkRequest>);
|
|
88
102
|
|
|
89
103
|
static readonly runtime: typeof proto3;
|
|
@@ -168,6 +182,20 @@ export declare class SIPTrunkInfo extends Message<SIPTrunkInfo> {
|
|
|
168
182
|
*/
|
|
169
183
|
outboundPassword: string;
|
|
170
184
|
|
|
185
|
+
/**
|
|
186
|
+
* Human-readable name for the Trunk.
|
|
187
|
+
*
|
|
188
|
+
* @generated from field: string name = 11;
|
|
189
|
+
*/
|
|
190
|
+
name: string;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* User-defined metadata for the Trunk.
|
|
194
|
+
*
|
|
195
|
+
* @generated from field: string metadata = 12;
|
|
196
|
+
*/
|
|
197
|
+
metadata: string;
|
|
198
|
+
|
|
171
199
|
constructor(data?: PartialMessage<SIPTrunkInfo>);
|
|
172
200
|
|
|
173
201
|
static readonly runtime: typeof proto3;
|
|
@@ -383,6 +411,20 @@ export declare class CreateSIPDispatchRuleRequest extends Message<CreateSIPDispa
|
|
|
383
411
|
*/
|
|
384
412
|
hidePhoneNumber: boolean;
|
|
385
413
|
|
|
414
|
+
/**
|
|
415
|
+
* Optional human-readable name for the Dispatch Rule.
|
|
416
|
+
*
|
|
417
|
+
* @generated from field: string name = 4;
|
|
418
|
+
*/
|
|
419
|
+
name: string;
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* Optional user-defined metadata for the Dispatch Rule.
|
|
423
|
+
*
|
|
424
|
+
* @generated from field: string metadata = 5;
|
|
425
|
+
*/
|
|
426
|
+
metadata: string;
|
|
427
|
+
|
|
386
428
|
constructor(data?: PartialMessage<CreateSIPDispatchRuleRequest>);
|
|
387
429
|
|
|
388
430
|
static readonly runtime: typeof proto3;
|
|
@@ -422,6 +464,21 @@ export declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
|
|
|
422
464
|
*/
|
|
423
465
|
hidePhoneNumber: boolean;
|
|
424
466
|
|
|
467
|
+
/**
|
|
468
|
+
* Human-readable name for the Dispatch Rule.
|
|
469
|
+
*
|
|
470
|
+
* @generated from field: string name = 5;
|
|
471
|
+
*/
|
|
472
|
+
name: string;
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* User-defined metadata for the Dispatch Rule.
|
|
476
|
+
* Participants created by this rule will inherit this metadata.
|
|
477
|
+
*
|
|
478
|
+
* @generated from field: string metadata = 6;
|
|
479
|
+
*/
|
|
480
|
+
metadata: string;
|
|
481
|
+
|
|
425
482
|
constructor(data?: PartialMessage<SIPDispatchRuleInfo>);
|
|
426
483
|
|
|
427
484
|
static readonly runtime: typeof proto3;
|
|
@@ -539,6 +596,20 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
|
|
|
539
596
|
*/
|
|
540
597
|
participantIdentity: string;
|
|
541
598
|
|
|
599
|
+
/**
|
|
600
|
+
* Optional name of the participant in LiveKit room
|
|
601
|
+
*
|
|
602
|
+
* @generated from field: string participant_name = 7;
|
|
603
|
+
*/
|
|
604
|
+
participantName: string;
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* Optional user-defined metadata. Will be attached to a created Participant in the room.
|
|
608
|
+
*
|
|
609
|
+
* @generated from field: string participant_metadata = 8;
|
|
610
|
+
*/
|
|
611
|
+
participantMetadata: string;
|
|
612
|
+
|
|
542
613
|
/**
|
|
543
614
|
* Optionally send following DTMF digits (extension codes) when making a call.
|
|
544
615
|
* Character 'w' can be used to add a 0.5 sec delay.
|
|
@@ -588,6 +659,11 @@ export declare class SIPParticipantInfo extends Message<SIPParticipantInfo> {
|
|
|
588
659
|
*/
|
|
589
660
|
roomName: string;
|
|
590
661
|
|
|
662
|
+
/**
|
|
663
|
+
* @generated from field: string sip_call_id = 4;
|
|
664
|
+
*/
|
|
665
|
+
sipCallId: string;
|
|
666
|
+
|
|
591
667
|
constructor(data?: PartialMessage<SIPParticipantInfo>);
|
|
592
668
|
|
|
593
669
|
static readonly runtime: typeof proto3;
|
|
@@ -34,6 +34,8 @@ export const CreateSIPTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
34
34
|
{ no: 6, name: "inbound_password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
35
35
|
{ no: 7, name: "outbound_username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
36
36
|
{ no: 8, name: "outbound_password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
37
|
+
{ no: 10, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
38
|
+
{ no: 11, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
37
39
|
],
|
|
38
40
|
);
|
|
39
41
|
|
|
@@ -53,6 +55,8 @@ export const SIPTrunkInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
53
55
|
{ no: 7, name: "inbound_password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
54
56
|
{ no: 8, name: "outbound_username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
55
57
|
{ no: 9, name: "outbound_password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
58
|
+
{ no: 11, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
59
|
+
{ no: 12, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
56
60
|
],
|
|
57
61
|
);
|
|
58
62
|
|
|
@@ -126,6 +130,8 @@ export const CreateSIPDispatchRuleRequest = /*@__PURE__*/ proto3.makeMessageType
|
|
|
126
130
|
{ no: 1, name: "rule", kind: "message", T: SIPDispatchRule },
|
|
127
131
|
{ no: 2, name: "trunk_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
128
132
|
{ no: 3, name: "hide_phone_number", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
133
|
+
{ no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
134
|
+
{ no: 5, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
129
135
|
],
|
|
130
136
|
);
|
|
131
137
|
|
|
@@ -139,6 +145,8 @@ export const SIPDispatchRuleInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
139
145
|
{ no: 2, name: "rule", kind: "message", T: SIPDispatchRule },
|
|
140
146
|
{ no: 3, name: "trunk_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
141
147
|
{ no: 4, name: "hide_phone_number", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
148
|
+
{ no: 5, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
149
|
+
{ no: 6, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
142
150
|
],
|
|
143
151
|
);
|
|
144
152
|
|
|
@@ -183,6 +191,8 @@ export const CreateSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
183
191
|
{ no: 2, name: "sip_call_to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
184
192
|
{ no: 3, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
185
193
|
{ no: 4, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
194
|
+
{ no: 7, name: "participant_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
195
|
+
{ no: 8, name: "participant_metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
186
196
|
{ no: 5, name: "dtmf", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
187
197
|
{ no: 6, name: "play_ringtone", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
188
198
|
],
|
|
@@ -197,6 +207,7 @@ export const SIPParticipantInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
197
207
|
{ no: 1, name: "participant_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
198
208
|
{ no: 2, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
199
209
|
{ no: 3, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
210
|
+
{ no: 4, name: "sip_call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
200
211
|
],
|
|
201
212
|
);
|
|
202
213
|
|
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.15.0';
|