705c486404803ab51b09eccba9e8bd9a93fbdeed
[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 _0x45be=['UpdateOpenchannelInteraction','updateOpenchannelInteraction','addTags','AddTagsToOpenchannelInteraction','../client','Request'];(function(_0x4ec0d0,_0x3eb21e){var _0x319e6d=function(_0x2342a4){while(--_0x2342a4){_0x4ec0d0['push'](_0x4ec0d0['shift']());}};_0x319e6d(++_0x3eb21e);}(_0x45be,0x136));var _0xe45b=function(_0x5c01ae,_0x44449f){_0x5c01ae=_0x5c01ae-0x0;var _0x424bc1=_0x45be[_0x5c01ae];return _0x424bc1;};'use strict';var client=require(_0xe45b('0x0'));exports['update']=function(_0x382d42,_0x15e82d){return client[_0xe45b('0x1')](_0xe45b('0x2'),{'body':_0x15e82d,'options':{'where':{'id':_0x382d42}},'log':_0xe45b('0x3')});};exports[_0xe45b('0x4')]=function(_0x19b027,_0x580116){return client['Request'](_0xe45b('0x5'),{'body':_0x580116,'options':{'where':{'id':_0x19b027}},'log':'addTagsToChatInteraction'});};