@mentio-dev/sdk 0.4.0 → 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 +164 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -785,6 +785,18 @@ type Segment = {
|
|
|
785
785
|
* Never mentioned a keyword of these kinds.
|
|
786
786
|
*/
|
|
787
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>;
|
|
788
800
|
/**
|
|
789
801
|
* First seen within this many days.
|
|
790
802
|
*/
|
|
@@ -2137,6 +2149,46 @@ type SearchMentionsData = {
|
|
|
2137
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.
|
|
2138
2150
|
*/
|
|
2139
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;
|
|
2140
2192
|
/**
|
|
2141
2193
|
* Substring search in the post text.
|
|
2142
2194
|
*/
|
|
@@ -2252,6 +2304,46 @@ type ExportMentionsCsvData = {
|
|
|
2252
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.
|
|
2253
2305
|
*/
|
|
2254
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;
|
|
2255
2347
|
/**
|
|
2256
2348
|
* Substring search in the post text.
|
|
2257
2349
|
*/
|
|
@@ -2345,6 +2437,18 @@ type ExportPeopleCsvData = {
|
|
|
2345
2437
|
* At least one mention carrying any of these intents.
|
|
2346
2438
|
*/
|
|
2347
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;
|
|
2348
2452
|
/**
|
|
2349
2453
|
* Mentioned a keyword of any of these kinds.
|
|
2350
2454
|
*/
|
|
@@ -2458,6 +2562,18 @@ type ListPeopleData = {
|
|
|
2458
2562
|
* At least one mention carrying any of these intents.
|
|
2459
2563
|
*/
|
|
2460
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;
|
|
2461
2577
|
/**
|
|
2462
2578
|
* Mentioned a keyword of any of these kinds.
|
|
2463
2579
|
*/
|
|
@@ -3023,6 +3139,18 @@ type ListSegmentsResponses = {
|
|
|
3023
3139
|
* Never mentioned a keyword of these kinds.
|
|
3024
3140
|
*/
|
|
3025
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>;
|
|
3026
3154
|
/**
|
|
3027
3155
|
* First seen within this many days.
|
|
3028
3156
|
*/
|
|
@@ -3101,6 +3229,18 @@ type ListSegmentsResponses = {
|
|
|
3101
3229
|
* Never mentioned a keyword of these kinds.
|
|
3102
3230
|
*/
|
|
3103
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>;
|
|
3104
3244
|
/**
|
|
3105
3245
|
* First seen within this many days.
|
|
3106
3246
|
*/
|
|
@@ -3167,6 +3307,18 @@ type CreateSegmentData = {
|
|
|
3167
3307
|
* Never mentioned a keyword of these kinds.
|
|
3168
3308
|
*/
|
|
3169
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>;
|
|
3170
3322
|
/**
|
|
3171
3323
|
* First seen within this many days.
|
|
3172
3324
|
*/
|
|
@@ -3320,6 +3472,18 @@ type UpdateSegmentData = {
|
|
|
3320
3472
|
* Never mentioned a keyword of these kinds.
|
|
3321
3473
|
*/
|
|
3322
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>;
|
|
3323
3487
|
/**
|
|
3324
3488
|
* First seen within this many days.
|
|
3325
3489
|
*/
|