Built motion from commit (unavailable).|2.5.0
[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 _0x26ca=['CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport','../client','Request'];(function(_0x181b4e,_0x4652a5){var _0x7f1832=function(_0x202601){while(--_0x202601){_0x181b4e['push'](_0x181b4e['shift']());}};_0x7f1832(++_0x4652a5);}(_0x26ca,0x111));var _0xa26c=function(_0x12a554,_0x3d7ef8){_0x12a554=_0x12a554-0x0;var _0x244ba0=_0x26ca[_0x12a554];return _0x244ba0;};'use strict';var client=require(_0xa26c('0x0'));exports['create']=function(_0x13ed99){return client[_0xa26c('0x1')](_0xa26c('0x2'),{'body':_0x13ed99,'log':'CreateOpenchannelQueueReport'});};exports[_0xa26c('0x3')]=function(_0x3bb8e9,_0x34a018){return client[_0xa26c('0x1')](_0xa26c('0x4'),{'body':_0x34a018,'options':{'where':{'uniqueid':_0x3bb8e9},'order':[['id','DESC']],'limit':0x1},'log':_0xa26c('0x4')});};