@mentio-dev/sdk 0.5.3 → 0.6.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 +660 -3
- package/dist/index.js +43 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -442,7 +442,7 @@ type ErrorResponse = {
|
|
|
442
442
|
/**
|
|
443
443
|
* 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.
|
|
444
444
|
*/
|
|
445
|
-
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' | 'classification_pending' | 'invalid_member' | 'already_member' | 'last_owner' | 'duplicate_segment' | 'invalid_signature' | 'webhook_not_configured' | 'invalid_token' | 'protected_user' | 'upstream_unavailable' | 'internal_error';
|
|
445
|
+
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' | 'classification_pending' | 'invalid_member' | 'already_member' | 'last_owner' | 'duplicate_segment' | 'duplicate_view' | 'invalid_signature' | 'webhook_not_configured' | 'invalid_token' | 'protected_user' | 'upstream_unavailable' | 'internal_error';
|
|
446
446
|
/**
|
|
447
447
|
* Human-readable detail; may change between releases.
|
|
448
448
|
*/
|
|
@@ -540,6 +540,17 @@ type Mention = {
|
|
|
540
540
|
* When the post was published.
|
|
541
541
|
*/
|
|
542
542
|
publishedAt: string;
|
|
543
|
+
/**
|
|
544
|
+
* Engagement counts as the platform reported them when the post was ingested, usually minutes after it was written; a count the platform does not have is null. Null as a whole for platforms that report none and for posts ingested before September 2026. X carries all six.
|
|
545
|
+
*/
|
|
546
|
+
engagement: {
|
|
547
|
+
likes: number | null;
|
|
548
|
+
reposts: number | null;
|
|
549
|
+
replies: number | null;
|
|
550
|
+
quotes: number | null;
|
|
551
|
+
views: number | null;
|
|
552
|
+
bookmarks: number | null;
|
|
553
|
+
} | null;
|
|
543
554
|
/**
|
|
544
555
|
* The post this one replies to (X, Bluesky); null for top-level posts.
|
|
545
556
|
*/
|
|
@@ -957,6 +968,124 @@ type Segment = {
|
|
|
957
968
|
*/
|
|
958
969
|
updatedAt: string;
|
|
959
970
|
};
|
|
971
|
+
type View = {
|
|
972
|
+
/**
|
|
973
|
+
* View id (vw_...).
|
|
974
|
+
*/
|
|
975
|
+
id: string;
|
|
976
|
+
name: string;
|
|
977
|
+
description: string;
|
|
978
|
+
filter: {
|
|
979
|
+
/**
|
|
980
|
+
* Substring in the post text or the author's name.
|
|
981
|
+
*/
|
|
982
|
+
q?: string;
|
|
983
|
+
/**
|
|
984
|
+
* Only matches of any of these keywords.
|
|
985
|
+
*/
|
|
986
|
+
keywordIds?: Array<string>;
|
|
987
|
+
/**
|
|
988
|
+
* Never matches of these keywords.
|
|
989
|
+
*/
|
|
990
|
+
notKeywordIds?: Array<string>;
|
|
991
|
+
/**
|
|
992
|
+
* Only matches of keywords of any of these kinds: brand, competitor, topic.
|
|
993
|
+
*/
|
|
994
|
+
keywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
|
|
995
|
+
/**
|
|
996
|
+
* Only posts from any of these platforms.
|
|
997
|
+
*/
|
|
998
|
+
platforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin'>;
|
|
999
|
+
/**
|
|
1000
|
+
* Never posts from these platforms.
|
|
1001
|
+
*/
|
|
1002
|
+
notPlatforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin'>;
|
|
1003
|
+
/**
|
|
1004
|
+
* Only mentions in this status: open, ignored, done.
|
|
1005
|
+
*/
|
|
1006
|
+
status?: 'open' | 'ignored' | 'done';
|
|
1007
|
+
/**
|
|
1008
|
+
* true: only mentions the classifier scored relevant; false: only the rest.
|
|
1009
|
+
*/
|
|
1010
|
+
relevant?: boolean;
|
|
1011
|
+
/**
|
|
1012
|
+
* Only mentions scored at least this.
|
|
1013
|
+
*/
|
|
1014
|
+
minRelevance?: number;
|
|
1015
|
+
/**
|
|
1016
|
+
* Only mentions whose classifier confidence is at least this.
|
|
1017
|
+
*/
|
|
1018
|
+
minConfidence?: number;
|
|
1019
|
+
/**
|
|
1020
|
+
* Only these sentiments.
|
|
1021
|
+
*/
|
|
1022
|
+
sentiments?: Array<'positive' | 'neutral' | 'negative'>;
|
|
1023
|
+
/**
|
|
1024
|
+
* Never these sentiments; an unscored mention still passes.
|
|
1025
|
+
*/
|
|
1026
|
+
notSentiments?: Array<'positive' | 'neutral' | 'negative'>;
|
|
1027
|
+
/**
|
|
1028
|
+
* Only mentions carrying any of these intent or topic tags.
|
|
1029
|
+
*/
|
|
1030
|
+
intents?: Array<string>;
|
|
1031
|
+
/**
|
|
1032
|
+
* Never mentions carrying these tags.
|
|
1033
|
+
*/
|
|
1034
|
+
notIntents?: Array<string>;
|
|
1035
|
+
/**
|
|
1036
|
+
* true: only posts that read as machine-made; false: only the rest.
|
|
1037
|
+
*/
|
|
1038
|
+
automated?: boolean;
|
|
1039
|
+
/**
|
|
1040
|
+
* Only posts in any of these languages (ISO 639-1).
|
|
1041
|
+
*/
|
|
1042
|
+
languages?: Array<string>;
|
|
1043
|
+
/**
|
|
1044
|
+
* Never posts in these languages; an unknown language still passes.
|
|
1045
|
+
*/
|
|
1046
|
+
notLanguages?: Array<string>;
|
|
1047
|
+
/**
|
|
1048
|
+
* Only authors your workspace tagged with any of these.
|
|
1049
|
+
*/
|
|
1050
|
+
tags?: Array<string>;
|
|
1051
|
+
/**
|
|
1052
|
+
* Never authors tagged with any of these.
|
|
1053
|
+
*/
|
|
1054
|
+
notTags?: Array<string>;
|
|
1055
|
+
/**
|
|
1056
|
+
* Only posts linking to any of these hosts, the host itself or a subdomain of it.
|
|
1057
|
+
*/
|
|
1058
|
+
linkHosts?: Array<string>;
|
|
1059
|
+
/**
|
|
1060
|
+
* Never posts linking to these hosts.
|
|
1061
|
+
*/
|
|
1062
|
+
notLinkHosts?: Array<string>;
|
|
1063
|
+
/**
|
|
1064
|
+
* Only authors with at least this many followers; unknown reach never passes.
|
|
1065
|
+
*/
|
|
1066
|
+
minFollowers?: number;
|
|
1067
|
+
/**
|
|
1068
|
+
* Only authors with at most this many followers; unknown reach never passes.
|
|
1069
|
+
*/
|
|
1070
|
+
maxFollowers?: number;
|
|
1071
|
+
/**
|
|
1072
|
+
* true: only replies and comments; false: only top-level posts.
|
|
1073
|
+
*/
|
|
1074
|
+
isReply?: boolean;
|
|
1075
|
+
/**
|
|
1076
|
+
* Never these authors: display names, handles or profile URLs.
|
|
1077
|
+
*/
|
|
1078
|
+
excludeAuthors?: Array<string>;
|
|
1079
|
+
};
|
|
1080
|
+
/**
|
|
1081
|
+
* ISO 8601 timestamp, UTC.
|
|
1082
|
+
*/
|
|
1083
|
+
createdAt: string;
|
|
1084
|
+
/**
|
|
1085
|
+
* ISO 8601 timestamp, UTC.
|
|
1086
|
+
*/
|
|
1087
|
+
updatedAt: string;
|
|
1088
|
+
};
|
|
960
1089
|
type Company = {
|
|
961
1090
|
/**
|
|
962
1091
|
* Brand or company name, as the classifier should call it.
|
|
@@ -2729,6 +2858,14 @@ type SearchMentionsData = {
|
|
|
2729
2858
|
* Apply an alert rule's filter (an id from GET /v1/alerts) on top of the other filters: the same mentions the rule would send, for a feed-shaped export or a preview. Unknown ids are a 404.
|
|
2730
2859
|
*/
|
|
2731
2860
|
alertId?: string;
|
|
2861
|
+
/**
|
|
2862
|
+
* Apply a saved view's filter (an id from GET /v1/views) on top of the other filters, every condition ANDed: exactly what the view selects. Unknown ids are a 404.
|
|
2863
|
+
*/
|
|
2864
|
+
viewId?: string;
|
|
2865
|
+
/**
|
|
2866
|
+
* Only matches of keywords of any of these kinds: brand, competitor, topic. Repeatable, or comma-separated.
|
|
2867
|
+
*/
|
|
2868
|
+
keywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
|
|
2732
2869
|
/**
|
|
2733
2870
|
* Only authors your workspace tagged with any of these (exact, case-sensitive). Repeatable, or comma-separated.
|
|
2734
2871
|
*/
|
|
@@ -2912,6 +3049,14 @@ type ExportMentionsCsvData = {
|
|
|
2912
3049
|
* Apply an alert rule's filter (an id from GET /v1/alerts) on top of the other filters: the same mentions the rule would send, for a feed-shaped export or a preview. Unknown ids are a 404.
|
|
2913
3050
|
*/
|
|
2914
3051
|
alertId?: string;
|
|
3052
|
+
/**
|
|
3053
|
+
* Apply a saved view's filter (an id from GET /v1/views) on top of the other filters, every condition ANDed: exactly what the view selects. Unknown ids are a 404.
|
|
3054
|
+
*/
|
|
3055
|
+
viewId?: string;
|
|
3056
|
+
/**
|
|
3057
|
+
* Only matches of keywords of any of these kinds: brand, competitor, topic. Repeatable, or comma-separated.
|
|
3058
|
+
*/
|
|
3059
|
+
keywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
|
|
2915
3060
|
/**
|
|
2916
3061
|
* Only authors your workspace tagged with any of these (exact, case-sensitive). Repeatable, or comma-separated.
|
|
2917
3062
|
*/
|
|
@@ -4185,6 +4330,485 @@ type UpdateSegmentResponses = {
|
|
|
4185
4330
|
200: Segment;
|
|
4186
4331
|
};
|
|
4187
4332
|
type UpdateSegmentResponse = UpdateSegmentResponses[keyof UpdateSegmentResponses];
|
|
4333
|
+
type ListViewsData = {
|
|
4334
|
+
body?: never;
|
|
4335
|
+
path?: never;
|
|
4336
|
+
query?: never;
|
|
4337
|
+
url: '/v1/views';
|
|
4338
|
+
};
|
|
4339
|
+
type ListViewsErrors = {
|
|
4340
|
+
/**
|
|
4341
|
+
* Missing or invalid API key
|
|
4342
|
+
*/
|
|
4343
|
+
401: ErrorResponse;
|
|
4344
|
+
};
|
|
4345
|
+
type ListViewsError = ListViewsErrors[keyof ListViewsErrors];
|
|
4346
|
+
type ListViewsResponses = {
|
|
4347
|
+
/**
|
|
4348
|
+
* Saved views
|
|
4349
|
+
*/
|
|
4350
|
+
200: {
|
|
4351
|
+
/**
|
|
4352
|
+
* Saved views, oldest first.
|
|
4353
|
+
*/
|
|
4354
|
+
data: Array<{
|
|
4355
|
+
/**
|
|
4356
|
+
* View id (vw_...).
|
|
4357
|
+
*/
|
|
4358
|
+
id: string;
|
|
4359
|
+
name: string;
|
|
4360
|
+
description: string;
|
|
4361
|
+
filter: {
|
|
4362
|
+
/**
|
|
4363
|
+
* Substring in the post text or the author's name.
|
|
4364
|
+
*/
|
|
4365
|
+
q?: string;
|
|
4366
|
+
/**
|
|
4367
|
+
* Only matches of any of these keywords.
|
|
4368
|
+
*/
|
|
4369
|
+
keywordIds?: Array<string>;
|
|
4370
|
+
/**
|
|
4371
|
+
* Never matches of these keywords.
|
|
4372
|
+
*/
|
|
4373
|
+
notKeywordIds?: Array<string>;
|
|
4374
|
+
/**
|
|
4375
|
+
* Only matches of keywords of any of these kinds: brand, competitor, topic.
|
|
4376
|
+
*/
|
|
4377
|
+
keywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
|
|
4378
|
+
/**
|
|
4379
|
+
* Only posts from any of these platforms.
|
|
4380
|
+
*/
|
|
4381
|
+
platforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin'>;
|
|
4382
|
+
/**
|
|
4383
|
+
* Never posts from these platforms.
|
|
4384
|
+
*/
|
|
4385
|
+
notPlatforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin'>;
|
|
4386
|
+
/**
|
|
4387
|
+
* Only mentions in this status: open, ignored, done.
|
|
4388
|
+
*/
|
|
4389
|
+
status?: 'open' | 'ignored' | 'done';
|
|
4390
|
+
/**
|
|
4391
|
+
* true: only mentions the classifier scored relevant; false: only the rest.
|
|
4392
|
+
*/
|
|
4393
|
+
relevant?: boolean;
|
|
4394
|
+
/**
|
|
4395
|
+
* Only mentions scored at least this.
|
|
4396
|
+
*/
|
|
4397
|
+
minRelevance?: number;
|
|
4398
|
+
/**
|
|
4399
|
+
* Only mentions whose classifier confidence is at least this.
|
|
4400
|
+
*/
|
|
4401
|
+
minConfidence?: number;
|
|
4402
|
+
/**
|
|
4403
|
+
* Only these sentiments.
|
|
4404
|
+
*/
|
|
4405
|
+
sentiments?: Array<'positive' | 'neutral' | 'negative'>;
|
|
4406
|
+
/**
|
|
4407
|
+
* Never these sentiments; an unscored mention still passes.
|
|
4408
|
+
*/
|
|
4409
|
+
notSentiments?: Array<'positive' | 'neutral' | 'negative'>;
|
|
4410
|
+
/**
|
|
4411
|
+
* Only mentions carrying any of these intent or topic tags.
|
|
4412
|
+
*/
|
|
4413
|
+
intents?: Array<string>;
|
|
4414
|
+
/**
|
|
4415
|
+
* Never mentions carrying these tags.
|
|
4416
|
+
*/
|
|
4417
|
+
notIntents?: Array<string>;
|
|
4418
|
+
/**
|
|
4419
|
+
* true: only posts that read as machine-made; false: only the rest.
|
|
4420
|
+
*/
|
|
4421
|
+
automated?: boolean;
|
|
4422
|
+
/**
|
|
4423
|
+
* Only posts in any of these languages (ISO 639-1).
|
|
4424
|
+
*/
|
|
4425
|
+
languages?: Array<string>;
|
|
4426
|
+
/**
|
|
4427
|
+
* Never posts in these languages; an unknown language still passes.
|
|
4428
|
+
*/
|
|
4429
|
+
notLanguages?: Array<string>;
|
|
4430
|
+
/**
|
|
4431
|
+
* Only authors your workspace tagged with any of these.
|
|
4432
|
+
*/
|
|
4433
|
+
tags?: Array<string>;
|
|
4434
|
+
/**
|
|
4435
|
+
* Never authors tagged with any of these.
|
|
4436
|
+
*/
|
|
4437
|
+
notTags?: Array<string>;
|
|
4438
|
+
/**
|
|
4439
|
+
* Only posts linking to any of these hosts, the host itself or a subdomain of it.
|
|
4440
|
+
*/
|
|
4441
|
+
linkHosts?: Array<string>;
|
|
4442
|
+
/**
|
|
4443
|
+
* Never posts linking to these hosts.
|
|
4444
|
+
*/
|
|
4445
|
+
notLinkHosts?: Array<string>;
|
|
4446
|
+
/**
|
|
4447
|
+
* Only authors with at least this many followers; unknown reach never passes.
|
|
4448
|
+
*/
|
|
4449
|
+
minFollowers?: number;
|
|
4450
|
+
/**
|
|
4451
|
+
* Only authors with at most this many followers; unknown reach never passes.
|
|
4452
|
+
*/
|
|
4453
|
+
maxFollowers?: number;
|
|
4454
|
+
/**
|
|
4455
|
+
* true: only replies and comments; false: only top-level posts.
|
|
4456
|
+
*/
|
|
4457
|
+
isReply?: boolean;
|
|
4458
|
+
/**
|
|
4459
|
+
* Never these authors: display names, handles or profile URLs.
|
|
4460
|
+
*/
|
|
4461
|
+
excludeAuthors?: Array<string>;
|
|
4462
|
+
};
|
|
4463
|
+
/**
|
|
4464
|
+
* ISO 8601 timestamp, UTC.
|
|
4465
|
+
*/
|
|
4466
|
+
createdAt: string;
|
|
4467
|
+
/**
|
|
4468
|
+
* ISO 8601 timestamp, UTC.
|
|
4469
|
+
*/
|
|
4470
|
+
updatedAt: string;
|
|
4471
|
+
}>;
|
|
4472
|
+
};
|
|
4473
|
+
};
|
|
4474
|
+
type ListViewsResponse = ListViewsResponses[keyof ListViewsResponses];
|
|
4475
|
+
type CreateViewData = {
|
|
4476
|
+
body: {
|
|
4477
|
+
/**
|
|
4478
|
+
* Unique per workspace, case-insensitive.
|
|
4479
|
+
*/
|
|
4480
|
+
name: string;
|
|
4481
|
+
/**
|
|
4482
|
+
* What the view is for, shown under its name.
|
|
4483
|
+
*/
|
|
4484
|
+
description?: string;
|
|
4485
|
+
/**
|
|
4486
|
+
* The filter; empty selects every mention.
|
|
4487
|
+
*/
|
|
4488
|
+
filter?: {
|
|
4489
|
+
/**
|
|
4490
|
+
* Substring in the post text or the author's name.
|
|
4491
|
+
*/
|
|
4492
|
+
q?: string;
|
|
4493
|
+
/**
|
|
4494
|
+
* Only matches of any of these keywords.
|
|
4495
|
+
*/
|
|
4496
|
+
keywordIds?: Array<string>;
|
|
4497
|
+
/**
|
|
4498
|
+
* Never matches of these keywords.
|
|
4499
|
+
*/
|
|
4500
|
+
notKeywordIds?: Array<string>;
|
|
4501
|
+
/**
|
|
4502
|
+
* Only matches of keywords of any of these kinds: brand, competitor, topic.
|
|
4503
|
+
*/
|
|
4504
|
+
keywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
|
|
4505
|
+
/**
|
|
4506
|
+
* Only posts from any of these platforms.
|
|
4507
|
+
*/
|
|
4508
|
+
platforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin'>;
|
|
4509
|
+
/**
|
|
4510
|
+
* Never posts from these platforms.
|
|
4511
|
+
*/
|
|
4512
|
+
notPlatforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin'>;
|
|
4513
|
+
/**
|
|
4514
|
+
* Only mentions in this status: open, ignored, done.
|
|
4515
|
+
*/
|
|
4516
|
+
status?: 'open' | 'ignored' | 'done';
|
|
4517
|
+
/**
|
|
4518
|
+
* true: only mentions the classifier scored relevant; false: only the rest.
|
|
4519
|
+
*/
|
|
4520
|
+
relevant?: boolean;
|
|
4521
|
+
/**
|
|
4522
|
+
* Only mentions scored at least this.
|
|
4523
|
+
*/
|
|
4524
|
+
minRelevance?: number;
|
|
4525
|
+
/**
|
|
4526
|
+
* Only mentions whose classifier confidence is at least this.
|
|
4527
|
+
*/
|
|
4528
|
+
minConfidence?: number;
|
|
4529
|
+
/**
|
|
4530
|
+
* Only these sentiments.
|
|
4531
|
+
*/
|
|
4532
|
+
sentiments?: Array<'positive' | 'neutral' | 'negative'>;
|
|
4533
|
+
/**
|
|
4534
|
+
* Never these sentiments; an unscored mention still passes.
|
|
4535
|
+
*/
|
|
4536
|
+
notSentiments?: Array<'positive' | 'neutral' | 'negative'>;
|
|
4537
|
+
/**
|
|
4538
|
+
* Only mentions carrying any of these intent or topic tags.
|
|
4539
|
+
*/
|
|
4540
|
+
intents?: Array<string>;
|
|
4541
|
+
/**
|
|
4542
|
+
* Never mentions carrying these tags.
|
|
4543
|
+
*/
|
|
4544
|
+
notIntents?: Array<string>;
|
|
4545
|
+
/**
|
|
4546
|
+
* true: only posts that read as machine-made; false: only the rest.
|
|
4547
|
+
*/
|
|
4548
|
+
automated?: boolean;
|
|
4549
|
+
/**
|
|
4550
|
+
* Only posts in any of these languages (ISO 639-1).
|
|
4551
|
+
*/
|
|
4552
|
+
languages?: Array<string>;
|
|
4553
|
+
/**
|
|
4554
|
+
* Never posts in these languages; an unknown language still passes.
|
|
4555
|
+
*/
|
|
4556
|
+
notLanguages?: Array<string>;
|
|
4557
|
+
/**
|
|
4558
|
+
* Only authors your workspace tagged with any of these.
|
|
4559
|
+
*/
|
|
4560
|
+
tags?: Array<string>;
|
|
4561
|
+
/**
|
|
4562
|
+
* Never authors tagged with any of these.
|
|
4563
|
+
*/
|
|
4564
|
+
notTags?: Array<string>;
|
|
4565
|
+
/**
|
|
4566
|
+
* Only posts linking to any of these hosts, the host itself or a subdomain of it.
|
|
4567
|
+
*/
|
|
4568
|
+
linkHosts?: Array<string>;
|
|
4569
|
+
/**
|
|
4570
|
+
* Never posts linking to these hosts.
|
|
4571
|
+
*/
|
|
4572
|
+
notLinkHosts?: Array<string>;
|
|
4573
|
+
/**
|
|
4574
|
+
* Only authors with at least this many followers; unknown reach never passes.
|
|
4575
|
+
*/
|
|
4576
|
+
minFollowers?: number;
|
|
4577
|
+
/**
|
|
4578
|
+
* Only authors with at most this many followers; unknown reach never passes.
|
|
4579
|
+
*/
|
|
4580
|
+
maxFollowers?: number;
|
|
4581
|
+
/**
|
|
4582
|
+
* true: only replies and comments; false: only top-level posts.
|
|
4583
|
+
*/
|
|
4584
|
+
isReply?: boolean;
|
|
4585
|
+
/**
|
|
4586
|
+
* Never these authors: display names, handles or profile URLs.
|
|
4587
|
+
*/
|
|
4588
|
+
excludeAuthors?: Array<string>;
|
|
4589
|
+
};
|
|
4590
|
+
};
|
|
4591
|
+
path?: never;
|
|
4592
|
+
query?: never;
|
|
4593
|
+
url: '/v1/views';
|
|
4594
|
+
};
|
|
4595
|
+
type CreateViewErrors = {
|
|
4596
|
+
/**
|
|
4597
|
+
* Missing or invalid API key
|
|
4598
|
+
*/
|
|
4599
|
+
401: ErrorResponse;
|
|
4600
|
+
/**
|
|
4601
|
+
* A view with that name already exists (duplicate_view)
|
|
4602
|
+
*/
|
|
4603
|
+
409: ErrorResponse;
|
|
4604
|
+
};
|
|
4605
|
+
type CreateViewError = CreateViewErrors[keyof CreateViewErrors];
|
|
4606
|
+
type CreateViewResponses = {
|
|
4607
|
+
/**
|
|
4608
|
+
* The saved view
|
|
4609
|
+
*/
|
|
4610
|
+
201: View;
|
|
4611
|
+
};
|
|
4612
|
+
type CreateViewResponse = CreateViewResponses[keyof CreateViewResponses];
|
|
4613
|
+
type DeleteViewData = {
|
|
4614
|
+
body?: never;
|
|
4615
|
+
path: {
|
|
4616
|
+
/**
|
|
4617
|
+
* View id (vw_...).
|
|
4618
|
+
*/
|
|
4619
|
+
id: string;
|
|
4620
|
+
};
|
|
4621
|
+
query?: never;
|
|
4622
|
+
url: '/v1/views/{id}';
|
|
4623
|
+
};
|
|
4624
|
+
type DeleteViewErrors = {
|
|
4625
|
+
/**
|
|
4626
|
+
* Missing or invalid API key
|
|
4627
|
+
*/
|
|
4628
|
+
401: ErrorResponse;
|
|
4629
|
+
/**
|
|
4630
|
+
* No such view in this workspace
|
|
4631
|
+
*/
|
|
4632
|
+
404: ErrorResponse;
|
|
4633
|
+
};
|
|
4634
|
+
type DeleteViewError = DeleteViewErrors[keyof DeleteViewErrors];
|
|
4635
|
+
type DeleteViewResponses = {
|
|
4636
|
+
/**
|
|
4637
|
+
* Deleted
|
|
4638
|
+
*/
|
|
4639
|
+
204: void;
|
|
4640
|
+
};
|
|
4641
|
+
type DeleteViewResponse = DeleteViewResponses[keyof DeleteViewResponses];
|
|
4642
|
+
type GetViewData = {
|
|
4643
|
+
body?: never;
|
|
4644
|
+
path: {
|
|
4645
|
+
/**
|
|
4646
|
+
* View id (vw_...).
|
|
4647
|
+
*/
|
|
4648
|
+
id: string;
|
|
4649
|
+
};
|
|
4650
|
+
query?: never;
|
|
4651
|
+
url: '/v1/views/{id}';
|
|
4652
|
+
};
|
|
4653
|
+
type GetViewErrors = {
|
|
4654
|
+
/**
|
|
4655
|
+
* Missing or invalid API key
|
|
4656
|
+
*/
|
|
4657
|
+
401: ErrorResponse;
|
|
4658
|
+
/**
|
|
4659
|
+
* No such view in this workspace
|
|
4660
|
+
*/
|
|
4661
|
+
404: ErrorResponse;
|
|
4662
|
+
};
|
|
4663
|
+
type GetViewError = GetViewErrors[keyof GetViewErrors];
|
|
4664
|
+
type GetViewResponses = {
|
|
4665
|
+
/**
|
|
4666
|
+
* The view
|
|
4667
|
+
*/
|
|
4668
|
+
200: View;
|
|
4669
|
+
};
|
|
4670
|
+
type GetViewResponse = GetViewResponses[keyof GetViewResponses];
|
|
4671
|
+
type UpdateViewData = {
|
|
4672
|
+
body: {
|
|
4673
|
+
name?: string;
|
|
4674
|
+
description?: string;
|
|
4675
|
+
/**
|
|
4676
|
+
* Replaces the whole filter.
|
|
4677
|
+
*/
|
|
4678
|
+
filter?: {
|
|
4679
|
+
/**
|
|
4680
|
+
* Substring in the post text or the author's name.
|
|
4681
|
+
*/
|
|
4682
|
+
q?: string;
|
|
4683
|
+
/**
|
|
4684
|
+
* Only matches of any of these keywords.
|
|
4685
|
+
*/
|
|
4686
|
+
keywordIds?: Array<string>;
|
|
4687
|
+
/**
|
|
4688
|
+
* Never matches of these keywords.
|
|
4689
|
+
*/
|
|
4690
|
+
notKeywordIds?: Array<string>;
|
|
4691
|
+
/**
|
|
4692
|
+
* Only matches of keywords of any of these kinds: brand, competitor, topic.
|
|
4693
|
+
*/
|
|
4694
|
+
keywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
|
|
4695
|
+
/**
|
|
4696
|
+
* Only posts from any of these platforms.
|
|
4697
|
+
*/
|
|
4698
|
+
platforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin'>;
|
|
4699
|
+
/**
|
|
4700
|
+
* Never posts from these platforms.
|
|
4701
|
+
*/
|
|
4702
|
+
notPlatforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin'>;
|
|
4703
|
+
/**
|
|
4704
|
+
* Only mentions in this status: open, ignored, done.
|
|
4705
|
+
*/
|
|
4706
|
+
status?: 'open' | 'ignored' | 'done';
|
|
4707
|
+
/**
|
|
4708
|
+
* true: only mentions the classifier scored relevant; false: only the rest.
|
|
4709
|
+
*/
|
|
4710
|
+
relevant?: boolean;
|
|
4711
|
+
/**
|
|
4712
|
+
* Only mentions scored at least this.
|
|
4713
|
+
*/
|
|
4714
|
+
minRelevance?: number;
|
|
4715
|
+
/**
|
|
4716
|
+
* Only mentions whose classifier confidence is at least this.
|
|
4717
|
+
*/
|
|
4718
|
+
minConfidence?: number;
|
|
4719
|
+
/**
|
|
4720
|
+
* Only these sentiments.
|
|
4721
|
+
*/
|
|
4722
|
+
sentiments?: Array<'positive' | 'neutral' | 'negative'>;
|
|
4723
|
+
/**
|
|
4724
|
+
* Never these sentiments; an unscored mention still passes.
|
|
4725
|
+
*/
|
|
4726
|
+
notSentiments?: Array<'positive' | 'neutral' | 'negative'>;
|
|
4727
|
+
/**
|
|
4728
|
+
* Only mentions carrying any of these intent or topic tags.
|
|
4729
|
+
*/
|
|
4730
|
+
intents?: Array<string>;
|
|
4731
|
+
/**
|
|
4732
|
+
* Never mentions carrying these tags.
|
|
4733
|
+
*/
|
|
4734
|
+
notIntents?: Array<string>;
|
|
4735
|
+
/**
|
|
4736
|
+
* true: only posts that read as machine-made; false: only the rest.
|
|
4737
|
+
*/
|
|
4738
|
+
automated?: boolean;
|
|
4739
|
+
/**
|
|
4740
|
+
* Only posts in any of these languages (ISO 639-1).
|
|
4741
|
+
*/
|
|
4742
|
+
languages?: Array<string>;
|
|
4743
|
+
/**
|
|
4744
|
+
* Never posts in these languages; an unknown language still passes.
|
|
4745
|
+
*/
|
|
4746
|
+
notLanguages?: Array<string>;
|
|
4747
|
+
/**
|
|
4748
|
+
* Only authors your workspace tagged with any of these.
|
|
4749
|
+
*/
|
|
4750
|
+
tags?: Array<string>;
|
|
4751
|
+
/**
|
|
4752
|
+
* Never authors tagged with any of these.
|
|
4753
|
+
*/
|
|
4754
|
+
notTags?: Array<string>;
|
|
4755
|
+
/**
|
|
4756
|
+
* Only posts linking to any of these hosts, the host itself or a subdomain of it.
|
|
4757
|
+
*/
|
|
4758
|
+
linkHosts?: Array<string>;
|
|
4759
|
+
/**
|
|
4760
|
+
* Never posts linking to these hosts.
|
|
4761
|
+
*/
|
|
4762
|
+
notLinkHosts?: Array<string>;
|
|
4763
|
+
/**
|
|
4764
|
+
* Only authors with at least this many followers; unknown reach never passes.
|
|
4765
|
+
*/
|
|
4766
|
+
minFollowers?: number;
|
|
4767
|
+
/**
|
|
4768
|
+
* Only authors with at most this many followers; unknown reach never passes.
|
|
4769
|
+
*/
|
|
4770
|
+
maxFollowers?: number;
|
|
4771
|
+
/**
|
|
4772
|
+
* true: only replies and comments; false: only top-level posts.
|
|
4773
|
+
*/
|
|
4774
|
+
isReply?: boolean;
|
|
4775
|
+
/**
|
|
4776
|
+
* Never these authors: display names, handles or profile URLs.
|
|
4777
|
+
*/
|
|
4778
|
+
excludeAuthors?: Array<string>;
|
|
4779
|
+
};
|
|
4780
|
+
};
|
|
4781
|
+
path: {
|
|
4782
|
+
/**
|
|
4783
|
+
* View id (vw_...).
|
|
4784
|
+
*/
|
|
4785
|
+
id: string;
|
|
4786
|
+
};
|
|
4787
|
+
query?: never;
|
|
4788
|
+
url: '/v1/views/{id}';
|
|
4789
|
+
};
|
|
4790
|
+
type UpdateViewErrors = {
|
|
4791
|
+
/**
|
|
4792
|
+
* Missing or invalid API key
|
|
4793
|
+
*/
|
|
4794
|
+
401: ErrorResponse;
|
|
4795
|
+
/**
|
|
4796
|
+
* No such view in this workspace
|
|
4797
|
+
*/
|
|
4798
|
+
404: ErrorResponse;
|
|
4799
|
+
/**
|
|
4800
|
+
* A view with that name already exists (duplicate_view)
|
|
4801
|
+
*/
|
|
4802
|
+
409: ErrorResponse;
|
|
4803
|
+
};
|
|
4804
|
+
type UpdateViewError = UpdateViewErrors[keyof UpdateViewErrors];
|
|
4805
|
+
type UpdateViewResponses = {
|
|
4806
|
+
/**
|
|
4807
|
+
* The updated view
|
|
4808
|
+
*/
|
|
4809
|
+
200: View;
|
|
4810
|
+
};
|
|
4811
|
+
type UpdateViewResponse = UpdateViewResponses[keyof UpdateViewResponses];
|
|
4188
4812
|
type GetCompanyData = {
|
|
4189
4813
|
body?: never;
|
|
4190
4814
|
path?: never;
|
|
@@ -5820,6 +6444,34 @@ declare const getSegment: <ThrowOnError extends boolean = false>(options: Option
|
|
|
5820
6444
|
* Update a segment
|
|
5821
6445
|
*/
|
|
5822
6446
|
declare const updateSegment: <ThrowOnError extends boolean = false>(options: Options<UpdateSegmentData, ThrowOnError>) => RequestResult<UpdateSegmentResponses, UpdateSegmentErrors, ThrowOnError>;
|
|
6447
|
+
/**
|
|
6448
|
+
* List views
|
|
6449
|
+
*
|
|
6450
|
+
* The saved views of the workspace, oldest first. A view is a named filter over mentions: pass its id as `viewId` to GET /v1/mentions or the export to read exactly what it selects.
|
|
6451
|
+
*/
|
|
6452
|
+
declare const listViews: <ThrowOnError extends boolean = false>(options?: Options<ListViewsData, ThrowOnError>) => RequestResult<ListViewsResponses, ListViewsErrors, ThrowOnError>;
|
|
6453
|
+
/**
|
|
6454
|
+
* Save a view
|
|
6455
|
+
*
|
|
6456
|
+
* Save a named filter over mentions. The filter takes the same fields as GET /v1/mentions (lists are any-of, `not` lists none-of, every condition ANDed); an empty filter is every mention. Nothing is materialized: the view selects whatever matches when it is read.
|
|
6457
|
+
*/
|
|
6458
|
+
declare const createView: <ThrowOnError extends boolean = false>(options: Options<CreateViewData, ThrowOnError>) => RequestResult<CreateViewResponses, CreateViewErrors, ThrowOnError>;
|
|
6459
|
+
/**
|
|
6460
|
+
* Delete a view
|
|
6461
|
+
*
|
|
6462
|
+
* Removes the view. No mention is affected.
|
|
6463
|
+
*/
|
|
6464
|
+
declare const deleteView: <ThrowOnError extends boolean = false>(options: Options<DeleteViewData, ThrowOnError>) => RequestResult<DeleteViewResponses, DeleteViewErrors, ThrowOnError>;
|
|
6465
|
+
/**
|
|
6466
|
+
* Get a view
|
|
6467
|
+
*/
|
|
6468
|
+
declare const getView: <ThrowOnError extends boolean = false>(options: Options<GetViewData, ThrowOnError>) => RequestResult<GetViewResponses, GetViewErrors, ThrowOnError>;
|
|
6469
|
+
/**
|
|
6470
|
+
* Update a view
|
|
6471
|
+
*
|
|
6472
|
+
* Rename, describe or refilter a view. `filter` replaces the whole filter.
|
|
6473
|
+
*/
|
|
6474
|
+
declare const updateView: <ThrowOnError extends boolean = false>(options: Options<UpdateViewData, ThrowOnError>) => RequestResult<UpdateViewResponses, UpdateViewErrors, ThrowOnError>;
|
|
5823
6475
|
/**
|
|
5824
6476
|
* Get the company profile
|
|
5825
6477
|
*
|
|
@@ -5996,11 +6648,13 @@ declare const sdk_createChannel: typeof createChannel;
|
|
|
5996
6648
|
declare const sdk_createInvitation: typeof createInvitation;
|
|
5997
6649
|
declare const sdk_createKeyword: typeof createKeyword;
|
|
5998
6650
|
declare const sdk_createSegment: typeof createSegment;
|
|
6651
|
+
declare const sdk_createView: typeof createView;
|
|
5999
6652
|
declare const sdk_deleteAlert: typeof deleteAlert;
|
|
6000
6653
|
declare const sdk_deleteChannel: typeof deleteChannel;
|
|
6001
6654
|
declare const sdk_deleteKeyword: typeof deleteKeyword;
|
|
6002
6655
|
declare const sdk_deletePersonActivity: typeof deletePersonActivity;
|
|
6003
6656
|
declare const sdk_deleteSegment: typeof deleteSegment;
|
|
6657
|
+
declare const sdk_deleteView: typeof deleteView;
|
|
6004
6658
|
declare const sdk_exportMentionsCsv: typeof exportMentionsCsv;
|
|
6005
6659
|
declare const sdk_exportPeopleCsv: typeof exportPeopleCsv;
|
|
6006
6660
|
declare const sdk_getAlert: typeof getAlert;
|
|
@@ -6017,6 +6671,7 @@ declare const sdk_getPerson: typeof getPerson;
|
|
|
6017
6671
|
declare const sdk_getSegment: typeof getSegment;
|
|
6018
6672
|
declare const sdk_getShareOfVoice: typeof getShareOfVoice;
|
|
6019
6673
|
declare const sdk_getUsage: typeof getUsage;
|
|
6674
|
+
declare const sdk_getView: typeof getView;
|
|
6020
6675
|
declare const sdk_listAlerts: typeof listAlerts;
|
|
6021
6676
|
declare const sdk_listApiKeys: typeof listApiKeys;
|
|
6022
6677
|
declare const sdk_listChannelDeliveries: typeof listChannelDeliveries;
|
|
@@ -6027,6 +6682,7 @@ declare const sdk_listMembers: typeof listMembers;
|
|
|
6027
6682
|
declare const sdk_listPeople: typeof listPeople;
|
|
6028
6683
|
declare const sdk_listPersonActivities: typeof listPersonActivities;
|
|
6029
6684
|
declare const sdk_listSegments: typeof listSegments;
|
|
6685
|
+
declare const sdk_listViews: typeof listViews;
|
|
6030
6686
|
declare const sdk_logPersonActivity: typeof logPersonActivity;
|
|
6031
6687
|
declare const sdk_mergePeople: typeof mergePeople;
|
|
6032
6688
|
declare const sdk_muteAlertAuthors: typeof muteAlertAuthors;
|
|
@@ -6048,9 +6704,10 @@ declare const sdk_updateKeyword: typeof updateKeyword;
|
|
|
6048
6704
|
declare const sdk_updateMention: typeof updateMention;
|
|
6049
6705
|
declare const sdk_updatePerson: typeof updatePerson;
|
|
6050
6706
|
declare const sdk_updateSegment: typeof updateSegment;
|
|
6707
|
+
declare const sdk_updateView: typeof updateView;
|
|
6051
6708
|
declare const sdk_whoami: typeof whoami;
|
|
6052
6709
|
declare namespace sdk {
|
|
6053
|
-
export { type sdk_Options as Options, sdk_createAlert as createAlert, sdk_createApiKey as createApiKey, sdk_createChannel as createChannel, sdk_createInvitation as createInvitation, 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_getFilters as getFilters, 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_getUsage as getUsage, sdk_listAlerts as listAlerts, sdk_listApiKeys as listApiKeys, sdk_listChannelDeliveries as listChannelDeliveries, sdk_listChannels as listChannels, sdk_listInvitations as listInvitations, sdk_listKeywords as listKeywords, sdk_listMembers as listMembers, 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_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_updateFilters as updateFilters, sdk_updateKeyword as updateKeyword, sdk_updateMention as updateMention, sdk_updatePerson as updatePerson, sdk_updateSegment as updateSegment, sdk_whoami as whoami };
|
|
6710
|
+
export { type sdk_Options as Options, sdk_createAlert as createAlert, sdk_createApiKey as createApiKey, sdk_createChannel as createChannel, sdk_createInvitation as createInvitation, sdk_createKeyword as createKeyword, sdk_createSegment as createSegment, sdk_createView as createView, sdk_deleteAlert as deleteAlert, sdk_deleteChannel as deleteChannel, sdk_deleteKeyword as deleteKeyword, sdk_deletePersonActivity as deletePersonActivity, sdk_deleteSegment as deleteSegment, sdk_deleteView as deleteView, 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_getFilters as getFilters, 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_getUsage as getUsage, sdk_getView as getView, sdk_listAlerts as listAlerts, sdk_listApiKeys as listApiKeys, sdk_listChannelDeliveries as listChannelDeliveries, sdk_listChannels as listChannels, sdk_listInvitations as listInvitations, sdk_listKeywords as listKeywords, sdk_listMembers as listMembers, sdk_listPeople as listPeople, sdk_listPersonActivities as listPersonActivities, 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_updateFilters as updateFilters, sdk_updateKeyword as updateKeyword, sdk_updateMention as updateMention, sdk_updatePerson as updatePerson, sdk_updateSegment as updateSegment, sdk_updateView as updateView, sdk_whoami as whoami };
|
|
6054
6711
|
}
|
|
6055
6712
|
|
|
6056
6713
|
/**
|
|
@@ -6078,4 +6735,4 @@ type Mentio = typeof sdk & {
|
|
|
6078
6735
|
};
|
|
6079
6736
|
declare function createMentio(options: MentioOptions): Mentio;
|
|
6080
6737
|
|
|
6081
|
-
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 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 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 GetFiltersData, type GetFiltersError, type GetFiltersErrors, type GetFiltersResponse, type GetFiltersResponses, 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 GetUsageData, type GetUsageError, type GetUsageErrors, type GetUsageResponse, type GetUsageResponses, type Invitation, 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 ListInvitationsData, type ListInvitationsError, type ListInvitationsErrors, type ListInvitationsResponse, type ListInvitationsResponses, type ListKeywordsData, type ListKeywordsError, type ListKeywordsErrors, type ListKeywordsResponse, type ListKeywordsResponses, type ListMembersData, type ListMembersError, type ListMembersErrors, type ListMembersResponse, type ListMembersResponses, 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 Member, 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 RemoveMemberData, type RemoveMemberError, type RemoveMemberErrors, type RemoveMemberResponse, type RemoveMemberResponses, type RequestResult, 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 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 UpdateFiltersData, type UpdateFiltersError, type UpdateFiltersErrors, type UpdateFiltersResponse, type UpdateFiltersResponses, 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 UsageSummary, type WebhookChannel, type Whoami, type WhoamiData, type WhoamiError, type WhoamiErrors, type WhoamiResponse, type WhoamiResponses, type WorkspaceFilters, createAlert, createApiKey, createChannel, createClient, createConfig, createInvitation, createKeyword, createMentio, createSegment, deleteAlert, deleteChannel, deleteKeyword, deletePersonActivity, deleteSegment, exportMentionsCsv, exportPeopleCsv, getAlert, getAnalyticsBreakdown, getAnalyticsSeries, getAnalyticsSummary, getChannel, getCompany, getFilters, getHealth, getKeyword, getMention, getPerson, getSegment, getShareOfVoice, getUsage, listAlerts, listApiKeys, listChannelDeliveries, listChannels, listInvitations, listKeywords, listMembers, listPeople, listPersonActivities, listSegments, logPersonActivity, mergePeople, muteAlertAuthors, removeMember, revokeApiKey, revokeInvitation, rotateWebhookSecret, runAlertDigest, searchMentions, splitPerson, testAlert, testChannel, unmuteAlertAuthors, updateAlert, updateChannel, updateCompany, updateFilters, updateKeyword, updateMention, updatePerson, updateSegment, whoami };
|
|
6738
|
+
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 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 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 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 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 GetFiltersData, type GetFiltersError, type GetFiltersErrors, type GetFiltersResponse, type GetFiltersResponses, 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 GetUsageData, type GetUsageError, type GetUsageErrors, type GetUsageResponse, type GetUsageResponses, type GetViewData, type GetViewError, type GetViewErrors, type GetViewResponse, type GetViewResponses, type Invitation, 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 ListInvitationsData, type ListInvitationsError, type ListInvitationsErrors, type ListInvitationsResponse, type ListInvitationsResponses, type ListKeywordsData, type ListKeywordsError, type ListKeywordsErrors, type ListKeywordsResponse, type ListKeywordsResponses, type ListMembersData, type ListMembersError, type ListMembersErrors, type ListMembersResponse, type ListMembersResponses, 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 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 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 RemoveMemberData, type RemoveMemberError, type RemoveMemberErrors, type RemoveMemberResponse, type RemoveMemberResponses, type RequestResult, 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 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 UpdateFiltersData, type UpdateFiltersError, type UpdateFiltersErrors, type UpdateFiltersResponse, type UpdateFiltersResponses, 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 UsageSummary, type View, type WebhookChannel, type Whoami, type WhoamiData, type WhoamiError, type WhoamiErrors, type WhoamiResponse, type WhoamiResponses, type WorkspaceFilters, createAlert, createApiKey, createChannel, createClient, createConfig, createInvitation, createKeyword, createMentio, createSegment, createView, deleteAlert, deleteChannel, deleteKeyword, deletePersonActivity, deleteSegment, deleteView, exportMentionsCsv, exportPeopleCsv, getAlert, getAnalyticsBreakdown, getAnalyticsSeries, getAnalyticsSummary, getChannel, getCompany, getFilters, getHealth, getKeyword, getMention, getPerson, getSegment, getShareOfVoice, getUsage, getView, listAlerts, listApiKeys, listChannelDeliveries, listChannels, listInvitations, listKeywords, listMembers, listPeople, listPersonActivities, listSegments, listViews, logPersonActivity, mergePeople, muteAlertAuthors, removeMember, revokeApiKey, revokeInvitation, rotateWebhookSecret, runAlertDigest, searchMentions, splitPerson, testAlert, testChannel, unmuteAlertAuthors, updateAlert, updateChannel, updateCompany, updateFilters, updateKeyword, updateMention, updatePerson, updateSegment, updateView, whoami };
|