Built motion from commit b0a9a629.|2.6.33
[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 _0xd873=['../client','create','Request','UpdateOpenchannelQueueReport','DESC'];(function(_0x291f8b,_0x3b5591){var _0x275171=function(_0xb33d67){while(--_0xb33d67){_0x291f8b['push'](_0x291f8b['shift']());}};_0x275171(++_0x3b5591);}(_0xd873,0xe6));var _0x3d87=function(_0xa46aca,_0x10c140){_0xa46aca=_0xa46aca-0x0;var _0x4c21ea=_0xd873[_0xa46aca];return _0x4c21ea;};'use strict';var client=require(_0x3d87('0x0'));exports[_0x3d87('0x1')]=function(_0x51c76f){return client[_0x3d87('0x2')]('CreateOpenchannelQueueReport',{'body':_0x51c76f,'log':'CreateOpenchannelQueueReport'});};exports['update']=function(_0x1d2ca7,_0x405a5b){return client[_0x3d87('0x2')](_0x3d87('0x3'),{'body':_0x405a5b,'options':{'where':{'uniqueid':_0x1d2ca7},'order':[['id',_0x3d87('0x4')]],'limit':0x1},'log':'UpdateOpenchannelQueueReport'});};