@inf-monkeys-tech/monkeys 1.1.67 → 1.1.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/contracts/declarative-control-http.d.ts +1872 -0
- package/lib/contracts/declarative-control-http.d.ts.map +1 -1
- package/lib/contracts/declarative-control.d.ts +239 -1
- package/lib/contracts/declarative-control.d.ts.map +1 -1
- package/lib/contracts/declarative-control.js +5 -0
- package/lib/contracts/declarative-control.js.map +1 -1
- package/lib/contracts/declarative-document-import.d.ts +1170 -0
- package/lib/contracts/declarative-document-import.d.ts.map +1 -1
- package/lib/esm/{chunk-X7SUXIZU.mjs → chunk-26ZNN7FU.mjs} +8 -4
- package/lib/esm/chunk-26ZNN7FU.mjs.map +1 -0
- package/lib/esm/{chunk-5T6DFESB.mjs → chunk-5LZVSAPW.mjs} +5 -1
- package/lib/esm/chunk-5LZVSAPW.mjs.map +1 -0
- package/lib/esm/{chunk-OFJPHSRM.mjs → chunk-GN3YEDS2.mjs} +2 -2
- package/lib/esm/{chunk-WBZEIMZD.mjs → chunk-THLZL353.mjs} +2 -2
- package/lib/esm/contracts/index.mjs +2 -2
- package/lib/esm/index.mjs +4 -4
- package/lib/esm/runtime/index.mjs +3 -3
- package/lib/esm/schemas/index.mjs +2 -2
- package/lib/json-schema/page.schema.json +4302 -1921
- package/lib/runtime/declarative-control-compiler.d.ts.map +1 -1
- package/lib/runtime/declarative-control-compiler.js +4 -0
- package/lib/runtime/declarative-control-compiler.js.map +1 -1
- package/lib/schemas/index.d.ts +234 -0
- package/lib/schemas/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/lib/esm/chunk-5T6DFESB.mjs.map +0 -1
- package/lib/esm/chunk-X7SUXIZU.mjs.map +0 -1
- /package/lib/esm/{chunk-OFJPHSRM.mjs.map → chunk-GN3YEDS2.mjs.map} +0 -0
- /package/lib/esm/{chunk-WBZEIMZD.mjs.map → chunk-THLZL353.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";
|
|
@@ -14408,6 +14642,240 @@ export declare const ProductDeclarativeAuthoringCatalogSchema: z.ZodObject<{
|
|
|
14408
14642
|
}, z.core.$strict>>;
|
|
14409
14643
|
}, z.core.$strict>>>;
|
|
14410
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>>;
|
|
14411
14879
|
body: z.ZodType<import("./declarative-control").PageNode, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageNode, unknown>>;
|
|
14412
14880
|
initialQueryPolicy: z.ZodOptional<z.ZodEnum<{
|
|
14413
14881
|
auto: "auto";
|
|
@@ -24035,6 +24503,240 @@ export declare const DeclarativeCreateTemplateChoiceSchema: z.ZodObject<{
|
|
|
24035
24503
|
}, z.core.$strict>>;
|
|
24036
24504
|
}, z.core.$strict>>>;
|
|
24037
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>>;
|
|
24038
24740
|
body: z.ZodType<import("./declarative-control").PageNode, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageNode, unknown>>;
|
|
24039
24741
|
initialQueryPolicy: z.ZodOptional<z.ZodEnum<{
|
|
24040
24742
|
auto: "auto";
|
|
@@ -33270,6 +33972,240 @@ export declare const DeclarativeDocumentSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
33270
33972
|
}, z.core.$strict>>;
|
|
33271
33973
|
}, z.core.$strict>>>;
|
|
33272
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>>;
|
|
33273
34209
|
body: z.ZodType<import("./declarative-control").PageNode, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageNode, unknown>>;
|
|
33274
34210
|
initialQueryPolicy: z.ZodOptional<z.ZodEnum<{
|
|
33275
34211
|
auto: "auto";
|
|
@@ -41428,6 +42364,240 @@ export declare const DeclarativeSaveDraftIntentSchema: z.ZodObject<{
|
|
|
41428
42364
|
}, z.core.$strict>>;
|
|
41429
42365
|
}, z.core.$strict>>>;
|
|
41430
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>>;
|
|
41431
42601
|
body: z.ZodType<import("./declarative-control").PageNode, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageNode, unknown>>;
|
|
41432
42602
|
initialQueryPolicy: z.ZodOptional<z.ZodEnum<{
|
|
41433
42603
|
auto: "auto";
|
|
@@ -59201,6 +60371,240 @@ export declare const DeclarativeDraftResultSchema: z.ZodObject<{
|
|
|
59201
60371
|
}, z.core.$strict>>;
|
|
59202
60372
|
}, z.core.$strict>>>;
|
|
59203
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>>;
|
|
59204
60608
|
body: z.ZodType<import("./declarative-control").PageNode, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageNode, unknown>>;
|
|
59205
60609
|
initialQueryPolicy: z.ZodOptional<z.ZodEnum<{
|
|
59206
60610
|
auto: "auto";
|
|
@@ -110704,6 +112108,240 @@ export declare const DeclarativeAuthoringCommandResultSchema: z.ZodUnion<readonl
|
|
|
110704
112108
|
}, z.core.$strict>>;
|
|
110705
112109
|
}, z.core.$strict>>>;
|
|
110706
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>>;
|
|
110707
112345
|
body: z.ZodType<import("./declarative-control").PageNode, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageNode, unknown>>;
|
|
110708
112346
|
initialQueryPolicy: z.ZodOptional<z.ZodEnum<{
|
|
110709
112347
|
auto: "auto";
|
|
@@ -153862,6 +155500,240 @@ export declare const DeclarativeAuthoringBootstrapSchema: z.ZodObject<{
|
|
|
153862
155500
|
}, z.core.$strict>>;
|
|
153863
155501
|
}, z.core.$strict>>>;
|
|
153864
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>>;
|
|
153865
155737
|
body: z.ZodType<import("./declarative-control").PageNode, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageNode, unknown>>;
|
|
153866
155738
|
initialQueryPolicy: z.ZodOptional<z.ZodEnum<{
|
|
153867
155739
|
auto: "auto";
|