reportify-sdk 0.3.15 → 0.3.16

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
@@ -1673,24 +1673,23 @@ declare class SearchModule {
1673
1673
  */
1674
1674
  crawl(urls: string[], options?: {
1675
1675
  text?: boolean | {
1676
- maxCharacters?: number;
1677
- includeHtmlTags?: boolean;
1676
+ max_characters?: number;
1677
+ include_html_tags?: boolean;
1678
1678
  verbosity?: 'compact' | 'full';
1679
1679
  };
1680
1680
  highlights?: {
1681
1681
  query?: string;
1682
- maxCharacters?: number;
1683
- numSentences?: number;
1684
- highlightsPerUrl?: number;
1682
+ max_characters?: number;
1683
+ num_sentences?: number;
1684
+ highlights_per_url?: number;
1685
1685
  };
1686
1686
  summary?: {
1687
1687
  query?: string;
1688
- schema?: Record<string, unknown>;
1689
1688
  };
1690
1689
  subpages?: number;
1691
- subpageTarget?: string[];
1692
- maxAgeHours?: number;
1693
- livecrawlTimeout?: number;
1690
+ subpage_target?: string[];
1691
+ max_age_hours?: number;
1692
+ livecrawl_timeout?: number;
1694
1693
  }): Promise<any>;
1695
1694
  }
1696
1695
 
package/dist/index.d.ts CHANGED
@@ -1673,24 +1673,23 @@ declare class SearchModule {
1673
1673
  */
1674
1674
  crawl(urls: string[], options?: {
1675
1675
  text?: boolean | {
1676
- maxCharacters?: number;
1677
- includeHtmlTags?: boolean;
1676
+ max_characters?: number;
1677
+ include_html_tags?: boolean;
1678
1678
  verbosity?: 'compact' | 'full';
1679
1679
  };
1680
1680
  highlights?: {
1681
1681
  query?: string;
1682
- maxCharacters?: number;
1683
- numSentences?: number;
1684
- highlightsPerUrl?: number;
1682
+ max_characters?: number;
1683
+ num_sentences?: number;
1684
+ highlights_per_url?: number;
1685
1685
  };
1686
1686
  summary?: {
1687
1687
  query?: string;
1688
- schema?: Record<string, unknown>;
1689
1688
  };
1690
1689
  subpages?: number;
1691
- subpageTarget?: string[];
1692
- maxAgeHours?: number;
1693
- livecrawlTimeout?: number;
1690
+ subpage_target?: string[];
1691
+ max_age_hours?: number;
1692
+ livecrawl_timeout?: number;
1694
1693
  }): Promise<any>;
1695
1694
  }
1696
1695
 
package/dist/index.js CHANGED
@@ -1816,9 +1816,9 @@ var SearchModule = class {
1816
1816
  if (options?.highlights !== void 0) data.highlights = options.highlights;
1817
1817
  if (options?.summary !== void 0) data.summary = options.summary;
1818
1818
  if (options?.subpages !== void 0) data.subpages = options.subpages;
1819
- if (options?.subpageTarget !== void 0) data.subpageTarget = options.subpageTarget;
1820
- if (options?.maxAgeHours !== void 0) data.maxAgeHours = options.maxAgeHours;
1821
- if (options?.livecrawlTimeout !== void 0) data.livecrawlTimeout = options.livecrawlTimeout;
1819
+ if (options?.subpage_target !== void 0) data.subpage_target = options.subpage_target;
1820
+ if (options?.max_age_hours !== void 0) data.max_age_hours = options.max_age_hours;
1821
+ if (options?.livecrawl_timeout !== void 0) data.livecrawl_timeout = options.livecrawl_timeout;
1822
1822
  return this.client.post("/v2/search/crawl", data);
1823
1823
  }
1824
1824
  };
package/dist/index.mjs CHANGED
@@ -1774,9 +1774,9 @@ var SearchModule = class {
1774
1774
  if (options?.highlights !== void 0) data.highlights = options.highlights;
1775
1775
  if (options?.summary !== void 0) data.summary = options.summary;
1776
1776
  if (options?.subpages !== void 0) data.subpages = options.subpages;
1777
- if (options?.subpageTarget !== void 0) data.subpageTarget = options.subpageTarget;
1778
- if (options?.maxAgeHours !== void 0) data.maxAgeHours = options.maxAgeHours;
1779
- if (options?.livecrawlTimeout !== void 0) data.livecrawlTimeout = options.livecrawlTimeout;
1777
+ if (options?.subpage_target !== void 0) data.subpage_target = options.subpage_target;
1778
+ if (options?.max_age_hours !== void 0) data.max_age_hours = options.max_age_hours;
1779
+ if (options?.livecrawl_timeout !== void 0) data.livecrawl_timeout = options.livecrawl_timeout;
1780
1780
  return this.client.post("/v2/search/crawl", data);
1781
1781
  }
1782
1782
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reportify-sdk",
3
- "version": "0.3.15",
3
+ "version": "0.3.16",
4
4
  "description": "TypeScript SDK for Reportify API - Financial data and document search",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",