Built motion from commit (unavailable).|2.5.10
[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 _0x785b=['addTagsToChatInteraction','../client','UpdateChatInteraction','addTags','Request','AddTagsToChatInteraction'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x785b,0xc7));var _0xb785=function(_0xd53c2e,_0x332862){_0xd53c2e=_0xd53c2e-0x0;var _0x30f2ee=_0x785b[_0xd53c2e];return _0x30f2ee;};'use strict';var client=require(_0xb785('0x0'));exports['update']=function(_0x4a5117,_0x4a4e69){return client['Request'](_0xb785('0x1'),{'body':_0x4a4e69,'options':{'where':{'id':_0x4a5117}},'log':'updateChatInteraction'});};exports[_0xb785('0x2')]=function(_0x59debb,_0x1c76dc){return client[_0xb785('0x3')](_0xb785('0x4'),{'body':_0x1c76dc,'options':{'where':{'id':_0x59debb}},'log':_0xb785('0x5')});};