hcloud-sdk 22.35.0 → 22.36.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.35.0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.34.0...v22.35.0) (2026-09-17)
1
+ ## [22.36.0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.35.0...v22.36.0) (2026-09-17)
2
2
 
3
3
  ### Features
4
4
 
5
- * **high5:** add WatchFolder file reset ([ad567a8](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/ad567a888862debe5934f9b8fd3a58bfe7c94eef))
5
+ * add optional search filter for asset search in CosmoOrganization ([ac15f8e](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/ac15f8e6e471fcd5e99dbf897b0311b9c1f8b8a5))
@@ -1,6 +1,6 @@
1
1
  import Base, { MaybeRaw } from "../../../Base";
2
2
  import { Asset, AssetFilter, AssetSearchContext } from "../../../interfaces/cosmo/asset";
3
- import { Sorting } from "../../../interfaces/global";
3
+ import { SearchFilter, Sorting } from "../../../interfaces/global";
4
4
  /**
5
5
  * @class Organization
6
6
  * @extends Base
@@ -56,7 +56,7 @@ export declare class CosmoOrganization extends Base {
56
56
  * @param namespace Name of Namespace to restrict search
57
57
  * @param parentId ID of parent (folder, etc.) to restrict search
58
58
  * @param shareId ID of Share to restrict search (mandatory if context is SHARE)
59
- * @param assetFilter Filter criteria for Assets
59
+ * @param assetFilter Filter criteria for Assets. Accepts the full asset search filter set (e.g. type, size, creator, namespace fields), not just identity fields.
60
60
  * @param sorting Sorting criteria for the results
61
61
  * @returns List of found Assets
62
62
  */
@@ -69,7 +69,7 @@ export declare class CosmoOrganization extends Base {
69
69
  namespace?: string[] | string;
70
70
  parentId?: string;
71
71
  shareId?: string;
72
- assetFilter?: AssetFilter[];
72
+ assetFilter?: SearchFilter[];
73
73
  sorting?: Sorting;
74
74
  }, raw?: {
75
75
  raw: R;
@@ -75,7 +75,7 @@ class CosmoOrganization extends Base_1.default {
75
75
  * @param namespace Name of Namespace to restrict search
76
76
  * @param parentId ID of parent (folder, etc.) to restrict search
77
77
  * @param shareId ID of Share to restrict search (mandatory if context is SHARE)
78
- * @param assetFilter Filter criteria for Assets
78
+ * @param assetFilter Filter criteria for Assets. Accepts the full asset search filter set (e.g. type, size, creator, namespace fields), not just identity fields.
79
79
  * @param sorting Sorting criteria for the results
80
80
  * @returns List of found Assets
81
81
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hcloud-sdk",
3
- "version": "22.35.0",
3
+ "version": "22.36.0",
4
4
  "description": "hcloud platform sdk",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",