f929895e10cebb2fd13838cf27ed58eeb8ea28b9
[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 _0x0138=['addTagsToChatInteraction','Request','UpdateOpenchannelInteraction','AddTagsToOpenchannelInteraction'];(function(_0x338b51,_0x570865){var _0x4ae4ab=function(_0x16d237){while(--_0x16d237){_0x338b51['push'](_0x338b51['shift']());}};_0x4ae4ab(++_0x570865);}(_0x0138,0x1b9));var _0x8013=function(_0x2b269b,_0x293aca){_0x2b269b=_0x2b269b-0x0;var _0x483623=_0x0138[_0x2b269b];return _0x483623;};'use strict';var client=require('../client');exports['update']=function(_0x4685ee,_0x287c0a){return client[_0x8013('0x0')](_0x8013('0x1'),{'body':_0x287c0a,'options':{'where':{'id':_0x4685ee}},'log':'updateOpenchannelInteraction'});};exports['addTags']=function(_0x6d6676,_0x3b6324){return client['Request'](_0x8013('0x2'),{'body':_0x3b6324,'options':{'where':{'id':_0x6d6676}},'log':_0x8013('0x3')});};