f6733490d0595bce1360f52d4f52d2c66c5d62bb
[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 _0xecd2=['analytics_default_reports','lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define'];(function(_0xad9b66,_0x4a6b2c){var _0x3e4c3f=function(_0x24725c){while(--_0x24725c){_0xad9b66['push'](_0xad9b66['shift']());}};_0x3e4c3f(++_0x4a6b2c);}(_0xecd2,0x139));var _0x2ecd=function(_0x6a3e19,_0x219a7b){_0x6a3e19=_0x6a3e19-0x0;var _0x17c953=_0xecd2[_0x6a3e19];return _0x17c953;};'use strict';var _=require(_0x2ecd('0x0'));var util=require(_0x2ecd('0x1'));var logger=require('../../config/logger')(_0x2ecd('0x2'));var moment=require(_0x2ecd('0x3'));var BPromise=require(_0x2ecd('0x4'));var rp=require(_0x2ecd('0x5'));var fs=require('fs');var path=require(_0x2ecd('0x6'));var rimraf=require(_0x2ecd('0x7'));var config=require(_0x2ecd('0x8'));var attributes=require('./analyticDefaultReport.attributes');module[_0x2ecd('0x9')]=function(_0x5d22a5,_0x1c38e7){return _0x5d22a5[_0x2ecd('0xa')]('AnalyticDefaultReport',attributes,{'tableName':_0x2ecd('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};