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 _0xd571=['Request','CreateMailQueueReport','DESC','UpdateMailQueueReport','../client'];(function(_0x12ffbf,_0x2ede82){var _0x4d0fee=function(_0x5695dc){while(--_0x5695dc){_0x12ffbf['push'](_0x12ffbf['shift']());}};_0x4d0fee(++_0x2ede82);}(_0xd571,0x7c));var _0x1d57=function(_0x1970c5,_0x3f477d){_0x1970c5=_0x1970c5-0x0;var _0x5080ef=_0xd571[_0x1970c5];return _0x5080ef;};'use strict';var client=require(_0x1d57('0x0'));exports['create']=function(_0x82f1c9){return client[_0x1d57('0x1')](_0x1d57('0x2'),{'body':_0x82f1c9,'log':_0x1d57('0x2')});};exports['update']=function(_0xf44b70,_0x51d0c0){return client[_0x1d57('0x1')]('UpdateMailQueueReport',{'body':_0x51d0c0,'options':{'where':{'uniqueid':_0xf44b70},'order':[['id',_0x1d57('0x3')]],'limit':0x1},'log':_0x1d57('0x4')});};