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 _0x9e26=['analytics_custom_reports','../../config/logger','path','rimraf','./analyticCustomReport.attributes','exports','define','AnalyticCustomReport'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x9e26,0x149));var _0x69e2=function(_0x35478d,_0x4810a1){_0x35478d=_0x35478d-0x0;var _0x1ec881=_0x9e26[_0x35478d];return _0x1ec881;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x69e2('0x0'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x69e2('0x1'));var rimraf=require(_0x69e2('0x2'));var config=require('../../config/environment');var attributes=require(_0x69e2('0x3'));module[_0x69e2('0x4')]=function(_0x317f47,_0xa736e2){return _0x317f47[_0x69e2('0x5')](_0x69e2('0x6'),attributes,{'tableName':_0x69e2('0x7'),'paranoid':!![],'indexes':[],'timestamps':!![]});};