diff --git a/src/gen/feeds/FeedApi.ts b/src/gen/feeds/FeedApi.ts index 42d91cc..a62b2a1 100644 --- a/src/gen/feeds/FeedApi.ts +++ b/src/gen/feeds/FeedApi.ts @@ -31,6 +31,7 @@ export class FeedApi { delete(request?: { hard_delete?: boolean; + purge_user_activities?: boolean; }): Promise> { return this.feedsApi.deleteFeed({ feed_id: this.id, diff --git a/src/gen/feeds/FeedsApi.ts b/src/gen/feeds/FeedsApi.ts index 7b3f246..2fe91ab 100644 --- a/src/gen/feeds/FeedsApi.ts +++ b/src/gen/feeds/FeedsApi.ts @@ -1545,9 +1545,11 @@ export class FeedsApi { feed_group_id: string; feed_id: string; hard_delete?: boolean; + purge_user_activities?: boolean; }): Promise> { const queryParams = { hard_delete: request?.hard_delete, + purge_user_activities: request?.purge_user_activities, }; const pathParams = { feed_group_id: request?.feed_group_id, @@ -2275,6 +2277,7 @@ export class FeedsApi { const body = { feeds: request?.feeds, hard_delete: request?.hard_delete, + purge_user_activities: request?.purge_user_activities, }; const response = await this.apiClient.sendRequest< diff --git a/src/gen/models/index.ts b/src/gen/models/index.ts index efcad90..27e95de 100644 --- a/src/gen/models/index.ts +++ b/src/gen/models/index.ts @@ -1041,7 +1041,7 @@ export interface ActivitySelectorConfig { cutoff_window?: string; /** - * Minimum popularity threshold + * Minimum popularity threshold. For the 'popular' selector, omit to use the default (5); values below 1 are rejected */ min_popularity?: number; @@ -1083,7 +1083,7 @@ export interface ActivitySelectorConfigResponse { cutoff_window?: string; /** - * Minimum popularity threshold + * Minimum popularity threshold. For the 'popular' selector, values below 1 are normalized to the default (5) at read time. */ min_popularity?: number; @@ -1656,6 +1656,8 @@ export interface AppResponseFields { enforce_unique_usernames: string; + feed_audit_logs_enabled: boolean; + guest_user_creation_disabled: boolean; id: number; @@ -7896,6 +7898,11 @@ export interface DeleteFeedsBatchRequest { * Whether to permanently delete the feeds instead of soft delete */ hard_delete?: boolean; + + /** + * When hard-deleting, also fully delete activities authored by each feed's owner from every other feed those activities were fanned out to. Default false preserves existing fan-out. Requires 'hard_delete' to be true; the request is rejected otherwise. Feeds with no recorded owner (created_by_id is empty) are silently skipped for the purge step — owner-matching against an empty string is a safety guard, not a wildcard. + */ + purge_user_activities?: boolean; } export interface DeleteFeedsBatchResponse {