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 _0x11f2=['bluebird','request-promise','path','rimraf','../../config/environment','./analyticExtractedReport.attributes','exports','define','AnalyticExtractedReport','analytics_extracted_reports','lodash','util','../../config/logger','moment'];(function(_0x5e36d1,_0x471178){var _0x950b9e=function(_0x1872f3){while(--_0x1872f3){_0x5e36d1['push'](_0x5e36d1['shift']());}};_0x950b9e(++_0x471178);}(_0x11f2,0x1d8));var _0x211f=function(_0xfacdcf,_0xb3d058){_0xfacdcf=_0xfacdcf-0x0;var _0x39c10b=_0x11f2[_0xfacdcf];return _0x39c10b;};'use strict';var _=require(_0x211f('0x0'));var util=require(_0x211f('0x1'));var logger=require(_0x211f('0x2'))('api');var moment=require(_0x211f('0x3'));var BPromise=require(_0x211f('0x4'));var rp=require(_0x211f('0x5'));var fs=require('fs');var path=require(_0x211f('0x6'));var rimraf=require(_0x211f('0x7'));var config=require(_0x211f('0x8'));var attributes=require(_0x211f('0x9'));module[_0x211f('0xa')]=function(_0x398294,_0x266ee8){return _0x398294[_0x211f('0xb')](_0x211f('0xc'),attributes,{'tableName':_0x211f('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};