@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.cjs.js
CHANGED
|
@@ -2503,6 +2503,7 @@ decoders.PollVote = (input) => {
|
|
|
2503
2503
|
};
|
|
2504
2504
|
decoders.PollVoteResponse = (input) => {
|
|
2505
2505
|
const typeMappings = {
|
|
2506
|
+
poll: { type: 'PollResponseData', isSingle: true },
|
|
2506
2507
|
vote: { type: 'PollVoteResponseData', isSingle: true },
|
|
2507
2508
|
};
|
|
2508
2509
|
return decode(typeMappings, input);
|
|
@@ -7102,7 +7103,7 @@ class ApiClient {
|
|
|
7102
7103
|
const headers = {
|
|
7103
7104
|
Authorization: this.apiConfig.token,
|
|
7104
7105
|
'stream-auth-type': 'jwt',
|
|
7105
|
-
'X-Stream-Client': 'stream-node-' + "0.7.
|
|
7106
|
+
'X-Stream-Client': 'stream-node-' + "0.7.30",
|
|
7106
7107
|
'Accept-Encoding': 'gzip',
|
|
7107
7108
|
'x-client-request-id': clientRequestId,
|
|
7108
7109
|
};
|
|
@@ -7755,6 +7756,9 @@ class FeedsApi {
|
|
|
7755
7756
|
};
|
|
7756
7757
|
const body = {
|
|
7757
7758
|
created_by_id: request?.created_by_id,
|
|
7759
|
+
description: request?.description,
|
|
7760
|
+
name: request?.name,
|
|
7761
|
+
filter_tags: request?.filter_tags,
|
|
7758
7762
|
custom: request?.custom,
|
|
7759
7763
|
};
|
|
7760
7764
|
const response = await this.apiClient.sendRequest('PUT', '/api/v2/feeds/feed_groups/{feed_group_id}/feeds/{feed_id}', pathParams, undefined, body, 'application/json');
|