@stream-io/feeds-client 0.3.12 → 0.3.14

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.
@@ -375,6 +375,8 @@ export interface ActivityRequest {
375
375
 
376
376
  restrict_replies?: 'everyone' | 'people_i_follow' | 'nobody';
377
377
 
378
+ skip_enrich_url?: boolean;
379
+
378
380
  text?: string;
379
381
 
380
382
  visibility?: 'public' | 'private' | 'tag';
@@ -547,6 +549,8 @@ export interface AddActivityRequest {
547
549
 
548
550
  restrict_replies?: 'everyone' | 'people_i_follow' | 'nobody';
549
551
 
552
+ skip_enrich_url?: boolean;
553
+
550
554
  text?: string;
551
555
 
552
556
  visibility?: 'public' | 'private' | 'tag';
@@ -623,6 +627,8 @@ export interface AddCommentRequest {
623
627
 
624
628
  parent_id?: string;
625
629
 
630
+ skip_enrich_url?: boolean;
631
+
626
632
  skip_push?: boolean;
627
633
 
628
634
  attachments?: Attachment[];
@@ -2406,6 +2412,42 @@ export interface EnrichedReaction {
2406
2412
  user?: Data;
2407
2413
  }
2408
2414
 
2415
+ export interface EnrichmentOptions {
2416
+ skip_activity?: boolean;
2417
+
2418
+ skip_activity_collections?: boolean;
2419
+
2420
+ skip_activity_comments?: boolean;
2421
+
2422
+ skip_activity_current_feed?: boolean;
2423
+
2424
+ skip_activity_mentioned_users?: boolean;
2425
+
2426
+ skip_activity_own_bookmarks?: boolean;
2427
+
2428
+ skip_activity_parents?: boolean;
2429
+
2430
+ skip_activity_poll?: boolean;
2431
+
2432
+ skip_activity_reactions?: boolean;
2433
+
2434
+ skip_activity_refresh_image_urls?: boolean;
2435
+
2436
+ skip_all?: boolean;
2437
+
2438
+ skip_feed_member_user?: boolean;
2439
+
2440
+ skip_followers?: boolean;
2441
+
2442
+ skip_following?: boolean;
2443
+
2444
+ skip_own_capabilities?: boolean;
2445
+
2446
+ skip_own_follows?: boolean;
2447
+
2448
+ skip_pins?: boolean;
2449
+ }
2450
+
2409
2451
  export interface EntityCreatorResponse {
2410
2452
  ban_count: number;
2411
2453
 
@@ -2818,6 +2860,8 @@ export interface FeedsPreferences {
2818
2860
 
2819
2861
  comment_reaction?: 'all' | 'none';
2820
2862
 
2863
+ comment_reply?: 'all' | 'none';
2864
+
2821
2865
  follow?: 'all' | 'none';
2822
2866
 
2823
2867
  mention?: 'all' | 'none';
@@ -2897,6 +2941,10 @@ export interface FilterConfigResponse {
2897
2941
  ai_text_labels?: string[];
2898
2942
  }
2899
2943
 
2944
+ export interface FlagCountRuleParameters {
2945
+ threshold?: number;
2946
+ }
2947
+
2900
2948
  export interface FlagRequest {
2901
2949
  entity_id: string;
2902
2950
 
@@ -3200,6 +3248,8 @@ export interface GetOGResponse {
3200
3248
  }
3201
3249
 
3202
3250
  export interface GetOrCreateFeedRequest {
3251
+ id_around?: string;
3252
+
3203
3253
  limit?: number;
3204
3254
 
3205
3255
  next?: string;
@@ -3212,6 +3262,8 @@ export interface GetOrCreateFeedRequest {
3212
3262
 
3213
3263
  data?: FeedInput;
3214
3264
 
3265
+ enrichment_options?: EnrichmentOptions;
3266
+
3215
3267
  external_ranking?: Record<string, any>;
3216
3268
 
3217
3269
  filter?: Record<string, any>;
@@ -3849,6 +3901,8 @@ export interface NotificationComment {
3849
3901
  }
3850
3902
 
3851
3903
  export interface NotificationConfig {
3904
+ deduplication_window?: string;
3905
+
3852
3906
  track_read?: boolean;
3853
3907
 
3854
3908
  track_seen?: boolean;
@@ -3914,6 +3968,8 @@ export interface NotificationTrigger {
3914
3968
  text: string;
3915
3969
 
3916
3970
  type: string;
3971
+
3972
+ comment?: NotificationComment;
3917
3973
  }
3918
3974
 
3919
3975
  export interface OCRRule {
@@ -5013,6 +5069,8 @@ export interface RuleBuilderCondition {
5013
5069
 
5014
5070
  content_count_rule_params?: ContentCountRuleParameters;
5015
5071
 
5072
+ content_flag_count_rule_params?: FlagCountRuleParameters;
5073
+
5016
5074
  image_content_params?: ImageContentParameters;
5017
5075
 
5018
5076
  image_rule_params?: ImageRuleParameters;
@@ -5025,6 +5083,8 @@ export interface RuleBuilderCondition {
5025
5083
 
5026
5084
  user_custom_property_params?: UserCustomPropertyParameters;
5027
5085
 
5086
+ user_flag_count_rule_params?: FlagCountRuleParameters;
5087
+
5028
5088
  user_rule_params?: UserRuleParameters;
5029
5089
 
5030
5090
  video_content_params?: VideoContentParameters;
@@ -5478,6 +5538,8 @@ export interface UpdateActivityRequest {
5478
5538
 
5479
5539
  restrict_replies?: 'everyone' | 'people_i_follow' | 'nobody';
5480
5540
 
5541
+ skip_enrich_url?: boolean;
5542
+
5481
5543
  text?: string;
5482
5544
 
5483
5545
  visibility?: string;
@@ -5568,6 +5630,8 @@ export interface UpdateCollectionsResponse {
5568
5630
  export interface UpdateCommentRequest {
5569
5631
  comment?: string;
5570
5632
 
5633
+ skip_enrich_url?: boolean;
5634
+
5571
5635
  skip_push?: boolean;
5572
5636
 
5573
5637
  custom?: Record<string, any>;