@stream-io/node-sdk 0.7.50 → 0.7.51

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.
@@ -6987,6 +6987,10 @@ export interface FollowRequest {
6987
6987
  * Fully qualified ID of the target feed
6988
6988
  */
6989
6989
  target: string;
6990
+ /**
6991
+ * Maximum number of historical activities to copy from the target feed when the follow is first materialized. Not set = unlimited (default). 0 = copy nothing. Range: 0-1000.
6992
+ */
6993
+ activity_copy_limit?: number;
6990
6994
  /**
6991
6995
  * @deprecated
6992
6996
  * Whether to copy custom data to the notification activity (only applies when create_notification_activity is true) Deprecated: use notification_context.trigger.custom and notification_context.target.custom instead
@@ -10832,6 +10836,10 @@ export interface QueryActivitiesRequest {
10832
10836
  */
10833
10837
  include_expired_activities?: boolean;
10834
10838
  include_private_activities?: boolean;
10839
+ /**
10840
+ * When true, include soft-deleted activities in the result.
10841
+ */
10842
+ include_soft_deleted_activities?: boolean;
10835
10843
  limit?: number;
10836
10844
  next?: string;
10837
10845
  prev?: string;
@@ -15342,6 +15350,10 @@ export interface UpdateFollowRequest {
15342
15350
  * Fully qualified ID of the target feed
15343
15351
  */
15344
15352
  target: string;
15353
+ /**
15354
+ * Maximum number of historical activities to copy from the target feed when the follow is first materialized. Not set = unlimited (default). 0 = copy nothing. Range: 0-1000.
15355
+ */
15356
+ activity_copy_limit?: number;
15345
15357
  /**
15346
15358
  * @deprecated
15347
15359
  * Whether to copy custom data to the notification activity (only applies when create_notification_activity is true) Deprecated: use notification_context.trigger.custom and notification_context.target.custom instead
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stream-io/node-sdk",
3
- "version": "0.7.50",
3
+ "version": "0.7.51",
4
4
  "description": "",
5
5
  "exports": {
6
6
  ".": {
@@ -309,6 +309,7 @@ export class FeedsApi {
309
309
  enrich_own_fields: request?.enrich_own_fields,
310
310
  include_expired_activities: request?.include_expired_activities,
311
311
  include_private_activities: request?.include_private_activities,
312
+ include_soft_deleted_activities: request?.include_soft_deleted_activities,
312
313
  limit: request?.limit,
313
314
  next: request?.next,
314
315
  prev: request?.prev,
@@ -2257,6 +2258,7 @@ export class FeedsApi {
2257
2258
  const body = {
2258
2259
  source: request?.source,
2259
2260
  target: request?.target,
2261
+ activity_copy_limit: request?.activity_copy_limit,
2260
2262
  copy_custom_to_notification: request?.copy_custom_to_notification,
2261
2263
  create_notification_activity: request?.create_notification_activity,
2262
2264
  enrich_own_fields: request?.enrich_own_fields,
@@ -2289,6 +2291,7 @@ export class FeedsApi {
2289
2291
  const body = {
2290
2292
  source: request?.source,
2291
2293
  target: request?.target,
2294
+ activity_copy_limit: request?.activity_copy_limit,
2292
2295
  copy_custom_to_notification: request?.copy_custom_to_notification,
2293
2296
  create_notification_activity: request?.create_notification_activity,
2294
2297
  enrich_own_fields: request?.enrich_own_fields,
@@ -9997,6 +9997,11 @@ export interface FollowRequest {
9997
9997
  */
9998
9998
  target: string;
9999
9999
 
10000
+ /**
10001
+ * Maximum number of historical activities to copy from the target feed when the follow is first materialized. Not set = unlimited (default). 0 = copy nothing. Range: 0-1000.
10002
+ */
10003
+ activity_copy_limit?: number;
10004
+
10000
10005
  /**
10001
10006
  * @deprecated
10002
10007
  * Whether to copy custom data to the notification activity (only applies when create_notification_activity is true) Deprecated: use notification_context.trigger.custom and notification_context.target.custom instead
@@ -15569,6 +15574,11 @@ export interface QueryActivitiesRequest {
15569
15574
 
15570
15575
  include_private_activities?: boolean;
15571
15576
 
15577
+ /**
15578
+ * When true, include soft-deleted activities in the result.
15579
+ */
15580
+ include_soft_deleted_activities?: boolean;
15581
+
15572
15582
  limit?: number;
15573
15583
 
15574
15584
  next?: string;
@@ -22191,6 +22201,11 @@ export interface UpdateFollowRequest {
22191
22201
  */
22192
22202
  target: string;
22193
22203
 
22204
+ /**
22205
+ * Maximum number of historical activities to copy from the target feed when the follow is first materialized. Not set = unlimited (default). 0 = copy nothing. Range: 0-1000.
22206
+ */
22207
+ activity_copy_limit?: number;
22208
+
22194
22209
  /**
22195
22210
  * @deprecated
22196
22211
  * Whether to copy custom data to the notification activity (only applies when create_notification_activity is true) Deprecated: use notification_context.trigger.custom and notification_context.target.custom instead