8661d55ec3f193f7a5653ee72415c913e3550686
[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 _0x229b=['UpdateOpenchannelInteraction','updateOpenchannelInteraction','addTags','../client','update','Request'];(function(_0x4d4c96,_0x107191){var _0x3e40b0=function(_0x82c265){while(--_0x82c265){_0x4d4c96['push'](_0x4d4c96['shift']());}};_0x3e40b0(++_0x107191);}(_0x229b,0x18f));var _0xb229=function(_0x3e3095,_0x4ce388){_0x3e3095=_0x3e3095-0x0;var _0x59a218=_0x229b[_0x3e3095];return _0x59a218;};'use strict';var client=require(_0xb229('0x0'));exports[_0xb229('0x1')]=function(_0x48a1a5,_0x23edd2){return client[_0xb229('0x2')](_0xb229('0x3'),{'body':_0x23edd2,'options':{'where':{'id':_0x48a1a5}},'log':_0xb229('0x4')});};exports[_0xb229('0x5')]=function(_0x785270,_0x5291e3){return client[_0xb229('0x2')]('AddTagsToOpenchannelInteraction',{'body':_0x5291e3,'options':{'where':{'id':_0x785270}},'log':'addTagsToChatInteraction'});};