8c6df89ff3feb3abb08d1bb981d7e87b09aca6d8
[motion2.git] / server / api / analyticCustomReport / analyticCustomReport.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 _0x43d1=['exports','AnalyticCustomReport','analytics_custom_reports','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x2b19f5,_0x31903c){var _0x9d33d0=function(_0x34c4ad){while(--_0x34c4ad){_0x2b19f5['push'](_0x2b19f5['shift']());}};_0x9d33d0(++_0x31903c);}(_0x43d1,0x10b));var _0x143d=function(_0x186413,_0x2a0952){_0x186413=_0x186413-0x0;var _0x253b4a=_0x43d1[_0x186413];return _0x253b4a;};'use strict';var _=require('lodash');var util=require(_0x143d('0x0'));var logger=require(_0x143d('0x1'))(_0x143d('0x2'));var moment=require(_0x143d('0x3'));var BPromise=require(_0x143d('0x4'));var rp=require(_0x143d('0x5'));var fs=require('fs');var path=require(_0x143d('0x6'));var rimraf=require(_0x143d('0x7'));var config=require(_0x143d('0x8'));var attributes=require('./analyticCustomReport.attributes');module[_0x143d('0x9')]=function(_0x592357,_0x4671c4){return _0x592357['define'](_0x143d('0xa'),attributes,{'tableName':_0x143d('0xb'),'paranoid':!![],'indexes':[],'timestamps':!![]});};