Built motion from commit 753c950e.|2.5.42
[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 _0xf0bd=['moment','bluebird','request-promise','../../config/environment','./analyticTreeReport.attributes','exports','define','analytics_report_trees','lodash','util','../../config/logger','api'];(function(_0x539cf4,_0x46d9fe){var _0x551d01=function(_0x2e2914){while(--_0x2e2914){_0x539cf4['push'](_0x539cf4['shift']());}};_0x551d01(++_0x46d9fe);}(_0xf0bd,0x188));var _0xdf0b=function(_0x4cff6a,_0x5c396d){_0x4cff6a=_0x4cff6a-0x0;var _0x528b6a=_0xf0bd[_0x4cff6a];return _0x528b6a;};'use strict';var _=require(_0xdf0b('0x0'));var util=require(_0xdf0b('0x1'));var logger=require(_0xdf0b('0x2'))(_0xdf0b('0x3'));var moment=require(_0xdf0b('0x4'));var BPromise=require(_0xdf0b('0x5'));var rp=require(_0xdf0b('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xdf0b('0x7'));var attributes=require(_0xdf0b('0x8'));module[_0xdf0b('0x9')]=function(_0x394824,_0x1aa49f){return _0x394824[_0xdf0b('0xa')]('AnalyticTreeReport',attributes,{'tableName':_0xdf0b('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};