Built motion from commit d5e4af8c.|2.6.23
[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 _0xf314=['addTagsToChatInteraction','../client','Request','UpdateOpenchannelInteraction','addTags','AddTagsToOpenchannelInteraction'];(function(_0x9f373a,_0x50e482){var _0x5084f6=function(_0x5d92b0){while(--_0x5d92b0){_0x9f373a['push'](_0x9f373a['shift']());}};_0x5084f6(++_0x50e482);}(_0xf314,0x109));var _0x4f31=function(_0x1d9aa0,_0x272488){_0x1d9aa0=_0x1d9aa0-0x0;var _0x226868=_0xf314[_0x1d9aa0];return _0x226868;};'use strict';var client=require(_0x4f31('0x0'));exports['update']=function(_0x5078f7,_0x11f443){return client[_0x4f31('0x1')](_0x4f31('0x2'),{'body':_0x11f443,'options':{'where':{'id':_0x5078f7}},'log':'updateOpenchannelInteraction'});};exports[_0x4f31('0x3')]=function(_0x45c61f,_0x4f6aec){return client[_0x4f31('0x1')](_0x4f31('0x4'),{'body':_0x4f6aec,'options':{'where':{'id':_0x45c61f}},'log':_0x4f31('0x5')});};