45b699b38a6b63d619ffe9b9d0a64d8c9e9f0aa0
[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 _0xee80=['UpdateOpenchannelInteraction','updateOpenchannelInteraction','addTags','Request','AddTagsToOpenchannelInteraction','addTagsToChatInteraction','../client'];(function(_0x618414,_0x1a7a60){var _0x21c19a=function(_0x507b17){while(--_0x507b17){_0x618414['push'](_0x618414['shift']());}};_0x21c19a(++_0x1a7a60);}(_0xee80,0xb5));var _0x0ee8=function(_0x19b3f9,_0xade753){_0x19b3f9=_0x19b3f9-0x0;var _0x18c3f6=_0xee80[_0x19b3f9];return _0x18c3f6;};'use strict';var client=require(_0x0ee8('0x0'));exports['update']=function(_0x596171,_0x595295){return client['Request'](_0x0ee8('0x1'),{'body':_0x595295,'options':{'where':{'id':_0x596171}},'log':_0x0ee8('0x2')});};exports[_0x0ee8('0x3')]=function(_0x44c488,_0x41dad6){return client[_0x0ee8('0x4')](_0x0ee8('0x5'),{'body':_0x41dad6,'options':{'where':{'id':_0x44c488}},'log':_0x0ee8('0x6')});};