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 _0xc0e4=['util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','AnalyticExtractedReport','analytics_extracted_reports'];(function(_0x514ab1,_0x2cf359){var _0x3a96a6=function(_0x14eb02){while(--_0x14eb02){_0x514ab1['push'](_0x514ab1['shift']());}};_0x3a96a6(++_0x2cf359);}(_0xc0e4,0x134));var _0x4c0e=function(_0x11005e,_0x20c3d2){_0x11005e=_0x11005e-0x0;var _0x29338f=_0xc0e4[_0x11005e];return _0x29338f;};'use strict';var _=require('lodash');var util=require(_0x4c0e('0x0'));var logger=require(_0x4c0e('0x1'))('api');var moment=require(_0x4c0e('0x2'));var BPromise=require(_0x4c0e('0x3'));var rp=require(_0x4c0e('0x4'));var fs=require('fs');var path=require(_0x4c0e('0x5'));var rimraf=require(_0x4c0e('0x6'));var config=require(_0x4c0e('0x7'));var attributes=require('./analyticExtractedReport.attributes');module[_0x4c0e('0x8')]=function(_0x74123,_0x1c92fd){return _0x74123['define'](_0x4c0e('0x9'),attributes,{'tableName':_0x4c0e('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};