913849fcf74b337b225aee15f0b69a0b4af96824
[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 _0x3aa4=['Request','../client','update','updateChatInteraction','addTags'];(function(_0x4ca40b,_0x531ba9){var _0x81cf70=function(_0xe26faa){while(--_0xe26faa){_0x4ca40b['push'](_0x4ca40b['shift']());}};_0x81cf70(++_0x531ba9);}(_0x3aa4,0xe2));var _0x43aa=function(_0x4d4c17,_0xb27e10){_0x4d4c17=_0x4d4c17-0x0;var _0x27018c=_0x3aa4[_0x4d4c17];return _0x27018c;};'use strict';var client=require(_0x43aa('0x0'));exports[_0x43aa('0x1')]=function(_0x42476b,_0x43c64c){return client['Request']('UpdateChatInteraction',{'body':_0x43c64c,'options':{'where':{'id':_0x42476b}},'log':_0x43aa('0x2')});};exports[_0x43aa('0x3')]=function(_0x3915f1,_0x5570a3){return client[_0x43aa('0x4')]('AddTagsToChatInteraction',{'body':_0x5570a3,'options':{'where':{'id':_0x3915f1}},'log':'addTagsToChatInteraction'});};