Built motion from commit 639a1a7f.|2.6.19
[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 _0xa7d9=['update','Request','UpdateOpenchannelQueueReport','DESC','../client','create','CreateOpenchannelQueueReport'];(function(_0x5a1779,_0x24f20f){var _0x37eaaa=function(_0x3fd7c6){while(--_0x3fd7c6){_0x5a1779['push'](_0x5a1779['shift']());}};_0x37eaaa(++_0x24f20f);}(_0xa7d9,0x1d9));var _0x9a7d=function(_0xfae23b,_0x2be4ba){_0xfae23b=_0xfae23b-0x0;var _0x200640=_0xa7d9[_0xfae23b];return _0x200640;};'use strict';var client=require(_0x9a7d('0x0'));exports[_0x9a7d('0x1')]=function(_0x30b077){return client['Request'](_0x9a7d('0x2'),{'body':_0x30b077,'log':_0x9a7d('0x2')});};exports[_0x9a7d('0x3')]=function(_0x48d183,_0x5d7334){return client[_0x9a7d('0x4')](_0x9a7d('0x5'),{'body':_0x5d7334,'options':{'where':{'uniqueid':_0x48d183},'order':[['id',_0x9a7d('0x6')]],'limit':0x1},'log':_0x9a7d('0x5')});};