8ba2c3b6d596b3d322b0e0dbfb5bee5367a3ab4b
[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 _0xee33=['lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./analyticTreeReport.attributes','exports','define','analytics_report_trees'];(function(_0x1505e5,_0x5cc291){var _0x5b1dcd=function(_0x18bfe5){while(--_0x18bfe5){_0x1505e5['push'](_0x1505e5['shift']());}};_0x5b1dcd(++_0x5cc291);}(_0xee33,0x145));var _0x3ee3=function(_0x1c546c,_0x5c57cb){_0x1c546c=_0x1c546c-0x0;var _0x2cc384=_0xee33[_0x1c546c];return _0x2cc384;};'use strict';var _=require(_0x3ee3('0x0'));var util=require('util');var logger=require(_0x3ee3('0x1'))(_0x3ee3('0x2'));var moment=require(_0x3ee3('0x3'));var BPromise=require(_0x3ee3('0x4'));var rp=require(_0x3ee3('0x5'));var fs=require('fs');var path=require(_0x3ee3('0x6'));var rimraf=require(_0x3ee3('0x7'));var config=require(_0x3ee3('0x8'));var attributes=require(_0x3ee3('0x9'));module[_0x3ee3('0xa')]=function(_0x553688,_0x2630a6){return _0x553688[_0x3ee3('0xb')]('AnalyticTreeReport',attributes,{'tableName':_0x3ee3('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};