a9a19f7a5362507976ea84d3daf57ed863eb28fb
[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 _0xaf5a=['./analyticTreeReport.attributes','exports','analytics_report_trees','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x2b77aa,_0x2d9250){var _0x4bac1e=function(_0x395775){while(--_0x395775){_0x2b77aa['push'](_0x2b77aa['shift']());}};_0x4bac1e(++_0x2d9250);}(_0xaf5a,0x116));var _0xaaf5=function(_0x45f42e,_0x417bb){_0x45f42e=_0x45f42e-0x0;var _0x5704b6=_0xaf5a[_0x45f42e];return _0x5704b6;};'use strict';var _=require('lodash');var util=require(_0xaaf5('0x0'));var logger=require(_0xaaf5('0x1'))(_0xaaf5('0x2'));var moment=require(_0xaaf5('0x3'));var BPromise=require(_0xaaf5('0x4'));var rp=require(_0xaaf5('0x5'));var fs=require('fs');var path=require(_0xaaf5('0x6'));var rimraf=require(_0xaaf5('0x7'));var config=require('../../config/environment');var attributes=require(_0xaaf5('0x8'));module[_0xaaf5('0x9')]=function(_0x38d568,_0x8833b8){return _0x38d568['define']('AnalyticTreeReport',attributes,{'tableName':_0xaaf5('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};