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 _0xfd39=['Request','UpdateOpenchannelQueueReport','../client','create','CreateOpenchannelQueueReport','update'];(function(_0x4cef8a,_0x31b8d8){var _0x28a140=function(_0x3be302){while(--_0x3be302){_0x4cef8a['push'](_0x4cef8a['shift']());}};_0x28a140(++_0x31b8d8);}(_0xfd39,0xec));var _0x9fd3=function(_0x16bcaf,_0x21142c){_0x16bcaf=_0x16bcaf-0x0;var _0x5cb8f5=_0xfd39[_0x16bcaf];return _0x5cb8f5;};'use strict';var client=require(_0x9fd3('0x0'));exports[_0x9fd3('0x1')]=function(_0x39ca65){return client['Request'](_0x9fd3('0x2'),{'body':_0x39ca65,'log':_0x9fd3('0x2')});};exports[_0x9fd3('0x3')]=function(_0x295658,_0x2ba3c0){return client[_0x9fd3('0x4')](_0x9fd3('0x5'),{'body':_0x2ba3c0,'options':{'where':{'uniqueid':_0x295658},'order':[['id','DESC']],'limit':0x1},'log':_0x9fd3('0x5')});};