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 _0x9a7f=['AnalyticCustomReport','analytics_custom_reports','util','api','moment','bluebird','request-promise','rimraf','../../config/environment','./analyticCustomReport.attributes','exports','define'];(function(_0x49045f,_0x27b647){var _0x223d1e=function(_0x2debea){while(--_0x2debea){_0x49045f['push'](_0x49045f['shift']());}};_0x223d1e(++_0x27b647);}(_0x9a7f,0x6e));var _0xf9a7=function(_0x319aa4,_0x1184ef){_0x319aa4=_0x319aa4-0x0;var _0x505846=_0x9a7f[_0x319aa4];return _0x505846;};'use strict';var _=require('lodash');var util=require(_0xf9a7('0x0'));var logger=require('../../config/logger')(_0xf9a7('0x1'));var moment=require(_0xf9a7('0x2'));var BPromise=require(_0xf9a7('0x3'));var rp=require(_0xf9a7('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf9a7('0x5'));var config=require(_0xf9a7('0x6'));var attributes=require(_0xf9a7('0x7'));module[_0xf9a7('0x8')]=function(_0x1a3c0e,_0x4d20ee){return _0x1a3c0e[_0xf9a7('0x9')](_0xf9a7('0xa'),attributes,{'tableName':_0xf9a7('0xb'),'paranoid':!![],'indexes':[],'timestamps':!![]});};