097b1d6803517314d67c39b3ef5e6ba56ba9312f
[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 _0xc626=['request-promise','path','./analyticDefaultReport.attributes','exports','AnalyticDefaultReport','analytics_default_reports','lodash','util','../../config/logger','api','bluebird'];(function(_0x25a553,_0x57d9e7){var _0x1aff24=function(_0x5496e1){while(--_0x5496e1){_0x25a553['push'](_0x25a553['shift']());}};_0x1aff24(++_0x57d9e7);}(_0xc626,0x145));var _0x6c62=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xc626[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x6c62('0x0'));var util=require(_0x6c62('0x1'));var logger=require(_0x6c62('0x2'))(_0x6c62('0x3'));var moment=require('moment');var BPromise=require(_0x6c62('0x4'));var rp=require(_0x6c62('0x5'));var fs=require('fs');var path=require(_0x6c62('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x6c62('0x7'));module[_0x6c62('0x8')]=function(_0x59898f,_0x2c2c56){return _0x59898f['define'](_0x6c62('0x9'),attributes,{'tableName':_0x6c62('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};