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 _0x9403=['AddTagsToMailInteraction','addTagsToChatInteraction','../client','update','Request'];(function(_0x5eedb0,_0x11c82d){var _0x41c5ba=function(_0x3733e9){while(--_0x3733e9){_0x5eedb0['push'](_0x5eedb0['shift']());}};_0x41c5ba(++_0x11c82d);}(_0x9403,0xed));var _0x3940=function(_0x410d04,_0x433249){_0x410d04=_0x410d04-0x0;var _0x4b8601=_0x9403[_0x410d04];return _0x4b8601;};'use strict';var client=require(_0x3940('0x0'));exports[_0x3940('0x1')]=function(_0x861d81,_0x484316){return client[_0x3940('0x2')]('UpdateMailInteraction',{'body':_0x484316,'options':{'where':{'id':_0x861d81}},'log':'updateMailInteraction'});};exports['addTags']=function(_0x11191f,_0x38def9){return client[_0x3940('0x2')](_0x3940('0x3'),{'body':_0x38def9,'options':{'where':{'id':_0x11191f}},'log':_0x3940('0x4')});};