cd3d99054b877c6b9b2f511182fc67dd5aaf907e
[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 _0xe9ef=['bluebird','path','rimraf','../../config/environment','./analyticTreeReport.attributes','analytics_report_trees','lodash','../../config/logger','api'];(function(_0x8cfd08,_0x656b39){var _0x1c6452=function(_0x34a7cc){while(--_0x34a7cc){_0x8cfd08['push'](_0x8cfd08['shift']());}};_0x1c6452(++_0x656b39);}(_0xe9ef,0x16e));var _0xfe9e=function(_0x4b2b03,_0xbf34ee){_0x4b2b03=_0x4b2b03-0x0;var _0x1bf0ed=_0xe9ef[_0x4b2b03];return _0x1bf0ed;};'use strict';var _=require(_0xfe9e('0x0'));var util=require('util');var logger=require(_0xfe9e('0x1'))(_0xfe9e('0x2'));var moment=require('moment');var BPromise=require(_0xfe9e('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xfe9e('0x4'));var rimraf=require(_0xfe9e('0x5'));var config=require(_0xfe9e('0x6'));var attributes=require(_0xfe9e('0x7'));module['exports']=function(_0x448c5b,_0x929d6d){return _0x448c5b['define']('AnalyticTreeReport',attributes,{'tableName':_0xfe9e('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};