Skip to content

Commit a335669

Browse files
committed
Add activity_copy_limit for follow
1 parent d431ff2 commit a335669

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

src/gen/feeds/FeedsApi.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ export class FeedsApi {
309309
enrich_own_fields: request?.enrich_own_fields,
310310
include_expired_activities: request?.include_expired_activities,
311311
include_private_activities: request?.include_private_activities,
312+
include_soft_deleted_activities: request?.include_soft_deleted_activities,
312313
limit: request?.limit,
313314
next: request?.next,
314315
prev: request?.prev,
@@ -2257,6 +2258,7 @@ export class FeedsApi {
22572258
const body = {
22582259
source: request?.source,
22592260
target: request?.target,
2261+
activity_copy_limit: request?.activity_copy_limit,
22602262
copy_custom_to_notification: request?.copy_custom_to_notification,
22612263
create_notification_activity: request?.create_notification_activity,
22622264
enrich_own_fields: request?.enrich_own_fields,
@@ -2289,6 +2291,7 @@ export class FeedsApi {
22892291
const body = {
22902292
source: request?.source,
22912293
target: request?.target,
2294+
activity_copy_limit: request?.activity_copy_limit,
22922295
copy_custom_to_notification: request?.copy_custom_to_notification,
22932296
create_notification_activity: request?.create_notification_activity,
22942297
enrich_own_fields: request?.enrich_own_fields,

src/gen/models/index.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9997,6 +9997,11 @@ export interface FollowRequest {
99979997
*/
99989998
target: string;
99999999

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+
1000010005
/**
1000110006
* @deprecated
1000210007
* 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 {
1556915574

1557015575
include_private_activities?: boolean;
1557115576

15577+
/**
15578+
* When true, include soft-deleted activities in the result.
15579+
*/
15580+
include_soft_deleted_activities?: boolean;
15581+
1557215582
limit?: number;
1557315583

1557415584
next?: string;
@@ -22191,6 +22201,11 @@ export interface UpdateFollowRequest {
2219122201
*/
2219222202
target: string;
2219322203

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+
2219422209
/**
2219522210
* @deprecated
2219622211
* 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

0 commit comments

Comments
 (0)