reportify-sdk 0.3.15 → 0.3.17
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 +11 -12
- package/dist/index.d.ts +11 -12
- package/dist/index.js +7 -7
- package/dist/index.mjs +7 -7
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1534,15 +1534,15 @@ declare class UserModule {
|
|
|
1534
1534
|
* Remove follows from a group
|
|
1535
1535
|
*
|
|
1536
1536
|
* @param groupId - Group ID
|
|
1537
|
-
* @param
|
|
1537
|
+
* @param followValues - List of follow values to remove (e.g., stock symbols, channel IDs)
|
|
1538
1538
|
* @returns Status message
|
|
1539
1539
|
*
|
|
1540
1540
|
* @example
|
|
1541
1541
|
* ```typescript
|
|
1542
|
-
* await client.user.removeFollowsFromGroup('group_123', ['
|
|
1542
|
+
* await client.user.removeFollowsFromGroup('group_123', ['AAPL', 'MSFT']);
|
|
1543
1543
|
* ```
|
|
1544
1544
|
*/
|
|
1545
|
-
removeFollowsFromGroup(groupId: string,
|
|
1545
|
+
removeFollowsFromGroup(groupId: string, followValues: string[]): Promise<void>;
|
|
1546
1546
|
/**
|
|
1547
1547
|
* Set follows for a group (replace all existing follows)
|
|
1548
1548
|
*
|
|
@@ -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
|
@@ -1534,15 +1534,15 @@ declare class UserModule {
|
|
|
1534
1534
|
* Remove follows from a group
|
|
1535
1535
|
*
|
|
1536
1536
|
* @param groupId - Group ID
|
|
1537
|
-
* @param
|
|
1537
|
+
* @param followValues - List of follow values to remove (e.g., stock symbols, channel IDs)
|
|
1538
1538
|
* @returns Status message
|
|
1539
1539
|
*
|
|
1540
1540
|
* @example
|
|
1541
1541
|
* ```typescript
|
|
1542
|
-
* await client.user.removeFollowsFromGroup('group_123', ['
|
|
1542
|
+
* await client.user.removeFollowsFromGroup('group_123', ['AAPL', 'MSFT']);
|
|
1543
1543
|
* ```
|
|
1544
1544
|
*/
|
|
1545
|
-
removeFollowsFromGroup(groupId: string,
|
|
1545
|
+
removeFollowsFromGroup(groupId: string, followValues: string[]): Promise<void>;
|
|
1546
1546
|
/**
|
|
1547
1547
|
* Set follows for a group (replace all existing follows)
|
|
1548
1548
|
*
|
|
@@ -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
|
@@ -1582,18 +1582,18 @@ var UserModule = class {
|
|
|
1582
1582
|
* Remove follows from a group
|
|
1583
1583
|
*
|
|
1584
1584
|
* @param groupId - Group ID
|
|
1585
|
-
* @param
|
|
1585
|
+
* @param followValues - List of follow values to remove (e.g., stock symbols, channel IDs)
|
|
1586
1586
|
* @returns Status message
|
|
1587
1587
|
*
|
|
1588
1588
|
* @example
|
|
1589
1589
|
* ```typescript
|
|
1590
|
-
* await client.user.removeFollowsFromGroup('group_123', ['
|
|
1590
|
+
* await client.user.removeFollowsFromGroup('group_123', ['AAPL', 'MSFT']);
|
|
1591
1591
|
* ```
|
|
1592
1592
|
*/
|
|
1593
|
-
async removeFollowsFromGroup(groupId,
|
|
1593
|
+
async removeFollowsFromGroup(groupId, followValues) {
|
|
1594
1594
|
return this.client.delete(
|
|
1595
1595
|
`/v1/tools/user/follow-groups/${groupId}/follows`,
|
|
1596
|
-
{
|
|
1596
|
+
{ follow_values: followValues }
|
|
1597
1597
|
);
|
|
1598
1598
|
}
|
|
1599
1599
|
/**
|
|
@@ -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
|
@@ -1540,18 +1540,18 @@ var UserModule = class {
|
|
|
1540
1540
|
* Remove follows from a group
|
|
1541
1541
|
*
|
|
1542
1542
|
* @param groupId - Group ID
|
|
1543
|
-
* @param
|
|
1543
|
+
* @param followValues - List of follow values to remove (e.g., stock symbols, channel IDs)
|
|
1544
1544
|
* @returns Status message
|
|
1545
1545
|
*
|
|
1546
1546
|
* @example
|
|
1547
1547
|
* ```typescript
|
|
1548
|
-
* await client.user.removeFollowsFromGroup('group_123', ['
|
|
1548
|
+
* await client.user.removeFollowsFromGroup('group_123', ['AAPL', 'MSFT']);
|
|
1549
1549
|
* ```
|
|
1550
1550
|
*/
|
|
1551
|
-
async removeFollowsFromGroup(groupId,
|
|
1551
|
+
async removeFollowsFromGroup(groupId, followValues) {
|
|
1552
1552
|
return this.client.delete(
|
|
1553
1553
|
`/v1/tools/user/follow-groups/${groupId}/follows`,
|
|
1554
|
-
{
|
|
1554
|
+
{ follow_values: followValues }
|
|
1555
1555
|
);
|
|
1556
1556
|
}
|
|
1557
1557
|
/**
|
|
@@ -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
|
};
|