@stream-io/node-sdk 0.7.3 → 0.7.5

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.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.3",
6652
+ 'X-Stream-Client': 'stream-node-' + "0.7.5",
6641
6653
  'Accept-Encoding': 'gzip',
6642
6654
  'x-client-request-id': clientRequestId,
6643
6655
  };
@@ -7177,6 +7189,7 @@ class FeedsApi {
7177
7189
  notification: request?.notification,
7178
7190
  push_notification: request?.push_notification,
7179
7191
  ranking: request?.ranking,
7192
+ stories: request?.stories,
7180
7193
  };
7181
7194
  const response = await this.apiClient.sendRequest('POST', '/api/v2/feeds/feed_groups', undefined, undefined, body, 'application/json');
7182
7195
  decoders.CreateFeedGroupResponse?.(response.body);
@@ -7380,6 +7393,7 @@ class FeedsApi {
7380
7393
  notification: request?.notification,
7381
7394
  push_notification: request?.push_notification,
7382
7395
  ranking: request?.ranking,
7396
+ stories: request?.stories,
7383
7397
  };
7384
7398
  const response = await this.apiClient.sendRequest('POST', '/api/v2/feeds/feed_groups/{id}', pathParams, undefined, body, 'application/json');
7385
7399
  decoders.GetOrCreateFeedGroupResponse?.(response.body);
@@ -7397,6 +7411,7 @@ class FeedsApi {
7397
7411
  notification: request?.notification,
7398
7412
  push_notification: request?.push_notification,
7399
7413
  ranking: request?.ranking,
7414
+ stories: request?.stories,
7400
7415
  };
7401
7416
  const response = await this.apiClient.sendRequest('PUT', '/api/v2/feeds/feed_groups/{id}', pathParams, undefined, body, 'application/json');
7402
7417
  decoders.UpdateFeedGroupResponse?.(response.body);