hcloud-sdk 22.55.0 → 22.56.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.55.0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.54.0...v22.55.0) (2026-10-12)
1
+ ## [22.56.0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.55.0...v22.56.0) (2026-10-12)
2
2
 
3
3
  ### Features
4
4
 
5
- * configure SSO through the domain instead of separate OIDC/SAML providers ([dad6fcc](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/dad6fcc21490df6e1ae1e18fc184a2510678db0b))
5
+ * add support for IDP organization domains in NATS subjects ([300b89b](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/300b89bd76e5e947f572dffa683ed6b3247b6e6d))
@@ -25,6 +25,7 @@ declare enum NatsSubject {
25
25
  IDP_ORGANIZATION_SETTINGS_OAUTHAPP = "hcloud.idp.organization.${base64orgName}.settings.oauthapp.${oAuthAppId}",
26
26
  IDP_ORGANIZATION_SERVICE_ACCOUNTS = "hcloud.idp.organization.${base64orgName}.serviceAccounts",
27
27
  IDP_ORGANIZATION_STORAGE = "hcloud.idp.organization.${base64orgName}.storage",
28
+ IDP_ORGANIZATION_DOMAINS = "hcloud.idp.organization.${base64orgName}.domains",
28
29
  HIGH5_SPACES = "hcloud.high5.organization.${base64orgName}.spaces",
29
30
  HIGH5_SPACE_PERMISSIONS = "hcloud.high5.organization.${base64orgName}.spaces.${base64spaceName}.permissions",
30
31
  HIGH5_STREAM_EXECUTE = "hcloud.high5.organization.${organizationId}.stream.execute.${base64email}",
@@ -94,6 +95,7 @@ declare enum NatsObjectType {
94
95
  NOTIFICATIONS = "NOTIFICATIONS",
95
96
  GENERAL_SETTINGS = "GENERAL_SETTINGS",
96
97
  STORAGE = "STORAGE",
98
+ DOMAIN = "DOMAIN",
97
99
  SPACE = "SPACE",
98
100
  SPACE_PERMISSION = "SPACE_PERMISSION",
99
101
  DESIGN = "DESIGN",
@@ -152,6 +154,7 @@ interface NatsObject extends NatsNameObject, NatsIdObject, NatsMemberObject, Nat
152
154
  [NatsSubject.IDP_ORGANIZATION_TEAM_MEMBERS]: NatsIdObject;
153
155
  [NatsSubject.IDP_ORGANIZATION_LICENSE]: NatsLicenseObject;
154
156
  [NatsSubject.IDP_ORGANIZATION_STORAGE]: NatsIdObject;
157
+ [NatsSubject.IDP_ORGANIZATION_DOMAINS]: NatsIdObject;
155
158
  [NatsSubject.HIGH5_SPACES]: NatsNameObject;
156
159
  [NatsSubject.HIGH5_SPACE_PERMISSIONS]: NatsIdObject;
157
160
  [NatsSubject.HIGH5_STREAM_EXECUTE]: High5ExecuteOnAgentRequest | High5ExecutionCancelRequest;
@@ -285,6 +288,7 @@ declare class NatsSubjects {
285
288
  Organization: {
286
289
  new (): {};
287
290
  STORAGE: (organizationName: string) => string;
291
+ DOMAINS: (organizationName: string) => string;
288
292
  INVITATIONS: (organizationName: string) => string;
289
293
  MEMBERS: (organizationName: string) => string & {
290
294
  EXECUTION_TARGET: (email: string) => string;
@@ -28,6 +28,7 @@ var NatsSubject;
28
28
  NatsSubject["IDP_ORGANIZATION_SETTINGS_OAUTHAPP"] = "hcloud.idp.organization.${base64orgName}.settings.oauthapp.${oAuthAppId}";
29
29
  NatsSubject["IDP_ORGANIZATION_SERVICE_ACCOUNTS"] = "hcloud.idp.organization.${base64orgName}.serviceAccounts";
30
30
  NatsSubject["IDP_ORGANIZATION_STORAGE"] = "hcloud.idp.organization.${base64orgName}.storage";
31
+ NatsSubject["IDP_ORGANIZATION_DOMAINS"] = "hcloud.idp.organization.${base64orgName}.domains";
31
32
  NatsSubject["HIGH5_SPACES"] = "hcloud.high5.organization.${base64orgName}.spaces";
32
33
  NatsSubject["HIGH5_SPACE_PERMISSIONS"] = "hcloud.high5.organization.${base64orgName}.spaces.${base64spaceName}.permissions";
33
34
  NatsSubject["HIGH5_STREAM_EXECUTE"] = "hcloud.high5.organization.${organizationId}.stream.execute.${base64email}";
@@ -99,6 +100,7 @@ var NatsObjectType;
99
100
  NatsObjectType["NOTIFICATIONS"] = "NOTIFICATIONS";
100
101
  NatsObjectType["GENERAL_SETTINGS"] = "GENERAL_SETTINGS";
101
102
  NatsObjectType["STORAGE"] = "STORAGE";
103
+ NatsObjectType["DOMAIN"] = "DOMAIN";
102
104
  NatsObjectType["SPACE"] = "SPACE";
103
105
  NatsObjectType["SPACE_PERMISSION"] = "SPACE_PERMISSION";
104
106
  NatsObjectType["DESIGN"] = "DESIGN";
@@ -199,6 +201,9 @@ NatsSubjects.IDP = (_a = class {
199
201
  _d.STORAGE = (organizationName) => {
200
202
  return NatsSubjects.replace(NatsSubject.IDP_ORGANIZATION_STORAGE, { organizationName });
201
203
  },
204
+ _d.DOMAINS = (organizationName) => {
205
+ return NatsSubjects.replace(NatsSubject.IDP_ORGANIZATION_DOMAINS, { organizationName });
206
+ },
202
207
  _d.INVITATIONS = (organizationName) => {
203
208
  return NatsSubjects.replace(NatsSubject.IDP_ORGANIZATION_INVITATIONS, { organizationName });
204
209
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hcloud-sdk",
3
- "version": "22.55.0",
3
+ "version": "22.56.0",
4
4
  "description": "hcloud platform sdk",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",