@livekit/protocol 1.50.4 → 1.52.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 +264 -100
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +862 -256
- package/dist/index.d.mts +862 -256
- package/dist/index.d.ts +862 -256
- package/dist/index.mjs +256 -99
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/gen/livekit_agent_simulation_pb.d.ts +487 -204
- package/src/gen/livekit_agent_simulation_pb.js +131 -53
- package/src/gen/livekit_agentdb_pb.d.ts +1126 -0
- package/src/gen/livekit_agentdb_pb.js +447 -0
- package/src/gen/livekit_analytics_pb.d.ts +13 -1
- package/src/gen/livekit_analytics_pb.js +3 -1
- package/src/gen/livekit_egress_pb.d.ts +7 -44
- package/src/gen/livekit_egress_pb.js +1 -14
- package/src/gen/livekit_models_pb.d.ts +52 -0
- package/src/gen/livekit_models_pb.js +18 -0
- package/src/gen/livekit_phone_number_pb.d.ts +86 -1
- package/src/gen/livekit_phone_number_pb.js +29 -0
- package/src/gen/livekit_room_pb.d.ts +1 -1
- package/src/gen/livekit_rtc_pb.d.ts +5 -0
- package/src/gen/livekit_rtc_pb.js +1 -0
- package/src/gen/livekit_sip_pb.d.ts +160 -1
- package/src/gen/livekit_sip_pb.js +49 -0
- package/src/gen/livekit_webhook_pb.d.ts +17 -2
- package/src/gen/livekit_webhook_pb.js +4 -1
- package/src/gen/version.js +1 -1
|
@@ -0,0 +1,447 @@
|
|
|
1
|
+
// Copyright 2026 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_agentdb.proto (package livekit, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { proto3 } from "@bufbuild/protobuf";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Nested so that names like Value and Ping need not be unique across the
|
|
24
|
+
* livekit package. `tip` throughout is the latest durable commit sequence.
|
|
25
|
+
*
|
|
26
|
+
* @generated from message livekit.AgentDB
|
|
27
|
+
*/
|
|
28
|
+
export const AgentDB = /*@__PURE__*/ proto3.makeMessageType(
|
|
29
|
+
"livekit.AgentDB",
|
|
30
|
+
[],
|
|
31
|
+
);
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @generated from message livekit.AgentDB.CreateRequest
|
|
35
|
+
*/
|
|
36
|
+
export const AgentDB_CreateRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
37
|
+
"livekit.AgentDB.CreateRequest",
|
|
38
|
+
() => [
|
|
39
|
+
{ no: 1, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
40
|
+
{ no: 2, name: "ttl_seconds", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
41
|
+
],
|
|
42
|
+
{localName: "AgentDB_CreateRequest"},
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @generated from message livekit.AgentDB.CreateResponse
|
|
47
|
+
*/
|
|
48
|
+
export const AgentDB_CreateResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
49
|
+
"livekit.AgentDB.CreateResponse",
|
|
50
|
+
() => [
|
|
51
|
+
{ no: 1, name: "database_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
52
|
+
{ no: 2, name: "expires_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
53
|
+
],
|
|
54
|
+
{localName: "AgentDB_CreateResponse"},
|
|
55
|
+
);
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @generated from message livekit.AgentDB.GetRequest
|
|
59
|
+
*/
|
|
60
|
+
export const AgentDB_GetRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
61
|
+
"livekit.AgentDB.GetRequest",
|
|
62
|
+
() => [
|
|
63
|
+
{ no: 1, name: "database_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
64
|
+
],
|
|
65
|
+
{localName: "AgentDB_GetRequest"},
|
|
66
|
+
);
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @generated from message livekit.AgentDB.ListRequest
|
|
70
|
+
*/
|
|
71
|
+
export const AgentDB_ListRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
72
|
+
"livekit.AgentDB.ListRequest",
|
|
73
|
+
() => [
|
|
74
|
+
{ no: 1, name: "page_size", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
75
|
+
{ no: 2, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
76
|
+
],
|
|
77
|
+
{localName: "AgentDB_ListRequest"},
|
|
78
|
+
);
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @generated from message livekit.AgentDB.ListResponse
|
|
82
|
+
*/
|
|
83
|
+
export const AgentDB_ListResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
84
|
+
"livekit.AgentDB.ListResponse",
|
|
85
|
+
() => [
|
|
86
|
+
{ no: 1, name: "databases", kind: "message", T: AgentDB_AgentDatabase, repeated: true },
|
|
87
|
+
{ no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
88
|
+
],
|
|
89
|
+
{localName: "AgentDB_ListResponse"},
|
|
90
|
+
);
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* One database, as get and list both report it.
|
|
94
|
+
*
|
|
95
|
+
* @generated from message livekit.AgentDB.AgentDatabase
|
|
96
|
+
*/
|
|
97
|
+
export const AgentDB_AgentDatabase = /*@__PURE__*/ proto3.makeMessageType(
|
|
98
|
+
"livekit.AgentDB.AgentDatabase",
|
|
99
|
+
() => [
|
|
100
|
+
{ no: 1, name: "database_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
101
|
+
{ no: 2, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
102
|
+
{ no: 3, name: "created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
103
|
+
{ no: 4, name: "expires_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
104
|
+
{ no: 5, name: "tip", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
105
|
+
],
|
|
106
|
+
{localName: "AgentDB_AgentDatabase"},
|
|
107
|
+
);
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* @generated from message livekit.AgentDB.DeleteRequest
|
|
111
|
+
*/
|
|
112
|
+
export const AgentDB_DeleteRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
113
|
+
"livekit.AgentDB.DeleteRequest",
|
|
114
|
+
() => [
|
|
115
|
+
{ no: 1, name: "database_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
116
|
+
],
|
|
117
|
+
{localName: "AgentDB_DeleteRequest"},
|
|
118
|
+
);
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* @generated from message livekit.AgentDB.DeleteResponse
|
|
122
|
+
*/
|
|
123
|
+
export const AgentDB_DeleteResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
124
|
+
"livekit.AgentDB.DeleteResponse",
|
|
125
|
+
[],
|
|
126
|
+
{localName: "AgentDB_DeleteResponse"},
|
|
127
|
+
);
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* @generated from message livekit.AgentDB.DumpRequest
|
|
131
|
+
*/
|
|
132
|
+
export const AgentDB_DumpRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
133
|
+
"livekit.AgentDB.DumpRequest",
|
|
134
|
+
() => [
|
|
135
|
+
{ no: 1, name: "database_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
136
|
+
],
|
|
137
|
+
{localName: "AgentDB_DumpRequest"},
|
|
138
|
+
);
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* @generated from message livekit.AgentDB.DumpResponse
|
|
142
|
+
*/
|
|
143
|
+
export const AgentDB_DumpResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
144
|
+
"livekit.AgentDB.DumpResponse",
|
|
145
|
+
() => [
|
|
146
|
+
{ no: 1, name: "download_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
147
|
+
{ no: 2, name: "expires_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
148
|
+
{ no: 3, name: "tip", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
149
|
+
],
|
|
150
|
+
{localName: "AgentDB_DumpResponse"},
|
|
151
|
+
);
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Data plane: one WebSocket per database, one message per frame, correlated
|
|
155
|
+
* by a client-chosen request_id. Result batches are paced by Credit, so the
|
|
156
|
+
* server never sends more un-consumed batches than granted.
|
|
157
|
+
*
|
|
158
|
+
* @generated from message livekit.AgentDB.Wire
|
|
159
|
+
*/
|
|
160
|
+
export const AgentDB_Wire = /*@__PURE__*/ proto3.makeMessageType(
|
|
161
|
+
"livekit.AgentDB.Wire",
|
|
162
|
+
[],
|
|
163
|
+
{localName: "AgentDB_Wire"},
|
|
164
|
+
);
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* @generated from enum livekit.AgentDB.Wire.QueryLang
|
|
168
|
+
*/
|
|
169
|
+
export const AgentDB_Wire_QueryLang = /*@__PURE__*/ proto3.makeEnum(
|
|
170
|
+
"livekit.AgentDB.Wire.QueryLang",
|
|
171
|
+
[
|
|
172
|
+
{no: 0, name: "SQL"},
|
|
173
|
+
],
|
|
174
|
+
);
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* @generated from enum livekit.AgentDB.Wire.ValueType
|
|
178
|
+
*/
|
|
179
|
+
export const AgentDB_Wire_ValueType = /*@__PURE__*/ proto3.makeEnum(
|
|
180
|
+
"livekit.AgentDB.Wire.ValueType",
|
|
181
|
+
[
|
|
182
|
+
{no: 0, name: "NULL"},
|
|
183
|
+
{no: 1, name: "INT"},
|
|
184
|
+
{no: 2, name: "DOUBLE"},
|
|
185
|
+
{no: 3, name: "TEXT"},
|
|
186
|
+
{no: 4, name: "BLOB"},
|
|
187
|
+
],
|
|
188
|
+
);
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* @generated from message livekit.AgentDB.Wire.ClientMessage
|
|
192
|
+
*/
|
|
193
|
+
export const AgentDB_Wire_ClientMessage = /*@__PURE__*/ proto3.makeMessageType(
|
|
194
|
+
"livekit.AgentDB.Wire.ClientMessage",
|
|
195
|
+
() => [
|
|
196
|
+
{ no: 1, name: "request_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
197
|
+
{ no: 2, name: "hello", kind: "message", T: AgentDB_Wire_Hello, oneof: "message" },
|
|
198
|
+
{ no: 3, name: "exec", kind: "message", T: AgentDB_Wire_Statement, oneof: "message" },
|
|
199
|
+
{ no: 4, name: "query", kind: "message", T: AgentDB_Wire_Statement, oneof: "message" },
|
|
200
|
+
{ no: 5, name: "batch", kind: "message", T: AgentDB_Wire_Batch, oneof: "message" },
|
|
201
|
+
{ no: 6, name: "begin", kind: "message", T: AgentDB_Wire_Begin, oneof: "message" },
|
|
202
|
+
{ no: 7, name: "commit", kind: "message", T: AgentDB_Wire_Commit, oneof: "message" },
|
|
203
|
+
{ no: 8, name: "rollback", kind: "message", T: AgentDB_Wire_Rollback, oneof: "message" },
|
|
204
|
+
{ no: 9, name: "cancel", kind: "message", T: AgentDB_Wire_Cancel, oneof: "message" },
|
|
205
|
+
{ no: 10, name: "credit", kind: "message", T: AgentDB_Wire_Credit, oneof: "message" },
|
|
206
|
+
{ no: 11, name: "ping", kind: "message", T: AgentDB_Wire_Ping, oneof: "message" },
|
|
207
|
+
],
|
|
208
|
+
{localName: "AgentDB_Wire_ClientMessage"},
|
|
209
|
+
);
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* @generated from message livekit.AgentDB.Wire.ServerMessage
|
|
213
|
+
*/
|
|
214
|
+
export const AgentDB_Wire_ServerMessage = /*@__PURE__*/ proto3.makeMessageType(
|
|
215
|
+
"livekit.AgentDB.Wire.ServerMessage",
|
|
216
|
+
() => [
|
|
217
|
+
{ no: 1, name: "request_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
218
|
+
{ no: 2, name: "hello_ok", kind: "message", T: AgentDB_Wire_HelloOk, oneof: "message" },
|
|
219
|
+
{ no: 3, name: "columns", kind: "message", T: AgentDB_Wire_Columns, oneof: "message" },
|
|
220
|
+
{ no: 4, name: "column_batch", kind: "message", T: AgentDB_Wire_ColumnBatch, oneof: "message" },
|
|
221
|
+
{ no: 5, name: "exec_result", kind: "message", T: AgentDB_Wire_ExecResult, oneof: "message" },
|
|
222
|
+
{ no: 6, name: "done", kind: "message", T: AgentDB_Wire_Done, oneof: "message" },
|
|
223
|
+
{ no: 7, name: "error", kind: "message", T: AgentDB_Wire_Error, oneof: "message" },
|
|
224
|
+
{ no: 8, name: "pong", kind: "message", T: AgentDB_Wire_Pong, oneof: "message" },
|
|
225
|
+
],
|
|
226
|
+
{localName: "AgentDB_Wire_ServerMessage"},
|
|
227
|
+
);
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* SQLite's five storage classes.
|
|
231
|
+
*
|
|
232
|
+
* @generated from message livekit.AgentDB.Wire.Value
|
|
233
|
+
*/
|
|
234
|
+
export const AgentDB_Wire_Value = /*@__PURE__*/ proto3.makeMessageType(
|
|
235
|
+
"livekit.AgentDB.Wire.Value",
|
|
236
|
+
() => [
|
|
237
|
+
{ no: 1, name: "null_value", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "value" },
|
|
238
|
+
{ no: 2, name: "int_value", kind: "scalar", T: 3 /* ScalarType.INT64 */, oneof: "value" },
|
|
239
|
+
{ no: 3, name: "double_value", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, oneof: "value" },
|
|
240
|
+
{ no: 4, name: "text_value", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "value" },
|
|
241
|
+
{ no: 5, name: "blob_value", kind: "scalar", T: 12 /* ScalarType.BYTES */, oneof: "value" },
|
|
242
|
+
],
|
|
243
|
+
{localName: "AgentDB_Wire_Value"},
|
|
244
|
+
);
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* @generated from message livekit.AgentDB.Wire.Statement
|
|
248
|
+
*/
|
|
249
|
+
export const AgentDB_Wire_Statement = /*@__PURE__*/ proto3.makeMessageType(
|
|
250
|
+
"livekit.AgentDB.Wire.Statement",
|
|
251
|
+
() => [
|
|
252
|
+
{ no: 1, name: "sql", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
253
|
+
{ no: 2, name: "params", kind: "message", T: AgentDB_Wire_Value, repeated: true },
|
|
254
|
+
{ no: 3, name: "lang", kind: "enum", T: proto3.getEnumType(AgentDB_Wire_QueryLang) },
|
|
255
|
+
],
|
|
256
|
+
{localName: "AgentDB_Wire_Statement"},
|
|
257
|
+
);
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* @generated from message livekit.AgentDB.Wire.Batch
|
|
261
|
+
*/
|
|
262
|
+
export const AgentDB_Wire_Batch = /*@__PURE__*/ proto3.makeMessageType(
|
|
263
|
+
"livekit.AgentDB.Wire.Batch",
|
|
264
|
+
() => [
|
|
265
|
+
{ no: 1, name: "statements", kind: "message", T: AgentDB_Wire_Statement, repeated: true },
|
|
266
|
+
],
|
|
267
|
+
{localName: "AgentDB_Wire_Batch"},
|
|
268
|
+
);
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* @generated from message livekit.AgentDB.Wire.Begin
|
|
272
|
+
*/
|
|
273
|
+
export const AgentDB_Wire_Begin = /*@__PURE__*/ proto3.makeMessageType(
|
|
274
|
+
"livekit.AgentDB.Wire.Begin",
|
|
275
|
+
[],
|
|
276
|
+
{localName: "AgentDB_Wire_Begin"},
|
|
277
|
+
);
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* @generated from message livekit.AgentDB.Wire.Commit
|
|
281
|
+
*/
|
|
282
|
+
export const AgentDB_Wire_Commit = /*@__PURE__*/ proto3.makeMessageType(
|
|
283
|
+
"livekit.AgentDB.Wire.Commit",
|
|
284
|
+
[],
|
|
285
|
+
{localName: "AgentDB_Wire_Commit"},
|
|
286
|
+
);
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* @generated from message livekit.AgentDB.Wire.Rollback
|
|
290
|
+
*/
|
|
291
|
+
export const AgentDB_Wire_Rollback = /*@__PURE__*/ proto3.makeMessageType(
|
|
292
|
+
"livekit.AgentDB.Wire.Rollback",
|
|
293
|
+
[],
|
|
294
|
+
{localName: "AgentDB_Wire_Rollback"},
|
|
295
|
+
);
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* @generated from message livekit.AgentDB.Wire.Cancel
|
|
299
|
+
*/
|
|
300
|
+
export const AgentDB_Wire_Cancel = /*@__PURE__*/ proto3.makeMessageType(
|
|
301
|
+
"livekit.AgentDB.Wire.Cancel",
|
|
302
|
+
[],
|
|
303
|
+
{localName: "AgentDB_Wire_Cancel"},
|
|
304
|
+
);
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* @generated from message livekit.AgentDB.Wire.Credit
|
|
308
|
+
*/
|
|
309
|
+
export const AgentDB_Wire_Credit = /*@__PURE__*/ proto3.makeMessageType(
|
|
310
|
+
"livekit.AgentDB.Wire.Credit",
|
|
311
|
+
() => [
|
|
312
|
+
{ no: 1, name: "batches", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
313
|
+
],
|
|
314
|
+
{localName: "AgentDB_Wire_Credit"},
|
|
315
|
+
);
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* @generated from message livekit.AgentDB.Wire.Ping
|
|
319
|
+
*/
|
|
320
|
+
export const AgentDB_Wire_Ping = /*@__PURE__*/ proto3.makeMessageType(
|
|
321
|
+
"livekit.AgentDB.Wire.Ping",
|
|
322
|
+
() => [
|
|
323
|
+
{ no: 1, name: "timestamp_ms", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
324
|
+
],
|
|
325
|
+
{localName: "AgentDB_Wire_Ping"},
|
|
326
|
+
);
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* @generated from message livekit.AgentDB.Wire.Pong
|
|
330
|
+
*/
|
|
331
|
+
export const AgentDB_Wire_Pong = /*@__PURE__*/ proto3.makeMessageType(
|
|
332
|
+
"livekit.AgentDB.Wire.Pong",
|
|
333
|
+
() => [
|
|
334
|
+
{ no: 1, name: "last_ping_timestamp_ms", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
335
|
+
{ no: 2, name: "timestamp_ms", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
336
|
+
],
|
|
337
|
+
{localName: "AgentDB_Wire_Pong"},
|
|
338
|
+
);
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* @generated from message livekit.AgentDB.Wire.Hello
|
|
342
|
+
*/
|
|
343
|
+
export const AgentDB_Wire_Hello = /*@__PURE__*/ proto3.makeMessageType(
|
|
344
|
+
"livekit.AgentDB.Wire.Hello",
|
|
345
|
+
() => [
|
|
346
|
+
{ no: 1, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
347
|
+
{ no: 2, name: "database_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
348
|
+
],
|
|
349
|
+
{localName: "AgentDB_Wire_Hello"},
|
|
350
|
+
);
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* @generated from message livekit.AgentDB.Wire.HelloOk
|
|
354
|
+
*/
|
|
355
|
+
export const AgentDB_Wire_HelloOk = /*@__PURE__*/ proto3.makeMessageType(
|
|
356
|
+
"livekit.AgentDB.Wire.HelloOk",
|
|
357
|
+
() => [
|
|
358
|
+
{ no: 1, name: "tip", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
359
|
+
{ no: 2, name: "ping_interval_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
360
|
+
{ no: 3, name: "ping_timeout_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
361
|
+
],
|
|
362
|
+
{localName: "AgentDB_Wire_HelloOk"},
|
|
363
|
+
);
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* @generated from message livekit.AgentDB.Wire.Columns
|
|
367
|
+
*/
|
|
368
|
+
export const AgentDB_Wire_Columns = /*@__PURE__*/ proto3.makeMessageType(
|
|
369
|
+
"livekit.AgentDB.Wire.Columns",
|
|
370
|
+
() => [
|
|
371
|
+
{ no: 1, name: "names", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
372
|
+
],
|
|
373
|
+
{localName: "AgentDB_Wire_Columns"},
|
|
374
|
+
);
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* Values are typed per row, as SQLite types them, so a column may mix
|
|
378
|
+
* classes: walk `types` and take the next entry from the matching array. Text
|
|
379
|
+
* and blobs are concatenated with one exclusive end offset each, so value i
|
|
380
|
+
* is data[ends[i-1]:ends[i]] with 0 implied before the first. A NULL occupies
|
|
381
|
+
* a tag only.
|
|
382
|
+
*
|
|
383
|
+
* @generated from message livekit.AgentDB.Wire.Column
|
|
384
|
+
*/
|
|
385
|
+
export const AgentDB_Wire_Column = /*@__PURE__*/ proto3.makeMessageType(
|
|
386
|
+
"livekit.AgentDB.Wire.Column",
|
|
387
|
+
() => [
|
|
388
|
+
{ no: 1, name: "types", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
389
|
+
{ no: 2, name: "ints", kind: "scalar", T: 18 /* ScalarType.SINT64 */, repeated: true },
|
|
390
|
+
{ no: 3, name: "doubles", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, repeated: true },
|
|
391
|
+
{ no: 4, name: "text_data", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
392
|
+
{ no: 5, name: "text_ends", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
|
|
393
|
+
{ no: 6, name: "blob_data", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
394
|
+
{ no: 7, name: "blob_ends", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
|
|
395
|
+
],
|
|
396
|
+
{localName: "AgentDB_Wire_Column"},
|
|
397
|
+
);
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* @generated from message livekit.AgentDB.Wire.ColumnBatch
|
|
401
|
+
*/
|
|
402
|
+
export const AgentDB_Wire_ColumnBatch = /*@__PURE__*/ proto3.makeMessageType(
|
|
403
|
+
"livekit.AgentDB.Wire.ColumnBatch",
|
|
404
|
+
() => [
|
|
405
|
+
{ no: 1, name: "columns", kind: "message", T: AgentDB_Wire_Column, repeated: true },
|
|
406
|
+
{ no: 2, name: "rows", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
407
|
+
],
|
|
408
|
+
{localName: "AgentDB_Wire_ColumnBatch"},
|
|
409
|
+
);
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* @generated from message livekit.AgentDB.Wire.ExecResult
|
|
413
|
+
*/
|
|
414
|
+
export const AgentDB_Wire_ExecResult = /*@__PURE__*/ proto3.makeMessageType(
|
|
415
|
+
"livekit.AgentDB.Wire.ExecResult",
|
|
416
|
+
() => [
|
|
417
|
+
{ no: 1, name: "rows_affected", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
418
|
+
{ no: 2, name: "last_insert_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
419
|
+
{ no: 3, name: "tip", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
420
|
+
],
|
|
421
|
+
{localName: "AgentDB_Wire_ExecResult"},
|
|
422
|
+
);
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* @generated from message livekit.AgentDB.Wire.Done
|
|
426
|
+
*/
|
|
427
|
+
export const AgentDB_Wire_Done = /*@__PURE__*/ proto3.makeMessageType(
|
|
428
|
+
"livekit.AgentDB.Wire.Done",
|
|
429
|
+
() => [
|
|
430
|
+
{ no: 1, name: "tip", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
431
|
+
{ no: 2, name: "total_rows", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
432
|
+
],
|
|
433
|
+
{localName: "AgentDB_Wire_Done"},
|
|
434
|
+
);
|
|
435
|
+
|
|
436
|
+
/**
|
|
437
|
+
* @generated from message livekit.AgentDB.Wire.Error
|
|
438
|
+
*/
|
|
439
|
+
export const AgentDB_Wire_Error = /*@__PURE__*/ proto3.makeMessageType(
|
|
440
|
+
"livekit.AgentDB.Wire.Error",
|
|
441
|
+
() => [
|
|
442
|
+
{ no: 1, name: "code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
443
|
+
{ no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
444
|
+
],
|
|
445
|
+
{localName: "AgentDB_Wire_Error"},
|
|
446
|
+
);
|
|
447
|
+
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf";
|
|
21
21
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
|
-
import type { ClientInfo, ParticipantInfo, ParticipantInfo_State, ReconnectReason, Room, RTPStats, TrackInfo, VideoQuality } from "./livekit_models_pb.js";
|
|
22
|
+
import type { ClientInfo, ParticipantInfo, ParticipantInfo_State, ReconnectReason, Room, RoomEndReason, RTPStats, TrackInfo, VideoQuality } from "./livekit_models_pb.js";
|
|
23
23
|
import type { EgressInfo } from "./livekit_egress_pb.js";
|
|
24
24
|
import type { IngressInfo } from "./livekit_ingress_pb.js";
|
|
25
25
|
import type { SIPCallInfo, SIPDispatchRuleInfo, SIPInboundTrunkInfo, SIPOutboundTrunkInfo, SIPTransferInfo } from "./livekit_sip_pb.js";
|
|
@@ -777,6 +777,11 @@ export declare class AnalyticsEvent extends Message<AnalyticsEvent> {
|
|
|
777
777
|
*/
|
|
778
778
|
webhook?: WebhookInfo;
|
|
779
779
|
|
|
780
|
+
/**
|
|
781
|
+
* @generated from field: livekit.RoomEndReason room_end_reason = 37;
|
|
782
|
+
*/
|
|
783
|
+
roomEndReason: RoomEndReason;
|
|
784
|
+
|
|
780
785
|
constructor(data?: PartialMessage<AnalyticsEvent>);
|
|
781
786
|
|
|
782
787
|
static readonly runtime: typeof proto3;
|
|
@@ -1389,6 +1394,13 @@ export declare class WebhookInfo extends Message<WebhookInfo> {
|
|
|
1389
1394
|
*/
|
|
1390
1395
|
sendError: string;
|
|
1391
1396
|
|
|
1397
|
+
/**
|
|
1398
|
+
* HTTP response status code for the delivery attempt (0 if no response).
|
|
1399
|
+
*
|
|
1400
|
+
* @generated from field: int32 http_status_code = 23;
|
|
1401
|
+
*/
|
|
1402
|
+
httpStatusCode: number;
|
|
1403
|
+
|
|
1392
1404
|
constructor(data?: PartialMessage<WebhookInfo>);
|
|
1393
1405
|
|
|
1394
1406
|
static readonly runtime: typeof proto3;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
// @ts-nocheck
|
|
19
19
|
|
|
20
20
|
import { proto3, Timestamp } from "@bufbuild/protobuf";
|
|
21
|
-
import { ClientInfo, ParticipantInfo, ParticipantInfo_State, ReconnectReason, Room, RTPStats, TrackInfo, VideoQuality } from "./livekit_models_pb.js";
|
|
21
|
+
import { ClientInfo, ParticipantInfo, ParticipantInfo_State, ReconnectReason, Room, RoomEndReason, RTPStats, TrackInfo, VideoQuality } from "./livekit_models_pb.js";
|
|
22
22
|
import { EgressInfo } from "./livekit_egress_pb.js";
|
|
23
23
|
import { IngressInfo } from "./livekit_ingress_pb.js";
|
|
24
24
|
import { SIPCallInfo, SIPDispatchRuleInfo, SIPInboundTrunkInfo, SIPOutboundTrunkInfo, SIPTransferInfo } from "./livekit_sip_pb.js";
|
|
@@ -220,6 +220,7 @@ export const AnalyticsEvent = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
220
220
|
{ no: 33, name: "report", kind: "message", T: ReportInfo },
|
|
221
221
|
{ no: 34, name: "api_call", kind: "message", T: APICallInfo },
|
|
222
222
|
{ no: 35, name: "webhook", kind: "message", T: WebhookInfo },
|
|
223
|
+
{ no: 37, name: "room_end_reason", kind: "enum", T: proto3.getEnumType(RoomEndReason) },
|
|
223
224
|
],
|
|
224
225
|
);
|
|
225
226
|
|
|
@@ -397,6 +398,7 @@ export const WebhookInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
397
398
|
{ no: 20, name: "service_error_code", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
398
399
|
{ no: 21, name: "service_error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
399
400
|
{ no: 22, name: "send_error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
401
|
+
{ no: 23, name: "http_status_code", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
400
402
|
],
|
|
401
403
|
);
|
|
402
404
|
|
|
@@ -100,6 +100,13 @@ export declare enum EncodingOptionsPreset {
|
|
|
100
100
|
* @generated from enum value: PORTRAIT_H264_1080P_60 = 7;
|
|
101
101
|
*/
|
|
102
102
|
PORTRAIT_H264_1080P_60 = 7,
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Skip transcoding. Valid only when specifying a single track with MediaSource
|
|
106
|
+
*
|
|
107
|
+
* @generated from enum value: PASSTHROUGH = 8;
|
|
108
|
+
*/
|
|
109
|
+
PASSTHROUGH = 8,
|
|
103
110
|
}
|
|
104
111
|
|
|
105
112
|
/**
|
|
@@ -1474,50 +1481,6 @@ export declare class ListEgressResponse extends Message<ListEgressResponse> {
|
|
|
1474
1481
|
static equals(a: ListEgressResponse | PlainMessage<ListEgressResponse> | undefined, b: ListEgressResponse | PlainMessage<ListEgressResponse> | undefined): boolean;
|
|
1475
1482
|
}
|
|
1476
1483
|
|
|
1477
|
-
/**
|
|
1478
|
-
* @generated from message livekit.UpdateEgressRequest
|
|
1479
|
-
*/
|
|
1480
|
-
export declare class UpdateEgressRequest extends Message<UpdateEgressRequest> {
|
|
1481
|
-
/**
|
|
1482
|
-
* @generated from field: string egress_id = 1;
|
|
1483
|
-
*/
|
|
1484
|
-
egressId: string;
|
|
1485
|
-
|
|
1486
|
-
/**
|
|
1487
|
-
* @generated from field: string url = 2;
|
|
1488
|
-
*/
|
|
1489
|
-
url: string;
|
|
1490
|
-
|
|
1491
|
-
/**
|
|
1492
|
-
* @generated from field: string layout = 3;
|
|
1493
|
-
*/
|
|
1494
|
-
layout: string;
|
|
1495
|
-
|
|
1496
|
-
/**
|
|
1497
|
-
* @generated from field: repeated string add_stream_urls = 4;
|
|
1498
|
-
*/
|
|
1499
|
-
addStreamUrls: string[];
|
|
1500
|
-
|
|
1501
|
-
/**
|
|
1502
|
-
* @generated from field: repeated string remove_stream_urls = 5;
|
|
1503
|
-
*/
|
|
1504
|
-
removeStreamUrls: string[];
|
|
1505
|
-
|
|
1506
|
-
constructor(data?: PartialMessage<UpdateEgressRequest>);
|
|
1507
|
-
|
|
1508
|
-
static readonly runtime: typeof proto3;
|
|
1509
|
-
static readonly typeName = "livekit.UpdateEgressRequest";
|
|
1510
|
-
static readonly fields: FieldList;
|
|
1511
|
-
|
|
1512
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateEgressRequest;
|
|
1513
|
-
|
|
1514
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateEgressRequest;
|
|
1515
|
-
|
|
1516
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateEgressRequest;
|
|
1517
|
-
|
|
1518
|
-
static equals(a: UpdateEgressRequest | PlainMessage<UpdateEgressRequest> | undefined, b: UpdateEgressRequest | PlainMessage<UpdateEgressRequest> | undefined): boolean;
|
|
1519
|
-
}
|
|
1520
|
-
|
|
1521
1484
|
/**
|
|
1522
1485
|
* @generated from message livekit.StopEgressRequest
|
|
1523
1486
|
*/
|
|
@@ -46,6 +46,7 @@ export const EncodingOptionsPreset = /*@__PURE__*/ proto3.makeEnum(
|
|
|
46
46
|
{no: 5, name: "PORTRAIT_H264_720P_60"},
|
|
47
47
|
{no: 6, name: "PORTRAIT_H264_1080P_30"},
|
|
48
48
|
{no: 7, name: "PORTRAIT_H264_1080P_60"},
|
|
49
|
+
{no: 8, name: "PASSTHROUGH"},
|
|
49
50
|
],
|
|
50
51
|
);
|
|
51
52
|
|
|
@@ -486,20 +487,6 @@ export const ListEgressResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
486
487
|
],
|
|
487
488
|
);
|
|
488
489
|
|
|
489
|
-
/**
|
|
490
|
-
* @generated from message livekit.UpdateEgressRequest
|
|
491
|
-
*/
|
|
492
|
-
export const UpdateEgressRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
493
|
-
"livekit.UpdateEgressRequest",
|
|
494
|
-
() => [
|
|
495
|
-
{ no: 1, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
496
|
-
{ no: 2, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
497
|
-
{ no: 3, name: "layout", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
498
|
-
{ no: 4, name: "add_stream_urls", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
499
|
-
{ no: 5, name: "remove_stream_urls", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
500
|
-
],
|
|
501
|
-
);
|
|
502
|
-
|
|
503
490
|
/**
|
|
504
491
|
* @generated from message livekit.StopEgressRequest
|
|
505
492
|
*/
|
|
@@ -377,6 +377,53 @@ export declare enum DisconnectReason {
|
|
|
377
377
|
AGENT_ERROR = 16,
|
|
378
378
|
}
|
|
379
379
|
|
|
380
|
+
/**
|
|
381
|
+
* why a room ended, reported on room-ended telemetry
|
|
382
|
+
*
|
|
383
|
+
* @generated from enum livekit.RoomEndReason
|
|
384
|
+
*/
|
|
385
|
+
export declare enum RoomEndReason {
|
|
386
|
+
/**
|
|
387
|
+
* @generated from enum value: ROOM_END_UNKNOWN = 0;
|
|
388
|
+
*/
|
|
389
|
+
ROOM_END_UNKNOWN = 0,
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* RoomService.DeleteRoom was called
|
|
393
|
+
*
|
|
394
|
+
* @generated from enum value: ROOM_END_API_DELETE = 1;
|
|
395
|
+
*/
|
|
396
|
+
ROOM_END_API_DELETE = 1,
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* the room sat empty past its empty or departure timeout
|
|
400
|
+
*
|
|
401
|
+
* @generated from enum value: ROOM_END_IDLE_TIMEOUT = 2;
|
|
402
|
+
*/
|
|
403
|
+
ROOM_END_IDLE_TIMEOUT = 2,
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* the server instance is shutting down
|
|
407
|
+
*
|
|
408
|
+
* @generated from enum value: ROOM_END_SERVER_SHUTDOWN = 3;
|
|
409
|
+
*/
|
|
410
|
+
ROOM_END_SERVER_SHUTDOWN = 3,
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* the room was restarted or replaced elsewhere
|
|
414
|
+
*
|
|
415
|
+
* @generated from enum value: ROOM_END_SUPERSEDED = 4;
|
|
416
|
+
*/
|
|
417
|
+
ROOM_END_SUPERSEDED = 4,
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* the room failed to finish opening
|
|
421
|
+
*
|
|
422
|
+
* @generated from enum value: ROOM_END_OPEN_FAILED = 5;
|
|
423
|
+
*/
|
|
424
|
+
ROOM_END_OPEN_FAILED = 5,
|
|
425
|
+
}
|
|
426
|
+
|
|
380
427
|
/**
|
|
381
428
|
* @generated from enum livekit.ReconnectReason
|
|
382
429
|
*/
|
|
@@ -2892,6 +2939,11 @@ export declare enum ClientInfo_SDK {
|
|
|
2892
2939
|
* @generated from enum value: ESP32 = 14;
|
|
2893
2940
|
*/
|
|
2894
2941
|
ESP32 = 14,
|
|
2942
|
+
|
|
2943
|
+
/**
|
|
2944
|
+
* @generated from enum value: DOTNET = 15;
|
|
2945
|
+
*/
|
|
2946
|
+
DOTNET = 15,
|
|
2895
2947
|
}
|
|
2896
2948
|
|
|
2897
2949
|
/**
|