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 _0xc09e=['path','rimraf','../../config/environment','exports','define','AnalyticExtractedReport','lodash','util','../../config/logger','moment','bluebird'];(function(_0x485f35,_0x45a0fc){var _0x2ad118=function(_0x296650){while(--_0x296650){_0x485f35['push'](_0x485f35['shift']());}};_0x2ad118(++_0x45a0fc);}(_0xc09e,0x7f));var _0xec09=function(_0x41f885,_0x3ae25f){_0x41f885=_0x41f885-0x0;var _0x553006=_0xc09e[_0x41f885];return _0x553006;};'use strict';var _=require(_0xec09('0x0'));var util=require(_0xec09('0x1'));var logger=require(_0xec09('0x2'))('api');var moment=require(_0xec09('0x3'));var BPromise=require(_0xec09('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xec09('0x5'));var rimraf=require(_0xec09('0x6'));var config=require(_0xec09('0x7'));var attributes=require('./analyticExtractedReport.attributes');module[_0xec09('0x8')]=function(_0x58ee9c,_0x3994c3){return _0x58ee9c[_0xec09('0x9')](_0xec09('0xa'),attributes,{'tableName':'analytics_extracted_reports','paranoid':![],'indexes':[],'timestamps':!![]});};