8718fd29b9a3d77deac5bcb26bf84891f2f527ff
[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 _0x301b=['updateChatInteraction','addTags','addTagsToChatInteraction','../client','update','Request'];(function(_0x2f3794,_0x3c3bec){var _0x1c9fbe=function(_0x2d2eac){while(--_0x2d2eac){_0x2f3794['push'](_0x2f3794['shift']());}};_0x1c9fbe(++_0x3c3bec);}(_0x301b,0x1a1));var _0xb301=function(_0x2663c1,_0x1139e9){_0x2663c1=_0x2663c1-0x0;var _0x581a8=_0x301b[_0x2663c1];return _0x581a8;};'use strict';var client=require(_0xb301('0x0'));exports[_0xb301('0x1')]=function(_0x58b993,_0x5167ee){return client[_0xb301('0x2')]('UpdateChatInteraction',{'body':_0x5167ee,'options':{'where':{'id':_0x58b993}},'log':_0xb301('0x3')});};exports[_0xb301('0x4')]=function(_0x4a9736,_0xd54a11){return client[_0xb301('0x2')]('AddTagsToChatInteraction',{'body':_0xd54a11,'options':{'where':{'id':_0x4a9736}},'log':_0xb301('0x5')});};