Built motion from commit f67b3b02.|2.6.31
[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 _0xa3dc=['../../config/environment','define','analytics_report_trees','lodash','util','api','moment','request-promise','path'];(function(_0x115b95,_0xa1f8b9){var _0x460b3d=function(_0x510c02){while(--_0x510c02){_0x115b95['push'](_0x115b95['shift']());}};_0x460b3d(++_0xa1f8b9);}(_0xa3dc,0x1c5));var _0xca3d=function(_0xf76ac7,_0x2cc42f){_0xf76ac7=_0xf76ac7-0x0;var _0x479a15=_0xa3dc[_0xf76ac7];return _0x479a15;};'use strict';var _=require(_0xca3d('0x0'));var util=require(_0xca3d('0x1'));var logger=require('../../config/logger')(_0xca3d('0x2'));var moment=require(_0xca3d('0x3'));var BPromise=require('bluebird');var rp=require(_0xca3d('0x4'));var fs=require('fs');var path=require(_0xca3d('0x5'));var rimraf=require('rimraf');var config=require(_0xca3d('0x6'));var attributes=require('./analyticTreeReport.attributes');module['exports']=function(_0x417da2,_0x4438e8){return _0x417da2[_0xca3d('0x7')]('AnalyticTreeReport',attributes,{'tableName':_0xca3d('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};