Built motion from commit e6806ed6.|2.6.0
[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 _0x5eae=['../../config/environment','./analyticTreeReport.attributes','exports','AnalyticTreeReport','lodash','../../config/logger','moment','bluebird','request-promise','path','rimraf'];(function(_0x1ed912,_0x1b2662){var _0x1ddb37=function(_0x1d8299){while(--_0x1d8299){_0x1ed912['push'](_0x1ed912['shift']());}};_0x1ddb37(++_0x1b2662);}(_0x5eae,0x9e));var _0xe5ea=function(_0x354ed5,_0x258cda){_0x354ed5=_0x354ed5-0x0;var _0x49eb08=_0x5eae[_0x354ed5];return _0x49eb08;};'use strict';var _=require(_0xe5ea('0x0'));var util=require('util');var logger=require(_0xe5ea('0x1'))('api');var moment=require(_0xe5ea('0x2'));var BPromise=require(_0xe5ea('0x3'));var rp=require(_0xe5ea('0x4'));var fs=require('fs');var path=require(_0xe5ea('0x5'));var rimraf=require(_0xe5ea('0x6'));var config=require(_0xe5ea('0x7'));var attributes=require(_0xe5ea('0x8'));module[_0xe5ea('0x9')]=function(_0x1cb459,_0x4b8596){return _0x1cb459['define'](_0xe5ea('0xa'),attributes,{'tableName':'analytics_report_trees','paranoid':![],'indexes':[],'timestamps':!![]});};