Built motion from commit 15aa0e42.|2.6.19
[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 _0xd5c3=['analytics_default_reports','lodash','util','../../config/logger','moment','path','rimraf','./analyticDefaultReport.attributes','exports','define','AnalyticDefaultReport'];(function(_0x3a4ce4,_0x4f9e46){var _0x5837ea=function(_0x3fe823){while(--_0x3fe823){_0x3a4ce4['push'](_0x3a4ce4['shift']());}};_0x5837ea(++_0x4f9e46);}(_0xd5c3,0xe8));var _0x3d5c=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0xd5c3[_0x2dafbe];return _0x58a45a;};'use strict';var _=require(_0x3d5c('0x0'));var util=require(_0x3d5c('0x1'));var logger=require(_0x3d5c('0x2'))('api');var moment=require(_0x3d5c('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x3d5c('0x4'));var rimraf=require(_0x3d5c('0x5'));var config=require('../../config/environment');var attributes=require(_0x3d5c('0x6'));module[_0x3d5c('0x7')]=function(_0x1325b9,_0x5bd7b7){return _0x1325b9[_0x3d5c('0x8')](_0x3d5c('0x9'),attributes,{'tableName':_0x3d5c('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};