diff --git a/src/gen/feeds/FeedsApi.ts b/src/gen/feeds/FeedsApi.ts index fb4c39a..2f0f7bb 100644 --- a/src/gen/feeds/FeedsApi.ts +++ b/src/gen/feeds/FeedsApi.ts @@ -2376,6 +2376,7 @@ export class FeedsApi { activity_copy_limit: request?.activity_copy_limit, copy_custom_to_notification: request?.copy_custom_to_notification, create_notification_activity: request?.create_notification_activity, + create_users: request?.create_users, enrich_own_fields: request?.enrich_own_fields, follower_role: request?.follower_role, push_preference: request?.push_preference, @@ -2409,6 +2410,7 @@ export class FeedsApi { activity_copy_limit: request?.activity_copy_limit, copy_custom_to_notification: request?.copy_custom_to_notification, create_notification_activity: request?.create_notification_activity, + create_users: request?.create_users, enrich_own_fields: request?.enrich_own_fields, push_preference: request?.push_preference, skip_push: request?.skip_push, @@ -2462,6 +2464,7 @@ export class FeedsApi { ): Promise> { const body = { follows: request?.follows, + create_users: request?.create_users, enrich_own_fields: request?.enrich_own_fields, }; @@ -2486,6 +2489,7 @@ export class FeedsApi { ): Promise> { const body = { follows: request?.follows, + create_users: request?.create_users, enrich_own_fields: request?.enrich_own_fields, }; diff --git a/src/gen/models/index.ts b/src/gen/models/index.ts index 33df0bc..5b19c02 100644 --- a/src/gen/models/index.ts +++ b/src/gen/models/index.ts @@ -10048,6 +10048,11 @@ export interface FollowBatchRequest { */ follows: FollowRequest[]; + /** + * If true, auto-creates users referenced by source/target FIDs in the batch when they don't already exist. Server-side only. Defaults to false. This top-level field is the only supported batch/upsert create_users control. + */ + create_users?: boolean; + /** * If true, enriches the follow's source_feed and target_feed with own_* fields (own_follows, own_followings, own_capabilities, own_membership). Defaults to false for performance. */ @@ -10139,6 +10144,11 @@ export interface FollowRequest { */ create_notification_activity?: boolean; + /** + * If true, auto-creates users referenced by the source and target FIDs when they don't already exist. Server-side only. Defaults to false. For FollowBatch/GetOrCreateFollows, use the top-level create_users field; per-item follows[i].create_users is rejected. + */ + create_users?: boolean; + /** * If true, enriches the follow's source_feed and target_feed with own_* fields (own_follows, own_followings, own_capabilities, own_membership). Defaults to false for performance. */ @@ -22480,6 +22490,11 @@ export interface UpdateFollowRequest { */ create_notification_activity?: boolean; + /** + * If true, auto-creates users referenced by the source and target FIDs when they don't already exist. Server-side only. Defaults to false. For FollowBatch/GetOrCreateFollows, use the top-level create_users field; per-item follows[i].create_users is rejected. + */ + create_users?: boolean; + /** * If true, enriches the follow's source_feed and target_feed with own_* fields (own_follows, own_followings, own_capabilities, own_membership). Defaults to false for performance. */