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 _0x5466=['UpdateChatInteraction','updateChatInteraction','AddTagsToChatInteraction','addTagsToChatInteraction','../client','Request'];(function(_0x3bd040,_0x28ff9a){var _0x5928fd=function(_0x21b765){while(--_0x21b765){_0x3bd040['push'](_0x3bd040['shift']());}};_0x5928fd(++_0x28ff9a);}(_0x5466,0xb8));var _0x6546=function(_0x294ff8,_0x51a22e){_0x294ff8=_0x294ff8-0x0;var _0x7e3eb7=_0x5466[_0x294ff8];return _0x7e3eb7;};'use strict';var client=require(_0x6546('0x0'));exports['update']=function(_0x4ee2ff,_0x3f76dc){return client[_0x6546('0x1')](_0x6546('0x2'),{'body':_0x3f76dc,'options':{'where':{'id':_0x4ee2ff}},'log':_0x6546('0x3')});};exports['addTags']=function(_0x123f26,_0x36d7f2){return client[_0x6546('0x1')](_0x6546('0x4'),{'body':_0x36d7f2,'options':{'where':{'id':_0x123f26}},'log':_0x6546('0x5')});};