@livekit/protocol 1.29.4 → 1.30.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/dist/index.cjs +64 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +180 -10
- package/dist/index.d.mts +180 -10
- package/dist/index.d.ts +180 -10
- package/dist/index.mjs +63 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/livekit_egress_pb.d.ts +21 -1
- package/src/gen/livekit_egress_pb.js +12 -0
- package/src/gen/livekit_models_pb.d.ts +0 -7
- package/src/gen/livekit_models_pb.js +0 -1
- package/src/gen/livekit_sip_pb.d.ts +159 -1
- package/src/gen/livekit_sip_pb.js +40 -3
- package/src/gen/version.js +1 -1
package/package.json
CHANGED
|
@@ -211,6 +211,21 @@ export declare enum EgressStatus {
|
|
|
211
211
|
EGRESS_LIMIT_REACHED = 6,
|
|
212
212
|
}
|
|
213
213
|
|
|
214
|
+
/**
|
|
215
|
+
* @generated from enum livekit.EgressSourceType
|
|
216
|
+
*/
|
|
217
|
+
export declare enum EgressSourceType {
|
|
218
|
+
/**
|
|
219
|
+
* @generated from enum value: EGRESS_SOURCE_TYPE_WEB = 0;
|
|
220
|
+
*/
|
|
221
|
+
WEB = 0,
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* @generated from enum value: EGRESS_SOURCE_TYPE_SDK = 1;
|
|
225
|
+
*/
|
|
226
|
+
SDK = 1,
|
|
227
|
+
}
|
|
228
|
+
|
|
214
229
|
/**
|
|
215
230
|
* composite using a web browser
|
|
216
231
|
*
|
|
@@ -1551,6 +1566,11 @@ export declare class EgressInfo extends Message<EgressInfo> {
|
|
|
1551
1566
|
*/
|
|
1552
1567
|
roomName: string;
|
|
1553
1568
|
|
|
1569
|
+
/**
|
|
1570
|
+
* @generated from field: livekit.EgressSourceType source_type = 26;
|
|
1571
|
+
*/
|
|
1572
|
+
sourceType: EgressSourceType;
|
|
1573
|
+
|
|
1554
1574
|
/**
|
|
1555
1575
|
* @generated from field: livekit.EgressStatus status = 3;
|
|
1556
1576
|
*/
|
|
@@ -1675,7 +1695,7 @@ export declare class EgressInfo extends Message<EgressInfo> {
|
|
|
1675
1695
|
manifestLocation: string;
|
|
1676
1696
|
|
|
1677
1697
|
/**
|
|
1678
|
-
* next ID:
|
|
1698
|
+
* next ID: 27
|
|
1679
1699
|
*
|
|
1680
1700
|
* @generated from field: bool backup_storage_used = 25;
|
|
1681
1701
|
*/
|
|
@@ -110,6 +110,17 @@ export const EgressStatus = /*@__PURE__*/ proto3.makeEnum(
|
|
|
110
110
|
],
|
|
111
111
|
);
|
|
112
112
|
|
|
113
|
+
/**
|
|
114
|
+
* @generated from enum livekit.EgressSourceType
|
|
115
|
+
*/
|
|
116
|
+
export const EgressSourceType = /*@__PURE__*/ proto3.makeEnum(
|
|
117
|
+
"livekit.EgressSourceType",
|
|
118
|
+
[
|
|
119
|
+
{no: 0, name: "EGRESS_SOURCE_TYPE_WEB", localName: "WEB"},
|
|
120
|
+
{no: 1, name: "EGRESS_SOURCE_TYPE_SDK", localName: "SDK"},
|
|
121
|
+
],
|
|
122
|
+
);
|
|
123
|
+
|
|
113
124
|
/**
|
|
114
125
|
* composite using a web browser
|
|
115
126
|
*
|
|
@@ -456,6 +467,7 @@ export const EgressInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
456
467
|
{ no: 1, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
457
468
|
{ no: 2, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
458
469
|
{ no: 13, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
470
|
+
{ no: 26, name: "source_type", kind: "enum", T: proto3.getEnumType(EgressSourceType) },
|
|
459
471
|
{ no: 3, name: "status", kind: "enum", T: proto3.getEnumType(EgressStatus) },
|
|
460
472
|
{ no: 10, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
461
473
|
{ no: 11, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
@@ -2721,13 +2721,6 @@ export declare class DataStream_Header extends Message<DataStream_Header> {
|
|
|
2721
2721
|
*/
|
|
2722
2722
|
totalLength?: bigint;
|
|
2723
2723
|
|
|
2724
|
-
/**
|
|
2725
|
-
* only populated for finite streams, if it's a stream of unknown size this stays empty
|
|
2726
|
-
*
|
|
2727
|
-
* @generated from field: optional uint64 total_chunks = 6;
|
|
2728
|
-
*/
|
|
2729
|
-
totalChunks?: bigint;
|
|
2730
|
-
|
|
2731
2724
|
/**
|
|
2732
2725
|
* defaults to NONE
|
|
2733
2726
|
*
|
|
@@ -886,7 +886,6 @@ export const DataStream_Header = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
886
886
|
{ no: 3, name: "topic", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
887
887
|
{ no: 4, name: "mime_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
888
888
|
{ no: 5, name: "total_length", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
889
|
-
{ no: 6, name: "total_chunks", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
890
889
|
{ no: 7, name: "encryption_type", kind: "enum", T: proto3.getEnumType(Encryption_Type) },
|
|
891
890
|
{ no: 8, name: "extensions", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
892
891
|
{ no: 9, name: "text_header", kind: "message", T: DataStream_TextHeader, oneof: "content_header" },
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
import type { BinaryReadOptions, Duration, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
21
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
|
+
import type { RoomConfiguration } from "./livekit_room_pb.js";
|
|
22
23
|
import type { DisconnectReason } from "./livekit_models_pb.js";
|
|
23
24
|
|
|
24
25
|
/**
|
|
@@ -46,6 +47,32 @@ export declare enum SIPTransport {
|
|
|
46
47
|
SIP_TRANSPORT_TLS = 3,
|
|
47
48
|
}
|
|
48
49
|
|
|
50
|
+
/**
|
|
51
|
+
* @generated from enum livekit.SIPHeaderOptions
|
|
52
|
+
*/
|
|
53
|
+
export declare enum SIPHeaderOptions {
|
|
54
|
+
/**
|
|
55
|
+
* do not map any headers, except ones mapped explicitly
|
|
56
|
+
*
|
|
57
|
+
* @generated from enum value: SIP_NO_HEADERS = 0;
|
|
58
|
+
*/
|
|
59
|
+
SIP_NO_HEADERS = 0,
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* map all X-* headers to sip.h.x-* attributes
|
|
63
|
+
*
|
|
64
|
+
* @generated from enum value: SIP_X_HEADERS = 1;
|
|
65
|
+
*/
|
|
66
|
+
SIP_X_HEADERS = 1,
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* map all headers to sip.h.* attributes
|
|
70
|
+
*
|
|
71
|
+
* @generated from enum value: SIP_ALL_HEADERS = 2;
|
|
72
|
+
*/
|
|
73
|
+
SIP_ALL_HEADERS = 2,
|
|
74
|
+
}
|
|
75
|
+
|
|
49
76
|
/**
|
|
50
77
|
* @generated from enum livekit.SIPCallStatus
|
|
51
78
|
*/
|
|
@@ -434,6 +461,18 @@ export declare class SIPInboundTrunkInfo extends Message<SIPInboundTrunkInfo> {
|
|
|
434
461
|
*/
|
|
435
462
|
attributesToHeaders: { [key: string]: string };
|
|
436
463
|
|
|
464
|
+
/**
|
|
465
|
+
* Map SIP headers from INVITE to sip.h.* participant attributes automatically.
|
|
466
|
+
*
|
|
467
|
+
* When the names of required headers is known, using headers_to_attributes is strongly recommended.
|
|
468
|
+
*
|
|
469
|
+
* When mapping INVITE headers to response headers with attributes_to_headers map,
|
|
470
|
+
* lowercase header names should be used, for example: sip.h.x-custom-header.
|
|
471
|
+
*
|
|
472
|
+
* @generated from field: livekit.SIPHeaderOptions include_headers = 15;
|
|
473
|
+
*/
|
|
474
|
+
includeHeaders: SIPHeaderOptions;
|
|
475
|
+
|
|
437
476
|
/**
|
|
438
477
|
* Max time for the caller to wait for track subscription.
|
|
439
478
|
*
|
|
@@ -576,6 +615,18 @@ export declare class SIPOutboundTrunkInfo extends Message<SIPOutboundTrunkInfo>
|
|
|
576
615
|
*/
|
|
577
616
|
attributesToHeaders: { [key: string]: string };
|
|
578
617
|
|
|
618
|
+
/**
|
|
619
|
+
* Map SIP headers from 200 OK to sip.h.* participant attributes automatically.
|
|
620
|
+
*
|
|
621
|
+
* When the names of required headers is known, using headers_to_attributes is strongly recommended.
|
|
622
|
+
*
|
|
623
|
+
* When mapping 200 OK headers to follow-up request headers with attributes_to_headers map,
|
|
624
|
+
* lowercase header names should be used, for example: sip.h.x-custom-header.
|
|
625
|
+
*
|
|
626
|
+
* @generated from field: livekit.SIPHeaderOptions include_headers = 12;
|
|
627
|
+
*/
|
|
628
|
+
includeHeaders: SIPHeaderOptions;
|
|
629
|
+
|
|
579
630
|
constructor(data?: PartialMessage<SIPOutboundTrunkInfo>);
|
|
580
631
|
|
|
581
632
|
static readonly runtime: typeof proto3;
|
|
@@ -733,9 +784,26 @@ export declare class ListSIPTrunkResponse extends Message<ListSIPTrunkResponse>
|
|
|
733
784
|
}
|
|
734
785
|
|
|
735
786
|
/**
|
|
787
|
+
* ListSIPInboundTrunkRequest lists inbound trunks for given filters. If no filters are set, all trunks are listed.
|
|
788
|
+
*
|
|
736
789
|
* @generated from message livekit.ListSIPInboundTrunkRequest
|
|
737
790
|
*/
|
|
738
791
|
export declare class ListSIPInboundTrunkRequest extends Message<ListSIPInboundTrunkRequest> {
|
|
792
|
+
/**
|
|
793
|
+
* Trunk IDs to list. If this option is set, the response will contains trunks in the same order.
|
|
794
|
+
* If any of the trunks is missing, a nil item in that position will be sent in the response.
|
|
795
|
+
*
|
|
796
|
+
* @generated from field: repeated string trunk_ids = 1;
|
|
797
|
+
*/
|
|
798
|
+
trunkIds: string[];
|
|
799
|
+
|
|
800
|
+
/**
|
|
801
|
+
* Only list trunks that contain one of the numbers, including wildcard trunks.
|
|
802
|
+
*
|
|
803
|
+
* @generated from field: repeated string numbers = 2;
|
|
804
|
+
*/
|
|
805
|
+
numbers: string[];
|
|
806
|
+
|
|
739
807
|
constructor(data?: PartialMessage<ListSIPInboundTrunkRequest>);
|
|
740
808
|
|
|
741
809
|
static readonly runtime: typeof proto3;
|
|
@@ -776,9 +844,26 @@ export declare class ListSIPInboundTrunkResponse extends Message<ListSIPInboundT
|
|
|
776
844
|
}
|
|
777
845
|
|
|
778
846
|
/**
|
|
847
|
+
* ListSIPOutboundTrunkRequest lists outbound trunks for given filters. If no filters are set, all trunks are listed.
|
|
848
|
+
*
|
|
779
849
|
* @generated from message livekit.ListSIPOutboundTrunkRequest
|
|
780
850
|
*/
|
|
781
851
|
export declare class ListSIPOutboundTrunkRequest extends Message<ListSIPOutboundTrunkRequest> {
|
|
852
|
+
/**
|
|
853
|
+
* Trunk IDs to list. If this option is set, the response will contains trunks in the same order.
|
|
854
|
+
* If any of the trunks is missing, a nil item in that position will be sent in the response.
|
|
855
|
+
*
|
|
856
|
+
* @generated from field: repeated string trunk_ids = 1;
|
|
857
|
+
*/
|
|
858
|
+
trunkIds: string[];
|
|
859
|
+
|
|
860
|
+
/**
|
|
861
|
+
* Only list trunks that contain one of the numbers, including wildcard trunks.
|
|
862
|
+
*
|
|
863
|
+
* @generated from field: repeated string numbers = 2;
|
|
864
|
+
*/
|
|
865
|
+
numbers: string[];
|
|
866
|
+
|
|
782
867
|
constructor(data?: PartialMessage<ListSIPOutboundTrunkRequest>);
|
|
783
868
|
|
|
784
869
|
static readonly runtime: typeof proto3;
|
|
@@ -1053,6 +1138,20 @@ export declare class CreateSIPDispatchRuleRequest extends Message<CreateSIPDispa
|
|
|
1053
1138
|
*/
|
|
1054
1139
|
attributes: { [key: string]: string };
|
|
1055
1140
|
|
|
1141
|
+
/**
|
|
1142
|
+
* Cloud-only, config preset to use
|
|
1143
|
+
*
|
|
1144
|
+
* @generated from field: string room_preset = 8;
|
|
1145
|
+
*/
|
|
1146
|
+
roomPreset: string;
|
|
1147
|
+
|
|
1148
|
+
/**
|
|
1149
|
+
* RoomConfiguration to use if the participant initiates the room
|
|
1150
|
+
*
|
|
1151
|
+
* @generated from field: livekit.RoomConfiguration room_config = 9;
|
|
1152
|
+
*/
|
|
1153
|
+
roomConfig?: RoomConfiguration;
|
|
1154
|
+
|
|
1056
1155
|
constructor(data?: PartialMessage<CreateSIPDispatchRuleRequest>);
|
|
1057
1156
|
|
|
1058
1157
|
static readonly runtime: typeof proto3;
|
|
@@ -1122,6 +1221,22 @@ export declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
|
|
|
1122
1221
|
*/
|
|
1123
1222
|
attributes: { [key: string]: string };
|
|
1124
1223
|
|
|
1224
|
+
/**
|
|
1225
|
+
* Cloud-only, config preset to use
|
|
1226
|
+
*
|
|
1227
|
+
* @generated from field: string room_preset = 9;
|
|
1228
|
+
*/
|
|
1229
|
+
roomPreset: string;
|
|
1230
|
+
|
|
1231
|
+
/**
|
|
1232
|
+
* RoomConfiguration to use if the participant initiates the room
|
|
1233
|
+
*
|
|
1234
|
+
* NEXT ID: 11
|
|
1235
|
+
*
|
|
1236
|
+
* @generated from field: livekit.RoomConfiguration room_config = 10;
|
|
1237
|
+
*/
|
|
1238
|
+
roomConfig?: RoomConfiguration;
|
|
1239
|
+
|
|
1125
1240
|
constructor(data?: PartialMessage<SIPDispatchRuleInfo>);
|
|
1126
1241
|
|
|
1127
1242
|
static readonly runtime: typeof proto3;
|
|
@@ -1138,9 +1253,26 @@ export declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
|
|
|
1138
1253
|
}
|
|
1139
1254
|
|
|
1140
1255
|
/**
|
|
1256
|
+
* ListSIPDispatchRuleRequest lists dispatch rules for given filters. If no filters are set, all rules are listed.
|
|
1257
|
+
*
|
|
1141
1258
|
* @generated from message livekit.ListSIPDispatchRuleRequest
|
|
1142
1259
|
*/
|
|
1143
1260
|
export declare class ListSIPDispatchRuleRequest extends Message<ListSIPDispatchRuleRequest> {
|
|
1261
|
+
/**
|
|
1262
|
+
* Rule IDs to list. If this option is set, the response will contains rules in the same order.
|
|
1263
|
+
* If any of the rules is missing, a nil item in that position will be sent in the response.
|
|
1264
|
+
*
|
|
1265
|
+
* @generated from field: repeated string dispatch_rule_ids = 1;
|
|
1266
|
+
*/
|
|
1267
|
+
dispatchRuleIds: string[];
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
* Only list rules that contain one of the Trunk IDs, including wildcard rules.
|
|
1271
|
+
*
|
|
1272
|
+
* @generated from field: repeated string trunk_ids = 2;
|
|
1273
|
+
*/
|
|
1274
|
+
trunkIds: string[];
|
|
1275
|
+
|
|
1144
1276
|
constructor(data?: PartialMessage<ListSIPDispatchRuleRequest>);
|
|
1145
1277
|
|
|
1146
1278
|
static readonly runtime: typeof proto3;
|
|
@@ -1296,6 +1428,25 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
|
|
|
1296
1428
|
*/
|
|
1297
1429
|
hidePhoneNumber: boolean;
|
|
1298
1430
|
|
|
1431
|
+
/**
|
|
1432
|
+
* These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.
|
|
1433
|
+
*
|
|
1434
|
+
* @generated from field: map<string, string> headers = 16;
|
|
1435
|
+
*/
|
|
1436
|
+
headers: { [key: string]: string };
|
|
1437
|
+
|
|
1438
|
+
/**
|
|
1439
|
+
* Map SIP headers from 200 OK to sip.h.* participant attributes automatically.
|
|
1440
|
+
*
|
|
1441
|
+
* When the names of required headers is known, using headers_to_attributes is strongly recommended.
|
|
1442
|
+
*
|
|
1443
|
+
* When mapping 200 OK headers to follow-up request headers with attributes_to_headers map,
|
|
1444
|
+
* lowercase header names should be used, for example: sip.h.x-custom-header.
|
|
1445
|
+
*
|
|
1446
|
+
* @generated from field: livekit.SIPHeaderOptions include_headers = 17;
|
|
1447
|
+
*/
|
|
1448
|
+
includeHeaders: SIPHeaderOptions;
|
|
1449
|
+
|
|
1299
1450
|
/**
|
|
1300
1451
|
* Max time for the callee to answer the call.
|
|
1301
1452
|
*
|
|
@@ -1313,7 +1464,7 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
|
|
|
1313
1464
|
/**
|
|
1314
1465
|
* Enable voice isolation for the callee.
|
|
1315
1466
|
*
|
|
1316
|
-
* NEXT ID:
|
|
1467
|
+
* NEXT ID: 18
|
|
1317
1468
|
*
|
|
1318
1469
|
* @generated from field: bool enable_krisp = 14;
|
|
1319
1470
|
*/
|
|
@@ -1399,6 +1550,13 @@ export declare class TransferSIPParticipantRequest extends Message<TransferSIPPa
|
|
|
1399
1550
|
*/
|
|
1400
1551
|
playDialtone: boolean;
|
|
1401
1552
|
|
|
1553
|
+
/**
|
|
1554
|
+
* Add the following headers to the REFER SIP request.
|
|
1555
|
+
*
|
|
1556
|
+
* @generated from field: map<string, string> headers = 5;
|
|
1557
|
+
*/
|
|
1558
|
+
headers: { [key: string]: string };
|
|
1559
|
+
|
|
1402
1560
|
constructor(data?: PartialMessage<TransferSIPParticipantRequest>);
|
|
1403
1561
|
|
|
1404
1562
|
static readonly runtime: typeof proto3;
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
// @ts-nocheck
|
|
19
19
|
|
|
20
20
|
import { Duration, proto3 } from "@bufbuild/protobuf";
|
|
21
|
+
import { RoomConfiguration } from "./livekit_room_pb.js";
|
|
21
22
|
import { DisconnectReason } from "./livekit_models_pb.js";
|
|
22
23
|
|
|
23
24
|
/**
|
|
@@ -33,6 +34,18 @@ export const SIPTransport = /*@__PURE__*/ proto3.makeEnum(
|
|
|
33
34
|
],
|
|
34
35
|
);
|
|
35
36
|
|
|
37
|
+
/**
|
|
38
|
+
* @generated from enum livekit.SIPHeaderOptions
|
|
39
|
+
*/
|
|
40
|
+
export const SIPHeaderOptions = /*@__PURE__*/ proto3.makeEnum(
|
|
41
|
+
"livekit.SIPHeaderOptions",
|
|
42
|
+
[
|
|
43
|
+
{no: 0, name: "SIP_NO_HEADERS"},
|
|
44
|
+
{no: 1, name: "SIP_X_HEADERS"},
|
|
45
|
+
{no: 2, name: "SIP_ALL_HEADERS"},
|
|
46
|
+
],
|
|
47
|
+
);
|
|
48
|
+
|
|
36
49
|
/**
|
|
37
50
|
* @generated from enum livekit.SIPCallStatus
|
|
38
51
|
*/
|
|
@@ -142,6 +155,7 @@ export const SIPInboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
142
155
|
{ no: 9, name: "headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
143
156
|
{ no: 10, name: "headers_to_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
144
157
|
{ no: 14, name: "attributes_to_headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
158
|
+
{ no: 15, name: "include_headers", kind: "enum", T: proto3.getEnumType(SIPHeaderOptions) },
|
|
145
159
|
{ no: 11, name: "ringing_timeout", kind: "message", T: Duration },
|
|
146
160
|
{ no: 12, name: "max_call_duration", kind: "message", T: Duration },
|
|
147
161
|
{ no: 13, name: "krisp_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
@@ -175,6 +189,7 @@ export const SIPOutboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
175
189
|
{ no: 9, name: "headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
176
190
|
{ no: 10, name: "headers_to_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
177
191
|
{ no: 11, name: "attributes_to_headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
192
|
+
{ no: 12, name: "include_headers", kind: "enum", T: proto3.getEnumType(SIPHeaderOptions) },
|
|
178
193
|
],
|
|
179
194
|
);
|
|
180
195
|
|
|
@@ -239,11 +254,16 @@ export const ListSIPTrunkResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
239
254
|
);
|
|
240
255
|
|
|
241
256
|
/**
|
|
257
|
+
* ListSIPInboundTrunkRequest lists inbound trunks for given filters. If no filters are set, all trunks are listed.
|
|
258
|
+
*
|
|
242
259
|
* @generated from message livekit.ListSIPInboundTrunkRequest
|
|
243
260
|
*/
|
|
244
261
|
export const ListSIPInboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
245
262
|
"livekit.ListSIPInboundTrunkRequest",
|
|
246
|
-
[
|
|
263
|
+
() => [
|
|
264
|
+
{ no: 1, name: "trunk_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
265
|
+
{ no: 2, name: "numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
266
|
+
],
|
|
247
267
|
);
|
|
248
268
|
|
|
249
269
|
/**
|
|
@@ -257,11 +277,16 @@ export const ListSIPInboundTrunkResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
257
277
|
);
|
|
258
278
|
|
|
259
279
|
/**
|
|
280
|
+
* ListSIPOutboundTrunkRequest lists outbound trunks for given filters. If no filters are set, all trunks are listed.
|
|
281
|
+
*
|
|
260
282
|
* @generated from message livekit.ListSIPOutboundTrunkRequest
|
|
261
283
|
*/
|
|
262
284
|
export const ListSIPOutboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
263
285
|
"livekit.ListSIPOutboundTrunkRequest",
|
|
264
|
-
[
|
|
286
|
+
() => [
|
|
287
|
+
{ no: 1, name: "trunk_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
288
|
+
{ no: 2, name: "numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
289
|
+
],
|
|
265
290
|
);
|
|
266
291
|
|
|
267
292
|
/**
|
|
@@ -343,6 +368,8 @@ export const CreateSIPDispatchRuleRequest = /*@__PURE__*/ proto3.makeMessageType
|
|
|
343
368
|
{ no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
344
369
|
{ no: 5, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
345
370
|
{ no: 7, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
371
|
+
{ no: 8, name: "room_preset", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
372
|
+
{ no: 9, name: "room_config", kind: "message", T: RoomConfiguration },
|
|
346
373
|
],
|
|
347
374
|
);
|
|
348
375
|
|
|
@@ -360,15 +387,22 @@ export const SIPDispatchRuleInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
360
387
|
{ no: 5, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
361
388
|
{ no: 6, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
362
389
|
{ no: 8, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
390
|
+
{ no: 9, name: "room_preset", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
391
|
+
{ no: 10, name: "room_config", kind: "message", T: RoomConfiguration },
|
|
363
392
|
],
|
|
364
393
|
);
|
|
365
394
|
|
|
366
395
|
/**
|
|
396
|
+
* ListSIPDispatchRuleRequest lists dispatch rules for given filters. If no filters are set, all rules are listed.
|
|
397
|
+
*
|
|
367
398
|
* @generated from message livekit.ListSIPDispatchRuleRequest
|
|
368
399
|
*/
|
|
369
400
|
export const ListSIPDispatchRuleRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
370
401
|
"livekit.ListSIPDispatchRuleRequest",
|
|
371
|
-
[
|
|
402
|
+
() => [
|
|
403
|
+
{ no: 1, name: "dispatch_rule_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
404
|
+
{ no: 2, name: "trunk_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
405
|
+
],
|
|
372
406
|
);
|
|
373
407
|
|
|
374
408
|
/**
|
|
@@ -412,6 +446,8 @@ export const CreateSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
412
446
|
{ no: 6, name: "play_ringtone", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
413
447
|
{ no: 13, name: "play_dialtone", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
414
448
|
{ no: 10, name: "hide_phone_number", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
449
|
+
{ no: 16, name: "headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
450
|
+
{ no: 17, name: "include_headers", kind: "enum", T: proto3.getEnumType(SIPHeaderOptions) },
|
|
415
451
|
{ no: 11, name: "ringing_timeout", kind: "message", T: Duration },
|
|
416
452
|
{ no: 12, name: "max_call_duration", kind: "message", T: Duration },
|
|
417
453
|
{ no: 14, name: "enable_krisp", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
@@ -441,6 +477,7 @@ export const TransferSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageTyp
|
|
|
441
477
|
{ no: 2, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
442
478
|
{ no: 3, name: "transfer_to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
443
479
|
{ no: 4, name: "play_dialtone", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
480
|
+
{ no: 5, name: "headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
444
481
|
],
|
|
445
482
|
);
|
|
446
483
|
|
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.30.0';
|