Built motion from commit (unavailable).|2.5.30
[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 _0xb286=['create','CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport','../client'];(function(_0x5de651,_0x569ace){var _0x36a0cd=function(_0xb98cee){while(--_0xb98cee){_0x5de651['push'](_0x5de651['shift']());}};_0x36a0cd(++_0x569ace);}(_0xb286,0x180));var _0x6b28=function(_0x2840ab,_0xcd9d7c){_0x2840ab=_0x2840ab-0x0;var _0x21c70f=_0xb286[_0x2840ab];return _0x21c70f;};'use strict';var client=require(_0x6b28('0x0'));exports[_0x6b28('0x1')]=function(_0x3c99b7){return client['Request'](_0x6b28('0x2'),{'body':_0x3c99b7,'log':_0x6b28('0x2')});};exports[_0x6b28('0x3')]=function(_0x3bcb90,_0xa4baf2){return client['Request'](_0x6b28('0x4'),{'body':_0xa4baf2,'options':{'where':{'uniqueid':_0x3bcb90},'order':[['id','DESC']],'limit':0x1},'log':_0x6b28('0x4')});};