@inf-monkeys-tech/monkeys 1.1.66 → 1.1.68
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/lib/contracts/bento-block.d.ts +115 -43
- package/lib/contracts/bento-block.d.ts.map +1 -1
- package/lib/contracts/bento-block.js +44 -10
- package/lib/contracts/bento-block.js.map +1 -1
- package/lib/contracts/declarative-control-http.d.ts +2187 -282
- package/lib/contracts/declarative-control-http.d.ts.map +1 -1
- package/lib/contracts/declarative-control.d.ts +261 -21
- package/lib/contracts/declarative-control.d.ts.map +1 -1
- package/lib/contracts/declarative-control.js +5 -0
- package/lib/contracts/declarative-control.js.map +1 -1
- package/lib/contracts/declarative-document-import.d.ts +1170 -0
- package/lib/contracts/declarative-document-import.d.ts.map +1 -1
- package/lib/contracts/declarative-publication-job.d.ts +72 -64
- package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
- package/lib/contracts/render.d.ts +13 -12
- package/lib/contracts/render.d.ts.map +1 -1
- package/lib/contracts/render.js +2 -1
- package/lib/contracts/render.js.map +1 -1
- package/lib/contracts/tenant.d.ts +0 -12
- package/lib/contracts/tenant.d.ts.map +1 -1
- package/lib/contracts/tenant.js +0 -1
- package/lib/contracts/tenant.js.map +1 -1
- package/lib/contracts/unified-view.d.ts +11 -10
- package/lib/contracts/unified-view.d.ts.map +1 -1
- package/lib/esm/{chunk-ULDFLNAS.mjs → chunk-26ZNN7FU.mjs} +8 -4
- package/lib/esm/chunk-26ZNN7FU.mjs.map +1 -0
- package/lib/esm/{chunk-5QMVFOWH.mjs → chunk-5LZVSAPW.mjs} +41 -11
- package/lib/esm/chunk-5LZVSAPW.mjs.map +1 -0
- package/lib/esm/{chunk-MLFKEJNG.mjs → chunk-GN3YEDS2.mjs} +2 -2
- package/lib/esm/{chunk-GV2AOCR7.mjs → chunk-THLZL353.mjs} +2 -2
- package/lib/esm/{chunk-GV2AOCR7.mjs.map → chunk-THLZL353.mjs.map} +1 -1
- package/lib/esm/contracts/index.mjs +4 -2
- package/lib/esm/index.mjs +6 -4
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +3 -3
- package/lib/esm/schemas/index.mjs +4 -2
- package/lib/json-schema/bento-node.schema.json +131 -17
- package/lib/json-schema/overlay-node.schema.json +131 -17
- package/lib/json-schema/page-runtime-bundle.schema.json +142 -27
- package/lib/json-schema/page.schema.json +4302 -1921
- package/lib/json-schema/render-node.schema.json +131 -17
- package/lib/json-schema/render-tree.schema.json +142 -27
- package/lib/json-schema/tenant-product-config.schema.json +0 -7
- package/lib/json-schema/tenant-runtime-config.schema.json +0 -7
- package/lib/json-schema/view-ontology-record.schema.json +142 -27
- package/lib/runtime/declarative-control-compiler.d.ts.map +1 -1
- package/lib/runtime/declarative-control-compiler.js +4 -0
- package/lib/runtime/declarative-control-compiler.js.map +1 -1
- package/lib/runtime/runtime-definition-wire.d.ts +36 -32
- package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
- package/lib/schemas/index.d.ts +257 -29
- package/lib/schemas/index.d.ts.map +1 -1
- package/lib/schemas/index.js +3 -2
- package/lib/schemas/index.js.map +1 -1
- package/package.json +2 -2
- package/test/fixtures/tenant-product-config.public.json +0 -1
- package/lib/esm/chunk-5QMVFOWH.mjs.map +0 -1
- package/lib/esm/chunk-ULDFLNAS.mjs.map +0 -1
- /package/lib/esm/{chunk-MLFKEJNG.mjs.map → chunk-GN3YEDS2.mjs.map} +0 -0
|
@@ -189,6 +189,240 @@ export declare const DeclarativeImportDocumentSchema: z.ZodUnion<readonly [z.Zod
|
|
|
189
189
|
}, z.core.$strict>>;
|
|
190
190
|
}, z.core.$strict>>>;
|
|
191
191
|
shell: z.ZodOptional<z.ZodString>;
|
|
192
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
193
|
+
statements: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
194
|
+
kind: z.ZodLiteral<"select">;
|
|
195
|
+
from: z.ZodObject<{
|
|
196
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
197
|
+
ontology: "ontology";
|
|
198
|
+
"workflow-outputs": "workflow-outputs";
|
|
199
|
+
telemetry: "telemetry";
|
|
200
|
+
}>>;
|
|
201
|
+
ontologyId: z.ZodString;
|
|
202
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
203
|
+
includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
|
|
204
|
+
}, z.core.$strict>;
|
|
205
|
+
select: z.ZodOptional<z.ZodObject<{
|
|
206
|
+
baseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
207
|
+
propertyColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
208
|
+
featureColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
209
|
+
tagGroupColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
210
|
+
columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
211
|
+
}, z.core.$strict>>;
|
|
212
|
+
where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
|
|
213
|
+
orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
214
|
+
field: z.ZodString;
|
|
215
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
216
|
+
feature: "feature";
|
|
217
|
+
builtin: "builtin";
|
|
218
|
+
}>>;
|
|
219
|
+
direction: z.ZodDefault<z.ZodEnum<{
|
|
220
|
+
asc: "asc";
|
|
221
|
+
desc: "desc";
|
|
222
|
+
}>>;
|
|
223
|
+
nulls: z.ZodOptional<z.ZodEnum<{
|
|
224
|
+
first: "first";
|
|
225
|
+
last: "last";
|
|
226
|
+
}>>;
|
|
227
|
+
}, z.core.$strict>>>;
|
|
228
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
229
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
230
|
+
kind: z.ZodLiteral<"aggregate">;
|
|
231
|
+
from: z.ZodObject<{
|
|
232
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
233
|
+
ontology: "ontology";
|
|
234
|
+
"workflow-outputs": "workflow-outputs";
|
|
235
|
+
telemetry: "telemetry";
|
|
236
|
+
}>>;
|
|
237
|
+
ontologyId: z.ZodString;
|
|
238
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
239
|
+
includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
|
|
240
|
+
}, z.core.$strict>;
|
|
241
|
+
where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
|
|
242
|
+
groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
243
|
+
metrics: z.ZodArray<z.ZodObject<{
|
|
244
|
+
alias: z.ZodString;
|
|
245
|
+
fn: z.ZodEnum<{
|
|
246
|
+
max: "max";
|
|
247
|
+
count: "count";
|
|
248
|
+
sum: "sum";
|
|
249
|
+
avg: "avg";
|
|
250
|
+
min: "min";
|
|
251
|
+
distinct_count: "distinct_count";
|
|
252
|
+
ratio: "ratio";
|
|
253
|
+
count_distinct: "count_distinct";
|
|
254
|
+
percentile: "percentile";
|
|
255
|
+
trimmed_avg: "trimmed_avg";
|
|
256
|
+
first_by: "first_by";
|
|
257
|
+
last_by: "last_by";
|
|
258
|
+
}>;
|
|
259
|
+
fieldKey: z.ZodOptional<z.ZodString>;
|
|
260
|
+
numeric: z.ZodOptional<z.ZodBoolean>;
|
|
261
|
+
percentile: z.ZodOptional<z.ZodNumber>;
|
|
262
|
+
trimTopPct: z.ZodOptional<z.ZodNumber>;
|
|
263
|
+
orderColumnId: z.ZodOptional<z.ZodString>;
|
|
264
|
+
filter: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
|
|
265
|
+
}, z.core.$strict>>;
|
|
266
|
+
orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
267
|
+
field: z.ZodString;
|
|
268
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
269
|
+
feature: "feature";
|
|
270
|
+
builtin: "builtin";
|
|
271
|
+
}>>;
|
|
272
|
+
direction: z.ZodDefault<z.ZodEnum<{
|
|
273
|
+
asc: "asc";
|
|
274
|
+
desc: "desc";
|
|
275
|
+
}>>;
|
|
276
|
+
nulls: z.ZodOptional<z.ZodEnum<{
|
|
277
|
+
first: "first";
|
|
278
|
+
last: "last";
|
|
279
|
+
}>>;
|
|
280
|
+
}, z.core.$strict>>>;
|
|
281
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
282
|
+
engine: z.ZodOptional<z.ZodEnum<{
|
|
283
|
+
auto: "auto";
|
|
284
|
+
search: "search";
|
|
285
|
+
canonical: "canonical";
|
|
286
|
+
}>>;
|
|
287
|
+
allTeams: z.ZodOptional<z.ZodBoolean>;
|
|
288
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
289
|
+
includeTotals: z.ZodOptional<z.ZodBoolean>;
|
|
290
|
+
timeBucket: z.ZodOptional<z.ZodObject<{
|
|
291
|
+
column: z.ZodOptional<z.ZodString>;
|
|
292
|
+
unit: z.ZodEnum<{
|
|
293
|
+
hour: "hour";
|
|
294
|
+
day: "day";
|
|
295
|
+
week: "week";
|
|
296
|
+
month: "month";
|
|
297
|
+
quarter: "quarter";
|
|
298
|
+
year: "year";
|
|
299
|
+
}>;
|
|
300
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
301
|
+
fillGaps: z.ZodOptional<z.ZodBoolean>;
|
|
302
|
+
}, z.core.$strict>>;
|
|
303
|
+
joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
304
|
+
alias: z.ZodString;
|
|
305
|
+
ontologyId: z.ZodString;
|
|
306
|
+
assetType: z.ZodOptional<z.ZodString>;
|
|
307
|
+
joinType: z.ZodOptional<z.ZodEnum<{
|
|
308
|
+
inner: "inner";
|
|
309
|
+
left: "left";
|
|
310
|
+
}>>;
|
|
311
|
+
viaRelation: z.ZodOptional<z.ZodObject<{
|
|
312
|
+
columnId: z.ZodString;
|
|
313
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
314
|
+
outgoing: "outgoing";
|
|
315
|
+
incoming: "incoming";
|
|
316
|
+
}>>;
|
|
317
|
+
}, z.core.$strict>>;
|
|
318
|
+
onColumn: z.ZodOptional<z.ZodObject<{
|
|
319
|
+
localColumnId: z.ZodString;
|
|
320
|
+
foreignColumnId: z.ZodOptional<z.ZodString>;
|
|
321
|
+
foreignAssetId: z.ZodOptional<z.ZodBoolean>;
|
|
322
|
+
}, z.core.$strict>>;
|
|
323
|
+
}, z.core.$strict>>>;
|
|
324
|
+
hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
325
|
+
targetAlias: z.ZodOptional<z.ZodString>;
|
|
326
|
+
localColumnId: z.ZodOptional<z.ZodString>;
|
|
327
|
+
ontologyId: z.ZodOptional<z.ZodString>;
|
|
328
|
+
relationColumnId: z.ZodString;
|
|
329
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
330
|
+
outgoing: "outgoing";
|
|
331
|
+
incoming: "incoming";
|
|
332
|
+
}>>;
|
|
333
|
+
seedIds: z.ZodArray<z.ZodString>;
|
|
334
|
+
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
335
|
+
includeSelf: z.ZodOptional<z.ZodBoolean>;
|
|
336
|
+
}, z.core.$strict>>>;
|
|
337
|
+
unwind: z.ZodOptional<z.ZodObject<{
|
|
338
|
+
columnId: z.ZodString;
|
|
339
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
340
|
+
jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
341
|
+
preserveEmpty: z.ZodOptional<z.ZodBoolean>;
|
|
342
|
+
}, z.core.$strict>>;
|
|
343
|
+
having: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
344
|
+
key: z.ZodString;
|
|
345
|
+
op: z.ZodEnum<{
|
|
346
|
+
eq: "eq";
|
|
347
|
+
neq: "neq";
|
|
348
|
+
gt: "gt";
|
|
349
|
+
gte: "gte";
|
|
350
|
+
lt: "lt";
|
|
351
|
+
lte: "lte";
|
|
352
|
+
}>;
|
|
353
|
+
value: z.ZodNumber;
|
|
354
|
+
}, z.core.$strict>>>;
|
|
355
|
+
pagination: z.ZodOptional<z.ZodObject<{
|
|
356
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
357
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
358
|
+
withGroupTotal: z.ZodOptional<z.ZodBoolean>;
|
|
359
|
+
}, z.core.$strict>>;
|
|
360
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
361
|
+
kind: z.ZodLiteral<"graph">;
|
|
362
|
+
from: z.ZodObject<{
|
|
363
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
364
|
+
ontology: "ontology";
|
|
365
|
+
"workflow-outputs": "workflow-outputs";
|
|
366
|
+
telemetry: "telemetry";
|
|
367
|
+
}>>;
|
|
368
|
+
ontologyId: z.ZodString;
|
|
369
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
370
|
+
includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
|
|
371
|
+
}, z.core.$strict>;
|
|
372
|
+
where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
|
|
373
|
+
graph: z.ZodObject<{
|
|
374
|
+
graphKind: z.ZodEnum<{
|
|
375
|
+
schema: "schema";
|
|
376
|
+
cooccurrence: "cooccurrence";
|
|
377
|
+
"bipartite-cosine": "bipartite-cosine";
|
|
378
|
+
"focus-star": "focus-star";
|
|
379
|
+
"ontology-relation": "ontology-relation";
|
|
380
|
+
"record-clustering": "record-clustering";
|
|
381
|
+
"field-tag-hub": "field-tag-hub";
|
|
382
|
+
}>;
|
|
383
|
+
maxHops: z.ZodDefault<z.ZodNumber>;
|
|
384
|
+
nodeLabelField: z.ZodOptional<z.ZodString>;
|
|
385
|
+
edgeRelationFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
386
|
+
}, z.core.$strict>;
|
|
387
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
388
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
389
|
+
kind: z.ZodEnum<{
|
|
390
|
+
insert: "insert";
|
|
391
|
+
update: "update";
|
|
392
|
+
delete: "delete";
|
|
393
|
+
}>;
|
|
394
|
+
ontologyId: z.ZodString;
|
|
395
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
396
|
+
where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
|
|
397
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
398
|
+
kind: z.ZodLiteral<"call">;
|
|
399
|
+
workflowId: z.ZodString;
|
|
400
|
+
pageType: z.ZodDefault<z.ZodEnum<{
|
|
401
|
+
process: "process";
|
|
402
|
+
preview: "preview";
|
|
403
|
+
log: "log";
|
|
404
|
+
chat: "chat";
|
|
405
|
+
api: "api";
|
|
406
|
+
}>>;
|
|
407
|
+
inputMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
408
|
+
outputStrategy: z.ZodOptional<z.ZodEnum<{
|
|
409
|
+
"default-result-ontology": "default-result-ontology";
|
|
410
|
+
"domain-ontology": "domain-ontology";
|
|
411
|
+
"ledger-only": "ledger-only";
|
|
412
|
+
"column-writeback": "column-writeback";
|
|
413
|
+
}>>;
|
|
414
|
+
}, z.core.$strict>], "kind">>;
|
|
415
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
416
|
+
cache: z.ZodOptional<z.ZodObject<{
|
|
417
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
418
|
+
realtime: "realtime";
|
|
419
|
+
cached: "cached";
|
|
420
|
+
"stale-while-revalidate": "stale-while-revalidate";
|
|
421
|
+
materialized: "materialized";
|
|
422
|
+
}>>;
|
|
423
|
+
ttlSeconds: z.ZodOptional<z.ZodNumber>;
|
|
424
|
+
}, z.core.$strict>>;
|
|
425
|
+
}, z.core.$strict>>;
|
|
192
426
|
body: z.ZodType<import("./declarative-control").PageNode, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageNode, unknown>>;
|
|
193
427
|
initialQueryPolicy: z.ZodOptional<z.ZodEnum<{
|
|
194
428
|
auto: "auto";
|
|
@@ -2122,6 +2356,240 @@ export declare const DeclarativeDocumentImportRequestSchema: z.ZodObject<{
|
|
|
2122
2356
|
}, z.core.$strict>>;
|
|
2123
2357
|
}, z.core.$strict>>>;
|
|
2124
2358
|
shell: z.ZodOptional<z.ZodString>;
|
|
2359
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
2360
|
+
statements: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2361
|
+
kind: z.ZodLiteral<"select">;
|
|
2362
|
+
from: z.ZodObject<{
|
|
2363
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
2364
|
+
ontology: "ontology";
|
|
2365
|
+
"workflow-outputs": "workflow-outputs";
|
|
2366
|
+
telemetry: "telemetry";
|
|
2367
|
+
}>>;
|
|
2368
|
+
ontologyId: z.ZodString;
|
|
2369
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
2370
|
+
includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
|
|
2371
|
+
}, z.core.$strict>;
|
|
2372
|
+
select: z.ZodOptional<z.ZodObject<{
|
|
2373
|
+
baseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2374
|
+
propertyColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2375
|
+
featureColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2376
|
+
tagGroupColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2377
|
+
columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2378
|
+
}, z.core.$strict>>;
|
|
2379
|
+
where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
|
|
2380
|
+
orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2381
|
+
field: z.ZodString;
|
|
2382
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
2383
|
+
feature: "feature";
|
|
2384
|
+
builtin: "builtin";
|
|
2385
|
+
}>>;
|
|
2386
|
+
direction: z.ZodDefault<z.ZodEnum<{
|
|
2387
|
+
asc: "asc";
|
|
2388
|
+
desc: "desc";
|
|
2389
|
+
}>>;
|
|
2390
|
+
nulls: z.ZodOptional<z.ZodEnum<{
|
|
2391
|
+
first: "first";
|
|
2392
|
+
last: "last";
|
|
2393
|
+
}>>;
|
|
2394
|
+
}, z.core.$strict>>>;
|
|
2395
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2396
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2397
|
+
kind: z.ZodLiteral<"aggregate">;
|
|
2398
|
+
from: z.ZodObject<{
|
|
2399
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
2400
|
+
ontology: "ontology";
|
|
2401
|
+
"workflow-outputs": "workflow-outputs";
|
|
2402
|
+
telemetry: "telemetry";
|
|
2403
|
+
}>>;
|
|
2404
|
+
ontologyId: z.ZodString;
|
|
2405
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
2406
|
+
includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
|
|
2407
|
+
}, z.core.$strict>;
|
|
2408
|
+
where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
|
|
2409
|
+
groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2410
|
+
metrics: z.ZodArray<z.ZodObject<{
|
|
2411
|
+
alias: z.ZodString;
|
|
2412
|
+
fn: z.ZodEnum<{
|
|
2413
|
+
max: "max";
|
|
2414
|
+
count: "count";
|
|
2415
|
+
sum: "sum";
|
|
2416
|
+
avg: "avg";
|
|
2417
|
+
min: "min";
|
|
2418
|
+
distinct_count: "distinct_count";
|
|
2419
|
+
ratio: "ratio";
|
|
2420
|
+
count_distinct: "count_distinct";
|
|
2421
|
+
percentile: "percentile";
|
|
2422
|
+
trimmed_avg: "trimmed_avg";
|
|
2423
|
+
first_by: "first_by";
|
|
2424
|
+
last_by: "last_by";
|
|
2425
|
+
}>;
|
|
2426
|
+
fieldKey: z.ZodOptional<z.ZodString>;
|
|
2427
|
+
numeric: z.ZodOptional<z.ZodBoolean>;
|
|
2428
|
+
percentile: z.ZodOptional<z.ZodNumber>;
|
|
2429
|
+
trimTopPct: z.ZodOptional<z.ZodNumber>;
|
|
2430
|
+
orderColumnId: z.ZodOptional<z.ZodString>;
|
|
2431
|
+
filter: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
|
|
2432
|
+
}, z.core.$strict>>;
|
|
2433
|
+
orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2434
|
+
field: z.ZodString;
|
|
2435
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
2436
|
+
feature: "feature";
|
|
2437
|
+
builtin: "builtin";
|
|
2438
|
+
}>>;
|
|
2439
|
+
direction: z.ZodDefault<z.ZodEnum<{
|
|
2440
|
+
asc: "asc";
|
|
2441
|
+
desc: "desc";
|
|
2442
|
+
}>>;
|
|
2443
|
+
nulls: z.ZodOptional<z.ZodEnum<{
|
|
2444
|
+
first: "first";
|
|
2445
|
+
last: "last";
|
|
2446
|
+
}>>;
|
|
2447
|
+
}, z.core.$strict>>>;
|
|
2448
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2449
|
+
engine: z.ZodOptional<z.ZodEnum<{
|
|
2450
|
+
auto: "auto";
|
|
2451
|
+
search: "search";
|
|
2452
|
+
canonical: "canonical";
|
|
2453
|
+
}>>;
|
|
2454
|
+
allTeams: z.ZodOptional<z.ZodBoolean>;
|
|
2455
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
2456
|
+
includeTotals: z.ZodOptional<z.ZodBoolean>;
|
|
2457
|
+
timeBucket: z.ZodOptional<z.ZodObject<{
|
|
2458
|
+
column: z.ZodOptional<z.ZodString>;
|
|
2459
|
+
unit: z.ZodEnum<{
|
|
2460
|
+
hour: "hour";
|
|
2461
|
+
day: "day";
|
|
2462
|
+
week: "week";
|
|
2463
|
+
month: "month";
|
|
2464
|
+
quarter: "quarter";
|
|
2465
|
+
year: "year";
|
|
2466
|
+
}>;
|
|
2467
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
2468
|
+
fillGaps: z.ZodOptional<z.ZodBoolean>;
|
|
2469
|
+
}, z.core.$strict>>;
|
|
2470
|
+
joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2471
|
+
alias: z.ZodString;
|
|
2472
|
+
ontologyId: z.ZodString;
|
|
2473
|
+
assetType: z.ZodOptional<z.ZodString>;
|
|
2474
|
+
joinType: z.ZodOptional<z.ZodEnum<{
|
|
2475
|
+
inner: "inner";
|
|
2476
|
+
left: "left";
|
|
2477
|
+
}>>;
|
|
2478
|
+
viaRelation: z.ZodOptional<z.ZodObject<{
|
|
2479
|
+
columnId: z.ZodString;
|
|
2480
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
2481
|
+
outgoing: "outgoing";
|
|
2482
|
+
incoming: "incoming";
|
|
2483
|
+
}>>;
|
|
2484
|
+
}, z.core.$strict>>;
|
|
2485
|
+
onColumn: z.ZodOptional<z.ZodObject<{
|
|
2486
|
+
localColumnId: z.ZodString;
|
|
2487
|
+
foreignColumnId: z.ZodOptional<z.ZodString>;
|
|
2488
|
+
foreignAssetId: z.ZodOptional<z.ZodBoolean>;
|
|
2489
|
+
}, z.core.$strict>>;
|
|
2490
|
+
}, z.core.$strict>>>;
|
|
2491
|
+
hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2492
|
+
targetAlias: z.ZodOptional<z.ZodString>;
|
|
2493
|
+
localColumnId: z.ZodOptional<z.ZodString>;
|
|
2494
|
+
ontologyId: z.ZodOptional<z.ZodString>;
|
|
2495
|
+
relationColumnId: z.ZodString;
|
|
2496
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
2497
|
+
outgoing: "outgoing";
|
|
2498
|
+
incoming: "incoming";
|
|
2499
|
+
}>>;
|
|
2500
|
+
seedIds: z.ZodArray<z.ZodString>;
|
|
2501
|
+
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
2502
|
+
includeSelf: z.ZodOptional<z.ZodBoolean>;
|
|
2503
|
+
}, z.core.$strict>>>;
|
|
2504
|
+
unwind: z.ZodOptional<z.ZodObject<{
|
|
2505
|
+
columnId: z.ZodString;
|
|
2506
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
2507
|
+
jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2508
|
+
preserveEmpty: z.ZodOptional<z.ZodBoolean>;
|
|
2509
|
+
}, z.core.$strict>>;
|
|
2510
|
+
having: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2511
|
+
key: z.ZodString;
|
|
2512
|
+
op: z.ZodEnum<{
|
|
2513
|
+
eq: "eq";
|
|
2514
|
+
neq: "neq";
|
|
2515
|
+
gt: "gt";
|
|
2516
|
+
gte: "gte";
|
|
2517
|
+
lt: "lt";
|
|
2518
|
+
lte: "lte";
|
|
2519
|
+
}>;
|
|
2520
|
+
value: z.ZodNumber;
|
|
2521
|
+
}, z.core.$strict>>>;
|
|
2522
|
+
pagination: z.ZodOptional<z.ZodObject<{
|
|
2523
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
2524
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2525
|
+
withGroupTotal: z.ZodOptional<z.ZodBoolean>;
|
|
2526
|
+
}, z.core.$strict>>;
|
|
2527
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2528
|
+
kind: z.ZodLiteral<"graph">;
|
|
2529
|
+
from: z.ZodObject<{
|
|
2530
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
2531
|
+
ontology: "ontology";
|
|
2532
|
+
"workflow-outputs": "workflow-outputs";
|
|
2533
|
+
telemetry: "telemetry";
|
|
2534
|
+
}>>;
|
|
2535
|
+
ontologyId: z.ZodString;
|
|
2536
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
2537
|
+
includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
|
|
2538
|
+
}, z.core.$strict>;
|
|
2539
|
+
where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
|
|
2540
|
+
graph: z.ZodObject<{
|
|
2541
|
+
graphKind: z.ZodEnum<{
|
|
2542
|
+
schema: "schema";
|
|
2543
|
+
cooccurrence: "cooccurrence";
|
|
2544
|
+
"bipartite-cosine": "bipartite-cosine";
|
|
2545
|
+
"focus-star": "focus-star";
|
|
2546
|
+
"ontology-relation": "ontology-relation";
|
|
2547
|
+
"record-clustering": "record-clustering";
|
|
2548
|
+
"field-tag-hub": "field-tag-hub";
|
|
2549
|
+
}>;
|
|
2550
|
+
maxHops: z.ZodDefault<z.ZodNumber>;
|
|
2551
|
+
nodeLabelField: z.ZodOptional<z.ZodString>;
|
|
2552
|
+
edgeRelationFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2553
|
+
}, z.core.$strict>;
|
|
2554
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2555
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2556
|
+
kind: z.ZodEnum<{
|
|
2557
|
+
insert: "insert";
|
|
2558
|
+
update: "update";
|
|
2559
|
+
delete: "delete";
|
|
2560
|
+
}>;
|
|
2561
|
+
ontologyId: z.ZodString;
|
|
2562
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
2563
|
+
where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
|
|
2564
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2565
|
+
kind: z.ZodLiteral<"call">;
|
|
2566
|
+
workflowId: z.ZodString;
|
|
2567
|
+
pageType: z.ZodDefault<z.ZodEnum<{
|
|
2568
|
+
process: "process";
|
|
2569
|
+
preview: "preview";
|
|
2570
|
+
log: "log";
|
|
2571
|
+
chat: "chat";
|
|
2572
|
+
api: "api";
|
|
2573
|
+
}>>;
|
|
2574
|
+
inputMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
2575
|
+
outputStrategy: z.ZodOptional<z.ZodEnum<{
|
|
2576
|
+
"default-result-ontology": "default-result-ontology";
|
|
2577
|
+
"domain-ontology": "domain-ontology";
|
|
2578
|
+
"ledger-only": "ledger-only";
|
|
2579
|
+
"column-writeback": "column-writeback";
|
|
2580
|
+
}>>;
|
|
2581
|
+
}, z.core.$strict>], "kind">>;
|
|
2582
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
2583
|
+
cache: z.ZodOptional<z.ZodObject<{
|
|
2584
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
2585
|
+
realtime: "realtime";
|
|
2586
|
+
cached: "cached";
|
|
2587
|
+
"stale-while-revalidate": "stale-while-revalidate";
|
|
2588
|
+
materialized: "materialized";
|
|
2589
|
+
}>>;
|
|
2590
|
+
ttlSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2591
|
+
}, z.core.$strict>>;
|
|
2592
|
+
}, z.core.$strict>>;
|
|
2125
2593
|
body: z.ZodType<import("./declarative-control").PageNode, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageNode, unknown>>;
|
|
2126
2594
|
initialQueryPolicy: z.ZodOptional<z.ZodEnum<{
|
|
2127
2595
|
auto: "auto";
|
|
@@ -4064,6 +4532,240 @@ export declare const DeclarativeDocumentImportIntentSchema: z.ZodObject<{
|
|
|
4064
4532
|
}, z.core.$strict>>;
|
|
4065
4533
|
}, z.core.$strict>>>;
|
|
4066
4534
|
shell: z.ZodOptional<z.ZodString>;
|
|
4535
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
4536
|
+
statements: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4537
|
+
kind: z.ZodLiteral<"select">;
|
|
4538
|
+
from: z.ZodObject<{
|
|
4539
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
4540
|
+
ontology: "ontology";
|
|
4541
|
+
"workflow-outputs": "workflow-outputs";
|
|
4542
|
+
telemetry: "telemetry";
|
|
4543
|
+
}>>;
|
|
4544
|
+
ontologyId: z.ZodString;
|
|
4545
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
4546
|
+
includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
|
|
4547
|
+
}, z.core.$strict>;
|
|
4548
|
+
select: z.ZodOptional<z.ZodObject<{
|
|
4549
|
+
baseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4550
|
+
propertyColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4551
|
+
featureColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4552
|
+
tagGroupColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4553
|
+
columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4554
|
+
}, z.core.$strict>>;
|
|
4555
|
+
where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
|
|
4556
|
+
orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4557
|
+
field: z.ZodString;
|
|
4558
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
4559
|
+
feature: "feature";
|
|
4560
|
+
builtin: "builtin";
|
|
4561
|
+
}>>;
|
|
4562
|
+
direction: z.ZodDefault<z.ZodEnum<{
|
|
4563
|
+
asc: "asc";
|
|
4564
|
+
desc: "desc";
|
|
4565
|
+
}>>;
|
|
4566
|
+
nulls: z.ZodOptional<z.ZodEnum<{
|
|
4567
|
+
first: "first";
|
|
4568
|
+
last: "last";
|
|
4569
|
+
}>>;
|
|
4570
|
+
}, z.core.$strict>>>;
|
|
4571
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
4572
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4573
|
+
kind: z.ZodLiteral<"aggregate">;
|
|
4574
|
+
from: z.ZodObject<{
|
|
4575
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
4576
|
+
ontology: "ontology";
|
|
4577
|
+
"workflow-outputs": "workflow-outputs";
|
|
4578
|
+
telemetry: "telemetry";
|
|
4579
|
+
}>>;
|
|
4580
|
+
ontologyId: z.ZodString;
|
|
4581
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
4582
|
+
includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
|
|
4583
|
+
}, z.core.$strict>;
|
|
4584
|
+
where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
|
|
4585
|
+
groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4586
|
+
metrics: z.ZodArray<z.ZodObject<{
|
|
4587
|
+
alias: z.ZodString;
|
|
4588
|
+
fn: z.ZodEnum<{
|
|
4589
|
+
max: "max";
|
|
4590
|
+
count: "count";
|
|
4591
|
+
sum: "sum";
|
|
4592
|
+
avg: "avg";
|
|
4593
|
+
min: "min";
|
|
4594
|
+
distinct_count: "distinct_count";
|
|
4595
|
+
ratio: "ratio";
|
|
4596
|
+
count_distinct: "count_distinct";
|
|
4597
|
+
percentile: "percentile";
|
|
4598
|
+
trimmed_avg: "trimmed_avg";
|
|
4599
|
+
first_by: "first_by";
|
|
4600
|
+
last_by: "last_by";
|
|
4601
|
+
}>;
|
|
4602
|
+
fieldKey: z.ZodOptional<z.ZodString>;
|
|
4603
|
+
numeric: z.ZodOptional<z.ZodBoolean>;
|
|
4604
|
+
percentile: z.ZodOptional<z.ZodNumber>;
|
|
4605
|
+
trimTopPct: z.ZodOptional<z.ZodNumber>;
|
|
4606
|
+
orderColumnId: z.ZodOptional<z.ZodString>;
|
|
4607
|
+
filter: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
|
|
4608
|
+
}, z.core.$strict>>;
|
|
4609
|
+
orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4610
|
+
field: z.ZodString;
|
|
4611
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
4612
|
+
feature: "feature";
|
|
4613
|
+
builtin: "builtin";
|
|
4614
|
+
}>>;
|
|
4615
|
+
direction: z.ZodDefault<z.ZodEnum<{
|
|
4616
|
+
asc: "asc";
|
|
4617
|
+
desc: "desc";
|
|
4618
|
+
}>>;
|
|
4619
|
+
nulls: z.ZodOptional<z.ZodEnum<{
|
|
4620
|
+
first: "first";
|
|
4621
|
+
last: "last";
|
|
4622
|
+
}>>;
|
|
4623
|
+
}, z.core.$strict>>>;
|
|
4624
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
4625
|
+
engine: z.ZodOptional<z.ZodEnum<{
|
|
4626
|
+
auto: "auto";
|
|
4627
|
+
search: "search";
|
|
4628
|
+
canonical: "canonical";
|
|
4629
|
+
}>>;
|
|
4630
|
+
allTeams: z.ZodOptional<z.ZodBoolean>;
|
|
4631
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
4632
|
+
includeTotals: z.ZodOptional<z.ZodBoolean>;
|
|
4633
|
+
timeBucket: z.ZodOptional<z.ZodObject<{
|
|
4634
|
+
column: z.ZodOptional<z.ZodString>;
|
|
4635
|
+
unit: z.ZodEnum<{
|
|
4636
|
+
hour: "hour";
|
|
4637
|
+
day: "day";
|
|
4638
|
+
week: "week";
|
|
4639
|
+
month: "month";
|
|
4640
|
+
quarter: "quarter";
|
|
4641
|
+
year: "year";
|
|
4642
|
+
}>;
|
|
4643
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
4644
|
+
fillGaps: z.ZodOptional<z.ZodBoolean>;
|
|
4645
|
+
}, z.core.$strict>>;
|
|
4646
|
+
joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4647
|
+
alias: z.ZodString;
|
|
4648
|
+
ontologyId: z.ZodString;
|
|
4649
|
+
assetType: z.ZodOptional<z.ZodString>;
|
|
4650
|
+
joinType: z.ZodOptional<z.ZodEnum<{
|
|
4651
|
+
inner: "inner";
|
|
4652
|
+
left: "left";
|
|
4653
|
+
}>>;
|
|
4654
|
+
viaRelation: z.ZodOptional<z.ZodObject<{
|
|
4655
|
+
columnId: z.ZodString;
|
|
4656
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
4657
|
+
outgoing: "outgoing";
|
|
4658
|
+
incoming: "incoming";
|
|
4659
|
+
}>>;
|
|
4660
|
+
}, z.core.$strict>>;
|
|
4661
|
+
onColumn: z.ZodOptional<z.ZodObject<{
|
|
4662
|
+
localColumnId: z.ZodString;
|
|
4663
|
+
foreignColumnId: z.ZodOptional<z.ZodString>;
|
|
4664
|
+
foreignAssetId: z.ZodOptional<z.ZodBoolean>;
|
|
4665
|
+
}, z.core.$strict>>;
|
|
4666
|
+
}, z.core.$strict>>>;
|
|
4667
|
+
hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4668
|
+
targetAlias: z.ZodOptional<z.ZodString>;
|
|
4669
|
+
localColumnId: z.ZodOptional<z.ZodString>;
|
|
4670
|
+
ontologyId: z.ZodOptional<z.ZodString>;
|
|
4671
|
+
relationColumnId: z.ZodString;
|
|
4672
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
4673
|
+
outgoing: "outgoing";
|
|
4674
|
+
incoming: "incoming";
|
|
4675
|
+
}>>;
|
|
4676
|
+
seedIds: z.ZodArray<z.ZodString>;
|
|
4677
|
+
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
4678
|
+
includeSelf: z.ZodOptional<z.ZodBoolean>;
|
|
4679
|
+
}, z.core.$strict>>>;
|
|
4680
|
+
unwind: z.ZodOptional<z.ZodObject<{
|
|
4681
|
+
columnId: z.ZodString;
|
|
4682
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
4683
|
+
jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4684
|
+
preserveEmpty: z.ZodOptional<z.ZodBoolean>;
|
|
4685
|
+
}, z.core.$strict>>;
|
|
4686
|
+
having: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4687
|
+
key: z.ZodString;
|
|
4688
|
+
op: z.ZodEnum<{
|
|
4689
|
+
eq: "eq";
|
|
4690
|
+
neq: "neq";
|
|
4691
|
+
gt: "gt";
|
|
4692
|
+
gte: "gte";
|
|
4693
|
+
lt: "lt";
|
|
4694
|
+
lte: "lte";
|
|
4695
|
+
}>;
|
|
4696
|
+
value: z.ZodNumber;
|
|
4697
|
+
}, z.core.$strict>>>;
|
|
4698
|
+
pagination: z.ZodOptional<z.ZodObject<{
|
|
4699
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
4700
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
4701
|
+
withGroupTotal: z.ZodOptional<z.ZodBoolean>;
|
|
4702
|
+
}, z.core.$strict>>;
|
|
4703
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4704
|
+
kind: z.ZodLiteral<"graph">;
|
|
4705
|
+
from: z.ZodObject<{
|
|
4706
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
4707
|
+
ontology: "ontology";
|
|
4708
|
+
"workflow-outputs": "workflow-outputs";
|
|
4709
|
+
telemetry: "telemetry";
|
|
4710
|
+
}>>;
|
|
4711
|
+
ontologyId: z.ZodString;
|
|
4712
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
4713
|
+
includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
|
|
4714
|
+
}, z.core.$strict>;
|
|
4715
|
+
where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
|
|
4716
|
+
graph: z.ZodObject<{
|
|
4717
|
+
graphKind: z.ZodEnum<{
|
|
4718
|
+
schema: "schema";
|
|
4719
|
+
cooccurrence: "cooccurrence";
|
|
4720
|
+
"bipartite-cosine": "bipartite-cosine";
|
|
4721
|
+
"focus-star": "focus-star";
|
|
4722
|
+
"ontology-relation": "ontology-relation";
|
|
4723
|
+
"record-clustering": "record-clustering";
|
|
4724
|
+
"field-tag-hub": "field-tag-hub";
|
|
4725
|
+
}>;
|
|
4726
|
+
maxHops: z.ZodDefault<z.ZodNumber>;
|
|
4727
|
+
nodeLabelField: z.ZodOptional<z.ZodString>;
|
|
4728
|
+
edgeRelationFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4729
|
+
}, z.core.$strict>;
|
|
4730
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
4731
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4732
|
+
kind: z.ZodEnum<{
|
|
4733
|
+
insert: "insert";
|
|
4734
|
+
update: "update";
|
|
4735
|
+
delete: "delete";
|
|
4736
|
+
}>;
|
|
4737
|
+
ontologyId: z.ZodString;
|
|
4738
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
4739
|
+
where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
|
|
4740
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4741
|
+
kind: z.ZodLiteral<"call">;
|
|
4742
|
+
workflowId: z.ZodString;
|
|
4743
|
+
pageType: z.ZodDefault<z.ZodEnum<{
|
|
4744
|
+
process: "process";
|
|
4745
|
+
preview: "preview";
|
|
4746
|
+
log: "log";
|
|
4747
|
+
chat: "chat";
|
|
4748
|
+
api: "api";
|
|
4749
|
+
}>>;
|
|
4750
|
+
inputMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
4751
|
+
outputStrategy: z.ZodOptional<z.ZodEnum<{
|
|
4752
|
+
"default-result-ontology": "default-result-ontology";
|
|
4753
|
+
"domain-ontology": "domain-ontology";
|
|
4754
|
+
"ledger-only": "ledger-only";
|
|
4755
|
+
"column-writeback": "column-writeback";
|
|
4756
|
+
}>>;
|
|
4757
|
+
}, z.core.$strict>], "kind">>;
|
|
4758
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
4759
|
+
cache: z.ZodOptional<z.ZodObject<{
|
|
4760
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
4761
|
+
realtime: "realtime";
|
|
4762
|
+
cached: "cached";
|
|
4763
|
+
"stale-while-revalidate": "stale-while-revalidate";
|
|
4764
|
+
materialized: "materialized";
|
|
4765
|
+
}>>;
|
|
4766
|
+
ttlSeconds: z.ZodOptional<z.ZodNumber>;
|
|
4767
|
+
}, z.core.$strict>>;
|
|
4768
|
+
}, z.core.$strict>>;
|
|
4067
4769
|
body: z.ZodType<import("./declarative-control").PageNode, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageNode, unknown>>;
|
|
4068
4770
|
initialQueryPolicy: z.ZodOptional<z.ZodEnum<{
|
|
4069
4771
|
auto: "auto";
|
|
@@ -6080,6 +6782,240 @@ export declare const DeclarativeDocumentImportPlanSchema: z.ZodObject<{
|
|
|
6080
6782
|
}, z.core.$strict>>;
|
|
6081
6783
|
}, z.core.$strict>>>;
|
|
6082
6784
|
shell: z.ZodOptional<z.ZodString>;
|
|
6785
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
6786
|
+
statements: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6787
|
+
kind: z.ZodLiteral<"select">;
|
|
6788
|
+
from: z.ZodObject<{
|
|
6789
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
6790
|
+
ontology: "ontology";
|
|
6791
|
+
"workflow-outputs": "workflow-outputs";
|
|
6792
|
+
telemetry: "telemetry";
|
|
6793
|
+
}>>;
|
|
6794
|
+
ontologyId: z.ZodString;
|
|
6795
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
6796
|
+
includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
|
|
6797
|
+
}, z.core.$strict>;
|
|
6798
|
+
select: z.ZodOptional<z.ZodObject<{
|
|
6799
|
+
baseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6800
|
+
propertyColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6801
|
+
featureColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6802
|
+
tagGroupColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6803
|
+
columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6804
|
+
}, z.core.$strict>>;
|
|
6805
|
+
where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
|
|
6806
|
+
orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6807
|
+
field: z.ZodString;
|
|
6808
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
6809
|
+
feature: "feature";
|
|
6810
|
+
builtin: "builtin";
|
|
6811
|
+
}>>;
|
|
6812
|
+
direction: z.ZodDefault<z.ZodEnum<{
|
|
6813
|
+
asc: "asc";
|
|
6814
|
+
desc: "desc";
|
|
6815
|
+
}>>;
|
|
6816
|
+
nulls: z.ZodOptional<z.ZodEnum<{
|
|
6817
|
+
first: "first";
|
|
6818
|
+
last: "last";
|
|
6819
|
+
}>>;
|
|
6820
|
+
}, z.core.$strict>>>;
|
|
6821
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
6822
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6823
|
+
kind: z.ZodLiteral<"aggregate">;
|
|
6824
|
+
from: z.ZodObject<{
|
|
6825
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
6826
|
+
ontology: "ontology";
|
|
6827
|
+
"workflow-outputs": "workflow-outputs";
|
|
6828
|
+
telemetry: "telemetry";
|
|
6829
|
+
}>>;
|
|
6830
|
+
ontologyId: z.ZodString;
|
|
6831
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
6832
|
+
includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
|
|
6833
|
+
}, z.core.$strict>;
|
|
6834
|
+
where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
|
|
6835
|
+
groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6836
|
+
metrics: z.ZodArray<z.ZodObject<{
|
|
6837
|
+
alias: z.ZodString;
|
|
6838
|
+
fn: z.ZodEnum<{
|
|
6839
|
+
max: "max";
|
|
6840
|
+
count: "count";
|
|
6841
|
+
sum: "sum";
|
|
6842
|
+
avg: "avg";
|
|
6843
|
+
min: "min";
|
|
6844
|
+
distinct_count: "distinct_count";
|
|
6845
|
+
ratio: "ratio";
|
|
6846
|
+
count_distinct: "count_distinct";
|
|
6847
|
+
percentile: "percentile";
|
|
6848
|
+
trimmed_avg: "trimmed_avg";
|
|
6849
|
+
first_by: "first_by";
|
|
6850
|
+
last_by: "last_by";
|
|
6851
|
+
}>;
|
|
6852
|
+
fieldKey: z.ZodOptional<z.ZodString>;
|
|
6853
|
+
numeric: z.ZodOptional<z.ZodBoolean>;
|
|
6854
|
+
percentile: z.ZodOptional<z.ZodNumber>;
|
|
6855
|
+
trimTopPct: z.ZodOptional<z.ZodNumber>;
|
|
6856
|
+
orderColumnId: z.ZodOptional<z.ZodString>;
|
|
6857
|
+
filter: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
|
|
6858
|
+
}, z.core.$strict>>;
|
|
6859
|
+
orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6860
|
+
field: z.ZodString;
|
|
6861
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
6862
|
+
feature: "feature";
|
|
6863
|
+
builtin: "builtin";
|
|
6864
|
+
}>>;
|
|
6865
|
+
direction: z.ZodDefault<z.ZodEnum<{
|
|
6866
|
+
asc: "asc";
|
|
6867
|
+
desc: "desc";
|
|
6868
|
+
}>>;
|
|
6869
|
+
nulls: z.ZodOptional<z.ZodEnum<{
|
|
6870
|
+
first: "first";
|
|
6871
|
+
last: "last";
|
|
6872
|
+
}>>;
|
|
6873
|
+
}, z.core.$strict>>>;
|
|
6874
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
6875
|
+
engine: z.ZodOptional<z.ZodEnum<{
|
|
6876
|
+
auto: "auto";
|
|
6877
|
+
search: "search";
|
|
6878
|
+
canonical: "canonical";
|
|
6879
|
+
}>>;
|
|
6880
|
+
allTeams: z.ZodOptional<z.ZodBoolean>;
|
|
6881
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
6882
|
+
includeTotals: z.ZodOptional<z.ZodBoolean>;
|
|
6883
|
+
timeBucket: z.ZodOptional<z.ZodObject<{
|
|
6884
|
+
column: z.ZodOptional<z.ZodString>;
|
|
6885
|
+
unit: z.ZodEnum<{
|
|
6886
|
+
hour: "hour";
|
|
6887
|
+
day: "day";
|
|
6888
|
+
week: "week";
|
|
6889
|
+
month: "month";
|
|
6890
|
+
quarter: "quarter";
|
|
6891
|
+
year: "year";
|
|
6892
|
+
}>;
|
|
6893
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
6894
|
+
fillGaps: z.ZodOptional<z.ZodBoolean>;
|
|
6895
|
+
}, z.core.$strict>>;
|
|
6896
|
+
joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6897
|
+
alias: z.ZodString;
|
|
6898
|
+
ontologyId: z.ZodString;
|
|
6899
|
+
assetType: z.ZodOptional<z.ZodString>;
|
|
6900
|
+
joinType: z.ZodOptional<z.ZodEnum<{
|
|
6901
|
+
inner: "inner";
|
|
6902
|
+
left: "left";
|
|
6903
|
+
}>>;
|
|
6904
|
+
viaRelation: z.ZodOptional<z.ZodObject<{
|
|
6905
|
+
columnId: z.ZodString;
|
|
6906
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
6907
|
+
outgoing: "outgoing";
|
|
6908
|
+
incoming: "incoming";
|
|
6909
|
+
}>>;
|
|
6910
|
+
}, z.core.$strict>>;
|
|
6911
|
+
onColumn: z.ZodOptional<z.ZodObject<{
|
|
6912
|
+
localColumnId: z.ZodString;
|
|
6913
|
+
foreignColumnId: z.ZodOptional<z.ZodString>;
|
|
6914
|
+
foreignAssetId: z.ZodOptional<z.ZodBoolean>;
|
|
6915
|
+
}, z.core.$strict>>;
|
|
6916
|
+
}, z.core.$strict>>>;
|
|
6917
|
+
hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6918
|
+
targetAlias: z.ZodOptional<z.ZodString>;
|
|
6919
|
+
localColumnId: z.ZodOptional<z.ZodString>;
|
|
6920
|
+
ontologyId: z.ZodOptional<z.ZodString>;
|
|
6921
|
+
relationColumnId: z.ZodString;
|
|
6922
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
6923
|
+
outgoing: "outgoing";
|
|
6924
|
+
incoming: "incoming";
|
|
6925
|
+
}>>;
|
|
6926
|
+
seedIds: z.ZodArray<z.ZodString>;
|
|
6927
|
+
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
6928
|
+
includeSelf: z.ZodOptional<z.ZodBoolean>;
|
|
6929
|
+
}, z.core.$strict>>>;
|
|
6930
|
+
unwind: z.ZodOptional<z.ZodObject<{
|
|
6931
|
+
columnId: z.ZodString;
|
|
6932
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
6933
|
+
jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6934
|
+
preserveEmpty: z.ZodOptional<z.ZodBoolean>;
|
|
6935
|
+
}, z.core.$strict>>;
|
|
6936
|
+
having: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6937
|
+
key: z.ZodString;
|
|
6938
|
+
op: z.ZodEnum<{
|
|
6939
|
+
eq: "eq";
|
|
6940
|
+
neq: "neq";
|
|
6941
|
+
gt: "gt";
|
|
6942
|
+
gte: "gte";
|
|
6943
|
+
lt: "lt";
|
|
6944
|
+
lte: "lte";
|
|
6945
|
+
}>;
|
|
6946
|
+
value: z.ZodNumber;
|
|
6947
|
+
}, z.core.$strict>>>;
|
|
6948
|
+
pagination: z.ZodOptional<z.ZodObject<{
|
|
6949
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
6950
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
6951
|
+
withGroupTotal: z.ZodOptional<z.ZodBoolean>;
|
|
6952
|
+
}, z.core.$strict>>;
|
|
6953
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6954
|
+
kind: z.ZodLiteral<"graph">;
|
|
6955
|
+
from: z.ZodObject<{
|
|
6956
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
6957
|
+
ontology: "ontology";
|
|
6958
|
+
"workflow-outputs": "workflow-outputs";
|
|
6959
|
+
telemetry: "telemetry";
|
|
6960
|
+
}>>;
|
|
6961
|
+
ontologyId: z.ZodString;
|
|
6962
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
6963
|
+
includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
|
|
6964
|
+
}, z.core.$strict>;
|
|
6965
|
+
where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
|
|
6966
|
+
graph: z.ZodObject<{
|
|
6967
|
+
graphKind: z.ZodEnum<{
|
|
6968
|
+
schema: "schema";
|
|
6969
|
+
cooccurrence: "cooccurrence";
|
|
6970
|
+
"bipartite-cosine": "bipartite-cosine";
|
|
6971
|
+
"focus-star": "focus-star";
|
|
6972
|
+
"ontology-relation": "ontology-relation";
|
|
6973
|
+
"record-clustering": "record-clustering";
|
|
6974
|
+
"field-tag-hub": "field-tag-hub";
|
|
6975
|
+
}>;
|
|
6976
|
+
maxHops: z.ZodDefault<z.ZodNumber>;
|
|
6977
|
+
nodeLabelField: z.ZodOptional<z.ZodString>;
|
|
6978
|
+
edgeRelationFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6979
|
+
}, z.core.$strict>;
|
|
6980
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
6981
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6982
|
+
kind: z.ZodEnum<{
|
|
6983
|
+
insert: "insert";
|
|
6984
|
+
update: "update";
|
|
6985
|
+
delete: "delete";
|
|
6986
|
+
}>;
|
|
6987
|
+
ontologyId: z.ZodString;
|
|
6988
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
6989
|
+
where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
|
|
6990
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6991
|
+
kind: z.ZodLiteral<"call">;
|
|
6992
|
+
workflowId: z.ZodString;
|
|
6993
|
+
pageType: z.ZodDefault<z.ZodEnum<{
|
|
6994
|
+
process: "process";
|
|
6995
|
+
preview: "preview";
|
|
6996
|
+
log: "log";
|
|
6997
|
+
chat: "chat";
|
|
6998
|
+
api: "api";
|
|
6999
|
+
}>>;
|
|
7000
|
+
inputMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
7001
|
+
outputStrategy: z.ZodOptional<z.ZodEnum<{
|
|
7002
|
+
"default-result-ontology": "default-result-ontology";
|
|
7003
|
+
"domain-ontology": "domain-ontology";
|
|
7004
|
+
"ledger-only": "ledger-only";
|
|
7005
|
+
"column-writeback": "column-writeback";
|
|
7006
|
+
}>>;
|
|
7007
|
+
}, z.core.$strict>], "kind">>;
|
|
7008
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
7009
|
+
cache: z.ZodOptional<z.ZodObject<{
|
|
7010
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
7011
|
+
realtime: "realtime";
|
|
7012
|
+
cached: "cached";
|
|
7013
|
+
"stale-while-revalidate": "stale-while-revalidate";
|
|
7014
|
+
materialized: "materialized";
|
|
7015
|
+
}>>;
|
|
7016
|
+
ttlSeconds: z.ZodOptional<z.ZodNumber>;
|
|
7017
|
+
}, z.core.$strict>>;
|
|
7018
|
+
}, z.core.$strict>>;
|
|
6083
7019
|
body: z.ZodType<import("./declarative-control").PageNode, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageNode, unknown>>;
|
|
6084
7020
|
initialQueryPolicy: z.ZodOptional<z.ZodEnum<{
|
|
6085
7021
|
auto: "auto";
|
|
@@ -8101,6 +9037,240 @@ export declare const DeclarativeDocumentImportResultSchema: z.ZodObject<{
|
|
|
8101
9037
|
}, z.core.$strict>>;
|
|
8102
9038
|
}, z.core.$strict>>>;
|
|
8103
9039
|
shell: z.ZodOptional<z.ZodString>;
|
|
9040
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
9041
|
+
statements: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9042
|
+
kind: z.ZodLiteral<"select">;
|
|
9043
|
+
from: z.ZodObject<{
|
|
9044
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
9045
|
+
ontology: "ontology";
|
|
9046
|
+
"workflow-outputs": "workflow-outputs";
|
|
9047
|
+
telemetry: "telemetry";
|
|
9048
|
+
}>>;
|
|
9049
|
+
ontologyId: z.ZodString;
|
|
9050
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
9051
|
+
includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
|
|
9052
|
+
}, z.core.$strict>;
|
|
9053
|
+
select: z.ZodOptional<z.ZodObject<{
|
|
9054
|
+
baseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9055
|
+
propertyColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9056
|
+
featureColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9057
|
+
tagGroupColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9058
|
+
columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9059
|
+
}, z.core.$strict>>;
|
|
9060
|
+
where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
|
|
9061
|
+
orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9062
|
+
field: z.ZodString;
|
|
9063
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
9064
|
+
feature: "feature";
|
|
9065
|
+
builtin: "builtin";
|
|
9066
|
+
}>>;
|
|
9067
|
+
direction: z.ZodDefault<z.ZodEnum<{
|
|
9068
|
+
asc: "asc";
|
|
9069
|
+
desc: "desc";
|
|
9070
|
+
}>>;
|
|
9071
|
+
nulls: z.ZodOptional<z.ZodEnum<{
|
|
9072
|
+
first: "first";
|
|
9073
|
+
last: "last";
|
|
9074
|
+
}>>;
|
|
9075
|
+
}, z.core.$strict>>>;
|
|
9076
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
9077
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9078
|
+
kind: z.ZodLiteral<"aggregate">;
|
|
9079
|
+
from: z.ZodObject<{
|
|
9080
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
9081
|
+
ontology: "ontology";
|
|
9082
|
+
"workflow-outputs": "workflow-outputs";
|
|
9083
|
+
telemetry: "telemetry";
|
|
9084
|
+
}>>;
|
|
9085
|
+
ontologyId: z.ZodString;
|
|
9086
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
9087
|
+
includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
|
|
9088
|
+
}, z.core.$strict>;
|
|
9089
|
+
where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
|
|
9090
|
+
groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9091
|
+
metrics: z.ZodArray<z.ZodObject<{
|
|
9092
|
+
alias: z.ZodString;
|
|
9093
|
+
fn: z.ZodEnum<{
|
|
9094
|
+
max: "max";
|
|
9095
|
+
count: "count";
|
|
9096
|
+
sum: "sum";
|
|
9097
|
+
avg: "avg";
|
|
9098
|
+
min: "min";
|
|
9099
|
+
distinct_count: "distinct_count";
|
|
9100
|
+
ratio: "ratio";
|
|
9101
|
+
count_distinct: "count_distinct";
|
|
9102
|
+
percentile: "percentile";
|
|
9103
|
+
trimmed_avg: "trimmed_avg";
|
|
9104
|
+
first_by: "first_by";
|
|
9105
|
+
last_by: "last_by";
|
|
9106
|
+
}>;
|
|
9107
|
+
fieldKey: z.ZodOptional<z.ZodString>;
|
|
9108
|
+
numeric: z.ZodOptional<z.ZodBoolean>;
|
|
9109
|
+
percentile: z.ZodOptional<z.ZodNumber>;
|
|
9110
|
+
trimTopPct: z.ZodOptional<z.ZodNumber>;
|
|
9111
|
+
orderColumnId: z.ZodOptional<z.ZodString>;
|
|
9112
|
+
filter: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
|
|
9113
|
+
}, z.core.$strict>>;
|
|
9114
|
+
orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9115
|
+
field: z.ZodString;
|
|
9116
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
9117
|
+
feature: "feature";
|
|
9118
|
+
builtin: "builtin";
|
|
9119
|
+
}>>;
|
|
9120
|
+
direction: z.ZodDefault<z.ZodEnum<{
|
|
9121
|
+
asc: "asc";
|
|
9122
|
+
desc: "desc";
|
|
9123
|
+
}>>;
|
|
9124
|
+
nulls: z.ZodOptional<z.ZodEnum<{
|
|
9125
|
+
first: "first";
|
|
9126
|
+
last: "last";
|
|
9127
|
+
}>>;
|
|
9128
|
+
}, z.core.$strict>>>;
|
|
9129
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
9130
|
+
engine: z.ZodOptional<z.ZodEnum<{
|
|
9131
|
+
auto: "auto";
|
|
9132
|
+
search: "search";
|
|
9133
|
+
canonical: "canonical";
|
|
9134
|
+
}>>;
|
|
9135
|
+
allTeams: z.ZodOptional<z.ZodBoolean>;
|
|
9136
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
9137
|
+
includeTotals: z.ZodOptional<z.ZodBoolean>;
|
|
9138
|
+
timeBucket: z.ZodOptional<z.ZodObject<{
|
|
9139
|
+
column: z.ZodOptional<z.ZodString>;
|
|
9140
|
+
unit: z.ZodEnum<{
|
|
9141
|
+
hour: "hour";
|
|
9142
|
+
day: "day";
|
|
9143
|
+
week: "week";
|
|
9144
|
+
month: "month";
|
|
9145
|
+
quarter: "quarter";
|
|
9146
|
+
year: "year";
|
|
9147
|
+
}>;
|
|
9148
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
9149
|
+
fillGaps: z.ZodOptional<z.ZodBoolean>;
|
|
9150
|
+
}, z.core.$strict>>;
|
|
9151
|
+
joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9152
|
+
alias: z.ZodString;
|
|
9153
|
+
ontologyId: z.ZodString;
|
|
9154
|
+
assetType: z.ZodOptional<z.ZodString>;
|
|
9155
|
+
joinType: z.ZodOptional<z.ZodEnum<{
|
|
9156
|
+
inner: "inner";
|
|
9157
|
+
left: "left";
|
|
9158
|
+
}>>;
|
|
9159
|
+
viaRelation: z.ZodOptional<z.ZodObject<{
|
|
9160
|
+
columnId: z.ZodString;
|
|
9161
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
9162
|
+
outgoing: "outgoing";
|
|
9163
|
+
incoming: "incoming";
|
|
9164
|
+
}>>;
|
|
9165
|
+
}, z.core.$strict>>;
|
|
9166
|
+
onColumn: z.ZodOptional<z.ZodObject<{
|
|
9167
|
+
localColumnId: z.ZodString;
|
|
9168
|
+
foreignColumnId: z.ZodOptional<z.ZodString>;
|
|
9169
|
+
foreignAssetId: z.ZodOptional<z.ZodBoolean>;
|
|
9170
|
+
}, z.core.$strict>>;
|
|
9171
|
+
}, z.core.$strict>>>;
|
|
9172
|
+
hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9173
|
+
targetAlias: z.ZodOptional<z.ZodString>;
|
|
9174
|
+
localColumnId: z.ZodOptional<z.ZodString>;
|
|
9175
|
+
ontologyId: z.ZodOptional<z.ZodString>;
|
|
9176
|
+
relationColumnId: z.ZodString;
|
|
9177
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
9178
|
+
outgoing: "outgoing";
|
|
9179
|
+
incoming: "incoming";
|
|
9180
|
+
}>>;
|
|
9181
|
+
seedIds: z.ZodArray<z.ZodString>;
|
|
9182
|
+
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
9183
|
+
includeSelf: z.ZodOptional<z.ZodBoolean>;
|
|
9184
|
+
}, z.core.$strict>>>;
|
|
9185
|
+
unwind: z.ZodOptional<z.ZodObject<{
|
|
9186
|
+
columnId: z.ZodString;
|
|
9187
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
9188
|
+
jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9189
|
+
preserveEmpty: z.ZodOptional<z.ZodBoolean>;
|
|
9190
|
+
}, z.core.$strict>>;
|
|
9191
|
+
having: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9192
|
+
key: z.ZodString;
|
|
9193
|
+
op: z.ZodEnum<{
|
|
9194
|
+
eq: "eq";
|
|
9195
|
+
neq: "neq";
|
|
9196
|
+
gt: "gt";
|
|
9197
|
+
gte: "gte";
|
|
9198
|
+
lt: "lt";
|
|
9199
|
+
lte: "lte";
|
|
9200
|
+
}>;
|
|
9201
|
+
value: z.ZodNumber;
|
|
9202
|
+
}, z.core.$strict>>>;
|
|
9203
|
+
pagination: z.ZodOptional<z.ZodObject<{
|
|
9204
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
9205
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
9206
|
+
withGroupTotal: z.ZodOptional<z.ZodBoolean>;
|
|
9207
|
+
}, z.core.$strict>>;
|
|
9208
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9209
|
+
kind: z.ZodLiteral<"graph">;
|
|
9210
|
+
from: z.ZodObject<{
|
|
9211
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
9212
|
+
ontology: "ontology";
|
|
9213
|
+
"workflow-outputs": "workflow-outputs";
|
|
9214
|
+
telemetry: "telemetry";
|
|
9215
|
+
}>>;
|
|
9216
|
+
ontologyId: z.ZodString;
|
|
9217
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
9218
|
+
includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
|
|
9219
|
+
}, z.core.$strict>;
|
|
9220
|
+
where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
|
|
9221
|
+
graph: z.ZodObject<{
|
|
9222
|
+
graphKind: z.ZodEnum<{
|
|
9223
|
+
schema: "schema";
|
|
9224
|
+
cooccurrence: "cooccurrence";
|
|
9225
|
+
"bipartite-cosine": "bipartite-cosine";
|
|
9226
|
+
"focus-star": "focus-star";
|
|
9227
|
+
"ontology-relation": "ontology-relation";
|
|
9228
|
+
"record-clustering": "record-clustering";
|
|
9229
|
+
"field-tag-hub": "field-tag-hub";
|
|
9230
|
+
}>;
|
|
9231
|
+
maxHops: z.ZodDefault<z.ZodNumber>;
|
|
9232
|
+
nodeLabelField: z.ZodOptional<z.ZodString>;
|
|
9233
|
+
edgeRelationFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9234
|
+
}, z.core.$strict>;
|
|
9235
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
9236
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9237
|
+
kind: z.ZodEnum<{
|
|
9238
|
+
insert: "insert";
|
|
9239
|
+
update: "update";
|
|
9240
|
+
delete: "delete";
|
|
9241
|
+
}>;
|
|
9242
|
+
ontologyId: z.ZodString;
|
|
9243
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
9244
|
+
where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
|
|
9245
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9246
|
+
kind: z.ZodLiteral<"call">;
|
|
9247
|
+
workflowId: z.ZodString;
|
|
9248
|
+
pageType: z.ZodDefault<z.ZodEnum<{
|
|
9249
|
+
process: "process";
|
|
9250
|
+
preview: "preview";
|
|
9251
|
+
log: "log";
|
|
9252
|
+
chat: "chat";
|
|
9253
|
+
api: "api";
|
|
9254
|
+
}>>;
|
|
9255
|
+
inputMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
9256
|
+
outputStrategy: z.ZodOptional<z.ZodEnum<{
|
|
9257
|
+
"default-result-ontology": "default-result-ontology";
|
|
9258
|
+
"domain-ontology": "domain-ontology";
|
|
9259
|
+
"ledger-only": "ledger-only";
|
|
9260
|
+
"column-writeback": "column-writeback";
|
|
9261
|
+
}>>;
|
|
9262
|
+
}, z.core.$strict>], "kind">>;
|
|
9263
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
|
|
9264
|
+
cache: z.ZodOptional<z.ZodObject<{
|
|
9265
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
9266
|
+
realtime: "realtime";
|
|
9267
|
+
cached: "cached";
|
|
9268
|
+
"stale-while-revalidate": "stale-while-revalidate";
|
|
9269
|
+
materialized: "materialized";
|
|
9270
|
+
}>>;
|
|
9271
|
+
ttlSeconds: z.ZodOptional<z.ZodNumber>;
|
|
9272
|
+
}, z.core.$strict>>;
|
|
9273
|
+
}, z.core.$strict>>;
|
|
8104
9274
|
body: z.ZodType<import("./declarative-control").PageNode, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageNode, unknown>>;
|
|
8105
9275
|
initialQueryPolicy: z.ZodOptional<z.ZodEnum<{
|
|
8106
9276
|
auto: "auto";
|