1623cf8a1ea6ff558137723d57ff24b488ad54a9
[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 _0x7317=['update','Request','UpdateOpenchannelQueueReport','DESC','../client','create','CreateOpenchannelQueueReport'];(function(_0x2f7eec,_0xedede){var _0xdbd4bd=function(_0x57207b){while(--_0x57207b){_0x2f7eec['push'](_0x2f7eec['shift']());}};_0xdbd4bd(++_0xedede);}(_0x7317,0xac));var _0x7731=function(_0x1335fe,_0x1d4864){_0x1335fe=_0x1335fe-0x0;var _0x439366=_0x7317[_0x1335fe];return _0x439366;};'use strict';var client=require(_0x7731('0x0'));exports[_0x7731('0x1')]=function(_0x1528e7){return client['Request'](_0x7731('0x2'),{'body':_0x1528e7,'log':_0x7731('0x2')});};exports[_0x7731('0x3')]=function(_0x399b77,_0x523fce){return client[_0x7731('0x4')](_0x7731('0x5'),{'body':_0x523fce,'options':{'where':{'uniqueid':_0x399b77},'order':[['id',_0x7731('0x6')]],'limit':0x1},'log':_0x7731('0x5')});};