@stream-io/node-sdk 0.7.58 → 0.7.59

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
@@ -8158,7 +8158,7 @@ class ApiClient {
8158
8158
  const headers = {
8159
8159
  Authorization: this.apiConfig.token,
8160
8160
  'stream-auth-type': 'jwt',
8161
- 'X-Stream-Client': 'stream-node-' + "0.7.58",
8161
+ 'X-Stream-Client': 'stream-node-' + "0.7.59",
8162
8162
  'Accept-Encoding': 'gzip',
8163
8163
  'x-client-request-id': clientRequestId,
8164
8164
  };
@@ -9582,6 +9582,17 @@ class FeedsApi {
9582
9582
  decoders.ExportFeedUserDataResponse?.(response.body);
9583
9583
  return { ...response.body, metadata: response.metadata };
9584
9584
  }
9585
+ async getUserInterests(request) {
9586
+ const queryParams = {
9587
+ limit: request?.limit,
9588
+ };
9589
+ const pathParams = {
9590
+ user_id: request?.user_id,
9591
+ };
9592
+ const response = await this.apiClient.sendRequest('GET', '/api/v2/feeds/users/{user_id}/interests', pathParams, queryParams);
9593
+ decoders.GetUserInterestsResponse?.(response.body);
9594
+ return { ...response.body, metadata: response.metadata };
9595
+ }
9585
9596
  }
9586
9597
 
9587
9598
  class FeedApi {