@hahnpro/hpc-api 2026.10.5 → 2026.10.6

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,9 @@
1
1
  # @hahnpro/hpc-api
2
2
 
3
+ # 2026.10.7
4
+
5
+ - Removed `domains` from `OrganizationData` and the corresponding endpoints because it is an attribute of the organization itself and not a separate resource
6
+
3
7
  # 2026.10.4
4
8
 
5
9
  - Added `ToolName.ADD_ATTACHMENT_TO_ASSET` for attaching existing Content objects to Assets through AI #5158
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hahnpro/hpc-api",
3
- "version": "2026.10.5",
3
+ "version": "2026.10.6",
4
4
  "description": "Module for easy access to the HahnPRO Cloud API",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -16,7 +16,7 @@
16
16
  "@microsoft/fetch-event-source": "2.0.1",
17
17
  "axios": "1.20.0",
18
18
  "eventsource": "5.1.3",
19
- "jose": "6.2.12",
19
+ "jose": "6.2.13",
20
20
  "jwt-decode": "4.0.0",
21
21
  "p-queue": "10.0.0",
22
22
  "rxjs": "7.8.2",
@@ -28,7 +28,7 @@ export type { MeteredQuantity, MeteringDimension, Plan, PlanComponents, Recurren
28
28
  export type { NotificationRule, StatusRule, TagRule } from './notification-rule.interface';
29
29
  export type { Notification, NotificationType } from './notification.interface';
30
30
  export type { OrganizationRoleRepresentation } from './organization-role-representation.interface';
31
- export type { CreateOrganizationDto, Organization, OrganizationData, OrganizationDataKind, OrganizationDomain, OrganizationExtraProperties, OrganizationName, OrganizationRolesAdjustment, OrganizationSearchQuery, UserWithOrgRoles, } from './organization.interface';
31
+ export type { CreateOrganizationDto, Organization, OrganizationData, OrganizationDataKind, OrganizationExtraProperties, OrganizationName, OrganizationRolesAdjustment, OrganizationSearchQuery, UserWithOrgRoles, } from './organization.interface';
32
32
  export type { CreateOrgWithResourcesDto, OrganizationResourcesProgress, OrganizationResourcesProgressDto, OrganizationResourcesProgressErrorDto, } from './organizations-resources.interface';
33
33
  export type { Owner } from './owner.interface';
34
34
  export type { DeleteAssetQuery, DeleteAssetTypeQuery, DeleteQuery } from './query.interface';
@@ -37,15 +37,8 @@ export interface OrganizationData {
37
37
  invitations: InvitationRepresentation[];
38
38
  roles: OrganizationRoleRepresentation[];
39
39
  userRoles: OrganizationRoleRepresentation[];
40
- domains: OrganizationDomain[];
41
- }
42
- export type OrganizationDataKind = 'members' | 'invitations' | 'roles' | 'domains' | 'userRoles';
43
- export interface OrganizationDomain {
44
- domainName: string;
45
- recordKey?: string;
46
- recordValue?: string;
47
- verified: boolean;
48
40
  }
41
+ export type OrganizationDataKind = 'members' | 'invitations' | 'roles' | 'userRoles';
49
42
  export interface OrganizationExtraProperties {
50
43
  subscriptionId?: string;
51
44
  previousSubscriptions?: string[];
@@ -94,7 +94,7 @@ export declare class OrganizationsService extends APIBase {
94
94
  * A subset of all data is selected defined by the 'kinds' parameter.
95
95
  *
96
96
  * @param {string} id - organization id
97
- * @param {string} kinds - array of requested data types ( selection of: ['members', 'invitations', 'roles', 'domains', 'userRoles'])
97
+ * @param {OrganizationDataKind} kinds - array of requested data types
98
98
  * @param {TokenOption} options - Optional token option
99
99
  * @returns{Promise<OrganizationData>} organizationData (only selected kinds are returned)
100
100
  */
@@ -130,7 +130,7 @@ class OrganizationsService extends api_base_1.APIBase {
130
130
  * A subset of all data is selected defined by the 'kinds' parameter.
131
131
  *
132
132
  * @param {string} id - organization id
133
- * @param {string} kinds - array of requested data types ( selection of: ['members', 'invitations', 'roles', 'domains', 'userRoles'])
133
+ * @param {OrganizationDataKind} kinds - array of requested data types
134
134
  * @param {TokenOption} options - Optional token option
135
135
  * @returns{Promise<OrganizationData>} organizationData (only selected kinds are returned)
136
136
  */