@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.cjs.js
CHANGED
|
@@ -2896,6 +2896,18 @@ decoders.StopLiveResponse = (input) => {
|
|
|
2896
2896
|
};
|
|
2897
2897
|
return decode(typeMappings, input);
|
|
2898
2898
|
};
|
|
2899
|
+
decoders.StoriesFeedUpdatedEvent = (input) => {
|
|
2900
|
+
const typeMappings = {
|
|
2901
|
+
created_at: { type: 'DatetimeType', isSingle: true },
|
|
2902
|
+
received_at: { type: 'DatetimeType', isSingle: true },
|
|
2903
|
+
aggregated_activities: {
|
|
2904
|
+
type: 'AggregatedActivityResponse',
|
|
2905
|
+
isSingle: false,
|
|
2906
|
+
},
|
|
2907
|
+
user: { type: 'UserResponseCommonFields', isSingle: true },
|
|
2908
|
+
};
|
|
2909
|
+
return decode(typeMappings, input);
|
|
2910
|
+
};
|
|
2899
2911
|
decoders.SubmitActionResponse = (input) => {
|
|
2900
2912
|
const typeMappings = {
|
|
2901
2913
|
item: { type: 'ReviewQueueItemResponse', isSingle: true },
|
|
@@ -6656,7 +6668,7 @@ class ApiClient {
|
|
|
6656
6668
|
const headers = {
|
|
6657
6669
|
Authorization: this.apiConfig.token,
|
|
6658
6670
|
'stream-auth-type': 'jwt',
|
|
6659
|
-
'X-Stream-Client': 'stream-node-' + "0.7.
|
|
6671
|
+
'X-Stream-Client': 'stream-node-' + "0.7.4",
|
|
6660
6672
|
'Accept-Encoding': 'gzip',
|
|
6661
6673
|
'x-client-request-id': clientRequestId,
|
|
6662
6674
|
};
|