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 _0xb42c=['../client','create','CreateMailQueueReport','update','UpdateMailQueueReport'];(function(_0x543084,_0x4337f5){var _0x306a57=function(_0x2769ed){while(--_0x2769ed){_0x543084['push'](_0x543084['shift']());}};_0x306a57(++_0x4337f5);}(_0xb42c,0xe6));var _0xcb42=function(_0x57f43c,_0x12f72d){_0x57f43c=_0x57f43c-0x0;var _0x452120=_0xb42c[_0x57f43c];return _0x452120;};'use strict';var client=require(_0xcb42('0x0'));exports[_0xcb42('0x1')]=function(_0x44c11d){return client['Request'](_0xcb42('0x2'),{'body':_0x44c11d,'log':'CreateMailQueueReport'});};exports[_0xcb42('0x3')]=function(_0x19bc19,_0x467baa){return client['Request'](_0xcb42('0x4'),{'body':_0x467baa,'options':{'where':{'uniqueid':_0x19bc19},'order':[['id','DESC']],'limit':0x1},'log':_0xcb42('0x4')});};