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 _0x20fd=['rimraf','./analyticCustomReport.attributes','exports','define','AnalyticCustomReport','analytics_custom_reports','lodash','../../config/logger','api','bluebird','request-promise','path'];(function(_0x1c817f,_0x560bf1){var _0xfc240a=function(_0x494010){while(--_0x494010){_0x1c817f['push'](_0x1c817f['shift']());}};_0xfc240a(++_0x560bf1);}(_0x20fd,0x66));var _0xd20f=function(_0x58c987,_0xa7c9ae){_0x58c987=_0x58c987-0x0;var _0x24a093=_0x20fd[_0x58c987];return _0x24a093;};'use strict';var _=require(_0xd20f('0x0'));var util=require('util');var logger=require(_0xd20f('0x1'))(_0xd20f('0x2'));var moment=require('moment');var BPromise=require(_0xd20f('0x3'));var rp=require(_0xd20f('0x4'));var fs=require('fs');var path=require(_0xd20f('0x5'));var rimraf=require(_0xd20f('0x6'));var config=require('../../config/environment');var attributes=require(_0xd20f('0x7'));module[_0xd20f('0x8')]=function(_0x1dd292,_0x548800){return _0x1dd292[_0xd20f('0x9')](_0xd20f('0xa'),attributes,{'tableName':_0xd20f('0xb'),'paranoid':!![],'indexes':[],'timestamps':!![]});};