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 _0x8c37=['addTagsToChatInteraction','../client','updateChatInteraction','AddTagsToChatInteraction'];(function(_0x3f3851,_0x3a3f47){var _0x5ac3cd=function(_0x29a9d0){while(--_0x29a9d0){_0x3f3851['push'](_0x3f3851['shift']());}};_0x5ac3cd(++_0x3a3f47);}(_0x8c37,0x159));var _0x78c3=function(_0x4921d3,_0x3b4da1){_0x4921d3=_0x4921d3-0x0;var _0x1eaff6=_0x8c37[_0x4921d3];return _0x1eaff6;};'use strict';var client=require(_0x78c3('0x0'));exports['update']=function(_0x4577c2,_0x3b24c1){return client['Request']('UpdateChatInteraction',{'body':_0x3b24c1,'options':{'where':{'id':_0x4577c2}},'log':_0x78c3('0x1')});};exports['addTags']=function(_0x94e5d2,_0x2c11c7){return client['Request'](_0x78c3('0x2'),{'body':_0x2c11c7,'options':{'where':{'id':_0x94e5d2}},'log':_0x78c3('0x3')});};