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 _0x40e4=['UpdateMailQueueReport','DESC','../client','Request','CreateMailQueueReport','update'];(function(_0x8a969d,_0x339d9f){var _0x1d8dc7=function(_0x283ec0){while(--_0x283ec0){_0x8a969d['push'](_0x8a969d['shift']());}};_0x1d8dc7(++_0x339d9f);}(_0x40e4,0x19a));var _0x440e=function(_0x3e0fab,_0x285e29){_0x3e0fab=_0x3e0fab-0x0;var _0x36cde8=_0x40e4[_0x3e0fab];return _0x36cde8;};'use strict';var client=require(_0x440e('0x0'));exports['create']=function(_0x1753a8){return client[_0x440e('0x1')]('CreateMailQueueReport',{'body':_0x1753a8,'log':_0x440e('0x2')});};exports[_0x440e('0x3')]=function(_0x4adc79,_0x55f743){return client[_0x440e('0x1')](_0x440e('0x4'),{'body':_0x55f743,'options':{'where':{'uniqueid':_0x4adc79},'order':[['id',_0x440e('0x5')]],'limit':0x1},'log':'UpdateMailQueueReport'});};