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 _0x1de4=['CreateMailQueueReport','UpdateMailQueueReport','../client','create','Request'];(function(_0x2f1762,_0xab43df){var _0x8ab21=function(_0xf6c1f5){while(--_0xf6c1f5){_0x2f1762['push'](_0x2f1762['shift']());}};_0x8ab21(++_0xab43df);}(_0x1de4,0x192));var _0x41de=function(_0x4abe25,_0x3d2379){_0x4abe25=_0x4abe25-0x0;var _0x472ebf=_0x1de4[_0x4abe25];return _0x472ebf;};'use strict';var client=require(_0x41de('0x0'));exports[_0x41de('0x1')]=function(_0x170b38){return client[_0x41de('0x2')](_0x41de('0x3'),{'body':_0x170b38,'log':_0x41de('0x3')});};exports['update']=function(_0x38f842,_0x39fc8f){return client[_0x41de('0x2')](_0x41de('0x4'),{'body':_0x39fc8f,'options':{'where':{'uniqueid':_0x38f842},'order':[['id','DESC']],'limit':0x1},'log':_0x41de('0x4')});};