@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.es.mjs CHANGED
@@ -1425,6 +1425,7 @@ decoders.FeedGroupResponse = (input) => {
1425
1425
  const typeMappings = {
1426
1426
  created_at: { type: 'DatetimeType', isSingle: true },
1427
1427
  updated_at: { type: 'DatetimeType', isSingle: true },
1428
+ deleted_at: { type: 'DatetimeType', isSingle: true },
1428
1429
  activity_selectors: { type: 'ActivitySelectorConfig', isSingle: false },
1429
1430
  };
1430
1431
  return decode(typeMappings, input);
@@ -6650,7 +6651,7 @@ class ApiClient {
6650
6651
  const headers = {
6651
6652
  Authorization: this.apiConfig.token,
6652
6653
  'stream-auth-type': 'jwt',
6653
- 'X-Stream-Client': 'stream-node-' + "0.7.8",
6654
+ 'X-Stream-Client': 'stream-node-' + "0.7.9",
6654
6655
  'Accept-Encoding': 'gzip',
6655
6656
  'x-client-request-id': clientRequestId,
6656
6657
  };
@@ -7174,8 +7175,11 @@ class FeedsApi {
7174
7175
  decoders.GetCommentRepliesResponse?.(response.body);
7175
7176
  return { ...response.body, metadata: response.metadata };
7176
7177
  }
7177
- async listFeedGroups() {
7178
- const response = await this.apiClient.sendRequest('GET', '/api/v2/feeds/feed_groups', undefined, undefined);
7178
+ async listFeedGroups(request) {
7179
+ const queryParams = {
7180
+ include_soft_deleted: request?.include_soft_deleted,
7181
+ };
7182
+ const response = await this.apiClient.sendRequest('GET', '/api/v2/feeds/feed_groups', undefined, queryParams);
7179
7183
  decoders.ListFeedGroupsResponse?.(response.body);
7180
7184
  return { ...response.body, metadata: response.metadata };
7181
7185
  }
@@ -7374,10 +7378,13 @@ class FeedsApi {
7374
7378
  return { ...response.body, metadata: response.metadata };
7375
7379
  }
7376
7380
  async getFeedGroup(request) {
7381
+ const queryParams = {
7382
+ include_soft_deleted: request?.include_soft_deleted,
7383
+ };
7377
7384
  const pathParams = {
7378
7385
  id: request?.id,
7379
7386
  };
7380
- const response = await this.apiClient.sendRequest('GET', '/api/v2/feeds/feed_groups/{id}', pathParams, undefined);
7387
+ const response = await this.apiClient.sendRequest('GET', '/api/v2/feeds/feed_groups/{id}', pathParams, queryParams);
7381
7388
  decoders.GetFeedGroupResponse?.(response.body);
7382
7389
  return { ...response.body, metadata: response.metadata };
7383
7390
  }