5fa3854c0bfa0a5ae431a0adae19a5c61d9cf786
[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 _0x11ff=['update','Request','UpdateOpenchannelQueueReport','../client','create','CreateOpenchannelQueueReport'];(function(_0x219710,_0x5c6ad9){var _0x230894=function(_0x12e26b){while(--_0x12e26b){_0x219710['push'](_0x219710['shift']());}};_0x230894(++_0x5c6ad9);}(_0x11ff,0x1d1));var _0xf11f=function(_0x3f55d8,_0x1186a0){_0x3f55d8=_0x3f55d8-0x0;var _0x151410=_0x11ff[_0x3f55d8];return _0x151410;};'use strict';var client=require(_0xf11f('0x0'));exports[_0xf11f('0x1')]=function(_0x45655e){return client['Request'](_0xf11f('0x2'),{'body':_0x45655e,'log':_0xf11f('0x2')});};exports[_0xf11f('0x3')]=function(_0x53d1bc,_0x4e9239){return client[_0xf11f('0x4')](_0xf11f('0x5'),{'body':_0x4e9239,'options':{'where':{'uniqueid':_0x53d1bc},'order':[['id','DESC']],'limit':0x1},'log':_0xf11f('0x5')});};