@hahnpro/hpc-api 2025.4.1-beta.1 → 2025.4.1-beta.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hahnpro/hpc-api",
3
- "version": "2025.4.1-beta.1",
3
+ "version": "2025.4.1-beta.2",
4
4
  "description": "Module for easy access to the HahnPRO Cloud API",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -1,7 +1,7 @@
1
- import { OrganizationRoleRepresentation } from '@p2-inc/js-sdk';
2
1
  import { APIBaseMock } from '.';
3
2
  import { KeycloakProfile, Organization, OrganizationCreateDto, OrganizationData, OrganizationDataKind, OrganizationName, OrganizationRolesAdjustment } from '../interfaces';
4
3
  import { OrganizationsService } from '../services';
4
+ import { OrganizationRoleRepresentation } from '../services/organizations.service';
5
5
  export declare class OrganizationsMockService extends APIBaseMock<Organization> implements OrganizationsService {
6
6
  constructor(organizations: Organization[]);
7
7
  addOrganizationInvitation(id: string, email: string, roles: string[]): Promise<void>;
@@ -1,4 +1,3 @@
1
- import { OrganizationRoleRepresentation } from '@p2-inc/js-sdk';
2
1
  import { APIBase } from '../api-base';
3
2
  import { KeycloakProfile, Organization, OrganizationCreateDto, OrganizationData, OrganizationDataKind, OrganizationName, OrganizationRolesAdjustment } from '../interfaces';
4
3
  import { HttpClientService } from './';
@@ -165,3 +164,8 @@ export declare class OrganizationsService extends APIBase {
165
164
  */
166
165
  leaveOrganization(id: string): Promise<void>;
167
166
  }
167
+ export interface OrganizationRoleRepresentation {
168
+ id?: string;
169
+ name?: string;
170
+ description?: string;
171
+ }