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 _0x107e=['../client','create','Request','CreateMailQueueReport','UpdateMailQueueReport'];(function(_0xd8edb7,_0xba4a35){var _0x141e07=function(_0x34227f){while(--_0x34227f){_0xd8edb7['push'](_0xd8edb7['shift']());}};_0x141e07(++_0xba4a35);}(_0x107e,0x1a4));var _0xe107=function(_0x5f3dbd,_0x3bd34e){_0x5f3dbd=_0x5f3dbd-0x0;var _0x1f80c7=_0x107e[_0x5f3dbd];return _0x1f80c7;};'use strict';var client=require(_0xe107('0x0'));exports[_0xe107('0x1')]=function(_0x5cbb21){return client[_0xe107('0x2')](_0xe107('0x3'),{'body':_0x5cbb21,'log':_0xe107('0x3')});};exports['update']=function(_0x57381f,_0x3f7382){return client['Request'](_0xe107('0x4'),{'body':_0x3f7382,'options':{'where':{'uniqueid':_0x57381f},'order':[['id','DESC']],'limit':0x1},'log':_0xe107('0x4')});};