Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "src/lib/utils/formatters"

Index

Functions

agentToPerson

  • agentToPerson(native: any): any

contactToPerson

  • contactToPerson(native: NativeContact): Contact

contactTypeKeyToContactTypeName

  • contactTypeKeyToContactTypeName(typeKey: string): "skype" | "agent" | "msn" | "lync" | "pstn"

contactTypeNameToContactTypeKey

  • contactTypeNameToContactTypeKey(typeName: string): "1" | "2" | "4" | "8" | "28"

define

  • define(...args: any[]): any

ensureHttps

  • ensureHttps(uri: string): string

formatContact

  • formatContact(native: NativeContact): Contact

formatConversation

  • formatConversation(native: NativeConversation): Conversation

formatSearchContact

  • formatSearchContact(native: NativeSearchContact): Contact

formatThread

phoneTypeKeyToPhoneTypeName

  • phoneTypeKeyToPhoneTypeName(typeKey: string): "Home" | "Work" | "Cell" | "Other"

phoneTypeNameToPhoneTypeKey

  • phoneTypeNameToPhoneTypeKey(typeName: string): "1" | "2" | "0" | "3"

searchContactToPerson

  • searchContactToPerson(native: NativeSearchContact): Contact

Generated using TypeDoc