Built motion from commit (unavailable).|2.4.3
[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 _0xe937=['addTagsToChatInteraction','../client','Request','UpdateOpenchannelInteraction','updateOpenchannelInteraction'];(function(_0x1928c9,_0x13a6d1){var _0x51b5fb=function(_0x24cf70){while(--_0x24cf70){_0x1928c9['push'](_0x1928c9['shift']());}};_0x51b5fb(++_0x13a6d1);}(_0xe937,0x74));var _0x7e93=function(_0x21d5c6,_0x405f7e){_0x21d5c6=_0x21d5c6-0x0;var _0x2e578c=_0xe937[_0x21d5c6];return _0x2e578c;};'use strict';var client=require(_0x7e93('0x0'));exports['update']=function(_0x77a05,_0xfde95){return client[_0x7e93('0x1')](_0x7e93('0x2'),{'body':_0xfde95,'options':{'where':{'id':_0x77a05}},'log':_0x7e93('0x3')});};exports['addTags']=function(_0x1d2e86,_0xfff57d){return client[_0x7e93('0x1')]('AddTagsToOpenchannelInteraction',{'body':_0xfff57d,'options':{'where':{'id':_0x1d2e86}},'log':_0x7e93('0x4')});};