valyu-js 2.7.12 → 2.7.14

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.mts CHANGED
@@ -231,7 +231,7 @@ type DeepResearchStatus = "queued" | "running" | "awaiting_input" | "paused" | "
231
231
  type DeepResearchOutputFormat = "markdown" | "pdf" | "toon" | Record<string, any>;
232
232
  type DeepResearchOutputType = "markdown" | "json" | "toon";
233
233
  type ImageType = "chart" | "ai_generated" | "screenshot";
234
- type ChartType = "line" | "bar" | "area";
234
+ type ChartType = "line" | "bar" | "area" | "pie" | "doughnut" | "radar" | "scatter" | "horizontalBar" | "heatmap" | "boxplot" | "stackedBar" | "stackedArea" | "histogram" | "waterfall" | "timeline" | "bubble";
235
235
  interface FileAttachment {
236
236
  data: string;
237
237
  filename: string;
@@ -287,6 +287,8 @@ interface DeepResearchSearchConfig {
287
287
  interface DeepResearchTools {
288
288
  code_execution?: boolean;
289
289
  screenshots?: boolean;
290
+ /** Enable chart/graph generation embedded in the final report (free) */
291
+ charts?: boolean;
290
292
  }
291
293
  interface DeepResearchCreateOptions {
292
294
  query?: string;
@@ -342,10 +344,14 @@ interface Progress {
342
344
  interface ChartDataPoint {
343
345
  x: string | number;
344
346
  y: number;
347
+ y2?: number;
348
+ z?: number;
349
+ values?: number[];
345
350
  }
346
351
  interface ChartDataSeries {
347
352
  name: string;
348
353
  data: ChartDataPoint[];
354
+ line_style?: "solid" | "dashed" | "dotted";
349
355
  }
350
356
  interface ImageMetadata {
351
357
  image_id: string;
package/dist/index.d.ts CHANGED
@@ -231,7 +231,7 @@ type DeepResearchStatus = "queued" | "running" | "awaiting_input" | "paused" | "
231
231
  type DeepResearchOutputFormat = "markdown" | "pdf" | "toon" | Record<string, any>;
232
232
  type DeepResearchOutputType = "markdown" | "json" | "toon";
233
233
  type ImageType = "chart" | "ai_generated" | "screenshot";
234
- type ChartType = "line" | "bar" | "area";
234
+ type ChartType = "line" | "bar" | "area" | "pie" | "doughnut" | "radar" | "scatter" | "horizontalBar" | "heatmap" | "boxplot" | "stackedBar" | "stackedArea" | "histogram" | "waterfall" | "timeline" | "bubble";
235
235
  interface FileAttachment {
236
236
  data: string;
237
237
  filename: string;
@@ -287,6 +287,8 @@ interface DeepResearchSearchConfig {
287
287
  interface DeepResearchTools {
288
288
  code_execution?: boolean;
289
289
  screenshots?: boolean;
290
+ /** Enable chart/graph generation embedded in the final report (free) */
291
+ charts?: boolean;
290
292
  }
291
293
  interface DeepResearchCreateOptions {
292
294
  query?: string;
@@ -342,10 +344,14 @@ interface Progress {
342
344
  interface ChartDataPoint {
343
345
  x: string | number;
344
346
  y: number;
347
+ y2?: number;
348
+ z?: number;
349
+ values?: number[];
345
350
  }
346
351
  interface ChartDataSeries {
347
352
  name: string;
348
353
  data: ChartDataPoint[];
354
+ line_style?: "solid" | "dashed" | "dotted";
349
355
  }
350
356
  interface ImageMetadata {
351
357
  image_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valyu-js",
3
- "version": "2.7.12",
3
+ "version": "2.7.14",
4
4
  "description": "Deepsearch API for AI.",
5
5
  "files": [
6
6
  "dist"