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 _0x6856=['request-promise','path','rimraf','../../config/environment','./analyticCustomReport.attributes','exports','define','AnalyticCustomReport','lodash','util','moment'];(function(_0x501510,_0x61caa9){var _0x1e6ee5=function(_0x32845b){while(--_0x32845b){_0x501510['push'](_0x501510['shift']());}};_0x1e6ee5(++_0x61caa9);}(_0x6856,0x1cb));var _0x6685=function(_0x14e486,_0x1d52ec){_0x14e486=_0x14e486-0x0;var _0x36a23f=_0x6856[_0x14e486];return _0x36a23f;};'use strict';var _=require(_0x6685('0x0'));var util=require(_0x6685('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x6685('0x2'));var BPromise=require('bluebird');var rp=require(_0x6685('0x3'));var fs=require('fs');var path=require(_0x6685('0x4'));var rimraf=require(_0x6685('0x5'));var config=require(_0x6685('0x6'));var attributes=require(_0x6685('0x7'));module[_0x6685('0x8')]=function(_0x1a6108,_0x4f073e){return _0x1a6108[_0x6685('0x9')](_0x6685('0xa'),attributes,{'tableName':'analytics_custom_reports','paranoid':!![],'indexes':[],'timestamps':!![]});};