@mentio-dev/sdk 0.11.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -569,7 +569,7 @@ type ErrorResponse = {
569
569
  /**
570
570
  * 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.
571
571
  */
572
- 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' | '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';
572
+ 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';
573
573
  /**
574
574
  * Human-readable detail; may change between releases.
575
575
  */
@@ -1828,6 +1828,293 @@ type View = {
1828
1828
  */
1829
1829
  updatedAt: string;
1830
1830
  };
1831
+ type MentionSpikeEventData = {
1832
+ /**
1833
+ * The attention item (att_...): GET /v1/attention lists it, POST /v1/attention/{id}/dismiss puts it away.
1834
+ */
1835
+ attentionId: string;
1836
+ /**
1837
+ * Where to look in the dashboard.
1838
+ */
1839
+ url: string;
1840
+ /**
1841
+ * The keyword the item is about.
1842
+ */
1843
+ keyword: {
1844
+ /**
1845
+ * Keyword id (kw_...).
1846
+ */
1847
+ id: string;
1848
+ /**
1849
+ * The tracked term.
1850
+ */
1851
+ term: string;
1852
+ /**
1853
+ * brand, competitor or topic.
1854
+ */
1855
+ kind: 'brand' | 'competitor' | 'topic';
1856
+ /**
1857
+ * The keyword as Mentio names it: the term, or "term (Group)" outside the default group.
1858
+ */
1859
+ name: string;
1860
+ /**
1861
+ * Its group (grp_...).
1862
+ */
1863
+ groupId: string;
1864
+ };
1865
+ /**
1866
+ * The stretch of time the counts cover, by match time.
1867
+ */
1868
+ window: {
1869
+ /**
1870
+ * Start, inclusive.
1871
+ */
1872
+ from: string;
1873
+ /**
1874
+ * End, exclusive.
1875
+ */
1876
+ to: string;
1877
+ };
1878
+ /**
1879
+ * Fresh matches in the hour: posts published at most 6 hours before they matched. Look-backs and free reviews never count.
1880
+ */
1881
+ matches: number;
1882
+ /**
1883
+ * Of those, scored relevant so far.
1884
+ */
1885
+ relevant: number;
1886
+ /**
1887
+ * What the keyword usually gets.
1888
+ */
1889
+ baseline: {
1890
+ /**
1891
+ * Fresh matches per hour over the baseline.
1892
+ */
1893
+ meanPerHour: number;
1894
+ /**
1895
+ * Their standard deviation.
1896
+ */
1897
+ stddevPerHour: number;
1898
+ /**
1899
+ * Hours in the baseline: the week before the window, or since the keyword started listening.
1900
+ */
1901
+ hours: number;
1902
+ };
1903
+ };
1904
+ type NegativeSpikeEventData = {
1905
+ /**
1906
+ * The attention item (att_...): GET /v1/attention lists it, POST /v1/attention/{id}/dismiss puts it away.
1907
+ */
1908
+ attentionId: string;
1909
+ /**
1910
+ * Where to look in the dashboard.
1911
+ */
1912
+ url: string;
1913
+ /**
1914
+ * The keyword the item is about.
1915
+ */
1916
+ keyword: {
1917
+ /**
1918
+ * Keyword id (kw_...).
1919
+ */
1920
+ id: string;
1921
+ /**
1922
+ * The tracked term.
1923
+ */
1924
+ term: string;
1925
+ /**
1926
+ * brand, competitor or topic.
1927
+ */
1928
+ kind: 'brand' | 'competitor' | 'topic';
1929
+ /**
1930
+ * The keyword as Mentio names it: the term, or "term (Group)" outside the default group.
1931
+ */
1932
+ name: string;
1933
+ /**
1934
+ * Its group (grp_...).
1935
+ */
1936
+ groupId: string;
1937
+ };
1938
+ /**
1939
+ * The stretch of time the counts cover, by match time.
1940
+ */
1941
+ window: {
1942
+ /**
1943
+ * Start, inclusive.
1944
+ */
1945
+ from: string;
1946
+ /**
1947
+ * End, exclusive.
1948
+ */
1949
+ to: string;
1950
+ };
1951
+ /**
1952
+ * Relevant matches scored negative in the window.
1953
+ */
1954
+ negative: number;
1955
+ /**
1956
+ * Relevant matches in the window.
1957
+ */
1958
+ relevant: number;
1959
+ /**
1960
+ * negative / relevant.
1961
+ */
1962
+ share: number;
1963
+ /**
1964
+ * What the keyword usually reads.
1965
+ */
1966
+ baseline: {
1967
+ /**
1968
+ * Negative relevant matches in the 7 days before the window.
1969
+ */
1970
+ negative: number;
1971
+ /**
1972
+ * Relevant matches in those 7 days.
1973
+ */
1974
+ relevant: number;
1975
+ /**
1976
+ * The usual negative share, smoothed so a quiet week still has one.
1977
+ */
1978
+ share: number;
1979
+ };
1980
+ };
1981
+ type KeywordNoisyEventData = {
1982
+ /**
1983
+ * The attention item (att_...): GET /v1/attention lists it, POST /v1/attention/{id}/dismiss puts it away.
1984
+ */
1985
+ attentionId: string;
1986
+ /**
1987
+ * Where to look in the dashboard.
1988
+ */
1989
+ url: string;
1990
+ /**
1991
+ * The keyword the item is about.
1992
+ */
1993
+ keyword: {
1994
+ /**
1995
+ * Keyword id (kw_...).
1996
+ */
1997
+ id: string;
1998
+ /**
1999
+ * The tracked term.
2000
+ */
2001
+ term: string;
2002
+ /**
2003
+ * brand, competitor or topic.
2004
+ */
2005
+ kind: 'brand' | 'competitor' | 'topic';
2006
+ /**
2007
+ * The keyword as Mentio names it: the term, or "term (Group)" outside the default group.
2008
+ */
2009
+ name: string;
2010
+ /**
2011
+ * Its group (grp_...).
2012
+ */
2013
+ groupId: string;
2014
+ };
2015
+ /**
2016
+ * The window the noise is measured over, in days (since the keyword's last change when that is inside it).
2017
+ */
2018
+ windowDays: number;
2019
+ /**
2020
+ * Matches the classifier scored in that window.
2021
+ */
2022
+ scored: number;
2023
+ /**
2024
+ * Of those, relevant.
2025
+ */
2026
+ relevant: number;
2027
+ /**
2028
+ * The share scored under the relevance line. Every match bills, relevant or not.
2029
+ */
2030
+ noiseShare: number;
2031
+ };
2032
+ type ChannelFailingEventData = {
2033
+ /**
2034
+ * The attention item (att_...): GET /v1/attention lists it, POST /v1/attention/{id}/dismiss puts it away.
2035
+ */
2036
+ attentionId: string;
2037
+ /**
2038
+ * Where to look in the dashboard.
2039
+ */
2040
+ url: string;
2041
+ /**
2042
+ * The channel whose sends fail.
2043
+ */
2044
+ channel: {
2045
+ /**
2046
+ * Channel id (dest_...).
2047
+ */
2048
+ id: string;
2049
+ /**
2050
+ * slack, email, webhook or telegram.
2051
+ */
2052
+ kind: 'slack' | 'email' | 'webhook' | 'telegram';
2053
+ /**
2054
+ * The channel's label.
2055
+ */
2056
+ label: string;
2057
+ };
2058
+ /**
2059
+ * Failed sends in a row within the last 24 hours.
2060
+ */
2061
+ failures: number;
2062
+ /**
2063
+ * The newest failure, as the transport reported it.
2064
+ */
2065
+ lastError: string | null;
2066
+ /**
2067
+ * The oldest of those failures.
2068
+ */
2069
+ since: string;
2070
+ };
2071
+ type AttentionItem = {
2072
+ /**
2073
+ * Attention item id (att_...).
2074
+ */
2075
+ id: string;
2076
+ /**
2077
+ * 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.
2078
+ */
2079
+ kind: 'mention.spike' | 'sentiment.negative_spike' | 'keyword.noisy' | 'channel.failing';
2080
+ /**
2081
+ * open: the condition holds. resolved: it no longer does. dismissed: a person put it away; it does not come back for the same episode.
2082
+ */
2083
+ status: 'open' | 'resolved' | 'dismissed';
2084
+ /**
2085
+ * What the item is about.
2086
+ */
2087
+ subject: {
2088
+ /**
2089
+ * keyword or channel.
2090
+ */
2091
+ type: 'keyword' | 'channel';
2092
+ /**
2093
+ * The keyword (kw_...) or the channel (dest_...).
2094
+ */
2095
+ id: string;
2096
+ };
2097
+ /**
2098
+ * One line for a person: what happened.
2099
+ */
2100
+ title: string;
2101
+ /**
2102
+ * When the condition was first seen.
2103
+ */
2104
+ openedAt: string;
2105
+ /**
2106
+ * When it no longer held; null while it does.
2107
+ */
2108
+ resolvedAt: string | null;
2109
+ /**
2110
+ * When a person dismissed it; null if nobody did.
2111
+ */
2112
+ dismissedAt: string | null;
2113
+ /**
2114
+ * The facts as they stood when it opened: the same object the account event of the same name carries as `data`.
2115
+ */
2116
+ data: MentionSpikeEventData | NegativeSpikeEventData | KeywordNoisyEventData | ChannelFailingEventData;
2117
+ };
1831
2118
  /**
1832
2119
  * The group the keyword belongs to.
1833
2120
  */
@@ -2435,9 +2722,9 @@ type Alert = {
2435
2722
  name: string;
2436
2723
  enabled: boolean;
2437
2724
  /**
2438
- * instant: each matching mention as it happens. daily: one digest at the scheduled local time. weekly: one digest a week, on schedule.weekday.
2725
+ * instant: each matching mention as it happens. hourly: one digest each UTC hour (five minutes past, so the last mentions of the hour are scored) covering the previous full hour, nothing when that hour has no mention at or over the rule's relevance floor; Slack, Telegram and webhook channels only. daily: one digest at the scheduled local time. weekly: one digest a week, on schedule.weekday.
2439
2726
  */
2440
- mode: 'instant' | 'daily' | 'weekly';
2727
+ mode: 'instant' | 'hourly' | 'daily' | 'weekly';
2441
2728
  filter: {
2442
2729
  /**
2443
2730
  * Only these keywords.
@@ -2529,7 +2816,7 @@ type Alert = {
2529
2816
  anyOf?: Array<FilterGroup>;
2530
2817
  };
2531
2818
  /**
2532
- * Daily and weekly alerts only.
2819
+ * Daily and weekly alerts only; null for instant and hourly ones.
2533
2820
  */
2534
2821
  schedule: {
2535
2822
  hour: number;
@@ -2566,7 +2853,7 @@ type Alert = {
2566
2853
  */
2567
2854
  lastSentAt: string | null;
2568
2855
  /**
2569
- * Daily and weekly alerts: the next digest; null when disabled or instant.
2856
+ * Hourly, daily and weekly alerts: the next digest; null when disabled or instant.
2570
2857
  */
2571
2858
  nextRunAt: string | null;
2572
2859
  };
@@ -3357,6 +3644,10 @@ type SlackChannel = {
3357
3644
  * Slack channel name, without the #.
3358
3645
  */
3359
3646
  channelName: string;
3647
+ /**
3648
+ * 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.
3649
+ */
3650
+ events: Array<'mention.spike' | 'sentiment.negative_spike' | 'keyword.noisy' | 'channel.failing'>;
3360
3651
  };
3361
3652
  };
3362
3653
  type EmailChannel = {
@@ -3405,6 +3696,10 @@ type EmailChannel = {
3405
3696
  */
3406
3697
  confirmedAt: string | null;
3407
3698
  }>;
3699
+ /**
3700
+ * 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.
3701
+ */
3702
+ events: Array<'mention.spike' | 'sentiment.negative_spike' | 'keyword.noisy' | 'channel.failing'>;
3408
3703
  };
3409
3704
  };
3410
3705
  type WebhookChannel = {
@@ -3454,9 +3749,9 @@ type WebhookChannel = {
3454
3749
  [key: string]: string;
3455
3750
  };
3456
3751
  /**
3457
- * The account events this endpoint receives on its own, no rule involved: keyword and wallet state changes. Empty when it receives none; mention and digest deliveries come through rules as before.
3752
+ * 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.
3458
3753
  */
3459
- events: Array<'keyword.capped' | 'keyword.paused_for_balance' | 'keyword.resumed' | 'wallet.low' | 'wallet.paused' | 'wallet.resumed'>;
3754
+ 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'>;
3460
3755
  /**
3461
3756
  * 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.
3462
3757
  */
@@ -3504,6 +3799,10 @@ type TelegramChannel = {
3504
3799
  */
3505
3800
  chatId: string;
3506
3801
  chatType: 'private' | 'group' | 'supergroup' | 'channel';
3802
+ /**
3803
+ * 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.
3804
+ */
3805
+ events: Array<'mention.spike' | 'sentiment.negative_spike' | 'keyword.noisy' | 'channel.failing'>;
3507
3806
  };
3508
3807
  };
3509
3808
  type Channel = ({
@@ -3525,6 +3824,10 @@ type CreateSlackChannel = {
3525
3824
  * The channel name, for the label.
3526
3825
  */
3527
3826
  channelName: string;
3827
+ /**
3828
+ * Attention events to receive here, on top of whatever rules send. Omit for none.
3829
+ */
3830
+ events?: Array<'mention.spike' | 'sentiment.negative_spike' | 'keyword.noisy' | 'channel.failing'>;
3528
3831
  };
3529
3832
  type CreateEmailChannel = {
3530
3833
  kind: 'email';
@@ -3532,6 +3835,10 @@ type CreateEmailChannel = {
3532
3835
  * Each address gets a confirmation link; workspace members are confirmed on sight.
3533
3836
  */
3534
3837
  emails: Array<string>;
3838
+ /**
3839
+ * Attention events to receive here, on top of whatever rules send. Omit for none.
3840
+ */
3841
+ events?: Array<'mention.spike' | 'sentiment.negative_spike' | 'keyword.noisy' | 'channel.failing'>;
3535
3842
  };
3536
3843
  type CreateWebhookChannel = {
3537
3844
  kind: 'webhook';
@@ -3550,9 +3857,9 @@ type CreateWebhookChannel = {
3550
3857
  [key: string]: string;
3551
3858
  };
3552
3859
  /**
3553
- * Account events to receive at this endpoint (keyword and wallet state changes), on top of whatever rules send here. Omit for none.
3860
+ * Account events to receive at this endpoint (keyword and wallet state changes, attention events), on top of whatever rules send here. Omit for none.
3554
3861
  */
3555
- events?: Array<'keyword.capped' | 'keyword.paused_for_balance' | 'keyword.resumed' | 'wallet.low' | 'wallet.paused' | 'wallet.resumed'>;
3862
+ 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'>;
3556
3863
  };
3557
3864
  type GetHealthData = {
3558
3865
  body?: never;
@@ -6799,6 +7106,82 @@ type UpdateViewResponses = {
6799
7106
  200: View;
6800
7107
  };
6801
7108
  type UpdateViewResponse = UpdateViewResponses[keyof UpdateViewResponses];
7109
+ type ListAttentionData = {
7110
+ body?: never;
7111
+ path?: never;
7112
+ query?: {
7113
+ /**
7114
+ * open (default), resolved, dismissed, or all.
7115
+ */
7116
+ status?: 'open' | 'resolved' | 'dismissed' | 'all';
7117
+ /**
7118
+ * Only these kinds, comma separated: mention.spike, sentiment.negative_spike, keyword.noisy, channel.failing.
7119
+ */
7120
+ kind?: string;
7121
+ /**
7122
+ * Items per page, newest first; 50 by default, at most 100.
7123
+ */
7124
+ limit?: number;
7125
+ /**
7126
+ * nextCursor from the previous page.
7127
+ */
7128
+ cursor?: string;
7129
+ };
7130
+ url: '/v1/attention';
7131
+ };
7132
+ type ListAttentionErrors = {
7133
+ /**
7134
+ * Unknown kind, or a cursor this list did not hand out
7135
+ */
7136
+ 400: ErrorResponse;
7137
+ /**
7138
+ * Missing or invalid API key
7139
+ */
7140
+ 401: ErrorResponse;
7141
+ };
7142
+ type ListAttentionError = ListAttentionErrors[keyof ListAttentionErrors];
7143
+ type ListAttentionResponses = {
7144
+ /**
7145
+ * Attention items
7146
+ */
7147
+ 200: {
7148
+ data: Array<AttentionItem>;
7149
+ /**
7150
+ * Pass as cursor for the next page; null on the last one.
7151
+ */
7152
+ nextCursor: string | null;
7153
+ };
7154
+ };
7155
+ type ListAttentionResponse = ListAttentionResponses[keyof ListAttentionResponses];
7156
+ type DismissAttentionData = {
7157
+ body?: never;
7158
+ path: {
7159
+ /**
7160
+ * Attention item id (att_...).
7161
+ */
7162
+ id: string;
7163
+ };
7164
+ query?: never;
7165
+ url: '/v1/attention/{id}/dismiss';
7166
+ };
7167
+ type DismissAttentionErrors = {
7168
+ /**
7169
+ * Missing or invalid API key
7170
+ */
7171
+ 401: ErrorResponse;
7172
+ /**
7173
+ * No such attention item in this workspace
7174
+ */
7175
+ 404: ErrorResponse;
7176
+ };
7177
+ type DismissAttentionError = DismissAttentionErrors[keyof DismissAttentionErrors];
7178
+ type DismissAttentionResponses = {
7179
+ /**
7180
+ * The dismissed item
7181
+ */
7182
+ 200: AttentionItem;
7183
+ };
7184
+ type DismissAttentionResponse = DismissAttentionResponses[keyof DismissAttentionResponses];
6802
7185
  type ListGroupsData = {
6803
7186
  body?: never;
6804
7187
  path?: never;
@@ -7699,7 +8082,7 @@ type UpdateAlertData = {
7699
8082
  body: {
7700
8083
  name?: string;
7701
8084
  enabled?: boolean;
7702
- mode?: 'instant' | 'daily' | 'weekly';
8085
+ mode?: 'instant' | 'hourly' | 'daily' | 'weekly';
7703
8086
  /**
7704
8087
  * Replaces the whole filter.
7705
8088
  */
@@ -7793,6 +8176,9 @@ type UpdateAlertData = {
7793
8176
  */
7794
8177
  anyOf?: Array<FilterGroup>;
7795
8178
  };
8179
+ /**
8180
+ * Daily and weekly alerts. Ignored on an hourly one, except a weekday, which is refused.
8181
+ */
7796
8182
  schedule?: {
7797
8183
  hour: number;
7798
8184
  minute?: number;
@@ -7820,7 +8206,7 @@ type UpdateAlertData = {
7820
8206
  };
7821
8207
  type UpdateAlertErrors = {
7822
8208
  /**
7823
- * A daily or weekly rule without a schedule (or a weekly one without a weekday), or an unknown channel
8209
+ * A daily or weekly rule without a schedule (or a weekly one without a weekday), an hourly one with a weekday or an email channel (hourly_email_unsupported), or an unknown channel
7824
8210
  */
7825
8211
  400: ErrorResponse;
7826
8212
  /**
@@ -7866,9 +8252,9 @@ type ListAlertsResponses = {
7866
8252
  name: string;
7867
8253
  enabled: boolean;
7868
8254
  /**
7869
- * instant: each matching mention as it happens. daily: one digest at the scheduled local time. weekly: one digest a week, on schedule.weekday.
8255
+ * instant: each matching mention as it happens. hourly: one digest each UTC hour (five minutes past, so the last mentions of the hour are scored) covering the previous full hour, nothing when that hour has no mention at or over the rule's relevance floor; Slack, Telegram and webhook channels only. daily: one digest at the scheduled local time. weekly: one digest a week, on schedule.weekday.
7870
8256
  */
7871
- mode: 'instant' | 'daily' | 'weekly';
8257
+ mode: 'instant' | 'hourly' | 'daily' | 'weekly';
7872
8258
  filter: {
7873
8259
  /**
7874
8260
  * Only these keywords.
@@ -7960,7 +8346,7 @@ type ListAlertsResponses = {
7960
8346
  anyOf?: Array<FilterGroup>;
7961
8347
  };
7962
8348
  /**
7963
- * Daily and weekly alerts only.
8349
+ * Daily and weekly alerts only; null for instant and hourly ones.
7964
8350
  */
7965
8351
  schedule: {
7966
8352
  hour: number;
@@ -7997,7 +8383,7 @@ type ListAlertsResponses = {
7997
8383
  */
7998
8384
  lastSentAt: string | null;
7999
8385
  /**
8000
- * Daily and weekly alerts: the next digest; null when disabled or instant.
8386
+ * Hourly, daily and weekly alerts: the next digest; null when disabled or instant.
8001
8387
  */
8002
8388
  nextRunAt: string | null;
8003
8389
  };
@@ -8013,7 +8399,7 @@ type CreateAlertData = {
8013
8399
  body: {
8014
8400
  name: string;
8015
8401
  enabled?: boolean;
8016
- mode?: 'instant' | 'daily' | 'weekly';
8402
+ mode?: 'instant' | 'hourly' | 'daily' | 'weekly';
8017
8403
  filter?: {
8018
8404
  /**
8019
8405
  * Only these keywords.
@@ -8105,7 +8491,7 @@ type CreateAlertData = {
8105
8491
  anyOf?: Array<FilterGroup>;
8106
8492
  };
8107
8493
  /**
8108
- * Required for daily and weekly alerts (weekly ones also need schedule.weekday).
8494
+ * Required for daily and weekly alerts (weekly ones also need schedule.weekday). Hourly alerts take none: they send every UTC hour, so a time of day and a zone are ignored and a weekday is refused.
8109
8495
  */
8110
8496
  schedule?: {
8111
8497
  hour: number;
@@ -8132,7 +8518,7 @@ type CreateAlertData = {
8132
8518
  };
8133
8519
  type CreateAlertErrors = {
8134
8520
  /**
8135
- * A daily or weekly rule without a schedule (or a weekly one without a weekday), an unknown channel, or anyOf groups binding more values than one query can carry (filter_too_complex)
8521
+ * A daily or weekly rule without a schedule (or a weekly one without a weekday), an hourly one with a weekday or an email channel (hourly_email_unsupported), an unknown channel, or anyOf groups binding more values than one query can carry (filter_too_complex)
8136
8522
  */
8137
8523
  400: ErrorResponse;
8138
8524
  /**
@@ -8196,7 +8582,7 @@ type RunAlertDigestData = {
8196
8582
  };
8197
8583
  type RunAlertDigestErrors = {
8198
8584
  /**
8199
- * Only daily and weekly rules have a digest
8585
+ * Only hourly, daily and weekly rules have a digest
8200
8586
  */
8201
8587
  400: ErrorResponse;
8202
8588
  /**
@@ -8211,13 +8597,13 @@ type RunAlertDigestErrors = {
8211
8597
  type RunAlertDigestError = RunAlertDigestErrors[keyof RunAlertDigestErrors];
8212
8598
  type RunAlertDigestResponses = {
8213
8599
  /**
8214
- * The digest for the rule's own period (the last day, or the last week) was sent now (the scheduled one still runs)
8600
+ * The digest for the rule's own period (the last hour, day or week) was sent now (the scheduled one still runs)
8215
8601
  */
8216
8602
  200: {
8217
8603
  /**
8218
- * Why nothing was sent, if nothing was.
8604
+ * Why nothing was sent, if nothing was: the period already went out, the window had nothing to show, (hourly rules) the hour's retry window closed before it could send, or another run of the same period is sending it right now.
8219
8605
  */
8220
- skipped: 'already_sent' | 'empty';
8606
+ skipped: 'already_sent' | 'empty' | 'expired' | 'in_flight';
8221
8607
  matched: number;
8222
8608
  relevant: number;
8223
8609
  outcomes: Array<{
@@ -8662,9 +9048,9 @@ type UpdateChannelData = {
8662
9048
  [key: string]: string;
8663
9049
  };
8664
9050
  /**
8665
- * Webhooks only; replaces the whole set of account events the endpoint receives. An empty list unsubscribes it from all of them.
9051
+ * 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.
8666
9052
  */
8667
- events?: Array<'keyword.capped' | 'keyword.paused_for_balance' | 'keyword.resumed' | 'wallet.low' | 'wallet.paused' | 'wallet.resumed'>;
9053
+ 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'>;
8668
9054
  };
8669
9055
  path: {
8670
9056
  /**
@@ -8676,6 +9062,10 @@ type UpdateChannelData = {
8676
9062
  url: '/v1/channels/{id}';
8677
9063
  };
8678
9064
  type UpdateChannelErrors = {
9065
+ /**
9066
+ * An event this kind of channel cannot receive: Slack, email and Telegram take the attention events only
9067
+ */
9068
+ 400: ErrorResponse;
8679
9069
  /**
8680
9070
  * Missing or invalid API key
8681
9071
  */
@@ -8866,6 +9256,10 @@ type CreateChannelData = {
8866
9256
  url: '/v1/channels';
8867
9257
  };
8868
9258
  type CreateChannelErrors = {
9259
+ /**
9260
+ * An event this kind of channel cannot receive: Slack, email and Telegram take the attention events only
9261
+ */
9262
+ 400: ErrorResponse;
8869
9263
  /**
8870
9264
  * Missing or invalid API key
8871
9265
  */
@@ -9080,6 +9474,18 @@ declare const getView: <ThrowOnError extends boolean = false>(options: Options<G
9080
9474
  * Rename, describe or refilter a view. `filter` replaces the whole filter.
9081
9475
  */
9082
9476
  declare const updateView: <ThrowOnError extends boolean = false>(options: Options<UpdateViewData, ThrowOnError>) => RequestResult<UpdateViewResponses, UpdateViewErrors, ThrowOnError>;
9477
+ /**
9478
+ * List attention items
9479
+ *
9480
+ * What needs a person, newest first: a keyword whose mentions spiked in the last hour (mention.spike), whose negative share of the last 24 hours jumped (sentiment.negative_spike), that turned noisy (keyword.noisy), or a channel whose last sends all failed (channel.failing). Detected once an hour; an item opens when its condition starts and resolves on its own when the condition is gone. Open items by default; `status=all` reads the history. Each opening is also an account event of the same name, which webhook, Slack, email and Telegram channels can subscribe to.
9481
+ */
9482
+ declare const listAttention: <ThrowOnError extends boolean = false>(options?: Options<ListAttentionData, ThrowOnError>) => RequestResult<ListAttentionResponses, ListAttentionErrors, ThrowOnError>;
9483
+ /**
9484
+ * Dismiss an attention item
9485
+ *
9486
+ * Put an item away. It leaves the open list and does not come back while its condition lasts; once the condition clears, a new episode may open a new item. Idempotent.
9487
+ */
9488
+ declare const dismissAttention: <ThrowOnError extends boolean = false>(options: Options<DismissAttentionData, ThrowOnError>) => RequestResult<DismissAttentionResponses, DismissAttentionErrors, ThrowOnError>;
9083
9489
  /**
9084
9490
  * List groups
9085
9491
  *
@@ -9233,7 +9639,7 @@ declare const listAlerts: <ThrowOnError extends boolean = false>(options?: Optio
9233
9639
  /**
9234
9640
  * Create an alert
9235
9641
  *
9236
- * A rule (what to watch, the filter) times channels. mode instant sends each matching mention as it happens; daily sends one digest at schedule.hour in schedule.timezone; weekly sends one a week on schedule.weekday (0 Sunday to 6 Saturday). filter.anyOf adds OR: groups of conditions in the vocabulary of the mentions list, at least one of which must hold on top of the rest of the filter.
9642
+ * A rule (what to watch, the filter) times channels. mode instant sends each matching mention as it happens; hourly sends one digest every UTC hour (five minutes past) for the previous full hour, nothing when it had no mention over the rule's floor, to Slack, Telegram and webhook channels only (no schedule); daily sends one digest at schedule.hour in schedule.timezone; weekly sends one a week on schedule.weekday (0 Sunday to 6 Saturday). filter.anyOf adds OR: groups of conditions in the vocabulary of the mentions list, at least one of which must hold on top of the rest of the filter.
9237
9643
  */
9238
9644
  declare const createAlert: <ThrowOnError extends boolean = false>(options: Options<CreateAlertData, ThrowOnError>) => RequestResult<CreateAlertResponses, CreateAlertErrors, ThrowOnError>;
9239
9645
  /**
@@ -9336,6 +9742,7 @@ declare const sdk_deleteKeyword: typeof deleteKeyword;
9336
9742
  declare const sdk_deletePersonActivity: typeof deletePersonActivity;
9337
9743
  declare const sdk_deleteSegment: typeof deleteSegment;
9338
9744
  declare const sdk_deleteView: typeof deleteView;
9745
+ declare const sdk_dismissAttention: typeof dismissAttention;
9339
9746
  declare const sdk_exportMentionsCsv: typeof exportMentionsCsv;
9340
9747
  declare const sdk_exportMentionsJson: typeof exportMentionsJson;
9341
9748
  declare const sdk_exportPeopleCsv: typeof exportPeopleCsv;
@@ -9362,6 +9769,7 @@ declare const sdk_getView: typeof getView;
9362
9769
  declare const sdk_getWallet: typeof getWallet;
9363
9770
  declare const sdk_listAlerts: typeof listAlerts;
9364
9771
  declare const sdk_listApiKeys: typeof listApiKeys;
9772
+ declare const sdk_listAttention: typeof listAttention;
9365
9773
  declare const sdk_listChannelDeliveries: typeof listChannelDeliveries;
9366
9774
  declare const sdk_listChannels: typeof listChannels;
9367
9775
  declare const sdk_listGroups: typeof listGroups;
@@ -9399,7 +9807,7 @@ declare const sdk_updateSegment: typeof updateSegment;
9399
9807
  declare const sdk_updateView: typeof updateView;
9400
9808
  declare const sdk_whoami: typeof whoami;
9401
9809
  declare namespace sdk {
9402
- 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_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_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 };
9810
+ 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_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_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 };
9403
9811
  }
9404
9812
 
9405
9813
  /**
@@ -9427,4 +9835,4 @@ type Mentio = typeof sdk & {
9427
9835
  };
9428
9836
  declare function createMentio(options: MentioOptions): Mentio;
9429
9837
 
9430
- 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 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 KeywordHealth, 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 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 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, 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, 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 };
9838
+ 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 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 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 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 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, 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, 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 };