@magemetrics/ai 0.18.0 → 0.19.1

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.
@@ -76,6 +76,25 @@ export declare const Canvas: React.FC<{
76
76
  canvasId: string;
77
77
  }>;
78
78
 
79
+ declare type CanvasSharingComponentsConfig = {
80
+ canvasSharing?: CanvasSharingConfig;
81
+ getCanvasShareableLink?: never;
82
+ } | {
83
+ canvasSharing?: never;
84
+ /**
85
+ * @deprecated Use `canvasSharing` with `mode: "public"` instead.
86
+ */
87
+ getCanvasShareableLink?: (canvasId: string) => string;
88
+ };
89
+
90
+ declare type CanvasSharingConfig = {
91
+ mode: "public";
92
+ getShareableLink: (canvasId: string) => string;
93
+ } | {
94
+ mode: "group";
95
+ getShareableLink: (canvasId: string) => string;
96
+ };
97
+
79
98
  export declare type CellContentProps = {
80
99
  formattedValue: FormattedData | undefined;
81
100
  unit?: string;
@@ -171,7 +190,7 @@ declare interface ColumnSort {
171
190
  id: string;
172
191
  }
173
192
 
174
- export declare interface Components {
193
+ export declare type Components = {
175
194
  dataTableCells?: {
176
195
  empty?: (props: CellContentProps) => default_2.ReactNode;
177
196
  units?: {
@@ -199,12 +218,11 @@ export declare interface Components {
199
218
  visualization: FrontendVisualization | V1FrontendVisualization;
200
219
  }) => default_2.ReactNode;
201
220
  avatar?: default_2.ReactNode;
202
- getCanvasShareableLink?: (canvasId: string) => string;
203
221
  canvasPanelActions?: (props: {
204
222
  canvas: FrontendCanvas;
205
223
  flowId: string;
206
224
  }) => default_2.ReactNode;
207
- }
225
+ } & CanvasSharingComponentsConfig;
208
226
 
209
227
  export declare const ConfigurableChat: ConfigurableChatComponent;
210
228
 
@@ -381,9 +399,9 @@ declare type FrontendCanvas = z.infer<typeof FrontendCanvasSchema>;
381
399
  declare const FrontendCanvasSchema: z.ZodObject<{
382
400
  id: z.ZodUUID;
383
401
  title: z.ZodNullable<z.ZodString>;
402
+ is_public: z.ZodBoolean;
384
403
  nodes: z.ZodArray<z.ZodAny>;
385
404
  edges: z.ZodArray<z.ZodAny>;
386
- is_public: z.ZodBoolean;
387
405
  }, z.core.$strip>;
388
406
 
389
407
  declare const FrontendRecommendationsSchema: z.ZodObject<{
@@ -393,32 +411,6 @@ declare const FrontendRecommendationsSchema: z.ZodObject<{
393
411
  }, z.core.$strip>;
394
412
 
395
413
  declare const FrontendReportSchema: z.ZodObject<{
396
- id: z.ZodNumber;
397
- status: z.ZodNullable<z.ZodString>;
398
- title: z.ZodString;
399
- uuid: z.ZodString;
400
- created_at: z.ZodString;
401
- request: z.ZodNullable<z.ZodString>;
402
- data_summary: z.ZodObject<{
403
- columns: z.ZodRecord<z.ZodString, z.ZodObject<{
404
- position: z.ZodOptional<z.ZodNumber>;
405
- data_type: z.ZodString;
406
- null_count: z.ZodNullable<z.ZodNumber>;
407
- unique_count: z.ZodNullable<z.ZodNumber>;
408
- unique_percentage: z.ZodNullable<z.ZodNumber>;
409
- min_value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
410
- max_value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
411
- avg_value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
412
- median_value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
413
- std_value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
414
- min_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
415
- max_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
416
- min_length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
417
- max_length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
418
- avg_length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
419
- }, z.core.$loose>>;
420
- }, z.core.$loose>;
421
- is_removed: z.ZodBoolean;
422
414
  is_materialized: z.ZodNullable<z.ZodBoolean>;
423
415
  last_materialized_at: z.ZodNullable<z.ZodString>;
424
416
  materialized_error_message: z.ZodNullable<z.ZodString>;
@@ -427,6 +419,36 @@ declare const FrontendReportSchema: z.ZodObject<{
427
419
  failed: "failed";
428
420
  running: "running";
429
421
  }>>;
422
+ created_at: z.ZodString;
423
+ id: z.ZodNumber;
424
+ uuid: z.ZodString;
425
+ title: z.ZodString;
426
+ request: z.ZodNullable<z.ZodString>;
427
+ status: z.ZodNullable<z.ZodString>;
428
+ data_summary: z.ZodObject<{
429
+ columns: z.ZodRecord<z.ZodString, z.ZodObject<{
430
+ position: z.ZodOptional<z.ZodNumber>;
431
+ data_type: z.ZodString;
432
+ render_type: z.ZodOptional<z.ZodString>;
433
+ unit: z.ZodOptional<z.ZodString>;
434
+ canonical_data_type: z.ZodOptional<z.ZodEnum<{
435
+ array: "array";
436
+ boolean: "boolean";
437
+ date: "date";
438
+ datetime: "datetime";
439
+ json: "json";
440
+ numeric: "numeric";
441
+ other: "other";
442
+ text: "text";
443
+ }>>;
444
+ format_hint: z.ZodOptional<z.ZodObject<{
445
+ is_numeric: z.ZodOptional<z.ZodBoolean>;
446
+ is_likely_year: z.ZodOptional<z.ZodBoolean>;
447
+ isNumeric: z.ZodOptional<z.ZodBoolean>;
448
+ isLikelyYear: z.ZodOptional<z.ZodBoolean>;
449
+ }, z.core.$strip>>;
450
+ }, z.core.$strip>>;
451
+ }, z.core.$strip>;
430
452
  }, z.core.$strip>;
431
453
 
432
454
  declare type FrontendVisualization = z.output<typeof FrontendVisualizationSchema>;
@@ -434,69 +456,69 @@ declare type FrontendVisualization = z.output<typeof FrontendVisualizationSchema
434
456
  declare const FrontendVisualizationSchema: z.ZodObject<{
435
457
  id: z.ZodNumber;
436
458
  uuid: z.ZodString;
459
+ report_uuid: z.ZodString;
460
+ flow_data_id: z.ZodNumber;
437
461
  created_at: z.ZodString;
462
+ flow_data: z.ZodOptional<z.ZodObject<{
463
+ is_materialized: z.ZodNullable<z.ZodBoolean>;
464
+ last_materialized_at: z.ZodNullable<z.ZodString>;
465
+ materialized_error_message: z.ZodNullable<z.ZodString>;
466
+ materialized_status: z.ZodNullable<z.ZodEnum<{
467
+ completed: "completed";
468
+ failed: "failed";
469
+ running: "running";
470
+ }>>;
471
+ }, z.core.$strip>>;
472
+ materialization: z.ZodOptional<z.ZodObject<{
473
+ is_materialized: z.ZodNullable<z.ZodBoolean>;
474
+ last_materialized_at: z.ZodNullable<z.ZodString>;
475
+ materialized_error_message: z.ZodNullable<z.ZodString>;
476
+ materialized_status: z.ZodNullable<z.ZodEnum<{
477
+ completed: "completed";
478
+ failed: "failed";
479
+ running: "running";
480
+ }>>;
481
+ }, z.core.$strip>>;
438
482
  configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
483
+ title: z.ZodString;
484
+ type: z.ZodLiteral<"bar">;
439
485
  config_version: z.ZodLiteral<2>;
440
486
  xAxisLabel: z.ZodString;
441
487
  yAxisLabel: z.ZodString;
442
488
  categoryColumn: z.ZodString;
443
489
  secondaryCategoryColumn: z.ZodOptional<z.ZodString>;
444
490
  valueColumn: z.ZodString;
445
- title: z.ZodString;
446
- type: z.ZodLiteral<"bar">;
447
491
  }, z.core.$strip>, z.ZodObject<{
448
- xAxisColumn: z.ZodString;
449
- valueColumns: z.ZodArray<z.ZodString>;
450
- yAxisLabels: z.ZodArray<z.ZodString>;
451
492
  title: z.ZodString;
452
493
  type: z.ZodLiteral<"line/area">;
453
494
  config_version: z.ZodLiteral<2>;
495
+ xAxisColumn: z.ZodString;
496
+ valueColumns: z.ZodArray<z.ZodString>;
497
+ yAxisLabels: z.ZodArray<z.ZodString>;
454
498
  }, z.core.$strip>, z.ZodObject<{
499
+ title: z.ZodString;
500
+ type: z.ZodLiteral<"line/area-categorical">;
455
501
  config_version: z.ZodLiteral<2>;
456
502
  valueColumn: z.ZodString;
457
503
  xAxisColumn: z.ZodString;
458
504
  xAxisLabel: z.ZodString;
459
505
  yAxisLabel: z.ZodString;
460
506
  categoryColumn: z.ZodString;
461
- title: z.ZodString;
462
- type: z.ZodLiteral<"line/area-categorical">;
463
507
  }, z.core.$strip>, z.ZodObject<{
508
+ title: z.ZodString;
509
+ type: z.ZodLiteral<"scatter">;
464
510
  config_version: z.ZodLiteral<2>;
465
511
  xAxisLabel: z.ZodString;
466
512
  yAxisLabel: z.ZodString;
467
513
  xAxisValueColumn: z.ZodString;
468
514
  yAxisValueColumn: z.ZodString;
469
- title: z.ZodString;
470
- type: z.ZodLiteral<"scatter">;
471
515
  }, z.core.$strip>, z.ZodObject<{
516
+ title: z.ZodString;
517
+ type: z.ZodLiteral<"pie">;
472
518
  config_version: z.ZodLiteral<2>;
473
519
  categoryColumn: z.ZodString;
474
520
  valueColumn: z.ZodString;
475
- title: z.ZodString;
476
- type: z.ZodLiteral<"pie">;
477
521
  }, z.core.$strip>], "type">;
478
- flow_data_id: z.ZodNumber;
479
- report_uuid: z.ZodString;
480
- flow_data: z.ZodOptional<z.ZodObject<{
481
- is_materialized: z.ZodNullable<z.ZodBoolean>;
482
- last_materialized_at: z.ZodNullable<z.ZodString>;
483
- materialized_error_message: z.ZodNullable<z.ZodString>;
484
- materialized_status: z.ZodNullable<z.ZodEnum<{
485
- completed: "completed";
486
- failed: "failed";
487
- running: "running";
488
- }>>;
489
- }, z.core.$strip>>;
490
- materialization: z.ZodOptional<z.ZodObject<{
491
- is_materialized: z.ZodNullable<z.ZodBoolean>;
492
- last_materialized_at: z.ZodNullable<z.ZodString>;
493
- materialized_error_message: z.ZodNullable<z.ZodString>;
494
- materialized_status: z.ZodNullable<z.ZodEnum<{
495
- completed: "completed";
496
- failed: "failed";
497
- running: "running";
498
- }>>;
499
- }, z.core.$strip>>;
500
522
  }, z.core.$strip>;
501
523
 
502
524
  export { GetRecentFlowsParams }
@@ -518,12 +540,6 @@ declare type InternalColorSwatchProps = {
518
540
 
519
541
  export declare const logout: () => void;
520
542
 
521
- export declare const MageMetricsCanvasViewerProvider: React.FC<MageMetricsCanvasViewerProviderProps>;
522
-
523
- export declare type MageMetricsCanvasViewerProviderProps = PropsWithChildren<Pick<MageMetricsClientConfig, "apiUrl" | "apiKey" | "externalJwt"> & {
524
- components?: Components;
525
- }>;
526
-
527
543
  export { MageMetricsClient }
528
544
 
529
545
  export { MageMetricsClientConfig }
@@ -757,17 +773,17 @@ declare type TableFilterValue = z.infer<typeof TableFilterValueSchema>;
757
773
 
758
774
  declare const TableFilterValueSchema: z.ZodObject<{
759
775
  operator: z.ZodEnum<{
776
+ between: "between";
760
777
  contains: "contains";
778
+ endsWith: "endsWith";
761
779
  eq: "eq";
762
780
  gt: "gt";
763
781
  gte: "gte";
764
782
  lt: "lt";
765
783
  lte: "lte";
766
- endsWith: "endsWith";
767
- startsWith: "startsWith";
768
784
  neq: "neq";
769
785
  regex: "regex";
770
- between: "between";
786
+ startsWith: "startsWith";
771
787
  }>;
772
788
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>]>;
773
789
  }, z.core.$strip>;
@@ -785,13 +801,13 @@ declare const TableFilterValueSchema: z.ZodObject<{
785
801
  * }
786
802
  * ```
787
803
  */
788
- export declare const useCanvas: (canvasId: string | undefined | null, options?: Omit<UseQueryOptions<FrontendCanvas, unknown>, "queryKey" | "queryFn">) => UseQueryResult<NoInfer<{
804
+ export declare const useCanvas: (canvasId: string | undefined | null, options?: Omit<UseQueryOptions<FrontendCanvas, unknown>, "queryKey" | "queryFn">) => UseQueryResult<{
789
805
  id: string;
790
806
  title: string | null;
807
+ is_public: boolean;
791
808
  nodes: any[];
792
809
  edges: any[];
793
- is_public: boolean;
794
- }>, unknown>;
810
+ }, unknown>;
795
811
 
796
812
  export declare const useChatContext: () => ChatContextValue;
797
813
 
@@ -921,44 +937,37 @@ export declare const useCreateFlow: (options?: UseMutationOptions<{
921
937
  }, Error, CreateFlowParam, unknown>;
922
938
  };
923
939
 
924
- export declare const useDataReportColumnValue: (reportId: string, filters: ReportDataFilters) => UseQueryResult<NoInfer<{
940
+ export declare const useDataReportColumnValue: (reportId: string, filters: ReportDataFilters) => UseQueryResult<{
925
941
  [x: string]: unknown;
926
- }[]>, Error>;
942
+ }[], Error>;
927
943
 
928
944
  export declare const useDataTableContext: () => {
929
945
  report: {
946
+ is_materialized: boolean | null;
947
+ last_materialized_at: string | null;
948
+ materialized_error_message: string | null;
949
+ materialized_status: "completed" | "running" | "failed" | null;
950
+ created_at: string;
930
951
  id: number;
931
- status: string | null;
932
- title: string;
933
952
  uuid: string;
934
- created_at: string;
953
+ title: string;
935
954
  request: string | null;
955
+ status: string | null;
936
956
  data_summary: {
937
- [x: string]: unknown;
938
957
  columns: Record<string, {
939
- [x: string]: unknown;
940
958
  data_type: string;
941
- null_count: number | null;
942
- unique_count: number | null;
943
- unique_percentage: number | null;
944
959
  position?: number | undefined;
945
- min_value?: number | null | undefined;
946
- max_value?: number | null | undefined;
947
- avg_value?: number | null | undefined;
948
- median_value?: number | null | undefined;
949
- std_value?: number | null | undefined;
950
- min_date?: string | null | undefined;
951
- max_date?: string | null | undefined;
952
- min_length?: number | null | undefined;
953
- max_length?: number | null | undefined;
954
- avg_length?: number | null | undefined;
960
+ render_type?: string | undefined;
961
+ unit?: string | undefined;
962
+ canonical_data_type?: "boolean" | "json" | "text" | "numeric" | "datetime" | "date" | "array" | "other" | undefined;
963
+ format_hint?: {
964
+ is_numeric?: boolean | undefined;
965
+ is_likely_year?: boolean | undefined;
966
+ isNumeric?: boolean | undefined;
967
+ isLikelyYear?: boolean | undefined;
968
+ } | undefined;
955
969
  }>;
956
970
  };
957
- is_removed: boolean;
958
- is_materialized: boolean | null;
959
- last_materialized_at: string | null;
960
- materialized_error_message: string | null;
961
- materialized_status: "completed" | "running" | "failed" | null;
962
971
  };
963
972
  fetchNextPage: (options?: FetchNextPageOptions) => Promise< InfiniteQueryObserverResult<InfiniteData<{
964
973
  [x: string]: unknown;
@@ -969,11 +978,14 @@ export declare const useDataTableContext: () => {
969
978
  columns: {
970
979
  name: string;
971
980
  data_type: string;
981
+ position?: number | undefined;
972
982
  dataType: string;
973
983
  renderType?: string | undefined;
974
984
  unit?: string | undefined;
975
985
  canonicalDataType?: "numeric" | "boolean" | "datetime" | "date" | "text" | "array" | "json" | "other" | undefined;
976
986
  formatHint?: {
987
+ is_numeric?: boolean | undefined;
988
+ is_likely_year?: boolean | undefined;
977
989
  isNumeric?: boolean | undefined;
978
990
  isLikelyYear?: boolean | undefined;
979
991
  } | undefined;
@@ -1070,99 +1082,85 @@ export declare const useMageMetricsClient: () => MageMetricsClient;
1070
1082
 
1071
1083
  export declare const useMageMetricsReady: () => false | MageMetricsClient;
1072
1084
 
1073
- export declare const useRecentFlows: (limit?: number, metadataFilter?: FlowMetadata_2) => UseQueryResult<NoInfer<{
1074
- id: string;
1075
- title: string | null;
1076
- metadata: Record<string, string | number | boolean>;
1085
+ export declare const useRecentFlows: (limit?: number, metadataFilter?: FlowMetadata_2) => UseQueryResult<{
1077
1086
  created_at: string;
1087
+ id: string;
1078
1088
  request: string;
1089
+ title: string | null;
1079
1090
  user_id: string | null;
1091
+ metadata: Record<string, string | number | boolean>;
1080
1092
  application_id?: number | null | undefined;
1081
- }[]>, Error>;
1093
+ }[], Error>;
1082
1094
 
1083
- export declare const useRecommendations: (count: number) => UseQueryResult<NoInfer<{
1095
+ export declare const useRecommendations: (count: number) => UseQueryResult<{
1084
1096
  starter: string;
1085
1097
  explanation: string;
1086
1098
  type: string;
1087
- }[]>, Error>;
1099
+ }[], Error>;
1088
1100
 
1089
1101
  export declare const useReport: (reportId: string | undefined) => {
1090
- data: NoInfer<{
1102
+ data: {
1091
1103
  created_at: string;
1092
1104
  id: number;
1093
1105
  uuid: string;
1094
1106
  title: string;
1095
1107
  request: string | null;
1108
+ status: string | null;
1109
+ is_materialized: boolean | null;
1110
+ last_materialized_at: string | null;
1111
+ materialized_error_message: string | null;
1112
+ materialized_status: "completed" | "running" | "failed" | null;
1096
1113
  data_summary: {
1097
- [x: string]: unknown;
1098
1114
  columns: {
1099
1115
  [x: string]: {
1100
- [x: string]: unknown;
1101
1116
  position?: number | undefined;
1102
1117
  data_type: string;
1103
- null_count: number | null;
1104
- unique_count: number | null;
1105
- unique_percentage: number | null;
1106
- min_value?: number | null | undefined;
1107
- max_value?: number | null | undefined;
1108
- avg_value?: number | null | undefined;
1109
- median_value?: number | null | undefined;
1110
- std_value?: number | null | undefined;
1111
- min_date?: string | null | undefined;
1112
- max_date?: string | null | undefined;
1113
- min_length?: number | null | undefined;
1114
- max_length?: number | null | undefined;
1115
- avg_length?: number | null | undefined;
1118
+ render_type?: string | undefined;
1119
+ unit?: string | undefined;
1120
+ canonical_data_type?: "numeric" | "boolean" | "datetime" | "date" | "text" | "array" | "json" | "other" | undefined;
1121
+ format_hint?: {
1122
+ is_numeric?: boolean | undefined;
1123
+ is_likely_year?: boolean | undefined;
1124
+ isNumeric?: boolean | undefined;
1125
+ isLikelyYear?: boolean | undefined;
1126
+ } | undefined;
1116
1127
  };
1117
1128
  };
1118
1129
  };
1119
- status: string | null;
1120
- is_removed: boolean;
1121
- is_materialized: boolean | null;
1122
- last_materialized_at: string | null;
1123
- materialized_error_message: string | null;
1124
- materialized_status: "completed" | "running" | "failed" | null;
1125
- } | null> | undefined;
1130
+ } | null | undefined;
1126
1131
  isLoading: boolean;
1127
1132
  error: Error | null;
1128
1133
  isError: boolean;
1129
1134
  isSuccess: boolean;
1130
- refetch: (options?: RefetchOptions) => Promise< QueryObserverResult<NoInfer<{
1135
+ refetch: (options?: RefetchOptions) => Promise< QueryObserverResult<{
1131
1136
  created_at: string;
1132
1137
  id: number;
1133
1138
  uuid: string;
1134
1139
  title: string;
1135
1140
  request: string | null;
1141
+ status: string | null;
1142
+ is_materialized: boolean | null;
1143
+ last_materialized_at: string | null;
1144
+ materialized_error_message: string | null;
1145
+ materialized_status: "completed" | "running" | "failed" | null;
1136
1146
  data_summary: {
1137
- [x: string]: unknown;
1138
1147
  columns: {
1139
1148
  [x: string]: {
1140
- [x: string]: unknown;
1141
1149
  position?: number | undefined;
1142
1150
  data_type: string;
1143
- null_count: number | null;
1144
- unique_count: number | null;
1145
- unique_percentage: number | null;
1146
- min_value?: number | null | undefined;
1147
- max_value?: number | null | undefined;
1148
- avg_value?: number | null | undefined;
1149
- median_value?: number | null | undefined;
1150
- std_value?: number | null | undefined;
1151
- min_date?: string | null | undefined;
1152
- max_date?: string | null | undefined;
1153
- min_length?: number | null | undefined;
1154
- max_length?: number | null | undefined;
1155
- avg_length?: number | null | undefined;
1151
+ render_type?: string | undefined;
1152
+ unit?: string | undefined;
1153
+ canonical_data_type?: "numeric" | "boolean" | "datetime" | "date" | "text" | "array" | "json" | "other" | undefined;
1154
+ format_hint?: {
1155
+ is_numeric?: boolean | undefined;
1156
+ is_likely_year?: boolean | undefined;
1157
+ isNumeric?: boolean | undefined;
1158
+ isLikelyYear?: boolean | undefined;
1159
+ } | undefined;
1156
1160
  };
1157
1161
  };
1158
1162
  };
1159
- status: string | null;
1160
- is_removed: boolean;
1161
- is_materialized: boolean | null;
1162
- last_materialized_at: string | null;
1163
- materialized_error_message: string | null;
1164
- materialized_status: "completed" | "running" | "failed" | null;
1165
- } | null>, Error>>;
1163
+ } | null, Error>>;
1166
1164
  isRefetching: boolean;
1167
1165
  isFetching: boolean;
1168
1166
  };
@@ -1174,62 +1172,62 @@ declare type V1FrontendVisualization = z.output<typeof V1FrontendVisualizationSc
1174
1172
  declare const V1FrontendVisualizationSchema: z.ZodObject<{
1175
1173
  id: z.ZodNumber;
1176
1174
  uuid: z.ZodString;
1175
+ report_uuid: z.ZodString;
1176
+ flow_data_id: z.ZodNumber;
1177
1177
  created_at: z.ZodString;
1178
+ flow_data: z.ZodOptional<z.ZodObject<{
1179
+ is_materialized: z.ZodNullable<z.ZodBoolean>;
1180
+ last_materialized_at: z.ZodNullable<z.ZodString>;
1181
+ materialized_error_message: z.ZodNullable<z.ZodString>;
1182
+ materialized_status: z.ZodNullable<z.ZodEnum<{
1183
+ completed: "completed";
1184
+ failed: "failed";
1185
+ running: "running";
1186
+ }>>;
1187
+ }, z.core.$strip>>;
1188
+ materialization: z.ZodOptional<z.ZodObject<{
1189
+ is_materialized: z.ZodNullable<z.ZodBoolean>;
1190
+ last_materialized_at: z.ZodNullable<z.ZodString>;
1191
+ materialized_error_message: z.ZodNullable<z.ZodString>;
1192
+ materialized_status: z.ZodNullable<z.ZodEnum<{
1193
+ completed: "completed";
1194
+ failed: "failed";
1195
+ running: "running";
1196
+ }>>;
1197
+ }, z.core.$strip>>;
1178
1198
  configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
1199
+ title: z.ZodString;
1179
1200
  xAxisLabel: z.ZodString;
1180
1201
  yAxisLabel: z.ZodString;
1181
1202
  xAxisDataKey: z.ZodOptional<z.ZodString>;
1182
1203
  yAxisDataKey: z.ZodOptional<z.ZodString>;
1183
1204
  dimensionDataKey: z.ZodOptional<z.ZodString>;
1184
1205
  valueColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
1185
- title: z.ZodString;
1186
1206
  type: z.ZodLiteral<"bar">;
1187
1207
  }, z.core.$strip>, z.ZodObject<{
1208
+ title: z.ZodString;
1188
1209
  xAxisLabel: z.ZodString;
1189
1210
  yAxisLabel: z.ZodString;
1190
1211
  xAxisDataKey: z.ZodOptional<z.ZodString>;
1191
1212
  yAxisDataKey: z.ZodOptional<z.ZodString>;
1192
1213
  dimensionDataKey: z.ZodOptional<z.ZodString>;
1193
1214
  valueColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
1194
- title: z.ZodString;
1195
1215
  type: z.ZodLiteral<"line/area">;
1196
1216
  }, z.core.$strip>, z.ZodObject<{
1217
+ title: z.ZodString;
1197
1218
  xAxisLabel: z.ZodString;
1198
1219
  yAxisLabel: z.ZodString;
1199
1220
  xAxisDataKey: z.ZodOptional<z.ZodString>;
1200
1221
  yAxisDataKey: z.ZodOptional<z.ZodString>;
1201
1222
  dimensionDataKey: z.ZodOptional<z.ZodString>;
1202
1223
  valueColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
1203
- title: z.ZodString;
1204
1224
  type: z.ZodLiteral<"scatter">;
1205
1225
  }, z.core.$strip>, z.ZodObject<{
1206
- nameKey: z.ZodString;
1207
- dataKey: z.ZodString;
1208
1226
  title: z.ZodString;
1209
1227
  type: z.ZodLiteral<"pie">;
1228
+ nameKey: z.ZodString;
1229
+ dataKey: z.ZodString;
1210
1230
  }, z.core.$strip>], "type">;
1211
- flow_data_id: z.ZodNumber;
1212
- report_uuid: z.ZodString;
1213
- flow_data: z.ZodOptional<z.ZodObject<{
1214
- is_materialized: z.ZodNullable<z.ZodBoolean>;
1215
- last_materialized_at: z.ZodNullable<z.ZodString>;
1216
- materialized_error_message: z.ZodNullable<z.ZodString>;
1217
- materialized_status: z.ZodNullable<z.ZodEnum<{
1218
- completed: "completed";
1219
- failed: "failed";
1220
- running: "running";
1221
- }>>;
1222
- }, z.core.$strip>>;
1223
- materialization: z.ZodOptional<z.ZodObject<{
1224
- is_materialized: z.ZodNullable<z.ZodBoolean>;
1225
- last_materialized_at: z.ZodNullable<z.ZodString>;
1226
- materialized_error_message: z.ZodNullable<z.ZodString>;
1227
- materialized_status: z.ZodNullable<z.ZodEnum<{
1228
- completed: "completed";
1229
- failed: "failed";
1230
- running: "running";
1231
- }>>;
1232
- }, z.core.$strip>>;
1233
1231
  }, z.core.$strip>;
1234
1232
 
1235
1233
  export declare const Visualization: ForwardRefExoticComponent<{
@@ -1245,6 +1243,13 @@ export declare type WebComponentManagedModalProps = StandaloneManagedModalProps
1245
1243
  export { }
1246
1244
 
1247
1245
 
1246
+ declare module "highcharts" {
1247
+ interface Exporting {
1248
+ exportChart(exportingOptions?: ExportingOptions, chartOptions?: Options): void;
1249
+ }
1250
+ }
1251
+
1252
+
1248
1253
  declare module "react" {
1249
1254
  namespace JSX {
1250
1255
  interface IntrinsicElements {