@stream-io/feeds-client 0.3.13 → 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stream-io/feeds-client",
3
- "version": "0.3.13",
3
+ "version": "0.3.14",
4
4
  "packageManager": "yarn@3.2.4",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/es/index.mjs",
@@ -1281,12 +1281,14 @@ export class FeedsApi {
1281
1281
  feed_id: request?.feed_id,
1282
1282
  };
1283
1283
  const body = {
1284
+ id_around: request?.id_around,
1284
1285
  limit: request?.limit,
1285
1286
  next: request?.next,
1286
1287
  prev: request?.prev,
1287
1288
  view: request?.view,
1288
1289
  watch: request?.watch,
1289
1290
  data: request?.data,
1291
+ enrichment_options: request?.enrichment_options,
1290
1292
  external_ranking: request?.external_ranking,
1291
1293
  filter: request?.filter,
1292
1294
  followers_pagination: request?.followers_pagination,
@@ -2412,6 +2412,42 @@ export interface EnrichedReaction {
2412
2412
  user?: Data;
2413
2413
  }
2414
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
+
2415
2451
  export interface EntityCreatorResponse {
2416
2452
  ban_count: number;
2417
2453
 
@@ -2905,6 +2941,10 @@ export interface FilterConfigResponse {
2905
2941
  ai_text_labels?: string[];
2906
2942
  }
2907
2943
 
2944
+ export interface FlagCountRuleParameters {
2945
+ threshold?: number;
2946
+ }
2947
+
2908
2948
  export interface FlagRequest {
2909
2949
  entity_id: string;
2910
2950
 
@@ -3208,6 +3248,8 @@ export interface GetOGResponse {
3208
3248
  }
3209
3249
 
3210
3250
  export interface GetOrCreateFeedRequest {
3251
+ id_around?: string;
3252
+
3211
3253
  limit?: number;
3212
3254
 
3213
3255
  next?: string;
@@ -3220,6 +3262,8 @@ export interface GetOrCreateFeedRequest {
3220
3262
 
3221
3263
  data?: FeedInput;
3222
3264
 
3265
+ enrichment_options?: EnrichmentOptions;
3266
+
3223
3267
  external_ranking?: Record<string, any>;
3224
3268
 
3225
3269
  filter?: Record<string, any>;
@@ -3924,6 +3968,8 @@ export interface NotificationTrigger {
3924
3968
  text: string;
3925
3969
 
3926
3970
  type: string;
3971
+
3972
+ comment?: NotificationComment;
3927
3973
  }
3928
3974
 
3929
3975
  export interface OCRRule {
@@ -5023,6 +5069,8 @@ export interface RuleBuilderCondition {
5023
5069
 
5024
5070
  content_count_rule_params?: ContentCountRuleParameters;
5025
5071
 
5072
+ content_flag_count_rule_params?: FlagCountRuleParameters;
5073
+
5026
5074
  image_content_params?: ImageContentParameters;
5027
5075
 
5028
5076
  image_rule_params?: ImageRuleParameters;
@@ -5035,6 +5083,8 @@ export interface RuleBuilderCondition {
5035
5083
 
5036
5084
  user_custom_property_params?: UserCustomPropertyParameters;
5037
5085
 
5086
+ user_flag_count_rule_params?: FlagCountRuleParameters;
5087
+
5038
5088
  user_rule_params?: UserRuleParameters;
5039
5089
 
5040
5090
  video_content_params?: VideoContentParameters;