Built motion from commit b5996064.|2.6.21
[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 _0x2a2a=['./analyticDefaultReport.attributes','exports','define','AnalyticDefaultReport','analytics_default_reports','util','../../config/logger','api','moment','path','rimraf'];(function(_0x264b9b,_0xa1181e){var _0x4c7a0e=function(_0x4b77a0){while(--_0x4b77a0){_0x264b9b['push'](_0x264b9b['shift']());}};_0x4c7a0e(++_0xa1181e);}(_0x2a2a,0xcb));var _0xa2a2=function(_0x56b138,_0x2396d6){_0x56b138=_0x56b138-0x0;var _0x3df878=_0x2a2a[_0x56b138];return _0x3df878;};'use strict';var _=require('lodash');var util=require(_0xa2a2('0x0'));var logger=require(_0xa2a2('0x1'))(_0xa2a2('0x2'));var moment=require(_0xa2a2('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xa2a2('0x4'));var rimraf=require(_0xa2a2('0x5'));var config=require('../../config/environment');var attributes=require(_0xa2a2('0x6'));module[_0xa2a2('0x7')]=function(_0x57c819,_0x1deb51){return _0x57c819[_0xa2a2('0x8')](_0xa2a2('0x9'),attributes,{'tableName':_0xa2a2('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};