e9bf806f31746aee5b0f788db5a5ceb635994dfe
[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 _0x172c=['../../config/environment','./analyticTreeReport.attributes','define','AnalyticTreeReport','analytics_report_trees','lodash','util','api','bluebird','request-promise','rimraf'];(function(_0x2a7dfb,_0x59da21){var _0x41136e=function(_0x300163){while(--_0x300163){_0x2a7dfb['push'](_0x2a7dfb['shift']());}};_0x41136e(++_0x59da21);}(_0x172c,0x7e));var _0xc172=function(_0x4dc7b9,_0x319d5a){_0x4dc7b9=_0x4dc7b9-0x0;var _0x3ab114=_0x172c[_0x4dc7b9];return _0x3ab114;};'use strict';var _=require(_0xc172('0x0'));var util=require(_0xc172('0x1'));var logger=require('../../config/logger')(_0xc172('0x2'));var moment=require('moment');var BPromise=require(_0xc172('0x3'));var rp=require(_0xc172('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xc172('0x5'));var config=require(_0xc172('0x6'));var attributes=require(_0xc172('0x7'));module['exports']=function(_0x55a286,_0xa8061d){return _0x55a286[_0xc172('0x8')](_0xc172('0x9'),attributes,{'tableName':_0xc172('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};