Built motion from commit (unavailable).|2.5.15
[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 _0xac3d=['DESC','create','CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport'];(function(_0x3ab176,_0x51cb81){var _0x5493f8=function(_0x1ab604){while(--_0x1ab604){_0x3ab176['push'](_0x3ab176['shift']());}};_0x5493f8(++_0x51cb81);}(_0xac3d,0xec));var _0xdac3=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xac3d[_0x3dd15e];return _0x231fd0;};'use strict';var client=require('../client');exports[_0xdac3('0x0')]=function(_0x196251){return client['Request'](_0xdac3('0x1'),{'body':_0x196251,'log':_0xdac3('0x1')});};exports[_0xdac3('0x2')]=function(_0x3d2010,_0x290eca){return client['Request'](_0xdac3('0x3'),{'body':_0x290eca,'options':{'where':{'uniqueid':_0x3d2010},'order':[['id',_0xdac3('0x4')]],'limit':0x1},'log':_0xdac3('0x3')});};