363fdf4f2bacd686ca2d398687c1a40066f1cff4
[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 _0x2199=['DESC','create','CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x2199,0xb5));var _0x9219=function(_0x52bd9d,_0x3d0a14){_0x52bd9d=_0x52bd9d-0x0;var _0x5dda82=_0x2199[_0x52bd9d];return _0x5dda82;};'use strict';var client=require('../client');exports[_0x9219('0x0')]=function(_0x36f8e1){return client['Request'](_0x9219('0x1'),{'body':_0x36f8e1,'log':_0x9219('0x1')});};exports[_0x9219('0x2')]=function(_0xaa6995,_0x12860e){return client['Request'](_0x9219('0x3'),{'body':_0x12860e,'options':{'where':{'uniqueid':_0xaa6995},'order':[['id',_0x9219('0x4')]],'limit':0x1},'log':_0x9219('0x3')});};