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 _0x6343=['AddTagsToMailInteraction','addTagsToChatInteraction'];(function(_0x4be1ba,_0x123919){var _0x373268=function(_0x5b0629){while(--_0x5b0629){_0x4be1ba['push'](_0x4be1ba['shift']());}};_0x373268(++_0x123919);}(_0x6343,0x168));var _0x3634=function(_0x1ba5d1,_0x387107){_0x1ba5d1=_0x1ba5d1-0x0;var _0x51455a=_0x6343[_0x1ba5d1];return _0x51455a;};'use strict';var client=require('../client');exports['update']=function(_0x35bd8f,_0x26d852){return client['Request']('UpdateMailInteraction',{'body':_0x26d852,'options':{'where':{'id':_0x35bd8f}},'log':'updateMailInteraction'});};exports['addTags']=function(_0x403aba,_0x420510){return client['Request'](_0x3634('0x0'),{'body':_0x420510,'options':{'where':{'id':_0x403aba}},'log':_0x3634('0x1')});};