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 _0x0d51=['UpdateMailInteraction','updateMailInteraction','addTags','AddTagsToMailInteraction','addTagsToChatInteraction','../client','Request'];(function(_0x2dacf1,_0x5c141b){var _0x41970d=function(_0x410633){while(--_0x410633){_0x2dacf1['push'](_0x2dacf1['shift']());}};_0x41970d(++_0x5c141b);}(_0x0d51,0xec));var _0x10d5=function(_0x5b5cde,_0x1f7c5f){_0x5b5cde=_0x5b5cde-0x0;var _0x364ad2=_0x0d51[_0x5b5cde];return _0x364ad2;};'use strict';var client=require(_0x10d5('0x0'));exports['update']=function(_0xaeb746,_0x3b9805){return client[_0x10d5('0x1')](_0x10d5('0x2'),{'body':_0x3b9805,'options':{'where':{'id':_0xaeb746}},'log':_0x10d5('0x3')});};exports[_0x10d5('0x4')]=function(_0x371be0,_0x3dbb58){return client['Request'](_0x10d5('0x5'),{'body':_0x3dbb58,'options':{'where':{'id':_0x371be0}},'log':_0x10d5('0x6')});};