hcloud-sdk 22.36.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.36.0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.35.0...v22.36.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
- * add optional search filter for asset search in CosmoOrganization ([ac15f8e](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/ac15f8e6e471fcd5e99dbf897b0311b9c1f8b8a5))
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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hcloud-sdk",
3
- "version": "22.36.0",
3
+ "version": "22.36.1",
4
4
  "description": "hcloud platform sdk",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",