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 _0x2c35=['CreateMailQueueReport','UpdateMailQueueReport','../client','create','Request'];(function(_0x1c0f41,_0x26d95d){var _0x369a9f=function(_0x251234){while(--_0x251234){_0x1c0f41['push'](_0x1c0f41['shift']());}};_0x369a9f(++_0x26d95d);}(_0x2c35,0xac));var _0x52c3=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x2c35[_0x3dd15e];return _0x231fd0;};'use strict';var client=require(_0x52c3('0x0'));exports[_0x52c3('0x1')]=function(_0x21155a){return client[_0x52c3('0x2')](_0x52c3('0x3'),{'body':_0x21155a,'log':'CreateMailQueueReport'});};exports['update']=function(_0xd5b8b0,_0x4ae702){return client['Request'](_0x52c3('0x4'),{'body':_0x4ae702,'options':{'where':{'uniqueid':_0xd5b8b0},'order':[['id','DESC']],'limit':0x1},'log':_0x52c3('0x4')});};