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 _0x0222=['UpdateMailQueueReport','DESC','../client','create','Request','CreateMailQueueReport'];(function(_0x2fb5cd,_0x564e40){var _0x4d1ebd=function(_0xec819f){while(--_0xec819f){_0x2fb5cd['push'](_0x2fb5cd['shift']());}};_0x4d1ebd(++_0x564e40);}(_0x0222,0x6e));var _0x2022=function(_0x2c9bc6,_0x2d3999){_0x2c9bc6=_0x2c9bc6-0x0;var _0x3dca7d=_0x0222[_0x2c9bc6];return _0x3dca7d;};'use strict';var client=require(_0x2022('0x0'));exports[_0x2022('0x1')]=function(_0x22f762){return client[_0x2022('0x2')](_0x2022('0x3'),{'body':_0x22f762,'log':'CreateMailQueueReport'});};exports['update']=function(_0x304138,_0x2fb3e1){return client[_0x2022('0x2')](_0x2022('0x4'),{'body':_0x2fb3e1,'options':{'where':{'uniqueid':_0x304138},'order':[['id',_0x2022('0x5')]],'limit':0x1},'log':'UpdateMailQueueReport'});};