Built motion from commit d5e4af8c.|2.6.23
[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 _0xa30e=['CreateOpenchannelQueueReport','UpdateOpenchannelQueueReport','DESC','../client','create','Request'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0xa30e,0x117));var _0xea30=function(_0x598408,_0x5e6f74){_0x598408=_0x598408-0x0;var _0x560720=_0xa30e[_0x598408];return _0x560720;};'use strict';var client=require(_0xea30('0x0'));exports[_0xea30('0x1')]=function(_0x411f88){return client[_0xea30('0x2')](_0xea30('0x3'),{'body':_0x411f88,'log':_0xea30('0x3')});};exports['update']=function(_0x5c10c5,_0x4e6f0c){return client[_0xea30('0x2')](_0xea30('0x4'),{'body':_0x4e6f0c,'options':{'where':{'uniqueid':_0x5c10c5},'order':[['id',_0xea30('0x5')]],'limit':0x1},'log':'UpdateOpenchannelQueueReport'});};