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 _0x02d5=['Request','UpdateMailInteraction','updateMailInteraction','AddTagsToMailInteraction','addTagsToChatInteraction','update'];(function(_0x487473,_0x1c95a8){var _0x49697c=function(_0x504c7c){while(--_0x504c7c){_0x487473['push'](_0x487473['shift']());}};_0x49697c(++_0x1c95a8);}(_0x02d5,0x19d));var _0x502d=function(_0x395097,_0x6babd0){_0x395097=_0x395097-0x0;var _0x19f253=_0x02d5[_0x395097];return _0x19f253;};'use strict';var client=require('../client');exports[_0x502d('0x0')]=function(_0x2f7dbd,_0x2d9710){return client[_0x502d('0x1')](_0x502d('0x2'),{'body':_0x2d9710,'options':{'where':{'id':_0x2f7dbd}},'log':_0x502d('0x3')});};exports['addTags']=function(_0x464edf,_0x2aae08){return client[_0x502d('0x1')](_0x502d('0x4'),{'body':_0x2aae08,'options':{'where':{'id':_0x464edf}},'log':_0x502d('0x5')});};