1f0d5e95681db9538dcb309525cbb98e18df3830
[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 _0x8f48=['UpdateChatInteraction','updateChatInteraction','addTags','AddTagsToChatInteraction','../client','update','Request'];(function(_0x1cb129,_0x5eb70a){var _0x58d6fd=function(_0x2e7bfa){while(--_0x2e7bfa){_0x1cb129['push'](_0x1cb129['shift']());}};_0x58d6fd(++_0x5eb70a);}(_0x8f48,0xa5));var _0x88f4=function(_0x26a906,_0x3d135c){_0x26a906=_0x26a906-0x0;var _0x495575=_0x8f48[_0x26a906];return _0x495575;};'use strict';var client=require(_0x88f4('0x0'));exports[_0x88f4('0x1')]=function(_0x1e17da,_0x2752ec){return client[_0x88f4('0x2')](_0x88f4('0x3'),{'body':_0x2752ec,'options':{'where':{'id':_0x1e17da}},'log':_0x88f4('0x4')});};exports[_0x88f4('0x5')]=function(_0x4ba1a5,_0x3dcdca){return client[_0x88f4('0x2')](_0x88f4('0x6'),{'body':_0x3dcdca,'options':{'where':{'id':_0x4ba1a5}},'log':'addTagsToChatInteraction'});};