@stream-io/node-sdk 0.7.3 → 0.7.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/dist/index.cjs.js +13 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +13 -1
- package/dist/index.es.mjs.map +1 -1
- package/dist/src/gen/models/index.d.ts +16 -1
- package/package.json +1 -1
- package/src/gen/model-decoders/decoders.ts +16 -0
- package/src/gen/models/index.ts +27 -2
package/dist/index.es.mjs
CHANGED
|
@@ -2877,6 +2877,18 @@ decoders.StopLiveResponse = (input) => {
|
|
|
2877
2877
|
};
|
|
2878
2878
|
return decode(typeMappings, input);
|
|
2879
2879
|
};
|
|
2880
|
+
decoders.StoriesFeedUpdatedEvent = (input) => {
|
|
2881
|
+
const typeMappings = {
|
|
2882
|
+
created_at: { type: 'DatetimeType', isSingle: true },
|
|
2883
|
+
received_at: { type: 'DatetimeType', isSingle: true },
|
|
2884
|
+
aggregated_activities: {
|
|
2885
|
+
type: 'AggregatedActivityResponse',
|
|
2886
|
+
isSingle: false,
|
|
2887
|
+
},
|
|
2888
|
+
user: { type: 'UserResponseCommonFields', isSingle: true },
|
|
2889
|
+
};
|
|
2890
|
+
return decode(typeMappings, input);
|
|
2891
|
+
};
|
|
2880
2892
|
decoders.SubmitActionResponse = (input) => {
|
|
2881
2893
|
const typeMappings = {
|
|
2882
2894
|
item: { type: 'ReviewQueueItemResponse', isSingle: true },
|
|
@@ -6637,7 +6649,7 @@ class ApiClient {
|
|
|
6637
6649
|
const headers = {
|
|
6638
6650
|
Authorization: this.apiConfig.token,
|
|
6639
6651
|
'stream-auth-type': 'jwt',
|
|
6640
|
-
'X-Stream-Client': 'stream-node-' + "0.7.
|
|
6652
|
+
'X-Stream-Client': 'stream-node-' + "0.7.4",
|
|
6641
6653
|
'Accept-Encoding': 'gzip',
|
|
6642
6654
|
'x-client-request-id': clientRequestId,
|
|
6643
6655
|
};
|