@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.
Files changed (59) hide show
  1. package/lib/contracts/bento-block.d.ts +115 -43
  2. package/lib/contracts/bento-block.d.ts.map +1 -1
  3. package/lib/contracts/bento-block.js +44 -10
  4. package/lib/contracts/bento-block.js.map +1 -1
  5. package/lib/contracts/declarative-control-http.d.ts +2187 -282
  6. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  7. package/lib/contracts/declarative-control.d.ts +261 -21
  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 +1170 -0
  12. package/lib/contracts/declarative-document-import.d.ts.map +1 -1
  13. package/lib/contracts/declarative-publication-job.d.ts +72 -64
  14. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  15. package/lib/contracts/render.d.ts +13 -12
  16. package/lib/contracts/render.d.ts.map +1 -1
  17. package/lib/contracts/render.js +2 -1
  18. package/lib/contracts/render.js.map +1 -1
  19. package/lib/contracts/tenant.d.ts +0 -12
  20. package/lib/contracts/tenant.d.ts.map +1 -1
  21. package/lib/contracts/tenant.js +0 -1
  22. package/lib/contracts/tenant.js.map +1 -1
  23. package/lib/contracts/unified-view.d.ts +11 -10
  24. package/lib/contracts/unified-view.d.ts.map +1 -1
  25. package/lib/esm/{chunk-ULDFLNAS.mjs → chunk-26ZNN7FU.mjs} +8 -4
  26. package/lib/esm/chunk-26ZNN7FU.mjs.map +1 -0
  27. package/lib/esm/{chunk-5QMVFOWH.mjs → chunk-5LZVSAPW.mjs} +41 -11
  28. package/lib/esm/chunk-5LZVSAPW.mjs.map +1 -0
  29. package/lib/esm/{chunk-MLFKEJNG.mjs → chunk-GN3YEDS2.mjs} +2 -2
  30. package/lib/esm/{chunk-GV2AOCR7.mjs → chunk-THLZL353.mjs} +2 -2
  31. package/lib/esm/{chunk-GV2AOCR7.mjs.map → chunk-THLZL353.mjs.map} +1 -1
  32. package/lib/esm/contracts/index.mjs +4 -2
  33. package/lib/esm/index.mjs +6 -4
  34. package/lib/esm/index.mjs.map +1 -1
  35. package/lib/esm/runtime/index.mjs +3 -3
  36. package/lib/esm/schemas/index.mjs +4 -2
  37. package/lib/json-schema/bento-node.schema.json +131 -17
  38. package/lib/json-schema/overlay-node.schema.json +131 -17
  39. package/lib/json-schema/page-runtime-bundle.schema.json +142 -27
  40. package/lib/json-schema/page.schema.json +4302 -1921
  41. package/lib/json-schema/render-node.schema.json +131 -17
  42. package/lib/json-schema/render-tree.schema.json +142 -27
  43. package/lib/json-schema/tenant-product-config.schema.json +0 -7
  44. package/lib/json-schema/tenant-runtime-config.schema.json +0 -7
  45. package/lib/json-schema/view-ontology-record.schema.json +142 -27
  46. package/lib/runtime/declarative-control-compiler.d.ts.map +1 -1
  47. package/lib/runtime/declarative-control-compiler.js +4 -0
  48. package/lib/runtime/declarative-control-compiler.js.map +1 -1
  49. package/lib/runtime/runtime-definition-wire.d.ts +36 -32
  50. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  51. package/lib/schemas/index.d.ts +257 -29
  52. package/lib/schemas/index.d.ts.map +1 -1
  53. package/lib/schemas/index.js +3 -2
  54. package/lib/schemas/index.js.map +1 -1
  55. package/package.json +2 -2
  56. package/test/fixtures/tenant-product-config.public.json +0 -1
  57. package/lib/esm/chunk-5QMVFOWH.mjs.map +0 -1
  58. package/lib/esm/chunk-ULDFLNAS.mjs.map +0 -1
  59. /package/lib/esm/{chunk-MLFKEJNG.mjs.map → chunk-GN3YEDS2.mjs.map} +0 -0
@@ -5322,6 +5322,240 @@ export declare const DeclarativeCreateTemplateRegistrationSchema: z.ZodObject<{
5322
5322
  }, z.core.$strict>>;
5323
5323
  }, z.core.$strict>>>;
5324
5324
  shell: z.ZodOptional<z.ZodString>;
5325
+ data: z.ZodOptional<z.ZodObject<{
5326
+ statements: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
5327
+ kind: z.ZodLiteral<"select">;
5328
+ from: z.ZodObject<{
5329
+ source: z.ZodDefault<z.ZodEnum<{
5330
+ ontology: "ontology";
5331
+ "workflow-outputs": "workflow-outputs";
5332
+ telemetry: "telemetry";
5333
+ }>>;
5334
+ ontologyId: z.ZodString;
5335
+ workflowId: z.ZodOptional<z.ZodString>;
5336
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
5337
+ }, z.core.$strict>;
5338
+ select: z.ZodOptional<z.ZodObject<{
5339
+ baseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
5340
+ propertyColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
5341
+ featureColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
5342
+ tagGroupColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
5343
+ columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
5344
+ }, z.core.$strict>>;
5345
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
5346
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
5347
+ field: z.ZodString;
5348
+ kind: z.ZodDefault<z.ZodEnum<{
5349
+ feature: "feature";
5350
+ builtin: "builtin";
5351
+ }>>;
5352
+ direction: z.ZodDefault<z.ZodEnum<{
5353
+ asc: "asc";
5354
+ desc: "desc";
5355
+ }>>;
5356
+ nulls: z.ZodOptional<z.ZodEnum<{
5357
+ first: "first";
5358
+ last: "last";
5359
+ }>>;
5360
+ }, z.core.$strict>>>;
5361
+ limit: z.ZodOptional<z.ZodNumber>;
5362
+ }, z.core.$strict>, z.ZodObject<{
5363
+ kind: z.ZodLiteral<"aggregate">;
5364
+ from: z.ZodObject<{
5365
+ source: z.ZodDefault<z.ZodEnum<{
5366
+ ontology: "ontology";
5367
+ "workflow-outputs": "workflow-outputs";
5368
+ telemetry: "telemetry";
5369
+ }>>;
5370
+ ontologyId: z.ZodString;
5371
+ workflowId: z.ZodOptional<z.ZodString>;
5372
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
5373
+ }, z.core.$strict>;
5374
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
5375
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
5376
+ metrics: z.ZodArray<z.ZodObject<{
5377
+ alias: z.ZodString;
5378
+ fn: z.ZodEnum<{
5379
+ max: "max";
5380
+ count: "count";
5381
+ sum: "sum";
5382
+ avg: "avg";
5383
+ min: "min";
5384
+ distinct_count: "distinct_count";
5385
+ ratio: "ratio";
5386
+ count_distinct: "count_distinct";
5387
+ percentile: "percentile";
5388
+ trimmed_avg: "trimmed_avg";
5389
+ first_by: "first_by";
5390
+ last_by: "last_by";
5391
+ }>;
5392
+ fieldKey: z.ZodOptional<z.ZodString>;
5393
+ numeric: z.ZodOptional<z.ZodBoolean>;
5394
+ percentile: z.ZodOptional<z.ZodNumber>;
5395
+ trimTopPct: z.ZodOptional<z.ZodNumber>;
5396
+ orderColumnId: z.ZodOptional<z.ZodString>;
5397
+ filter: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
5398
+ }, z.core.$strict>>;
5399
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
5400
+ field: z.ZodString;
5401
+ kind: z.ZodDefault<z.ZodEnum<{
5402
+ feature: "feature";
5403
+ builtin: "builtin";
5404
+ }>>;
5405
+ direction: z.ZodDefault<z.ZodEnum<{
5406
+ asc: "asc";
5407
+ desc: "desc";
5408
+ }>>;
5409
+ nulls: z.ZodOptional<z.ZodEnum<{
5410
+ first: "first";
5411
+ last: "last";
5412
+ }>>;
5413
+ }, z.core.$strict>>>;
5414
+ limit: z.ZodOptional<z.ZodNumber>;
5415
+ engine: z.ZodOptional<z.ZodEnum<{
5416
+ auto: "auto";
5417
+ search: "search";
5418
+ canonical: "canonical";
5419
+ }>>;
5420
+ allTeams: z.ZodOptional<z.ZodBoolean>;
5421
+ exact: z.ZodOptional<z.ZodBoolean>;
5422
+ includeTotals: z.ZodOptional<z.ZodBoolean>;
5423
+ timeBucket: z.ZodOptional<z.ZodObject<{
5424
+ column: z.ZodOptional<z.ZodString>;
5425
+ unit: z.ZodEnum<{
5426
+ hour: "hour";
5427
+ day: "day";
5428
+ week: "week";
5429
+ month: "month";
5430
+ quarter: "quarter";
5431
+ year: "year";
5432
+ }>;
5433
+ timeZone: z.ZodOptional<z.ZodString>;
5434
+ fillGaps: z.ZodOptional<z.ZodBoolean>;
5435
+ }, z.core.$strict>>;
5436
+ joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
5437
+ alias: z.ZodString;
5438
+ ontologyId: z.ZodString;
5439
+ assetType: z.ZodOptional<z.ZodString>;
5440
+ joinType: z.ZodOptional<z.ZodEnum<{
5441
+ inner: "inner";
5442
+ left: "left";
5443
+ }>>;
5444
+ viaRelation: z.ZodOptional<z.ZodObject<{
5445
+ columnId: z.ZodString;
5446
+ direction: z.ZodOptional<z.ZodEnum<{
5447
+ outgoing: "outgoing";
5448
+ incoming: "incoming";
5449
+ }>>;
5450
+ }, z.core.$strict>>;
5451
+ onColumn: z.ZodOptional<z.ZodObject<{
5452
+ localColumnId: z.ZodString;
5453
+ foreignColumnId: z.ZodOptional<z.ZodString>;
5454
+ foreignAssetId: z.ZodOptional<z.ZodBoolean>;
5455
+ }, z.core.$strict>>;
5456
+ }, z.core.$strict>>>;
5457
+ hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
5458
+ targetAlias: z.ZodOptional<z.ZodString>;
5459
+ localColumnId: z.ZodOptional<z.ZodString>;
5460
+ ontologyId: z.ZodOptional<z.ZodString>;
5461
+ relationColumnId: z.ZodString;
5462
+ direction: z.ZodOptional<z.ZodEnum<{
5463
+ outgoing: "outgoing";
5464
+ incoming: "incoming";
5465
+ }>>;
5466
+ seedIds: z.ZodArray<z.ZodString>;
5467
+ maxDepth: z.ZodOptional<z.ZodNumber>;
5468
+ includeSelf: z.ZodOptional<z.ZodBoolean>;
5469
+ }, z.core.$strict>>>;
5470
+ unwind: z.ZodOptional<z.ZodObject<{
5471
+ columnId: z.ZodString;
5472
+ alias: z.ZodOptional<z.ZodString>;
5473
+ jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
5474
+ preserveEmpty: z.ZodOptional<z.ZodBoolean>;
5475
+ }, z.core.$strict>>;
5476
+ having: z.ZodOptional<z.ZodArray<z.ZodObject<{
5477
+ key: z.ZodString;
5478
+ op: z.ZodEnum<{
5479
+ eq: "eq";
5480
+ neq: "neq";
5481
+ gt: "gt";
5482
+ gte: "gte";
5483
+ lt: "lt";
5484
+ lte: "lte";
5485
+ }>;
5486
+ value: z.ZodNumber;
5487
+ }, z.core.$strict>>>;
5488
+ pagination: z.ZodOptional<z.ZodObject<{
5489
+ offset: z.ZodOptional<z.ZodNumber>;
5490
+ limit: z.ZodOptional<z.ZodNumber>;
5491
+ withGroupTotal: z.ZodOptional<z.ZodBoolean>;
5492
+ }, z.core.$strict>>;
5493
+ }, z.core.$strict>, z.ZodObject<{
5494
+ kind: z.ZodLiteral<"graph">;
5495
+ from: z.ZodObject<{
5496
+ source: z.ZodDefault<z.ZodEnum<{
5497
+ ontology: "ontology";
5498
+ "workflow-outputs": "workflow-outputs";
5499
+ telemetry: "telemetry";
5500
+ }>>;
5501
+ ontologyId: z.ZodString;
5502
+ workflowId: z.ZodOptional<z.ZodString>;
5503
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
5504
+ }, z.core.$strict>;
5505
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
5506
+ graph: z.ZodObject<{
5507
+ graphKind: z.ZodEnum<{
5508
+ schema: "schema";
5509
+ cooccurrence: "cooccurrence";
5510
+ "bipartite-cosine": "bipartite-cosine";
5511
+ "focus-star": "focus-star";
5512
+ "ontology-relation": "ontology-relation";
5513
+ "record-clustering": "record-clustering";
5514
+ "field-tag-hub": "field-tag-hub";
5515
+ }>;
5516
+ maxHops: z.ZodDefault<z.ZodNumber>;
5517
+ nodeLabelField: z.ZodOptional<z.ZodString>;
5518
+ edgeRelationFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
5519
+ }, z.core.$strict>;
5520
+ limit: z.ZodOptional<z.ZodNumber>;
5521
+ }, z.core.$strict>, z.ZodObject<{
5522
+ kind: z.ZodEnum<{
5523
+ insert: "insert";
5524
+ update: "update";
5525
+ delete: "delete";
5526
+ }>;
5527
+ ontologyId: z.ZodString;
5528
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
5529
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
5530
+ }, z.core.$strict>, z.ZodObject<{
5531
+ kind: z.ZodLiteral<"call">;
5532
+ workflowId: z.ZodString;
5533
+ pageType: z.ZodDefault<z.ZodEnum<{
5534
+ process: "process";
5535
+ preview: "preview";
5536
+ log: "log";
5537
+ chat: "chat";
5538
+ api: "api";
5539
+ }>>;
5540
+ inputMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
5541
+ outputStrategy: z.ZodOptional<z.ZodEnum<{
5542
+ "default-result-ontology": "default-result-ontology";
5543
+ "domain-ontology": "domain-ontology";
5544
+ "ledger-only": "ledger-only";
5545
+ "column-writeback": "column-writeback";
5546
+ }>>;
5547
+ }, z.core.$strict>], "kind">>;
5548
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
5549
+ cache: z.ZodOptional<z.ZodObject<{
5550
+ mode: z.ZodDefault<z.ZodEnum<{
5551
+ realtime: "realtime";
5552
+ cached: "cached";
5553
+ "stale-while-revalidate": "stale-while-revalidate";
5554
+ materialized: "materialized";
5555
+ }>>;
5556
+ ttlSeconds: z.ZodOptional<z.ZodNumber>;
5557
+ }, z.core.$strict>>;
5558
+ }, z.core.$strict>>;
5325
5559
  body: z.ZodType<import("./declarative-control").PageNode, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageNode, unknown>>;
5326
5560
  initialQueryPolicy: z.ZodOptional<z.ZodEnum<{
5327
5561
  auto: "auto";
@@ -7130,8 +7364,8 @@ export declare const DeclarativeCreateTemplateRegistrationSchema: z.ZodObject<{
7130
7364
  exact: z.ZodOptional<z.ZodBoolean>;
7131
7365
  includeTotals: z.ZodOptional<z.ZodBoolean>;
7132
7366
  timeBucket: z.ZodOptional<z.ZodObject<{
7133
- column: z.ZodString;
7134
- granularity: z.ZodEnum<{
7367
+ column: z.ZodOptional<z.ZodString>;
7368
+ unit: z.ZodEnum<{
7135
7369
  hour: "hour";
7136
7370
  day: "day";
7137
7371
  week: "week";
@@ -7139,7 +7373,7 @@ export declare const DeclarativeCreateTemplateRegistrationSchema: z.ZodObject<{
7139
7373
  quarter: "quarter";
7140
7374
  year: "year";
7141
7375
  }>;
7142
- timezone: z.ZodOptional<z.ZodString>;
7376
+ timeZone: z.ZodOptional<z.ZodString>;
7143
7377
  fillGaps: z.ZodOptional<z.ZodBoolean>;
7144
7378
  }, z.core.$strict>>;
7145
7379
  joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -7152,10 +7386,10 @@ export declare const DeclarativeCreateTemplateRegistrationSchema: z.ZodObject<{
7152
7386
  }>>;
7153
7387
  viaRelation: z.ZodOptional<z.ZodObject<{
7154
7388
  columnId: z.ZodString;
7155
- direction: z.ZodEnum<{
7389
+ direction: z.ZodOptional<z.ZodEnum<{
7156
7390
  outgoing: "outgoing";
7157
7391
  incoming: "incoming";
7158
- }>;
7392
+ }>>;
7159
7393
  }, z.core.$strict>>;
7160
7394
  onColumn: z.ZodOptional<z.ZodObject<{
7161
7395
  localColumnId: z.ZodString;
@@ -7166,18 +7400,19 @@ export declare const DeclarativeCreateTemplateRegistrationSchema: z.ZodObject<{
7166
7400
  hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
7167
7401
  targetAlias: z.ZodOptional<z.ZodString>;
7168
7402
  localColumnId: z.ZodOptional<z.ZodString>;
7169
- ontologyId: z.ZodString;
7403
+ ontologyId: z.ZodOptional<z.ZodString>;
7170
7404
  relationColumnId: z.ZodString;
7171
- direction: z.ZodEnum<{
7405
+ direction: z.ZodOptional<z.ZodEnum<{
7172
7406
  outgoing: "outgoing";
7173
7407
  incoming: "incoming";
7174
- }>;
7408
+ }>>;
7175
7409
  seedIds: z.ZodArray<z.ZodString>;
7176
7410
  maxDepth: z.ZodOptional<z.ZodNumber>;
7177
7411
  includeSelf: z.ZodOptional<z.ZodBoolean>;
7178
7412
  }, z.core.$strict>>>;
7179
7413
  unwind: z.ZodOptional<z.ZodObject<{
7180
7414
  columnId: z.ZodString;
7415
+ alias: z.ZodOptional<z.ZodString>;
7181
7416
  jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
7182
7417
  preserveEmpty: z.ZodOptional<z.ZodBoolean>;
7183
7418
  }, z.core.$strict>>;
@@ -7185,18 +7420,18 @@ export declare const DeclarativeCreateTemplateRegistrationSchema: z.ZodObject<{
7185
7420
  key: z.ZodString;
7186
7421
  op: z.ZodEnum<{
7187
7422
  eq: "eq";
7423
+ neq: "neq";
7188
7424
  gt: "gt";
7189
7425
  gte: "gte";
7190
7426
  lt: "lt";
7191
7427
  lte: "lte";
7192
- ne: "ne";
7193
7428
  }>;
7194
7429
  value: z.ZodNumber;
7195
7430
  }, z.core.$strict>>>;
7196
7431
  pagination: z.ZodOptional<z.ZodObject<{
7197
7432
  offset: z.ZodOptional<z.ZodNumber>;
7198
7433
  limit: z.ZodOptional<z.ZodNumber>;
7199
- includeTotalGroups: z.ZodOptional<z.ZodBoolean>;
7434
+ withGroupTotal: z.ZodOptional<z.ZodBoolean>;
7200
7435
  }, z.core.$strict>>;
7201
7436
  }, z.core.$strict>, z.ZodObject<{
7202
7437
  kind: z.ZodLiteral<"graph">;
@@ -14407,6 +14642,240 @@ export declare const ProductDeclarativeAuthoringCatalogSchema: z.ZodObject<{
14407
14642
  }, z.core.$strict>>;
14408
14643
  }, z.core.$strict>>>;
14409
14644
  shell: z.ZodOptional<z.ZodString>;
14645
+ data: z.ZodOptional<z.ZodObject<{
14646
+ statements: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
14647
+ kind: z.ZodLiteral<"select">;
14648
+ from: z.ZodObject<{
14649
+ source: z.ZodDefault<z.ZodEnum<{
14650
+ ontology: "ontology";
14651
+ "workflow-outputs": "workflow-outputs";
14652
+ telemetry: "telemetry";
14653
+ }>>;
14654
+ ontologyId: z.ZodString;
14655
+ workflowId: z.ZodOptional<z.ZodString>;
14656
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
14657
+ }, z.core.$strict>;
14658
+ select: z.ZodOptional<z.ZodObject<{
14659
+ baseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
14660
+ propertyColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
14661
+ featureColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
14662
+ tagGroupColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
14663
+ columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
14664
+ }, z.core.$strict>>;
14665
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
14666
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
14667
+ field: z.ZodString;
14668
+ kind: z.ZodDefault<z.ZodEnum<{
14669
+ feature: "feature";
14670
+ builtin: "builtin";
14671
+ }>>;
14672
+ direction: z.ZodDefault<z.ZodEnum<{
14673
+ asc: "asc";
14674
+ desc: "desc";
14675
+ }>>;
14676
+ nulls: z.ZodOptional<z.ZodEnum<{
14677
+ first: "first";
14678
+ last: "last";
14679
+ }>>;
14680
+ }, z.core.$strict>>>;
14681
+ limit: z.ZodOptional<z.ZodNumber>;
14682
+ }, z.core.$strict>, z.ZodObject<{
14683
+ kind: z.ZodLiteral<"aggregate">;
14684
+ from: z.ZodObject<{
14685
+ source: z.ZodDefault<z.ZodEnum<{
14686
+ ontology: "ontology";
14687
+ "workflow-outputs": "workflow-outputs";
14688
+ telemetry: "telemetry";
14689
+ }>>;
14690
+ ontologyId: z.ZodString;
14691
+ workflowId: z.ZodOptional<z.ZodString>;
14692
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
14693
+ }, z.core.$strict>;
14694
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
14695
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
14696
+ metrics: z.ZodArray<z.ZodObject<{
14697
+ alias: z.ZodString;
14698
+ fn: z.ZodEnum<{
14699
+ max: "max";
14700
+ count: "count";
14701
+ sum: "sum";
14702
+ avg: "avg";
14703
+ min: "min";
14704
+ distinct_count: "distinct_count";
14705
+ ratio: "ratio";
14706
+ count_distinct: "count_distinct";
14707
+ percentile: "percentile";
14708
+ trimmed_avg: "trimmed_avg";
14709
+ first_by: "first_by";
14710
+ last_by: "last_by";
14711
+ }>;
14712
+ fieldKey: z.ZodOptional<z.ZodString>;
14713
+ numeric: z.ZodOptional<z.ZodBoolean>;
14714
+ percentile: z.ZodOptional<z.ZodNumber>;
14715
+ trimTopPct: z.ZodOptional<z.ZodNumber>;
14716
+ orderColumnId: z.ZodOptional<z.ZodString>;
14717
+ filter: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
14718
+ }, z.core.$strict>>;
14719
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
14720
+ field: z.ZodString;
14721
+ kind: z.ZodDefault<z.ZodEnum<{
14722
+ feature: "feature";
14723
+ builtin: "builtin";
14724
+ }>>;
14725
+ direction: z.ZodDefault<z.ZodEnum<{
14726
+ asc: "asc";
14727
+ desc: "desc";
14728
+ }>>;
14729
+ nulls: z.ZodOptional<z.ZodEnum<{
14730
+ first: "first";
14731
+ last: "last";
14732
+ }>>;
14733
+ }, z.core.$strict>>>;
14734
+ limit: z.ZodOptional<z.ZodNumber>;
14735
+ engine: z.ZodOptional<z.ZodEnum<{
14736
+ auto: "auto";
14737
+ search: "search";
14738
+ canonical: "canonical";
14739
+ }>>;
14740
+ allTeams: z.ZodOptional<z.ZodBoolean>;
14741
+ exact: z.ZodOptional<z.ZodBoolean>;
14742
+ includeTotals: z.ZodOptional<z.ZodBoolean>;
14743
+ timeBucket: z.ZodOptional<z.ZodObject<{
14744
+ column: z.ZodOptional<z.ZodString>;
14745
+ unit: z.ZodEnum<{
14746
+ hour: "hour";
14747
+ day: "day";
14748
+ week: "week";
14749
+ month: "month";
14750
+ quarter: "quarter";
14751
+ year: "year";
14752
+ }>;
14753
+ timeZone: z.ZodOptional<z.ZodString>;
14754
+ fillGaps: z.ZodOptional<z.ZodBoolean>;
14755
+ }, z.core.$strict>>;
14756
+ joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
14757
+ alias: z.ZodString;
14758
+ ontologyId: z.ZodString;
14759
+ assetType: z.ZodOptional<z.ZodString>;
14760
+ joinType: z.ZodOptional<z.ZodEnum<{
14761
+ inner: "inner";
14762
+ left: "left";
14763
+ }>>;
14764
+ viaRelation: z.ZodOptional<z.ZodObject<{
14765
+ columnId: z.ZodString;
14766
+ direction: z.ZodOptional<z.ZodEnum<{
14767
+ outgoing: "outgoing";
14768
+ incoming: "incoming";
14769
+ }>>;
14770
+ }, z.core.$strict>>;
14771
+ onColumn: z.ZodOptional<z.ZodObject<{
14772
+ localColumnId: z.ZodString;
14773
+ foreignColumnId: z.ZodOptional<z.ZodString>;
14774
+ foreignAssetId: z.ZodOptional<z.ZodBoolean>;
14775
+ }, z.core.$strict>>;
14776
+ }, z.core.$strict>>>;
14777
+ hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
14778
+ targetAlias: z.ZodOptional<z.ZodString>;
14779
+ localColumnId: z.ZodOptional<z.ZodString>;
14780
+ ontologyId: z.ZodOptional<z.ZodString>;
14781
+ relationColumnId: z.ZodString;
14782
+ direction: z.ZodOptional<z.ZodEnum<{
14783
+ outgoing: "outgoing";
14784
+ incoming: "incoming";
14785
+ }>>;
14786
+ seedIds: z.ZodArray<z.ZodString>;
14787
+ maxDepth: z.ZodOptional<z.ZodNumber>;
14788
+ includeSelf: z.ZodOptional<z.ZodBoolean>;
14789
+ }, z.core.$strict>>>;
14790
+ unwind: z.ZodOptional<z.ZodObject<{
14791
+ columnId: z.ZodString;
14792
+ alias: z.ZodOptional<z.ZodString>;
14793
+ jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
14794
+ preserveEmpty: z.ZodOptional<z.ZodBoolean>;
14795
+ }, z.core.$strict>>;
14796
+ having: z.ZodOptional<z.ZodArray<z.ZodObject<{
14797
+ key: z.ZodString;
14798
+ op: z.ZodEnum<{
14799
+ eq: "eq";
14800
+ neq: "neq";
14801
+ gt: "gt";
14802
+ gte: "gte";
14803
+ lt: "lt";
14804
+ lte: "lte";
14805
+ }>;
14806
+ value: z.ZodNumber;
14807
+ }, z.core.$strict>>>;
14808
+ pagination: z.ZodOptional<z.ZodObject<{
14809
+ offset: z.ZodOptional<z.ZodNumber>;
14810
+ limit: z.ZodOptional<z.ZodNumber>;
14811
+ withGroupTotal: z.ZodOptional<z.ZodBoolean>;
14812
+ }, z.core.$strict>>;
14813
+ }, z.core.$strict>, z.ZodObject<{
14814
+ kind: z.ZodLiteral<"graph">;
14815
+ from: z.ZodObject<{
14816
+ source: z.ZodDefault<z.ZodEnum<{
14817
+ ontology: "ontology";
14818
+ "workflow-outputs": "workflow-outputs";
14819
+ telemetry: "telemetry";
14820
+ }>>;
14821
+ ontologyId: z.ZodString;
14822
+ workflowId: z.ZodOptional<z.ZodString>;
14823
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
14824
+ }, z.core.$strict>;
14825
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
14826
+ graph: z.ZodObject<{
14827
+ graphKind: z.ZodEnum<{
14828
+ schema: "schema";
14829
+ cooccurrence: "cooccurrence";
14830
+ "bipartite-cosine": "bipartite-cosine";
14831
+ "focus-star": "focus-star";
14832
+ "ontology-relation": "ontology-relation";
14833
+ "record-clustering": "record-clustering";
14834
+ "field-tag-hub": "field-tag-hub";
14835
+ }>;
14836
+ maxHops: z.ZodDefault<z.ZodNumber>;
14837
+ nodeLabelField: z.ZodOptional<z.ZodString>;
14838
+ edgeRelationFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
14839
+ }, z.core.$strict>;
14840
+ limit: z.ZodOptional<z.ZodNumber>;
14841
+ }, z.core.$strict>, z.ZodObject<{
14842
+ kind: z.ZodEnum<{
14843
+ insert: "insert";
14844
+ update: "update";
14845
+ delete: "delete";
14846
+ }>;
14847
+ ontologyId: z.ZodString;
14848
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
14849
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
14850
+ }, z.core.$strict>, z.ZodObject<{
14851
+ kind: z.ZodLiteral<"call">;
14852
+ workflowId: z.ZodString;
14853
+ pageType: z.ZodDefault<z.ZodEnum<{
14854
+ process: "process";
14855
+ preview: "preview";
14856
+ log: "log";
14857
+ chat: "chat";
14858
+ api: "api";
14859
+ }>>;
14860
+ inputMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
14861
+ outputStrategy: z.ZodOptional<z.ZodEnum<{
14862
+ "default-result-ontology": "default-result-ontology";
14863
+ "domain-ontology": "domain-ontology";
14864
+ "ledger-only": "ledger-only";
14865
+ "column-writeback": "column-writeback";
14866
+ }>>;
14867
+ }, z.core.$strict>], "kind">>;
14868
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
14869
+ cache: z.ZodOptional<z.ZodObject<{
14870
+ mode: z.ZodDefault<z.ZodEnum<{
14871
+ realtime: "realtime";
14872
+ cached: "cached";
14873
+ "stale-while-revalidate": "stale-while-revalidate";
14874
+ materialized: "materialized";
14875
+ }>>;
14876
+ ttlSeconds: z.ZodOptional<z.ZodNumber>;
14877
+ }, z.core.$strict>>;
14878
+ }, z.core.$strict>>;
14410
14879
  body: z.ZodType<import("./declarative-control").PageNode, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageNode, unknown>>;
14411
14880
  initialQueryPolicy: z.ZodOptional<z.ZodEnum<{
14412
14881
  auto: "auto";
@@ -16215,8 +16684,8 @@ export declare const ProductDeclarativeAuthoringCatalogSchema: z.ZodObject<{
16215
16684
  exact: z.ZodOptional<z.ZodBoolean>;
16216
16685
  includeTotals: z.ZodOptional<z.ZodBoolean>;
16217
16686
  timeBucket: z.ZodOptional<z.ZodObject<{
16218
- column: z.ZodString;
16219
- granularity: z.ZodEnum<{
16687
+ column: z.ZodOptional<z.ZodString>;
16688
+ unit: z.ZodEnum<{
16220
16689
  hour: "hour";
16221
16690
  day: "day";
16222
16691
  week: "week";
@@ -16224,7 +16693,7 @@ export declare const ProductDeclarativeAuthoringCatalogSchema: z.ZodObject<{
16224
16693
  quarter: "quarter";
16225
16694
  year: "year";
16226
16695
  }>;
16227
- timezone: z.ZodOptional<z.ZodString>;
16696
+ timeZone: z.ZodOptional<z.ZodString>;
16228
16697
  fillGaps: z.ZodOptional<z.ZodBoolean>;
16229
16698
  }, z.core.$strict>>;
16230
16699
  joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -16237,10 +16706,10 @@ export declare const ProductDeclarativeAuthoringCatalogSchema: z.ZodObject<{
16237
16706
  }>>;
16238
16707
  viaRelation: z.ZodOptional<z.ZodObject<{
16239
16708
  columnId: z.ZodString;
16240
- direction: z.ZodEnum<{
16709
+ direction: z.ZodOptional<z.ZodEnum<{
16241
16710
  outgoing: "outgoing";
16242
16711
  incoming: "incoming";
16243
- }>;
16712
+ }>>;
16244
16713
  }, z.core.$strict>>;
16245
16714
  onColumn: z.ZodOptional<z.ZodObject<{
16246
16715
  localColumnId: z.ZodString;
@@ -16251,18 +16720,19 @@ export declare const ProductDeclarativeAuthoringCatalogSchema: z.ZodObject<{
16251
16720
  hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
16252
16721
  targetAlias: z.ZodOptional<z.ZodString>;
16253
16722
  localColumnId: z.ZodOptional<z.ZodString>;
16254
- ontologyId: z.ZodString;
16723
+ ontologyId: z.ZodOptional<z.ZodString>;
16255
16724
  relationColumnId: z.ZodString;
16256
- direction: z.ZodEnum<{
16725
+ direction: z.ZodOptional<z.ZodEnum<{
16257
16726
  outgoing: "outgoing";
16258
16727
  incoming: "incoming";
16259
- }>;
16728
+ }>>;
16260
16729
  seedIds: z.ZodArray<z.ZodString>;
16261
16730
  maxDepth: z.ZodOptional<z.ZodNumber>;
16262
16731
  includeSelf: z.ZodOptional<z.ZodBoolean>;
16263
16732
  }, z.core.$strict>>>;
16264
16733
  unwind: z.ZodOptional<z.ZodObject<{
16265
16734
  columnId: z.ZodString;
16735
+ alias: z.ZodOptional<z.ZodString>;
16266
16736
  jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
16267
16737
  preserveEmpty: z.ZodOptional<z.ZodBoolean>;
16268
16738
  }, z.core.$strict>>;
@@ -16270,18 +16740,18 @@ export declare const ProductDeclarativeAuthoringCatalogSchema: z.ZodObject<{
16270
16740
  key: z.ZodString;
16271
16741
  op: z.ZodEnum<{
16272
16742
  eq: "eq";
16743
+ neq: "neq";
16273
16744
  gt: "gt";
16274
16745
  gte: "gte";
16275
16746
  lt: "lt";
16276
16747
  lte: "lte";
16277
- ne: "ne";
16278
16748
  }>;
16279
16749
  value: z.ZodNumber;
16280
16750
  }, z.core.$strict>>>;
16281
16751
  pagination: z.ZodOptional<z.ZodObject<{
16282
16752
  offset: z.ZodOptional<z.ZodNumber>;
16283
16753
  limit: z.ZodOptional<z.ZodNumber>;
16284
- includeTotalGroups: z.ZodOptional<z.ZodBoolean>;
16754
+ withGroupTotal: z.ZodOptional<z.ZodBoolean>;
16285
16755
  }, z.core.$strict>>;
16286
16756
  }, z.core.$strict>, z.ZodObject<{
16287
16757
  kind: z.ZodLiteral<"graph">;
@@ -24033,6 +24503,240 @@ export declare const DeclarativeCreateTemplateChoiceSchema: z.ZodObject<{
24033
24503
  }, z.core.$strict>>;
24034
24504
  }, z.core.$strict>>>;
24035
24505
  shell: z.ZodOptional<z.ZodString>;
24506
+ data: z.ZodOptional<z.ZodObject<{
24507
+ statements: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
24508
+ kind: z.ZodLiteral<"select">;
24509
+ from: z.ZodObject<{
24510
+ source: z.ZodDefault<z.ZodEnum<{
24511
+ ontology: "ontology";
24512
+ "workflow-outputs": "workflow-outputs";
24513
+ telemetry: "telemetry";
24514
+ }>>;
24515
+ ontologyId: z.ZodString;
24516
+ workflowId: z.ZodOptional<z.ZodString>;
24517
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
24518
+ }, z.core.$strict>;
24519
+ select: z.ZodOptional<z.ZodObject<{
24520
+ baseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
24521
+ propertyColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
24522
+ featureColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
24523
+ tagGroupColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
24524
+ columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
24525
+ }, z.core.$strict>>;
24526
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
24527
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
24528
+ field: z.ZodString;
24529
+ kind: z.ZodDefault<z.ZodEnum<{
24530
+ feature: "feature";
24531
+ builtin: "builtin";
24532
+ }>>;
24533
+ direction: z.ZodDefault<z.ZodEnum<{
24534
+ asc: "asc";
24535
+ desc: "desc";
24536
+ }>>;
24537
+ nulls: z.ZodOptional<z.ZodEnum<{
24538
+ first: "first";
24539
+ last: "last";
24540
+ }>>;
24541
+ }, z.core.$strict>>>;
24542
+ limit: z.ZodOptional<z.ZodNumber>;
24543
+ }, z.core.$strict>, z.ZodObject<{
24544
+ kind: z.ZodLiteral<"aggregate">;
24545
+ from: z.ZodObject<{
24546
+ source: z.ZodDefault<z.ZodEnum<{
24547
+ ontology: "ontology";
24548
+ "workflow-outputs": "workflow-outputs";
24549
+ telemetry: "telemetry";
24550
+ }>>;
24551
+ ontologyId: z.ZodString;
24552
+ workflowId: z.ZodOptional<z.ZodString>;
24553
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
24554
+ }, z.core.$strict>;
24555
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
24556
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
24557
+ metrics: z.ZodArray<z.ZodObject<{
24558
+ alias: z.ZodString;
24559
+ fn: z.ZodEnum<{
24560
+ max: "max";
24561
+ count: "count";
24562
+ sum: "sum";
24563
+ avg: "avg";
24564
+ min: "min";
24565
+ distinct_count: "distinct_count";
24566
+ ratio: "ratio";
24567
+ count_distinct: "count_distinct";
24568
+ percentile: "percentile";
24569
+ trimmed_avg: "trimmed_avg";
24570
+ first_by: "first_by";
24571
+ last_by: "last_by";
24572
+ }>;
24573
+ fieldKey: z.ZodOptional<z.ZodString>;
24574
+ numeric: z.ZodOptional<z.ZodBoolean>;
24575
+ percentile: z.ZodOptional<z.ZodNumber>;
24576
+ trimTopPct: z.ZodOptional<z.ZodNumber>;
24577
+ orderColumnId: z.ZodOptional<z.ZodString>;
24578
+ filter: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
24579
+ }, z.core.$strict>>;
24580
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
24581
+ field: z.ZodString;
24582
+ kind: z.ZodDefault<z.ZodEnum<{
24583
+ feature: "feature";
24584
+ builtin: "builtin";
24585
+ }>>;
24586
+ direction: z.ZodDefault<z.ZodEnum<{
24587
+ asc: "asc";
24588
+ desc: "desc";
24589
+ }>>;
24590
+ nulls: z.ZodOptional<z.ZodEnum<{
24591
+ first: "first";
24592
+ last: "last";
24593
+ }>>;
24594
+ }, z.core.$strict>>>;
24595
+ limit: z.ZodOptional<z.ZodNumber>;
24596
+ engine: z.ZodOptional<z.ZodEnum<{
24597
+ auto: "auto";
24598
+ search: "search";
24599
+ canonical: "canonical";
24600
+ }>>;
24601
+ allTeams: z.ZodOptional<z.ZodBoolean>;
24602
+ exact: z.ZodOptional<z.ZodBoolean>;
24603
+ includeTotals: z.ZodOptional<z.ZodBoolean>;
24604
+ timeBucket: z.ZodOptional<z.ZodObject<{
24605
+ column: z.ZodOptional<z.ZodString>;
24606
+ unit: z.ZodEnum<{
24607
+ hour: "hour";
24608
+ day: "day";
24609
+ week: "week";
24610
+ month: "month";
24611
+ quarter: "quarter";
24612
+ year: "year";
24613
+ }>;
24614
+ timeZone: z.ZodOptional<z.ZodString>;
24615
+ fillGaps: z.ZodOptional<z.ZodBoolean>;
24616
+ }, z.core.$strict>>;
24617
+ joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
24618
+ alias: z.ZodString;
24619
+ ontologyId: z.ZodString;
24620
+ assetType: z.ZodOptional<z.ZodString>;
24621
+ joinType: z.ZodOptional<z.ZodEnum<{
24622
+ inner: "inner";
24623
+ left: "left";
24624
+ }>>;
24625
+ viaRelation: z.ZodOptional<z.ZodObject<{
24626
+ columnId: z.ZodString;
24627
+ direction: z.ZodOptional<z.ZodEnum<{
24628
+ outgoing: "outgoing";
24629
+ incoming: "incoming";
24630
+ }>>;
24631
+ }, z.core.$strict>>;
24632
+ onColumn: z.ZodOptional<z.ZodObject<{
24633
+ localColumnId: z.ZodString;
24634
+ foreignColumnId: z.ZodOptional<z.ZodString>;
24635
+ foreignAssetId: z.ZodOptional<z.ZodBoolean>;
24636
+ }, z.core.$strict>>;
24637
+ }, z.core.$strict>>>;
24638
+ hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
24639
+ targetAlias: z.ZodOptional<z.ZodString>;
24640
+ localColumnId: z.ZodOptional<z.ZodString>;
24641
+ ontologyId: z.ZodOptional<z.ZodString>;
24642
+ relationColumnId: z.ZodString;
24643
+ direction: z.ZodOptional<z.ZodEnum<{
24644
+ outgoing: "outgoing";
24645
+ incoming: "incoming";
24646
+ }>>;
24647
+ seedIds: z.ZodArray<z.ZodString>;
24648
+ maxDepth: z.ZodOptional<z.ZodNumber>;
24649
+ includeSelf: z.ZodOptional<z.ZodBoolean>;
24650
+ }, z.core.$strict>>>;
24651
+ unwind: z.ZodOptional<z.ZodObject<{
24652
+ columnId: z.ZodString;
24653
+ alias: z.ZodOptional<z.ZodString>;
24654
+ jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
24655
+ preserveEmpty: z.ZodOptional<z.ZodBoolean>;
24656
+ }, z.core.$strict>>;
24657
+ having: z.ZodOptional<z.ZodArray<z.ZodObject<{
24658
+ key: z.ZodString;
24659
+ op: z.ZodEnum<{
24660
+ eq: "eq";
24661
+ neq: "neq";
24662
+ gt: "gt";
24663
+ gte: "gte";
24664
+ lt: "lt";
24665
+ lte: "lte";
24666
+ }>;
24667
+ value: z.ZodNumber;
24668
+ }, z.core.$strict>>>;
24669
+ pagination: z.ZodOptional<z.ZodObject<{
24670
+ offset: z.ZodOptional<z.ZodNumber>;
24671
+ limit: z.ZodOptional<z.ZodNumber>;
24672
+ withGroupTotal: z.ZodOptional<z.ZodBoolean>;
24673
+ }, z.core.$strict>>;
24674
+ }, z.core.$strict>, z.ZodObject<{
24675
+ kind: z.ZodLiteral<"graph">;
24676
+ from: z.ZodObject<{
24677
+ source: z.ZodDefault<z.ZodEnum<{
24678
+ ontology: "ontology";
24679
+ "workflow-outputs": "workflow-outputs";
24680
+ telemetry: "telemetry";
24681
+ }>>;
24682
+ ontologyId: z.ZodString;
24683
+ workflowId: z.ZodOptional<z.ZodString>;
24684
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
24685
+ }, z.core.$strict>;
24686
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
24687
+ graph: z.ZodObject<{
24688
+ graphKind: z.ZodEnum<{
24689
+ schema: "schema";
24690
+ cooccurrence: "cooccurrence";
24691
+ "bipartite-cosine": "bipartite-cosine";
24692
+ "focus-star": "focus-star";
24693
+ "ontology-relation": "ontology-relation";
24694
+ "record-clustering": "record-clustering";
24695
+ "field-tag-hub": "field-tag-hub";
24696
+ }>;
24697
+ maxHops: z.ZodDefault<z.ZodNumber>;
24698
+ nodeLabelField: z.ZodOptional<z.ZodString>;
24699
+ edgeRelationFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
24700
+ }, z.core.$strict>;
24701
+ limit: z.ZodOptional<z.ZodNumber>;
24702
+ }, z.core.$strict>, z.ZodObject<{
24703
+ kind: z.ZodEnum<{
24704
+ insert: "insert";
24705
+ update: "update";
24706
+ delete: "delete";
24707
+ }>;
24708
+ ontologyId: z.ZodString;
24709
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
24710
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
24711
+ }, z.core.$strict>, z.ZodObject<{
24712
+ kind: z.ZodLiteral<"call">;
24713
+ workflowId: z.ZodString;
24714
+ pageType: z.ZodDefault<z.ZodEnum<{
24715
+ process: "process";
24716
+ preview: "preview";
24717
+ log: "log";
24718
+ chat: "chat";
24719
+ api: "api";
24720
+ }>>;
24721
+ inputMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
24722
+ outputStrategy: z.ZodOptional<z.ZodEnum<{
24723
+ "default-result-ontology": "default-result-ontology";
24724
+ "domain-ontology": "domain-ontology";
24725
+ "ledger-only": "ledger-only";
24726
+ "column-writeback": "column-writeback";
24727
+ }>>;
24728
+ }, z.core.$strict>], "kind">>;
24729
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
24730
+ cache: z.ZodOptional<z.ZodObject<{
24731
+ mode: z.ZodDefault<z.ZodEnum<{
24732
+ realtime: "realtime";
24733
+ cached: "cached";
24734
+ "stale-while-revalidate": "stale-while-revalidate";
24735
+ materialized: "materialized";
24736
+ }>>;
24737
+ ttlSeconds: z.ZodOptional<z.ZodNumber>;
24738
+ }, z.core.$strict>>;
24739
+ }, z.core.$strict>>;
24036
24740
  body: z.ZodType<import("./declarative-control").PageNode, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageNode, unknown>>;
24037
24741
  initialQueryPolicy: z.ZodOptional<z.ZodEnum<{
24038
24742
  auto: "auto";
@@ -25841,8 +26545,8 @@ export declare const DeclarativeCreateTemplateChoiceSchema: z.ZodObject<{
25841
26545
  exact: z.ZodOptional<z.ZodBoolean>;
25842
26546
  includeTotals: z.ZodOptional<z.ZodBoolean>;
25843
26547
  timeBucket: z.ZodOptional<z.ZodObject<{
25844
- column: z.ZodString;
25845
- granularity: z.ZodEnum<{
26548
+ column: z.ZodOptional<z.ZodString>;
26549
+ unit: z.ZodEnum<{
25846
26550
  hour: "hour";
25847
26551
  day: "day";
25848
26552
  week: "week";
@@ -25850,7 +26554,7 @@ export declare const DeclarativeCreateTemplateChoiceSchema: z.ZodObject<{
25850
26554
  quarter: "quarter";
25851
26555
  year: "year";
25852
26556
  }>;
25853
- timezone: z.ZodOptional<z.ZodString>;
26557
+ timeZone: z.ZodOptional<z.ZodString>;
25854
26558
  fillGaps: z.ZodOptional<z.ZodBoolean>;
25855
26559
  }, z.core.$strict>>;
25856
26560
  joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -25863,10 +26567,10 @@ export declare const DeclarativeCreateTemplateChoiceSchema: z.ZodObject<{
25863
26567
  }>>;
25864
26568
  viaRelation: z.ZodOptional<z.ZodObject<{
25865
26569
  columnId: z.ZodString;
25866
- direction: z.ZodEnum<{
26570
+ direction: z.ZodOptional<z.ZodEnum<{
25867
26571
  outgoing: "outgoing";
25868
26572
  incoming: "incoming";
25869
- }>;
26573
+ }>>;
25870
26574
  }, z.core.$strict>>;
25871
26575
  onColumn: z.ZodOptional<z.ZodObject<{
25872
26576
  localColumnId: z.ZodString;
@@ -25877,18 +26581,19 @@ export declare const DeclarativeCreateTemplateChoiceSchema: z.ZodObject<{
25877
26581
  hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
25878
26582
  targetAlias: z.ZodOptional<z.ZodString>;
25879
26583
  localColumnId: z.ZodOptional<z.ZodString>;
25880
- ontologyId: z.ZodString;
26584
+ ontologyId: z.ZodOptional<z.ZodString>;
25881
26585
  relationColumnId: z.ZodString;
25882
- direction: z.ZodEnum<{
26586
+ direction: z.ZodOptional<z.ZodEnum<{
25883
26587
  outgoing: "outgoing";
25884
26588
  incoming: "incoming";
25885
- }>;
26589
+ }>>;
25886
26590
  seedIds: z.ZodArray<z.ZodString>;
25887
26591
  maxDepth: z.ZodOptional<z.ZodNumber>;
25888
26592
  includeSelf: z.ZodOptional<z.ZodBoolean>;
25889
26593
  }, z.core.$strict>>>;
25890
26594
  unwind: z.ZodOptional<z.ZodObject<{
25891
26595
  columnId: z.ZodString;
26596
+ alias: z.ZodOptional<z.ZodString>;
25892
26597
  jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
25893
26598
  preserveEmpty: z.ZodOptional<z.ZodBoolean>;
25894
26599
  }, z.core.$strict>>;
@@ -25896,18 +26601,18 @@ export declare const DeclarativeCreateTemplateChoiceSchema: z.ZodObject<{
25896
26601
  key: z.ZodString;
25897
26602
  op: z.ZodEnum<{
25898
26603
  eq: "eq";
26604
+ neq: "neq";
25899
26605
  gt: "gt";
25900
26606
  gte: "gte";
25901
26607
  lt: "lt";
25902
26608
  lte: "lte";
25903
- ne: "ne";
25904
26609
  }>;
25905
26610
  value: z.ZodNumber;
25906
26611
  }, z.core.$strict>>>;
25907
26612
  pagination: z.ZodOptional<z.ZodObject<{
25908
26613
  offset: z.ZodOptional<z.ZodNumber>;
25909
26614
  limit: z.ZodOptional<z.ZodNumber>;
25910
- includeTotalGroups: z.ZodOptional<z.ZodBoolean>;
26615
+ withGroupTotal: z.ZodOptional<z.ZodBoolean>;
25911
26616
  }, z.core.$strict>>;
25912
26617
  }, z.core.$strict>, z.ZodObject<{
25913
26618
  kind: z.ZodLiteral<"graph">;
@@ -33267,6 +33972,240 @@ export declare const DeclarativeDocumentSchema: z.ZodUnion<readonly [z.ZodObject
33267
33972
  }, z.core.$strict>>;
33268
33973
  }, z.core.$strict>>>;
33269
33974
  shell: z.ZodOptional<z.ZodString>;
33975
+ data: z.ZodOptional<z.ZodObject<{
33976
+ statements: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
33977
+ kind: z.ZodLiteral<"select">;
33978
+ from: z.ZodObject<{
33979
+ source: z.ZodDefault<z.ZodEnum<{
33980
+ ontology: "ontology";
33981
+ "workflow-outputs": "workflow-outputs";
33982
+ telemetry: "telemetry";
33983
+ }>>;
33984
+ ontologyId: z.ZodString;
33985
+ workflowId: z.ZodOptional<z.ZodString>;
33986
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
33987
+ }, z.core.$strict>;
33988
+ select: z.ZodOptional<z.ZodObject<{
33989
+ baseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
33990
+ propertyColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
33991
+ featureColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
33992
+ tagGroupColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
33993
+ columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
33994
+ }, z.core.$strict>>;
33995
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
33996
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
33997
+ field: z.ZodString;
33998
+ kind: z.ZodDefault<z.ZodEnum<{
33999
+ feature: "feature";
34000
+ builtin: "builtin";
34001
+ }>>;
34002
+ direction: z.ZodDefault<z.ZodEnum<{
34003
+ asc: "asc";
34004
+ desc: "desc";
34005
+ }>>;
34006
+ nulls: z.ZodOptional<z.ZodEnum<{
34007
+ first: "first";
34008
+ last: "last";
34009
+ }>>;
34010
+ }, z.core.$strict>>>;
34011
+ limit: z.ZodOptional<z.ZodNumber>;
34012
+ }, z.core.$strict>, z.ZodObject<{
34013
+ kind: z.ZodLiteral<"aggregate">;
34014
+ from: z.ZodObject<{
34015
+ source: z.ZodDefault<z.ZodEnum<{
34016
+ ontology: "ontology";
34017
+ "workflow-outputs": "workflow-outputs";
34018
+ telemetry: "telemetry";
34019
+ }>>;
34020
+ ontologyId: z.ZodString;
34021
+ workflowId: z.ZodOptional<z.ZodString>;
34022
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
34023
+ }, z.core.$strict>;
34024
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
34025
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
34026
+ metrics: z.ZodArray<z.ZodObject<{
34027
+ alias: z.ZodString;
34028
+ fn: z.ZodEnum<{
34029
+ max: "max";
34030
+ count: "count";
34031
+ sum: "sum";
34032
+ avg: "avg";
34033
+ min: "min";
34034
+ distinct_count: "distinct_count";
34035
+ ratio: "ratio";
34036
+ count_distinct: "count_distinct";
34037
+ percentile: "percentile";
34038
+ trimmed_avg: "trimmed_avg";
34039
+ first_by: "first_by";
34040
+ last_by: "last_by";
34041
+ }>;
34042
+ fieldKey: z.ZodOptional<z.ZodString>;
34043
+ numeric: z.ZodOptional<z.ZodBoolean>;
34044
+ percentile: z.ZodOptional<z.ZodNumber>;
34045
+ trimTopPct: z.ZodOptional<z.ZodNumber>;
34046
+ orderColumnId: z.ZodOptional<z.ZodString>;
34047
+ filter: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
34048
+ }, z.core.$strict>>;
34049
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
34050
+ field: z.ZodString;
34051
+ kind: z.ZodDefault<z.ZodEnum<{
34052
+ feature: "feature";
34053
+ builtin: "builtin";
34054
+ }>>;
34055
+ direction: z.ZodDefault<z.ZodEnum<{
34056
+ asc: "asc";
34057
+ desc: "desc";
34058
+ }>>;
34059
+ nulls: z.ZodOptional<z.ZodEnum<{
34060
+ first: "first";
34061
+ last: "last";
34062
+ }>>;
34063
+ }, z.core.$strict>>>;
34064
+ limit: z.ZodOptional<z.ZodNumber>;
34065
+ engine: z.ZodOptional<z.ZodEnum<{
34066
+ auto: "auto";
34067
+ search: "search";
34068
+ canonical: "canonical";
34069
+ }>>;
34070
+ allTeams: z.ZodOptional<z.ZodBoolean>;
34071
+ exact: z.ZodOptional<z.ZodBoolean>;
34072
+ includeTotals: z.ZodOptional<z.ZodBoolean>;
34073
+ timeBucket: z.ZodOptional<z.ZodObject<{
34074
+ column: z.ZodOptional<z.ZodString>;
34075
+ unit: z.ZodEnum<{
34076
+ hour: "hour";
34077
+ day: "day";
34078
+ week: "week";
34079
+ month: "month";
34080
+ quarter: "quarter";
34081
+ year: "year";
34082
+ }>;
34083
+ timeZone: z.ZodOptional<z.ZodString>;
34084
+ fillGaps: z.ZodOptional<z.ZodBoolean>;
34085
+ }, z.core.$strict>>;
34086
+ joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
34087
+ alias: z.ZodString;
34088
+ ontologyId: z.ZodString;
34089
+ assetType: z.ZodOptional<z.ZodString>;
34090
+ joinType: z.ZodOptional<z.ZodEnum<{
34091
+ inner: "inner";
34092
+ left: "left";
34093
+ }>>;
34094
+ viaRelation: z.ZodOptional<z.ZodObject<{
34095
+ columnId: z.ZodString;
34096
+ direction: z.ZodOptional<z.ZodEnum<{
34097
+ outgoing: "outgoing";
34098
+ incoming: "incoming";
34099
+ }>>;
34100
+ }, z.core.$strict>>;
34101
+ onColumn: z.ZodOptional<z.ZodObject<{
34102
+ localColumnId: z.ZodString;
34103
+ foreignColumnId: z.ZodOptional<z.ZodString>;
34104
+ foreignAssetId: z.ZodOptional<z.ZodBoolean>;
34105
+ }, z.core.$strict>>;
34106
+ }, z.core.$strict>>>;
34107
+ hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
34108
+ targetAlias: z.ZodOptional<z.ZodString>;
34109
+ localColumnId: z.ZodOptional<z.ZodString>;
34110
+ ontologyId: z.ZodOptional<z.ZodString>;
34111
+ relationColumnId: z.ZodString;
34112
+ direction: z.ZodOptional<z.ZodEnum<{
34113
+ outgoing: "outgoing";
34114
+ incoming: "incoming";
34115
+ }>>;
34116
+ seedIds: z.ZodArray<z.ZodString>;
34117
+ maxDepth: z.ZodOptional<z.ZodNumber>;
34118
+ includeSelf: z.ZodOptional<z.ZodBoolean>;
34119
+ }, z.core.$strict>>>;
34120
+ unwind: z.ZodOptional<z.ZodObject<{
34121
+ columnId: z.ZodString;
34122
+ alias: z.ZodOptional<z.ZodString>;
34123
+ jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
34124
+ preserveEmpty: z.ZodOptional<z.ZodBoolean>;
34125
+ }, z.core.$strict>>;
34126
+ having: z.ZodOptional<z.ZodArray<z.ZodObject<{
34127
+ key: z.ZodString;
34128
+ op: z.ZodEnum<{
34129
+ eq: "eq";
34130
+ neq: "neq";
34131
+ gt: "gt";
34132
+ gte: "gte";
34133
+ lt: "lt";
34134
+ lte: "lte";
34135
+ }>;
34136
+ value: z.ZodNumber;
34137
+ }, z.core.$strict>>>;
34138
+ pagination: z.ZodOptional<z.ZodObject<{
34139
+ offset: z.ZodOptional<z.ZodNumber>;
34140
+ limit: z.ZodOptional<z.ZodNumber>;
34141
+ withGroupTotal: z.ZodOptional<z.ZodBoolean>;
34142
+ }, z.core.$strict>>;
34143
+ }, z.core.$strict>, z.ZodObject<{
34144
+ kind: z.ZodLiteral<"graph">;
34145
+ from: z.ZodObject<{
34146
+ source: z.ZodDefault<z.ZodEnum<{
34147
+ ontology: "ontology";
34148
+ "workflow-outputs": "workflow-outputs";
34149
+ telemetry: "telemetry";
34150
+ }>>;
34151
+ ontologyId: z.ZodString;
34152
+ workflowId: z.ZodOptional<z.ZodString>;
34153
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
34154
+ }, z.core.$strict>;
34155
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
34156
+ graph: z.ZodObject<{
34157
+ graphKind: z.ZodEnum<{
34158
+ schema: "schema";
34159
+ cooccurrence: "cooccurrence";
34160
+ "bipartite-cosine": "bipartite-cosine";
34161
+ "focus-star": "focus-star";
34162
+ "ontology-relation": "ontology-relation";
34163
+ "record-clustering": "record-clustering";
34164
+ "field-tag-hub": "field-tag-hub";
34165
+ }>;
34166
+ maxHops: z.ZodDefault<z.ZodNumber>;
34167
+ nodeLabelField: z.ZodOptional<z.ZodString>;
34168
+ edgeRelationFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
34169
+ }, z.core.$strict>;
34170
+ limit: z.ZodOptional<z.ZodNumber>;
34171
+ }, z.core.$strict>, z.ZodObject<{
34172
+ kind: z.ZodEnum<{
34173
+ insert: "insert";
34174
+ update: "update";
34175
+ delete: "delete";
34176
+ }>;
34177
+ ontologyId: z.ZodString;
34178
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
34179
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
34180
+ }, z.core.$strict>, z.ZodObject<{
34181
+ kind: z.ZodLiteral<"call">;
34182
+ workflowId: z.ZodString;
34183
+ pageType: z.ZodDefault<z.ZodEnum<{
34184
+ process: "process";
34185
+ preview: "preview";
34186
+ log: "log";
34187
+ chat: "chat";
34188
+ api: "api";
34189
+ }>>;
34190
+ inputMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
34191
+ outputStrategy: z.ZodOptional<z.ZodEnum<{
34192
+ "default-result-ontology": "default-result-ontology";
34193
+ "domain-ontology": "domain-ontology";
34194
+ "ledger-only": "ledger-only";
34195
+ "column-writeback": "column-writeback";
34196
+ }>>;
34197
+ }, z.core.$strict>], "kind">>;
34198
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
34199
+ cache: z.ZodOptional<z.ZodObject<{
34200
+ mode: z.ZodDefault<z.ZodEnum<{
34201
+ realtime: "realtime";
34202
+ cached: "cached";
34203
+ "stale-while-revalidate": "stale-while-revalidate";
34204
+ materialized: "materialized";
34205
+ }>>;
34206
+ ttlSeconds: z.ZodOptional<z.ZodNumber>;
34207
+ }, z.core.$strict>>;
34208
+ }, z.core.$strict>>;
33270
34209
  body: z.ZodType<import("./declarative-control").PageNode, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageNode, unknown>>;
33271
34210
  initialQueryPolicy: z.ZodOptional<z.ZodEnum<{
33272
34211
  auto: "auto";
@@ -35075,8 +36014,8 @@ export declare const DeclarativeDocumentSchema: z.ZodUnion<readonly [z.ZodObject
35075
36014
  exact: z.ZodOptional<z.ZodBoolean>;
35076
36015
  includeTotals: z.ZodOptional<z.ZodBoolean>;
35077
36016
  timeBucket: z.ZodOptional<z.ZodObject<{
35078
- column: z.ZodString;
35079
- granularity: z.ZodEnum<{
36017
+ column: z.ZodOptional<z.ZodString>;
36018
+ unit: z.ZodEnum<{
35080
36019
  hour: "hour";
35081
36020
  day: "day";
35082
36021
  week: "week";
@@ -35084,7 +36023,7 @@ export declare const DeclarativeDocumentSchema: z.ZodUnion<readonly [z.ZodObject
35084
36023
  quarter: "quarter";
35085
36024
  year: "year";
35086
36025
  }>;
35087
- timezone: z.ZodOptional<z.ZodString>;
36026
+ timeZone: z.ZodOptional<z.ZodString>;
35088
36027
  fillGaps: z.ZodOptional<z.ZodBoolean>;
35089
36028
  }, z.core.$strict>>;
35090
36029
  joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -35097,10 +36036,10 @@ export declare const DeclarativeDocumentSchema: z.ZodUnion<readonly [z.ZodObject
35097
36036
  }>>;
35098
36037
  viaRelation: z.ZodOptional<z.ZodObject<{
35099
36038
  columnId: z.ZodString;
35100
- direction: z.ZodEnum<{
36039
+ direction: z.ZodOptional<z.ZodEnum<{
35101
36040
  outgoing: "outgoing";
35102
36041
  incoming: "incoming";
35103
- }>;
36042
+ }>>;
35104
36043
  }, z.core.$strict>>;
35105
36044
  onColumn: z.ZodOptional<z.ZodObject<{
35106
36045
  localColumnId: z.ZodString;
@@ -35111,18 +36050,19 @@ export declare const DeclarativeDocumentSchema: z.ZodUnion<readonly [z.ZodObject
35111
36050
  hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
35112
36051
  targetAlias: z.ZodOptional<z.ZodString>;
35113
36052
  localColumnId: z.ZodOptional<z.ZodString>;
35114
- ontologyId: z.ZodString;
36053
+ ontologyId: z.ZodOptional<z.ZodString>;
35115
36054
  relationColumnId: z.ZodString;
35116
- direction: z.ZodEnum<{
36055
+ direction: z.ZodOptional<z.ZodEnum<{
35117
36056
  outgoing: "outgoing";
35118
36057
  incoming: "incoming";
35119
- }>;
36058
+ }>>;
35120
36059
  seedIds: z.ZodArray<z.ZodString>;
35121
36060
  maxDepth: z.ZodOptional<z.ZodNumber>;
35122
36061
  includeSelf: z.ZodOptional<z.ZodBoolean>;
35123
36062
  }, z.core.$strict>>>;
35124
36063
  unwind: z.ZodOptional<z.ZodObject<{
35125
36064
  columnId: z.ZodString;
36065
+ alias: z.ZodOptional<z.ZodString>;
35126
36066
  jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
35127
36067
  preserveEmpty: z.ZodOptional<z.ZodBoolean>;
35128
36068
  }, z.core.$strict>>;
@@ -35130,18 +36070,18 @@ export declare const DeclarativeDocumentSchema: z.ZodUnion<readonly [z.ZodObject
35130
36070
  key: z.ZodString;
35131
36071
  op: z.ZodEnum<{
35132
36072
  eq: "eq";
36073
+ neq: "neq";
35133
36074
  gt: "gt";
35134
36075
  gte: "gte";
35135
36076
  lt: "lt";
35136
36077
  lte: "lte";
35137
- ne: "ne";
35138
36078
  }>;
35139
36079
  value: z.ZodNumber;
35140
36080
  }, z.core.$strict>>>;
35141
36081
  pagination: z.ZodOptional<z.ZodObject<{
35142
36082
  offset: z.ZodOptional<z.ZodNumber>;
35143
36083
  limit: z.ZodOptional<z.ZodNumber>;
35144
- includeTotalGroups: z.ZodOptional<z.ZodBoolean>;
36084
+ withGroupTotal: z.ZodOptional<z.ZodBoolean>;
35145
36085
  }, z.core.$strict>>;
35146
36086
  }, z.core.$strict>, z.ZodObject<{
35147
36087
  kind: z.ZodLiteral<"graph">;
@@ -41424,6 +42364,240 @@ export declare const DeclarativeSaveDraftIntentSchema: z.ZodObject<{
41424
42364
  }, z.core.$strict>>;
41425
42365
  }, z.core.$strict>>>;
41426
42366
  shell: z.ZodOptional<z.ZodString>;
42367
+ data: z.ZodOptional<z.ZodObject<{
42368
+ statements: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
42369
+ kind: z.ZodLiteral<"select">;
42370
+ from: z.ZodObject<{
42371
+ source: z.ZodDefault<z.ZodEnum<{
42372
+ ontology: "ontology";
42373
+ "workflow-outputs": "workflow-outputs";
42374
+ telemetry: "telemetry";
42375
+ }>>;
42376
+ ontologyId: z.ZodString;
42377
+ workflowId: z.ZodOptional<z.ZodString>;
42378
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
42379
+ }, z.core.$strict>;
42380
+ select: z.ZodOptional<z.ZodObject<{
42381
+ baseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
42382
+ propertyColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
42383
+ featureColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
42384
+ tagGroupColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
42385
+ columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
42386
+ }, z.core.$strict>>;
42387
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
42388
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
42389
+ field: z.ZodString;
42390
+ kind: z.ZodDefault<z.ZodEnum<{
42391
+ feature: "feature";
42392
+ builtin: "builtin";
42393
+ }>>;
42394
+ direction: z.ZodDefault<z.ZodEnum<{
42395
+ asc: "asc";
42396
+ desc: "desc";
42397
+ }>>;
42398
+ nulls: z.ZodOptional<z.ZodEnum<{
42399
+ first: "first";
42400
+ last: "last";
42401
+ }>>;
42402
+ }, z.core.$strict>>>;
42403
+ limit: z.ZodOptional<z.ZodNumber>;
42404
+ }, z.core.$strict>, z.ZodObject<{
42405
+ kind: z.ZodLiteral<"aggregate">;
42406
+ from: z.ZodObject<{
42407
+ source: z.ZodDefault<z.ZodEnum<{
42408
+ ontology: "ontology";
42409
+ "workflow-outputs": "workflow-outputs";
42410
+ telemetry: "telemetry";
42411
+ }>>;
42412
+ ontologyId: z.ZodString;
42413
+ workflowId: z.ZodOptional<z.ZodString>;
42414
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
42415
+ }, z.core.$strict>;
42416
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
42417
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
42418
+ metrics: z.ZodArray<z.ZodObject<{
42419
+ alias: z.ZodString;
42420
+ fn: z.ZodEnum<{
42421
+ max: "max";
42422
+ count: "count";
42423
+ sum: "sum";
42424
+ avg: "avg";
42425
+ min: "min";
42426
+ distinct_count: "distinct_count";
42427
+ ratio: "ratio";
42428
+ count_distinct: "count_distinct";
42429
+ percentile: "percentile";
42430
+ trimmed_avg: "trimmed_avg";
42431
+ first_by: "first_by";
42432
+ last_by: "last_by";
42433
+ }>;
42434
+ fieldKey: z.ZodOptional<z.ZodString>;
42435
+ numeric: z.ZodOptional<z.ZodBoolean>;
42436
+ percentile: z.ZodOptional<z.ZodNumber>;
42437
+ trimTopPct: z.ZodOptional<z.ZodNumber>;
42438
+ orderColumnId: z.ZodOptional<z.ZodString>;
42439
+ filter: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
42440
+ }, z.core.$strict>>;
42441
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
42442
+ field: z.ZodString;
42443
+ kind: z.ZodDefault<z.ZodEnum<{
42444
+ feature: "feature";
42445
+ builtin: "builtin";
42446
+ }>>;
42447
+ direction: z.ZodDefault<z.ZodEnum<{
42448
+ asc: "asc";
42449
+ desc: "desc";
42450
+ }>>;
42451
+ nulls: z.ZodOptional<z.ZodEnum<{
42452
+ first: "first";
42453
+ last: "last";
42454
+ }>>;
42455
+ }, z.core.$strict>>>;
42456
+ limit: z.ZodOptional<z.ZodNumber>;
42457
+ engine: z.ZodOptional<z.ZodEnum<{
42458
+ auto: "auto";
42459
+ search: "search";
42460
+ canonical: "canonical";
42461
+ }>>;
42462
+ allTeams: z.ZodOptional<z.ZodBoolean>;
42463
+ exact: z.ZodOptional<z.ZodBoolean>;
42464
+ includeTotals: z.ZodOptional<z.ZodBoolean>;
42465
+ timeBucket: z.ZodOptional<z.ZodObject<{
42466
+ column: z.ZodOptional<z.ZodString>;
42467
+ unit: z.ZodEnum<{
42468
+ hour: "hour";
42469
+ day: "day";
42470
+ week: "week";
42471
+ month: "month";
42472
+ quarter: "quarter";
42473
+ year: "year";
42474
+ }>;
42475
+ timeZone: z.ZodOptional<z.ZodString>;
42476
+ fillGaps: z.ZodOptional<z.ZodBoolean>;
42477
+ }, z.core.$strict>>;
42478
+ joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
42479
+ alias: z.ZodString;
42480
+ ontologyId: z.ZodString;
42481
+ assetType: z.ZodOptional<z.ZodString>;
42482
+ joinType: z.ZodOptional<z.ZodEnum<{
42483
+ inner: "inner";
42484
+ left: "left";
42485
+ }>>;
42486
+ viaRelation: z.ZodOptional<z.ZodObject<{
42487
+ columnId: z.ZodString;
42488
+ direction: z.ZodOptional<z.ZodEnum<{
42489
+ outgoing: "outgoing";
42490
+ incoming: "incoming";
42491
+ }>>;
42492
+ }, z.core.$strict>>;
42493
+ onColumn: z.ZodOptional<z.ZodObject<{
42494
+ localColumnId: z.ZodString;
42495
+ foreignColumnId: z.ZodOptional<z.ZodString>;
42496
+ foreignAssetId: z.ZodOptional<z.ZodBoolean>;
42497
+ }, z.core.$strict>>;
42498
+ }, z.core.$strict>>>;
42499
+ hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
42500
+ targetAlias: z.ZodOptional<z.ZodString>;
42501
+ localColumnId: z.ZodOptional<z.ZodString>;
42502
+ ontologyId: z.ZodOptional<z.ZodString>;
42503
+ relationColumnId: z.ZodString;
42504
+ direction: z.ZodOptional<z.ZodEnum<{
42505
+ outgoing: "outgoing";
42506
+ incoming: "incoming";
42507
+ }>>;
42508
+ seedIds: z.ZodArray<z.ZodString>;
42509
+ maxDepth: z.ZodOptional<z.ZodNumber>;
42510
+ includeSelf: z.ZodOptional<z.ZodBoolean>;
42511
+ }, z.core.$strict>>>;
42512
+ unwind: z.ZodOptional<z.ZodObject<{
42513
+ columnId: z.ZodString;
42514
+ alias: z.ZodOptional<z.ZodString>;
42515
+ jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
42516
+ preserveEmpty: z.ZodOptional<z.ZodBoolean>;
42517
+ }, z.core.$strict>>;
42518
+ having: z.ZodOptional<z.ZodArray<z.ZodObject<{
42519
+ key: z.ZodString;
42520
+ op: z.ZodEnum<{
42521
+ eq: "eq";
42522
+ neq: "neq";
42523
+ gt: "gt";
42524
+ gte: "gte";
42525
+ lt: "lt";
42526
+ lte: "lte";
42527
+ }>;
42528
+ value: z.ZodNumber;
42529
+ }, z.core.$strict>>>;
42530
+ pagination: z.ZodOptional<z.ZodObject<{
42531
+ offset: z.ZodOptional<z.ZodNumber>;
42532
+ limit: z.ZodOptional<z.ZodNumber>;
42533
+ withGroupTotal: z.ZodOptional<z.ZodBoolean>;
42534
+ }, z.core.$strict>>;
42535
+ }, z.core.$strict>, z.ZodObject<{
42536
+ kind: z.ZodLiteral<"graph">;
42537
+ from: z.ZodObject<{
42538
+ source: z.ZodDefault<z.ZodEnum<{
42539
+ ontology: "ontology";
42540
+ "workflow-outputs": "workflow-outputs";
42541
+ telemetry: "telemetry";
42542
+ }>>;
42543
+ ontologyId: z.ZodString;
42544
+ workflowId: z.ZodOptional<z.ZodString>;
42545
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
42546
+ }, z.core.$strict>;
42547
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
42548
+ graph: z.ZodObject<{
42549
+ graphKind: z.ZodEnum<{
42550
+ schema: "schema";
42551
+ cooccurrence: "cooccurrence";
42552
+ "bipartite-cosine": "bipartite-cosine";
42553
+ "focus-star": "focus-star";
42554
+ "ontology-relation": "ontology-relation";
42555
+ "record-clustering": "record-clustering";
42556
+ "field-tag-hub": "field-tag-hub";
42557
+ }>;
42558
+ maxHops: z.ZodDefault<z.ZodNumber>;
42559
+ nodeLabelField: z.ZodOptional<z.ZodString>;
42560
+ edgeRelationFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
42561
+ }, z.core.$strict>;
42562
+ limit: z.ZodOptional<z.ZodNumber>;
42563
+ }, z.core.$strict>, z.ZodObject<{
42564
+ kind: z.ZodEnum<{
42565
+ insert: "insert";
42566
+ update: "update";
42567
+ delete: "delete";
42568
+ }>;
42569
+ ontologyId: z.ZodString;
42570
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
42571
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
42572
+ }, z.core.$strict>, z.ZodObject<{
42573
+ kind: z.ZodLiteral<"call">;
42574
+ workflowId: z.ZodString;
42575
+ pageType: z.ZodDefault<z.ZodEnum<{
42576
+ process: "process";
42577
+ preview: "preview";
42578
+ log: "log";
42579
+ chat: "chat";
42580
+ api: "api";
42581
+ }>>;
42582
+ inputMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
42583
+ outputStrategy: z.ZodOptional<z.ZodEnum<{
42584
+ "default-result-ontology": "default-result-ontology";
42585
+ "domain-ontology": "domain-ontology";
42586
+ "ledger-only": "ledger-only";
42587
+ "column-writeback": "column-writeback";
42588
+ }>>;
42589
+ }, z.core.$strict>], "kind">>;
42590
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
42591
+ cache: z.ZodOptional<z.ZodObject<{
42592
+ mode: z.ZodDefault<z.ZodEnum<{
42593
+ realtime: "realtime";
42594
+ cached: "cached";
42595
+ "stale-while-revalidate": "stale-while-revalidate";
42596
+ materialized: "materialized";
42597
+ }>>;
42598
+ ttlSeconds: z.ZodOptional<z.ZodNumber>;
42599
+ }, z.core.$strict>>;
42600
+ }, z.core.$strict>>;
41427
42601
  body: z.ZodType<import("./declarative-control").PageNode, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageNode, unknown>>;
41428
42602
  initialQueryPolicy: z.ZodOptional<z.ZodEnum<{
41429
42603
  auto: "auto";
@@ -43232,8 +44406,8 @@ export declare const DeclarativeSaveDraftIntentSchema: z.ZodObject<{
43232
44406
  exact: z.ZodOptional<z.ZodBoolean>;
43233
44407
  includeTotals: z.ZodOptional<z.ZodBoolean>;
43234
44408
  timeBucket: z.ZodOptional<z.ZodObject<{
43235
- column: z.ZodString;
43236
- granularity: z.ZodEnum<{
44409
+ column: z.ZodOptional<z.ZodString>;
44410
+ unit: z.ZodEnum<{
43237
44411
  hour: "hour";
43238
44412
  day: "day";
43239
44413
  week: "week";
@@ -43241,7 +44415,7 @@ export declare const DeclarativeSaveDraftIntentSchema: z.ZodObject<{
43241
44415
  quarter: "quarter";
43242
44416
  year: "year";
43243
44417
  }>;
43244
- timezone: z.ZodOptional<z.ZodString>;
44418
+ timeZone: z.ZodOptional<z.ZodString>;
43245
44419
  fillGaps: z.ZodOptional<z.ZodBoolean>;
43246
44420
  }, z.core.$strict>>;
43247
44421
  joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -43254,10 +44428,10 @@ export declare const DeclarativeSaveDraftIntentSchema: z.ZodObject<{
43254
44428
  }>>;
43255
44429
  viaRelation: z.ZodOptional<z.ZodObject<{
43256
44430
  columnId: z.ZodString;
43257
- direction: z.ZodEnum<{
44431
+ direction: z.ZodOptional<z.ZodEnum<{
43258
44432
  outgoing: "outgoing";
43259
44433
  incoming: "incoming";
43260
- }>;
44434
+ }>>;
43261
44435
  }, z.core.$strict>>;
43262
44436
  onColumn: z.ZodOptional<z.ZodObject<{
43263
44437
  localColumnId: z.ZodString;
@@ -43268,18 +44442,19 @@ export declare const DeclarativeSaveDraftIntentSchema: z.ZodObject<{
43268
44442
  hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
43269
44443
  targetAlias: z.ZodOptional<z.ZodString>;
43270
44444
  localColumnId: z.ZodOptional<z.ZodString>;
43271
- ontologyId: z.ZodString;
44445
+ ontologyId: z.ZodOptional<z.ZodString>;
43272
44446
  relationColumnId: z.ZodString;
43273
- direction: z.ZodEnum<{
44447
+ direction: z.ZodOptional<z.ZodEnum<{
43274
44448
  outgoing: "outgoing";
43275
44449
  incoming: "incoming";
43276
- }>;
44450
+ }>>;
43277
44451
  seedIds: z.ZodArray<z.ZodString>;
43278
44452
  maxDepth: z.ZodOptional<z.ZodNumber>;
43279
44453
  includeSelf: z.ZodOptional<z.ZodBoolean>;
43280
44454
  }, z.core.$strict>>>;
43281
44455
  unwind: z.ZodOptional<z.ZodObject<{
43282
44456
  columnId: z.ZodString;
44457
+ alias: z.ZodOptional<z.ZodString>;
43283
44458
  jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
43284
44459
  preserveEmpty: z.ZodOptional<z.ZodBoolean>;
43285
44460
  }, z.core.$strict>>;
@@ -43287,18 +44462,18 @@ export declare const DeclarativeSaveDraftIntentSchema: z.ZodObject<{
43287
44462
  key: z.ZodString;
43288
44463
  op: z.ZodEnum<{
43289
44464
  eq: "eq";
44465
+ neq: "neq";
43290
44466
  gt: "gt";
43291
44467
  gte: "gte";
43292
44468
  lt: "lt";
43293
44469
  lte: "lte";
43294
- ne: "ne";
43295
44470
  }>;
43296
44471
  value: z.ZodNumber;
43297
44472
  }, z.core.$strict>>>;
43298
44473
  pagination: z.ZodOptional<z.ZodObject<{
43299
44474
  offset: z.ZodOptional<z.ZodNumber>;
43300
44475
  limit: z.ZodOptional<z.ZodNumber>;
43301
- includeTotalGroups: z.ZodOptional<z.ZodBoolean>;
44476
+ withGroupTotal: z.ZodOptional<z.ZodBoolean>;
43302
44477
  }, z.core.$strict>>;
43303
44478
  }, z.core.$strict>, z.ZodObject<{
43304
44479
  kind: z.ZodLiteral<"graph">;
@@ -59196,6 +60371,240 @@ export declare const DeclarativeDraftResultSchema: z.ZodObject<{
59196
60371
  }, z.core.$strict>>;
59197
60372
  }, z.core.$strict>>>;
59198
60373
  shell: z.ZodOptional<z.ZodString>;
60374
+ data: z.ZodOptional<z.ZodObject<{
60375
+ statements: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
60376
+ kind: z.ZodLiteral<"select">;
60377
+ from: z.ZodObject<{
60378
+ source: z.ZodDefault<z.ZodEnum<{
60379
+ ontology: "ontology";
60380
+ "workflow-outputs": "workflow-outputs";
60381
+ telemetry: "telemetry";
60382
+ }>>;
60383
+ ontologyId: z.ZodString;
60384
+ workflowId: z.ZodOptional<z.ZodString>;
60385
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
60386
+ }, z.core.$strict>;
60387
+ select: z.ZodOptional<z.ZodObject<{
60388
+ baseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
60389
+ propertyColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
60390
+ featureColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
60391
+ tagGroupColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
60392
+ columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
60393
+ }, z.core.$strict>>;
60394
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
60395
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
60396
+ field: z.ZodString;
60397
+ kind: z.ZodDefault<z.ZodEnum<{
60398
+ feature: "feature";
60399
+ builtin: "builtin";
60400
+ }>>;
60401
+ direction: z.ZodDefault<z.ZodEnum<{
60402
+ asc: "asc";
60403
+ desc: "desc";
60404
+ }>>;
60405
+ nulls: z.ZodOptional<z.ZodEnum<{
60406
+ first: "first";
60407
+ last: "last";
60408
+ }>>;
60409
+ }, z.core.$strict>>>;
60410
+ limit: z.ZodOptional<z.ZodNumber>;
60411
+ }, z.core.$strict>, z.ZodObject<{
60412
+ kind: z.ZodLiteral<"aggregate">;
60413
+ from: z.ZodObject<{
60414
+ source: z.ZodDefault<z.ZodEnum<{
60415
+ ontology: "ontology";
60416
+ "workflow-outputs": "workflow-outputs";
60417
+ telemetry: "telemetry";
60418
+ }>>;
60419
+ ontologyId: z.ZodString;
60420
+ workflowId: z.ZodOptional<z.ZodString>;
60421
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
60422
+ }, z.core.$strict>;
60423
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
60424
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
60425
+ metrics: z.ZodArray<z.ZodObject<{
60426
+ alias: z.ZodString;
60427
+ fn: z.ZodEnum<{
60428
+ max: "max";
60429
+ count: "count";
60430
+ sum: "sum";
60431
+ avg: "avg";
60432
+ min: "min";
60433
+ distinct_count: "distinct_count";
60434
+ ratio: "ratio";
60435
+ count_distinct: "count_distinct";
60436
+ percentile: "percentile";
60437
+ trimmed_avg: "trimmed_avg";
60438
+ first_by: "first_by";
60439
+ last_by: "last_by";
60440
+ }>;
60441
+ fieldKey: z.ZodOptional<z.ZodString>;
60442
+ numeric: z.ZodOptional<z.ZodBoolean>;
60443
+ percentile: z.ZodOptional<z.ZodNumber>;
60444
+ trimTopPct: z.ZodOptional<z.ZodNumber>;
60445
+ orderColumnId: z.ZodOptional<z.ZodString>;
60446
+ filter: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
60447
+ }, z.core.$strict>>;
60448
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
60449
+ field: z.ZodString;
60450
+ kind: z.ZodDefault<z.ZodEnum<{
60451
+ feature: "feature";
60452
+ builtin: "builtin";
60453
+ }>>;
60454
+ direction: z.ZodDefault<z.ZodEnum<{
60455
+ asc: "asc";
60456
+ desc: "desc";
60457
+ }>>;
60458
+ nulls: z.ZodOptional<z.ZodEnum<{
60459
+ first: "first";
60460
+ last: "last";
60461
+ }>>;
60462
+ }, z.core.$strict>>>;
60463
+ limit: z.ZodOptional<z.ZodNumber>;
60464
+ engine: z.ZodOptional<z.ZodEnum<{
60465
+ auto: "auto";
60466
+ search: "search";
60467
+ canonical: "canonical";
60468
+ }>>;
60469
+ allTeams: z.ZodOptional<z.ZodBoolean>;
60470
+ exact: z.ZodOptional<z.ZodBoolean>;
60471
+ includeTotals: z.ZodOptional<z.ZodBoolean>;
60472
+ timeBucket: z.ZodOptional<z.ZodObject<{
60473
+ column: z.ZodOptional<z.ZodString>;
60474
+ unit: z.ZodEnum<{
60475
+ hour: "hour";
60476
+ day: "day";
60477
+ week: "week";
60478
+ month: "month";
60479
+ quarter: "quarter";
60480
+ year: "year";
60481
+ }>;
60482
+ timeZone: z.ZodOptional<z.ZodString>;
60483
+ fillGaps: z.ZodOptional<z.ZodBoolean>;
60484
+ }, z.core.$strict>>;
60485
+ joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
60486
+ alias: z.ZodString;
60487
+ ontologyId: z.ZodString;
60488
+ assetType: z.ZodOptional<z.ZodString>;
60489
+ joinType: z.ZodOptional<z.ZodEnum<{
60490
+ inner: "inner";
60491
+ left: "left";
60492
+ }>>;
60493
+ viaRelation: z.ZodOptional<z.ZodObject<{
60494
+ columnId: z.ZodString;
60495
+ direction: z.ZodOptional<z.ZodEnum<{
60496
+ outgoing: "outgoing";
60497
+ incoming: "incoming";
60498
+ }>>;
60499
+ }, z.core.$strict>>;
60500
+ onColumn: z.ZodOptional<z.ZodObject<{
60501
+ localColumnId: z.ZodString;
60502
+ foreignColumnId: z.ZodOptional<z.ZodString>;
60503
+ foreignAssetId: z.ZodOptional<z.ZodBoolean>;
60504
+ }, z.core.$strict>>;
60505
+ }, z.core.$strict>>>;
60506
+ hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
60507
+ targetAlias: z.ZodOptional<z.ZodString>;
60508
+ localColumnId: z.ZodOptional<z.ZodString>;
60509
+ ontologyId: z.ZodOptional<z.ZodString>;
60510
+ relationColumnId: z.ZodString;
60511
+ direction: z.ZodOptional<z.ZodEnum<{
60512
+ outgoing: "outgoing";
60513
+ incoming: "incoming";
60514
+ }>>;
60515
+ seedIds: z.ZodArray<z.ZodString>;
60516
+ maxDepth: z.ZodOptional<z.ZodNumber>;
60517
+ includeSelf: z.ZodOptional<z.ZodBoolean>;
60518
+ }, z.core.$strict>>>;
60519
+ unwind: z.ZodOptional<z.ZodObject<{
60520
+ columnId: z.ZodString;
60521
+ alias: z.ZodOptional<z.ZodString>;
60522
+ jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
60523
+ preserveEmpty: z.ZodOptional<z.ZodBoolean>;
60524
+ }, z.core.$strict>>;
60525
+ having: z.ZodOptional<z.ZodArray<z.ZodObject<{
60526
+ key: z.ZodString;
60527
+ op: z.ZodEnum<{
60528
+ eq: "eq";
60529
+ neq: "neq";
60530
+ gt: "gt";
60531
+ gte: "gte";
60532
+ lt: "lt";
60533
+ lte: "lte";
60534
+ }>;
60535
+ value: z.ZodNumber;
60536
+ }, z.core.$strict>>>;
60537
+ pagination: z.ZodOptional<z.ZodObject<{
60538
+ offset: z.ZodOptional<z.ZodNumber>;
60539
+ limit: z.ZodOptional<z.ZodNumber>;
60540
+ withGroupTotal: z.ZodOptional<z.ZodBoolean>;
60541
+ }, z.core.$strict>>;
60542
+ }, z.core.$strict>, z.ZodObject<{
60543
+ kind: z.ZodLiteral<"graph">;
60544
+ from: z.ZodObject<{
60545
+ source: z.ZodDefault<z.ZodEnum<{
60546
+ ontology: "ontology";
60547
+ "workflow-outputs": "workflow-outputs";
60548
+ telemetry: "telemetry";
60549
+ }>>;
60550
+ ontologyId: z.ZodString;
60551
+ workflowId: z.ZodOptional<z.ZodString>;
60552
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
60553
+ }, z.core.$strict>;
60554
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
60555
+ graph: z.ZodObject<{
60556
+ graphKind: z.ZodEnum<{
60557
+ schema: "schema";
60558
+ cooccurrence: "cooccurrence";
60559
+ "bipartite-cosine": "bipartite-cosine";
60560
+ "focus-star": "focus-star";
60561
+ "ontology-relation": "ontology-relation";
60562
+ "record-clustering": "record-clustering";
60563
+ "field-tag-hub": "field-tag-hub";
60564
+ }>;
60565
+ maxHops: z.ZodDefault<z.ZodNumber>;
60566
+ nodeLabelField: z.ZodOptional<z.ZodString>;
60567
+ edgeRelationFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
60568
+ }, z.core.$strict>;
60569
+ limit: z.ZodOptional<z.ZodNumber>;
60570
+ }, z.core.$strict>, z.ZodObject<{
60571
+ kind: z.ZodEnum<{
60572
+ insert: "insert";
60573
+ update: "update";
60574
+ delete: "delete";
60575
+ }>;
60576
+ ontologyId: z.ZodString;
60577
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
60578
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
60579
+ }, z.core.$strict>, z.ZodObject<{
60580
+ kind: z.ZodLiteral<"call">;
60581
+ workflowId: z.ZodString;
60582
+ pageType: z.ZodDefault<z.ZodEnum<{
60583
+ process: "process";
60584
+ preview: "preview";
60585
+ log: "log";
60586
+ chat: "chat";
60587
+ api: "api";
60588
+ }>>;
60589
+ inputMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
60590
+ outputStrategy: z.ZodOptional<z.ZodEnum<{
60591
+ "default-result-ontology": "default-result-ontology";
60592
+ "domain-ontology": "domain-ontology";
60593
+ "ledger-only": "ledger-only";
60594
+ "column-writeback": "column-writeback";
60595
+ }>>;
60596
+ }, z.core.$strict>], "kind">>;
60597
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
60598
+ cache: z.ZodOptional<z.ZodObject<{
60599
+ mode: z.ZodDefault<z.ZodEnum<{
60600
+ realtime: "realtime";
60601
+ cached: "cached";
60602
+ "stale-while-revalidate": "stale-while-revalidate";
60603
+ materialized: "materialized";
60604
+ }>>;
60605
+ ttlSeconds: z.ZodOptional<z.ZodNumber>;
60606
+ }, z.core.$strict>>;
60607
+ }, z.core.$strict>>;
59199
60608
  body: z.ZodType<import("./declarative-control").PageNode, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageNode, unknown>>;
59200
60609
  initialQueryPolicy: z.ZodOptional<z.ZodEnum<{
59201
60610
  auto: "auto";
@@ -61004,8 +62413,8 @@ export declare const DeclarativeDraftResultSchema: z.ZodObject<{
61004
62413
  exact: z.ZodOptional<z.ZodBoolean>;
61005
62414
  includeTotals: z.ZodOptional<z.ZodBoolean>;
61006
62415
  timeBucket: z.ZodOptional<z.ZodObject<{
61007
- column: z.ZodString;
61008
- granularity: z.ZodEnum<{
62416
+ column: z.ZodOptional<z.ZodString>;
62417
+ unit: z.ZodEnum<{
61009
62418
  hour: "hour";
61010
62419
  day: "day";
61011
62420
  week: "week";
@@ -61013,7 +62422,7 @@ export declare const DeclarativeDraftResultSchema: z.ZodObject<{
61013
62422
  quarter: "quarter";
61014
62423
  year: "year";
61015
62424
  }>;
61016
- timezone: z.ZodOptional<z.ZodString>;
62425
+ timeZone: z.ZodOptional<z.ZodString>;
61017
62426
  fillGaps: z.ZodOptional<z.ZodBoolean>;
61018
62427
  }, z.core.$strict>>;
61019
62428
  joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -61026,10 +62435,10 @@ export declare const DeclarativeDraftResultSchema: z.ZodObject<{
61026
62435
  }>>;
61027
62436
  viaRelation: z.ZodOptional<z.ZodObject<{
61028
62437
  columnId: z.ZodString;
61029
- direction: z.ZodEnum<{
62438
+ direction: z.ZodOptional<z.ZodEnum<{
61030
62439
  outgoing: "outgoing";
61031
62440
  incoming: "incoming";
61032
- }>;
62441
+ }>>;
61033
62442
  }, z.core.$strict>>;
61034
62443
  onColumn: z.ZodOptional<z.ZodObject<{
61035
62444
  localColumnId: z.ZodString;
@@ -61040,18 +62449,19 @@ export declare const DeclarativeDraftResultSchema: z.ZodObject<{
61040
62449
  hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
61041
62450
  targetAlias: z.ZodOptional<z.ZodString>;
61042
62451
  localColumnId: z.ZodOptional<z.ZodString>;
61043
- ontologyId: z.ZodString;
62452
+ ontologyId: z.ZodOptional<z.ZodString>;
61044
62453
  relationColumnId: z.ZodString;
61045
- direction: z.ZodEnum<{
62454
+ direction: z.ZodOptional<z.ZodEnum<{
61046
62455
  outgoing: "outgoing";
61047
62456
  incoming: "incoming";
61048
- }>;
62457
+ }>>;
61049
62458
  seedIds: z.ZodArray<z.ZodString>;
61050
62459
  maxDepth: z.ZodOptional<z.ZodNumber>;
61051
62460
  includeSelf: z.ZodOptional<z.ZodBoolean>;
61052
62461
  }, z.core.$strict>>>;
61053
62462
  unwind: z.ZodOptional<z.ZodObject<{
61054
62463
  columnId: z.ZodString;
62464
+ alias: z.ZodOptional<z.ZodString>;
61055
62465
  jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
61056
62466
  preserveEmpty: z.ZodOptional<z.ZodBoolean>;
61057
62467
  }, z.core.$strict>>;
@@ -61059,18 +62469,18 @@ export declare const DeclarativeDraftResultSchema: z.ZodObject<{
61059
62469
  key: z.ZodString;
61060
62470
  op: z.ZodEnum<{
61061
62471
  eq: "eq";
62472
+ neq: "neq";
61062
62473
  gt: "gt";
61063
62474
  gte: "gte";
61064
62475
  lt: "lt";
61065
62476
  lte: "lte";
61066
- ne: "ne";
61067
62477
  }>;
61068
62478
  value: z.ZodNumber;
61069
62479
  }, z.core.$strict>>>;
61070
62480
  pagination: z.ZodOptional<z.ZodObject<{
61071
62481
  offset: z.ZodOptional<z.ZodNumber>;
61072
62482
  limit: z.ZodOptional<z.ZodNumber>;
61073
- includeTotalGroups: z.ZodOptional<z.ZodBoolean>;
62483
+ withGroupTotal: z.ZodOptional<z.ZodBoolean>;
61074
62484
  }, z.core.$strict>>;
61075
62485
  }, z.core.$strict>, z.ZodObject<{
61076
62486
  kind: z.ZodLiteral<"graph">;
@@ -67798,9 +69208,9 @@ export declare const DeclarativePreviewResultSchema: z.ZodObject<{
67798
69208
  exact?: boolean | undefined;
67799
69209
  includeTotals?: boolean | undefined;
67800
69210
  timeBucket?: {
67801
- column: string;
67802
- granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
67803
- timezone?: string | undefined;
69211
+ unit: "hour" | "day" | "week" | "month" | "quarter" | "year";
69212
+ column?: string | undefined;
69213
+ timeZone?: string | undefined;
67804
69214
  fillGaps?: boolean | undefined;
67805
69215
  } | undefined;
67806
69216
  joins?: {
@@ -67810,7 +69220,7 @@ export declare const DeclarativePreviewResultSchema: z.ZodObject<{
67810
69220
  joinType?: "inner" | "left" | undefined;
67811
69221
  viaRelation?: {
67812
69222
  columnId: string;
67813
- direction: "outgoing" | "incoming";
69223
+ direction?: "outgoing" | "incoming" | undefined;
67814
69224
  } | undefined;
67815
69225
  onColumn?: {
67816
69226
  localColumnId: string;
@@ -67819,29 +69229,30 @@ export declare const DeclarativePreviewResultSchema: z.ZodObject<{
67819
69229
  } | undefined;
67820
69230
  }[] | undefined;
67821
69231
  hierarchyScopes?: {
67822
- ontologyId: string;
67823
69232
  relationColumnId: string;
67824
- direction: "outgoing" | "incoming";
67825
69233
  seedIds: string[];
67826
69234
  targetAlias?: string | undefined;
67827
69235
  localColumnId?: string | undefined;
69236
+ ontologyId?: string | undefined;
69237
+ direction?: "outgoing" | "incoming" | undefined;
67828
69238
  maxDepth?: number | undefined;
67829
69239
  includeSelf?: boolean | undefined;
67830
69240
  }[] | undefined;
67831
69241
  unwind?: {
67832
69242
  columnId: string;
69243
+ alias?: string | undefined;
67833
69244
  jsonPath?: string[] | undefined;
67834
69245
  preserveEmpty?: boolean | undefined;
67835
69246
  } | undefined;
67836
69247
  having?: {
67837
69248
  key: string;
67838
- op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
69249
+ op: "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
67839
69250
  value: number;
67840
69251
  }[] | undefined;
67841
69252
  pagination?: {
67842
69253
  offset?: number | undefined;
67843
69254
  limit?: number | undefined;
67844
- includeTotalGroups?: boolean | undefined;
69255
+ withGroupTotal?: boolean | undefined;
67845
69256
  } | undefined;
67846
69257
  } | {
67847
69258
  kind: "graph";
@@ -70840,9 +72251,9 @@ export declare const DeclarativePreviewResultSchema: z.ZodObject<{
70840
72251
  exact?: boolean | undefined;
70841
72252
  includeTotals?: boolean | undefined;
70842
72253
  timeBucket?: {
70843
- column: string;
70844
- granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
70845
- timezone?: string | undefined;
72254
+ unit: "hour" | "day" | "week" | "month" | "quarter" | "year";
72255
+ column?: string | undefined;
72256
+ timeZone?: string | undefined;
70846
72257
  fillGaps?: boolean | undefined;
70847
72258
  } | undefined;
70848
72259
  joins?: {
@@ -70852,7 +72263,7 @@ export declare const DeclarativePreviewResultSchema: z.ZodObject<{
70852
72263
  joinType?: "inner" | "left" | undefined;
70853
72264
  viaRelation?: {
70854
72265
  columnId: string;
70855
- direction: "outgoing" | "incoming";
72266
+ direction?: "outgoing" | "incoming" | undefined;
70856
72267
  } | undefined;
70857
72268
  onColumn?: {
70858
72269
  localColumnId: string;
@@ -70861,29 +72272,30 @@ export declare const DeclarativePreviewResultSchema: z.ZodObject<{
70861
72272
  } | undefined;
70862
72273
  }[] | undefined;
70863
72274
  hierarchyScopes?: {
70864
- ontologyId: string;
70865
72275
  relationColumnId: string;
70866
- direction: "outgoing" | "incoming";
70867
72276
  seedIds: string[];
70868
72277
  targetAlias?: string | undefined;
70869
72278
  localColumnId?: string | undefined;
72279
+ ontologyId?: string | undefined;
72280
+ direction?: "outgoing" | "incoming" | undefined;
70870
72281
  maxDepth?: number | undefined;
70871
72282
  includeSelf?: boolean | undefined;
70872
72283
  }[] | undefined;
70873
72284
  unwind?: {
70874
72285
  columnId: string;
72286
+ alias?: string | undefined;
70875
72287
  jsonPath?: string[] | undefined;
70876
72288
  preserveEmpty?: boolean | undefined;
70877
72289
  } | undefined;
70878
72290
  having?: {
70879
72291
  key: string;
70880
- op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
72292
+ op: "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
70881
72293
  value: number;
70882
72294
  }[] | undefined;
70883
72295
  pagination?: {
70884
72296
  offset?: number | undefined;
70885
72297
  limit?: number | undefined;
70886
- includeTotalGroups?: boolean | undefined;
72298
+ withGroupTotal?: boolean | undefined;
70887
72299
  } | undefined;
70888
72300
  } | {
70889
72301
  kind: "graph";
@@ -79088,9 +80500,9 @@ export declare const DeclarativePublicationItemResultSchema: z.ZodObject<{
79088
80500
  exact?: boolean | undefined;
79089
80501
  includeTotals?: boolean | undefined;
79090
80502
  timeBucket?: {
79091
- column: string;
79092
- granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
79093
- timezone?: string | undefined;
80503
+ unit: "hour" | "day" | "week" | "month" | "quarter" | "year";
80504
+ column?: string | undefined;
80505
+ timeZone?: string | undefined;
79094
80506
  fillGaps?: boolean | undefined;
79095
80507
  } | undefined;
79096
80508
  joins?: {
@@ -79100,7 +80512,7 @@ export declare const DeclarativePublicationItemResultSchema: z.ZodObject<{
79100
80512
  joinType?: "inner" | "left" | undefined;
79101
80513
  viaRelation?: {
79102
80514
  columnId: string;
79103
- direction: "outgoing" | "incoming";
80515
+ direction?: "outgoing" | "incoming" | undefined;
79104
80516
  } | undefined;
79105
80517
  onColumn?: {
79106
80518
  localColumnId: string;
@@ -79109,29 +80521,30 @@ export declare const DeclarativePublicationItemResultSchema: z.ZodObject<{
79109
80521
  } | undefined;
79110
80522
  }[] | undefined;
79111
80523
  hierarchyScopes?: {
79112
- ontologyId: string;
79113
80524
  relationColumnId: string;
79114
- direction: "outgoing" | "incoming";
79115
80525
  seedIds: string[];
79116
80526
  targetAlias?: string | undefined;
79117
80527
  localColumnId?: string | undefined;
80528
+ ontologyId?: string | undefined;
80529
+ direction?: "outgoing" | "incoming" | undefined;
79118
80530
  maxDepth?: number | undefined;
79119
80531
  includeSelf?: boolean | undefined;
79120
80532
  }[] | undefined;
79121
80533
  unwind?: {
79122
80534
  columnId: string;
80535
+ alias?: string | undefined;
79123
80536
  jsonPath?: string[] | undefined;
79124
80537
  preserveEmpty?: boolean | undefined;
79125
80538
  } | undefined;
79126
80539
  having?: {
79127
80540
  key: string;
79128
- op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
80541
+ op: "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
79129
80542
  value: number;
79130
80543
  }[] | undefined;
79131
80544
  pagination?: {
79132
80545
  offset?: number | undefined;
79133
80546
  limit?: number | undefined;
79134
- includeTotalGroups?: boolean | undefined;
80547
+ withGroupTotal?: boolean | undefined;
79135
80548
  } | undefined;
79136
80549
  } | {
79137
80550
  kind: "graph";
@@ -82130,9 +83543,9 @@ export declare const DeclarativePublicationItemResultSchema: z.ZodObject<{
82130
83543
  exact?: boolean | undefined;
82131
83544
  includeTotals?: boolean | undefined;
82132
83545
  timeBucket?: {
82133
- column: string;
82134
- granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
82135
- timezone?: string | undefined;
83546
+ unit: "hour" | "day" | "week" | "month" | "quarter" | "year";
83547
+ column?: string | undefined;
83548
+ timeZone?: string | undefined;
82136
83549
  fillGaps?: boolean | undefined;
82137
83550
  } | undefined;
82138
83551
  joins?: {
@@ -82142,7 +83555,7 @@ export declare const DeclarativePublicationItemResultSchema: z.ZodObject<{
82142
83555
  joinType?: "inner" | "left" | undefined;
82143
83556
  viaRelation?: {
82144
83557
  columnId: string;
82145
- direction: "outgoing" | "incoming";
83558
+ direction?: "outgoing" | "incoming" | undefined;
82146
83559
  } | undefined;
82147
83560
  onColumn?: {
82148
83561
  localColumnId: string;
@@ -82151,29 +83564,30 @@ export declare const DeclarativePublicationItemResultSchema: z.ZodObject<{
82151
83564
  } | undefined;
82152
83565
  }[] | undefined;
82153
83566
  hierarchyScopes?: {
82154
- ontologyId: string;
82155
83567
  relationColumnId: string;
82156
- direction: "outgoing" | "incoming";
82157
83568
  seedIds: string[];
82158
83569
  targetAlias?: string | undefined;
82159
83570
  localColumnId?: string | undefined;
83571
+ ontologyId?: string | undefined;
83572
+ direction?: "outgoing" | "incoming" | undefined;
82160
83573
  maxDepth?: number | undefined;
82161
83574
  includeSelf?: boolean | undefined;
82162
83575
  }[] | undefined;
82163
83576
  unwind?: {
82164
83577
  columnId: string;
83578
+ alias?: string | undefined;
82165
83579
  jsonPath?: string[] | undefined;
82166
83580
  preserveEmpty?: boolean | undefined;
82167
83581
  } | undefined;
82168
83582
  having?: {
82169
83583
  key: string;
82170
- op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
83584
+ op: "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
82171
83585
  value: number;
82172
83586
  }[] | undefined;
82173
83587
  pagination?: {
82174
83588
  offset?: number | undefined;
82175
83589
  limit?: number | undefined;
82176
- includeTotalGroups?: boolean | undefined;
83590
+ withGroupTotal?: boolean | undefined;
82177
83591
  } | undefined;
82178
83592
  } | {
82179
83593
  kind: "graph";
@@ -90381,9 +91795,9 @@ export declare const DeclarativePublicationResultSchema: z.ZodUnion<readonly [z.
90381
91795
  exact?: boolean | undefined;
90382
91796
  includeTotals?: boolean | undefined;
90383
91797
  timeBucket?: {
90384
- column: string;
90385
- granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
90386
- timezone?: string | undefined;
91798
+ unit: "hour" | "day" | "week" | "month" | "quarter" | "year";
91799
+ column?: string | undefined;
91800
+ timeZone?: string | undefined;
90387
91801
  fillGaps?: boolean | undefined;
90388
91802
  } | undefined;
90389
91803
  joins?: {
@@ -90393,7 +91807,7 @@ export declare const DeclarativePublicationResultSchema: z.ZodUnion<readonly [z.
90393
91807
  joinType?: "inner" | "left" | undefined;
90394
91808
  viaRelation?: {
90395
91809
  columnId: string;
90396
- direction: "outgoing" | "incoming";
91810
+ direction?: "outgoing" | "incoming" | undefined;
90397
91811
  } | undefined;
90398
91812
  onColumn?: {
90399
91813
  localColumnId: string;
@@ -90402,29 +91816,30 @@ export declare const DeclarativePublicationResultSchema: z.ZodUnion<readonly [z.
90402
91816
  } | undefined;
90403
91817
  }[] | undefined;
90404
91818
  hierarchyScopes?: {
90405
- ontologyId: string;
90406
91819
  relationColumnId: string;
90407
- direction: "outgoing" | "incoming";
90408
91820
  seedIds: string[];
90409
91821
  targetAlias?: string | undefined;
90410
91822
  localColumnId?: string | undefined;
91823
+ ontologyId?: string | undefined;
91824
+ direction?: "outgoing" | "incoming" | undefined;
90411
91825
  maxDepth?: number | undefined;
90412
91826
  includeSelf?: boolean | undefined;
90413
91827
  }[] | undefined;
90414
91828
  unwind?: {
90415
91829
  columnId: string;
91830
+ alias?: string | undefined;
90416
91831
  jsonPath?: string[] | undefined;
90417
91832
  preserveEmpty?: boolean | undefined;
90418
91833
  } | undefined;
90419
91834
  having?: {
90420
91835
  key: string;
90421
- op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
91836
+ op: "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
90422
91837
  value: number;
90423
91838
  }[] | undefined;
90424
91839
  pagination?: {
90425
91840
  offset?: number | undefined;
90426
91841
  limit?: number | undefined;
90427
- includeTotalGroups?: boolean | undefined;
91842
+ withGroupTotal?: boolean | undefined;
90428
91843
  } | undefined;
90429
91844
  } | {
90430
91845
  kind: "graph";
@@ -93423,9 +94838,9 @@ export declare const DeclarativePublicationResultSchema: z.ZodUnion<readonly [z.
93423
94838
  exact?: boolean | undefined;
93424
94839
  includeTotals?: boolean | undefined;
93425
94840
  timeBucket?: {
93426
- column: string;
93427
- granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
93428
- timezone?: string | undefined;
94841
+ unit: "hour" | "day" | "week" | "month" | "quarter" | "year";
94842
+ column?: string | undefined;
94843
+ timeZone?: string | undefined;
93429
94844
  fillGaps?: boolean | undefined;
93430
94845
  } | undefined;
93431
94846
  joins?: {
@@ -93435,7 +94850,7 @@ export declare const DeclarativePublicationResultSchema: z.ZodUnion<readonly [z.
93435
94850
  joinType?: "inner" | "left" | undefined;
93436
94851
  viaRelation?: {
93437
94852
  columnId: string;
93438
- direction: "outgoing" | "incoming";
94853
+ direction?: "outgoing" | "incoming" | undefined;
93439
94854
  } | undefined;
93440
94855
  onColumn?: {
93441
94856
  localColumnId: string;
@@ -93444,29 +94859,30 @@ export declare const DeclarativePublicationResultSchema: z.ZodUnion<readonly [z.
93444
94859
  } | undefined;
93445
94860
  }[] | undefined;
93446
94861
  hierarchyScopes?: {
93447
- ontologyId: string;
93448
94862
  relationColumnId: string;
93449
- direction: "outgoing" | "incoming";
93450
94863
  seedIds: string[];
93451
94864
  targetAlias?: string | undefined;
93452
94865
  localColumnId?: string | undefined;
94866
+ ontologyId?: string | undefined;
94867
+ direction?: "outgoing" | "incoming" | undefined;
93453
94868
  maxDepth?: number | undefined;
93454
94869
  includeSelf?: boolean | undefined;
93455
94870
  }[] | undefined;
93456
94871
  unwind?: {
93457
94872
  columnId: string;
94873
+ alias?: string | undefined;
93458
94874
  jsonPath?: string[] | undefined;
93459
94875
  preserveEmpty?: boolean | undefined;
93460
94876
  } | undefined;
93461
94877
  having?: {
93462
94878
  key: string;
93463
- op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
94879
+ op: "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
93464
94880
  value: number;
93465
94881
  }[] | undefined;
93466
94882
  pagination?: {
93467
94883
  offset?: number | undefined;
93468
94884
  limit?: number | undefined;
93469
- includeTotalGroups?: boolean | undefined;
94885
+ withGroupTotal?: boolean | undefined;
93470
94886
  } | undefined;
93471
94887
  } | {
93472
94888
  kind: "graph";
@@ -101702,9 +103118,9 @@ export declare const DeclarativePublicationResultSchema: z.ZodUnion<readonly [z.
101702
103118
  exact?: boolean | undefined;
101703
103119
  includeTotals?: boolean | undefined;
101704
103120
  timeBucket?: {
101705
- column: string;
101706
- granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
101707
- timezone?: string | undefined;
103121
+ unit: "hour" | "day" | "week" | "month" | "quarter" | "year";
103122
+ column?: string | undefined;
103123
+ timeZone?: string | undefined;
101708
103124
  fillGaps?: boolean | undefined;
101709
103125
  } | undefined;
101710
103126
  joins?: {
@@ -101714,7 +103130,7 @@ export declare const DeclarativePublicationResultSchema: z.ZodUnion<readonly [z.
101714
103130
  joinType?: "inner" | "left" | undefined;
101715
103131
  viaRelation?: {
101716
103132
  columnId: string;
101717
- direction: "outgoing" | "incoming";
103133
+ direction?: "outgoing" | "incoming" | undefined;
101718
103134
  } | undefined;
101719
103135
  onColumn?: {
101720
103136
  localColumnId: string;
@@ -101723,29 +103139,30 @@ export declare const DeclarativePublicationResultSchema: z.ZodUnion<readonly [z.
101723
103139
  } | undefined;
101724
103140
  }[] | undefined;
101725
103141
  hierarchyScopes?: {
101726
- ontologyId: string;
101727
103142
  relationColumnId: string;
101728
- direction: "outgoing" | "incoming";
101729
103143
  seedIds: string[];
101730
103144
  targetAlias?: string | undefined;
101731
103145
  localColumnId?: string | undefined;
103146
+ ontologyId?: string | undefined;
103147
+ direction?: "outgoing" | "incoming" | undefined;
101732
103148
  maxDepth?: number | undefined;
101733
103149
  includeSelf?: boolean | undefined;
101734
103150
  }[] | undefined;
101735
103151
  unwind?: {
101736
103152
  columnId: string;
103153
+ alias?: string | undefined;
101737
103154
  jsonPath?: string[] | undefined;
101738
103155
  preserveEmpty?: boolean | undefined;
101739
103156
  } | undefined;
101740
103157
  having?: {
101741
103158
  key: string;
101742
- op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
103159
+ op: "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
101743
103160
  value: number;
101744
103161
  }[] | undefined;
101745
103162
  pagination?: {
101746
103163
  offset?: number | undefined;
101747
103164
  limit?: number | undefined;
101748
- includeTotalGroups?: boolean | undefined;
103165
+ withGroupTotal?: boolean | undefined;
101749
103166
  } | undefined;
101750
103167
  } | {
101751
103168
  kind: "graph";
@@ -104744,9 +106161,9 @@ export declare const DeclarativePublicationResultSchema: z.ZodUnion<readonly [z.
104744
106161
  exact?: boolean | undefined;
104745
106162
  includeTotals?: boolean | undefined;
104746
106163
  timeBucket?: {
104747
- column: string;
104748
- granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
104749
- timezone?: string | undefined;
106164
+ unit: "hour" | "day" | "week" | "month" | "quarter" | "year";
106165
+ column?: string | undefined;
106166
+ timeZone?: string | undefined;
104750
106167
  fillGaps?: boolean | undefined;
104751
106168
  } | undefined;
104752
106169
  joins?: {
@@ -104756,7 +106173,7 @@ export declare const DeclarativePublicationResultSchema: z.ZodUnion<readonly [z.
104756
106173
  joinType?: "inner" | "left" | undefined;
104757
106174
  viaRelation?: {
104758
106175
  columnId: string;
104759
- direction: "outgoing" | "incoming";
106176
+ direction?: "outgoing" | "incoming" | undefined;
104760
106177
  } | undefined;
104761
106178
  onColumn?: {
104762
106179
  localColumnId: string;
@@ -104765,29 +106182,30 @@ export declare const DeclarativePublicationResultSchema: z.ZodUnion<readonly [z.
104765
106182
  } | undefined;
104766
106183
  }[] | undefined;
104767
106184
  hierarchyScopes?: {
104768
- ontologyId: string;
104769
106185
  relationColumnId: string;
104770
- direction: "outgoing" | "incoming";
104771
106186
  seedIds: string[];
104772
106187
  targetAlias?: string | undefined;
104773
106188
  localColumnId?: string | undefined;
106189
+ ontologyId?: string | undefined;
106190
+ direction?: "outgoing" | "incoming" | undefined;
104774
106191
  maxDepth?: number | undefined;
104775
106192
  includeSelf?: boolean | undefined;
104776
106193
  }[] | undefined;
104777
106194
  unwind?: {
104778
106195
  columnId: string;
106196
+ alias?: string | undefined;
104779
106197
  jsonPath?: string[] | undefined;
104780
106198
  preserveEmpty?: boolean | undefined;
104781
106199
  } | undefined;
104782
106200
  having?: {
104783
106201
  key: string;
104784
- op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
106202
+ op: "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
104785
106203
  value: number;
104786
106204
  }[] | undefined;
104787
106205
  pagination?: {
104788
106206
  offset?: number | undefined;
104789
106207
  limit?: number | undefined;
104790
- includeTotalGroups?: boolean | undefined;
106208
+ withGroupTotal?: boolean | undefined;
104791
106209
  } | undefined;
104792
106210
  } | {
104793
106211
  kind: "graph";
@@ -110690,6 +112108,240 @@ export declare const DeclarativeAuthoringCommandResultSchema: z.ZodUnion<readonl
110690
112108
  }, z.core.$strict>>;
110691
112109
  }, z.core.$strict>>>;
110692
112110
  shell: z.ZodOptional<z.ZodString>;
112111
+ data: z.ZodOptional<z.ZodObject<{
112112
+ statements: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
112113
+ kind: z.ZodLiteral<"select">;
112114
+ from: z.ZodObject<{
112115
+ source: z.ZodDefault<z.ZodEnum<{
112116
+ ontology: "ontology";
112117
+ "workflow-outputs": "workflow-outputs";
112118
+ telemetry: "telemetry";
112119
+ }>>;
112120
+ ontologyId: z.ZodString;
112121
+ workflowId: z.ZodOptional<z.ZodString>;
112122
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
112123
+ }, z.core.$strict>;
112124
+ select: z.ZodOptional<z.ZodObject<{
112125
+ baseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
112126
+ propertyColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
112127
+ featureColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
112128
+ tagGroupColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
112129
+ columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
112130
+ }, z.core.$strict>>;
112131
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
112132
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
112133
+ field: z.ZodString;
112134
+ kind: z.ZodDefault<z.ZodEnum<{
112135
+ feature: "feature";
112136
+ builtin: "builtin";
112137
+ }>>;
112138
+ direction: z.ZodDefault<z.ZodEnum<{
112139
+ asc: "asc";
112140
+ desc: "desc";
112141
+ }>>;
112142
+ nulls: z.ZodOptional<z.ZodEnum<{
112143
+ first: "first";
112144
+ last: "last";
112145
+ }>>;
112146
+ }, z.core.$strict>>>;
112147
+ limit: z.ZodOptional<z.ZodNumber>;
112148
+ }, z.core.$strict>, z.ZodObject<{
112149
+ kind: z.ZodLiteral<"aggregate">;
112150
+ from: z.ZodObject<{
112151
+ source: z.ZodDefault<z.ZodEnum<{
112152
+ ontology: "ontology";
112153
+ "workflow-outputs": "workflow-outputs";
112154
+ telemetry: "telemetry";
112155
+ }>>;
112156
+ ontologyId: z.ZodString;
112157
+ workflowId: z.ZodOptional<z.ZodString>;
112158
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
112159
+ }, z.core.$strict>;
112160
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
112161
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
112162
+ metrics: z.ZodArray<z.ZodObject<{
112163
+ alias: z.ZodString;
112164
+ fn: z.ZodEnum<{
112165
+ max: "max";
112166
+ count: "count";
112167
+ sum: "sum";
112168
+ avg: "avg";
112169
+ min: "min";
112170
+ distinct_count: "distinct_count";
112171
+ ratio: "ratio";
112172
+ count_distinct: "count_distinct";
112173
+ percentile: "percentile";
112174
+ trimmed_avg: "trimmed_avg";
112175
+ first_by: "first_by";
112176
+ last_by: "last_by";
112177
+ }>;
112178
+ fieldKey: z.ZodOptional<z.ZodString>;
112179
+ numeric: z.ZodOptional<z.ZodBoolean>;
112180
+ percentile: z.ZodOptional<z.ZodNumber>;
112181
+ trimTopPct: z.ZodOptional<z.ZodNumber>;
112182
+ orderColumnId: z.ZodOptional<z.ZodString>;
112183
+ filter: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
112184
+ }, z.core.$strict>>;
112185
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
112186
+ field: z.ZodString;
112187
+ kind: z.ZodDefault<z.ZodEnum<{
112188
+ feature: "feature";
112189
+ builtin: "builtin";
112190
+ }>>;
112191
+ direction: z.ZodDefault<z.ZodEnum<{
112192
+ asc: "asc";
112193
+ desc: "desc";
112194
+ }>>;
112195
+ nulls: z.ZodOptional<z.ZodEnum<{
112196
+ first: "first";
112197
+ last: "last";
112198
+ }>>;
112199
+ }, z.core.$strict>>>;
112200
+ limit: z.ZodOptional<z.ZodNumber>;
112201
+ engine: z.ZodOptional<z.ZodEnum<{
112202
+ auto: "auto";
112203
+ search: "search";
112204
+ canonical: "canonical";
112205
+ }>>;
112206
+ allTeams: z.ZodOptional<z.ZodBoolean>;
112207
+ exact: z.ZodOptional<z.ZodBoolean>;
112208
+ includeTotals: z.ZodOptional<z.ZodBoolean>;
112209
+ timeBucket: z.ZodOptional<z.ZodObject<{
112210
+ column: z.ZodOptional<z.ZodString>;
112211
+ unit: z.ZodEnum<{
112212
+ hour: "hour";
112213
+ day: "day";
112214
+ week: "week";
112215
+ month: "month";
112216
+ quarter: "quarter";
112217
+ year: "year";
112218
+ }>;
112219
+ timeZone: z.ZodOptional<z.ZodString>;
112220
+ fillGaps: z.ZodOptional<z.ZodBoolean>;
112221
+ }, z.core.$strict>>;
112222
+ joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
112223
+ alias: z.ZodString;
112224
+ ontologyId: z.ZodString;
112225
+ assetType: z.ZodOptional<z.ZodString>;
112226
+ joinType: z.ZodOptional<z.ZodEnum<{
112227
+ inner: "inner";
112228
+ left: "left";
112229
+ }>>;
112230
+ viaRelation: z.ZodOptional<z.ZodObject<{
112231
+ columnId: z.ZodString;
112232
+ direction: z.ZodOptional<z.ZodEnum<{
112233
+ outgoing: "outgoing";
112234
+ incoming: "incoming";
112235
+ }>>;
112236
+ }, z.core.$strict>>;
112237
+ onColumn: z.ZodOptional<z.ZodObject<{
112238
+ localColumnId: z.ZodString;
112239
+ foreignColumnId: z.ZodOptional<z.ZodString>;
112240
+ foreignAssetId: z.ZodOptional<z.ZodBoolean>;
112241
+ }, z.core.$strict>>;
112242
+ }, z.core.$strict>>>;
112243
+ hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
112244
+ targetAlias: z.ZodOptional<z.ZodString>;
112245
+ localColumnId: z.ZodOptional<z.ZodString>;
112246
+ ontologyId: z.ZodOptional<z.ZodString>;
112247
+ relationColumnId: z.ZodString;
112248
+ direction: z.ZodOptional<z.ZodEnum<{
112249
+ outgoing: "outgoing";
112250
+ incoming: "incoming";
112251
+ }>>;
112252
+ seedIds: z.ZodArray<z.ZodString>;
112253
+ maxDepth: z.ZodOptional<z.ZodNumber>;
112254
+ includeSelf: z.ZodOptional<z.ZodBoolean>;
112255
+ }, z.core.$strict>>>;
112256
+ unwind: z.ZodOptional<z.ZodObject<{
112257
+ columnId: z.ZodString;
112258
+ alias: z.ZodOptional<z.ZodString>;
112259
+ jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
112260
+ preserveEmpty: z.ZodOptional<z.ZodBoolean>;
112261
+ }, z.core.$strict>>;
112262
+ having: z.ZodOptional<z.ZodArray<z.ZodObject<{
112263
+ key: z.ZodString;
112264
+ op: z.ZodEnum<{
112265
+ eq: "eq";
112266
+ neq: "neq";
112267
+ gt: "gt";
112268
+ gte: "gte";
112269
+ lt: "lt";
112270
+ lte: "lte";
112271
+ }>;
112272
+ value: z.ZodNumber;
112273
+ }, z.core.$strict>>>;
112274
+ pagination: z.ZodOptional<z.ZodObject<{
112275
+ offset: z.ZodOptional<z.ZodNumber>;
112276
+ limit: z.ZodOptional<z.ZodNumber>;
112277
+ withGroupTotal: z.ZodOptional<z.ZodBoolean>;
112278
+ }, z.core.$strict>>;
112279
+ }, z.core.$strict>, z.ZodObject<{
112280
+ kind: z.ZodLiteral<"graph">;
112281
+ from: z.ZodObject<{
112282
+ source: z.ZodDefault<z.ZodEnum<{
112283
+ ontology: "ontology";
112284
+ "workflow-outputs": "workflow-outputs";
112285
+ telemetry: "telemetry";
112286
+ }>>;
112287
+ ontologyId: z.ZodString;
112288
+ workflowId: z.ZodOptional<z.ZodString>;
112289
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
112290
+ }, z.core.$strict>;
112291
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
112292
+ graph: z.ZodObject<{
112293
+ graphKind: z.ZodEnum<{
112294
+ schema: "schema";
112295
+ cooccurrence: "cooccurrence";
112296
+ "bipartite-cosine": "bipartite-cosine";
112297
+ "focus-star": "focus-star";
112298
+ "ontology-relation": "ontology-relation";
112299
+ "record-clustering": "record-clustering";
112300
+ "field-tag-hub": "field-tag-hub";
112301
+ }>;
112302
+ maxHops: z.ZodDefault<z.ZodNumber>;
112303
+ nodeLabelField: z.ZodOptional<z.ZodString>;
112304
+ edgeRelationFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
112305
+ }, z.core.$strict>;
112306
+ limit: z.ZodOptional<z.ZodNumber>;
112307
+ }, z.core.$strict>, z.ZodObject<{
112308
+ kind: z.ZodEnum<{
112309
+ insert: "insert";
112310
+ update: "update";
112311
+ delete: "delete";
112312
+ }>;
112313
+ ontologyId: z.ZodString;
112314
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
112315
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
112316
+ }, z.core.$strict>, z.ZodObject<{
112317
+ kind: z.ZodLiteral<"call">;
112318
+ workflowId: z.ZodString;
112319
+ pageType: z.ZodDefault<z.ZodEnum<{
112320
+ process: "process";
112321
+ preview: "preview";
112322
+ log: "log";
112323
+ chat: "chat";
112324
+ api: "api";
112325
+ }>>;
112326
+ inputMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
112327
+ outputStrategy: z.ZodOptional<z.ZodEnum<{
112328
+ "default-result-ontology": "default-result-ontology";
112329
+ "domain-ontology": "domain-ontology";
112330
+ "ledger-only": "ledger-only";
112331
+ "column-writeback": "column-writeback";
112332
+ }>>;
112333
+ }, z.core.$strict>], "kind">>;
112334
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
112335
+ cache: z.ZodOptional<z.ZodObject<{
112336
+ mode: z.ZodDefault<z.ZodEnum<{
112337
+ realtime: "realtime";
112338
+ cached: "cached";
112339
+ "stale-while-revalidate": "stale-while-revalidate";
112340
+ materialized: "materialized";
112341
+ }>>;
112342
+ ttlSeconds: z.ZodOptional<z.ZodNumber>;
112343
+ }, z.core.$strict>>;
112344
+ }, z.core.$strict>>;
110693
112345
  body: z.ZodType<import("./declarative-control").PageNode, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageNode, unknown>>;
110694
112346
  initialQueryPolicy: z.ZodOptional<z.ZodEnum<{
110695
112347
  auto: "auto";
@@ -112498,8 +114150,8 @@ export declare const DeclarativeAuthoringCommandResultSchema: z.ZodUnion<readonl
112498
114150
  exact: z.ZodOptional<z.ZodBoolean>;
112499
114151
  includeTotals: z.ZodOptional<z.ZodBoolean>;
112500
114152
  timeBucket: z.ZodOptional<z.ZodObject<{
112501
- column: z.ZodString;
112502
- granularity: z.ZodEnum<{
114153
+ column: z.ZodOptional<z.ZodString>;
114154
+ unit: z.ZodEnum<{
112503
114155
  hour: "hour";
112504
114156
  day: "day";
112505
114157
  week: "week";
@@ -112507,7 +114159,7 @@ export declare const DeclarativeAuthoringCommandResultSchema: z.ZodUnion<readonl
112507
114159
  quarter: "quarter";
112508
114160
  year: "year";
112509
114161
  }>;
112510
- timezone: z.ZodOptional<z.ZodString>;
114162
+ timeZone: z.ZodOptional<z.ZodString>;
112511
114163
  fillGaps: z.ZodOptional<z.ZodBoolean>;
112512
114164
  }, z.core.$strict>>;
112513
114165
  joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -112520,10 +114172,10 @@ export declare const DeclarativeAuthoringCommandResultSchema: z.ZodUnion<readonl
112520
114172
  }>>;
112521
114173
  viaRelation: z.ZodOptional<z.ZodObject<{
112522
114174
  columnId: z.ZodString;
112523
- direction: z.ZodEnum<{
114175
+ direction: z.ZodOptional<z.ZodEnum<{
112524
114176
  outgoing: "outgoing";
112525
114177
  incoming: "incoming";
112526
- }>;
114178
+ }>>;
112527
114179
  }, z.core.$strict>>;
112528
114180
  onColumn: z.ZodOptional<z.ZodObject<{
112529
114181
  localColumnId: z.ZodString;
@@ -112534,18 +114186,19 @@ export declare const DeclarativeAuthoringCommandResultSchema: z.ZodUnion<readonl
112534
114186
  hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
112535
114187
  targetAlias: z.ZodOptional<z.ZodString>;
112536
114188
  localColumnId: z.ZodOptional<z.ZodString>;
112537
- ontologyId: z.ZodString;
114189
+ ontologyId: z.ZodOptional<z.ZodString>;
112538
114190
  relationColumnId: z.ZodString;
112539
- direction: z.ZodEnum<{
114191
+ direction: z.ZodOptional<z.ZodEnum<{
112540
114192
  outgoing: "outgoing";
112541
114193
  incoming: "incoming";
112542
- }>;
114194
+ }>>;
112543
114195
  seedIds: z.ZodArray<z.ZodString>;
112544
114196
  maxDepth: z.ZodOptional<z.ZodNumber>;
112545
114197
  includeSelf: z.ZodOptional<z.ZodBoolean>;
112546
114198
  }, z.core.$strict>>>;
112547
114199
  unwind: z.ZodOptional<z.ZodObject<{
112548
114200
  columnId: z.ZodString;
114201
+ alias: z.ZodOptional<z.ZodString>;
112549
114202
  jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
112550
114203
  preserveEmpty: z.ZodOptional<z.ZodBoolean>;
112551
114204
  }, z.core.$strict>>;
@@ -112553,18 +114206,18 @@ export declare const DeclarativeAuthoringCommandResultSchema: z.ZodUnion<readonl
112553
114206
  key: z.ZodString;
112554
114207
  op: z.ZodEnum<{
112555
114208
  eq: "eq";
114209
+ neq: "neq";
112556
114210
  gt: "gt";
112557
114211
  gte: "gte";
112558
114212
  lt: "lt";
112559
114213
  lte: "lte";
112560
- ne: "ne";
112561
114214
  }>;
112562
114215
  value: z.ZodNumber;
112563
114216
  }, z.core.$strict>>>;
112564
114217
  pagination: z.ZodOptional<z.ZodObject<{
112565
114218
  offset: z.ZodOptional<z.ZodNumber>;
112566
114219
  limit: z.ZodOptional<z.ZodNumber>;
112567
- includeTotalGroups: z.ZodOptional<z.ZodBoolean>;
114220
+ withGroupTotal: z.ZodOptional<z.ZodBoolean>;
112568
114221
  }, z.core.$strict>>;
112569
114222
  }, z.core.$strict>, z.ZodObject<{
112570
114223
  kind: z.ZodLiteral<"graph">;
@@ -119288,9 +120941,9 @@ export declare const DeclarativeAuthoringCommandResultSchema: z.ZodUnion<readonl
119288
120941
  exact?: boolean | undefined;
119289
120942
  includeTotals?: boolean | undefined;
119290
120943
  timeBucket?: {
119291
- column: string;
119292
- granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
119293
- timezone?: string | undefined;
120944
+ unit: "hour" | "day" | "week" | "month" | "quarter" | "year";
120945
+ column?: string | undefined;
120946
+ timeZone?: string | undefined;
119294
120947
  fillGaps?: boolean | undefined;
119295
120948
  } | undefined;
119296
120949
  joins?: {
@@ -119300,7 +120953,7 @@ export declare const DeclarativeAuthoringCommandResultSchema: z.ZodUnion<readonl
119300
120953
  joinType?: "inner" | "left" | undefined;
119301
120954
  viaRelation?: {
119302
120955
  columnId: string;
119303
- direction: "outgoing" | "incoming";
120956
+ direction?: "outgoing" | "incoming" | undefined;
119304
120957
  } | undefined;
119305
120958
  onColumn?: {
119306
120959
  localColumnId: string;
@@ -119309,29 +120962,30 @@ export declare const DeclarativeAuthoringCommandResultSchema: z.ZodUnion<readonl
119309
120962
  } | undefined;
119310
120963
  }[] | undefined;
119311
120964
  hierarchyScopes?: {
119312
- ontologyId: string;
119313
120965
  relationColumnId: string;
119314
- direction: "outgoing" | "incoming";
119315
120966
  seedIds: string[];
119316
120967
  targetAlias?: string | undefined;
119317
120968
  localColumnId?: string | undefined;
120969
+ ontologyId?: string | undefined;
120970
+ direction?: "outgoing" | "incoming" | undefined;
119318
120971
  maxDepth?: number | undefined;
119319
120972
  includeSelf?: boolean | undefined;
119320
120973
  }[] | undefined;
119321
120974
  unwind?: {
119322
120975
  columnId: string;
120976
+ alias?: string | undefined;
119323
120977
  jsonPath?: string[] | undefined;
119324
120978
  preserveEmpty?: boolean | undefined;
119325
120979
  } | undefined;
119326
120980
  having?: {
119327
120981
  key: string;
119328
- op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
120982
+ op: "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
119329
120983
  value: number;
119330
120984
  }[] | undefined;
119331
120985
  pagination?: {
119332
120986
  offset?: number | undefined;
119333
120987
  limit?: number | undefined;
119334
- includeTotalGroups?: boolean | undefined;
120988
+ withGroupTotal?: boolean | undefined;
119335
120989
  } | undefined;
119336
120990
  } | {
119337
120991
  kind: "graph";
@@ -122330,9 +123984,9 @@ export declare const DeclarativeAuthoringCommandResultSchema: z.ZodUnion<readonl
122330
123984
  exact?: boolean | undefined;
122331
123985
  includeTotals?: boolean | undefined;
122332
123986
  timeBucket?: {
122333
- column: string;
122334
- granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
122335
- timezone?: string | undefined;
123987
+ unit: "hour" | "day" | "week" | "month" | "quarter" | "year";
123988
+ column?: string | undefined;
123989
+ timeZone?: string | undefined;
122336
123990
  fillGaps?: boolean | undefined;
122337
123991
  } | undefined;
122338
123992
  joins?: {
@@ -122342,7 +123996,7 @@ export declare const DeclarativeAuthoringCommandResultSchema: z.ZodUnion<readonl
122342
123996
  joinType?: "inner" | "left" | undefined;
122343
123997
  viaRelation?: {
122344
123998
  columnId: string;
122345
- direction: "outgoing" | "incoming";
123999
+ direction?: "outgoing" | "incoming" | undefined;
122346
124000
  } | undefined;
122347
124001
  onColumn?: {
122348
124002
  localColumnId: string;
@@ -122351,29 +124005,30 @@ export declare const DeclarativeAuthoringCommandResultSchema: z.ZodUnion<readonl
122351
124005
  } | undefined;
122352
124006
  }[] | undefined;
122353
124007
  hierarchyScopes?: {
122354
- ontologyId: string;
122355
124008
  relationColumnId: string;
122356
- direction: "outgoing" | "incoming";
122357
124009
  seedIds: string[];
122358
124010
  targetAlias?: string | undefined;
122359
124011
  localColumnId?: string | undefined;
124012
+ ontologyId?: string | undefined;
124013
+ direction?: "outgoing" | "incoming" | undefined;
122360
124014
  maxDepth?: number | undefined;
122361
124015
  includeSelf?: boolean | undefined;
122362
124016
  }[] | undefined;
122363
124017
  unwind?: {
122364
124018
  columnId: string;
124019
+ alias?: string | undefined;
122365
124020
  jsonPath?: string[] | undefined;
122366
124021
  preserveEmpty?: boolean | undefined;
122367
124022
  } | undefined;
122368
124023
  having?: {
122369
124024
  key: string;
122370
- op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
124025
+ op: "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
122371
124026
  value: number;
122372
124027
  }[] | undefined;
122373
124028
  pagination?: {
122374
124029
  offset?: number | undefined;
122375
124030
  limit?: number | undefined;
122376
- includeTotalGroups?: boolean | undefined;
124031
+ withGroupTotal?: boolean | undefined;
122377
124032
  } | undefined;
122378
124033
  } | {
122379
124034
  kind: "graph";
@@ -130582,9 +132237,9 @@ export declare const DeclarativeAuthoringCommandResultSchema: z.ZodUnion<readonl
130582
132237
  exact?: boolean | undefined;
130583
132238
  includeTotals?: boolean | undefined;
130584
132239
  timeBucket?: {
130585
- column: string;
130586
- granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
130587
- timezone?: string | undefined;
132240
+ unit: "hour" | "day" | "week" | "month" | "quarter" | "year";
132241
+ column?: string | undefined;
132242
+ timeZone?: string | undefined;
130588
132243
  fillGaps?: boolean | undefined;
130589
132244
  } | undefined;
130590
132245
  joins?: {
@@ -130594,7 +132249,7 @@ export declare const DeclarativeAuthoringCommandResultSchema: z.ZodUnion<readonl
130594
132249
  joinType?: "inner" | "left" | undefined;
130595
132250
  viaRelation?: {
130596
132251
  columnId: string;
130597
- direction: "outgoing" | "incoming";
132252
+ direction?: "outgoing" | "incoming" | undefined;
130598
132253
  } | undefined;
130599
132254
  onColumn?: {
130600
132255
  localColumnId: string;
@@ -130603,29 +132258,30 @@ export declare const DeclarativeAuthoringCommandResultSchema: z.ZodUnion<readonl
130603
132258
  } | undefined;
130604
132259
  }[] | undefined;
130605
132260
  hierarchyScopes?: {
130606
- ontologyId: string;
130607
132261
  relationColumnId: string;
130608
- direction: "outgoing" | "incoming";
130609
132262
  seedIds: string[];
130610
132263
  targetAlias?: string | undefined;
130611
132264
  localColumnId?: string | undefined;
132265
+ ontologyId?: string | undefined;
132266
+ direction?: "outgoing" | "incoming" | undefined;
130612
132267
  maxDepth?: number | undefined;
130613
132268
  includeSelf?: boolean | undefined;
130614
132269
  }[] | undefined;
130615
132270
  unwind?: {
130616
132271
  columnId: string;
132272
+ alias?: string | undefined;
130617
132273
  jsonPath?: string[] | undefined;
130618
132274
  preserveEmpty?: boolean | undefined;
130619
132275
  } | undefined;
130620
132276
  having?: {
130621
132277
  key: string;
130622
- op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
132278
+ op: "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
130623
132279
  value: number;
130624
132280
  }[] | undefined;
130625
132281
  pagination?: {
130626
132282
  offset?: number | undefined;
130627
132283
  limit?: number | undefined;
130628
- includeTotalGroups?: boolean | undefined;
132284
+ withGroupTotal?: boolean | undefined;
130629
132285
  } | undefined;
130630
132286
  } | {
130631
132287
  kind: "graph";
@@ -133624,9 +135280,9 @@ export declare const DeclarativeAuthoringCommandResultSchema: z.ZodUnion<readonl
133624
135280
  exact?: boolean | undefined;
133625
135281
  includeTotals?: boolean | undefined;
133626
135282
  timeBucket?: {
133627
- column: string;
133628
- granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
133629
- timezone?: string | undefined;
135283
+ unit: "hour" | "day" | "week" | "month" | "quarter" | "year";
135284
+ column?: string | undefined;
135285
+ timeZone?: string | undefined;
133630
135286
  fillGaps?: boolean | undefined;
133631
135287
  } | undefined;
133632
135288
  joins?: {
@@ -133636,7 +135292,7 @@ export declare const DeclarativeAuthoringCommandResultSchema: z.ZodUnion<readonl
133636
135292
  joinType?: "inner" | "left" | undefined;
133637
135293
  viaRelation?: {
133638
135294
  columnId: string;
133639
- direction: "outgoing" | "incoming";
135295
+ direction?: "outgoing" | "incoming" | undefined;
133640
135296
  } | undefined;
133641
135297
  onColumn?: {
133642
135298
  localColumnId: string;
@@ -133645,29 +135301,30 @@ export declare const DeclarativeAuthoringCommandResultSchema: z.ZodUnion<readonl
133645
135301
  } | undefined;
133646
135302
  }[] | undefined;
133647
135303
  hierarchyScopes?: {
133648
- ontologyId: string;
133649
135304
  relationColumnId: string;
133650
- direction: "outgoing" | "incoming";
133651
135305
  seedIds: string[];
133652
135306
  targetAlias?: string | undefined;
133653
135307
  localColumnId?: string | undefined;
135308
+ ontologyId?: string | undefined;
135309
+ direction?: "outgoing" | "incoming" | undefined;
133654
135310
  maxDepth?: number | undefined;
133655
135311
  includeSelf?: boolean | undefined;
133656
135312
  }[] | undefined;
133657
135313
  unwind?: {
133658
135314
  columnId: string;
135315
+ alias?: string | undefined;
133659
135316
  jsonPath?: string[] | undefined;
133660
135317
  preserveEmpty?: boolean | undefined;
133661
135318
  } | undefined;
133662
135319
  having?: {
133663
135320
  key: string;
133664
- op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
135321
+ op: "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
133665
135322
  value: number;
133666
135323
  }[] | undefined;
133667
135324
  pagination?: {
133668
135325
  offset?: number | undefined;
133669
135326
  limit?: number | undefined;
133670
- includeTotalGroups?: boolean | undefined;
135327
+ withGroupTotal?: boolean | undefined;
133671
135328
  } | undefined;
133672
135329
  } | {
133673
135330
  kind: "graph";
@@ -141903,9 +143560,9 @@ export declare const DeclarativeAuthoringCommandResultSchema: z.ZodUnion<readonl
141903
143560
  exact?: boolean | undefined;
141904
143561
  includeTotals?: boolean | undefined;
141905
143562
  timeBucket?: {
141906
- column: string;
141907
- granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
141908
- timezone?: string | undefined;
143563
+ unit: "hour" | "day" | "week" | "month" | "quarter" | "year";
143564
+ column?: string | undefined;
143565
+ timeZone?: string | undefined;
141909
143566
  fillGaps?: boolean | undefined;
141910
143567
  } | undefined;
141911
143568
  joins?: {
@@ -141915,7 +143572,7 @@ export declare const DeclarativeAuthoringCommandResultSchema: z.ZodUnion<readonl
141915
143572
  joinType?: "inner" | "left" | undefined;
141916
143573
  viaRelation?: {
141917
143574
  columnId: string;
141918
- direction: "outgoing" | "incoming";
143575
+ direction?: "outgoing" | "incoming" | undefined;
141919
143576
  } | undefined;
141920
143577
  onColumn?: {
141921
143578
  localColumnId: string;
@@ -141924,29 +143581,30 @@ export declare const DeclarativeAuthoringCommandResultSchema: z.ZodUnion<readonl
141924
143581
  } | undefined;
141925
143582
  }[] | undefined;
141926
143583
  hierarchyScopes?: {
141927
- ontologyId: string;
141928
143584
  relationColumnId: string;
141929
- direction: "outgoing" | "incoming";
141930
143585
  seedIds: string[];
141931
143586
  targetAlias?: string | undefined;
141932
143587
  localColumnId?: string | undefined;
143588
+ ontologyId?: string | undefined;
143589
+ direction?: "outgoing" | "incoming" | undefined;
141933
143590
  maxDepth?: number | undefined;
141934
143591
  includeSelf?: boolean | undefined;
141935
143592
  }[] | undefined;
141936
143593
  unwind?: {
141937
143594
  columnId: string;
143595
+ alias?: string | undefined;
141938
143596
  jsonPath?: string[] | undefined;
141939
143597
  preserveEmpty?: boolean | undefined;
141940
143598
  } | undefined;
141941
143599
  having?: {
141942
143600
  key: string;
141943
- op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
143601
+ op: "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
141944
143602
  value: number;
141945
143603
  }[] | undefined;
141946
143604
  pagination?: {
141947
143605
  offset?: number | undefined;
141948
143606
  limit?: number | undefined;
141949
- includeTotalGroups?: boolean | undefined;
143607
+ withGroupTotal?: boolean | undefined;
141950
143608
  } | undefined;
141951
143609
  } | {
141952
143610
  kind: "graph";
@@ -144945,9 +146603,9 @@ export declare const DeclarativeAuthoringCommandResultSchema: z.ZodUnion<readonl
144945
146603
  exact?: boolean | undefined;
144946
146604
  includeTotals?: boolean | undefined;
144947
146605
  timeBucket?: {
144948
- column: string;
144949
- granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
144950
- timezone?: string | undefined;
146606
+ unit: "hour" | "day" | "week" | "month" | "quarter" | "year";
146607
+ column?: string | undefined;
146608
+ timeZone?: string | undefined;
144951
146609
  fillGaps?: boolean | undefined;
144952
146610
  } | undefined;
144953
146611
  joins?: {
@@ -144957,7 +146615,7 @@ export declare const DeclarativeAuthoringCommandResultSchema: z.ZodUnion<readonl
144957
146615
  joinType?: "inner" | "left" | undefined;
144958
146616
  viaRelation?: {
144959
146617
  columnId: string;
144960
- direction: "outgoing" | "incoming";
146618
+ direction?: "outgoing" | "incoming" | undefined;
144961
146619
  } | undefined;
144962
146620
  onColumn?: {
144963
146621
  localColumnId: string;
@@ -144966,29 +146624,30 @@ export declare const DeclarativeAuthoringCommandResultSchema: z.ZodUnion<readonl
144966
146624
  } | undefined;
144967
146625
  }[] | undefined;
144968
146626
  hierarchyScopes?: {
144969
- ontologyId: string;
144970
146627
  relationColumnId: string;
144971
- direction: "outgoing" | "incoming";
144972
146628
  seedIds: string[];
144973
146629
  targetAlias?: string | undefined;
144974
146630
  localColumnId?: string | undefined;
146631
+ ontologyId?: string | undefined;
146632
+ direction?: "outgoing" | "incoming" | undefined;
144975
146633
  maxDepth?: number | undefined;
144976
146634
  includeSelf?: boolean | undefined;
144977
146635
  }[] | undefined;
144978
146636
  unwind?: {
144979
146637
  columnId: string;
146638
+ alias?: string | undefined;
144980
146639
  jsonPath?: string[] | undefined;
144981
146640
  preserveEmpty?: boolean | undefined;
144982
146641
  } | undefined;
144983
146642
  having?: {
144984
146643
  key: string;
144985
- op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
146644
+ op: "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
144986
146645
  value: number;
144987
146646
  }[] | undefined;
144988
146647
  pagination?: {
144989
146648
  offset?: number | undefined;
144990
146649
  limit?: number | undefined;
144991
- includeTotalGroups?: boolean | undefined;
146650
+ withGroupTotal?: boolean | undefined;
144992
146651
  } | undefined;
144993
146652
  } | {
144994
146653
  kind: "graph";
@@ -153841,6 +155500,240 @@ export declare const DeclarativeAuthoringBootstrapSchema: z.ZodObject<{
153841
155500
  }, z.core.$strict>>;
153842
155501
  }, z.core.$strict>>>;
153843
155502
  shell: z.ZodOptional<z.ZodString>;
155503
+ data: z.ZodOptional<z.ZodObject<{
155504
+ statements: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
155505
+ kind: z.ZodLiteral<"select">;
155506
+ from: z.ZodObject<{
155507
+ source: z.ZodDefault<z.ZodEnum<{
155508
+ ontology: "ontology";
155509
+ "workflow-outputs": "workflow-outputs";
155510
+ telemetry: "telemetry";
155511
+ }>>;
155512
+ ontologyId: z.ZodString;
155513
+ workflowId: z.ZodOptional<z.ZodString>;
155514
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
155515
+ }, z.core.$strict>;
155516
+ select: z.ZodOptional<z.ZodObject<{
155517
+ baseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
155518
+ propertyColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
155519
+ featureColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
155520
+ tagGroupColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
155521
+ columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
155522
+ }, z.core.$strict>>;
155523
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
155524
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
155525
+ field: z.ZodString;
155526
+ kind: z.ZodDefault<z.ZodEnum<{
155527
+ feature: "feature";
155528
+ builtin: "builtin";
155529
+ }>>;
155530
+ direction: z.ZodDefault<z.ZodEnum<{
155531
+ asc: "asc";
155532
+ desc: "desc";
155533
+ }>>;
155534
+ nulls: z.ZodOptional<z.ZodEnum<{
155535
+ first: "first";
155536
+ last: "last";
155537
+ }>>;
155538
+ }, z.core.$strict>>>;
155539
+ limit: z.ZodOptional<z.ZodNumber>;
155540
+ }, z.core.$strict>, z.ZodObject<{
155541
+ kind: z.ZodLiteral<"aggregate">;
155542
+ from: z.ZodObject<{
155543
+ source: z.ZodDefault<z.ZodEnum<{
155544
+ ontology: "ontology";
155545
+ "workflow-outputs": "workflow-outputs";
155546
+ telemetry: "telemetry";
155547
+ }>>;
155548
+ ontologyId: z.ZodString;
155549
+ workflowId: z.ZodOptional<z.ZodString>;
155550
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
155551
+ }, z.core.$strict>;
155552
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
155553
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
155554
+ metrics: z.ZodArray<z.ZodObject<{
155555
+ alias: z.ZodString;
155556
+ fn: z.ZodEnum<{
155557
+ max: "max";
155558
+ count: "count";
155559
+ sum: "sum";
155560
+ avg: "avg";
155561
+ min: "min";
155562
+ distinct_count: "distinct_count";
155563
+ ratio: "ratio";
155564
+ count_distinct: "count_distinct";
155565
+ percentile: "percentile";
155566
+ trimmed_avg: "trimmed_avg";
155567
+ first_by: "first_by";
155568
+ last_by: "last_by";
155569
+ }>;
155570
+ fieldKey: z.ZodOptional<z.ZodString>;
155571
+ numeric: z.ZodOptional<z.ZodBoolean>;
155572
+ percentile: z.ZodOptional<z.ZodNumber>;
155573
+ trimTopPct: z.ZodOptional<z.ZodNumber>;
155574
+ orderColumnId: z.ZodOptional<z.ZodString>;
155575
+ filter: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
155576
+ }, z.core.$strict>>;
155577
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
155578
+ field: z.ZodString;
155579
+ kind: z.ZodDefault<z.ZodEnum<{
155580
+ feature: "feature";
155581
+ builtin: "builtin";
155582
+ }>>;
155583
+ direction: z.ZodDefault<z.ZodEnum<{
155584
+ asc: "asc";
155585
+ desc: "desc";
155586
+ }>>;
155587
+ nulls: z.ZodOptional<z.ZodEnum<{
155588
+ first: "first";
155589
+ last: "last";
155590
+ }>>;
155591
+ }, z.core.$strict>>>;
155592
+ limit: z.ZodOptional<z.ZodNumber>;
155593
+ engine: z.ZodOptional<z.ZodEnum<{
155594
+ auto: "auto";
155595
+ search: "search";
155596
+ canonical: "canonical";
155597
+ }>>;
155598
+ allTeams: z.ZodOptional<z.ZodBoolean>;
155599
+ exact: z.ZodOptional<z.ZodBoolean>;
155600
+ includeTotals: z.ZodOptional<z.ZodBoolean>;
155601
+ timeBucket: z.ZodOptional<z.ZodObject<{
155602
+ column: z.ZodOptional<z.ZodString>;
155603
+ unit: z.ZodEnum<{
155604
+ hour: "hour";
155605
+ day: "day";
155606
+ week: "week";
155607
+ month: "month";
155608
+ quarter: "quarter";
155609
+ year: "year";
155610
+ }>;
155611
+ timeZone: z.ZodOptional<z.ZodString>;
155612
+ fillGaps: z.ZodOptional<z.ZodBoolean>;
155613
+ }, z.core.$strict>>;
155614
+ joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
155615
+ alias: z.ZodString;
155616
+ ontologyId: z.ZodString;
155617
+ assetType: z.ZodOptional<z.ZodString>;
155618
+ joinType: z.ZodOptional<z.ZodEnum<{
155619
+ inner: "inner";
155620
+ left: "left";
155621
+ }>>;
155622
+ viaRelation: z.ZodOptional<z.ZodObject<{
155623
+ columnId: z.ZodString;
155624
+ direction: z.ZodOptional<z.ZodEnum<{
155625
+ outgoing: "outgoing";
155626
+ incoming: "incoming";
155627
+ }>>;
155628
+ }, z.core.$strict>>;
155629
+ onColumn: z.ZodOptional<z.ZodObject<{
155630
+ localColumnId: z.ZodString;
155631
+ foreignColumnId: z.ZodOptional<z.ZodString>;
155632
+ foreignAssetId: z.ZodOptional<z.ZodBoolean>;
155633
+ }, z.core.$strict>>;
155634
+ }, z.core.$strict>>>;
155635
+ hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
155636
+ targetAlias: z.ZodOptional<z.ZodString>;
155637
+ localColumnId: z.ZodOptional<z.ZodString>;
155638
+ ontologyId: z.ZodOptional<z.ZodString>;
155639
+ relationColumnId: z.ZodString;
155640
+ direction: z.ZodOptional<z.ZodEnum<{
155641
+ outgoing: "outgoing";
155642
+ incoming: "incoming";
155643
+ }>>;
155644
+ seedIds: z.ZodArray<z.ZodString>;
155645
+ maxDepth: z.ZodOptional<z.ZodNumber>;
155646
+ includeSelf: z.ZodOptional<z.ZodBoolean>;
155647
+ }, z.core.$strict>>>;
155648
+ unwind: z.ZodOptional<z.ZodObject<{
155649
+ columnId: z.ZodString;
155650
+ alias: z.ZodOptional<z.ZodString>;
155651
+ jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
155652
+ preserveEmpty: z.ZodOptional<z.ZodBoolean>;
155653
+ }, z.core.$strict>>;
155654
+ having: z.ZodOptional<z.ZodArray<z.ZodObject<{
155655
+ key: z.ZodString;
155656
+ op: z.ZodEnum<{
155657
+ eq: "eq";
155658
+ neq: "neq";
155659
+ gt: "gt";
155660
+ gte: "gte";
155661
+ lt: "lt";
155662
+ lte: "lte";
155663
+ }>;
155664
+ value: z.ZodNumber;
155665
+ }, z.core.$strict>>>;
155666
+ pagination: z.ZodOptional<z.ZodObject<{
155667
+ offset: z.ZodOptional<z.ZodNumber>;
155668
+ limit: z.ZodOptional<z.ZodNumber>;
155669
+ withGroupTotal: z.ZodOptional<z.ZodBoolean>;
155670
+ }, z.core.$strict>>;
155671
+ }, z.core.$strict>, z.ZodObject<{
155672
+ kind: z.ZodLiteral<"graph">;
155673
+ from: z.ZodObject<{
155674
+ source: z.ZodDefault<z.ZodEnum<{
155675
+ ontology: "ontology";
155676
+ "workflow-outputs": "workflow-outputs";
155677
+ telemetry: "telemetry";
155678
+ }>>;
155679
+ ontologyId: z.ZodString;
155680
+ workflowId: z.ZodOptional<z.ZodString>;
155681
+ includeSharedSlices: z.ZodOptional<z.ZodBoolean>;
155682
+ }, z.core.$strict>;
155683
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
155684
+ graph: z.ZodObject<{
155685
+ graphKind: z.ZodEnum<{
155686
+ schema: "schema";
155687
+ cooccurrence: "cooccurrence";
155688
+ "bipartite-cosine": "bipartite-cosine";
155689
+ "focus-star": "focus-star";
155690
+ "ontology-relation": "ontology-relation";
155691
+ "record-clustering": "record-clustering";
155692
+ "field-tag-hub": "field-tag-hub";
155693
+ }>;
155694
+ maxHops: z.ZodDefault<z.ZodNumber>;
155695
+ nodeLabelField: z.ZodOptional<z.ZodString>;
155696
+ edgeRelationFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
155697
+ }, z.core.$strict>;
155698
+ limit: z.ZodOptional<z.ZodNumber>;
155699
+ }, z.core.$strict>, z.ZodObject<{
155700
+ kind: z.ZodEnum<{
155701
+ insert: "insert";
155702
+ update: "update";
155703
+ delete: "delete";
155704
+ }>;
155705
+ ontologyId: z.ZodString;
155706
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
155707
+ where: z.ZodOptional<z.ZodType<import("./bento-block").ViewSqlWhere, unknown, z.core.$ZodTypeInternals<import("./bento-block").ViewSqlWhere, unknown>>>;
155708
+ }, z.core.$strict>, z.ZodObject<{
155709
+ kind: z.ZodLiteral<"call">;
155710
+ workflowId: z.ZodString;
155711
+ pageType: z.ZodDefault<z.ZodEnum<{
155712
+ process: "process";
155713
+ preview: "preview";
155714
+ log: "log";
155715
+ chat: "chat";
155716
+ api: "api";
155717
+ }>>;
155718
+ inputMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
155719
+ outputStrategy: z.ZodOptional<z.ZodEnum<{
155720
+ "default-result-ontology": "default-result-ontology";
155721
+ "domain-ontology": "domain-ontology";
155722
+ "ledger-only": "ledger-only";
155723
+ "column-writeback": "column-writeback";
155724
+ }>>;
155725
+ }, z.core.$strict>], "kind">>;
155726
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
155727
+ cache: z.ZodOptional<z.ZodObject<{
155728
+ mode: z.ZodDefault<z.ZodEnum<{
155729
+ realtime: "realtime";
155730
+ cached: "cached";
155731
+ "stale-while-revalidate": "stale-while-revalidate";
155732
+ materialized: "materialized";
155733
+ }>>;
155734
+ ttlSeconds: z.ZodOptional<z.ZodNumber>;
155735
+ }, z.core.$strict>>;
155736
+ }, z.core.$strict>>;
153844
155737
  body: z.ZodType<import("./declarative-control").PageNode, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageNode, unknown>>;
153845
155738
  initialQueryPolicy: z.ZodOptional<z.ZodEnum<{
153846
155739
  auto: "auto";
@@ -155649,8 +157542,8 @@ export declare const DeclarativeAuthoringBootstrapSchema: z.ZodObject<{
155649
157542
  exact: z.ZodOptional<z.ZodBoolean>;
155650
157543
  includeTotals: z.ZodOptional<z.ZodBoolean>;
155651
157544
  timeBucket: z.ZodOptional<z.ZodObject<{
155652
- column: z.ZodString;
155653
- granularity: z.ZodEnum<{
157545
+ column: z.ZodOptional<z.ZodString>;
157546
+ unit: z.ZodEnum<{
155654
157547
  hour: "hour";
155655
157548
  day: "day";
155656
157549
  week: "week";
@@ -155658,7 +157551,7 @@ export declare const DeclarativeAuthoringBootstrapSchema: z.ZodObject<{
155658
157551
  quarter: "quarter";
155659
157552
  year: "year";
155660
157553
  }>;
155661
- timezone: z.ZodOptional<z.ZodString>;
157554
+ timeZone: z.ZodOptional<z.ZodString>;
155662
157555
  fillGaps: z.ZodOptional<z.ZodBoolean>;
155663
157556
  }, z.core.$strict>>;
155664
157557
  joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -155671,10 +157564,10 @@ export declare const DeclarativeAuthoringBootstrapSchema: z.ZodObject<{
155671
157564
  }>>;
155672
157565
  viaRelation: z.ZodOptional<z.ZodObject<{
155673
157566
  columnId: z.ZodString;
155674
- direction: z.ZodEnum<{
157567
+ direction: z.ZodOptional<z.ZodEnum<{
155675
157568
  outgoing: "outgoing";
155676
157569
  incoming: "incoming";
155677
- }>;
157570
+ }>>;
155678
157571
  }, z.core.$strict>>;
155679
157572
  onColumn: z.ZodOptional<z.ZodObject<{
155680
157573
  localColumnId: z.ZodString;
@@ -155685,18 +157578,19 @@ export declare const DeclarativeAuthoringBootstrapSchema: z.ZodObject<{
155685
157578
  hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
155686
157579
  targetAlias: z.ZodOptional<z.ZodString>;
155687
157580
  localColumnId: z.ZodOptional<z.ZodString>;
155688
- ontologyId: z.ZodString;
157581
+ ontologyId: z.ZodOptional<z.ZodString>;
155689
157582
  relationColumnId: z.ZodString;
155690
- direction: z.ZodEnum<{
157583
+ direction: z.ZodOptional<z.ZodEnum<{
155691
157584
  outgoing: "outgoing";
155692
157585
  incoming: "incoming";
155693
- }>;
157586
+ }>>;
155694
157587
  seedIds: z.ZodArray<z.ZodString>;
155695
157588
  maxDepth: z.ZodOptional<z.ZodNumber>;
155696
157589
  includeSelf: z.ZodOptional<z.ZodBoolean>;
155697
157590
  }, z.core.$strict>>>;
155698
157591
  unwind: z.ZodOptional<z.ZodObject<{
155699
157592
  columnId: z.ZodString;
157593
+ alias: z.ZodOptional<z.ZodString>;
155700
157594
  jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
155701
157595
  preserveEmpty: z.ZodOptional<z.ZodBoolean>;
155702
157596
  }, z.core.$strict>>;
@@ -155704,18 +157598,18 @@ export declare const DeclarativeAuthoringBootstrapSchema: z.ZodObject<{
155704
157598
  key: z.ZodString;
155705
157599
  op: z.ZodEnum<{
155706
157600
  eq: "eq";
157601
+ neq: "neq";
155707
157602
  gt: "gt";
155708
157603
  gte: "gte";
155709
157604
  lt: "lt";
155710
157605
  lte: "lte";
155711
- ne: "ne";
155712
157606
  }>;
155713
157607
  value: z.ZodNumber;
155714
157608
  }, z.core.$strict>>>;
155715
157609
  pagination: z.ZodOptional<z.ZodObject<{
155716
157610
  offset: z.ZodOptional<z.ZodNumber>;
155717
157611
  limit: z.ZodOptional<z.ZodNumber>;
155718
- includeTotalGroups: z.ZodOptional<z.ZodBoolean>;
157612
+ withGroupTotal: z.ZodOptional<z.ZodBoolean>;
155719
157613
  }, z.core.$strict>>;
155720
157614
  }, z.core.$strict>, z.ZodObject<{
155721
157615
  kind: z.ZodLiteral<"graph">;
@@ -165354,9 +167248,9 @@ export declare const PageCompositionResolutionSchema: z.ZodObject<{
165354
167248
  exact?: boolean | undefined;
165355
167249
  includeTotals?: boolean | undefined;
165356
167250
  timeBucket?: {
165357
- column: string;
165358
- granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
165359
- timezone?: string | undefined;
167251
+ unit: "hour" | "day" | "week" | "month" | "quarter" | "year";
167252
+ column?: string | undefined;
167253
+ timeZone?: string | undefined;
165360
167254
  fillGaps?: boolean | undefined;
165361
167255
  } | undefined;
165362
167256
  joins?: {
@@ -165366,7 +167260,7 @@ export declare const PageCompositionResolutionSchema: z.ZodObject<{
165366
167260
  joinType?: "inner" | "left" | undefined;
165367
167261
  viaRelation?: {
165368
167262
  columnId: string;
165369
- direction: "outgoing" | "incoming";
167263
+ direction?: "outgoing" | "incoming" | undefined;
165370
167264
  } | undefined;
165371
167265
  onColumn?: {
165372
167266
  localColumnId: string;
@@ -165375,29 +167269,30 @@ export declare const PageCompositionResolutionSchema: z.ZodObject<{
165375
167269
  } | undefined;
165376
167270
  }[] | undefined;
165377
167271
  hierarchyScopes?: {
165378
- ontologyId: string;
165379
167272
  relationColumnId: string;
165380
- direction: "outgoing" | "incoming";
165381
167273
  seedIds: string[];
165382
167274
  targetAlias?: string | undefined;
165383
167275
  localColumnId?: string | undefined;
167276
+ ontologyId?: string | undefined;
167277
+ direction?: "outgoing" | "incoming" | undefined;
165384
167278
  maxDepth?: number | undefined;
165385
167279
  includeSelf?: boolean | undefined;
165386
167280
  }[] | undefined;
165387
167281
  unwind?: {
165388
167282
  columnId: string;
167283
+ alias?: string | undefined;
165389
167284
  jsonPath?: string[] | undefined;
165390
167285
  preserveEmpty?: boolean | undefined;
165391
167286
  } | undefined;
165392
167287
  having?: {
165393
167288
  key: string;
165394
- op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
167289
+ op: "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
165395
167290
  value: number;
165396
167291
  }[] | undefined;
165397
167292
  pagination?: {
165398
167293
  offset?: number | undefined;
165399
167294
  limit?: number | undefined;
165400
- includeTotalGroups?: boolean | undefined;
167295
+ withGroupTotal?: boolean | undefined;
165401
167296
  } | undefined;
165402
167297
  } | {
165403
167298
  kind: "graph";
@@ -168396,9 +170291,9 @@ export declare const PageCompositionResolutionSchema: z.ZodObject<{
168396
170291
  exact?: boolean | undefined;
168397
170292
  includeTotals?: boolean | undefined;
168398
170293
  timeBucket?: {
168399
- column: string;
168400
- granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
168401
- timezone?: string | undefined;
170294
+ unit: "hour" | "day" | "week" | "month" | "quarter" | "year";
170295
+ column?: string | undefined;
170296
+ timeZone?: string | undefined;
168402
170297
  fillGaps?: boolean | undefined;
168403
170298
  } | undefined;
168404
170299
  joins?: {
@@ -168408,7 +170303,7 @@ export declare const PageCompositionResolutionSchema: z.ZodObject<{
168408
170303
  joinType?: "inner" | "left" | undefined;
168409
170304
  viaRelation?: {
168410
170305
  columnId: string;
168411
- direction: "outgoing" | "incoming";
170306
+ direction?: "outgoing" | "incoming" | undefined;
168412
170307
  } | undefined;
168413
170308
  onColumn?: {
168414
170309
  localColumnId: string;
@@ -168417,29 +170312,30 @@ export declare const PageCompositionResolutionSchema: z.ZodObject<{
168417
170312
  } | undefined;
168418
170313
  }[] | undefined;
168419
170314
  hierarchyScopes?: {
168420
- ontologyId: string;
168421
170315
  relationColumnId: string;
168422
- direction: "outgoing" | "incoming";
168423
170316
  seedIds: string[];
168424
170317
  targetAlias?: string | undefined;
168425
170318
  localColumnId?: string | undefined;
170319
+ ontologyId?: string | undefined;
170320
+ direction?: "outgoing" | "incoming" | undefined;
168426
170321
  maxDepth?: number | undefined;
168427
170322
  includeSelf?: boolean | undefined;
168428
170323
  }[] | undefined;
168429
170324
  unwind?: {
168430
170325
  columnId: string;
170326
+ alias?: string | undefined;
168431
170327
  jsonPath?: string[] | undefined;
168432
170328
  preserveEmpty?: boolean | undefined;
168433
170329
  } | undefined;
168434
170330
  having?: {
168435
170331
  key: string;
168436
- op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
170332
+ op: "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
168437
170333
  value: number;
168438
170334
  }[] | undefined;
168439
170335
  pagination?: {
168440
170336
  offset?: number | undefined;
168441
170337
  limit?: number | undefined;
168442
- includeTotalGroups?: boolean | undefined;
170338
+ withGroupTotal?: boolean | undefined;
168443
170339
  } | undefined;
168444
170340
  } | {
168445
170341
  kind: "graph";
@@ -171659,8 +173555,8 @@ export declare const PageInstanceResolutionSchema: z.ZodObject<{
171659
173555
  exact: z.ZodOptional<z.ZodBoolean>;
171660
173556
  includeTotals: z.ZodOptional<z.ZodBoolean>;
171661
173557
  timeBucket: z.ZodOptional<z.ZodObject<{
171662
- column: z.ZodString;
171663
- granularity: z.ZodEnum<{
173558
+ column: z.ZodOptional<z.ZodString>;
173559
+ unit: z.ZodEnum<{
171664
173560
  hour: "hour";
171665
173561
  day: "day";
171666
173562
  week: "week";
@@ -171668,7 +173564,7 @@ export declare const PageInstanceResolutionSchema: z.ZodObject<{
171668
173564
  quarter: "quarter";
171669
173565
  year: "year";
171670
173566
  }>;
171671
- timezone: z.ZodOptional<z.ZodString>;
173567
+ timeZone: z.ZodOptional<z.ZodString>;
171672
173568
  fillGaps: z.ZodOptional<z.ZodBoolean>;
171673
173569
  }, z.core.$strict>>;
171674
173570
  joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -171681,10 +173577,10 @@ export declare const PageInstanceResolutionSchema: z.ZodObject<{
171681
173577
  }>>;
171682
173578
  viaRelation: z.ZodOptional<z.ZodObject<{
171683
173579
  columnId: z.ZodString;
171684
- direction: z.ZodEnum<{
173580
+ direction: z.ZodOptional<z.ZodEnum<{
171685
173581
  outgoing: "outgoing";
171686
173582
  incoming: "incoming";
171687
- }>;
173583
+ }>>;
171688
173584
  }, z.core.$strict>>;
171689
173585
  onColumn: z.ZodOptional<z.ZodObject<{
171690
173586
  localColumnId: z.ZodString;
@@ -171695,18 +173591,19 @@ export declare const PageInstanceResolutionSchema: z.ZodObject<{
171695
173591
  hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
171696
173592
  targetAlias: z.ZodOptional<z.ZodString>;
171697
173593
  localColumnId: z.ZodOptional<z.ZodString>;
171698
- ontologyId: z.ZodString;
173594
+ ontologyId: z.ZodOptional<z.ZodString>;
171699
173595
  relationColumnId: z.ZodString;
171700
- direction: z.ZodEnum<{
173596
+ direction: z.ZodOptional<z.ZodEnum<{
171701
173597
  outgoing: "outgoing";
171702
173598
  incoming: "incoming";
171703
- }>;
173599
+ }>>;
171704
173600
  seedIds: z.ZodArray<z.ZodString>;
171705
173601
  maxDepth: z.ZodOptional<z.ZodNumber>;
171706
173602
  includeSelf: z.ZodOptional<z.ZodBoolean>;
171707
173603
  }, z.core.$strict>>>;
171708
173604
  unwind: z.ZodOptional<z.ZodObject<{
171709
173605
  columnId: z.ZodString;
173606
+ alias: z.ZodOptional<z.ZodString>;
171710
173607
  jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
171711
173608
  preserveEmpty: z.ZodOptional<z.ZodBoolean>;
171712
173609
  }, z.core.$strict>>;
@@ -171714,18 +173611,18 @@ export declare const PageInstanceResolutionSchema: z.ZodObject<{
171714
173611
  key: z.ZodString;
171715
173612
  op: z.ZodEnum<{
171716
173613
  eq: "eq";
173614
+ neq: "neq";
171717
173615
  gt: "gt";
171718
173616
  gte: "gte";
171719
173617
  lt: "lt";
171720
173618
  lte: "lte";
171721
- ne: "ne";
171722
173619
  }>;
171723
173620
  value: z.ZodNumber;
171724
173621
  }, z.core.$strict>>>;
171725
173622
  pagination: z.ZodOptional<z.ZodObject<{
171726
173623
  offset: z.ZodOptional<z.ZodNumber>;
171727
173624
  limit: z.ZodOptional<z.ZodNumber>;
171728
- includeTotalGroups: z.ZodOptional<z.ZodBoolean>;
173625
+ withGroupTotal: z.ZodOptional<z.ZodBoolean>;
171729
173626
  }, z.core.$strict>>;
171730
173627
  }, z.core.$strict>, z.ZodObject<{
171731
173628
  kind: z.ZodLiteral<"graph">;
@@ -175521,9 +177418,9 @@ export declare const DeclarativeRuntimeResolvedSchema: z.ZodObject<{
175521
177418
  exact?: boolean | undefined;
175522
177419
  includeTotals?: boolean | undefined;
175523
177420
  timeBucket?: {
175524
- column: string;
175525
- granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
175526
- timezone?: string | undefined;
177421
+ unit: "hour" | "day" | "week" | "month" | "quarter" | "year";
177422
+ column?: string | undefined;
177423
+ timeZone?: string | undefined;
175527
177424
  fillGaps?: boolean | undefined;
175528
177425
  } | undefined;
175529
177426
  joins?: {
@@ -175533,7 +177430,7 @@ export declare const DeclarativeRuntimeResolvedSchema: z.ZodObject<{
175533
177430
  joinType?: "inner" | "left" | undefined;
175534
177431
  viaRelation?: {
175535
177432
  columnId: string;
175536
- direction: "outgoing" | "incoming";
177433
+ direction?: "outgoing" | "incoming" | undefined;
175537
177434
  } | undefined;
175538
177435
  onColumn?: {
175539
177436
  localColumnId: string;
@@ -175542,29 +177439,30 @@ export declare const DeclarativeRuntimeResolvedSchema: z.ZodObject<{
175542
177439
  } | undefined;
175543
177440
  }[] | undefined;
175544
177441
  hierarchyScopes?: {
175545
- ontologyId: string;
175546
177442
  relationColumnId: string;
175547
- direction: "outgoing" | "incoming";
175548
177443
  seedIds: string[];
175549
177444
  targetAlias?: string | undefined;
175550
177445
  localColumnId?: string | undefined;
177446
+ ontologyId?: string | undefined;
177447
+ direction?: "outgoing" | "incoming" | undefined;
175551
177448
  maxDepth?: number | undefined;
175552
177449
  includeSelf?: boolean | undefined;
175553
177450
  }[] | undefined;
175554
177451
  unwind?: {
175555
177452
  columnId: string;
177453
+ alias?: string | undefined;
175556
177454
  jsonPath?: string[] | undefined;
175557
177455
  preserveEmpty?: boolean | undefined;
175558
177456
  } | undefined;
175559
177457
  having?: {
175560
177458
  key: string;
175561
- op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
177459
+ op: "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
175562
177460
  value: number;
175563
177461
  }[] | undefined;
175564
177462
  pagination?: {
175565
177463
  offset?: number | undefined;
175566
177464
  limit?: number | undefined;
175567
- includeTotalGroups?: boolean | undefined;
177465
+ withGroupTotal?: boolean | undefined;
175568
177466
  } | undefined;
175569
177467
  } | {
175570
177468
  kind: "graph";
@@ -178563,9 +180461,9 @@ export declare const DeclarativeRuntimeResolvedSchema: z.ZodObject<{
178563
180461
  exact?: boolean | undefined;
178564
180462
  includeTotals?: boolean | undefined;
178565
180463
  timeBucket?: {
178566
- column: string;
178567
- granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
178568
- timezone?: string | undefined;
180464
+ unit: "hour" | "day" | "week" | "month" | "quarter" | "year";
180465
+ column?: string | undefined;
180466
+ timeZone?: string | undefined;
178569
180467
  fillGaps?: boolean | undefined;
178570
180468
  } | undefined;
178571
180469
  joins?: {
@@ -178575,7 +180473,7 @@ export declare const DeclarativeRuntimeResolvedSchema: z.ZodObject<{
178575
180473
  joinType?: "inner" | "left" | undefined;
178576
180474
  viaRelation?: {
178577
180475
  columnId: string;
178578
- direction: "outgoing" | "incoming";
180476
+ direction?: "outgoing" | "incoming" | undefined;
178579
180477
  } | undefined;
178580
180478
  onColumn?: {
178581
180479
  localColumnId: string;
@@ -178584,29 +180482,30 @@ export declare const DeclarativeRuntimeResolvedSchema: z.ZodObject<{
178584
180482
  } | undefined;
178585
180483
  }[] | undefined;
178586
180484
  hierarchyScopes?: {
178587
- ontologyId: string;
178588
180485
  relationColumnId: string;
178589
- direction: "outgoing" | "incoming";
178590
180486
  seedIds: string[];
178591
180487
  targetAlias?: string | undefined;
178592
180488
  localColumnId?: string | undefined;
180489
+ ontologyId?: string | undefined;
180490
+ direction?: "outgoing" | "incoming" | undefined;
178593
180491
  maxDepth?: number | undefined;
178594
180492
  includeSelf?: boolean | undefined;
178595
180493
  }[] | undefined;
178596
180494
  unwind?: {
178597
180495
  columnId: string;
180496
+ alias?: string | undefined;
178598
180497
  jsonPath?: string[] | undefined;
178599
180498
  preserveEmpty?: boolean | undefined;
178600
180499
  } | undefined;
178601
180500
  having?: {
178602
180501
  key: string;
178603
- op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
180502
+ op: "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
178604
180503
  value: number;
178605
180504
  }[] | undefined;
178606
180505
  pagination?: {
178607
180506
  offset?: number | undefined;
178608
180507
  limit?: number | undefined;
178609
- includeTotalGroups?: boolean | undefined;
180508
+ withGroupTotal?: boolean | undefined;
178610
180509
  } | undefined;
178611
180510
  } | {
178612
180511
  kind: "graph";
@@ -181614,9 +183513,9 @@ export declare const DeclarativeRuntimeResolvedSchema: z.ZodObject<{
181614
183513
  exact?: boolean | undefined;
181615
183514
  includeTotals?: boolean | undefined;
181616
183515
  timeBucket?: {
181617
- column: string;
181618
- granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
181619
- timezone?: string | undefined;
183516
+ unit: "hour" | "day" | "week" | "month" | "quarter" | "year";
183517
+ column?: string | undefined;
183518
+ timeZone?: string | undefined;
181620
183519
  fillGaps?: boolean | undefined;
181621
183520
  } | undefined;
181622
183521
  joins?: {
@@ -181626,7 +183525,7 @@ export declare const DeclarativeRuntimeResolvedSchema: z.ZodObject<{
181626
183525
  joinType?: "inner" | "left" | undefined;
181627
183526
  viaRelation?: {
181628
183527
  columnId: string;
181629
- direction: "outgoing" | "incoming";
183528
+ direction?: "outgoing" | "incoming" | undefined;
181630
183529
  } | undefined;
181631
183530
  onColumn?: {
181632
183531
  localColumnId: string;
@@ -181635,29 +183534,30 @@ export declare const DeclarativeRuntimeResolvedSchema: z.ZodObject<{
181635
183534
  } | undefined;
181636
183535
  }[] | undefined;
181637
183536
  hierarchyScopes?: {
181638
- ontologyId: string;
181639
183537
  relationColumnId: string;
181640
- direction: "outgoing" | "incoming";
181641
183538
  seedIds: string[];
181642
183539
  targetAlias?: string | undefined;
181643
183540
  localColumnId?: string | undefined;
183541
+ ontologyId?: string | undefined;
183542
+ direction?: "outgoing" | "incoming" | undefined;
181644
183543
  maxDepth?: number | undefined;
181645
183544
  includeSelf?: boolean | undefined;
181646
183545
  }[] | undefined;
181647
183546
  unwind?: {
181648
183547
  columnId: string;
183548
+ alias?: string | undefined;
181649
183549
  jsonPath?: string[] | undefined;
181650
183550
  preserveEmpty?: boolean | undefined;
181651
183551
  } | undefined;
181652
183552
  having?: {
181653
183553
  key: string;
181654
- op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
183554
+ op: "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
181655
183555
  value: number;
181656
183556
  }[] | undefined;
181657
183557
  pagination?: {
181658
183558
  offset?: number | undefined;
181659
183559
  limit?: number | undefined;
181660
- includeTotalGroups?: boolean | undefined;
183560
+ withGroupTotal?: boolean | undefined;
181661
183561
  } | undefined;
181662
183562
  } | {
181663
183563
  kind: "graph";
@@ -184656,9 +186556,9 @@ export declare const DeclarativeRuntimeResolvedSchema: z.ZodObject<{
184656
186556
  exact?: boolean | undefined;
184657
186557
  includeTotals?: boolean | undefined;
184658
186558
  timeBucket?: {
184659
- column: string;
184660
- granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
184661
- timezone?: string | undefined;
186559
+ unit: "hour" | "day" | "week" | "month" | "quarter" | "year";
186560
+ column?: string | undefined;
186561
+ timeZone?: string | undefined;
184662
186562
  fillGaps?: boolean | undefined;
184663
186563
  } | undefined;
184664
186564
  joins?: {
@@ -184668,7 +186568,7 @@ export declare const DeclarativeRuntimeResolvedSchema: z.ZodObject<{
184668
186568
  joinType?: "inner" | "left" | undefined;
184669
186569
  viaRelation?: {
184670
186570
  columnId: string;
184671
- direction: "outgoing" | "incoming";
186571
+ direction?: "outgoing" | "incoming" | undefined;
184672
186572
  } | undefined;
184673
186573
  onColumn?: {
184674
186574
  localColumnId: string;
@@ -184677,29 +186577,30 @@ export declare const DeclarativeRuntimeResolvedSchema: z.ZodObject<{
184677
186577
  } | undefined;
184678
186578
  }[] | undefined;
184679
186579
  hierarchyScopes?: {
184680
- ontologyId: string;
184681
186580
  relationColumnId: string;
184682
- direction: "outgoing" | "incoming";
184683
186581
  seedIds: string[];
184684
186582
  targetAlias?: string | undefined;
184685
186583
  localColumnId?: string | undefined;
186584
+ ontologyId?: string | undefined;
186585
+ direction?: "outgoing" | "incoming" | undefined;
184686
186586
  maxDepth?: number | undefined;
184687
186587
  includeSelf?: boolean | undefined;
184688
186588
  }[] | undefined;
184689
186589
  unwind?: {
184690
186590
  columnId: string;
186591
+ alias?: string | undefined;
184691
186592
  jsonPath?: string[] | undefined;
184692
186593
  preserveEmpty?: boolean | undefined;
184693
186594
  } | undefined;
184694
186595
  having?: {
184695
186596
  key: string;
184696
- op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
186597
+ op: "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
184697
186598
  value: number;
184698
186599
  }[] | undefined;
184699
186600
  pagination?: {
184700
186601
  offset?: number | undefined;
184701
186602
  limit?: number | undefined;
184702
- includeTotalGroups?: boolean | undefined;
186603
+ withGroupTotal?: boolean | undefined;
184703
186604
  } | undefined;
184704
186605
  } | {
184705
186606
  kind: "graph";
@@ -191076,9 +192977,9 @@ export declare const DeclarativeRuntimeResolveResultSchema: z.ZodUnion<readonly
191076
192977
  exact?: boolean | undefined;
191077
192978
  includeTotals?: boolean | undefined;
191078
192979
  timeBucket?: {
191079
- column: string;
191080
- granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
191081
- timezone?: string | undefined;
192980
+ unit: "hour" | "day" | "week" | "month" | "quarter" | "year";
192981
+ column?: string | undefined;
192982
+ timeZone?: string | undefined;
191082
192983
  fillGaps?: boolean | undefined;
191083
192984
  } | undefined;
191084
192985
  joins?: {
@@ -191088,7 +192989,7 @@ export declare const DeclarativeRuntimeResolveResultSchema: z.ZodUnion<readonly
191088
192989
  joinType?: "inner" | "left" | undefined;
191089
192990
  viaRelation?: {
191090
192991
  columnId: string;
191091
- direction: "outgoing" | "incoming";
192992
+ direction?: "outgoing" | "incoming" | undefined;
191092
192993
  } | undefined;
191093
192994
  onColumn?: {
191094
192995
  localColumnId: string;
@@ -191097,29 +192998,30 @@ export declare const DeclarativeRuntimeResolveResultSchema: z.ZodUnion<readonly
191097
192998
  } | undefined;
191098
192999
  }[] | undefined;
191099
193000
  hierarchyScopes?: {
191100
- ontologyId: string;
191101
193001
  relationColumnId: string;
191102
- direction: "outgoing" | "incoming";
191103
193002
  seedIds: string[];
191104
193003
  targetAlias?: string | undefined;
191105
193004
  localColumnId?: string | undefined;
193005
+ ontologyId?: string | undefined;
193006
+ direction?: "outgoing" | "incoming" | undefined;
191106
193007
  maxDepth?: number | undefined;
191107
193008
  includeSelf?: boolean | undefined;
191108
193009
  }[] | undefined;
191109
193010
  unwind?: {
191110
193011
  columnId: string;
193012
+ alias?: string | undefined;
191111
193013
  jsonPath?: string[] | undefined;
191112
193014
  preserveEmpty?: boolean | undefined;
191113
193015
  } | undefined;
191114
193016
  having?: {
191115
193017
  key: string;
191116
- op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
193018
+ op: "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
191117
193019
  value: number;
191118
193020
  }[] | undefined;
191119
193021
  pagination?: {
191120
193022
  offset?: number | undefined;
191121
193023
  limit?: number | undefined;
191122
- includeTotalGroups?: boolean | undefined;
193024
+ withGroupTotal?: boolean | undefined;
191123
193025
  } | undefined;
191124
193026
  } | {
191125
193027
  kind: "graph";
@@ -194118,9 +196020,9 @@ export declare const DeclarativeRuntimeResolveResultSchema: z.ZodUnion<readonly
194118
196020
  exact?: boolean | undefined;
194119
196021
  includeTotals?: boolean | undefined;
194120
196022
  timeBucket?: {
194121
- column: string;
194122
- granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
194123
- timezone?: string | undefined;
196023
+ unit: "hour" | "day" | "week" | "month" | "quarter" | "year";
196024
+ column?: string | undefined;
196025
+ timeZone?: string | undefined;
194124
196026
  fillGaps?: boolean | undefined;
194125
196027
  } | undefined;
194126
196028
  joins?: {
@@ -194130,7 +196032,7 @@ export declare const DeclarativeRuntimeResolveResultSchema: z.ZodUnion<readonly
194130
196032
  joinType?: "inner" | "left" | undefined;
194131
196033
  viaRelation?: {
194132
196034
  columnId: string;
194133
- direction: "outgoing" | "incoming";
196035
+ direction?: "outgoing" | "incoming" | undefined;
194134
196036
  } | undefined;
194135
196037
  onColumn?: {
194136
196038
  localColumnId: string;
@@ -194139,29 +196041,30 @@ export declare const DeclarativeRuntimeResolveResultSchema: z.ZodUnion<readonly
194139
196041
  } | undefined;
194140
196042
  }[] | undefined;
194141
196043
  hierarchyScopes?: {
194142
- ontologyId: string;
194143
196044
  relationColumnId: string;
194144
- direction: "outgoing" | "incoming";
194145
196045
  seedIds: string[];
194146
196046
  targetAlias?: string | undefined;
194147
196047
  localColumnId?: string | undefined;
196048
+ ontologyId?: string | undefined;
196049
+ direction?: "outgoing" | "incoming" | undefined;
194148
196050
  maxDepth?: number | undefined;
194149
196051
  includeSelf?: boolean | undefined;
194150
196052
  }[] | undefined;
194151
196053
  unwind?: {
194152
196054
  columnId: string;
196055
+ alias?: string | undefined;
194153
196056
  jsonPath?: string[] | undefined;
194154
196057
  preserveEmpty?: boolean | undefined;
194155
196058
  } | undefined;
194156
196059
  having?: {
194157
196060
  key: string;
194158
- op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
196061
+ op: "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
194159
196062
  value: number;
194160
196063
  }[] | undefined;
194161
196064
  pagination?: {
194162
196065
  offset?: number | undefined;
194163
196066
  limit?: number | undefined;
194164
- includeTotalGroups?: boolean | undefined;
196067
+ withGroupTotal?: boolean | undefined;
194165
196068
  } | undefined;
194166
196069
  } | {
194167
196070
  kind: "graph";
@@ -197169,9 +199072,9 @@ export declare const DeclarativeRuntimeResolveResultSchema: z.ZodUnion<readonly
197169
199072
  exact?: boolean | undefined;
197170
199073
  includeTotals?: boolean | undefined;
197171
199074
  timeBucket?: {
197172
- column: string;
197173
- granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
197174
- timezone?: string | undefined;
199075
+ unit: "hour" | "day" | "week" | "month" | "quarter" | "year";
199076
+ column?: string | undefined;
199077
+ timeZone?: string | undefined;
197175
199078
  fillGaps?: boolean | undefined;
197176
199079
  } | undefined;
197177
199080
  joins?: {
@@ -197181,7 +199084,7 @@ export declare const DeclarativeRuntimeResolveResultSchema: z.ZodUnion<readonly
197181
199084
  joinType?: "inner" | "left" | undefined;
197182
199085
  viaRelation?: {
197183
199086
  columnId: string;
197184
- direction: "outgoing" | "incoming";
199087
+ direction?: "outgoing" | "incoming" | undefined;
197185
199088
  } | undefined;
197186
199089
  onColumn?: {
197187
199090
  localColumnId: string;
@@ -197190,29 +199093,30 @@ export declare const DeclarativeRuntimeResolveResultSchema: z.ZodUnion<readonly
197190
199093
  } | undefined;
197191
199094
  }[] | undefined;
197192
199095
  hierarchyScopes?: {
197193
- ontologyId: string;
197194
199096
  relationColumnId: string;
197195
- direction: "outgoing" | "incoming";
197196
199097
  seedIds: string[];
197197
199098
  targetAlias?: string | undefined;
197198
199099
  localColumnId?: string | undefined;
199100
+ ontologyId?: string | undefined;
199101
+ direction?: "outgoing" | "incoming" | undefined;
197199
199102
  maxDepth?: number | undefined;
197200
199103
  includeSelf?: boolean | undefined;
197201
199104
  }[] | undefined;
197202
199105
  unwind?: {
197203
199106
  columnId: string;
199107
+ alias?: string | undefined;
197204
199108
  jsonPath?: string[] | undefined;
197205
199109
  preserveEmpty?: boolean | undefined;
197206
199110
  } | undefined;
197207
199111
  having?: {
197208
199112
  key: string;
197209
- op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
199113
+ op: "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
197210
199114
  value: number;
197211
199115
  }[] | undefined;
197212
199116
  pagination?: {
197213
199117
  offset?: number | undefined;
197214
199118
  limit?: number | undefined;
197215
- includeTotalGroups?: boolean | undefined;
199119
+ withGroupTotal?: boolean | undefined;
197216
199120
  } | undefined;
197217
199121
  } | {
197218
199122
  kind: "graph";
@@ -200211,9 +202115,9 @@ export declare const DeclarativeRuntimeResolveResultSchema: z.ZodUnion<readonly
200211
202115
  exact?: boolean | undefined;
200212
202116
  includeTotals?: boolean | undefined;
200213
202117
  timeBucket?: {
200214
- column: string;
200215
- granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
200216
- timezone?: string | undefined;
202118
+ unit: "hour" | "day" | "week" | "month" | "quarter" | "year";
202119
+ column?: string | undefined;
202120
+ timeZone?: string | undefined;
200217
202121
  fillGaps?: boolean | undefined;
200218
202122
  } | undefined;
200219
202123
  joins?: {
@@ -200223,7 +202127,7 @@ export declare const DeclarativeRuntimeResolveResultSchema: z.ZodUnion<readonly
200223
202127
  joinType?: "inner" | "left" | undefined;
200224
202128
  viaRelation?: {
200225
202129
  columnId: string;
200226
- direction: "outgoing" | "incoming";
202130
+ direction?: "outgoing" | "incoming" | undefined;
200227
202131
  } | undefined;
200228
202132
  onColumn?: {
200229
202133
  localColumnId: string;
@@ -200232,29 +202136,30 @@ export declare const DeclarativeRuntimeResolveResultSchema: z.ZodUnion<readonly
200232
202136
  } | undefined;
200233
202137
  }[] | undefined;
200234
202138
  hierarchyScopes?: {
200235
- ontologyId: string;
200236
202139
  relationColumnId: string;
200237
- direction: "outgoing" | "incoming";
200238
202140
  seedIds: string[];
200239
202141
  targetAlias?: string | undefined;
200240
202142
  localColumnId?: string | undefined;
202143
+ ontologyId?: string | undefined;
202144
+ direction?: "outgoing" | "incoming" | undefined;
200241
202145
  maxDepth?: number | undefined;
200242
202146
  includeSelf?: boolean | undefined;
200243
202147
  }[] | undefined;
200244
202148
  unwind?: {
200245
202149
  columnId: string;
202150
+ alias?: string | undefined;
200246
202151
  jsonPath?: string[] | undefined;
200247
202152
  preserveEmpty?: boolean | undefined;
200248
202153
  } | undefined;
200249
202154
  having?: {
200250
202155
  key: string;
200251
- op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
202156
+ op: "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
200252
202157
  value: number;
200253
202158
  }[] | undefined;
200254
202159
  pagination?: {
200255
202160
  offset?: number | undefined;
200256
202161
  limit?: number | undefined;
200257
- includeTotalGroups?: boolean | undefined;
202162
+ withGroupTotal?: boolean | undefined;
200258
202163
  } | undefined;
200259
202164
  } | {
200260
202165
  kind: "graph";