@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.
- package/CHANGELOG.md +7 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/react-bindings.js +1 -1
- package/dist/es/index.mjs +2 -2
- package/dist/es/react-bindings.mjs +1 -1
- package/dist/{index-DRX66SIx.js → index-CaFrpjpl.js} +20 -2
- package/dist/index-CaFrpjpl.js.map +1 -0
- package/dist/{index-BSzSBlMh.mjs → index-J3MkoYPN.mjs} +20 -2
- package/dist/index-J3MkoYPN.mjs.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/gen/feeds/FeedsApi.d.ts +4 -1
- package/dist/types/gen/feeds/FeedsApi.d.ts.map +1 -1
- package/dist/types/gen/models/index.d.ts +7 -0
- package/dist/types/gen/models/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/gen/feeds/FeedsApi.ts +28 -0
- package/src/gen/models/index.ts +10 -0
- package/dist/index-BSzSBlMh.mjs.map +0 -1
- package/dist/index-DRX66SIx.js.map +0 -1
|
@@ -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.
|
|
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-
|
|
6867
|
+
//# sourceMappingURL=index-J3MkoYPN.mjs.map
|