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 _0x6eb0=['DESC','../client','Request','CreateMailQueueReport','update','UpdateMailQueueReport'];(function(_0x2a14e6,_0x1fec89){var _0x4687ef=function(_0x33244b){while(--_0x33244b){_0x2a14e6['push'](_0x2a14e6['shift']());}};_0x4687ef(++_0x1fec89);}(_0x6eb0,0x67));var _0x06eb=function(_0x2226d4,_0x205961){_0x2226d4=_0x2226d4-0x0;var _0x41cb6c=_0x6eb0[_0x2226d4];return _0x41cb6c;};'use strict';var client=require(_0x06eb('0x0'));exports['create']=function(_0x4500a5){return client[_0x06eb('0x1')](_0x06eb('0x2'),{'body':_0x4500a5,'log':_0x06eb('0x2')});};exports[_0x06eb('0x3')]=function(_0x1e1648,_0x471977){return client['Request'](_0x06eb('0x4'),{'body':_0x471977,'options':{'where':{'uniqueid':_0x1e1648},'order':[['id',_0x06eb('0x5')]],'limit':0x1},'log':_0x06eb('0x4')});};