9823e7abcf6e74020cac69aa38a06ef55adfee24
[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 _0x1395=['addTagsToChatInteraction','../client','Request','UpdateOpenchannelInteraction','updateOpenchannelInteraction','AddTagsToOpenchannelInteraction'];(function(_0x5a8aa3,_0x2294d5){var _0x5d0458=function(_0x62d096){while(--_0x62d096){_0x5a8aa3['push'](_0x5a8aa3['shift']());}};_0x5d0458(++_0x2294d5);}(_0x1395,0x121));var _0x5139=function(_0x5a5db2,_0x1ace7c){_0x5a5db2=_0x5a5db2-0x0;var _0xbd063a=_0x1395[_0x5a5db2];return _0xbd063a;};'use strict';var client=require(_0x5139('0x0'));exports['update']=function(_0x1630ad,_0x4940e6){return client[_0x5139('0x1')](_0x5139('0x2'),{'body':_0x4940e6,'options':{'where':{'id':_0x1630ad}},'log':_0x5139('0x3')});};exports['addTags']=function(_0x1edd38,_0x3b3f64){return client['Request'](_0x5139('0x4'),{'body':_0x3b3f64,'options':{'where':{'id':_0x1edd38}},'log':_0x5139('0x5')});};