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 _0x65a8=['Request','CreateMailQueueReport','UpdateMailQueueReport','DESC','../client','create'];(function(_0x35476f,_0x19720e){var _0x16889d=function(_0x37639c){while(--_0x37639c){_0x35476f['push'](_0x35476f['shift']());}};_0x16889d(++_0x19720e);}(_0x65a8,0xfa));var _0x865a=function(_0x4565bf,_0x5ad9d6){_0x4565bf=_0x4565bf-0x0;var _0x5610ba=_0x65a8[_0x4565bf];return _0x5610ba;};'use strict';var client=require(_0x865a('0x0'));exports[_0x865a('0x1')]=function(_0x4adc1b){return client[_0x865a('0x2')](_0x865a('0x3'),{'body':_0x4adc1b,'log':_0x865a('0x3')});};exports['update']=function(_0x379cf5,_0x13ee5e){return client[_0x865a('0x2')](_0x865a('0x4'),{'body':_0x13ee5e,'options':{'where':{'uniqueid':_0x379cf5},'order':[['id',_0x865a('0x5')]],'limit':0x1},'log':'UpdateMailQueueReport'});};