Built motion from commit 4ffc18b1.|2.6.31
[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 _0x6b1e=['DESC','../client','create','Request','CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport'];(function(_0x4ec6cd,_0x45b274){var _0x55c852=function(_0x3c19a4){while(--_0x3c19a4){_0x4ec6cd['push'](_0x4ec6cd['shift']());}};_0x55c852(++_0x45b274);}(_0x6b1e,0xd3));var _0xe6b1=function(_0x12089a,_0x3aed47){_0x12089a=_0x12089a-0x0;var _0x5c1bfe=_0x6b1e[_0x12089a];return _0x5c1bfe;};'use strict';var client=require(_0xe6b1('0x0'));exports[_0xe6b1('0x1')]=function(_0xcc7bbd){return client[_0xe6b1('0x2')](_0xe6b1('0x3'),{'body':_0xcc7bbd,'log':_0xe6b1('0x3')});};exports[_0xe6b1('0x4')]=function(_0x4b1869,_0x1aab21){return client[_0xe6b1('0x2')](_0xe6b1('0x5'),{'body':_0x1aab21,'options':{'where':{'uniqueid':_0x4b1869},'order':[['id',_0xe6b1('0x6')]],'limit':0x1},'log':_0xe6b1('0x5')});};