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 _0xa8f6=['Request','CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport','DESC','../client','create'];(function(_0x38a7ac,_0x45514b){var _0x53061a=function(_0x1d2469){while(--_0x1d2469){_0x38a7ac['push'](_0x38a7ac['shift']());}};_0x53061a(++_0x45514b);}(_0xa8f6,0x1d3));var _0x6a8f=function(_0x565bb5,_0x236880){_0x565bb5=_0x565bb5-0x0;var _0x5bb413=_0xa8f6[_0x565bb5];return _0x5bb413;};'use strict';var client=require(_0x6a8f('0x0'));exports[_0x6a8f('0x1')]=function(_0x3024d5){return client[_0x6a8f('0x2')](_0x6a8f('0x3'),{'body':_0x3024d5,'log':_0x6a8f('0x3')});};exports[_0x6a8f('0x4')]=function(_0x526e71,_0x11cf1a){return client[_0x6a8f('0x2')](_0x6a8f('0x5'),{'body':_0x11cf1a,'options':{'where':{'uniqueid':_0x526e71},'order':[['id',_0x6a8f('0x6')]],'limit':0x1},'log':'UpdateOpenchannelQueueReport'});};