Fix Bug 2336: Manual Healing option in Ui
[osm/NG-UI.git] / src / models / CommonModel.ts
index ed35029..a3038f1 100644 (file)
@@ -54,6 +54,7 @@ export enum CONFIGCONSTANT {
     operationalStateSecondStep = 'running',
     operationalStateThirdStep = 'failed',
     operationalStateFourthStep = 'scaling',
+    operationalStateFifthStep = 'healing',
     configStateFirstStep = 'init',
     configStateSecondStep = 'configured',
     configStateThirdStep = 'failed',
@@ -73,7 +74,11 @@ export enum CONFIGCONSTANT {
     k8OperationalStateStateSecondStep = 'ENABLED',
     k8OperationalStateThirdStep = 'ERROR',
     done = 'done',
-    close = 'close'
+    close = 'close',
+    userActive = 'active',
+    userLocked = 'locked',
+    userExpired = 'expired',
+    userAlwaysActive = 'always-active'
 }
 /** Interface for Post options */
 export interface POSTAPIRESOURCE {
@@ -342,3 +347,9 @@ export interface LABELVALUE {
     label: string;
     value: string;
 }
+/** Interface for Login */
+export interface UNLOCKPARAMS {
+    system_admin_id?: string;
+    unlock?: boolean;
+    renew?: boolean;
+}