92ba9f90428398e47f639fedf68ee2cff0871731
[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 _0xa837=['updateOpenchannelInteraction','addTags','AddTagsToOpenchannelInteraction','addTagsToChatInteraction','../client','update','Request','UpdateOpenchannelInteraction'];(function(_0x209c5b,_0x160488){var _0x977ce7=function(_0x3e0e16){while(--_0x3e0e16){_0x209c5b['push'](_0x209c5b['shift']());}};_0x977ce7(++_0x160488);}(_0xa837,0x17c));var _0x7a83=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xa837[_0x321bb2];return _0x9c12ed;};'use strict';var client=require(_0x7a83('0x0'));exports[_0x7a83('0x1')]=function(_0x50bf1c,_0xf075fa){return client[_0x7a83('0x2')](_0x7a83('0x3'),{'body':_0xf075fa,'options':{'where':{'id':_0x50bf1c}},'log':_0x7a83('0x4')});};exports[_0x7a83('0x5')]=function(_0x4b3d32,_0x3fc092){return client['Request'](_0x7a83('0x6'),{'body':_0x3fc092,'options':{'where':{'id':_0x4b3d32}},'log':_0x7a83('0x7')});};