@inf-monkeys-tech/monkeys 1.1.63 → 1.1.65

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 (50) hide show
  1. package/lib/contracts/bento-block.d.ts +491 -0
  2. package/lib/contracts/bento-block.d.ts.map +1 -1
  3. package/lib/contracts/bento-block.js +158 -12
  4. package/lib/contracts/bento-block.js.map +1 -1
  5. package/lib/contracts/declarative-control-http.d.ts +2358 -255
  6. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  7. package/lib/contracts/declarative-control.d.ts +193 -19
  8. package/lib/contracts/declarative-control.d.ts.map +1 -1
  9. package/lib/contracts/declarative-publication-job.d.ts +504 -64
  10. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  11. package/lib/contracts/page.d.ts +1 -1
  12. package/lib/contracts/render.d.ts +118 -30
  13. package/lib/contracts/render.d.ts.map +1 -1
  14. package/lib/contracts/render.js +6 -1
  15. package/lib/contracts/render.js.map +1 -1
  16. package/lib/contracts/tenant.d.ts +7 -7
  17. package/lib/contracts/unified-view.d.ts +87 -0
  18. package/lib/contracts/unified-view.d.ts.map +1 -1
  19. package/lib/contracts/workflow-column.d.ts +2 -2
  20. package/lib/esm/{chunk-SDA2NWFB.mjs → chunk-AOAJSAI7.mjs} +2 -2
  21. package/lib/esm/chunk-AOAJSAI7.mjs.map +1 -0
  22. package/lib/esm/{chunk-766TRFRH.mjs → chunk-BFGFPBEU.mjs} +142 -12
  23. package/lib/esm/chunk-BFGFPBEU.mjs.map +1 -0
  24. package/lib/esm/{chunk-BTJGKWPM.mjs → chunk-E6UOE6OP.mjs} +6 -3
  25. package/lib/esm/{chunk-BTJGKWPM.mjs.map → chunk-E6UOE6OP.mjs.map} +1 -1
  26. package/lib/esm/{chunk-MP4OJWJ3.mjs → chunk-WC65QK2H.mjs} +2 -2
  27. package/lib/esm/contracts/index.mjs +24 -2
  28. package/lib/esm/index.mjs +26 -4
  29. package/lib/esm/index.mjs.map +1 -1
  30. package/lib/esm/runtime/index.mjs +3 -3
  31. package/lib/esm/schemas/index.mjs +26 -2
  32. package/lib/json-schema/bento-node.schema.json +425 -1
  33. package/lib/json-schema/overlay-node.schema.json +423 -1
  34. package/lib/json-schema/page-runtime-bundle.schema.json +720 -2
  35. package/lib/json-schema/render-node.schema.json +423 -1
  36. package/lib/json-schema/render-tree.schema.json +720 -2
  37. package/lib/json-schema/view-ontology-record.schema.json +722 -2
  38. package/lib/runtime/bento-render-tree.d.ts.map +1 -1
  39. package/lib/runtime/bento-render-tree.js +3 -0
  40. package/lib/runtime/bento-render-tree.js.map +1 -1
  41. package/lib/runtime/runtime-definition-wire.d.ts +252 -32
  42. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  43. package/lib/schemas/index.d.ts +189 -15
  44. package/lib/schemas/index.d.ts.map +1 -1
  45. package/lib/schemas/index.js +16 -3
  46. package/lib/schemas/index.js.map +1 -1
  47. package/package.json +2 -2
  48. package/lib/esm/chunk-766TRFRH.mjs.map +0 -1
  49. package/lib/esm/chunk-SDA2NWFB.mjs.map +0 -1
  50. /package/lib/esm/{chunk-MP4OJWJ3.mjs.map → chunk-WC65QK2H.mjs.map} +0 -0
@@ -2811,7 +2811,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
2811
2811
  };
2812
2812
  scroll: {
2813
2813
  owner: "provider" | "page" | "surface";
2814
- axis: "x" | "y" | "none" | "both";
2814
+ axis: "both" | "x" | "y" | "none";
2815
2815
  virtualizationBoundary: boolean;
2816
2816
  restoreKey?: string | undefined;
2817
2817
  };
@@ -2830,7 +2830,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
2830
2830
  };
2831
2831
  layout: {
2832
2832
  mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
2833
- direction?: "row" | "column" | undefined;
2833
+ direction?: "column" | "row" | undefined;
2834
2834
  columns?: number | undefined;
2835
2835
  rowHeight?: number | undefined;
2836
2836
  gap?: number | undefined;
@@ -2846,7 +2846,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
2846
2846
  responsive: {
2847
2847
  layout: {
2848
2848
  mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
2849
- direction?: "row" | "column" | undefined;
2849
+ direction?: "column" | "row" | undefined;
2850
2850
  columns?: number | undefined;
2851
2851
  rowHeight?: number | undefined;
2852
2852
  gap?: number | undefined;
@@ -2891,7 +2891,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
2891
2891
  fontFamily?: string | number | undefined;
2892
2892
  fontWeight?: string | number | undefined;
2893
2893
  lineHeight?: string | number | undefined;
2894
- textAlign?: "start" | "center" | "end" | "left" | "right" | undefined;
2894
+ textAlign?: "left" | "start" | "center" | "end" | "right" | undefined;
2895
2895
  whiteSpace?: "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line" | "break-spaces" | undefined;
2896
2896
  overflow?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
2897
2897
  overflowX?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
@@ -2906,7 +2906,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
2906
2906
  gridColumn?: string | number | undefined;
2907
2907
  gridRow?: string | number | undefined;
2908
2908
  flex?: string | number | undefined;
2909
- flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
2909
+ flexDirection?: "column" | "row" | "row-reverse" | "column-reverse" | undefined;
2910
2910
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
2911
2911
  alignItems?: "start" | "center" | "end" | "stretch" | "baseline" | undefined;
2912
2912
  justifyContent?: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -3012,7 +3012,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
3012
3012
  fontFamily?: string | number | undefined;
3013
3013
  fontWeight?: string | number | undefined;
3014
3014
  lineHeight?: string | number | undefined;
3015
- textAlign?: "start" | "center" | "end" | "left" | "right" | undefined;
3015
+ textAlign?: "left" | "start" | "center" | "end" | "right" | undefined;
3016
3016
  whiteSpace?: "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line" | "break-spaces" | undefined;
3017
3017
  overflow?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
3018
3018
  overflowX?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
@@ -3027,7 +3027,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
3027
3027
  gridColumn?: string | number | undefined;
3028
3028
  gridRow?: string | number | undefined;
3029
3029
  flex?: string | number | undefined;
3030
- flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
3030
+ flexDirection?: "column" | "row" | "row-reverse" | "column-reverse" | undefined;
3031
3031
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
3032
3032
  alignItems?: "start" | "center" | "end" | "stretch" | "baseline" | undefined;
3033
3033
  justifyContent?: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -3099,8 +3099,13 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
3099
3099
  };
3100
3100
  metrics: {
3101
3101
  alias: string;
3102
- fn: "max" | "count" | "sum" | "avg" | "min" | "distinct_count" | "ratio";
3102
+ fn: "max" | "count" | "sum" | "avg" | "min" | "distinct_count" | "ratio" | "count_distinct" | "percentile" | "trimmed_avg" | "first_by" | "last_by";
3103
3103
  fieldKey?: string | undefined;
3104
+ numeric?: boolean | undefined;
3105
+ percentile?: number | undefined;
3106
+ trimTopPct?: number | undefined;
3107
+ orderColumnId?: string | undefined;
3108
+ filter?: import("./bento-block").ViewSqlWhere | undefined;
3104
3109
  }[];
3105
3110
  where?: import("./bento-block").ViewSqlWhere | undefined;
3106
3111
  groupBy?: string[] | undefined;
@@ -3111,6 +3116,56 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
3111
3116
  nulls?: "first" | "last" | undefined;
3112
3117
  }[] | undefined;
3113
3118
  limit?: number | undefined;
3119
+ engine?: "auto" | "search" | "canonical" | undefined;
3120
+ allTeams?: boolean | undefined;
3121
+ exact?: boolean | undefined;
3122
+ includeTotals?: boolean | undefined;
3123
+ timeBucket?: {
3124
+ column: string;
3125
+ granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
3126
+ timezone?: string | undefined;
3127
+ fillGaps?: boolean | undefined;
3128
+ } | undefined;
3129
+ joins?: {
3130
+ alias: string;
3131
+ ontologyId: string;
3132
+ assetType?: string | undefined;
3133
+ joinType?: "inner" | "left" | undefined;
3134
+ viaRelation?: {
3135
+ columnId: string;
3136
+ direction: "outgoing" | "incoming";
3137
+ } | undefined;
3138
+ onColumn?: {
3139
+ localColumnId: string;
3140
+ foreignColumnId?: string | undefined;
3141
+ foreignAssetId?: boolean | undefined;
3142
+ } | undefined;
3143
+ }[] | undefined;
3144
+ hierarchyScopes?: {
3145
+ ontologyId: string;
3146
+ relationColumnId: string;
3147
+ direction: "outgoing" | "incoming";
3148
+ seedIds: string[];
3149
+ targetAlias?: string | undefined;
3150
+ localColumnId?: string | undefined;
3151
+ maxDepth?: number | undefined;
3152
+ includeSelf?: boolean | undefined;
3153
+ }[] | undefined;
3154
+ unwind?: {
3155
+ columnId: string;
3156
+ jsonPath?: string[] | undefined;
3157
+ preserveEmpty?: boolean | undefined;
3158
+ } | undefined;
3159
+ having?: {
3160
+ key: string;
3161
+ op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
3162
+ value: number;
3163
+ }[] | undefined;
3164
+ pagination?: {
3165
+ offset?: number | undefined;
3166
+ limit?: number | undefined;
3167
+ includeTotalGroups?: boolean | undefined;
3168
+ } | undefined;
3114
3169
  } | {
3115
3170
  kind: "graph";
3116
3171
  from: {
@@ -5798,7 +5853,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
5798
5853
  };
5799
5854
  scroll: {
5800
5855
  owner: "provider" | "page" | "surface";
5801
- axis: "x" | "y" | "none" | "both";
5856
+ axis: "both" | "x" | "y" | "none";
5802
5857
  virtualizationBoundary: boolean;
5803
5858
  restoreKey?: string | undefined;
5804
5859
  };
@@ -5817,7 +5872,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
5817
5872
  };
5818
5873
  layout: {
5819
5874
  mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
5820
- direction?: "row" | "column" | undefined;
5875
+ direction?: "column" | "row" | undefined;
5821
5876
  columns?: number | undefined;
5822
5877
  rowHeight?: number | undefined;
5823
5878
  gap?: number | undefined;
@@ -5833,7 +5888,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
5833
5888
  responsive: {
5834
5889
  layout: {
5835
5890
  mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
5836
- direction?: "row" | "column" | undefined;
5891
+ direction?: "column" | "row" | undefined;
5837
5892
  columns?: number | undefined;
5838
5893
  rowHeight?: number | undefined;
5839
5894
  gap?: number | undefined;
@@ -5878,7 +5933,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
5878
5933
  fontFamily?: string | number | undefined;
5879
5934
  fontWeight?: string | number | undefined;
5880
5935
  lineHeight?: string | number | undefined;
5881
- textAlign?: "start" | "center" | "end" | "left" | "right" | undefined;
5936
+ textAlign?: "left" | "start" | "center" | "end" | "right" | undefined;
5882
5937
  whiteSpace?: "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line" | "break-spaces" | undefined;
5883
5938
  overflow?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
5884
5939
  overflowX?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
@@ -5893,7 +5948,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
5893
5948
  gridColumn?: string | number | undefined;
5894
5949
  gridRow?: string | number | undefined;
5895
5950
  flex?: string | number | undefined;
5896
- flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
5951
+ flexDirection?: "column" | "row" | "row-reverse" | "column-reverse" | undefined;
5897
5952
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
5898
5953
  alignItems?: "start" | "center" | "end" | "stretch" | "baseline" | undefined;
5899
5954
  justifyContent?: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -5999,7 +6054,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
5999
6054
  fontFamily?: string | number | undefined;
6000
6055
  fontWeight?: string | number | undefined;
6001
6056
  lineHeight?: string | number | undefined;
6002
- textAlign?: "start" | "center" | "end" | "left" | "right" | undefined;
6057
+ textAlign?: "left" | "start" | "center" | "end" | "right" | undefined;
6003
6058
  whiteSpace?: "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line" | "break-spaces" | undefined;
6004
6059
  overflow?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
6005
6060
  overflowX?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
@@ -6014,7 +6069,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
6014
6069
  gridColumn?: string | number | undefined;
6015
6070
  gridRow?: string | number | undefined;
6016
6071
  flex?: string | number | undefined;
6017
- flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
6072
+ flexDirection?: "column" | "row" | "row-reverse" | "column-reverse" | undefined;
6018
6073
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
6019
6074
  alignItems?: "start" | "center" | "end" | "stretch" | "baseline" | undefined;
6020
6075
  justifyContent?: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -6086,8 +6141,13 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
6086
6141
  };
6087
6142
  metrics: {
6088
6143
  alias: string;
6089
- fn: "max" | "count" | "sum" | "avg" | "min" | "distinct_count" | "ratio";
6144
+ fn: "max" | "count" | "sum" | "avg" | "min" | "distinct_count" | "ratio" | "count_distinct" | "percentile" | "trimmed_avg" | "first_by" | "last_by";
6090
6145
  fieldKey?: string | undefined;
6146
+ numeric?: boolean | undefined;
6147
+ percentile?: number | undefined;
6148
+ trimTopPct?: number | undefined;
6149
+ orderColumnId?: string | undefined;
6150
+ filter?: import("./bento-block").ViewSqlWhere | undefined;
6091
6151
  }[];
6092
6152
  where?: import("./bento-block").ViewSqlWhere | undefined;
6093
6153
  groupBy?: string[] | undefined;
@@ -6098,6 +6158,56 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
6098
6158
  nulls?: "first" | "last" | undefined;
6099
6159
  }[] | undefined;
6100
6160
  limit?: number | undefined;
6161
+ engine?: "auto" | "search" | "canonical" | undefined;
6162
+ allTeams?: boolean | undefined;
6163
+ exact?: boolean | undefined;
6164
+ includeTotals?: boolean | undefined;
6165
+ timeBucket?: {
6166
+ column: string;
6167
+ granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
6168
+ timezone?: string | undefined;
6169
+ fillGaps?: boolean | undefined;
6170
+ } | undefined;
6171
+ joins?: {
6172
+ alias: string;
6173
+ ontologyId: string;
6174
+ assetType?: string | undefined;
6175
+ joinType?: "inner" | "left" | undefined;
6176
+ viaRelation?: {
6177
+ columnId: string;
6178
+ direction: "outgoing" | "incoming";
6179
+ } | undefined;
6180
+ onColumn?: {
6181
+ localColumnId: string;
6182
+ foreignColumnId?: string | undefined;
6183
+ foreignAssetId?: boolean | undefined;
6184
+ } | undefined;
6185
+ }[] | undefined;
6186
+ hierarchyScopes?: {
6187
+ ontologyId: string;
6188
+ relationColumnId: string;
6189
+ direction: "outgoing" | "incoming";
6190
+ seedIds: string[];
6191
+ targetAlias?: string | undefined;
6192
+ localColumnId?: string | undefined;
6193
+ maxDepth?: number | undefined;
6194
+ includeSelf?: boolean | undefined;
6195
+ }[] | undefined;
6196
+ unwind?: {
6197
+ columnId: string;
6198
+ jsonPath?: string[] | undefined;
6199
+ preserveEmpty?: boolean | undefined;
6200
+ } | undefined;
6201
+ having?: {
6202
+ key: string;
6203
+ op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
6204
+ value: number;
6205
+ }[] | undefined;
6206
+ pagination?: {
6207
+ offset?: number | undefined;
6208
+ limit?: number | undefined;
6209
+ includeTotalGroups?: boolean | undefined;
6210
+ } | undefined;
6101
6211
  } | {
6102
6212
  kind: "graph";
6103
6213
  from: {
@@ -14022,7 +14132,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
14022
14132
  };
14023
14133
  scroll: {
14024
14134
  owner: "provider" | "page" | "surface";
14025
- axis: "x" | "y" | "none" | "both";
14135
+ axis: "both" | "x" | "y" | "none";
14026
14136
  virtualizationBoundary: boolean;
14027
14137
  restoreKey?: string | undefined;
14028
14138
  };
@@ -14041,7 +14151,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
14041
14151
  };
14042
14152
  layout: {
14043
14153
  mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
14044
- direction?: "row" | "column" | undefined;
14154
+ direction?: "column" | "row" | undefined;
14045
14155
  columns?: number | undefined;
14046
14156
  rowHeight?: number | undefined;
14047
14157
  gap?: number | undefined;
@@ -14057,7 +14167,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
14057
14167
  responsive: {
14058
14168
  layout: {
14059
14169
  mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
14060
- direction?: "row" | "column" | undefined;
14170
+ direction?: "column" | "row" | undefined;
14061
14171
  columns?: number | undefined;
14062
14172
  rowHeight?: number | undefined;
14063
14173
  gap?: number | undefined;
@@ -14102,7 +14212,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
14102
14212
  fontFamily?: string | number | undefined;
14103
14213
  fontWeight?: string | number | undefined;
14104
14214
  lineHeight?: string | number | undefined;
14105
- textAlign?: "start" | "center" | "end" | "left" | "right" | undefined;
14215
+ textAlign?: "left" | "start" | "center" | "end" | "right" | undefined;
14106
14216
  whiteSpace?: "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line" | "break-spaces" | undefined;
14107
14217
  overflow?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
14108
14218
  overflowX?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
@@ -14117,7 +14227,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
14117
14227
  gridColumn?: string | number | undefined;
14118
14228
  gridRow?: string | number | undefined;
14119
14229
  flex?: string | number | undefined;
14120
- flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
14230
+ flexDirection?: "column" | "row" | "row-reverse" | "column-reverse" | undefined;
14121
14231
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
14122
14232
  alignItems?: "start" | "center" | "end" | "stretch" | "baseline" | undefined;
14123
14233
  justifyContent?: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -14223,7 +14333,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
14223
14333
  fontFamily?: string | number | undefined;
14224
14334
  fontWeight?: string | number | undefined;
14225
14335
  lineHeight?: string | number | undefined;
14226
- textAlign?: "start" | "center" | "end" | "left" | "right" | undefined;
14336
+ textAlign?: "left" | "start" | "center" | "end" | "right" | undefined;
14227
14337
  whiteSpace?: "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line" | "break-spaces" | undefined;
14228
14338
  overflow?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
14229
14339
  overflowX?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
@@ -14238,7 +14348,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
14238
14348
  gridColumn?: string | number | undefined;
14239
14349
  gridRow?: string | number | undefined;
14240
14350
  flex?: string | number | undefined;
14241
- flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
14351
+ flexDirection?: "column" | "row" | "row-reverse" | "column-reverse" | undefined;
14242
14352
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
14243
14353
  alignItems?: "start" | "center" | "end" | "stretch" | "baseline" | undefined;
14244
14354
  justifyContent?: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -14310,8 +14420,13 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
14310
14420
  };
14311
14421
  metrics: {
14312
14422
  alias: string;
14313
- fn: "max" | "count" | "sum" | "avg" | "min" | "distinct_count" | "ratio";
14423
+ fn: "max" | "count" | "sum" | "avg" | "min" | "distinct_count" | "ratio" | "count_distinct" | "percentile" | "trimmed_avg" | "first_by" | "last_by";
14314
14424
  fieldKey?: string | undefined;
14425
+ numeric?: boolean | undefined;
14426
+ percentile?: number | undefined;
14427
+ trimTopPct?: number | undefined;
14428
+ orderColumnId?: string | undefined;
14429
+ filter?: import("./bento-block").ViewSqlWhere | undefined;
14315
14430
  }[];
14316
14431
  where?: import("./bento-block").ViewSqlWhere | undefined;
14317
14432
  groupBy?: string[] | undefined;
@@ -14322,6 +14437,56 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
14322
14437
  nulls?: "first" | "last" | undefined;
14323
14438
  }[] | undefined;
14324
14439
  limit?: number | undefined;
14440
+ engine?: "auto" | "search" | "canonical" | undefined;
14441
+ allTeams?: boolean | undefined;
14442
+ exact?: boolean | undefined;
14443
+ includeTotals?: boolean | undefined;
14444
+ timeBucket?: {
14445
+ column: string;
14446
+ granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
14447
+ timezone?: string | undefined;
14448
+ fillGaps?: boolean | undefined;
14449
+ } | undefined;
14450
+ joins?: {
14451
+ alias: string;
14452
+ ontologyId: string;
14453
+ assetType?: string | undefined;
14454
+ joinType?: "inner" | "left" | undefined;
14455
+ viaRelation?: {
14456
+ columnId: string;
14457
+ direction: "outgoing" | "incoming";
14458
+ } | undefined;
14459
+ onColumn?: {
14460
+ localColumnId: string;
14461
+ foreignColumnId?: string | undefined;
14462
+ foreignAssetId?: boolean | undefined;
14463
+ } | undefined;
14464
+ }[] | undefined;
14465
+ hierarchyScopes?: {
14466
+ ontologyId: string;
14467
+ relationColumnId: string;
14468
+ direction: "outgoing" | "incoming";
14469
+ seedIds: string[];
14470
+ targetAlias?: string | undefined;
14471
+ localColumnId?: string | undefined;
14472
+ maxDepth?: number | undefined;
14473
+ includeSelf?: boolean | undefined;
14474
+ }[] | undefined;
14475
+ unwind?: {
14476
+ columnId: string;
14477
+ jsonPath?: string[] | undefined;
14478
+ preserveEmpty?: boolean | undefined;
14479
+ } | undefined;
14480
+ having?: {
14481
+ key: string;
14482
+ op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
14483
+ value: number;
14484
+ }[] | undefined;
14485
+ pagination?: {
14486
+ offset?: number | undefined;
14487
+ limit?: number | undefined;
14488
+ includeTotalGroups?: boolean | undefined;
14489
+ } | undefined;
14325
14490
  } | {
14326
14491
  kind: "graph";
14327
14492
  from: {
@@ -17009,7 +17174,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
17009
17174
  };
17010
17175
  scroll: {
17011
17176
  owner: "provider" | "page" | "surface";
17012
- axis: "x" | "y" | "none" | "both";
17177
+ axis: "both" | "x" | "y" | "none";
17013
17178
  virtualizationBoundary: boolean;
17014
17179
  restoreKey?: string | undefined;
17015
17180
  };
@@ -17028,7 +17193,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
17028
17193
  };
17029
17194
  layout: {
17030
17195
  mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
17031
- direction?: "row" | "column" | undefined;
17196
+ direction?: "column" | "row" | undefined;
17032
17197
  columns?: number | undefined;
17033
17198
  rowHeight?: number | undefined;
17034
17199
  gap?: number | undefined;
@@ -17044,7 +17209,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
17044
17209
  responsive: {
17045
17210
  layout: {
17046
17211
  mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
17047
- direction?: "row" | "column" | undefined;
17212
+ direction?: "column" | "row" | undefined;
17048
17213
  columns?: number | undefined;
17049
17214
  rowHeight?: number | undefined;
17050
17215
  gap?: number | undefined;
@@ -17089,7 +17254,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
17089
17254
  fontFamily?: string | number | undefined;
17090
17255
  fontWeight?: string | number | undefined;
17091
17256
  lineHeight?: string | number | undefined;
17092
- textAlign?: "start" | "center" | "end" | "left" | "right" | undefined;
17257
+ textAlign?: "left" | "start" | "center" | "end" | "right" | undefined;
17093
17258
  whiteSpace?: "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line" | "break-spaces" | undefined;
17094
17259
  overflow?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
17095
17260
  overflowX?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
@@ -17104,7 +17269,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
17104
17269
  gridColumn?: string | number | undefined;
17105
17270
  gridRow?: string | number | undefined;
17106
17271
  flex?: string | number | undefined;
17107
- flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
17272
+ flexDirection?: "column" | "row" | "row-reverse" | "column-reverse" | undefined;
17108
17273
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
17109
17274
  alignItems?: "start" | "center" | "end" | "stretch" | "baseline" | undefined;
17110
17275
  justifyContent?: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -17210,7 +17375,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
17210
17375
  fontFamily?: string | number | undefined;
17211
17376
  fontWeight?: string | number | undefined;
17212
17377
  lineHeight?: string | number | undefined;
17213
- textAlign?: "start" | "center" | "end" | "left" | "right" | undefined;
17378
+ textAlign?: "left" | "start" | "center" | "end" | "right" | undefined;
17214
17379
  whiteSpace?: "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line" | "break-spaces" | undefined;
17215
17380
  overflow?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
17216
17381
  overflowX?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
@@ -17225,7 +17390,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
17225
17390
  gridColumn?: string | number | undefined;
17226
17391
  gridRow?: string | number | undefined;
17227
17392
  flex?: string | number | undefined;
17228
- flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
17393
+ flexDirection?: "column" | "row" | "row-reverse" | "column-reverse" | undefined;
17229
17394
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
17230
17395
  alignItems?: "start" | "center" | "end" | "stretch" | "baseline" | undefined;
17231
17396
  justifyContent?: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -17297,8 +17462,13 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
17297
17462
  };
17298
17463
  metrics: {
17299
17464
  alias: string;
17300
- fn: "max" | "count" | "sum" | "avg" | "min" | "distinct_count" | "ratio";
17465
+ fn: "max" | "count" | "sum" | "avg" | "min" | "distinct_count" | "ratio" | "count_distinct" | "percentile" | "trimmed_avg" | "first_by" | "last_by";
17301
17466
  fieldKey?: string | undefined;
17467
+ numeric?: boolean | undefined;
17468
+ percentile?: number | undefined;
17469
+ trimTopPct?: number | undefined;
17470
+ orderColumnId?: string | undefined;
17471
+ filter?: import("./bento-block").ViewSqlWhere | undefined;
17302
17472
  }[];
17303
17473
  where?: import("./bento-block").ViewSqlWhere | undefined;
17304
17474
  groupBy?: string[] | undefined;
@@ -17309,6 +17479,56 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
17309
17479
  nulls?: "first" | "last" | undefined;
17310
17480
  }[] | undefined;
17311
17481
  limit?: number | undefined;
17482
+ engine?: "auto" | "search" | "canonical" | undefined;
17483
+ allTeams?: boolean | undefined;
17484
+ exact?: boolean | undefined;
17485
+ includeTotals?: boolean | undefined;
17486
+ timeBucket?: {
17487
+ column: string;
17488
+ granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
17489
+ timezone?: string | undefined;
17490
+ fillGaps?: boolean | undefined;
17491
+ } | undefined;
17492
+ joins?: {
17493
+ alias: string;
17494
+ ontologyId: string;
17495
+ assetType?: string | undefined;
17496
+ joinType?: "inner" | "left" | undefined;
17497
+ viaRelation?: {
17498
+ columnId: string;
17499
+ direction: "outgoing" | "incoming";
17500
+ } | undefined;
17501
+ onColumn?: {
17502
+ localColumnId: string;
17503
+ foreignColumnId?: string | undefined;
17504
+ foreignAssetId?: boolean | undefined;
17505
+ } | undefined;
17506
+ }[] | undefined;
17507
+ hierarchyScopes?: {
17508
+ ontologyId: string;
17509
+ relationColumnId: string;
17510
+ direction: "outgoing" | "incoming";
17511
+ seedIds: string[];
17512
+ targetAlias?: string | undefined;
17513
+ localColumnId?: string | undefined;
17514
+ maxDepth?: number | undefined;
17515
+ includeSelf?: boolean | undefined;
17516
+ }[] | undefined;
17517
+ unwind?: {
17518
+ columnId: string;
17519
+ jsonPath?: string[] | undefined;
17520
+ preserveEmpty?: boolean | undefined;
17521
+ } | undefined;
17522
+ having?: {
17523
+ key: string;
17524
+ op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
17525
+ value: number;
17526
+ }[] | undefined;
17527
+ pagination?: {
17528
+ offset?: number | undefined;
17529
+ limit?: number | undefined;
17530
+ includeTotalGroups?: boolean | undefined;
17531
+ } | undefined;
17312
17532
  } | {
17313
17533
  kind: "graph";
17314
17534
  from: {
@@ -25518,7 +25738,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
25518
25738
  };
25519
25739
  scroll: {
25520
25740
  owner: "provider" | "page" | "surface";
25521
- axis: "x" | "y" | "none" | "both";
25741
+ axis: "both" | "x" | "y" | "none";
25522
25742
  virtualizationBoundary: boolean;
25523
25743
  restoreKey?: string | undefined;
25524
25744
  };
@@ -25537,7 +25757,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
25537
25757
  };
25538
25758
  layout: {
25539
25759
  mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
25540
- direction?: "row" | "column" | undefined;
25760
+ direction?: "column" | "row" | undefined;
25541
25761
  columns?: number | undefined;
25542
25762
  rowHeight?: number | undefined;
25543
25763
  gap?: number | undefined;
@@ -25553,7 +25773,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
25553
25773
  responsive: {
25554
25774
  layout: {
25555
25775
  mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
25556
- direction?: "row" | "column" | undefined;
25776
+ direction?: "column" | "row" | undefined;
25557
25777
  columns?: number | undefined;
25558
25778
  rowHeight?: number | undefined;
25559
25779
  gap?: number | undefined;
@@ -25598,7 +25818,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
25598
25818
  fontFamily?: string | number | undefined;
25599
25819
  fontWeight?: string | number | undefined;
25600
25820
  lineHeight?: string | number | undefined;
25601
- textAlign?: "start" | "center" | "end" | "left" | "right" | undefined;
25821
+ textAlign?: "left" | "start" | "center" | "end" | "right" | undefined;
25602
25822
  whiteSpace?: "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line" | "break-spaces" | undefined;
25603
25823
  overflow?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
25604
25824
  overflowX?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
@@ -25613,7 +25833,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
25613
25833
  gridColumn?: string | number | undefined;
25614
25834
  gridRow?: string | number | undefined;
25615
25835
  flex?: string | number | undefined;
25616
- flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
25836
+ flexDirection?: "column" | "row" | "row-reverse" | "column-reverse" | undefined;
25617
25837
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
25618
25838
  alignItems?: "start" | "center" | "end" | "stretch" | "baseline" | undefined;
25619
25839
  justifyContent?: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -25719,7 +25939,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
25719
25939
  fontFamily?: string | number | undefined;
25720
25940
  fontWeight?: string | number | undefined;
25721
25941
  lineHeight?: string | number | undefined;
25722
- textAlign?: "start" | "center" | "end" | "left" | "right" | undefined;
25942
+ textAlign?: "left" | "start" | "center" | "end" | "right" | undefined;
25723
25943
  whiteSpace?: "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line" | "break-spaces" | undefined;
25724
25944
  overflow?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
25725
25945
  overflowX?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
@@ -25734,7 +25954,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
25734
25954
  gridColumn?: string | number | undefined;
25735
25955
  gridRow?: string | number | undefined;
25736
25956
  flex?: string | number | undefined;
25737
- flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
25957
+ flexDirection?: "column" | "row" | "row-reverse" | "column-reverse" | undefined;
25738
25958
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
25739
25959
  alignItems?: "start" | "center" | "end" | "stretch" | "baseline" | undefined;
25740
25960
  justifyContent?: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -25806,8 +26026,13 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
25806
26026
  };
25807
26027
  metrics: {
25808
26028
  alias: string;
25809
- fn: "max" | "count" | "sum" | "avg" | "min" | "distinct_count" | "ratio";
26029
+ fn: "max" | "count" | "sum" | "avg" | "min" | "distinct_count" | "ratio" | "count_distinct" | "percentile" | "trimmed_avg" | "first_by" | "last_by";
25810
26030
  fieldKey?: string | undefined;
26031
+ numeric?: boolean | undefined;
26032
+ percentile?: number | undefined;
26033
+ trimTopPct?: number | undefined;
26034
+ orderColumnId?: string | undefined;
26035
+ filter?: import("./bento-block").ViewSqlWhere | undefined;
25811
26036
  }[];
25812
26037
  where?: import("./bento-block").ViewSqlWhere | undefined;
25813
26038
  groupBy?: string[] | undefined;
@@ -25818,6 +26043,56 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
25818
26043
  nulls?: "first" | "last" | undefined;
25819
26044
  }[] | undefined;
25820
26045
  limit?: number | undefined;
26046
+ engine?: "auto" | "search" | "canonical" | undefined;
26047
+ allTeams?: boolean | undefined;
26048
+ exact?: boolean | undefined;
26049
+ includeTotals?: boolean | undefined;
26050
+ timeBucket?: {
26051
+ column: string;
26052
+ granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
26053
+ timezone?: string | undefined;
26054
+ fillGaps?: boolean | undefined;
26055
+ } | undefined;
26056
+ joins?: {
26057
+ alias: string;
26058
+ ontologyId: string;
26059
+ assetType?: string | undefined;
26060
+ joinType?: "inner" | "left" | undefined;
26061
+ viaRelation?: {
26062
+ columnId: string;
26063
+ direction: "outgoing" | "incoming";
26064
+ } | undefined;
26065
+ onColumn?: {
26066
+ localColumnId: string;
26067
+ foreignColumnId?: string | undefined;
26068
+ foreignAssetId?: boolean | undefined;
26069
+ } | undefined;
26070
+ }[] | undefined;
26071
+ hierarchyScopes?: {
26072
+ ontologyId: string;
26073
+ relationColumnId: string;
26074
+ direction: "outgoing" | "incoming";
26075
+ seedIds: string[];
26076
+ targetAlias?: string | undefined;
26077
+ localColumnId?: string | undefined;
26078
+ maxDepth?: number | undefined;
26079
+ includeSelf?: boolean | undefined;
26080
+ }[] | undefined;
26081
+ unwind?: {
26082
+ columnId: string;
26083
+ jsonPath?: string[] | undefined;
26084
+ preserveEmpty?: boolean | undefined;
26085
+ } | undefined;
26086
+ having?: {
26087
+ key: string;
26088
+ op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
26089
+ value: number;
26090
+ }[] | undefined;
26091
+ pagination?: {
26092
+ offset?: number | undefined;
26093
+ limit?: number | undefined;
26094
+ includeTotalGroups?: boolean | undefined;
26095
+ } | undefined;
25821
26096
  } | {
25822
26097
  kind: "graph";
25823
26098
  from: {
@@ -28505,7 +28780,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
28505
28780
  };
28506
28781
  scroll: {
28507
28782
  owner: "provider" | "page" | "surface";
28508
- axis: "x" | "y" | "none" | "both";
28783
+ axis: "both" | "x" | "y" | "none";
28509
28784
  virtualizationBoundary: boolean;
28510
28785
  restoreKey?: string | undefined;
28511
28786
  };
@@ -28524,7 +28799,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
28524
28799
  };
28525
28800
  layout: {
28526
28801
  mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
28527
- direction?: "row" | "column" | undefined;
28802
+ direction?: "column" | "row" | undefined;
28528
28803
  columns?: number | undefined;
28529
28804
  rowHeight?: number | undefined;
28530
28805
  gap?: number | undefined;
@@ -28540,7 +28815,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
28540
28815
  responsive: {
28541
28816
  layout: {
28542
28817
  mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
28543
- direction?: "row" | "column" | undefined;
28818
+ direction?: "column" | "row" | undefined;
28544
28819
  columns?: number | undefined;
28545
28820
  rowHeight?: number | undefined;
28546
28821
  gap?: number | undefined;
@@ -28585,7 +28860,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
28585
28860
  fontFamily?: string | number | undefined;
28586
28861
  fontWeight?: string | number | undefined;
28587
28862
  lineHeight?: string | number | undefined;
28588
- textAlign?: "start" | "center" | "end" | "left" | "right" | undefined;
28863
+ textAlign?: "left" | "start" | "center" | "end" | "right" | undefined;
28589
28864
  whiteSpace?: "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line" | "break-spaces" | undefined;
28590
28865
  overflow?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
28591
28866
  overflowX?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
@@ -28600,7 +28875,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
28600
28875
  gridColumn?: string | number | undefined;
28601
28876
  gridRow?: string | number | undefined;
28602
28877
  flex?: string | number | undefined;
28603
- flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
28878
+ flexDirection?: "column" | "row" | "row-reverse" | "column-reverse" | undefined;
28604
28879
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
28605
28880
  alignItems?: "start" | "center" | "end" | "stretch" | "baseline" | undefined;
28606
28881
  justifyContent?: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -28706,7 +28981,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
28706
28981
  fontFamily?: string | number | undefined;
28707
28982
  fontWeight?: string | number | undefined;
28708
28983
  lineHeight?: string | number | undefined;
28709
- textAlign?: "start" | "center" | "end" | "left" | "right" | undefined;
28984
+ textAlign?: "left" | "start" | "center" | "end" | "right" | undefined;
28710
28985
  whiteSpace?: "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line" | "break-spaces" | undefined;
28711
28986
  overflow?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
28712
28987
  overflowX?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
@@ -28721,7 +28996,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
28721
28996
  gridColumn?: string | number | undefined;
28722
28997
  gridRow?: string | number | undefined;
28723
28998
  flex?: string | number | undefined;
28724
- flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
28999
+ flexDirection?: "column" | "row" | "row-reverse" | "column-reverse" | undefined;
28725
29000
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
28726
29001
  alignItems?: "start" | "center" | "end" | "stretch" | "baseline" | undefined;
28727
29002
  justifyContent?: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -28793,8 +29068,13 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
28793
29068
  };
28794
29069
  metrics: {
28795
29070
  alias: string;
28796
- fn: "max" | "count" | "sum" | "avg" | "min" | "distinct_count" | "ratio";
29071
+ fn: "max" | "count" | "sum" | "avg" | "min" | "distinct_count" | "ratio" | "count_distinct" | "percentile" | "trimmed_avg" | "first_by" | "last_by";
28797
29072
  fieldKey?: string | undefined;
29073
+ numeric?: boolean | undefined;
29074
+ percentile?: number | undefined;
29075
+ trimTopPct?: number | undefined;
29076
+ orderColumnId?: string | undefined;
29077
+ filter?: import("./bento-block").ViewSqlWhere | undefined;
28798
29078
  }[];
28799
29079
  where?: import("./bento-block").ViewSqlWhere | undefined;
28800
29080
  groupBy?: string[] | undefined;
@@ -28805,6 +29085,56 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
28805
29085
  nulls?: "first" | "last" | undefined;
28806
29086
  }[] | undefined;
28807
29087
  limit?: number | undefined;
29088
+ engine?: "auto" | "search" | "canonical" | undefined;
29089
+ allTeams?: boolean | undefined;
29090
+ exact?: boolean | undefined;
29091
+ includeTotals?: boolean | undefined;
29092
+ timeBucket?: {
29093
+ column: string;
29094
+ granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
29095
+ timezone?: string | undefined;
29096
+ fillGaps?: boolean | undefined;
29097
+ } | undefined;
29098
+ joins?: {
29099
+ alias: string;
29100
+ ontologyId: string;
29101
+ assetType?: string | undefined;
29102
+ joinType?: "inner" | "left" | undefined;
29103
+ viaRelation?: {
29104
+ columnId: string;
29105
+ direction: "outgoing" | "incoming";
29106
+ } | undefined;
29107
+ onColumn?: {
29108
+ localColumnId: string;
29109
+ foreignColumnId?: string | undefined;
29110
+ foreignAssetId?: boolean | undefined;
29111
+ } | undefined;
29112
+ }[] | undefined;
29113
+ hierarchyScopes?: {
29114
+ ontologyId: string;
29115
+ relationColumnId: string;
29116
+ direction: "outgoing" | "incoming";
29117
+ seedIds: string[];
29118
+ targetAlias?: string | undefined;
29119
+ localColumnId?: string | undefined;
29120
+ maxDepth?: number | undefined;
29121
+ includeSelf?: boolean | undefined;
29122
+ }[] | undefined;
29123
+ unwind?: {
29124
+ columnId: string;
29125
+ jsonPath?: string[] | undefined;
29126
+ preserveEmpty?: boolean | undefined;
29127
+ } | undefined;
29128
+ having?: {
29129
+ key: string;
29130
+ op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
29131
+ value: number;
29132
+ }[] | undefined;
29133
+ pagination?: {
29134
+ offset?: number | undefined;
29135
+ limit?: number | undefined;
29136
+ includeTotalGroups?: boolean | undefined;
29137
+ } | undefined;
28808
29138
  } | {
28809
29139
  kind: "graph";
28810
29140
  from: {
@@ -36729,7 +37059,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
36729
37059
  };
36730
37060
  scroll: {
36731
37061
  owner: "provider" | "page" | "surface";
36732
- axis: "x" | "y" | "none" | "both";
37062
+ axis: "both" | "x" | "y" | "none";
36733
37063
  virtualizationBoundary: boolean;
36734
37064
  restoreKey?: string | undefined;
36735
37065
  };
@@ -36748,7 +37078,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
36748
37078
  };
36749
37079
  layout: {
36750
37080
  mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
36751
- direction?: "row" | "column" | undefined;
37081
+ direction?: "column" | "row" | undefined;
36752
37082
  columns?: number | undefined;
36753
37083
  rowHeight?: number | undefined;
36754
37084
  gap?: number | undefined;
@@ -36764,7 +37094,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
36764
37094
  responsive: {
36765
37095
  layout: {
36766
37096
  mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
36767
- direction?: "row" | "column" | undefined;
37097
+ direction?: "column" | "row" | undefined;
36768
37098
  columns?: number | undefined;
36769
37099
  rowHeight?: number | undefined;
36770
37100
  gap?: number | undefined;
@@ -36809,7 +37139,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
36809
37139
  fontFamily?: string | number | undefined;
36810
37140
  fontWeight?: string | number | undefined;
36811
37141
  lineHeight?: string | number | undefined;
36812
- textAlign?: "start" | "center" | "end" | "left" | "right" | undefined;
37142
+ textAlign?: "left" | "start" | "center" | "end" | "right" | undefined;
36813
37143
  whiteSpace?: "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line" | "break-spaces" | undefined;
36814
37144
  overflow?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
36815
37145
  overflowX?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
@@ -36824,7 +37154,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
36824
37154
  gridColumn?: string | number | undefined;
36825
37155
  gridRow?: string | number | undefined;
36826
37156
  flex?: string | number | undefined;
36827
- flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
37157
+ flexDirection?: "column" | "row" | "row-reverse" | "column-reverse" | undefined;
36828
37158
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
36829
37159
  alignItems?: "start" | "center" | "end" | "stretch" | "baseline" | undefined;
36830
37160
  justifyContent?: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -36930,7 +37260,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
36930
37260
  fontFamily?: string | number | undefined;
36931
37261
  fontWeight?: string | number | undefined;
36932
37262
  lineHeight?: string | number | undefined;
36933
- textAlign?: "start" | "center" | "end" | "left" | "right" | undefined;
37263
+ textAlign?: "left" | "start" | "center" | "end" | "right" | undefined;
36934
37264
  whiteSpace?: "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line" | "break-spaces" | undefined;
36935
37265
  overflow?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
36936
37266
  overflowX?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
@@ -36945,7 +37275,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
36945
37275
  gridColumn?: string | number | undefined;
36946
37276
  gridRow?: string | number | undefined;
36947
37277
  flex?: string | number | undefined;
36948
- flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
37278
+ flexDirection?: "column" | "row" | "row-reverse" | "column-reverse" | undefined;
36949
37279
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
36950
37280
  alignItems?: "start" | "center" | "end" | "stretch" | "baseline" | undefined;
36951
37281
  justifyContent?: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -37017,8 +37347,13 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
37017
37347
  };
37018
37348
  metrics: {
37019
37349
  alias: string;
37020
- fn: "max" | "count" | "sum" | "avg" | "min" | "distinct_count" | "ratio";
37350
+ fn: "max" | "count" | "sum" | "avg" | "min" | "distinct_count" | "ratio" | "count_distinct" | "percentile" | "trimmed_avg" | "first_by" | "last_by";
37021
37351
  fieldKey?: string | undefined;
37352
+ numeric?: boolean | undefined;
37353
+ percentile?: number | undefined;
37354
+ trimTopPct?: number | undefined;
37355
+ orderColumnId?: string | undefined;
37356
+ filter?: import("./bento-block").ViewSqlWhere | undefined;
37022
37357
  }[];
37023
37358
  where?: import("./bento-block").ViewSqlWhere | undefined;
37024
37359
  groupBy?: string[] | undefined;
@@ -37029,6 +37364,56 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
37029
37364
  nulls?: "first" | "last" | undefined;
37030
37365
  }[] | undefined;
37031
37366
  limit?: number | undefined;
37367
+ engine?: "auto" | "search" | "canonical" | undefined;
37368
+ allTeams?: boolean | undefined;
37369
+ exact?: boolean | undefined;
37370
+ includeTotals?: boolean | undefined;
37371
+ timeBucket?: {
37372
+ column: string;
37373
+ granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
37374
+ timezone?: string | undefined;
37375
+ fillGaps?: boolean | undefined;
37376
+ } | undefined;
37377
+ joins?: {
37378
+ alias: string;
37379
+ ontologyId: string;
37380
+ assetType?: string | undefined;
37381
+ joinType?: "inner" | "left" | undefined;
37382
+ viaRelation?: {
37383
+ columnId: string;
37384
+ direction: "outgoing" | "incoming";
37385
+ } | undefined;
37386
+ onColumn?: {
37387
+ localColumnId: string;
37388
+ foreignColumnId?: string | undefined;
37389
+ foreignAssetId?: boolean | undefined;
37390
+ } | undefined;
37391
+ }[] | undefined;
37392
+ hierarchyScopes?: {
37393
+ ontologyId: string;
37394
+ relationColumnId: string;
37395
+ direction: "outgoing" | "incoming";
37396
+ seedIds: string[];
37397
+ targetAlias?: string | undefined;
37398
+ localColumnId?: string | undefined;
37399
+ maxDepth?: number | undefined;
37400
+ includeSelf?: boolean | undefined;
37401
+ }[] | undefined;
37402
+ unwind?: {
37403
+ columnId: string;
37404
+ jsonPath?: string[] | undefined;
37405
+ preserveEmpty?: boolean | undefined;
37406
+ } | undefined;
37407
+ having?: {
37408
+ key: string;
37409
+ op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
37410
+ value: number;
37411
+ }[] | undefined;
37412
+ pagination?: {
37413
+ offset?: number | undefined;
37414
+ limit?: number | undefined;
37415
+ includeTotalGroups?: boolean | undefined;
37416
+ } | undefined;
37032
37417
  } | {
37033
37418
  kind: "graph";
37034
37419
  from: {
@@ -39716,7 +40101,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
39716
40101
  };
39717
40102
  scroll: {
39718
40103
  owner: "provider" | "page" | "surface";
39719
- axis: "x" | "y" | "none" | "both";
40104
+ axis: "both" | "x" | "y" | "none";
39720
40105
  virtualizationBoundary: boolean;
39721
40106
  restoreKey?: string | undefined;
39722
40107
  };
@@ -39735,7 +40120,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
39735
40120
  };
39736
40121
  layout: {
39737
40122
  mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
39738
- direction?: "row" | "column" | undefined;
40123
+ direction?: "column" | "row" | undefined;
39739
40124
  columns?: number | undefined;
39740
40125
  rowHeight?: number | undefined;
39741
40126
  gap?: number | undefined;
@@ -39751,7 +40136,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
39751
40136
  responsive: {
39752
40137
  layout: {
39753
40138
  mode: "split" | "grid" | "tabs" | "block" | "contents" | "flex" | "absolute";
39754
- direction?: "row" | "column" | undefined;
40139
+ direction?: "column" | "row" | undefined;
39755
40140
  columns?: number | undefined;
39756
40141
  rowHeight?: number | undefined;
39757
40142
  gap?: number | undefined;
@@ -39796,7 +40181,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
39796
40181
  fontFamily?: string | number | undefined;
39797
40182
  fontWeight?: string | number | undefined;
39798
40183
  lineHeight?: string | number | undefined;
39799
- textAlign?: "start" | "center" | "end" | "left" | "right" | undefined;
40184
+ textAlign?: "left" | "start" | "center" | "end" | "right" | undefined;
39800
40185
  whiteSpace?: "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line" | "break-spaces" | undefined;
39801
40186
  overflow?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
39802
40187
  overflowX?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
@@ -39811,7 +40196,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
39811
40196
  gridColumn?: string | number | undefined;
39812
40197
  gridRow?: string | number | undefined;
39813
40198
  flex?: string | number | undefined;
39814
- flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
40199
+ flexDirection?: "column" | "row" | "row-reverse" | "column-reverse" | undefined;
39815
40200
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
39816
40201
  alignItems?: "start" | "center" | "end" | "stretch" | "baseline" | undefined;
39817
40202
  justifyContent?: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -39917,7 +40302,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
39917
40302
  fontFamily?: string | number | undefined;
39918
40303
  fontWeight?: string | number | undefined;
39919
40304
  lineHeight?: string | number | undefined;
39920
- textAlign?: "start" | "center" | "end" | "left" | "right" | undefined;
40305
+ textAlign?: "left" | "start" | "center" | "end" | "right" | undefined;
39921
40306
  whiteSpace?: "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line" | "break-spaces" | undefined;
39922
40307
  overflow?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
39923
40308
  overflowX?: "auto" | "visible" | "hidden" | "scroll" | "clip" | undefined;
@@ -39932,7 +40317,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
39932
40317
  gridColumn?: string | number | undefined;
39933
40318
  gridRow?: string | number | undefined;
39934
40319
  flex?: string | number | undefined;
39935
- flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
40320
+ flexDirection?: "column" | "row" | "row-reverse" | "column-reverse" | undefined;
39936
40321
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
39937
40322
  alignItems?: "start" | "center" | "end" | "stretch" | "baseline" | undefined;
39938
40323
  justifyContent?: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -40004,8 +40389,13 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
40004
40389
  };
40005
40390
  metrics: {
40006
40391
  alias: string;
40007
- fn: "max" | "count" | "sum" | "avg" | "min" | "distinct_count" | "ratio";
40392
+ fn: "max" | "count" | "sum" | "avg" | "min" | "distinct_count" | "ratio" | "count_distinct" | "percentile" | "trimmed_avg" | "first_by" | "last_by";
40008
40393
  fieldKey?: string | undefined;
40394
+ numeric?: boolean | undefined;
40395
+ percentile?: number | undefined;
40396
+ trimTopPct?: number | undefined;
40397
+ orderColumnId?: string | undefined;
40398
+ filter?: import("./bento-block").ViewSqlWhere | undefined;
40009
40399
  }[];
40010
40400
  where?: import("./bento-block").ViewSqlWhere | undefined;
40011
40401
  groupBy?: string[] | undefined;
@@ -40016,6 +40406,56 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
40016
40406
  nulls?: "first" | "last" | undefined;
40017
40407
  }[] | undefined;
40018
40408
  limit?: number | undefined;
40409
+ engine?: "auto" | "search" | "canonical" | undefined;
40410
+ allTeams?: boolean | undefined;
40411
+ exact?: boolean | undefined;
40412
+ includeTotals?: boolean | undefined;
40413
+ timeBucket?: {
40414
+ column: string;
40415
+ granularity: "hour" | "day" | "week" | "month" | "quarter" | "year";
40416
+ timezone?: string | undefined;
40417
+ fillGaps?: boolean | undefined;
40418
+ } | undefined;
40419
+ joins?: {
40420
+ alias: string;
40421
+ ontologyId: string;
40422
+ assetType?: string | undefined;
40423
+ joinType?: "inner" | "left" | undefined;
40424
+ viaRelation?: {
40425
+ columnId: string;
40426
+ direction: "outgoing" | "incoming";
40427
+ } | undefined;
40428
+ onColumn?: {
40429
+ localColumnId: string;
40430
+ foreignColumnId?: string | undefined;
40431
+ foreignAssetId?: boolean | undefined;
40432
+ } | undefined;
40433
+ }[] | undefined;
40434
+ hierarchyScopes?: {
40435
+ ontologyId: string;
40436
+ relationColumnId: string;
40437
+ direction: "outgoing" | "incoming";
40438
+ seedIds: string[];
40439
+ targetAlias?: string | undefined;
40440
+ localColumnId?: string | undefined;
40441
+ maxDepth?: number | undefined;
40442
+ includeSelf?: boolean | undefined;
40443
+ }[] | undefined;
40444
+ unwind?: {
40445
+ columnId: string;
40446
+ jsonPath?: string[] | undefined;
40447
+ preserveEmpty?: boolean | undefined;
40448
+ } | undefined;
40449
+ having?: {
40450
+ key: string;
40451
+ op: "eq" | "gt" | "gte" | "lt" | "lte" | "ne";
40452
+ value: number;
40453
+ }[] | undefined;
40454
+ pagination?: {
40455
+ offset?: number | undefined;
40456
+ limit?: number | undefined;
40457
+ includeTotalGroups?: boolean | undefined;
40458
+ } | undefined;
40019
40459
  } | {
40020
40460
  kind: "graph";
40021
40461
  from: {