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 _0x85bc=['CreateMailQueueReport','update','UpdateMailQueueReport','DESC','create','Request'];(function(_0x293e9d,_0x4eede5){var _0x36a9a1=function(_0x4fbe14){while(--_0x4fbe14){_0x293e9d['push'](_0x293e9d['shift']());}};_0x36a9a1(++_0x4eede5);}(_0x85bc,0x8e));var _0xc85b=function(_0x535b24,_0x5cb818){_0x535b24=_0x535b24-0x0;var _0x52f7e6=_0x85bc[_0x535b24];return _0x52f7e6;};'use strict';var client=require('../client');exports[_0xc85b('0x0')]=function(_0x2ba6a9){return client[_0xc85b('0x1')](_0xc85b('0x2'),{'body':_0x2ba6a9,'log':'CreateMailQueueReport'});};exports[_0xc85b('0x3')]=function(_0x2d66b9,_0x388dba){return client['Request'](_0xc85b('0x4'),{'body':_0x388dba,'options':{'where':{'uniqueid':_0x2d66b9},'order':[['id',_0xc85b('0x5')]],'limit':0x1},'log':_0xc85b('0x4')});};