@magemetrics/core 0.8.1 → 0.8.2

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/dist/index.d.ts CHANGED
@@ -488,10 +488,17 @@ declare const inputSchema_6: z.ZodObject<{
488
488
  }, z.core.$strip>;
489
489
 
490
490
  declare const inputSchema_7: z.ZodObject<{
491
- query: z.ZodString;
491
+ reportId: z.ZodNumber;
492
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
493
+ offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
494
+ skipSampleRows: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
492
495
  }, z.core.$strip>;
493
496
 
494
497
  declare const inputSchema_8: z.ZodObject<{
498
+ query: z.ZodString;
499
+ }, z.core.$strip>;
500
+
501
+ declare const inputSchema_9: z.ZodObject<{
495
502
  questions: z.ZodArray<z.ZodObject<{
496
503
  question: z.ZodString;
497
504
  header: z.ZodString;
@@ -799,8 +806,9 @@ declare type MMUiTools = {
799
806
  valueBasedColumnSearch: UiTool_4;
800
807
  getAvailableTables: UiTool_5;
801
808
  getAvailableColumnsForTable: UiTool_6;
802
- webSearch: UiTool_7;
803
- askUserQuestion: UiTool_8;
809
+ paginateDataReport: UiTool_7;
810
+ webSearch: UiTool_8;
811
+ askUserQuestion: UiTool_9;
804
812
  };
805
813
 
806
814
  declare type NoAuthPaths = Simplify<{
@@ -4728,6 +4736,22 @@ declare const redactedOutputSchema_5: z.ZodObject<{
4728
4736
  }, z.core.$strip>;
4729
4737
 
4730
4738
  declare const redactedOutputSchema_6: z.ZodObject<{
4739
+ tool: z.ZodLiteral<"paginateDataReport">;
4740
+ result: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
4741
+ status: z.ZodLiteral<"success">;
4742
+ public: z.ZodObject<{
4743
+ totalRows: z.ZodNumber;
4744
+ fetchedRows: z.ZodNumber;
4745
+ offset: z.ZodNumber;
4746
+ hasMore: z.ZodBoolean;
4747
+ }, z.core.$strip>;
4748
+ }, z.core.$strip>, z.ZodObject<{
4749
+ status: z.ZodLiteral<"error">;
4750
+ message: z.ZodString;
4751
+ }, z.core.$strip>], "status">>;
4752
+ }, z.core.$strip>;
4753
+
4754
+ declare const redactedOutputSchema_7: z.ZodObject<{
4731
4755
  tool: z.ZodLiteral<"search">;
4732
4756
  result: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
4733
4757
  status: z.ZodLiteral<"success">;
@@ -4820,7 +4844,9 @@ declare type UiTool_6 = InferUITool<Tool<z.infer<typeof inputSchema_6>, z.infer<
4820
4844
 
4821
4845
  declare type UiTool_7 = InferUITool<Tool<z.infer<typeof inputSchema_7>, z.infer<typeof redactedOutputSchema_6>>>;
4822
4846
 
4823
- declare type UiTool_8 = InferUITool<Tool<z.infer<typeof inputSchema_8>, z.infer<typeof RedactedAskUserQuestionResponse>>>;
4847
+ declare type UiTool_8 = InferUITool<Tool<z.infer<typeof inputSchema_8>, z.infer<typeof redactedOutputSchema_7>>>;
4848
+
4849
+ declare type UiTool_9 = InferUITool<Tool<z.infer<typeof inputSchema_9>, z.infer<typeof RedactedAskUserQuestionResponse>>>;
4824
4850
 
4825
4851
  declare const UpdateCanvasSchema: z.ZodObject<{
4826
4852
  id: z.ZodUUID;
package/dist/index.js CHANGED
@@ -57,7 +57,7 @@ var addApiKeyHeader = (apiKey) => {
57
57
 
58
58
  // package.json
59
59
  var package_default = {
60
- version: "0.8.1"};
60
+ version: "0.8.2"};
61
61
 
62
62
  // src/core/MageMetricsEventEmitter.ts
63
63
  var MageMetricsEventEmitter = class {