7edf8d63477e83fb295636fb90db75399bb7a2a8
[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 _0x61bc=['AddTagsToChatInteraction','addTagsToChatInteraction','../client','update','Request','UpdateChatInteraction'];(function(_0x3c2152,_0x13b0bb){var _0x4eefcf=function(_0xd696ae){while(--_0xd696ae){_0x3c2152['push'](_0x3c2152['shift']());}};_0x4eefcf(++_0x13b0bb);}(_0x61bc,0x1f4));var _0xc61b=function(_0x54cdbe,_0x8bd1e){_0x54cdbe=_0x54cdbe-0x0;var _0x11e17e=_0x61bc[_0x54cdbe];return _0x11e17e;};'use strict';var client=require(_0xc61b('0x0'));exports[_0xc61b('0x1')]=function(_0x36aa0a,_0x63013a){return client[_0xc61b('0x2')](_0xc61b('0x3'),{'body':_0x63013a,'options':{'where':{'id':_0x36aa0a}},'log':'updateChatInteraction'});};exports['addTags']=function(_0x2ebc99,_0xdc167a){return client['Request'](_0xc61b('0x4'),{'body':_0xdc167a,'options':{'where':{'id':_0x2ebc99}},'log':_0xc61b('0x5')});};