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 _0x241a=['./mailQueueReport.attributes','exports','MailQueueReport','report_mail_queue','uniqueid','lodash','../../config/logger','api','moment','bluebird','request-promise','../../config/environment'];(function(_0x44a64f,_0x38475c){var _0x52024b=function(_0x2cd055){while(--_0x2cd055){_0x44a64f['push'](_0x44a64f['shift']());}};_0x52024b(++_0x38475c);}(_0x241a,0x13d));var _0xa241=function(_0x4b2863,_0x494899){_0x4b2863=_0x4b2863-0x0;var _0x567d67=_0x241a[_0x4b2863];return _0x567d67;};'use strict';var _=require(_0xa241('0x0'));var util=require('util');var logger=require(_0xa241('0x1'))(_0xa241('0x2'));var moment=require(_0xa241('0x3'));var BPromise=require(_0xa241('0x4'));var rp=require(_0xa241('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xa241('0x6'));var attributes=require(_0xa241('0x7'));module[_0xa241('0x8')]=function(_0x2ce6d7,_0xb9e036){return _0x2ce6d7['define'](_0xa241('0x9'),attributes,{'tableName':_0xa241('0xa'),'paranoid':![],'indexes':[{'name':_0xa241('0xb'),'fields':['uniqueid']}],'timestamps':!![]});};