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 _0x3d10=['UpdateMailQueueReport','Request','CreateMailQueueReport','update'];(function(_0x505b6c,_0x5831c8){var _0x4e06a7=function(_0x35f74){while(--_0x35f74){_0x505b6c['push'](_0x505b6c['shift']());}};_0x4e06a7(++_0x5831c8);}(_0x3d10,0x1b9));var _0x03d1=function(_0x3b3f4f,_0x403216){_0x3b3f4f=_0x3b3f4f-0x0;var _0x174dbe=_0x3d10[_0x3b3f4f];return _0x174dbe;};'use strict';var client=require('../client');exports['create']=function(_0x3b902b){return client[_0x03d1('0x0')](_0x03d1('0x1'),{'body':_0x3b902b,'log':_0x03d1('0x1')});};exports[_0x03d1('0x2')]=function(_0xac7be3,_0x107d29){return client[_0x03d1('0x0')](_0x03d1('0x3'),{'body':_0x107d29,'options':{'where':{'uniqueid':_0xac7be3},'order':[['id','DESC']],'limit':0x1},'log':_0x03d1('0x3')});};