Built motion from commit 2e4747fd.|2.6.7
[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 _0x2bc6=['./analyticDefaultReport.attributes','exports','define','AnalyticDefaultReport','analytics_default_reports','lodash','util','../../config/logger','moment','request-promise','path','rimraf','../../config/environment'];(function(_0x205570,_0x2e54b6){var _0x3208cc=function(_0x3e1d07){while(--_0x3e1d07){_0x205570['push'](_0x205570['shift']());}};_0x3208cc(++_0x2e54b6);}(_0x2bc6,0x1b2));var _0x62bc=function(_0x4f4cf8,_0x5548e7){_0x4f4cf8=_0x4f4cf8-0x0;var _0x4683e5=_0x2bc6[_0x4f4cf8];return _0x4683e5;};'use strict';var _=require(_0x62bc('0x0'));var util=require(_0x62bc('0x1'));var logger=require(_0x62bc('0x2'))('api');var moment=require(_0x62bc('0x3'));var BPromise=require('bluebird');var rp=require(_0x62bc('0x4'));var fs=require('fs');var path=require(_0x62bc('0x5'));var rimraf=require(_0x62bc('0x6'));var config=require(_0x62bc('0x7'));var attributes=require(_0x62bc('0x8'));module[_0x62bc('0x9')]=function(_0x26ea6c,_0x28b09f){return _0x26ea6c[_0x62bc('0xa')](_0x62bc('0xb'),attributes,{'tableName':_0x62bc('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};