f34fdc380b086954a9fb8ab0ff9b28ba69ae5061
[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 _0xaf31=['CreateOpenchannelQueueReport','update','Request','UpdateOpenchannelQueueReport','DESC','../client','create'];(function(_0x6f1277,_0x174c39){var _0x3512af=function(_0x36d5f0){while(--_0x36d5f0){_0x6f1277['push'](_0x6f1277['shift']());}};_0x3512af(++_0x174c39);}(_0xaf31,0xb4));var _0x1af3=function(_0x4f1335,_0x4be8dd){_0x4f1335=_0x4f1335-0x0;var _0x4a8cc5=_0xaf31[_0x4f1335];return _0x4a8cc5;};'use strict';var client=require(_0x1af3('0x0'));exports[_0x1af3('0x1')]=function(_0x478711){return client['Request'](_0x1af3('0x2'),{'body':_0x478711,'log':_0x1af3('0x2')});};exports[_0x1af3('0x3')]=function(_0x5f0632,_0x6aa40e){return client[_0x1af3('0x4')](_0x1af3('0x5'),{'body':_0x6aa40e,'options':{'where':{'uniqueid':_0x5f0632},'order':[['id',_0x1af3('0x6')]],'limit':0x1},'log':_0x1af3('0x5')});};