5da56ee6dcf174dca7e717c5b114992c7a344dc4
[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 _0x28ca=['Request','UpdateChatInteraction','addTags','addTagsToChatInteraction','../client'];(function(_0x11c573,_0x9e7c6e){var _0x6b72de=function(_0x2e8a61){while(--_0x2e8a61){_0x11c573['push'](_0x11c573['shift']());}};_0x6b72de(++_0x9e7c6e);}(_0x28ca,0xb3));var _0xa28c=function(_0x3233c6,_0x58f115){_0x3233c6=_0x3233c6-0x0;var _0x5525c1=_0x28ca[_0x3233c6];return _0x5525c1;};'use strict';var client=require(_0xa28c('0x0'));exports['update']=function(_0x1e7829,_0x225f57){return client[_0xa28c('0x1')](_0xa28c('0x2'),{'body':_0x225f57,'options':{'where':{'id':_0x1e7829}},'log':'updateChatInteraction'});};exports[_0xa28c('0x3')]=function(_0xcfbd5d,_0x3d9e5e){return client[_0xa28c('0x1')]('AddTagsToChatInteraction',{'body':_0x3d9e5e,'options':{'where':{'id':_0xcfbd5d}},'log':_0xa28c('0x4')});};