4a0f30cb8f58e821944394bfb6f90970ab73aa22
[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 _0x34ff=['addTagsToChatInteraction','update','UpdateOpenchannelInteraction','updateOpenchannelInteraction','addTags','Request','AddTagsToOpenchannelInteraction'];(function(_0x35960d,_0x3a9eec){var _0x1a7da5=function(_0x563010){while(--_0x563010){_0x35960d['push'](_0x35960d['shift']());}};_0x1a7da5(++_0x3a9eec);}(_0x34ff,0xe1));var _0xf34f=function(_0x5d56f3,_0xe9a8a3){_0x5d56f3=_0x5d56f3-0x0;var _0x5affee=_0x34ff[_0x5d56f3];return _0x5affee;};'use strict';var client=require('../client');exports[_0xf34f('0x0')]=function(_0x4f6111,_0x41659b){return client['Request'](_0xf34f('0x1'),{'body':_0x41659b,'options':{'where':{'id':_0x4f6111}},'log':_0xf34f('0x2')});};exports[_0xf34f('0x3')]=function(_0x3a1f85,_0x1a0ea6){return client[_0xf34f('0x4')](_0xf34f('0x5'),{'body':_0x1a0ea6,'options':{'where':{'id':_0x3a1f85}},'log':_0xf34f('0x6')});};