d4acd0509adc4639a83f96b85f4d3d57bdcd5564
[motion2.git] / server / services / routing / rpc / openchannelInteraction.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 _0x0c66=['update','Request','UpdateOpenchannelInteraction','updateOpenchannelInteraction','addTags','AddTagsToOpenchannelInteraction','addTagsToChatInteraction','../client'];(function(_0x44f267,_0x4c9f7f){var _0x2b9037=function(_0x3370cc){while(--_0x3370cc){_0x44f267['push'](_0x44f267['shift']());}};_0x2b9037(++_0x4c9f7f);}(_0x0c66,0xd7));var _0x60c6=function(_0x27af45,_0x1b57aa){_0x27af45=_0x27af45-0x0;var _0x18df21=_0x0c66[_0x27af45];return _0x18df21;};'use strict';var client=require(_0x60c6('0x0'));exports[_0x60c6('0x1')]=function(_0x386718,_0x3835a4){return client[_0x60c6('0x2')](_0x60c6('0x3'),{'body':_0x3835a4,'options':{'where':{'id':_0x386718}},'log':_0x60c6('0x4')});};exports[_0x60c6('0x5')]=function(_0x445985,_0x36dbe8){return client[_0x60c6('0x2')](_0x60c6('0x6'),{'body':_0x36dbe8,'options':{'where':{'id':_0x445985}},'log':_0x60c6('0x7')});};