95e5b662ff9756a5477cf985ba4cafed202ec903
[motion2.git] / server / api / analyticDefaultReport / analyticDefaultReport.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x5e39=['../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','exports','AnalyticDefaultReport','analytics_default_reports','util'];(function(_0x3f14cc,_0x4ec13e){var _0x494737=function(_0x1bd326){while(--_0x1bd326){_0x3f14cc['push'](_0x3f14cc['shift']());}};_0x494737(++_0x4ec13e);}(_0x5e39,0x78));var _0x95e3=function(_0x34cf01,_0x226b5c){_0x34cf01=_0x34cf01-0x0;var _0x3d3fca=_0x5e39[_0x34cf01];return _0x3d3fca;};'use strict';var _=require('lodash');var util=require(_0x95e3('0x0'));var logger=require(_0x95e3('0x1'))(_0x95e3('0x2'));var moment=require('moment');var BPromise=require(_0x95e3('0x3'));var rp=require(_0x95e3('0x4'));var fs=require('fs');var path=require(_0x95e3('0x5'));var rimraf=require(_0x95e3('0x6'));var config=require(_0x95e3('0x7'));var attributes=require('./analyticDefaultReport.attributes');module[_0x95e3('0x8')]=function(_0xc40ba7,_0x56a7b9){return _0xc40ba7['define'](_0x95e3('0x9'),attributes,{'tableName':_0x95e3('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};