Built motion from commit b5413ace.|2.6.9
[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 _0x67c6=['exports','AnalyticDefaultReport','analytics_default_reports','lodash','util','../../config/logger','api','moment','request-promise','path','../../config/environment','./analyticDefaultReport.attributes'];(function(_0x7e51b4,_0x1f67f3){var _0x5acffc=function(_0x31e858){while(--_0x31e858){_0x7e51b4['push'](_0x7e51b4['shift']());}};_0x5acffc(++_0x1f67f3);}(_0x67c6,0x10b));var _0x667c=function(_0x568738,_0x4939f0){_0x568738=_0x568738-0x0;var _0xec2f1f=_0x67c6[_0x568738];return _0xec2f1f;};'use strict';var _=require(_0x667c('0x0'));var util=require(_0x667c('0x1'));var logger=require(_0x667c('0x2'))(_0x667c('0x3'));var moment=require(_0x667c('0x4'));var BPromise=require('bluebird');var rp=require(_0x667c('0x5'));var fs=require('fs');var path=require(_0x667c('0x6'));var rimraf=require('rimraf');var config=require(_0x667c('0x7'));var attributes=require(_0x667c('0x8'));module[_0x667c('0x9')]=function(_0xe4a4aa,_0x46bfca){return _0xe4a4aa['define'](_0x667c('0xa'),attributes,{'tableName':_0x667c('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};