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 _0x49f2=['Request','UpdateOpenchannelQueueReport','../client','create','CreateOpenchannelQueueReport','update'];(function(_0x47582f,_0x24131b){var _0x1784f0=function(_0x3609f0){while(--_0x3609f0){_0x47582f['push'](_0x47582f['shift']());}};_0x1784f0(++_0x24131b);}(_0x49f2,0x86));var _0x249f=function(_0x51e3bf,_0x2ffcaa){_0x51e3bf=_0x51e3bf-0x0;var _0x564435=_0x49f2[_0x51e3bf];return _0x564435;};'use strict';var client=require(_0x249f('0x0'));exports[_0x249f('0x1')]=function(_0x2ffac2){return client['Request'](_0x249f('0x2'),{'body':_0x2ffac2,'log':_0x249f('0x2')});};exports[_0x249f('0x3')]=function(_0x556f79,_0x33f3fc){return client[_0x249f('0x4')](_0x249f('0x5'),{'body':_0x33f3fc,'options':{'where':{'uniqueid':_0x556f79},'order':[['id','DESC']],'limit':0x1},'log':_0x249f('0x5')});};