hcloud-sdk 22.37.1 → 22.38.0

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 CHANGED
@@ -1,5 +1,5 @@
1
- ## [22.37.1](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.37.0...v22.37.1) (2026-09-18)
1
+ ## [22.38.0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.37.1...v22.38.0) (2026-09-21)
2
2
 
3
- ### Bug Fixes
3
+ ### Features
4
4
 
5
- * add executor to execution status ([072a57d](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/072a57df29ec0df9356758eff81e3dfbb2c028de))
5
+ * add recursive parameter to cosmo asset browse endpoint ([745c256](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/745c256cb843eadbce530050048f18f3d0d709d0))
@@ -60,12 +60,13 @@ export declare class CosmoOrganization extends Base {
60
60
  * @param sorting Sorting criteria for the results
61
61
  * @returns List of found Assets
62
62
  */
63
- browse<R extends boolean = false>({ orgName, spaceName, context, limit, page, namespace, parentId, shareId, assetFilter, sorting, }: {
63
+ browse<R extends boolean = false>({ orgName, spaceName, context, limit, page, recursive, namespace, parentId, shareId, assetFilter, sorting, }: {
64
64
  orgName: string;
65
65
  spaceName?: string;
66
66
  context: AssetSearchContext;
67
67
  limit?: number;
68
68
  page?: number;
69
+ recursive?: boolean;
69
70
  namespace?: string[] | string;
70
71
  parentId?: string;
71
72
  shareId?: string;
@@ -80,7 +80,7 @@ class CosmoOrganization extends Base_1.default {
80
80
  * @returns List of found Assets
81
81
  */
82
82
  browse(_a, raw_1) {
83
- return __awaiter(this, arguments, void 0, function* ({ orgName, spaceName, context, limit, page, namespace, parentId, shareId, assetFilter, sorting, }, raw) {
83
+ return __awaiter(this, arguments, void 0, function* ({ orgName, spaceName, context, limit, page, recursive = false, namespace, parentId, shareId, assetFilter, sorting, }, raw) {
84
84
  limit = limit !== null && limit !== void 0 ? limit : 100;
85
85
  page = page !== null && page !== void 0 ? page : 0;
86
86
  const resp = yield this.axios.post(this.getEndpoint(`/v1/org/${orgName}/assets/browse`), Object.assign({ filters: assetFilter !== null && assetFilter !== void 0 ? assetFilter : [] }, (sorting ? { sorting } : {})), {
@@ -88,6 +88,7 @@ class CosmoOrganization extends Base_1.default {
88
88
  context,
89
89
  limit,
90
90
  page,
91
+ recursive,
91
92
  spaceName,
92
93
  namespace,
93
94
  parentId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hcloud-sdk",
3
- "version": "22.37.1",
3
+ "version": "22.38.0",
4
4
  "description": "hcloud platform sdk",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",