db26ee07e759f4ef5ab4da63d5d0919c0ddb171d
[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 _0x2f40=['updateChatInteraction','addTags','addTagsToChatInteraction','update','Request','UpdateChatInteraction'];(function(_0x4390f5,_0x55f3a8){var _0x413b77=function(_0x2cfc2a){while(--_0x2cfc2a){_0x4390f5['push'](_0x4390f5['shift']());}};_0x413b77(++_0x55f3a8);}(_0x2f40,0x75));var _0x02f4=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0x2f40[_0x3b380d];return _0x54502b;};'use strict';var client=require('../client');exports[_0x02f4('0x0')]=function(_0x1c6162,_0x22b293){return client[_0x02f4('0x1')](_0x02f4('0x2'),{'body':_0x22b293,'options':{'where':{'id':_0x1c6162}},'log':_0x02f4('0x3')});};exports[_0x02f4('0x4')]=function(_0x28c370,_0x37226b){return client[_0x02f4('0x1')]('AddTagsToChatInteraction',{'body':_0x37226b,'options':{'where':{'id':_0x28c370}},'log':_0x02f4('0x5')});};