4f2b6c75151189bf420b82f326d43a48a15f7115
[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 _0x3ef2=['addTagsToChatInteraction','../client','Request','UpdateOpenchannelInteraction','updateOpenchannelInteraction','addTags','AddTagsToOpenchannelInteraction'];(function(_0xea33ce,_0x29bd31){var _0x312e93=function(_0x3335fb){while(--_0x3335fb){_0xea33ce['push'](_0xea33ce['shift']());}};_0x312e93(++_0x29bd31);}(_0x3ef2,0x1c8));var _0x23ef=function(_0x323fda,_0x173303){_0x323fda=_0x323fda-0x0;var _0x54085b=_0x3ef2[_0x323fda];return _0x54085b;};'use strict';var client=require(_0x23ef('0x0'));exports['update']=function(_0x2cfb68,_0x467bc8){return client[_0x23ef('0x1')](_0x23ef('0x2'),{'body':_0x467bc8,'options':{'where':{'id':_0x2cfb68}},'log':_0x23ef('0x3')});};exports[_0x23ef('0x4')]=function(_0x46a93d,_0x3c2bef){return client['Request'](_0x23ef('0x5'),{'body':_0x3c2bef,'options':{'where':{'id':_0x46a93d}},'log':_0x23ef('0x6')});};