Built motion from commit fda31434.|2.5.44
[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 _0xb014=['addTags','Request','AddTagsToOpenchannelInteraction','addTagsToChatInteraction','../client','update'];(function(_0x21940d,_0x2209da){var _0x22d948=function(_0x53ee6d){while(--_0x53ee6d){_0x21940d['push'](_0x21940d['shift']());}};_0x22d948(++_0x2209da);}(_0xb014,0x1c6));var _0x4b01=function(_0x23607f,_0x51db51){_0x23607f=_0x23607f-0x0;var _0x5a5be0=_0xb014[_0x23607f];return _0x5a5be0;};'use strict';var client=require(_0x4b01('0x0'));exports[_0x4b01('0x1')]=function(_0x1b96d0,_0x101d6c){return client['Request']('UpdateOpenchannelInteraction',{'body':_0x101d6c,'options':{'where':{'id':_0x1b96d0}},'log':'updateOpenchannelInteraction'});};exports[_0x4b01('0x2')]=function(_0x8cd66d,_0x32043b){return client[_0x4b01('0x3')](_0x4b01('0x4'),{'body':_0x32043b,'options':{'where':{'id':_0x8cd66d}},'log':_0x4b01('0x5')});};