@stream-io/node-sdk 0.8.4 → 0.8.6
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/CHANGELOG.md +14 -0
- package/dist/index.cjs.js +18 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +18 -2
- package/dist/index.es.mjs.map +1 -1
- package/dist/src/gen/chat/ChatApi.d.ts +2 -2
- package/dist/src/gen/models/index.d.ts +87 -7
- package/package.json +1 -1
- package/src/gen/chat/ChatApi.ts +6 -3
- package/src/gen/common/CommonApi.ts +2 -0
- package/src/gen/feeds/FeedsApi.ts +3 -0
- package/src/gen/model-decoders/decoders.ts +9 -0
- package/src/gen/models/index.ts +115 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.8.6](https://github.com/GetStream/stream-node/compare/v0.8.5...v0.8.6) (2026-09-07)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **feeds:** regenerate for the activity selector feed_groups scope ([#344](https://github.com/GetStream/stream-node/issues/344)) ([02fbab6](https://github.com/GetStream/stream-node/commit/02fbab614872d8109e4f85fbe98fdc60474077c0))
|
|
9
|
+
|
|
10
|
+
## [0.8.5](https://github.com/GetStream/stream-node/compare/v0.8.4...v0.8.5) (2026-09-04)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* Bounded tag vocabulary for activity processors (constrain LLM auto-ta… ([#345](https://github.com/GetStream/stream-node/issues/345)) ([4205d5a](https://github.com/GetStream/stream-node/commit/4205d5a3dbd3ab4c1dc7220ae9eacdf3c2695315))
|
|
16
|
+
|
|
3
17
|
## [0.8.4](https://github.com/GetStream/stream-node/compare/v0.8.3...v0.8.4) (2026-09-01)
|
|
4
18
|
|
|
5
19
|
|
package/dist/index.cjs.js
CHANGED
|
@@ -5259,6 +5259,10 @@ decoders["ModerationFlagResponse"] = (input) => {
|
|
|
5259
5259
|
type: "DatetimeType",
|
|
5260
5260
|
isSingle: true
|
|
5261
5261
|
},
|
|
5262
|
+
content_published_at: {
|
|
5263
|
+
type: "DatetimeType",
|
|
5264
|
+
isSingle: true
|
|
5265
|
+
},
|
|
5262
5266
|
review_queue_item: {
|
|
5263
5267
|
type: "ReviewQueueItemResponse",
|
|
5264
5268
|
isSingle: true
|
|
@@ -7223,6 +7227,12 @@ decoders["TranslateCommentResponse"] = (input) => {
|
|
|
7223
7227
|
isSingle: true
|
|
7224
7228
|
} }, input);
|
|
7225
7229
|
};
|
|
7230
|
+
decoders["TranslateMessageResponse"] = (input) => {
|
|
7231
|
+
return decode({ message: {
|
|
7232
|
+
type: "MessageResponse",
|
|
7233
|
+
isSingle: true
|
|
7234
|
+
} }, input);
|
|
7235
|
+
};
|
|
7226
7236
|
decoders["TruncateChannelResponse"] = (input) => {
|
|
7227
7237
|
return decode({
|
|
7228
7238
|
channel: {
|
|
@@ -8136,6 +8146,7 @@ var CommonApi = class {
|
|
|
8136
8146
|
max_aggregated_activities_length: request?.max_aggregated_activities_length,
|
|
8137
8147
|
member_custom_on_mentioned_users_enabled: request?.member_custom_on_mentioned_users_enabled,
|
|
8138
8148
|
member_custom_on_messages_enabled: request?.member_custom_on_messages_enabled,
|
|
8149
|
+
member_custom_on_typing_events_enabled: request?.member_custom_on_typing_events_enabled,
|
|
8139
8150
|
migrate_permissions_to_v2: request?.migrate_permissions_to_v2,
|
|
8140
8151
|
moderation_analytics_enabled: request?.moderation_analytics_enabled,
|
|
8141
8152
|
moderation_enabled: request?.moderation_enabled,
|
|
@@ -10789,7 +10800,9 @@ var ChatApi = class {
|
|
|
10789
10800
|
const body = {
|
|
10790
10801
|
operation: request?.operation,
|
|
10791
10802
|
filter: request?.filter,
|
|
10803
|
+
custom_unset: request?.custom_unset,
|
|
10792
10804
|
members: request?.members,
|
|
10805
|
+
custom_set: request?.custom_set,
|
|
10793
10806
|
data: request?.data
|
|
10794
10807
|
};
|
|
10795
10808
|
const response = await this.apiClient.sendRequest("PUT", "/api/v2/chat/channels/batch", void 0, void 0, body, "application/json");
|
|
@@ -11642,7 +11655,7 @@ var ChatApi = class {
|
|
|
11642
11655
|
const pathParams = { id: request?.id };
|
|
11643
11656
|
const body = { language: request?.language };
|
|
11644
11657
|
const response = await this.apiClient.sendRequest("POST", "/api/v2/chat/messages/{id}/translate", pathParams, void 0, body, "application/json");
|
|
11645
|
-
decoders["
|
|
11658
|
+
decoders["TranslateMessageResponse"]?.(response.body);
|
|
11646
11659
|
return {
|
|
11647
11660
|
...response.body,
|
|
11648
11661
|
metadata: response.metadata
|
|
@@ -13218,7 +13231,7 @@ var ApiClient = class {
|
|
|
13218
13231
|
const headers = {
|
|
13219
13232
|
Authorization: this.apiConfig.token,
|
|
13220
13233
|
"stream-auth-type": "jwt",
|
|
13221
|
-
"X-Stream-Client": "stream-node-0.8.
|
|
13234
|
+
"X-Stream-Client": "stream-node-0.8.6",
|
|
13222
13235
|
"Accept-Encoding": "gzip",
|
|
13223
13236
|
"x-client-request-id": clientRequestId
|
|
13224
13237
|
};
|
|
@@ -14153,6 +14166,7 @@ var FeedsApi = class {
|
|
|
14153
14166
|
activity_processors: request?.activity_processors,
|
|
14154
14167
|
activity_selectors: request?.activity_selectors,
|
|
14155
14168
|
activity_filter: request?.activity_filter,
|
|
14169
|
+
activity_processing: request?.activity_processing,
|
|
14156
14170
|
aggregation: request?.aggregation,
|
|
14157
14171
|
custom: request?.custom,
|
|
14158
14172
|
notification: request?.notification,
|
|
@@ -14469,6 +14483,7 @@ var FeedsApi = class {
|
|
|
14469
14483
|
activity_processors: request?.activity_processors,
|
|
14470
14484
|
activity_selectors: request?.activity_selectors,
|
|
14471
14485
|
activity_filter: request?.activity_filter,
|
|
14486
|
+
activity_processing: request?.activity_processing,
|
|
14472
14487
|
aggregation: request?.aggregation,
|
|
14473
14488
|
custom: request?.custom,
|
|
14474
14489
|
notification: request?.notification,
|
|
@@ -14491,6 +14506,7 @@ var FeedsApi = class {
|
|
|
14491
14506
|
activity_processors: request?.activity_processors,
|
|
14492
14507
|
activity_selectors: request?.activity_selectors,
|
|
14493
14508
|
activity_filter: request?.activity_filter,
|
|
14509
|
+
activity_processing: request?.activity_processing,
|
|
14494
14510
|
aggregation: request?.aggregation,
|
|
14495
14511
|
custom: request?.custom,
|
|
14496
14512
|
notification: request?.notification,
|