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 _0x43e6=['CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport','DESC','../client','create','Request'];(function(_0x187ee1,_0x3fd1e6){var _0x388160=function(_0x542dd2){while(--_0x542dd2){_0x187ee1['push'](_0x187ee1['shift']());}};_0x388160(++_0x3fd1e6);}(_0x43e6,0x1b6));var _0x643e=function(_0x2a81db,_0x2d7121){_0x2a81db=_0x2a81db-0x0;var _0x2f98a9=_0x43e6[_0x2a81db];return _0x2f98a9;};'use strict';var client=require(_0x643e('0x0'));exports[_0x643e('0x1')]=function(_0x375a48){return client[_0x643e('0x2')]('CreateOpenchannelQueueReport',{'body':_0x375a48,'log':_0x643e('0x3')});};exports[_0x643e('0x4')]=function(_0x13309a,_0x4f2b71){return client[_0x643e('0x2')](_0x643e('0x5'),{'body':_0x4f2b71,'options':{'where':{'uniqueid':_0x13309a},'order':[['id',_0x643e('0x6')]],'limit':0x1},'log':_0x643e('0x5')});};