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 _0x43ff=['UpdateMailInteraction','addTags','addTagsToChatInteraction','../client','Request'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0x43ff,0x1c5));var _0xf43f=function(_0x506d83,_0x1899e9){_0x506d83=_0x506d83-0x0;var _0x335e8b=_0x43ff[_0x506d83];return _0x335e8b;};'use strict';var client=require(_0xf43f('0x0'));exports['update']=function(_0xd78f73,_0x24d6e5){return client[_0xf43f('0x1')](_0xf43f('0x2'),{'body':_0x24d6e5,'options':{'where':{'id':_0xd78f73}},'log':'updateMailInteraction'});};exports[_0xf43f('0x3')]=function(_0x6a8099,_0x35bab4){return client[_0xf43f('0x1')]('AddTagsToMailInteraction',{'body':_0x35bab4,'options':{'where':{'id':_0x6a8099}},'log':_0xf43f('0x4')});};