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 _0x1342=['Request','CreateMailQueueReport','update','UpdateMailQueueReport','create'];(function(_0x3b0731,_0xcf9925){var _0x4204d7=function(_0x635ac5){while(--_0x635ac5){_0x3b0731['push'](_0x3b0731['shift']());}};_0x4204d7(++_0xcf9925);}(_0x1342,0x15d));var _0x2134=function(_0x172ced,_0x16e422){_0x172ced=_0x172ced-0x0;var _0x220b96=_0x1342[_0x172ced];return _0x220b96;};'use strict';var client=require('../client');exports[_0x2134('0x0')]=function(_0x844ba){return client[_0x2134('0x1')](_0x2134('0x2'),{'body':_0x844ba,'log':_0x2134('0x2')});};exports[_0x2134('0x3')]=function(_0x545da1,_0x417fe3){return client[_0x2134('0x1')](_0x2134('0x4'),{'body':_0x417fe3,'options':{'where':{'uniqueid':_0x545da1},'order':[['id','DESC']],'limit':0x1},'log':_0x2134('0x4')});};