Built motion from commit da24aabd.|2.6.20
[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 _0x0457=['Request','DESC','create','CreateOpenchannelQueueReport','update'];(function(_0x31db3a,_0x1a81bb){var _0x201c37=function(_0x54e7f3){while(--_0x54e7f3){_0x31db3a['push'](_0x31db3a['shift']());}};_0x201c37(++_0x1a81bb);}(_0x0457,0x11f));var _0x7045=function(_0x2d2258,_0x2ce510){_0x2d2258=_0x2d2258-0x0;var _0x18e155=_0x0457[_0x2d2258];return _0x18e155;};'use strict';var client=require('../client');exports[_0x7045('0x0')]=function(_0x2f6085){return client['Request'](_0x7045('0x1'),{'body':_0x2f6085,'log':_0x7045('0x1')});};exports[_0x7045('0x2')]=function(_0x2e3761,_0x1167ea){return client[_0x7045('0x3')]('UpdateOpenchannelQueueReport',{'body':_0x1167ea,'options':{'where':{'uniqueid':_0x2e3761},'order':[['id',_0x7045('0x4')]],'limit':0x1},'log':'UpdateOpenchannelQueueReport'});};