@livekit/protocol 1.45.8 → 1.46.2
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 +717 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2039 -140
- package/dist/index.d.mts +2039 -140
- package/dist/index.d.ts +2039 -140
- package/dist/index.mjs +713 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/agent/livekit_agent_session_pb.d.ts +238 -0
- package/src/gen/agent/livekit_agent_session_pb.js +88 -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_agent_worker_pb.d.ts +71 -0
- package/src/gen/livekit_agent_worker_pb.js +36 -0
- package/src/gen/livekit_analytics_pb.d.ts +5 -0
- package/src/gen/livekit_analytics_pb.js +1 -0
- package/src/gen/livekit_cloud_agent_pb.d.ts +19 -14
- package/src/gen/livekit_cloud_agent_pb.js +8 -7
- package/src/gen/livekit_egress_pb.d.ts +15 -1
- package/src/gen/livekit_egress_pb.js +3 -1
- package/src/gen/livekit_room_pb.d.ts +8 -0
- package/src/gen/livekit_room_pb.js +1 -0
- package/src/gen/livekit_sip_pb.d.ts +120 -1
- package/src/gen/livekit_sip_pb.js +29 -0
- package/src/gen/version.js +1 -1
- package/src/index.d.ts +3 -0
- package/src/index.js +3 -0
|
@@ -1090,6 +1090,11 @@ export declare enum FeatureUsageInfo_Feature {
|
|
|
1090
1090
|
* @generated from enum value: AIC_AUDIO_ENHANCEMENT = 2;
|
|
1091
1091
|
*/
|
|
1092
1092
|
AIC_AUDIO_ENHANCEMENT = 2,
|
|
1093
|
+
|
|
1094
|
+
/**
|
|
1095
|
+
* @generated from enum value: KRISP_VIVA = 3;
|
|
1096
|
+
*/
|
|
1097
|
+
KRISP_VIVA = 3,
|
|
1093
1098
|
}
|
|
1094
1099
|
|
|
1095
1100
|
/**
|
|
@@ -322,6 +322,7 @@ export const FeatureUsageInfo_Feature = /*@__PURE__*/ proto3.makeEnum(
|
|
|
322
322
|
{no: 0, name: "KRISP_NOISE_CANCELLATION"},
|
|
323
323
|
{no: 1, name: "KRISP_BACKGROUND_VOICE_CANCELLATION"},
|
|
324
324
|
{no: 2, name: "AIC_AUDIO_ENHANCEMENT"},
|
|
325
|
+
{no: 3, name: "KRISP_VIVA"},
|
|
325
326
|
],
|
|
326
327
|
);
|
|
327
328
|
|
|
@@ -129,9 +129,9 @@ export declare class AgentSecret extends Message<AgentSecret> {
|
|
|
129
129
|
kind: AgentSecretKind;
|
|
130
130
|
|
|
131
131
|
/**
|
|
132
|
-
* @generated from field: repeated string
|
|
132
|
+
* @generated from field: repeated string deployments = 6;
|
|
133
133
|
*/
|
|
134
|
-
|
|
134
|
+
deployments: string[];
|
|
135
135
|
|
|
136
136
|
constructor(data?: PartialMessage<AgentSecret>);
|
|
137
137
|
|
|
@@ -427,9 +427,9 @@ export declare class AgentDeployment extends Message<AgentDeployment> {
|
|
|
427
427
|
events: AgentEvent[];
|
|
428
428
|
|
|
429
429
|
/**
|
|
430
|
-
* @generated from field: string
|
|
430
|
+
* @generated from field: string deployment = 15;
|
|
431
431
|
*/
|
|
432
|
-
|
|
432
|
+
deployment: string;
|
|
433
433
|
|
|
434
434
|
/**
|
|
435
435
|
* @generated from field: string version = 16;
|
|
@@ -441,6 +441,11 @@ export declare class AgentDeployment extends Message<AgentDeployment> {
|
|
|
441
441
|
*/
|
|
442
442
|
agentName: string;
|
|
443
443
|
|
|
444
|
+
/**
|
|
445
|
+
* @generated from field: bool deployment_enabled = 18;
|
|
446
|
+
*/
|
|
447
|
+
deploymentEnabled: boolean;
|
|
448
|
+
|
|
444
449
|
constructor(data?: PartialMessage<AgentDeployment>);
|
|
445
450
|
|
|
446
451
|
static readonly runtime: typeof proto3;
|
|
@@ -854,9 +859,9 @@ export declare class DeployAgentRequest extends Message<DeployAgentRequest> {
|
|
|
854
859
|
cpuReq: string;
|
|
855
860
|
|
|
856
861
|
/**
|
|
857
|
-
* @generated from field: string
|
|
862
|
+
* @generated from field: string deployment = 7;
|
|
858
863
|
*/
|
|
859
|
-
|
|
864
|
+
deployment: string;
|
|
860
865
|
|
|
861
866
|
constructor(data?: PartialMessage<DeployAgentRequest>);
|
|
862
867
|
|
|
@@ -909,9 +914,9 @@ export declare class DeployAgentResponse extends Message<DeployAgentResponse> {
|
|
|
909
914
|
presignedPostRequest?: PresignedPostRequest;
|
|
910
915
|
|
|
911
916
|
/**
|
|
912
|
-
* @generated from field: string
|
|
917
|
+
* @generated from field: string deployment = 7;
|
|
913
918
|
*/
|
|
914
|
-
|
|
919
|
+
deployment: string;
|
|
915
920
|
|
|
916
921
|
constructor(data?: PartialMessage<DeployAgentResponse>);
|
|
917
922
|
|
|
@@ -943,9 +948,9 @@ export declare class DeployAgentV2Request extends Message<DeployAgentV2Request>
|
|
|
943
948
|
secrets: AgentSecret[];
|
|
944
949
|
|
|
945
950
|
/**
|
|
946
|
-
* @generated from field: string
|
|
951
|
+
* @generated from field: string deployment = 3;
|
|
947
952
|
*/
|
|
948
|
-
|
|
953
|
+
deployment: string;
|
|
949
954
|
|
|
950
955
|
constructor(data?: PartialMessage<DeployAgentV2Request>);
|
|
951
956
|
|
|
@@ -992,9 +997,9 @@ export declare class DeployAgentV2Response extends Message<DeployAgentV2Response
|
|
|
992
997
|
presignedReq?: PresignedPostRequest;
|
|
993
998
|
|
|
994
999
|
/**
|
|
995
|
-
* @generated from field: string
|
|
1000
|
+
* @generated from field: string deployment = 6;
|
|
996
1001
|
*/
|
|
997
|
-
|
|
1002
|
+
deployment: string;
|
|
998
1003
|
|
|
999
1004
|
constructor(data?: PartialMessage<DeployAgentV2Response>);
|
|
1000
1005
|
|
|
@@ -1164,9 +1169,9 @@ export declare class DeleteAgentRequest extends Message<DeleteAgentRequest> {
|
|
|
1164
1169
|
/**
|
|
1165
1170
|
* optional
|
|
1166
1171
|
*
|
|
1167
|
-
* @generated from field: string
|
|
1172
|
+
* @generated from field: string deployment = 3;
|
|
1168
1173
|
*/
|
|
1169
|
-
|
|
1174
|
+
deployment: string;
|
|
1170
1175
|
|
|
1171
1176
|
constructor(data?: PartialMessage<DeleteAgentRequest>);
|
|
1172
1177
|
|
|
@@ -67,7 +67,7 @@ export const AgentSecret = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
67
67
|
{ no: 3, name: "created_at", kind: "message", T: Timestamp },
|
|
68
68
|
{ no: 4, name: "updated_at", kind: "message", T: Timestamp },
|
|
69
69
|
{ no: 5, name: "kind", kind: "enum", T: proto3.getEnumType(AgentSecretKind) },
|
|
70
|
-
{ no: 6, name: "
|
|
70
|
+
{ no: 6, name: "deployments", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
71
71
|
],
|
|
72
72
|
);
|
|
73
73
|
|
|
@@ -157,9 +157,10 @@ export const AgentDeployment = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
157
157
|
{ no: 12, name: "cpu_limit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
158
158
|
{ no: 13, name: "server_region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
159
159
|
{ no: 14, name: "events", kind: "message", T: AgentEvent, repeated: true },
|
|
160
|
-
{ no: 15, name: "
|
|
160
|
+
{ no: 15, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
161
161
|
{ no: 16, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
162
162
|
{ no: 17, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
163
|
+
{ no: 18, name: "deployment_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
163
164
|
],
|
|
164
165
|
);
|
|
165
166
|
|
|
@@ -298,7 +299,7 @@ export const DeployAgentRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
298
299
|
{ no: 4, name: "replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
299
300
|
{ no: 5, name: "max_replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
300
301
|
{ no: 6, name: "cpu_req", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
301
|
-
{ no: 7, name: "
|
|
302
|
+
{ no: 7, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
302
303
|
],
|
|
303
304
|
);
|
|
304
305
|
|
|
@@ -314,7 +315,7 @@ export const DeployAgentResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
314
315
|
{ no: 4, name: "presigned_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
315
316
|
{ no: 5, name: "tag", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
316
317
|
{ no: 6, name: "presigned_post_request", kind: "message", T: PresignedPostRequest },
|
|
317
|
-
{ no: 7, name: "
|
|
318
|
+
{ no: 7, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
318
319
|
],
|
|
319
320
|
);
|
|
320
321
|
|
|
@@ -326,7 +327,7 @@ export const DeployAgentV2Request = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
326
327
|
() => [
|
|
327
328
|
{ no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
328
329
|
{ no: 2, name: "secrets", kind: "message", T: AgentSecret, repeated: true },
|
|
329
|
-
{ no: 3, name: "
|
|
330
|
+
{ no: 3, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
330
331
|
],
|
|
331
332
|
);
|
|
332
333
|
|
|
@@ -341,7 +342,7 @@ export const DeployAgentV2Response = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
341
342
|
{ no: 3, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
342
343
|
{ no: 4, name: "tag", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
343
344
|
{ no: 5, name: "presigned_req", kind: "message", T: PresignedPostRequest },
|
|
344
|
-
{ no: 6, name: "
|
|
345
|
+
{ no: 6, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
345
346
|
],
|
|
346
347
|
);
|
|
347
348
|
|
|
@@ -401,7 +402,7 @@ export const DeleteAgentRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
401
402
|
() => [
|
|
402
403
|
{ no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
403
404
|
{ no: 2, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
404
|
-
{ no: 3, name: "
|
|
405
|
+
{ no: 3, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
405
406
|
],
|
|
406
407
|
);
|
|
407
408
|
|
|
@@ -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
|
|
|
@@ -360,6 +360,14 @@ export declare class RoomParticipantIdentity extends Message<RoomParticipantIden
|
|
|
360
360
|
*/
|
|
361
361
|
identity: string;
|
|
362
362
|
|
|
363
|
+
/**
|
|
364
|
+
* Unix timestamp used to invalidate token whose nbf is before this value.
|
|
365
|
+
* Used only by RemoveParticipant; defaults to now(server)+leeway(1min) if left empty.
|
|
366
|
+
*
|
|
367
|
+
* @generated from field: int64 revoke_token_ts = 3;
|
|
368
|
+
*/
|
|
369
|
+
revokeTokenTs: bigint;
|
|
370
|
+
|
|
363
371
|
constructor(data?: PartialMessage<RoomParticipantIdentity>);
|
|
364
372
|
|
|
365
373
|
static readonly runtime: typeof proto3;
|
|
@@ -133,6 +133,7 @@ export const RoomParticipantIdentity = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
133
133
|
() => [
|
|
134
134
|
{ no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
135
135
|
{ no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
136
|
+
{ no: 3, name: "revoke_token_ts", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
136
137
|
],
|
|
137
138
|
);
|
|
138
139
|
|
|
@@ -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
|
*/
|
|
@@ -2469,6 +2486,27 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
|
|
|
2469
2486
|
*/
|
|
2470
2487
|
trunk?: SIPOutboundConfig;
|
|
2471
2488
|
|
|
2489
|
+
/**
|
|
2490
|
+
* INVITE <uri>
|
|
2491
|
+
*
|
|
2492
|
+
* @generated from field: livekit.SIPRequestDest sip_request_uri = 24;
|
|
2493
|
+
*/
|
|
2494
|
+
sipRequestUri?: SIPRequestDest;
|
|
2495
|
+
|
|
2496
|
+
/**
|
|
2497
|
+
* To: "Name" <uri>
|
|
2498
|
+
*
|
|
2499
|
+
* @generated from field: livekit.SIPNamedDest sip_to_header = 25;
|
|
2500
|
+
*/
|
|
2501
|
+
sipToHeader?: SIPNamedDest;
|
|
2502
|
+
|
|
2503
|
+
/**
|
|
2504
|
+
* From: "Name" <uri>
|
|
2505
|
+
*
|
|
2506
|
+
* @generated from field: livekit.SIPNamedDest sip_from_header = 26;
|
|
2507
|
+
*/
|
|
2508
|
+
sipFromHeader?: SIPNamedDest;
|
|
2509
|
+
|
|
2472
2510
|
/**
|
|
2473
2511
|
* What number should be dialed via SIP
|
|
2474
2512
|
*
|
|
@@ -2618,7 +2656,7 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
|
|
|
2618
2656
|
displayName?: string;
|
|
2619
2657
|
|
|
2620
2658
|
/**
|
|
2621
|
-
* NEXT ID:
|
|
2659
|
+
* NEXT ID: 27
|
|
2622
2660
|
*
|
|
2623
2661
|
* @generated from field: optional livekit.Destination destination = 22;
|
|
2624
2662
|
*/
|
|
@@ -3000,6 +3038,87 @@ export declare class SIPUri extends Message<SIPUri> {
|
|
|
3000
3038
|
static equals(a: SIPUri | PlainMessage<SIPUri> | undefined, b: SIPUri | PlainMessage<SIPUri> | undefined): boolean;
|
|
3001
3039
|
}
|
|
3002
3040
|
|
|
3041
|
+
/**
|
|
3042
|
+
* @generated from message livekit.SIPRequestDest
|
|
3043
|
+
*/
|
|
3044
|
+
export declare class SIPRequestDest extends Message<SIPRequestDest> {
|
|
3045
|
+
/**
|
|
3046
|
+
* @generated from oneof livekit.SIPRequestDest.uri
|
|
3047
|
+
*/
|
|
3048
|
+
uri: {
|
|
3049
|
+
/**
|
|
3050
|
+
* <sip:user@sip.example.com:5060;transport=tcp>
|
|
3051
|
+
*
|
|
3052
|
+
* @generated from field: string raw = 1;
|
|
3053
|
+
*/
|
|
3054
|
+
value: string;
|
|
3055
|
+
case: "raw";
|
|
3056
|
+
} | {
|
|
3057
|
+
/**
|
|
3058
|
+
* @generated from field: livekit.SIPUri values = 2;
|
|
3059
|
+
*/
|
|
3060
|
+
value: SIPUri;
|
|
3061
|
+
case: "values";
|
|
3062
|
+
} | { case: undefined; value?: undefined };
|
|
3063
|
+
|
|
3064
|
+
constructor(data?: PartialMessage<SIPRequestDest>);
|
|
3065
|
+
|
|
3066
|
+
static readonly runtime: typeof proto3;
|
|
3067
|
+
static readonly typeName = "livekit.SIPRequestDest";
|
|
3068
|
+
static readonly fields: FieldList;
|
|
3069
|
+
|
|
3070
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPRequestDest;
|
|
3071
|
+
|
|
3072
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPRequestDest;
|
|
3073
|
+
|
|
3074
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPRequestDest;
|
|
3075
|
+
|
|
3076
|
+
static equals(a: SIPRequestDest | PlainMessage<SIPRequestDest> | undefined, b: SIPRequestDest | PlainMessage<SIPRequestDest> | undefined): boolean;
|
|
3077
|
+
}
|
|
3078
|
+
|
|
3079
|
+
/**
|
|
3080
|
+
* @generated from message livekit.SIPNamedDest
|
|
3081
|
+
*/
|
|
3082
|
+
export declare class SIPNamedDest extends Message<SIPNamedDest> {
|
|
3083
|
+
/**
|
|
3084
|
+
* @generated from field: string display_name = 3;
|
|
3085
|
+
*/
|
|
3086
|
+
displayName: string;
|
|
3087
|
+
|
|
3088
|
+
/**
|
|
3089
|
+
* @generated from oneof livekit.SIPNamedDest.uri
|
|
3090
|
+
*/
|
|
3091
|
+
uri: {
|
|
3092
|
+
/**
|
|
3093
|
+
* <sip:user@sip.example.com:5060;transport=tcp>
|
|
3094
|
+
*
|
|
3095
|
+
* @generated from field: string raw = 1;
|
|
3096
|
+
*/
|
|
3097
|
+
value: string;
|
|
3098
|
+
case: "raw";
|
|
3099
|
+
} | {
|
|
3100
|
+
/**
|
|
3101
|
+
* @generated from field: livekit.SIPUri values = 2;
|
|
3102
|
+
*/
|
|
3103
|
+
value: SIPUri;
|
|
3104
|
+
case: "values";
|
|
3105
|
+
} | { case: undefined; value?: undefined };
|
|
3106
|
+
|
|
3107
|
+
constructor(data?: PartialMessage<SIPNamedDest>);
|
|
3108
|
+
|
|
3109
|
+
static readonly runtime: typeof proto3;
|
|
3110
|
+
static readonly typeName = "livekit.SIPNamedDest";
|
|
3111
|
+
static readonly fields: FieldList;
|
|
3112
|
+
|
|
3113
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPNamedDest;
|
|
3114
|
+
|
|
3115
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPNamedDest;
|
|
3116
|
+
|
|
3117
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPNamedDest;
|
|
3118
|
+
|
|
3119
|
+
static equals(a: SIPNamedDest | PlainMessage<SIPNamedDest> | undefined, b: SIPNamedDest | PlainMessage<SIPNamedDest> | undefined): boolean;
|
|
3120
|
+
}
|
|
3121
|
+
|
|
3003
3122
|
/**
|
|
3004
3123
|
* @generated from message livekit.Destination
|
|
3005
3124
|
*/
|
|
@@ -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 },
|
|
@@ -744,6 +747,9 @@ export const CreateSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
744
747
|
() => [
|
|
745
748
|
{ no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
746
749
|
{ no: 20, name: "trunk", kind: "message", T: SIPOutboundConfig },
|
|
750
|
+
{ no: 24, name: "sip_request_uri", kind: "message", T: SIPRequestDest },
|
|
751
|
+
{ no: 25, name: "sip_to_header", kind: "message", T: SIPNamedDest },
|
|
752
|
+
{ no: 26, name: "sip_from_header", kind: "message", T: SIPNamedDest },
|
|
747
753
|
{ no: 2, name: "sip_call_to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
748
754
|
{ no: 15, name: "sip_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
749
755
|
{ no: 3, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -864,6 +870,29 @@ export const SIPUri = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
864
870
|
],
|
|
865
871
|
);
|
|
866
872
|
|
|
873
|
+
/**
|
|
874
|
+
* @generated from message livekit.SIPRequestDest
|
|
875
|
+
*/
|
|
876
|
+
export const SIPRequestDest = /*@__PURE__*/ proto3.makeMessageType(
|
|
877
|
+
"livekit.SIPRequestDest",
|
|
878
|
+
() => [
|
|
879
|
+
{ no: 1, name: "raw", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "uri" },
|
|
880
|
+
{ no: 2, name: "values", kind: "message", T: SIPUri, oneof: "uri" },
|
|
881
|
+
],
|
|
882
|
+
);
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* @generated from message livekit.SIPNamedDest
|
|
886
|
+
*/
|
|
887
|
+
export const SIPNamedDest = /*@__PURE__*/ proto3.makeMessageType(
|
|
888
|
+
"livekit.SIPNamedDest",
|
|
889
|
+
() => [
|
|
890
|
+
{ no: 3, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
891
|
+
{ no: 1, name: "raw", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "uri" },
|
|
892
|
+
{ no: 2, name: "values", kind: "message", T: SIPUri, oneof: "uri" },
|
|
893
|
+
],
|
|
894
|
+
);
|
|
895
|
+
|
|
867
896
|
/**
|
|
868
897
|
* @generated from message livekit.Destination
|
|
869
898
|
*/
|
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.2';
|
package/src/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { protoInt64, Timestamp } from "@bufbuild/protobuf";
|
|
2
2
|
export { protoInt64, Timestamp };
|
|
3
3
|
export * as AgentSession from "./gen/agent/livekit_agent_session_pb.js";
|
|
4
|
+
export * as AgentInference from "./gen/agent/livekit_agent_inference_pb.js";
|
|
5
|
+
export * as AgentText from "./gen/agent/livekit_agent_text_pb.js";
|
|
6
|
+
export * as AgentDev from "./gen/agent/livekit_agent_dev_pb.js";
|
|
4
7
|
export * from "./gen/livekit_agent_dispatch_pb.js";
|
|
5
8
|
export * from "./gen/livekit_agent_pb.js";
|
|
6
9
|
export * from "./gen/livekit_analytics_pb.js";
|
package/src/index.js
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
import { protoInt64, Timestamp } from "@bufbuild/protobuf";
|
|
3
3
|
export { protoInt64, Timestamp };
|
|
4
4
|
export * as AgentSession from "./gen/agent/livekit_agent_session_pb.js";
|
|
5
|
+
export * as AgentInference from "./gen/agent/livekit_agent_inference_pb.js";
|
|
6
|
+
export * as AgentText from "./gen/agent/livekit_agent_text_pb.js";
|
|
7
|
+
export * as AgentDev from "./gen/agent/livekit_agent_dev_pb.js";
|
|
5
8
|
export * from "./gen/livekit_agent_dispatch_pb.js";
|
|
6
9
|
export * from "./gen/livekit_agent_pb.js";
|
|
7
10
|
export * from "./gen/livekit_analytics_pb.js";
|