Built motion from commit 91ed41ac.|2.5.44
[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 _0x7ae5=['AnalyticDefaultReport','analytics_default_reports','lodash','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./analyticDefaultReport.attributes','exports','define'];(function(_0x28467d,_0x2ac2bf){var _0x22cbbd=function(_0x3288ec){while(--_0x3288ec){_0x28467d['push'](_0x28467d['shift']());}};_0x22cbbd(++_0x2ac2bf);}(_0x7ae5,0x147));var _0x57ae=function(_0x5f150e,_0x5e3a1e){_0x5f150e=_0x5f150e-0x0;var _0x2f6957=_0x7ae5[_0x5f150e];return _0x2f6957;};'use strict';var _=require(_0x57ae('0x0'));var util=require('util');var logger=require(_0x57ae('0x1'))(_0x57ae('0x2'));var moment=require(_0x57ae('0x3'));var BPromise=require(_0x57ae('0x4'));var rp=require(_0x57ae('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x57ae('0x6'));var config=require(_0x57ae('0x7'));var attributes=require(_0x57ae('0x8'));module[_0x57ae('0x9')]=function(_0x290447,_0x21daf3){return _0x290447[_0x57ae('0xa')](_0x57ae('0xb'),attributes,{'tableName':_0x57ae('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};