@equinor/subsurface-app-management 1.1.8 → 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,47 +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
|
+
/**
|
|
24
|
+
* Get all impersonate users by application name
|
|
25
|
+
* @param appName
|
|
26
|
+
* @returns ImpersonateUser Success
|
|
27
|
+
* @throws ApiError
|
|
28
|
+
*/
|
|
29
|
+
static getApiV1ImpersonateUserGetImpersonateUserForApp(appName: string): CancelablePromise<Array<ImpersonateUserDto>>;
|
|
23
30
|
/**
|
|
24
31
|
* Get all active users
|
|
25
32
|
* @returns ImpersonateUser Success
|
|
26
33
|
* @throws ApiError
|
|
27
34
|
*/
|
|
28
|
-
static getAllActiveUsers(): CancelablePromise<
|
|
35
|
+
static getAllActiveUsers(): CancelablePromise<ImpersonateUserDto>;
|
|
29
36
|
/**
|
|
30
|
-
* Get active user
|
|
31
|
-
* @param username
|
|
37
|
+
* Get active user
|
|
32
38
|
* @returns ImpersonateUser Success
|
|
33
39
|
* @throws ApiError
|
|
34
40
|
*/
|
|
35
|
-
static
|
|
41
|
+
static getActiveUser(): CancelablePromise<ImpersonateUserDto>;
|
|
36
42
|
/**
|
|
37
43
|
* Get impersonate user by id
|
|
38
44
|
* @param id
|
|
39
45
|
* @returns ImpersonateUser Success
|
|
40
46
|
* @throws ApiError
|
|
41
47
|
*/
|
|
42
|
-
static getImpersonateUserById(id?: string): CancelablePromise<
|
|
48
|
+
static getImpersonateUserById(id?: string): CancelablePromise<ImpersonateUserDto>;
|
|
43
49
|
/**
|
|
44
50
|
* Get impersonate user by username
|
|
45
51
|
* @param username
|
|
46
52
|
* @returns ImpersonateUser Success
|
|
47
53
|
* @throws ApiError
|
|
48
54
|
*/
|
|
49
|
-
static getImpersonateUserByUserName(username?: string): CancelablePromise<
|
|
55
|
+
static getImpersonateUserByUserName(username?: string): CancelablePromise<ImpersonateUserDto>;
|
|
50
56
|
/**
|
|
51
57
|
* @returns boolean Success
|
|
52
58
|
* @throws ApiError
|
|
@@ -57,10 +63,10 @@ export declare class ImpersonateUserService {
|
|
|
57
63
|
* @returns ImpersonateUser Success
|
|
58
64
|
* @throws ApiError
|
|
59
65
|
*/
|
|
60
|
-
static startImpersonating(username?: string): CancelablePromise<
|
|
66
|
+
static startImpersonating(username?: string): CancelablePromise<ImpersonateUserDto>;
|
|
61
67
|
/**
|
|
62
68
|
* @returns ImpersonateUser Success
|
|
63
69
|
* @throws ApiError
|
|
64
70
|
*/
|
|
65
|
-
static stopImpersonating(): CancelablePromise<
|
|
71
|
+
static stopImpersonating(): CancelablePromise<ImpersonateUserDto>;
|
|
66
72
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{OpenAPI_Portal as r}from"../core/OpenAPI.js";import{request as e}from"../core/request.js";class t{static getApiV1ImpersonateUser(){return e(r,{method:"GET",url:"/api/v1/ImpersonateUser",errors:{400:"Bad Request",500:"Server Error"}})}static createImpersonateUser(t){return e(r,{method:"POST",url:"/api/v1/ImpersonateUser",body:t,mediaType:"application/json-patch+json",errors:{400:"Bad Request",404:"Not Found",500:"Server Error"}})}static putImpersonateUser(t){return e(r,{method:"PUT",url:"/api/v1/ImpersonateUser",body:t,mediaType:"application/json-patch+json",errors:{400:"Bad Request"}})}static
|
|
1
|
+
import{OpenAPI_Portal as r}from"../core/OpenAPI.js";import{request as e}from"../core/request.js";class t{static getApiV1ImpersonateUser(){return e(r,{method:"GET",url:"/api/v1/ImpersonateUser",errors:{400:"Bad Request",500:"Server Error"}})}static createImpersonateUser(t){return e(r,{method:"POST",url:"/api/v1/ImpersonateUser",body:t,mediaType:"application/json-patch+json",errors:{400:"Bad Request",404:"Not Found",500:"Server Error"}})}static putImpersonateUser(t){return e(r,{method:"PUT",url:"/api/v1/ImpersonateUser",body:t,mediaType:"application/json-patch+json",errors:{400:"Bad Request"}})}static getApiV1ImpersonateUserGetImpersonateUserForApp(t){return e(r,{method:"GET",url:"/api/v1/ImpersonateUser/GetImpersonateUserForApp/{appName}",path:{appName:t},errors:{400:"Bad Request",500:"Server Error"}})}static getAllActiveUsers(){return e(r,{method:"GET",url:"/api/v1/ImpersonateUser/ActiveUsers",errors:{400:"Bad Request",500:"Server Error"}})}static getActiveUser(){return e(r,{method:"GET",url:"/api/v1/ImpersonateUser/ActiveUser",errors:{400:"Bad Request",500:"Server Error"}})}static getImpersonateUserById(t){return e(r,{method:"GET",url:"/api/v1/ImpersonateUser/ImpersonateUser",query:{id:t},errors:{400:"Bad Request",500:"Server Error"}})}static getImpersonateUserByUserName(t){return e(r,{method:"GET",url:"/api/v1/ImpersonateUser/ImpersonateUserByUserName",query:{username:t},errors:{400:"Bad Request",500:"Server Error"}})}static canImpersonate(){return e(r,{method:"GET",url:"/api/v1/ImpersonateUser/CanImpersonate",errors:{400:"Bad Request",404:"Not Found",500:"Server Error"}})}static startImpersonating(t){return e(r,{method:"PUT",url:"/api/v1/ImpersonateUser/StartImpersonating",query:{username:t},errors:{400:"Bad Request",404:"Not Found",500:"Server Error"}})}static stopImpersonating(){return e(r,{method:"PUT",url:"/api/v1/ImpersonateUser/StopImpersonating",errors:{400:"Bad Request",404:"Not Found",500:"Server Error"}})}}export{t as ImpersonateUserService};
|