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 _0x3a16=['../client','update','Request','UpdateMailInteraction','addTags','addTagsToChatInteraction'];(function(_0x56916d,_0x37b935){var _0x2b7f1f=function(_0x206eb1){while(--_0x206eb1){_0x56916d['push'](_0x56916d['shift']());}};_0x2b7f1f(++_0x37b935);}(_0x3a16,0xae));var _0x63a1=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x3a16[_0x3dd15e];return _0x231fd0;};'use strict';var client=require(_0x63a1('0x0'));exports[_0x63a1('0x1')]=function(_0x16f56e,_0x11466c){return client[_0x63a1('0x2')](_0x63a1('0x3'),{'body':_0x11466c,'options':{'where':{'id':_0x16f56e}},'log':'updateMailInteraction'});};exports[_0x63a1('0x4')]=function(_0x159439,_0x3ade68){return client[_0x63a1('0x2')]('AddTagsToMailInteraction',{'body':_0x3ade68,'options':{'where':{'id':_0x159439}},'log':_0x63a1('0x5')});};