@mentio-dev/sdk 0.5.3 → 0.6.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 CHANGED
@@ -442,7 +442,7 @@ type ErrorResponse = {
442
442
  /**
443
443
  * Stable machine-readable code; branch on this, never on the message. Codes are additive: a client should treat one it does not know as a generic failure of the same status.
444
444
  */
445
- code: 'unauthorized' | 'forbidden' | 'read_only_key' | 'validation_error' | 'not_found' | 'invalid_cursor' | 'payload_too_large' | 'rate_limited' | 'duplicate_keyword' | 'insufficient_balance' | 'keyword_limit_reached' | 'billing_not_configured' | 'order_not_credited' | 'schedule_required' | 'unknown_channel' | 'not_a_digest' | 'slack_not_connected' | 'slack_not_configured' | 'telegram_not_configured' | 'email_not_configured' | 'invalid_assignee' | 'classification_pending' | 'invalid_member' | 'already_member' | 'last_owner' | 'duplicate_segment' | 'invalid_signature' | 'webhook_not_configured' | 'invalid_token' | 'protected_user' | 'upstream_unavailable' | 'internal_error';
445
+ code: 'unauthorized' | 'forbidden' | 'read_only_key' | 'validation_error' | 'not_found' | 'invalid_cursor' | 'payload_too_large' | 'rate_limited' | 'duplicate_keyword' | 'insufficient_balance' | 'keyword_limit_reached' | 'billing_not_configured' | 'order_not_credited' | 'schedule_required' | 'unknown_channel' | 'not_a_digest' | 'slack_not_connected' | 'slack_not_configured' | 'telegram_not_configured' | 'email_not_configured' | 'invalid_assignee' | 'classification_pending' | 'invalid_member' | 'already_member' | 'last_owner' | 'duplicate_segment' | 'duplicate_view' | 'invalid_signature' | 'webhook_not_configured' | 'invalid_token' | 'protected_user' | 'upstream_unavailable' | 'internal_error';
446
446
  /**
447
447
  * Human-readable detail; may change between releases.
448
448
  */
@@ -957,6 +957,124 @@ type Segment = {
957
957
  */
958
958
  updatedAt: string;
959
959
  };
960
+ type View = {
961
+ /**
962
+ * View id (vw_...).
963
+ */
964
+ id: string;
965
+ name: string;
966
+ description: string;
967
+ filter: {
968
+ /**
969
+ * Substring in the post text or the author's name.
970
+ */
971
+ q?: string;
972
+ /**
973
+ * Only matches of any of these keywords.
974
+ */
975
+ keywordIds?: Array<string>;
976
+ /**
977
+ * Never matches of these keywords.
978
+ */
979
+ notKeywordIds?: Array<string>;
980
+ /**
981
+ * Only matches of keywords of any of these kinds: brand, competitor, topic.
982
+ */
983
+ keywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
984
+ /**
985
+ * Only posts from any of these platforms.
986
+ */
987
+ platforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin'>;
988
+ /**
989
+ * Never posts from these platforms.
990
+ */
991
+ notPlatforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin'>;
992
+ /**
993
+ * Only mentions in this status: open, ignored, done.
994
+ */
995
+ status?: 'open' | 'ignored' | 'done';
996
+ /**
997
+ * true: only mentions the classifier scored relevant; false: only the rest.
998
+ */
999
+ relevant?: boolean;
1000
+ /**
1001
+ * Only mentions scored at least this.
1002
+ */
1003
+ minRelevance?: number;
1004
+ /**
1005
+ * Only mentions whose classifier confidence is at least this.
1006
+ */
1007
+ minConfidence?: number;
1008
+ /**
1009
+ * Only these sentiments.
1010
+ */
1011
+ sentiments?: Array<'positive' | 'neutral' | 'negative'>;
1012
+ /**
1013
+ * Never these sentiments; an unscored mention still passes.
1014
+ */
1015
+ notSentiments?: Array<'positive' | 'neutral' | 'negative'>;
1016
+ /**
1017
+ * Only mentions carrying any of these intent or topic tags.
1018
+ */
1019
+ intents?: Array<string>;
1020
+ /**
1021
+ * Never mentions carrying these tags.
1022
+ */
1023
+ notIntents?: Array<string>;
1024
+ /**
1025
+ * true: only posts that read as machine-made; false: only the rest.
1026
+ */
1027
+ automated?: boolean;
1028
+ /**
1029
+ * Only posts in any of these languages (ISO 639-1).
1030
+ */
1031
+ languages?: Array<string>;
1032
+ /**
1033
+ * Never posts in these languages; an unknown language still passes.
1034
+ */
1035
+ notLanguages?: Array<string>;
1036
+ /**
1037
+ * Only authors your workspace tagged with any of these.
1038
+ */
1039
+ tags?: Array<string>;
1040
+ /**
1041
+ * Never authors tagged with any of these.
1042
+ */
1043
+ notTags?: Array<string>;
1044
+ /**
1045
+ * Only posts linking to any of these hosts, the host itself or a subdomain of it.
1046
+ */
1047
+ linkHosts?: Array<string>;
1048
+ /**
1049
+ * Never posts linking to these hosts.
1050
+ */
1051
+ notLinkHosts?: Array<string>;
1052
+ /**
1053
+ * Only authors with at least this many followers; unknown reach never passes.
1054
+ */
1055
+ minFollowers?: number;
1056
+ /**
1057
+ * Only authors with at most this many followers; unknown reach never passes.
1058
+ */
1059
+ maxFollowers?: number;
1060
+ /**
1061
+ * true: only replies and comments; false: only top-level posts.
1062
+ */
1063
+ isReply?: boolean;
1064
+ /**
1065
+ * Never these authors: display names, handles or profile URLs.
1066
+ */
1067
+ excludeAuthors?: Array<string>;
1068
+ };
1069
+ /**
1070
+ * ISO 8601 timestamp, UTC.
1071
+ */
1072
+ createdAt: string;
1073
+ /**
1074
+ * ISO 8601 timestamp, UTC.
1075
+ */
1076
+ updatedAt: string;
1077
+ };
960
1078
  type Company = {
961
1079
  /**
962
1080
  * Brand or company name, as the classifier should call it.
@@ -2729,6 +2847,14 @@ type SearchMentionsData = {
2729
2847
  * Apply an alert rule's filter (an id from GET /v1/alerts) on top of the other filters: the same mentions the rule would send, for a feed-shaped export or a preview. Unknown ids are a 404.
2730
2848
  */
2731
2849
  alertId?: string;
2850
+ /**
2851
+ * Apply a saved view's filter (an id from GET /v1/views) on top of the other filters, every condition ANDed: exactly what the view selects. Unknown ids are a 404.
2852
+ */
2853
+ viewId?: string;
2854
+ /**
2855
+ * Only matches of keywords of any of these kinds: brand, competitor, topic. Repeatable, or comma-separated.
2856
+ */
2857
+ keywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
2732
2858
  /**
2733
2859
  * Only authors your workspace tagged with any of these (exact, case-sensitive). Repeatable, or comma-separated.
2734
2860
  */
@@ -2912,6 +3038,14 @@ type ExportMentionsCsvData = {
2912
3038
  * Apply an alert rule's filter (an id from GET /v1/alerts) on top of the other filters: the same mentions the rule would send, for a feed-shaped export or a preview. Unknown ids are a 404.
2913
3039
  */
2914
3040
  alertId?: string;
3041
+ /**
3042
+ * Apply a saved view's filter (an id from GET /v1/views) on top of the other filters, every condition ANDed: exactly what the view selects. Unknown ids are a 404.
3043
+ */
3044
+ viewId?: string;
3045
+ /**
3046
+ * Only matches of keywords of any of these kinds: brand, competitor, topic. Repeatable, or comma-separated.
3047
+ */
3048
+ keywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
2915
3049
  /**
2916
3050
  * Only authors your workspace tagged with any of these (exact, case-sensitive). Repeatable, or comma-separated.
2917
3051
  */
@@ -4185,6 +4319,485 @@ type UpdateSegmentResponses = {
4185
4319
  200: Segment;
4186
4320
  };
4187
4321
  type UpdateSegmentResponse = UpdateSegmentResponses[keyof UpdateSegmentResponses];
4322
+ type ListViewsData = {
4323
+ body?: never;
4324
+ path?: never;
4325
+ query?: never;
4326
+ url: '/v1/views';
4327
+ };
4328
+ type ListViewsErrors = {
4329
+ /**
4330
+ * Missing or invalid API key
4331
+ */
4332
+ 401: ErrorResponse;
4333
+ };
4334
+ type ListViewsError = ListViewsErrors[keyof ListViewsErrors];
4335
+ type ListViewsResponses = {
4336
+ /**
4337
+ * Saved views
4338
+ */
4339
+ 200: {
4340
+ /**
4341
+ * Saved views, oldest first.
4342
+ */
4343
+ data: Array<{
4344
+ /**
4345
+ * View id (vw_...).
4346
+ */
4347
+ id: string;
4348
+ name: string;
4349
+ description: string;
4350
+ filter: {
4351
+ /**
4352
+ * Substring in the post text or the author's name.
4353
+ */
4354
+ q?: string;
4355
+ /**
4356
+ * Only matches of any of these keywords.
4357
+ */
4358
+ keywordIds?: Array<string>;
4359
+ /**
4360
+ * Never matches of these keywords.
4361
+ */
4362
+ notKeywordIds?: Array<string>;
4363
+ /**
4364
+ * Only matches of keywords of any of these kinds: brand, competitor, topic.
4365
+ */
4366
+ keywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
4367
+ /**
4368
+ * Only posts from any of these platforms.
4369
+ */
4370
+ platforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin'>;
4371
+ /**
4372
+ * Never posts from these platforms.
4373
+ */
4374
+ notPlatforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin'>;
4375
+ /**
4376
+ * Only mentions in this status: open, ignored, done.
4377
+ */
4378
+ status?: 'open' | 'ignored' | 'done';
4379
+ /**
4380
+ * true: only mentions the classifier scored relevant; false: only the rest.
4381
+ */
4382
+ relevant?: boolean;
4383
+ /**
4384
+ * Only mentions scored at least this.
4385
+ */
4386
+ minRelevance?: number;
4387
+ /**
4388
+ * Only mentions whose classifier confidence is at least this.
4389
+ */
4390
+ minConfidence?: number;
4391
+ /**
4392
+ * Only these sentiments.
4393
+ */
4394
+ sentiments?: Array<'positive' | 'neutral' | 'negative'>;
4395
+ /**
4396
+ * Never these sentiments; an unscored mention still passes.
4397
+ */
4398
+ notSentiments?: Array<'positive' | 'neutral' | 'negative'>;
4399
+ /**
4400
+ * Only mentions carrying any of these intent or topic tags.
4401
+ */
4402
+ intents?: Array<string>;
4403
+ /**
4404
+ * Never mentions carrying these tags.
4405
+ */
4406
+ notIntents?: Array<string>;
4407
+ /**
4408
+ * true: only posts that read as machine-made; false: only the rest.
4409
+ */
4410
+ automated?: boolean;
4411
+ /**
4412
+ * Only posts in any of these languages (ISO 639-1).
4413
+ */
4414
+ languages?: Array<string>;
4415
+ /**
4416
+ * Never posts in these languages; an unknown language still passes.
4417
+ */
4418
+ notLanguages?: Array<string>;
4419
+ /**
4420
+ * Only authors your workspace tagged with any of these.
4421
+ */
4422
+ tags?: Array<string>;
4423
+ /**
4424
+ * Never authors tagged with any of these.
4425
+ */
4426
+ notTags?: Array<string>;
4427
+ /**
4428
+ * Only posts linking to any of these hosts, the host itself or a subdomain of it.
4429
+ */
4430
+ linkHosts?: Array<string>;
4431
+ /**
4432
+ * Never posts linking to these hosts.
4433
+ */
4434
+ notLinkHosts?: Array<string>;
4435
+ /**
4436
+ * Only authors with at least this many followers; unknown reach never passes.
4437
+ */
4438
+ minFollowers?: number;
4439
+ /**
4440
+ * Only authors with at most this many followers; unknown reach never passes.
4441
+ */
4442
+ maxFollowers?: number;
4443
+ /**
4444
+ * true: only replies and comments; false: only top-level posts.
4445
+ */
4446
+ isReply?: boolean;
4447
+ /**
4448
+ * Never these authors: display names, handles or profile URLs.
4449
+ */
4450
+ excludeAuthors?: Array<string>;
4451
+ };
4452
+ /**
4453
+ * ISO 8601 timestamp, UTC.
4454
+ */
4455
+ createdAt: string;
4456
+ /**
4457
+ * ISO 8601 timestamp, UTC.
4458
+ */
4459
+ updatedAt: string;
4460
+ }>;
4461
+ };
4462
+ };
4463
+ type ListViewsResponse = ListViewsResponses[keyof ListViewsResponses];
4464
+ type CreateViewData = {
4465
+ body: {
4466
+ /**
4467
+ * Unique per workspace, case-insensitive.
4468
+ */
4469
+ name: string;
4470
+ /**
4471
+ * What the view is for, shown under its name.
4472
+ */
4473
+ description?: string;
4474
+ /**
4475
+ * The filter; empty selects every mention.
4476
+ */
4477
+ filter?: {
4478
+ /**
4479
+ * Substring in the post text or the author's name.
4480
+ */
4481
+ q?: string;
4482
+ /**
4483
+ * Only matches of any of these keywords.
4484
+ */
4485
+ keywordIds?: Array<string>;
4486
+ /**
4487
+ * Never matches of these keywords.
4488
+ */
4489
+ notKeywordIds?: Array<string>;
4490
+ /**
4491
+ * Only matches of keywords of any of these kinds: brand, competitor, topic.
4492
+ */
4493
+ keywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
4494
+ /**
4495
+ * Only posts from any of these platforms.
4496
+ */
4497
+ platforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin'>;
4498
+ /**
4499
+ * Never posts from these platforms.
4500
+ */
4501
+ notPlatforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin'>;
4502
+ /**
4503
+ * Only mentions in this status: open, ignored, done.
4504
+ */
4505
+ status?: 'open' | 'ignored' | 'done';
4506
+ /**
4507
+ * true: only mentions the classifier scored relevant; false: only the rest.
4508
+ */
4509
+ relevant?: boolean;
4510
+ /**
4511
+ * Only mentions scored at least this.
4512
+ */
4513
+ minRelevance?: number;
4514
+ /**
4515
+ * Only mentions whose classifier confidence is at least this.
4516
+ */
4517
+ minConfidence?: number;
4518
+ /**
4519
+ * Only these sentiments.
4520
+ */
4521
+ sentiments?: Array<'positive' | 'neutral' | 'negative'>;
4522
+ /**
4523
+ * Never these sentiments; an unscored mention still passes.
4524
+ */
4525
+ notSentiments?: Array<'positive' | 'neutral' | 'negative'>;
4526
+ /**
4527
+ * Only mentions carrying any of these intent or topic tags.
4528
+ */
4529
+ intents?: Array<string>;
4530
+ /**
4531
+ * Never mentions carrying these tags.
4532
+ */
4533
+ notIntents?: Array<string>;
4534
+ /**
4535
+ * true: only posts that read as machine-made; false: only the rest.
4536
+ */
4537
+ automated?: boolean;
4538
+ /**
4539
+ * Only posts in any of these languages (ISO 639-1).
4540
+ */
4541
+ languages?: Array<string>;
4542
+ /**
4543
+ * Never posts in these languages; an unknown language still passes.
4544
+ */
4545
+ notLanguages?: Array<string>;
4546
+ /**
4547
+ * Only authors your workspace tagged with any of these.
4548
+ */
4549
+ tags?: Array<string>;
4550
+ /**
4551
+ * Never authors tagged with any of these.
4552
+ */
4553
+ notTags?: Array<string>;
4554
+ /**
4555
+ * Only posts linking to any of these hosts, the host itself or a subdomain of it.
4556
+ */
4557
+ linkHosts?: Array<string>;
4558
+ /**
4559
+ * Never posts linking to these hosts.
4560
+ */
4561
+ notLinkHosts?: Array<string>;
4562
+ /**
4563
+ * Only authors with at least this many followers; unknown reach never passes.
4564
+ */
4565
+ minFollowers?: number;
4566
+ /**
4567
+ * Only authors with at most this many followers; unknown reach never passes.
4568
+ */
4569
+ maxFollowers?: number;
4570
+ /**
4571
+ * true: only replies and comments; false: only top-level posts.
4572
+ */
4573
+ isReply?: boolean;
4574
+ /**
4575
+ * Never these authors: display names, handles or profile URLs.
4576
+ */
4577
+ excludeAuthors?: Array<string>;
4578
+ };
4579
+ };
4580
+ path?: never;
4581
+ query?: never;
4582
+ url: '/v1/views';
4583
+ };
4584
+ type CreateViewErrors = {
4585
+ /**
4586
+ * Missing or invalid API key
4587
+ */
4588
+ 401: ErrorResponse;
4589
+ /**
4590
+ * A view with that name already exists (duplicate_view)
4591
+ */
4592
+ 409: ErrorResponse;
4593
+ };
4594
+ type CreateViewError = CreateViewErrors[keyof CreateViewErrors];
4595
+ type CreateViewResponses = {
4596
+ /**
4597
+ * The saved view
4598
+ */
4599
+ 201: View;
4600
+ };
4601
+ type CreateViewResponse = CreateViewResponses[keyof CreateViewResponses];
4602
+ type DeleteViewData = {
4603
+ body?: never;
4604
+ path: {
4605
+ /**
4606
+ * View id (vw_...).
4607
+ */
4608
+ id: string;
4609
+ };
4610
+ query?: never;
4611
+ url: '/v1/views/{id}';
4612
+ };
4613
+ type DeleteViewErrors = {
4614
+ /**
4615
+ * Missing or invalid API key
4616
+ */
4617
+ 401: ErrorResponse;
4618
+ /**
4619
+ * No such view in this workspace
4620
+ */
4621
+ 404: ErrorResponse;
4622
+ };
4623
+ type DeleteViewError = DeleteViewErrors[keyof DeleteViewErrors];
4624
+ type DeleteViewResponses = {
4625
+ /**
4626
+ * Deleted
4627
+ */
4628
+ 204: void;
4629
+ };
4630
+ type DeleteViewResponse = DeleteViewResponses[keyof DeleteViewResponses];
4631
+ type GetViewData = {
4632
+ body?: never;
4633
+ path: {
4634
+ /**
4635
+ * View id (vw_...).
4636
+ */
4637
+ id: string;
4638
+ };
4639
+ query?: never;
4640
+ url: '/v1/views/{id}';
4641
+ };
4642
+ type GetViewErrors = {
4643
+ /**
4644
+ * Missing or invalid API key
4645
+ */
4646
+ 401: ErrorResponse;
4647
+ /**
4648
+ * No such view in this workspace
4649
+ */
4650
+ 404: ErrorResponse;
4651
+ };
4652
+ type GetViewError = GetViewErrors[keyof GetViewErrors];
4653
+ type GetViewResponses = {
4654
+ /**
4655
+ * The view
4656
+ */
4657
+ 200: View;
4658
+ };
4659
+ type GetViewResponse = GetViewResponses[keyof GetViewResponses];
4660
+ type UpdateViewData = {
4661
+ body: {
4662
+ name?: string;
4663
+ description?: string;
4664
+ /**
4665
+ * Replaces the whole filter.
4666
+ */
4667
+ filter?: {
4668
+ /**
4669
+ * Substring in the post text or the author's name.
4670
+ */
4671
+ q?: string;
4672
+ /**
4673
+ * Only matches of any of these keywords.
4674
+ */
4675
+ keywordIds?: Array<string>;
4676
+ /**
4677
+ * Never matches of these keywords.
4678
+ */
4679
+ notKeywordIds?: Array<string>;
4680
+ /**
4681
+ * Only matches of keywords of any of these kinds: brand, competitor, topic.
4682
+ */
4683
+ keywordKinds?: Array<'brand' | 'competitor' | 'topic'>;
4684
+ /**
4685
+ * Only posts from any of these platforms.
4686
+ */
4687
+ platforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin'>;
4688
+ /**
4689
+ * Never posts from these platforms.
4690
+ */
4691
+ notPlatforms?: Array<'bluesky' | 'hackernews' | 'github' | 'stackoverflow' | 'devto' | 'reddit' | 'x' | 'youtube' | 'news' | 'linkedin'>;
4692
+ /**
4693
+ * Only mentions in this status: open, ignored, done.
4694
+ */
4695
+ status?: 'open' | 'ignored' | 'done';
4696
+ /**
4697
+ * true: only mentions the classifier scored relevant; false: only the rest.
4698
+ */
4699
+ relevant?: boolean;
4700
+ /**
4701
+ * Only mentions scored at least this.
4702
+ */
4703
+ minRelevance?: number;
4704
+ /**
4705
+ * Only mentions whose classifier confidence is at least this.
4706
+ */
4707
+ minConfidence?: number;
4708
+ /**
4709
+ * Only these sentiments.
4710
+ */
4711
+ sentiments?: Array<'positive' | 'neutral' | 'negative'>;
4712
+ /**
4713
+ * Never these sentiments; an unscored mention still passes.
4714
+ */
4715
+ notSentiments?: Array<'positive' | 'neutral' | 'negative'>;
4716
+ /**
4717
+ * Only mentions carrying any of these intent or topic tags.
4718
+ */
4719
+ intents?: Array<string>;
4720
+ /**
4721
+ * Never mentions carrying these tags.
4722
+ */
4723
+ notIntents?: Array<string>;
4724
+ /**
4725
+ * true: only posts that read as machine-made; false: only the rest.
4726
+ */
4727
+ automated?: boolean;
4728
+ /**
4729
+ * Only posts in any of these languages (ISO 639-1).
4730
+ */
4731
+ languages?: Array<string>;
4732
+ /**
4733
+ * Never posts in these languages; an unknown language still passes.
4734
+ */
4735
+ notLanguages?: Array<string>;
4736
+ /**
4737
+ * Only authors your workspace tagged with any of these.
4738
+ */
4739
+ tags?: Array<string>;
4740
+ /**
4741
+ * Never authors tagged with any of these.
4742
+ */
4743
+ notTags?: Array<string>;
4744
+ /**
4745
+ * Only posts linking to any of these hosts, the host itself or a subdomain of it.
4746
+ */
4747
+ linkHosts?: Array<string>;
4748
+ /**
4749
+ * Never posts linking to these hosts.
4750
+ */
4751
+ notLinkHosts?: Array<string>;
4752
+ /**
4753
+ * Only authors with at least this many followers; unknown reach never passes.
4754
+ */
4755
+ minFollowers?: number;
4756
+ /**
4757
+ * Only authors with at most this many followers; unknown reach never passes.
4758
+ */
4759
+ maxFollowers?: number;
4760
+ /**
4761
+ * true: only replies and comments; false: only top-level posts.
4762
+ */
4763
+ isReply?: boolean;
4764
+ /**
4765
+ * Never these authors: display names, handles or profile URLs.
4766
+ */
4767
+ excludeAuthors?: Array<string>;
4768
+ };
4769
+ };
4770
+ path: {
4771
+ /**
4772
+ * View id (vw_...).
4773
+ */
4774
+ id: string;
4775
+ };
4776
+ query?: never;
4777
+ url: '/v1/views/{id}';
4778
+ };
4779
+ type UpdateViewErrors = {
4780
+ /**
4781
+ * Missing or invalid API key
4782
+ */
4783
+ 401: ErrorResponse;
4784
+ /**
4785
+ * No such view in this workspace
4786
+ */
4787
+ 404: ErrorResponse;
4788
+ /**
4789
+ * A view with that name already exists (duplicate_view)
4790
+ */
4791
+ 409: ErrorResponse;
4792
+ };
4793
+ type UpdateViewError = UpdateViewErrors[keyof UpdateViewErrors];
4794
+ type UpdateViewResponses = {
4795
+ /**
4796
+ * The updated view
4797
+ */
4798
+ 200: View;
4799
+ };
4800
+ type UpdateViewResponse = UpdateViewResponses[keyof UpdateViewResponses];
4188
4801
  type GetCompanyData = {
4189
4802
  body?: never;
4190
4803
  path?: never;
@@ -5820,6 +6433,34 @@ declare const getSegment: <ThrowOnError extends boolean = false>(options: Option
5820
6433
  * Update a segment
5821
6434
  */
5822
6435
  declare const updateSegment: <ThrowOnError extends boolean = false>(options: Options<UpdateSegmentData, ThrowOnError>) => RequestResult<UpdateSegmentResponses, UpdateSegmentErrors, ThrowOnError>;
6436
+ /**
6437
+ * List views
6438
+ *
6439
+ * The saved views of the workspace, oldest first. A view is a named filter over mentions: pass its id as `viewId` to GET /v1/mentions or the export to read exactly what it selects.
6440
+ */
6441
+ declare const listViews: <ThrowOnError extends boolean = false>(options?: Options<ListViewsData, ThrowOnError>) => RequestResult<ListViewsResponses, ListViewsErrors, ThrowOnError>;
6442
+ /**
6443
+ * Save a view
6444
+ *
6445
+ * Save a named filter over mentions. The filter takes the same fields as GET /v1/mentions (lists are any-of, `not` lists none-of, every condition ANDed); an empty filter is every mention. Nothing is materialized: the view selects whatever matches when it is read.
6446
+ */
6447
+ declare const createView: <ThrowOnError extends boolean = false>(options: Options<CreateViewData, ThrowOnError>) => RequestResult<CreateViewResponses, CreateViewErrors, ThrowOnError>;
6448
+ /**
6449
+ * Delete a view
6450
+ *
6451
+ * Removes the view. No mention is affected.
6452
+ */
6453
+ declare const deleteView: <ThrowOnError extends boolean = false>(options: Options<DeleteViewData, ThrowOnError>) => RequestResult<DeleteViewResponses, DeleteViewErrors, ThrowOnError>;
6454
+ /**
6455
+ * Get a view
6456
+ */
6457
+ declare const getView: <ThrowOnError extends boolean = false>(options: Options<GetViewData, ThrowOnError>) => RequestResult<GetViewResponses, GetViewErrors, ThrowOnError>;
6458
+ /**
6459
+ * Update a view
6460
+ *
6461
+ * Rename, describe or refilter a view. `filter` replaces the whole filter.
6462
+ */
6463
+ declare const updateView: <ThrowOnError extends boolean = false>(options: Options<UpdateViewData, ThrowOnError>) => RequestResult<UpdateViewResponses, UpdateViewErrors, ThrowOnError>;
5823
6464
  /**
5824
6465
  * Get the company profile
5825
6466
  *
@@ -5996,11 +6637,13 @@ declare const sdk_createChannel: typeof createChannel;
5996
6637
  declare const sdk_createInvitation: typeof createInvitation;
5997
6638
  declare const sdk_createKeyword: typeof createKeyword;
5998
6639
  declare const sdk_createSegment: typeof createSegment;
6640
+ declare const sdk_createView: typeof createView;
5999
6641
  declare const sdk_deleteAlert: typeof deleteAlert;
6000
6642
  declare const sdk_deleteChannel: typeof deleteChannel;
6001
6643
  declare const sdk_deleteKeyword: typeof deleteKeyword;
6002
6644
  declare const sdk_deletePersonActivity: typeof deletePersonActivity;
6003
6645
  declare const sdk_deleteSegment: typeof deleteSegment;
6646
+ declare const sdk_deleteView: typeof deleteView;
6004
6647
  declare const sdk_exportMentionsCsv: typeof exportMentionsCsv;
6005
6648
  declare const sdk_exportPeopleCsv: typeof exportPeopleCsv;
6006
6649
  declare const sdk_getAlert: typeof getAlert;
@@ -6017,6 +6660,7 @@ declare const sdk_getPerson: typeof getPerson;
6017
6660
  declare const sdk_getSegment: typeof getSegment;
6018
6661
  declare const sdk_getShareOfVoice: typeof getShareOfVoice;
6019
6662
  declare const sdk_getUsage: typeof getUsage;
6663
+ declare const sdk_getView: typeof getView;
6020
6664
  declare const sdk_listAlerts: typeof listAlerts;
6021
6665
  declare const sdk_listApiKeys: typeof listApiKeys;
6022
6666
  declare const sdk_listChannelDeliveries: typeof listChannelDeliveries;
@@ -6027,6 +6671,7 @@ declare const sdk_listMembers: typeof listMembers;
6027
6671
  declare const sdk_listPeople: typeof listPeople;
6028
6672
  declare const sdk_listPersonActivities: typeof listPersonActivities;
6029
6673
  declare const sdk_listSegments: typeof listSegments;
6674
+ declare const sdk_listViews: typeof listViews;
6030
6675
  declare const sdk_logPersonActivity: typeof logPersonActivity;
6031
6676
  declare const sdk_mergePeople: typeof mergePeople;
6032
6677
  declare const sdk_muteAlertAuthors: typeof muteAlertAuthors;
@@ -6048,9 +6693,10 @@ declare const sdk_updateKeyword: typeof updateKeyword;
6048
6693
  declare const sdk_updateMention: typeof updateMention;
6049
6694
  declare const sdk_updatePerson: typeof updatePerson;
6050
6695
  declare const sdk_updateSegment: typeof updateSegment;
6696
+ declare const sdk_updateView: typeof updateView;
6051
6697
  declare const sdk_whoami: typeof whoami;
6052
6698
  declare namespace sdk {
6053
- export { type sdk_Options as Options, sdk_createAlert as createAlert, sdk_createApiKey as createApiKey, sdk_createChannel as createChannel, sdk_createInvitation as createInvitation, sdk_createKeyword as createKeyword, sdk_createSegment as createSegment, sdk_deleteAlert as deleteAlert, sdk_deleteChannel as deleteChannel, sdk_deleteKeyword as deleteKeyword, sdk_deletePersonActivity as deletePersonActivity, sdk_deleteSegment as deleteSegment, sdk_exportMentionsCsv as exportMentionsCsv, sdk_exportPeopleCsv as exportPeopleCsv, sdk_getAlert as getAlert, sdk_getAnalyticsBreakdown as getAnalyticsBreakdown, sdk_getAnalyticsSeries as getAnalyticsSeries, sdk_getAnalyticsSummary as getAnalyticsSummary, sdk_getChannel as getChannel, sdk_getCompany as getCompany, sdk_getFilters as getFilters, sdk_getHealth as getHealth, sdk_getKeyword as getKeyword, sdk_getMention as getMention, sdk_getPerson as getPerson, sdk_getSegment as getSegment, sdk_getShareOfVoice as getShareOfVoice, sdk_getUsage as getUsage, sdk_listAlerts as listAlerts, sdk_listApiKeys as listApiKeys, sdk_listChannelDeliveries as listChannelDeliveries, sdk_listChannels as listChannels, sdk_listInvitations as listInvitations, sdk_listKeywords as listKeywords, sdk_listMembers as listMembers, sdk_listPeople as listPeople, sdk_listPersonActivities as listPersonActivities, sdk_listSegments as listSegments, sdk_logPersonActivity as logPersonActivity, sdk_mergePeople as mergePeople, sdk_muteAlertAuthors as muteAlertAuthors, sdk_removeMember as removeMember, sdk_revokeApiKey as revokeApiKey, sdk_revokeInvitation as revokeInvitation, sdk_rotateWebhookSecret as rotateWebhookSecret, sdk_runAlertDigest as runAlertDigest, sdk_searchMentions as searchMentions, sdk_splitPerson as splitPerson, sdk_testAlert as testAlert, sdk_testChannel as testChannel, sdk_unmuteAlertAuthors as unmuteAlertAuthors, sdk_updateAlert as updateAlert, sdk_updateChannel as updateChannel, sdk_updateCompany as updateCompany, sdk_updateFilters as updateFilters, sdk_updateKeyword as updateKeyword, sdk_updateMention as updateMention, sdk_updatePerson as updatePerson, sdk_updateSegment as updateSegment, sdk_whoami as whoami };
6699
+ export { type sdk_Options as Options, sdk_createAlert as createAlert, sdk_createApiKey as createApiKey, sdk_createChannel as createChannel, sdk_createInvitation as createInvitation, sdk_createKeyword as createKeyword, sdk_createSegment as createSegment, sdk_createView as createView, sdk_deleteAlert as deleteAlert, sdk_deleteChannel as deleteChannel, sdk_deleteKeyword as deleteKeyword, sdk_deletePersonActivity as deletePersonActivity, sdk_deleteSegment as deleteSegment, sdk_deleteView as deleteView, sdk_exportMentionsCsv as exportMentionsCsv, sdk_exportPeopleCsv as exportPeopleCsv, sdk_getAlert as getAlert, sdk_getAnalyticsBreakdown as getAnalyticsBreakdown, sdk_getAnalyticsSeries as getAnalyticsSeries, sdk_getAnalyticsSummary as getAnalyticsSummary, sdk_getChannel as getChannel, sdk_getCompany as getCompany, sdk_getFilters as getFilters, sdk_getHealth as getHealth, sdk_getKeyword as getKeyword, sdk_getMention as getMention, sdk_getPerson as getPerson, sdk_getSegment as getSegment, sdk_getShareOfVoice as getShareOfVoice, sdk_getUsage as getUsage, sdk_getView as getView, sdk_listAlerts as listAlerts, sdk_listApiKeys as listApiKeys, sdk_listChannelDeliveries as listChannelDeliveries, sdk_listChannels as listChannels, sdk_listInvitations as listInvitations, sdk_listKeywords as listKeywords, sdk_listMembers as listMembers, sdk_listPeople as listPeople, sdk_listPersonActivities as listPersonActivities, sdk_listSegments as listSegments, sdk_listViews as listViews, sdk_logPersonActivity as logPersonActivity, sdk_mergePeople as mergePeople, sdk_muteAlertAuthors as muteAlertAuthors, sdk_removeMember as removeMember, sdk_revokeApiKey as revokeApiKey, sdk_revokeInvitation as revokeInvitation, sdk_rotateWebhookSecret as rotateWebhookSecret, sdk_runAlertDigest as runAlertDigest, sdk_searchMentions as searchMentions, sdk_splitPerson as splitPerson, sdk_testAlert as testAlert, sdk_testChannel as testChannel, sdk_unmuteAlertAuthors as unmuteAlertAuthors, sdk_updateAlert as updateAlert, sdk_updateChannel as updateChannel, sdk_updateCompany as updateCompany, sdk_updateFilters as updateFilters, sdk_updateKeyword as updateKeyword, sdk_updateMention as updateMention, sdk_updatePerson as updatePerson, sdk_updateSegment as updateSegment, sdk_updateView as updateView, sdk_whoami as whoami };
6054
6700
  }
6055
6701
 
6056
6702
  /**
@@ -6078,4 +6724,4 @@ type Mentio = typeof sdk & {
6078
6724
  };
6079
6725
  declare function createMentio(options: MentioOptions): Mentio;
6080
6726
 
6081
- export { type Alert, type AnalyticsBreakdown, type AnalyticsSeries, type AnalyticsSummary, type Channel, type Client, type ClientOptions, type Company, type Config, type CreateAlertData, type CreateAlertError, type CreateAlertErrors, type CreateAlertResponse, type CreateAlertResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChannelData, type CreateChannelError, type CreateChannelErrors, type CreateChannelResponse, type CreateChannelResponses, type CreateEmailChannel, type CreateInvitationData, type CreateInvitationError, type CreateInvitationErrors, type CreateInvitationResponse, type CreateInvitationResponses, type CreateKeywordData, type CreateKeywordError, type CreateKeywordErrors, type CreateKeywordResponse, type CreateKeywordResponses, type CreateSegmentData, type CreateSegmentError, type CreateSegmentErrors, type CreateSegmentResponse, type CreateSegmentResponses, type CreateSlackChannel, type CreateWebhookChannel, DEFAULT_BASE_URL, type DeleteAlertData, type DeleteAlertError, type DeleteAlertErrors, type DeleteAlertResponse, type DeleteAlertResponses, type DeleteChannelData, type DeleteChannelError, type DeleteChannelErrors, type DeleteChannelResponse, type DeleteChannelResponses, type DeleteKeywordData, type DeleteKeywordError, type DeleteKeywordErrors, type DeleteKeywordResponse, type DeleteKeywordResponses, type DeletePersonActivityData, type DeletePersonActivityError, type DeletePersonActivityErrors, type DeletePersonActivityResponse, type DeletePersonActivityResponses, type DeleteSegmentData, type DeleteSegmentError, type DeleteSegmentErrors, type DeleteSegmentResponse, type DeleteSegmentResponses, type EmailChannel, type ErrorResponse, type ExportMentionsCsvData, type ExportMentionsCsvError, type ExportMentionsCsvErrors, type ExportMentionsCsvResponse, type ExportMentionsCsvResponses, type ExportPeopleCsvData, type ExportPeopleCsvError, type ExportPeopleCsvErrors, type ExportPeopleCsvResponse, type ExportPeopleCsvResponses, type GetAlertData, type GetAlertError, type GetAlertErrors, type GetAlertResponse, type GetAlertResponses, type GetAnalyticsBreakdownData, type GetAnalyticsBreakdownError, type GetAnalyticsBreakdownErrors, type GetAnalyticsBreakdownResponse, type GetAnalyticsBreakdownResponses, type GetAnalyticsSeriesData, type GetAnalyticsSeriesError, type GetAnalyticsSeriesErrors, type GetAnalyticsSeriesResponse, type GetAnalyticsSeriesResponses, type GetAnalyticsSummaryData, type GetAnalyticsSummaryError, type GetAnalyticsSummaryErrors, type GetAnalyticsSummaryResponse, type GetAnalyticsSummaryResponses, type GetChannelData, type GetChannelError, type GetChannelErrors, type GetChannelResponse, type GetChannelResponses, type GetCompanyData, type GetCompanyError, type GetCompanyErrors, type GetCompanyResponse, type GetCompanyResponses, type GetFiltersData, type GetFiltersError, type GetFiltersErrors, type GetFiltersResponse, type GetFiltersResponses, type GetHealthData, type GetHealthResponse, type GetHealthResponses, type GetKeywordData, type GetKeywordError, type GetKeywordErrors, type GetKeywordResponse, type GetKeywordResponses, type GetMentionData, type GetMentionError, type GetMentionErrors, type GetMentionResponse, type GetMentionResponses, type GetPersonData, type GetPersonError, type GetPersonErrors, type GetPersonResponse, type GetPersonResponses, type GetSegmentData, type GetSegmentError, type GetSegmentErrors, type GetSegmentResponse, type GetSegmentResponses, type GetShareOfVoiceData, type GetShareOfVoiceError, type GetShareOfVoiceErrors, type GetShareOfVoiceResponse, type GetShareOfVoiceResponses, type GetUsageData, type GetUsageError, type GetUsageErrors, type GetUsageResponse, type GetUsageResponses, type Invitation, type Keyword, type ListAlertsData, type ListAlertsError, type ListAlertsErrors, type ListAlertsResponse, type ListAlertsResponses, type ListApiKeysData, type ListApiKeysError, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListChannelDeliveriesData, type ListChannelDeliveriesError, type ListChannelDeliveriesErrors, type ListChannelDeliveriesResponse, type ListChannelDeliveriesResponses, type ListChannelsData, type ListChannelsError, type ListChannelsErrors, type ListChannelsResponse, type ListChannelsResponses, type ListInvitationsData, type ListInvitationsError, type ListInvitationsErrors, type ListInvitationsResponse, type ListInvitationsResponses, type ListKeywordsData, type ListKeywordsError, type ListKeywordsErrors, type ListKeywordsResponse, type ListKeywordsResponses, type ListMembersData, type ListMembersError, type ListMembersErrors, type ListMembersResponse, type ListMembersResponses, type ListPeopleData, type ListPeopleError, type ListPeopleErrors, type ListPeopleResponse, type ListPeopleResponses, type ListPersonActivitiesData, type ListPersonActivitiesError, type ListPersonActivitiesErrors, type ListPersonActivitiesResponse, type ListPersonActivitiesResponses, type ListSegmentsData, type ListSegmentsError, type ListSegmentsErrors, type ListSegmentsResponse, type ListSegmentsResponses, type LogPersonActivityData, type LogPersonActivityError, type LogPersonActivityErrors, type LogPersonActivityResponse, type LogPersonActivityResponses, type Member, type Mentio, type MentioOptions, type Mention, type MergePeopleData, type MergePeopleError, type MergePeopleErrors, type MergePeopleResponse, type MergePeopleResponses, type MuteAlertAuthorsData, type MuteAlertAuthorsError, type MuteAlertAuthorsErrors, type MuteAlertAuthorsResponse, type MuteAlertAuthorsResponses, type Options, type Person, type PersonActivity, type RemoveMemberData, type RemoveMemberError, type RemoveMemberErrors, type RemoveMemberResponse, type RemoveMemberResponses, type RequestResult, type RevokeApiKeyData, type RevokeApiKeyError, type RevokeApiKeyErrors, type RevokeApiKeyResponse, type RevokeApiKeyResponses, type RevokeInvitationData, type RevokeInvitationError, type RevokeInvitationErrors, type RevokeInvitationResponse, type RevokeInvitationResponses, type RotateWebhookSecretData, type RotateWebhookSecretError, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RunAlertDigestData, type RunAlertDigestError, type RunAlertDigestErrors, type RunAlertDigestResponse, type RunAlertDigestResponses, type SearchMentionsData, type SearchMentionsError, type SearchMentionsErrors, type SearchMentionsResponse, type SearchMentionsResponses, type Segment, type ShareOfVoice, type SlackChannel, type SplitPersonData, type SplitPersonError, type SplitPersonErrors, type SplitPersonResponse, type SplitPersonResponses, type TelegramChannel, type TestAlertData, type TestAlertError, type TestAlertErrors, type TestAlertResponse, type TestAlertResponses, type TestChannelData, type TestChannelError, type TestChannelErrors, type TestChannelResponse, type TestChannelResponses, type UnmuteAlertAuthorsData, type UnmuteAlertAuthorsError, type UnmuteAlertAuthorsErrors, type UnmuteAlertAuthorsResponse, type UnmuteAlertAuthorsResponses, type UpdateAlertData, type UpdateAlertError, type UpdateAlertErrors, type UpdateAlertResponse, type UpdateAlertResponses, type UpdateChannelData, type UpdateChannelError, type UpdateChannelErrors, type UpdateChannelResponse, type UpdateChannelResponses, type UpdateCompanyData, type UpdateCompanyError, type UpdateCompanyErrors, type UpdateCompanyResponse, type UpdateCompanyResponses, type UpdateFiltersData, type UpdateFiltersError, type UpdateFiltersErrors, type UpdateFiltersResponse, type UpdateFiltersResponses, type UpdateKeywordData, type UpdateKeywordError, type UpdateKeywordErrors, type UpdateKeywordResponse, type UpdateKeywordResponses, type UpdateMentionData, type UpdateMentionError, type UpdateMentionErrors, type UpdateMentionResponse, type UpdateMentionResponses, type UpdatePersonData, type UpdatePersonError, type UpdatePersonErrors, type UpdatePersonResponse, type UpdatePersonResponses, type UpdateSegmentData, type UpdateSegmentError, type UpdateSegmentErrors, type UpdateSegmentResponse, type UpdateSegmentResponses, type UsageSummary, type WebhookChannel, type Whoami, type WhoamiData, type WhoamiError, type WhoamiErrors, type WhoamiResponse, type WhoamiResponses, type WorkspaceFilters, createAlert, createApiKey, createChannel, createClient, createConfig, createInvitation, createKeyword, createMentio, createSegment, deleteAlert, deleteChannel, deleteKeyword, deletePersonActivity, deleteSegment, exportMentionsCsv, exportPeopleCsv, getAlert, getAnalyticsBreakdown, getAnalyticsSeries, getAnalyticsSummary, getChannel, getCompany, getFilters, getHealth, getKeyword, getMention, getPerson, getSegment, getShareOfVoice, getUsage, listAlerts, listApiKeys, listChannelDeliveries, listChannels, listInvitations, listKeywords, listMembers, listPeople, listPersonActivities, listSegments, logPersonActivity, mergePeople, muteAlertAuthors, removeMember, revokeApiKey, revokeInvitation, rotateWebhookSecret, runAlertDigest, searchMentions, splitPerson, testAlert, testChannel, unmuteAlertAuthors, updateAlert, updateChannel, updateCompany, updateFilters, updateKeyword, updateMention, updatePerson, updateSegment, whoami };
6727
+ export { type Alert, type AnalyticsBreakdown, type AnalyticsSeries, type AnalyticsSummary, type Channel, type Client, type ClientOptions, type Company, type Config, type CreateAlertData, type CreateAlertError, type CreateAlertErrors, type CreateAlertResponse, type CreateAlertResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChannelData, type CreateChannelError, type CreateChannelErrors, type CreateChannelResponse, type CreateChannelResponses, type CreateEmailChannel, type CreateInvitationData, type CreateInvitationError, type CreateInvitationErrors, type CreateInvitationResponse, type CreateInvitationResponses, type CreateKeywordData, type CreateKeywordError, type CreateKeywordErrors, type CreateKeywordResponse, type CreateKeywordResponses, type CreateSegmentData, type CreateSegmentError, type CreateSegmentErrors, type CreateSegmentResponse, type CreateSegmentResponses, type CreateSlackChannel, type CreateViewData, type CreateViewError, type CreateViewErrors, type CreateViewResponse, type CreateViewResponses, type CreateWebhookChannel, DEFAULT_BASE_URL, type DeleteAlertData, type DeleteAlertError, type DeleteAlertErrors, type DeleteAlertResponse, type DeleteAlertResponses, type DeleteChannelData, type DeleteChannelError, type DeleteChannelErrors, type DeleteChannelResponse, type DeleteChannelResponses, type DeleteKeywordData, type DeleteKeywordError, type DeleteKeywordErrors, type DeleteKeywordResponse, type DeleteKeywordResponses, type DeletePersonActivityData, type DeletePersonActivityError, type DeletePersonActivityErrors, type DeletePersonActivityResponse, type DeletePersonActivityResponses, type DeleteSegmentData, type DeleteSegmentError, type DeleteSegmentErrors, type DeleteSegmentResponse, type DeleteSegmentResponses, type DeleteViewData, type DeleteViewError, type DeleteViewErrors, type DeleteViewResponse, type DeleteViewResponses, type EmailChannel, type ErrorResponse, type ExportMentionsCsvData, type ExportMentionsCsvError, type ExportMentionsCsvErrors, type ExportMentionsCsvResponse, type ExportMentionsCsvResponses, type ExportPeopleCsvData, type ExportPeopleCsvError, type ExportPeopleCsvErrors, type ExportPeopleCsvResponse, type ExportPeopleCsvResponses, type GetAlertData, type GetAlertError, type GetAlertErrors, type GetAlertResponse, type GetAlertResponses, type GetAnalyticsBreakdownData, type GetAnalyticsBreakdownError, type GetAnalyticsBreakdownErrors, type GetAnalyticsBreakdownResponse, type GetAnalyticsBreakdownResponses, type GetAnalyticsSeriesData, type GetAnalyticsSeriesError, type GetAnalyticsSeriesErrors, type GetAnalyticsSeriesResponse, type GetAnalyticsSeriesResponses, type GetAnalyticsSummaryData, type GetAnalyticsSummaryError, type GetAnalyticsSummaryErrors, type GetAnalyticsSummaryResponse, type GetAnalyticsSummaryResponses, type GetChannelData, type GetChannelError, type GetChannelErrors, type GetChannelResponse, type GetChannelResponses, type GetCompanyData, type GetCompanyError, type GetCompanyErrors, type GetCompanyResponse, type GetCompanyResponses, type GetFiltersData, type GetFiltersError, type GetFiltersErrors, type GetFiltersResponse, type GetFiltersResponses, type GetHealthData, type GetHealthResponse, type GetHealthResponses, type GetKeywordData, type GetKeywordError, type GetKeywordErrors, type GetKeywordResponse, type GetKeywordResponses, type GetMentionData, type GetMentionError, type GetMentionErrors, type GetMentionResponse, type GetMentionResponses, type GetPersonData, type GetPersonError, type GetPersonErrors, type GetPersonResponse, type GetPersonResponses, type GetSegmentData, type GetSegmentError, type GetSegmentErrors, type GetSegmentResponse, type GetSegmentResponses, type GetShareOfVoiceData, type GetShareOfVoiceError, type GetShareOfVoiceErrors, type GetShareOfVoiceResponse, type GetShareOfVoiceResponses, type GetUsageData, type GetUsageError, type GetUsageErrors, type GetUsageResponse, type GetUsageResponses, type GetViewData, type GetViewError, type GetViewErrors, type GetViewResponse, type GetViewResponses, type Invitation, type Keyword, type ListAlertsData, type ListAlertsError, type ListAlertsErrors, type ListAlertsResponse, type ListAlertsResponses, type ListApiKeysData, type ListApiKeysError, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListChannelDeliveriesData, type ListChannelDeliveriesError, type ListChannelDeliveriesErrors, type ListChannelDeliveriesResponse, type ListChannelDeliveriesResponses, type ListChannelsData, type ListChannelsError, type ListChannelsErrors, type ListChannelsResponse, type ListChannelsResponses, type ListInvitationsData, type ListInvitationsError, type ListInvitationsErrors, type ListInvitationsResponse, type ListInvitationsResponses, type ListKeywordsData, type ListKeywordsError, type ListKeywordsErrors, type ListKeywordsResponse, type ListKeywordsResponses, type ListMembersData, type ListMembersError, type ListMembersErrors, type ListMembersResponse, type ListMembersResponses, type ListPeopleData, type ListPeopleError, type ListPeopleErrors, type ListPeopleResponse, type ListPeopleResponses, type ListPersonActivitiesData, type ListPersonActivitiesError, type ListPersonActivitiesErrors, type ListPersonActivitiesResponse, type ListPersonActivitiesResponses, type ListSegmentsData, type ListSegmentsError, type ListSegmentsErrors, type ListSegmentsResponse, type ListSegmentsResponses, type ListViewsData, type ListViewsError, type ListViewsErrors, type ListViewsResponse, type ListViewsResponses, type LogPersonActivityData, type LogPersonActivityError, type LogPersonActivityErrors, type LogPersonActivityResponse, type LogPersonActivityResponses, type Member, type Mentio, type MentioOptions, type Mention, type MergePeopleData, type MergePeopleError, type MergePeopleErrors, type MergePeopleResponse, type MergePeopleResponses, type MuteAlertAuthorsData, type MuteAlertAuthorsError, type MuteAlertAuthorsErrors, type MuteAlertAuthorsResponse, type MuteAlertAuthorsResponses, type Options, type Person, type PersonActivity, type RemoveMemberData, type RemoveMemberError, type RemoveMemberErrors, type RemoveMemberResponse, type RemoveMemberResponses, type RequestResult, type RevokeApiKeyData, type RevokeApiKeyError, type RevokeApiKeyErrors, type RevokeApiKeyResponse, type RevokeApiKeyResponses, type RevokeInvitationData, type RevokeInvitationError, type RevokeInvitationErrors, type RevokeInvitationResponse, type RevokeInvitationResponses, type RotateWebhookSecretData, type RotateWebhookSecretError, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RunAlertDigestData, type RunAlertDigestError, type RunAlertDigestErrors, type RunAlertDigestResponse, type RunAlertDigestResponses, type SearchMentionsData, type SearchMentionsError, type SearchMentionsErrors, type SearchMentionsResponse, type SearchMentionsResponses, type Segment, type ShareOfVoice, type SlackChannel, type SplitPersonData, type SplitPersonError, type SplitPersonErrors, type SplitPersonResponse, type SplitPersonResponses, type TelegramChannel, type TestAlertData, type TestAlertError, type TestAlertErrors, type TestAlertResponse, type TestAlertResponses, type TestChannelData, type TestChannelError, type TestChannelErrors, type TestChannelResponse, type TestChannelResponses, type UnmuteAlertAuthorsData, type UnmuteAlertAuthorsError, type UnmuteAlertAuthorsErrors, type UnmuteAlertAuthorsResponse, type UnmuteAlertAuthorsResponses, type UpdateAlertData, type UpdateAlertError, type UpdateAlertErrors, type UpdateAlertResponse, type UpdateAlertResponses, type UpdateChannelData, type UpdateChannelError, type UpdateChannelErrors, type UpdateChannelResponse, type UpdateChannelResponses, type UpdateCompanyData, type UpdateCompanyError, type UpdateCompanyErrors, type UpdateCompanyResponse, type UpdateCompanyResponses, type UpdateFiltersData, type UpdateFiltersError, type UpdateFiltersErrors, type UpdateFiltersResponse, type UpdateFiltersResponses, type UpdateKeywordData, type UpdateKeywordError, type UpdateKeywordErrors, type UpdateKeywordResponse, type UpdateKeywordResponses, type UpdateMentionData, type UpdateMentionError, type UpdateMentionErrors, type UpdateMentionResponse, type UpdateMentionResponses, type UpdatePersonData, type UpdatePersonError, type UpdatePersonErrors, type UpdatePersonResponse, type UpdatePersonResponses, type UpdateSegmentData, type UpdateSegmentError, type UpdateSegmentErrors, type UpdateSegmentResponse, type UpdateSegmentResponses, type UpdateViewData, type UpdateViewError, type UpdateViewErrors, type UpdateViewResponse, type UpdateViewResponses, type UsageSummary, type View, type WebhookChannel, type Whoami, type WhoamiData, type WhoamiError, type WhoamiErrors, type WhoamiResponse, type WhoamiResponses, type WorkspaceFilters, createAlert, createApiKey, createChannel, createClient, createConfig, createInvitation, createKeyword, createMentio, createSegment, createView, deleteAlert, deleteChannel, deleteKeyword, deletePersonActivity, deleteSegment, deleteView, exportMentionsCsv, exportPeopleCsv, getAlert, getAnalyticsBreakdown, getAnalyticsSeries, getAnalyticsSummary, getChannel, getCompany, getFilters, getHealth, getKeyword, getMention, getPerson, getSegment, getShareOfVoice, getUsage, getView, listAlerts, listApiKeys, listChannelDeliveries, listChannels, listInvitations, listKeywords, listMembers, listPeople, listPersonActivities, listSegments, listViews, logPersonActivity, mergePeople, muteAlertAuthors, removeMember, revokeApiKey, revokeInvitation, rotateWebhookSecret, runAlertDigest, searchMentions, splitPerson, testAlert, testChannel, unmuteAlertAuthors, updateAlert, updateChannel, updateCompany, updateFilters, updateKeyword, updateMention, updatePerson, updateSegment, updateView, whoami };