Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / services / routing / rpc / openchannelQueueReport.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 _0x3cde=['UpdateOpenchannelQueueReport','../client','create','Request','CreateOpenchannelQueueReport','update'];(function(_0x37df6c,_0x2a9666){var _0x41f7aa=function(_0x2c9605){while(--_0x2c9605){_0x37df6c['push'](_0x37df6c['shift']());}};_0x41f7aa(++_0x2a9666);}(_0x3cde,0x1d5));var _0xe3cd=function(_0x93cca6,_0x2a950c){_0x93cca6=_0x93cca6-0x0;var _0x632a5f=_0x3cde[_0x93cca6];return _0x632a5f;};'use strict';var client=require(_0xe3cd('0x0'));exports[_0xe3cd('0x1')]=function(_0xe1e38e){return client[_0xe3cd('0x2')]('CreateOpenchannelQueueReport',{'body':_0xe1e38e,'log':_0xe3cd('0x3')});};exports[_0xe3cd('0x4')]=function(_0x2dcd29,_0x11f19d){return client[_0xe3cd('0x2')](_0xe3cd('0x5'),{'body':_0x11f19d,'options':{'where':{'uniqueid':_0x2dcd29},'order':[['id','DESC']],'limit':0x1},'log':'UpdateOpenchannelQueueReport'});};