@stream-io/node-sdk 0.7.53 → 0.7.54
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.
|
@@ -7015,6 +7015,10 @@ export interface FollowBatchRequest {
|
|
|
7015
7015
|
* List of follow relationships to create
|
|
7016
7016
|
*/
|
|
7017
7017
|
follows: FollowRequest[];
|
|
7018
|
+
/**
|
|
7019
|
+
* 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.
|
|
7020
|
+
*/
|
|
7021
|
+
create_users?: boolean;
|
|
7018
7022
|
/**
|
|
7019
7023
|
* 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.
|
|
7020
7024
|
*/
|
|
@@ -7083,6 +7087,10 @@ export interface FollowRequest {
|
|
|
7083
7087
|
* Whether to create a notification activity for this follow
|
|
7084
7088
|
*/
|
|
7085
7089
|
create_notification_activity?: boolean;
|
|
7090
|
+
/**
|
|
7091
|
+
* 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.
|
|
7092
|
+
*/
|
|
7093
|
+
create_users?: boolean;
|
|
7086
7094
|
/**
|
|
7087
7095
|
* 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.
|
|
7088
7096
|
*/
|
|
@@ -15546,6 +15554,10 @@ export interface UpdateFollowRequest {
|
|
|
15546
15554
|
* Whether to create a notification activity for this follow
|
|
15547
15555
|
*/
|
|
15548
15556
|
create_notification_activity?: boolean;
|
|
15557
|
+
/**
|
|
15558
|
+
* 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.
|
|
15559
|
+
*/
|
|
15560
|
+
create_users?: boolean;
|
|
15549
15561
|
/**
|
|
15550
15562
|
* 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.
|
|
15551
15563
|
*/
|
package/package.json
CHANGED
|
@@ -2376,6 +2376,7 @@ export class FeedsApi {
|
|
|
2376
2376
|
activity_copy_limit: request?.activity_copy_limit,
|
|
2377
2377
|
copy_custom_to_notification: request?.copy_custom_to_notification,
|
|
2378
2378
|
create_notification_activity: request?.create_notification_activity,
|
|
2379
|
+
create_users: request?.create_users,
|
|
2379
2380
|
enrich_own_fields: request?.enrich_own_fields,
|
|
2380
2381
|
follower_role: request?.follower_role,
|
|
2381
2382
|
push_preference: request?.push_preference,
|
|
@@ -2409,6 +2410,7 @@ export class FeedsApi {
|
|
|
2409
2410
|
activity_copy_limit: request?.activity_copy_limit,
|
|
2410
2411
|
copy_custom_to_notification: request?.copy_custom_to_notification,
|
|
2411
2412
|
create_notification_activity: request?.create_notification_activity,
|
|
2413
|
+
create_users: request?.create_users,
|
|
2412
2414
|
enrich_own_fields: request?.enrich_own_fields,
|
|
2413
2415
|
push_preference: request?.push_preference,
|
|
2414
2416
|
skip_push: request?.skip_push,
|
|
@@ -2462,6 +2464,7 @@ export class FeedsApi {
|
|
|
2462
2464
|
): Promise<StreamResponse<FollowBatchResponse>> {
|
|
2463
2465
|
const body = {
|
|
2464
2466
|
follows: request?.follows,
|
|
2467
|
+
create_users: request?.create_users,
|
|
2465
2468
|
enrich_own_fields: request?.enrich_own_fields,
|
|
2466
2469
|
};
|
|
2467
2470
|
|
|
@@ -2486,6 +2489,7 @@ export class FeedsApi {
|
|
|
2486
2489
|
): Promise<StreamResponse<FollowBatchResponse>> {
|
|
2487
2490
|
const body = {
|
|
2488
2491
|
follows: request?.follows,
|
|
2492
|
+
create_users: request?.create_users,
|
|
2489
2493
|
enrich_own_fields: request?.enrich_own_fields,
|
|
2490
2494
|
};
|
|
2491
2495
|
|
package/src/gen/models/index.ts
CHANGED
|
@@ -10048,6 +10048,11 @@ export interface FollowBatchRequest {
|
|
|
10048
10048
|
*/
|
|
10049
10049
|
follows: FollowRequest[];
|
|
10050
10050
|
|
|
10051
|
+
/**
|
|
10052
|
+
* 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.
|
|
10053
|
+
*/
|
|
10054
|
+
create_users?: boolean;
|
|
10055
|
+
|
|
10051
10056
|
/**
|
|
10052
10057
|
* 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.
|
|
10053
10058
|
*/
|
|
@@ -10139,6 +10144,11 @@ export interface FollowRequest {
|
|
|
10139
10144
|
*/
|
|
10140
10145
|
create_notification_activity?: boolean;
|
|
10141
10146
|
|
|
10147
|
+
/**
|
|
10148
|
+
* 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.
|
|
10149
|
+
*/
|
|
10150
|
+
create_users?: boolean;
|
|
10151
|
+
|
|
10142
10152
|
/**
|
|
10143
10153
|
* 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.
|
|
10144
10154
|
*/
|
|
@@ -22480,6 +22490,11 @@ export interface UpdateFollowRequest {
|
|
|
22480
22490
|
*/
|
|
22481
22491
|
create_notification_activity?: boolean;
|
|
22482
22492
|
|
|
22493
|
+
/**
|
|
22494
|
+
* 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.
|
|
22495
|
+
*/
|
|
22496
|
+
create_users?: boolean;
|
|
22497
|
+
|
|
22483
22498
|
/**
|
|
22484
22499
|
* 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.
|
|
22485
22500
|
*/
|