@mentio-dev/sdk 0.3.2 → 0.4.1
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 +498 -7
- package/dist/index.js +25 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -400,7 +400,7 @@ type ErrorResponse = {
|
|
|
400
400
|
/**
|
|
401
401
|
* 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.
|
|
402
402
|
*/
|
|
403
|
-
code: 'unauthorized' | 'forbidden' | 'read_only_key' | 'validation_error' | 'not_found' | 'invalid_cursor' | 'payload_too_large' | 'rate_limited' | 'duplicate_keyword' | 'insufficient_balance' | 'keyword_limit_reached' | 'billing_not_configured' | 'order_not_credited' | 'schedule_required' | 'unknown_channel' | 'not_a_digest' | 'slack_not_connected' | 'slack_not_configured' | 'telegram_not_configured' | 'email_not_configured' | 'invalid_assignee' | 'duplicate_segment' | 'invalid_signature' | 'webhook_not_configured' | 'invalid_token' | 'protected_user' | 'upstream_unavailable' | 'internal_error';
|
|
403
|
+
code: 'unauthorized' | 'forbidden' | 'read_only_key' | 'validation_error' | 'not_found' | 'invalid_cursor' | 'payload_too_large' | 'rate_limited' | 'duplicate_keyword' | 'insufficient_balance' | 'keyword_limit_reached' | 'billing_not_configured' | 'order_not_credited' | 'schedule_required' | 'unknown_channel' | 'not_a_digest' | 'slack_not_connected' | 'slack_not_configured' | 'telegram_not_configured' | 'email_not_configured' | 'invalid_assignee' | 'invalid_member' | 'duplicate_segment' | 'invalid_signature' | 'webhook_not_configured' | 'invalid_token' | 'protected_user' | 'upstream_unavailable' | 'internal_error';
|
|
404
404
|
/**
|
|
405
405
|
* Human-readable detail; may change between releases.
|
|
406
406
|
*/
|
|
@@ -679,6 +679,67 @@ type Person = {
|
|
|
679
679
|
*/
|
|
680
680
|
muted: boolean;
|
|
681
681
|
};
|
|
682
|
+
/**
|
|
683
|
+
* Where your workspace stands with the person. The first logged activity claims an unowned person for whoever reached out and moves not_contacted to contacted.
|
|
684
|
+
*/
|
|
685
|
+
outreach: {
|
|
686
|
+
/**
|
|
687
|
+
* The teammate who owns the contact; null when nobody does, or the owner left the workspace.
|
|
688
|
+
*/
|
|
689
|
+
owner: {
|
|
690
|
+
/**
|
|
691
|
+
* User id of the workspace member.
|
|
692
|
+
*/
|
|
693
|
+
id: string;
|
|
694
|
+
name: string | null;
|
|
695
|
+
email: string | null;
|
|
696
|
+
} | null;
|
|
697
|
+
/**
|
|
698
|
+
* Where your workspace stands with the person: not_contacted, contacted, replied, in_talks, customer or not_a_fit.
|
|
699
|
+
*/
|
|
700
|
+
stage: 'not_contacted' | 'contacted' | 'replied' | 'in_talks' | 'customer' | 'not_a_fit';
|
|
701
|
+
/**
|
|
702
|
+
* The newest logged activity; null when nobody logged a contact.
|
|
703
|
+
*/
|
|
704
|
+
lastContactedAt: string | null;
|
|
705
|
+
};
|
|
706
|
+
};
|
|
707
|
+
type PersonActivity = {
|
|
708
|
+
/**
|
|
709
|
+
* Activity id (act_...).
|
|
710
|
+
*/
|
|
711
|
+
id: string;
|
|
712
|
+
/**
|
|
713
|
+
* The person it belongs to (aut_...).
|
|
714
|
+
*/
|
|
715
|
+
personId: string;
|
|
716
|
+
/**
|
|
717
|
+
* How they were reached: email, x, linkedin, bluesky, reddit, github, call, meeting or other.
|
|
718
|
+
*/
|
|
719
|
+
channel: 'email' | 'x' | 'linkedin' | 'bluesky' | 'reddit' | 'github' | 'call' | 'meeting' | 'other';
|
|
720
|
+
/**
|
|
721
|
+
* What was sent or said, briefly; empty when nothing was written.
|
|
722
|
+
*/
|
|
723
|
+
note: string;
|
|
724
|
+
/**
|
|
725
|
+
* Who reached out; null when an API key logged it without naming a member, or that member left the workspace.
|
|
726
|
+
*/
|
|
727
|
+
member: {
|
|
728
|
+
/**
|
|
729
|
+
* User id of the workspace member.
|
|
730
|
+
*/
|
|
731
|
+
id: string;
|
|
732
|
+
name: string | null;
|
|
733
|
+
email: string | null;
|
|
734
|
+
} | null;
|
|
735
|
+
/**
|
|
736
|
+
* When the contact happened.
|
|
737
|
+
*/
|
|
738
|
+
occurredAt: string;
|
|
739
|
+
/**
|
|
740
|
+
* When it was logged.
|
|
741
|
+
*/
|
|
742
|
+
createdAt: string;
|
|
682
743
|
};
|
|
683
744
|
type Segment = {
|
|
684
745
|
/**
|
|
@@ -724,6 +785,18 @@ type Segment = {
|
|
|
724
785
|
* Never mentioned a keyword of these kinds.
|
|
725
786
|
*/
|
|
726
787
|
neverKeywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
|
|
788
|
+
/**
|
|
789
|
+
* Nobody with an account on these platforms.
|
|
790
|
+
*/
|
|
791
|
+
notPlatforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin'>;
|
|
792
|
+
/**
|
|
793
|
+
* Nobody carrying any of these tags.
|
|
794
|
+
*/
|
|
795
|
+
notTags?: Array<string>;
|
|
796
|
+
/**
|
|
797
|
+
* Nobody whose mentions carry any of these intents.
|
|
798
|
+
*/
|
|
799
|
+
notIntents?: Array<string>;
|
|
727
800
|
/**
|
|
728
801
|
* First seen within this many days.
|
|
729
802
|
*/
|
|
@@ -736,6 +809,14 @@ type Segment = {
|
|
|
736
809
|
* true: only muted people; false: only unmuted.
|
|
737
810
|
*/
|
|
738
811
|
muted?: boolean;
|
|
812
|
+
/**
|
|
813
|
+
* People at any of these outreach stages.
|
|
814
|
+
*/
|
|
815
|
+
stages?: Array<'not_contacted' | 'contacted' | 'replied' | 'in_talks' | 'customer' | 'not_a_fit'>;
|
|
816
|
+
/**
|
|
817
|
+
* People owned by any of these members (user ids); "none" matches people nobody owns.
|
|
818
|
+
*/
|
|
819
|
+
ownerIds?: Array<string>;
|
|
739
820
|
};
|
|
740
821
|
/**
|
|
741
822
|
* People in the segment right now; it is evaluated on every read.
|
|
@@ -2068,6 +2149,46 @@ type SearchMentionsData = {
|
|
|
2068
2149
|
* Only posts linking to any of these hosts, the host itself or a subdomain of it (octolens.com also matches blog.octolens.com). Repeatable, or comma-separated.
|
|
2069
2150
|
*/
|
|
2070
2151
|
linkHosts?: Array<string> | null;
|
|
2152
|
+
/**
|
|
2153
|
+
* Only posts from any of these platforms.
|
|
2154
|
+
*/
|
|
2155
|
+
platforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin'>;
|
|
2156
|
+
/**
|
|
2157
|
+
* Never posts from these platforms.
|
|
2158
|
+
*/
|
|
2159
|
+
notPlatforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin'>;
|
|
2160
|
+
/**
|
|
2161
|
+
* Only matches of any of these keywords.
|
|
2162
|
+
*/
|
|
2163
|
+
keywordIds?: Array<string> | null;
|
|
2164
|
+
/**
|
|
2165
|
+
* Never matches of these keywords.
|
|
2166
|
+
*/
|
|
2167
|
+
notKeywordIds?: Array<string> | null;
|
|
2168
|
+
/**
|
|
2169
|
+
* Only these sentiments.
|
|
2170
|
+
*/
|
|
2171
|
+
sentiments?: Array<'positive' | 'neutral' | 'negative'>;
|
|
2172
|
+
/**
|
|
2173
|
+
* Never these sentiments. A mention the classifier has not scored yet still passes.
|
|
2174
|
+
*/
|
|
2175
|
+
notSentiments?: Array<'positive' | 'neutral' | 'negative'>;
|
|
2176
|
+
/**
|
|
2177
|
+
* Only mentions carrying any of these intents.
|
|
2178
|
+
*/
|
|
2179
|
+
intents?: Array<string> | null;
|
|
2180
|
+
/**
|
|
2181
|
+
* Never mentions carrying these intents.
|
|
2182
|
+
*/
|
|
2183
|
+
notIntents?: Array<string> | null;
|
|
2184
|
+
/**
|
|
2185
|
+
* Never posts linking to these hosts, the host itself or a subdomain of it.
|
|
2186
|
+
*/
|
|
2187
|
+
notLinkHosts?: Array<string> | null;
|
|
2188
|
+
/**
|
|
2189
|
+
* Never authors your workspace tagged with any of these.
|
|
2190
|
+
*/
|
|
2191
|
+
notTags?: Array<string> | null;
|
|
2071
2192
|
/**
|
|
2072
2193
|
* Substring search in the post text.
|
|
2073
2194
|
*/
|
|
@@ -2183,6 +2304,46 @@ type ExportMentionsCsvData = {
|
|
|
2183
2304
|
* Only posts linking to any of these hosts, the host itself or a subdomain of it (octolens.com also matches blog.octolens.com). Repeatable, or comma-separated.
|
|
2184
2305
|
*/
|
|
2185
2306
|
linkHosts?: Array<string> | null;
|
|
2307
|
+
/**
|
|
2308
|
+
* Only posts from any of these platforms.
|
|
2309
|
+
*/
|
|
2310
|
+
platforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin'>;
|
|
2311
|
+
/**
|
|
2312
|
+
* Never posts from these platforms.
|
|
2313
|
+
*/
|
|
2314
|
+
notPlatforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin'>;
|
|
2315
|
+
/**
|
|
2316
|
+
* Only matches of any of these keywords.
|
|
2317
|
+
*/
|
|
2318
|
+
keywordIds?: Array<string> | null;
|
|
2319
|
+
/**
|
|
2320
|
+
* Never matches of these keywords.
|
|
2321
|
+
*/
|
|
2322
|
+
notKeywordIds?: Array<string> | null;
|
|
2323
|
+
/**
|
|
2324
|
+
* Only these sentiments.
|
|
2325
|
+
*/
|
|
2326
|
+
sentiments?: Array<'positive' | 'neutral' | 'negative'>;
|
|
2327
|
+
/**
|
|
2328
|
+
* Never these sentiments. A mention the classifier has not scored yet still passes.
|
|
2329
|
+
*/
|
|
2330
|
+
notSentiments?: Array<'positive' | 'neutral' | 'negative'>;
|
|
2331
|
+
/**
|
|
2332
|
+
* Only mentions carrying any of these intents.
|
|
2333
|
+
*/
|
|
2334
|
+
intents?: Array<string> | null;
|
|
2335
|
+
/**
|
|
2336
|
+
* Never mentions carrying these intents.
|
|
2337
|
+
*/
|
|
2338
|
+
notIntents?: Array<string> | null;
|
|
2339
|
+
/**
|
|
2340
|
+
* Never posts linking to these hosts, the host itself or a subdomain of it.
|
|
2341
|
+
*/
|
|
2342
|
+
notLinkHosts?: Array<string> | null;
|
|
2343
|
+
/**
|
|
2344
|
+
* Never authors your workspace tagged with any of these.
|
|
2345
|
+
*/
|
|
2346
|
+
notTags?: Array<string> | null;
|
|
2186
2347
|
/**
|
|
2187
2348
|
* Substring search in the post text.
|
|
2188
2349
|
*/
|
|
@@ -2276,6 +2437,18 @@ type ExportPeopleCsvData = {
|
|
|
2276
2437
|
* At least one mention carrying any of these intents.
|
|
2277
2438
|
*/
|
|
2278
2439
|
intents?: Array<string> | null;
|
|
2440
|
+
/**
|
|
2441
|
+
* Nobody with an account on these platforms. Repeatable, or comma-separated.
|
|
2442
|
+
*/
|
|
2443
|
+
notPlatforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin'>;
|
|
2444
|
+
/**
|
|
2445
|
+
* Nobody carrying any of these tags. Repeatable, or comma-separated.
|
|
2446
|
+
*/
|
|
2447
|
+
notTags?: Array<string> | null;
|
|
2448
|
+
/**
|
|
2449
|
+
* Nobody whose mentions carry any of these intents. Repeatable, or comma-separated.
|
|
2450
|
+
*/
|
|
2451
|
+
notIntents?: Array<string> | null;
|
|
2279
2452
|
/**
|
|
2280
2453
|
* Mentioned a keyword of any of these kinds.
|
|
2281
2454
|
*/
|
|
@@ -2292,6 +2465,14 @@ type ExportPeopleCsvData = {
|
|
|
2292
2465
|
* People with at least one mention linking to any of these hosts, the host itself or a subdomain of it. Repeatable, or comma-separated.
|
|
2293
2466
|
*/
|
|
2294
2467
|
linkHosts?: Array<string> | null;
|
|
2468
|
+
/**
|
|
2469
|
+
* People at any of these outreach stages. Repeatable, or comma-separated.
|
|
2470
|
+
*/
|
|
2471
|
+
stages?: Array<'not_contacted' | 'contacted' | 'replied' | 'in_talks' | 'customer' | 'not_a_fit'>;
|
|
2472
|
+
/**
|
|
2473
|
+
* People owned by any of these members (user ids); `none` matches people nobody owns. Repeatable, or comma-separated.
|
|
2474
|
+
*/
|
|
2475
|
+
ownerIds?: Array<string> | null;
|
|
2295
2476
|
/**
|
|
2296
2477
|
* mentions: most matches first. recent: last seen first. reach: most followers first, unknown last. new: first seen most recently first.
|
|
2297
2478
|
*/
|
|
@@ -2381,6 +2562,18 @@ type ListPeopleData = {
|
|
|
2381
2562
|
* At least one mention carrying any of these intents.
|
|
2382
2563
|
*/
|
|
2383
2564
|
intents?: Array<string> | null;
|
|
2565
|
+
/**
|
|
2566
|
+
* Nobody with an account on these platforms. Repeatable, or comma-separated.
|
|
2567
|
+
*/
|
|
2568
|
+
notPlatforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin'>;
|
|
2569
|
+
/**
|
|
2570
|
+
* Nobody carrying any of these tags. Repeatable, or comma-separated.
|
|
2571
|
+
*/
|
|
2572
|
+
notTags?: Array<string> | null;
|
|
2573
|
+
/**
|
|
2574
|
+
* Nobody whose mentions carry any of these intents. Repeatable, or comma-separated.
|
|
2575
|
+
*/
|
|
2576
|
+
notIntents?: Array<string> | null;
|
|
2384
2577
|
/**
|
|
2385
2578
|
* Mentioned a keyword of any of these kinds.
|
|
2386
2579
|
*/
|
|
@@ -2397,6 +2590,14 @@ type ListPeopleData = {
|
|
|
2397
2590
|
* People with at least one mention linking to any of these hosts, the host itself or a subdomain of it. Repeatable, or comma-separated.
|
|
2398
2591
|
*/
|
|
2399
2592
|
linkHosts?: Array<string> | null;
|
|
2593
|
+
/**
|
|
2594
|
+
* People at any of these outreach stages. Repeatable, or comma-separated.
|
|
2595
|
+
*/
|
|
2596
|
+
stages?: Array<'not_contacted' | 'contacted' | 'replied' | 'in_talks' | 'customer' | 'not_a_fit'>;
|
|
2597
|
+
/**
|
|
2598
|
+
* People owned by any of these members (user ids); `none` matches people nobody owns. Repeatable, or comma-separated.
|
|
2599
|
+
*/
|
|
2600
|
+
ownerIds?: Array<string> | null;
|
|
2400
2601
|
/**
|
|
2401
2602
|
* mentions: most matches first. recent: last seen first. reach: most followers first, unknown last. new: first seen most recently first.
|
|
2402
2603
|
*/
|
|
@@ -2548,6 +2749,30 @@ type ListPeopleResponses = {
|
|
|
2548
2749
|
*/
|
|
2549
2750
|
muted: boolean;
|
|
2550
2751
|
};
|
|
2752
|
+
/**
|
|
2753
|
+
* Where your workspace stands with the person. The first logged activity claims an unowned person for whoever reached out and moves not_contacted to contacted.
|
|
2754
|
+
*/
|
|
2755
|
+
outreach: {
|
|
2756
|
+
/**
|
|
2757
|
+
* The teammate who owns the contact; null when nobody does, or the owner left the workspace.
|
|
2758
|
+
*/
|
|
2759
|
+
owner: {
|
|
2760
|
+
/**
|
|
2761
|
+
* User id of the workspace member.
|
|
2762
|
+
*/
|
|
2763
|
+
id: string;
|
|
2764
|
+
name: string | null;
|
|
2765
|
+
email: string | null;
|
|
2766
|
+
} | null;
|
|
2767
|
+
/**
|
|
2768
|
+
* Where your workspace stands with the person: not_contacted, contacted, replied, in_talks, customer or not_a_fit.
|
|
2769
|
+
*/
|
|
2770
|
+
stage: 'not_contacted' | 'contacted' | 'replied' | 'in_talks' | 'customer' | 'not_a_fit';
|
|
2771
|
+
/**
|
|
2772
|
+
* The newest logged activity; null when nobody logged a contact.
|
|
2773
|
+
*/
|
|
2774
|
+
lastContactedAt: string | null;
|
|
2775
|
+
};
|
|
2551
2776
|
}>;
|
|
2552
2777
|
/**
|
|
2553
2778
|
* People matching the filters, across all pages.
|
|
@@ -2596,6 +2821,14 @@ type UpdatePersonData = {
|
|
|
2596
2821
|
tags?: Array<string>;
|
|
2597
2822
|
notes?: string;
|
|
2598
2823
|
muted?: boolean;
|
|
2824
|
+
/**
|
|
2825
|
+
* The member who owns the contact (user id); null clears.
|
|
2826
|
+
*/
|
|
2827
|
+
ownerId?: string | null;
|
|
2828
|
+
/**
|
|
2829
|
+
* Where your workspace stands with the person: not_contacted, contacted, replied, in_talks, customer or not_a_fit.
|
|
2830
|
+
*/
|
|
2831
|
+
stage?: 'not_contacted' | 'contacted' | 'replied' | 'in_talks' | 'customer' | 'not_a_fit';
|
|
2599
2832
|
};
|
|
2600
2833
|
path: {
|
|
2601
2834
|
/**
|
|
@@ -2607,6 +2840,10 @@ type UpdatePersonData = {
|
|
|
2607
2840
|
url: '/v1/people/{id}';
|
|
2608
2841
|
};
|
|
2609
2842
|
type UpdatePersonErrors = {
|
|
2843
|
+
/**
|
|
2844
|
+
* Invalid body, or the owner is not a workspace member
|
|
2845
|
+
*/
|
|
2846
|
+
400: ErrorResponse;
|
|
2610
2847
|
/**
|
|
2611
2848
|
* Missing or invalid API key
|
|
2612
2849
|
*/
|
|
@@ -2687,6 +2924,159 @@ type SplitPersonResponses = {
|
|
|
2687
2924
|
200: Person;
|
|
2688
2925
|
};
|
|
2689
2926
|
type SplitPersonResponse = SplitPersonResponses[keyof SplitPersonResponses];
|
|
2927
|
+
type ListPersonActivitiesData = {
|
|
2928
|
+
body?: never;
|
|
2929
|
+
path: {
|
|
2930
|
+
/**
|
|
2931
|
+
* Person id (aut_...).
|
|
2932
|
+
*/
|
|
2933
|
+
id: string;
|
|
2934
|
+
};
|
|
2935
|
+
query?: never;
|
|
2936
|
+
url: '/v1/people/{id}/activities';
|
|
2937
|
+
};
|
|
2938
|
+
type ListPersonActivitiesErrors = {
|
|
2939
|
+
/**
|
|
2940
|
+
* Missing or invalid API key
|
|
2941
|
+
*/
|
|
2942
|
+
401: ErrorResponse;
|
|
2943
|
+
/**
|
|
2944
|
+
* No mention by this person for your workspace
|
|
2945
|
+
*/
|
|
2946
|
+
404: ErrorResponse;
|
|
2947
|
+
};
|
|
2948
|
+
type ListPersonActivitiesError = ListPersonActivitiesErrors[keyof ListPersonActivitiesErrors];
|
|
2949
|
+
type ListPersonActivitiesResponses = {
|
|
2950
|
+
/**
|
|
2951
|
+
* The activities
|
|
2952
|
+
*/
|
|
2953
|
+
200: {
|
|
2954
|
+
/**
|
|
2955
|
+
* Newest first, at most 200.
|
|
2956
|
+
*/
|
|
2957
|
+
data: Array<{
|
|
2958
|
+
/**
|
|
2959
|
+
* Activity id (act_...).
|
|
2960
|
+
*/
|
|
2961
|
+
id: string;
|
|
2962
|
+
/**
|
|
2963
|
+
* The person it belongs to (aut_...).
|
|
2964
|
+
*/
|
|
2965
|
+
personId: string;
|
|
2966
|
+
/**
|
|
2967
|
+
* How they were reached: email, x, linkedin, bluesky, reddit, github, call, meeting or other.
|
|
2968
|
+
*/
|
|
2969
|
+
channel: 'email' | 'x' | 'linkedin' | 'bluesky' | 'reddit' | 'github' | 'call' | 'meeting' | 'other';
|
|
2970
|
+
/**
|
|
2971
|
+
* What was sent or said, briefly; empty when nothing was written.
|
|
2972
|
+
*/
|
|
2973
|
+
note: string;
|
|
2974
|
+
/**
|
|
2975
|
+
* Who reached out; null when an API key logged it without naming a member, or that member left the workspace.
|
|
2976
|
+
*/
|
|
2977
|
+
member: {
|
|
2978
|
+
/**
|
|
2979
|
+
* User id of the workspace member.
|
|
2980
|
+
*/
|
|
2981
|
+
id: string;
|
|
2982
|
+
name: string | null;
|
|
2983
|
+
email: string | null;
|
|
2984
|
+
} | null;
|
|
2985
|
+
/**
|
|
2986
|
+
* When the contact happened.
|
|
2987
|
+
*/
|
|
2988
|
+
occurredAt: string;
|
|
2989
|
+
/**
|
|
2990
|
+
* When it was logged.
|
|
2991
|
+
*/
|
|
2992
|
+
createdAt: string;
|
|
2993
|
+
}>;
|
|
2994
|
+
};
|
|
2995
|
+
};
|
|
2996
|
+
type ListPersonActivitiesResponse = ListPersonActivitiesResponses[keyof ListPersonActivitiesResponses];
|
|
2997
|
+
type LogPersonActivityData = {
|
|
2998
|
+
body: {
|
|
2999
|
+
/**
|
|
3000
|
+
* How they were reached: email, x, linkedin, bluesky, reddit, github, call, meeting or other.
|
|
3001
|
+
*/
|
|
3002
|
+
channel: 'email' | 'x' | 'linkedin' | 'bluesky' | 'reddit' | 'github' | 'call' | 'meeting' | 'other';
|
|
3003
|
+
/**
|
|
3004
|
+
* What was sent or said, briefly.
|
|
3005
|
+
*/
|
|
3006
|
+
note?: string;
|
|
3007
|
+
/**
|
|
3008
|
+
* When the contact happened (ISO 8601, or epoch ms). Defaults to now.
|
|
3009
|
+
*/
|
|
3010
|
+
occurredAt?: string;
|
|
3011
|
+
/**
|
|
3012
|
+
* The member who reached out (user id). Defaults to the signed-in member; an API key that omits it logs an unattributed activity.
|
|
3013
|
+
*/
|
|
3014
|
+
memberId?: string;
|
|
3015
|
+
};
|
|
3016
|
+
path: {
|
|
3017
|
+
/**
|
|
3018
|
+
* Person id (aut_...).
|
|
3019
|
+
*/
|
|
3020
|
+
id: string;
|
|
3021
|
+
};
|
|
3022
|
+
query?: never;
|
|
3023
|
+
url: '/v1/people/{id}/activities';
|
|
3024
|
+
};
|
|
3025
|
+
type LogPersonActivityErrors = {
|
|
3026
|
+
/**
|
|
3027
|
+
* Invalid body, or memberId is not a workspace member
|
|
3028
|
+
*/
|
|
3029
|
+
400: ErrorResponse;
|
|
3030
|
+
/**
|
|
3031
|
+
* Missing or invalid API key
|
|
3032
|
+
*/
|
|
3033
|
+
401: ErrorResponse;
|
|
3034
|
+
/**
|
|
3035
|
+
* No mention by this person for your workspace
|
|
3036
|
+
*/
|
|
3037
|
+
404: ErrorResponse;
|
|
3038
|
+
};
|
|
3039
|
+
type LogPersonActivityError = LogPersonActivityErrors[keyof LogPersonActivityErrors];
|
|
3040
|
+
type LogPersonActivityResponses = {
|
|
3041
|
+
/**
|
|
3042
|
+
* The logged activity
|
|
3043
|
+
*/
|
|
3044
|
+
201: PersonActivity;
|
|
3045
|
+
};
|
|
3046
|
+
type LogPersonActivityResponse = LogPersonActivityResponses[keyof LogPersonActivityResponses];
|
|
3047
|
+
type DeletePersonActivityData = {
|
|
3048
|
+
body?: never;
|
|
3049
|
+
path: {
|
|
3050
|
+
/**
|
|
3051
|
+
* Person id (aut_...).
|
|
3052
|
+
*/
|
|
3053
|
+
id: string;
|
|
3054
|
+
/**
|
|
3055
|
+
* Activity id (act_...).
|
|
3056
|
+
*/
|
|
3057
|
+
activityId: string;
|
|
3058
|
+
};
|
|
3059
|
+
query?: never;
|
|
3060
|
+
url: '/v1/people/{id}/activities/{activityId}';
|
|
3061
|
+
};
|
|
3062
|
+
type DeletePersonActivityErrors = {
|
|
3063
|
+
/**
|
|
3064
|
+
* Missing or invalid API key
|
|
3065
|
+
*/
|
|
3066
|
+
401: ErrorResponse;
|
|
3067
|
+
/**
|
|
3068
|
+
* No such activity on this person for your workspace
|
|
3069
|
+
*/
|
|
3070
|
+
404: ErrorResponse;
|
|
3071
|
+
};
|
|
3072
|
+
type DeletePersonActivityError = DeletePersonActivityErrors[keyof DeletePersonActivityErrors];
|
|
3073
|
+
type DeletePersonActivityResponses = {
|
|
3074
|
+
/**
|
|
3075
|
+
* Deleted
|
|
3076
|
+
*/
|
|
3077
|
+
204: void;
|
|
3078
|
+
};
|
|
3079
|
+
type DeletePersonActivityResponse = DeletePersonActivityResponses[keyof DeletePersonActivityResponses];
|
|
2690
3080
|
type ListSegmentsData = {
|
|
2691
3081
|
body?: never;
|
|
2692
3082
|
path?: never;
|
|
@@ -2749,6 +3139,18 @@ type ListSegmentsResponses = {
|
|
|
2749
3139
|
* Never mentioned a keyword of these kinds.
|
|
2750
3140
|
*/
|
|
2751
3141
|
neverKeywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
|
|
3142
|
+
/**
|
|
3143
|
+
* Nobody with an account on these platforms.
|
|
3144
|
+
*/
|
|
3145
|
+
notPlatforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin'>;
|
|
3146
|
+
/**
|
|
3147
|
+
* Nobody carrying any of these tags.
|
|
3148
|
+
*/
|
|
3149
|
+
notTags?: Array<string>;
|
|
3150
|
+
/**
|
|
3151
|
+
* Nobody whose mentions carry any of these intents.
|
|
3152
|
+
*/
|
|
3153
|
+
notIntents?: Array<string>;
|
|
2752
3154
|
/**
|
|
2753
3155
|
* First seen within this many days.
|
|
2754
3156
|
*/
|
|
@@ -2761,6 +3163,14 @@ type ListSegmentsResponses = {
|
|
|
2761
3163
|
* true: only muted people; false: only unmuted.
|
|
2762
3164
|
*/
|
|
2763
3165
|
muted?: boolean;
|
|
3166
|
+
/**
|
|
3167
|
+
* People at any of these outreach stages.
|
|
3168
|
+
*/
|
|
3169
|
+
stages?: Array<'not_contacted' | 'contacted' | 'replied' | 'in_talks' | 'customer' | 'not_a_fit'>;
|
|
3170
|
+
/**
|
|
3171
|
+
* People owned by any of these members (user ids); "none" matches people nobody owns.
|
|
3172
|
+
*/
|
|
3173
|
+
ownerIds?: Array<string>;
|
|
2764
3174
|
};
|
|
2765
3175
|
/**
|
|
2766
3176
|
* People in the segment right now; it is evaluated on every read.
|
|
@@ -2819,6 +3229,18 @@ type ListSegmentsResponses = {
|
|
|
2819
3229
|
* Never mentioned a keyword of these kinds.
|
|
2820
3230
|
*/
|
|
2821
3231
|
neverKeywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
|
|
3232
|
+
/**
|
|
3233
|
+
* Nobody with an account on these platforms.
|
|
3234
|
+
*/
|
|
3235
|
+
notPlatforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin'>;
|
|
3236
|
+
/**
|
|
3237
|
+
* Nobody carrying any of these tags.
|
|
3238
|
+
*/
|
|
3239
|
+
notTags?: Array<string>;
|
|
3240
|
+
/**
|
|
3241
|
+
* Nobody whose mentions carry any of these intents.
|
|
3242
|
+
*/
|
|
3243
|
+
notIntents?: Array<string>;
|
|
2822
3244
|
/**
|
|
2823
3245
|
* First seen within this many days.
|
|
2824
3246
|
*/
|
|
@@ -2831,6 +3253,14 @@ type ListSegmentsResponses = {
|
|
|
2831
3253
|
* true: only muted people; false: only unmuted.
|
|
2832
3254
|
*/
|
|
2833
3255
|
muted?: boolean;
|
|
3256
|
+
/**
|
|
3257
|
+
* People at any of these outreach stages.
|
|
3258
|
+
*/
|
|
3259
|
+
stages?: Array<'not_contacted' | 'contacted' | 'replied' | 'in_talks' | 'customer' | 'not_a_fit'>;
|
|
3260
|
+
/**
|
|
3261
|
+
* People owned by any of these members (user ids); "none" matches people nobody owns.
|
|
3262
|
+
*/
|
|
3263
|
+
ownerIds?: Array<string>;
|
|
2834
3264
|
};
|
|
2835
3265
|
}>;
|
|
2836
3266
|
};
|
|
@@ -2877,6 +3307,18 @@ type CreateSegmentData = {
|
|
|
2877
3307
|
* Never mentioned a keyword of these kinds.
|
|
2878
3308
|
*/
|
|
2879
3309
|
neverKeywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
|
|
3310
|
+
/**
|
|
3311
|
+
* Nobody with an account on these platforms.
|
|
3312
|
+
*/
|
|
3313
|
+
notPlatforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin'>;
|
|
3314
|
+
/**
|
|
3315
|
+
* Nobody carrying any of these tags.
|
|
3316
|
+
*/
|
|
3317
|
+
notTags?: Array<string>;
|
|
3318
|
+
/**
|
|
3319
|
+
* Nobody whose mentions carry any of these intents.
|
|
3320
|
+
*/
|
|
3321
|
+
notIntents?: Array<string>;
|
|
2880
3322
|
/**
|
|
2881
3323
|
* First seen within this many days.
|
|
2882
3324
|
*/
|
|
@@ -2889,6 +3331,14 @@ type CreateSegmentData = {
|
|
|
2889
3331
|
* true: only muted people; false: only unmuted.
|
|
2890
3332
|
*/
|
|
2891
3333
|
muted?: boolean;
|
|
3334
|
+
/**
|
|
3335
|
+
* People at any of these outreach stages.
|
|
3336
|
+
*/
|
|
3337
|
+
stages?: Array<'not_contacted' | 'contacted' | 'replied' | 'in_talks' | 'customer' | 'not_a_fit'>;
|
|
3338
|
+
/**
|
|
3339
|
+
* People owned by any of these members (user ids); "none" matches people nobody owns.
|
|
3340
|
+
*/
|
|
3341
|
+
ownerIds?: Array<string>;
|
|
2892
3342
|
};
|
|
2893
3343
|
};
|
|
2894
3344
|
path?: never;
|
|
@@ -3022,6 +3472,18 @@ type UpdateSegmentData = {
|
|
|
3022
3472
|
* Never mentioned a keyword of these kinds.
|
|
3023
3473
|
*/
|
|
3024
3474
|
neverKeywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
|
|
3475
|
+
/**
|
|
3476
|
+
* Nobody with an account on these platforms.
|
|
3477
|
+
*/
|
|
3478
|
+
notPlatforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin'>;
|
|
3479
|
+
/**
|
|
3480
|
+
* Nobody carrying any of these tags.
|
|
3481
|
+
*/
|
|
3482
|
+
notTags?: Array<string>;
|
|
3483
|
+
/**
|
|
3484
|
+
* Nobody whose mentions carry any of these intents.
|
|
3485
|
+
*/
|
|
3486
|
+
notIntents?: Array<string>;
|
|
3025
3487
|
/**
|
|
3026
3488
|
* First seen within this many days.
|
|
3027
3489
|
*/
|
|
@@ -3034,6 +3496,14 @@ type UpdateSegmentData = {
|
|
|
3034
3496
|
* true: only muted people; false: only unmuted.
|
|
3035
3497
|
*/
|
|
3036
3498
|
muted?: boolean;
|
|
3499
|
+
/**
|
|
3500
|
+
* People at any of these outreach stages.
|
|
3501
|
+
*/
|
|
3502
|
+
stages?: Array<'not_contacted' | 'contacted' | 'replied' | 'in_talks' | 'customer' | 'not_a_fit'>;
|
|
3503
|
+
/**
|
|
3504
|
+
* People owned by any of these members (user ids); "none" matches people nobody owns.
|
|
3505
|
+
*/
|
|
3506
|
+
ownerIds?: Array<string>;
|
|
3037
3507
|
};
|
|
3038
3508
|
};
|
|
3039
3509
|
path: {
|
|
@@ -4344,13 +4814,13 @@ declare const exportMentionsCsv: <ThrowOnError extends boolean = false>(options?
|
|
|
4344
4814
|
/**
|
|
4345
4815
|
* Export people as CSV
|
|
4346
4816
|
*
|
|
4347
|
-
* The same list as GET /v1/people (segmentId included) as CSV, one row per person with their contact columns: handle, followers, email, website, company, location, tags. Capped at 5,000 people. At most 6 exports per minute per workspace; a 429 carries Retry-After.
|
|
4817
|
+
* The same list as GET /v1/people (segmentId included) as CSV, one row per person with their contact columns: handle, followers, email, website, company, location, tags, then outreach stage, owner and last contacted. Capped at 5,000 people. At most 6 exports per minute per workspace; a 429 carries Retry-After.
|
|
4348
4818
|
*/
|
|
4349
4819
|
declare const exportPeopleCsv: <ThrowOnError extends boolean = false>(options?: Options<ExportPeopleCsvData, ThrowOnError>) => RequestResult<ExportPeopleCsvResponses, ExportPeopleCsvErrors, ThrowOnError>;
|
|
4350
4820
|
/**
|
|
4351
4821
|
* List people
|
|
4352
4822
|
*
|
|
4353
|
-
* The people behind your mentions: one row per person, with their accounts, reach, public profile, per-workspace stats and your
|
|
4823
|
+
* The people behind your mentions: one row per person, with their accounts, reach, public profile, per-workspace stats, your annotations and where your outreach stands. Filter by platform, tag, follower range, mention counts, intents seen, keyword kinds mentioned or never mentioned, outreach stage, owner, or a saved segment. Offset-paginated with a total.
|
|
4354
4824
|
*/
|
|
4355
4825
|
declare const listPeople: <ThrowOnError extends boolean = false>(options?: Options<ListPeopleData, ThrowOnError>) => RequestResult<ListPeopleResponses, ListPeopleErrors, ThrowOnError>;
|
|
4356
4826
|
/**
|
|
@@ -4362,13 +4832,13 @@ declare const getPerson: <ThrowOnError extends boolean = false>(options: Options
|
|
|
4362
4832
|
/**
|
|
4363
4833
|
* Update your annotations on a person
|
|
4364
4834
|
*
|
|
4365
|
-
* Tags, notes and
|
|
4835
|
+
* Tags, notes, mute, and the outreach owner (a workspace member; null clears) and stage, for your workspace only. Mute hides their posts from your feed and every channel; ingest and billing never change.
|
|
4366
4836
|
*/
|
|
4367
4837
|
declare const updatePerson: <ThrowOnError extends boolean = false>(options: Options<UpdatePersonData, ThrowOnError>) => RequestResult<UpdatePersonResponses, UpdatePersonErrors, ThrowOnError>;
|
|
4368
4838
|
/**
|
|
4369
4839
|
* Merge an account into a person
|
|
4370
4840
|
*
|
|
4371
|
-
* Declare that this account and another person are the same human, for your workspace only. Their mentions, tags and
|
|
4841
|
+
* Declare that this account and another person are the same human, for your workspace only. Their mentions, tags, notes and outreach activities combine under the person named by `into`, which keeps its owner and stage unless it had none.
|
|
4372
4842
|
*/
|
|
4373
4843
|
declare const mergePeople: <ThrowOnError extends boolean = false>(options: Options<MergePeopleData, ThrowOnError>) => RequestResult<MergePeopleResponses, MergePeopleErrors, ThrowOnError>;
|
|
4374
4844
|
/**
|
|
@@ -4377,6 +4847,24 @@ declare const mergePeople: <ThrowOnError extends boolean = false>(options: Optio
|
|
|
4377
4847
|
* The account becomes its own person again.
|
|
4378
4848
|
*/
|
|
4379
4849
|
declare const splitPerson: <ThrowOnError extends boolean = false>(options: Options<SplitPersonData, ThrowOnError>) => RequestResult<SplitPersonResponses, SplitPersonErrors, ThrowOnError>;
|
|
4850
|
+
/**
|
|
4851
|
+
* List outreach activities
|
|
4852
|
+
*
|
|
4853
|
+
* Every logged contact with this person across all their accounts, newest first (at most 200): who reached out, the channel, when, and a short note. Read it before reaching out so two teammates never contact the same person without knowing.
|
|
4854
|
+
*/
|
|
4855
|
+
declare const listPersonActivities: <ThrowOnError extends boolean = false>(options: Options<ListPersonActivitiesData, ThrowOnError>) => RequestResult<ListPersonActivitiesResponses, ListPersonActivitiesErrors, ThrowOnError>;
|
|
4856
|
+
/**
|
|
4857
|
+
* Log an outreach activity
|
|
4858
|
+
*
|
|
4859
|
+
* Record that a teammate reached out to this person: an email, a DM, a call. The first activity claims an unowned person for whoever reached out and moves not_contacted to contacted; an existing owner and a later stage are kept. `memberId` defaults to the signed-in member; an API key that omits it logs an unattributed activity, which claims nobody.
|
|
4860
|
+
*/
|
|
4861
|
+
declare const logPersonActivity: <ThrowOnError extends boolean = false>(options: Options<LogPersonActivityData, ThrowOnError>) => RequestResult<LogPersonActivityResponses, LogPersonActivityErrors, ThrowOnError>;
|
|
4862
|
+
/**
|
|
4863
|
+
* Delete an outreach activity
|
|
4864
|
+
*
|
|
4865
|
+
* Remove a contact logged by mistake. The person's owner and stage stay as they are.
|
|
4866
|
+
*/
|
|
4867
|
+
declare const deletePersonActivity: <ThrowOnError extends boolean = false>(options: Options<DeletePersonActivityData, ThrowOnError>) => RequestResult<DeletePersonActivityResponses, DeletePersonActivityErrors, ThrowOnError>;
|
|
4380
4868
|
/**
|
|
4381
4869
|
* List segments
|
|
4382
4870
|
*
|
|
@@ -4535,6 +5023,7 @@ declare const sdk_createSegment: typeof createSegment;
|
|
|
4535
5023
|
declare const sdk_deleteAlert: typeof deleteAlert;
|
|
4536
5024
|
declare const sdk_deleteChannel: typeof deleteChannel;
|
|
4537
5025
|
declare const sdk_deleteKeyword: typeof deleteKeyword;
|
|
5026
|
+
declare const sdk_deletePersonActivity: typeof deletePersonActivity;
|
|
4538
5027
|
declare const sdk_deleteSegment: typeof deleteSegment;
|
|
4539
5028
|
declare const sdk_exportMentionsCsv: typeof exportMentionsCsv;
|
|
4540
5029
|
declare const sdk_exportPeopleCsv: typeof exportPeopleCsv;
|
|
@@ -4556,7 +5045,9 @@ declare const sdk_listChannelDeliveries: typeof listChannelDeliveries;
|
|
|
4556
5045
|
declare const sdk_listChannels: typeof listChannels;
|
|
4557
5046
|
declare const sdk_listKeywords: typeof listKeywords;
|
|
4558
5047
|
declare const sdk_listPeople: typeof listPeople;
|
|
5048
|
+
declare const sdk_listPersonActivities: typeof listPersonActivities;
|
|
4559
5049
|
declare const sdk_listSegments: typeof listSegments;
|
|
5050
|
+
declare const sdk_logPersonActivity: typeof logPersonActivity;
|
|
4560
5051
|
declare const sdk_mergePeople: typeof mergePeople;
|
|
4561
5052
|
declare const sdk_muteAlertAuthors: typeof muteAlertAuthors;
|
|
4562
5053
|
declare const sdk_revokeApiKey: typeof revokeApiKey;
|
|
@@ -4575,7 +5066,7 @@ declare const sdk_updateMention: typeof updateMention;
|
|
|
4575
5066
|
declare const sdk_updatePerson: typeof updatePerson;
|
|
4576
5067
|
declare const sdk_updateSegment: typeof updateSegment;
|
|
4577
5068
|
declare namespace sdk {
|
|
4578
|
-
export { type sdk_Options as Options, sdk_createAlert as createAlert, sdk_createApiKey as createApiKey, sdk_createChannel as createChannel, sdk_createKeyword as createKeyword, sdk_createSegment as createSegment, sdk_deleteAlert as deleteAlert, sdk_deleteChannel as deleteChannel, sdk_deleteKeyword as deleteKeyword, sdk_deleteSegment as deleteSegment, sdk_exportMentionsCsv as exportMentionsCsv, 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_getHealth as getHealth, sdk_getKeyword as getKeyword, sdk_getMention as getMention, sdk_getPerson as getPerson, sdk_getSegment as getSegment, sdk_getShareOfVoice as getShareOfVoice, sdk_listAlerts as listAlerts, sdk_listApiKeys as listApiKeys, sdk_listChannelDeliveries as listChannelDeliveries, sdk_listChannels as listChannels, sdk_listKeywords as listKeywords, sdk_listPeople as listPeople, sdk_listSegments as listSegments, sdk_mergePeople as mergePeople, sdk_muteAlertAuthors as muteAlertAuthors, sdk_revokeApiKey as revokeApiKey, 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_updateKeyword as updateKeyword, sdk_updateMention as updateMention, sdk_updatePerson as updatePerson, sdk_updateSegment as updateSegment };
|
|
5069
|
+
export { type sdk_Options as Options, sdk_createAlert as createAlert, sdk_createApiKey as createApiKey, sdk_createChannel as createChannel, sdk_createKeyword as createKeyword, sdk_createSegment as createSegment, sdk_deleteAlert as deleteAlert, sdk_deleteChannel as deleteChannel, sdk_deleteKeyword as deleteKeyword, sdk_deletePersonActivity as deletePersonActivity, sdk_deleteSegment as deleteSegment, sdk_exportMentionsCsv as exportMentionsCsv, 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_getHealth as getHealth, sdk_getKeyword as getKeyword, sdk_getMention as getMention, sdk_getPerson as getPerson, sdk_getSegment as getSegment, sdk_getShareOfVoice as getShareOfVoice, sdk_listAlerts as listAlerts, sdk_listApiKeys as listApiKeys, sdk_listChannelDeliveries as listChannelDeliveries, sdk_listChannels as listChannels, sdk_listKeywords as listKeywords, sdk_listPeople as listPeople, sdk_listPersonActivities as listPersonActivities, sdk_listSegments as listSegments, sdk_logPersonActivity as logPersonActivity, sdk_mergePeople as mergePeople, sdk_muteAlertAuthors as muteAlertAuthors, sdk_revokeApiKey as revokeApiKey, 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_updateKeyword as updateKeyword, sdk_updateMention as updateMention, sdk_updatePerson as updatePerson, sdk_updateSegment as updateSegment };
|
|
4579
5070
|
}
|
|
4580
5071
|
|
|
4581
5072
|
/**
|
|
@@ -4603,4 +5094,4 @@ type Mentio = typeof sdk & {
|
|
|
4603
5094
|
};
|
|
4604
5095
|
declare function createMentio(options: MentioOptions): Mentio;
|
|
4605
5096
|
|
|
4606
|
-
export { type Alert, type AnalyticsBreakdown, type AnalyticsSeries, type AnalyticsSummary, type Channel, 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 CreateKeywordData, type CreateKeywordError, type CreateKeywordErrors, type CreateKeywordResponse, type CreateKeywordResponses, type CreateSegmentData, type CreateSegmentError, type CreateSegmentErrors, type CreateSegmentResponse, type CreateSegmentResponses, type CreateSlackChannel, 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 DeleteKeywordData, type DeleteKeywordError, type DeleteKeywordErrors, type DeleteKeywordResponse, type DeleteKeywordResponses, type DeleteSegmentData, type DeleteSegmentError, type DeleteSegmentErrors, type DeleteSegmentResponse, type DeleteSegmentResponses, type EmailChannel, type ErrorResponse, type ExportMentionsCsvData, type ExportMentionsCsvError, type ExportMentionsCsvErrors, type ExportMentionsCsvResponse, type ExportMentionsCsvResponses, type ExportPeopleCsvData, type ExportPeopleCsvError, type ExportPeopleCsvErrors, type ExportPeopleCsvResponse, type ExportPeopleCsvResponses, 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 GetHealthData, type GetHealthResponse, type GetHealthResponses, type GetKeywordData, type GetKeywordError, type GetKeywordErrors, 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 GetSegmentData, type GetSegmentError, type GetSegmentErrors, type GetSegmentResponse, type GetSegmentResponses, type GetShareOfVoiceData, type GetShareOfVoiceError, type GetShareOfVoiceErrors, type GetShareOfVoiceResponse, type GetShareOfVoiceResponses, type Keyword, type ListAlertsData, type ListAlertsError, type ListAlertsErrors, type ListAlertsResponse, type ListAlertsResponses, type ListApiKeysData, type ListApiKeysError, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListChannelDeliveriesData, type ListChannelDeliveriesError, type ListChannelDeliveriesErrors, type ListChannelDeliveriesResponse, type ListChannelDeliveriesResponses, type ListChannelsData, type ListChannelsError, type ListChannelsErrors, type ListChannelsResponse, type ListChannelsResponses, type ListKeywordsData, type ListKeywordsError, type ListKeywordsErrors, type ListKeywordsResponse, type ListKeywordsResponses, type ListPeopleData, type ListPeopleError, type ListPeopleErrors, type ListPeopleResponse, type ListPeopleResponses, type ListSegmentsData, type ListSegmentsError, type ListSegmentsErrors, type ListSegmentsResponse, type ListSegmentsResponses, type Mentio, type MentioOptions, type Mention, type MergePeopleData, type MergePeopleError, type MergePeopleErrors, type MergePeopleResponse, type MergePeopleResponses, type MuteAlertAuthorsData, type MuteAlertAuthorsError, type MuteAlertAuthorsErrors, type MuteAlertAuthorsResponse, type MuteAlertAuthorsResponses, type Options, type Person, type RequestResult, type RevokeApiKeyData, type RevokeApiKeyError, type RevokeApiKeyErrors, type RevokeApiKeyResponse, type RevokeApiKeyResponses, 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 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 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 WebhookChannel, createAlert, createApiKey, createChannel, createClient, createConfig, createKeyword, createMentio, createSegment, deleteAlert, deleteChannel, deleteKeyword, deleteSegment, exportMentionsCsv, exportPeopleCsv, getAlert, getAnalyticsBreakdown, getAnalyticsSeries, getAnalyticsSummary, getChannel, getCompany, getHealth, getKeyword, getMention, getPerson, getSegment, getShareOfVoice, listAlerts, listApiKeys, listChannelDeliveries, listChannels, listKeywords, listPeople, listSegments, mergePeople, muteAlertAuthors, revokeApiKey, rotateWebhookSecret, runAlertDigest, searchMentions, splitPerson, testAlert, testChannel, unmuteAlertAuthors, updateAlert, updateChannel, updateCompany, updateKeyword, updateMention, updatePerson, updateSegment };
|
|
5097
|
+
export { type Alert, type AnalyticsBreakdown, type AnalyticsSeries, type AnalyticsSummary, type Channel, 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 CreateKeywordData, type CreateKeywordError, type CreateKeywordErrors, type CreateKeywordResponse, type CreateKeywordResponses, type CreateSegmentData, type CreateSegmentError, type CreateSegmentErrors, type CreateSegmentResponse, type CreateSegmentResponses, type CreateSlackChannel, 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 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 EmailChannel, type ErrorResponse, type ExportMentionsCsvData, type ExportMentionsCsvError, type ExportMentionsCsvErrors, type ExportMentionsCsvResponse, type ExportMentionsCsvResponses, type ExportPeopleCsvData, type ExportPeopleCsvError, type ExportPeopleCsvErrors, type ExportPeopleCsvResponse, type ExportPeopleCsvResponses, 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 GetHealthData, type GetHealthResponse, type GetHealthResponses, type GetKeywordData, type GetKeywordError, type GetKeywordErrors, 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 GetSegmentData, type GetSegmentError, type GetSegmentErrors, type GetSegmentResponse, type GetSegmentResponses, type GetShareOfVoiceData, type GetShareOfVoiceError, type GetShareOfVoiceErrors, type GetShareOfVoiceResponse, type GetShareOfVoiceResponses, type Keyword, type ListAlertsData, type ListAlertsError, type ListAlertsErrors, type ListAlertsResponse, type ListAlertsResponses, type ListApiKeysData, type ListApiKeysError, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListChannelDeliveriesData, type ListChannelDeliveriesError, type ListChannelDeliveriesErrors, type ListChannelDeliveriesResponse, type ListChannelDeliveriesResponses, type ListChannelsData, type ListChannelsError, type ListChannelsErrors, type ListChannelsResponse, type ListChannelsResponses, type ListKeywordsData, type ListKeywordsError, type ListKeywordsErrors, type ListKeywordsResponse, type ListKeywordsResponses, type ListPeopleData, type ListPeopleError, type ListPeopleErrors, type ListPeopleResponse, type ListPeopleResponses, type ListPersonActivitiesData, type ListPersonActivitiesError, type ListPersonActivitiesErrors, type ListPersonActivitiesResponse, type ListPersonActivitiesResponses, type ListSegmentsData, type ListSegmentsError, type ListSegmentsErrors, type ListSegmentsResponse, type ListSegmentsResponses, type LogPersonActivityData, type LogPersonActivityError, type LogPersonActivityErrors, type LogPersonActivityResponse, type LogPersonActivityResponses, type Mentio, type MentioOptions, type Mention, type MergePeopleData, type MergePeopleError, type MergePeopleErrors, type MergePeopleResponse, type MergePeopleResponses, type MuteAlertAuthorsData, type MuteAlertAuthorsError, type MuteAlertAuthorsErrors, type MuteAlertAuthorsResponse, type MuteAlertAuthorsResponses, type Options, type Person, type PersonActivity, type RequestResult, type RevokeApiKeyData, type RevokeApiKeyError, type RevokeApiKeyErrors, type RevokeApiKeyResponse, type RevokeApiKeyResponses, 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 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 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 WebhookChannel, createAlert, createApiKey, createChannel, createClient, createConfig, createKeyword, createMentio, createSegment, deleteAlert, deleteChannel, deleteKeyword, deletePersonActivity, deleteSegment, exportMentionsCsv, exportPeopleCsv, getAlert, getAnalyticsBreakdown, getAnalyticsSeries, getAnalyticsSummary, getChannel, getCompany, getHealth, getKeyword, getMention, getPerson, getSegment, getShareOfVoice, listAlerts, listApiKeys, listChannelDeliveries, listChannels, listKeywords, listPeople, listPersonActivities, listSegments, logPersonActivity, mergePeople, muteAlertAuthors, revokeApiKey, rotateWebhookSecret, runAlertDigest, searchMentions, splitPerson, testAlert, testChannel, unmuteAlertAuthors, updateAlert, updateChannel, updateCompany, updateKeyword, updateMention, updatePerson, updateSegment };
|