e8c01d6aec2cf000053ecc66c76d0c76f4df35eb
[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 _0x990d=['../client','update','UpdateOpenchannelInteraction','addTags','Request','AddTagsToOpenchannelInteraction','addTagsToChatInteraction'];(function(_0x565c49,_0x54acd0){var _0x20ca34=function(_0x42f7e1){while(--_0x42f7e1){_0x565c49['push'](_0x565c49['shift']());}};_0x20ca34(++_0x54acd0);}(_0x990d,0x16c));var _0xd990=function(_0xe326ae,_0x49dd64){_0xe326ae=_0xe326ae-0x0;var _0x2bde3c=_0x990d[_0xe326ae];return _0x2bde3c;};'use strict';var client=require(_0xd990('0x0'));exports[_0xd990('0x1')]=function(_0x1b6648,_0x18e8b4){return client['Request'](_0xd990('0x2'),{'body':_0x18e8b4,'options':{'where':{'id':_0x1b6648}},'log':'updateOpenchannelInteraction'});};exports[_0xd990('0x3')]=function(_0x2cd5da,_0x4e3ee4){return client[_0xd990('0x4')](_0xd990('0x5'),{'body':_0x4e3ee4,'options':{'where':{'id':_0x2cd5da}},'log':_0xd990('0x6')});};