Built motion from commit 3e059bc2.|2.5.32
[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 _0x672b=['analytics_report_trees','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./analyticTreeReport.attributes','exports','define'];(function(_0x44a64f,_0x38475c){var _0x52024b=function(_0x2cd055){while(--_0x2cd055){_0x44a64f['push'](_0x44a64f['shift']());}};_0x52024b(++_0x38475c);}(_0x672b,0x175));var _0xb672=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x672b[_0x3dd15e];return _0x231fd0;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xb672('0x0'))(_0xb672('0x1'));var moment=require(_0xb672('0x2'));var BPromise=require(_0xb672('0x3'));var rp=require(_0xb672('0x4'));var fs=require('fs');var path=require(_0xb672('0x5'));var rimraf=require(_0xb672('0x6'));var config=require(_0xb672('0x7'));var attributes=require(_0xb672('0x8'));module[_0xb672('0x9')]=function(_0x4ac4c8,_0x81a60){return _0x4ac4c8[_0xb672('0xa')]('AnalyticTreeReport',attributes,{'tableName':_0xb672('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};