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 _0xc16b=['UpdateMailQueueReport','../client','create','Request'];(function(_0x88fab1,_0x1accff){var _0x20c571=function(_0x12de1c){while(--_0x12de1c){_0x88fab1['push'](_0x88fab1['shift']());}};_0x20c571(++_0x1accff);}(_0xc16b,0x109));var _0xbc16=function(_0xec97ee,_0x907e71){_0xec97ee=_0xec97ee-0x0;var _0x180761=_0xc16b[_0xec97ee];return _0x180761;};'use strict';var client=require(_0xbc16('0x0'));exports[_0xbc16('0x1')]=function(_0x5ef439){return client[_0xbc16('0x2')]('CreateMailQueueReport',{'body':_0x5ef439,'log':'CreateMailQueueReport'});};exports['update']=function(_0x4ade0c,_0x5f5bd8){return client[_0xbc16('0x2')](_0xbc16('0x3'),{'body':_0x5f5bd8,'options':{'where':{'uniqueid':_0x4ade0c},'order':[['id','DESC']],'limit':0x1},'log':_0xbc16('0x3')});};