This appendix discusses the constructors, fields, methods, callback event methods, and returns of the JSMCAPI classes.

JSMCAPI Classes
This section lists the JSMCAPI classes in alphabetical order, along with the constructor, fields, methods, and callback event methods, and returns associated with each class.

_AddressThis section lists the constructor, fields, methods, and callback event methods, and returns (if applicable) associated with this class.
|
Constructor |
Returns |
|
Field |
Type |
|
String |
|
Callback Event Methods |
Returns |
|
None. |

_UQAddressThis section lists the constructor, fields, methods, and callback event methods, and returns (if applicable) associated with this class.
The _UQAddress class extends the _Address class.
See _Address.
|
Constructor |
Returns |
|
Field |
Type |
|
Associative array |
|
Method |
Returns |
|
None |
|
|
Object. |
The _UQAddress class inherits the onError callback event method from the _Address class.
See _Address.
|
Callback Event Methods |
Returns |
|
None. |
|
|
None. |
|
|
None. |
|
|
None. |
|
|
None. |
|
|
None. |
|
|
None. |

_UserThis section lists the constructor, fields, and returns (if applicable) associated with this class.
|
Constructor |
Returns |
|
Field |
Type |
|
String |
|
|
Associative array |
|
|
String |
|
|
String |
|
|
Associative array |
|
|
Associative array of the constants beginning with ST_*. |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
Object |
|
|
Object |
|
|
Object |

A2AChatThis section lists the constructor, fields, methods, and callback event methods, and returns (if applicable) associated with this class.
The A2AChat class extends the _Address class.
See _Address.
|
Constructor |
Returns |
|
Field |
Type |
|
Object |
|
|
String |
|
|
String |
|
|
Object |
|
|
String |
|
|
String |
|
|
String of the PS_JR constant. |
|
|
String of the following constants:
|
|
|
String |
|
Method |
Returns |
|
String |

A2AChatAddressThis section lists the constructor, fields, methods, and callback event methods, and returns (if applicable) associated with this class.
|
Constructor |
Returns |
The A2AChatAddress class inherits the following fields from the _Address class:
id
caps
See _Address.
|
Field |
Type |
|
String |
|
|
Associative array |
|
Method |
Returns |
|
None |
The A2AChatAddress class inherits the onError callback event method from the _Address class.
See _Address.
|
Callback Event Methods |
Returns |
|
None |
|
|
None |
|
|
None |

AgentStatisticsThis section lists the constructor, fields, and returns (if applicable) associated with this class.
|
Constructor |
Returns |
|
Field |
Type |
|
String |
|
|
String |
|
|
String |
|
|
Associative array |
|
|
String |
|
|
String |

AppDataThis section lists the constructor, fields, methods, and callback event methods, and returns (if applicable) associated with this class.
|
Constructor |
Returns |
|
Field |
Type |
|
Associative array |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String of the constant URL. |
|
|
String |
|
|
String |
|
|
String |
|
Method |
Returns |
|
None |

BuddyThis section lists the constructor, methods, and callback event methods associated with this class.
The Buddy class extends the _User class.
See _User.
|
Constructor |
Returns |
The Buddy class inherits the following fields from the _User class:
agentID
caps
id
name
presences
states
statistics
statistics1
statistics2
See _User.
|
Callback Event Methods |
Returns |
|
None |
|
|
None |
|
|
None |

CallThis section lists the constructor, fields, and returns (if applicable) associated with this class.
The Call class extends the Task class.
See Task.
|
Constructor |
Returns |
The Call class inherits the following fields from the Task class:
caseid
cost
customerid
group
id
onStat
priority
type
urlAbs
urlRel
See Task.
|
Field |
Type |
|
Object |
|
|
Object |
|
|
String |

CallDataThis section lists the constructor, fields, methods, and returns (if applicable) associated with this class.
|
Constructor |
Returns |
|
Field |
Type |
|
String. |
|
|
String. |
|
|
String. |
|
|
String |
|
|
String |
|
Method |
Returns |
|
None |

CallStatisticsThis section lists the constructor, fields, and returns (if applicable) associated with this class.
|
Constructor |
Returns |
|
Field |
Type |
|
Associative array |
|
|
String |
|
|
String |
|
|
String |

ChatThis section lists the constructor, fields, method, and returns (if applicable) associated with this class.
The Chat class extends the Task class.
See Task.
|
Constructor |
Returns |
The Chat class inherits the following fields from the Task class:
caseid
cost
customerid
group
id
onStat
priority
type
urlAbs
urlRel
See Task.
|
Field |
Type |
|
Object |
|
|
String |
|
|
Object |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
Method |
Returns |
|
String |

ChatAddressThis section lists the constructor, fields, methods, and callback event methods, and returns (if applicable) associated with this class.
The ChatAddress class extends the _UQAddress class.
See _UQAddress.
|
Constructor |
Returns |
The ChatAddress class inherits the following fields from the _Address class:
id
caps
See _Address.
The ChatAddress class inherits the tasks field from the _UQAddress class.
See _UQAddress.
The ChatAddress class inherits the following methods from the _UQAddress class:
acceptTask
dequeueTask
See _UQAddress.
The ChatAddress class inherits the onError callback event method from the _Address class.
See _UQAddress.
The ChatAddress class inherits the following callback event methods from the _UQAddress class:
onAccepted
onAcceptingTask
onDequeueingTask
onNotify
onTaskAdded
onTaskRemoved
onUnassigned
See _UQAddress.

EmailThis section lists the constructor, fields, method, and returns (if applicable) associated with this class.
The Email class extends the Task class.
See Task.
|
Constructor |
Returns |
The Email class inherits the following fields from the Task class:
caseid
cost
customerid
group
id
onStat
priority
type
urlAbs
urlRel
See Task.
|
Field |
Type |
|
Object |
|
|
Object |
|
|
String |
|
Method |
Returns |
|
String |

EmailAddressThis section lists the constructor, fields, methods, and callback event methods, and returns (if applicable) associated with this class.
The EmailAddress class extends the _UQAddress class.
See _UQAddress.
|
Constructor |
Returns |
The EmailAddress class inherits the following fields from the _Address class:
id
caps
See _Address.
The EmailAddress class inherits the tasks field from the _UQAddress class.
See _UQAddress.
The EmailAddress class inherits the following methods from the _UQAddress class:
acceptTask
dequeueTask
See _UQAddress.
The EmailAddress class inherits the onError callback event method from the _Address class.
See _Address.
The EmailAddress class inherits the following callback event methods from the _UQAddress class:
onAccepted
onAcceptingTask
onDequeueingTask
onNotify
onTaskAdded
onTaskRemoved
onUnassigned
See _Address.

ExtensionThis section lists the constructor, fields, methods, and callback event methods, and returns (if applicable) associated with this class.
The Extension class extends the _Address class.
See _Address.
|
Constructor |
Returns |
The Extension class inherits the following fields from the _Address class:
id
caps
See _Address.
|
Field |
Type |
|
Object |
|
|
Boolean |
|
|
Associative array |
|
|
Number |
|
Method |
Returns |
|
None |
|
|
None |
|
|
None |
|
|
Object |
|
|
Object |
|
|
Object |
|
|
Object |
|
|
None |
The Extension class inherits the onError callback event method from the _Address class.
See _Address.
|
Callback Event Methods |
Returns |
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |

ExtensionCapsThis section lists the constructor, fields, and returns (if applicable) associated with this class.
|
Constructor |
Returns |
|
Field |
Type |
|
Boolean |
|
|
Boolean |
|
|
Boolean |
|
|
Boolean |
|
|
Boolean |
|
|
Boolean |
|
|
Boolean |
|
|
Boolean |
|
|
Boolean |
|
|
Boolean |

ForwardModeThis section lists the constructor, fields, and returns (if applicable) associated with this class.
|
Constructor |
Returns |
|
Field |
Type |
|
String of the following constants:
|

GenericAddressThis section lists the constructor, fields, methods, and callback event methods, and returns (if applicable) associated with this class.
The GenericAddress class extends the _UQAddress class.
See _UQAddress.
|
Constructor |
Returns |
The GenericAddress class inherits the following fields from the _Address class:
id
caps
See _Address.
The GenericAddress class inherits the tasks field from the _UQAddress class.
See _UQAddress.
The GenericAddress class inherits the following methods from the _UQAddress class:
acceptTask
dequeueTask
See _UQAddress.
The GenericAddress class inherits the onError callback event method from the _Address class.
See _Address.
The GenericAddress class inherits the following callback event methods from the _UQAddress class:
onAccepted
onAcceptingTask
onDequeueingTask
onNotify
onTaskAdded
onTaskRemoved
onUnassigned
See _UQAddress.

GenericTaskThis section lists the constructor, fields, methods, and callback event methods, and returns (if applicable) associated with this class.
The GenericTask class extends the Task class.
See Task.
|
Constructor |
Returns |
The GenericTask class inherits the following fields from the Task class:
caseid
cost
customerid
group
id
onStat
priority
type
urlAbs
urlRel
See Task.
|
Field |
Type |
|
String |
|
|
Object |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
Method |
Returns |
|
String |

GLOBALSThis section lists the fields and methods associated with this class.
|
Field |
Field Type |
|
Constant |
|
|
Constant |
|
|
Constant |
|
|
Constant |
|
|
Constant |
|
|
Constant |
|
|
Constant |
|
|
Constant |
|
|
Constant |
|
|
Constant |
|
Method |
Returns |
|
None |
|
|
Boolean |

GroupThis section lists the constructor, fields, and callback event methods, and returns (if applicable) associated with this class.
|
Constructor |
Returns |
|
Group object |
|
Field |
Type |
|
String |
|
|
String |
|
|
registered |
Boolean |
|
Object |
|
|
Object |
|
|
Object |
|
Callback Event Methods |
Returns |
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |

GroupStatisticsThis section lists the constructor, fields, and returns (if applicable) associated with this class.
|
Constructor |
Returns |
|
Field |
Type |
|
Associative array |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |

GroupStatistics1This section lists the constructor, fields, and returns (if applicable) associated with this class.
|
Constructor |
Returns |
|
Field |
Type |
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |

GroupStatistics2This section lists the constructor, fields, and returns (if applicable) associated with this class.
|
Constructor |
Returns |
|
Field |
Type |
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |

LineThis section lists the constructor, fields, methods, and callback event methods, and returns (if applicable) associated with this class.
|
Constructor |
Returns |
|
Field |
Type |
|
Object |
|
|
Object |
|
|
String |
|
|
String |
|
|
String of the following constants:
|
|
Method |
Returns |
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
Callback Event Methods |
Returns |
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |

LineCapsThis section lists the constructor, fields, and returns (if applicable) associated with this class.
|
Constructor |
Returns |
|
Field |
Type |
|
Boolean |
|
|
Boolean |
|
|
Boolean |
|
|
Boolean |
|
|
Boolean |
|
|
Boolean |
|
|
Boolean |
|
|
Boolean |
|
|
Boolean |
|
|
Boolean |
|
|
Boolean |
|
|
Boolean |
|
|
Boolean |
|
|
Boolean |
|
|
Boolean |
|
|
Boolean |

MCEventThis section lists the constructor, fields, and returns (if applicable) associated with this class.
|
Constructor |
Returns |
|
Field |
Type |
|
Object |
|
|
Object |
|
|
Object |
|
|
Object |

MediaTypeThis section lists the constructor, fields, methods, and callback event methods, and returns (if applicable) associated with this class.
|
Constructor |
Returns |
|
Field |
Type |
|
String of the following constants:
|

PSMCThis section lists the constructor, fields, methods, and returns (if applicable) associated with this class.
|
Constructor |
Returns |
|
Field |
Type |
|
Object |
|
|
Associative array |
|
|
Associative array |
|
Method |
Returns |
|
None |
|
|
Object |
|
|
Object |
|
|
None |
|
|
None |
|
|
None |

ReasonThis section lists the constructor, fields, and returns (if applicable) associated with this class.
|
Constructor |
Returns |
|
Field |
Type |
|
String |
|
|
String |

RenServerThis section lists the constructor, fields, and callback event methods, and returns (if applicable) associated with this class.
|
Constructor |
Returns |
|
Field |
Type |
|
Boolean |
|
|
String |
|
Callback Event Methods |
Returns |
|
None |
|
|
None |

ServerThis section lists the constructor, fields, methods, and callback event methods, and returns (if applicable) associated with this class.
|
Constructor |
Returns |
|
Field |
Type |
|
String |
|
|
String |
|
|
String of the following constants:
|
|
|
String of the following constants:
|
|
Callback Event Methods |
Returns |
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |

SessionThis section lists the constructor, fields, methods, and callback event methods, and returns (if applicable) associated with this class.
|
Constructor |
Returns |
|
Field |
Type |
|
Associative array |
|
|
Associative array |
|
|
Associative array |
|
|
String |
|
|
String |
|
|
String of the following constants:
|
|
|
User object |
|
Method |
Returns |
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
Callback Event Methods |
Returns |
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |

TaskThis section lists the constructor, fields, and returns (if applicable) associated with this class.
|
Constructor |
Returns |
|
Field |
Type |
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String; one of the following:
|
|
|
Object |
|
|
Object |

UserThis section lists the constructor, fields, methods, and callback event methods, and returns (if applicable) associated with this class.
The User class extends the _User class.
See _User.
|
Constructor |
Returns |
The User class inherits the following fields from the _User class:
agentId
caps
id
name
presences
states
statistics
statistics1
statistics2
See _User.
|
Field |
Type |
|
Associative array |
|
|
String |
|
|
String |
|
|
Associative array |
|
Method |
Returns |
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
Callback Event Methods |
Returns |
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |

UserDataThis section lists the constructor, fields, method, and returns (if applicable) associated with this class.
|
Constructor |
Returns |
Constants
The UserData class uses the following constants:
COMPONENT
DESCR
ISCRIPTPROGRAMNAME
ICTYPE
MARKET
MENU
REFERENCEID
TARGET
URLABS
URLREL
|
Method |
Returns |
|
None |

UserStatistics1This section lists the constructor, fields, and returns (if applicable) associated with this class.
|
Constructor |
Returns |
|
Field |
Type |
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |

UserStatistics2This section lists the constructor, fields, methods, and callback event methods, and returns (if applicable) associated with this class.
|
Constructor |
Returns |
|
Field |
Type |
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |