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 _0x3b9c=['util','../../config/logger','moment','bluebird','request-promise','exports','MailQueueReport','uniqueid','lodash'];(function(_0x4f018a,_0x350704){var _0x56f3a6=function(_0x5cecfe){while(--_0x5cecfe){_0x4f018a['push'](_0x4f018a['shift']());}};_0x56f3a6(++_0x350704);}(_0x3b9c,0x1ca));var _0xc3b9=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x3b9c[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0xc3b9('0x0'));var util=require(_0xc3b9('0x1'));var logger=require(_0xc3b9('0x2'))('api');var moment=require(_0xc3b9('0x3'));var BPromise=require(_0xc3b9('0x4'));var rp=require(_0xc3b9('0x5'));var attributes=require('./mailQueueReport.attributes');module[_0xc3b9('0x6')]=function(_0x517dce,_0x3f1a29){return _0x517dce['define'](_0xc3b9('0x7'),attributes,{'tableName':'report_mail_queue','paranoid':![],'indexes':[{'name':_0xc3b9('0x8'),'fields':['uniqueid']}],'timestamps':!![]});};