@livekit/protocol 1.45.3 → 1.45.5
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 +3913 -2987
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8103 -6629
- package/dist/index.d.mts +8103 -6629
- package/dist/index.d.ts +8103 -6629
- package/dist/index.mjs +3894 -2989
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/agent/livekit_agent_session_pb.d.ts +49 -0
- package/src/gen/agent/livekit_agent_session_pb.js +15 -0
- package/src/gen/livekit_agent_simulation_pb.d.ts +5 -0
- package/src/gen/livekit_agent_simulation_pb.js +1 -0
- package/src/gen/livekit_cloud_agent_pb.d.ts +200 -1
- package/src/gen/livekit_cloud_agent_pb.js +60 -0
- package/src/gen/livekit_internal_pb.d.ts +10 -0
- package/src/gen/livekit_internal_pb.js +2 -0
- package/src/gen/livekit_models_pb.d.ts +28 -0
- package/src/gen/livekit_models_pb.js +17 -0
- package/src/gen/livekit_room_pb.d.ts +7 -2
- package/src/gen/livekit_room_pb.js +1 -0
- package/src/gen/version.js +1 -1
- package/src/index.d.ts +3 -1
- package/src/index.js +3 -1
package/package.json
CHANGED
|
@@ -140,6 +140,55 @@ export declare class MetricsReport extends Message<MetricsReport> {
|
|
|
140
140
|
static equals(a: MetricsReport | PlainMessage<MetricsReport> | undefined, b: MetricsReport | PlainMessage<MetricsReport> | undefined): boolean;
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
+
/**
|
|
144
|
+
* @generated from message livekit.agent.TimedString
|
|
145
|
+
*/
|
|
146
|
+
export declare class TimedString extends Message<TimedString> {
|
|
147
|
+
/**
|
|
148
|
+
* @generated from field: string text = 1;
|
|
149
|
+
*/
|
|
150
|
+
text: string;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* @generated from field: optional double start_time = 2;
|
|
154
|
+
*/
|
|
155
|
+
startTime?: number;
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* @generated from field: optional double end_time = 3;
|
|
159
|
+
*/
|
|
160
|
+
endTime?: number;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* @generated from field: optional double confidence = 4;
|
|
164
|
+
*/
|
|
165
|
+
confidence?: number;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* @generated from field: optional double start_time_offset = 5;
|
|
169
|
+
*/
|
|
170
|
+
startTimeOffset?: number;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* @generated from field: optional string speaker_id = 6;
|
|
174
|
+
*/
|
|
175
|
+
speakerId?: string;
|
|
176
|
+
|
|
177
|
+
constructor(data?: PartialMessage<TimedString>);
|
|
178
|
+
|
|
179
|
+
static readonly runtime: typeof proto3;
|
|
180
|
+
static readonly typeName = "livekit.agent.TimedString";
|
|
181
|
+
static readonly fields: FieldList;
|
|
182
|
+
|
|
183
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TimedString;
|
|
184
|
+
|
|
185
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TimedString;
|
|
186
|
+
|
|
187
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TimedString;
|
|
188
|
+
|
|
189
|
+
static equals(a: TimedString | PlainMessage<TimedString> | undefined, b: TimedString | PlainMessage<TimedString> | undefined): boolean;
|
|
190
|
+
}
|
|
191
|
+
|
|
143
192
|
/**
|
|
144
193
|
* @generated from message livekit.agent.ChatMessage
|
|
145
194
|
*/
|
|
@@ -61,6 +61,21 @@ export const MetricsReport = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
61
61
|
],
|
|
62
62
|
);
|
|
63
63
|
|
|
64
|
+
/**
|
|
65
|
+
* @generated from message livekit.agent.TimedString
|
|
66
|
+
*/
|
|
67
|
+
export const TimedString = /*@__PURE__*/ proto3.makeMessageType(
|
|
68
|
+
"livekit.agent.TimedString",
|
|
69
|
+
() => [
|
|
70
|
+
{ no: 1, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
71
|
+
{ no: 2, name: "start_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
72
|
+
{ no: 3, name: "end_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
73
|
+
{ no: 4, name: "confidence", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
74
|
+
{ no: 5, name: "start_time_offset", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
75
|
+
{ no: 6, name: "speaker_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
76
|
+
],
|
|
77
|
+
);
|
|
78
|
+
|
|
64
79
|
/**
|
|
65
80
|
* @generated from message livekit.agent.ChatMessage
|
|
66
81
|
*/
|
|
@@ -484,6 +484,11 @@ export declare class SimulationRun_ConfirmSourceUpload_Request extends Message<S
|
|
|
484
484
|
*/
|
|
485
485
|
simulationRunId: string;
|
|
486
486
|
|
|
487
|
+
/**
|
|
488
|
+
* @generated from field: string code_entrypoint = 3;
|
|
489
|
+
*/
|
|
490
|
+
codeEntrypoint: string;
|
|
491
|
+
|
|
487
492
|
constructor(data?: PartialMessage<SimulationRun_ConfirmSourceUpload_Request>);
|
|
488
493
|
|
|
489
494
|
static readonly runtime: typeof proto3;
|
|
@@ -192,6 +192,7 @@ export const SimulationRun_ConfirmSourceUpload_Request = /*@__PURE__*/ proto3.ma
|
|
|
192
192
|
() => [
|
|
193
193
|
{ no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
194
194
|
{ no: 2, name: "simulation_run_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
195
|
+
{ no: 3, name: "code_entrypoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
195
196
|
],
|
|
196
197
|
{localName: "SimulationRun_ConfirmSourceUpload_Request"},
|
|
197
198
|
);
|
|
@@ -128,6 +128,11 @@ export declare class AgentSecret extends Message<AgentSecret> {
|
|
|
128
128
|
*/
|
|
129
129
|
kind: AgentSecretKind;
|
|
130
130
|
|
|
131
|
+
/**
|
|
132
|
+
* @generated from field: repeated string environments = 6;
|
|
133
|
+
*/
|
|
134
|
+
environments: string[];
|
|
135
|
+
|
|
131
136
|
constructor(data?: PartialMessage<AgentSecret>);
|
|
132
137
|
|
|
133
138
|
static readonly runtime: typeof proto3;
|
|
@@ -255,6 +260,69 @@ export declare class CreateAgentResponse extends Message<CreateAgentResponse> {
|
|
|
255
260
|
static equals(a: CreateAgentResponse | PlainMessage<CreateAgentResponse> | undefined, b: CreateAgentResponse | PlainMessage<CreateAgentResponse> | undefined): boolean;
|
|
256
261
|
}
|
|
257
262
|
|
|
263
|
+
/**
|
|
264
|
+
* @generated from message livekit.CreateAgentV2Request
|
|
265
|
+
*/
|
|
266
|
+
export declare class CreateAgentV2Request extends Message<CreateAgentV2Request> {
|
|
267
|
+
/**
|
|
268
|
+
* @generated from field: repeated livekit.AgentSecret secrets = 1;
|
|
269
|
+
*/
|
|
270
|
+
secrets: AgentSecret[];
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* @generated from field: repeated string regions = 2;
|
|
274
|
+
*/
|
|
275
|
+
regions: string[];
|
|
276
|
+
|
|
277
|
+
constructor(data?: PartialMessage<CreateAgentV2Request>);
|
|
278
|
+
|
|
279
|
+
static readonly runtime: typeof proto3;
|
|
280
|
+
static readonly typeName = "livekit.CreateAgentV2Request";
|
|
281
|
+
static readonly fields: FieldList;
|
|
282
|
+
|
|
283
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateAgentV2Request;
|
|
284
|
+
|
|
285
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateAgentV2Request;
|
|
286
|
+
|
|
287
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateAgentV2Request;
|
|
288
|
+
|
|
289
|
+
static equals(a: CreateAgentV2Request | PlainMessage<CreateAgentV2Request> | undefined, b: CreateAgentV2Request | PlainMessage<CreateAgentV2Request> | undefined): boolean;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* @generated from message livekit.CreateAgentV2Response
|
|
294
|
+
*/
|
|
295
|
+
export declare class CreateAgentV2Response extends Message<CreateAgentV2Response> {
|
|
296
|
+
/**
|
|
297
|
+
* @generated from field: string agent_id = 1;
|
|
298
|
+
*/
|
|
299
|
+
agentId: string;
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* @generated from field: string status = 2;
|
|
303
|
+
*/
|
|
304
|
+
status: string;
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* @generated from field: repeated string server_regions = 3;
|
|
308
|
+
*/
|
|
309
|
+
serverRegions: string[];
|
|
310
|
+
|
|
311
|
+
constructor(data?: PartialMessage<CreateAgentV2Response>);
|
|
312
|
+
|
|
313
|
+
static readonly runtime: typeof proto3;
|
|
314
|
+
static readonly typeName = "livekit.CreateAgentV2Response";
|
|
315
|
+
static readonly fields: FieldList;
|
|
316
|
+
|
|
317
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateAgentV2Response;
|
|
318
|
+
|
|
319
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateAgentV2Response;
|
|
320
|
+
|
|
321
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateAgentV2Response;
|
|
322
|
+
|
|
323
|
+
static equals(a: CreateAgentV2Response | PlainMessage<CreateAgentV2Response> | undefined, b: CreateAgentV2Response | PlainMessage<CreateAgentV2Response> | undefined): boolean;
|
|
324
|
+
}
|
|
325
|
+
|
|
258
326
|
/**
|
|
259
327
|
* @generated from message livekit.PresignedPostRequest
|
|
260
328
|
*/
|
|
@@ -358,6 +426,21 @@ export declare class AgentDeployment extends Message<AgentDeployment> {
|
|
|
358
426
|
*/
|
|
359
427
|
events: AgentEvent[];
|
|
360
428
|
|
|
429
|
+
/**
|
|
430
|
+
* @generated from field: string environment = 15;
|
|
431
|
+
*/
|
|
432
|
+
environment: string;
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* @generated from field: string version = 16;
|
|
436
|
+
*/
|
|
437
|
+
version: string;
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* @generated from field: string agent_name = 17;
|
|
441
|
+
*/
|
|
442
|
+
agentName: string;
|
|
443
|
+
|
|
361
444
|
constructor(data?: PartialMessage<AgentDeployment>);
|
|
362
445
|
|
|
363
446
|
static readonly runtime: typeof proto3;
|
|
@@ -519,6 +602,11 @@ export declare class AgentVersion extends Message<AgentVersion> {
|
|
|
519
602
|
*/
|
|
520
603
|
draining: boolean;
|
|
521
604
|
|
|
605
|
+
/**
|
|
606
|
+
* @generated from field: bool active = 9;
|
|
607
|
+
*/
|
|
608
|
+
active: boolean;
|
|
609
|
+
|
|
522
610
|
constructor(data?: PartialMessage<AgentVersion>);
|
|
523
611
|
|
|
524
612
|
static readonly runtime: typeof proto3;
|
|
@@ -765,6 +853,11 @@ export declare class DeployAgentRequest extends Message<DeployAgentRequest> {
|
|
|
765
853
|
*/
|
|
766
854
|
cpuReq: string;
|
|
767
855
|
|
|
856
|
+
/**
|
|
857
|
+
* @generated from field: string environment = 7;
|
|
858
|
+
*/
|
|
859
|
+
environment: string;
|
|
860
|
+
|
|
768
861
|
constructor(data?: PartialMessage<DeployAgentRequest>);
|
|
769
862
|
|
|
770
863
|
static readonly runtime: typeof proto3;
|
|
@@ -800,7 +893,8 @@ export declare class DeployAgentResponse extends Message<DeployAgentResponse> {
|
|
|
800
893
|
agentId: string;
|
|
801
894
|
|
|
802
895
|
/**
|
|
803
|
-
* @generated from field: string presigned_url = 4;
|
|
896
|
+
* @generated from field: string presigned_url = 4 [deprecated = true];
|
|
897
|
+
* @deprecated
|
|
804
898
|
*/
|
|
805
899
|
presignedUrl: string;
|
|
806
900
|
|
|
@@ -814,6 +908,11 @@ export declare class DeployAgentResponse extends Message<DeployAgentResponse> {
|
|
|
814
908
|
*/
|
|
815
909
|
presignedPostRequest?: PresignedPostRequest;
|
|
816
910
|
|
|
911
|
+
/**
|
|
912
|
+
* @generated from field: string environment = 7;
|
|
913
|
+
*/
|
|
914
|
+
environment: string;
|
|
915
|
+
|
|
817
916
|
constructor(data?: PartialMessage<DeployAgentResponse>);
|
|
818
917
|
|
|
819
918
|
static readonly runtime: typeof proto3;
|
|
@@ -829,6 +928,89 @@ export declare class DeployAgentResponse extends Message<DeployAgentResponse> {
|
|
|
829
928
|
static equals(a: DeployAgentResponse | PlainMessage<DeployAgentResponse> | undefined, b: DeployAgentResponse | PlainMessage<DeployAgentResponse> | undefined): boolean;
|
|
830
929
|
}
|
|
831
930
|
|
|
931
|
+
/**
|
|
932
|
+
* @generated from message livekit.DeployAgentV2Request
|
|
933
|
+
*/
|
|
934
|
+
export declare class DeployAgentV2Request extends Message<DeployAgentV2Request> {
|
|
935
|
+
/**
|
|
936
|
+
* @generated from field: string agent_id = 1;
|
|
937
|
+
*/
|
|
938
|
+
agentId: string;
|
|
939
|
+
|
|
940
|
+
/**
|
|
941
|
+
* @generated from field: repeated livekit.AgentSecret secrets = 2;
|
|
942
|
+
*/
|
|
943
|
+
secrets: AgentSecret[];
|
|
944
|
+
|
|
945
|
+
/**
|
|
946
|
+
* @generated from field: string environment = 3;
|
|
947
|
+
*/
|
|
948
|
+
environment: string;
|
|
949
|
+
|
|
950
|
+
constructor(data?: PartialMessage<DeployAgentV2Request>);
|
|
951
|
+
|
|
952
|
+
static readonly runtime: typeof proto3;
|
|
953
|
+
static readonly typeName = "livekit.DeployAgentV2Request";
|
|
954
|
+
static readonly fields: FieldList;
|
|
955
|
+
|
|
956
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeployAgentV2Request;
|
|
957
|
+
|
|
958
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeployAgentV2Request;
|
|
959
|
+
|
|
960
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeployAgentV2Request;
|
|
961
|
+
|
|
962
|
+
static equals(a: DeployAgentV2Request | PlainMessage<DeployAgentV2Request> | undefined, b: DeployAgentV2Request | PlainMessage<DeployAgentV2Request> | undefined): boolean;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* @generated from message livekit.DeployAgentV2Response
|
|
967
|
+
*/
|
|
968
|
+
export declare class DeployAgentV2Response extends Message<DeployAgentV2Response> {
|
|
969
|
+
/**
|
|
970
|
+
* @generated from field: bool success = 1;
|
|
971
|
+
*/
|
|
972
|
+
success: boolean;
|
|
973
|
+
|
|
974
|
+
/**
|
|
975
|
+
* @generated from field: string message = 2;
|
|
976
|
+
*/
|
|
977
|
+
message: string;
|
|
978
|
+
|
|
979
|
+
/**
|
|
980
|
+
* @generated from field: string agent_id = 3;
|
|
981
|
+
*/
|
|
982
|
+
agentId: string;
|
|
983
|
+
|
|
984
|
+
/**
|
|
985
|
+
* @generated from field: string tag = 4;
|
|
986
|
+
*/
|
|
987
|
+
tag: string;
|
|
988
|
+
|
|
989
|
+
/**
|
|
990
|
+
* @generated from field: livekit.PresignedPostRequest presigned_req = 5;
|
|
991
|
+
*/
|
|
992
|
+
presignedReq?: PresignedPostRequest;
|
|
993
|
+
|
|
994
|
+
/**
|
|
995
|
+
* @generated from field: string environment = 6;
|
|
996
|
+
*/
|
|
997
|
+
environment: string;
|
|
998
|
+
|
|
999
|
+
constructor(data?: PartialMessage<DeployAgentV2Response>);
|
|
1000
|
+
|
|
1001
|
+
static readonly runtime: typeof proto3;
|
|
1002
|
+
static readonly typeName = "livekit.DeployAgentV2Response";
|
|
1003
|
+
static readonly fields: FieldList;
|
|
1004
|
+
|
|
1005
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeployAgentV2Response;
|
|
1006
|
+
|
|
1007
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeployAgentV2Response;
|
|
1008
|
+
|
|
1009
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeployAgentV2Response;
|
|
1010
|
+
|
|
1011
|
+
static equals(a: DeployAgentV2Response | PlainMessage<DeployAgentV2Response> | undefined, b: DeployAgentV2Response | PlainMessage<DeployAgentV2Response> | undefined): boolean;
|
|
1012
|
+
}
|
|
1013
|
+
|
|
832
1014
|
/**
|
|
833
1015
|
* @generated from message livekit.UpdateAgentSecretsRequest
|
|
834
1016
|
*/
|
|
@@ -979,6 +1161,13 @@ export declare class DeleteAgentRequest extends Message<DeleteAgentRequest> {
|
|
|
979
1161
|
*/
|
|
980
1162
|
agentName: string;
|
|
981
1163
|
|
|
1164
|
+
/**
|
|
1165
|
+
* optional
|
|
1166
|
+
*
|
|
1167
|
+
* @generated from field: string environment = 3;
|
|
1168
|
+
*/
|
|
1169
|
+
environment: string;
|
|
1170
|
+
|
|
982
1171
|
constructor(data?: PartialMessage<DeleteAgentRequest>);
|
|
983
1172
|
|
|
984
1173
|
static readonly runtime: typeof proto3;
|
|
@@ -1182,6 +1371,11 @@ export declare class PrivateLink extends Message<PrivateLink> {
|
|
|
1182
1371
|
*/
|
|
1183
1372
|
connectionEndpoint: string;
|
|
1184
1373
|
|
|
1374
|
+
/**
|
|
1375
|
+
* @generated from field: string cloud_region = 8;
|
|
1376
|
+
*/
|
|
1377
|
+
cloudRegion: string;
|
|
1378
|
+
|
|
1185
1379
|
/**
|
|
1186
1380
|
* @generated from oneof livekit.PrivateLink.config
|
|
1187
1381
|
*/
|
|
@@ -1329,6 +1523,11 @@ export declare class CreatePrivateLinkRequest extends Message<CreatePrivateLinkR
|
|
|
1329
1523
|
*/
|
|
1330
1524
|
endpoint: string;
|
|
1331
1525
|
|
|
1526
|
+
/**
|
|
1527
|
+
* @generated from field: optional string cloud_region = 6;
|
|
1528
|
+
*/
|
|
1529
|
+
cloudRegion?: string;
|
|
1530
|
+
|
|
1332
1531
|
/**
|
|
1333
1532
|
* @generated from oneof livekit.CreatePrivateLinkRequest.config
|
|
1334
1533
|
*/
|
|
@@ -67,6 +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: "environments", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
70
71
|
],
|
|
71
72
|
);
|
|
72
73
|
|
|
@@ -102,6 +103,29 @@ export const CreateAgentResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
102
103
|
],
|
|
103
104
|
);
|
|
104
105
|
|
|
106
|
+
/**
|
|
107
|
+
* @generated from message livekit.CreateAgentV2Request
|
|
108
|
+
*/
|
|
109
|
+
export const CreateAgentV2Request = /*@__PURE__*/ proto3.makeMessageType(
|
|
110
|
+
"livekit.CreateAgentV2Request",
|
|
111
|
+
() => [
|
|
112
|
+
{ no: 1, name: "secrets", kind: "message", T: AgentSecret, repeated: true },
|
|
113
|
+
{ no: 2, name: "regions", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
114
|
+
],
|
|
115
|
+
);
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* @generated from message livekit.CreateAgentV2Response
|
|
119
|
+
*/
|
|
120
|
+
export const CreateAgentV2Response = /*@__PURE__*/ proto3.makeMessageType(
|
|
121
|
+
"livekit.CreateAgentV2Response",
|
|
122
|
+
() => [
|
|
123
|
+
{ no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
124
|
+
{ no: 2, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
125
|
+
{ no: 3, name: "server_regions", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
126
|
+
],
|
|
127
|
+
);
|
|
128
|
+
|
|
105
129
|
/**
|
|
106
130
|
* @generated from message livekit.PresignedPostRequest
|
|
107
131
|
*/
|
|
@@ -133,6 +157,9 @@ export const AgentDeployment = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
133
157
|
{ no: 12, name: "cpu_limit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
134
158
|
{ no: 13, name: "server_region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
135
159
|
{ no: 14, name: "events", kind: "message", T: AgentEvent, repeated: true },
|
|
160
|
+
{ no: 15, name: "environment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
161
|
+
{ no: 16, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
162
|
+
{ no: 17, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
136
163
|
],
|
|
137
164
|
);
|
|
138
165
|
|
|
@@ -186,6 +213,7 @@ export const AgentVersion = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
186
213
|
{ no: 6, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
187
214
|
{ no: 7, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
188
215
|
{ no: 8, name: "draining", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
216
|
+
{ no: 9, name: "active", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
189
217
|
],
|
|
190
218
|
);
|
|
191
219
|
|
|
@@ -270,6 +298,7 @@ export const DeployAgentRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
270
298
|
{ no: 4, name: "replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
271
299
|
{ no: 5, name: "max_replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
272
300
|
{ no: 6, name: "cpu_req", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
301
|
+
{ no: 7, name: "environment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
273
302
|
],
|
|
274
303
|
);
|
|
275
304
|
|
|
@@ -285,6 +314,34 @@ export const DeployAgentResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
285
314
|
{ no: 4, name: "presigned_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
286
315
|
{ no: 5, name: "tag", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
287
316
|
{ no: 6, name: "presigned_post_request", kind: "message", T: PresignedPostRequest },
|
|
317
|
+
{ no: 7, name: "environment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
318
|
+
],
|
|
319
|
+
);
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* @generated from message livekit.DeployAgentV2Request
|
|
323
|
+
*/
|
|
324
|
+
export const DeployAgentV2Request = /*@__PURE__*/ proto3.makeMessageType(
|
|
325
|
+
"livekit.DeployAgentV2Request",
|
|
326
|
+
() => [
|
|
327
|
+
{ no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
328
|
+
{ no: 2, name: "secrets", kind: "message", T: AgentSecret, repeated: true },
|
|
329
|
+
{ no: 3, name: "environment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
330
|
+
],
|
|
331
|
+
);
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* @generated from message livekit.DeployAgentV2Response
|
|
335
|
+
*/
|
|
336
|
+
export const DeployAgentV2Response = /*@__PURE__*/ proto3.makeMessageType(
|
|
337
|
+
"livekit.DeployAgentV2Response",
|
|
338
|
+
() => [
|
|
339
|
+
{ no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
340
|
+
{ no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
341
|
+
{ no: 3, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
342
|
+
{ no: 4, name: "tag", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
343
|
+
{ no: 5, name: "presigned_req", kind: "message", T: PresignedPostRequest },
|
|
344
|
+
{ no: 6, name: "environment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
288
345
|
],
|
|
289
346
|
);
|
|
290
347
|
|
|
@@ -344,6 +401,7 @@ export const DeleteAgentRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
344
401
|
() => [
|
|
345
402
|
{ no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
346
403
|
{ no: 2, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
404
|
+
{ no: 3, name: "environment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
347
405
|
],
|
|
348
406
|
);
|
|
349
407
|
|
|
@@ -420,6 +478,7 @@ export const PrivateLink = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
420
478
|
{ no: 5, name: "port", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
421
479
|
{ no: 6, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
422
480
|
{ no: 7, name: "connection_endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
481
|
+
{ no: 8, name: "cloud_region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
423
482
|
{ no: 3, name: "aws", kind: "message", T: PrivateLink_AWSConfig, oneof: "config" },
|
|
424
483
|
],
|
|
425
484
|
);
|
|
@@ -472,6 +531,7 @@ export const CreatePrivateLinkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
472
531
|
{ no: 3, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
473
532
|
{ no: 4, name: "port", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
474
533
|
{ no: 5, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
534
|
+
{ no: 6, name: "cloud_region", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
475
535
|
{ no: 2, name: "aws", kind: "message", T: CreatePrivateLinkRequest_AWSCreateConfig, oneof: "config" },
|
|
476
536
|
],
|
|
477
537
|
);
|
|
@@ -807,6 +807,16 @@ export declare class RoomInternal extends Message<RoomInternal> {
|
|
|
807
807
|
*/
|
|
808
808
|
replayEnabled: boolean;
|
|
809
809
|
|
|
810
|
+
/**
|
|
811
|
+
* @generated from field: bool export_room = 7;
|
|
812
|
+
*/
|
|
813
|
+
exportRoom: boolean;
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* @generated from field: map<string, string> tags = 8;
|
|
817
|
+
*/
|
|
818
|
+
tags: { [key: string]: string };
|
|
819
|
+
|
|
810
820
|
constructor(data?: PartialMessage<RoomInternal>);
|
|
811
821
|
|
|
812
822
|
static readonly runtime: typeof proto3;
|
|
@@ -225,6 +225,8 @@ export const RoomInternal = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
225
225
|
{ no: 5, name: "agent_dispatches", kind: "message", T: RoomAgentDispatch, repeated: true },
|
|
226
226
|
{ no: 4, name: "sync_streams", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
227
227
|
{ no: 6, name: "replay_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
228
|
+
{ no: 7, name: "export_room", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
229
|
+
{ no: 8, name: "tags", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
228
230
|
],
|
|
229
231
|
);
|
|
230
232
|
|
|
@@ -2434,6 +2434,14 @@ export declare class ClientInfo extends Message<ClientInfo> {
|
|
|
2434
2434
|
*/
|
|
2435
2435
|
clientProtocol: number;
|
|
2436
2436
|
|
|
2437
|
+
/**
|
|
2438
|
+
* capabilities the client advertises. Populated automatically by each SDK;
|
|
2439
|
+
* not a user-configurable setting.
|
|
2440
|
+
*
|
|
2441
|
+
* @generated from field: repeated livekit.ClientInfo.Capability capabilities = 13;
|
|
2442
|
+
*/
|
|
2443
|
+
capabilities: ClientInfo_Capability[];
|
|
2444
|
+
|
|
2437
2445
|
constructor(data?: PartialMessage<ClientInfo>);
|
|
2438
2446
|
|
|
2439
2447
|
static readonly runtime: typeof proto3;
|
|
@@ -2529,6 +2537,26 @@ export declare enum ClientInfo_SDK {
|
|
|
2529
2537
|
ESP32 = 14,
|
|
2530
2538
|
}
|
|
2531
2539
|
|
|
2540
|
+
/**
|
|
2541
|
+
* Optional capabilities advertised by the client at connect time. The SFU
|
|
2542
|
+
* uses these flags to decide whether to enable features that require
|
|
2543
|
+
* client-side support (e.g. passing RTP packet trailers through to the
|
|
2544
|
+
* subscriber instead of stripping them).
|
|
2545
|
+
*
|
|
2546
|
+
* @generated from enum livekit.ClientInfo.Capability
|
|
2547
|
+
*/
|
|
2548
|
+
export declare enum ClientInfo_Capability {
|
|
2549
|
+
/**
|
|
2550
|
+
* @generated from enum value: CAP_UNUSED = 0;
|
|
2551
|
+
*/
|
|
2552
|
+
CAP_UNUSED = 0,
|
|
2553
|
+
|
|
2554
|
+
/**
|
|
2555
|
+
* @generated from enum value: CAP_PACKET_TRAILER = 1;
|
|
2556
|
+
*/
|
|
2557
|
+
CAP_PACKET_TRAILER = 1,
|
|
2558
|
+
}
|
|
2559
|
+
|
|
2532
2560
|
/**
|
|
2533
2561
|
* server provided client configuration
|
|
2534
2562
|
*
|
|
@@ -803,6 +803,7 @@ export const ClientInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
803
803
|
{ no: 10, name: "network", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
804
804
|
{ no: 11, name: "other_sdks", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
805
805
|
{ no: 12, name: "client_protocol", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
806
|
+
{ no: 13, name: "capabilities", kind: "enum", T: proto3.getEnumType(ClientInfo_Capability), repeated: true },
|
|
806
807
|
],
|
|
807
808
|
);
|
|
808
809
|
|
|
@@ -830,6 +831,22 @@ export const ClientInfo_SDK = /*@__PURE__*/ proto3.makeEnum(
|
|
|
830
831
|
],
|
|
831
832
|
);
|
|
832
833
|
|
|
834
|
+
/**
|
|
835
|
+
* Optional capabilities advertised by the client at connect time. The SFU
|
|
836
|
+
* uses these flags to decide whether to enable features that require
|
|
837
|
+
* client-side support (e.g. passing RTP packet trailers through to the
|
|
838
|
+
* subscriber instead of stripping them).
|
|
839
|
+
*
|
|
840
|
+
* @generated from enum livekit.ClientInfo.Capability
|
|
841
|
+
*/
|
|
842
|
+
export const ClientInfo_Capability = /*@__PURE__*/ proto3.makeEnum(
|
|
843
|
+
"livekit.ClientInfo.Capability",
|
|
844
|
+
[
|
|
845
|
+
{no: 0, name: "CAP_UNUSED"},
|
|
846
|
+
{no: 1, name: "CAP_PACKET_TRAILER"},
|
|
847
|
+
],
|
|
848
|
+
);
|
|
849
|
+
|
|
833
850
|
/**
|
|
834
851
|
* server provided client configuration
|
|
835
852
|
*
|
|
@@ -76,6 +76,13 @@ export declare class CreateRoomRequest extends Message<CreateRoomRequest> {
|
|
|
76
76
|
*/
|
|
77
77
|
metadata: string;
|
|
78
78
|
|
|
79
|
+
/**
|
|
80
|
+
* search tags
|
|
81
|
+
*
|
|
82
|
+
* @generated from field: map<string, string> tags = 15;
|
|
83
|
+
*/
|
|
84
|
+
tags: { [key: string]: string };
|
|
85
|
+
|
|
79
86
|
/**
|
|
80
87
|
* auto-egress configurations
|
|
81
88
|
*
|
|
@@ -113,8 +120,6 @@ export declare class CreateRoomRequest extends Message<CreateRoomRequest> {
|
|
|
113
120
|
/**
|
|
114
121
|
* Define agents that should be dispatched to this room
|
|
115
122
|
*
|
|
116
|
-
* NEXT-ID: 15
|
|
117
|
-
*
|
|
118
123
|
* @generated from field: repeated livekit.RoomAgentDispatch agents = 14;
|
|
119
124
|
*/
|
|
120
125
|
agents: RoomAgentDispatch[];
|
|
@@ -35,6 +35,7 @@ export const CreateRoomRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
35
35
|
{ no: 3, name: "max_participants", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
36
36
|
{ no: 4, name: "node_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
37
37
|
{ no: 5, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
38
|
+
{ no: 15, name: "tags", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
38
39
|
{ no: 6, name: "egress", kind: "message", T: RoomEgress },
|
|
39
40
|
{ no: 7, name: "min_playout_delay", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
40
41
|
{ no: 8, name: "max_playout_delay", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
package/src/gen/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '1.45.
|
|
2
|
+
export const version = '1.45.5';
|
package/src/index.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import { protoInt64, Timestamp } from "@bufbuild/protobuf";
|
|
2
|
+
export { protoInt64, Timestamp };
|
|
2
3
|
export * as AgentSession from "./gen/agent/livekit_agent_session_pb.js";
|
|
3
4
|
export * from "./gen/livekit_agent_dispatch_pb.js";
|
|
4
5
|
export * from "./gen/livekit_agent_pb.js";
|
|
6
|
+
export * from "./gen/livekit_analytics_pb.js";
|
|
5
7
|
export * from "./gen/livekit_connector_pb.js";
|
|
6
8
|
export * from "./gen/livekit_connector_twilio_pb.js";
|
|
7
9
|
export * from "./gen/livekit_connector_whatsapp_pb.js";
|
package/src/index.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
// @ts-check
|
|
2
|
-
|
|
2
|
+
import { protoInt64, Timestamp } from "@bufbuild/protobuf";
|
|
3
|
+
export { protoInt64, Timestamp };
|
|
3
4
|
export * as AgentSession from "./gen/agent/livekit_agent_session_pb.js";
|
|
4
5
|
export * from "./gen/livekit_agent_dispatch_pb.js";
|
|
5
6
|
export * from "./gen/livekit_agent_pb.js";
|
|
7
|
+
export * from "./gen/livekit_analytics_pb.js";
|
|
6
8
|
export * from "./gen/livekit_connector_pb.js";
|
|
7
9
|
export * from "./gen/livekit_connector_twilio_pb.js";
|
|
8
10
|
export * from "./gen/livekit_connector_whatsapp_pb.js";
|