68662398cd06779c34ee7b3099c9f93988efd057
[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 _0x813a=['Request','UpdateOpenchannelInteraction','updateOpenchannelInteraction','addTags','../client','update'];(function(_0x5ce15c,_0x19c917){var _0x36e4f5=function(_0x50fa90){while(--_0x50fa90){_0x5ce15c['push'](_0x5ce15c['shift']());}};_0x36e4f5(++_0x19c917);}(_0x813a,0x70));var _0xa813=function(_0x299048,_0x2b4907){_0x299048=_0x299048-0x0;var _0x79f464=_0x813a[_0x299048];return _0x79f464;};'use strict';var client=require(_0xa813('0x0'));exports[_0xa813('0x1')]=function(_0x3ddc80,_0x3446ec){return client[_0xa813('0x2')](_0xa813('0x3'),{'body':_0x3446ec,'options':{'where':{'id':_0x3ddc80}},'log':_0xa813('0x4')});};exports[_0xa813('0x5')]=function(_0x3862c2,_0x4d2c52){return client[_0xa813('0x2')]('AddTagsToOpenchannelInteraction',{'body':_0x4d2c52,'options':{'where':{'id':_0x3862c2}},'log':'addTagsToChatInteraction'});};