Built motion from commit (unavailable).|2.5.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 _0x4a11=['DESC','../client','create','Request','CreateOpenchannelQueueReport','UpdateOpenchannelQueueReport'];(function(_0x1665de,_0x8b3a19){var _0x1585b1=function(_0x211735){while(--_0x211735){_0x1665de['push'](_0x1665de['shift']());}};_0x1585b1(++_0x8b3a19);}(_0x4a11,0x1d5));var _0x14a1=function(_0x549490,_0xea5dd0){_0x549490=_0x549490-0x0;var _0x3a8791=_0x4a11[_0x549490];return _0x3a8791;};'use strict';var client=require(_0x14a1('0x0'));exports[_0x14a1('0x1')]=function(_0x56c3f8){return client[_0x14a1('0x2')]('CreateOpenchannelQueueReport',{'body':_0x56c3f8,'log':_0x14a1('0x3')});};exports['update']=function(_0x3dc532,_0x1c5821){return client[_0x14a1('0x2')](_0x14a1('0x4'),{'body':_0x1c5821,'options':{'where':{'uniqueid':_0x3dc532},'order':[['id',_0x14a1('0x5')]],'limit':0x1},'log':_0x14a1('0x4')});};