e3de29859df210fcbcb8f51f4066135799be0023
[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 _0x2799=['addTagsToChatInteraction','../client','Request','UpdateOpenchannelInteraction','updateOpenchannelInteraction','addTags','AddTagsToOpenchannelInteraction'];(function(_0xd5df89,_0x17db3e){var _0x5bd728=function(_0x56b745){while(--_0x56b745){_0xd5df89['push'](_0xd5df89['shift']());}};_0x5bd728(++_0x17db3e);}(_0x2799,0xd3));var _0x9279=function(_0x3e30b9,_0x1a7479){_0x3e30b9=_0x3e30b9-0x0;var _0x376875=_0x2799[_0x3e30b9];return _0x376875;};'use strict';var client=require(_0x9279('0x0'));exports['update']=function(_0x5c1aae,_0x1f69f1){return client[_0x9279('0x1')](_0x9279('0x2'),{'body':_0x1f69f1,'options':{'where':{'id':_0x5c1aae}},'log':_0x9279('0x3')});};exports[_0x9279('0x4')]=function(_0x5e67f4,_0x2fff41){return client[_0x9279('0x1')](_0x9279('0x5'),{'body':_0x2fff41,'options':{'where':{'id':_0x5e67f4}},'log':_0x9279('0x6')});};