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 _0x2e43=['Request','CreateMailQueueReport','UpdateMailQueueReport','../client'];(function(_0x5a776b,_0x46f785){var _0xbbef59=function(_0x38313e){while(--_0x38313e){_0x5a776b['push'](_0x5a776b['shift']());}};_0xbbef59(++_0x46f785);}(_0x2e43,0xdb));var _0x32e4=function(_0x3dc626,_0x4926d4){_0x3dc626=_0x3dc626-0x0;var _0x59b50c=_0x2e43[_0x3dc626];return _0x59b50c;};'use strict';var client=require(_0x32e4('0x0'));exports['create']=function(_0xd59e26){return client[_0x32e4('0x1')](_0x32e4('0x2'),{'body':_0xd59e26,'log':'CreateMailQueueReport'});};exports['update']=function(_0x1f5b8f,_0x348b2f){return client[_0x32e4('0x1')](_0x32e4('0x3'),{'body':_0x348b2f,'options':{'where':{'uniqueid':_0x1f5b8f},'order':[['id','DESC']],'limit':0x1},'log':_0x32e4('0x3')});};