Built motion from commit f7863d46.|2.5.41
[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 _0x812a=['exports','define','AnalyticDefaultReport','analytics_default_reports','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./analyticDefaultReport.attributes'];(function(_0x3b1950,_0x44acae){var _0x494b51=function(_0x1d6107){while(--_0x1d6107){_0x3b1950['push'](_0x3b1950['shift']());}};_0x494b51(++_0x44acae);}(_0x812a,0x12a));var _0xa812=function(_0x174c73,_0x2169ab){_0x174c73=_0x174c73-0x0;var _0x412094=_0x812a[_0x174c73];return _0x412094;};'use strict';var _=require(_0xa812('0x0'));var util=require('util');var logger=require(_0xa812('0x1'))(_0xa812('0x2'));var moment=require(_0xa812('0x3'));var BPromise=require(_0xa812('0x4'));var rp=require(_0xa812('0x5'));var fs=require('fs');var path=require(_0xa812('0x6'));var rimraf=require(_0xa812('0x7'));var config=require(_0xa812('0x8'));var attributes=require(_0xa812('0x9'));module[_0xa812('0xa')]=function(_0xb6e4aa,_0x3ce3d2){return _0xb6e4aa[_0xa812('0xb')](_0xa812('0xc'),attributes,{'tableName':_0xa812('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};