1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0x5b07=['updateChatInteraction','addTagsToChatInteraction','../client','Request'];(function(_0x5bd426,_0x4878e5){var _0x23a7eb=function(_0x594b42){while(--_0x594b42){_0x5bd426['push'](_0x5bd426['shift']());}};_0x23a7eb(++_0x4878e5);}(_0x5b07,0x122));var _0x75b0=function(_0x4bf208,_0x44740e){_0x4bf208=_0x4bf208-0x0;var _0x18a57c=_0x5b07[_0x4bf208];return _0x18a57c;};'use strict';var client=require(_0x75b0('0x0'));exports['update']=function(_0x1313f6,_0x4cdd4f){return client[_0x75b0('0x1')]('UpdateChatInteraction',{'body':_0x4cdd4f,'options':{'where':{'id':_0x1313f6}},'log':_0x75b0('0x2')});};exports['addTags']=function(_0x5c8c4b,_0x39b44b){return client[_0x75b0('0x1')]('AddTagsToChatInteraction',{'body':_0x39b44b,'options':{'where':{'id':_0x5c8c4b}},'log':_0x75b0('0x3')});};