@stream-io/node-sdk 0.8.7 → 0.8.9
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 +16 -0
- package/dist/index.cjs.js +1176 -2384
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +1176 -2384
- package/dist/index.es.mjs.map +1 -1
- package/dist/src/ApiClient.d.ts +1 -2
- package/dist/src/gen/feeds/FeedsApi.d.ts +7 -1
- package/dist/src/gen/models/index.d.ts +322 -4
- package/package.json +1 -1
- package/src/ApiClient.ts +1 -1
- package/src/gen/chat/ChatApi.ts +563 -659
- package/src/gen/common/CommonApi.ts +546 -517
- package/src/gen/feeds/FeedsApi.ts +799 -855
- package/src/gen/model-decoders/decoders.ts +29 -9
- package/src/gen/models/index.ts +336 -6947
- package/src/gen/moderation/ModerationApi.ts +341 -408
- package/src/gen/video/VideoApi.ts +471 -566
|
@@ -1868,15 +1868,6 @@ decoders['CheckResponse'] = (input?: { [key: string]: any }) => {
|
|
|
1868
1868
|
return decode(typeMappings, input);
|
|
1869
1869
|
};
|
|
1870
1870
|
|
|
1871
|
-
decoders['ClientEvent'] = (input?: { [key: string]: any }) => {
|
|
1872
|
-
const typeMappings: TypeMapping = {
|
|
1873
|
-
previously_connected_timestamp: { type: 'DatetimeType', isSingle: true },
|
|
1874
|
-
|
|
1875
|
-
timestamp: { type: 'DatetimeType', isSingle: true },
|
|
1876
|
-
};
|
|
1877
|
-
return decode(typeMappings, input);
|
|
1878
|
-
};
|
|
1879
|
-
|
|
1880
1871
|
decoders['ClosedCaptionEvent'] = (input?: { [key: string]: any }) => {
|
|
1881
1872
|
const typeMappings: TypeMapping = {
|
|
1882
1873
|
created_at: { type: 'DatetimeType', isSingle: true },
|
|
@@ -3032,6 +3023,15 @@ decoders['GetFeedViewResponse'] = (input?: { [key: string]: any }) => {
|
|
|
3032
3023
|
return decode(typeMappings, input);
|
|
3033
3024
|
};
|
|
3034
3025
|
|
|
3026
|
+
decoders['GetFeedsRetentionPolicyResponse'] = (input?: {
|
|
3027
|
+
[key: string]: any;
|
|
3028
|
+
}) => {
|
|
3029
|
+
const typeMappings: TypeMapping = {
|
|
3030
|
+
policies: { type: 'RetentionPolicy', isSingle: false },
|
|
3031
|
+
};
|
|
3032
|
+
return decode(typeMappings, input);
|
|
3033
|
+
};
|
|
3034
|
+
|
|
3035
3035
|
decoders['GetFollowSuggestionsResponse'] = (input?: { [key: string]: any }) => {
|
|
3036
3036
|
const typeMappings: TypeMapping = {
|
|
3037
3037
|
suggestions: { type: 'FeedSuggestionResponse', isSingle: false },
|
|
@@ -3292,6 +3292,15 @@ decoders['IngressStoppedEvent'] = (input?: { [key: string]: any }) => {
|
|
|
3292
3292
|
return decode(typeMappings, input);
|
|
3293
3293
|
};
|
|
3294
3294
|
|
|
3295
|
+
decoders['IntentDetectedEvent'] = (input?: { [key: string]: any }) => {
|
|
3296
|
+
const typeMappings: TypeMapping = {
|
|
3297
|
+
created_at: { type: 'DatetimeType', isSingle: true },
|
|
3298
|
+
|
|
3299
|
+
received_at: { type: 'DatetimeType', isSingle: true },
|
|
3300
|
+
};
|
|
3301
|
+
return decode(typeMappings, input);
|
|
3302
|
+
};
|
|
3303
|
+
|
|
3295
3304
|
decoders['KickedUserEvent'] = (input?: { [key: string]: any }) => {
|
|
3296
3305
|
const typeMappings: TypeMapping = {
|
|
3297
3306
|
created_at: { type: 'DatetimeType', isSingle: true },
|
|
@@ -4888,6 +4897,8 @@ decoders['ReminderResponseData'] = (input?: { [key: string]: any }) => {
|
|
|
4888
4897
|
|
|
4889
4898
|
updated_at: { type: 'DatetimeType', isSingle: true },
|
|
4890
4899
|
|
|
4900
|
+
expires_at: { type: 'DatetimeType', isSingle: true },
|
|
4901
|
+
|
|
4891
4902
|
remind_at: { type: 'DatetimeType', isSingle: true },
|
|
4892
4903
|
|
|
4893
4904
|
channel: { type: 'ChannelResponse', isSingle: true },
|
|
@@ -5199,6 +5210,15 @@ decoders['SessionWarningResponse'] = (input?: { [key: string]: any }) => {
|
|
|
5199
5210
|
return decode(typeMappings, input);
|
|
5200
5211
|
};
|
|
5201
5212
|
|
|
5213
|
+
decoders['SetFeedsRetentionPolicyResponse'] = (input?: {
|
|
5214
|
+
[key: string]: any;
|
|
5215
|
+
}) => {
|
|
5216
|
+
const typeMappings: TypeMapping = {
|
|
5217
|
+
policy: { type: 'RetentionPolicy', isSingle: true },
|
|
5218
|
+
};
|
|
5219
|
+
return decode(typeMappings, input);
|
|
5220
|
+
};
|
|
5221
|
+
|
|
5202
5222
|
decoders['SetRetentionPolicyResponse'] = (input?: { [key: string]: any }) => {
|
|
5203
5223
|
const typeMappings: TypeMapping = {
|
|
5204
5224
|
policy: { type: 'RetentionPolicy', isSingle: true },
|