@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.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.55",
|
|
7940
7940
|
'Accept-Encoding': 'gzip',
|
|
7941
7941
|
'x-client-request-id': clientRequestId,
|
|
7942
7942
|
};
|
|
@@ -8706,6 +8706,7 @@ class FeedsApi {
|
|
|
8706
8706
|
default_visibility: request?.default_visibility,
|
|
8707
8707
|
activity_processors: request?.activity_processors,
|
|
8708
8708
|
activity_selectors: request?.activity_selectors,
|
|
8709
|
+
activity_filter: request?.activity_filter,
|
|
8709
8710
|
aggregation: request?.aggregation,
|
|
8710
8711
|
custom: request?.custom,
|
|
8711
8712
|
notification: request?.notification,
|
|
@@ -8948,6 +8949,7 @@ class FeedsApi {
|
|
|
8948
8949
|
default_visibility: request?.default_visibility,
|
|
8949
8950
|
activity_processors: request?.activity_processors,
|
|
8950
8951
|
activity_selectors: request?.activity_selectors,
|
|
8952
|
+
activity_filter: request?.activity_filter,
|
|
8951
8953
|
aggregation: request?.aggregation,
|
|
8952
8954
|
custom: request?.custom,
|
|
8953
8955
|
notification: request?.notification,
|
|
@@ -8967,6 +8969,7 @@ class FeedsApi {
|
|
|
8967
8969
|
default_visibility: request?.default_visibility,
|
|
8968
8970
|
activity_processors: request?.activity_processors,
|
|
8969
8971
|
activity_selectors: request?.activity_selectors,
|
|
8972
|
+
activity_filter: request?.activity_filter,
|
|
8970
8973
|
aggregation: request?.aggregation,
|
|
8971
8974
|
custom: request?.custom,
|
|
8972
8975
|
notification: request?.notification,
|
|
@@ -8987,6 +8990,7 @@ class FeedsApi {
|
|
|
8987
8990
|
const body = {
|
|
8988
8991
|
id: request?.id,
|
|
8989
8992
|
activity_selectors: request?.activity_selectors,
|
|
8993
|
+
activity_filter: request?.activity_filter,
|
|
8990
8994
|
aggregation: request?.aggregation,
|
|
8991
8995
|
ranking: request?.ranking,
|
|
8992
8996
|
};
|
|
@@ -9016,6 +9020,7 @@ class FeedsApi {
|
|
|
9016
9020
|
};
|
|
9017
9021
|
const body = {
|
|
9018
9022
|
activity_selectors: request?.activity_selectors,
|
|
9023
|
+
activity_filter: request?.activity_filter,
|
|
9019
9024
|
aggregation: request?.aggregation,
|
|
9020
9025
|
ranking: request?.ranking,
|
|
9021
9026
|
};
|
|
@@ -9029,6 +9034,7 @@ class FeedsApi {
|
|
|
9029
9034
|
};
|
|
9030
9035
|
const body = {
|
|
9031
9036
|
activity_selectors: request?.activity_selectors,
|
|
9037
|
+
activity_filter: request?.activity_filter,
|
|
9032
9038
|
aggregation: request?.aggregation,
|
|
9033
9039
|
ranking: request?.ranking,
|
|
9034
9040
|
};
|
|
@@ -9122,6 +9128,7 @@ class FeedsApi {
|
|
|
9122
9128
|
activity_copy_limit: request?.activity_copy_limit,
|
|
9123
9129
|
copy_custom_to_notification: request?.copy_custom_to_notification,
|
|
9124
9130
|
create_notification_activity: request?.create_notification_activity,
|
|
9131
|
+
create_users: request?.create_users,
|
|
9125
9132
|
enrich_own_fields: request?.enrich_own_fields,
|
|
9126
9133
|
follower_role: request?.follower_role,
|
|
9127
9134
|
push_preference: request?.push_preference,
|
|
@@ -9140,6 +9147,7 @@ class FeedsApi {
|
|
|
9140
9147
|
activity_copy_limit: request?.activity_copy_limit,
|
|
9141
9148
|
copy_custom_to_notification: request?.copy_custom_to_notification,
|
|
9142
9149
|
create_notification_activity: request?.create_notification_activity,
|
|
9150
|
+
create_users: request?.create_users,
|
|
9143
9151
|
enrich_own_fields: request?.enrich_own_fields,
|
|
9144
9152
|
push_preference: request?.push_preference,
|
|
9145
9153
|
skip_push: request?.skip_push,
|
|
@@ -9163,6 +9171,7 @@ class FeedsApi {
|
|
|
9163
9171
|
async followBatch(request) {
|
|
9164
9172
|
const body = {
|
|
9165
9173
|
follows: request?.follows,
|
|
9174
|
+
create_users: request?.create_users,
|
|
9166
9175
|
enrich_own_fields: request?.enrich_own_fields,
|
|
9167
9176
|
};
|
|
9168
9177
|
const response = await this.apiClient.sendRequest('POST', '/api/v2/feeds/follows/batch', undefined, undefined, body, 'application/json');
|
|
@@ -9172,6 +9181,7 @@ class FeedsApi {
|
|
|
9172
9181
|
async getOrCreateFollows(request) {
|
|
9173
9182
|
const body = {
|
|
9174
9183
|
follows: request?.follows,
|
|
9184
|
+
create_users: request?.create_users,
|
|
9175
9185
|
enrich_own_fields: request?.enrich_own_fields,
|
|
9176
9186
|
};
|
|
9177
9187
|
const response = await this.apiClient.sendRequest('POST', '/api/v2/feeds/follows/batch/upsert', undefined, undefined, body, 'application/json');
|