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 _0x2abe=['request-promise','path','rimraf','../../config/environment','exports','define','AnalyticExtractedReport','analytics_extracted_reports','../../config/logger','moment'];(function(_0x4b64fe,_0x71b2a4){var _0x288459=function(_0x3674ed){while(--_0x3674ed){_0x4b64fe['push'](_0x4b64fe['shift']());}};_0x288459(++_0x71b2a4);}(_0x2abe,0x1de));var _0xe2ab=function(_0x8c43de,_0x90ff31){_0x8c43de=_0x8c43de-0x0;var _0xa6591b=_0x2abe[_0x8c43de];return _0xa6591b;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xe2ab('0x0'))('api');var moment=require(_0xe2ab('0x1'));var BPromise=require('bluebird');var rp=require(_0xe2ab('0x2'));var fs=require('fs');var path=require(_0xe2ab('0x3'));var rimraf=require(_0xe2ab('0x4'));var config=require(_0xe2ab('0x5'));var attributes=require('./analyticExtractedReport.attributes');module[_0xe2ab('0x6')]=function(_0x51213c,_0x50a737){return _0x51213c[_0xe2ab('0x7')](_0xe2ab('0x8'),attributes,{'tableName':_0xe2ab('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};