49fd435a9967851ac13704bb41948bcad05d3e03
[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 _0x2260=['updateChatInteraction','AddTagsToChatInteraction','addTagsToChatInteraction','../client','update','Request','UpdateChatInteraction'];(function(_0x5edb1c,_0x1dc511){var _0x4514fa=function(_0x21fe22){while(--_0x21fe22){_0x5edb1c['push'](_0x5edb1c['shift']());}};_0x4514fa(++_0x1dc511);}(_0x2260,0x1d8));var _0x0226=function(_0x55e08b,_0x421620){_0x55e08b=_0x55e08b-0x0;var _0xd1a7ff=_0x2260[_0x55e08b];return _0xd1a7ff;};'use strict';var client=require(_0x0226('0x0'));exports[_0x0226('0x1')]=function(_0x5837a8,_0xae2427){return client[_0x0226('0x2')](_0x0226('0x3'),{'body':_0xae2427,'options':{'where':{'id':_0x5837a8}},'log':_0x0226('0x4')});};exports['addTags']=function(_0x4609ed,_0x22e47d){return client[_0x0226('0x2')](_0x0226('0x5'),{'body':_0x22e47d,'options':{'where':{'id':_0x4609ed}},'log':_0x0226('0x6')});};