@inf-monkeys-tech/monkeys 1.1.67 → 1.1.69

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.
Files changed (60) hide show
  1. package/lib/contracts/bento-block.d.ts +349 -9
  2. package/lib/contracts/bento-block.d.ts.map +1 -1
  3. package/lib/contracts/bento-block.js +116 -1
  4. package/lib/contracts/bento-block.js.map +1 -1
  5. package/lib/contracts/declarative-control-http.d.ts +3826 -419
  6. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  7. package/lib/contracts/declarative-control.d.ts +456 -53
  8. package/lib/contracts/declarative-control.d.ts.map +1 -1
  9. package/lib/contracts/declarative-control.js +5 -0
  10. package/lib/contracts/declarative-control.js.map +1 -1
  11. package/lib/contracts/declarative-document-import.d.ts +1455 -10
  12. package/lib/contracts/declarative-document-import.d.ts.map +1 -1
  13. package/lib/contracts/declarative-publication-job.d.ts +280 -80
  14. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  15. package/lib/contracts/menu.d.ts +7 -7
  16. package/lib/contracts/page-expression.d.ts +6 -6
  17. package/lib/contracts/page.d.ts +8 -8
  18. package/lib/contracts/render.d.ts +104 -49
  19. package/lib/contracts/render.d.ts.map +1 -1
  20. package/lib/contracts/render.js +1 -9
  21. package/lib/contracts/render.js.map +1 -1
  22. package/lib/contracts/semantic.d.ts +2 -2
  23. package/lib/contracts/tenant.d.ts +11 -11
  24. package/lib/contracts/unified-view.d.ts +57 -2
  25. package/lib/contracts/unified-view.d.ts.map +1 -1
  26. package/lib/contracts/workflow-definition.d.ts +1 -1
  27. package/lib/esm/{chunk-5T6DFESB.mjs → chunk-AGKIIPUY.mjs} +961 -857
  28. package/lib/esm/chunk-AGKIIPUY.mjs.map +1 -0
  29. package/lib/esm/{chunk-WBZEIMZD.mjs → chunk-AO3G3SE7.mjs} +2 -2
  30. package/lib/esm/{chunk-X7SUXIZU.mjs → chunk-L4CNFVNV.mjs} +9 -4
  31. package/lib/esm/chunk-L4CNFVNV.mjs.map +1 -0
  32. package/lib/esm/{chunk-OFJPHSRM.mjs → chunk-XV4FR5Y6.mjs} +2 -2
  33. package/lib/esm/contracts/index.mjs +26 -2
  34. package/lib/esm/index.mjs +28 -4
  35. package/lib/esm/index.mjs.map +1 -1
  36. package/lib/esm/runtime/index.mjs +3 -3
  37. package/lib/esm/schemas/index.mjs +2 -2
  38. package/lib/json-schema/bento-node.schema.json +482 -37
  39. package/lib/json-schema/overlay-node.schema.json +149 -0
  40. package/lib/json-schema/page-runtime-bundle.schema.json +298 -0
  41. package/lib/json-schema/page.schema.json +4802 -2123
  42. package/lib/json-schema/render-node.schema.json +149 -0
  43. package/lib/json-schema/render-tree.schema.json +298 -0
  44. package/lib/json-schema/view-ontology-record.schema.json +594 -0
  45. package/lib/runtime/bento-render-tree.d.ts.map +1 -1
  46. package/lib/runtime/bento-render-tree.js +1 -0
  47. package/lib/runtime/bento-render-tree.js.map +1 -1
  48. package/lib/runtime/declarative-control-compiler.d.ts.map +1 -1
  49. package/lib/runtime/declarative-control-compiler.js +4 -0
  50. package/lib/runtime/declarative-control-compiler.js.map +1 -1
  51. package/lib/runtime/native-page-composition.d.ts +1 -1
  52. package/lib/runtime/runtime-definition-wire.d.ts +140 -40
  53. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  54. package/lib/schemas/index.d.ts +434 -35
  55. package/lib/schemas/index.d.ts.map +1 -1
  56. package/package.json +2 -2
  57. package/lib/esm/chunk-5T6DFESB.mjs.map +0 -1
  58. package/lib/esm/chunk-X7SUXIZU.mjs.map +0 -1
  59. /package/lib/esm/{chunk-WBZEIMZD.mjs.map → chunk-AO3G3SE7.mjs.map} +0 -0
  60. /package/lib/esm/{chunk-OFJPHSRM.mjs.map → chunk-XV4FR5Y6.mjs.map} +0 -0
@@ -88,10 +88,10 @@ export declare const DeclarativeImportDocumentSchema: z.ZodUnion<readonly [z.Zod
88
88
  }, z.core.$strict>;
89
89
  slot: z.ZodString;
90
90
  presentation: z.ZodEnum<{
91
- panel: "panel";
91
+ drawer: "drawer";
92
92
  inline: "inline";
93
+ panel: "panel";
93
94
  fullscreen: "fullscreen";
94
- drawer: "drawer";
95
95
  modal: "modal";
96
96
  }>;
97
97
  inputs: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -189,6 +189,295 @@ 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
+ visibilityScope: z.ZodOptional<z.ZodEnum<{
214
+ current: "current";
215
+ currentAndShared: "currentAndShared";
216
+ explicitShares: "explicitShares";
217
+ }>>;
218
+ shareDirection: z.ZodOptional<z.ZodEnum<{
219
+ sent: "sent";
220
+ received: "received";
221
+ }>>;
222
+ shareViewId: z.ZodOptional<z.ZodString>;
223
+ includeEffectiveCapabilities: z.ZodOptional<z.ZodBoolean>;
224
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
225
+ field: z.ZodString;
226
+ kind: z.ZodDefault<z.ZodEnum<{
227
+ feature: "feature";
228
+ builtin: "builtin";
229
+ }>>;
230
+ direction: z.ZodDefault<z.ZodEnum<{
231
+ asc: "asc";
232
+ desc: "desc";
233
+ }>>;
234
+ nulls: z.ZodOptional<z.ZodEnum<{
235
+ first: "first";
236
+ last: "last";
237
+ }>>;
238
+ }, z.core.$strict>>>;
239
+ limit: z.ZodOptional<z.ZodNumber>;
240
+ }, z.core.$strict>, z.ZodObject<{
241
+ kind: z.ZodLiteral<"aggregate">;
242
+ from: z.ZodObject<{
243
+ source: z.ZodDefault<z.ZodEnum<{
244
+ ontology: "ontology";
245
+ "workflow-outputs": "workflow-outputs";
246
+ telemetry: "telemetry";
247
+ }>>;
248
+ ontologyId: z.ZodString;
249
+ workflowId: z.ZodOptional<z.ZodString>;
250
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
251
+ }, z.core.$strict>;
252
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
253
+ visibilityScope: z.ZodOptional<z.ZodEnum<{
254
+ current: "current";
255
+ currentAndShared: "currentAndShared";
256
+ explicitShares: "explicitShares";
257
+ }>>;
258
+ shareDirection: z.ZodOptional<z.ZodEnum<{
259
+ sent: "sent";
260
+ received: "received";
261
+ }>>;
262
+ shareViewId: z.ZodOptional<z.ZodString>;
263
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
264
+ metrics: z.ZodArray<z.ZodObject<{
265
+ alias: z.ZodString;
266
+ fn: z.ZodEnum<{
267
+ max: "max";
268
+ min: "min";
269
+ sum: "sum";
270
+ count: "count";
271
+ avg: "avg";
272
+ distinct_count: "distinct_count";
273
+ ratio: "ratio";
274
+ count_distinct: "count_distinct";
275
+ percentile: "percentile";
276
+ trimmed_avg: "trimmed_avg";
277
+ first_by: "first_by";
278
+ last_by: "last_by";
279
+ }>;
280
+ fieldKey: z.ZodOptional<z.ZodString>;
281
+ numeric: z.ZodOptional<z.ZodBoolean>;
282
+ percentile: z.ZodOptional<z.ZodNumber>;
283
+ trimTopPct: z.ZodOptional<z.ZodNumber>;
284
+ orderColumnId: z.ZodOptional<z.ZodString>;
285
+ filter: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
286
+ }, z.core.$strict>>;
287
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
288
+ field: z.ZodString;
289
+ kind: z.ZodDefault<z.ZodEnum<{
290
+ feature: "feature";
291
+ builtin: "builtin";
292
+ }>>;
293
+ direction: z.ZodDefault<z.ZodEnum<{
294
+ asc: "asc";
295
+ desc: "desc";
296
+ }>>;
297
+ nulls: z.ZodOptional<z.ZodEnum<{
298
+ first: "first";
299
+ last: "last";
300
+ }>>;
301
+ }, z.core.$strict>>>;
302
+ limit: z.ZodOptional<z.ZodNumber>;
303
+ engine: z.ZodOptional<z.ZodEnum<{
304
+ auto: "auto";
305
+ search: "search";
306
+ canonical: "canonical";
307
+ }>>;
308
+ allTeams: z.ZodOptional<z.ZodBoolean>;
309
+ exact: z.ZodOptional<z.ZodBoolean>;
310
+ includeTotals: z.ZodOptional<z.ZodBoolean>;
311
+ timeBucket: z.ZodOptional<z.ZodObject<{
312
+ column: z.ZodOptional<z.ZodString>;
313
+ unit: z.ZodEnum<{
314
+ hour: "hour";
315
+ day: "day";
316
+ week: "week";
317
+ month: "month";
318
+ quarter: "quarter";
319
+ year: "year";
320
+ }>;
321
+ timeZone: z.ZodOptional<z.ZodString>;
322
+ fillGaps: z.ZodOptional<z.ZodBoolean>;
323
+ }, z.core.$strict>>;
324
+ joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
325
+ alias: z.ZodString;
326
+ ontologyId: z.ZodString;
327
+ assetType: z.ZodOptional<z.ZodString>;
328
+ joinType: z.ZodOptional<z.ZodEnum<{
329
+ inner: "inner";
330
+ left: "left";
331
+ }>>;
332
+ viaRelation: z.ZodOptional<z.ZodObject<{
333
+ columnId: z.ZodString;
334
+ direction: z.ZodOptional<z.ZodEnum<{
335
+ outgoing: "outgoing";
336
+ incoming: "incoming";
337
+ }>>;
338
+ }, z.core.$strict>>;
339
+ onColumn: z.ZodOptional<z.ZodObject<{
340
+ localColumnId: z.ZodString;
341
+ foreignColumnId: z.ZodOptional<z.ZodString>;
342
+ foreignAssetId: z.ZodOptional<z.ZodBoolean>;
343
+ }, z.core.$strict>>;
344
+ }, z.core.$strict>>>;
345
+ hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
346
+ targetAlias: z.ZodOptional<z.ZodString>;
347
+ localColumnId: z.ZodOptional<z.ZodString>;
348
+ ontologyId: z.ZodOptional<z.ZodString>;
349
+ relationColumnId: z.ZodString;
350
+ direction: z.ZodOptional<z.ZodEnum<{
351
+ outgoing: "outgoing";
352
+ incoming: "incoming";
353
+ }>>;
354
+ seedIds: z.ZodArray<z.ZodString>;
355
+ maxDepth: z.ZodOptional<z.ZodNumber>;
356
+ includeSelf: z.ZodOptional<z.ZodBoolean>;
357
+ }, z.core.$strict>>>;
358
+ unwind: z.ZodOptional<z.ZodObject<{
359
+ columnId: z.ZodString;
360
+ alias: z.ZodOptional<z.ZodString>;
361
+ jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
362
+ preserveEmpty: z.ZodOptional<z.ZodBoolean>;
363
+ }, z.core.$strict>>;
364
+ having: z.ZodOptional<z.ZodArray<z.ZodObject<{
365
+ key: z.ZodString;
366
+ op: z.ZodEnum<{
367
+ eq: "eq";
368
+ neq: "neq";
369
+ gt: "gt";
370
+ gte: "gte";
371
+ lt: "lt";
372
+ lte: "lte";
373
+ }>;
374
+ value: z.ZodNumber;
375
+ }, z.core.$strict>>>;
376
+ pagination: z.ZodOptional<z.ZodObject<{
377
+ offset: z.ZodOptional<z.ZodNumber>;
378
+ limit: z.ZodOptional<z.ZodNumber>;
379
+ withGroupTotal: z.ZodOptional<z.ZodBoolean>;
380
+ }, z.core.$strict>>;
381
+ }, z.core.$strict>, z.ZodObject<{
382
+ kind: z.ZodLiteral<"facets">;
383
+ from: z.ZodObject<{
384
+ source: z.ZodDefault<z.ZodEnum<{
385
+ ontology: "ontology";
386
+ "workflow-outputs": "workflow-outputs";
387
+ telemetry: "telemetry";
388
+ }>>;
389
+ ontologyId: z.ZodString;
390
+ workflowId: z.ZodOptional<z.ZodString>;
391
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
392
+ }, z.core.$strict>;
393
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
394
+ visibilityScope: z.ZodOptional<z.ZodEnum<{
395
+ current: "current";
396
+ currentAndShared: "currentAndShared";
397
+ explicitShares: "explicitShares";
398
+ }>>;
399
+ shareDirection: z.ZodOptional<z.ZodEnum<{
400
+ sent: "sent";
401
+ received: "received";
402
+ }>>;
403
+ shareViewId: z.ZodOptional<z.ZodString>;
404
+ dimensions: z.ZodArray<z.ZodObject<{
405
+ field: z.ZodString;
406
+ kind: z.ZodOptional<z.ZodEnum<{
407
+ feature: "feature";
408
+ builtin: "builtin";
409
+ tag_group: "tag_group";
410
+ relation_target: "relation_target";
411
+ }>>;
412
+ limit: z.ZodOptional<z.ZodNumber>;
413
+ excludeSelf: z.ZodOptional<z.ZodBoolean>;
414
+ }, z.core.$strict>>;
415
+ }, z.core.$strict>, z.ZodObject<{
416
+ kind: z.ZodLiteral<"graph">;
417
+ from: z.ZodObject<{
418
+ source: z.ZodDefault<z.ZodEnum<{
419
+ ontology: "ontology";
420
+ "workflow-outputs": "workflow-outputs";
421
+ telemetry: "telemetry";
422
+ }>>;
423
+ ontologyId: z.ZodString;
424
+ workflowId: z.ZodOptional<z.ZodString>;
425
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
426
+ }, z.core.$strict>;
427
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
428
+ graph: z.ZodObject<{
429
+ graphKind: z.ZodEnum<{
430
+ schema: "schema";
431
+ cooccurrence: "cooccurrence";
432
+ "bipartite-cosine": "bipartite-cosine";
433
+ "focus-star": "focus-star";
434
+ "ontology-relation": "ontology-relation";
435
+ "record-clustering": "record-clustering";
436
+ "field-tag-hub": "field-tag-hub";
437
+ }>;
438
+ maxHops: z.ZodDefault<z.ZodNumber>;
439
+ nodeLabelField: z.ZodOptional<z.ZodString>;
440
+ edgeRelationFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
441
+ }, z.core.$strict>;
442
+ limit: z.ZodOptional<z.ZodNumber>;
443
+ }, z.core.$strict>, z.ZodObject<{
444
+ kind: z.ZodEnum<{
445
+ insert: "insert";
446
+ update: "update";
447
+ delete: "delete";
448
+ }>;
449
+ ontologyId: z.ZodString;
450
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
451
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
452
+ }, z.core.$strict>, z.ZodObject<{
453
+ kind: z.ZodLiteral<"call">;
454
+ workflowId: z.ZodString;
455
+ pageType: z.ZodDefault<z.ZodEnum<{
456
+ process: "process";
457
+ preview: "preview";
458
+ log: "log";
459
+ chat: "chat";
460
+ api: "api";
461
+ }>>;
462
+ inputMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
463
+ outputStrategy: z.ZodOptional<z.ZodEnum<{
464
+ "default-result-ontology": "default-result-ontology";
465
+ "domain-ontology": "domain-ontology";
466
+ "ledger-only": "ledger-only";
467
+ "column-writeback": "column-writeback";
468
+ }>>;
469
+ }, z.core.$strict>], "kind">>;
470
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
471
+ cache: z.ZodOptional<z.ZodObject<{
472
+ mode: z.ZodDefault<z.ZodEnum<{
473
+ realtime: "realtime";
474
+ cached: "cached";
475
+ "stale-while-revalidate": "stale-while-revalidate";
476
+ materialized: "materialized";
477
+ }>>;
478
+ ttlSeconds: z.ZodOptional<z.ZodNumber>;
479
+ }, z.core.$strict>>;
480
+ }, z.core.$strict>>;
192
481
  body: z.ZodType<import("./declarative-control").PageNode, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageNode, unknown>>;
193
482
  initialQueryPolicy: z.ZodOptional<z.ZodEnum<{
194
483
  auto: "auto";
@@ -2021,10 +2310,10 @@ export declare const DeclarativeDocumentImportRequestSchema: z.ZodObject<{
2021
2310
  }, z.core.$strict>;
2022
2311
  slot: z.ZodString;
2023
2312
  presentation: z.ZodEnum<{
2024
- panel: "panel";
2313
+ drawer: "drawer";
2025
2314
  inline: "inline";
2315
+ panel: "panel";
2026
2316
  fullscreen: "fullscreen";
2027
- drawer: "drawer";
2028
2317
  modal: "modal";
2029
2318
  }>;
2030
2319
  inputs: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2122,6 +2411,295 @@ export declare const DeclarativeDocumentImportRequestSchema: z.ZodObject<{
2122
2411
  }, z.core.$strict>>;
2123
2412
  }, z.core.$strict>>>;
2124
2413
  shell: z.ZodOptional<z.ZodString>;
2414
+ data: z.ZodOptional<z.ZodObject<{
2415
+ statements: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
2416
+ kind: z.ZodLiteral<"select">;
2417
+ from: z.ZodObject<{
2418
+ source: z.ZodDefault<z.ZodEnum<{
2419
+ ontology: "ontology";
2420
+ "workflow-outputs": "workflow-outputs";
2421
+ telemetry: "telemetry";
2422
+ }>>;
2423
+ ontologyId: z.ZodString;
2424
+ workflowId: z.ZodOptional<z.ZodString>;
2425
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
2426
+ }, z.core.$strict>;
2427
+ select: z.ZodOptional<z.ZodObject<{
2428
+ baseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
2429
+ propertyColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
2430
+ featureColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
2431
+ tagGroupColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
2432
+ columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
2433
+ }, z.core.$strict>>;
2434
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
2435
+ visibilityScope: z.ZodOptional<z.ZodEnum<{
2436
+ current: "current";
2437
+ currentAndShared: "currentAndShared";
2438
+ explicitShares: "explicitShares";
2439
+ }>>;
2440
+ shareDirection: z.ZodOptional<z.ZodEnum<{
2441
+ sent: "sent";
2442
+ received: "received";
2443
+ }>>;
2444
+ shareViewId: z.ZodOptional<z.ZodString>;
2445
+ includeEffectiveCapabilities: z.ZodOptional<z.ZodBoolean>;
2446
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
2447
+ field: z.ZodString;
2448
+ kind: z.ZodDefault<z.ZodEnum<{
2449
+ feature: "feature";
2450
+ builtin: "builtin";
2451
+ }>>;
2452
+ direction: z.ZodDefault<z.ZodEnum<{
2453
+ asc: "asc";
2454
+ desc: "desc";
2455
+ }>>;
2456
+ nulls: z.ZodOptional<z.ZodEnum<{
2457
+ first: "first";
2458
+ last: "last";
2459
+ }>>;
2460
+ }, z.core.$strict>>>;
2461
+ limit: z.ZodOptional<z.ZodNumber>;
2462
+ }, z.core.$strict>, z.ZodObject<{
2463
+ kind: z.ZodLiteral<"aggregate">;
2464
+ from: z.ZodObject<{
2465
+ source: z.ZodDefault<z.ZodEnum<{
2466
+ ontology: "ontology";
2467
+ "workflow-outputs": "workflow-outputs";
2468
+ telemetry: "telemetry";
2469
+ }>>;
2470
+ ontologyId: z.ZodString;
2471
+ workflowId: z.ZodOptional<z.ZodString>;
2472
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
2473
+ }, z.core.$strict>;
2474
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
2475
+ visibilityScope: z.ZodOptional<z.ZodEnum<{
2476
+ current: "current";
2477
+ currentAndShared: "currentAndShared";
2478
+ explicitShares: "explicitShares";
2479
+ }>>;
2480
+ shareDirection: z.ZodOptional<z.ZodEnum<{
2481
+ sent: "sent";
2482
+ received: "received";
2483
+ }>>;
2484
+ shareViewId: z.ZodOptional<z.ZodString>;
2485
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
2486
+ metrics: z.ZodArray<z.ZodObject<{
2487
+ alias: z.ZodString;
2488
+ fn: z.ZodEnum<{
2489
+ max: "max";
2490
+ min: "min";
2491
+ sum: "sum";
2492
+ count: "count";
2493
+ avg: "avg";
2494
+ distinct_count: "distinct_count";
2495
+ ratio: "ratio";
2496
+ count_distinct: "count_distinct";
2497
+ percentile: "percentile";
2498
+ trimmed_avg: "trimmed_avg";
2499
+ first_by: "first_by";
2500
+ last_by: "last_by";
2501
+ }>;
2502
+ fieldKey: z.ZodOptional<z.ZodString>;
2503
+ numeric: z.ZodOptional<z.ZodBoolean>;
2504
+ percentile: z.ZodOptional<z.ZodNumber>;
2505
+ trimTopPct: z.ZodOptional<z.ZodNumber>;
2506
+ orderColumnId: z.ZodOptional<z.ZodString>;
2507
+ filter: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
2508
+ }, z.core.$strict>>;
2509
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
2510
+ field: z.ZodString;
2511
+ kind: z.ZodDefault<z.ZodEnum<{
2512
+ feature: "feature";
2513
+ builtin: "builtin";
2514
+ }>>;
2515
+ direction: z.ZodDefault<z.ZodEnum<{
2516
+ asc: "asc";
2517
+ desc: "desc";
2518
+ }>>;
2519
+ nulls: z.ZodOptional<z.ZodEnum<{
2520
+ first: "first";
2521
+ last: "last";
2522
+ }>>;
2523
+ }, z.core.$strict>>>;
2524
+ limit: z.ZodOptional<z.ZodNumber>;
2525
+ engine: z.ZodOptional<z.ZodEnum<{
2526
+ auto: "auto";
2527
+ search: "search";
2528
+ canonical: "canonical";
2529
+ }>>;
2530
+ allTeams: z.ZodOptional<z.ZodBoolean>;
2531
+ exact: z.ZodOptional<z.ZodBoolean>;
2532
+ includeTotals: z.ZodOptional<z.ZodBoolean>;
2533
+ timeBucket: z.ZodOptional<z.ZodObject<{
2534
+ column: z.ZodOptional<z.ZodString>;
2535
+ unit: z.ZodEnum<{
2536
+ hour: "hour";
2537
+ day: "day";
2538
+ week: "week";
2539
+ month: "month";
2540
+ quarter: "quarter";
2541
+ year: "year";
2542
+ }>;
2543
+ timeZone: z.ZodOptional<z.ZodString>;
2544
+ fillGaps: z.ZodOptional<z.ZodBoolean>;
2545
+ }, z.core.$strict>>;
2546
+ joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
2547
+ alias: z.ZodString;
2548
+ ontologyId: z.ZodString;
2549
+ assetType: z.ZodOptional<z.ZodString>;
2550
+ joinType: z.ZodOptional<z.ZodEnum<{
2551
+ inner: "inner";
2552
+ left: "left";
2553
+ }>>;
2554
+ viaRelation: z.ZodOptional<z.ZodObject<{
2555
+ columnId: z.ZodString;
2556
+ direction: z.ZodOptional<z.ZodEnum<{
2557
+ outgoing: "outgoing";
2558
+ incoming: "incoming";
2559
+ }>>;
2560
+ }, z.core.$strict>>;
2561
+ onColumn: z.ZodOptional<z.ZodObject<{
2562
+ localColumnId: z.ZodString;
2563
+ foreignColumnId: z.ZodOptional<z.ZodString>;
2564
+ foreignAssetId: z.ZodOptional<z.ZodBoolean>;
2565
+ }, z.core.$strict>>;
2566
+ }, z.core.$strict>>>;
2567
+ hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
2568
+ targetAlias: z.ZodOptional<z.ZodString>;
2569
+ localColumnId: z.ZodOptional<z.ZodString>;
2570
+ ontologyId: z.ZodOptional<z.ZodString>;
2571
+ relationColumnId: z.ZodString;
2572
+ direction: z.ZodOptional<z.ZodEnum<{
2573
+ outgoing: "outgoing";
2574
+ incoming: "incoming";
2575
+ }>>;
2576
+ seedIds: z.ZodArray<z.ZodString>;
2577
+ maxDepth: z.ZodOptional<z.ZodNumber>;
2578
+ includeSelf: z.ZodOptional<z.ZodBoolean>;
2579
+ }, z.core.$strict>>>;
2580
+ unwind: z.ZodOptional<z.ZodObject<{
2581
+ columnId: z.ZodString;
2582
+ alias: z.ZodOptional<z.ZodString>;
2583
+ jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
2584
+ preserveEmpty: z.ZodOptional<z.ZodBoolean>;
2585
+ }, z.core.$strict>>;
2586
+ having: z.ZodOptional<z.ZodArray<z.ZodObject<{
2587
+ key: z.ZodString;
2588
+ op: z.ZodEnum<{
2589
+ eq: "eq";
2590
+ neq: "neq";
2591
+ gt: "gt";
2592
+ gte: "gte";
2593
+ lt: "lt";
2594
+ lte: "lte";
2595
+ }>;
2596
+ value: z.ZodNumber;
2597
+ }, z.core.$strict>>>;
2598
+ pagination: z.ZodOptional<z.ZodObject<{
2599
+ offset: z.ZodOptional<z.ZodNumber>;
2600
+ limit: z.ZodOptional<z.ZodNumber>;
2601
+ withGroupTotal: z.ZodOptional<z.ZodBoolean>;
2602
+ }, z.core.$strict>>;
2603
+ }, z.core.$strict>, z.ZodObject<{
2604
+ kind: z.ZodLiteral<"facets">;
2605
+ from: z.ZodObject<{
2606
+ source: z.ZodDefault<z.ZodEnum<{
2607
+ ontology: "ontology";
2608
+ "workflow-outputs": "workflow-outputs";
2609
+ telemetry: "telemetry";
2610
+ }>>;
2611
+ ontologyId: z.ZodString;
2612
+ workflowId: z.ZodOptional<z.ZodString>;
2613
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
2614
+ }, z.core.$strict>;
2615
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
2616
+ visibilityScope: z.ZodOptional<z.ZodEnum<{
2617
+ current: "current";
2618
+ currentAndShared: "currentAndShared";
2619
+ explicitShares: "explicitShares";
2620
+ }>>;
2621
+ shareDirection: z.ZodOptional<z.ZodEnum<{
2622
+ sent: "sent";
2623
+ received: "received";
2624
+ }>>;
2625
+ shareViewId: z.ZodOptional<z.ZodString>;
2626
+ dimensions: z.ZodArray<z.ZodObject<{
2627
+ field: z.ZodString;
2628
+ kind: z.ZodOptional<z.ZodEnum<{
2629
+ feature: "feature";
2630
+ builtin: "builtin";
2631
+ tag_group: "tag_group";
2632
+ relation_target: "relation_target";
2633
+ }>>;
2634
+ limit: z.ZodOptional<z.ZodNumber>;
2635
+ excludeSelf: z.ZodOptional<z.ZodBoolean>;
2636
+ }, z.core.$strict>>;
2637
+ }, z.core.$strict>, z.ZodObject<{
2638
+ kind: z.ZodLiteral<"graph">;
2639
+ from: z.ZodObject<{
2640
+ source: z.ZodDefault<z.ZodEnum<{
2641
+ ontology: "ontology";
2642
+ "workflow-outputs": "workflow-outputs";
2643
+ telemetry: "telemetry";
2644
+ }>>;
2645
+ ontologyId: z.ZodString;
2646
+ workflowId: z.ZodOptional<z.ZodString>;
2647
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
2648
+ }, z.core.$strict>;
2649
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
2650
+ graph: z.ZodObject<{
2651
+ graphKind: z.ZodEnum<{
2652
+ schema: "schema";
2653
+ cooccurrence: "cooccurrence";
2654
+ "bipartite-cosine": "bipartite-cosine";
2655
+ "focus-star": "focus-star";
2656
+ "ontology-relation": "ontology-relation";
2657
+ "record-clustering": "record-clustering";
2658
+ "field-tag-hub": "field-tag-hub";
2659
+ }>;
2660
+ maxHops: z.ZodDefault<z.ZodNumber>;
2661
+ nodeLabelField: z.ZodOptional<z.ZodString>;
2662
+ edgeRelationFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
2663
+ }, z.core.$strict>;
2664
+ limit: z.ZodOptional<z.ZodNumber>;
2665
+ }, z.core.$strict>, z.ZodObject<{
2666
+ kind: z.ZodEnum<{
2667
+ insert: "insert";
2668
+ update: "update";
2669
+ delete: "delete";
2670
+ }>;
2671
+ ontologyId: z.ZodString;
2672
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
2673
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
2674
+ }, z.core.$strict>, z.ZodObject<{
2675
+ kind: z.ZodLiteral<"call">;
2676
+ workflowId: z.ZodString;
2677
+ pageType: z.ZodDefault<z.ZodEnum<{
2678
+ process: "process";
2679
+ preview: "preview";
2680
+ log: "log";
2681
+ chat: "chat";
2682
+ api: "api";
2683
+ }>>;
2684
+ inputMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
2685
+ outputStrategy: z.ZodOptional<z.ZodEnum<{
2686
+ "default-result-ontology": "default-result-ontology";
2687
+ "domain-ontology": "domain-ontology";
2688
+ "ledger-only": "ledger-only";
2689
+ "column-writeback": "column-writeback";
2690
+ }>>;
2691
+ }, z.core.$strict>], "kind">>;
2692
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
2693
+ cache: z.ZodOptional<z.ZodObject<{
2694
+ mode: z.ZodDefault<z.ZodEnum<{
2695
+ realtime: "realtime";
2696
+ cached: "cached";
2697
+ "stale-while-revalidate": "stale-while-revalidate";
2698
+ materialized: "materialized";
2699
+ }>>;
2700
+ ttlSeconds: z.ZodOptional<z.ZodNumber>;
2701
+ }, z.core.$strict>>;
2702
+ }, z.core.$strict>>;
2125
2703
  body: z.ZodType<import("./declarative-control").PageNode, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageNode, unknown>>;
2126
2704
  initialQueryPolicy: z.ZodOptional<z.ZodEnum<{
2127
2705
  auto: "auto";
@@ -3963,10 +4541,10 @@ export declare const DeclarativeDocumentImportIntentSchema: z.ZodObject<{
3963
4541
  }, z.core.$strict>;
3964
4542
  slot: z.ZodString;
3965
4543
  presentation: z.ZodEnum<{
3966
- panel: "panel";
4544
+ drawer: "drawer";
3967
4545
  inline: "inline";
4546
+ panel: "panel";
3968
4547
  fullscreen: "fullscreen";
3969
- drawer: "drawer";
3970
4548
  modal: "modal";
3971
4549
  }>;
3972
4550
  inputs: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -4064,6 +4642,295 @@ export declare const DeclarativeDocumentImportIntentSchema: z.ZodObject<{
4064
4642
  }, z.core.$strict>>;
4065
4643
  }, z.core.$strict>>>;
4066
4644
  shell: z.ZodOptional<z.ZodString>;
4645
+ data: z.ZodOptional<z.ZodObject<{
4646
+ statements: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
4647
+ kind: z.ZodLiteral<"select">;
4648
+ from: z.ZodObject<{
4649
+ source: z.ZodDefault<z.ZodEnum<{
4650
+ ontology: "ontology";
4651
+ "workflow-outputs": "workflow-outputs";
4652
+ telemetry: "telemetry";
4653
+ }>>;
4654
+ ontologyId: z.ZodString;
4655
+ workflowId: z.ZodOptional<z.ZodString>;
4656
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
4657
+ }, z.core.$strict>;
4658
+ select: z.ZodOptional<z.ZodObject<{
4659
+ baseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
4660
+ propertyColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
4661
+ featureColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
4662
+ tagGroupColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
4663
+ columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
4664
+ }, z.core.$strict>>;
4665
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
4666
+ visibilityScope: z.ZodOptional<z.ZodEnum<{
4667
+ current: "current";
4668
+ currentAndShared: "currentAndShared";
4669
+ explicitShares: "explicitShares";
4670
+ }>>;
4671
+ shareDirection: z.ZodOptional<z.ZodEnum<{
4672
+ sent: "sent";
4673
+ received: "received";
4674
+ }>>;
4675
+ shareViewId: z.ZodOptional<z.ZodString>;
4676
+ includeEffectiveCapabilities: z.ZodOptional<z.ZodBoolean>;
4677
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
4678
+ field: z.ZodString;
4679
+ kind: z.ZodDefault<z.ZodEnum<{
4680
+ feature: "feature";
4681
+ builtin: "builtin";
4682
+ }>>;
4683
+ direction: z.ZodDefault<z.ZodEnum<{
4684
+ asc: "asc";
4685
+ desc: "desc";
4686
+ }>>;
4687
+ nulls: z.ZodOptional<z.ZodEnum<{
4688
+ first: "first";
4689
+ last: "last";
4690
+ }>>;
4691
+ }, z.core.$strict>>>;
4692
+ limit: z.ZodOptional<z.ZodNumber>;
4693
+ }, z.core.$strict>, z.ZodObject<{
4694
+ kind: z.ZodLiteral<"aggregate">;
4695
+ from: z.ZodObject<{
4696
+ source: z.ZodDefault<z.ZodEnum<{
4697
+ ontology: "ontology";
4698
+ "workflow-outputs": "workflow-outputs";
4699
+ telemetry: "telemetry";
4700
+ }>>;
4701
+ ontologyId: z.ZodString;
4702
+ workflowId: z.ZodOptional<z.ZodString>;
4703
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
4704
+ }, z.core.$strict>;
4705
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
4706
+ visibilityScope: z.ZodOptional<z.ZodEnum<{
4707
+ current: "current";
4708
+ currentAndShared: "currentAndShared";
4709
+ explicitShares: "explicitShares";
4710
+ }>>;
4711
+ shareDirection: z.ZodOptional<z.ZodEnum<{
4712
+ sent: "sent";
4713
+ received: "received";
4714
+ }>>;
4715
+ shareViewId: z.ZodOptional<z.ZodString>;
4716
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
4717
+ metrics: z.ZodArray<z.ZodObject<{
4718
+ alias: z.ZodString;
4719
+ fn: z.ZodEnum<{
4720
+ max: "max";
4721
+ min: "min";
4722
+ sum: "sum";
4723
+ count: "count";
4724
+ avg: "avg";
4725
+ distinct_count: "distinct_count";
4726
+ ratio: "ratio";
4727
+ count_distinct: "count_distinct";
4728
+ percentile: "percentile";
4729
+ trimmed_avg: "trimmed_avg";
4730
+ first_by: "first_by";
4731
+ last_by: "last_by";
4732
+ }>;
4733
+ fieldKey: z.ZodOptional<z.ZodString>;
4734
+ numeric: z.ZodOptional<z.ZodBoolean>;
4735
+ percentile: z.ZodOptional<z.ZodNumber>;
4736
+ trimTopPct: z.ZodOptional<z.ZodNumber>;
4737
+ orderColumnId: z.ZodOptional<z.ZodString>;
4738
+ filter: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
4739
+ }, z.core.$strict>>;
4740
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
4741
+ field: z.ZodString;
4742
+ kind: z.ZodDefault<z.ZodEnum<{
4743
+ feature: "feature";
4744
+ builtin: "builtin";
4745
+ }>>;
4746
+ direction: z.ZodDefault<z.ZodEnum<{
4747
+ asc: "asc";
4748
+ desc: "desc";
4749
+ }>>;
4750
+ nulls: z.ZodOptional<z.ZodEnum<{
4751
+ first: "first";
4752
+ last: "last";
4753
+ }>>;
4754
+ }, z.core.$strict>>>;
4755
+ limit: z.ZodOptional<z.ZodNumber>;
4756
+ engine: z.ZodOptional<z.ZodEnum<{
4757
+ auto: "auto";
4758
+ search: "search";
4759
+ canonical: "canonical";
4760
+ }>>;
4761
+ allTeams: z.ZodOptional<z.ZodBoolean>;
4762
+ exact: z.ZodOptional<z.ZodBoolean>;
4763
+ includeTotals: z.ZodOptional<z.ZodBoolean>;
4764
+ timeBucket: z.ZodOptional<z.ZodObject<{
4765
+ column: z.ZodOptional<z.ZodString>;
4766
+ unit: z.ZodEnum<{
4767
+ hour: "hour";
4768
+ day: "day";
4769
+ week: "week";
4770
+ month: "month";
4771
+ quarter: "quarter";
4772
+ year: "year";
4773
+ }>;
4774
+ timeZone: z.ZodOptional<z.ZodString>;
4775
+ fillGaps: z.ZodOptional<z.ZodBoolean>;
4776
+ }, z.core.$strict>>;
4777
+ joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
4778
+ alias: z.ZodString;
4779
+ ontologyId: z.ZodString;
4780
+ assetType: z.ZodOptional<z.ZodString>;
4781
+ joinType: z.ZodOptional<z.ZodEnum<{
4782
+ inner: "inner";
4783
+ left: "left";
4784
+ }>>;
4785
+ viaRelation: z.ZodOptional<z.ZodObject<{
4786
+ columnId: z.ZodString;
4787
+ direction: z.ZodOptional<z.ZodEnum<{
4788
+ outgoing: "outgoing";
4789
+ incoming: "incoming";
4790
+ }>>;
4791
+ }, z.core.$strict>>;
4792
+ onColumn: z.ZodOptional<z.ZodObject<{
4793
+ localColumnId: z.ZodString;
4794
+ foreignColumnId: z.ZodOptional<z.ZodString>;
4795
+ foreignAssetId: z.ZodOptional<z.ZodBoolean>;
4796
+ }, z.core.$strict>>;
4797
+ }, z.core.$strict>>>;
4798
+ hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
4799
+ targetAlias: z.ZodOptional<z.ZodString>;
4800
+ localColumnId: z.ZodOptional<z.ZodString>;
4801
+ ontologyId: z.ZodOptional<z.ZodString>;
4802
+ relationColumnId: z.ZodString;
4803
+ direction: z.ZodOptional<z.ZodEnum<{
4804
+ outgoing: "outgoing";
4805
+ incoming: "incoming";
4806
+ }>>;
4807
+ seedIds: z.ZodArray<z.ZodString>;
4808
+ maxDepth: z.ZodOptional<z.ZodNumber>;
4809
+ includeSelf: z.ZodOptional<z.ZodBoolean>;
4810
+ }, z.core.$strict>>>;
4811
+ unwind: z.ZodOptional<z.ZodObject<{
4812
+ columnId: z.ZodString;
4813
+ alias: z.ZodOptional<z.ZodString>;
4814
+ jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
4815
+ preserveEmpty: z.ZodOptional<z.ZodBoolean>;
4816
+ }, z.core.$strict>>;
4817
+ having: z.ZodOptional<z.ZodArray<z.ZodObject<{
4818
+ key: z.ZodString;
4819
+ op: z.ZodEnum<{
4820
+ eq: "eq";
4821
+ neq: "neq";
4822
+ gt: "gt";
4823
+ gte: "gte";
4824
+ lt: "lt";
4825
+ lte: "lte";
4826
+ }>;
4827
+ value: z.ZodNumber;
4828
+ }, z.core.$strict>>>;
4829
+ pagination: z.ZodOptional<z.ZodObject<{
4830
+ offset: z.ZodOptional<z.ZodNumber>;
4831
+ limit: z.ZodOptional<z.ZodNumber>;
4832
+ withGroupTotal: z.ZodOptional<z.ZodBoolean>;
4833
+ }, z.core.$strict>>;
4834
+ }, z.core.$strict>, z.ZodObject<{
4835
+ kind: z.ZodLiteral<"facets">;
4836
+ from: z.ZodObject<{
4837
+ source: z.ZodDefault<z.ZodEnum<{
4838
+ ontology: "ontology";
4839
+ "workflow-outputs": "workflow-outputs";
4840
+ telemetry: "telemetry";
4841
+ }>>;
4842
+ ontologyId: z.ZodString;
4843
+ workflowId: z.ZodOptional<z.ZodString>;
4844
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
4845
+ }, z.core.$strict>;
4846
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
4847
+ visibilityScope: z.ZodOptional<z.ZodEnum<{
4848
+ current: "current";
4849
+ currentAndShared: "currentAndShared";
4850
+ explicitShares: "explicitShares";
4851
+ }>>;
4852
+ shareDirection: z.ZodOptional<z.ZodEnum<{
4853
+ sent: "sent";
4854
+ received: "received";
4855
+ }>>;
4856
+ shareViewId: z.ZodOptional<z.ZodString>;
4857
+ dimensions: z.ZodArray<z.ZodObject<{
4858
+ field: z.ZodString;
4859
+ kind: z.ZodOptional<z.ZodEnum<{
4860
+ feature: "feature";
4861
+ builtin: "builtin";
4862
+ tag_group: "tag_group";
4863
+ relation_target: "relation_target";
4864
+ }>>;
4865
+ limit: z.ZodOptional<z.ZodNumber>;
4866
+ excludeSelf: z.ZodOptional<z.ZodBoolean>;
4867
+ }, z.core.$strict>>;
4868
+ }, z.core.$strict>, z.ZodObject<{
4869
+ kind: z.ZodLiteral<"graph">;
4870
+ from: z.ZodObject<{
4871
+ source: z.ZodDefault<z.ZodEnum<{
4872
+ ontology: "ontology";
4873
+ "workflow-outputs": "workflow-outputs";
4874
+ telemetry: "telemetry";
4875
+ }>>;
4876
+ ontologyId: z.ZodString;
4877
+ workflowId: z.ZodOptional<z.ZodString>;
4878
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
4879
+ }, z.core.$strict>;
4880
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
4881
+ graph: z.ZodObject<{
4882
+ graphKind: z.ZodEnum<{
4883
+ schema: "schema";
4884
+ cooccurrence: "cooccurrence";
4885
+ "bipartite-cosine": "bipartite-cosine";
4886
+ "focus-star": "focus-star";
4887
+ "ontology-relation": "ontology-relation";
4888
+ "record-clustering": "record-clustering";
4889
+ "field-tag-hub": "field-tag-hub";
4890
+ }>;
4891
+ maxHops: z.ZodDefault<z.ZodNumber>;
4892
+ nodeLabelField: z.ZodOptional<z.ZodString>;
4893
+ edgeRelationFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
4894
+ }, z.core.$strict>;
4895
+ limit: z.ZodOptional<z.ZodNumber>;
4896
+ }, z.core.$strict>, z.ZodObject<{
4897
+ kind: z.ZodEnum<{
4898
+ insert: "insert";
4899
+ update: "update";
4900
+ delete: "delete";
4901
+ }>;
4902
+ ontologyId: z.ZodString;
4903
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
4904
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
4905
+ }, z.core.$strict>, z.ZodObject<{
4906
+ kind: z.ZodLiteral<"call">;
4907
+ workflowId: z.ZodString;
4908
+ pageType: z.ZodDefault<z.ZodEnum<{
4909
+ process: "process";
4910
+ preview: "preview";
4911
+ log: "log";
4912
+ chat: "chat";
4913
+ api: "api";
4914
+ }>>;
4915
+ inputMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
4916
+ outputStrategy: z.ZodOptional<z.ZodEnum<{
4917
+ "default-result-ontology": "default-result-ontology";
4918
+ "domain-ontology": "domain-ontology";
4919
+ "ledger-only": "ledger-only";
4920
+ "column-writeback": "column-writeback";
4921
+ }>>;
4922
+ }, z.core.$strict>], "kind">>;
4923
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
4924
+ cache: z.ZodOptional<z.ZodObject<{
4925
+ mode: z.ZodDefault<z.ZodEnum<{
4926
+ realtime: "realtime";
4927
+ cached: "cached";
4928
+ "stale-while-revalidate": "stale-while-revalidate";
4929
+ materialized: "materialized";
4930
+ }>>;
4931
+ ttlSeconds: z.ZodOptional<z.ZodNumber>;
4932
+ }, z.core.$strict>>;
4933
+ }, z.core.$strict>>;
4067
4934
  body: z.ZodType<import("./declarative-control").PageNode, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageNode, unknown>>;
4068
4935
  initialQueryPolicy: z.ZodOptional<z.ZodEnum<{
4069
4936
  auto: "auto";
@@ -5979,10 +6846,10 @@ export declare const DeclarativeDocumentImportPlanSchema: z.ZodObject<{
5979
6846
  }, z.core.$strict>;
5980
6847
  slot: z.ZodString;
5981
6848
  presentation: z.ZodEnum<{
5982
- panel: "panel";
6849
+ drawer: "drawer";
5983
6850
  inline: "inline";
6851
+ panel: "panel";
5984
6852
  fullscreen: "fullscreen";
5985
- drawer: "drawer";
5986
6853
  modal: "modal";
5987
6854
  }>;
5988
6855
  inputs: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -6080,6 +6947,295 @@ export declare const DeclarativeDocumentImportPlanSchema: z.ZodObject<{
6080
6947
  }, z.core.$strict>>;
6081
6948
  }, z.core.$strict>>>;
6082
6949
  shell: z.ZodOptional<z.ZodString>;
6950
+ data: z.ZodOptional<z.ZodObject<{
6951
+ statements: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
6952
+ kind: z.ZodLiteral<"select">;
6953
+ from: z.ZodObject<{
6954
+ source: z.ZodDefault<z.ZodEnum<{
6955
+ ontology: "ontology";
6956
+ "workflow-outputs": "workflow-outputs";
6957
+ telemetry: "telemetry";
6958
+ }>>;
6959
+ ontologyId: z.ZodString;
6960
+ workflowId: z.ZodOptional<z.ZodString>;
6961
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
6962
+ }, z.core.$strict>;
6963
+ select: z.ZodOptional<z.ZodObject<{
6964
+ baseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
6965
+ propertyColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
6966
+ featureColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
6967
+ tagGroupColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
6968
+ columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
6969
+ }, z.core.$strict>>;
6970
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
6971
+ visibilityScope: z.ZodOptional<z.ZodEnum<{
6972
+ current: "current";
6973
+ currentAndShared: "currentAndShared";
6974
+ explicitShares: "explicitShares";
6975
+ }>>;
6976
+ shareDirection: z.ZodOptional<z.ZodEnum<{
6977
+ sent: "sent";
6978
+ received: "received";
6979
+ }>>;
6980
+ shareViewId: z.ZodOptional<z.ZodString>;
6981
+ includeEffectiveCapabilities: z.ZodOptional<z.ZodBoolean>;
6982
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
6983
+ field: z.ZodString;
6984
+ kind: z.ZodDefault<z.ZodEnum<{
6985
+ feature: "feature";
6986
+ builtin: "builtin";
6987
+ }>>;
6988
+ direction: z.ZodDefault<z.ZodEnum<{
6989
+ asc: "asc";
6990
+ desc: "desc";
6991
+ }>>;
6992
+ nulls: z.ZodOptional<z.ZodEnum<{
6993
+ first: "first";
6994
+ last: "last";
6995
+ }>>;
6996
+ }, z.core.$strict>>>;
6997
+ limit: z.ZodOptional<z.ZodNumber>;
6998
+ }, z.core.$strict>, z.ZodObject<{
6999
+ kind: z.ZodLiteral<"aggregate">;
7000
+ from: z.ZodObject<{
7001
+ source: z.ZodDefault<z.ZodEnum<{
7002
+ ontology: "ontology";
7003
+ "workflow-outputs": "workflow-outputs";
7004
+ telemetry: "telemetry";
7005
+ }>>;
7006
+ ontologyId: z.ZodString;
7007
+ workflowId: z.ZodOptional<z.ZodString>;
7008
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
7009
+ }, z.core.$strict>;
7010
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
7011
+ visibilityScope: z.ZodOptional<z.ZodEnum<{
7012
+ current: "current";
7013
+ currentAndShared: "currentAndShared";
7014
+ explicitShares: "explicitShares";
7015
+ }>>;
7016
+ shareDirection: z.ZodOptional<z.ZodEnum<{
7017
+ sent: "sent";
7018
+ received: "received";
7019
+ }>>;
7020
+ shareViewId: z.ZodOptional<z.ZodString>;
7021
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
7022
+ metrics: z.ZodArray<z.ZodObject<{
7023
+ alias: z.ZodString;
7024
+ fn: z.ZodEnum<{
7025
+ max: "max";
7026
+ min: "min";
7027
+ sum: "sum";
7028
+ count: "count";
7029
+ avg: "avg";
7030
+ distinct_count: "distinct_count";
7031
+ ratio: "ratio";
7032
+ count_distinct: "count_distinct";
7033
+ percentile: "percentile";
7034
+ trimmed_avg: "trimmed_avg";
7035
+ first_by: "first_by";
7036
+ last_by: "last_by";
7037
+ }>;
7038
+ fieldKey: z.ZodOptional<z.ZodString>;
7039
+ numeric: z.ZodOptional<z.ZodBoolean>;
7040
+ percentile: z.ZodOptional<z.ZodNumber>;
7041
+ trimTopPct: z.ZodOptional<z.ZodNumber>;
7042
+ orderColumnId: z.ZodOptional<z.ZodString>;
7043
+ filter: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
7044
+ }, z.core.$strict>>;
7045
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
7046
+ field: z.ZodString;
7047
+ kind: z.ZodDefault<z.ZodEnum<{
7048
+ feature: "feature";
7049
+ builtin: "builtin";
7050
+ }>>;
7051
+ direction: z.ZodDefault<z.ZodEnum<{
7052
+ asc: "asc";
7053
+ desc: "desc";
7054
+ }>>;
7055
+ nulls: z.ZodOptional<z.ZodEnum<{
7056
+ first: "first";
7057
+ last: "last";
7058
+ }>>;
7059
+ }, z.core.$strict>>>;
7060
+ limit: z.ZodOptional<z.ZodNumber>;
7061
+ engine: z.ZodOptional<z.ZodEnum<{
7062
+ auto: "auto";
7063
+ search: "search";
7064
+ canonical: "canonical";
7065
+ }>>;
7066
+ allTeams: z.ZodOptional<z.ZodBoolean>;
7067
+ exact: z.ZodOptional<z.ZodBoolean>;
7068
+ includeTotals: z.ZodOptional<z.ZodBoolean>;
7069
+ timeBucket: z.ZodOptional<z.ZodObject<{
7070
+ column: z.ZodOptional<z.ZodString>;
7071
+ unit: z.ZodEnum<{
7072
+ hour: "hour";
7073
+ day: "day";
7074
+ week: "week";
7075
+ month: "month";
7076
+ quarter: "quarter";
7077
+ year: "year";
7078
+ }>;
7079
+ timeZone: z.ZodOptional<z.ZodString>;
7080
+ fillGaps: z.ZodOptional<z.ZodBoolean>;
7081
+ }, z.core.$strict>>;
7082
+ joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
7083
+ alias: z.ZodString;
7084
+ ontologyId: z.ZodString;
7085
+ assetType: z.ZodOptional<z.ZodString>;
7086
+ joinType: z.ZodOptional<z.ZodEnum<{
7087
+ inner: "inner";
7088
+ left: "left";
7089
+ }>>;
7090
+ viaRelation: z.ZodOptional<z.ZodObject<{
7091
+ columnId: z.ZodString;
7092
+ direction: z.ZodOptional<z.ZodEnum<{
7093
+ outgoing: "outgoing";
7094
+ incoming: "incoming";
7095
+ }>>;
7096
+ }, z.core.$strict>>;
7097
+ onColumn: z.ZodOptional<z.ZodObject<{
7098
+ localColumnId: z.ZodString;
7099
+ foreignColumnId: z.ZodOptional<z.ZodString>;
7100
+ foreignAssetId: z.ZodOptional<z.ZodBoolean>;
7101
+ }, z.core.$strict>>;
7102
+ }, z.core.$strict>>>;
7103
+ hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
7104
+ targetAlias: z.ZodOptional<z.ZodString>;
7105
+ localColumnId: z.ZodOptional<z.ZodString>;
7106
+ ontologyId: z.ZodOptional<z.ZodString>;
7107
+ relationColumnId: z.ZodString;
7108
+ direction: z.ZodOptional<z.ZodEnum<{
7109
+ outgoing: "outgoing";
7110
+ incoming: "incoming";
7111
+ }>>;
7112
+ seedIds: z.ZodArray<z.ZodString>;
7113
+ maxDepth: z.ZodOptional<z.ZodNumber>;
7114
+ includeSelf: z.ZodOptional<z.ZodBoolean>;
7115
+ }, z.core.$strict>>>;
7116
+ unwind: z.ZodOptional<z.ZodObject<{
7117
+ columnId: z.ZodString;
7118
+ alias: z.ZodOptional<z.ZodString>;
7119
+ jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
7120
+ preserveEmpty: z.ZodOptional<z.ZodBoolean>;
7121
+ }, z.core.$strict>>;
7122
+ having: z.ZodOptional<z.ZodArray<z.ZodObject<{
7123
+ key: z.ZodString;
7124
+ op: z.ZodEnum<{
7125
+ eq: "eq";
7126
+ neq: "neq";
7127
+ gt: "gt";
7128
+ gte: "gte";
7129
+ lt: "lt";
7130
+ lte: "lte";
7131
+ }>;
7132
+ value: z.ZodNumber;
7133
+ }, z.core.$strict>>>;
7134
+ pagination: z.ZodOptional<z.ZodObject<{
7135
+ offset: z.ZodOptional<z.ZodNumber>;
7136
+ limit: z.ZodOptional<z.ZodNumber>;
7137
+ withGroupTotal: z.ZodOptional<z.ZodBoolean>;
7138
+ }, z.core.$strict>>;
7139
+ }, z.core.$strict>, z.ZodObject<{
7140
+ kind: z.ZodLiteral<"facets">;
7141
+ from: z.ZodObject<{
7142
+ source: z.ZodDefault<z.ZodEnum<{
7143
+ ontology: "ontology";
7144
+ "workflow-outputs": "workflow-outputs";
7145
+ telemetry: "telemetry";
7146
+ }>>;
7147
+ ontologyId: z.ZodString;
7148
+ workflowId: z.ZodOptional<z.ZodString>;
7149
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
7150
+ }, z.core.$strict>;
7151
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
7152
+ visibilityScope: z.ZodOptional<z.ZodEnum<{
7153
+ current: "current";
7154
+ currentAndShared: "currentAndShared";
7155
+ explicitShares: "explicitShares";
7156
+ }>>;
7157
+ shareDirection: z.ZodOptional<z.ZodEnum<{
7158
+ sent: "sent";
7159
+ received: "received";
7160
+ }>>;
7161
+ shareViewId: z.ZodOptional<z.ZodString>;
7162
+ dimensions: z.ZodArray<z.ZodObject<{
7163
+ field: z.ZodString;
7164
+ kind: z.ZodOptional<z.ZodEnum<{
7165
+ feature: "feature";
7166
+ builtin: "builtin";
7167
+ tag_group: "tag_group";
7168
+ relation_target: "relation_target";
7169
+ }>>;
7170
+ limit: z.ZodOptional<z.ZodNumber>;
7171
+ excludeSelf: z.ZodOptional<z.ZodBoolean>;
7172
+ }, z.core.$strict>>;
7173
+ }, z.core.$strict>, z.ZodObject<{
7174
+ kind: z.ZodLiteral<"graph">;
7175
+ from: z.ZodObject<{
7176
+ source: z.ZodDefault<z.ZodEnum<{
7177
+ ontology: "ontology";
7178
+ "workflow-outputs": "workflow-outputs";
7179
+ telemetry: "telemetry";
7180
+ }>>;
7181
+ ontologyId: z.ZodString;
7182
+ workflowId: z.ZodOptional<z.ZodString>;
7183
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
7184
+ }, z.core.$strict>;
7185
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
7186
+ graph: z.ZodObject<{
7187
+ graphKind: z.ZodEnum<{
7188
+ schema: "schema";
7189
+ cooccurrence: "cooccurrence";
7190
+ "bipartite-cosine": "bipartite-cosine";
7191
+ "focus-star": "focus-star";
7192
+ "ontology-relation": "ontology-relation";
7193
+ "record-clustering": "record-clustering";
7194
+ "field-tag-hub": "field-tag-hub";
7195
+ }>;
7196
+ maxHops: z.ZodDefault<z.ZodNumber>;
7197
+ nodeLabelField: z.ZodOptional<z.ZodString>;
7198
+ edgeRelationFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
7199
+ }, z.core.$strict>;
7200
+ limit: z.ZodOptional<z.ZodNumber>;
7201
+ }, z.core.$strict>, z.ZodObject<{
7202
+ kind: z.ZodEnum<{
7203
+ insert: "insert";
7204
+ update: "update";
7205
+ delete: "delete";
7206
+ }>;
7207
+ ontologyId: z.ZodString;
7208
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
7209
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
7210
+ }, z.core.$strict>, z.ZodObject<{
7211
+ kind: z.ZodLiteral<"call">;
7212
+ workflowId: z.ZodString;
7213
+ pageType: z.ZodDefault<z.ZodEnum<{
7214
+ process: "process";
7215
+ preview: "preview";
7216
+ log: "log";
7217
+ chat: "chat";
7218
+ api: "api";
7219
+ }>>;
7220
+ inputMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
7221
+ outputStrategy: z.ZodOptional<z.ZodEnum<{
7222
+ "default-result-ontology": "default-result-ontology";
7223
+ "domain-ontology": "domain-ontology";
7224
+ "ledger-only": "ledger-only";
7225
+ "column-writeback": "column-writeback";
7226
+ }>>;
7227
+ }, z.core.$strict>], "kind">>;
7228
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
7229
+ cache: z.ZodOptional<z.ZodObject<{
7230
+ mode: z.ZodDefault<z.ZodEnum<{
7231
+ realtime: "realtime";
7232
+ cached: "cached";
7233
+ "stale-while-revalidate": "stale-while-revalidate";
7234
+ materialized: "materialized";
7235
+ }>>;
7236
+ ttlSeconds: z.ZodOptional<z.ZodNumber>;
7237
+ }, z.core.$strict>>;
7238
+ }, z.core.$strict>>;
6083
7239
  body: z.ZodType<import("./declarative-control").PageNode, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageNode, unknown>>;
6084
7240
  initialQueryPolicy: z.ZodOptional<z.ZodEnum<{
6085
7241
  auto: "auto";
@@ -8000,10 +9156,10 @@ export declare const DeclarativeDocumentImportResultSchema: z.ZodObject<{
8000
9156
  }, z.core.$strict>;
8001
9157
  slot: z.ZodString;
8002
9158
  presentation: z.ZodEnum<{
8003
- panel: "panel";
9159
+ drawer: "drawer";
8004
9160
  inline: "inline";
9161
+ panel: "panel";
8005
9162
  fullscreen: "fullscreen";
8006
- drawer: "drawer";
8007
9163
  modal: "modal";
8008
9164
  }>;
8009
9165
  inputs: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -8101,6 +9257,295 @@ export declare const DeclarativeDocumentImportResultSchema: z.ZodObject<{
8101
9257
  }, z.core.$strict>>;
8102
9258
  }, z.core.$strict>>>;
8103
9259
  shell: z.ZodOptional<z.ZodString>;
9260
+ data: z.ZodOptional<z.ZodObject<{
9261
+ statements: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
9262
+ kind: z.ZodLiteral<"select">;
9263
+ from: z.ZodObject<{
9264
+ source: z.ZodDefault<z.ZodEnum<{
9265
+ ontology: "ontology";
9266
+ "workflow-outputs": "workflow-outputs";
9267
+ telemetry: "telemetry";
9268
+ }>>;
9269
+ ontologyId: z.ZodString;
9270
+ workflowId: z.ZodOptional<z.ZodString>;
9271
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
9272
+ }, z.core.$strict>;
9273
+ select: z.ZodOptional<z.ZodObject<{
9274
+ baseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
9275
+ propertyColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
9276
+ featureColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
9277
+ tagGroupColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
9278
+ columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
9279
+ }, z.core.$strict>>;
9280
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
9281
+ visibilityScope: z.ZodOptional<z.ZodEnum<{
9282
+ current: "current";
9283
+ currentAndShared: "currentAndShared";
9284
+ explicitShares: "explicitShares";
9285
+ }>>;
9286
+ shareDirection: z.ZodOptional<z.ZodEnum<{
9287
+ sent: "sent";
9288
+ received: "received";
9289
+ }>>;
9290
+ shareViewId: z.ZodOptional<z.ZodString>;
9291
+ includeEffectiveCapabilities: z.ZodOptional<z.ZodBoolean>;
9292
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
9293
+ field: z.ZodString;
9294
+ kind: z.ZodDefault<z.ZodEnum<{
9295
+ feature: "feature";
9296
+ builtin: "builtin";
9297
+ }>>;
9298
+ direction: z.ZodDefault<z.ZodEnum<{
9299
+ asc: "asc";
9300
+ desc: "desc";
9301
+ }>>;
9302
+ nulls: z.ZodOptional<z.ZodEnum<{
9303
+ first: "first";
9304
+ last: "last";
9305
+ }>>;
9306
+ }, z.core.$strict>>>;
9307
+ limit: z.ZodOptional<z.ZodNumber>;
9308
+ }, z.core.$strict>, z.ZodObject<{
9309
+ kind: z.ZodLiteral<"aggregate">;
9310
+ from: z.ZodObject<{
9311
+ source: z.ZodDefault<z.ZodEnum<{
9312
+ ontology: "ontology";
9313
+ "workflow-outputs": "workflow-outputs";
9314
+ telemetry: "telemetry";
9315
+ }>>;
9316
+ ontologyId: z.ZodString;
9317
+ workflowId: z.ZodOptional<z.ZodString>;
9318
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
9319
+ }, z.core.$strict>;
9320
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
9321
+ visibilityScope: z.ZodOptional<z.ZodEnum<{
9322
+ current: "current";
9323
+ currentAndShared: "currentAndShared";
9324
+ explicitShares: "explicitShares";
9325
+ }>>;
9326
+ shareDirection: z.ZodOptional<z.ZodEnum<{
9327
+ sent: "sent";
9328
+ received: "received";
9329
+ }>>;
9330
+ shareViewId: z.ZodOptional<z.ZodString>;
9331
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
9332
+ metrics: z.ZodArray<z.ZodObject<{
9333
+ alias: z.ZodString;
9334
+ fn: z.ZodEnum<{
9335
+ max: "max";
9336
+ min: "min";
9337
+ sum: "sum";
9338
+ count: "count";
9339
+ avg: "avg";
9340
+ distinct_count: "distinct_count";
9341
+ ratio: "ratio";
9342
+ count_distinct: "count_distinct";
9343
+ percentile: "percentile";
9344
+ trimmed_avg: "trimmed_avg";
9345
+ first_by: "first_by";
9346
+ last_by: "last_by";
9347
+ }>;
9348
+ fieldKey: z.ZodOptional<z.ZodString>;
9349
+ numeric: z.ZodOptional<z.ZodBoolean>;
9350
+ percentile: z.ZodOptional<z.ZodNumber>;
9351
+ trimTopPct: z.ZodOptional<z.ZodNumber>;
9352
+ orderColumnId: z.ZodOptional<z.ZodString>;
9353
+ filter: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
9354
+ }, z.core.$strict>>;
9355
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
9356
+ field: z.ZodString;
9357
+ kind: z.ZodDefault<z.ZodEnum<{
9358
+ feature: "feature";
9359
+ builtin: "builtin";
9360
+ }>>;
9361
+ direction: z.ZodDefault<z.ZodEnum<{
9362
+ asc: "asc";
9363
+ desc: "desc";
9364
+ }>>;
9365
+ nulls: z.ZodOptional<z.ZodEnum<{
9366
+ first: "first";
9367
+ last: "last";
9368
+ }>>;
9369
+ }, z.core.$strict>>>;
9370
+ limit: z.ZodOptional<z.ZodNumber>;
9371
+ engine: z.ZodOptional<z.ZodEnum<{
9372
+ auto: "auto";
9373
+ search: "search";
9374
+ canonical: "canonical";
9375
+ }>>;
9376
+ allTeams: z.ZodOptional<z.ZodBoolean>;
9377
+ exact: z.ZodOptional<z.ZodBoolean>;
9378
+ includeTotals: z.ZodOptional<z.ZodBoolean>;
9379
+ timeBucket: z.ZodOptional<z.ZodObject<{
9380
+ column: z.ZodOptional<z.ZodString>;
9381
+ unit: z.ZodEnum<{
9382
+ hour: "hour";
9383
+ day: "day";
9384
+ week: "week";
9385
+ month: "month";
9386
+ quarter: "quarter";
9387
+ year: "year";
9388
+ }>;
9389
+ timeZone: z.ZodOptional<z.ZodString>;
9390
+ fillGaps: z.ZodOptional<z.ZodBoolean>;
9391
+ }, z.core.$strict>>;
9392
+ joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
9393
+ alias: z.ZodString;
9394
+ ontologyId: z.ZodString;
9395
+ assetType: z.ZodOptional<z.ZodString>;
9396
+ joinType: z.ZodOptional<z.ZodEnum<{
9397
+ inner: "inner";
9398
+ left: "left";
9399
+ }>>;
9400
+ viaRelation: z.ZodOptional<z.ZodObject<{
9401
+ columnId: z.ZodString;
9402
+ direction: z.ZodOptional<z.ZodEnum<{
9403
+ outgoing: "outgoing";
9404
+ incoming: "incoming";
9405
+ }>>;
9406
+ }, z.core.$strict>>;
9407
+ onColumn: z.ZodOptional<z.ZodObject<{
9408
+ localColumnId: z.ZodString;
9409
+ foreignColumnId: z.ZodOptional<z.ZodString>;
9410
+ foreignAssetId: z.ZodOptional<z.ZodBoolean>;
9411
+ }, z.core.$strict>>;
9412
+ }, z.core.$strict>>>;
9413
+ hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
9414
+ targetAlias: z.ZodOptional<z.ZodString>;
9415
+ localColumnId: z.ZodOptional<z.ZodString>;
9416
+ ontologyId: z.ZodOptional<z.ZodString>;
9417
+ relationColumnId: z.ZodString;
9418
+ direction: z.ZodOptional<z.ZodEnum<{
9419
+ outgoing: "outgoing";
9420
+ incoming: "incoming";
9421
+ }>>;
9422
+ seedIds: z.ZodArray<z.ZodString>;
9423
+ maxDepth: z.ZodOptional<z.ZodNumber>;
9424
+ includeSelf: z.ZodOptional<z.ZodBoolean>;
9425
+ }, z.core.$strict>>>;
9426
+ unwind: z.ZodOptional<z.ZodObject<{
9427
+ columnId: z.ZodString;
9428
+ alias: z.ZodOptional<z.ZodString>;
9429
+ jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
9430
+ preserveEmpty: z.ZodOptional<z.ZodBoolean>;
9431
+ }, z.core.$strict>>;
9432
+ having: z.ZodOptional<z.ZodArray<z.ZodObject<{
9433
+ key: z.ZodString;
9434
+ op: z.ZodEnum<{
9435
+ eq: "eq";
9436
+ neq: "neq";
9437
+ gt: "gt";
9438
+ gte: "gte";
9439
+ lt: "lt";
9440
+ lte: "lte";
9441
+ }>;
9442
+ value: z.ZodNumber;
9443
+ }, z.core.$strict>>>;
9444
+ pagination: z.ZodOptional<z.ZodObject<{
9445
+ offset: z.ZodOptional<z.ZodNumber>;
9446
+ limit: z.ZodOptional<z.ZodNumber>;
9447
+ withGroupTotal: z.ZodOptional<z.ZodBoolean>;
9448
+ }, z.core.$strict>>;
9449
+ }, z.core.$strict>, z.ZodObject<{
9450
+ kind: z.ZodLiteral<"facets">;
9451
+ from: z.ZodObject<{
9452
+ source: z.ZodDefault<z.ZodEnum<{
9453
+ ontology: "ontology";
9454
+ "workflow-outputs": "workflow-outputs";
9455
+ telemetry: "telemetry";
9456
+ }>>;
9457
+ ontologyId: z.ZodString;
9458
+ workflowId: z.ZodOptional<z.ZodString>;
9459
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
9460
+ }, z.core.$strict>;
9461
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
9462
+ visibilityScope: z.ZodOptional<z.ZodEnum<{
9463
+ current: "current";
9464
+ currentAndShared: "currentAndShared";
9465
+ explicitShares: "explicitShares";
9466
+ }>>;
9467
+ shareDirection: z.ZodOptional<z.ZodEnum<{
9468
+ sent: "sent";
9469
+ received: "received";
9470
+ }>>;
9471
+ shareViewId: z.ZodOptional<z.ZodString>;
9472
+ dimensions: z.ZodArray<z.ZodObject<{
9473
+ field: z.ZodString;
9474
+ kind: z.ZodOptional<z.ZodEnum<{
9475
+ feature: "feature";
9476
+ builtin: "builtin";
9477
+ tag_group: "tag_group";
9478
+ relation_target: "relation_target";
9479
+ }>>;
9480
+ limit: z.ZodOptional<z.ZodNumber>;
9481
+ excludeSelf: z.ZodOptional<z.ZodBoolean>;
9482
+ }, z.core.$strict>>;
9483
+ }, z.core.$strict>, z.ZodObject<{
9484
+ kind: z.ZodLiteral<"graph">;
9485
+ from: z.ZodObject<{
9486
+ source: z.ZodDefault<z.ZodEnum<{
9487
+ ontology: "ontology";
9488
+ "workflow-outputs": "workflow-outputs";
9489
+ telemetry: "telemetry";
9490
+ }>>;
9491
+ ontologyId: z.ZodString;
9492
+ workflowId: z.ZodOptional<z.ZodString>;
9493
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
9494
+ }, z.core.$strict>;
9495
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
9496
+ graph: z.ZodObject<{
9497
+ graphKind: z.ZodEnum<{
9498
+ schema: "schema";
9499
+ cooccurrence: "cooccurrence";
9500
+ "bipartite-cosine": "bipartite-cosine";
9501
+ "focus-star": "focus-star";
9502
+ "ontology-relation": "ontology-relation";
9503
+ "record-clustering": "record-clustering";
9504
+ "field-tag-hub": "field-tag-hub";
9505
+ }>;
9506
+ maxHops: z.ZodDefault<z.ZodNumber>;
9507
+ nodeLabelField: z.ZodOptional<z.ZodString>;
9508
+ edgeRelationFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
9509
+ }, z.core.$strict>;
9510
+ limit: z.ZodOptional<z.ZodNumber>;
9511
+ }, z.core.$strict>, z.ZodObject<{
9512
+ kind: z.ZodEnum<{
9513
+ insert: "insert";
9514
+ update: "update";
9515
+ delete: "delete";
9516
+ }>;
9517
+ ontologyId: z.ZodString;
9518
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
9519
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
9520
+ }, z.core.$strict>, z.ZodObject<{
9521
+ kind: z.ZodLiteral<"call">;
9522
+ workflowId: z.ZodString;
9523
+ pageType: z.ZodDefault<z.ZodEnum<{
9524
+ process: "process";
9525
+ preview: "preview";
9526
+ log: "log";
9527
+ chat: "chat";
9528
+ api: "api";
9529
+ }>>;
9530
+ inputMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
9531
+ outputStrategy: z.ZodOptional<z.ZodEnum<{
9532
+ "default-result-ontology": "default-result-ontology";
9533
+ "domain-ontology": "domain-ontology";
9534
+ "ledger-only": "ledger-only";
9535
+ "column-writeback": "column-writeback";
9536
+ }>>;
9537
+ }, z.core.$strict>], "kind">>;
9538
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
9539
+ cache: z.ZodOptional<z.ZodObject<{
9540
+ mode: z.ZodDefault<z.ZodEnum<{
9541
+ realtime: "realtime";
9542
+ cached: "cached";
9543
+ "stale-while-revalidate": "stale-while-revalidate";
9544
+ materialized: "materialized";
9545
+ }>>;
9546
+ ttlSeconds: z.ZodOptional<z.ZodNumber>;
9547
+ }, z.core.$strict>>;
9548
+ }, z.core.$strict>>;
8104
9549
  body: z.ZodType<import("./declarative-control").PageNode, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageNode, unknown>>;
8105
9550
  initialQueryPolicy: z.ZodOptional<z.ZodEnum<{
8106
9551
  auto: "auto";