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 _0x8253=['UpdateMailQueueReport','../client','create','Request','CreateMailQueueReport'];(function(_0x4ac014,_0x42bc05){var _0x3a9c56=function(_0xc25f9a){while(--_0xc25f9a){_0x4ac014['push'](_0x4ac014['shift']());}};_0x3a9c56(++_0x42bc05);}(_0x8253,0x1cd));var _0x3825=function(_0x1113d9,_0x52cd99){_0x1113d9=_0x1113d9-0x0;var _0x4a5aa2=_0x8253[_0x1113d9];return _0x4a5aa2;};'use strict';var client=require(_0x3825('0x0'));exports[_0x3825('0x1')]=function(_0x2baed4){return client[_0x3825('0x2')](_0x3825('0x3'),{'body':_0x2baed4,'log':_0x3825('0x3')});};exports['update']=function(_0x51db9b,_0xd6a14e){return client[_0x3825('0x2')]('UpdateMailQueueReport',{'body':_0xd6a14e,'options':{'where':{'uniqueid':_0x51db9b},'order':[['id','DESC']],'limit':0x1},'log':_0x3825('0x4')});};