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 _0x600f=['../client','CreateMailQueueReport','update','Request','UpdateMailQueueReport','DESC'];(function(_0x23c925,_0x49e4f3){var _0x51fbd0=function(_0x3cba36){while(--_0x3cba36){_0x23c925['push'](_0x23c925['shift']());}};_0x51fbd0(++_0x49e4f3);}(_0x600f,0x120));var _0xf600=function(_0x322296,_0x57eb19){_0x322296=_0x322296-0x0;var _0x432ea7=_0x600f[_0x322296];return _0x432ea7;};'use strict';var client=require(_0xf600('0x0'));exports['create']=function(_0x51130a){return client['Request'](_0xf600('0x1'),{'body':_0x51130a,'log':_0xf600('0x1')});};exports[_0xf600('0x2')]=function(_0x52c283,_0x36869d){return client[_0xf600('0x3')](_0xf600('0x4'),{'body':_0x36869d,'options':{'where':{'uniqueid':_0x52c283},'order':[['id',_0xf600('0x5')]],'limit':0x1},'log':_0xf600('0x4')});};