Built motion from commit e02f907f.|2.6.14
[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 _0xcf35=['Request','CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport','DESC','../client','create'];(function(_0x2c4599,_0x6a8c89){var _0x401da4=function(_0x362e50){while(--_0x362e50){_0x2c4599['push'](_0x2c4599['shift']());}};_0x401da4(++_0x6a8c89);}(_0xcf35,0x1a9));var _0x5cf3=function(_0x135b3d,_0x2b645a){_0x135b3d=_0x135b3d-0x0;var _0x1fbad2=_0xcf35[_0x135b3d];return _0x1fbad2;};'use strict';var client=require(_0x5cf3('0x0'));exports[_0x5cf3('0x1')]=function(_0x2a00ea){return client[_0x5cf3('0x2')]('CreateOpenchannelQueueReport',{'body':_0x2a00ea,'log':_0x5cf3('0x3')});};exports[_0x5cf3('0x4')]=function(_0x9d71b,_0x456162){return client[_0x5cf3('0x2')](_0x5cf3('0x5'),{'body':_0x456162,'options':{'where':{'uniqueid':_0x9d71b},'order':[['id',_0x5cf3('0x6')]],'limit':0x1},'log':_0x5cf3('0x5')});};