Built motion from commit b0a9a629.|2.6.33
[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 _0x0345=['rimraf','../../config/environment','./analyticTreeReport.attributes','exports','util','../../config/logger','api','moment','bluebird','path'];(function(_0x169e4a,_0x350d6b){var _0x1de1f7=function(_0x5f220e){while(--_0x5f220e){_0x169e4a['push'](_0x169e4a['shift']());}};_0x1de1f7(++_0x350d6b);}(_0x0345,0x9a));var _0x5034=function(_0x25ae0d,_0x437699){_0x25ae0d=_0x25ae0d-0x0;var _0x35a2df=_0x0345[_0x25ae0d];return _0x35a2df;};'use strict';var _=require('lodash');var util=require(_0x5034('0x0'));var logger=require(_0x5034('0x1'))(_0x5034('0x2'));var moment=require(_0x5034('0x3'));var BPromise=require(_0x5034('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x5034('0x5'));var rimraf=require(_0x5034('0x6'));var config=require(_0x5034('0x7'));var attributes=require(_0x5034('0x8'));module[_0x5034('0x9')]=function(_0x1fd1da,_0x4f482a){return _0x1fd1da['define']('AnalyticTreeReport',attributes,{'tableName':'analytics_report_trees','paranoid':![],'indexes':[],'timestamps':!![]});};