@stream-io/node-sdk 0.7.28 → 0.7.30
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 +5 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +5 -1
- package/dist/index.es.mjs.map +1 -1
- package/dist/src/gen/models/index.d.ts +4 -0
- package/package.json +1 -1
- package/src/gen/feeds/FeedsApi.ts +3 -0
- package/src/gen/model-decoders/decoders.ts +2 -0
- package/src/gen/models/index.ts +8 -0
package/dist/index.es.mjs
CHANGED
|
@@ -2484,6 +2484,7 @@ decoders.PollVote = (input) => {
|
|
|
2484
2484
|
};
|
|
2485
2485
|
decoders.PollVoteResponse = (input) => {
|
|
2486
2486
|
const typeMappings = {
|
|
2487
|
+
poll: { type: 'PollResponseData', isSingle: true },
|
|
2487
2488
|
vote: { type: 'PollVoteResponseData', isSingle: true },
|
|
2488
2489
|
};
|
|
2489
2490
|
return decode(typeMappings, input);
|
|
@@ -7083,7 +7084,7 @@ class ApiClient {
|
|
|
7083
7084
|
const headers = {
|
|
7084
7085
|
Authorization: this.apiConfig.token,
|
|
7085
7086
|
'stream-auth-type': 'jwt',
|
|
7086
|
-
'X-Stream-Client': 'stream-node-' + "0.7.
|
|
7087
|
+
'X-Stream-Client': 'stream-node-' + "0.7.30",
|
|
7087
7088
|
'Accept-Encoding': 'gzip',
|
|
7088
7089
|
'x-client-request-id': clientRequestId,
|
|
7089
7090
|
};
|
|
@@ -7736,6 +7737,9 @@ class FeedsApi {
|
|
|
7736
7737
|
};
|
|
7737
7738
|
const body = {
|
|
7738
7739
|
created_by_id: request?.created_by_id,
|
|
7740
|
+
description: request?.description,
|
|
7741
|
+
name: request?.name,
|
|
7742
|
+
filter_tags: request?.filter_tags,
|
|
7739
7743
|
custom: request?.custom,
|
|
7740
7744
|
};
|
|
7741
7745
|
const response = await this.apiClient.sendRequest('PUT', '/api/v2/feeds/feed_groups/{feed_group_id}/feeds/{feed_id}', pathParams, undefined, body, 'application/json');
|