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 _0x4262=['UpdateOpenchannelQueueReport','DESC','../client','create','Request','CreateOpenchannelQueueReport'];(function(_0x1b825a,_0x5ea430){var _0x3f767a=function(_0x2d7936){while(--_0x2d7936){_0x1b825a['push'](_0x1b825a['shift']());}};_0x3f767a(++_0x5ea430);}(_0x4262,0xf2));var _0x2426=function(_0x1facfa,_0x1acf7d){_0x1facfa=_0x1facfa-0x0;var _0x9ec701=_0x4262[_0x1facfa];return _0x9ec701;};'use strict';var client=require(_0x2426('0x0'));exports[_0x2426('0x1')]=function(_0x289f47){return client[_0x2426('0x2')](_0x2426('0x3'),{'body':_0x289f47,'log':_0x2426('0x3')});};exports['update']=function(_0x1e1efe,_0x2f41fd){return client[_0x2426('0x2')](_0x2426('0x4'),{'body':_0x2f41fd,'options':{'where':{'uniqueid':_0x1e1efe},'order':[['id',_0x2426('0x5')]],'limit':0x1},'log':'UpdateOpenchannelQueueReport'});};