d6f69d0246d44291573f388e26c8e609595a8f29
[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 _0x7409=['rimraf','../../config/environment','./analyticTreeReport.attributes','exports','define','AnalyticTreeReport','lodash','util','api','moment','bluebird','request-promise','path'];(function(_0xb7951e,_0x92f5c7){var _0x2b42c4=function(_0x4dff42){while(--_0x4dff42){_0xb7951e['push'](_0xb7951e['shift']());}};_0x2b42c4(++_0x92f5c7);}(_0x7409,0x6e));var _0x9740=function(_0x14612f,_0x1c3389){_0x14612f=_0x14612f-0x0;var _0x3c41ad=_0x7409[_0x14612f];return _0x3c41ad;};'use strict';var _=require(_0x9740('0x0'));var util=require(_0x9740('0x1'));var logger=require('../../config/logger')(_0x9740('0x2'));var moment=require(_0x9740('0x3'));var BPromise=require(_0x9740('0x4'));var rp=require(_0x9740('0x5'));var fs=require('fs');var path=require(_0x9740('0x6'));var rimraf=require(_0x9740('0x7'));var config=require(_0x9740('0x8'));var attributes=require(_0x9740('0x9'));module[_0x9740('0xa')]=function(_0x547490,_0x19865c){return _0x547490[_0x9740('0xb')](_0x9740('0xc'),attributes,{'tableName':'analytics_report_trees','paranoid':![],'indexes':[],'timestamps':!![]});};