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 +8 -9
- package/dist/index.d.ts +8 -9
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
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
|
-
|
|
1677
|
-
|
|
1676
|
+
max_characters?: number;
|
|
1677
|
+
include_html_tags?: boolean;
|
|
1678
1678
|
verbosity?: 'compact' | 'full';
|
|
1679
1679
|
};
|
|
1680
1680
|
highlights?: {
|
|
1681
1681
|
query?: string;
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
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
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
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
|
-
|
|
1677
|
-
|
|
1676
|
+
max_characters?: number;
|
|
1677
|
+
include_html_tags?: boolean;
|
|
1678
1678
|
verbosity?: 'compact' | 'full';
|
|
1679
1679
|
};
|
|
1680
1680
|
highlights?: {
|
|
1681
1681
|
query?: string;
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
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
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
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?.
|
|
1820
|
-
if (options?.
|
|
1821
|
-
if (options?.
|
|
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?.
|
|
1778
|
-
if (options?.
|
|
1779
|
-
if (options?.
|
|
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
|
};
|