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 _0xd094=['Request','UpdateMailInteraction','addTags','addTagsToChatInteraction','../client','update'];(function(_0x2f461d,_0x40029c){var _0x3fe90e=function(_0x3a99b8){while(--_0x3a99b8){_0x2f461d['push'](_0x2f461d['shift']());}};_0x3fe90e(++_0x40029c);}(_0xd094,0x17e));var _0x4d09=function(_0x5efb3b,_0xb1af0c){_0x5efb3b=_0x5efb3b-0x0;var _0x34b040=_0xd094[_0x5efb3b];return _0x34b040;};'use strict';var client=require(_0x4d09('0x0'));exports[_0x4d09('0x1')]=function(_0x8e9863,_0x8f4963){return client[_0x4d09('0x2')](_0x4d09('0x3'),{'body':_0x8f4963,'options':{'where':{'id':_0x8e9863}},'log':'updateMailInteraction'});};exports[_0x4d09('0x4')]=function(_0x5408ab,_0x158cac){return client[_0x4d09('0x2')]('AddTagsToMailInteraction',{'body':_0x158cac,'options':{'where':{'id':_0x5408ab}},'log':_0x4d09('0x5')});};