Built motion from commit 192134f6.|2.6.25
[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 _0xee23=['api','bluebird','request-promise','./analyticTreeReport.attributes','exports','define','analytics_report_trees','lodash'];(function(_0x3dea7d,_0x2cd4ea){var _0x53919a=function(_0x1554e2){while(--_0x1554e2){_0x3dea7d['push'](_0x3dea7d['shift']());}};_0x53919a(++_0x2cd4ea);}(_0xee23,0x1d7));var _0x3ee2=function(_0x4a80a0,_0x21eea3){_0x4a80a0=_0x4a80a0-0x0;var _0x2a04f2=_0xee23[_0x4a80a0];return _0x2a04f2;};'use strict';var _=require(_0x3ee2('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x3ee2('0x1'));var moment=require('moment');var BPromise=require(_0x3ee2('0x2'));var rp=require(_0x3ee2('0x3'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x3ee2('0x4'));module[_0x3ee2('0x5')]=function(_0x39f4d7,_0x264860){return _0x39f4d7[_0x3ee2('0x6')]('AnalyticTreeReport',attributes,{'tableName':_0x3ee2('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};