opal-security 3.1.1-beta.e5e99da → 3.1.1-beta.e92fdf8

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.
@@ -7,6 +7,7 @@ interface AppNode {
7
7
  }
8
8
  interface AssetNode {
9
9
  assetName: string;
10
+ type: string;
10
11
  roles?: Record<string, RoleNode>;
11
12
  }
12
13
  interface RoleNode {
@@ -29,14 +30,17 @@ interface RequestDefaults {
29
30
  export interface RequestMetadata {
30
31
  requestMap: RequestMap;
31
32
  requestDefaults: RequestDefaults;
33
+ durationLabel: string;
34
+ durationInMinutes?: number;
35
+ reason: string;
32
36
  }
33
- export declare function createEmptyRequestMetadata(): RequestMetadata;
37
+ export declare function initEmptyRequestMetadata(): RequestMetadata;
34
38
  export declare function selectRequestableItems(cmd: Command, client: ApolloClient<NormalizedCacheObject>, requestMap: RequestMap): Promise<void>;
35
39
  export declare function chooseAssets(cmd: Command, client: ApolloClient<NormalizedCacheObject>, appId: string, requestMap: RequestMap): Promise<void>;
36
40
  export declare function chooseRoles(cmd: Command, client: ApolloClient<NormalizedCacheObject>, appId: string, assetId: string, requestMap: RequestMap): Promise<void>;
37
41
  export declare function doneSelectingAssets(): Promise<boolean>;
38
42
  export declare function setRequestDefaults(cmd: Command, client: ApolloClient<NormalizedCacheObject>, metadata: RequestMetadata): Promise<void>;
39
- export declare function promptForReason(metadata: RequestMetadata): Promise<any>;
40
- export declare function promptForExpiration(metadata: RequestMetadata): Promise<any>;
41
- export declare function submitFinalRequest(cmd: Command): Promise<void>;
43
+ export declare function promptForReason(metadata: RequestMetadata): Promise<void>;
44
+ export declare function promptForExpiration(metadata: RequestMetadata): Promise<void>;
45
+ export declare function submitFinalRequest(cmd: Command, client: ApolloClient<NormalizedCacheObject>, metadata: RequestMetadata): Promise<void>;
42
46
  export {};