Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/gen/feeds/FeedsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -2462,6 +2464,7 @@ export class FeedsApi {
): Promise<StreamResponse<FollowBatchResponse>> {
const body = {
follows: request?.follows,
create_users: request?.create_users,
enrich_own_fields: request?.enrich_own_fields,
};

Expand All @@ -2486,6 +2489,7 @@ export class FeedsApi {
): Promise<StreamResponse<FollowBatchResponse>> {
const body = {
follows: request?.follows,
create_users: request?.create_users,
enrich_own_fields: request?.enrich_own_fields,
};

Expand Down
15 changes: 15 additions & 0 deletions src/gen/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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.
*/
Expand Down
Loading