X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=webapp-frontend%2Fsrc%2Fapp%2Finterfaces%2Fdashboard.types.ts;h=90dfd150df7db120fd6581679436352502388b41;hb=a4b2e71472b32a8244da846af20128504f4cbc65;hp=01a9d72ae0b3d76dd025766bc9582bbcc2017ee9;hpb=21f98d01948dabb1d6a89b60f5694969e42c9e63;p=portal%2Fric-dashboard.git diff --git a/webapp-frontend/src/app/interfaces/dashboard.types.ts b/webapp-frontend/src/app/interfaces/dashboard.types.ts index 01a9d72a..90dfd150 100644 --- a/webapp-frontend/src/app/interfaces/dashboard.types.ts +++ b/webapp-frontend/src/app/interfaces/dashboard.types.ts @@ -2,7 +2,7 @@ * ========================LICENSE_START================================= * O-RAN-SC * %% - * Copyright (C) 2019 AT&T Intellectual Property and Nokia + * Copyright (C) 2019 AT&T Intellectual Property * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,9 +18,40 @@ * ========================LICENSE_END=================================== */ -// Models of data used by the Dashboard +// Models of data used by Dashboard admin services export interface DashboardSuccessTransport { status: number; data: string; } + +export interface EcompRoleFunction { + name: string; + code: string; + type: string; + action: string; +} + +export interface EcompRole { + id: number; + name: string; + [position: number]: EcompRoleFunction; +} + +export interface EcompUser { + orgId?: number; + managerId?: string; + firstName?: string; + middleInitial?: string; + lastName?: string; + phone?: string; + email?: string; + hrid?: string; + orgUserId?: string; + orgCode?: string; + orgManagerUserId?: string; + jobTitle?: string; + loginId: string; + active: boolean; + [position: number]: EcompRole; +}