Built motion from commit (unavailable).|2.5.21
[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 _0x6337=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','AnalyticTreeReport','util','../../config/logger'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0x6337,0x18a));var _0x7633=function(_0x3d6181,_0x5d5b36){_0x3d6181=_0x3d6181-0x0;var _0x2f1a60=_0x6337[_0x3d6181];return _0x2f1a60;};'use strict';var _=require('lodash');var util=require(_0x7633('0x0'));var logger=require(_0x7633('0x1'))(_0x7633('0x2'));var moment=require(_0x7633('0x3'));var BPromise=require(_0x7633('0x4'));var rp=require(_0x7633('0x5'));var fs=require('fs');var path=require(_0x7633('0x6'));var rimraf=require(_0x7633('0x7'));var config=require(_0x7633('0x8'));var attributes=require('./analyticTreeReport.attributes');module[_0x7633('0x9')]=function(_0x27e596,_0x470054){return _0x27e596['define'](_0x7633('0xa'),attributes,{'tableName':'analytics_report_trees','paranoid':![],'indexes':[],'timestamps':!![]});};