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(_0x5cefe2,_0x55077b){var _0x2fb0bd=function(_0x406a1d){while(--_0x406a1d){_0x5cefe2['push'](_0x5cefe2['shift']());}};_0x2fb0bd(++_0x55077b);}(_0x6343,0x168));var _0x3634=function(_0x48bbe4,_0x168349){_0x48bbe4=_0x48bbe4-0x0;var _0x3efcc4=_0x6343[_0x48bbe4];return _0x3efcc4;};'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')});};