@mentio-dev/sdk 0.15.1 → 0.16.0
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.ts +1421 -116
- package/dist/index.js +61 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -715,7 +715,7 @@ type ErrorResponse = {
|
|
|
715
715
|
/**
|
|
716
716
|
* Stable machine-readable code; branch on this, never on the message. Codes are additive: a client should treat one it does not know as a generic failure of the same status.
|
|
717
717
|
*/
|
|
718
|
-
code: 'unauthorized' | 'forbidden' | 'read_only_key' | 'validation_error' | 'not_found' | 'invalid_cursor' | 'payload_too_large' | 'idempotency_key_in_use' | 'idempotency_key_reused' | 'rate_limited' | 'duplicate_keyword' | 'insufficient_balance' | 'keyword_limit_reached' | 'billing_not_configured' | 'order_not_credited' | 'schedule_required' | 'unknown_channel' | 'not_a_digest' | 'hourly_email_unsupported' | 'slack_not_connected' | 'slack_not_configured' | 'telegram_not_configured' | 'feed_unreadable' | 'feed_login_required' | 'feed_login_expired' | 'feed_limit_reached' | 'feed_auth_not_configured' | 'email_not_configured' | 'invalid_assignee' | 'classification_pending' | 'invalid_member' | 'already_member' | 'last_owner' | 'duplicate_segment' | 'filter_too_complex' | 'duplicate_view' | 'duplicate_group' | 'default_group' | 'default_group_context' | 'group_changed' | 'invalid_signature' | 'webhook_not_configured' | 'invalid_token' | 'protected_user' | 'upstream_unavailable' | 'internal_error';
|
|
718
|
+
code: 'unauthorized' | 'forbidden' | 'read_only_key' | 'validation_error' | 'not_found' | 'invalid_cursor' | 'payload_too_large' | 'idempotency_key_in_use' | 'idempotency_key_reused' | 'rate_limited' | 'duplicate_keyword' | 'insufficient_balance' | 'keyword_limit_reached' | 'billing_not_configured' | 'order_not_credited' | 'schedule_required' | 'unknown_channel' | 'not_a_digest' | 'hourly_email_unsupported' | 'slack_not_connected' | 'slack_not_configured' | 'telegram_not_configured' | 'feed_unreadable' | 'feed_login_required' | 'feed_login_expired' | 'feed_limit_reached' | 'feed_auth_not_configured' | 'email_not_configured' | 'invalid_assignee' | 'classification_pending' | 'invalid_member' | 'already_member' | 'last_owner' | 'duplicate_segment' | 'filter_too_complex' | 'duplicate_view' | 'duplicate_automation' | 'automation_filter_unreadable' | 'automation_limit_reached' | 'duplicate_group' | 'default_group' | 'default_group_context' | 'group_changed' | 'invalid_signature' | 'webhook_not_configured' | 'invalid_token' | 'protected_user' | 'upstream_unavailable' | 'internal_error';
|
|
719
719
|
/**
|
|
720
720
|
* Human-readable detail; may change between releases.
|
|
721
721
|
*/
|
|
@@ -1316,6 +1316,20 @@ type WorkspaceFilters = {
|
|
|
1316
1316
|
*/
|
|
1317
1317
|
updatedAt: string | null;
|
|
1318
1318
|
};
|
|
1319
|
+
type MentionBatchResult = {
|
|
1320
|
+
/**
|
|
1321
|
+
* The ids changed, in the order sent. A pending mention given only a status is not changed: it is in pending alone.
|
|
1322
|
+
*/
|
|
1323
|
+
updated: Array<string>;
|
|
1324
|
+
/**
|
|
1325
|
+
* The ids this workspace has no mention by, in the order sent; nothing was done to them.
|
|
1326
|
+
*/
|
|
1327
|
+
notFound: Array<string>;
|
|
1328
|
+
/**
|
|
1329
|
+
* Of the updated ids, those still waiting for the classifier: they took the labels and the assignee, but their status stays until they are scored. Empty unless the update set a status.
|
|
1330
|
+
*/
|
|
1331
|
+
pending: Array<string>;
|
|
1332
|
+
};
|
|
1319
1333
|
type Mention = {
|
|
1320
1334
|
/**
|
|
1321
1335
|
* Mention id (mm_...): one post matched to one of your keywords. A post matching two keywords has two ids.
|
|
@@ -1684,6 +1698,10 @@ type Mention = {
|
|
|
1684
1698
|
*/
|
|
1685
1699
|
note: string | null;
|
|
1686
1700
|
};
|
|
1701
|
+
/**
|
|
1702
|
+
* Your labels on this mention (hot-lead, replied...), alphabetical. Set them with PATCH, POST /v1/mentions/batch or an automation.
|
|
1703
|
+
*/
|
|
1704
|
+
labels: Array<string>;
|
|
1687
1705
|
/**
|
|
1688
1706
|
* On a cross-post (same author, text and keyword within three days), the original's id. Billed like any mention, listed only under its original, never alerted alone. null for an original. See [Cross-posts](/how-it-works#cross-posts).
|
|
1689
1707
|
*/
|
|
@@ -2372,6 +2390,14 @@ type FilterGroup = {
|
|
|
2372
2390
|
* Never authors tagged with any of these, in the workspace's tags or those of the mention's own keyword group.
|
|
2373
2391
|
*/
|
|
2374
2392
|
notTags?: Array<string>;
|
|
2393
|
+
/**
|
|
2394
|
+
* Only mentions carrying any of these labels (exact, case-sensitive).
|
|
2395
|
+
*/
|
|
2396
|
+
labels?: Array<string>;
|
|
2397
|
+
/**
|
|
2398
|
+
* Never mentions carrying any of these labels.
|
|
2399
|
+
*/
|
|
2400
|
+
notLabels?: Array<string>;
|
|
2375
2401
|
/**
|
|
2376
2402
|
* Only posts linking to any of these hosts, the host itself or a subdomain of it.
|
|
2377
2403
|
*/
|
|
@@ -2562,6 +2588,225 @@ type View = {
|
|
|
2562
2588
|
* Never authors tagged with any of these, in the workspace's tags or those of the mention's own keyword group.
|
|
2563
2589
|
*/
|
|
2564
2590
|
notTags?: Array<string>;
|
|
2591
|
+
/**
|
|
2592
|
+
* Only mentions carrying any of these labels (exact, case-sensitive).
|
|
2593
|
+
*/
|
|
2594
|
+
labels?: Array<string>;
|
|
2595
|
+
/**
|
|
2596
|
+
* Never mentions carrying any of these labels.
|
|
2597
|
+
*/
|
|
2598
|
+
notLabels?: Array<string>;
|
|
2599
|
+
/**
|
|
2600
|
+
* Only posts linking to any of these hosts, the host itself or a subdomain of it.
|
|
2601
|
+
*/
|
|
2602
|
+
linkHosts?: Array<string>;
|
|
2603
|
+
/**
|
|
2604
|
+
* Never posts linking to these hosts.
|
|
2605
|
+
*/
|
|
2606
|
+
notLinkHosts?: Array<string>;
|
|
2607
|
+
/**
|
|
2608
|
+
* Only Reddit posts from any of these subreddits (names without the r/, any case); every other post fails it.
|
|
2609
|
+
*/
|
|
2610
|
+
subreddits?: Array<string>;
|
|
2611
|
+
/**
|
|
2612
|
+
* Never Reddit posts from these subreddits; posts from other platforms still pass.
|
|
2613
|
+
*/
|
|
2614
|
+
notSubreddits?: Array<string>;
|
|
2615
|
+
/**
|
|
2616
|
+
* Only authors with at least this many followers; unknown reach never passes.
|
|
2617
|
+
*/
|
|
2618
|
+
minFollowers?: number;
|
|
2619
|
+
/**
|
|
2620
|
+
* Only authors with at most this many followers; unknown reach never passes.
|
|
2621
|
+
*/
|
|
2622
|
+
maxFollowers?: number;
|
|
2623
|
+
/**
|
|
2624
|
+
* true: only replies and comments; false: only top-level posts.
|
|
2625
|
+
*/
|
|
2626
|
+
isReply?: boolean;
|
|
2627
|
+
/**
|
|
2628
|
+
* Only posts (post), only comments (comment) or only GitHub repository events (repository).
|
|
2629
|
+
*/
|
|
2630
|
+
kind?: 'post' | 'comment' | 'repository';
|
|
2631
|
+
/**
|
|
2632
|
+
* Never these authors: display names, handles or profile URLs.
|
|
2633
|
+
*/
|
|
2634
|
+
notAuthors?: Array<string>;
|
|
2635
|
+
/**
|
|
2636
|
+
* Deprecated: use notAuthors, the same filter. Both may be given; every author named in either is hidden.
|
|
2637
|
+
*/
|
|
2638
|
+
excludeAuthors?: Array<string>;
|
|
2639
|
+
/**
|
|
2640
|
+
* Only app store reviews with any of these star ratings; every other post fails it.
|
|
2641
|
+
*/
|
|
2642
|
+
ratings?: Array<number>;
|
|
2643
|
+
/**
|
|
2644
|
+
* Never reviews with these star ratings; posts that are not reviews still pass.
|
|
2645
|
+
*/
|
|
2646
|
+
notRatings?: Array<number>;
|
|
2647
|
+
/**
|
|
2648
|
+
* Only posts with at least this many likes (upvotes, reactions), as the platform reported them when the post was found. A post without that count never passes.
|
|
2649
|
+
*/
|
|
2650
|
+
minLikes?: number;
|
|
2651
|
+
/**
|
|
2652
|
+
* Only posts with at least this many reposts (shares, retweets), as the platform reported them when the post was found. A post without that count never passes.
|
|
2653
|
+
*/
|
|
2654
|
+
minReposts?: number;
|
|
2655
|
+
/**
|
|
2656
|
+
* Only posts with at least this many replies (comments), as the platform reported them when the post was found. A post without that count never passes.
|
|
2657
|
+
*/
|
|
2658
|
+
minReplies?: number;
|
|
2659
|
+
/**
|
|
2660
|
+
* Only posts with at least this many quotes, as the platform reported them when the post was found. A post without that count never passes.
|
|
2661
|
+
*/
|
|
2662
|
+
minQuotes?: number;
|
|
2663
|
+
/**
|
|
2664
|
+
* Only posts with at least this many views (plays), as the platform reported them when the post was found. A post without that count never passes.
|
|
2665
|
+
*/
|
|
2666
|
+
minViews?: number;
|
|
2667
|
+
/**
|
|
2668
|
+
* Only posts with at least this many bookmarks (saves), as the platform reported them when the post was found. A post without that count never passes.
|
|
2669
|
+
*/
|
|
2670
|
+
minBookmarks?: number;
|
|
2671
|
+
/**
|
|
2672
|
+
* OR across groups: a mention passes when it meets every condition of at least one group, and the other conditions too. A group takes view-filter conditions, no anyOf of its own. See [anyOf](/conventions#or-across-groups-anyof).
|
|
2673
|
+
*/
|
|
2674
|
+
anyOf?: Array<FilterGroup>;
|
|
2675
|
+
};
|
|
2676
|
+
/**
|
|
2677
|
+
* ISO 8601 timestamp, UTC.
|
|
2678
|
+
*/
|
|
2679
|
+
createdAt: string;
|
|
2680
|
+
/**
|
|
2681
|
+
* ISO 8601 timestamp, UTC.
|
|
2682
|
+
*/
|
|
2683
|
+
updatedAt: string;
|
|
2684
|
+
};
|
|
2685
|
+
type Automation = {
|
|
2686
|
+
/**
|
|
2687
|
+
* Automation id (atm_...).
|
|
2688
|
+
*/
|
|
2689
|
+
id: string;
|
|
2690
|
+
/**
|
|
2691
|
+
* Automation name, unique in the workspace.
|
|
2692
|
+
*/
|
|
2693
|
+
name: string;
|
|
2694
|
+
/**
|
|
2695
|
+
* false: kept but not run.
|
|
2696
|
+
*/
|
|
2697
|
+
enabled: boolean;
|
|
2698
|
+
/**
|
|
2699
|
+
* Which mentions it acts on: the fields of GET /v1/mentions, like a view.
|
|
2700
|
+
*/
|
|
2701
|
+
filter: {
|
|
2702
|
+
/**
|
|
2703
|
+
* Substring in the post text or the author's name.
|
|
2704
|
+
*/
|
|
2705
|
+
q?: string;
|
|
2706
|
+
/**
|
|
2707
|
+
* Only matches of any of these keywords.
|
|
2708
|
+
*/
|
|
2709
|
+
keywordIds?: Array<string>;
|
|
2710
|
+
/**
|
|
2711
|
+
* Never matches of these keywords.
|
|
2712
|
+
*/
|
|
2713
|
+
notKeywordIds?: Array<string>;
|
|
2714
|
+
/**
|
|
2715
|
+
* Only matches of keywords of any of these kinds: brand, competitor, topic.
|
|
2716
|
+
*/
|
|
2717
|
+
keywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
|
|
2718
|
+
/**
|
|
2719
|
+
* Never matches of keywords of these kinds.
|
|
2720
|
+
*/
|
|
2721
|
+
notKeywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
|
|
2722
|
+
/**
|
|
2723
|
+
* Only matches of keywords in any of these groups (grp_...).
|
|
2724
|
+
*/
|
|
2725
|
+
groupIds?: Array<string>;
|
|
2726
|
+
/**
|
|
2727
|
+
* Never matches of keywords in these groups.
|
|
2728
|
+
*/
|
|
2729
|
+
notGroupIds?: Array<string>;
|
|
2730
|
+
/**
|
|
2731
|
+
* Only posts from any of these platforms.
|
|
2732
|
+
*/
|
|
2733
|
+
platforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin' | 'tiktok' | 'instagram' | 'facebook' | 'appstore' | 'googleplay' | 'trustpilot' | 'googlemaps' | 'rss'>;
|
|
2734
|
+
/**
|
|
2735
|
+
* Never posts from these platforms.
|
|
2736
|
+
*/
|
|
2737
|
+
notPlatforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin' | 'tiktok' | 'instagram' | 'facebook' | 'appstore' | 'googleplay' | 'trustpilot' | 'googlemaps' | 'rss'>;
|
|
2738
|
+
/**
|
|
2739
|
+
* Only mentions in this status: open, ignored, done.
|
|
2740
|
+
*/
|
|
2741
|
+
status?: 'open' | 'ignored' | 'done';
|
|
2742
|
+
/**
|
|
2743
|
+
* true: only mentions the classifier scored relevant; false: only the rest.
|
|
2744
|
+
*/
|
|
2745
|
+
relevant?: boolean;
|
|
2746
|
+
/**
|
|
2747
|
+
* Only mentions scored at least this.
|
|
2748
|
+
*/
|
|
2749
|
+
minRelevance?: number;
|
|
2750
|
+
/**
|
|
2751
|
+
* Only mentions whose classifier confidence is at least this.
|
|
2752
|
+
*/
|
|
2753
|
+
minConfidence?: number;
|
|
2754
|
+
/**
|
|
2755
|
+
* Only these sentiments.
|
|
2756
|
+
*/
|
|
2757
|
+
sentiments?: Array<'positive' | 'neutral' | 'negative'>;
|
|
2758
|
+
/**
|
|
2759
|
+
* Never these sentiments; an unscored mention still passes.
|
|
2760
|
+
*/
|
|
2761
|
+
notSentiments?: Array<'positive' | 'neutral' | 'negative'>;
|
|
2762
|
+
/**
|
|
2763
|
+
* Only mentions carrying any of these intent or topic tags.
|
|
2764
|
+
*/
|
|
2765
|
+
intents?: Array<string>;
|
|
2766
|
+
/**
|
|
2767
|
+
* Never mentions carrying these tags.
|
|
2768
|
+
*/
|
|
2769
|
+
notIntents?: Array<string>;
|
|
2770
|
+
/**
|
|
2771
|
+
* true: only posts that read as machine-made; false: only the rest.
|
|
2772
|
+
*/
|
|
2773
|
+
automated?: boolean;
|
|
2774
|
+
/**
|
|
2775
|
+
* Only posts in any of these languages (ISO 639-1).
|
|
2776
|
+
*/
|
|
2777
|
+
languages?: Array<string>;
|
|
2778
|
+
/**
|
|
2779
|
+
* Never posts in these languages; an unknown language still passes.
|
|
2780
|
+
*/
|
|
2781
|
+
notLanguages?: Array<string>;
|
|
2782
|
+
/**
|
|
2783
|
+
* Only posts whose author is in any of these countries (ISO 3166-1 alpha-2: us, in, de). An unknown country never passes.
|
|
2784
|
+
*/
|
|
2785
|
+
countries?: Array<'us' | 'ca' | 'mx' | 'br' | 'ar' | 'co' | 'cl' | 'pe' | 'gb' | 'ie' | 'fr' | 'de' | 'es' | 'pt' | 'it' | 'nl' | 'be' | 'ch' | 'at' | 'se' | 'no' | 'dk' | 'fi' | 'pl' | 'cz' | 'ro' | 'gr' | 'hu' | 'ua' | 'ru' | 'lt' | 'lv' | 'ee' | 'tr' | 'il' | 'ae' | 'sa' | 'eg' | 'ng' | 'ke' | 'za' | 'ma' | 'in' | 'pk' | 'bd' | 'lk' | 'np' | 'cn' | 'hk' | 'tw' | 'jp' | 'kr' | 'sg' | 'my' | 'id' | 'ph' | 'vn' | 'th' | 'au' | 'nz'>;
|
|
2786
|
+
/**
|
|
2787
|
+
* Never posts whose author is in these countries; an unknown country still passes.
|
|
2788
|
+
*/
|
|
2789
|
+
notCountries?: Array<'us' | 'ca' | 'mx' | 'br' | 'ar' | 'co' | 'cl' | 'pe' | 'gb' | 'ie' | 'fr' | 'de' | 'es' | 'pt' | 'it' | 'nl' | 'be' | 'ch' | 'at' | 'se' | 'no' | 'dk' | 'fi' | 'pl' | 'cz' | 'ro' | 'gr' | 'hu' | 'ua' | 'ru' | 'lt' | 'lv' | 'ee' | 'tr' | 'il' | 'ae' | 'sa' | 'eg' | 'ng' | 'ke' | 'za' | 'ma' | 'in' | 'pk' | 'bd' | 'lk' | 'np' | 'cn' | 'hk' | 'tw' | 'jp' | 'kr' | 'sg' | 'my' | 'id' | 'ph' | 'vn' | 'th' | 'au' | 'nz'>;
|
|
2790
|
+
/**
|
|
2791
|
+
* true: only posts by companies, brands and organizations; false: only posts by people.
|
|
2792
|
+
*/
|
|
2793
|
+
organization?: boolean;
|
|
2794
|
+
/**
|
|
2795
|
+
* Only authors tagged with any of these, in the workspace's tags or those of the mention's own keyword group.
|
|
2796
|
+
*/
|
|
2797
|
+
tags?: Array<string>;
|
|
2798
|
+
/**
|
|
2799
|
+
* Never authors tagged with any of these, in the workspace's tags or those of the mention's own keyword group.
|
|
2800
|
+
*/
|
|
2801
|
+
notTags?: Array<string>;
|
|
2802
|
+
/**
|
|
2803
|
+
* Only mentions carrying any of these labels (exact, case-sensitive).
|
|
2804
|
+
*/
|
|
2805
|
+
labels?: Array<string>;
|
|
2806
|
+
/**
|
|
2807
|
+
* Never mentions carrying any of these labels.
|
|
2808
|
+
*/
|
|
2809
|
+
notLabels?: Array<string>;
|
|
2565
2810
|
/**
|
|
2566
2811
|
* Only posts linking to any of these hosts, the host itself or a subdomain of it.
|
|
2567
2812
|
*/
|
|
@@ -2639,6 +2884,19 @@ type View = {
|
|
|
2639
2884
|
*/
|
|
2640
2885
|
anyOf?: Array<FilterGroup>;
|
|
2641
2886
|
};
|
|
2887
|
+
/**
|
|
2888
|
+
* What it does to each mention the filter selects.
|
|
2889
|
+
*/
|
|
2890
|
+
actions: {
|
|
2891
|
+
/**
|
|
2892
|
+
* Labels it adds.
|
|
2893
|
+
*/
|
|
2894
|
+
addLabels: Array<string>;
|
|
2895
|
+
/**
|
|
2896
|
+
* The member it assigns, or null.
|
|
2897
|
+
*/
|
|
2898
|
+
assigneeId: string | null;
|
|
2899
|
+
};
|
|
2642
2900
|
/**
|
|
2643
2901
|
* ISO 8601 timestamp, UTC.
|
|
2644
2902
|
*/
|
|
@@ -3700,6 +3958,14 @@ type Alert = {
|
|
|
3700
3958
|
* Only authors tagged with any of these, in the workspace's tags or those of the mention's own keyword group.
|
|
3701
3959
|
*/
|
|
3702
3960
|
tags?: Array<string>;
|
|
3961
|
+
/**
|
|
3962
|
+
* Only mentions carrying any of these labels. An automation labels a mention before it is delivered, so a rule can route what an automation labelled.
|
|
3963
|
+
*/
|
|
3964
|
+
labels?: Array<string>;
|
|
3965
|
+
/**
|
|
3966
|
+
* Never mentions carrying any of these labels.
|
|
3967
|
+
*/
|
|
3968
|
+
notLabels?: Array<string>;
|
|
3703
3969
|
/**
|
|
3704
3970
|
* Only posts linking to any of these hosts, the host itself or a subdomain of it (octolens.com also matches blog.octolens.com). A post with no links never passes.
|
|
3705
3971
|
*/
|
|
@@ -6575,16 +6841,72 @@ type UpdateFiltersResponses = {
|
|
|
6575
6841
|
200: WorkspaceFilters;
|
|
6576
6842
|
};
|
|
6577
6843
|
type UpdateFiltersResponse = UpdateFiltersResponses[keyof UpdateFiltersResponses];
|
|
6578
|
-
type
|
|
6579
|
-
body
|
|
6580
|
-
path: {
|
|
6844
|
+
type UpdateMentionsData = {
|
|
6845
|
+
body: {
|
|
6581
6846
|
/**
|
|
6582
|
-
* Mention
|
|
6847
|
+
* Mention ids (mm_...), 1 to 100: a page of GET /v1/mentions.
|
|
6583
6848
|
*/
|
|
6584
|
-
|
|
6849
|
+
ids: Array<string>;
|
|
6850
|
+
/**
|
|
6851
|
+
* Every field is optional, at least one is required; omitted fields are untouched.
|
|
6852
|
+
*/
|
|
6853
|
+
update: {
|
|
6854
|
+
/**
|
|
6855
|
+
* ignored or done to handle them; open to put them back.
|
|
6856
|
+
*/
|
|
6857
|
+
status?: 'open' | 'ignored' | 'done';
|
|
6858
|
+
/**
|
|
6859
|
+
* A workspace member (user id), or null to unassign.
|
|
6860
|
+
*/
|
|
6861
|
+
assigneeId?: string | null;
|
|
6862
|
+
/**
|
|
6863
|
+
* Labels to add; a mention keeps at most 20, and labels past that are not added.
|
|
6864
|
+
*/
|
|
6865
|
+
addLabels?: Array<string>;
|
|
6866
|
+
/**
|
|
6867
|
+
* Labels to remove; a label a mention does not carry is ignored.
|
|
6868
|
+
*/
|
|
6869
|
+
removeLabels?: Array<string>;
|
|
6870
|
+
};
|
|
6585
6871
|
};
|
|
6872
|
+
headers?: {
|
|
6873
|
+
/**
|
|
6874
|
+
* A unique value (a UUID) for this request. Retrying with the same key within 24 hours returns the first response instead of creating twice.
|
|
6875
|
+
*/
|
|
6876
|
+
'idempotency-key'?: string;
|
|
6877
|
+
};
|
|
6878
|
+
path?: never;
|
|
6586
6879
|
query?: never;
|
|
6587
|
-
url: '/v1/mentions/
|
|
6880
|
+
url: '/v1/mentions/batch';
|
|
6881
|
+
};
|
|
6882
|
+
type UpdateMentionsErrors = {
|
|
6883
|
+
/**
|
|
6884
|
+
* Invalid request (an empty update, more than 100 ids), or invalid_assignee: the assignee is not a workspace member
|
|
6885
|
+
*/
|
|
6886
|
+
400: ErrorResponse;
|
|
6887
|
+
/**
|
|
6888
|
+
* Missing or invalid API key
|
|
6889
|
+
*/
|
|
6890
|
+
401: ErrorResponse;
|
|
6891
|
+
};
|
|
6892
|
+
type UpdateMentionsError = UpdateMentionsErrors[keyof UpdateMentionsErrors];
|
|
6893
|
+
type UpdateMentionsResponses = {
|
|
6894
|
+
/**
|
|
6895
|
+
* Which mentions changed, and which ids were not found
|
|
6896
|
+
*/
|
|
6897
|
+
200: MentionBatchResult;
|
|
6898
|
+
};
|
|
6899
|
+
type UpdateMentionsResponse = UpdateMentionsResponses[keyof UpdateMentionsResponses];
|
|
6900
|
+
type GetMentionData = {
|
|
6901
|
+
body?: never;
|
|
6902
|
+
path: {
|
|
6903
|
+
/**
|
|
6904
|
+
* Mention id (mm_...).
|
|
6905
|
+
*/
|
|
6906
|
+
id: string;
|
|
6907
|
+
};
|
|
6908
|
+
query?: never;
|
|
6909
|
+
url: '/v1/mentions/{id}';
|
|
6588
6910
|
};
|
|
6589
6911
|
type GetMentionErrors = {
|
|
6590
6912
|
/**
|
|
@@ -6625,6 +6947,10 @@ type UpdateMentionData = {
|
|
|
6625
6947
|
* Internal note; null or empty clears it.
|
|
6626
6948
|
*/
|
|
6627
6949
|
note?: string | null;
|
|
6950
|
+
/**
|
|
6951
|
+
* Replaces the mention's whole list of labels (exact, case-sensitive, at most 20); [] removes every label. To add or remove a few without reading first, use POST /v1/mentions/batch.
|
|
6952
|
+
*/
|
|
6953
|
+
labels?: Array<string>;
|
|
6628
6954
|
/**
|
|
6629
6955
|
* Your verdict: true sets relevance to 100 (a filtered mention becomes relevant), false to 0; null restores the classifier's score. Billing never changes. 409 classification_pending while it is still being classified.
|
|
6630
6956
|
*/
|
|
@@ -6851,6 +7177,14 @@ type SearchMentionsData = {
|
|
|
6851
7177
|
* Never authors tagged with any of these, in the workspace's tags or those of the mention's own keyword group.
|
|
6852
7178
|
*/
|
|
6853
7179
|
notTags?: Array<string> | null;
|
|
7180
|
+
/**
|
|
7181
|
+
* Only mentions carrying any of these labels (exact, case-sensitive). Repeatable, or comma-separated.
|
|
7182
|
+
*/
|
|
7183
|
+
labels?: Array<string> | null;
|
|
7184
|
+
/**
|
|
7185
|
+
* Never mentions carrying any of these labels. Repeatable, or comma-separated.
|
|
7186
|
+
*/
|
|
7187
|
+
notLabels?: Array<string> | null;
|
|
6854
7188
|
/**
|
|
6855
7189
|
* Only posts in any of these languages (ISO 639-1: en, es, de). A post whose language is unknown never passes.
|
|
6856
7190
|
*/
|
|
@@ -7159,6 +7493,14 @@ type ExportMentionsCsvData = {
|
|
|
7159
7493
|
* Never authors tagged with any of these, in the workspace's tags or those of the mention's own keyword group.
|
|
7160
7494
|
*/
|
|
7161
7495
|
notTags?: Array<string> | null;
|
|
7496
|
+
/**
|
|
7497
|
+
* Only mentions carrying any of these labels (exact, case-sensitive). Repeatable, or comma-separated.
|
|
7498
|
+
*/
|
|
7499
|
+
labels?: Array<string> | null;
|
|
7500
|
+
/**
|
|
7501
|
+
* Never mentions carrying any of these labels. Repeatable, or comma-separated.
|
|
7502
|
+
*/
|
|
7503
|
+
notLabels?: Array<string> | null;
|
|
7162
7504
|
/**
|
|
7163
7505
|
* Only posts in any of these languages (ISO 639-1: en, es, de). A post whose language is unknown never passes.
|
|
7164
7506
|
*/
|
|
@@ -7501,6 +7843,14 @@ type ExportMentionsJsonData = {
|
|
|
7501
7843
|
* Never authors tagged with any of these, in the workspace's tags or those of the mention's own keyword group.
|
|
7502
7844
|
*/
|
|
7503
7845
|
notTags?: Array<string> | null;
|
|
7846
|
+
/**
|
|
7847
|
+
* Only mentions carrying any of these labels (exact, case-sensitive). Repeatable, or comma-separated.
|
|
7848
|
+
*/
|
|
7849
|
+
labels?: Array<string> | null;
|
|
7850
|
+
/**
|
|
7851
|
+
* Never mentions carrying any of these labels. Repeatable, or comma-separated.
|
|
7852
|
+
*/
|
|
7853
|
+
notLabels?: Array<string> | null;
|
|
7504
7854
|
/**
|
|
7505
7855
|
* Only posts in any of these languages (ISO 639-1: en, es, de). A post whose language is unknown never passes.
|
|
7506
7856
|
*/
|
|
@@ -8995,82 +9345,842 @@ type UpdateSegmentData = {
|
|
|
8995
9345
|
*/
|
|
8996
9346
|
minNegative?: number;
|
|
8997
9347
|
/**
|
|
8998
|
-
* At least one mention carrying any of these intents.
|
|
9348
|
+
* At least one mention carrying any of these intents.
|
|
9349
|
+
*/
|
|
9350
|
+
intents?: Array<string>;
|
|
9351
|
+
/**
|
|
9352
|
+
* Mentioned a keyword of any of these kinds.
|
|
9353
|
+
*/
|
|
9354
|
+
keywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
|
|
9355
|
+
/**
|
|
9356
|
+
* Never mentioned a keyword of these kinds.
|
|
9357
|
+
*/
|
|
9358
|
+
neverKeywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
|
|
9359
|
+
/**
|
|
9360
|
+
* Nobody with an account on these platforms.
|
|
9361
|
+
*/
|
|
9362
|
+
notPlatforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin' | 'tiktok' | 'instagram' | 'facebook' | 'appstore' | 'googleplay' | 'trustpilot' | 'googlemaps' | 'rss'>;
|
|
9363
|
+
/**
|
|
9364
|
+
* Nobody carrying any of these tags.
|
|
9365
|
+
*/
|
|
9366
|
+
notTags?: Array<string>;
|
|
9367
|
+
/**
|
|
9368
|
+
* Nobody whose mentions carry any of these intents.
|
|
9369
|
+
*/
|
|
9370
|
+
notIntents?: Array<string>;
|
|
9371
|
+
/**
|
|
9372
|
+
* First seen within this many days.
|
|
9373
|
+
*/
|
|
9374
|
+
newSinceDays?: number;
|
|
9375
|
+
/**
|
|
9376
|
+
* At least one mention linking to any of these hosts, the host itself or a subdomain of it.
|
|
9377
|
+
*/
|
|
9378
|
+
linkHosts?: Array<string>;
|
|
9379
|
+
/**
|
|
9380
|
+
* true: only muted people; false: only unmuted.
|
|
9381
|
+
*/
|
|
9382
|
+
muted?: boolean;
|
|
9383
|
+
/**
|
|
9384
|
+
* People at any of these outreach stages.
|
|
9385
|
+
*/
|
|
9386
|
+
stages?: Array<'not_contacted' | 'contacted' | 'replied' | 'in_talks' | 'customer' | 'not_a_fit'>;
|
|
9387
|
+
/**
|
|
9388
|
+
* Nobody at these outreach stages.
|
|
9389
|
+
*/
|
|
9390
|
+
notStages?: Array<'not_contacted' | 'contacted' | 'replied' | 'in_talks' | 'customer' | 'not_a_fit'>;
|
|
9391
|
+
/**
|
|
9392
|
+
* Nobody with a mention linking to any of these hosts, the host itself or a subdomain of it.
|
|
9393
|
+
*/
|
|
9394
|
+
notLinkHosts?: Array<string>;
|
|
9395
|
+
/**
|
|
9396
|
+
* Nobody owned by these members (user ids); "none" drops the people nobody owns.
|
|
9397
|
+
*/
|
|
9398
|
+
notOwnerIds?: Array<string>;
|
|
9399
|
+
/**
|
|
9400
|
+
* true: only people whose matched posts are mostly machine-made (bot accounts); false: only the rest.
|
|
9401
|
+
*/
|
|
9402
|
+
automated?: boolean;
|
|
9403
|
+
/**
|
|
9404
|
+
* People owned by any of these members (user ids); "none" matches people nobody owns.
|
|
9405
|
+
*/
|
|
9406
|
+
ownerIds?: Array<string>;
|
|
9407
|
+
};
|
|
9408
|
+
};
|
|
9409
|
+
path: {
|
|
9410
|
+
/**
|
|
9411
|
+
* Segment id (seg_...).
|
|
9412
|
+
*/
|
|
9413
|
+
id: string;
|
|
9414
|
+
};
|
|
9415
|
+
query?: {
|
|
9416
|
+
/**
|
|
9417
|
+
* Scope to one keyword group (grp_...): only people who mentioned that group's keywords, with that group's own tags, notes, mute, merges, activities and segments. Omit for the whole workspace.
|
|
9418
|
+
*/
|
|
9419
|
+
groupId?: string;
|
|
9420
|
+
};
|
|
9421
|
+
url: '/v1/segments/{id}';
|
|
9422
|
+
};
|
|
9423
|
+
type UpdateSegmentErrors = {
|
|
9424
|
+
/**
|
|
9425
|
+
* Invalid request: a parameter or the body failed validation (validation_error)
|
|
9426
|
+
*/
|
|
9427
|
+
400: ErrorResponse;
|
|
9428
|
+
/**
|
|
9429
|
+
* Missing or invalid API key
|
|
9430
|
+
*/
|
|
9431
|
+
401: ErrorResponse;
|
|
9432
|
+
/**
|
|
9433
|
+
* No such segment in this scope, or no such group
|
|
9434
|
+
*/
|
|
9435
|
+
404: ErrorResponse;
|
|
9436
|
+
/**
|
|
9437
|
+
* A segment with this name already exists in this scope
|
|
9438
|
+
*/
|
|
9439
|
+
409: ErrorResponse;
|
|
9440
|
+
};
|
|
9441
|
+
type UpdateSegmentError = UpdateSegmentErrors[keyof UpdateSegmentErrors];
|
|
9442
|
+
type UpdateSegmentResponses = {
|
|
9443
|
+
/**
|
|
9444
|
+
* The updated segment
|
|
9445
|
+
*/
|
|
9446
|
+
200: Segment;
|
|
9447
|
+
};
|
|
9448
|
+
type UpdateSegmentResponse = UpdateSegmentResponses[keyof UpdateSegmentResponses];
|
|
9449
|
+
type ListViewsData = {
|
|
9450
|
+
body?: never;
|
|
9451
|
+
path?: never;
|
|
9452
|
+
query?: never;
|
|
9453
|
+
url: '/v1/views';
|
|
9454
|
+
};
|
|
9455
|
+
type ListViewsErrors = {
|
|
9456
|
+
/**
|
|
9457
|
+
* Missing or invalid API key
|
|
9458
|
+
*/
|
|
9459
|
+
401: ErrorResponse;
|
|
9460
|
+
};
|
|
9461
|
+
type ListViewsError = ListViewsErrors[keyof ListViewsErrors];
|
|
9462
|
+
type ListViewsResponses = {
|
|
9463
|
+
/**
|
|
9464
|
+
* Saved views
|
|
9465
|
+
*/
|
|
9466
|
+
200: {
|
|
9467
|
+
/**
|
|
9468
|
+
* Saved views, oldest first.
|
|
9469
|
+
*/
|
|
9470
|
+
data: Array<{
|
|
9471
|
+
/**
|
|
9472
|
+
* View id (vw_...).
|
|
9473
|
+
*/
|
|
9474
|
+
id: string;
|
|
9475
|
+
/**
|
|
9476
|
+
* View name.
|
|
9477
|
+
*/
|
|
9478
|
+
name: string;
|
|
9479
|
+
/**
|
|
9480
|
+
* What the view is for.
|
|
9481
|
+
*/
|
|
9482
|
+
description: string;
|
|
9483
|
+
/**
|
|
9484
|
+
* The mentions filter it saves (the fields of GET /v1/mentions).
|
|
9485
|
+
*/
|
|
9486
|
+
filter: {
|
|
9487
|
+
/**
|
|
9488
|
+
* Substring in the post text or the author's name.
|
|
9489
|
+
*/
|
|
9490
|
+
q?: string;
|
|
9491
|
+
/**
|
|
9492
|
+
* Only matches of any of these keywords.
|
|
9493
|
+
*/
|
|
9494
|
+
keywordIds?: Array<string>;
|
|
9495
|
+
/**
|
|
9496
|
+
* Never matches of these keywords.
|
|
9497
|
+
*/
|
|
9498
|
+
notKeywordIds?: Array<string>;
|
|
9499
|
+
/**
|
|
9500
|
+
* Only matches of keywords of any of these kinds: brand, competitor, topic.
|
|
9501
|
+
*/
|
|
9502
|
+
keywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
|
|
9503
|
+
/**
|
|
9504
|
+
* Never matches of keywords of these kinds.
|
|
9505
|
+
*/
|
|
9506
|
+
notKeywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
|
|
9507
|
+
/**
|
|
9508
|
+
* Only matches of keywords in any of these groups (grp_...).
|
|
9509
|
+
*/
|
|
9510
|
+
groupIds?: Array<string>;
|
|
9511
|
+
/**
|
|
9512
|
+
* Never matches of keywords in these groups.
|
|
9513
|
+
*/
|
|
9514
|
+
notGroupIds?: Array<string>;
|
|
9515
|
+
/**
|
|
9516
|
+
* Only posts from any of these platforms.
|
|
9517
|
+
*/
|
|
9518
|
+
platforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin' | 'tiktok' | 'instagram' | 'facebook' | 'appstore' | 'googleplay' | 'trustpilot' | 'googlemaps' | 'rss'>;
|
|
9519
|
+
/**
|
|
9520
|
+
* Never posts from these platforms.
|
|
9521
|
+
*/
|
|
9522
|
+
notPlatforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin' | 'tiktok' | 'instagram' | 'facebook' | 'appstore' | 'googleplay' | 'trustpilot' | 'googlemaps' | 'rss'>;
|
|
9523
|
+
/**
|
|
9524
|
+
* Only mentions in this status: open, ignored, done.
|
|
9525
|
+
*/
|
|
9526
|
+
status?: 'open' | 'ignored' | 'done';
|
|
9527
|
+
/**
|
|
9528
|
+
* true: only mentions the classifier scored relevant; false: only the rest.
|
|
9529
|
+
*/
|
|
9530
|
+
relevant?: boolean;
|
|
9531
|
+
/**
|
|
9532
|
+
* Only mentions scored at least this.
|
|
9533
|
+
*/
|
|
9534
|
+
minRelevance?: number;
|
|
9535
|
+
/**
|
|
9536
|
+
* Only mentions whose classifier confidence is at least this.
|
|
9537
|
+
*/
|
|
9538
|
+
minConfidence?: number;
|
|
9539
|
+
/**
|
|
9540
|
+
* Only these sentiments.
|
|
9541
|
+
*/
|
|
9542
|
+
sentiments?: Array<'positive' | 'neutral' | 'negative'>;
|
|
9543
|
+
/**
|
|
9544
|
+
* Never these sentiments; an unscored mention still passes.
|
|
9545
|
+
*/
|
|
9546
|
+
notSentiments?: Array<'positive' | 'neutral' | 'negative'>;
|
|
9547
|
+
/**
|
|
9548
|
+
* Only mentions carrying any of these intent or topic tags.
|
|
9549
|
+
*/
|
|
9550
|
+
intents?: Array<string>;
|
|
9551
|
+
/**
|
|
9552
|
+
* Never mentions carrying these tags.
|
|
9553
|
+
*/
|
|
9554
|
+
notIntents?: Array<string>;
|
|
9555
|
+
/**
|
|
9556
|
+
* true: only posts that read as machine-made; false: only the rest.
|
|
9557
|
+
*/
|
|
9558
|
+
automated?: boolean;
|
|
9559
|
+
/**
|
|
9560
|
+
* Only posts in any of these languages (ISO 639-1).
|
|
9561
|
+
*/
|
|
9562
|
+
languages?: Array<string>;
|
|
9563
|
+
/**
|
|
9564
|
+
* Never posts in these languages; an unknown language still passes.
|
|
9565
|
+
*/
|
|
9566
|
+
notLanguages?: Array<string>;
|
|
9567
|
+
/**
|
|
9568
|
+
* Only posts whose author is in any of these countries (ISO 3166-1 alpha-2: us, in, de). An unknown country never passes.
|
|
9569
|
+
*/
|
|
9570
|
+
countries?: Array<'us' | 'ca' | 'mx' | 'br' | 'ar' | 'co' | 'cl' | 'pe' | 'gb' | 'ie' | 'fr' | 'de' | 'es' | 'pt' | 'it' | 'nl' | 'be' | 'ch' | 'at' | 'se' | 'no' | 'dk' | 'fi' | 'pl' | 'cz' | 'ro' | 'gr' | 'hu' | 'ua' | 'ru' | 'lt' | 'lv' | 'ee' | 'tr' | 'il' | 'ae' | 'sa' | 'eg' | 'ng' | 'ke' | 'za' | 'ma' | 'in' | 'pk' | 'bd' | 'lk' | 'np' | 'cn' | 'hk' | 'tw' | 'jp' | 'kr' | 'sg' | 'my' | 'id' | 'ph' | 'vn' | 'th' | 'au' | 'nz'>;
|
|
9571
|
+
/**
|
|
9572
|
+
* Never posts whose author is in these countries; an unknown country still passes.
|
|
9573
|
+
*/
|
|
9574
|
+
notCountries?: Array<'us' | 'ca' | 'mx' | 'br' | 'ar' | 'co' | 'cl' | 'pe' | 'gb' | 'ie' | 'fr' | 'de' | 'es' | 'pt' | 'it' | 'nl' | 'be' | 'ch' | 'at' | 'se' | 'no' | 'dk' | 'fi' | 'pl' | 'cz' | 'ro' | 'gr' | 'hu' | 'ua' | 'ru' | 'lt' | 'lv' | 'ee' | 'tr' | 'il' | 'ae' | 'sa' | 'eg' | 'ng' | 'ke' | 'za' | 'ma' | 'in' | 'pk' | 'bd' | 'lk' | 'np' | 'cn' | 'hk' | 'tw' | 'jp' | 'kr' | 'sg' | 'my' | 'id' | 'ph' | 'vn' | 'th' | 'au' | 'nz'>;
|
|
9575
|
+
/**
|
|
9576
|
+
* true: only posts by companies, brands and organizations; false: only posts by people.
|
|
9577
|
+
*/
|
|
9578
|
+
organization?: boolean;
|
|
9579
|
+
/**
|
|
9580
|
+
* Only authors tagged with any of these, in the workspace's tags or those of the mention's own keyword group.
|
|
9581
|
+
*/
|
|
9582
|
+
tags?: Array<string>;
|
|
9583
|
+
/**
|
|
9584
|
+
* Never authors tagged with any of these, in the workspace's tags or those of the mention's own keyword group.
|
|
9585
|
+
*/
|
|
9586
|
+
notTags?: Array<string>;
|
|
9587
|
+
/**
|
|
9588
|
+
* Only mentions carrying any of these labels (exact, case-sensitive).
|
|
9589
|
+
*/
|
|
9590
|
+
labels?: Array<string>;
|
|
9591
|
+
/**
|
|
9592
|
+
* Never mentions carrying any of these labels.
|
|
9593
|
+
*/
|
|
9594
|
+
notLabels?: Array<string>;
|
|
9595
|
+
/**
|
|
9596
|
+
* Only posts linking to any of these hosts, the host itself or a subdomain of it.
|
|
9597
|
+
*/
|
|
9598
|
+
linkHosts?: Array<string>;
|
|
9599
|
+
/**
|
|
9600
|
+
* Never posts linking to these hosts.
|
|
9601
|
+
*/
|
|
9602
|
+
notLinkHosts?: Array<string>;
|
|
9603
|
+
/**
|
|
9604
|
+
* Only Reddit posts from any of these subreddits (names without the r/, any case); every other post fails it.
|
|
9605
|
+
*/
|
|
9606
|
+
subreddits?: Array<string>;
|
|
9607
|
+
/**
|
|
9608
|
+
* Never Reddit posts from these subreddits; posts from other platforms still pass.
|
|
9609
|
+
*/
|
|
9610
|
+
notSubreddits?: Array<string>;
|
|
9611
|
+
/**
|
|
9612
|
+
* Only authors with at least this many followers; unknown reach never passes.
|
|
9613
|
+
*/
|
|
9614
|
+
minFollowers?: number;
|
|
9615
|
+
/**
|
|
9616
|
+
* Only authors with at most this many followers; unknown reach never passes.
|
|
9617
|
+
*/
|
|
9618
|
+
maxFollowers?: number;
|
|
9619
|
+
/**
|
|
9620
|
+
* true: only replies and comments; false: only top-level posts.
|
|
9621
|
+
*/
|
|
9622
|
+
isReply?: boolean;
|
|
9623
|
+
/**
|
|
9624
|
+
* Only posts (post), only comments (comment) or only GitHub repository events (repository).
|
|
9625
|
+
*/
|
|
9626
|
+
kind?: 'post' | 'comment' | 'repository';
|
|
9627
|
+
/**
|
|
9628
|
+
* Never these authors: display names, handles or profile URLs.
|
|
9629
|
+
*/
|
|
9630
|
+
notAuthors?: Array<string>;
|
|
9631
|
+
/**
|
|
9632
|
+
* Deprecated: use notAuthors, the same filter. Both may be given; every author named in either is hidden.
|
|
9633
|
+
*/
|
|
9634
|
+
excludeAuthors?: Array<string>;
|
|
9635
|
+
/**
|
|
9636
|
+
* Only app store reviews with any of these star ratings; every other post fails it.
|
|
9637
|
+
*/
|
|
9638
|
+
ratings?: Array<number>;
|
|
9639
|
+
/**
|
|
9640
|
+
* Never reviews with these star ratings; posts that are not reviews still pass.
|
|
9641
|
+
*/
|
|
9642
|
+
notRatings?: Array<number>;
|
|
9643
|
+
/**
|
|
9644
|
+
* Only posts with at least this many likes (upvotes, reactions), as the platform reported them when the post was found. A post without that count never passes.
|
|
9645
|
+
*/
|
|
9646
|
+
minLikes?: number;
|
|
9647
|
+
/**
|
|
9648
|
+
* Only posts with at least this many reposts (shares, retweets), as the platform reported them when the post was found. A post without that count never passes.
|
|
9649
|
+
*/
|
|
9650
|
+
minReposts?: number;
|
|
9651
|
+
/**
|
|
9652
|
+
* Only posts with at least this many replies (comments), as the platform reported them when the post was found. A post without that count never passes.
|
|
9653
|
+
*/
|
|
9654
|
+
minReplies?: number;
|
|
9655
|
+
/**
|
|
9656
|
+
* Only posts with at least this many quotes, as the platform reported them when the post was found. A post without that count never passes.
|
|
9657
|
+
*/
|
|
9658
|
+
minQuotes?: number;
|
|
9659
|
+
/**
|
|
9660
|
+
* Only posts with at least this many views (plays), as the platform reported them when the post was found. A post without that count never passes.
|
|
9661
|
+
*/
|
|
9662
|
+
minViews?: number;
|
|
9663
|
+
/**
|
|
9664
|
+
* Only posts with at least this many bookmarks (saves), as the platform reported them when the post was found. A post without that count never passes.
|
|
9665
|
+
*/
|
|
9666
|
+
minBookmarks?: number;
|
|
9667
|
+
/**
|
|
9668
|
+
* OR across groups: a mention passes when it meets every condition of at least one group, and the other conditions too. A group takes view-filter conditions, no anyOf of its own. See [anyOf](/conventions#or-across-groups-anyof).
|
|
9669
|
+
*/
|
|
9670
|
+
anyOf?: Array<FilterGroup>;
|
|
9671
|
+
};
|
|
9672
|
+
/**
|
|
9673
|
+
* ISO 8601 timestamp, UTC.
|
|
9674
|
+
*/
|
|
9675
|
+
createdAt: string;
|
|
9676
|
+
/**
|
|
9677
|
+
* ISO 8601 timestamp, UTC.
|
|
9678
|
+
*/
|
|
9679
|
+
updatedAt: string;
|
|
9680
|
+
}>;
|
|
9681
|
+
};
|
|
9682
|
+
};
|
|
9683
|
+
type ListViewsResponse = ListViewsResponses[keyof ListViewsResponses];
|
|
9684
|
+
type CreateViewData = {
|
|
9685
|
+
body: {
|
|
9686
|
+
/**
|
|
9687
|
+
* Unique per workspace, case-insensitive.
|
|
9688
|
+
*/
|
|
9689
|
+
name: string;
|
|
9690
|
+
/**
|
|
9691
|
+
* What the view is for, shown under its name.
|
|
9692
|
+
*/
|
|
9693
|
+
description?: string;
|
|
9694
|
+
/**
|
|
9695
|
+
* The filter; empty selects every mention.
|
|
9696
|
+
*/
|
|
9697
|
+
filter?: {
|
|
9698
|
+
/**
|
|
9699
|
+
* Substring in the post text or the author's name.
|
|
9700
|
+
*/
|
|
9701
|
+
q?: string;
|
|
9702
|
+
/**
|
|
9703
|
+
* Only matches of any of these keywords.
|
|
9704
|
+
*/
|
|
9705
|
+
keywordIds?: Array<string>;
|
|
9706
|
+
/**
|
|
9707
|
+
* Never matches of these keywords.
|
|
9708
|
+
*/
|
|
9709
|
+
notKeywordIds?: Array<string>;
|
|
9710
|
+
/**
|
|
9711
|
+
* Only matches of keywords of any of these kinds: brand, competitor, topic.
|
|
9712
|
+
*/
|
|
9713
|
+
keywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
|
|
9714
|
+
/**
|
|
9715
|
+
* Never matches of keywords of these kinds.
|
|
9716
|
+
*/
|
|
9717
|
+
notKeywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
|
|
9718
|
+
/**
|
|
9719
|
+
* Only matches of keywords in any of these groups (grp_...).
|
|
9720
|
+
*/
|
|
9721
|
+
groupIds?: Array<string>;
|
|
9722
|
+
/**
|
|
9723
|
+
* Never matches of keywords in these groups.
|
|
9724
|
+
*/
|
|
9725
|
+
notGroupIds?: Array<string>;
|
|
9726
|
+
/**
|
|
9727
|
+
* Only posts from any of these platforms.
|
|
9728
|
+
*/
|
|
9729
|
+
platforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin' | 'tiktok' | 'instagram' | 'facebook' | 'appstore' | 'googleplay' | 'trustpilot' | 'googlemaps' | 'rss'>;
|
|
9730
|
+
/**
|
|
9731
|
+
* Never posts from these platforms.
|
|
9732
|
+
*/
|
|
9733
|
+
notPlatforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin' | 'tiktok' | 'instagram' | 'facebook' | 'appstore' | 'googleplay' | 'trustpilot' | 'googlemaps' | 'rss'>;
|
|
9734
|
+
/**
|
|
9735
|
+
* Only mentions in this status: open, ignored, done.
|
|
9736
|
+
*/
|
|
9737
|
+
status?: 'open' | 'ignored' | 'done';
|
|
9738
|
+
/**
|
|
9739
|
+
* true: only mentions the classifier scored relevant; false: only the rest.
|
|
9740
|
+
*/
|
|
9741
|
+
relevant?: boolean;
|
|
9742
|
+
/**
|
|
9743
|
+
* Only mentions scored at least this.
|
|
9744
|
+
*/
|
|
9745
|
+
minRelevance?: number;
|
|
9746
|
+
/**
|
|
9747
|
+
* Only mentions whose classifier confidence is at least this.
|
|
9748
|
+
*/
|
|
9749
|
+
minConfidence?: number;
|
|
9750
|
+
/**
|
|
9751
|
+
* Only these sentiments.
|
|
9752
|
+
*/
|
|
9753
|
+
sentiments?: Array<'positive' | 'neutral' | 'negative'>;
|
|
9754
|
+
/**
|
|
9755
|
+
* Never these sentiments; an unscored mention still passes.
|
|
9756
|
+
*/
|
|
9757
|
+
notSentiments?: Array<'positive' | 'neutral' | 'negative'>;
|
|
9758
|
+
/**
|
|
9759
|
+
* Only mentions carrying any of these intent or topic tags.
|
|
9760
|
+
*/
|
|
9761
|
+
intents?: Array<string>;
|
|
9762
|
+
/**
|
|
9763
|
+
* Never mentions carrying these tags.
|
|
9764
|
+
*/
|
|
9765
|
+
notIntents?: Array<string>;
|
|
9766
|
+
/**
|
|
9767
|
+
* true: only posts that read as machine-made; false: only the rest.
|
|
9768
|
+
*/
|
|
9769
|
+
automated?: boolean;
|
|
9770
|
+
/**
|
|
9771
|
+
* Only posts in any of these languages (ISO 639-1).
|
|
9772
|
+
*/
|
|
9773
|
+
languages?: Array<string>;
|
|
9774
|
+
/**
|
|
9775
|
+
* Never posts in these languages; an unknown language still passes.
|
|
9776
|
+
*/
|
|
9777
|
+
notLanguages?: Array<string>;
|
|
9778
|
+
/**
|
|
9779
|
+
* Only posts whose author is in any of these countries (ISO 3166-1 alpha-2: us, in, de). An unknown country never passes.
|
|
9780
|
+
*/
|
|
9781
|
+
countries?: Array<'us' | 'ca' | 'mx' | 'br' | 'ar' | 'co' | 'cl' | 'pe' | 'gb' | 'ie' | 'fr' | 'de' | 'es' | 'pt' | 'it' | 'nl' | 'be' | 'ch' | 'at' | 'se' | 'no' | 'dk' | 'fi' | 'pl' | 'cz' | 'ro' | 'gr' | 'hu' | 'ua' | 'ru' | 'lt' | 'lv' | 'ee' | 'tr' | 'il' | 'ae' | 'sa' | 'eg' | 'ng' | 'ke' | 'za' | 'ma' | 'in' | 'pk' | 'bd' | 'lk' | 'np' | 'cn' | 'hk' | 'tw' | 'jp' | 'kr' | 'sg' | 'my' | 'id' | 'ph' | 'vn' | 'th' | 'au' | 'nz'>;
|
|
9782
|
+
/**
|
|
9783
|
+
* Never posts whose author is in these countries; an unknown country still passes.
|
|
9784
|
+
*/
|
|
9785
|
+
notCountries?: Array<'us' | 'ca' | 'mx' | 'br' | 'ar' | 'co' | 'cl' | 'pe' | 'gb' | 'ie' | 'fr' | 'de' | 'es' | 'pt' | 'it' | 'nl' | 'be' | 'ch' | 'at' | 'se' | 'no' | 'dk' | 'fi' | 'pl' | 'cz' | 'ro' | 'gr' | 'hu' | 'ua' | 'ru' | 'lt' | 'lv' | 'ee' | 'tr' | 'il' | 'ae' | 'sa' | 'eg' | 'ng' | 'ke' | 'za' | 'ma' | 'in' | 'pk' | 'bd' | 'lk' | 'np' | 'cn' | 'hk' | 'tw' | 'jp' | 'kr' | 'sg' | 'my' | 'id' | 'ph' | 'vn' | 'th' | 'au' | 'nz'>;
|
|
9786
|
+
/**
|
|
9787
|
+
* true: only posts by companies, brands and organizations; false: only posts by people.
|
|
9788
|
+
*/
|
|
9789
|
+
organization?: boolean;
|
|
9790
|
+
/**
|
|
9791
|
+
* Only authors tagged with any of these, in the workspace's tags or those of the mention's own keyword group.
|
|
9792
|
+
*/
|
|
9793
|
+
tags?: Array<string>;
|
|
9794
|
+
/**
|
|
9795
|
+
* Never authors tagged with any of these, in the workspace's tags or those of the mention's own keyword group.
|
|
9796
|
+
*/
|
|
9797
|
+
notTags?: Array<string>;
|
|
9798
|
+
/**
|
|
9799
|
+
* Only mentions carrying any of these labels (exact, case-sensitive).
|
|
9800
|
+
*/
|
|
9801
|
+
labels?: Array<string>;
|
|
9802
|
+
/**
|
|
9803
|
+
* Never mentions carrying any of these labels.
|
|
9804
|
+
*/
|
|
9805
|
+
notLabels?: Array<string>;
|
|
9806
|
+
/**
|
|
9807
|
+
* Only posts linking to any of these hosts, the host itself or a subdomain of it.
|
|
9808
|
+
*/
|
|
9809
|
+
linkHosts?: Array<string>;
|
|
9810
|
+
/**
|
|
9811
|
+
* Never posts linking to these hosts.
|
|
9812
|
+
*/
|
|
9813
|
+
notLinkHosts?: Array<string>;
|
|
9814
|
+
/**
|
|
9815
|
+
* Only Reddit posts from any of these subreddits (names without the r/, any case); every other post fails it.
|
|
9816
|
+
*/
|
|
9817
|
+
subreddits?: Array<string>;
|
|
9818
|
+
/**
|
|
9819
|
+
* Never Reddit posts from these subreddits; posts from other platforms still pass.
|
|
9820
|
+
*/
|
|
9821
|
+
notSubreddits?: Array<string>;
|
|
9822
|
+
/**
|
|
9823
|
+
* Only authors with at least this many followers; unknown reach never passes.
|
|
9824
|
+
*/
|
|
9825
|
+
minFollowers?: number;
|
|
9826
|
+
/**
|
|
9827
|
+
* Only authors with at most this many followers; unknown reach never passes.
|
|
9828
|
+
*/
|
|
9829
|
+
maxFollowers?: number;
|
|
9830
|
+
/**
|
|
9831
|
+
* true: only replies and comments; false: only top-level posts.
|
|
9832
|
+
*/
|
|
9833
|
+
isReply?: boolean;
|
|
9834
|
+
/**
|
|
9835
|
+
* Only posts (post), only comments (comment) or only GitHub repository events (repository).
|
|
9836
|
+
*/
|
|
9837
|
+
kind?: 'post' | 'comment' | 'repository';
|
|
9838
|
+
/**
|
|
9839
|
+
* Never these authors: display names, handles or profile URLs.
|
|
9840
|
+
*/
|
|
9841
|
+
notAuthors?: Array<string>;
|
|
9842
|
+
/**
|
|
9843
|
+
* Deprecated: use notAuthors, the same filter. Both may be given; every author named in either is hidden.
|
|
9844
|
+
*/
|
|
9845
|
+
excludeAuthors?: Array<string>;
|
|
9846
|
+
/**
|
|
9847
|
+
* Only app store reviews with any of these star ratings; every other post fails it.
|
|
9848
|
+
*/
|
|
9849
|
+
ratings?: Array<number>;
|
|
9850
|
+
/**
|
|
9851
|
+
* Never reviews with these star ratings; posts that are not reviews still pass.
|
|
9852
|
+
*/
|
|
9853
|
+
notRatings?: Array<number>;
|
|
9854
|
+
/**
|
|
9855
|
+
* Only posts with at least this many likes (upvotes, reactions), as the platform reported them when the post was found. A post without that count never passes.
|
|
9856
|
+
*/
|
|
9857
|
+
minLikes?: number;
|
|
9858
|
+
/**
|
|
9859
|
+
* Only posts with at least this many reposts (shares, retweets), as the platform reported them when the post was found. A post without that count never passes.
|
|
9860
|
+
*/
|
|
9861
|
+
minReposts?: number;
|
|
9862
|
+
/**
|
|
9863
|
+
* Only posts with at least this many replies (comments), as the platform reported them when the post was found. A post without that count never passes.
|
|
9864
|
+
*/
|
|
9865
|
+
minReplies?: number;
|
|
9866
|
+
/**
|
|
9867
|
+
* Only posts with at least this many quotes, as the platform reported them when the post was found. A post without that count never passes.
|
|
9868
|
+
*/
|
|
9869
|
+
minQuotes?: number;
|
|
9870
|
+
/**
|
|
9871
|
+
* Only posts with at least this many views (plays), as the platform reported them when the post was found. A post without that count never passes.
|
|
9872
|
+
*/
|
|
9873
|
+
minViews?: number;
|
|
9874
|
+
/**
|
|
9875
|
+
* Only posts with at least this many bookmarks (saves), as the platform reported them when the post was found. A post without that count never passes.
|
|
9876
|
+
*/
|
|
9877
|
+
minBookmarks?: number;
|
|
9878
|
+
/**
|
|
9879
|
+
* OR across groups: a mention passes when it meets every condition of at least one group, and the other conditions too. A group takes view-filter conditions, no anyOf of its own. See [anyOf](/conventions#or-across-groups-anyof).
|
|
9880
|
+
*/
|
|
9881
|
+
anyOf?: Array<FilterGroup>;
|
|
9882
|
+
};
|
|
9883
|
+
};
|
|
9884
|
+
headers?: {
|
|
9885
|
+
/**
|
|
9886
|
+
* A unique value (a UUID) for this request. Retrying with the same key within 24 hours returns the first response instead of creating twice.
|
|
9887
|
+
*/
|
|
9888
|
+
'idempotency-key'?: string;
|
|
9889
|
+
};
|
|
9890
|
+
path?: never;
|
|
9891
|
+
query?: never;
|
|
9892
|
+
url: '/v1/views';
|
|
9893
|
+
};
|
|
9894
|
+
type CreateViewErrors = {
|
|
9895
|
+
/**
|
|
9896
|
+
* Invalid filter (an empty anyOf group, for one), or filter_too_complex: more values than one query can carry
|
|
9897
|
+
*/
|
|
9898
|
+
400: ErrorResponse;
|
|
9899
|
+
/**
|
|
9900
|
+
* Missing or invalid API key
|
|
9901
|
+
*/
|
|
9902
|
+
401: ErrorResponse;
|
|
9903
|
+
/**
|
|
9904
|
+
* A view with that name already exists (duplicate_view)
|
|
9905
|
+
*/
|
|
9906
|
+
409: ErrorResponse;
|
|
9907
|
+
};
|
|
9908
|
+
type CreateViewError = CreateViewErrors[keyof CreateViewErrors];
|
|
9909
|
+
type CreateViewResponses = {
|
|
9910
|
+
/**
|
|
9911
|
+
* The saved view
|
|
9912
|
+
*/
|
|
9913
|
+
201: View;
|
|
9914
|
+
};
|
|
9915
|
+
type CreateViewResponse = CreateViewResponses[keyof CreateViewResponses];
|
|
9916
|
+
type DeleteViewData = {
|
|
9917
|
+
body?: never;
|
|
9918
|
+
path: {
|
|
9919
|
+
/**
|
|
9920
|
+
* View id (vw_...).
|
|
9921
|
+
*/
|
|
9922
|
+
id: string;
|
|
9923
|
+
};
|
|
9924
|
+
query?: never;
|
|
9925
|
+
url: '/v1/views/{id}';
|
|
9926
|
+
};
|
|
9927
|
+
type DeleteViewErrors = {
|
|
9928
|
+
/**
|
|
9929
|
+
* Missing or invalid API key
|
|
9930
|
+
*/
|
|
9931
|
+
401: ErrorResponse;
|
|
9932
|
+
/**
|
|
9933
|
+
* No such view in this workspace
|
|
9934
|
+
*/
|
|
9935
|
+
404: ErrorResponse;
|
|
9936
|
+
};
|
|
9937
|
+
type DeleteViewError = DeleteViewErrors[keyof DeleteViewErrors];
|
|
9938
|
+
type DeleteViewResponses = {
|
|
9939
|
+
/**
|
|
9940
|
+
* Deleted
|
|
9941
|
+
*/
|
|
9942
|
+
204: void;
|
|
9943
|
+
};
|
|
9944
|
+
type DeleteViewResponse = DeleteViewResponses[keyof DeleteViewResponses];
|
|
9945
|
+
type GetViewData = {
|
|
9946
|
+
body?: never;
|
|
9947
|
+
path: {
|
|
9948
|
+
/**
|
|
9949
|
+
* View id (vw_...).
|
|
9950
|
+
*/
|
|
9951
|
+
id: string;
|
|
9952
|
+
};
|
|
9953
|
+
query?: never;
|
|
9954
|
+
url: '/v1/views/{id}';
|
|
9955
|
+
};
|
|
9956
|
+
type GetViewErrors = {
|
|
9957
|
+
/**
|
|
9958
|
+
* Missing or invalid API key
|
|
9959
|
+
*/
|
|
9960
|
+
401: ErrorResponse;
|
|
9961
|
+
/**
|
|
9962
|
+
* No such view in this workspace
|
|
9963
|
+
*/
|
|
9964
|
+
404: ErrorResponse;
|
|
9965
|
+
};
|
|
9966
|
+
type GetViewError = GetViewErrors[keyof GetViewErrors];
|
|
9967
|
+
type GetViewResponses = {
|
|
9968
|
+
/**
|
|
9969
|
+
* The view
|
|
9970
|
+
*/
|
|
9971
|
+
200: View;
|
|
9972
|
+
};
|
|
9973
|
+
type GetViewResponse = GetViewResponses[keyof GetViewResponses];
|
|
9974
|
+
type UpdateViewData = {
|
|
9975
|
+
body: {
|
|
9976
|
+
/**
|
|
9977
|
+
* View name, unique in the workspace.
|
|
9978
|
+
*/
|
|
9979
|
+
name?: string;
|
|
9980
|
+
/**
|
|
9981
|
+
* What the view is for.
|
|
9982
|
+
*/
|
|
9983
|
+
description?: string;
|
|
9984
|
+
/**
|
|
9985
|
+
* Replaces the whole filter.
|
|
9986
|
+
*/
|
|
9987
|
+
filter?: {
|
|
9988
|
+
/**
|
|
9989
|
+
* Substring in the post text or the author's name.
|
|
9990
|
+
*/
|
|
9991
|
+
q?: string;
|
|
9992
|
+
/**
|
|
9993
|
+
* Only matches of any of these keywords.
|
|
9994
|
+
*/
|
|
9995
|
+
keywordIds?: Array<string>;
|
|
9996
|
+
/**
|
|
9997
|
+
* Never matches of these keywords.
|
|
9998
|
+
*/
|
|
9999
|
+
notKeywordIds?: Array<string>;
|
|
10000
|
+
/**
|
|
10001
|
+
* Only matches of keywords of any of these kinds: brand, competitor, topic.
|
|
10002
|
+
*/
|
|
10003
|
+
keywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
|
|
10004
|
+
/**
|
|
10005
|
+
* Never matches of keywords of these kinds.
|
|
10006
|
+
*/
|
|
10007
|
+
notKeywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
|
|
10008
|
+
/**
|
|
10009
|
+
* Only matches of keywords in any of these groups (grp_...).
|
|
10010
|
+
*/
|
|
10011
|
+
groupIds?: Array<string>;
|
|
10012
|
+
/**
|
|
10013
|
+
* Never matches of keywords in these groups.
|
|
10014
|
+
*/
|
|
10015
|
+
notGroupIds?: Array<string>;
|
|
10016
|
+
/**
|
|
10017
|
+
* Only posts from any of these platforms.
|
|
10018
|
+
*/
|
|
10019
|
+
platforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin' | 'tiktok' | 'instagram' | 'facebook' | 'appstore' | 'googleplay' | 'trustpilot' | 'googlemaps' | 'rss'>;
|
|
10020
|
+
/**
|
|
10021
|
+
* Never posts from these platforms.
|
|
10022
|
+
*/
|
|
10023
|
+
notPlatforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin' | 'tiktok' | 'instagram' | 'facebook' | 'appstore' | 'googleplay' | 'trustpilot' | 'googlemaps' | 'rss'>;
|
|
10024
|
+
/**
|
|
10025
|
+
* Only mentions in this status: open, ignored, done.
|
|
10026
|
+
*/
|
|
10027
|
+
status?: 'open' | 'ignored' | 'done';
|
|
10028
|
+
/**
|
|
10029
|
+
* true: only mentions the classifier scored relevant; false: only the rest.
|
|
10030
|
+
*/
|
|
10031
|
+
relevant?: boolean;
|
|
10032
|
+
/**
|
|
10033
|
+
* Only mentions scored at least this.
|
|
10034
|
+
*/
|
|
10035
|
+
minRelevance?: number;
|
|
10036
|
+
/**
|
|
10037
|
+
* Only mentions whose classifier confidence is at least this.
|
|
10038
|
+
*/
|
|
10039
|
+
minConfidence?: number;
|
|
10040
|
+
/**
|
|
10041
|
+
* Only these sentiments.
|
|
10042
|
+
*/
|
|
10043
|
+
sentiments?: Array<'positive' | 'neutral' | 'negative'>;
|
|
10044
|
+
/**
|
|
10045
|
+
* Never these sentiments; an unscored mention still passes.
|
|
10046
|
+
*/
|
|
10047
|
+
notSentiments?: Array<'positive' | 'neutral' | 'negative'>;
|
|
10048
|
+
/**
|
|
10049
|
+
* Only mentions carrying any of these intent or topic tags.
|
|
10050
|
+
*/
|
|
10051
|
+
intents?: Array<string>;
|
|
10052
|
+
/**
|
|
10053
|
+
* Never mentions carrying these tags.
|
|
10054
|
+
*/
|
|
10055
|
+
notIntents?: Array<string>;
|
|
10056
|
+
/**
|
|
10057
|
+
* true: only posts that read as machine-made; false: only the rest.
|
|
10058
|
+
*/
|
|
10059
|
+
automated?: boolean;
|
|
10060
|
+
/**
|
|
10061
|
+
* Only posts in any of these languages (ISO 639-1).
|
|
10062
|
+
*/
|
|
10063
|
+
languages?: Array<string>;
|
|
10064
|
+
/**
|
|
10065
|
+
* Never posts in these languages; an unknown language still passes.
|
|
10066
|
+
*/
|
|
10067
|
+
notLanguages?: Array<string>;
|
|
10068
|
+
/**
|
|
10069
|
+
* Only posts whose author is in any of these countries (ISO 3166-1 alpha-2: us, in, de). An unknown country never passes.
|
|
10070
|
+
*/
|
|
10071
|
+
countries?: Array<'us' | 'ca' | 'mx' | 'br' | 'ar' | 'co' | 'cl' | 'pe' | 'gb' | 'ie' | 'fr' | 'de' | 'es' | 'pt' | 'it' | 'nl' | 'be' | 'ch' | 'at' | 'se' | 'no' | 'dk' | 'fi' | 'pl' | 'cz' | 'ro' | 'gr' | 'hu' | 'ua' | 'ru' | 'lt' | 'lv' | 'ee' | 'tr' | 'il' | 'ae' | 'sa' | 'eg' | 'ng' | 'ke' | 'za' | 'ma' | 'in' | 'pk' | 'bd' | 'lk' | 'np' | 'cn' | 'hk' | 'tw' | 'jp' | 'kr' | 'sg' | 'my' | 'id' | 'ph' | 'vn' | 'th' | 'au' | 'nz'>;
|
|
10072
|
+
/**
|
|
10073
|
+
* Never posts whose author is in these countries; an unknown country still passes.
|
|
10074
|
+
*/
|
|
10075
|
+
notCountries?: Array<'us' | 'ca' | 'mx' | 'br' | 'ar' | 'co' | 'cl' | 'pe' | 'gb' | 'ie' | 'fr' | 'de' | 'es' | 'pt' | 'it' | 'nl' | 'be' | 'ch' | 'at' | 'se' | 'no' | 'dk' | 'fi' | 'pl' | 'cz' | 'ro' | 'gr' | 'hu' | 'ua' | 'ru' | 'lt' | 'lv' | 'ee' | 'tr' | 'il' | 'ae' | 'sa' | 'eg' | 'ng' | 'ke' | 'za' | 'ma' | 'in' | 'pk' | 'bd' | 'lk' | 'np' | 'cn' | 'hk' | 'tw' | 'jp' | 'kr' | 'sg' | 'my' | 'id' | 'ph' | 'vn' | 'th' | 'au' | 'nz'>;
|
|
10076
|
+
/**
|
|
10077
|
+
* true: only posts by companies, brands and organizations; false: only posts by people.
|
|
10078
|
+
*/
|
|
10079
|
+
organization?: boolean;
|
|
10080
|
+
/**
|
|
10081
|
+
* Only authors tagged with any of these, in the workspace's tags or those of the mention's own keyword group.
|
|
10082
|
+
*/
|
|
10083
|
+
tags?: Array<string>;
|
|
10084
|
+
/**
|
|
10085
|
+
* Never authors tagged with any of these, in the workspace's tags or those of the mention's own keyword group.
|
|
10086
|
+
*/
|
|
10087
|
+
notTags?: Array<string>;
|
|
10088
|
+
/**
|
|
10089
|
+
* Only mentions carrying any of these labels (exact, case-sensitive).
|
|
10090
|
+
*/
|
|
10091
|
+
labels?: Array<string>;
|
|
10092
|
+
/**
|
|
10093
|
+
* Never mentions carrying any of these labels.
|
|
10094
|
+
*/
|
|
10095
|
+
notLabels?: Array<string>;
|
|
10096
|
+
/**
|
|
10097
|
+
* Only posts linking to any of these hosts, the host itself or a subdomain of it.
|
|
10098
|
+
*/
|
|
10099
|
+
linkHosts?: Array<string>;
|
|
10100
|
+
/**
|
|
10101
|
+
* Never posts linking to these hosts.
|
|
10102
|
+
*/
|
|
10103
|
+
notLinkHosts?: Array<string>;
|
|
10104
|
+
/**
|
|
10105
|
+
* Only Reddit posts from any of these subreddits (names without the r/, any case); every other post fails it.
|
|
10106
|
+
*/
|
|
10107
|
+
subreddits?: Array<string>;
|
|
10108
|
+
/**
|
|
10109
|
+
* Never Reddit posts from these subreddits; posts from other platforms still pass.
|
|
10110
|
+
*/
|
|
10111
|
+
notSubreddits?: Array<string>;
|
|
10112
|
+
/**
|
|
10113
|
+
* Only authors with at least this many followers; unknown reach never passes.
|
|
8999
10114
|
*/
|
|
9000
|
-
|
|
10115
|
+
minFollowers?: number;
|
|
9001
10116
|
/**
|
|
9002
|
-
*
|
|
10117
|
+
* Only authors with at most this many followers; unknown reach never passes.
|
|
9003
10118
|
*/
|
|
9004
|
-
|
|
10119
|
+
maxFollowers?: number;
|
|
9005
10120
|
/**
|
|
9006
|
-
*
|
|
10121
|
+
* true: only replies and comments; false: only top-level posts.
|
|
9007
10122
|
*/
|
|
9008
|
-
|
|
10123
|
+
isReply?: boolean;
|
|
9009
10124
|
/**
|
|
9010
|
-
*
|
|
10125
|
+
* Only posts (post), only comments (comment) or only GitHub repository events (repository).
|
|
9011
10126
|
*/
|
|
9012
|
-
|
|
10127
|
+
kind?: 'post' | 'comment' | 'repository';
|
|
9013
10128
|
/**
|
|
9014
|
-
*
|
|
10129
|
+
* Never these authors: display names, handles or profile URLs.
|
|
9015
10130
|
*/
|
|
9016
|
-
|
|
10131
|
+
notAuthors?: Array<string>;
|
|
9017
10132
|
/**
|
|
9018
|
-
*
|
|
10133
|
+
* Deprecated: use notAuthors, the same filter. Both may be given; every author named in either is hidden.
|
|
9019
10134
|
*/
|
|
9020
|
-
|
|
10135
|
+
excludeAuthors?: Array<string>;
|
|
9021
10136
|
/**
|
|
9022
|
-
*
|
|
10137
|
+
* Only app store reviews with any of these star ratings; every other post fails it.
|
|
9023
10138
|
*/
|
|
9024
|
-
|
|
10139
|
+
ratings?: Array<number>;
|
|
9025
10140
|
/**
|
|
9026
|
-
*
|
|
10141
|
+
* Never reviews with these star ratings; posts that are not reviews still pass.
|
|
9027
10142
|
*/
|
|
9028
|
-
|
|
10143
|
+
notRatings?: Array<number>;
|
|
9029
10144
|
/**
|
|
9030
|
-
*
|
|
10145
|
+
* Only posts with at least this many likes (upvotes, reactions), as the platform reported them when the post was found. A post without that count never passes.
|
|
9031
10146
|
*/
|
|
9032
|
-
|
|
10147
|
+
minLikes?: number;
|
|
9033
10148
|
/**
|
|
9034
|
-
*
|
|
10149
|
+
* Only posts with at least this many reposts (shares, retweets), as the platform reported them when the post was found. A post without that count never passes.
|
|
9035
10150
|
*/
|
|
9036
|
-
|
|
10151
|
+
minReposts?: number;
|
|
9037
10152
|
/**
|
|
9038
|
-
*
|
|
10153
|
+
* Only posts with at least this many replies (comments), as the platform reported them when the post was found. A post without that count never passes.
|
|
9039
10154
|
*/
|
|
9040
|
-
|
|
10155
|
+
minReplies?: number;
|
|
9041
10156
|
/**
|
|
9042
|
-
*
|
|
10157
|
+
* Only posts with at least this many quotes, as the platform reported them when the post was found. A post without that count never passes.
|
|
9043
10158
|
*/
|
|
9044
|
-
|
|
10159
|
+
minQuotes?: number;
|
|
9045
10160
|
/**
|
|
9046
|
-
*
|
|
10161
|
+
* Only posts with at least this many views (plays), as the platform reported them when the post was found. A post without that count never passes.
|
|
9047
10162
|
*/
|
|
9048
|
-
|
|
10163
|
+
minViews?: number;
|
|
9049
10164
|
/**
|
|
9050
|
-
*
|
|
10165
|
+
* Only posts with at least this many bookmarks (saves), as the platform reported them when the post was found. A post without that count never passes.
|
|
9051
10166
|
*/
|
|
9052
|
-
|
|
10167
|
+
minBookmarks?: number;
|
|
9053
10168
|
/**
|
|
9054
|
-
*
|
|
10169
|
+
* OR across groups: a mention passes when it meets every condition of at least one group, and the other conditions too. A group takes view-filter conditions, no anyOf of its own. See [anyOf](/conventions#or-across-groups-anyof).
|
|
9055
10170
|
*/
|
|
9056
|
-
|
|
10171
|
+
anyOf?: Array<FilterGroup>;
|
|
9057
10172
|
};
|
|
9058
10173
|
};
|
|
9059
10174
|
path: {
|
|
9060
10175
|
/**
|
|
9061
|
-
*
|
|
10176
|
+
* View id (vw_...).
|
|
9062
10177
|
*/
|
|
9063
10178
|
id: string;
|
|
9064
10179
|
};
|
|
9065
|
-
query?:
|
|
9066
|
-
|
|
9067
|
-
* Scope to one keyword group (grp_...): only people who mentioned that group's keywords, with that group's own tags, notes, mute, merges, activities and segments. Omit for the whole workspace.
|
|
9068
|
-
*/
|
|
9069
|
-
groupId?: string;
|
|
9070
|
-
};
|
|
9071
|
-
url: '/v1/segments/{id}';
|
|
10180
|
+
query?: never;
|
|
10181
|
+
url: '/v1/views/{id}';
|
|
9072
10182
|
};
|
|
9073
|
-
type
|
|
10183
|
+
type UpdateViewErrors = {
|
|
9074
10184
|
/**
|
|
9075
10185
|
* Invalid request: a parameter or the body failed validation (validation_error)
|
|
9076
10186
|
*/
|
|
@@ -9080,58 +10190,58 @@ type UpdateSegmentErrors = {
|
|
|
9080
10190
|
*/
|
|
9081
10191
|
401: ErrorResponse;
|
|
9082
10192
|
/**
|
|
9083
|
-
* No such
|
|
10193
|
+
* No such view in this workspace
|
|
9084
10194
|
*/
|
|
9085
10195
|
404: ErrorResponse;
|
|
9086
10196
|
/**
|
|
9087
|
-
* A
|
|
10197
|
+
* A view with that name already exists (duplicate_view)
|
|
9088
10198
|
*/
|
|
9089
10199
|
409: ErrorResponse;
|
|
9090
10200
|
};
|
|
9091
|
-
type
|
|
9092
|
-
type
|
|
10201
|
+
type UpdateViewError = UpdateViewErrors[keyof UpdateViewErrors];
|
|
10202
|
+
type UpdateViewResponses = {
|
|
9093
10203
|
/**
|
|
9094
|
-
* The updated
|
|
10204
|
+
* The updated view
|
|
9095
10205
|
*/
|
|
9096
|
-
200:
|
|
10206
|
+
200: View;
|
|
9097
10207
|
};
|
|
9098
|
-
type
|
|
9099
|
-
type
|
|
10208
|
+
type UpdateViewResponse = UpdateViewResponses[keyof UpdateViewResponses];
|
|
10209
|
+
type ListAutomationsData = {
|
|
9100
10210
|
body?: never;
|
|
9101
10211
|
path?: never;
|
|
9102
10212
|
query?: never;
|
|
9103
|
-
url: '/v1/
|
|
10213
|
+
url: '/v1/automations';
|
|
9104
10214
|
};
|
|
9105
|
-
type
|
|
10215
|
+
type ListAutomationsErrors = {
|
|
9106
10216
|
/**
|
|
9107
10217
|
* Missing or invalid API key
|
|
9108
10218
|
*/
|
|
9109
10219
|
401: ErrorResponse;
|
|
9110
10220
|
};
|
|
9111
|
-
type
|
|
9112
|
-
type
|
|
10221
|
+
type ListAutomationsError = ListAutomationsErrors[keyof ListAutomationsErrors];
|
|
10222
|
+
type ListAutomationsResponses = {
|
|
9113
10223
|
/**
|
|
9114
|
-
*
|
|
10224
|
+
* Automations
|
|
9115
10225
|
*/
|
|
9116
10226
|
200: {
|
|
9117
10227
|
/**
|
|
9118
|
-
*
|
|
10228
|
+
* Automations in the order they run, oldest first.
|
|
9119
10229
|
*/
|
|
9120
10230
|
data: Array<{
|
|
9121
10231
|
/**
|
|
9122
|
-
*
|
|
10232
|
+
* Automation id (atm_...).
|
|
9123
10233
|
*/
|
|
9124
10234
|
id: string;
|
|
9125
10235
|
/**
|
|
9126
|
-
*
|
|
10236
|
+
* Automation name, unique in the workspace.
|
|
9127
10237
|
*/
|
|
9128
10238
|
name: string;
|
|
9129
10239
|
/**
|
|
9130
|
-
*
|
|
10240
|
+
* false: kept but not run.
|
|
9131
10241
|
*/
|
|
9132
|
-
|
|
10242
|
+
enabled: boolean;
|
|
9133
10243
|
/**
|
|
9134
|
-
*
|
|
10244
|
+
* Which mentions it acts on: the fields of GET /v1/mentions, like a view.
|
|
9135
10245
|
*/
|
|
9136
10246
|
filter: {
|
|
9137
10247
|
/**
|
|
@@ -9234,6 +10344,14 @@ type ListViewsResponses = {
|
|
|
9234
10344
|
* Never authors tagged with any of these, in the workspace's tags or those of the mention's own keyword group.
|
|
9235
10345
|
*/
|
|
9236
10346
|
notTags?: Array<string>;
|
|
10347
|
+
/**
|
|
10348
|
+
* Only mentions carrying any of these labels (exact, case-sensitive).
|
|
10349
|
+
*/
|
|
10350
|
+
labels?: Array<string>;
|
|
10351
|
+
/**
|
|
10352
|
+
* Never mentions carrying any of these labels.
|
|
10353
|
+
*/
|
|
10354
|
+
notLabels?: Array<string>;
|
|
9237
10355
|
/**
|
|
9238
10356
|
* Only posts linking to any of these hosts, the host itself or a subdomain of it.
|
|
9239
10357
|
*/
|
|
@@ -9311,6 +10429,19 @@ type ListViewsResponses = {
|
|
|
9311
10429
|
*/
|
|
9312
10430
|
anyOf?: Array<FilterGroup>;
|
|
9313
10431
|
};
|
|
10432
|
+
/**
|
|
10433
|
+
* What it does to each mention the filter selects.
|
|
10434
|
+
*/
|
|
10435
|
+
actions: {
|
|
10436
|
+
/**
|
|
10437
|
+
* Labels it adds.
|
|
10438
|
+
*/
|
|
10439
|
+
addLabels: Array<string>;
|
|
10440
|
+
/**
|
|
10441
|
+
* The member it assigns, or null.
|
|
10442
|
+
*/
|
|
10443
|
+
assigneeId: string | null;
|
|
10444
|
+
};
|
|
9314
10445
|
/**
|
|
9315
10446
|
* ISO 8601 timestamp, UTC.
|
|
9316
10447
|
*/
|
|
@@ -9322,19 +10453,19 @@ type ListViewsResponses = {
|
|
|
9322
10453
|
}>;
|
|
9323
10454
|
};
|
|
9324
10455
|
};
|
|
9325
|
-
type
|
|
9326
|
-
type
|
|
10456
|
+
type ListAutomationsResponse = ListAutomationsResponses[keyof ListAutomationsResponses];
|
|
10457
|
+
type CreateAutomationData = {
|
|
9327
10458
|
body: {
|
|
9328
10459
|
/**
|
|
9329
10460
|
* Unique per workspace, case-insensitive.
|
|
9330
10461
|
*/
|
|
9331
10462
|
name: string;
|
|
9332
10463
|
/**
|
|
9333
|
-
*
|
|
10464
|
+
* false saves it without running it.
|
|
9334
10465
|
*/
|
|
9335
|
-
|
|
10466
|
+
enabled?: boolean;
|
|
9336
10467
|
/**
|
|
9337
|
-
*
|
|
10468
|
+
* Which new mentions it acts on; empty acts on every one.
|
|
9338
10469
|
*/
|
|
9339
10470
|
filter?: {
|
|
9340
10471
|
/**
|
|
@@ -9437,6 +10568,14 @@ type CreateViewData = {
|
|
|
9437
10568
|
* Never authors tagged with any of these, in the workspace's tags or those of the mention's own keyword group.
|
|
9438
10569
|
*/
|
|
9439
10570
|
notTags?: Array<string>;
|
|
10571
|
+
/**
|
|
10572
|
+
* Only mentions carrying any of these labels (exact, case-sensitive).
|
|
10573
|
+
*/
|
|
10574
|
+
labels?: Array<string>;
|
|
10575
|
+
/**
|
|
10576
|
+
* Never mentions carrying any of these labels.
|
|
10577
|
+
*/
|
|
10578
|
+
notLabels?: Array<string>;
|
|
9440
10579
|
/**
|
|
9441
10580
|
* Only posts linking to any of these hosts, the host itself or a subdomain of it.
|
|
9442
10581
|
*/
|
|
@@ -9514,6 +10653,19 @@ type CreateViewData = {
|
|
|
9514
10653
|
*/
|
|
9515
10654
|
anyOf?: Array<FilterGroup>;
|
|
9516
10655
|
};
|
|
10656
|
+
/**
|
|
10657
|
+
* What to do to each mention the filter selects; at least one action.
|
|
10658
|
+
*/
|
|
10659
|
+
actions: {
|
|
10660
|
+
/**
|
|
10661
|
+
* Labels to add, at most 10. A mention keeps at most 20 labels.
|
|
10662
|
+
*/
|
|
10663
|
+
addLabels?: Array<string>;
|
|
10664
|
+
/**
|
|
10665
|
+
* A workspace member (user id) to assign when the mention has nobody yet; someone already assigned is kept.
|
|
10666
|
+
*/
|
|
10667
|
+
assigneeId?: string | null;
|
|
10668
|
+
};
|
|
9517
10669
|
};
|
|
9518
10670
|
headers?: {
|
|
9519
10671
|
/**
|
|
@@ -9523,11 +10675,11 @@ type CreateViewData = {
|
|
|
9523
10675
|
};
|
|
9524
10676
|
path?: never;
|
|
9525
10677
|
query?: never;
|
|
9526
|
-
url: '/v1/
|
|
10678
|
+
url: '/v1/automations';
|
|
9527
10679
|
};
|
|
9528
|
-
type
|
|
10680
|
+
type CreateAutomationErrors = {
|
|
9529
10681
|
/**
|
|
9530
|
-
* Invalid
|
|
10682
|
+
* Invalid request (no action, a filter_too_complex filter), or invalid_assignee: the assignee is not a workspace member
|
|
9531
10683
|
*/
|
|
9532
10684
|
400: ErrorResponse;
|
|
9533
10685
|
/**
|
|
@@ -9535,86 +10687,86 @@ type CreateViewErrors = {
|
|
|
9535
10687
|
*/
|
|
9536
10688
|
401: ErrorResponse;
|
|
9537
10689
|
/**
|
|
9538
|
-
*
|
|
10690
|
+
* duplicate_automation: the name is taken; automation_limit_reached: the workspace holds 25
|
|
9539
10691
|
*/
|
|
9540
10692
|
409: ErrorResponse;
|
|
9541
10693
|
};
|
|
9542
|
-
type
|
|
9543
|
-
type
|
|
10694
|
+
type CreateAutomationError = CreateAutomationErrors[keyof CreateAutomationErrors];
|
|
10695
|
+
type CreateAutomationResponses = {
|
|
9544
10696
|
/**
|
|
9545
|
-
* The
|
|
10697
|
+
* The automation
|
|
9546
10698
|
*/
|
|
9547
|
-
201:
|
|
10699
|
+
201: Automation;
|
|
9548
10700
|
};
|
|
9549
|
-
type
|
|
9550
|
-
type
|
|
10701
|
+
type CreateAutomationResponse = CreateAutomationResponses[keyof CreateAutomationResponses];
|
|
10702
|
+
type DeleteAutomationData = {
|
|
9551
10703
|
body?: never;
|
|
9552
10704
|
path: {
|
|
9553
10705
|
/**
|
|
9554
|
-
*
|
|
10706
|
+
* Automation id (atm_...).
|
|
9555
10707
|
*/
|
|
9556
10708
|
id: string;
|
|
9557
10709
|
};
|
|
9558
10710
|
query?: never;
|
|
9559
|
-
url: '/v1/
|
|
10711
|
+
url: '/v1/automations/{id}';
|
|
9560
10712
|
};
|
|
9561
|
-
type
|
|
10713
|
+
type DeleteAutomationErrors = {
|
|
9562
10714
|
/**
|
|
9563
10715
|
* Missing or invalid API key
|
|
9564
10716
|
*/
|
|
9565
10717
|
401: ErrorResponse;
|
|
9566
10718
|
/**
|
|
9567
|
-
* No such
|
|
10719
|
+
* No such automation in this workspace
|
|
9568
10720
|
*/
|
|
9569
10721
|
404: ErrorResponse;
|
|
9570
10722
|
};
|
|
9571
|
-
type
|
|
9572
|
-
type
|
|
10723
|
+
type DeleteAutomationError = DeleteAutomationErrors[keyof DeleteAutomationErrors];
|
|
10724
|
+
type DeleteAutomationResponses = {
|
|
9573
10725
|
/**
|
|
9574
10726
|
* Deleted
|
|
9575
10727
|
*/
|
|
9576
10728
|
204: void;
|
|
9577
10729
|
};
|
|
9578
|
-
type
|
|
9579
|
-
type
|
|
10730
|
+
type DeleteAutomationResponse = DeleteAutomationResponses[keyof DeleteAutomationResponses];
|
|
10731
|
+
type GetAutomationData = {
|
|
9580
10732
|
body?: never;
|
|
9581
10733
|
path: {
|
|
9582
10734
|
/**
|
|
9583
|
-
*
|
|
10735
|
+
* Automation id (atm_...).
|
|
9584
10736
|
*/
|
|
9585
10737
|
id: string;
|
|
9586
10738
|
};
|
|
9587
10739
|
query?: never;
|
|
9588
|
-
url: '/v1/
|
|
10740
|
+
url: '/v1/automations/{id}';
|
|
9589
10741
|
};
|
|
9590
|
-
type
|
|
10742
|
+
type GetAutomationErrors = {
|
|
9591
10743
|
/**
|
|
9592
10744
|
* Missing or invalid API key
|
|
9593
10745
|
*/
|
|
9594
10746
|
401: ErrorResponse;
|
|
9595
10747
|
/**
|
|
9596
|
-
* No such
|
|
10748
|
+
* No such automation in this workspace
|
|
9597
10749
|
*/
|
|
9598
10750
|
404: ErrorResponse;
|
|
9599
10751
|
};
|
|
9600
|
-
type
|
|
9601
|
-
type
|
|
10752
|
+
type GetAutomationError = GetAutomationErrors[keyof GetAutomationErrors];
|
|
10753
|
+
type GetAutomationResponses = {
|
|
9602
10754
|
/**
|
|
9603
|
-
* The
|
|
10755
|
+
* The automation
|
|
9604
10756
|
*/
|
|
9605
|
-
200:
|
|
10757
|
+
200: Automation;
|
|
9606
10758
|
};
|
|
9607
|
-
type
|
|
9608
|
-
type
|
|
10759
|
+
type GetAutomationResponse = GetAutomationResponses[keyof GetAutomationResponses];
|
|
10760
|
+
type UpdateAutomationData = {
|
|
9609
10761
|
body: {
|
|
9610
10762
|
/**
|
|
9611
|
-
*
|
|
10763
|
+
* Automation name, unique in the workspace.
|
|
9612
10764
|
*/
|
|
9613
10765
|
name?: string;
|
|
9614
10766
|
/**
|
|
9615
|
-
*
|
|
10767
|
+
* false stops it; true runs it again on new mentions.
|
|
9616
10768
|
*/
|
|
9617
|
-
|
|
10769
|
+
enabled?: boolean;
|
|
9618
10770
|
/**
|
|
9619
10771
|
* Replaces the whole filter.
|
|
9620
10772
|
*/
|
|
@@ -9719,6 +10871,14 @@ type UpdateViewData = {
|
|
|
9719
10871
|
* Never authors tagged with any of these, in the workspace's tags or those of the mention's own keyword group.
|
|
9720
10872
|
*/
|
|
9721
10873
|
notTags?: Array<string>;
|
|
10874
|
+
/**
|
|
10875
|
+
* Only mentions carrying any of these labels (exact, case-sensitive).
|
|
10876
|
+
*/
|
|
10877
|
+
labels?: Array<string>;
|
|
10878
|
+
/**
|
|
10879
|
+
* Never mentions carrying any of these labels.
|
|
10880
|
+
*/
|
|
10881
|
+
notLabels?: Array<string>;
|
|
9722
10882
|
/**
|
|
9723
10883
|
* Only posts linking to any of these hosts, the host itself or a subdomain of it.
|
|
9724
10884
|
*/
|
|
@@ -9796,19 +10956,32 @@ type UpdateViewData = {
|
|
|
9796
10956
|
*/
|
|
9797
10957
|
anyOf?: Array<FilterGroup>;
|
|
9798
10958
|
};
|
|
10959
|
+
/**
|
|
10960
|
+
* Replaces every action.
|
|
10961
|
+
*/
|
|
10962
|
+
actions?: {
|
|
10963
|
+
/**
|
|
10964
|
+
* Labels to add, at most 10. A mention keeps at most 20 labels.
|
|
10965
|
+
*/
|
|
10966
|
+
addLabels?: Array<string>;
|
|
10967
|
+
/**
|
|
10968
|
+
* A workspace member (user id) to assign when the mention has nobody yet; someone already assigned is kept.
|
|
10969
|
+
*/
|
|
10970
|
+
assigneeId?: string | null;
|
|
10971
|
+
};
|
|
9799
10972
|
};
|
|
9800
10973
|
path: {
|
|
9801
10974
|
/**
|
|
9802
|
-
*
|
|
10975
|
+
* Automation id (atm_...).
|
|
9803
10976
|
*/
|
|
9804
10977
|
id: string;
|
|
9805
10978
|
};
|
|
9806
10979
|
query?: never;
|
|
9807
|
-
url: '/v1/
|
|
10980
|
+
url: '/v1/automations/{id}';
|
|
9808
10981
|
};
|
|
9809
|
-
type
|
|
10982
|
+
type UpdateAutomationErrors = {
|
|
9810
10983
|
/**
|
|
9811
|
-
* Invalid request:
|
|
10984
|
+
* Invalid request, or invalid_assignee: the assignee is not a workspace member
|
|
9812
10985
|
*/
|
|
9813
10986
|
400: ErrorResponse;
|
|
9814
10987
|
/**
|
|
@@ -9816,22 +10989,73 @@ type UpdateViewErrors = {
|
|
|
9816
10989
|
*/
|
|
9817
10990
|
401: ErrorResponse;
|
|
9818
10991
|
/**
|
|
9819
|
-
* No such
|
|
10992
|
+
* No such automation in this workspace
|
|
9820
10993
|
*/
|
|
9821
10994
|
404: ErrorResponse;
|
|
9822
10995
|
/**
|
|
9823
|
-
*
|
|
10996
|
+
* duplicate_automation: the name is taken
|
|
9824
10997
|
*/
|
|
9825
10998
|
409: ErrorResponse;
|
|
9826
10999
|
};
|
|
9827
|
-
type
|
|
9828
|
-
type
|
|
11000
|
+
type UpdateAutomationError = UpdateAutomationErrors[keyof UpdateAutomationErrors];
|
|
11001
|
+
type UpdateAutomationResponses = {
|
|
9829
11002
|
/**
|
|
9830
|
-
* The updated
|
|
11003
|
+
* The updated automation
|
|
9831
11004
|
*/
|
|
9832
|
-
200:
|
|
11005
|
+
200: Automation;
|
|
9833
11006
|
};
|
|
9834
|
-
type
|
|
11007
|
+
type UpdateAutomationResponse = UpdateAutomationResponses[keyof UpdateAutomationResponses];
|
|
11008
|
+
type ListLabelsData = {
|
|
11009
|
+
body?: never;
|
|
11010
|
+
path?: never;
|
|
11011
|
+
query?: {
|
|
11012
|
+
/**
|
|
11013
|
+
* Page size, 1 to 100.
|
|
11014
|
+
*/
|
|
11015
|
+
limit?: number;
|
|
11016
|
+
/**
|
|
11017
|
+
* Skip this many labels.
|
|
11018
|
+
*/
|
|
11019
|
+
offset?: number | null;
|
|
11020
|
+
};
|
|
11021
|
+
url: '/v1/labels';
|
|
11022
|
+
};
|
|
11023
|
+
type ListLabelsErrors = {
|
|
11024
|
+
/**
|
|
11025
|
+
* Invalid limit or offset (validation_error)
|
|
11026
|
+
*/
|
|
11027
|
+
400: ErrorResponse;
|
|
11028
|
+
/**
|
|
11029
|
+
* Missing or invalid API key
|
|
11030
|
+
*/
|
|
11031
|
+
401: ErrorResponse;
|
|
11032
|
+
};
|
|
11033
|
+
type ListLabelsError = ListLabelsErrors[keyof ListLabelsErrors];
|
|
11034
|
+
type ListLabelsResponses = {
|
|
11035
|
+
/**
|
|
11036
|
+
* Labels
|
|
11037
|
+
*/
|
|
11038
|
+
200: {
|
|
11039
|
+
/**
|
|
11040
|
+
* Labels in the workspace, the most used first.
|
|
11041
|
+
*/
|
|
11042
|
+
data: Array<{
|
|
11043
|
+
/**
|
|
11044
|
+
* The label, exactly as written.
|
|
11045
|
+
*/
|
|
11046
|
+
name: string;
|
|
11047
|
+
/**
|
|
11048
|
+
* Mentions carrying it, hidden ones included (muted authors, cross-post copies).
|
|
11049
|
+
*/
|
|
11050
|
+
mentions: number;
|
|
11051
|
+
}>;
|
|
11052
|
+
/**
|
|
11053
|
+
* Distinct labels in the workspace.
|
|
11054
|
+
*/
|
|
11055
|
+
total: number;
|
|
11056
|
+
};
|
|
11057
|
+
};
|
|
11058
|
+
type ListLabelsResponse = ListLabelsResponses[keyof ListLabelsResponses];
|
|
9835
11059
|
type ListAttentionData = {
|
|
9836
11060
|
body?: never;
|
|
9837
11061
|
path?: never;
|
|
@@ -10961,6 +12185,14 @@ type UpdateAlertData = {
|
|
|
10961
12185
|
* Only authors tagged with any of these, in the workspace's tags or those of the mention's own keyword group.
|
|
10962
12186
|
*/
|
|
10963
12187
|
tags?: Array<string>;
|
|
12188
|
+
/**
|
|
12189
|
+
* Only mentions carrying any of these labels. An automation labels a mention before it is delivered, so a rule can route what an automation labelled.
|
|
12190
|
+
*/
|
|
12191
|
+
labels?: Array<string>;
|
|
12192
|
+
/**
|
|
12193
|
+
* Never mentions carrying any of these labels.
|
|
12194
|
+
*/
|
|
12195
|
+
notLabels?: Array<string>;
|
|
10964
12196
|
/**
|
|
10965
12197
|
* Only posts linking to any of these hosts, the host itself or a subdomain of it (octolens.com also matches blog.octolens.com). A post with no links never passes.
|
|
10966
12198
|
*/
|
|
@@ -11171,6 +12403,14 @@ type ListAlertsResponses = {
|
|
|
11171
12403
|
* Only authors tagged with any of these, in the workspace's tags or those of the mention's own keyword group.
|
|
11172
12404
|
*/
|
|
11173
12405
|
tags?: Array<string>;
|
|
12406
|
+
/**
|
|
12407
|
+
* Only mentions carrying any of these labels. An automation labels a mention before it is delivered, so a rule can route what an automation labelled.
|
|
12408
|
+
*/
|
|
12409
|
+
labels?: Array<string>;
|
|
12410
|
+
/**
|
|
12411
|
+
* Never mentions carrying any of these labels.
|
|
12412
|
+
*/
|
|
12413
|
+
notLabels?: Array<string>;
|
|
11174
12414
|
/**
|
|
11175
12415
|
* Only posts linking to any of these hosts, the host itself or a subdomain of it (octolens.com also matches blog.octolens.com). A post with no links never passes.
|
|
11176
12416
|
*/
|
|
@@ -11358,6 +12598,14 @@ type CreateAlertData = {
|
|
|
11358
12598
|
* Only authors tagged with any of these, in the workspace's tags or those of the mention's own keyword group.
|
|
11359
12599
|
*/
|
|
11360
12600
|
tags?: Array<string>;
|
|
12601
|
+
/**
|
|
12602
|
+
* Only mentions carrying any of these labels. An automation labels a mention before it is delivered, so a rule can route what an automation labelled.
|
|
12603
|
+
*/
|
|
12604
|
+
labels?: Array<string>;
|
|
12605
|
+
/**
|
|
12606
|
+
* Never mentions carrying any of these labels.
|
|
12607
|
+
*/
|
|
12608
|
+
notLabels?: Array<string>;
|
|
11361
12609
|
/**
|
|
11362
12610
|
* Only posts linking to any of these hosts, the host itself or a subdomain of it (octolens.com also matches blog.octolens.com). A post with no links never passes.
|
|
11363
12611
|
*/
|
|
@@ -12542,6 +13790,16 @@ declare const getFilters: <ThrowOnError extends boolean = false>(options?: Optio
|
|
|
12542
13790
|
* Entries are stored canonically (lowercase terms, authors as profile links or names, owner/name repositories, subreddits without r/). Applies to new mentions within a minute.
|
|
12543
13791
|
*/
|
|
12544
13792
|
declare const updateFilters: <ThrowOnError extends boolean = false>(options: Options<UpdateFiltersData, ThrowOnError>) => RequestResult<UpdateFiltersResponses, UpdateFiltersErrors, ThrowOnError>;
|
|
13793
|
+
/**
|
|
13794
|
+
* Update many mentions
|
|
13795
|
+
*
|
|
13796
|
+
* Change up to 100 mentions at once: status, assignee, labels to add or remove.
|
|
13797
|
+
*
|
|
13798
|
+
* - All of it lands, or none of it.
|
|
13799
|
+
* - Unknown ids come back in `notFound`.
|
|
13800
|
+
* - Removals run before additions. See [Labels and automations](/guides/labels).
|
|
13801
|
+
*/
|
|
13802
|
+
declare const updateMentions: <ThrowOnError extends boolean = false>(options: Options<UpdateMentionsData, ThrowOnError>) => RequestResult<UpdateMentionsResponses, UpdateMentionsErrors, ThrowOnError>;
|
|
12545
13803
|
/**
|
|
12546
13804
|
* Get a mention
|
|
12547
13805
|
*
|
|
@@ -12553,9 +13811,10 @@ declare const getMention: <ThrowOnError extends boolean = false>(options: Option
|
|
|
12553
13811
|
/**
|
|
12554
13812
|
* Update a mention
|
|
12555
13813
|
*
|
|
12556
|
-
* Triage, assign, snooze, annotate or correct the classification of a mention.
|
|
13814
|
+
* Triage, assign, snooze, label, annotate or correct the classification of a mention.
|
|
12557
13815
|
*
|
|
12558
|
-
* - `relevant` and `sentiment` are your verdict;
|
|
13816
|
+
* - `relevant` and `sentiment` are your verdict; null restores the classifier's.
|
|
13817
|
+
* - `labels` replaces the whole list.
|
|
12559
13818
|
* - Omitted fields stay. Delivery and billing never change.
|
|
12560
13819
|
*/
|
|
12561
13820
|
declare const updateMention: <ThrowOnError extends boolean = false>(options: Options<UpdateMentionData, ThrowOnError>) => RequestResult<UpdateMentionResponses, UpdateMentionErrors, ThrowOnError>;
|
|
@@ -12749,6 +14008,45 @@ declare const getView: <ThrowOnError extends boolean = false>(options: Options<G
|
|
|
12749
14008
|
* Rename, describe or refilter a view. `filter` replaces the whole filter.
|
|
12750
14009
|
*/
|
|
12751
14010
|
declare const updateView: <ThrowOnError extends boolean = false>(options: Options<UpdateViewData, ThrowOnError>) => RequestResult<UpdateViewResponses, UpdateViewErrors, ThrowOnError>;
|
|
14011
|
+
/**
|
|
14012
|
+
* List automations
|
|
14013
|
+
*
|
|
14014
|
+
* The workspace's automations, in the order they run, oldest first. See [Labels and automations](/guides/labels).
|
|
14015
|
+
*/
|
|
14016
|
+
declare const listAutomations: <ThrowOnError extends boolean = false>(options?: Options<ListAutomationsData, ThrowOnError>) => RequestResult<ListAutomationsResponses, ListAutomationsErrors, ThrowOnError>;
|
|
14017
|
+
/**
|
|
14018
|
+
* Create an automation
|
|
14019
|
+
*
|
|
14020
|
+
* Act on every new mention a filter selects: add labels, assign a member.
|
|
14021
|
+
*
|
|
14022
|
+
* - Runs after scoring and before delivery, so alert rules see its labels.
|
|
14023
|
+
* - At most 25. Existing mentions are untouched; use POST /v1/mentions/batch. See [Labels and automations](/guides/labels).
|
|
14024
|
+
*/
|
|
14025
|
+
declare const createAutomation: <ThrowOnError extends boolean = false>(options: Options<CreateAutomationData, ThrowOnError>) => RequestResult<CreateAutomationResponses, CreateAutomationErrors, ThrowOnError>;
|
|
14026
|
+
/**
|
|
14027
|
+
* Delete an automation
|
|
14028
|
+
*
|
|
14029
|
+
* Removes the automation. The labels it added stay on their mentions.
|
|
14030
|
+
*/
|
|
14031
|
+
declare const deleteAutomation: <ThrowOnError extends boolean = false>(options: Options<DeleteAutomationData, ThrowOnError>) => RequestResult<DeleteAutomationResponses, DeleteAutomationErrors, ThrowOnError>;
|
|
14032
|
+
/**
|
|
14033
|
+
* Get an automation
|
|
14034
|
+
*/
|
|
14035
|
+
declare const getAutomation: <ThrowOnError extends boolean = false>(options: Options<GetAutomationData, ThrowOnError>) => RequestResult<GetAutomationResponses, GetAutomationErrors, ThrowOnError>;
|
|
14036
|
+
/**
|
|
14037
|
+
* Update an automation
|
|
14038
|
+
*
|
|
14039
|
+
* Rename, pause or change an automation. `filter` and `actions` each replace the whole of themselves. A change applies to mentions scored from then on.
|
|
14040
|
+
*/
|
|
14041
|
+
declare const updateAutomation: <ThrowOnError extends boolean = false>(options: Options<UpdateAutomationData, ThrowOnError>) => RequestResult<UpdateAutomationResponses, UpdateAutomationErrors, ThrowOnError>;
|
|
14042
|
+
/**
|
|
14043
|
+
* List labels
|
|
14044
|
+
*
|
|
14045
|
+
* Labels in the workspace and how many mentions carry each, the most used first.
|
|
14046
|
+
*
|
|
14047
|
+
* A label exists while a mention carries it. Filter mentions with `labels` / `notLabels`.
|
|
14048
|
+
*/
|
|
14049
|
+
declare const listLabels: <ThrowOnError extends boolean = false>(options?: Options<ListLabelsData, ThrowOnError>) => RequestResult<ListLabelsResponses, ListLabelsErrors, ThrowOnError>;
|
|
12752
14050
|
/**
|
|
12753
14051
|
* List attention items
|
|
12754
14052
|
*
|
|
@@ -13061,6 +14359,7 @@ declare const createChannel: <ThrowOnError extends boolean = false>(options: Opt
|
|
|
13061
14359
|
type sdk_Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options<TData, ThrowOnError, TResponse>;
|
|
13062
14360
|
declare const sdk_createAlert: typeof createAlert;
|
|
13063
14361
|
declare const sdk_createApiKey: typeof createApiKey;
|
|
14362
|
+
declare const sdk_createAutomation: typeof createAutomation;
|
|
13064
14363
|
declare const sdk_createChannel: typeof createChannel;
|
|
13065
14364
|
declare const sdk_createFeed: typeof createFeed;
|
|
13066
14365
|
declare const sdk_createGroup: typeof createGroup;
|
|
@@ -13070,6 +14369,7 @@ declare const sdk_createSegment: typeof createSegment;
|
|
|
13070
14369
|
declare const sdk_createTopUp: typeof createTopUp;
|
|
13071
14370
|
declare const sdk_createView: typeof createView;
|
|
13072
14371
|
declare const sdk_deleteAlert: typeof deleteAlert;
|
|
14372
|
+
declare const sdk_deleteAutomation: typeof deleteAutomation;
|
|
13073
14373
|
declare const sdk_deleteChannel: typeof deleteChannel;
|
|
13074
14374
|
declare const sdk_deleteFeed: typeof deleteFeed;
|
|
13075
14375
|
declare const sdk_deleteGroup: typeof deleteGroup;
|
|
@@ -13086,6 +14386,7 @@ declare const sdk_getAlert: typeof getAlert;
|
|
|
13086
14386
|
declare const sdk_getAnalyticsBreakdown: typeof getAnalyticsBreakdown;
|
|
13087
14387
|
declare const sdk_getAnalyticsSeries: typeof getAnalyticsSeries;
|
|
13088
14388
|
declare const sdk_getAnalyticsSummary: typeof getAnalyticsSummary;
|
|
14389
|
+
declare const sdk_getAutomation: typeof getAutomation;
|
|
13089
14390
|
declare const sdk_getChannel: typeof getChannel;
|
|
13090
14391
|
declare const sdk_getCompany: typeof getCompany;
|
|
13091
14392
|
declare const sdk_getFeed: typeof getFeed;
|
|
@@ -13108,6 +14409,7 @@ declare const sdk_importFeeds: typeof importFeeds;
|
|
|
13108
14409
|
declare const sdk_listAlerts: typeof listAlerts;
|
|
13109
14410
|
declare const sdk_listApiKeys: typeof listApiKeys;
|
|
13110
14411
|
declare const sdk_listAttention: typeof listAttention;
|
|
14412
|
+
declare const sdk_listAutomations: typeof listAutomations;
|
|
13111
14413
|
declare const sdk_listChannelDeliveries: typeof listChannelDeliveries;
|
|
13112
14414
|
declare const sdk_listChannels: typeof listChannels;
|
|
13113
14415
|
declare const sdk_listFeeds: typeof listFeeds;
|
|
@@ -13115,6 +14417,7 @@ declare const sdk_listGroups: typeof listGroups;
|
|
|
13115
14417
|
declare const sdk_listInvitations: typeof listInvitations;
|
|
13116
14418
|
declare const sdk_listInvoices: typeof listInvoices;
|
|
13117
14419
|
declare const sdk_listKeywords: typeof listKeywords;
|
|
14420
|
+
declare const sdk_listLabels: typeof listLabels;
|
|
13118
14421
|
declare const sdk_listLedger: typeof listLedger;
|
|
13119
14422
|
declare const sdk_listMembers: typeof listMembers;
|
|
13120
14423
|
declare const sdk_listMentionComments: typeof listMentionComments;
|
|
@@ -13137,6 +14440,7 @@ declare const sdk_testAlert: typeof testAlert;
|
|
|
13137
14440
|
declare const sdk_testChannel: typeof testChannel;
|
|
13138
14441
|
declare const sdk_unmuteAlertAuthors: typeof unmuteAlertAuthors;
|
|
13139
14442
|
declare const sdk_updateAlert: typeof updateAlert;
|
|
14443
|
+
declare const sdk_updateAutomation: typeof updateAutomation;
|
|
13140
14444
|
declare const sdk_updateChannel: typeof updateChannel;
|
|
13141
14445
|
declare const sdk_updateCompany: typeof updateCompany;
|
|
13142
14446
|
declare const sdk_updateFeed: typeof updateFeed;
|
|
@@ -13144,12 +14448,13 @@ declare const sdk_updateFilters: typeof updateFilters;
|
|
|
13144
14448
|
declare const sdk_updateGroup: typeof updateGroup;
|
|
13145
14449
|
declare const sdk_updateKeyword: typeof updateKeyword;
|
|
13146
14450
|
declare const sdk_updateMention: typeof updateMention;
|
|
14451
|
+
declare const sdk_updateMentions: typeof updateMentions;
|
|
13147
14452
|
declare const sdk_updatePerson: typeof updatePerson;
|
|
13148
14453
|
declare const sdk_updateSegment: typeof updateSegment;
|
|
13149
14454
|
declare const sdk_updateView: typeof updateView;
|
|
13150
14455
|
declare const sdk_whoami: typeof whoami;
|
|
13151
14456
|
declare namespace sdk {
|
|
13152
|
-
export { type sdk_Options as Options, sdk_createAlert as createAlert, sdk_createApiKey as createApiKey, sdk_createChannel as createChannel, sdk_createFeed as createFeed, sdk_createGroup as createGroup, sdk_createInvitation as createInvitation, sdk_createKeyword as createKeyword, sdk_createSegment as createSegment, sdk_createTopUp as createTopUp, sdk_createView as createView, sdk_deleteAlert as deleteAlert, sdk_deleteChannel as deleteChannel, sdk_deleteFeed as deleteFeed, sdk_deleteGroup as deleteGroup, sdk_deleteKeyword as deleteKeyword, sdk_deletePersonActivity as deletePersonActivity, sdk_deleteSegment as deleteSegment, sdk_deleteView as deleteView, sdk_dismissAttention as dismissAttention, sdk_duplicateKeyword as duplicateKeyword, sdk_exportMentionsCsv as exportMentionsCsv, sdk_exportMentionsJson as exportMentionsJson, sdk_exportPeopleCsv as exportPeopleCsv, sdk_getAlert as getAlert, sdk_getAnalyticsBreakdown as getAnalyticsBreakdown, sdk_getAnalyticsSeries as getAnalyticsSeries, sdk_getAnalyticsSummary as getAnalyticsSummary, sdk_getChannel as getChannel, sdk_getCompany as getCompany, sdk_getFeed as getFeed, sdk_getFilters as getFilters, sdk_getGroup as getGroup, sdk_getHealth as getHealth, sdk_getInvoiceUrl as getInvoiceUrl, sdk_getKeyword as getKeyword, sdk_getKeywordHealth as getKeywordHealth, sdk_getMention as getMention, sdk_getPerson as getPerson, sdk_getReviewsReport as getReviewsReport, sdk_getSegment as getSegment, sdk_getShareOfVoice as getShareOfVoice, sdk_getUsage as getUsage, sdk_getUsageBreakdown as getUsageBreakdown, sdk_getView as getView, sdk_getWallet as getWallet, sdk_importFeeds as importFeeds, sdk_listAlerts as listAlerts, sdk_listApiKeys as listApiKeys, sdk_listAttention as listAttention, sdk_listChannelDeliveries as listChannelDeliveries, sdk_listChannels as listChannels, sdk_listFeeds as listFeeds, sdk_listGroups as listGroups, sdk_listInvitations as listInvitations, sdk_listInvoices as listInvoices, sdk_listKeywords as listKeywords, sdk_listLedger as listLedger, sdk_listMembers as listMembers, sdk_listMentionComments as listMentionComments, sdk_listPeople as listPeople, sdk_listPersonActivities as listPersonActivities, sdk_listSegmentPresets as listSegmentPresets, sdk_listSegments as listSegments, sdk_listViews as listViews, sdk_logPersonActivity as logPersonActivity, sdk_mergePeople as mergePeople, sdk_muteAlertAuthors as muteAlertAuthors, sdk_removeMember as removeMember, sdk_revokeApiKey as revokeApiKey, sdk_revokeInvitation as revokeInvitation, sdk_rotateWebhookSecret as rotateWebhookSecret, sdk_runAlertDigest as runAlertDigest, sdk_searchMentions as searchMentions, sdk_splitPerson as splitPerson, sdk_testAlert as testAlert, sdk_testChannel as testChannel, sdk_unmuteAlertAuthors as unmuteAlertAuthors, sdk_updateAlert as updateAlert, sdk_updateChannel as updateChannel, sdk_updateCompany as updateCompany, sdk_updateFeed as updateFeed, sdk_updateFilters as updateFilters, sdk_updateGroup as updateGroup, sdk_updateKeyword as updateKeyword, sdk_updateMention as updateMention, sdk_updatePerson as updatePerson, sdk_updateSegment as updateSegment, sdk_updateView as updateView, sdk_whoami as whoami };
|
|
14457
|
+
export { type sdk_Options as Options, sdk_createAlert as createAlert, sdk_createApiKey as createApiKey, sdk_createAutomation as createAutomation, sdk_createChannel as createChannel, sdk_createFeed as createFeed, sdk_createGroup as createGroup, sdk_createInvitation as createInvitation, sdk_createKeyword as createKeyword, sdk_createSegment as createSegment, sdk_createTopUp as createTopUp, sdk_createView as createView, sdk_deleteAlert as deleteAlert, sdk_deleteAutomation as deleteAutomation, sdk_deleteChannel as deleteChannel, sdk_deleteFeed as deleteFeed, sdk_deleteGroup as deleteGroup, sdk_deleteKeyword as deleteKeyword, sdk_deletePersonActivity as deletePersonActivity, sdk_deleteSegment as deleteSegment, sdk_deleteView as deleteView, sdk_dismissAttention as dismissAttention, sdk_duplicateKeyword as duplicateKeyword, sdk_exportMentionsCsv as exportMentionsCsv, sdk_exportMentionsJson as exportMentionsJson, sdk_exportPeopleCsv as exportPeopleCsv, sdk_getAlert as getAlert, sdk_getAnalyticsBreakdown as getAnalyticsBreakdown, sdk_getAnalyticsSeries as getAnalyticsSeries, sdk_getAnalyticsSummary as getAnalyticsSummary, sdk_getAutomation as getAutomation, sdk_getChannel as getChannel, sdk_getCompany as getCompany, sdk_getFeed as getFeed, sdk_getFilters as getFilters, sdk_getGroup as getGroup, sdk_getHealth as getHealth, sdk_getInvoiceUrl as getInvoiceUrl, sdk_getKeyword as getKeyword, sdk_getKeywordHealth as getKeywordHealth, sdk_getMention as getMention, sdk_getPerson as getPerson, sdk_getReviewsReport as getReviewsReport, sdk_getSegment as getSegment, sdk_getShareOfVoice as getShareOfVoice, sdk_getUsage as getUsage, sdk_getUsageBreakdown as getUsageBreakdown, sdk_getView as getView, sdk_getWallet as getWallet, sdk_importFeeds as importFeeds, sdk_listAlerts as listAlerts, sdk_listApiKeys as listApiKeys, sdk_listAttention as listAttention, sdk_listAutomations as listAutomations, sdk_listChannelDeliveries as listChannelDeliveries, sdk_listChannels as listChannels, sdk_listFeeds as listFeeds, sdk_listGroups as listGroups, sdk_listInvitations as listInvitations, sdk_listInvoices as listInvoices, sdk_listKeywords as listKeywords, sdk_listLabels as listLabels, sdk_listLedger as listLedger, sdk_listMembers as listMembers, sdk_listMentionComments as listMentionComments, sdk_listPeople as listPeople, sdk_listPersonActivities as listPersonActivities, sdk_listSegmentPresets as listSegmentPresets, sdk_listSegments as listSegments, sdk_listViews as listViews, sdk_logPersonActivity as logPersonActivity, sdk_mergePeople as mergePeople, sdk_muteAlertAuthors as muteAlertAuthors, sdk_removeMember as removeMember, sdk_revokeApiKey as revokeApiKey, sdk_revokeInvitation as revokeInvitation, sdk_rotateWebhookSecret as rotateWebhookSecret, sdk_runAlertDigest as runAlertDigest, sdk_searchMentions as searchMentions, sdk_splitPerson as splitPerson, sdk_testAlert as testAlert, sdk_testChannel as testChannel, sdk_unmuteAlertAuthors as unmuteAlertAuthors, sdk_updateAlert as updateAlert, sdk_updateAutomation as updateAutomation, sdk_updateChannel as updateChannel, sdk_updateCompany as updateCompany, sdk_updateFeed as updateFeed, sdk_updateFilters as updateFilters, sdk_updateGroup as updateGroup, sdk_updateKeyword as updateKeyword, sdk_updateMention as updateMention, sdk_updateMentions as updateMentions, sdk_updatePerson as updatePerson, sdk_updateSegment as updateSegment, sdk_updateView as updateView, sdk_whoami as whoami };
|
|
13153
14458
|
}
|
|
13154
14459
|
|
|
13155
14460
|
/**
|
|
@@ -13177,4 +14482,4 @@ type Mentio = typeof sdk & {
|
|
|
13177
14482
|
};
|
|
13178
14483
|
declare function createMentio(options: MentioOptions): Mentio;
|
|
13179
14484
|
|
|
13180
|
-
export { type Alert, type AnalyticsBreakdown, type AnalyticsSeries, type AnalyticsSummary, type AttentionItem, type Channel, type ChannelFailingEventData, type Client, type ClientOptions, type Company, type Config, type CreateAlertData, type CreateAlertError, type CreateAlertErrors, type CreateAlertResponse, type CreateAlertResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChannelData, type CreateChannelError, type CreateChannelErrors, type CreateChannelResponse, type CreateChannelResponses, type CreateEmailChannel, type CreateFeedData, type CreateFeedError, type CreateFeedErrors, type CreateFeedResponse, type CreateFeedResponses, type CreateGroupData, type CreateGroupError, type CreateGroupErrors, type CreateGroupResponse, type CreateGroupResponses, type CreateInvitationData, type CreateInvitationError, type CreateInvitationErrors, type CreateInvitationResponse, type CreateInvitationResponses, type CreateKeywordData, type CreateKeywordError, type CreateKeywordErrors, type CreateKeywordResponse, type CreateKeywordResponses, type CreateSegmentData, type CreateSegmentError, type CreateSegmentErrors, type CreateSegmentResponse, type CreateSegmentResponses, type CreateSlackChannel, type CreateTopUpData, type CreateTopUpError, type CreateTopUpErrors, type CreateTopUpResponse, type CreateTopUpResponses, type CreateViewData, type CreateViewError, type CreateViewErrors, type CreateViewResponse, type CreateViewResponses, type CreateWebhookChannel, DEFAULT_BASE_URL, type DeleteAlertData, type DeleteAlertError, type DeleteAlertErrors, type DeleteAlertResponse, type DeleteAlertResponses, type DeleteChannelData, type DeleteChannelError, type DeleteChannelErrors, type DeleteChannelResponse, type DeleteChannelResponses, type DeleteFeedData, type DeleteFeedError, type DeleteFeedErrors, type DeleteFeedResponse, type DeleteFeedResponses, type DeleteGroupData, type DeleteGroupError, type DeleteGroupErrors, type DeleteGroupResponse, type DeleteGroupResponses, type DeleteKeywordData, type DeleteKeywordError, type DeleteKeywordErrors, type DeleteKeywordResponse, type DeleteKeywordResponses, type DeletePersonActivityData, type DeletePersonActivityError, type DeletePersonActivityErrors, type DeletePersonActivityResponse, type DeletePersonActivityResponses, type DeleteSegmentData, type DeleteSegmentError, type DeleteSegmentErrors, type DeleteSegmentResponse, type DeleteSegmentResponses, type DeleteViewData, type DeleteViewError, type DeleteViewErrors, type DeleteViewResponse, type DeleteViewResponses, type DismissAttentionData, type DismissAttentionError, type DismissAttentionErrors, type DismissAttentionResponse, type DismissAttentionResponses, type DuplicateKeywordData, type DuplicateKeywordError, type DuplicateKeywordErrors, type DuplicateKeywordResponse, type DuplicateKeywordResponses, type EmailChannel, type ErrorResponse, type ExportMentionsCsvData, type ExportMentionsCsvError, type ExportMentionsCsvErrors, type ExportMentionsCsvResponse, type ExportMentionsCsvResponses, type ExportMentionsJsonData, type ExportMentionsJsonError, type ExportMentionsJsonErrors, type ExportMentionsJsonResponse, type ExportMentionsJsonResponses, type ExportPeopleCsvData, type ExportPeopleCsvError, type ExportPeopleCsvErrors, type ExportPeopleCsvResponse, type ExportPeopleCsvResponses, type Feed, type FeedFailingEventData, type FilterGroup, type GetAlertData, type GetAlertError, type GetAlertErrors, type GetAlertResponse, type GetAlertResponses, type GetAnalyticsBreakdownData, type GetAnalyticsBreakdownError, type GetAnalyticsBreakdownErrors, type GetAnalyticsBreakdownResponse, type GetAnalyticsBreakdownResponses, type GetAnalyticsSeriesData, type GetAnalyticsSeriesError, type GetAnalyticsSeriesErrors, type GetAnalyticsSeriesResponse, type GetAnalyticsSeriesResponses, type GetAnalyticsSummaryData, type GetAnalyticsSummaryError, type GetAnalyticsSummaryErrors, type GetAnalyticsSummaryResponse, type GetAnalyticsSummaryResponses, type GetChannelData, type GetChannelError, type GetChannelErrors, type GetChannelResponse, type GetChannelResponses, type GetCompanyData, type GetCompanyError, type GetCompanyErrors, type GetCompanyResponse, type GetCompanyResponses, type GetFeedData, type GetFeedError, type GetFeedErrors, type GetFeedResponse, type GetFeedResponses, type GetFiltersData, type GetFiltersError, type GetFiltersErrors, type GetFiltersResponse, type GetFiltersResponses, type GetGroupData, type GetGroupError, type GetGroupErrors, type GetGroupResponse, type GetGroupResponses, type GetHealthData, type GetHealthResponse, type GetHealthResponses, type GetInvoiceUrlData, type GetInvoiceUrlError, type GetInvoiceUrlErrors, type GetInvoiceUrlResponse, type GetInvoiceUrlResponses, type GetKeywordData, type GetKeywordError, type GetKeywordErrors, type GetKeywordHealthData, type GetKeywordHealthError, type GetKeywordHealthErrors, type GetKeywordHealthResponse, type GetKeywordHealthResponses, type GetKeywordResponse, type GetKeywordResponses, type GetMentionData, type GetMentionError, type GetMentionErrors, type GetMentionResponse, type GetMentionResponses, type GetPersonData, type GetPersonError, type GetPersonErrors, type GetPersonResponse, type GetPersonResponses, type GetReviewsReportData, type GetReviewsReportError, type GetReviewsReportErrors, type GetReviewsReportResponse, type GetReviewsReportResponses, type GetSegmentData, type GetSegmentError, type GetSegmentErrors, type GetSegmentResponse, type GetSegmentResponses, type GetShareOfVoiceData, type GetShareOfVoiceError, type GetShareOfVoiceErrors, type GetShareOfVoiceResponse, type GetShareOfVoiceResponses, type GetUsageBreakdownData, type GetUsageBreakdownError, type GetUsageBreakdownErrors, type GetUsageBreakdownResponse, type GetUsageBreakdownResponses, type GetUsageData, type GetUsageError, type GetUsageErrors, type GetUsageResponse, type GetUsageResponses, type GetViewData, type GetViewError, type GetViewErrors, type GetViewResponse, type GetViewResponses, type GetWalletData, type GetWalletError, type GetWalletErrors, type GetWalletResponse, type GetWalletResponses, type Group, type GroupRef, type ImportFeedsData, type ImportFeedsError, type ImportFeedsErrors, type ImportFeedsResponse, type ImportFeedsResponses, type Invitation, type InvoiceList, type Keyword, type KeywordFeed, type KeywordHealth, type KeywordNoisyEventData, type KeywordSuggestion, type LedgerList, type ListAlertsData, type ListAlertsError, type ListAlertsErrors, type ListAlertsResponse, type ListAlertsResponses, type ListApiKeysData, type ListApiKeysError, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListAttentionData, type ListAttentionError, type ListAttentionErrors, type ListAttentionResponse, type ListAttentionResponses, type ListChannelDeliveriesData, type ListChannelDeliveriesError, type ListChannelDeliveriesErrors, type ListChannelDeliveriesResponse, type ListChannelDeliveriesResponses, type ListChannelsData, type ListChannelsError, type ListChannelsErrors, type ListChannelsResponse, type ListChannelsResponses, type ListFeedsData, type ListFeedsError, type ListFeedsErrors, type ListFeedsResponse, type ListFeedsResponses, type ListGroupsData, type ListGroupsError, type ListGroupsErrors, type ListGroupsResponse, type ListGroupsResponses, type ListInvitationsData, type ListInvitationsError, type ListInvitationsErrors, type ListInvitationsResponse, type ListInvitationsResponses, type ListInvoicesData, type ListInvoicesError, type ListInvoicesErrors, type ListInvoicesResponse, type ListInvoicesResponses, type ListKeywordsData, type ListKeywordsError, type ListKeywordsErrors, type ListKeywordsResponse, type ListKeywordsResponses, type ListLedgerData, type ListLedgerError, type ListLedgerErrors, type ListLedgerResponse, type ListLedgerResponses, type ListMembersData, type ListMembersError, type ListMembersErrors, type ListMembersResponse, type ListMembersResponses, type ListMentionCommentsData, type ListMentionCommentsError, type ListMentionCommentsErrors, type ListMentionCommentsResponse, type ListMentionCommentsResponses, type ListPeopleData, type ListPeopleError, type ListPeopleErrors, type ListPeopleResponse, type ListPeopleResponses, type ListPersonActivitiesData, type ListPersonActivitiesError, type ListPersonActivitiesErrors, type ListPersonActivitiesResponse, type ListPersonActivitiesResponses, type ListSegmentPresetsData, type ListSegmentPresetsError, type ListSegmentPresetsErrors, type ListSegmentPresetsResponse, type ListSegmentPresetsResponses, type ListSegmentsData, type ListSegmentsError, type ListSegmentsErrors, type ListSegmentsResponse, type ListSegmentsResponses, type ListViewsData, type ListViewsError, type ListViewsErrors, type ListViewsResponse, type ListViewsResponses, type LogPersonActivityData, type LogPersonActivityError, type LogPersonActivityErrors, type LogPersonActivityResponse, type LogPersonActivityResponses, type Member, type Mentio, type MentioOptions, type Mention, type MentionComment, type MentionSpikeEventData, type MergePeopleData, type MergePeopleError, type MergePeopleErrors, type MergePeopleResponse, type MergePeopleResponses, type MuteAlertAuthorsData, type MuteAlertAuthorsError, type MuteAlertAuthorsErrors, type MuteAlertAuthorsResponse, type MuteAlertAuthorsResponses, type NegativeSpikeEventData, type Options, type Person, type PersonActivity, type RemoveMemberData, type RemoveMemberError, type RemoveMemberErrors, type RemoveMemberResponse, type RemoveMemberResponses, type RequestResult, type ReviewSource, type ReviewsReport, type RevokeApiKeyData, type RevokeApiKeyError, type RevokeApiKeyErrors, type RevokeApiKeyResponse, type RevokeApiKeyResponses, type RevokeInvitationData, type RevokeInvitationError, type RevokeInvitationErrors, type RevokeInvitationResponse, type RevokeInvitationResponses, type RotateWebhookSecretData, type RotateWebhookSecretError, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RunAlertDigestData, type RunAlertDigestError, type RunAlertDigestErrors, type RunAlertDigestResponse, type RunAlertDigestResponses, type SearchMentionsData, type SearchMentionsError, type SearchMentionsErrors, type SearchMentionsResponse, type SearchMentionsResponses, type Segment, type SegmentPreset, type ShareOfVoice, type SlackChannel, type SplitPersonData, type SplitPersonError, type SplitPersonErrors, type SplitPersonResponse, type SplitPersonResponses, type TelegramChannel, type TestAlertData, type TestAlertError, type TestAlertErrors, type TestAlertResponse, type TestAlertResponses, type TestChannelData, type TestChannelError, type TestChannelErrors, type TestChannelResponse, type TestChannelResponses, type UnmuteAlertAuthorsData, type UnmuteAlertAuthorsError, type UnmuteAlertAuthorsErrors, type UnmuteAlertAuthorsResponse, type UnmuteAlertAuthorsResponses, type UpdateAlertData, type UpdateAlertError, type UpdateAlertErrors, type UpdateAlertResponse, type UpdateAlertResponses, type UpdateChannelData, type UpdateChannelError, type UpdateChannelErrors, type UpdateChannelResponse, type UpdateChannelResponses, type UpdateCompanyData, type UpdateCompanyError, type UpdateCompanyErrors, type UpdateCompanyResponse, type UpdateCompanyResponses, type UpdateFeedData, type UpdateFeedError, type UpdateFeedErrors, type UpdateFeedResponse, type UpdateFeedResponses, type UpdateFiltersData, type UpdateFiltersError, type UpdateFiltersErrors, type UpdateFiltersResponse, type UpdateFiltersResponses, type UpdateGroupData, type UpdateGroupError, type UpdateGroupErrors, type UpdateGroupResponse, type UpdateGroupResponses, type UpdateKeywordData, type UpdateKeywordError, type UpdateKeywordErrors, type UpdateKeywordResponse, type UpdateKeywordResponses, type UpdateMentionData, type UpdateMentionError, type UpdateMentionErrors, type UpdateMentionResponse, type UpdateMentionResponses, type UpdatePersonData, type UpdatePersonError, type UpdatePersonErrors, type UpdatePersonResponse, type UpdatePersonResponses, type UpdateSegmentData, type UpdateSegmentError, type UpdateSegmentErrors, type UpdateSegmentResponse, type UpdateSegmentResponses, type UpdateViewData, type UpdateViewError, type UpdateViewErrors, type UpdateViewResponse, type UpdateViewResponses, type UsageBreakdown, type UsageSummary, type View, type Wallet, type WebhookChannel, type Whoami, type WhoamiData, type WhoamiError, type WhoamiErrors, type WhoamiResponse, type WhoamiResponses, type WorkspaceFilters, createAlert, createApiKey, createChannel, createClient, createConfig, createFeed, createGroup, createInvitation, createKeyword, createMentio, createSegment, createTopUp, createView, deleteAlert, deleteChannel, deleteFeed, deleteGroup, deleteKeyword, deletePersonActivity, deleteSegment, deleteView, dismissAttention, duplicateKeyword, exportMentionsCsv, exportMentionsJson, exportPeopleCsv, getAlert, getAnalyticsBreakdown, getAnalyticsSeries, getAnalyticsSummary, getChannel, getCompany, getFeed, getFilters, getGroup, getHealth, getInvoiceUrl, getKeyword, getKeywordHealth, getMention, getPerson, getReviewsReport, getSegment, getShareOfVoice, getUsage, getUsageBreakdown, getView, getWallet, importFeeds, listAlerts, listApiKeys, listAttention, listChannelDeliveries, listChannels, listFeeds, listGroups, listInvitations, listInvoices, listKeywords, listLedger, listMembers, listMentionComments, listPeople, listPersonActivities, listSegmentPresets, listSegments, listViews, logPersonActivity, mergePeople, muteAlertAuthors, removeMember, revokeApiKey, revokeInvitation, rotateWebhookSecret, runAlertDigest, searchMentions, splitPerson, testAlert, testChannel, unmuteAlertAuthors, updateAlert, updateChannel, updateCompany, updateFeed, updateFilters, updateGroup, updateKeyword, updateMention, updatePerson, updateSegment, updateView, whoami };
|
|
14485
|
+
export { type Alert, type AnalyticsBreakdown, type AnalyticsSeries, type AnalyticsSummary, type AttentionItem, type Automation, type Channel, type ChannelFailingEventData, type Client, type ClientOptions, type Company, type Config, type CreateAlertData, type CreateAlertError, type CreateAlertErrors, type CreateAlertResponse, type CreateAlertResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateAutomationData, type CreateAutomationError, type CreateAutomationErrors, type CreateAutomationResponse, type CreateAutomationResponses, type CreateChannelData, type CreateChannelError, type CreateChannelErrors, type CreateChannelResponse, type CreateChannelResponses, type CreateEmailChannel, type CreateFeedData, type CreateFeedError, type CreateFeedErrors, type CreateFeedResponse, type CreateFeedResponses, type CreateGroupData, type CreateGroupError, type CreateGroupErrors, type CreateGroupResponse, type CreateGroupResponses, type CreateInvitationData, type CreateInvitationError, type CreateInvitationErrors, type CreateInvitationResponse, type CreateInvitationResponses, type CreateKeywordData, type CreateKeywordError, type CreateKeywordErrors, type CreateKeywordResponse, type CreateKeywordResponses, type CreateSegmentData, type CreateSegmentError, type CreateSegmentErrors, type CreateSegmentResponse, type CreateSegmentResponses, type CreateSlackChannel, type CreateTopUpData, type CreateTopUpError, type CreateTopUpErrors, type CreateTopUpResponse, type CreateTopUpResponses, type CreateViewData, type CreateViewError, type CreateViewErrors, type CreateViewResponse, type CreateViewResponses, type CreateWebhookChannel, DEFAULT_BASE_URL, type DeleteAlertData, type DeleteAlertError, type DeleteAlertErrors, type DeleteAlertResponse, type DeleteAlertResponses, type DeleteAutomationData, type DeleteAutomationError, type DeleteAutomationErrors, type DeleteAutomationResponse, type DeleteAutomationResponses, type DeleteChannelData, type DeleteChannelError, type DeleteChannelErrors, type DeleteChannelResponse, type DeleteChannelResponses, type DeleteFeedData, type DeleteFeedError, type DeleteFeedErrors, type DeleteFeedResponse, type DeleteFeedResponses, type DeleteGroupData, type DeleteGroupError, type DeleteGroupErrors, type DeleteGroupResponse, type DeleteGroupResponses, type DeleteKeywordData, type DeleteKeywordError, type DeleteKeywordErrors, type DeleteKeywordResponse, type DeleteKeywordResponses, type DeletePersonActivityData, type DeletePersonActivityError, type DeletePersonActivityErrors, type DeletePersonActivityResponse, type DeletePersonActivityResponses, type DeleteSegmentData, type DeleteSegmentError, type DeleteSegmentErrors, type DeleteSegmentResponse, type DeleteSegmentResponses, type DeleteViewData, type DeleteViewError, type DeleteViewErrors, type DeleteViewResponse, type DeleteViewResponses, type DismissAttentionData, type DismissAttentionError, type DismissAttentionErrors, type DismissAttentionResponse, type DismissAttentionResponses, type DuplicateKeywordData, type DuplicateKeywordError, type DuplicateKeywordErrors, type DuplicateKeywordResponse, type DuplicateKeywordResponses, type EmailChannel, type ErrorResponse, type ExportMentionsCsvData, type ExportMentionsCsvError, type ExportMentionsCsvErrors, type ExportMentionsCsvResponse, type ExportMentionsCsvResponses, type ExportMentionsJsonData, type ExportMentionsJsonError, type ExportMentionsJsonErrors, type ExportMentionsJsonResponse, type ExportMentionsJsonResponses, type ExportPeopleCsvData, type ExportPeopleCsvError, type ExportPeopleCsvErrors, type ExportPeopleCsvResponse, type ExportPeopleCsvResponses, type Feed, type FeedFailingEventData, type FilterGroup, type GetAlertData, type GetAlertError, type GetAlertErrors, type GetAlertResponse, type GetAlertResponses, type GetAnalyticsBreakdownData, type GetAnalyticsBreakdownError, type GetAnalyticsBreakdownErrors, type GetAnalyticsBreakdownResponse, type GetAnalyticsBreakdownResponses, type GetAnalyticsSeriesData, type GetAnalyticsSeriesError, type GetAnalyticsSeriesErrors, type GetAnalyticsSeriesResponse, type GetAnalyticsSeriesResponses, type GetAnalyticsSummaryData, type GetAnalyticsSummaryError, type GetAnalyticsSummaryErrors, type GetAnalyticsSummaryResponse, type GetAnalyticsSummaryResponses, type GetAutomationData, type GetAutomationError, type GetAutomationErrors, type GetAutomationResponse, type GetAutomationResponses, type GetChannelData, type GetChannelError, type GetChannelErrors, type GetChannelResponse, type GetChannelResponses, type GetCompanyData, type GetCompanyError, type GetCompanyErrors, type GetCompanyResponse, type GetCompanyResponses, type GetFeedData, type GetFeedError, type GetFeedErrors, type GetFeedResponse, type GetFeedResponses, type GetFiltersData, type GetFiltersError, type GetFiltersErrors, type GetFiltersResponse, type GetFiltersResponses, type GetGroupData, type GetGroupError, type GetGroupErrors, type GetGroupResponse, type GetGroupResponses, type GetHealthData, type GetHealthResponse, type GetHealthResponses, type GetInvoiceUrlData, type GetInvoiceUrlError, type GetInvoiceUrlErrors, type GetInvoiceUrlResponse, type GetInvoiceUrlResponses, type GetKeywordData, type GetKeywordError, type GetKeywordErrors, type GetKeywordHealthData, type GetKeywordHealthError, type GetKeywordHealthErrors, type GetKeywordHealthResponse, type GetKeywordHealthResponses, type GetKeywordResponse, type GetKeywordResponses, type GetMentionData, type GetMentionError, type GetMentionErrors, type GetMentionResponse, type GetMentionResponses, type GetPersonData, type GetPersonError, type GetPersonErrors, type GetPersonResponse, type GetPersonResponses, type GetReviewsReportData, type GetReviewsReportError, type GetReviewsReportErrors, type GetReviewsReportResponse, type GetReviewsReportResponses, type GetSegmentData, type GetSegmentError, type GetSegmentErrors, type GetSegmentResponse, type GetSegmentResponses, type GetShareOfVoiceData, type GetShareOfVoiceError, type GetShareOfVoiceErrors, type GetShareOfVoiceResponse, type GetShareOfVoiceResponses, type GetUsageBreakdownData, type GetUsageBreakdownError, type GetUsageBreakdownErrors, type GetUsageBreakdownResponse, type GetUsageBreakdownResponses, type GetUsageData, type GetUsageError, type GetUsageErrors, type GetUsageResponse, type GetUsageResponses, type GetViewData, type GetViewError, type GetViewErrors, type GetViewResponse, type GetViewResponses, type GetWalletData, type GetWalletError, type GetWalletErrors, type GetWalletResponse, type GetWalletResponses, type Group, type GroupRef, type ImportFeedsData, type ImportFeedsError, type ImportFeedsErrors, type ImportFeedsResponse, type ImportFeedsResponses, type Invitation, type InvoiceList, type Keyword, type KeywordFeed, type KeywordHealth, type KeywordNoisyEventData, type KeywordSuggestion, type LedgerList, type ListAlertsData, type ListAlertsError, type ListAlertsErrors, type ListAlertsResponse, type ListAlertsResponses, type ListApiKeysData, type ListApiKeysError, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListAttentionData, type ListAttentionError, type ListAttentionErrors, type ListAttentionResponse, type ListAttentionResponses, type ListAutomationsData, type ListAutomationsError, type ListAutomationsErrors, type ListAutomationsResponse, type ListAutomationsResponses, type ListChannelDeliveriesData, type ListChannelDeliveriesError, type ListChannelDeliveriesErrors, type ListChannelDeliveriesResponse, type ListChannelDeliveriesResponses, type ListChannelsData, type ListChannelsError, type ListChannelsErrors, type ListChannelsResponse, type ListChannelsResponses, type ListFeedsData, type ListFeedsError, type ListFeedsErrors, type ListFeedsResponse, type ListFeedsResponses, type ListGroupsData, type ListGroupsError, type ListGroupsErrors, type ListGroupsResponse, type ListGroupsResponses, type ListInvitationsData, type ListInvitationsError, type ListInvitationsErrors, type ListInvitationsResponse, type ListInvitationsResponses, type ListInvoicesData, type ListInvoicesError, type ListInvoicesErrors, type ListInvoicesResponse, type ListInvoicesResponses, type ListKeywordsData, type ListKeywordsError, type ListKeywordsErrors, type ListKeywordsResponse, type ListKeywordsResponses, type ListLabelsData, type ListLabelsError, type ListLabelsErrors, type ListLabelsResponse, type ListLabelsResponses, type ListLedgerData, type ListLedgerError, type ListLedgerErrors, type ListLedgerResponse, type ListLedgerResponses, type ListMembersData, type ListMembersError, type ListMembersErrors, type ListMembersResponse, type ListMembersResponses, type ListMentionCommentsData, type ListMentionCommentsError, type ListMentionCommentsErrors, type ListMentionCommentsResponse, type ListMentionCommentsResponses, type ListPeopleData, type ListPeopleError, type ListPeopleErrors, type ListPeopleResponse, type ListPeopleResponses, type ListPersonActivitiesData, type ListPersonActivitiesError, type ListPersonActivitiesErrors, type ListPersonActivitiesResponse, type ListPersonActivitiesResponses, type ListSegmentPresetsData, type ListSegmentPresetsError, type ListSegmentPresetsErrors, type ListSegmentPresetsResponse, type ListSegmentPresetsResponses, type ListSegmentsData, type ListSegmentsError, type ListSegmentsErrors, type ListSegmentsResponse, type ListSegmentsResponses, type ListViewsData, type ListViewsError, type ListViewsErrors, type ListViewsResponse, type ListViewsResponses, type LogPersonActivityData, type LogPersonActivityError, type LogPersonActivityErrors, type LogPersonActivityResponse, type LogPersonActivityResponses, type Member, type Mentio, type MentioOptions, type Mention, type MentionBatchResult, type MentionComment, type MentionSpikeEventData, type MergePeopleData, type MergePeopleError, type MergePeopleErrors, type MergePeopleResponse, type MergePeopleResponses, type MuteAlertAuthorsData, type MuteAlertAuthorsError, type MuteAlertAuthorsErrors, type MuteAlertAuthorsResponse, type MuteAlertAuthorsResponses, type NegativeSpikeEventData, type Options, type Person, type PersonActivity, type RemoveMemberData, type RemoveMemberError, type RemoveMemberErrors, type RemoveMemberResponse, type RemoveMemberResponses, type RequestResult, type ReviewSource, type ReviewsReport, type RevokeApiKeyData, type RevokeApiKeyError, type RevokeApiKeyErrors, type RevokeApiKeyResponse, type RevokeApiKeyResponses, type RevokeInvitationData, type RevokeInvitationError, type RevokeInvitationErrors, type RevokeInvitationResponse, type RevokeInvitationResponses, type RotateWebhookSecretData, type RotateWebhookSecretError, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RunAlertDigestData, type RunAlertDigestError, type RunAlertDigestErrors, type RunAlertDigestResponse, type RunAlertDigestResponses, type SearchMentionsData, type SearchMentionsError, type SearchMentionsErrors, type SearchMentionsResponse, type SearchMentionsResponses, type Segment, type SegmentPreset, type ShareOfVoice, type SlackChannel, type SplitPersonData, type SplitPersonError, type SplitPersonErrors, type SplitPersonResponse, type SplitPersonResponses, type TelegramChannel, type TestAlertData, type TestAlertError, type TestAlertErrors, type TestAlertResponse, type TestAlertResponses, type TestChannelData, type TestChannelError, type TestChannelErrors, type TestChannelResponse, type TestChannelResponses, type UnmuteAlertAuthorsData, type UnmuteAlertAuthorsError, type UnmuteAlertAuthorsErrors, type UnmuteAlertAuthorsResponse, type UnmuteAlertAuthorsResponses, type UpdateAlertData, type UpdateAlertError, type UpdateAlertErrors, type UpdateAlertResponse, type UpdateAlertResponses, type UpdateAutomationData, type UpdateAutomationError, type UpdateAutomationErrors, type UpdateAutomationResponse, type UpdateAutomationResponses, type UpdateChannelData, type UpdateChannelError, type UpdateChannelErrors, type UpdateChannelResponse, type UpdateChannelResponses, type UpdateCompanyData, type UpdateCompanyError, type UpdateCompanyErrors, type UpdateCompanyResponse, type UpdateCompanyResponses, type UpdateFeedData, type UpdateFeedError, type UpdateFeedErrors, type UpdateFeedResponse, type UpdateFeedResponses, type UpdateFiltersData, type UpdateFiltersError, type UpdateFiltersErrors, type UpdateFiltersResponse, type UpdateFiltersResponses, type UpdateGroupData, type UpdateGroupError, type UpdateGroupErrors, type UpdateGroupResponse, type UpdateGroupResponses, type UpdateKeywordData, type UpdateKeywordError, type UpdateKeywordErrors, type UpdateKeywordResponse, type UpdateKeywordResponses, type UpdateMentionData, type UpdateMentionError, type UpdateMentionErrors, type UpdateMentionResponse, type UpdateMentionResponses, type UpdateMentionsData, type UpdateMentionsError, type UpdateMentionsErrors, type UpdateMentionsResponse, type UpdateMentionsResponses, type UpdatePersonData, type UpdatePersonError, type UpdatePersonErrors, type UpdatePersonResponse, type UpdatePersonResponses, type UpdateSegmentData, type UpdateSegmentError, type UpdateSegmentErrors, type UpdateSegmentResponse, type UpdateSegmentResponses, type UpdateViewData, type UpdateViewError, type UpdateViewErrors, type UpdateViewResponse, type UpdateViewResponses, type UsageBreakdown, type UsageSummary, type View, type Wallet, type WebhookChannel, type Whoami, type WhoamiData, type WhoamiError, type WhoamiErrors, type WhoamiResponse, type WhoamiResponses, type WorkspaceFilters, createAlert, createApiKey, createAutomation, createChannel, createClient, createConfig, createFeed, createGroup, createInvitation, createKeyword, createMentio, createSegment, createTopUp, createView, deleteAlert, deleteAutomation, deleteChannel, deleteFeed, deleteGroup, deleteKeyword, deletePersonActivity, deleteSegment, deleteView, dismissAttention, duplicateKeyword, exportMentionsCsv, exportMentionsJson, exportPeopleCsv, getAlert, getAnalyticsBreakdown, getAnalyticsSeries, getAnalyticsSummary, getAutomation, getChannel, getCompany, getFeed, getFilters, getGroup, getHealth, getInvoiceUrl, getKeyword, getKeywordHealth, getMention, getPerson, getReviewsReport, getSegment, getShareOfVoice, getUsage, getUsageBreakdown, getView, getWallet, importFeeds, listAlerts, listApiKeys, listAttention, listAutomations, listChannelDeliveries, listChannels, listFeeds, listGroups, listInvitations, listInvoices, listKeywords, listLabels, listLedger, listMembers, listMentionComments, listPeople, listPersonActivities, listSegmentPresets, listSegments, listViews, logPersonActivity, mergePeople, muteAlertAuthors, removeMember, revokeApiKey, revokeInvitation, rotateWebhookSecret, runAlertDigest, searchMentions, splitPerson, testAlert, testChannel, unmuteAlertAuthors, updateAlert, updateAutomation, updateChannel, updateCompany, updateFeed, updateFilters, updateGroup, updateKeyword, updateMention, updateMentions, updatePerson, updateSegment, updateView, whoami };
|