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 _0x1b50=['update','Request','UpdateMailQueueReport','../client','CreateMailQueueReport'];(function(_0x330ba5,_0x555dfc){var _0x3d6403=function(_0x24b7e2){while(--_0x24b7e2){_0x330ba5['push'](_0x330ba5['shift']());}};_0x3d6403(++_0x555dfc);}(_0x1b50,0xa8));var _0x01b5=function(_0xc7e790,_0x387385){_0xc7e790=_0xc7e790-0x0;var _0x9d0bb8=_0x1b50[_0xc7e790];return _0x9d0bb8;};'use strict';var client=require(_0x01b5('0x0'));exports['create']=function(_0x177109){return client['Request']('CreateMailQueueReport',{'body':_0x177109,'log':_0x01b5('0x1')});};exports[_0x01b5('0x2')]=function(_0x24311e,_0x3d3474){return client[_0x01b5('0x3')](_0x01b5('0x4'),{'body':_0x3d3474,'options':{'where':{'uniqueid':_0x24311e},'order':[['id','DESC']],'limit':0x1},'log':_0x01b5('0x4')});};