Built motion from commit ecb45b58.|2.6.31
[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 _0x8368=['../client','Request','UpdateOpenchannelInteraction','updateOpenchannelInteraction','addTags'];(function(_0x94110f,_0x510239){var _0x5529c7=function(_0x3a8f58){while(--_0x3a8f58){_0x94110f['push'](_0x94110f['shift']());}};_0x5529c7(++_0x510239);}(_0x8368,0xe6));var _0x8836=function(_0x50b8b7,_0x27baa1){_0x50b8b7=_0x50b8b7-0x0;var _0x16c75d=_0x8368[_0x50b8b7];return _0x16c75d;};'use strict';var client=require(_0x8836('0x0'));exports['update']=function(_0xb42c7d,_0x2f66f6){return client[_0x8836('0x1')](_0x8836('0x2'),{'body':_0x2f66f6,'options':{'where':{'id':_0xb42c7d}},'log':_0x8836('0x3')});};exports[_0x8836('0x4')]=function(_0x3d61e9,_0x33e734){return client['Request']('AddTagsToOpenchannelInteraction',{'body':_0x33e734,'options':{'where':{'id':_0x3d61e9}},'log':'addTagsToChatInteraction'});};