245a50714decf26fb7f959087b0b586375dc8294
[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 _0x742d=['addTagsToChatInteraction','../client','update','Request','updateOpenchannelInteraction','addTags','AddTagsToOpenchannelInteraction'];(function(_0x465a0c,_0x19d4d5){var _0x1e202e=function(_0x27bd8a){while(--_0x27bd8a){_0x465a0c['push'](_0x465a0c['shift']());}};_0x1e202e(++_0x19d4d5);}(_0x742d,0x189));var _0xd742=function(_0x19af9f,_0x203baa){_0x19af9f=_0x19af9f-0x0;var _0x16e000=_0x742d[_0x19af9f];return _0x16e000;};'use strict';var client=require(_0xd742('0x0'));exports[_0xd742('0x1')]=function(_0x266910,_0x3f87a4){return client[_0xd742('0x2')]('UpdateOpenchannelInteraction',{'body':_0x3f87a4,'options':{'where':{'id':_0x266910}},'log':_0xd742('0x3')});};exports[_0xd742('0x4')]=function(_0x5e5510,_0x2549e5){return client['Request'](_0xd742('0x5'),{'body':_0x2549e5,'options':{'where':{'id':_0x5e5510}},'log':_0xd742('0x6')});};