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 _0xdcd0=['Request','UpdateMailInteraction','updateMailInteraction','addTags','AddTagsToMailInteraction','addTagsToChatInteraction','../client','update'];(function(_0x2b51d9,_0x3db22c){var _0x3591de=function(_0x4e6245){while(--_0x4e6245){_0x2b51d9['push'](_0x2b51d9['shift']());}};_0x3591de(++_0x3db22c);}(_0xdcd0,0xfe));var _0x0dcd=function(_0x42ea31,_0x3036ee){_0x42ea31=_0x42ea31-0x0;var _0x39f0c3=_0xdcd0[_0x42ea31];return _0x39f0c3;};'use strict';var client=require(_0x0dcd('0x0'));exports[_0x0dcd('0x1')]=function(_0x39ef35,_0x480309){return client[_0x0dcd('0x2')](_0x0dcd('0x3'),{'body':_0x480309,'options':{'where':{'id':_0x39ef35}},'log':_0x0dcd('0x4')});};exports[_0x0dcd('0x5')]=function(_0x5cbd46,_0x3b3f09){return client[_0x0dcd('0x2')](_0x0dcd('0x6'),{'body':_0x3b3f09,'options':{'where':{'id':_0x5cbd46}},'log':_0x0dcd('0x7')});};