Built motion from commit da617fac.|2.6.6
[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 _0x89b9=['UpdateOpenchannelQueueReport','DESC','create','Request'];(function(_0x49c4f9,_0x3545a0){var _0x292c26=function(_0x32a4c7){while(--_0x32a4c7){_0x49c4f9['push'](_0x49c4f9['shift']());}};_0x292c26(++_0x3545a0);}(_0x89b9,0x9e));var _0x989b=function(_0x51b5c4,_0x777291){_0x51b5c4=_0x51b5c4-0x0;var _0x499a45=_0x89b9[_0x51b5c4];return _0x499a45;};'use strict';var client=require('../client');exports[_0x989b('0x0')]=function(_0x4723fa){return client[_0x989b('0x1')]('CreateOpenchannelQueueReport',{'body':_0x4723fa,'log':'CreateOpenchannelQueueReport'});};exports['update']=function(_0x1210da,_0x5abeb7){return client[_0x989b('0x1')](_0x989b('0x2'),{'body':_0x5abeb7,'options':{'where':{'uniqueid':_0x1210da},'order':[['id',_0x989b('0x3')]],'limit':0x1},'log':_0x989b('0x2')});};