Built motion from commit 67e5df37.|2.0.66
[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 _0xf14b=['DESC','Request','CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport'];(function(_0x2f5b52,_0x45ab7e){var _0x17776c=function(_0x4aec45){while(--_0x4aec45){_0x2f5b52['push'](_0x2f5b52['shift']());}};_0x17776c(++_0x45ab7e);}(_0xf14b,0x6f));var _0xbf14=function(_0x5b9dd7,_0x43a06e){_0x5b9dd7=_0x5b9dd7-0x0;var _0x49ec19=_0xf14b[_0x5b9dd7];return _0x49ec19;};'use strict';var client=require('../client');exports['create']=function(_0x3e054a){return client[_0xbf14('0x0')](_0xbf14('0x1'),{'body':_0x3e054a,'log':_0xbf14('0x1')});};exports[_0xbf14('0x2')]=function(_0x44e3fb,_0x2e18fd){return client['Request'](_0xbf14('0x3'),{'body':_0x2e18fd,'options':{'where':{'uniqueid':_0x44e3fb},'order':[['id',_0xbf14('0x4')]],'limit':0x1},'log':'UpdateOpenchannelQueueReport'});};