@stream-io/feeds-client 0.2.15 → 0.2.16

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.
@@ -2384,6 +2384,24 @@ class FeedsApi {
2384
2384
  decoders.CreateFeedsBatchResponse?.(response.body);
2385
2385
  return { ...response.body, metadata: response.metadata };
2386
2386
  }
2387
+ async ownCapabilitiesBatch(request) {
2388
+ const queryParams = {
2389
+ connection_id: request?.connection_id
2390
+ };
2391
+ const body = {
2392
+ feeds: request?.feeds
2393
+ };
2394
+ const response = await this.apiClient.sendRequest(
2395
+ "POST",
2396
+ "/api/v2/feeds/feeds/own_capabilities/batch",
2397
+ void 0,
2398
+ queryParams,
2399
+ body,
2400
+ "application/json"
2401
+ );
2402
+ decoders.OwnCapabilitiesBatchResponse?.(response.body);
2403
+ return { ...response.body, metadata: response.metadata };
2404
+ }
2387
2405
  async _queryFeeds(request) {
2388
2406
  const queryParams = {
2389
2407
  connection_id: request?.connection_id
@@ -3704,7 +3722,7 @@ const getRateLimitFromResponseHeader = (response_headers) => {
3704
3722
  };
3705
3723
  return result;
3706
3724
  };
3707
- const version = "0.2.15";
3725
+ const version = "0.2.16";
3708
3726
  class ApiClient {
3709
3727
  constructor(apiKey, tokenManager, connectionIdManager, options) {
3710
3728
  this.apiKey = apiKey;
@@ -6846,4 +6864,4 @@ export {
6846
6864
  shouldUpdateState as s,
6847
6865
  uniqueArrayMerge as u
6848
6866
  };
6849
- //# sourceMappingURL=index-BSzSBlMh.mjs.map
6867
+ //# sourceMappingURL=index-J3MkoYPN.mjs.map