cxengage-javascript-sdk.modules.interaction
accept
(accept & args__9078__auto__)
The accept function is used to accept a work offer/interaction and initiate communication with the customer.
CxEngage.interactions.accept({
interactionId: '{{uuid}}'
});
Possible Errors:
assign
(assign & args__9078__auto__)
The assignContact function is used to assign a Skylight CRM contact to the interaction.
CxEngage.interactions.assignContact({
interactionId: '{{uuid}}',
contactId: '{{uuid}}'
});
Possible Errors:
cancel-extension-transfer
(cancel-extension-transfer & args__9078__auto__)
cancel-queue-transfer
(cancel-queue-transfer & args__9078__auto__)
cancel-resource-transfer
(cancel-resource-transfer & args__9078__auto__)
create-note
(create-note & args__9078__auto__)
custom-interrupt
(custom-interrupt & args__9078__auto__)
deselect-disposition
(deselect-disposition & args__9078__auto__)
The deselectDispositionCode is used to remove all selected dispositions from the interaction.
CxEngage.interactions.deselectDispositionCode({
interactionId: '{{uuid}}'
});
Possible Errors:
disable-wrapup
(disable-wrapup & args__9078__auto__)
The disableWrapup function is used during an interaction to turn wrap up off on following the end of the interaction. This should only be called when the interaction has ‘Allow Wrap Up Update’ configured on the interaction.
CxEngage.interactions.disableWrapup({
interactionId: '{{uuid}}'
});
Possible Errors:
enable-wrapup
(enable-wrapup & args__9078__auto__)
The enableWrapup function is used during an interaction to turn wrap up on following the end of the interaction. This should only be called when the interaction has ‘Allow Wrap Up Update’ configured on the interaction.
CxEngage.interactions.enableWrapup({
interactionId: '{{uuid}}'
});
Possible Errors:
end
(end & args__9078__auto__)
The reject/end function is used to reject a work offer or end an interaction from the agent perspective and disconnect from the customer.
CxEngage.interactions.end({
interactionId: '{{uuid}}'
});
// Same as
CxEngage.interactions.reject({
interactionId: '{{uuid}}'
});
Possible Errors:
end-wrapup
(end-wrapup & args__9078__auto__)
The endWrapup function can be used during wrap up to end the wrap up phase of the interaction, freeing the resource for new work.
CxEngage.interactions.endWrapup({
interactionId: '{{uuid}}'
});
Possible Errors:
focus
(focus & args__9078__auto__)
The focus function is used to signal reporting that the agent is actively viewing the interaction.
CxEngage.interactions.focus({
interactionId: '{{uuid}}'
});
Possible Errors:
get-all-notes
(get-all-notes & args__9078__auto__)
get-note
(get-note & args__9078__auto__)
select-disposition
(select-disposition & args__9078__auto__)
The selectDispositionCode is used to assign a disposition to the interaction.
CxEngage.interactions.selectDispositionCode({
interactionId: '{{uuid}}',
dispositionId: '{{uuid}}'
});
Possible Errors:
send-script
(send-script & args__9078__auto__)
transfer-to-extension
(transfer-to-extension & args__9078__auto__)
transfer-to-queue
(transfer-to-queue & args__9078__auto__)
transfer-to-resource
(transfer-to-resource & args__9078__auto__)
unassign
(unassign & args__9078__auto__)
The unassignContact function is used to unassign a Skylight CRM contact from the interaction.
CxEngage.interactions.unassignContact({
interactionId: '{{uuid}}',
contactId: '{{uuid}}'
});
Possible Errors:
unfocus
(unfocus & args__9078__auto__)
The unfocus function is used to signal reporting that the agent is no longer viewing the interaction.
CxEngage.interactions.unfocus({
interactionId: '{{uuid}}'
});
Possible Errors:
update-note
(update-note & args__9078__auto__)