Built motion from commit db94841.|2.5.3
[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 _0xb9d6=['UpdateChatInteraction','addTags','Request','AddTagsToChatInteraction','addTagsToChatInteraction','../client'];(function(_0x1d1360,_0x2853bf){var _0x52ec85=function(_0x5856e7){while(--_0x5856e7){_0x1d1360['push'](_0x1d1360['shift']());}};_0x52ec85(++_0x2853bf);}(_0xb9d6,0x1a9));var _0x6b9d=function(_0x58676f,_0x129c57){_0x58676f=_0x58676f-0x0;var _0x349063=_0xb9d6[_0x58676f];return _0x349063;};'use strict';var client=require(_0x6b9d('0x0'));exports['update']=function(_0x40dd49,_0x565e50){return client['Request'](_0x6b9d('0x1'),{'body':_0x565e50,'options':{'where':{'id':_0x40dd49}},'log':'updateChatInteraction'});};exports[_0x6b9d('0x2')]=function(_0x4a51e7,_0x570dc5){return client[_0x6b9d('0x3')](_0x6b9d('0x4'),{'body':_0x570dc5,'options':{'where':{'id':_0x4a51e7}},'log':_0x6b9d('0x5')});};