Built motion from commit 9d0783e6.|2.6.13
[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 _0xf37d=['exports','AnalyticTreeReport','analytics_report_trees','lodash','util','../../config/logger','api','moment','request-promise','rimraf','./analyticTreeReport.attributes'];(function(_0xf273f9,_0x486198){var _0xb4abcc=function(_0x2f9418){while(--_0x2f9418){_0xf273f9['push'](_0xf273f9['shift']());}};_0xb4abcc(++_0x486198);}(_0xf37d,0x16e));var _0xdf37=function(_0x7791d5,_0xdab65f){_0x7791d5=_0x7791d5-0x0;var _0x5ce288=_0xf37d[_0x7791d5];return _0x5ce288;};'use strict';var _=require(_0xdf37('0x0'));var util=require(_0xdf37('0x1'));var logger=require(_0xdf37('0x2'))(_0xdf37('0x3'));var moment=require(_0xdf37('0x4'));var BPromise=require('bluebird');var rp=require(_0xdf37('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xdf37('0x6'));var config=require('../../config/environment');var attributes=require(_0xdf37('0x7'));module[_0xdf37('0x8')]=function(_0x47b56c,_0x39c272){return _0x47b56c['define'](_0xdf37('0x9'),attributes,{'tableName':_0xdf37('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};