Built motion from commit (unavailable).|2.5.24
[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 _0xc962=['analytics_report_trees','lodash','moment','bluebird','request-promise','path','rimraf','../../config/environment','./analyticTreeReport.attributes','exports','define','AnalyticTreeReport'];(function(_0x59b439,_0x4e16b6){var _0x74d02b=function(_0x319ddc){while(--_0x319ddc){_0x59b439['push'](_0x59b439['shift']());}};_0x74d02b(++_0x4e16b6);}(_0xc962,0x6d));var _0x2c96=function(_0x28937f,_0x323653){_0x28937f=_0x28937f-0x0;var _0x152e68=_0xc962[_0x28937f];return _0x152e68;};'use strict';var _=require(_0x2c96('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x2c96('0x1'));var BPromise=require(_0x2c96('0x2'));var rp=require(_0x2c96('0x3'));var fs=require('fs');var path=require(_0x2c96('0x4'));var rimraf=require(_0x2c96('0x5'));var config=require(_0x2c96('0x6'));var attributes=require(_0x2c96('0x7'));module[_0x2c96('0x8')]=function(_0x599a47,_0x1b7ca9){return _0x599a47[_0x2c96('0x9')](_0x2c96('0xa'),attributes,{'tableName':_0x2c96('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};