External module "src/lib/utils/formatters"
Functions
agentToPerson
- agentToPerson(native: any): any
contactToPerson
- contactToPerson(native: NativeContact): Contact
contactTypeKeyToContactTypeName
- contactTypeKeyToContactTypeName(typeKey: string): "skype" | "agent" | "msn" | "lync" | "pstn"
-
Parameters
Returns "skype"
|
"agent"
|
"msn"
|
"lync"
|
"pstn"
contactTypeNameToContactTypeKey
- contactTypeNameToContactTypeKey(typeName: string): "1" | "2" | "4" | "8" | "28"
-
Parameters
Returns "1"
|
"2"
|
"4"
|
"8"
|
"28"
define
- define(...args: any[]): any
ensureHttps
- ensureHttps(uri: string): string
-
Parameters
Returns string
formatContact
- formatContact(native: NativeContact): Contact
formatConversation
- formatConversation(native: NativeConversation): Conversation
-
Parameters
-
native: NativeConversation
formatSearchContact
- formatSearchContact(native: NativeSearchContact): Contact
-
Parameters
-
native: NativeSearchContact
phoneTypeKeyToPhoneTypeName
- phoneTypeKeyToPhoneTypeName(typeKey: string): "Home" | "Work" | "Cell" | "Other"
-
Parameters
Returns "Home"
|
"Work"
|
"Cell"
|
"Other"
phoneTypeNameToPhoneTypeKey
- phoneTypeNameToPhoneTypeKey(typeName: string): "1" | "2" | "0" | "3"
-
Parameters
Returns "1"
|
"2"
|
"0"
|
"3"
searchContactToPerson
- searchContactToPerson(native: NativeSearchContact): Contact
-
Parameters
-
native: NativeSearchContact