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 _0xc201=['Request','UpdateMailQueueReport','DESC','CreateMailQueueReport','update'];(function(_0x9a05de,_0x4a0b0b){var _0x2ee43c=function(_0x253829){while(--_0x253829){_0x9a05de['push'](_0x9a05de['shift']());}};_0x2ee43c(++_0x4a0b0b);}(_0xc201,0x15c));var _0x1c20=function(_0x5f00b0,_0x56cf6f){_0x5f00b0=_0x5f00b0-0x0;var _0x1bdbc5=_0xc201[_0x5f00b0];return _0x1bdbc5;};'use strict';var client=require('../client');exports['create']=function(_0x3153da){return client['Request'](_0x1c20('0x0'),{'body':_0x3153da,'log':'CreateMailQueueReport'});};exports[_0x1c20('0x1')]=function(_0x5a8329,_0x28c4b3){return client[_0x1c20('0x2')](_0x1c20('0x3'),{'body':_0x28c4b3,'options':{'where':{'uniqueid':_0x5a8329},'order':[['id',_0x1c20('0x4')]],'limit':0x1},'log':_0x1c20('0x3')});};