@stream-io/node-sdk 0.8.2 → 0.8.4
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 +30 -19
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +30 -19
- 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 +71 -17
- package/dist/src/gen/video/VideoApi.d.ts +1 -1
- package/package.json +1 -1
- package/src/gen/chat/ChatApi.ts +4 -4
- package/src/gen/common/CommonApi.ts +2 -0
- package/src/gen/feeds/FeedsApi.ts +4 -0
- package/src/gen/model-decoders/decoders.ts +15 -8
- package/src/gen/models/index.ts +103 -23
- package/src/gen/video/VideoApi.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.8.4](https://github.com/GetStream/stream-node/compare/v0.8.3...v0.8.4) (2026-09-01)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add default_follower_role to feed group API ([#342](https://github.com/GetStream/stream-node/issues/342)) ([c43a480](https://github.com/GetStream/stream-node/commit/c43a4803f2795fc884eeb7e614ebbfd9e355db6f))
|
|
9
|
+
|
|
10
|
+
## [0.8.3](https://github.com/GetStream/stream-node/compare/v0.8.2...v0.8.3) (2026-08-24)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* add activity processor tag extraction thresholds ([#339](https://github.com/GetStream/stream-node/issues/339)) ([740fda1](https://github.com/GetStream/stream-node/commit/740fda1c5ac263da4fdbdcb76e55731dfd0aa48b))
|
|
16
|
+
|
|
3
17
|
## [0.8.2](https://github.com/GetStream/stream-node/compare/v0.8.1...v0.8.2) (2026-08-21)
|
|
4
18
|
|
|
5
19
|
|
package/dist/index.cjs.js
CHANGED
|
@@ -3091,6 +3091,12 @@ decoders["CreatePredefinedFilterResponse"] = (input) => {
|
|
|
3091
3091
|
isSingle: true
|
|
3092
3092
|
} }, input);
|
|
3093
3093
|
};
|
|
3094
|
+
decoders["CreateReminderResponse"] = (input) => {
|
|
3095
|
+
return decode({ reminder: {
|
|
3096
|
+
type: "ReminderResponseData",
|
|
3097
|
+
isSingle: true
|
|
3098
|
+
} }, input);
|
|
3099
|
+
};
|
|
3094
3100
|
decoders["CreateRoleResponse"] = (input) => {
|
|
3095
3101
|
return decode({ role: {
|
|
3096
3102
|
type: "Role",
|
|
@@ -6411,13 +6417,13 @@ decoders["ReminderCreatedEvent"] = (input) => {
|
|
|
6411
6417
|
type: "DatetimeType",
|
|
6412
6418
|
isSingle: true
|
|
6413
6419
|
},
|
|
6414
|
-
received_at: {
|
|
6415
|
-
type: "DatetimeType",
|
|
6416
|
-
isSingle: true
|
|
6417
|
-
},
|
|
6418
6420
|
reminder: {
|
|
6419
6421
|
type: "ReminderResponseData",
|
|
6420
6422
|
isSingle: true
|
|
6423
|
+
},
|
|
6424
|
+
received_at: {
|
|
6425
|
+
type: "DatetimeType",
|
|
6426
|
+
isSingle: true
|
|
6421
6427
|
}
|
|
6422
6428
|
}, input);
|
|
6423
6429
|
};
|
|
@@ -6427,13 +6433,13 @@ decoders["ReminderDeletedEvent"] = (input) => {
|
|
|
6427
6433
|
type: "DatetimeType",
|
|
6428
6434
|
isSingle: true
|
|
6429
6435
|
},
|
|
6430
|
-
received_at: {
|
|
6431
|
-
type: "DatetimeType",
|
|
6432
|
-
isSingle: true
|
|
6433
|
-
},
|
|
6434
6436
|
reminder: {
|
|
6435
6437
|
type: "ReminderResponseData",
|
|
6436
6438
|
isSingle: true
|
|
6439
|
+
},
|
|
6440
|
+
received_at: {
|
|
6441
|
+
type: "DatetimeType",
|
|
6442
|
+
isSingle: true
|
|
6437
6443
|
}
|
|
6438
6444
|
}, input);
|
|
6439
6445
|
};
|
|
@@ -6443,13 +6449,13 @@ decoders["ReminderNotificationEvent"] = (input) => {
|
|
|
6443
6449
|
type: "DatetimeType",
|
|
6444
6450
|
isSingle: true
|
|
6445
6451
|
},
|
|
6446
|
-
received_at: {
|
|
6447
|
-
type: "DatetimeType",
|
|
6448
|
-
isSingle: true
|
|
6449
|
-
},
|
|
6450
6452
|
reminder: {
|
|
6451
6453
|
type: "ReminderResponseData",
|
|
6452
6454
|
isSingle: true
|
|
6455
|
+
},
|
|
6456
|
+
received_at: {
|
|
6457
|
+
type: "DatetimeType",
|
|
6458
|
+
isSingle: true
|
|
6453
6459
|
}
|
|
6454
6460
|
}, input);
|
|
6455
6461
|
};
|
|
@@ -6487,13 +6493,13 @@ decoders["ReminderUpdatedEvent"] = (input) => {
|
|
|
6487
6493
|
type: "DatetimeType",
|
|
6488
6494
|
isSingle: true
|
|
6489
6495
|
},
|
|
6490
|
-
received_at: {
|
|
6491
|
-
type: "DatetimeType",
|
|
6492
|
-
isSingle: true
|
|
6493
|
-
},
|
|
6494
6496
|
reminder: {
|
|
6495
6497
|
type: "ReminderResponseData",
|
|
6496
6498
|
isSingle: true
|
|
6499
|
+
},
|
|
6500
|
+
received_at: {
|
|
6501
|
+
type: "DatetimeType",
|
|
6502
|
+
isSingle: true
|
|
6497
6503
|
}
|
|
6498
6504
|
}, input);
|
|
6499
6505
|
};
|
|
@@ -8128,6 +8134,7 @@ var CommonApi = class {
|
|
|
8128
8134
|
guest_user_creation_disabled: request?.guest_user_creation_disabled,
|
|
8129
8135
|
image_moderation_enabled: request?.image_moderation_enabled,
|
|
8130
8136
|
max_aggregated_activities_length: request?.max_aggregated_activities_length,
|
|
8137
|
+
member_custom_on_mentioned_users_enabled: request?.member_custom_on_mentioned_users_enabled,
|
|
8131
8138
|
member_custom_on_messages_enabled: request?.member_custom_on_messages_enabled,
|
|
8132
8139
|
migrate_permissions_to_v2: request?.migrate_permissions_to_v2,
|
|
8133
8140
|
moderation_analytics_enabled: request?.moderation_analytics_enabled,
|
|
@@ -10265,7 +10272,7 @@ var VideoApi = class {
|
|
|
10265
10272
|
async getDailyDigest(request) {
|
|
10266
10273
|
const queryParams = {
|
|
10267
10274
|
date: request?.date,
|
|
10268
|
-
|
|
10275
|
+
target_app_id: request?.target_app_id
|
|
10269
10276
|
};
|
|
10270
10277
|
const response = await this.apiClient.sendRequest("GET", "/api/v2/video/stats/daily_digest", void 0, queryParams);
|
|
10271
10278
|
decoders["GetDailyDigestResponse"]?.(response.body);
|
|
@@ -11714,7 +11721,7 @@ var ChatApi = class {
|
|
|
11714
11721
|
user: request?.user
|
|
11715
11722
|
};
|
|
11716
11723
|
const response = await this.apiClient.sendRequest("POST", "/api/v2/chat/messages/{message_id}/reminders", pathParams, void 0, body, "application/json");
|
|
11717
|
-
decoders["
|
|
11724
|
+
decoders["CreateReminderResponse"]?.(response.body);
|
|
11718
11725
|
return {
|
|
11719
11726
|
...response.body,
|
|
11720
11727
|
metadata: response.metadata
|
|
@@ -13211,7 +13218,7 @@ var ApiClient = class {
|
|
|
13211
13218
|
const headers = {
|
|
13212
13219
|
Authorization: this.apiConfig.token,
|
|
13213
13220
|
"stream-auth-type": "jwt",
|
|
13214
|
-
"X-Stream-Client": "stream-node-0.8.
|
|
13221
|
+
"X-Stream-Client": "stream-node-0.8.4",
|
|
13215
13222
|
"Accept-Encoding": "gzip",
|
|
13216
13223
|
"x-client-request-id": clientRequestId
|
|
13217
13224
|
};
|
|
@@ -14141,6 +14148,7 @@ var FeedsApi = class {
|
|
|
14141
14148
|
async createFeedGroup(request) {
|
|
14142
14149
|
const body = {
|
|
14143
14150
|
id: request?.id,
|
|
14151
|
+
default_follower_role: request?.default_follower_role,
|
|
14144
14152
|
default_visibility: request?.default_visibility,
|
|
14145
14153
|
activity_processors: request?.activity_processors,
|
|
14146
14154
|
activity_selectors: request?.activity_selectors,
|
|
@@ -14456,6 +14464,7 @@ var FeedsApi = class {
|
|
|
14456
14464
|
async getOrCreateFeedGroup(request) {
|
|
14457
14465
|
const pathParams = { id: request?.id };
|
|
14458
14466
|
const body = {
|
|
14467
|
+
default_follower_role: request?.default_follower_role,
|
|
14459
14468
|
default_visibility: request?.default_visibility,
|
|
14460
14469
|
activity_processors: request?.activity_processors,
|
|
14461
14470
|
activity_selectors: request?.activity_selectors,
|
|
@@ -14477,6 +14486,7 @@ var FeedsApi = class {
|
|
|
14477
14486
|
async updateFeedGroup(request) {
|
|
14478
14487
|
const pathParams = { id: request?.id };
|
|
14479
14488
|
const body = {
|
|
14489
|
+
default_follower_role: request?.default_follower_role,
|
|
14480
14490
|
default_visibility: request?.default_visibility,
|
|
14481
14491
|
activity_processors: request?.activity_processors,
|
|
14482
14492
|
activity_selectors: request?.activity_selectors,
|
|
@@ -14593,6 +14603,7 @@ var FeedsApi = class {
|
|
|
14593
14603
|
async createFeedsBatch(request) {
|
|
14594
14604
|
const body = {
|
|
14595
14605
|
feeds: request?.feeds,
|
|
14606
|
+
create_users: request?.create_users,
|
|
14596
14607
|
enrich_own_fields: request?.enrich_own_fields
|
|
14597
14608
|
};
|
|
14598
14609
|
const response = await this.apiClient.sendRequest("POST", "/api/v2/feeds/feeds/batch", void 0, void 0, body, "application/json");
|