@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.
package/dist/api/index.d.ts
CHANGED
|
@@ -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 {
|
|
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,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
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<
|
|
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?:
|
|
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?:
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
66
|
+
static startImpersonating(username?: string): CancelablePromise<ImpersonateUserDto>;
|
|
67
67
|
/**
|
|
68
68
|
* @returns ImpersonateUser Success
|
|
69
69
|
* @throws ApiError
|
|
70
70
|
*/
|
|
71
|
-
static stopImpersonating(): CancelablePromise<
|
|
71
|
+
static stopImpersonating(): CancelablePromise<ImpersonateUserDto>;
|
|
72
72
|
}
|