Built motion from commit 25580385.|2.6.2
[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 _0xb6f2=['Request','AddTagsToOpenchannelInteraction','addTagsToChatInteraction','../client','updateOpenchannelInteraction','addTags'];(function(_0x1127f9,_0x55532f){var _0x459f77=function(_0x19fca2){while(--_0x19fca2){_0x1127f9['push'](_0x1127f9['shift']());}};_0x459f77(++_0x55532f);}(_0xb6f2,0x93));var _0x2b6f=function(_0x2c7618,_0x26be9c){_0x2c7618=_0x2c7618-0x0;var _0x5ce3f0=_0xb6f2[_0x2c7618];return _0x5ce3f0;};'use strict';var client=require(_0x2b6f('0x0'));exports['update']=function(_0x226a23,_0x31d097){return client['Request']('UpdateOpenchannelInteraction',{'body':_0x31d097,'options':{'where':{'id':_0x226a23}},'log':_0x2b6f('0x1')});};exports[_0x2b6f('0x2')]=function(_0x508941,_0x2c13b2){return client[_0x2b6f('0x3')](_0x2b6f('0x4'),{'body':_0x2c13b2,'options':{'where':{'id':_0x508941}},'log':_0x2b6f('0x5')});};