9a6e75a5476607d9efdf6f65f70c57e727216abf
[motion2.git] / server / services / routing / rpc / chatInteraction.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x6e13=['AddTagsToChatInteraction','addTagsToChatInteraction','../client','Request','UpdateChatInteraction','updateChatInteraction'];(function(_0x399338,_0x11496b){var _0x3c4485=function(_0x17e385){while(--_0x17e385){_0x399338['push'](_0x399338['shift']());}};_0x3c4485(++_0x11496b);}(_0x6e13,0x8c));var _0x36e1=function(_0x559067,_0x4fa41d){_0x559067=_0x559067-0x0;var _0x303dc5=_0x6e13[_0x559067];return _0x303dc5;};'use strict';var client=require(_0x36e1('0x0'));exports['update']=function(_0x477c8d,_0x3b4859){return client[_0x36e1('0x1')](_0x36e1('0x2'),{'body':_0x3b4859,'options':{'where':{'id':_0x477c8d}},'log':_0x36e1('0x3')});};exports['addTags']=function(_0x27fb42,_0xc6411e){return client[_0x36e1('0x1')](_0x36e1('0x4'),{'body':_0xc6411e,'options':{'where':{'id':_0x27fb42}},'log':_0x36e1('0x5')});};