Built motion from commit 67e5df37.|2.0.66
[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 _0x5ad6=['updateChatInteraction','addTags','Request','AddTagsToChatInteraction','addTagsToChatInteraction','../client'];(function(_0xb7a9dd,_0x4867bc){var _0x3ad7b5=function(_0xdf7201){while(--_0xdf7201){_0xb7a9dd['push'](_0xb7a9dd['shift']());}};_0x3ad7b5(++_0x4867bc);}(_0x5ad6,0x161));var _0x65ad=function(_0x4207a6,_0x3a3110){_0x4207a6=_0x4207a6-0x0;var _0x42b37a=_0x5ad6[_0x4207a6];return _0x42b37a;};'use strict';var client=require(_0x65ad('0x0'));exports['update']=function(_0x46ca02,_0x56517f){return client['Request']('UpdateChatInteraction',{'body':_0x56517f,'options':{'where':{'id':_0x46ca02}},'log':_0x65ad('0x1')});};exports[_0x65ad('0x2')]=function(_0x6ac2cb,_0x929299){return client[_0x65ad('0x3')](_0x65ad('0x4'),{'body':_0x929299,'options':{'where':{'id':_0x6ac2cb}},'log':_0x65ad('0x5')});};