ad0353ebf28750315808aed388ea385abaa2a4dc
[motion2.git] / server / api / analyticTreeReport / analyticTreeReport.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 _0xcc28=['../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./analyticTreeReport.attributes','exports','AnalyticTreeReport','analytics_report_trees','util'];(function(_0x30654e,_0x4a1608){var _0x521d40=function(_0x59c281){while(--_0x59c281){_0x30654e['push'](_0x30654e['shift']());}};_0x521d40(++_0x4a1608);}(_0xcc28,0x137));var _0x8cc2=function(_0x269e2c,_0x153137){_0x269e2c=_0x269e2c-0x0;var _0x2e9614=_0xcc28[_0x269e2c];return _0x2e9614;};'use strict';var _=require('lodash');var util=require(_0x8cc2('0x0'));var logger=require(_0x8cc2('0x1'))(_0x8cc2('0x2'));var moment=require(_0x8cc2('0x3'));var BPromise=require(_0x8cc2('0x4'));var rp=require(_0x8cc2('0x5'));var fs=require('fs');var path=require(_0x8cc2('0x6'));var rimraf=require(_0x8cc2('0x7'));var config=require('../../config/environment');var attributes=require(_0x8cc2('0x8'));module[_0x8cc2('0x9')]=function(_0x4b8d01,_0x11217d){return _0x4b8d01['define'](_0x8cc2('0xa'),attributes,{'tableName':_0x8cc2('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};