hcloud-sdk 22.37.0 → 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,10 +1,5 @@
1
- ## [22.37.0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.36.1...v22.37.0) (2026-09-17)
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
3
  ### Features
4
4
 
5
- * extend spaces array with storage info ([4a5aa5a](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/4a5aa5af47b27965d068f43a6dbcd6e62d8dcda0))
6
-
7
- ### Bug Fixes
8
-
9
- * add missing endpoints; add new spaces property ([a36f4f9](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/a36f4f98ea8cc9aab7520f217cc32c3d6ec6519c))
10
- * outdated interfaces ([7e05660](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/7e056604ef6b68fe12e42f6380ee25732fb368eb))
5
+ * add recursive parameter to cosmo asset browse endpoint ([745c256](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/745c256cb843eadbce530050048f18f3d0d709d0))
@@ -150,6 +150,7 @@ export interface High5ExecutionStatus {
150
150
  endDate: number;
151
151
  debug?: boolean;
152
152
  agentInfo?: ReducedAgentInfo;
153
+ executor?: ReducedUser;
153
154
  waveEngineVersion?: string;
154
155
  isPoolExecution?: boolean;
155
156
  queued?: boolean;
@@ -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.0",
3
+ "version": "22.38.0",
4
4
  "description": "hcloud platform sdk",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",