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 _0x1598=['addTagsToChatInteraction','../client','update','UpdateMailInteraction','updateMailInteraction','addTags'];(function(_0x22ec87,_0x1d2e20){var _0x57668b=function(_0x5beed4){while(--_0x5beed4){_0x22ec87['push'](_0x22ec87['shift']());}};_0x57668b(++_0x1d2e20);}(_0x1598,0x1c9));var _0x8159=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x1598[_0x3dd15e];return _0x231fd0;};'use strict';var client=require(_0x8159('0x0'));exports[_0x8159('0x1')]=function(_0x413aea,_0x32b7b9){return client['Request'](_0x8159('0x2'),{'body':_0x32b7b9,'options':{'where':{'id':_0x413aea}},'log':_0x8159('0x3')});};exports[_0x8159('0x4')]=function(_0xf20b0,_0x4f5493){return client['Request']('AddTagsToMailInteraction',{'body':_0x4f5493,'options':{'where':{'id':_0xf20b0}},'log':_0x8159('0x5')});};