@livekit/protocol 1.14.0 → 1.16.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 +6 -0
- package/src/gen/livekit_egress_pb.js +1 -0
- package/src/gen/livekit_models_pb.d.ts +5 -5
- package/src/gen/livekit_models_pb.js +1 -1
- package/src/gen/livekit_rtc_pb.d.ts +8 -0
- package/src/gen/livekit_rtc_pb.js +1 -0
- package/src/gen/livekit_sip_pb.d.ts +83 -0
- package/src/gen/livekit_sip_pb.js +12 -0
- package/src/gen/version.js +1 -1
package/package.json
CHANGED
|
@@ -1999,6 +1999,12 @@ export declare class AutoTrackEgress extends Message<AutoTrackEgress> {
|
|
|
1999
1999
|
*/
|
|
2000
2000
|
value: AzureBlobUpload;
|
|
2001
2001
|
case: "azure";
|
|
2002
|
+
} | {
|
|
2003
|
+
/**
|
|
2004
|
+
* @generated from field: livekit.AliOSSUpload aliOSS = 6;
|
|
2005
|
+
*/
|
|
2006
|
+
value: AliOSSUpload;
|
|
2007
|
+
case: "aliOSS";
|
|
2002
2008
|
} | { case: undefined; value?: undefined };
|
|
2003
2009
|
|
|
2004
2010
|
constructor(data?: PartialMessage<AutoTrackEgress>);
|
|
@@ -582,6 +582,7 @@ export const AutoTrackEgress = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
582
582
|
{ no: 2, name: "s3", kind: "message", T: S3Upload, oneof: "output" },
|
|
583
583
|
{ no: 3, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" },
|
|
584
584
|
{ no: 4, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" },
|
|
585
|
+
{ no: 6, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" },
|
|
585
586
|
],
|
|
586
587
|
);
|
|
587
588
|
|
|
@@ -1259,11 +1259,6 @@ export declare class Transcription extends Message<Transcription> {
|
|
|
1259
1259
|
*/
|
|
1260
1260
|
segments: TranscriptionSegment[];
|
|
1261
1261
|
|
|
1262
|
-
/**
|
|
1263
|
-
* @generated from field: string language = 5;
|
|
1264
|
-
*/
|
|
1265
|
-
language: string;
|
|
1266
|
-
|
|
1267
1262
|
constructor(data?: PartialMessage<Transcription>);
|
|
1268
1263
|
|
|
1269
1264
|
static readonly runtime: typeof proto3;
|
|
@@ -1308,6 +1303,11 @@ export declare class TranscriptionSegment extends Message<TranscriptionSegment>
|
|
|
1308
1303
|
*/
|
|
1309
1304
|
final: boolean;
|
|
1310
1305
|
|
|
1306
|
+
/**
|
|
1307
|
+
* @generated from field: string language = 6;
|
|
1308
|
+
*/
|
|
1309
|
+
language: string;
|
|
1310
|
+
|
|
1311
1311
|
constructor(data?: PartialMessage<TranscriptionSegment>);
|
|
1312
1312
|
|
|
1313
1313
|
static readonly runtime: typeof proto3;
|
|
@@ -456,7 +456,6 @@ export const Transcription = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
456
456
|
{ no: 2, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
457
457
|
{ no: 3, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
458
458
|
{ no: 4, name: "segments", kind: "message", T: TranscriptionSegment, repeated: true },
|
|
459
|
-
{ no: 5, name: "language", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
460
459
|
],
|
|
461
460
|
);
|
|
462
461
|
|
|
@@ -471,6 +470,7 @@ export const TranscriptionSegment = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
471
470
|
{ no: 3, name: "start_time", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
472
471
|
{ no: 4, name: "end_time", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
473
472
|
{ no: 5, name: "final", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
473
|
+
{ no: 6, name: "language", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
474
474
|
],
|
|
475
475
|
);
|
|
476
476
|
|
|
@@ -1695,6 +1695,14 @@ export declare class SimulateScenario extends Message<SimulateScenario> {
|
|
|
1695
1695
|
*/
|
|
1696
1696
|
value: boolean;
|
|
1697
1697
|
case: "disconnectSignalOnResumeNoMessages";
|
|
1698
|
+
} | {
|
|
1699
|
+
/**
|
|
1700
|
+
* full reconnect leave request
|
|
1701
|
+
*
|
|
1702
|
+
* @generated from field: bool leave_request_full_reconnect = 9;
|
|
1703
|
+
*/
|
|
1704
|
+
value: boolean;
|
|
1705
|
+
case: "leaveRequestFullReconnect";
|
|
1698
1706
|
} | { case: undefined; value?: undefined };
|
|
1699
1707
|
|
|
1700
1708
|
constructor(data?: PartialMessage<SimulateScenario>);
|
|
@@ -531,6 +531,7 @@ export const SimulateScenario = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
531
531
|
{ no: 6, name: "subscriber_bandwidth", kind: "scalar", T: 3 /* ScalarType.INT64 */, oneof: "scenario" },
|
|
532
532
|
{ no: 7, name: "disconnect_signal_on_resume", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "scenario" },
|
|
533
533
|
{ no: 8, name: "disconnect_signal_on_resume_no_messages", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "scenario" },
|
|
534
|
+
{ no: 9, name: "leave_request_full_reconnect", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "scenario" },
|
|
534
535
|
],
|
|
535
536
|
);
|
|
536
537
|
|
|
@@ -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,27 @@ export declare class CreateSIPDispatchRuleRequest extends Message<CreateSIPDispa
|
|
|
383
411
|
*/
|
|
384
412
|
hidePhoneNumber: boolean;
|
|
385
413
|
|
|
414
|
+
/**
|
|
415
|
+
* Dispatch Rule will only accept a call made to these numbers (if set).
|
|
416
|
+
*
|
|
417
|
+
* @generated from field: repeated string inbound_numbers = 6;
|
|
418
|
+
*/
|
|
419
|
+
inboundNumbers: string[];
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* Optional human-readable name for the Dispatch Rule.
|
|
423
|
+
*
|
|
424
|
+
* @generated from field: string name = 4;
|
|
425
|
+
*/
|
|
426
|
+
name: string;
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* Optional user-defined metadata for the Dispatch Rule.
|
|
430
|
+
*
|
|
431
|
+
* @generated from field: string metadata = 5;
|
|
432
|
+
*/
|
|
433
|
+
metadata: string;
|
|
434
|
+
|
|
386
435
|
constructor(data?: PartialMessage<CreateSIPDispatchRuleRequest>);
|
|
387
436
|
|
|
388
437
|
static readonly runtime: typeof proto3;
|
|
@@ -422,6 +471,28 @@ export declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
|
|
|
422
471
|
*/
|
|
423
472
|
hidePhoneNumber: boolean;
|
|
424
473
|
|
|
474
|
+
/**
|
|
475
|
+
* Dispatch Rule will only accept a call made to these numbers (if set).
|
|
476
|
+
*
|
|
477
|
+
* @generated from field: repeated string inbound_numbers = 7;
|
|
478
|
+
*/
|
|
479
|
+
inboundNumbers: string[];
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* Human-readable name for the Dispatch Rule.
|
|
483
|
+
*
|
|
484
|
+
* @generated from field: string name = 5;
|
|
485
|
+
*/
|
|
486
|
+
name: string;
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* User-defined metadata for the Dispatch Rule.
|
|
490
|
+
* Participants created by this rule will inherit this metadata.
|
|
491
|
+
*
|
|
492
|
+
* @generated from field: string metadata = 6;
|
|
493
|
+
*/
|
|
494
|
+
metadata: string;
|
|
495
|
+
|
|
425
496
|
constructor(data?: PartialMessage<SIPDispatchRuleInfo>);
|
|
426
497
|
|
|
427
498
|
static readonly runtime: typeof proto3;
|
|
@@ -546,6 +617,13 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
|
|
|
546
617
|
*/
|
|
547
618
|
participantName: string;
|
|
548
619
|
|
|
620
|
+
/**
|
|
621
|
+
* Optional user-defined metadata. Will be attached to a created Participant in the room.
|
|
622
|
+
*
|
|
623
|
+
* @generated from field: string participant_metadata = 8;
|
|
624
|
+
*/
|
|
625
|
+
participantMetadata: string;
|
|
626
|
+
|
|
549
627
|
/**
|
|
550
628
|
* Optionally send following DTMF digits (extension codes) when making a call.
|
|
551
629
|
* Character 'w' can be used to add a 0.5 sec delay.
|
|
@@ -595,6 +673,11 @@ export declare class SIPParticipantInfo extends Message<SIPParticipantInfo> {
|
|
|
595
673
|
*/
|
|
596
674
|
roomName: string;
|
|
597
675
|
|
|
676
|
+
/**
|
|
677
|
+
* @generated from field: string sip_call_id = 4;
|
|
678
|
+
*/
|
|
679
|
+
sipCallId: string;
|
|
680
|
+
|
|
598
681
|
constructor(data?: PartialMessage<SIPParticipantInfo>);
|
|
599
682
|
|
|
600
683
|
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,9 @@ 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: 6, name: "inbound_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
134
|
+
{ no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
135
|
+
{ no: 5, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
129
136
|
],
|
|
130
137
|
);
|
|
131
138
|
|
|
@@ -139,6 +146,9 @@ export const SIPDispatchRuleInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
139
146
|
{ no: 2, name: "rule", kind: "message", T: SIPDispatchRule },
|
|
140
147
|
{ no: 3, name: "trunk_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
141
148
|
{ no: 4, name: "hide_phone_number", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
149
|
+
{ no: 7, name: "inbound_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
150
|
+
{ no: 5, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
151
|
+
{ no: 6, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
142
152
|
],
|
|
143
153
|
);
|
|
144
154
|
|
|
@@ -184,6 +194,7 @@ export const CreateSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
184
194
|
{ no: 3, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
185
195
|
{ no: 4, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
186
196
|
{ no: 7, name: "participant_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
197
|
+
{ no: 8, name: "participant_metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
187
198
|
{ no: 5, name: "dtmf", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
188
199
|
{ no: 6, name: "play_ringtone", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
189
200
|
],
|
|
@@ -198,6 +209,7 @@ export const SIPParticipantInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
198
209
|
{ no: 1, name: "participant_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
199
210
|
{ no: 2, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
200
211
|
{ no: 3, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
212
|
+
{ no: 4, name: "sip_call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
201
213
|
],
|
|
202
214
|
);
|
|
203
215
|
|
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.16.0';
|