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 _0xfb11=['UpdateMailInteraction','addTags','Request','addTagsToChatInteraction','../client'];(function(_0x522367,_0x50a24a){var _0x21db35=function(_0x4e9da3){while(--_0x4e9da3){_0x522367['push'](_0x522367['shift']());}};_0x21db35(++_0x50a24a);}(_0xfb11,0x1ad));var _0x1fb1=function(_0x28d18d,_0x55896b){_0x28d18d=_0x28d18d-0x0;var _0x470640=_0xfb11[_0x28d18d];return _0x470640;};'use strict';var client=require(_0x1fb1('0x0'));exports['update']=function(_0x3418a7,_0x34e2d6){return client['Request'](_0x1fb1('0x1'),{'body':_0x34e2d6,'options':{'where':{'id':_0x3418a7}},'log':'updateMailInteraction'});};exports[_0x1fb1('0x2')]=function(_0x5a830e,_0x190f74){return client[_0x1fb1('0x3')]('AddTagsToMailInteraction',{'body':_0x190f74,'options':{'where':{'id':_0x5a830e}},'log':_0x1fb1('0x4')});};