449485c8db4311a7450e79d579584d657646f25b
[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 _0x389b=['UpdateChatInteraction','updateChatInteraction','../client','Request'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x389b,0x11a));var _0xb389=function(_0x540f0d,_0x2a093b){_0x540f0d=_0x540f0d-0x0;var _0x5d2fc3=_0x389b[_0x540f0d];return _0x5d2fc3;};'use strict';var client=require(_0xb389('0x0'));exports['update']=function(_0x404af2,_0x4fa120){return client[_0xb389('0x1')](_0xb389('0x2'),{'body':_0x4fa120,'options':{'where':{'id':_0x404af2}},'log':_0xb389('0x3')});};exports['addTags']=function(_0x22e1bc,_0x867d35){return client[_0xb389('0x1')]('AddTagsToChatInteraction',{'body':_0x867d35,'options':{'where':{'id':_0x22e1bc}},'log':'addTagsToChatInteraction'});};