7effb814da3130b40805040046d2e37aecfd2e49
[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 _0x632c=['rimraf','../../config/environment','./analyticDefaultReport.attributes','exports','define','AnalyticDefaultReport','analytics_default_reports','lodash','util','../../config/logger','moment','bluebird','request-promise','path'];(function(_0x1b3009,_0x249b9e){var _0x1a95f6=function(_0x1384f6){while(--_0x1384f6){_0x1b3009['push'](_0x1b3009['shift']());}};_0x1a95f6(++_0x249b9e);}(_0x632c,0x69));var _0xc632=function(_0x3c7f1e,_0x2daf7a){_0x3c7f1e=_0x3c7f1e-0x0;var _0x217234=_0x632c[_0x3c7f1e];return _0x217234;};'use strict';var _=require(_0xc632('0x0'));var util=require(_0xc632('0x1'));var logger=require(_0xc632('0x2'))('api');var moment=require(_0xc632('0x3'));var BPromise=require(_0xc632('0x4'));var rp=require(_0xc632('0x5'));var fs=require('fs');var path=require(_0xc632('0x6'));var rimraf=require(_0xc632('0x7'));var config=require(_0xc632('0x8'));var attributes=require(_0xc632('0x9'));module[_0xc632('0xa')]=function(_0x1f0128,_0x93d5d9){return _0x1f0128[_0xc632('0xb')](_0xc632('0xc'),attributes,{'tableName':_0xc632('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};