X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Fmodels%2FCommonModel.ts;h=a3038f1c8ad3d6301152c1e0f28c729e4829c9a6;hb=refs%2Fheads%2Fmaster;hp=a33e6f37c7bacc51c98b73b397dcab1c4dbbccce;hpb=99144589707c8c854149258c87cd3871b4c4f6be;p=osm%2FNG-UI.git diff --git a/src/models/CommonModel.ts b/src/models/CommonModel.ts index a33e6f3..a3038f1 100644 --- a/src/models/CommonModel.ts +++ b/src/models/CommonModel.ts @@ -23,7 +23,7 @@ import { VNFD } from 'VNFDModel'; /** * @file Model for Commonly used information. */ -// tslint:disable: completed-docs +/* eslint-disable */ /** * handle count @enum */ @@ -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 { @@ -198,7 +203,6 @@ export interface BREADCRUMBITEM { } /** Interface For the Pagination pager in ng-smarttable */ export interface SMARTTABLECLASS { - // tslint:disable-next-line: no-reserved-keywords class: string; } /** Constants of the VIM Types */ @@ -343,3 +347,9 @@ export interface LABELVALUE { label: string; value: string; } +/** Interface for Login */ +export interface UNLOCKPARAMS { + system_admin_id?: string; + unlock?: boolean; + renew?: boolean; +}