@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.es.mjs
CHANGED
|
@@ -7936,7 +7936,7 @@ class ApiClient {
|
|
|
7936
7936
|
const headers = {
|
|
7937
7937
|
Authorization: this.apiConfig.token,
|
|
7938
7938
|
'stream-auth-type': 'jwt',
|
|
7939
|
-
'X-Stream-Client': 'stream-node-' + "0.7.
|
|
7939
|
+
'X-Stream-Client': 'stream-node-' + "0.7.54",
|
|
7940
7940
|
'Accept-Encoding': 'gzip',
|
|
7941
7941
|
'x-client-request-id': clientRequestId,
|
|
7942
7942
|
};
|
|
@@ -9122,6 +9122,7 @@ class FeedsApi {
|
|
|
9122
9122
|
activity_copy_limit: request?.activity_copy_limit,
|
|
9123
9123
|
copy_custom_to_notification: request?.copy_custom_to_notification,
|
|
9124
9124
|
create_notification_activity: request?.create_notification_activity,
|
|
9125
|
+
create_users: request?.create_users,
|
|
9125
9126
|
enrich_own_fields: request?.enrich_own_fields,
|
|
9126
9127
|
follower_role: request?.follower_role,
|
|
9127
9128
|
push_preference: request?.push_preference,
|
|
@@ -9140,6 +9141,7 @@ class FeedsApi {
|
|
|
9140
9141
|
activity_copy_limit: request?.activity_copy_limit,
|
|
9141
9142
|
copy_custom_to_notification: request?.copy_custom_to_notification,
|
|
9142
9143
|
create_notification_activity: request?.create_notification_activity,
|
|
9144
|
+
create_users: request?.create_users,
|
|
9143
9145
|
enrich_own_fields: request?.enrich_own_fields,
|
|
9144
9146
|
push_preference: request?.push_preference,
|
|
9145
9147
|
skip_push: request?.skip_push,
|
|
@@ -9163,6 +9165,7 @@ class FeedsApi {
|
|
|
9163
9165
|
async followBatch(request) {
|
|
9164
9166
|
const body = {
|
|
9165
9167
|
follows: request?.follows,
|
|
9168
|
+
create_users: request?.create_users,
|
|
9166
9169
|
enrich_own_fields: request?.enrich_own_fields,
|
|
9167
9170
|
};
|
|
9168
9171
|
const response = await this.apiClient.sendRequest('POST', '/api/v2/feeds/follows/batch', undefined, undefined, body, 'application/json');
|
|
@@ -9172,6 +9175,7 @@ class FeedsApi {
|
|
|
9172
9175
|
async getOrCreateFollows(request) {
|
|
9173
9176
|
const body = {
|
|
9174
9177
|
follows: request?.follows,
|
|
9178
|
+
create_users: request?.create_users,
|
|
9175
9179
|
enrich_own_fields: request?.enrich_own_fields,
|
|
9176
9180
|
};
|
|
9177
9181
|
const response = await this.apiClient.sendRequest('POST', '/api/v2/feeds/follows/batch/upsert', undefined, undefined, body, 'application/json');
|