c91de1fee61f0942281ed6d3fb9842b084d3e23c
[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 _0xd7c4=['analytics_default_reports','lodash','util','../../config/logger','request-promise','path','../../config/environment','./analyticDefaultReport.attributes','exports','define','AnalyticDefaultReport'];(function(_0x1e1e88,_0x5c1fbe){var _0x56e694=function(_0x29bc89){while(--_0x29bc89){_0x1e1e88['push'](_0x1e1e88['shift']());}};_0x56e694(++_0x5c1fbe);}(_0xd7c4,0x135));var _0x4d7c=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xd7c4[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x4d7c('0x0'));var util=require(_0x4d7c('0x1'));var logger=require(_0x4d7c('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x4d7c('0x3'));var fs=require('fs');var path=require(_0x4d7c('0x4'));var rimraf=require('rimraf');var config=require(_0x4d7c('0x5'));var attributes=require(_0x4d7c('0x6'));module[_0x4d7c('0x7')]=function(_0x2298e5,_0x5e36e0){return _0x2298e5[_0x4d7c('0x8')](_0x4d7c('0x9'),attributes,{'tableName':_0x4d7c('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};