exa-js 2.0.0 → 2.0.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.mts CHANGED
@@ -1549,14 +1549,16 @@ interface components {
1549
1549
  type: "person";
1550
1550
  };
1551
1551
  PreviewWebsetParameters: {
1552
- /** @description Entity used to inform the decomposition.
1553
- *
1554
- * It is not required to provide it, we automatically detect the entity from all the information provided in the query. Only use this when you need more fine control. */
1555
- entity?: components["schemas"]["Entity"];
1556
- /** @description Natural language search query describing what you are looking for.
1557
- *
1558
- * Be specific and descriptive about your requirements, characteristics, and any constraints that help narrow down the results. */
1559
- query: string;
1552
+ search: {
1553
+ /** @description Entity used to inform the decomposition.
1554
+ *
1555
+ * It is not required to provide it, we automatically detect the entity from all the information provided in the query. Only use this when you need more fine control. */
1556
+ entity?: components["schemas"]["Entity"];
1557
+ /** @description Natural language search query describing what you are looking for.
1558
+ *
1559
+ * Be specific and descriptive about your requirements, characteristics, and any constraints that help narrow down the results. */
1560
+ query: string;
1561
+ };
1560
1562
  };
1561
1563
  PreviewWebsetResponse: {
1562
1564
  /** @description Detected enrichments from the query. */
@@ -1734,6 +1736,12 @@ interface components {
1734
1736
  createdAt: string;
1735
1737
  /** @description The Enrichments to apply to the Webset Items. */
1736
1738
  enrichments: components["schemas"]["WebsetEnrichment"][];
1739
+ /** @description The Excludes sources (existing imports or websets) that apply to all operations within this Webset. Any results found within these sources will be omitted across all search and import operations. */
1740
+ excludes?: {
1741
+ id: string;
1742
+ /** @enum {string} */
1743
+ source: WebsetExcludeSource;
1744
+ }[];
1737
1745
  /** @description The external identifier for the webset */
1738
1746
  externalId: string | null;
1739
1747
  /** @description The unique identifier for the webset */
@@ -1762,8 +1770,6 @@ interface components {
1762
1770
  * @enum {string}
1763
1771
  */
1764
1772
  status: WebsetStatus;
1765
- /** @description The Streams for the Webset. */
1766
- streams: unknown[];
1767
1773
  /** @description The title of the webset */
1768
1774
  title: string | null;
1769
1775
  /**
package/dist/index.d.ts CHANGED
@@ -1549,14 +1549,16 @@ interface components {
1549
1549
  type: "person";
1550
1550
  };
1551
1551
  PreviewWebsetParameters: {
1552
- /** @description Entity used to inform the decomposition.
1553
- *
1554
- * It is not required to provide it, we automatically detect the entity from all the information provided in the query. Only use this when you need more fine control. */
1555
- entity?: components["schemas"]["Entity"];
1556
- /** @description Natural language search query describing what you are looking for.
1557
- *
1558
- * Be specific and descriptive about your requirements, characteristics, and any constraints that help narrow down the results. */
1559
- query: string;
1552
+ search: {
1553
+ /** @description Entity used to inform the decomposition.
1554
+ *
1555
+ * It is not required to provide it, we automatically detect the entity from all the information provided in the query. Only use this when you need more fine control. */
1556
+ entity?: components["schemas"]["Entity"];
1557
+ /** @description Natural language search query describing what you are looking for.
1558
+ *
1559
+ * Be specific and descriptive about your requirements, characteristics, and any constraints that help narrow down the results. */
1560
+ query: string;
1561
+ };
1560
1562
  };
1561
1563
  PreviewWebsetResponse: {
1562
1564
  /** @description Detected enrichments from the query. */
@@ -1734,6 +1736,12 @@ interface components {
1734
1736
  createdAt: string;
1735
1737
  /** @description The Enrichments to apply to the Webset Items. */
1736
1738
  enrichments: components["schemas"]["WebsetEnrichment"][];
1739
+ /** @description The Excludes sources (existing imports or websets) that apply to all operations within this Webset. Any results found within these sources will be omitted across all search and import operations. */
1740
+ excludes?: {
1741
+ id: string;
1742
+ /** @enum {string} */
1743
+ source: WebsetExcludeSource;
1744
+ }[];
1737
1745
  /** @description The external identifier for the webset */
1738
1746
  externalId: string | null;
1739
1747
  /** @description The unique identifier for the webset */
@@ -1762,8 +1770,6 @@ interface components {
1762
1770
  * @enum {string}
1763
1771
  */
1764
1772
  status: WebsetStatus;
1765
- /** @description The Streams for the Webset. */
1766
- streams: unknown[];
1767
1773
  /** @description The title of the webset */
1768
1774
  title: string | null;
1769
1775
  /**
package/dist/index.js CHANGED
@@ -74,7 +74,7 @@ var import_cross_fetch = __toESM(require("cross-fetch"));
74
74
  // package.json
75
75
  var package_default = {
76
76
  name: "exa-js",
77
- version: "2.0.0",
77
+ version: "2.0.2",
78
78
  description: "Exa SDK for Node.js and the browser",
79
79
  publishConfig: {
80
80
  access: "public"