hcloud-sdk 22.35.0 → 22.36.1

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.1](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.36.0...v22.36.1) (2026-09-17)
2
2
 
3
- ### Features
3
+ ### Bug Fixes
4
4
 
5
- * **high5:** add WatchFolder file reset ([ad567a8](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/ad567a888862debe5934f9b8fd3a58bfe7c94eef))
5
+ * define the jobs license quota as union ([c0217ab](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/c0217ab4e5287581b9d74b3c801f4fac54a21ea6))
@@ -9,7 +9,7 @@ export type License = {
9
9
  expireDate: number;
10
10
  createDate: number;
11
11
  };
12
- export type LicenseQuota = {
12
+ type LicenseQuotaBase = {
13
13
  idp: {
14
14
  organization: {
15
15
  members: {
@@ -27,73 +27,81 @@ export type LicenseQuota = {
27
27
  logPeriodInDays: number;
28
28
  };
29
29
  };
30
- high5: {
31
- spaces: {
30
+ };
31
+ type High5SpacesQuota = {
32
+ quota: number;
33
+ catalogs: {
34
+ quota: number;
35
+ };
36
+ customCatalogs: {
37
+ quota: number;
38
+ };
39
+ customNodes: {
40
+ quota: number;
41
+ };
42
+ webhooks: {
43
+ quota: number;
44
+ logs: {
32
45
  quota: number;
33
- catalogs: {
34
- quota: number;
35
- };
36
- customCatalogs: {
37
- quota: number;
38
- };
39
- customNodes: {
40
- quota: number;
41
- };
42
- webhooks: {
43
- quota: number;
44
- logs: {
45
- quota: number;
46
- };
47
- };
48
- secrets: {
49
- quota: number;
50
- };
51
- events: {
52
- quota: number;
53
- streams: {
54
- quota: number;
55
- };
56
- };
57
- databases: {
58
- quota: number;
59
- documents: {
60
- quota: number;
61
- };
62
- };
63
- /** Formerly under `fuse.spaces.jobs`. Absent on older licenses that still carry it under `fuse`. */
64
- jobs?: {
65
- quota: number;
66
- logs: {
67
- quota: number;
68
- };
69
- };
70
46
  };
71
- executionsPerMonth: {
47
+ };
48
+ secrets: {
49
+ quota: number;
50
+ };
51
+ events: {
52
+ quota: number;
53
+ streams: {
72
54
  quota: number;
73
55
  };
74
- executionLogPeriodInDays: {
56
+ };
57
+ databases: {
58
+ quota: number;
59
+ documents: {
75
60
  quota: number;
76
61
  };
77
- executionLogMaxLimit: {
78
- quota: number;
62
+ };
63
+ };
64
+ type High5CommonQuota = {
65
+ executionsPerMonth: {
66
+ quota: number;
67
+ };
68
+ executionLogPeriodInDays: {
69
+ quota: number;
70
+ };
71
+ executionLogMaxLimit: {
72
+ quota: number;
73
+ };
74
+ };
75
+ type CronjobQuota = {
76
+ quota: number;
77
+ logs: {
78
+ quota: number;
79
+ };
80
+ };
81
+ /** Current shape: cronjob quota lives under high5, post Fuse-to-High5 merge. */
82
+ type LicenseQuotaHigh5Jobs = LicenseQuotaBase & {
83
+ high5: High5CommonQuota & {
84
+ spaces: High5SpacesQuota & {
85
+ jobs: CronjobQuota;
79
86
  };
80
- /** Formerly under `fuse.secondBaseExecutions`. Absent on older licenses that still carry it under `fuse`. */
81
- secondBaseExecutions?: boolean;
87
+ secondBaseExecutions: boolean;
82
88
  };
83
- /** Legacy quota for what is now the cronjob-related part of High5. Absent on licenses issued after the Fuse-to-High5 merge. */
84
- fuse?: {
89
+ fuse?: never;
90
+ };
91
+ /** Legacy shape: cronjob quota still lives under the (now removed) fuse product. Present only on licenses issued before the Fuse-to-High5 merge. */
92
+ type LicenseQuotaFuseJobs = LicenseQuotaBase & {
93
+ high5: High5CommonQuota & {
94
+ spaces: High5SpacesQuota;
95
+ };
96
+ fuse: {
85
97
  spaces: {
86
98
  quota: number;
87
- jobs: {
88
- quota: number;
89
- logs: {
90
- quota: number;
91
- };
92
- };
99
+ jobs: CronjobQuota;
93
100
  };
94
101
  secondBaseExecutions: boolean;
95
102
  };
96
103
  };
104
+ export type LicenseQuota = LicenseQuotaHigh5Jobs | LicenseQuotaFuseJobs;
97
105
  export declare enum LicenseTier {
98
106
  FREE = "FREE",
99
107
  PRO = "PRO",
@@ -104,3 +112,4 @@ export declare enum LicenseType {
104
112
  POC = "POC",
105
113
  THIRD_PARTY = "THIRD_PARTY"
106
114
  }
115
+ export {};
@@ -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.1",
4
4
  "description": "hcloud platform sdk",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",