Built motion from commit 47436d59.|2.6.7
[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 _0x81f4=['addTags','AddTagsToChatInteraction','addTagsToChatInteraction','../client','Request','UpdateChatInteraction'];(function(_0x31b991,_0x43bbe4){var _0x33c997=function(_0x2960f2){while(--_0x2960f2){_0x31b991['push'](_0x31b991['shift']());}};_0x33c997(++_0x43bbe4);}(_0x81f4,0x1ef));var _0x481f=function(_0x46401e,_0x585e75){_0x46401e=_0x46401e-0x0;var _0x43455d=_0x81f4[_0x46401e];return _0x43455d;};'use strict';var client=require(_0x481f('0x0'));exports['update']=function(_0x29b7c8,_0x19f10c){return client[_0x481f('0x1')](_0x481f('0x2'),{'body':_0x19f10c,'options':{'where':{'id':_0x29b7c8}},'log':'updateChatInteraction'});};exports[_0x481f('0x3')]=function(_0x4eff2e,_0x11a896){return client[_0x481f('0x1')](_0x481f('0x4'),{'body':_0x11a896,'options':{'where':{'id':_0x4eff2e}},'log':_0x481f('0x5')});};