@livekit/protocol 1.45.8 → 1.46.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 +107 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +252 -1
- package/dist/index.d.mts +252 -1
- package/dist/index.d.ts +252 -1
- package/dist/index.mjs +107 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/agent/livekit_agent_session_pb.d.ts +208 -0
- package/src/gen/agent/livekit_agent_session_pb.js +76 -0
- package/src/gen/livekit_agent_simulation_pb.d.ts +70 -0
- package/src/gen/livekit_agent_simulation_pb.js +14 -0
- package/src/gen/livekit_cloud_agent_pb.d.ts +14 -14
- package/src/gen/livekit_cloud_agent_pb.js +7 -7
- package/src/gen/livekit_egress_pb.d.ts +15 -1
- package/src/gen/livekit_egress_pb.js +3 -1
- package/src/gen/livekit_sip_pb.d.ts +17 -0
- package/src/gen/livekit_sip_pb.js +3 -0
- package/src/gen/version.js +1 -1
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
21
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
|
-
import type { AudioCodec, ImageCodec, ParticipantInfo_Kind, VideoCodec, WebhookConfig } from "./livekit_models_pb.js";
|
|
22
|
+
import type { AudioCodec, ImageCodec, ParticipantInfo_Kind, TokenPagination, VideoCodec, WebhookConfig } from "./livekit_models_pb.js";
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* @generated from enum livekit.AudioChannel
|
|
@@ -1420,6 +1420,13 @@ export declare class ListEgressRequest extends Message<ListEgressRequest> {
|
|
|
1420
1420
|
*/
|
|
1421
1421
|
active: boolean;
|
|
1422
1422
|
|
|
1423
|
+
/**
|
|
1424
|
+
* next field id: 5
|
|
1425
|
+
*
|
|
1426
|
+
* @generated from field: livekit.TokenPagination page_token = 4;
|
|
1427
|
+
*/
|
|
1428
|
+
pageToken?: TokenPagination;
|
|
1429
|
+
|
|
1423
1430
|
constructor(data?: PartialMessage<ListEgressRequest>);
|
|
1424
1431
|
|
|
1425
1432
|
static readonly runtime: typeof proto3;
|
|
@@ -1444,6 +1451,13 @@ export declare class ListEgressResponse extends Message<ListEgressResponse> {
|
|
|
1444
1451
|
*/
|
|
1445
1452
|
items: EgressInfo[];
|
|
1446
1453
|
|
|
1454
|
+
/**
|
|
1455
|
+
* next field id: 3
|
|
1456
|
+
*
|
|
1457
|
+
* @generated from field: livekit.TokenPagination next_page_token = 2;
|
|
1458
|
+
*/
|
|
1459
|
+
nextPageToken?: TokenPagination;
|
|
1460
|
+
|
|
1447
1461
|
constructor(data?: PartialMessage<ListEgressResponse>);
|
|
1448
1462
|
|
|
1449
1463
|
static readonly runtime: typeof proto3;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
// @ts-nocheck
|
|
19
19
|
|
|
20
20
|
import { proto3 } from "@bufbuild/protobuf";
|
|
21
|
-
import { AudioCodec, ImageCodec, ParticipantInfo_Kind, VideoCodec, WebhookConfig } from "./livekit_models_pb.js";
|
|
21
|
+
import { AudioCodec, ImageCodec, ParticipantInfo_Kind, TokenPagination, VideoCodec, WebhookConfig } from "./livekit_models_pb.js";
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* @generated from enum livekit.AudioChannel
|
|
@@ -471,6 +471,7 @@ export const ListEgressRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
471
471
|
{ no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
472
472
|
{ no: 2, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
473
473
|
{ no: 3, name: "active", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
474
|
+
{ no: 4, name: "page_token", kind: "message", T: TokenPagination },
|
|
474
475
|
],
|
|
475
476
|
);
|
|
476
477
|
|
|
@@ -481,6 +482,7 @@ export const ListEgressResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
481
482
|
"livekit.ListEgressResponse",
|
|
482
483
|
() => [
|
|
483
484
|
{ no: 1, name: "items", kind: "message", T: EgressInfo, repeated: true },
|
|
485
|
+
{ no: 2, name: "next_page_token", kind: "message", T: TokenPagination },
|
|
484
486
|
],
|
|
485
487
|
);
|
|
486
488
|
|
|
@@ -780,6 +780,13 @@ export declare class SIPMediaConfig extends Message<SIPMediaConfig> {
|
|
|
780
780
|
*/
|
|
781
781
|
encryption?: SIPMediaEncryption;
|
|
782
782
|
|
|
783
|
+
/**
|
|
784
|
+
* Use specific media timeout. If zero or not specified, will use default timeout.
|
|
785
|
+
*
|
|
786
|
+
* @generated from field: optional google.protobuf.Duration media_timeout = 4;
|
|
787
|
+
*/
|
|
788
|
+
mediaTimeout?: Duration;
|
|
789
|
+
|
|
783
790
|
constructor(data?: PartialMessage<SIPMediaConfig>);
|
|
784
791
|
|
|
785
792
|
static readonly runtime: typeof proto3;
|
|
@@ -1092,6 +1099,11 @@ export declare class SIPInboundTrunkInfo extends Message<SIPInboundTrunkInfo> {
|
|
|
1092
1099
|
*/
|
|
1093
1100
|
authPassword: string;
|
|
1094
1101
|
|
|
1102
|
+
/**
|
|
1103
|
+
* @generated from field: string auth_realm = 19;
|
|
1104
|
+
*/
|
|
1105
|
+
authRealm: string;
|
|
1106
|
+
|
|
1095
1107
|
/**
|
|
1096
1108
|
* Include these SIP X-* headers in 200 OK responses.
|
|
1097
1109
|
*
|
|
@@ -1204,6 +1216,11 @@ export declare class SIPInboundTrunkUpdate extends Message<SIPInboundTrunkUpdate
|
|
|
1204
1216
|
*/
|
|
1205
1217
|
authPassword?: string;
|
|
1206
1218
|
|
|
1219
|
+
/**
|
|
1220
|
+
* @generated from field: optional string auth_realm = 9;
|
|
1221
|
+
*/
|
|
1222
|
+
authRealm?: string;
|
|
1223
|
+
|
|
1207
1224
|
/**
|
|
1208
1225
|
* @generated from field: optional string name = 6;
|
|
1209
1226
|
*/
|
|
@@ -258,6 +258,7 @@ export const SIPMediaConfig = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
258
258
|
{ no: 1, name: "only_listed_codecs", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
259
259
|
{ no: 2, name: "codecs", kind: "message", T: SIPCodec, repeated: true },
|
|
260
260
|
{ no: 3, name: "encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption), opt: true },
|
|
261
|
+
{ no: 4, name: "media_timeout", kind: "message", T: Duration, opt: true },
|
|
261
262
|
],
|
|
262
263
|
);
|
|
263
264
|
|
|
@@ -346,6 +347,7 @@ export const SIPInboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
346
347
|
{ no: 6, name: "allowed_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
347
348
|
{ no: 7, name: "auth_username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
348
349
|
{ no: 8, name: "auth_password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
350
|
+
{ no: 19, name: "auth_realm", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
349
351
|
{ no: 9, name: "headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
350
352
|
{ no: 10, name: "headers_to_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
351
353
|
{ no: 14, name: "attributes_to_headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
@@ -370,6 +372,7 @@ export const SIPInboundTrunkUpdate = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
370
372
|
{ no: 3, name: "allowed_numbers", kind: "message", T: ListUpdate },
|
|
371
373
|
{ no: 4, name: "auth_username", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
372
374
|
{ no: 5, name: "auth_password", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
375
|
+
{ no: 9, name: "auth_realm", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
373
376
|
{ no: 6, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
374
377
|
{ no: 7, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
375
378
|
{ no: 8, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption), opt: true },
|
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.46.0';
|