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 _0x6520=['CreateMailQueueReport','Request','UpdateMailQueueReport','../client','create'];(function(_0x2f8bf2,_0x2fcdc4){var _0x124721=function(_0x3d9c19){while(--_0x3d9c19){_0x2f8bf2['push'](_0x2f8bf2['shift']());}};_0x124721(++_0x2fcdc4);}(_0x6520,0x12f));var _0x0652=function(_0x2cdc51,_0x4b2ec3){_0x2cdc51=_0x2cdc51-0x0;var _0x453fd4=_0x6520[_0x2cdc51];return _0x453fd4;};'use strict';var client=require(_0x0652('0x0'));exports[_0x0652('0x1')]=function(_0x2570fa){return client['Request'](_0x0652('0x2'),{'body':_0x2570fa,'log':_0x0652('0x2')});};exports['update']=function(_0x5e2a11,_0x3be9a1){return client[_0x0652('0x3')]('UpdateMailQueueReport',{'body':_0x3be9a1,'options':{'where':{'uniqueid':_0x5e2a11},'order':[['id','DESC']],'limit':0x1},'log':_0x0652('0x4')});};