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 _0x43f1=['CreateMailQueueReport','update','DESC','Request'];(function(_0x49b72f,_0x1ce535){var _0x4903de=function(_0x133dab){while(--_0x133dab){_0x49b72f['push'](_0x49b72f['shift']());}};_0x4903de(++_0x1ce535);}(_0x43f1,0x14b));var _0x143f=function(_0x5834bc,_0x3d4801){_0x5834bc=_0x5834bc-0x0;var _0x3e183a=_0x43f1[_0x5834bc];return _0x3e183a;};'use strict';var client=require('../client');exports['create']=function(_0x250a24){return client[_0x143f('0x0')](_0x143f('0x1'),{'body':_0x250a24,'log':_0x143f('0x1')});};exports[_0x143f('0x2')]=function(_0x39fc59,_0x36d5da){return client[_0x143f('0x0')]('UpdateMailQueueReport',{'body':_0x36d5da,'options':{'where':{'uniqueid':_0x39fc59},'order':[['id',_0x143f('0x3')]],'limit':0x1},'log':'UpdateMailQueueReport'});};