src/app/modules/shared/interfaces/userProfile.ts
Properties |
|
address |
address:
|
Type : Array<IAddress>
|
avatar |
avatar:
|
Type : string
|
badgeAssertions |
badgeAssertions:
|
Type : Array<string>
|
Optional |
completeness |
completeness:
|
Type : number | string
|
countryCode |
countryCode:
|
Type : string
|
createdBy |
createdBy:
|
Type : string
|
createdDate |
createdDate:
|
Type : string
|
currentLoginTime |
currentLoginTime:
|
Type : string
|
dob |
dob:
|
Type : string
|
education |
education:
|
Type : Array<IEducation>
|
email:
|
Type : string
|
emailVerified |
emailVerified:
|
Type : string
|
firstName |
firstName:
|
Type : string
|
framework |
framework:
|
Type : any
|
Optional |
gender |
gender:
|
Type : string
|
grade |
grade:
|
Type : Array<string>
|
hashTagIds |
hashTagIds:
|
Type : Array<string>
|
Optional |
id |
id:
|
Type : string
|
identifier |
identifier:
|
Type : string
|
isDeleted |
isDeleted:
|
Type : boolean | any
|
jobProfile |
jobProfile:
|
Type : Array<IJobProfile>
|
language |
language:
|
Type : Array<string>
|
lastLoginTime |
lastLoginTime:
|
Type : number | string
|
lastName |
lastName:
|
Type : string
|
location |
location:
|
Type : string
|
loginId |
loginId:
|
Type : string
|
managedBy |
managedBy:
|
Type : string
|
Optional |
missingFields |
missingFields:
|
Type : Array<string>
|
Optional |
organisationIds |
organisationIds:
|
Type : Array<string>
|
Optional |
organisations |
organisations:
|
Type : Array<IOrganization>
|
orgRoleMap |
orgRoleMap:
|
Type : literal type
|
Optional |
phone |
phone:
|
Type : string
|
profileSummary |
profileSummary:
|
Type : string
|
profileVisibility |
profileVisibility:
|
Type : any
|
promptTnC |
promptTnC:
|
Type : boolean
|
Optional |
provider |
provider:
|
Type : string
|
registeredOrg |
registeredOrg:
|
Type : any
|
regOrgId |
regOrgId:
|
Type : string
|
roleOrgMap |
roleOrgMap:
|
Type : literal type
|
Optional |
roles |
roles:
|
Type : Array<string>
|
rootOrg |
rootOrg:
|
Type : any
|
rootOrgAdmin |
rootOrgAdmin:
|
Type : boolean
|
Optional |
rootOrgId |
rootOrgId:
|
Type : string
|
skills |
skills:
|
Type : Array<ISkill>
|
status |
status:
|
Type : number | string
|
subject |
subject:
|
Type : Array<string>
|
tcStatus |
tcStatus:
|
Type : any
|
tcUpdatedDate |
tcUpdatedDate:
|
Type : string
|
tempPassword |
tempPassword:
|
Type : string
|
thumbnail |
thumbnail:
|
Type : any
|
tncAcceptedOn |
tncAcceptedOn:
|
Type : string
|
Optional |
tncAcceptedVersion |
tncAcceptedVersion:
|
Type : string
|
Optional |
tncLatestVersion |
tncLatestVersion:
|
Type : string
|
Optional |
tncLatestVersionUrl |
tncLatestVersionUrl:
|
Type : string
|
Optional |
updatedBy |
updatedBy:
|
Type : string
|
updatedDate |
updatedDate:
|
Type : string
|
userId |
userId:
|
Type : string
|
userName |
userName:
|
Type : string
|
userOrgDetails |
userOrgDetails:
|
Type : any
|
Optional |
userRoles |
userRoles:
|
Type : Array<string>
|
Optional |
webPages |
webPages:
|
Type : Array<literal type>
|
import { ServerResponse } from './serverResponse';
export interface IUserData {
err: ServerResponse;
userProfile: IUserProfile;
}
export interface IUserProfile {
missingFields?: Array<string>;
badgeAssertions?: Array<string>;
lastName: string;
webPages: Array<{ type: string, url: string }>;
tcStatus: any;
loginId: string;
education: Array<IEducation>;
gender: string;
regOrgId: string;
subject: Array<string>;
roles: Array<string>;
language: Array<string>;
updatedDate: string;
completeness: number | string;
skills: Array<ISkill>;
isDeleted: boolean | any;
organisations: Array<IOrganization>;
provider: string;
countryCode: string;
id: string;
tempPassword: string;
email: string;
rootOrg: any;
rootOrgAdmin?: boolean;
identifier: string;
profileVisibility: any;
thumbnail: any;
updatedBy: string;
address: Array<IAddress>;
jobProfile: Array<IJobProfile>;
profileSummary: string;
tcUpdatedDate: string;
avatar: string;
userName: string;
rootOrgId: string;
userId: string;
emailVerified: string;
firstName: string;
lastLoginTime: number | string;
createdDate: string;
createdBy: string;
phone: string;
dob: string;
registeredOrg: any;
grade: Array<string>;
currentLoginTime: string;
location: string;
status: number | string;
userRoles?: Array<string>;
orgRoleMap?: { [key: string]: Array<string> };
roleOrgMap?: { [key: string]: string };
organisationIds?: Array<string>;
hashTagIds?: Array<string>;
framework?: any;
tncAcceptedVersion?: string;
tncAcceptedOn?: string;
tncLatestVersion?: string;
promptTnC?: boolean;
tncLatestVersionUrl?: string;
managedBy?: string;
userOrgDetails?: any;
}
export interface IJobProfile {
jobName: string;
orgName: string;
role: string;
updatedBy: string;
endDate: string;
isVerified: string;
subject: Array<string>;
joiningDate: string;
updatedDate: string;
isCurrentJob: boolean;
verifiedBy: string;
userId: string;
boardName: string;
orgId: string;
addressId: string;
createdDate: string;
isDeleted: boolean;
createdBy: string;
verifiedDate: string;
isRejected: boolean | any;
id: string;
}
export interface IAddress {
country: string;
updatedBy: string;
city: string;
updatedDate: string;
userId: string;
zipcode: string;
addType: string;
createdDate: string;
isDeleted: boolean;
createdBy: string;
addressLine1: string;
addressLine2: string;
id: string;
state: string;
}
export interface IOrganization {
organisationId: string;
identifier: string;
orgName: string;
updatedBy: string;
addedByName: string;
addedBy: string;
roles: Array<string>;
approvedBy: string;
updatedDate: string;
userId: string;
approvaldate: string;
isDeleted: boolean;
isRejected: boolean;
id: string;
position: string;
isApproved: boolean | any;
orgjoindate: string;
orgLeftDate: string;
hashTagId?: string;
}
export interface IEducation {
updatedBy: string;
yearOfPassing: number | string;
degree: string;
updatedDate: string;
userId: string;
addressId: any;
duration: any;
courseName: string;
createdDate: string;
isDeleted: string;
createdBy: string;
boardOrUniversity: string;
grade: string;
percentage: number | string;
name: string;
id: string;
}
export interface ISkill {
skillName: string;
addedAt: string;
endorsersList: Array<{ endorseDate: string, userId: string }>;
addedBy: string;
endorsementcount: number;
id: string;
skillNameToLowercase: string;
userId: string;
}
export interface IBasicInfo {
id: string;
firstName: string;
lastName?: string;
phone?: string;
email?: string;
gender?: string;
dob?: string;
location?: string;
grade?: Array<string>;
language: Array<string>;
subject?: Array<string>;
webPages?: Array<{ type: string, url: string }>;
}