1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xbc9d=['../client','create','Request','CreateOpenchannelQueueReport','UpdateOpenchannelQueueReport','DESC'];(function(_0x46ce9d,_0xa564b0){var _0x1639c4=function(_0x1f59a2){while(--_0x1f59a2){_0x46ce9d['push'](_0x46ce9d['shift']());}};_0x1639c4(++_0xa564b0);}(_0xbc9d,0xb4));var _0xdbc9=function(_0x54b662,_0x1738b6){_0x54b662=_0x54b662-0x0;var _0x1b74da=_0xbc9d[_0x54b662];return _0x1b74da;};'use strict';var client=require(_0xdbc9('0x0'));exports[_0xdbc9('0x1')]=function(_0x8aa82b){return client[_0xdbc9('0x2')](_0xdbc9('0x3'),{'body':_0x8aa82b,'log':'CreateOpenchannelQueueReport'});};exports['update']=function(_0x4fab6e,_0x2aba48){return client[_0xdbc9('0x2')](_0xdbc9('0x4'),{'body':_0x2aba48,'options':{'where':{'uniqueid':_0x4fab6e},'order':[['id',_0xdbc9('0x5')]],'limit':0x1},'log':_0xdbc9('0x4')});};