@mentio-dev/sdk 0.8.1 → 0.9.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 +387 -9
- package/dist/index.js +43 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -330,6 +330,27 @@ declare const createClient: (config?: Config) => Client;
|
|
|
330
330
|
type ClientOptions = {
|
|
331
331
|
baseUrl: 'https://api.mentio.dev' | (string & {});
|
|
332
332
|
};
|
|
333
|
+
/**
|
|
334
|
+
* The group the keyword belongs to.
|
|
335
|
+
*/
|
|
336
|
+
type GroupRef = {
|
|
337
|
+
/**
|
|
338
|
+
* Group id (grp_...).
|
|
339
|
+
*/
|
|
340
|
+
id: string;
|
|
341
|
+
/**
|
|
342
|
+
* The group's name.
|
|
343
|
+
*/
|
|
344
|
+
name: string;
|
|
345
|
+
/**
|
|
346
|
+
* Your own id for the group, or null.
|
|
347
|
+
*/
|
|
348
|
+
externalId: string | null;
|
|
349
|
+
/**
|
|
350
|
+
* The workspace's default group, where a keyword lands when no group is named.
|
|
351
|
+
*/
|
|
352
|
+
isDefault: boolean;
|
|
353
|
+
};
|
|
333
354
|
type Keyword = {
|
|
334
355
|
/**
|
|
335
356
|
* Keyword id (kw_...).
|
|
@@ -358,6 +379,7 @@ type Keyword = {
|
|
|
358
379
|
*/
|
|
359
380
|
mentions: number;
|
|
360
381
|
} | null;
|
|
382
|
+
group: GroupRef;
|
|
361
383
|
/**
|
|
362
384
|
* Platforms this keyword is tracked on; null means every platform.
|
|
363
385
|
*/
|
|
@@ -501,7 +523,7 @@ type ErrorResponse = {
|
|
|
501
523
|
/**
|
|
502
524
|
* 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.
|
|
503
525
|
*/
|
|
504
|
-
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';
|
|
526
|
+
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' | 'duplicate_group' | 'default_group' | 'group_changed' | 'invalid_signature' | 'webhook_not_configured' | 'invalid_token' | 'protected_user' | 'upstream_unavailable' | 'internal_error';
|
|
505
527
|
/**
|
|
506
528
|
* Human-readable detail; may change between releases.
|
|
507
529
|
*/
|
|
@@ -572,11 +594,18 @@ type Mention = {
|
|
|
572
594
|
*/
|
|
573
595
|
priority: number;
|
|
574
596
|
/**
|
|
575
|
-
* The keyword this post matched.
|
|
597
|
+
* The keyword this post matched, and the group it is in.
|
|
576
598
|
*/
|
|
577
599
|
keyword: {
|
|
600
|
+
/**
|
|
601
|
+
* Keyword id (kw_...).
|
|
602
|
+
*/
|
|
578
603
|
id: string;
|
|
604
|
+
/**
|
|
605
|
+
* The tracked term.
|
|
606
|
+
*/
|
|
579
607
|
term: string;
|
|
608
|
+
group: GroupRef;
|
|
580
609
|
};
|
|
581
610
|
post: {
|
|
582
611
|
/**
|
|
@@ -1051,6 +1080,14 @@ type View = {
|
|
|
1051
1080
|
* Only matches of keywords of any of these kinds: brand, competitor, topic.
|
|
1052
1081
|
*/
|
|
1053
1082
|
keywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
|
|
1083
|
+
/**
|
|
1084
|
+
* Only matches of keywords in any of these groups (grp_...).
|
|
1085
|
+
*/
|
|
1086
|
+
groupIds?: Array<string>;
|
|
1087
|
+
/**
|
|
1088
|
+
* Never matches of keywords in these groups.
|
|
1089
|
+
*/
|
|
1090
|
+
notGroupIds?: Array<string>;
|
|
1054
1091
|
/**
|
|
1055
1092
|
* Only posts from any of these platforms.
|
|
1056
1093
|
*/
|
|
@@ -1145,6 +1182,32 @@ type View = {
|
|
|
1145
1182
|
*/
|
|
1146
1183
|
updatedAt: string;
|
|
1147
1184
|
};
|
|
1185
|
+
/**
|
|
1186
|
+
* The group the keyword belongs to.
|
|
1187
|
+
*/
|
|
1188
|
+
type Group = GroupRef & {
|
|
1189
|
+
/**
|
|
1190
|
+
* Computed over the group's keywords.
|
|
1191
|
+
*/
|
|
1192
|
+
stats: {
|
|
1193
|
+
/**
|
|
1194
|
+
* Keywords in the group, muted ones included.
|
|
1195
|
+
*/
|
|
1196
|
+
keywords: number;
|
|
1197
|
+
/**
|
|
1198
|
+
* Keywords in the group that are tracking (not muted).
|
|
1199
|
+
*/
|
|
1200
|
+
active: number;
|
|
1201
|
+
};
|
|
1202
|
+
/**
|
|
1203
|
+
* ISO 8601 timestamp, UTC.
|
|
1204
|
+
*/
|
|
1205
|
+
createdAt: string;
|
|
1206
|
+
/**
|
|
1207
|
+
* ISO 8601 timestamp, UTC.
|
|
1208
|
+
*/
|
|
1209
|
+
updatedAt: string;
|
|
1210
|
+
};
|
|
1148
1211
|
type Company = {
|
|
1149
1212
|
/**
|
|
1150
1213
|
* Brand or company name, as the classifier should call it.
|
|
@@ -1405,7 +1468,7 @@ type UsageBreakdown = {
|
|
|
1405
1468
|
/**
|
|
1406
1469
|
* The dimension the rows are grouped by.
|
|
1407
1470
|
*/
|
|
1408
|
-
by: 'day' | 'platform' | 'keyword';
|
|
1471
|
+
by: 'day' | 'platform' | 'keyword' | 'group';
|
|
1409
1472
|
/**
|
|
1410
1473
|
* Every amount is in USD cents.
|
|
1411
1474
|
*/
|
|
@@ -1456,11 +1519,11 @@ type UsageBreakdown = {
|
|
|
1456
1519
|
*/
|
|
1457
1520
|
data: Array<{
|
|
1458
1521
|
/**
|
|
1459
|
-
* The
|
|
1522
|
+
* The row's key: the UTC day (YYYY-MM-DD) for by=day, the platform for by=platform, the keyword id for by=keyword, the group id for by=group.
|
|
1460
1523
|
*/
|
|
1461
1524
|
key: string;
|
|
1462
1525
|
/**
|
|
1463
|
-
* Readable name: the keyword term, otherwise the key.
|
|
1526
|
+
* Readable name: the keyword term or the group name, otherwise the key.
|
|
1464
1527
|
*/
|
|
1465
1528
|
label: string;
|
|
1466
1529
|
/**
|
|
@@ -1480,6 +1543,23 @@ type UsageBreakdown = {
|
|
|
1480
1543
|
*/
|
|
1481
1544
|
removed: boolean;
|
|
1482
1545
|
} | null;
|
|
1546
|
+
/**
|
|
1547
|
+
* by=group only; null otherwise.
|
|
1548
|
+
*/
|
|
1549
|
+
group: {
|
|
1550
|
+
/**
|
|
1551
|
+
* Group id, or "none" for keyword-days metered before groups existed whose keyword is gone.
|
|
1552
|
+
*/
|
|
1553
|
+
id: string;
|
|
1554
|
+
/**
|
|
1555
|
+
* The group's name as it reads now, or "Deleted group" / "No group".
|
|
1556
|
+
*/
|
|
1557
|
+
name: string;
|
|
1558
|
+
/**
|
|
1559
|
+
* The group has since been deleted.
|
|
1560
|
+
*/
|
|
1561
|
+
removed: boolean;
|
|
1562
|
+
} | null;
|
|
1483
1563
|
/**
|
|
1484
1564
|
* Keyword-days metered in this group: the days the daily tick charged for. Null for by=platform (a keyword-day belongs to no platform) and for a day before the first recorded tick (unknown, not zero); a keyword row counts only the days on record, so before window.keywordDaysFrom it is a floor, not a zero.
|
|
1485
1565
|
*/
|
|
@@ -1713,6 +1793,10 @@ type Alert = {
|
|
|
1713
1793
|
* Only these keywords.
|
|
1714
1794
|
*/
|
|
1715
1795
|
keywordIds?: Array<string>;
|
|
1796
|
+
/**
|
|
1797
|
+
* Only keywords in these groups (grp_...): one rule per customer, say.
|
|
1798
|
+
*/
|
|
1799
|
+
groupIds?: Array<string>;
|
|
1716
1800
|
/**
|
|
1717
1801
|
* Only posts from these platforms.
|
|
1718
1802
|
*/
|
|
@@ -2061,6 +2145,7 @@ type AnalyticsSeries = {
|
|
|
2061
2145
|
* brand, competitor or topic.
|
|
2062
2146
|
*/
|
|
2063
2147
|
kind: 'brand' | 'competitor' | 'topic';
|
|
2148
|
+
group: GroupRef & unknown;
|
|
2064
2149
|
} | null;
|
|
2065
2150
|
/**
|
|
2066
2151
|
* One point per bucket across the window, oldest first, zero-filled.
|
|
@@ -2124,6 +2209,7 @@ type AnalyticsSeries = {
|
|
|
2124
2209
|
* brand, competitor or topic.
|
|
2125
2210
|
*/
|
|
2126
2211
|
kind: 'brand' | 'competitor' | 'topic';
|
|
2212
|
+
group: GroupRef & unknown;
|
|
2127
2213
|
} | null;
|
|
2128
2214
|
/**
|
|
2129
2215
|
* One point per bucket across the window, oldest first, zero-filled.
|
|
@@ -2214,6 +2300,7 @@ type AnalyticsBreakdown = {
|
|
|
2214
2300
|
* brand, competitor or topic.
|
|
2215
2301
|
*/
|
|
2216
2302
|
kind: 'brand' | 'competitor' | 'topic';
|
|
2303
|
+
group: GroupRef & unknown;
|
|
2217
2304
|
} | null;
|
|
2218
2305
|
/**
|
|
2219
2306
|
* by=person only; null otherwise.
|
|
@@ -2347,6 +2434,7 @@ type ShareOfVoice = {
|
|
|
2347
2434
|
* brand, competitor or topic.
|
|
2348
2435
|
*/
|
|
2349
2436
|
kind: 'brand' | 'competitor' | 'topic';
|
|
2437
|
+
group: GroupRef & unknown;
|
|
2350
2438
|
};
|
|
2351
2439
|
/**
|
|
2352
2440
|
* Matches of this keyword in the window.
|
|
@@ -2643,6 +2731,10 @@ type ListKeywordsData = {
|
|
|
2643
2731
|
* Text to find in the term or in the keyword's context, case-insensitive.
|
|
2644
2732
|
*/
|
|
2645
2733
|
q?: string;
|
|
2734
|
+
/**
|
|
2735
|
+
* Only keywords in any of these groups (grp_...). Repeatable, or comma-separated.
|
|
2736
|
+
*/
|
|
2737
|
+
groupId?: Array<string> | null;
|
|
2646
2738
|
/**
|
|
2647
2739
|
* Only these kinds: brand, competitor, topic. Repeatable, or comma-separated.
|
|
2648
2740
|
*/
|
|
@@ -2714,6 +2806,7 @@ type ListKeywordsResponses = {
|
|
|
2714
2806
|
*/
|
|
2715
2807
|
mentions: number;
|
|
2716
2808
|
} | null;
|
|
2809
|
+
group: GroupRef;
|
|
2717
2810
|
/**
|
|
2718
2811
|
* Platforms this keyword is tracked on; null means every platform.
|
|
2719
2812
|
*/
|
|
@@ -2908,6 +3001,10 @@ type CreateKeywordData = {
|
|
|
2908
3001
|
*/
|
|
2909
3002
|
mentions: number;
|
|
2910
3003
|
} | null;
|
|
3004
|
+
/**
|
|
3005
|
+
* The group to track it in (grp_...); omit for the workspace's default group. A term may be tracked once per group.
|
|
3006
|
+
*/
|
|
3007
|
+
groupId?: string;
|
|
2911
3008
|
};
|
|
2912
3009
|
path?: never;
|
|
2913
3010
|
query?: never;
|
|
@@ -3048,6 +3145,10 @@ type UpdateKeywordData = {
|
|
|
3048
3145
|
*/
|
|
3049
3146
|
mentions: number;
|
|
3050
3147
|
} | null;
|
|
3148
|
+
/**
|
|
3149
|
+
* Moves the keyword to this group (grp_...). A 409 when that group already tracks the term.
|
|
3150
|
+
*/
|
|
3151
|
+
groupId?: string;
|
|
3051
3152
|
};
|
|
3052
3153
|
path: {
|
|
3053
3154
|
/**
|
|
@@ -3351,6 +3452,14 @@ type SearchMentionsData = {
|
|
|
3351
3452
|
* Only matches of any of these keywords.
|
|
3352
3453
|
*/
|
|
3353
3454
|
keywordIds?: Array<string> | null;
|
|
3455
|
+
/**
|
|
3456
|
+
* Only matches of keywords in any of these groups (grp_...). Repeatable, or comma-separated.
|
|
3457
|
+
*/
|
|
3458
|
+
groupIds?: Array<string> | null;
|
|
3459
|
+
/**
|
|
3460
|
+
* Never matches of keywords in these groups.
|
|
3461
|
+
*/
|
|
3462
|
+
notGroupIds?: Array<string> | null;
|
|
3354
3463
|
/**
|
|
3355
3464
|
* Never matches of these keywords.
|
|
3356
3465
|
*/
|
|
@@ -3542,6 +3651,14 @@ type ExportMentionsCsvData = {
|
|
|
3542
3651
|
* Only matches of any of these keywords.
|
|
3543
3652
|
*/
|
|
3544
3653
|
keywordIds?: Array<string> | null;
|
|
3654
|
+
/**
|
|
3655
|
+
* Only matches of keywords in any of these groups (grp_...). Repeatable, or comma-separated.
|
|
3656
|
+
*/
|
|
3657
|
+
groupIds?: Array<string> | null;
|
|
3658
|
+
/**
|
|
3659
|
+
* Never matches of keywords in these groups.
|
|
3660
|
+
*/
|
|
3661
|
+
notGroupIds?: Array<string> | null;
|
|
3545
3662
|
/**
|
|
3546
3663
|
* Never matches of these keywords.
|
|
3547
3664
|
*/
|
|
@@ -4840,6 +4957,14 @@ type ListViewsResponses = {
|
|
|
4840
4957
|
* Only matches of keywords of any of these kinds: brand, competitor, topic.
|
|
4841
4958
|
*/
|
|
4842
4959
|
keywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
|
|
4960
|
+
/**
|
|
4961
|
+
* Only matches of keywords in any of these groups (grp_...).
|
|
4962
|
+
*/
|
|
4963
|
+
groupIds?: Array<string>;
|
|
4964
|
+
/**
|
|
4965
|
+
* Never matches of keywords in these groups.
|
|
4966
|
+
*/
|
|
4967
|
+
notGroupIds?: Array<string>;
|
|
4843
4968
|
/**
|
|
4844
4969
|
* Only posts from any of these platforms.
|
|
4845
4970
|
*/
|
|
@@ -4967,6 +5092,14 @@ type CreateViewData = {
|
|
|
4967
5092
|
* Only matches of keywords of any of these kinds: brand, competitor, topic.
|
|
4968
5093
|
*/
|
|
4969
5094
|
keywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
|
|
5095
|
+
/**
|
|
5096
|
+
* Only matches of keywords in any of these groups (grp_...).
|
|
5097
|
+
*/
|
|
5098
|
+
groupIds?: Array<string>;
|
|
5099
|
+
/**
|
|
5100
|
+
* Never matches of keywords in these groups.
|
|
5101
|
+
*/
|
|
5102
|
+
notGroupIds?: Array<string>;
|
|
4970
5103
|
/**
|
|
4971
5104
|
* Only posts from any of these platforms.
|
|
4972
5105
|
*/
|
|
@@ -5157,6 +5290,14 @@ type UpdateViewData = {
|
|
|
5157
5290
|
* Only matches of keywords of any of these kinds: brand, competitor, topic.
|
|
5158
5291
|
*/
|
|
5159
5292
|
keywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
|
|
5293
|
+
/**
|
|
5294
|
+
* Only matches of keywords in any of these groups (grp_...).
|
|
5295
|
+
*/
|
|
5296
|
+
groupIds?: Array<string>;
|
|
5297
|
+
/**
|
|
5298
|
+
* Never matches of keywords in these groups.
|
|
5299
|
+
*/
|
|
5300
|
+
notGroupIds?: Array<string>;
|
|
5160
5301
|
/**
|
|
5161
5302
|
* Only posts from any of these platforms.
|
|
5162
5303
|
*/
|
|
@@ -5274,6 +5415,198 @@ type UpdateViewResponses = {
|
|
|
5274
5415
|
200: View;
|
|
5275
5416
|
};
|
|
5276
5417
|
type UpdateViewResponse = UpdateViewResponses[keyof UpdateViewResponses];
|
|
5418
|
+
type ListGroupsData = {
|
|
5419
|
+
body?: never;
|
|
5420
|
+
path?: never;
|
|
5421
|
+
query?: {
|
|
5422
|
+
/**
|
|
5423
|
+
* Only the group carrying exactly this externalId.
|
|
5424
|
+
*/
|
|
5425
|
+
externalId?: string;
|
|
5426
|
+
};
|
|
5427
|
+
url: '/v1/groups';
|
|
5428
|
+
};
|
|
5429
|
+
type ListGroupsErrors = {
|
|
5430
|
+
/**
|
|
5431
|
+
* Missing or invalid API key
|
|
5432
|
+
*/
|
|
5433
|
+
401: ErrorResponse;
|
|
5434
|
+
};
|
|
5435
|
+
type ListGroupsError = ListGroupsErrors[keyof ListGroupsErrors];
|
|
5436
|
+
type ListGroupsResponses = {
|
|
5437
|
+
/**
|
|
5438
|
+
* The groups
|
|
5439
|
+
*/
|
|
5440
|
+
200: {
|
|
5441
|
+
/**
|
|
5442
|
+
* The group the keyword belongs to.
|
|
5443
|
+
*/
|
|
5444
|
+
data: Array<GroupRef & {
|
|
5445
|
+
/**
|
|
5446
|
+
* Computed over the group's keywords.
|
|
5447
|
+
*/
|
|
5448
|
+
stats: {
|
|
5449
|
+
/**
|
|
5450
|
+
* Keywords in the group, muted ones included.
|
|
5451
|
+
*/
|
|
5452
|
+
keywords: number;
|
|
5453
|
+
/**
|
|
5454
|
+
* Keywords in the group that are tracking (not muted).
|
|
5455
|
+
*/
|
|
5456
|
+
active: number;
|
|
5457
|
+
};
|
|
5458
|
+
/**
|
|
5459
|
+
* ISO 8601 timestamp, UTC.
|
|
5460
|
+
*/
|
|
5461
|
+
createdAt: string;
|
|
5462
|
+
/**
|
|
5463
|
+
* ISO 8601 timestamp, UTC.
|
|
5464
|
+
*/
|
|
5465
|
+
updatedAt: string;
|
|
5466
|
+
}>;
|
|
5467
|
+
};
|
|
5468
|
+
};
|
|
5469
|
+
type ListGroupsResponse = ListGroupsResponses[keyof ListGroupsResponses];
|
|
5470
|
+
type CreateGroupData = {
|
|
5471
|
+
body: {
|
|
5472
|
+
/**
|
|
5473
|
+
* The group's name: a customer, a campaign, a product. Unique per workspace.
|
|
5474
|
+
*/
|
|
5475
|
+
name: string;
|
|
5476
|
+
/**
|
|
5477
|
+
* Your own id for the group (a customer id, say). Unique per workspace; find the group by it with GET /v1/groups?externalId=.
|
|
5478
|
+
*/
|
|
5479
|
+
externalId?: string | null;
|
|
5480
|
+
};
|
|
5481
|
+
path?: never;
|
|
5482
|
+
query?: never;
|
|
5483
|
+
url: '/v1/groups';
|
|
5484
|
+
};
|
|
5485
|
+
type CreateGroupErrors = {
|
|
5486
|
+
/**
|
|
5487
|
+
* Missing or invalid API key
|
|
5488
|
+
*/
|
|
5489
|
+
401: ErrorResponse;
|
|
5490
|
+
/**
|
|
5491
|
+
* A group with that name or externalId already exists (duplicate_group)
|
|
5492
|
+
*/
|
|
5493
|
+
409: ErrorResponse;
|
|
5494
|
+
};
|
|
5495
|
+
type CreateGroupError = CreateGroupErrors[keyof CreateGroupErrors];
|
|
5496
|
+
type CreateGroupResponses = {
|
|
5497
|
+
/**
|
|
5498
|
+
* The new group
|
|
5499
|
+
*/
|
|
5500
|
+
201: Group;
|
|
5501
|
+
};
|
|
5502
|
+
type CreateGroupResponse = CreateGroupResponses[keyof CreateGroupResponses];
|
|
5503
|
+
type DeleteGroupData = {
|
|
5504
|
+
body?: never;
|
|
5505
|
+
path: {
|
|
5506
|
+
/**
|
|
5507
|
+
* Group id (grp_...).
|
|
5508
|
+
*/
|
|
5509
|
+
id: string;
|
|
5510
|
+
};
|
|
5511
|
+
query?: never;
|
|
5512
|
+
url: '/v1/groups/{id}';
|
|
5513
|
+
};
|
|
5514
|
+
type DeleteGroupErrors = {
|
|
5515
|
+
/**
|
|
5516
|
+
* Missing or invalid API key
|
|
5517
|
+
*/
|
|
5518
|
+
401: ErrorResponse;
|
|
5519
|
+
/**
|
|
5520
|
+
* No such group in this workspace
|
|
5521
|
+
*/
|
|
5522
|
+
404: ErrorResponse;
|
|
5523
|
+
/**
|
|
5524
|
+
* The default group cannot be deleted (default_group)
|
|
5525
|
+
*/
|
|
5526
|
+
409: ErrorResponse;
|
|
5527
|
+
};
|
|
5528
|
+
type DeleteGroupError = DeleteGroupErrors[keyof DeleteGroupErrors];
|
|
5529
|
+
type DeleteGroupResponses = {
|
|
5530
|
+
/**
|
|
5531
|
+
* Deleted, with its keywords
|
|
5532
|
+
*/
|
|
5533
|
+
204: void;
|
|
5534
|
+
};
|
|
5535
|
+
type DeleteGroupResponse = DeleteGroupResponses[keyof DeleteGroupResponses];
|
|
5536
|
+
type GetGroupData = {
|
|
5537
|
+
body?: never;
|
|
5538
|
+
path: {
|
|
5539
|
+
/**
|
|
5540
|
+
* Group id (grp_...).
|
|
5541
|
+
*/
|
|
5542
|
+
id: string;
|
|
5543
|
+
};
|
|
5544
|
+
query?: never;
|
|
5545
|
+
url: '/v1/groups/{id}';
|
|
5546
|
+
};
|
|
5547
|
+
type GetGroupErrors = {
|
|
5548
|
+
/**
|
|
5549
|
+
* Missing or invalid API key
|
|
5550
|
+
*/
|
|
5551
|
+
401: ErrorResponse;
|
|
5552
|
+
/**
|
|
5553
|
+
* No such group in this workspace
|
|
5554
|
+
*/
|
|
5555
|
+
404: ErrorResponse;
|
|
5556
|
+
};
|
|
5557
|
+
type GetGroupError = GetGroupErrors[keyof GetGroupErrors];
|
|
5558
|
+
type GetGroupResponses = {
|
|
5559
|
+
/**
|
|
5560
|
+
* The group
|
|
5561
|
+
*/
|
|
5562
|
+
200: Group;
|
|
5563
|
+
};
|
|
5564
|
+
type GetGroupResponse = GetGroupResponses[keyof GetGroupResponses];
|
|
5565
|
+
type UpdateGroupData = {
|
|
5566
|
+
/**
|
|
5567
|
+
* Omitted fields are untouched.
|
|
5568
|
+
*/
|
|
5569
|
+
body: {
|
|
5570
|
+
/**
|
|
5571
|
+
* The group's name: a customer, a campaign, a product. Unique per workspace.
|
|
5572
|
+
*/
|
|
5573
|
+
name?: string;
|
|
5574
|
+
/**
|
|
5575
|
+
* Replaces your id for the group; null clears it.
|
|
5576
|
+
*/
|
|
5577
|
+
externalId?: string | null;
|
|
5578
|
+
};
|
|
5579
|
+
path: {
|
|
5580
|
+
/**
|
|
5581
|
+
* Group id (grp_...).
|
|
5582
|
+
*/
|
|
5583
|
+
id: string;
|
|
5584
|
+
};
|
|
5585
|
+
query?: never;
|
|
5586
|
+
url: '/v1/groups/{id}';
|
|
5587
|
+
};
|
|
5588
|
+
type UpdateGroupErrors = {
|
|
5589
|
+
/**
|
|
5590
|
+
* Missing or invalid API key
|
|
5591
|
+
*/
|
|
5592
|
+
401: ErrorResponse;
|
|
5593
|
+
/**
|
|
5594
|
+
* No such group in this workspace
|
|
5595
|
+
*/
|
|
5596
|
+
404: ErrorResponse;
|
|
5597
|
+
/**
|
|
5598
|
+
* A group with that name or externalId already exists (duplicate_group)
|
|
5599
|
+
*/
|
|
5600
|
+
409: ErrorResponse;
|
|
5601
|
+
};
|
|
5602
|
+
type UpdateGroupError = UpdateGroupErrors[keyof UpdateGroupErrors];
|
|
5603
|
+
type UpdateGroupResponses = {
|
|
5604
|
+
/**
|
|
5605
|
+
* The updated group
|
|
5606
|
+
*/
|
|
5607
|
+
200: Group;
|
|
5608
|
+
};
|
|
5609
|
+
type UpdateGroupResponse = UpdateGroupResponses[keyof UpdateGroupResponses];
|
|
5277
5610
|
type GetCompanyData = {
|
|
5278
5611
|
body?: never;
|
|
5279
5612
|
path?: never;
|
|
@@ -5696,9 +6029,9 @@ type GetUsageBreakdownData = {
|
|
|
5696
6029
|
path?: never;
|
|
5697
6030
|
query?: {
|
|
5698
6031
|
/**
|
|
5699
|
-
* The dimension to group by: day (one row per UTC day of the window), platform,
|
|
6032
|
+
* The dimension to group by: day (one row per UTC day of the window), platform, keyword (default: the row a margin is computed from), or group (what a customer or a campaign cost).
|
|
5700
6033
|
*/
|
|
5701
|
-
by?: 'day' | 'platform' | 'keyword';
|
|
6034
|
+
by?: 'day' | 'platform' | 'keyword' | 'group';
|
|
5702
6035
|
/**
|
|
5703
6036
|
* Trailing window of UTC days ending today: 7d, 30d, 90d (default 30d). Ignored when `month` is given.
|
|
5704
6037
|
*/
|
|
@@ -5975,6 +6308,10 @@ type UpdateAlertData = {
|
|
|
5975
6308
|
* Only these keywords.
|
|
5976
6309
|
*/
|
|
5977
6310
|
keywordIds?: Array<string>;
|
|
6311
|
+
/**
|
|
6312
|
+
* Only keywords in these groups (grp_...): one rule per customer, say.
|
|
6313
|
+
*/
|
|
6314
|
+
groupIds?: Array<string>;
|
|
5978
6315
|
/**
|
|
5979
6316
|
* Only posts from these platforms.
|
|
5980
6317
|
*/
|
|
@@ -6101,6 +6438,10 @@ type ListAlertsResponses = {
|
|
|
6101
6438
|
* Only these keywords.
|
|
6102
6439
|
*/
|
|
6103
6440
|
keywordIds?: Array<string>;
|
|
6441
|
+
/**
|
|
6442
|
+
* Only keywords in these groups (grp_...): one rule per customer, say.
|
|
6443
|
+
*/
|
|
6444
|
+
groupIds?: Array<string>;
|
|
6104
6445
|
/**
|
|
6105
6446
|
* Only posts from these platforms.
|
|
6106
6447
|
*/
|
|
@@ -6206,6 +6547,10 @@ type CreateAlertData = {
|
|
|
6206
6547
|
* Only these keywords.
|
|
6207
6548
|
*/
|
|
6208
6549
|
keywordIds?: Array<string>;
|
|
6550
|
+
/**
|
|
6551
|
+
* Only keywords in these groups (grp_...): one rule per customer, say.
|
|
6552
|
+
*/
|
|
6553
|
+
groupIds?: Array<string>;
|
|
6209
6554
|
/**
|
|
6210
6555
|
* Only posts from these platforms.
|
|
6211
6556
|
*/
|
|
@@ -7158,6 +7503,34 @@ declare const getView: <ThrowOnError extends boolean = false>(options: Options<G
|
|
|
7158
7503
|
* Rename, describe or refilter a view. `filter` replaces the whole filter.
|
|
7159
7504
|
*/
|
|
7160
7505
|
declare const updateView: <ThrowOnError extends boolean = false>(options: Options<UpdateViewData, ThrowOnError>) => RequestResult<UpdateViewResponses, UpdateViewErrors, ThrowOnError>;
|
|
7506
|
+
/**
|
|
7507
|
+
* List groups
|
|
7508
|
+
*
|
|
7509
|
+
* The keyword groups of the workspace, the default group first, then oldest first. A group is how keywords are grouped (a customer, a campaign, a product): a term may be tracked once per group, every keyword belongs to one, and GET /v1/usage/breakdown?by=group says what each group cost. Pass `externalId` to find the group carrying your own id.
|
|
7510
|
+
*/
|
|
7511
|
+
declare const listGroups: <ThrowOnError extends boolean = false>(options?: Options<ListGroupsData, ThrowOnError>) => RequestResult<ListGroupsResponses, ListGroupsErrors, ThrowOnError>;
|
|
7512
|
+
/**
|
|
7513
|
+
* Create a group
|
|
7514
|
+
*
|
|
7515
|
+
* Create a keyword group. `name` is unique per workspace; `externalId` (optional, unique too) is your own id for it, a customer id say, so you can find it again without storing ours. Then pass the group id as `groupId` when creating a keyword.
|
|
7516
|
+
*/
|
|
7517
|
+
declare const createGroup: <ThrowOnError extends boolean = false>(options: Options<CreateGroupData, ThrowOnError>) => RequestResult<CreateGroupResponses, CreateGroupErrors, ThrowOnError>;
|
|
7518
|
+
/**
|
|
7519
|
+
* Delete a group and its keywords
|
|
7520
|
+
*
|
|
7521
|
+
* Deletes the group and EVERY keyword in it, each the way DELETE /v1/keywords/{id} does (its mentions go with it, alert rules that named it are adjusted; charges already made stay on the usage record). Read the group first: `stats.keywords` says how many go. The default group cannot be deleted: move or delete its keywords instead.
|
|
7522
|
+
*/
|
|
7523
|
+
declare const deleteGroup: <ThrowOnError extends boolean = false>(options: Options<DeleteGroupData, ThrowOnError>) => RequestResult<DeleteGroupResponses, DeleteGroupErrors, ThrowOnError>;
|
|
7524
|
+
/**
|
|
7525
|
+
* Get a group
|
|
7526
|
+
*/
|
|
7527
|
+
declare const getGroup: <ThrowOnError extends boolean = false>(options: Options<GetGroupData, ThrowOnError>) => RequestResult<GetGroupResponses, GetGroupErrors, ThrowOnError>;
|
|
7528
|
+
/**
|
|
7529
|
+
* Update a group
|
|
7530
|
+
*
|
|
7531
|
+
* Rename a group or change your id for it (`externalId`, null clears). The default group can be renamed like any other.
|
|
7532
|
+
*/
|
|
7533
|
+
declare const updateGroup: <ThrowOnError extends boolean = false>(options: Options<UpdateGroupData, ThrowOnError>) => RequestResult<UpdateGroupResponses, UpdateGroupErrors, ThrowOnError>;
|
|
7161
7534
|
/**
|
|
7162
7535
|
* Get the company profile
|
|
7163
7536
|
*
|
|
@@ -7367,6 +7740,7 @@ type sdk_Options<TData extends TDataShape = TDataShape, ThrowOnError extends boo
|
|
|
7367
7740
|
declare const sdk_createAlert: typeof createAlert;
|
|
7368
7741
|
declare const sdk_createApiKey: typeof createApiKey;
|
|
7369
7742
|
declare const sdk_createChannel: typeof createChannel;
|
|
7743
|
+
declare const sdk_createGroup: typeof createGroup;
|
|
7370
7744
|
declare const sdk_createInvitation: typeof createInvitation;
|
|
7371
7745
|
declare const sdk_createKeyword: typeof createKeyword;
|
|
7372
7746
|
declare const sdk_createSegment: typeof createSegment;
|
|
@@ -7374,6 +7748,7 @@ declare const sdk_createTopUp: typeof createTopUp;
|
|
|
7374
7748
|
declare const sdk_createView: typeof createView;
|
|
7375
7749
|
declare const sdk_deleteAlert: typeof deleteAlert;
|
|
7376
7750
|
declare const sdk_deleteChannel: typeof deleteChannel;
|
|
7751
|
+
declare const sdk_deleteGroup: typeof deleteGroup;
|
|
7377
7752
|
declare const sdk_deleteKeyword: typeof deleteKeyword;
|
|
7378
7753
|
declare const sdk_deletePersonActivity: typeof deletePersonActivity;
|
|
7379
7754
|
declare const sdk_deleteSegment: typeof deleteSegment;
|
|
@@ -7387,6 +7762,7 @@ declare const sdk_getAnalyticsSummary: typeof getAnalyticsSummary;
|
|
|
7387
7762
|
declare const sdk_getChannel: typeof getChannel;
|
|
7388
7763
|
declare const sdk_getCompany: typeof getCompany;
|
|
7389
7764
|
declare const sdk_getFilters: typeof getFilters;
|
|
7765
|
+
declare const sdk_getGroup: typeof getGroup;
|
|
7390
7766
|
declare const sdk_getHealth: typeof getHealth;
|
|
7391
7767
|
declare const sdk_getInvoiceUrl: typeof getInvoiceUrl;
|
|
7392
7768
|
declare const sdk_getKeyword: typeof getKeyword;
|
|
@@ -7402,6 +7778,7 @@ declare const sdk_listAlerts: typeof listAlerts;
|
|
|
7402
7778
|
declare const sdk_listApiKeys: typeof listApiKeys;
|
|
7403
7779
|
declare const sdk_listChannelDeliveries: typeof listChannelDeliveries;
|
|
7404
7780
|
declare const sdk_listChannels: typeof listChannels;
|
|
7781
|
+
declare const sdk_listGroups: typeof listGroups;
|
|
7405
7782
|
declare const sdk_listInvitations: typeof listInvitations;
|
|
7406
7783
|
declare const sdk_listInvoices: typeof listInvoices;
|
|
7407
7784
|
declare const sdk_listKeywords: typeof listKeywords;
|
|
@@ -7428,6 +7805,7 @@ declare const sdk_updateAlert: typeof updateAlert;
|
|
|
7428
7805
|
declare const sdk_updateChannel: typeof updateChannel;
|
|
7429
7806
|
declare const sdk_updateCompany: typeof updateCompany;
|
|
7430
7807
|
declare const sdk_updateFilters: typeof updateFilters;
|
|
7808
|
+
declare const sdk_updateGroup: typeof updateGroup;
|
|
7431
7809
|
declare const sdk_updateKeyword: typeof updateKeyword;
|
|
7432
7810
|
declare const sdk_updateMention: typeof updateMention;
|
|
7433
7811
|
declare const sdk_updatePerson: typeof updatePerson;
|
|
@@ -7435,7 +7813,7 @@ declare const sdk_updateSegment: typeof updateSegment;
|
|
|
7435
7813
|
declare const sdk_updateView: typeof updateView;
|
|
7436
7814
|
declare const sdk_whoami: typeof whoami;
|
|
7437
7815
|
declare namespace sdk {
|
|
7438
|
-
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_createTopUp as createTopUp, 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_getInvoiceUrl as getInvoiceUrl, 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_getUsageBreakdown as getUsageBreakdown, sdk_getView as getView, sdk_getWallet as getWallet, sdk_listAlerts as listAlerts, sdk_listApiKeys as listApiKeys, sdk_listChannelDeliveries as listChannelDeliveries, sdk_listChannels as listChannels, sdk_listInvitations as listInvitations, sdk_listInvoices as listInvoices, sdk_listKeywords as listKeywords, sdk_listLedger as listLedger, 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 };
|
|
7816
|
+
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_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_getGroup as getGroup, sdk_getHealth as getHealth, sdk_getInvoiceUrl as getInvoiceUrl, 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_getUsageBreakdown as getUsageBreakdown, sdk_getView as getView, sdk_getWallet as getWallet, sdk_listAlerts as listAlerts, sdk_listApiKeys as listApiKeys, 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_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 };
|
|
7439
7817
|
}
|
|
7440
7818
|
|
|
7441
7819
|
/**
|
|
@@ -7463,4 +7841,4 @@ type Mentio = typeof sdk & {
|
|
|
7463
7841
|
};
|
|
7464
7842
|
declare function createMentio(options: MentioOptions): Mentio;
|
|
7465
7843
|
|
|
7466
|
-
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 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 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 GetInvoiceUrlData, type GetInvoiceUrlError, type GetInvoiceUrlErrors, type GetInvoiceUrlResponse, type GetInvoiceUrlResponses, 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 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 Invitation, type InvoiceList, type Keyword, type LedgerList, 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 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 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 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, createInvitation, createKeyword, createMentio, createSegment, createTopUp, createView, deleteAlert, deleteChannel, deleteKeyword, deletePersonActivity, deleteSegment, deleteView, exportMentionsCsv, exportPeopleCsv, getAlert, getAnalyticsBreakdown, getAnalyticsSeries, getAnalyticsSummary, getChannel, getCompany, getFilters, getHealth, getInvoiceUrl, getKeyword, getMention, getPerson, getSegment, getShareOfVoice, getUsage, getUsageBreakdown, getView, getWallet, listAlerts, listApiKeys, listChannelDeliveries, listChannels, listInvitations, listInvoices, listKeywords, listLedger, 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 };
|
|
7844
|
+
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 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 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 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 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 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 LedgerList, 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 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 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 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, exportMentionsCsv, exportPeopleCsv, getAlert, getAnalyticsBreakdown, getAnalyticsSeries, getAnalyticsSummary, getChannel, getCompany, getFilters, getGroup, getHealth, getInvoiceUrl, getKeyword, getMention, getPerson, getSegment, getShareOfVoice, getUsage, getUsageBreakdown, getView, getWallet, listAlerts, listApiKeys, listChannelDeliveries, listChannels, listGroups, listInvitations, listInvoices, listKeywords, listLedger, listMembers, 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 };
|