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 _0xcb63=['UpdateMailInteraction','updateMailInteraction','AddTagsToMailInteraction','addTagsToChatInteraction','../client','Request'];(function(_0xe9b6c9,_0x18146b){var _0x48c5aa=function(_0x2650af){while(--_0x2650af){_0xe9b6c9['push'](_0xe9b6c9['shift']());}};_0x48c5aa(++_0x18146b);}(_0xcb63,0x82));var _0x3cb6=function(_0x280727,_0x4432ea){_0x280727=_0x280727-0x0;var _0x5e81b8=_0xcb63[_0x280727];return _0x5e81b8;};'use strict';var client=require(_0x3cb6('0x0'));exports['update']=function(_0x453a7e,_0x5c312b){return client[_0x3cb6('0x1')](_0x3cb6('0x2'),{'body':_0x5c312b,'options':{'where':{'id':_0x453a7e}},'log':_0x3cb6('0x3')});};exports['addTags']=function(_0x17850f,_0x459cae){return client['Request'](_0x3cb6('0x4'),{'body':_0x459cae,'options':{'where':{'id':_0x17850f}},'log':_0x3cb6('0x5')});};