@magemetrics/core 0.6.0 → 0.6.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.
package/dist/index.d.ts CHANGED
@@ -448,6 +448,7 @@ export declare const getPublicApiClient: (apiUrl: string, apiKey: string) => Cli
448
448
  declare const HEADER_SP_TOKEN: "sp-access-token";
449
449
 
450
450
  declare const inputSchema: z.ZodObject<{
451
+ rawRequest: z.ZodString;
451
452
  userRequest: z.ZodString;
452
453
  isNewAnalysisGoal: z.ZodBoolean;
453
454
  responseType: z.ZodEnum<{
@@ -1569,6 +1570,8 @@ declare interface operations {
1569
1570
  friendliness_score?: number;
1570
1571
  friendliness_score_reason?: string;
1571
1572
  flow_data_id: number;
1573
+ output_dataset?: string;
1574
+ sql?: string;
1572
1575
  };
1573
1576
  };
1574
1577
  };
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.6.0"};
60
+ version: "0.6.1"};
61
61
 
62
62
  // src/core/MageMetricsEventEmitter.ts
63
63
  var MageMetricsEventEmitter = class {
@@ -1144,6 +1144,9 @@ var ReportExplainabilitySchema = z.object({
1144
1144
  var FrontendReportExplainabilitySchema = ReportExplainabilitySchema.omit({
1145
1145
  id: true,
1146
1146
  created_at: true
1147
+ }).extend({
1148
+ output_dataset: z.string().optional(),
1149
+ sql: z.string().optional()
1147
1150
  });
1148
1151
 
1149
1152
  // ../shared/dist/src/endpoints/companion/flows.routes.js