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 _0xc8c3=['Request','CreateMailQueueReport','update','UpdateMailQueueReport','DESC','../client'];(function(_0x732d54,_0x5708f4){var _0x55e766=function(_0x1e9b2f){while(--_0x1e9b2f){_0x732d54['push'](_0x732d54['shift']());}};_0x55e766(++_0x5708f4);}(_0xc8c3,0xc5));var _0x3c8c=function(_0x1b3564,_0x16c919){_0x1b3564=_0x1b3564-0x0;var _0x504069=_0xc8c3[_0x1b3564];return _0x504069;};'use strict';var client=require(_0x3c8c('0x0'));exports['create']=function(_0x395899){return client[_0x3c8c('0x1')](_0x3c8c('0x2'),{'body':_0x395899,'log':_0x3c8c('0x2')});};exports[_0x3c8c('0x3')]=function(_0x5361f9,_0x5ed9e4){return client['Request'](_0x3c8c('0x4'),{'body':_0x5ed9e4,'options':{'where':{'uniqueid':_0x5361f9},'order':[['id',_0x3c8c('0x5')]],'limit':0x1},'log':_0x3c8c('0x4')});};