@equinor/subsurface-app-management 1.1.9 → 1.1.10

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.
@@ -10,7 +10,7 @@ export type { AccessRoles } from './models/AccessRoles';
10
10
  export type { FeatureAPIType } from './models/FeatureAPIType';
11
11
  export type { FeatureToggleDto } from './models/FeatureToggleDto';
12
12
  export type { GraphUser } from './models/GraphUser';
13
- export type { ImpersonateUser } from './models/ImpersonateUser';
13
+ export type { ImpersonateUserDto } from './models/ImpersonateUserDto';
14
14
  export type { ReleaseNote } from './models/ReleaseNote';
15
15
  export type { ServiceNowIncidentAttachmentResponse } from './models/ServiceNowIncidentAttachmentResponse';
16
16
  export type { ServiceNowIncidentResponse } from './models/ServiceNowIncidentResponse';
@@ -1,8 +1,8 @@
1
- export type ImpersonateUser = {
1
+ export type ImpersonateUserDto = {
2
2
  id?: string | null;
3
- name: string;
4
3
  firstName: string;
5
4
  lastName: string;
5
+ fullName: string;
6
6
  uniqueName: string;
7
7
  appName: string;
8
8
  roles: Array<string>;
@@ -1,4 +1,4 @@
1
- import type { ImpersonateUser } from '../models/ImpersonateUser';
1
+ import type { ImpersonateUserDto } from '../models/ImpersonateUserDto';
2
2
  import type { CancelablePromise } from '../core/CancelablePromise';
3
3
  export declare class ImpersonateUserService {
4
4
  /**
@@ -6,53 +6,53 @@ export declare class ImpersonateUserService {
6
6
  * @returns ImpersonateUser Success
7
7
  * @throws ApiError
8
8
  */
9
- static getApiV1ImpersonateUser(): CancelablePromise<Array<ImpersonateUser>>;
9
+ static getApiV1ImpersonateUser(): CancelablePromise<Array<ImpersonateUserDto>>;
10
10
  /**
11
11
  * @param requestBody
12
12
  * @returns ImpersonateUser Success
13
13
  * @throws ApiError
14
14
  */
15
- static createImpersonateUser(requestBody?: ImpersonateUser): CancelablePromise<ImpersonateUser>;
15
+ static createImpersonateUser(requestBody?: ImpersonateUserDto): CancelablePromise<ImpersonateUserDto>;
16
16
  /**
17
17
  * Edits or Creates a impersonate user if it doesnt exist.
18
18
  * @param requestBody
19
19
  * @returns ImpersonateUser Success
20
20
  * @throws ApiError
21
21
  */
22
- static putImpersonateUser(requestBody?: ImpersonateUser): CancelablePromise<ImpersonateUser>;
22
+ static putImpersonateUser(requestBody?: ImpersonateUserDto): CancelablePromise<ImpersonateUserDto>;
23
23
  /**
24
24
  * Get all impersonate users by application name
25
25
  * @param appName
26
26
  * @returns ImpersonateUser Success
27
27
  * @throws ApiError
28
28
  */
29
- static getApiV1ImpersonateUserGetImpersonateUserForApp(appName: string): CancelablePromise<Array<ImpersonateUser>>;
29
+ static getApiV1ImpersonateUserGetImpersonateUserForApp(appName: string): CancelablePromise<Array<ImpersonateUserDto>>;
30
30
  /**
31
31
  * Get all active users
32
32
  * @returns ImpersonateUser Success
33
33
  * @throws ApiError
34
34
  */
35
- static getAllActiveUsers(): CancelablePromise<ImpersonateUser>;
35
+ static getAllActiveUsers(): CancelablePromise<ImpersonateUserDto>;
36
36
  /**
37
37
  * Get active user
38
38
  * @returns ImpersonateUser Success
39
39
  * @throws ApiError
40
40
  */
41
- static getActiveUser(): CancelablePromise<ImpersonateUser>;
41
+ static getActiveUser(): CancelablePromise<ImpersonateUserDto>;
42
42
  /**
43
43
  * Get impersonate user by id
44
44
  * @param id
45
45
  * @returns ImpersonateUser Success
46
46
  * @throws ApiError
47
47
  */
48
- static getImpersonateUserById(id?: string): CancelablePromise<ImpersonateUser>;
48
+ static getImpersonateUserById(id?: string): CancelablePromise<ImpersonateUserDto>;
49
49
  /**
50
50
  * Get impersonate user by username
51
51
  * @param username
52
52
  * @returns ImpersonateUser Success
53
53
  * @throws ApiError
54
54
  */
55
- static getImpersonateUserByUserName(username?: string): CancelablePromise<ImpersonateUser>;
55
+ static getImpersonateUserByUserName(username?: string): CancelablePromise<ImpersonateUserDto>;
56
56
  /**
57
57
  * @returns boolean Success
58
58
  * @throws ApiError
@@ -63,10 +63,10 @@ export declare class ImpersonateUserService {
63
63
  * @returns ImpersonateUser Success
64
64
  * @throws ApiError
65
65
  */
66
- static startImpersonating(username?: string): CancelablePromise<ImpersonateUser>;
66
+ static startImpersonating(username?: string): CancelablePromise<ImpersonateUserDto>;
67
67
  /**
68
68
  * @returns ImpersonateUser Success
69
69
  * @throws ApiError
70
70
  */
71
- static stopImpersonating(): CancelablePromise<ImpersonateUser>;
71
+ static stopImpersonating(): CancelablePromise<ImpersonateUserDto>;
72
72
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/subsurface-app-management",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "description": "React Typescript components/hooks to communicate with equinor/sam",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",