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 _0xb7ae=['Request','UpdateChatInteraction','addTags','addTagsToChatInteraction','../client','update'];(function(_0x4c340b,_0x1d5df0){var _0x4b90c6=function(_0x432ca8){while(--_0x432ca8){_0x4c340b['push'](_0x4c340b['shift']());}};_0x4b90c6(++_0x1d5df0);}(_0xb7ae,0xdc));var _0xeb7a=function(_0x3bb5d2,_0x3b6e95){_0x3bb5d2=_0x3bb5d2-0x0;var _0x2ab37b=_0xb7ae[_0x3bb5d2];return _0x2ab37b;};'use strict';var client=require(_0xeb7a('0x0'));exports[_0xeb7a('0x1')]=function(_0xbb4b1b,_0x2743c7){return client[_0xeb7a('0x2')](_0xeb7a('0x3'),{'body':_0x2743c7,'options':{'where':{'id':_0xbb4b1b}},'log':'updateChatInteraction'});};exports[_0xeb7a('0x4')]=function(_0x1230aa,_0x2bb41a){return client['Request']('AddTagsToChatInteraction',{'body':_0x2bb41a,'options':{'where':{'id':_0x1230aa}},'log':_0xeb7a('0x5')});};