@stream-io/node-sdk 0.7.53 → 0.7.55
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 +11 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +11 -1
- package/dist/index.es.mjs.map +1 -1
- package/dist/src/gen/models/index.d.ts +27 -0
- package/package.json +1 -1
- package/src/gen/feeds/FeedsApi.ts +10 -0
- package/src/gen/models/index.ts +40 -0
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.55",
|
|
7959
7959
|
'Accept-Encoding': 'gzip',
|
|
7960
7960
|
'x-client-request-id': clientRequestId,
|
|
7961
7961
|
};
|
|
@@ -8725,6 +8725,7 @@ class FeedsApi {
|
|
|
8725
8725
|
default_visibility: request?.default_visibility,
|
|
8726
8726
|
activity_processors: request?.activity_processors,
|
|
8727
8727
|
activity_selectors: request?.activity_selectors,
|
|
8728
|
+
activity_filter: request?.activity_filter,
|
|
8728
8729
|
aggregation: request?.aggregation,
|
|
8729
8730
|
custom: request?.custom,
|
|
8730
8731
|
notification: request?.notification,
|
|
@@ -8967,6 +8968,7 @@ class FeedsApi {
|
|
|
8967
8968
|
default_visibility: request?.default_visibility,
|
|
8968
8969
|
activity_processors: request?.activity_processors,
|
|
8969
8970
|
activity_selectors: request?.activity_selectors,
|
|
8971
|
+
activity_filter: request?.activity_filter,
|
|
8970
8972
|
aggregation: request?.aggregation,
|
|
8971
8973
|
custom: request?.custom,
|
|
8972
8974
|
notification: request?.notification,
|
|
@@ -8986,6 +8988,7 @@ class FeedsApi {
|
|
|
8986
8988
|
default_visibility: request?.default_visibility,
|
|
8987
8989
|
activity_processors: request?.activity_processors,
|
|
8988
8990
|
activity_selectors: request?.activity_selectors,
|
|
8991
|
+
activity_filter: request?.activity_filter,
|
|
8989
8992
|
aggregation: request?.aggregation,
|
|
8990
8993
|
custom: request?.custom,
|
|
8991
8994
|
notification: request?.notification,
|
|
@@ -9006,6 +9009,7 @@ class FeedsApi {
|
|
|
9006
9009
|
const body = {
|
|
9007
9010
|
id: request?.id,
|
|
9008
9011
|
activity_selectors: request?.activity_selectors,
|
|
9012
|
+
activity_filter: request?.activity_filter,
|
|
9009
9013
|
aggregation: request?.aggregation,
|
|
9010
9014
|
ranking: request?.ranking,
|
|
9011
9015
|
};
|
|
@@ -9035,6 +9039,7 @@ class FeedsApi {
|
|
|
9035
9039
|
};
|
|
9036
9040
|
const body = {
|
|
9037
9041
|
activity_selectors: request?.activity_selectors,
|
|
9042
|
+
activity_filter: request?.activity_filter,
|
|
9038
9043
|
aggregation: request?.aggregation,
|
|
9039
9044
|
ranking: request?.ranking,
|
|
9040
9045
|
};
|
|
@@ -9048,6 +9053,7 @@ class FeedsApi {
|
|
|
9048
9053
|
};
|
|
9049
9054
|
const body = {
|
|
9050
9055
|
activity_selectors: request?.activity_selectors,
|
|
9056
|
+
activity_filter: request?.activity_filter,
|
|
9051
9057
|
aggregation: request?.aggregation,
|
|
9052
9058
|
ranking: request?.ranking,
|
|
9053
9059
|
};
|
|
@@ -9141,6 +9147,7 @@ class FeedsApi {
|
|
|
9141
9147
|
activity_copy_limit: request?.activity_copy_limit,
|
|
9142
9148
|
copy_custom_to_notification: request?.copy_custom_to_notification,
|
|
9143
9149
|
create_notification_activity: request?.create_notification_activity,
|
|
9150
|
+
create_users: request?.create_users,
|
|
9144
9151
|
enrich_own_fields: request?.enrich_own_fields,
|
|
9145
9152
|
follower_role: request?.follower_role,
|
|
9146
9153
|
push_preference: request?.push_preference,
|
|
@@ -9159,6 +9166,7 @@ class FeedsApi {
|
|
|
9159
9166
|
activity_copy_limit: request?.activity_copy_limit,
|
|
9160
9167
|
copy_custom_to_notification: request?.copy_custom_to_notification,
|
|
9161
9168
|
create_notification_activity: request?.create_notification_activity,
|
|
9169
|
+
create_users: request?.create_users,
|
|
9162
9170
|
enrich_own_fields: request?.enrich_own_fields,
|
|
9163
9171
|
push_preference: request?.push_preference,
|
|
9164
9172
|
skip_push: request?.skip_push,
|
|
@@ -9182,6 +9190,7 @@ class FeedsApi {
|
|
|
9182
9190
|
async followBatch(request) {
|
|
9183
9191
|
const body = {
|
|
9184
9192
|
follows: request?.follows,
|
|
9193
|
+
create_users: request?.create_users,
|
|
9185
9194
|
enrich_own_fields: request?.enrich_own_fields,
|
|
9186
9195
|
};
|
|
9187
9196
|
const response = await this.apiClient.sendRequest('POST', '/api/v2/feeds/follows/batch', undefined, undefined, body, 'application/json');
|
|
@@ -9191,6 +9200,7 @@ class FeedsApi {
|
|
|
9191
9200
|
async getOrCreateFollows(request) {
|
|
9192
9201
|
const body = {
|
|
9193
9202
|
follows: request?.follows,
|
|
9203
|
+
create_users: request?.create_users,
|
|
9194
9204
|
enrich_own_fields: request?.enrich_own_fields,
|
|
9195
9205
|
};
|
|
9196
9206
|
const response = await this.apiClient.sendRequest('POST', '/api/v2/feeds/follows/batch/upsert', undefined, undefined, body, 'application/json');
|