@livekit/protocol 1.15.0 → 1.17.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 +11 -0
- package/src/gen/livekit_egress_pb.js +2 -0
- package/src/gen/livekit_models_pb.d.ts +4 -2
- 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 +46 -0
- package/src/gen/livekit_sip_pb.js +16 -0
- package/src/gen/version.js +1 -1
package/package.json
CHANGED
|
@@ -1571,6 +1571,11 @@ export declare class EgressInfo extends Message<EgressInfo> {
|
|
|
1571
1571
|
*/
|
|
1572
1572
|
error: string;
|
|
1573
1573
|
|
|
1574
|
+
/**
|
|
1575
|
+
* @generated from field: int32 error_code = 22;
|
|
1576
|
+
*/
|
|
1577
|
+
errorCode: number;
|
|
1578
|
+
|
|
1574
1579
|
/**
|
|
1575
1580
|
* @generated from oneof livekit.EgressInfo.request
|
|
1576
1581
|
*/
|
|
@@ -1999,6 +2004,12 @@ export declare class AutoTrackEgress extends Message<AutoTrackEgress> {
|
|
|
1999
2004
|
*/
|
|
2000
2005
|
value: AzureBlobUpload;
|
|
2001
2006
|
case: "azure";
|
|
2007
|
+
} | {
|
|
2008
|
+
/**
|
|
2009
|
+
* @generated from field: livekit.AliOSSUpload aliOSS = 6;
|
|
2010
|
+
*/
|
|
2011
|
+
value: AliOSSUpload;
|
|
2012
|
+
case: "aliOSS";
|
|
2002
2013
|
} | { case: undefined; value?: undefined };
|
|
2003
2014
|
|
|
2004
2015
|
constructor(data?: PartialMessage<AutoTrackEgress>);
|
|
@@ -460,6 +460,7 @@ export const EgressInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
460
460
|
{ no: 18, name: "updated_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
461
461
|
{ no: 21, name: "details", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
462
462
|
{ no: 9, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
463
|
+
{ no: 22, name: "error_code", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
463
464
|
{ no: 4, name: "room_composite", kind: "message", T: RoomCompositeEgressRequest, oneof: "request" },
|
|
464
465
|
{ no: 14, name: "web", kind: "message", T: WebEgressRequest, oneof: "request" },
|
|
465
466
|
{ no: 19, name: "participant", kind: "message", T: ParticipantEgressRequest, oneof: "request" },
|
|
@@ -582,6 +583,7 @@ export const AutoTrackEgress = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
582
583
|
{ no: 2, name: "s3", kind: "message", T: S3Upload, oneof: "output" },
|
|
583
584
|
{ no: 3, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" },
|
|
584
585
|
{ no: 4, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" },
|
|
586
|
+
{ no: 6, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" },
|
|
585
587
|
],
|
|
586
588
|
);
|
|
587
589
|
|
|
@@ -1245,9 +1245,11 @@ export declare class SipDTMF extends Message<SipDTMF> {
|
|
|
1245
1245
|
*/
|
|
1246
1246
|
export declare class Transcription extends Message<Transcription> {
|
|
1247
1247
|
/**
|
|
1248
|
-
*
|
|
1248
|
+
* Participant that got its speech transcribed
|
|
1249
|
+
*
|
|
1250
|
+
* @generated from field: string transcribed_participant_identity = 2;
|
|
1249
1251
|
*/
|
|
1250
|
-
|
|
1252
|
+
transcribedParticipantIdentity: string;
|
|
1251
1253
|
|
|
1252
1254
|
/**
|
|
1253
1255
|
* @generated from field: string track_id = 3;
|
|
@@ -453,7 +453,7 @@ export const SipDTMF = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
453
453
|
export const Transcription = /*@__PURE__*/ proto3.makeMessageType(
|
|
454
454
|
"livekit.Transcription",
|
|
455
455
|
() => [
|
|
456
|
-
{ no: 2, name: "
|
|
456
|
+
{ no: 2, name: "transcribed_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
459
|
],
|
|
@@ -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
|
|
|
@@ -20,6 +20,31 @@
|
|
|
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
|
|
25
50
|
*/
|
|
@@ -144,6 +169,13 @@ export declare class SIPTrunkInfo extends Message<SIPTrunkInfo> {
|
|
|
144
169
|
*/
|
|
145
170
|
outboundNumber: string;
|
|
146
171
|
|
|
172
|
+
/**
|
|
173
|
+
* Transport used for inbound and outbound calls.
|
|
174
|
+
*
|
|
175
|
+
* @generated from field: livekit.SIPTransport transport = 13;
|
|
176
|
+
*/
|
|
177
|
+
transport: SIPTransport;
|
|
178
|
+
|
|
147
179
|
/**
|
|
148
180
|
* @generated from field: repeated string inbound_numbers_regex = 5 [deprecated = true];
|
|
149
181
|
* @deprecated
|
|
@@ -411,6 +443,13 @@ export declare class CreateSIPDispatchRuleRequest extends Message<CreateSIPDispa
|
|
|
411
443
|
*/
|
|
412
444
|
hidePhoneNumber: boolean;
|
|
413
445
|
|
|
446
|
+
/**
|
|
447
|
+
* Dispatch Rule will only accept a call made to these numbers (if set).
|
|
448
|
+
*
|
|
449
|
+
* @generated from field: repeated string inbound_numbers = 6;
|
|
450
|
+
*/
|
|
451
|
+
inboundNumbers: string[];
|
|
452
|
+
|
|
414
453
|
/**
|
|
415
454
|
* Optional human-readable name for the Dispatch Rule.
|
|
416
455
|
*
|
|
@@ -464,6 +503,13 @@ export declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
|
|
|
464
503
|
*/
|
|
465
504
|
hidePhoneNumber: boolean;
|
|
466
505
|
|
|
506
|
+
/**
|
|
507
|
+
* Dispatch Rule will only accept a call made to these numbers (if set).
|
|
508
|
+
*
|
|
509
|
+
* @generated from field: repeated string inbound_numbers = 7;
|
|
510
|
+
*/
|
|
511
|
+
inboundNumbers: string[];
|
|
512
|
+
|
|
467
513
|
/**
|
|
468
514
|
* Human-readable name for the Dispatch Rule.
|
|
469
515
|
*
|
|
@@ -19,6 +19,19 @@
|
|
|
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
|
|
24
37
|
*/
|
|
@@ -49,6 +62,7 @@ export const SIPTrunkInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
49
62
|
{ no: 2, name: "inbound_addresses", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
50
63
|
{ no: 3, name: "outbound_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
51
64
|
{ no: 4, name: "outbound_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
65
|
+
{ no: 13, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport) },
|
|
52
66
|
{ no: 5, name: "inbound_numbers_regex", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
53
67
|
{ no: 10, name: "inbound_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
54
68
|
{ no: 6, name: "inbound_username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -130,6 +144,7 @@ export const CreateSIPDispatchRuleRequest = /*@__PURE__*/ proto3.makeMessageType
|
|
|
130
144
|
{ no: 1, name: "rule", kind: "message", T: SIPDispatchRule },
|
|
131
145
|
{ no: 2, name: "trunk_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
132
146
|
{ no: 3, name: "hide_phone_number", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
147
|
+
{ no: 6, name: "inbound_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
133
148
|
{ no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
134
149
|
{ no: 5, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
135
150
|
],
|
|
@@ -145,6 +160,7 @@ export const SIPDispatchRuleInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
145
160
|
{ no: 2, name: "rule", kind: "message", T: SIPDispatchRule },
|
|
146
161
|
{ no: 3, name: "trunk_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
147
162
|
{ no: 4, name: "hide_phone_number", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
163
|
+
{ no: 7, name: "inbound_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
148
164
|
{ no: 5, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
149
165
|
{ no: 6, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
150
166
|
],
|
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.17.0';
|