@mentio-dev/sdk 0.13.5 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +681 -24
- package/dist/index.js +54 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -469,6 +469,10 @@ type Keyword = {
|
|
|
469
469
|
* RSS and Atom feeds this keyword reads; empty for none.
|
|
470
470
|
*/
|
|
471
471
|
feeds: Array<KeywordFeed>;
|
|
472
|
+
/**
|
|
473
|
+
* true (the default): the keyword also reads every feed of the workspace (GET /v1/feeds), on top of its own `feeds`. false: its own feeds alone.
|
|
474
|
+
*/
|
|
475
|
+
readsWorkspaceFeeds: boolean;
|
|
472
476
|
/**
|
|
473
477
|
* Where this keyword collects reviews from (App Store and Google Play apps, Trustpilot pages, Google Maps places); empty for none.
|
|
474
478
|
*/
|
|
@@ -482,13 +486,17 @@ type Keyword = {
|
|
|
482
486
|
*/
|
|
483
487
|
matching: {
|
|
484
488
|
/**
|
|
485
|
-
* The post must ALSO contain these terms, any one of them or all of them per requiredMode. Empty: no requirement.
|
|
489
|
+
* The post must ALSO contain these terms, any one of them or all of them per requiredMode. A `*` at the start or the end of an entry is a wildcard (alert* matches alerts and alerting). Empty: no requirement.
|
|
486
490
|
*/
|
|
487
491
|
requiredTerms: Array<string>;
|
|
488
492
|
/**
|
|
489
493
|
* any: at least one required term must appear. all: every one must.
|
|
490
494
|
*/
|
|
491
495
|
requiredMode: 'any' | 'all';
|
|
496
|
+
/**
|
|
497
|
+
* Combinations of terms, at most 50 of 10 terms each: the post must ALSO contain every term of at least one group (an OR of ANDs). For the keyword inreach, [["weather", "alert*"], ["tsunami"], ["flash flood"]] keeps a post about inReach weather alerts, tsunamis or flash floods, one keyword instead of three. Same phrase and wildcard rules as requiredTerms; when both are set a post must pass both. Empty: no combinations.
|
|
498
|
+
*/
|
|
499
|
+
requiredGroups: Array<Array<string>>;
|
|
492
500
|
/**
|
|
493
501
|
* A post containing any of these is dropped. A `*` at the start or the end of an entry is a wildcard (beta.* matches beta.0.1; *bot matches nightlybot).
|
|
494
502
|
*/
|
|
@@ -658,7 +666,7 @@ type ErrorResponse = {
|
|
|
658
666
|
/**
|
|
659
667
|
* 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.
|
|
660
668
|
*/
|
|
661
|
-
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' | 'hourly_email_unsupported' | 'slack_not_connected' | 'slack_not_configured' | 'telegram_not_configured' | 'email_not_configured' | 'invalid_assignee' | 'classification_pending' | 'invalid_member' | 'already_member' | 'last_owner' | 'duplicate_segment' | 'filter_too_complex' | 'duplicate_view' | 'duplicate_group' | 'default_group' | 'default_group_context' | 'group_changed' | 'invalid_signature' | 'webhook_not_configured' | 'invalid_token' | 'protected_user' | 'upstream_unavailable' | 'internal_error';
|
|
669
|
+
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' | 'hourly_email_unsupported' | 'slack_not_connected' | 'slack_not_configured' | 'telegram_not_configured' | 'feed_unreadable' | 'feed_login_required' | 'feed_login_expired' | 'feed_limit_reached' | 'feed_auth_not_configured' | 'email_not_configured' | 'invalid_assignee' | 'classification_pending' | 'invalid_member' | 'already_member' | 'last_owner' | 'duplicate_segment' | 'filter_too_complex' | 'duplicate_view' | 'duplicate_group' | 'default_group' | 'default_group_context' | 'group_changed' | 'invalid_signature' | 'webhook_not_configured' | 'invalid_token' | 'protected_user' | 'upstream_unavailable' | 'internal_error';
|
|
662
670
|
/**
|
|
663
671
|
* Human-readable detail; may change between releases.
|
|
664
672
|
*/
|
|
@@ -715,13 +723,17 @@ type KeywordSuggestion = {
|
|
|
715
723
|
*/
|
|
716
724
|
matching?: {
|
|
717
725
|
/**
|
|
718
|
-
* The post must ALSO contain these terms, any one of them or all of them per requiredMode. Empty: no requirement.
|
|
726
|
+
* The post must ALSO contain these terms, any one of them or all of them per requiredMode. A `*` at the start or the end of an entry is a wildcard (alert* matches alerts and alerting). Empty: no requirement.
|
|
719
727
|
*/
|
|
720
728
|
requiredTerms?: Array<string>;
|
|
721
729
|
/**
|
|
722
730
|
* any: at least one required term must appear. all: every one must.
|
|
723
731
|
*/
|
|
724
732
|
requiredMode?: 'any' | 'all';
|
|
733
|
+
/**
|
|
734
|
+
* Combinations of terms, at most 50 of 10 terms each: the post must ALSO contain every term of at least one group (an OR of ANDs). For the keyword inreach, [["weather", "alert*"], ["tsunami"], ["flash flood"]] keeps a post about inReach weather alerts, tsunamis or flash floods, one keyword instead of three. Same phrase and wildcard rules as requiredTerms; when both are set a post must pass both. Empty: no combinations.
|
|
735
|
+
*/
|
|
736
|
+
requiredGroups?: Array<Array<string>>;
|
|
725
737
|
/**
|
|
726
738
|
* A post containing any of these is dropped. A `*` at the start or the end of an entry is a wildcard (beta.* matches beta.0.1; *bot matches nightlybot).
|
|
727
739
|
*/
|
|
@@ -833,6 +845,10 @@ type KeywordSuggestion = {
|
|
|
833
845
|
*/
|
|
834
846
|
url: string;
|
|
835
847
|
}>;
|
|
848
|
+
/**
|
|
849
|
+
* true: the keyword also reads the workspace's feeds (GET /v1/feeds), live from now on. false: its own feeds alone.
|
|
850
|
+
*/
|
|
851
|
+
readsWorkspaceFeeds?: boolean;
|
|
836
852
|
};
|
|
837
853
|
/**
|
|
838
854
|
* What the change would have done over the window, measured with the matcher's own rules. Null for a context, which changes scores, not matches.
|
|
@@ -1102,6 +1118,78 @@ type KeywordHealth = {
|
|
|
1102
1118
|
*/
|
|
1103
1119
|
generatedAt: string;
|
|
1104
1120
|
};
|
|
1121
|
+
/**
|
|
1122
|
+
* An RSS or Atom feed every keyword of the workspace reads.
|
|
1123
|
+
*/
|
|
1124
|
+
type Feed = {
|
|
1125
|
+
/**
|
|
1126
|
+
* Feed id (fd_...).
|
|
1127
|
+
*/
|
|
1128
|
+
id: string;
|
|
1129
|
+
/**
|
|
1130
|
+
* The feed itself (after redirects, or the one the page advertised): what is polled.
|
|
1131
|
+
*/
|
|
1132
|
+
url: string;
|
|
1133
|
+
/**
|
|
1134
|
+
* The feed's own title, when it has one.
|
|
1135
|
+
*/
|
|
1136
|
+
title: string | null;
|
|
1137
|
+
/**
|
|
1138
|
+
* When the workspace connected it.
|
|
1139
|
+
*/
|
|
1140
|
+
connectedAt: string;
|
|
1141
|
+
/**
|
|
1142
|
+
* Nothing published before this is a live mention: the connection, or the last time its sign-in was added or removed (signed in and signed out, a post is read as two different posts, so the switch starts over rather than bill one twice).
|
|
1143
|
+
*/
|
|
1144
|
+
readingSince: string;
|
|
1145
|
+
/**
|
|
1146
|
+
* The sign-in the feed is read with, or null for a public feed. PATCH { auth } replaces it, { auth: null } removes it.
|
|
1147
|
+
*/
|
|
1148
|
+
auth: {
|
|
1149
|
+
/**
|
|
1150
|
+
* cookie or header. The value is never shown.
|
|
1151
|
+
*/
|
|
1152
|
+
type: 'cookie' | 'header';
|
|
1153
|
+
} | null;
|
|
1154
|
+
/**
|
|
1155
|
+
* Whether the hourly read works.
|
|
1156
|
+
*/
|
|
1157
|
+
health: {
|
|
1158
|
+
/**
|
|
1159
|
+
* failing: the last 3 hourly reads or more failed (a feed.failing event went out); ok otherwise.
|
|
1160
|
+
*/
|
|
1161
|
+
status: 'ok' | 'failing';
|
|
1162
|
+
/**
|
|
1163
|
+
* Why the last read failed; null when it read well.
|
|
1164
|
+
*/
|
|
1165
|
+
reason: 'login_required' | 'login_expired' | 'blocked' | 'not_found' | 'not_a_feed' | 'unreachable';
|
|
1166
|
+
/**
|
|
1167
|
+
* What the last failed read saw.
|
|
1168
|
+
*/
|
|
1169
|
+
detail: string | null;
|
|
1170
|
+
/**
|
|
1171
|
+
* Failed hourly reads in a row.
|
|
1172
|
+
*/
|
|
1173
|
+
failures: number;
|
|
1174
|
+
/**
|
|
1175
|
+
* While failing: since when.
|
|
1176
|
+
*/
|
|
1177
|
+
since: string | null;
|
|
1178
|
+
};
|
|
1179
|
+
/**
|
|
1180
|
+
* How the hourly poll of this feed is going.
|
|
1181
|
+
*/
|
|
1182
|
+
stats: {
|
|
1183
|
+
/**
|
|
1184
|
+
* When the feed was last read; null until its first poll (within the hour).
|
|
1185
|
+
*/
|
|
1186
|
+
lastPolledAt: string | null;
|
|
1187
|
+
/**
|
|
1188
|
+
* Polls in a row that brought nothing new; a feed that keeps reading empty may have moved.
|
|
1189
|
+
*/
|
|
1190
|
+
emptyPolls: number;
|
|
1191
|
+
};
|
|
1192
|
+
};
|
|
1105
1193
|
/**
|
|
1106
1194
|
* Workspace-wide matching rules; a rejected post is never billed.
|
|
1107
1195
|
*/
|
|
@@ -2435,15 +2523,58 @@ type ChannelFailingEventData = {
|
|
|
2435
2523
|
*/
|
|
2436
2524
|
since: string;
|
|
2437
2525
|
};
|
|
2526
|
+
type FeedFailingEventData = {
|
|
2527
|
+
/**
|
|
2528
|
+
* The attention item (att_...): GET /v1/attention lists it, POST /v1/attention/{id}/dismiss puts it away.
|
|
2529
|
+
*/
|
|
2530
|
+
attentionId: string;
|
|
2531
|
+
/**
|
|
2532
|
+
* Where to look in the dashboard.
|
|
2533
|
+
*/
|
|
2534
|
+
url: string;
|
|
2535
|
+
/**
|
|
2536
|
+
* The workspace feed (GET /v1/feeds/{id}).
|
|
2537
|
+
*/
|
|
2538
|
+
feed: {
|
|
2539
|
+
/**
|
|
2540
|
+
* Feed id (fd_...).
|
|
2541
|
+
*/
|
|
2542
|
+
id: string;
|
|
2543
|
+
/**
|
|
2544
|
+
* The feed address.
|
|
2545
|
+
*/
|
|
2546
|
+
url: string;
|
|
2547
|
+
/**
|
|
2548
|
+
* The feed's own title, when it has one.
|
|
2549
|
+
*/
|
|
2550
|
+
title: string | null;
|
|
2551
|
+
};
|
|
2552
|
+
/**
|
|
2553
|
+
* login_required: the feed answers a sign-in or access-denied page (connect it with the forum's sign-in, auth). login_expired: the same on a feed that has a sign-in: copy a fresh cookie. blocked: a 403, a 429 or a bot check. not_found: the feed is gone. not_a_feed: the address answers a page, not RSS or Atom. unreachable: no answer or a server error.
|
|
2554
|
+
*/
|
|
2555
|
+
reason: 'login_required' | 'login_expired' | 'blocked' | 'not_found' | 'not_a_feed' | 'unreachable';
|
|
2556
|
+
/**
|
|
2557
|
+
* What the last failed read saw, in a few words.
|
|
2558
|
+
*/
|
|
2559
|
+
detail: string | null;
|
|
2560
|
+
/**
|
|
2561
|
+
* When it started failing: the third failed read in a row.
|
|
2562
|
+
*/
|
|
2563
|
+
failingSince: string;
|
|
2564
|
+
/**
|
|
2565
|
+
* Live keywords of the workspace that read workspace feeds: what misses its posts while it fails.
|
|
2566
|
+
*/
|
|
2567
|
+
keywordsAffected: number;
|
|
2568
|
+
};
|
|
2438
2569
|
type AttentionItem = {
|
|
2439
2570
|
/**
|
|
2440
2571
|
* Attention item id (att_...).
|
|
2441
2572
|
*/
|
|
2442
2573
|
id: string;
|
|
2443
2574
|
/**
|
|
2444
|
-
* mention.spike: far more mentions in the last hour than the keyword usually gets. sentiment.negative_spike: the negative share of the last 24 hours jumped. keyword.noisy: most scored matches are noise. channel.failing: the channel's last sends all failed.
|
|
2575
|
+
* mention.spike: far more mentions in the last hour than the keyword usually gets. sentiment.negative_spike: the negative share of the last 24 hours jumped. keyword.noisy: most scored matches are noise. channel.failing: the channel's last sends all failed. feed.failing: a workspace feed failed its last 3 hourly reads. feed.recovered: it read again after failing.
|
|
2445
2576
|
*/
|
|
2446
|
-
kind: 'mention.spike' | 'sentiment.negative_spike' | 'keyword.noisy' | 'channel.failing';
|
|
2577
|
+
kind: 'mention.spike' | 'sentiment.negative_spike' | 'keyword.noisy' | 'channel.failing' | 'feed.failing' | 'feed.recovered';
|
|
2447
2578
|
/**
|
|
2448
2579
|
* open: the condition holds. resolved: it no longer does. dismissed: a person put it away; it does not come back for the same episode.
|
|
2449
2580
|
*/
|
|
@@ -2453,11 +2584,11 @@ type AttentionItem = {
|
|
|
2453
2584
|
*/
|
|
2454
2585
|
subject: {
|
|
2455
2586
|
/**
|
|
2456
|
-
* keyword or
|
|
2587
|
+
* keyword, channel or feed.
|
|
2457
2588
|
*/
|
|
2458
|
-
type: 'keyword' | 'channel';
|
|
2589
|
+
type: 'keyword' | 'channel' | 'feed';
|
|
2459
2590
|
/**
|
|
2460
|
-
* The keyword (kw_...)
|
|
2591
|
+
* The keyword (kw_...), the channel (dest_...) or the feed (fd_...).
|
|
2461
2592
|
*/
|
|
2462
2593
|
id: string;
|
|
2463
2594
|
};
|
|
@@ -2480,7 +2611,7 @@ type AttentionItem = {
|
|
|
2480
2611
|
/**
|
|
2481
2612
|
* The facts as they stood when it opened: the same object the account event of the same name carries as `data`.
|
|
2482
2613
|
*/
|
|
2483
|
-
data: MentionSpikeEventData | NegativeSpikeEventData | KeywordNoisyEventData | ChannelFailingEventData;
|
|
2614
|
+
data: MentionSpikeEventData | NegativeSpikeEventData | KeywordNoisyEventData | ChannelFailingEventData | FeedFailingEventData;
|
|
2484
2615
|
};
|
|
2485
2616
|
/**
|
|
2486
2617
|
* The group the keyword belongs to.
|
|
@@ -4058,7 +4189,7 @@ type SlackChannel = {
|
|
|
4058
4189
|
/**
|
|
4059
4190
|
* The attention events this channel receives on its own, no rule involved: one short message when an item opens (GET /v1/attention). Empty when it receives none.
|
|
4060
4191
|
*/
|
|
4061
|
-
events: Array<'mention.spike' | 'sentiment.negative_spike' | 'keyword.noisy' | 'channel.failing'>;
|
|
4192
|
+
events: Array<'mention.spike' | 'sentiment.negative_spike' | 'keyword.noisy' | 'channel.failing' | 'feed.failing' | 'feed.recovered'>;
|
|
4062
4193
|
};
|
|
4063
4194
|
};
|
|
4064
4195
|
type EmailChannel = {
|
|
@@ -4110,7 +4241,7 @@ type EmailChannel = {
|
|
|
4110
4241
|
/**
|
|
4111
4242
|
* The attention events this channel receives on its own, no rule involved: one short message when an item opens (GET /v1/attention). Empty when it receives none.
|
|
4112
4243
|
*/
|
|
4113
|
-
events: Array<'mention.spike' | 'sentiment.negative_spike' | 'keyword.noisy' | 'channel.failing'>;
|
|
4244
|
+
events: Array<'mention.spike' | 'sentiment.negative_spike' | 'keyword.noisy' | 'channel.failing' | 'feed.failing' | 'feed.recovered'>;
|
|
4114
4245
|
};
|
|
4115
4246
|
};
|
|
4116
4247
|
type WebhookChannel = {
|
|
@@ -4162,7 +4293,7 @@ type WebhookChannel = {
|
|
|
4162
4293
|
/**
|
|
4163
4294
|
* The account events this endpoint receives on its own, no rule involved: keyword and wallet state changes and the attention events. Empty when it receives none; mention and digest deliveries come through rules as before.
|
|
4164
4295
|
*/
|
|
4165
|
-
events: Array<'keyword.capped' | 'keyword.paused_for_balance' | 'keyword.resumed' | 'wallet.low' | 'wallet.paused' | 'wallet.resumed' | 'mention.spike' | 'sentiment.negative_spike' | 'keyword.noisy' | 'channel.failing'>;
|
|
4296
|
+
events: Array<'keyword.capped' | 'keyword.paused_for_balance' | 'keyword.resumed' | 'wallet.low' | 'wallet.paused' | 'wallet.resumed' | 'mention.spike' | 'sentiment.negative_spike' | 'keyword.noisy' | 'channel.failing' | 'feed.failing' | 'feed.recovered'>;
|
|
4166
4297
|
/**
|
|
4167
4298
|
* Only on creation and rotation. Signs every request: X-Mentions-Signature-V2 is v2= plus the hex HMAC-SHA256 of "<X-Mentions-Timestamp>.<raw body>" (reject a timestamp older than a few minutes); X-Mentions-Signature, the hex HMAC-SHA256 of the raw body alone, stays for older verifiers.
|
|
4168
4299
|
*/
|
|
@@ -4213,7 +4344,7 @@ type TelegramChannel = {
|
|
|
4213
4344
|
/**
|
|
4214
4345
|
* The attention events this channel receives on its own, no rule involved: one short message when an item opens (GET /v1/attention). Empty when it receives none.
|
|
4215
4346
|
*/
|
|
4216
|
-
events: Array<'mention.spike' | 'sentiment.negative_spike' | 'keyword.noisy' | 'channel.failing'>;
|
|
4347
|
+
events: Array<'mention.spike' | 'sentiment.negative_spike' | 'keyword.noisy' | 'channel.failing' | 'feed.failing' | 'feed.recovered'>;
|
|
4217
4348
|
};
|
|
4218
4349
|
};
|
|
4219
4350
|
type Channel = ({
|
|
@@ -4238,7 +4369,7 @@ type CreateSlackChannel = {
|
|
|
4238
4369
|
/**
|
|
4239
4370
|
* Attention events to receive here, on top of whatever rules send. Omit for none.
|
|
4240
4371
|
*/
|
|
4241
|
-
events?: Array<'mention.spike' | 'sentiment.negative_spike' | 'keyword.noisy' | 'channel.failing'>;
|
|
4372
|
+
events?: Array<'mention.spike' | 'sentiment.negative_spike' | 'keyword.noisy' | 'channel.failing' | 'feed.failing' | 'feed.recovered'>;
|
|
4242
4373
|
};
|
|
4243
4374
|
type CreateEmailChannel = {
|
|
4244
4375
|
kind: 'email';
|
|
@@ -4249,7 +4380,7 @@ type CreateEmailChannel = {
|
|
|
4249
4380
|
/**
|
|
4250
4381
|
* Attention events to receive here, on top of whatever rules send. Omit for none.
|
|
4251
4382
|
*/
|
|
4252
|
-
events?: Array<'mention.spike' | 'sentiment.negative_spike' | 'keyword.noisy' | 'channel.failing'>;
|
|
4383
|
+
events?: Array<'mention.spike' | 'sentiment.negative_spike' | 'keyword.noisy' | 'channel.failing' | 'feed.failing' | 'feed.recovered'>;
|
|
4253
4384
|
};
|
|
4254
4385
|
type CreateWebhookChannel = {
|
|
4255
4386
|
kind: 'webhook';
|
|
@@ -4270,7 +4401,7 @@ type CreateWebhookChannel = {
|
|
|
4270
4401
|
/**
|
|
4271
4402
|
* Account events to receive at this endpoint (keyword and wallet state changes, attention events), on top of whatever rules send here. Omit for none.
|
|
4272
4403
|
*/
|
|
4273
|
-
events?: Array<'keyword.capped' | 'keyword.paused_for_balance' | 'keyword.resumed' | 'wallet.low' | 'wallet.paused' | 'wallet.resumed' | 'mention.spike' | 'sentiment.negative_spike' | 'keyword.noisy' | 'channel.failing'>;
|
|
4404
|
+
events?: Array<'keyword.capped' | 'keyword.paused_for_balance' | 'keyword.resumed' | 'wallet.low' | 'wallet.paused' | 'wallet.resumed' | 'mention.spike' | 'sentiment.negative_spike' | 'keyword.noisy' | 'channel.failing' | 'feed.failing' | 'feed.recovered'>;
|
|
4274
4405
|
};
|
|
4275
4406
|
type GetHealthData = {
|
|
4276
4407
|
body?: never;
|
|
@@ -4420,6 +4551,10 @@ type ListKeywordsResponses = {
|
|
|
4420
4551
|
* RSS and Atom feeds this keyword reads; empty for none.
|
|
4421
4552
|
*/
|
|
4422
4553
|
feeds: Array<KeywordFeed>;
|
|
4554
|
+
/**
|
|
4555
|
+
* true (the default): the keyword also reads every feed of the workspace (GET /v1/feeds), on top of its own `feeds`. false: its own feeds alone.
|
|
4556
|
+
*/
|
|
4557
|
+
readsWorkspaceFeeds: boolean;
|
|
4423
4558
|
/**
|
|
4424
4559
|
* Where this keyword collects reviews from (App Store and Google Play apps, Trustpilot pages, Google Maps places); empty for none.
|
|
4425
4560
|
*/
|
|
@@ -4433,13 +4568,17 @@ type ListKeywordsResponses = {
|
|
|
4433
4568
|
*/
|
|
4434
4569
|
matching: {
|
|
4435
4570
|
/**
|
|
4436
|
-
* The post must ALSO contain these terms, any one of them or all of them per requiredMode. Empty: no requirement.
|
|
4571
|
+
* The post must ALSO contain these terms, any one of them or all of them per requiredMode. A `*` at the start or the end of an entry is a wildcard (alert* matches alerts and alerting). Empty: no requirement.
|
|
4437
4572
|
*/
|
|
4438
4573
|
requiredTerms: Array<string>;
|
|
4439
4574
|
/**
|
|
4440
4575
|
* any: at least one required term must appear. all: every one must.
|
|
4441
4576
|
*/
|
|
4442
4577
|
requiredMode: 'any' | 'all';
|
|
4578
|
+
/**
|
|
4579
|
+
* Combinations of terms, at most 50 of 10 terms each: the post must ALSO contain every term of at least one group (an OR of ANDs). For the keyword inreach, [["weather", "alert*"], ["tsunami"], ["flash flood"]] keeps a post about inReach weather alerts, tsunamis or flash floods, one keyword instead of three. Same phrase and wildcard rules as requiredTerms; when both are set a post must pass both. Empty: no combinations.
|
|
4580
|
+
*/
|
|
4581
|
+
requiredGroups: Array<Array<string>>;
|
|
4443
4582
|
/**
|
|
4444
4583
|
* A post containing any of these is dropped. A `*` at the start or the end of an entry is a wildcard (beta.* matches beta.0.1; *bot matches nightlybot).
|
|
4445
4584
|
*/
|
|
@@ -4631,13 +4770,17 @@ type CreateKeywordData = {
|
|
|
4631
4770
|
*/
|
|
4632
4771
|
matching?: {
|
|
4633
4772
|
/**
|
|
4634
|
-
* The post must ALSO contain these terms, any one of them or all of them per requiredMode. Empty: no requirement.
|
|
4773
|
+
* The post must ALSO contain these terms, any one of them or all of them per requiredMode. A `*` at the start or the end of an entry is a wildcard (alert* matches alerts and alerting). Empty: no requirement.
|
|
4635
4774
|
*/
|
|
4636
4775
|
requiredTerms?: Array<string>;
|
|
4637
4776
|
/**
|
|
4638
4777
|
* any: at least one required term must appear. all: every one must.
|
|
4639
4778
|
*/
|
|
4640
4779
|
requiredMode?: 'any' | 'all';
|
|
4780
|
+
/**
|
|
4781
|
+
* Combinations of terms, at most 50 of 10 terms each: the post must ALSO contain every term of at least one group (an OR of ANDs). For the keyword inreach, [["weather", "alert*"], ["tsunami"], ["flash flood"]] keeps a post about inReach weather alerts, tsunamis or flash floods, one keyword instead of three. Same phrase and wildcard rules as requiredTerms; when both are set a post must pass both. Empty: no combinations.
|
|
4782
|
+
*/
|
|
4783
|
+
requiredGroups?: Array<Array<string>>;
|
|
4641
4784
|
/**
|
|
4642
4785
|
* A post containing any of these is dropped. A `*` at the start or the end of an entry is a wildcard (beta.* matches beta.0.1; *bot matches nightlybot).
|
|
4643
4786
|
*/
|
|
@@ -4749,6 +4892,10 @@ type CreateKeywordData = {
|
|
|
4749
4892
|
*/
|
|
4750
4893
|
url: string;
|
|
4751
4894
|
}>;
|
|
4895
|
+
/**
|
|
4896
|
+
* Whether the keyword also reads the workspace's feeds (GET /v1/feeds); default true. A new keyword reading them gets the look-back of the 8 most recently connected.
|
|
4897
|
+
*/
|
|
4898
|
+
readsWorkspaceFeeds?: boolean;
|
|
4752
4899
|
};
|
|
4753
4900
|
path?: never;
|
|
4754
4901
|
query?: never;
|
|
@@ -4864,13 +5011,17 @@ type UpdateKeywordData = {
|
|
|
4864
5011
|
*/
|
|
4865
5012
|
matching?: {
|
|
4866
5013
|
/**
|
|
4867
|
-
* The post must ALSO contain these terms, any one of them or all of them per requiredMode. Empty: no requirement.
|
|
5014
|
+
* The post must ALSO contain these terms, any one of them or all of them per requiredMode. A `*` at the start or the end of an entry is a wildcard (alert* matches alerts and alerting). Empty: no requirement.
|
|
4868
5015
|
*/
|
|
4869
5016
|
requiredTerms?: Array<string>;
|
|
4870
5017
|
/**
|
|
4871
5018
|
* any: at least one required term must appear. all: every one must.
|
|
4872
5019
|
*/
|
|
4873
5020
|
requiredMode?: 'any' | 'all';
|
|
5021
|
+
/**
|
|
5022
|
+
* Combinations of terms, at most 50 of 10 terms each: the post must ALSO contain every term of at least one group (an OR of ANDs). For the keyword inreach, [["weather", "alert*"], ["tsunami"], ["flash flood"]] keeps a post about inReach weather alerts, tsunamis or flash floods, one keyword instead of three. Same phrase and wildcard rules as requiredTerms; when both are set a post must pass both. Empty: no combinations.
|
|
5023
|
+
*/
|
|
5024
|
+
requiredGroups?: Array<Array<string>>;
|
|
4874
5025
|
/**
|
|
4875
5026
|
* A post containing any of these is dropped. A `*` at the start or the end of an entry is a wildcard (beta.* matches beta.0.1; *bot matches nightlybot).
|
|
4876
5027
|
*/
|
|
@@ -4982,6 +5133,10 @@ type UpdateKeywordData = {
|
|
|
4982
5133
|
*/
|
|
4983
5134
|
url: string;
|
|
4984
5135
|
}>;
|
|
5136
|
+
/**
|
|
5137
|
+
* true: the keyword also reads the workspace's feeds (GET /v1/feeds), live from now on. false: its own feeds alone.
|
|
5138
|
+
*/
|
|
5139
|
+
readsWorkspaceFeeds?: boolean;
|
|
4985
5140
|
};
|
|
4986
5141
|
path: {
|
|
4987
5142
|
/**
|
|
@@ -5114,6 +5269,468 @@ type DuplicateKeywordResponses = {
|
|
|
5114
5269
|
201: Keyword;
|
|
5115
5270
|
};
|
|
5116
5271
|
type DuplicateKeywordResponse = DuplicateKeywordResponses[keyof DuplicateKeywordResponses];
|
|
5272
|
+
type ListFeedsData = {
|
|
5273
|
+
body?: never;
|
|
5274
|
+
path?: never;
|
|
5275
|
+
query?: {
|
|
5276
|
+
/**
|
|
5277
|
+
* Only feeds whose address or title contains this text, case-insensitive.
|
|
5278
|
+
*/
|
|
5279
|
+
q?: string;
|
|
5280
|
+
/**
|
|
5281
|
+
* Feeds per page, at most 500; default 100.
|
|
5282
|
+
*/
|
|
5283
|
+
limit?: number;
|
|
5284
|
+
/**
|
|
5285
|
+
* Feeds to skip, for the next page.
|
|
5286
|
+
*/
|
|
5287
|
+
offset?: number | null;
|
|
5288
|
+
};
|
|
5289
|
+
url: '/v1/feeds';
|
|
5290
|
+
};
|
|
5291
|
+
type ListFeedsErrors = {
|
|
5292
|
+
/**
|
|
5293
|
+
* Missing or invalid API key
|
|
5294
|
+
*/
|
|
5295
|
+
401: ErrorResponse;
|
|
5296
|
+
};
|
|
5297
|
+
type ListFeedsError = ListFeedsErrors[keyof ListFeedsErrors];
|
|
5298
|
+
type ListFeedsResponses = {
|
|
5299
|
+
/**
|
|
5300
|
+
* A page of feeds
|
|
5301
|
+
*/
|
|
5302
|
+
200: {
|
|
5303
|
+
/**
|
|
5304
|
+
* The page, newest connection first.
|
|
5305
|
+
*/
|
|
5306
|
+
data: Array<{
|
|
5307
|
+
/**
|
|
5308
|
+
* Feed id (fd_...).
|
|
5309
|
+
*/
|
|
5310
|
+
id: string;
|
|
5311
|
+
/**
|
|
5312
|
+
* The feed itself (after redirects, or the one the page advertised): what is polled.
|
|
5313
|
+
*/
|
|
5314
|
+
url: string;
|
|
5315
|
+
/**
|
|
5316
|
+
* The feed's own title, when it has one.
|
|
5317
|
+
*/
|
|
5318
|
+
title: string | null;
|
|
5319
|
+
/**
|
|
5320
|
+
* When the workspace connected it.
|
|
5321
|
+
*/
|
|
5322
|
+
connectedAt: string;
|
|
5323
|
+
/**
|
|
5324
|
+
* Nothing published before this is a live mention: the connection, or the last time its sign-in was added or removed (signed in and signed out, a post is read as two different posts, so the switch starts over rather than bill one twice).
|
|
5325
|
+
*/
|
|
5326
|
+
readingSince: string;
|
|
5327
|
+
/**
|
|
5328
|
+
* The sign-in the feed is read with, or null for a public feed. PATCH { auth } replaces it, { auth: null } removes it.
|
|
5329
|
+
*/
|
|
5330
|
+
auth: {
|
|
5331
|
+
/**
|
|
5332
|
+
* cookie or header. The value is never shown.
|
|
5333
|
+
*/
|
|
5334
|
+
type: 'cookie' | 'header';
|
|
5335
|
+
} | null;
|
|
5336
|
+
/**
|
|
5337
|
+
* Whether the hourly read works.
|
|
5338
|
+
*/
|
|
5339
|
+
health: {
|
|
5340
|
+
/**
|
|
5341
|
+
* failing: the last 3 hourly reads or more failed (a feed.failing event went out); ok otherwise.
|
|
5342
|
+
*/
|
|
5343
|
+
status: 'ok' | 'failing';
|
|
5344
|
+
/**
|
|
5345
|
+
* Why the last read failed; null when it read well.
|
|
5346
|
+
*/
|
|
5347
|
+
reason: 'login_required' | 'login_expired' | 'blocked' | 'not_found' | 'not_a_feed' | 'unreachable';
|
|
5348
|
+
/**
|
|
5349
|
+
* What the last failed read saw.
|
|
5350
|
+
*/
|
|
5351
|
+
detail: string | null;
|
|
5352
|
+
/**
|
|
5353
|
+
* Failed hourly reads in a row.
|
|
5354
|
+
*/
|
|
5355
|
+
failures: number;
|
|
5356
|
+
/**
|
|
5357
|
+
* While failing: since when.
|
|
5358
|
+
*/
|
|
5359
|
+
since: string | null;
|
|
5360
|
+
};
|
|
5361
|
+
/**
|
|
5362
|
+
* How the hourly poll of this feed is going.
|
|
5363
|
+
*/
|
|
5364
|
+
stats: {
|
|
5365
|
+
/**
|
|
5366
|
+
* When the feed was last read; null until its first poll (within the hour).
|
|
5367
|
+
*/
|
|
5368
|
+
lastPolledAt: string | null;
|
|
5369
|
+
/**
|
|
5370
|
+
* Polls in a row that brought nothing new; a feed that keeps reading empty may have moved.
|
|
5371
|
+
*/
|
|
5372
|
+
emptyPolls: number;
|
|
5373
|
+
};
|
|
5374
|
+
}>;
|
|
5375
|
+
/**
|
|
5376
|
+
* Feeds matching the query, across pages.
|
|
5377
|
+
*/
|
|
5378
|
+
total: number;
|
|
5379
|
+
};
|
|
5380
|
+
};
|
|
5381
|
+
type ListFeedsResponse = ListFeedsResponses[keyof ListFeedsResponses];
|
|
5382
|
+
type CreateFeedData = {
|
|
5383
|
+
/**
|
|
5384
|
+
* One feed to connect, with a sign-in when it is members-only.
|
|
5385
|
+
*/
|
|
5386
|
+
body: {
|
|
5387
|
+
/**
|
|
5388
|
+
* A feed's address (https://forum.example.com/posts.rss), or a page's (https://forum.example.com): the feed the page advertises is used.
|
|
5389
|
+
*/
|
|
5390
|
+
url: string;
|
|
5391
|
+
/**
|
|
5392
|
+
* A sign-in for a members-only feed: a cookie, or one header. Write-only: stored encrypted, sent to the feed's own site alone, never shown again. A feed with a sign-in is read for this workspace alone.
|
|
5393
|
+
*/
|
|
5394
|
+
auth?: {
|
|
5395
|
+
type: 'cookie';
|
|
5396
|
+
/**
|
|
5397
|
+
* The Cookie header your browser sends to the forum (devtools, Network, the feed's request, Request Headers, cookie).
|
|
5398
|
+
*/
|
|
5399
|
+
value: string;
|
|
5400
|
+
} | {
|
|
5401
|
+
type: 'header';
|
|
5402
|
+
/**
|
|
5403
|
+
* The header name, e.g. Api-Key (Discourse) or Authorization.
|
|
5404
|
+
*/
|
|
5405
|
+
name: string;
|
|
5406
|
+
/**
|
|
5407
|
+
* Its value.
|
|
5408
|
+
*/
|
|
5409
|
+
value: string;
|
|
5410
|
+
};
|
|
5411
|
+
};
|
|
5412
|
+
path?: never;
|
|
5413
|
+
query?: never;
|
|
5414
|
+
url: '/v1/feeds';
|
|
5415
|
+
};
|
|
5416
|
+
type CreateFeedErrors = {
|
|
5417
|
+
/**
|
|
5418
|
+
* feed_login_required: a sign-in wall, send auth. feed_login_expired: the auth sent does not read it. feed_unreadable: no feed there, or the site blocks readers (the message says which).
|
|
5419
|
+
*/
|
|
5420
|
+
400: ErrorResponse;
|
|
5421
|
+
/**
|
|
5422
|
+
* Missing or invalid API key
|
|
5423
|
+
*/
|
|
5424
|
+
401: ErrorResponse;
|
|
5425
|
+
/**
|
|
5426
|
+
* feed_limit_reached: the workspace reads 500 feeds already
|
|
5427
|
+
*/
|
|
5428
|
+
409: ErrorResponse;
|
|
5429
|
+
/**
|
|
5430
|
+
* More than 30 feeds checked in a minute
|
|
5431
|
+
*/
|
|
5432
|
+
429: ErrorResponse;
|
|
5433
|
+
/**
|
|
5434
|
+
* feed_auth_not_configured: a sign-in was sent and this deployment cannot store one
|
|
5435
|
+
*/
|
|
5436
|
+
503: ErrorResponse;
|
|
5437
|
+
};
|
|
5438
|
+
type CreateFeedError = CreateFeedErrors[keyof CreateFeedErrors];
|
|
5439
|
+
type CreateFeedResponses = {
|
|
5440
|
+
/**
|
|
5441
|
+
* The workspace reads this feed already
|
|
5442
|
+
*/
|
|
5443
|
+
200: Feed;
|
|
5444
|
+
/**
|
|
5445
|
+
* The feed, connected now
|
|
5446
|
+
*/
|
|
5447
|
+
201: Feed;
|
|
5448
|
+
};
|
|
5449
|
+
type CreateFeedResponse = CreateFeedResponses[keyof CreateFeedResponses];
|
|
5450
|
+
type ImportFeedsData = {
|
|
5451
|
+
body: {
|
|
5452
|
+
/**
|
|
5453
|
+
* Up to 100 feeds, each { url } or { url, auth } for a members-only one. Each is checked on its own: one that fails never stops the others.
|
|
5454
|
+
*/
|
|
5455
|
+
feeds: Array<{
|
|
5456
|
+
/**
|
|
5457
|
+
* A feed's address (https://forum.example.com/posts.rss), or a page's (https://forum.example.com): the feed the page advertises is used.
|
|
5458
|
+
*/
|
|
5459
|
+
url: string;
|
|
5460
|
+
/**
|
|
5461
|
+
* A sign-in for a members-only feed: a cookie, or one header. Write-only: stored encrypted, sent to the feed's own site alone, never shown again. A feed with a sign-in is read for this workspace alone.
|
|
5462
|
+
*/
|
|
5463
|
+
auth?: {
|
|
5464
|
+
type: 'cookie';
|
|
5465
|
+
/**
|
|
5466
|
+
* The Cookie header your browser sends to the forum (devtools, Network, the feed's request, Request Headers, cookie).
|
|
5467
|
+
*/
|
|
5468
|
+
value: string;
|
|
5469
|
+
} | {
|
|
5470
|
+
type: 'header';
|
|
5471
|
+
/**
|
|
5472
|
+
* The header name, e.g. Api-Key (Discourse) or Authorization.
|
|
5473
|
+
*/
|
|
5474
|
+
name: string;
|
|
5475
|
+
/**
|
|
5476
|
+
* Its value.
|
|
5477
|
+
*/
|
|
5478
|
+
value: string;
|
|
5479
|
+
};
|
|
5480
|
+
}>;
|
|
5481
|
+
};
|
|
5482
|
+
path?: never;
|
|
5483
|
+
query?: never;
|
|
5484
|
+
url: '/v1/feeds/import';
|
|
5485
|
+
};
|
|
5486
|
+
type ImportFeedsErrors = {
|
|
5487
|
+
/**
|
|
5488
|
+
* Missing or invalid API key
|
|
5489
|
+
*/
|
|
5490
|
+
401: ErrorResponse;
|
|
5491
|
+
/**
|
|
5492
|
+
* More than 5 imports in a minute
|
|
5493
|
+
*/
|
|
5494
|
+
429: ErrorResponse;
|
|
5495
|
+
};
|
|
5496
|
+
type ImportFeedsError = ImportFeedsErrors[keyof ImportFeedsErrors];
|
|
5497
|
+
type ImportFeedsResponses = {
|
|
5498
|
+
/**
|
|
5499
|
+
* One result per address
|
|
5500
|
+
*/
|
|
5501
|
+
200: {
|
|
5502
|
+
/**
|
|
5503
|
+
* One result per address sent, in order.
|
|
5504
|
+
*/
|
|
5505
|
+
data: Array<{
|
|
5506
|
+
/**
|
|
5507
|
+
* The address as it was sent.
|
|
5508
|
+
*/
|
|
5509
|
+
url: string;
|
|
5510
|
+
/**
|
|
5511
|
+
* added: connected now. already: the workspace reads this feed already. failed: not connected, see error.
|
|
5512
|
+
*/
|
|
5513
|
+
status: 'added' | 'already' | 'failed';
|
|
5514
|
+
/**
|
|
5515
|
+
* The feed, when added or already there; null when failed.
|
|
5516
|
+
*/
|
|
5517
|
+
feed: {
|
|
5518
|
+
/**
|
|
5519
|
+
* Feed id (fd_...).
|
|
5520
|
+
*/
|
|
5521
|
+
id: string;
|
|
5522
|
+
/**
|
|
5523
|
+
* The feed itself (after redirects, or the one the page advertised): what is polled.
|
|
5524
|
+
*/
|
|
5525
|
+
url: string;
|
|
5526
|
+
/**
|
|
5527
|
+
* The feed's own title, when it has one.
|
|
5528
|
+
*/
|
|
5529
|
+
title: string | null;
|
|
5530
|
+
/**
|
|
5531
|
+
* When the workspace connected it.
|
|
5532
|
+
*/
|
|
5533
|
+
connectedAt: string;
|
|
5534
|
+
/**
|
|
5535
|
+
* Nothing published before this is a live mention: the connection, or the last time its sign-in was added or removed (signed in and signed out, a post is read as two different posts, so the switch starts over rather than bill one twice).
|
|
5536
|
+
*/
|
|
5537
|
+
readingSince: string;
|
|
5538
|
+
/**
|
|
5539
|
+
* The sign-in the feed is read with, or null for a public feed. PATCH { auth } replaces it, { auth: null } removes it.
|
|
5540
|
+
*/
|
|
5541
|
+
auth: {
|
|
5542
|
+
/**
|
|
5543
|
+
* cookie or header. The value is never shown.
|
|
5544
|
+
*/
|
|
5545
|
+
type: 'cookie' | 'header';
|
|
5546
|
+
} | null;
|
|
5547
|
+
/**
|
|
5548
|
+
* Whether the hourly read works.
|
|
5549
|
+
*/
|
|
5550
|
+
health: {
|
|
5551
|
+
/**
|
|
5552
|
+
* failing: the last 3 hourly reads or more failed (a feed.failing event went out); ok otherwise.
|
|
5553
|
+
*/
|
|
5554
|
+
status: 'ok' | 'failing';
|
|
5555
|
+
/**
|
|
5556
|
+
* Why the last read failed; null when it read well.
|
|
5557
|
+
*/
|
|
5558
|
+
reason: 'login_required' | 'login_expired' | 'blocked' | 'not_found' | 'not_a_feed' | 'unreachable';
|
|
5559
|
+
/**
|
|
5560
|
+
* What the last failed read saw.
|
|
5561
|
+
*/
|
|
5562
|
+
detail: string | null;
|
|
5563
|
+
/**
|
|
5564
|
+
* Failed hourly reads in a row.
|
|
5565
|
+
*/
|
|
5566
|
+
failures: number;
|
|
5567
|
+
/**
|
|
5568
|
+
* While failing: since when.
|
|
5569
|
+
*/
|
|
5570
|
+
since: string | null;
|
|
5571
|
+
};
|
|
5572
|
+
/**
|
|
5573
|
+
* How the hourly poll of this feed is going.
|
|
5574
|
+
*/
|
|
5575
|
+
stats: {
|
|
5576
|
+
/**
|
|
5577
|
+
* When the feed was last read; null until its first poll (within the hour).
|
|
5578
|
+
*/
|
|
5579
|
+
lastPolledAt: string | null;
|
|
5580
|
+
/**
|
|
5581
|
+
* Polls in a row that brought nothing new; a feed that keeps reading empty may have moved.
|
|
5582
|
+
*/
|
|
5583
|
+
emptyPolls: number;
|
|
5584
|
+
};
|
|
5585
|
+
} | null;
|
|
5586
|
+
/**
|
|
5587
|
+
* Why it was not connected; null unless failed.
|
|
5588
|
+
*/
|
|
5589
|
+
error: {
|
|
5590
|
+
/**
|
|
5591
|
+
* The same code POST /v1/feeds answers for this address: feed_login_required (send it again with auth), feed_login_expired (a fresh cookie), feed_unreadable (no feed, or the site blocks readers), feed_limit_reached, feed_auth_not_configured, validation_error (an address that is not one), internal_error (ours: send it again).
|
|
5592
|
+
*/
|
|
5593
|
+
code: 'feed_login_required' | 'feed_login_expired' | 'feed_unreadable' | 'feed_limit_reached' | 'feed_auth_not_configured' | 'validation_error' | 'internal_error';
|
|
5594
|
+
/**
|
|
5595
|
+
* What was seen, for a person.
|
|
5596
|
+
*/
|
|
5597
|
+
message: string;
|
|
5598
|
+
} | null;
|
|
5599
|
+
}>;
|
|
5600
|
+
};
|
|
5601
|
+
};
|
|
5602
|
+
type ImportFeedsResponse = ImportFeedsResponses[keyof ImportFeedsResponses];
|
|
5603
|
+
type DeleteFeedData = {
|
|
5604
|
+
body?: never;
|
|
5605
|
+
path: {
|
|
5606
|
+
/**
|
|
5607
|
+
* Feed id (fd_...).
|
|
5608
|
+
*/
|
|
5609
|
+
id: string;
|
|
5610
|
+
};
|
|
5611
|
+
query?: never;
|
|
5612
|
+
url: '/v1/feeds/{id}';
|
|
5613
|
+
};
|
|
5614
|
+
type DeleteFeedErrors = {
|
|
5615
|
+
/**
|
|
5616
|
+
* It is the last feed and a keyword reads nothing else (validation_error, naming the keyword): give it a platform first
|
|
5617
|
+
*/
|
|
5618
|
+
400: ErrorResponse;
|
|
5619
|
+
/**
|
|
5620
|
+
* Missing or invalid API key
|
|
5621
|
+
*/
|
|
5622
|
+
401: ErrorResponse;
|
|
5623
|
+
/**
|
|
5624
|
+
* No such feed in this workspace
|
|
5625
|
+
*/
|
|
5626
|
+
404: ErrorResponse;
|
|
5627
|
+
};
|
|
5628
|
+
type DeleteFeedError = DeleteFeedErrors[keyof DeleteFeedErrors];
|
|
5629
|
+
type DeleteFeedResponses = {
|
|
5630
|
+
/**
|
|
5631
|
+
* Disconnected
|
|
5632
|
+
*/
|
|
5633
|
+
204: void;
|
|
5634
|
+
};
|
|
5635
|
+
type DeleteFeedResponse = DeleteFeedResponses[keyof DeleteFeedResponses];
|
|
5636
|
+
type GetFeedData = {
|
|
5637
|
+
body?: never;
|
|
5638
|
+
path: {
|
|
5639
|
+
/**
|
|
5640
|
+
* Feed id (fd_...).
|
|
5641
|
+
*/
|
|
5642
|
+
id: string;
|
|
5643
|
+
};
|
|
5644
|
+
query?: never;
|
|
5645
|
+
url: '/v1/feeds/{id}';
|
|
5646
|
+
};
|
|
5647
|
+
type GetFeedErrors = {
|
|
5648
|
+
/**
|
|
5649
|
+
* Missing or invalid API key
|
|
5650
|
+
*/
|
|
5651
|
+
401: ErrorResponse;
|
|
5652
|
+
/**
|
|
5653
|
+
* No such feed in this workspace
|
|
5654
|
+
*/
|
|
5655
|
+
404: ErrorResponse;
|
|
5656
|
+
};
|
|
5657
|
+
type GetFeedError = GetFeedErrors[keyof GetFeedErrors];
|
|
5658
|
+
type GetFeedResponses = {
|
|
5659
|
+
/**
|
|
5660
|
+
* The feed
|
|
5661
|
+
*/
|
|
5662
|
+
200: Feed;
|
|
5663
|
+
};
|
|
5664
|
+
type GetFeedResponse = GetFeedResponses[keyof GetFeedResponses];
|
|
5665
|
+
type UpdateFeedData = {
|
|
5666
|
+
/**
|
|
5667
|
+
* Omitted fields are untouched.
|
|
5668
|
+
*/
|
|
5669
|
+
body: {
|
|
5670
|
+
/**
|
|
5671
|
+
* Your name for the feed; null clears it.
|
|
5672
|
+
*/
|
|
5673
|
+
title?: string | null;
|
|
5674
|
+
/**
|
|
5675
|
+
* Replaces the sign-in (checked by reading the feed with it first); null removes it and the feed is read signed out again.
|
|
5676
|
+
*/
|
|
5677
|
+
auth?: {
|
|
5678
|
+
type: 'cookie';
|
|
5679
|
+
/**
|
|
5680
|
+
* The Cookie header your browser sends to the forum (devtools, Network, the feed's request, Request Headers, cookie).
|
|
5681
|
+
*/
|
|
5682
|
+
value: string;
|
|
5683
|
+
} | {
|
|
5684
|
+
type: 'header';
|
|
5685
|
+
/**
|
|
5686
|
+
* The header name, e.g. Api-Key (Discourse) or Authorization.
|
|
5687
|
+
*/
|
|
5688
|
+
name: string;
|
|
5689
|
+
/**
|
|
5690
|
+
* Its value.
|
|
5691
|
+
*/
|
|
5692
|
+
value: string;
|
|
5693
|
+
} | unknown;
|
|
5694
|
+
};
|
|
5695
|
+
path: {
|
|
5696
|
+
/**
|
|
5697
|
+
* Feed id (fd_...).
|
|
5698
|
+
*/
|
|
5699
|
+
id: string;
|
|
5700
|
+
};
|
|
5701
|
+
query?: never;
|
|
5702
|
+
url: '/v1/feeds/{id}';
|
|
5703
|
+
};
|
|
5704
|
+
type UpdateFeedErrors = {
|
|
5705
|
+
/**
|
|
5706
|
+
* feed_login_expired or feed_login_required: the sign-in does not read the feed; feed_unreadable: the feed cannot be read at all
|
|
5707
|
+
*/
|
|
5708
|
+
400: ErrorResponse;
|
|
5709
|
+
/**
|
|
5710
|
+
* Missing or invalid API key
|
|
5711
|
+
*/
|
|
5712
|
+
401: ErrorResponse;
|
|
5713
|
+
/**
|
|
5714
|
+
* No such feed in this workspace
|
|
5715
|
+
*/
|
|
5716
|
+
404: ErrorResponse;
|
|
5717
|
+
/**
|
|
5718
|
+
* More than 30 feeds checked in a minute
|
|
5719
|
+
*/
|
|
5720
|
+
429: ErrorResponse;
|
|
5721
|
+
/**
|
|
5722
|
+
* feed_auth_not_configured: this deployment cannot store a sign-in
|
|
5723
|
+
*/
|
|
5724
|
+
503: ErrorResponse;
|
|
5725
|
+
};
|
|
5726
|
+
type UpdateFeedError = UpdateFeedErrors[keyof UpdateFeedErrors];
|
|
5727
|
+
type UpdateFeedResponses = {
|
|
5728
|
+
/**
|
|
5729
|
+
* The updated feed
|
|
5730
|
+
*/
|
|
5731
|
+
200: Feed;
|
|
5732
|
+
};
|
|
5733
|
+
type UpdateFeedResponse = UpdateFeedResponses[keyof UpdateFeedResponses];
|
|
5117
5734
|
type GetFiltersData = {
|
|
5118
5735
|
body?: never;
|
|
5119
5736
|
path?: never;
|
|
@@ -8066,7 +8683,7 @@ type ListAttentionData = {
|
|
|
8066
8683
|
*/
|
|
8067
8684
|
status?: 'open' | 'resolved' | 'dismissed' | 'all';
|
|
8068
8685
|
/**
|
|
8069
|
-
* Only these kinds, comma separated: mention.spike, sentiment.negative_spike, keyword.noisy, channel.failing.
|
|
8686
|
+
* Only these kinds, comma separated: mention.spike, sentiment.negative_spike, keyword.noisy, channel.failing, feed.failing (feed.recovered never opens an item).
|
|
8070
8687
|
*/
|
|
8071
8688
|
kind?: string;
|
|
8072
8689
|
/**
|
|
@@ -10055,9 +10672,9 @@ type UpdateChannelData = {
|
|
|
10055
10672
|
[key: string]: string;
|
|
10056
10673
|
};
|
|
10057
10674
|
/**
|
|
10058
|
-
* Replaces the whole set of account events the channel receives. A webhook takes any of them; a Slack, email or Telegram channel the attention events only (mention.spike, sentiment.negative_spike, keyword.noisy, channel.failing). An empty list unsubscribes it from all of them.
|
|
10675
|
+
* Replaces the whole set of account events the channel receives. A webhook takes any of them; a Slack, email or Telegram channel the attention events only (mention.spike, sentiment.negative_spike, keyword.noisy, channel.failing, feed.failing, feed.recovered). An empty list unsubscribes it from all of them.
|
|
10059
10676
|
*/
|
|
10060
|
-
events?: Array<'keyword.capped' | 'keyword.paused_for_balance' | 'keyword.resumed' | 'wallet.low' | 'wallet.paused' | 'wallet.resumed' | 'mention.spike' | 'sentiment.negative_spike' | 'keyword.noisy' | 'channel.failing'>;
|
|
10677
|
+
events?: Array<'keyword.capped' | 'keyword.paused_for_balance' | 'keyword.resumed' | 'wallet.low' | 'wallet.paused' | 'wallet.resumed' | 'mention.spike' | 'sentiment.negative_spike' | 'keyword.noisy' | 'channel.failing' | 'feed.failing' | 'feed.recovered'>;
|
|
10061
10678
|
};
|
|
10062
10679
|
path: {
|
|
10063
10680
|
/**
|
|
@@ -10339,6 +10956,40 @@ declare const getKeywordHealth: <ThrowOnError extends boolean = false>(options:
|
|
|
10339
10956
|
* A new keyword with this one's settings and a new `term` (or the same term in another group): its kind, platforms, context, every matching rule, its monthly mention cap and its comments setting. Review apps and feeds are copied only when listed in `include`. It is a new keyword: $5 per month, and the newest posts of the last 30 days come in at once, as with any new keyword.
|
|
10340
10957
|
*/
|
|
10341
10958
|
declare const duplicateKeyword: <ThrowOnError extends boolean = false>(options: Options<DuplicateKeywordData, ThrowOnError>) => RequestResult<DuplicateKeywordResponses, DuplicateKeywordErrors, ThrowOnError>;
|
|
10959
|
+
/**
|
|
10960
|
+
* List feeds
|
|
10961
|
+
*
|
|
10962
|
+
* The RSS and Atom feeds the workspace reads (forums, communities, blogs), newest connection first, each with how its hourly poll goes. Every keyword of the workspace with readsWorkspaceFeeds (the default) reads these feeds: an item holding its term is one of its mentions, with its matching rules, billed like any mention. Each feed is read every hour; reading it is free. At most 500 a workspace.
|
|
10963
|
+
*/
|
|
10964
|
+
declare const listFeeds: <ThrowOnError extends boolean = false>(options?: Options<ListFeedsData, ThrowOnError>) => RequestResult<ListFeedsResponses, ListFeedsErrors, ThrowOnError>;
|
|
10965
|
+
/**
|
|
10966
|
+
* Connect a feed
|
|
10967
|
+
*
|
|
10968
|
+
* Connect an RSS or Atom feed: a feed's address, or a page's (a forum, a community, a blog), in which case the feed the page advertises is used, else a usual address such as /feed or /rss. Every keyword of the workspace with readsWorkspaceFeeds (the default) reads these feeds: an item holding its term is one of its mentions, with its matching rules, billed like any mention. Each feed is read every hour; reading it is free. At most 500 a workspace. A new feed brings each reading keyword the newest 10 items of the last 30 days that hold its term, never as instant alerts. A feed the workspace reads already comes back with 200 (connecting is idempotent). A members-only forum answers `feed_login_required`: send it again with `auth` (a cookie or a header), stored encrypted and read for this workspace alone.
|
|
10969
|
+
*/
|
|
10970
|
+
declare const createFeed: <ThrowOnError extends boolean = false>(options: Options<CreateFeedData, ThrowOnError>) => RequestResult<CreateFeedResponses, CreateFeedErrors, ThrowOnError>;
|
|
10971
|
+
/**
|
|
10972
|
+
* Connect many feeds
|
|
10973
|
+
*
|
|
10974
|
+
* Connect up to 100 feeds in one call, each { url } or { url, auth } for a members-only one, checked on its own and reported added, already or failed, in the order sent: one that fails never stops the others. A failure carries the error code POST /v1/feeds would answer for that address (feed_login_required: send it again with auth). Every keyword of the workspace with readsWorkspaceFeeds (the default) reads these feeds: an item holding its term is one of its mentions, with its matching rules, billed like any mention. Each feed is read every hour; reading it is free. At most 500 a workspace. The first 8 added bring each reading keyword the newest 10 matching items of the last 30 days; the rest start from now.
|
|
10975
|
+
*/
|
|
10976
|
+
declare const importFeeds: <ThrowOnError extends boolean = false>(options: Options<ImportFeedsData, ThrowOnError>) => RequestResult<ImportFeedsResponses, ImportFeedsErrors, ThrowOnError>;
|
|
10977
|
+
/**
|
|
10978
|
+
* Disconnect a feed
|
|
10979
|
+
*
|
|
10980
|
+
* The workspace stops reading the feed. Its mentions stay; a keyword naming the same feed in its own `feeds` keeps reading it.
|
|
10981
|
+
*/
|
|
10982
|
+
declare const deleteFeed: <ThrowOnError extends boolean = false>(options: Options<DeleteFeedData, ThrowOnError>) => RequestResult<DeleteFeedResponses, DeleteFeedErrors, ThrowOnError>;
|
|
10983
|
+
/**
|
|
10984
|
+
* Get a feed
|
|
10985
|
+
*/
|
|
10986
|
+
declare const getFeed: <ThrowOnError extends boolean = false>(options: Options<GetFeedData, ThrowOnError>) => RequestResult<GetFeedResponses, GetFeedErrors, ThrowOnError>;
|
|
10987
|
+
/**
|
|
10988
|
+
* Update a feed
|
|
10989
|
+
*
|
|
10990
|
+
* Rename a feed (title, null clears it), or set its sign-in for a members-only forum (auth: a cookie copied from your browser, or one header such as Discourse's Api-Key). A sign-in is checked by reading the feed with it, stored encrypted, sent to the feed's own site alone and never shown again; the feed is then read for this workspace alone. auth: null removes it.
|
|
10991
|
+
*/
|
|
10992
|
+
declare const updateFeed: <ThrowOnError extends boolean = false>(options: Options<UpdateFeedData, ThrowOnError>) => RequestResult<UpdateFeedResponses, UpdateFeedErrors, ThrowOnError>;
|
|
10342
10993
|
/**
|
|
10343
10994
|
* Get the workspace filters
|
|
10344
10995
|
*
|
|
@@ -10754,6 +11405,7 @@ type sdk_Options<TData extends TDataShape = TDataShape, ThrowOnError extends boo
|
|
|
10754
11405
|
declare const sdk_createAlert: typeof createAlert;
|
|
10755
11406
|
declare const sdk_createApiKey: typeof createApiKey;
|
|
10756
11407
|
declare const sdk_createChannel: typeof createChannel;
|
|
11408
|
+
declare const sdk_createFeed: typeof createFeed;
|
|
10757
11409
|
declare const sdk_createGroup: typeof createGroup;
|
|
10758
11410
|
declare const sdk_createInvitation: typeof createInvitation;
|
|
10759
11411
|
declare const sdk_createKeyword: typeof createKeyword;
|
|
@@ -10762,6 +11414,7 @@ declare const sdk_createTopUp: typeof createTopUp;
|
|
|
10762
11414
|
declare const sdk_createView: typeof createView;
|
|
10763
11415
|
declare const sdk_deleteAlert: typeof deleteAlert;
|
|
10764
11416
|
declare const sdk_deleteChannel: typeof deleteChannel;
|
|
11417
|
+
declare const sdk_deleteFeed: typeof deleteFeed;
|
|
10765
11418
|
declare const sdk_deleteGroup: typeof deleteGroup;
|
|
10766
11419
|
declare const sdk_deleteKeyword: typeof deleteKeyword;
|
|
10767
11420
|
declare const sdk_deletePersonActivity: typeof deletePersonActivity;
|
|
@@ -10778,6 +11431,7 @@ declare const sdk_getAnalyticsSeries: typeof getAnalyticsSeries;
|
|
|
10778
11431
|
declare const sdk_getAnalyticsSummary: typeof getAnalyticsSummary;
|
|
10779
11432
|
declare const sdk_getChannel: typeof getChannel;
|
|
10780
11433
|
declare const sdk_getCompany: typeof getCompany;
|
|
11434
|
+
declare const sdk_getFeed: typeof getFeed;
|
|
10781
11435
|
declare const sdk_getFilters: typeof getFilters;
|
|
10782
11436
|
declare const sdk_getGroup: typeof getGroup;
|
|
10783
11437
|
declare const sdk_getHealth: typeof getHealth;
|
|
@@ -10793,11 +11447,13 @@ declare const sdk_getUsage: typeof getUsage;
|
|
|
10793
11447
|
declare const sdk_getUsageBreakdown: typeof getUsageBreakdown;
|
|
10794
11448
|
declare const sdk_getView: typeof getView;
|
|
10795
11449
|
declare const sdk_getWallet: typeof getWallet;
|
|
11450
|
+
declare const sdk_importFeeds: typeof importFeeds;
|
|
10796
11451
|
declare const sdk_listAlerts: typeof listAlerts;
|
|
10797
11452
|
declare const sdk_listApiKeys: typeof listApiKeys;
|
|
10798
11453
|
declare const sdk_listAttention: typeof listAttention;
|
|
10799
11454
|
declare const sdk_listChannelDeliveries: typeof listChannelDeliveries;
|
|
10800
11455
|
declare const sdk_listChannels: typeof listChannels;
|
|
11456
|
+
declare const sdk_listFeeds: typeof listFeeds;
|
|
10801
11457
|
declare const sdk_listGroups: typeof listGroups;
|
|
10802
11458
|
declare const sdk_listInvitations: typeof listInvitations;
|
|
10803
11459
|
declare const sdk_listInvoices: typeof listInvoices;
|
|
@@ -10825,6 +11481,7 @@ declare const sdk_unmuteAlertAuthors: typeof unmuteAlertAuthors;
|
|
|
10825
11481
|
declare const sdk_updateAlert: typeof updateAlert;
|
|
10826
11482
|
declare const sdk_updateChannel: typeof updateChannel;
|
|
10827
11483
|
declare const sdk_updateCompany: typeof updateCompany;
|
|
11484
|
+
declare const sdk_updateFeed: typeof updateFeed;
|
|
10828
11485
|
declare const sdk_updateFilters: typeof updateFilters;
|
|
10829
11486
|
declare const sdk_updateGroup: typeof updateGroup;
|
|
10830
11487
|
declare const sdk_updateKeyword: typeof updateKeyword;
|
|
@@ -10834,7 +11491,7 @@ declare const sdk_updateSegment: typeof updateSegment;
|
|
|
10834
11491
|
declare const sdk_updateView: typeof updateView;
|
|
10835
11492
|
declare const sdk_whoami: typeof whoami;
|
|
10836
11493
|
declare namespace sdk {
|
|
10837
|
-
export { type sdk_Options as Options, sdk_createAlert as createAlert, sdk_createApiKey as createApiKey, sdk_createChannel as createChannel, sdk_createGroup as createGroup, sdk_createInvitation as createInvitation, sdk_createKeyword as createKeyword, sdk_createSegment as createSegment, sdk_createTopUp as createTopUp, sdk_createView as createView, sdk_deleteAlert as deleteAlert, sdk_deleteChannel as deleteChannel, sdk_deleteGroup as deleteGroup, sdk_deleteKeyword as deleteKeyword, sdk_deletePersonActivity as deletePersonActivity, sdk_deleteSegment as deleteSegment, sdk_deleteView as deleteView, sdk_dismissAttention as dismissAttention, sdk_duplicateKeyword as duplicateKeyword, sdk_exportMentionsCsv as exportMentionsCsv, sdk_exportMentionsJson as exportMentionsJson, sdk_exportPeopleCsv as exportPeopleCsv, sdk_getAlert as getAlert, sdk_getAnalyticsBreakdown as getAnalyticsBreakdown, sdk_getAnalyticsSeries as getAnalyticsSeries, sdk_getAnalyticsSummary as getAnalyticsSummary, sdk_getChannel as getChannel, sdk_getCompany as getCompany, sdk_getFilters as getFilters, sdk_getGroup as getGroup, sdk_getHealth as getHealth, sdk_getInvoiceUrl as getInvoiceUrl, sdk_getKeyword as getKeyword, sdk_getKeywordHealth as getKeywordHealth, sdk_getMention as getMention, sdk_getPerson as getPerson, sdk_getReviewsReport as getReviewsReport, sdk_getSegment as getSegment, sdk_getShareOfVoice as getShareOfVoice, sdk_getUsage as getUsage, sdk_getUsageBreakdown as getUsageBreakdown, sdk_getView as getView, sdk_getWallet as getWallet, sdk_listAlerts as listAlerts, sdk_listApiKeys as listApiKeys, sdk_listAttention as listAttention, sdk_listChannelDeliveries as listChannelDeliveries, sdk_listChannels as listChannels, sdk_listGroups as listGroups, sdk_listInvitations as listInvitations, sdk_listInvoices as listInvoices, sdk_listKeywords as listKeywords, sdk_listLedger as listLedger, sdk_listMembers as listMembers, sdk_listMentionComments as listMentionComments, sdk_listPeople as listPeople, sdk_listPersonActivities as listPersonActivities, sdk_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_updateGroup as updateGroup, sdk_updateKeyword as updateKeyword, sdk_updateMention as updateMention, sdk_updatePerson as updatePerson, sdk_updateSegment as updateSegment, sdk_updateView as updateView, sdk_whoami as whoami };
|
|
11494
|
+
export { type sdk_Options as Options, sdk_createAlert as createAlert, sdk_createApiKey as createApiKey, sdk_createChannel as createChannel, sdk_createFeed as createFeed, sdk_createGroup as createGroup, sdk_createInvitation as createInvitation, sdk_createKeyword as createKeyword, sdk_createSegment as createSegment, sdk_createTopUp as createTopUp, sdk_createView as createView, sdk_deleteAlert as deleteAlert, sdk_deleteChannel as deleteChannel, sdk_deleteFeed as deleteFeed, sdk_deleteGroup as deleteGroup, sdk_deleteKeyword as deleteKeyword, sdk_deletePersonActivity as deletePersonActivity, sdk_deleteSegment as deleteSegment, sdk_deleteView as deleteView, sdk_dismissAttention as dismissAttention, sdk_duplicateKeyword as duplicateKeyword, sdk_exportMentionsCsv as exportMentionsCsv, sdk_exportMentionsJson as exportMentionsJson, sdk_exportPeopleCsv as exportPeopleCsv, sdk_getAlert as getAlert, sdk_getAnalyticsBreakdown as getAnalyticsBreakdown, sdk_getAnalyticsSeries as getAnalyticsSeries, sdk_getAnalyticsSummary as getAnalyticsSummary, sdk_getChannel as getChannel, sdk_getCompany as getCompany, sdk_getFeed as getFeed, sdk_getFilters as getFilters, sdk_getGroup as getGroup, sdk_getHealth as getHealth, sdk_getInvoiceUrl as getInvoiceUrl, sdk_getKeyword as getKeyword, sdk_getKeywordHealth as getKeywordHealth, sdk_getMention as getMention, sdk_getPerson as getPerson, sdk_getReviewsReport as getReviewsReport, sdk_getSegment as getSegment, sdk_getShareOfVoice as getShareOfVoice, sdk_getUsage as getUsage, sdk_getUsageBreakdown as getUsageBreakdown, sdk_getView as getView, sdk_getWallet as getWallet, sdk_importFeeds as importFeeds, sdk_listAlerts as listAlerts, sdk_listApiKeys as listApiKeys, sdk_listAttention as listAttention, sdk_listChannelDeliveries as listChannelDeliveries, sdk_listChannels as listChannels, sdk_listFeeds as listFeeds, sdk_listGroups as listGroups, sdk_listInvitations as listInvitations, sdk_listInvoices as listInvoices, sdk_listKeywords as listKeywords, sdk_listLedger as listLedger, sdk_listMembers as listMembers, sdk_listMentionComments as listMentionComments, sdk_listPeople as listPeople, sdk_listPersonActivities as listPersonActivities, sdk_listSegments as listSegments, sdk_listViews as listViews, sdk_logPersonActivity as logPersonActivity, sdk_mergePeople as mergePeople, sdk_muteAlertAuthors as muteAlertAuthors, sdk_removeMember as removeMember, sdk_revokeApiKey as revokeApiKey, sdk_revokeInvitation as revokeInvitation, sdk_rotateWebhookSecret as rotateWebhookSecret, sdk_runAlertDigest as runAlertDigest, sdk_searchMentions as searchMentions, sdk_splitPerson as splitPerson, sdk_testAlert as testAlert, sdk_testChannel as testChannel, sdk_unmuteAlertAuthors as unmuteAlertAuthors, sdk_updateAlert as updateAlert, sdk_updateChannel as updateChannel, sdk_updateCompany as updateCompany, sdk_updateFeed as updateFeed, sdk_updateFilters as updateFilters, sdk_updateGroup as updateGroup, sdk_updateKeyword as updateKeyword, sdk_updateMention as updateMention, sdk_updatePerson as updatePerson, sdk_updateSegment as updateSegment, sdk_updateView as updateView, sdk_whoami as whoami };
|
|
10838
11495
|
}
|
|
10839
11496
|
|
|
10840
11497
|
/**
|
|
@@ -10862,4 +11519,4 @@ type Mentio = typeof sdk & {
|
|
|
10862
11519
|
};
|
|
10863
11520
|
declare function createMentio(options: MentioOptions): Mentio;
|
|
10864
11521
|
|
|
10865
|
-
export { type Alert, type AnalyticsBreakdown, type AnalyticsSeries, type AnalyticsSummary, type AttentionItem, type Channel, type ChannelFailingEventData, type Client, type ClientOptions, type Company, type Config, type CreateAlertData, type CreateAlertError, type CreateAlertErrors, type CreateAlertResponse, type CreateAlertResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChannelData, type CreateChannelError, type CreateChannelErrors, type CreateChannelResponse, type CreateChannelResponses, type CreateEmailChannel, type CreateGroupData, type CreateGroupError, type CreateGroupErrors, type CreateGroupResponse, type CreateGroupResponses, type CreateInvitationData, type CreateInvitationError, type CreateInvitationErrors, type CreateInvitationResponse, type CreateInvitationResponses, type CreateKeywordData, type CreateKeywordError, type CreateKeywordErrors, type CreateKeywordResponse, type CreateKeywordResponses, type CreateSegmentData, type CreateSegmentError, type CreateSegmentErrors, type CreateSegmentResponse, type CreateSegmentResponses, type CreateSlackChannel, type CreateTopUpData, type CreateTopUpError, type CreateTopUpErrors, type CreateTopUpResponse, type CreateTopUpResponses, type CreateViewData, type CreateViewError, type CreateViewErrors, type CreateViewResponse, type CreateViewResponses, type CreateWebhookChannel, DEFAULT_BASE_URL, type DeleteAlertData, type DeleteAlertError, type DeleteAlertErrors, type DeleteAlertResponse, type DeleteAlertResponses, type DeleteChannelData, type DeleteChannelError, type DeleteChannelErrors, type DeleteChannelResponse, type DeleteChannelResponses, type DeleteGroupData, type DeleteGroupError, type DeleteGroupErrors, type DeleteGroupResponse, type DeleteGroupResponses, type DeleteKeywordData, type DeleteKeywordError, type DeleteKeywordErrors, type DeleteKeywordResponse, type DeleteKeywordResponses, type DeletePersonActivityData, type DeletePersonActivityError, type DeletePersonActivityErrors, type DeletePersonActivityResponse, type DeletePersonActivityResponses, type DeleteSegmentData, type DeleteSegmentError, type DeleteSegmentErrors, type DeleteSegmentResponse, type DeleteSegmentResponses, type DeleteViewData, type DeleteViewError, type DeleteViewErrors, type DeleteViewResponse, type DeleteViewResponses, type DismissAttentionData, type DismissAttentionError, type DismissAttentionErrors, type DismissAttentionResponse, type DismissAttentionResponses, type DuplicateKeywordData, type DuplicateKeywordError, type DuplicateKeywordErrors, type DuplicateKeywordResponse, type DuplicateKeywordResponses, type EmailChannel, type ErrorResponse, type ExportMentionsCsvData, type ExportMentionsCsvError, type ExportMentionsCsvErrors, type ExportMentionsCsvResponse, type ExportMentionsCsvResponses, type ExportMentionsJsonData, type ExportMentionsJsonError, type ExportMentionsJsonErrors, type ExportMentionsJsonResponse, type ExportMentionsJsonResponses, type ExportPeopleCsvData, type ExportPeopleCsvError, type ExportPeopleCsvErrors, type ExportPeopleCsvResponse, type ExportPeopleCsvResponses, type FilterGroup, type GetAlertData, type GetAlertError, type GetAlertErrors, type GetAlertResponse, type GetAlertResponses, type GetAnalyticsBreakdownData, type GetAnalyticsBreakdownError, type GetAnalyticsBreakdownErrors, type GetAnalyticsBreakdownResponse, type GetAnalyticsBreakdownResponses, type GetAnalyticsSeriesData, type GetAnalyticsSeriesError, type GetAnalyticsSeriesErrors, type GetAnalyticsSeriesResponse, type GetAnalyticsSeriesResponses, type GetAnalyticsSummaryData, type GetAnalyticsSummaryError, type GetAnalyticsSummaryErrors, type GetAnalyticsSummaryResponse, type GetAnalyticsSummaryResponses, type GetChannelData, type GetChannelError, type GetChannelErrors, type GetChannelResponse, type GetChannelResponses, type GetCompanyData, type GetCompanyError, type GetCompanyErrors, type GetCompanyResponse, type GetCompanyResponses, type GetFiltersData, type GetFiltersError, type GetFiltersErrors, type GetFiltersResponse, type GetFiltersResponses, type GetGroupData, type GetGroupError, type GetGroupErrors, type GetGroupResponse, type GetGroupResponses, type GetHealthData, type GetHealthResponse, type GetHealthResponses, type GetInvoiceUrlData, type GetInvoiceUrlError, type GetInvoiceUrlErrors, type GetInvoiceUrlResponse, type GetInvoiceUrlResponses, type GetKeywordData, type GetKeywordError, type GetKeywordErrors, type GetKeywordHealthData, type GetKeywordHealthError, type GetKeywordHealthErrors, type GetKeywordHealthResponse, type GetKeywordHealthResponses, type GetKeywordResponse, type GetKeywordResponses, type GetMentionData, type GetMentionError, type GetMentionErrors, type GetMentionResponse, type GetMentionResponses, type GetPersonData, type GetPersonError, type GetPersonErrors, type GetPersonResponse, type GetPersonResponses, type GetReviewsReportData, type GetReviewsReportError, type GetReviewsReportErrors, type GetReviewsReportResponse, type GetReviewsReportResponses, type GetSegmentData, type GetSegmentError, type GetSegmentErrors, type GetSegmentResponse, type GetSegmentResponses, type GetShareOfVoiceData, type GetShareOfVoiceError, type GetShareOfVoiceErrors, type GetShareOfVoiceResponse, type GetShareOfVoiceResponses, type GetUsageBreakdownData, type GetUsageBreakdownError, type GetUsageBreakdownErrors, type GetUsageBreakdownResponse, type GetUsageBreakdownResponses, type GetUsageData, type GetUsageError, type GetUsageErrors, type GetUsageResponse, type GetUsageResponses, type GetViewData, type GetViewError, type GetViewErrors, type GetViewResponse, type GetViewResponses, type GetWalletData, type GetWalletError, type GetWalletErrors, type GetWalletResponse, type GetWalletResponses, type Group, type GroupRef, type Invitation, type InvoiceList, type Keyword, type KeywordFeed, type KeywordHealth, type KeywordNoisyEventData, type KeywordSuggestion, type LedgerList, type ListAlertsData, type ListAlertsError, type ListAlertsErrors, type ListAlertsResponse, type ListAlertsResponses, type ListApiKeysData, type ListApiKeysError, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListAttentionData, type ListAttentionError, type ListAttentionErrors, type ListAttentionResponse, type ListAttentionResponses, type ListChannelDeliveriesData, type ListChannelDeliveriesError, type ListChannelDeliveriesErrors, type ListChannelDeliveriesResponse, type ListChannelDeliveriesResponses, type ListChannelsData, type ListChannelsError, type ListChannelsErrors, type ListChannelsResponse, type ListChannelsResponses, type ListGroupsData, type ListGroupsError, type ListGroupsErrors, type ListGroupsResponse, type ListGroupsResponses, type ListInvitationsData, type ListInvitationsError, type ListInvitationsErrors, type ListInvitationsResponse, type ListInvitationsResponses, type ListInvoicesData, type ListInvoicesError, type ListInvoicesErrors, type ListInvoicesResponse, type ListInvoicesResponses, type ListKeywordsData, type ListKeywordsError, type ListKeywordsErrors, type ListKeywordsResponse, type ListKeywordsResponses, type ListLedgerData, type ListLedgerError, type ListLedgerErrors, type ListLedgerResponse, type ListLedgerResponses, type ListMembersData, type ListMembersError, type ListMembersErrors, type ListMembersResponse, type ListMembersResponses, type ListMentionCommentsData, type ListMentionCommentsError, type ListMentionCommentsErrors, type ListMentionCommentsResponse, type ListMentionCommentsResponses, type ListPeopleData, type ListPeopleError, type ListPeopleErrors, type ListPeopleResponse, type ListPeopleResponses, type ListPersonActivitiesData, type ListPersonActivitiesError, type ListPersonActivitiesErrors, type ListPersonActivitiesResponse, type ListPersonActivitiesResponses, type ListSegmentsData, type ListSegmentsError, type ListSegmentsErrors, type ListSegmentsResponse, type ListSegmentsResponses, type ListViewsData, type ListViewsError, type ListViewsErrors, type ListViewsResponse, type ListViewsResponses, type LogPersonActivityData, type LogPersonActivityError, type LogPersonActivityErrors, type LogPersonActivityResponse, type LogPersonActivityResponses, type Member, type Mentio, type MentioOptions, type Mention, type MentionComment, type MentionSpikeEventData, type MergePeopleData, type MergePeopleError, type MergePeopleErrors, type MergePeopleResponse, type MergePeopleResponses, type MuteAlertAuthorsData, type MuteAlertAuthorsError, type MuteAlertAuthorsErrors, type MuteAlertAuthorsResponse, type MuteAlertAuthorsResponses, type NegativeSpikeEventData, type Options, type Person, type PersonActivity, type RemoveMemberData, type RemoveMemberError, type RemoveMemberErrors, type RemoveMemberResponse, type RemoveMemberResponses, type RequestResult, type ReviewSource, type ReviewsReport, type RevokeApiKeyData, type RevokeApiKeyError, type RevokeApiKeyErrors, type RevokeApiKeyResponse, type RevokeApiKeyResponses, type RevokeInvitationData, type RevokeInvitationError, type RevokeInvitationErrors, type RevokeInvitationResponse, type RevokeInvitationResponses, type RotateWebhookSecretData, type RotateWebhookSecretError, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RunAlertDigestData, type RunAlertDigestError, type RunAlertDigestErrors, type RunAlertDigestResponse, type RunAlertDigestResponses, type SearchMentionsData, type SearchMentionsError, type SearchMentionsErrors, type SearchMentionsResponse, type SearchMentionsResponses, type Segment, type 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 UpdateGroupData, type UpdateGroupError, type UpdateGroupErrors, type UpdateGroupResponse, type UpdateGroupResponses, type UpdateKeywordData, type UpdateKeywordError, type UpdateKeywordErrors, type UpdateKeywordResponse, type UpdateKeywordResponses, type UpdateMentionData, type UpdateMentionError, type UpdateMentionErrors, type UpdateMentionResponse, type UpdateMentionResponses, type UpdatePersonData, type UpdatePersonError, type UpdatePersonErrors, type UpdatePersonResponse, type UpdatePersonResponses, type UpdateSegmentData, type UpdateSegmentError, type UpdateSegmentErrors, type UpdateSegmentResponse, type UpdateSegmentResponses, type UpdateViewData, type UpdateViewError, type UpdateViewErrors, type UpdateViewResponse, type UpdateViewResponses, type UsageBreakdown, type UsageSummary, type View, type Wallet, type WebhookChannel, type Whoami, type WhoamiData, type WhoamiError, type WhoamiErrors, type WhoamiResponse, type WhoamiResponses, type WorkspaceFilters, createAlert, createApiKey, createChannel, createClient, createConfig, createGroup, createInvitation, createKeyword, createMentio, createSegment, createTopUp, createView, deleteAlert, deleteChannel, deleteGroup, deleteKeyword, deletePersonActivity, deleteSegment, deleteView, dismissAttention, duplicateKeyword, exportMentionsCsv, exportMentionsJson, exportPeopleCsv, getAlert, getAnalyticsBreakdown, getAnalyticsSeries, getAnalyticsSummary, getChannel, getCompany, getFilters, getGroup, getHealth, getInvoiceUrl, getKeyword, getKeywordHealth, getMention, getPerson, getReviewsReport, getSegment, getShareOfVoice, getUsage, getUsageBreakdown, getView, getWallet, listAlerts, listApiKeys, listAttention, listChannelDeliveries, listChannels, listGroups, listInvitations, listInvoices, listKeywords, listLedger, listMembers, listMentionComments, listPeople, listPersonActivities, listSegments, listViews, logPersonActivity, mergePeople, muteAlertAuthors, removeMember, revokeApiKey, revokeInvitation, rotateWebhookSecret, runAlertDigest, searchMentions, splitPerson, testAlert, testChannel, unmuteAlertAuthors, updateAlert, updateChannel, updateCompany, updateFilters, updateGroup, updateKeyword, updateMention, updatePerson, updateSegment, updateView, whoami };
|
|
11522
|
+
export { type Alert, type AnalyticsBreakdown, type AnalyticsSeries, type AnalyticsSummary, type AttentionItem, type Channel, type ChannelFailingEventData, type Client, type ClientOptions, type Company, type Config, type CreateAlertData, type CreateAlertError, type CreateAlertErrors, type CreateAlertResponse, type CreateAlertResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChannelData, type CreateChannelError, type CreateChannelErrors, type CreateChannelResponse, type CreateChannelResponses, type CreateEmailChannel, type CreateFeedData, type CreateFeedError, type CreateFeedErrors, type CreateFeedResponse, type CreateFeedResponses, type CreateGroupData, type CreateGroupError, type CreateGroupErrors, type CreateGroupResponse, type CreateGroupResponses, type CreateInvitationData, type CreateInvitationError, type CreateInvitationErrors, type CreateInvitationResponse, type CreateInvitationResponses, type CreateKeywordData, type CreateKeywordError, type CreateKeywordErrors, type CreateKeywordResponse, type CreateKeywordResponses, type CreateSegmentData, type CreateSegmentError, type CreateSegmentErrors, type CreateSegmentResponse, type CreateSegmentResponses, type CreateSlackChannel, type CreateTopUpData, type CreateTopUpError, type CreateTopUpErrors, type CreateTopUpResponse, type CreateTopUpResponses, type CreateViewData, type CreateViewError, type CreateViewErrors, type CreateViewResponse, type CreateViewResponses, type CreateWebhookChannel, DEFAULT_BASE_URL, type DeleteAlertData, type DeleteAlertError, type DeleteAlertErrors, type DeleteAlertResponse, type DeleteAlertResponses, type DeleteChannelData, type DeleteChannelError, type DeleteChannelErrors, type DeleteChannelResponse, type DeleteChannelResponses, type DeleteFeedData, type DeleteFeedError, type DeleteFeedErrors, type DeleteFeedResponse, type DeleteFeedResponses, type DeleteGroupData, type DeleteGroupError, type DeleteGroupErrors, type DeleteGroupResponse, type DeleteGroupResponses, type DeleteKeywordData, type DeleteKeywordError, type DeleteKeywordErrors, type DeleteKeywordResponse, type DeleteKeywordResponses, type DeletePersonActivityData, type DeletePersonActivityError, type DeletePersonActivityErrors, type DeletePersonActivityResponse, type DeletePersonActivityResponses, type DeleteSegmentData, type DeleteSegmentError, type DeleteSegmentErrors, type DeleteSegmentResponse, type DeleteSegmentResponses, type DeleteViewData, type DeleteViewError, type DeleteViewErrors, type DeleteViewResponse, type DeleteViewResponses, type DismissAttentionData, type DismissAttentionError, type DismissAttentionErrors, type DismissAttentionResponse, type DismissAttentionResponses, type DuplicateKeywordData, type DuplicateKeywordError, type DuplicateKeywordErrors, type DuplicateKeywordResponse, type DuplicateKeywordResponses, type EmailChannel, type ErrorResponse, type ExportMentionsCsvData, type ExportMentionsCsvError, type ExportMentionsCsvErrors, type ExportMentionsCsvResponse, type ExportMentionsCsvResponses, type ExportMentionsJsonData, type ExportMentionsJsonError, type ExportMentionsJsonErrors, type ExportMentionsJsonResponse, type ExportMentionsJsonResponses, type ExportPeopleCsvData, type ExportPeopleCsvError, type ExportPeopleCsvErrors, type ExportPeopleCsvResponse, type ExportPeopleCsvResponses, type Feed, type FeedFailingEventData, type FilterGroup, type GetAlertData, type GetAlertError, type GetAlertErrors, type GetAlertResponse, type GetAlertResponses, type GetAnalyticsBreakdownData, type GetAnalyticsBreakdownError, type GetAnalyticsBreakdownErrors, type GetAnalyticsBreakdownResponse, type GetAnalyticsBreakdownResponses, type GetAnalyticsSeriesData, type GetAnalyticsSeriesError, type GetAnalyticsSeriesErrors, type GetAnalyticsSeriesResponse, type GetAnalyticsSeriesResponses, type GetAnalyticsSummaryData, type GetAnalyticsSummaryError, type GetAnalyticsSummaryErrors, type GetAnalyticsSummaryResponse, type GetAnalyticsSummaryResponses, type GetChannelData, type GetChannelError, type GetChannelErrors, type GetChannelResponse, type GetChannelResponses, type GetCompanyData, type GetCompanyError, type GetCompanyErrors, type GetCompanyResponse, type GetCompanyResponses, type GetFeedData, type GetFeedError, type GetFeedErrors, type GetFeedResponse, type GetFeedResponses, type GetFiltersData, type GetFiltersError, type GetFiltersErrors, type GetFiltersResponse, type GetFiltersResponses, type GetGroupData, type GetGroupError, type GetGroupErrors, type GetGroupResponse, type GetGroupResponses, type GetHealthData, type GetHealthResponse, type GetHealthResponses, type GetInvoiceUrlData, type GetInvoiceUrlError, type GetInvoiceUrlErrors, type GetInvoiceUrlResponse, type GetInvoiceUrlResponses, type GetKeywordData, type GetKeywordError, type GetKeywordErrors, type GetKeywordHealthData, type GetKeywordHealthError, type GetKeywordHealthErrors, type GetKeywordHealthResponse, type GetKeywordHealthResponses, type GetKeywordResponse, type GetKeywordResponses, type GetMentionData, type GetMentionError, type GetMentionErrors, type GetMentionResponse, type GetMentionResponses, type GetPersonData, type GetPersonError, type GetPersonErrors, type GetPersonResponse, type GetPersonResponses, type GetReviewsReportData, type GetReviewsReportError, type GetReviewsReportErrors, type GetReviewsReportResponse, type GetReviewsReportResponses, type GetSegmentData, type GetSegmentError, type GetSegmentErrors, type GetSegmentResponse, type GetSegmentResponses, type GetShareOfVoiceData, type GetShareOfVoiceError, type GetShareOfVoiceErrors, type GetShareOfVoiceResponse, type GetShareOfVoiceResponses, type GetUsageBreakdownData, type GetUsageBreakdownError, type GetUsageBreakdownErrors, type GetUsageBreakdownResponse, type GetUsageBreakdownResponses, type GetUsageData, type GetUsageError, type GetUsageErrors, type GetUsageResponse, type GetUsageResponses, type GetViewData, type GetViewError, type GetViewErrors, type GetViewResponse, type GetViewResponses, type GetWalletData, type GetWalletError, type GetWalletErrors, type GetWalletResponse, type GetWalletResponses, type Group, type GroupRef, type ImportFeedsData, type ImportFeedsError, type ImportFeedsErrors, type ImportFeedsResponse, type ImportFeedsResponses, type Invitation, type InvoiceList, type Keyword, type KeywordFeed, type KeywordHealth, type KeywordNoisyEventData, type KeywordSuggestion, type LedgerList, type ListAlertsData, type ListAlertsError, type ListAlertsErrors, type ListAlertsResponse, type ListAlertsResponses, type ListApiKeysData, type ListApiKeysError, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListAttentionData, type ListAttentionError, type ListAttentionErrors, type ListAttentionResponse, type ListAttentionResponses, type ListChannelDeliveriesData, type ListChannelDeliveriesError, type ListChannelDeliveriesErrors, type ListChannelDeliveriesResponse, type ListChannelDeliveriesResponses, type ListChannelsData, type ListChannelsError, type ListChannelsErrors, type ListChannelsResponse, type ListChannelsResponses, type ListFeedsData, type ListFeedsError, type ListFeedsErrors, type ListFeedsResponse, type ListFeedsResponses, type ListGroupsData, type ListGroupsError, type ListGroupsErrors, type ListGroupsResponse, type ListGroupsResponses, type ListInvitationsData, type ListInvitationsError, type ListInvitationsErrors, type ListInvitationsResponse, type ListInvitationsResponses, type ListInvoicesData, type ListInvoicesError, type ListInvoicesErrors, type ListInvoicesResponse, type ListInvoicesResponses, type ListKeywordsData, type ListKeywordsError, type ListKeywordsErrors, type ListKeywordsResponse, type ListKeywordsResponses, type ListLedgerData, type ListLedgerError, type ListLedgerErrors, type ListLedgerResponse, type ListLedgerResponses, type ListMembersData, type ListMembersError, type ListMembersErrors, type ListMembersResponse, type ListMembersResponses, type ListMentionCommentsData, type ListMentionCommentsError, type ListMentionCommentsErrors, type ListMentionCommentsResponse, type ListMentionCommentsResponses, type ListPeopleData, type ListPeopleError, type ListPeopleErrors, type ListPeopleResponse, type ListPeopleResponses, type ListPersonActivitiesData, type ListPersonActivitiesError, type ListPersonActivitiesErrors, type ListPersonActivitiesResponse, type ListPersonActivitiesResponses, type ListSegmentsData, type ListSegmentsError, type ListSegmentsErrors, type ListSegmentsResponse, type ListSegmentsResponses, type ListViewsData, type ListViewsError, type ListViewsErrors, type ListViewsResponse, type ListViewsResponses, type LogPersonActivityData, type LogPersonActivityError, type LogPersonActivityErrors, type LogPersonActivityResponse, type LogPersonActivityResponses, type Member, type Mentio, type MentioOptions, type Mention, type MentionComment, type MentionSpikeEventData, type MergePeopleData, type MergePeopleError, type MergePeopleErrors, type MergePeopleResponse, type MergePeopleResponses, type MuteAlertAuthorsData, type MuteAlertAuthorsError, type MuteAlertAuthorsErrors, type MuteAlertAuthorsResponse, type MuteAlertAuthorsResponses, type NegativeSpikeEventData, type Options, type Person, type PersonActivity, type RemoveMemberData, type RemoveMemberError, type RemoveMemberErrors, type RemoveMemberResponse, type RemoveMemberResponses, type RequestResult, type ReviewSource, type ReviewsReport, type RevokeApiKeyData, type RevokeApiKeyError, type RevokeApiKeyErrors, type RevokeApiKeyResponse, type RevokeApiKeyResponses, type RevokeInvitationData, type RevokeInvitationError, type RevokeInvitationErrors, type RevokeInvitationResponse, type RevokeInvitationResponses, type RotateWebhookSecretData, type RotateWebhookSecretError, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RunAlertDigestData, type RunAlertDigestError, type RunAlertDigestErrors, type RunAlertDigestResponse, type RunAlertDigestResponses, type SearchMentionsData, type SearchMentionsError, type SearchMentionsErrors, type SearchMentionsResponse, type SearchMentionsResponses, type Segment, type ShareOfVoice, type SlackChannel, type SplitPersonData, type SplitPersonError, type SplitPersonErrors, type SplitPersonResponse, type SplitPersonResponses, type TelegramChannel, type TestAlertData, type TestAlertError, type TestAlertErrors, type TestAlertResponse, type TestAlertResponses, type TestChannelData, type TestChannelError, type TestChannelErrors, type TestChannelResponse, type TestChannelResponses, type UnmuteAlertAuthorsData, type UnmuteAlertAuthorsError, type UnmuteAlertAuthorsErrors, type UnmuteAlertAuthorsResponse, type UnmuteAlertAuthorsResponses, type UpdateAlertData, type UpdateAlertError, type UpdateAlertErrors, type UpdateAlertResponse, type UpdateAlertResponses, type UpdateChannelData, type UpdateChannelError, type UpdateChannelErrors, type UpdateChannelResponse, type UpdateChannelResponses, type UpdateCompanyData, type UpdateCompanyError, type UpdateCompanyErrors, type UpdateCompanyResponse, type UpdateCompanyResponses, type UpdateFeedData, type UpdateFeedError, type UpdateFeedErrors, type UpdateFeedResponse, type UpdateFeedResponses, type UpdateFiltersData, type UpdateFiltersError, type UpdateFiltersErrors, type UpdateFiltersResponse, type UpdateFiltersResponses, type UpdateGroupData, type UpdateGroupError, type UpdateGroupErrors, type UpdateGroupResponse, type UpdateGroupResponses, type UpdateKeywordData, type UpdateKeywordError, type UpdateKeywordErrors, type UpdateKeywordResponse, type UpdateKeywordResponses, type UpdateMentionData, type UpdateMentionError, type UpdateMentionErrors, type UpdateMentionResponse, type UpdateMentionResponses, type UpdatePersonData, type UpdatePersonError, type UpdatePersonErrors, type UpdatePersonResponse, type UpdatePersonResponses, type UpdateSegmentData, type UpdateSegmentError, type UpdateSegmentErrors, type UpdateSegmentResponse, type UpdateSegmentResponses, type UpdateViewData, type UpdateViewError, type UpdateViewErrors, type UpdateViewResponse, type UpdateViewResponses, type UsageBreakdown, type UsageSummary, type View, type Wallet, type WebhookChannel, type Whoami, type WhoamiData, type WhoamiError, type WhoamiErrors, type WhoamiResponse, type WhoamiResponses, type WorkspaceFilters, createAlert, createApiKey, createChannel, createClient, createConfig, createFeed, createGroup, createInvitation, createKeyword, createMentio, createSegment, createTopUp, createView, deleteAlert, deleteChannel, deleteFeed, deleteGroup, deleteKeyword, deletePersonActivity, deleteSegment, deleteView, dismissAttention, duplicateKeyword, exportMentionsCsv, exportMentionsJson, exportPeopleCsv, getAlert, getAnalyticsBreakdown, getAnalyticsSeries, getAnalyticsSummary, getChannel, getCompany, getFeed, getFilters, getGroup, getHealth, getInvoiceUrl, getKeyword, getKeywordHealth, getMention, getPerson, getReviewsReport, getSegment, getShareOfVoice, getUsage, getUsageBreakdown, getView, getWallet, importFeeds, listAlerts, listApiKeys, listAttention, listChannelDeliveries, listChannels, listFeeds, listGroups, listInvitations, listInvoices, listKeywords, listLedger, listMembers, listMentionComments, listPeople, listPersonActivities, listSegments, listViews, logPersonActivity, mergePeople, muteAlertAuthors, removeMember, revokeApiKey, revokeInvitation, rotateWebhookSecret, runAlertDigest, searchMentions, splitPerson, testAlert, testChannel, unmuteAlertAuthors, updateAlert, updateChannel, updateCompany, updateFeed, updateFilters, updateGroup, updateKeyword, updateMention, updatePerson, updateSegment, updateView, whoami };
|