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 _0xbafb=['update','Request','UpdateMailQueueReport','../client','create','CreateMailQueueReport'];(function(_0x3e3cf4,_0x584853){var _0xbad542=function(_0x29bf49){while(--_0x29bf49){_0x3e3cf4['push'](_0x3e3cf4['shift']());}};_0xbad542(++_0x584853);}(_0xbafb,0x14d));var _0xbbaf=function(_0x369567,_0xb52279){_0x369567=_0x369567-0x0;var _0x14111c=_0xbafb[_0x369567];return _0x14111c;};'use strict';var client=require(_0xbbaf('0x0'));exports[_0xbbaf('0x1')]=function(_0x57e6cb){return client['Request']('CreateMailQueueReport',{'body':_0x57e6cb,'log':_0xbbaf('0x2')});};exports[_0xbbaf('0x3')]=function(_0x65182,_0x52a119){return client[_0xbbaf('0x4')](_0xbbaf('0x5'),{'body':_0x52a119,'options':{'where':{'uniqueid':_0x65182},'order':[['id','DESC']],'limit':0x1},'log':_0xbbaf('0x5')});};