@livekit/protocol 1.50.3 → 1.51.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 +199 -102
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +718 -238
- package/dist/index.d.mts +718 -238
- package/dist/index.d.ts +718 -238
- package/dist/index.mjs +193 -101
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/gen/livekit_agent_simulation_pb.d.ts +369 -184
- package/src/gen/livekit_agent_simulation_pb.js +103 -49
- 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_metrics_pb.d.ts +14 -0
- package/src/gen/livekit_metrics_pb.js +2 -0
- package/src/gen/livekit_models_pb.d.ts +54 -2
- package/src/gen/livekit_models_pb.js +18 -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 +118 -1
- package/src/gen/livekit_sip_pb.js +31 -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,1126 @@
|
|
|
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 type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Nested so that names like Value and Ping need not be unique across the
|
|
25
|
+
* livekit package. `tip` throughout is the latest durable commit sequence.
|
|
26
|
+
*
|
|
27
|
+
* @generated from message livekit.AgentDB
|
|
28
|
+
*/
|
|
29
|
+
export declare class AgentDB extends Message<AgentDB> {
|
|
30
|
+
constructor(data?: PartialMessage<AgentDB>);
|
|
31
|
+
|
|
32
|
+
static readonly runtime: typeof proto3;
|
|
33
|
+
static readonly typeName = "livekit.AgentDB";
|
|
34
|
+
static readonly fields: FieldList;
|
|
35
|
+
|
|
36
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB;
|
|
37
|
+
|
|
38
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB;
|
|
39
|
+
|
|
40
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB;
|
|
41
|
+
|
|
42
|
+
static equals(a: AgentDB | PlainMessage<AgentDB> | undefined, b: AgentDB | PlainMessage<AgentDB> | undefined): boolean;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @generated from message livekit.AgentDB.CreateRequest
|
|
47
|
+
*/
|
|
48
|
+
export declare class AgentDB_CreateRequest extends Message<AgentDB_CreateRequest> {
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: string region = 1;
|
|
51
|
+
*/
|
|
52
|
+
region: string;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Unset: never expires, and expires_at is then 0 everywhere.
|
|
56
|
+
* Otherwise clamped to the server cap, and never extended.
|
|
57
|
+
*
|
|
58
|
+
* @generated from field: int64 ttl_seconds = 2;
|
|
59
|
+
*/
|
|
60
|
+
ttlSeconds: bigint;
|
|
61
|
+
|
|
62
|
+
constructor(data?: PartialMessage<AgentDB_CreateRequest>);
|
|
63
|
+
|
|
64
|
+
static readonly runtime: typeof proto3;
|
|
65
|
+
static readonly typeName = "livekit.AgentDB.CreateRequest";
|
|
66
|
+
static readonly fields: FieldList;
|
|
67
|
+
|
|
68
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_CreateRequest;
|
|
69
|
+
|
|
70
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_CreateRequest;
|
|
71
|
+
|
|
72
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_CreateRequest;
|
|
73
|
+
|
|
74
|
+
static equals(a: AgentDB_CreateRequest | PlainMessage<AgentDB_CreateRequest> | undefined, b: AgentDB_CreateRequest | PlainMessage<AgentDB_CreateRequest> | undefined): boolean;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* @generated from message livekit.AgentDB.CreateResponse
|
|
79
|
+
*/
|
|
80
|
+
export declare class AgentDB_CreateResponse extends Message<AgentDB_CreateResponse> {
|
|
81
|
+
/**
|
|
82
|
+
* "DB_..."
|
|
83
|
+
*
|
|
84
|
+
* @generated from field: string database_id = 1;
|
|
85
|
+
*/
|
|
86
|
+
databaseId: string;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* @generated from field: int64 expires_at = 2;
|
|
90
|
+
*/
|
|
91
|
+
expiresAt: bigint;
|
|
92
|
+
|
|
93
|
+
constructor(data?: PartialMessage<AgentDB_CreateResponse>);
|
|
94
|
+
|
|
95
|
+
static readonly runtime: typeof proto3;
|
|
96
|
+
static readonly typeName = "livekit.AgentDB.CreateResponse";
|
|
97
|
+
static readonly fields: FieldList;
|
|
98
|
+
|
|
99
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_CreateResponse;
|
|
100
|
+
|
|
101
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_CreateResponse;
|
|
102
|
+
|
|
103
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_CreateResponse;
|
|
104
|
+
|
|
105
|
+
static equals(a: AgentDB_CreateResponse | PlainMessage<AgentDB_CreateResponse> | undefined, b: AgentDB_CreateResponse | PlainMessage<AgentDB_CreateResponse> | undefined): boolean;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* @generated from message livekit.AgentDB.GetRequest
|
|
110
|
+
*/
|
|
111
|
+
export declare class AgentDB_GetRequest extends Message<AgentDB_GetRequest> {
|
|
112
|
+
/**
|
|
113
|
+
* @generated from field: string database_id = 1;
|
|
114
|
+
*/
|
|
115
|
+
databaseId: string;
|
|
116
|
+
|
|
117
|
+
constructor(data?: PartialMessage<AgentDB_GetRequest>);
|
|
118
|
+
|
|
119
|
+
static readonly runtime: typeof proto3;
|
|
120
|
+
static readonly typeName = "livekit.AgentDB.GetRequest";
|
|
121
|
+
static readonly fields: FieldList;
|
|
122
|
+
|
|
123
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_GetRequest;
|
|
124
|
+
|
|
125
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_GetRequest;
|
|
126
|
+
|
|
127
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_GetRequest;
|
|
128
|
+
|
|
129
|
+
static equals(a: AgentDB_GetRequest | PlainMessage<AgentDB_GetRequest> | undefined, b: AgentDB_GetRequest | PlainMessage<AgentDB_GetRequest> | undefined): boolean;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* @generated from message livekit.AgentDB.ListRequest
|
|
134
|
+
*/
|
|
135
|
+
export declare class AgentDB_ListRequest extends Message<AgentDB_ListRequest> {
|
|
136
|
+
/**
|
|
137
|
+
* server-clamped
|
|
138
|
+
*
|
|
139
|
+
* @generated from field: int32 page_size = 1;
|
|
140
|
+
*/
|
|
141
|
+
pageSize: number;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* @generated from field: string page_token = 2;
|
|
145
|
+
*/
|
|
146
|
+
pageToken: string;
|
|
147
|
+
|
|
148
|
+
constructor(data?: PartialMessage<AgentDB_ListRequest>);
|
|
149
|
+
|
|
150
|
+
static readonly runtime: typeof proto3;
|
|
151
|
+
static readonly typeName = "livekit.AgentDB.ListRequest";
|
|
152
|
+
static readonly fields: FieldList;
|
|
153
|
+
|
|
154
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_ListRequest;
|
|
155
|
+
|
|
156
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_ListRequest;
|
|
157
|
+
|
|
158
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_ListRequest;
|
|
159
|
+
|
|
160
|
+
static equals(a: AgentDB_ListRequest | PlainMessage<AgentDB_ListRequest> | undefined, b: AgentDB_ListRequest | PlainMessage<AgentDB_ListRequest> | undefined): boolean;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* @generated from message livekit.AgentDB.ListResponse
|
|
165
|
+
*/
|
|
166
|
+
export declare class AgentDB_ListResponse extends Message<AgentDB_ListResponse> {
|
|
167
|
+
/**
|
|
168
|
+
* @generated from field: repeated livekit.AgentDB.AgentDatabase databases = 1;
|
|
169
|
+
*/
|
|
170
|
+
databases: AgentDB_AgentDatabase[];
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* empty when exhausted
|
|
174
|
+
*
|
|
175
|
+
* @generated from field: string next_page_token = 2;
|
|
176
|
+
*/
|
|
177
|
+
nextPageToken: string;
|
|
178
|
+
|
|
179
|
+
constructor(data?: PartialMessage<AgentDB_ListResponse>);
|
|
180
|
+
|
|
181
|
+
static readonly runtime: typeof proto3;
|
|
182
|
+
static readonly typeName = "livekit.AgentDB.ListResponse";
|
|
183
|
+
static readonly fields: FieldList;
|
|
184
|
+
|
|
185
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_ListResponse;
|
|
186
|
+
|
|
187
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_ListResponse;
|
|
188
|
+
|
|
189
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_ListResponse;
|
|
190
|
+
|
|
191
|
+
static equals(a: AgentDB_ListResponse | PlainMessage<AgentDB_ListResponse> | undefined, b: AgentDB_ListResponse | PlainMessage<AgentDB_ListResponse> | undefined): boolean;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* One database, as get and list both report it.
|
|
196
|
+
*
|
|
197
|
+
* @generated from message livekit.AgentDB.AgentDatabase
|
|
198
|
+
*/
|
|
199
|
+
export declare class AgentDB_AgentDatabase extends Message<AgentDB_AgentDatabase> {
|
|
200
|
+
/**
|
|
201
|
+
* @generated from field: string database_id = 1;
|
|
202
|
+
*/
|
|
203
|
+
databaseId: string;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* @generated from field: string region = 2;
|
|
207
|
+
*/
|
|
208
|
+
region: string;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* @generated from field: int64 created_at = 3;
|
|
212
|
+
*/
|
|
213
|
+
createdAt: bigint;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* @generated from field: int64 expires_at = 4;
|
|
217
|
+
*/
|
|
218
|
+
expiresAt: bigint;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* @generated from field: int64 tip = 5;
|
|
222
|
+
*/
|
|
223
|
+
tip: bigint;
|
|
224
|
+
|
|
225
|
+
constructor(data?: PartialMessage<AgentDB_AgentDatabase>);
|
|
226
|
+
|
|
227
|
+
static readonly runtime: typeof proto3;
|
|
228
|
+
static readonly typeName = "livekit.AgentDB.AgentDatabase";
|
|
229
|
+
static readonly fields: FieldList;
|
|
230
|
+
|
|
231
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_AgentDatabase;
|
|
232
|
+
|
|
233
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_AgentDatabase;
|
|
234
|
+
|
|
235
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_AgentDatabase;
|
|
236
|
+
|
|
237
|
+
static equals(a: AgentDB_AgentDatabase | PlainMessage<AgentDB_AgentDatabase> | undefined, b: AgentDB_AgentDatabase | PlainMessage<AgentDB_AgentDatabase> | undefined): boolean;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* @generated from message livekit.AgentDB.DeleteRequest
|
|
242
|
+
*/
|
|
243
|
+
export declare class AgentDB_DeleteRequest extends Message<AgentDB_DeleteRequest> {
|
|
244
|
+
/**
|
|
245
|
+
* @generated from field: string database_id = 1;
|
|
246
|
+
*/
|
|
247
|
+
databaseId: string;
|
|
248
|
+
|
|
249
|
+
constructor(data?: PartialMessage<AgentDB_DeleteRequest>);
|
|
250
|
+
|
|
251
|
+
static readonly runtime: typeof proto3;
|
|
252
|
+
static readonly typeName = "livekit.AgentDB.DeleteRequest";
|
|
253
|
+
static readonly fields: FieldList;
|
|
254
|
+
|
|
255
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_DeleteRequest;
|
|
256
|
+
|
|
257
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_DeleteRequest;
|
|
258
|
+
|
|
259
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_DeleteRequest;
|
|
260
|
+
|
|
261
|
+
static equals(a: AgentDB_DeleteRequest | PlainMessage<AgentDB_DeleteRequest> | undefined, b: AgentDB_DeleteRequest | PlainMessage<AgentDB_DeleteRequest> | undefined): boolean;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* @generated from message livekit.AgentDB.DeleteResponse
|
|
266
|
+
*/
|
|
267
|
+
export declare class AgentDB_DeleteResponse extends Message<AgentDB_DeleteResponse> {
|
|
268
|
+
constructor(data?: PartialMessage<AgentDB_DeleteResponse>);
|
|
269
|
+
|
|
270
|
+
static readonly runtime: typeof proto3;
|
|
271
|
+
static readonly typeName = "livekit.AgentDB.DeleteResponse";
|
|
272
|
+
static readonly fields: FieldList;
|
|
273
|
+
|
|
274
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_DeleteResponse;
|
|
275
|
+
|
|
276
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_DeleteResponse;
|
|
277
|
+
|
|
278
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_DeleteResponse;
|
|
279
|
+
|
|
280
|
+
static equals(a: AgentDB_DeleteResponse | PlainMessage<AgentDB_DeleteResponse> | undefined, b: AgentDB_DeleteResponse | PlainMessage<AgentDB_DeleteResponse> | undefined): boolean;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* @generated from message livekit.AgentDB.DumpRequest
|
|
285
|
+
*/
|
|
286
|
+
export declare class AgentDB_DumpRequest extends Message<AgentDB_DumpRequest> {
|
|
287
|
+
/**
|
|
288
|
+
* @generated from field: string database_id = 1;
|
|
289
|
+
*/
|
|
290
|
+
databaseId: string;
|
|
291
|
+
|
|
292
|
+
constructor(data?: PartialMessage<AgentDB_DumpRequest>);
|
|
293
|
+
|
|
294
|
+
static readonly runtime: typeof proto3;
|
|
295
|
+
static readonly typeName = "livekit.AgentDB.DumpRequest";
|
|
296
|
+
static readonly fields: FieldList;
|
|
297
|
+
|
|
298
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_DumpRequest;
|
|
299
|
+
|
|
300
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_DumpRequest;
|
|
301
|
+
|
|
302
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_DumpRequest;
|
|
303
|
+
|
|
304
|
+
static equals(a: AgentDB_DumpRequest | PlainMessage<AgentDB_DumpRequest> | undefined, b: AgentDB_DumpRequest | PlainMessage<AgentDB_DumpRequest> | undefined): boolean;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* @generated from message livekit.AgentDB.DumpResponse
|
|
309
|
+
*/
|
|
310
|
+
export declare class AgentDB_DumpResponse extends Message<AgentDB_DumpResponse> {
|
|
311
|
+
/**
|
|
312
|
+
* pre-authenticated object-storage URL
|
|
313
|
+
*
|
|
314
|
+
* @generated from field: string download_url = 1;
|
|
315
|
+
*/
|
|
316
|
+
downloadUrl: string;
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* of the URL, not the database
|
|
320
|
+
*
|
|
321
|
+
* @generated from field: int64 expires_at = 2;
|
|
322
|
+
*/
|
|
323
|
+
expiresAt: bigint;
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* what the dump is consistent at
|
|
327
|
+
*
|
|
328
|
+
* @generated from field: int64 tip = 3;
|
|
329
|
+
*/
|
|
330
|
+
tip: bigint;
|
|
331
|
+
|
|
332
|
+
constructor(data?: PartialMessage<AgentDB_DumpResponse>);
|
|
333
|
+
|
|
334
|
+
static readonly runtime: typeof proto3;
|
|
335
|
+
static readonly typeName = "livekit.AgentDB.DumpResponse";
|
|
336
|
+
static readonly fields: FieldList;
|
|
337
|
+
|
|
338
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_DumpResponse;
|
|
339
|
+
|
|
340
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_DumpResponse;
|
|
341
|
+
|
|
342
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_DumpResponse;
|
|
343
|
+
|
|
344
|
+
static equals(a: AgentDB_DumpResponse | PlainMessage<AgentDB_DumpResponse> | undefined, b: AgentDB_DumpResponse | PlainMessage<AgentDB_DumpResponse> | undefined): boolean;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* Data plane: one WebSocket per database, one message per frame, correlated
|
|
349
|
+
* by a client-chosen request_id. Result batches are paced by Credit, so the
|
|
350
|
+
* server never sends more un-consumed batches than granted.
|
|
351
|
+
*
|
|
352
|
+
* @generated from message livekit.AgentDB.Wire
|
|
353
|
+
*/
|
|
354
|
+
export declare class AgentDB_Wire extends Message<AgentDB_Wire> {
|
|
355
|
+
constructor(data?: PartialMessage<AgentDB_Wire>);
|
|
356
|
+
|
|
357
|
+
static readonly runtime: typeof proto3;
|
|
358
|
+
static readonly typeName = "livekit.AgentDB.Wire";
|
|
359
|
+
static readonly fields: FieldList;
|
|
360
|
+
|
|
361
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire;
|
|
362
|
+
|
|
363
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire;
|
|
364
|
+
|
|
365
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire;
|
|
366
|
+
|
|
367
|
+
static equals(a: AgentDB_Wire | PlainMessage<AgentDB_Wire> | undefined, b: AgentDB_Wire | PlainMessage<AgentDB_Wire> | undefined): boolean;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* @generated from enum livekit.AgentDB.Wire.QueryLang
|
|
372
|
+
*/
|
|
373
|
+
export declare enum AgentDB_Wire_QueryLang {
|
|
374
|
+
/**
|
|
375
|
+
* @generated from enum value: SQL = 0;
|
|
376
|
+
*/
|
|
377
|
+
SQL = 0,
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* @generated from enum livekit.AgentDB.Wire.ValueType
|
|
382
|
+
*/
|
|
383
|
+
export declare enum AgentDB_Wire_ValueType {
|
|
384
|
+
/**
|
|
385
|
+
* @generated from enum value: NULL = 0;
|
|
386
|
+
*/
|
|
387
|
+
NULL = 0,
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* @generated from enum value: INT = 1;
|
|
391
|
+
*/
|
|
392
|
+
INT = 1,
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* @generated from enum value: DOUBLE = 2;
|
|
396
|
+
*/
|
|
397
|
+
DOUBLE = 2,
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* @generated from enum value: TEXT = 3;
|
|
401
|
+
*/
|
|
402
|
+
TEXT = 3,
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* @generated from enum value: BLOB = 4;
|
|
406
|
+
*/
|
|
407
|
+
BLOB = 4,
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* @generated from message livekit.AgentDB.Wire.ClientMessage
|
|
412
|
+
*/
|
|
413
|
+
export declare class AgentDB_Wire_ClientMessage extends Message<AgentDB_Wire_ClientMessage> {
|
|
414
|
+
/**
|
|
415
|
+
* @generated from field: uint32 request_id = 1;
|
|
416
|
+
*/
|
|
417
|
+
requestId: number;
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* @generated from oneof livekit.AgentDB.Wire.ClientMessage.message
|
|
421
|
+
*/
|
|
422
|
+
message: {
|
|
423
|
+
/**
|
|
424
|
+
* must be first on the socket
|
|
425
|
+
*
|
|
426
|
+
* @generated from field: livekit.AgentDB.Wire.Hello hello = 2;
|
|
427
|
+
*/
|
|
428
|
+
value: AgentDB_Wire_Hello;
|
|
429
|
+
case: "hello";
|
|
430
|
+
} | {
|
|
431
|
+
/**
|
|
432
|
+
* answers ExecResult
|
|
433
|
+
*
|
|
434
|
+
* @generated from field: livekit.AgentDB.Wire.Statement exec = 3;
|
|
435
|
+
*/
|
|
436
|
+
value: AgentDB_Wire_Statement;
|
|
437
|
+
case: "exec";
|
|
438
|
+
} | {
|
|
439
|
+
/**
|
|
440
|
+
* answers Columns + ColumnBatch* + Done
|
|
441
|
+
*
|
|
442
|
+
* @generated from field: livekit.AgentDB.Wire.Statement query = 4;
|
|
443
|
+
*/
|
|
444
|
+
value: AgentDB_Wire_Statement;
|
|
445
|
+
case: "query";
|
|
446
|
+
} | {
|
|
447
|
+
/**
|
|
448
|
+
* @generated from field: livekit.AgentDB.Wire.Batch batch = 5;
|
|
449
|
+
*/
|
|
450
|
+
value: AgentDB_Wire_Batch;
|
|
451
|
+
case: "batch";
|
|
452
|
+
} | {
|
|
453
|
+
/**
|
|
454
|
+
* @generated from field: livekit.AgentDB.Wire.Begin begin = 6;
|
|
455
|
+
*/
|
|
456
|
+
value: AgentDB_Wire_Begin;
|
|
457
|
+
case: "begin";
|
|
458
|
+
} | {
|
|
459
|
+
/**
|
|
460
|
+
* @generated from field: livekit.AgentDB.Wire.Commit commit = 7;
|
|
461
|
+
*/
|
|
462
|
+
value: AgentDB_Wire_Commit;
|
|
463
|
+
case: "commit";
|
|
464
|
+
} | {
|
|
465
|
+
/**
|
|
466
|
+
* @generated from field: livekit.AgentDB.Wire.Rollback rollback = 8;
|
|
467
|
+
*/
|
|
468
|
+
value: AgentDB_Wire_Rollback;
|
|
469
|
+
case: "rollback";
|
|
470
|
+
} | {
|
|
471
|
+
/**
|
|
472
|
+
* @generated from field: livekit.AgentDB.Wire.Cancel cancel = 9;
|
|
473
|
+
*/
|
|
474
|
+
value: AgentDB_Wire_Cancel;
|
|
475
|
+
case: "cancel";
|
|
476
|
+
} | {
|
|
477
|
+
/**
|
|
478
|
+
* @generated from field: livekit.AgentDB.Wire.Credit credit = 10;
|
|
479
|
+
*/
|
|
480
|
+
value: AgentDB_Wire_Credit;
|
|
481
|
+
case: "credit";
|
|
482
|
+
} | {
|
|
483
|
+
/**
|
|
484
|
+
* @generated from field: livekit.AgentDB.Wire.Ping ping = 11;
|
|
485
|
+
*/
|
|
486
|
+
value: AgentDB_Wire_Ping;
|
|
487
|
+
case: "ping";
|
|
488
|
+
} | { case: undefined; value?: undefined };
|
|
489
|
+
|
|
490
|
+
constructor(data?: PartialMessage<AgentDB_Wire_ClientMessage>);
|
|
491
|
+
|
|
492
|
+
static readonly runtime: typeof proto3;
|
|
493
|
+
static readonly typeName = "livekit.AgentDB.Wire.ClientMessage";
|
|
494
|
+
static readonly fields: FieldList;
|
|
495
|
+
|
|
496
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_ClientMessage;
|
|
497
|
+
|
|
498
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_ClientMessage;
|
|
499
|
+
|
|
500
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_ClientMessage;
|
|
501
|
+
|
|
502
|
+
static equals(a: AgentDB_Wire_ClientMessage | PlainMessage<AgentDB_Wire_ClientMessage> | undefined, b: AgentDB_Wire_ClientMessage | PlainMessage<AgentDB_Wire_ClientMessage> | undefined): boolean;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* @generated from message livekit.AgentDB.Wire.ServerMessage
|
|
507
|
+
*/
|
|
508
|
+
export declare class AgentDB_Wire_ServerMessage extends Message<AgentDB_Wire_ServerMessage> {
|
|
509
|
+
/**
|
|
510
|
+
* @generated from field: uint32 request_id = 1;
|
|
511
|
+
*/
|
|
512
|
+
requestId: number;
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* @generated from oneof livekit.AgentDB.Wire.ServerMessage.message
|
|
516
|
+
*/
|
|
517
|
+
message: {
|
|
518
|
+
/**
|
|
519
|
+
* @generated from field: livekit.AgentDB.Wire.HelloOk hello_ok = 2;
|
|
520
|
+
*/
|
|
521
|
+
value: AgentDB_Wire_HelloOk;
|
|
522
|
+
case: "helloOk";
|
|
523
|
+
} | {
|
|
524
|
+
/**
|
|
525
|
+
* @generated from field: livekit.AgentDB.Wire.Columns columns = 3;
|
|
526
|
+
*/
|
|
527
|
+
value: AgentDB_Wire_Columns;
|
|
528
|
+
case: "columns";
|
|
529
|
+
} | {
|
|
530
|
+
/**
|
|
531
|
+
* @generated from field: livekit.AgentDB.Wire.ColumnBatch column_batch = 4;
|
|
532
|
+
*/
|
|
533
|
+
value: AgentDB_Wire_ColumnBatch;
|
|
534
|
+
case: "columnBatch";
|
|
535
|
+
} | {
|
|
536
|
+
/**
|
|
537
|
+
* @generated from field: livekit.AgentDB.Wire.ExecResult exec_result = 5;
|
|
538
|
+
*/
|
|
539
|
+
value: AgentDB_Wire_ExecResult;
|
|
540
|
+
case: "execResult";
|
|
541
|
+
} | {
|
|
542
|
+
/**
|
|
543
|
+
* @generated from field: livekit.AgentDB.Wire.Done done = 6;
|
|
544
|
+
*/
|
|
545
|
+
value: AgentDB_Wire_Done;
|
|
546
|
+
case: "done";
|
|
547
|
+
} | {
|
|
548
|
+
/**
|
|
549
|
+
* @generated from field: livekit.AgentDB.Wire.Error error = 7;
|
|
550
|
+
*/
|
|
551
|
+
value: AgentDB_Wire_Error;
|
|
552
|
+
case: "error";
|
|
553
|
+
} | {
|
|
554
|
+
/**
|
|
555
|
+
* @generated from field: livekit.AgentDB.Wire.Pong pong = 8;
|
|
556
|
+
*/
|
|
557
|
+
value: AgentDB_Wire_Pong;
|
|
558
|
+
case: "pong";
|
|
559
|
+
} | { case: undefined; value?: undefined };
|
|
560
|
+
|
|
561
|
+
constructor(data?: PartialMessage<AgentDB_Wire_ServerMessage>);
|
|
562
|
+
|
|
563
|
+
static readonly runtime: typeof proto3;
|
|
564
|
+
static readonly typeName = "livekit.AgentDB.Wire.ServerMessage";
|
|
565
|
+
static readonly fields: FieldList;
|
|
566
|
+
|
|
567
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_ServerMessage;
|
|
568
|
+
|
|
569
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_ServerMessage;
|
|
570
|
+
|
|
571
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_ServerMessage;
|
|
572
|
+
|
|
573
|
+
static equals(a: AgentDB_Wire_ServerMessage | PlainMessage<AgentDB_Wire_ServerMessage> | undefined, b: AgentDB_Wire_ServerMessage | PlainMessage<AgentDB_Wire_ServerMessage> | undefined): boolean;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* SQLite's five storage classes.
|
|
578
|
+
*
|
|
579
|
+
* @generated from message livekit.AgentDB.Wire.Value
|
|
580
|
+
*/
|
|
581
|
+
export declare class AgentDB_Wire_Value extends Message<AgentDB_Wire_Value> {
|
|
582
|
+
/**
|
|
583
|
+
* @generated from oneof livekit.AgentDB.Wire.Value.value
|
|
584
|
+
*/
|
|
585
|
+
value: {
|
|
586
|
+
/**
|
|
587
|
+
* always true when set
|
|
588
|
+
*
|
|
589
|
+
* @generated from field: bool null_value = 1;
|
|
590
|
+
*/
|
|
591
|
+
value: boolean;
|
|
592
|
+
case: "nullValue";
|
|
593
|
+
} | {
|
|
594
|
+
/**
|
|
595
|
+
* @generated from field: int64 int_value = 2;
|
|
596
|
+
*/
|
|
597
|
+
value: bigint;
|
|
598
|
+
case: "intValue";
|
|
599
|
+
} | {
|
|
600
|
+
/**
|
|
601
|
+
* @generated from field: double double_value = 3;
|
|
602
|
+
*/
|
|
603
|
+
value: number;
|
|
604
|
+
case: "doubleValue";
|
|
605
|
+
} | {
|
|
606
|
+
/**
|
|
607
|
+
* @generated from field: string text_value = 4;
|
|
608
|
+
*/
|
|
609
|
+
value: string;
|
|
610
|
+
case: "textValue";
|
|
611
|
+
} | {
|
|
612
|
+
/**
|
|
613
|
+
* @generated from field: bytes blob_value = 5;
|
|
614
|
+
*/
|
|
615
|
+
value: Uint8Array;
|
|
616
|
+
case: "blobValue";
|
|
617
|
+
} | { case: undefined; value?: undefined };
|
|
618
|
+
|
|
619
|
+
constructor(data?: PartialMessage<AgentDB_Wire_Value>);
|
|
620
|
+
|
|
621
|
+
static readonly runtime: typeof proto3;
|
|
622
|
+
static readonly typeName = "livekit.AgentDB.Wire.Value";
|
|
623
|
+
static readonly fields: FieldList;
|
|
624
|
+
|
|
625
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Value;
|
|
626
|
+
|
|
627
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Value;
|
|
628
|
+
|
|
629
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Value;
|
|
630
|
+
|
|
631
|
+
static equals(a: AgentDB_Wire_Value | PlainMessage<AgentDB_Wire_Value> | undefined, b: AgentDB_Wire_Value | PlainMessage<AgentDB_Wire_Value> | undefined): boolean;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
/**
|
|
635
|
+
* @generated from message livekit.AgentDB.Wire.Statement
|
|
636
|
+
*/
|
|
637
|
+
export declare class AgentDB_Wire_Statement extends Message<AgentDB_Wire_Statement> {
|
|
638
|
+
/**
|
|
639
|
+
* @generated from field: string sql = 1;
|
|
640
|
+
*/
|
|
641
|
+
sql: string;
|
|
642
|
+
|
|
643
|
+
/**
|
|
644
|
+
* positional
|
|
645
|
+
*
|
|
646
|
+
* @generated from field: repeated livekit.AgentDB.Wire.Value params = 2;
|
|
647
|
+
*/
|
|
648
|
+
params: AgentDB_Wire_Value[];
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* @generated from field: livekit.AgentDB.Wire.QueryLang lang = 3;
|
|
652
|
+
*/
|
|
653
|
+
lang: AgentDB_Wire_QueryLang;
|
|
654
|
+
|
|
655
|
+
constructor(data?: PartialMessage<AgentDB_Wire_Statement>);
|
|
656
|
+
|
|
657
|
+
static readonly runtime: typeof proto3;
|
|
658
|
+
static readonly typeName = "livekit.AgentDB.Wire.Statement";
|
|
659
|
+
static readonly fields: FieldList;
|
|
660
|
+
|
|
661
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Statement;
|
|
662
|
+
|
|
663
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Statement;
|
|
664
|
+
|
|
665
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Statement;
|
|
666
|
+
|
|
667
|
+
static equals(a: AgentDB_Wire_Statement | PlainMessage<AgentDB_Wire_Statement> | undefined, b: AgentDB_Wire_Statement | PlainMessage<AgentDB_Wire_Statement> | undefined): boolean;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
/**
|
|
671
|
+
* @generated from message livekit.AgentDB.Wire.Batch
|
|
672
|
+
*/
|
|
673
|
+
export declare class AgentDB_Wire_Batch extends Message<AgentDB_Wire_Batch> {
|
|
674
|
+
/**
|
|
675
|
+
* applied atomically, in order
|
|
676
|
+
*
|
|
677
|
+
* @generated from field: repeated livekit.AgentDB.Wire.Statement statements = 1;
|
|
678
|
+
*/
|
|
679
|
+
statements: AgentDB_Wire_Statement[];
|
|
680
|
+
|
|
681
|
+
constructor(data?: PartialMessage<AgentDB_Wire_Batch>);
|
|
682
|
+
|
|
683
|
+
static readonly runtime: typeof proto3;
|
|
684
|
+
static readonly typeName = "livekit.AgentDB.Wire.Batch";
|
|
685
|
+
static readonly fields: FieldList;
|
|
686
|
+
|
|
687
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Batch;
|
|
688
|
+
|
|
689
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Batch;
|
|
690
|
+
|
|
691
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Batch;
|
|
692
|
+
|
|
693
|
+
static equals(a: AgentDB_Wire_Batch | PlainMessage<AgentDB_Wire_Batch> | undefined, b: AgentDB_Wire_Batch | PlainMessage<AgentDB_Wire_Batch> | undefined): boolean;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* @generated from message livekit.AgentDB.Wire.Begin
|
|
698
|
+
*/
|
|
699
|
+
export declare class AgentDB_Wire_Begin extends Message<AgentDB_Wire_Begin> {
|
|
700
|
+
constructor(data?: PartialMessage<AgentDB_Wire_Begin>);
|
|
701
|
+
|
|
702
|
+
static readonly runtime: typeof proto3;
|
|
703
|
+
static readonly typeName = "livekit.AgentDB.Wire.Begin";
|
|
704
|
+
static readonly fields: FieldList;
|
|
705
|
+
|
|
706
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Begin;
|
|
707
|
+
|
|
708
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Begin;
|
|
709
|
+
|
|
710
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Begin;
|
|
711
|
+
|
|
712
|
+
static equals(a: AgentDB_Wire_Begin | PlainMessage<AgentDB_Wire_Begin> | undefined, b: AgentDB_Wire_Begin | PlainMessage<AgentDB_Wire_Begin> | undefined): boolean;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* @generated from message livekit.AgentDB.Wire.Commit
|
|
717
|
+
*/
|
|
718
|
+
export declare class AgentDB_Wire_Commit extends Message<AgentDB_Wire_Commit> {
|
|
719
|
+
constructor(data?: PartialMessage<AgentDB_Wire_Commit>);
|
|
720
|
+
|
|
721
|
+
static readonly runtime: typeof proto3;
|
|
722
|
+
static readonly typeName = "livekit.AgentDB.Wire.Commit";
|
|
723
|
+
static readonly fields: FieldList;
|
|
724
|
+
|
|
725
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Commit;
|
|
726
|
+
|
|
727
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Commit;
|
|
728
|
+
|
|
729
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Commit;
|
|
730
|
+
|
|
731
|
+
static equals(a: AgentDB_Wire_Commit | PlainMessage<AgentDB_Wire_Commit> | undefined, b: AgentDB_Wire_Commit | PlainMessage<AgentDB_Wire_Commit> | undefined): boolean;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
/**
|
|
735
|
+
* @generated from message livekit.AgentDB.Wire.Rollback
|
|
736
|
+
*/
|
|
737
|
+
export declare class AgentDB_Wire_Rollback extends Message<AgentDB_Wire_Rollback> {
|
|
738
|
+
constructor(data?: PartialMessage<AgentDB_Wire_Rollback>);
|
|
739
|
+
|
|
740
|
+
static readonly runtime: typeof proto3;
|
|
741
|
+
static readonly typeName = "livekit.AgentDB.Wire.Rollback";
|
|
742
|
+
static readonly fields: FieldList;
|
|
743
|
+
|
|
744
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Rollback;
|
|
745
|
+
|
|
746
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Rollback;
|
|
747
|
+
|
|
748
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Rollback;
|
|
749
|
+
|
|
750
|
+
static equals(a: AgentDB_Wire_Rollback | PlainMessage<AgentDB_Wire_Rollback> | undefined, b: AgentDB_Wire_Rollback | PlainMessage<AgentDB_Wire_Rollback> | undefined): boolean;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
/**
|
|
754
|
+
* @generated from message livekit.AgentDB.Wire.Cancel
|
|
755
|
+
*/
|
|
756
|
+
export declare class AgentDB_Wire_Cancel extends Message<AgentDB_Wire_Cancel> {
|
|
757
|
+
constructor(data?: PartialMessage<AgentDB_Wire_Cancel>);
|
|
758
|
+
|
|
759
|
+
static readonly runtime: typeof proto3;
|
|
760
|
+
static readonly typeName = "livekit.AgentDB.Wire.Cancel";
|
|
761
|
+
static readonly fields: FieldList;
|
|
762
|
+
|
|
763
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Cancel;
|
|
764
|
+
|
|
765
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Cancel;
|
|
766
|
+
|
|
767
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Cancel;
|
|
768
|
+
|
|
769
|
+
static equals(a: AgentDB_Wire_Cancel | PlainMessage<AgentDB_Wire_Cancel> | undefined, b: AgentDB_Wire_Cancel | PlainMessage<AgentDB_Wire_Cancel> | undefined): boolean;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
/**
|
|
773
|
+
* @generated from message livekit.AgentDB.Wire.Credit
|
|
774
|
+
*/
|
|
775
|
+
export declare class AgentDB_Wire_Credit extends Message<AgentDB_Wire_Credit> {
|
|
776
|
+
/**
|
|
777
|
+
* additional batches the client can absorb
|
|
778
|
+
*
|
|
779
|
+
* @generated from field: uint32 batches = 1;
|
|
780
|
+
*/
|
|
781
|
+
batches: number;
|
|
782
|
+
|
|
783
|
+
constructor(data?: PartialMessage<AgentDB_Wire_Credit>);
|
|
784
|
+
|
|
785
|
+
static readonly runtime: typeof proto3;
|
|
786
|
+
static readonly typeName = "livekit.AgentDB.Wire.Credit";
|
|
787
|
+
static readonly fields: FieldList;
|
|
788
|
+
|
|
789
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Credit;
|
|
790
|
+
|
|
791
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Credit;
|
|
792
|
+
|
|
793
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Credit;
|
|
794
|
+
|
|
795
|
+
static equals(a: AgentDB_Wire_Credit | PlainMessage<AgentDB_Wire_Credit> | undefined, b: AgentDB_Wire_Credit | PlainMessage<AgentDB_Wire_Credit> | undefined): boolean;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
/**
|
|
799
|
+
* @generated from message livekit.AgentDB.Wire.Ping
|
|
800
|
+
*/
|
|
801
|
+
export declare class AgentDB_Wire_Ping extends Message<AgentDB_Wire_Ping> {
|
|
802
|
+
/**
|
|
803
|
+
* @generated from field: int64 timestamp_ms = 1;
|
|
804
|
+
*/
|
|
805
|
+
timestampMs: bigint;
|
|
806
|
+
|
|
807
|
+
constructor(data?: PartialMessage<AgentDB_Wire_Ping>);
|
|
808
|
+
|
|
809
|
+
static readonly runtime: typeof proto3;
|
|
810
|
+
static readonly typeName = "livekit.AgentDB.Wire.Ping";
|
|
811
|
+
static readonly fields: FieldList;
|
|
812
|
+
|
|
813
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Ping;
|
|
814
|
+
|
|
815
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Ping;
|
|
816
|
+
|
|
817
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Ping;
|
|
818
|
+
|
|
819
|
+
static equals(a: AgentDB_Wire_Ping | PlainMessage<AgentDB_Wire_Ping> | undefined, b: AgentDB_Wire_Ping | PlainMessage<AgentDB_Wire_Ping> | undefined): boolean;
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
/**
|
|
823
|
+
* @generated from message livekit.AgentDB.Wire.Pong
|
|
824
|
+
*/
|
|
825
|
+
export declare class AgentDB_Wire_Pong extends Message<AgentDB_Wire_Pong> {
|
|
826
|
+
/**
|
|
827
|
+
* @generated from field: int64 last_ping_timestamp_ms = 1;
|
|
828
|
+
*/
|
|
829
|
+
lastPingTimestampMs: bigint;
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* @generated from field: int64 timestamp_ms = 2;
|
|
833
|
+
*/
|
|
834
|
+
timestampMs: bigint;
|
|
835
|
+
|
|
836
|
+
constructor(data?: PartialMessage<AgentDB_Wire_Pong>);
|
|
837
|
+
|
|
838
|
+
static readonly runtime: typeof proto3;
|
|
839
|
+
static readonly typeName = "livekit.AgentDB.Wire.Pong";
|
|
840
|
+
static readonly fields: FieldList;
|
|
841
|
+
|
|
842
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Pong;
|
|
843
|
+
|
|
844
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Pong;
|
|
845
|
+
|
|
846
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Pong;
|
|
847
|
+
|
|
848
|
+
static equals(a: AgentDB_Wire_Pong | PlainMessage<AgentDB_Wire_Pong> | undefined, b: AgentDB_Wire_Pong | PlainMessage<AgentDB_Wire_Pong> | undefined): boolean;
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
/**
|
|
852
|
+
* @generated from message livekit.AgentDB.Wire.Hello
|
|
853
|
+
*/
|
|
854
|
+
export declare class AgentDB_Wire_Hello extends Message<AgentDB_Wire_Hello> {
|
|
855
|
+
/**
|
|
856
|
+
* @generated from field: string token = 1;
|
|
857
|
+
*/
|
|
858
|
+
token: string;
|
|
859
|
+
|
|
860
|
+
/**
|
|
861
|
+
* @generated from field: string database_id = 2;
|
|
862
|
+
*/
|
|
863
|
+
databaseId: string;
|
|
864
|
+
|
|
865
|
+
constructor(data?: PartialMessage<AgentDB_Wire_Hello>);
|
|
866
|
+
|
|
867
|
+
static readonly runtime: typeof proto3;
|
|
868
|
+
static readonly typeName = "livekit.AgentDB.Wire.Hello";
|
|
869
|
+
static readonly fields: FieldList;
|
|
870
|
+
|
|
871
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Hello;
|
|
872
|
+
|
|
873
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Hello;
|
|
874
|
+
|
|
875
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Hello;
|
|
876
|
+
|
|
877
|
+
static equals(a: AgentDB_Wire_Hello | PlainMessage<AgentDB_Wire_Hello> | undefined, b: AgentDB_Wire_Hello | PlainMessage<AgentDB_Wire_Hello> | undefined): boolean;
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
/**
|
|
881
|
+
* @generated from message livekit.AgentDB.Wire.HelloOk
|
|
882
|
+
*/
|
|
883
|
+
export declare class AgentDB_Wire_HelloOk extends Message<AgentDB_Wire_HelloOk> {
|
|
884
|
+
/**
|
|
885
|
+
* @generated from field: int64 tip = 1;
|
|
886
|
+
*/
|
|
887
|
+
tip: bigint;
|
|
888
|
+
|
|
889
|
+
/**
|
|
890
|
+
* @generated from field: uint32 ping_interval_ms = 2;
|
|
891
|
+
*/
|
|
892
|
+
pingIntervalMs: number;
|
|
893
|
+
|
|
894
|
+
/**
|
|
895
|
+
* @generated from field: uint32 ping_timeout_ms = 3;
|
|
896
|
+
*/
|
|
897
|
+
pingTimeoutMs: number;
|
|
898
|
+
|
|
899
|
+
constructor(data?: PartialMessage<AgentDB_Wire_HelloOk>);
|
|
900
|
+
|
|
901
|
+
static readonly runtime: typeof proto3;
|
|
902
|
+
static readonly typeName = "livekit.AgentDB.Wire.HelloOk";
|
|
903
|
+
static readonly fields: FieldList;
|
|
904
|
+
|
|
905
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_HelloOk;
|
|
906
|
+
|
|
907
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_HelloOk;
|
|
908
|
+
|
|
909
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_HelloOk;
|
|
910
|
+
|
|
911
|
+
static equals(a: AgentDB_Wire_HelloOk | PlainMessage<AgentDB_Wire_HelloOk> | undefined, b: AgentDB_Wire_HelloOk | PlainMessage<AgentDB_Wire_HelloOk> | undefined): boolean;
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
/**
|
|
915
|
+
* @generated from message livekit.AgentDB.Wire.Columns
|
|
916
|
+
*/
|
|
917
|
+
export declare class AgentDB_Wire_Columns extends Message<AgentDB_Wire_Columns> {
|
|
918
|
+
/**
|
|
919
|
+
* @generated from field: repeated string names = 1;
|
|
920
|
+
*/
|
|
921
|
+
names: string[];
|
|
922
|
+
|
|
923
|
+
constructor(data?: PartialMessage<AgentDB_Wire_Columns>);
|
|
924
|
+
|
|
925
|
+
static readonly runtime: typeof proto3;
|
|
926
|
+
static readonly typeName = "livekit.AgentDB.Wire.Columns";
|
|
927
|
+
static readonly fields: FieldList;
|
|
928
|
+
|
|
929
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Columns;
|
|
930
|
+
|
|
931
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Columns;
|
|
932
|
+
|
|
933
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Columns;
|
|
934
|
+
|
|
935
|
+
static equals(a: AgentDB_Wire_Columns | PlainMessage<AgentDB_Wire_Columns> | undefined, b: AgentDB_Wire_Columns | PlainMessage<AgentDB_Wire_Columns> | undefined): boolean;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
/**
|
|
939
|
+
* Values are typed per row, as SQLite types them, so a column may mix
|
|
940
|
+
* classes: walk `types` and take the next entry from the matching array. Text
|
|
941
|
+
* and blobs are concatenated with one exclusive end offset each, so value i
|
|
942
|
+
* is data[ends[i-1]:ends[i]] with 0 implied before the first. A NULL occupies
|
|
943
|
+
* a tag only.
|
|
944
|
+
*
|
|
945
|
+
* @generated from message livekit.AgentDB.Wire.Column
|
|
946
|
+
*/
|
|
947
|
+
export declare class AgentDB_Wire_Column extends Message<AgentDB_Wire_Column> {
|
|
948
|
+
/**
|
|
949
|
+
* one ValueType per row
|
|
950
|
+
*
|
|
951
|
+
* @generated from field: bytes types = 1;
|
|
952
|
+
*/
|
|
953
|
+
types: Uint8Array;
|
|
954
|
+
|
|
955
|
+
/**
|
|
956
|
+
* @generated from field: repeated sint64 ints = 2;
|
|
957
|
+
*/
|
|
958
|
+
ints: bigint[];
|
|
959
|
+
|
|
960
|
+
/**
|
|
961
|
+
* @generated from field: repeated double doubles = 3;
|
|
962
|
+
*/
|
|
963
|
+
doubles: number[];
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* @generated from field: bytes text_data = 4;
|
|
967
|
+
*/
|
|
968
|
+
textData: Uint8Array;
|
|
969
|
+
|
|
970
|
+
/**
|
|
971
|
+
* @generated from field: repeated uint32 text_ends = 5;
|
|
972
|
+
*/
|
|
973
|
+
textEnds: number[];
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* @generated from field: bytes blob_data = 6;
|
|
977
|
+
*/
|
|
978
|
+
blobData: Uint8Array;
|
|
979
|
+
|
|
980
|
+
/**
|
|
981
|
+
* @generated from field: repeated uint32 blob_ends = 7;
|
|
982
|
+
*/
|
|
983
|
+
blobEnds: number[];
|
|
984
|
+
|
|
985
|
+
constructor(data?: PartialMessage<AgentDB_Wire_Column>);
|
|
986
|
+
|
|
987
|
+
static readonly runtime: typeof proto3;
|
|
988
|
+
static readonly typeName = "livekit.AgentDB.Wire.Column";
|
|
989
|
+
static readonly fields: FieldList;
|
|
990
|
+
|
|
991
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Column;
|
|
992
|
+
|
|
993
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Column;
|
|
994
|
+
|
|
995
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Column;
|
|
996
|
+
|
|
997
|
+
static equals(a: AgentDB_Wire_Column | PlainMessage<AgentDB_Wire_Column> | undefined, b: AgentDB_Wire_Column | PlainMessage<AgentDB_Wire_Column> | undefined): boolean;
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
/**
|
|
1001
|
+
* @generated from message livekit.AgentDB.Wire.ColumnBatch
|
|
1002
|
+
*/
|
|
1003
|
+
export declare class AgentDB_Wire_ColumnBatch extends Message<AgentDB_Wire_ColumnBatch> {
|
|
1004
|
+
/**
|
|
1005
|
+
* one per name in Columns
|
|
1006
|
+
*
|
|
1007
|
+
* @generated from field: repeated livekit.AgentDB.Wire.Column columns = 1;
|
|
1008
|
+
*/
|
|
1009
|
+
columns: AgentDB_Wire_Column[];
|
|
1010
|
+
|
|
1011
|
+
/**
|
|
1012
|
+
* @generated from field: uint32 rows = 2;
|
|
1013
|
+
*/
|
|
1014
|
+
rows: number;
|
|
1015
|
+
|
|
1016
|
+
constructor(data?: PartialMessage<AgentDB_Wire_ColumnBatch>);
|
|
1017
|
+
|
|
1018
|
+
static readonly runtime: typeof proto3;
|
|
1019
|
+
static readonly typeName = "livekit.AgentDB.Wire.ColumnBatch";
|
|
1020
|
+
static readonly fields: FieldList;
|
|
1021
|
+
|
|
1022
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_ColumnBatch;
|
|
1023
|
+
|
|
1024
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_ColumnBatch;
|
|
1025
|
+
|
|
1026
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_ColumnBatch;
|
|
1027
|
+
|
|
1028
|
+
static equals(a: AgentDB_Wire_ColumnBatch | PlainMessage<AgentDB_Wire_ColumnBatch> | undefined, b: AgentDB_Wire_ColumnBatch | PlainMessage<AgentDB_Wire_ColumnBatch> | undefined): boolean;
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
/**
|
|
1032
|
+
* @generated from message livekit.AgentDB.Wire.ExecResult
|
|
1033
|
+
*/
|
|
1034
|
+
export declare class AgentDB_Wire_ExecResult extends Message<AgentDB_Wire_ExecResult> {
|
|
1035
|
+
/**
|
|
1036
|
+
* @generated from field: int64 rows_affected = 1;
|
|
1037
|
+
*/
|
|
1038
|
+
rowsAffected: bigint;
|
|
1039
|
+
|
|
1040
|
+
/**
|
|
1041
|
+
* @generated from field: int64 last_insert_id = 2;
|
|
1042
|
+
*/
|
|
1043
|
+
lastInsertId: bigint;
|
|
1044
|
+
|
|
1045
|
+
/**
|
|
1046
|
+
* @generated from field: int64 tip = 3;
|
|
1047
|
+
*/
|
|
1048
|
+
tip: bigint;
|
|
1049
|
+
|
|
1050
|
+
constructor(data?: PartialMessage<AgentDB_Wire_ExecResult>);
|
|
1051
|
+
|
|
1052
|
+
static readonly runtime: typeof proto3;
|
|
1053
|
+
static readonly typeName = "livekit.AgentDB.Wire.ExecResult";
|
|
1054
|
+
static readonly fields: FieldList;
|
|
1055
|
+
|
|
1056
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_ExecResult;
|
|
1057
|
+
|
|
1058
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_ExecResult;
|
|
1059
|
+
|
|
1060
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_ExecResult;
|
|
1061
|
+
|
|
1062
|
+
static equals(a: AgentDB_Wire_ExecResult | PlainMessage<AgentDB_Wire_ExecResult> | undefined, b: AgentDB_Wire_ExecResult | PlainMessage<AgentDB_Wire_ExecResult> | undefined): boolean;
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
/**
|
|
1066
|
+
* @generated from message livekit.AgentDB.Wire.Done
|
|
1067
|
+
*/
|
|
1068
|
+
export declare class AgentDB_Wire_Done extends Message<AgentDB_Wire_Done> {
|
|
1069
|
+
/**
|
|
1070
|
+
* the snapshot the query ran at
|
|
1071
|
+
*
|
|
1072
|
+
* @generated from field: int64 tip = 1;
|
|
1073
|
+
*/
|
|
1074
|
+
tip: bigint;
|
|
1075
|
+
|
|
1076
|
+
/**
|
|
1077
|
+
* @generated from field: uint64 total_rows = 2;
|
|
1078
|
+
*/
|
|
1079
|
+
totalRows: bigint;
|
|
1080
|
+
|
|
1081
|
+
constructor(data?: PartialMessage<AgentDB_Wire_Done>);
|
|
1082
|
+
|
|
1083
|
+
static readonly runtime: typeof proto3;
|
|
1084
|
+
static readonly typeName = "livekit.AgentDB.Wire.Done";
|
|
1085
|
+
static readonly fields: FieldList;
|
|
1086
|
+
|
|
1087
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Done;
|
|
1088
|
+
|
|
1089
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Done;
|
|
1090
|
+
|
|
1091
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Done;
|
|
1092
|
+
|
|
1093
|
+
static equals(a: AgentDB_Wire_Done | PlainMessage<AgentDB_Wire_Done> | undefined, b: AgentDB_Wire_Done | PlainMessage<AgentDB_Wire_Done> | undefined): boolean;
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
/**
|
|
1097
|
+
* @generated from message livekit.AgentDB.Wire.Error
|
|
1098
|
+
*/
|
|
1099
|
+
export declare class AgentDB_Wire_Error extends Message<AgentDB_Wire_Error> {
|
|
1100
|
+
/**
|
|
1101
|
+
* stable, machine-readable
|
|
1102
|
+
*
|
|
1103
|
+
* @generated from field: string code = 1;
|
|
1104
|
+
*/
|
|
1105
|
+
code: string;
|
|
1106
|
+
|
|
1107
|
+
/**
|
|
1108
|
+
* @generated from field: string message = 2;
|
|
1109
|
+
*/
|
|
1110
|
+
message: string;
|
|
1111
|
+
|
|
1112
|
+
constructor(data?: PartialMessage<AgentDB_Wire_Error>);
|
|
1113
|
+
|
|
1114
|
+
static readonly runtime: typeof proto3;
|
|
1115
|
+
static readonly typeName = "livekit.AgentDB.Wire.Error";
|
|
1116
|
+
static readonly fields: FieldList;
|
|
1117
|
+
|
|
1118
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDB_Wire_Error;
|
|
1119
|
+
|
|
1120
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDB_Wire_Error;
|
|
1121
|
+
|
|
1122
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDB_Wire_Error;
|
|
1123
|
+
|
|
1124
|
+
static equals(a: AgentDB_Wire_Error | PlainMessage<AgentDB_Wire_Error> | undefined, b: AgentDB_Wire_Error | PlainMessage<AgentDB_Wire_Error> | undefined): boolean;
|
|
1125
|
+
}
|
|
1126
|
+
|