Built motion from commit 3e059bc2.|2.5.32
[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 _0x0590=['update','DESC','UpdateOpenchannelQueueReport','Request','CreateOpenchannelQueueReport'];(function(_0x4cd93d,_0x578e45){var _0x59ee62=function(_0x2ff583){while(--_0x2ff583){_0x4cd93d['push'](_0x4cd93d['shift']());}};_0x59ee62(++_0x578e45);}(_0x0590,0x166));var _0x0059=function(_0x18e37a,_0x1ca8e2){_0x18e37a=_0x18e37a-0x0;var _0x1e75f8=_0x0590[_0x18e37a];return _0x1e75f8;};'use strict';var client=require('../client');exports['create']=function(_0x1c5e19){return client[_0x0059('0x0')](_0x0059('0x1'),{'body':_0x1c5e19,'log':'CreateOpenchannelQueueReport'});};exports[_0x0059('0x2')]=function(_0x5ee3bd,_0xce9ca3){return client[_0x0059('0x0')]('UpdateOpenchannelQueueReport',{'body':_0xce9ca3,'options':{'where':{'uniqueid':_0x5ee3bd},'order':[['id',_0x0059('0x3')]],'limit':0x1},'log':_0x0059('0x4')});};