c4c45fcf135976f3e679c92952ccec61c80827ba
[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 _0xb16f=['Request','../client','create','CreateOpenchannelQueueReport','update'];(function(_0x2dbce7,_0x57cb8d){var _0x3a3ed0=function(_0x28c8c6){while(--_0x28c8c6){_0x2dbce7['push'](_0x2dbce7['shift']());}};_0x3a3ed0(++_0x57cb8d);}(_0xb16f,0xf6));var _0xfb16=function(_0x5401ae,_0x5e58ac){_0x5401ae=_0x5401ae-0x0;var _0x286068=_0xb16f[_0x5401ae];return _0x286068;};'use strict';var client=require(_0xfb16('0x0'));exports[_0xfb16('0x1')]=function(_0x3c5723){return client['Request'](_0xfb16('0x2'),{'body':_0x3c5723,'log':_0xfb16('0x2')});};exports[_0xfb16('0x3')]=function(_0x262e26,_0x5caa17){return client[_0xfb16('0x4')]('UpdateOpenchannelQueueReport',{'body':_0x5caa17,'options':{'where':{'uniqueid':_0x262e26},'order':[['id','DESC']],'limit':0x1},'log':'UpdateOpenchannelQueueReport'});};