Built motion from commit 753c950e.|2.5.42
[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 _0x9071=['Request','updateOpenchannelInteraction','addTags','AddTagsToOpenchannelInteraction','addTagsToChatInteraction','../client'];(function(_0x1bfd25,_0x349005){var _0x11804d=function(_0x47334c){while(--_0x47334c){_0x1bfd25['push'](_0x1bfd25['shift']());}};_0x11804d(++_0x349005);}(_0x9071,0x6b));var _0x1907=function(_0x403e22,_0x16d5fb){_0x403e22=_0x403e22-0x0;var _0x1056aa=_0x9071[_0x403e22];return _0x1056aa;};'use strict';var client=require(_0x1907('0x0'));exports['update']=function(_0x35acc2,_0x1fca04){return client[_0x1907('0x1')]('UpdateOpenchannelInteraction',{'body':_0x1fca04,'options':{'where':{'id':_0x35acc2}},'log':_0x1907('0x2')});};exports[_0x1907('0x3')]=function(_0x5eb066,_0x5da75b){return client[_0x1907('0x1')](_0x1907('0x4'),{'body':_0x5da75b,'options':{'where':{'id':_0x5eb066}},'log':_0x1907('0x5')});};