@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.
package/dist/index.cjs.js
CHANGED
|
@@ -7955,7 +7955,7 @@ class ApiClient {
|
|
|
7955
7955
|
const headers = {
|
|
7956
7956
|
Authorization: this.apiConfig.token,
|
|
7957
7957
|
'stream-auth-type': 'jwt',
|
|
7958
|
-
'X-Stream-Client': 'stream-node-' + "0.7.
|
|
7958
|
+
'X-Stream-Client': 'stream-node-' + "0.7.54",
|
|
7959
7959
|
'Accept-Encoding': 'gzip',
|
|
7960
7960
|
'x-client-request-id': clientRequestId,
|
|
7961
7961
|
};
|
|
@@ -9141,6 +9141,7 @@ class FeedsApi {
|
|
|
9141
9141
|
activity_copy_limit: request?.activity_copy_limit,
|
|
9142
9142
|
copy_custom_to_notification: request?.copy_custom_to_notification,
|
|
9143
9143
|
create_notification_activity: request?.create_notification_activity,
|
|
9144
|
+
create_users: request?.create_users,
|
|
9144
9145
|
enrich_own_fields: request?.enrich_own_fields,
|
|
9145
9146
|
follower_role: request?.follower_role,
|
|
9146
9147
|
push_preference: request?.push_preference,
|
|
@@ -9159,6 +9160,7 @@ class FeedsApi {
|
|
|
9159
9160
|
activity_copy_limit: request?.activity_copy_limit,
|
|
9160
9161
|
copy_custom_to_notification: request?.copy_custom_to_notification,
|
|
9161
9162
|
create_notification_activity: request?.create_notification_activity,
|
|
9163
|
+
create_users: request?.create_users,
|
|
9162
9164
|
enrich_own_fields: request?.enrich_own_fields,
|
|
9163
9165
|
push_preference: request?.push_preference,
|
|
9164
9166
|
skip_push: request?.skip_push,
|
|
@@ -9182,6 +9184,7 @@ class FeedsApi {
|
|
|
9182
9184
|
async followBatch(request) {
|
|
9183
9185
|
const body = {
|
|
9184
9186
|
follows: request?.follows,
|
|
9187
|
+
create_users: request?.create_users,
|
|
9185
9188
|
enrich_own_fields: request?.enrich_own_fields,
|
|
9186
9189
|
};
|
|
9187
9190
|
const response = await this.apiClient.sendRequest('POST', '/api/v2/feeds/follows/batch', undefined, undefined, body, 'application/json');
|
|
@@ -9191,6 +9194,7 @@ class FeedsApi {
|
|
|
9191
9194
|
async getOrCreateFollows(request) {
|
|
9192
9195
|
const body = {
|
|
9193
9196
|
follows: request?.follows,
|
|
9197
|
+
create_users: request?.create_users,
|
|
9194
9198
|
enrich_own_fields: request?.enrich_own_fields,
|
|
9195
9199
|
};
|
|
9196
9200
|
const response = await this.apiClient.sendRequest('POST', '/api/v2/feeds/follows/batch/upsert', undefined, undefined, body, 'application/json');
|