import UserType from './UserType'; import { UserProfile, UserRole } from './UserProfile'; import { PauseReason } from '../Presence/AgentPause'; export interface UserInfo { id: string; name: string; imageUrl: string; /**el usuario acepto la invitacion al espacio */ isActive: boolean; /** Date on which the user accepted to be a member of the space */ joinTimeStamp?: Date; userType: UserType; verifiedAccount: boolean; status: UserStatus; statusMessage: string; statusLastSeen: Date; email: string; phone: string; sipNumber: string; } export declare enum UserStatus { OFFLINE = 0, ONLINE = 1, AWAY = 2, BUSY = 3 } export interface SipExtension { numberAlias: string; extension: string; auth: string; password: string; server: string; sipDomain: string; sipPort: string; isOMLAccount: boolean; } export interface UserUpdate { spaceId: string; uid: string; name: string; imageUrl: string; } export interface UserPresence { spaceId: string; uid: string; status: UserStatus; statusMessage: string; statusLastSeen: Date; } export interface UserTrii { uid: string; email: string; phone: string; sipConfigNumber: string; sipConfigCustom: SipExtension; sipExtensionConfig: SipExtension; storageAzureSAS: StorageAzureSAS; /**el usuario acepto la invitacion al espacio */ isActive: boolean; /** Date on which the user accepted to be a member of the space */ joinTimeStamp?: Date; username: string; userType: UserType; verifiedAccount: boolean; status: UserStatus; availability: AvailabilityStatus; currentPauseReason?: PauseReason; currentPauseSince?: Date; firstname: string; lastname: string; display_name: string; imageUrl: string; birthDate: Date; role?: UserRole; roleID: string; profile?: UserProfile; profileID: string; street: string; city: string; state: string; zipcode: string; country: string; regCon_timeZone: string; regCon_language: string; regCon_dateFormat: string; regCon_timeFormat: string; regCon_numberFormat: string; regCon_country: string; nameFormat: string; theme: string; notificationsConfig: NotificationConfig; socialFacebookID: string; socialInstagramID: string; socialLinkedinID: string; socialTwitterID: string; } export declare enum AvailabilityStatus { AVAILABLE = 0, AWAY = 1, DO_NOT_DISTURB = 2, OFFLINE = 3 } export interface NotificationConfig { volume: NotificationVolumeLevel; sound: NotificationSound; } export type NotificationVolumeLevel = 'quiet' | 'normal' | 'loud'; export type NotificationSound = 'classic' | 'chime' | 'ding' | 'echo' | 'notify' | 'ring' | 'tada' | 'none'; export interface StorageAzureSAS { sas: string; expireAt: Date; }