@stream-io/node-sdk 0.7.8 → 0.7.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/dist/index.cjs.js CHANGED
@@ -1444,6 +1444,7 @@ decoders.FeedGroupResponse = (input) => {
1444
1444
  const typeMappings = {
1445
1445
  created_at: { type: 'DatetimeType', isSingle: true },
1446
1446
  updated_at: { type: 'DatetimeType', isSingle: true },
1447
+ deleted_at: { type: 'DatetimeType', isSingle: true },
1447
1448
  activity_selectors: { type: 'ActivitySelectorConfig', isSingle: false },
1448
1449
  };
1449
1450
  return decode(typeMappings, input);
@@ -6669,7 +6670,7 @@ class ApiClient {
6669
6670
  const headers = {
6670
6671
  Authorization: this.apiConfig.token,
6671
6672
  'stream-auth-type': 'jwt',
6672
- 'X-Stream-Client': 'stream-node-' + "0.7.8",
6673
+ 'X-Stream-Client': 'stream-node-' + "0.7.9",
6673
6674
  'Accept-Encoding': 'gzip',
6674
6675
  'x-client-request-id': clientRequestId,
6675
6676
  };
@@ -7193,8 +7194,11 @@ class FeedsApi {
7193
7194
  decoders.GetCommentRepliesResponse?.(response.body);
7194
7195
  return { ...response.body, metadata: response.metadata };
7195
7196
  }
7196
- async listFeedGroups() {
7197
- const response = await this.apiClient.sendRequest('GET', '/api/v2/feeds/feed_groups', undefined, undefined);
7197
+ async listFeedGroups(request) {
7198
+ const queryParams = {
7199
+ include_soft_deleted: request?.include_soft_deleted,
7200
+ };
7201
+ const response = await this.apiClient.sendRequest('GET', '/api/v2/feeds/feed_groups', undefined, queryParams);
7198
7202
  decoders.ListFeedGroupsResponse?.(response.body);
7199
7203
  return { ...response.body, metadata: response.metadata };
7200
7204
  }
@@ -7393,10 +7397,13 @@ class FeedsApi {
7393
7397
  return { ...response.body, metadata: response.metadata };
7394
7398
  }
7395
7399
  async getFeedGroup(request) {
7400
+ const queryParams = {
7401
+ include_soft_deleted: request?.include_soft_deleted,
7402
+ };
7396
7403
  const pathParams = {
7397
7404
  id: request?.id,
7398
7405
  };
7399
- const response = await this.apiClient.sendRequest('GET', '/api/v2/feeds/feed_groups/{id}', pathParams, undefined);
7406
+ const response = await this.apiClient.sendRequest('GET', '/api/v2/feeds/feed_groups/{id}', pathParams, queryParams);
7400
7407
  decoders.GetFeedGroupResponse?.(response.body);
7401
7408
  return { ...response.body, metadata: response.metadata };
7402
7409
  }