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 _0x95cc=['UpdateOpenchannelQueueReport','DESC','../client','create','CreateOpenchannelQueueReport','Request'];(function(_0x38d0f6,_0x333971){var _0x40ab9d=function(_0x314b8b){while(--_0x314b8b){_0x38d0f6['push'](_0x38d0f6['shift']());}};_0x40ab9d(++_0x333971);}(_0x95cc,0x19a));var _0xc95c=function(_0x54a946,_0x30a84e){_0x54a946=_0x54a946-0x0;var _0x4484af=_0x95cc[_0x54a946];return _0x4484af;};'use strict';var client=require(_0xc95c('0x0'));exports[_0xc95c('0x1')]=function(_0x2218b3){return client['Request']('CreateOpenchannelQueueReport',{'body':_0x2218b3,'log':_0xc95c('0x2')});};exports['update']=function(_0x7ba427,_0x11a03b){return client[_0xc95c('0x3')](_0xc95c('0x4'),{'body':_0x11a03b,'options':{'where':{'uniqueid':_0x7ba427},'order':[['id',_0xc95c('0x5')]],'limit':0x1},'log':_0xc95c('0x4')});};