55d593d3e86dc7d0e3cb4a1756bef8d2d124dd57
[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 _0x608c=['update','UpdateOpenchannelQueueReport','DESC','../client','Request','CreateOpenchannelQueueReport'];(function(_0x9cd4c3,_0x1c9b2c){var _0x4c9025=function(_0x25b3c6){while(--_0x25b3c6){_0x9cd4c3['push'](_0x9cd4c3['shift']());}};_0x4c9025(++_0x1c9b2c);}(_0x608c,0x1a1));var _0xc608=function(_0x4d8a8f,_0x2ae06d){_0x4d8a8f=_0x4d8a8f-0x0;var _0x5b7c07=_0x608c[_0x4d8a8f];return _0x5b7c07;};'use strict';var client=require(_0xc608('0x0'));exports['create']=function(_0x46863c){return client[_0xc608('0x1')](_0xc608('0x2'),{'body':_0x46863c,'log':_0xc608('0x2')});};exports[_0xc608('0x3')]=function(_0x2ff32e,_0x124682){return client[_0xc608('0x1')](_0xc608('0x4'),{'body':_0x124682,'options':{'where':{'uniqueid':_0x2ff32e},'order':[['id',_0xc608('0x5')]],'limit':0x1},'log':_0xc608('0x4')});};