Documente Academic
Documente Profesional
Documente Cultură
module('f3e5c2f0-c69a-4e68-a343-daa945d9db78', [
'core.services.WidgetAPI'
]).directive('interactionOperations', widgetComponent);
scope.consult = function() {
api.consult(scope.info.consultAddress, scope.info.uui);
};
scope.singleStepTransfer = function() {
api.singleStepTransfer(scope.info.transferAddress);
};
scope.completeTransfer = function() {
api.completeTransfer();
};
scope.completeConference = function() {
api.completeConference();
};
scope.endConsult = function() {
api.endConsult();
};
scope.acceptInteraction = function() {
api.acceptInteraction();
};
scope.holdInteraction = function() {
api.holdInteraction();
};
scope.unholdInteraction = function() {
api.unholdInteraction();
};
scope.endInteraction = function() {
api.endInteraction();
};
scope.setDispositionCode = function(code) {
api.setDispositionCode(code);
};
scope.setWorkCode = function(code) {
api.setWorkCode(code);
};
scope.onDtmfButtonPressed = function(digit) {
api.sendDTMF(digit);
};
scope.onUuiSwitchChanged = function(isUuiEnabled) {
scope.info.uui = '';
return {
scope: {},
replace: true,
template: template,
link: widgetContainer
};
}