Built motion from commit (unavailable).|2.5.11
[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 _0x5b91=['moment','bluebird','rimraf','../../config/environment','./analyticDefaultReport.attributes','exports','AnalyticDefaultReport','analytics_default_reports','lodash','util','../../config/logger','api'];(function(_0x206aa9,_0xbeebd2){var _0x1237ec=function(_0x966df){while(--_0x966df){_0x206aa9['push'](_0x206aa9['shift']());}};_0x1237ec(++_0xbeebd2);}(_0x5b91,0x128));var _0x15b9=function(_0x1bb58c,_0x2c8a4d){_0x1bb58c=_0x1bb58c-0x0;var _0x277586=_0x5b91[_0x1bb58c];return _0x277586;};'use strict';var _=require(_0x15b9('0x0'));var util=require(_0x15b9('0x1'));var logger=require(_0x15b9('0x2'))(_0x15b9('0x3'));var moment=require(_0x15b9('0x4'));var BPromise=require(_0x15b9('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x15b9('0x6'));var config=require(_0x15b9('0x7'));var attributes=require(_0x15b9('0x8'));module[_0x15b9('0x9')]=function(_0x49ebb3,_0x24009b){return _0x49ebb3['define'](_0x15b9('0xa'),attributes,{'tableName':_0x15b9('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};