-
att.addressbook.getContacts()
-
att.addressbook.getContact(string)
-
att.addressbook.addContact(object)
-
att.addressbook.updateContact(string, object)
-
att.addressbook.deleteContact(string)
-
att.addressbook.getGroups()
-
att.addressbook.getGroup(string)
-
att.addressbook.addGroup(object)
-
att.addressbook.updateGroup(string, object)
-
att.addressbook.deleteGroup(string)
Helper method for retrieving a user's ATT profile information.
-
att.getMe()
Make an AJAX request to retrieve the user's profile information.
-
user, called with: UserProfile
Raised when the user's profile information has been retrieved. Suitable for other plugins to listen for to finish their own initialization steps
-
att.messages.sendMessage(string, string)
-
att.messages.getMessages()
-
att.messages.getMessage(string)
-
att.messages.deleteMessage(string)
-
att.messages.searchByNumber(string)
This plugin allows easy user login and authorization from the att oauth system
-
att.oauth2.authorizeURL()
Returns an oauth authorize url for the configured client.
-
att.oauth2.login()
Validated accessToken or updates elements with btn-att-login class with authroizeURL to fetch an accessToken.
Common interface for making and receiving phone calls.
-
att.dial(string phoneNumber)
Dial a number and make an outgoing call.
-
Raised when the phone backend has been initialized and is ready to make or receive calls.
-
Raised when the phone backend could not be initialized.
-
Raised with the phone number being dialed on an outgoing call.
-
outgoingCall, called with: Call, callerDisplayName (string)
Raised with a Call object for managing an outgoing call, and the phone number that is being dialed.
-
incomingCall, called with: Call, callerDisplayName (string)
Raised with a Call object for managing an incoming call, and the phone number of the caller.
-
ring, called with: Call, callerDisplayName (string)
A signal that a call request is in progress.
-
callBegin, called with: Call
Raised when a call has been answered and is ready for use.
-
callEnd, called with: Call
Raised when a call has been hung up.
-
callError, called with: Call
Emitted when an error has occured while establishing or during a call.
A set of helper functions for parsing and processing phone number strings.
-
att.phoneNumber.stringify(string)
Format a phone number to include dashes and parenthesis.
-
att.phoneNumber.parse(string)
Convert a phone number that uses letters into numeric format.
-
att.phoneNumber.getCallable(string, string countryCode)
Parses a phone number string into a callable format.
A dictionary of profile information for a user, including name and phone number.
A phone call session, which may be answered or hung up.
-
answer()
Accept and answer an incoming phone call.
-
hangup()
Decline, or end an existing, phone call