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 _0x76a4=['./analyticCustomReport.attributes','exports','AnalyticCustomReport','analytics_custom_reports','lodash','util','bluebird','request-promise','path'];(function(_0x323d87,_0x4ef3f9){var _0x5e8f74=function(_0x185735){while(--_0x185735){_0x323d87['push'](_0x323d87['shift']());}};_0x5e8f74(++_0x4ef3f9);}(_0x76a4,0x136));var _0x476a=function(_0x4287a2,_0x288a84){_0x4287a2=_0x4287a2-0x0;var _0x16aa67=_0x76a4[_0x4287a2];return _0x16aa67;};'use strict';var _=require(_0x476a('0x0'));var util=require(_0x476a('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0x476a('0x2'));var rp=require(_0x476a('0x3'));var fs=require('fs');var path=require(_0x476a('0x4'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x476a('0x5'));module[_0x476a('0x6')]=function(_0x2074cc,_0x2883f7){return _0x2074cc['define'](_0x476a('0x7'),attributes,{'tableName':_0x476a('0x8'),'paranoid':!![],'indexes':[],'timestamps':!![]});};