@livekit/protocol 1.46.0 → 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 +612 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1802 -154
- package/dist/index.d.mts +1802 -154
- package/dist/index.d.ts +1802 -154
- package/dist/index.mjs +608 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/agent/livekit_agent_session_pb.d.ts +30 -0
- package/src/gen/agent/livekit_agent_session_pb.js +12 -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 +5 -0
- package/src/gen/livekit_cloud_agent_pb.js +1 -0
- 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 +103 -1
- package/src/gen/livekit_sip_pb.js +26 -0
- package/src/gen/version.js +1 -1
- package/src/index.d.ts +3 -0
- package/src/index.js +3 -0
package/package.json
CHANGED
|
@@ -967,6 +967,12 @@ export declare class AgentSessionEvent extends Message<AgentSessionEvent> {
|
|
|
967
967
|
*/
|
|
968
968
|
value: AgentSessionEvent_EotPrediction;
|
|
969
969
|
case: "eotPrediction";
|
|
970
|
+
} | {
|
|
971
|
+
/**
|
|
972
|
+
* @generated from field: livekit.agent.AgentSessionEvent.FunctionToolsStarted function_tools_started = 20;
|
|
973
|
+
*/
|
|
974
|
+
value: AgentSessionEvent_FunctionToolsStarted;
|
|
975
|
+
case: "functionToolsStarted";
|
|
970
976
|
} | { case: undefined; value?: undefined };
|
|
971
977
|
|
|
972
978
|
constructor(data?: PartialMessage<AgentSessionEvent>);
|
|
@@ -1100,6 +1106,30 @@ export declare class AgentSessionEvent_UserInputTranscribed extends Message<Agen
|
|
|
1100
1106
|
static equals(a: AgentSessionEvent_UserInputTranscribed | PlainMessage<AgentSessionEvent_UserInputTranscribed> | undefined, b: AgentSessionEvent_UserInputTranscribed | PlainMessage<AgentSessionEvent_UserInputTranscribed> | undefined): boolean;
|
|
1101
1107
|
}
|
|
1102
1108
|
|
|
1109
|
+
/**
|
|
1110
|
+
* @generated from message livekit.agent.AgentSessionEvent.FunctionToolsStarted
|
|
1111
|
+
*/
|
|
1112
|
+
export declare class AgentSessionEvent_FunctionToolsStarted extends Message<AgentSessionEvent_FunctionToolsStarted> {
|
|
1113
|
+
/**
|
|
1114
|
+
* @generated from field: repeated livekit.agent.FunctionCall function_calls = 1;
|
|
1115
|
+
*/
|
|
1116
|
+
functionCalls: FunctionCall[];
|
|
1117
|
+
|
|
1118
|
+
constructor(data?: PartialMessage<AgentSessionEvent_FunctionToolsStarted>);
|
|
1119
|
+
|
|
1120
|
+
static readonly runtime: typeof proto3;
|
|
1121
|
+
static readonly typeName = "livekit.agent.AgentSessionEvent.FunctionToolsStarted";
|
|
1122
|
+
static readonly fields: FieldList;
|
|
1123
|
+
|
|
1124
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionEvent_FunctionToolsStarted;
|
|
1125
|
+
|
|
1126
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionEvent_FunctionToolsStarted;
|
|
1127
|
+
|
|
1128
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionEvent_FunctionToolsStarted;
|
|
1129
|
+
|
|
1130
|
+
static equals(a: AgentSessionEvent_FunctionToolsStarted | PlainMessage<AgentSessionEvent_FunctionToolsStarted> | undefined, b: AgentSessionEvent_FunctionToolsStarted | PlainMessage<AgentSessionEvent_FunctionToolsStarted> | undefined): boolean;
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1103
1133
|
/**
|
|
1104
1134
|
* @generated from message livekit.agent.AgentSessionEvent.FunctionToolsExecuted
|
|
1105
1135
|
*/
|
|
@@ -317,6 +317,7 @@ export const AgentSessionEvent = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
317
317
|
{ no: 17, name: "session_usage_updated", kind: "message", T: AgentSessionEvent_SessionUsageUpdated, oneof: "event" },
|
|
318
318
|
{ no: 18, name: "amd_prediction", kind: "message", T: AgentSessionEvent_AmdPrediction, oneof: "event" },
|
|
319
319
|
{ no: 19, name: "eot_prediction", kind: "message", T: AgentSessionEvent_EotPrediction, oneof: "event" },
|
|
320
|
+
{ no: 20, name: "function_tools_started", kind: "message", T: AgentSessionEvent_FunctionToolsStarted, oneof: "event" },
|
|
320
321
|
],
|
|
321
322
|
);
|
|
322
323
|
|
|
@@ -368,6 +369,17 @@ export const AgentSessionEvent_UserInputTranscribed = /*@__PURE__*/ proto3.makeM
|
|
|
368
369
|
{localName: "AgentSessionEvent_UserInputTranscribed"},
|
|
369
370
|
);
|
|
370
371
|
|
|
372
|
+
/**
|
|
373
|
+
* @generated from message livekit.agent.AgentSessionEvent.FunctionToolsStarted
|
|
374
|
+
*/
|
|
375
|
+
export const AgentSessionEvent_FunctionToolsStarted = /*@__PURE__*/ proto3.makeMessageType(
|
|
376
|
+
"livekit.agent.AgentSessionEvent.FunctionToolsStarted",
|
|
377
|
+
() => [
|
|
378
|
+
{ no: 1, name: "function_calls", kind: "message", T: FunctionCall, repeated: true },
|
|
379
|
+
],
|
|
380
|
+
{localName: "AgentSessionEvent_FunctionToolsStarted"},
|
|
381
|
+
);
|
|
382
|
+
|
|
371
383
|
/**
|
|
372
384
|
* @generated from message livekit.agent.AgentSessionEvent.FunctionToolsExecuted
|
|
373
385
|
*/
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
// Copyright 2023 LiveKit, Inc.
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
16
|
+
// @generated from file livekit_agent_worker.proto (package livekit, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @generated from message livekit.WorkerInfo
|
|
25
|
+
*/
|
|
26
|
+
export declare class WorkerInfo extends Message<WorkerInfo> {
|
|
27
|
+
/**
|
|
28
|
+
* @generated from field: string worker_type = 1;
|
|
29
|
+
*/
|
|
30
|
+
workerType: string;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* @generated from field: string agent_name = 2;
|
|
34
|
+
*/
|
|
35
|
+
agentName: string;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @generated from field: float active_jobs = 3;
|
|
39
|
+
*/
|
|
40
|
+
activeJobs: number;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @generated from field: string sdk_version = 4;
|
|
44
|
+
*/
|
|
45
|
+
sdkVersion: string;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* @generated from field: float worker_load = 5;
|
|
49
|
+
*/
|
|
50
|
+
workerLoad: number;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* @generated from field: int32 protocol_version = 6;
|
|
54
|
+
*/
|
|
55
|
+
protocolVersion: number;
|
|
56
|
+
|
|
57
|
+
constructor(data?: PartialMessage<WorkerInfo>);
|
|
58
|
+
|
|
59
|
+
static readonly runtime: typeof proto3;
|
|
60
|
+
static readonly typeName = "livekit.WorkerInfo";
|
|
61
|
+
static readonly fields: FieldList;
|
|
62
|
+
|
|
63
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkerInfo;
|
|
64
|
+
|
|
65
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkerInfo;
|
|
66
|
+
|
|
67
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkerInfo;
|
|
68
|
+
|
|
69
|
+
static equals(a: WorkerInfo | PlainMessage<WorkerInfo> | undefined, b: WorkerInfo | PlainMessage<WorkerInfo> | undefined): boolean;
|
|
70
|
+
}
|
|
71
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// Copyright 2023 LiveKit, Inc.
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
16
|
+
// @generated from file livekit_agent_worker.proto (package livekit, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { proto3 } from "@bufbuild/protobuf";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* @generated from message livekit.WorkerInfo
|
|
24
|
+
*/
|
|
25
|
+
export const WorkerInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
26
|
+
"livekit.WorkerInfo",
|
|
27
|
+
() => [
|
|
28
|
+
{ no: 1, name: "worker_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
29
|
+
{ no: 2, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
30
|
+
{ no: 3, name: "active_jobs", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
31
|
+
{ no: 4, name: "sdk_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
32
|
+
{ no: 5, name: "worker_load", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
33
|
+
{ no: 6, name: "protocol_version", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
34
|
+
],
|
|
35
|
+
);
|
|
36
|
+
|
|
@@ -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
|
|
|
@@ -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;
|
|
@@ -160,6 +160,7 @@ export const AgentDeployment = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
160
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
|
|
|
@@ -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
|
|
|
@@ -2486,6 +2486,27 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
|
|
|
2486
2486
|
*/
|
|
2487
2487
|
trunk?: SIPOutboundConfig;
|
|
2488
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
|
+
|
|
2489
2510
|
/**
|
|
2490
2511
|
* What number should be dialed via SIP
|
|
2491
2512
|
*
|
|
@@ -2635,7 +2656,7 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
|
|
|
2635
2656
|
displayName?: string;
|
|
2636
2657
|
|
|
2637
2658
|
/**
|
|
2638
|
-
* NEXT ID:
|
|
2659
|
+
* NEXT ID: 27
|
|
2639
2660
|
*
|
|
2640
2661
|
* @generated from field: optional livekit.Destination destination = 22;
|
|
2641
2662
|
*/
|
|
@@ -3017,6 +3038,87 @@ export declare class SIPUri extends Message<SIPUri> {
|
|
|
3017
3038
|
static equals(a: SIPUri | PlainMessage<SIPUri> | undefined, b: SIPUri | PlainMessage<SIPUri> | undefined): boolean;
|
|
3018
3039
|
}
|
|
3019
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
|
+
|
|
3020
3122
|
/**
|
|
3021
3123
|
* @generated from message livekit.Destination
|
|
3022
3124
|
*/
|
|
@@ -747,6 +747,9 @@ export const CreateSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
747
747
|
() => [
|
|
748
748
|
{ no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
749
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 },
|
|
750
753
|
{ no: 2, name: "sip_call_to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
751
754
|
{ no: 15, name: "sip_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
752
755
|
{ no: 3, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -867,6 +870,29 @@ export const SIPUri = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
867
870
|
],
|
|
868
871
|
);
|
|
869
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
|
+
|
|
870
896
|
/**
|
|
871
897
|
* @generated from message livekit.Destination
|
|
872
898
|
*/
|
package/src/gen/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '1.46.
|
|
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";
|