@equinor/subsurface-app-management 1.1.5 → 1.1.7
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AmplifyApplication } from '../models/AmplifyApplication';
|
|
2
2
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
3
|
-
import {
|
|
3
|
+
import { GraphAppRole } from '../models/GraphAppRole';
|
|
4
4
|
export declare class AmplifyApplicationService {
|
|
5
5
|
/**
|
|
6
6
|
* Get all applications that user has access to
|
|
@@ -9,9 +9,10 @@ export declare class AmplifyApplicationService {
|
|
|
9
9
|
*/
|
|
10
10
|
static userApplications(): CancelablePromise<Array<AmplifyApplication>>;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
* @
|
|
12
|
+
* Get all roles for an application
|
|
13
|
+
* @param applicationId
|
|
14
|
+
* @returns GraphAppRole Success
|
|
14
15
|
* @throws ApiError
|
|
15
16
|
*/
|
|
16
|
-
static getAllAppRoles(
|
|
17
|
+
static getAllAppRoles(applicationId: string): CancelablePromise<Array<GraphAppRole>>;
|
|
17
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{OpenAPI_Portal_Prod as p,OpenAPI_Portal as r}from"../core/OpenAPI.js";import{request as
|
|
1
|
+
import{OpenAPI_Portal_Prod as p,OpenAPI_Portal as r}from"../core/OpenAPI.js";import{request as i}from"../core/request.js";class t{static userApplications(){return i(p,{method:"GET",url:"/api/v1/AmplifyApplication/userapplications",errors:{400:"Bad Request",500:"Server Error"}})}static getAllAppRoles(p){return i(r,{method:"GET",url:"/api/v1/AmplifyApplication/application/{applicationId}/appRoles",path:{applicationId:p}})}}export{t as AmplifyApplicationService};
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type JToken = Array<JToken>;
|