30ad489e4ed975567b42eecf4b73d72d147ea75a
[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 _0xec9d=['../../config/environment','./analyticTreeReport.attributes','exports','AnalyticTreeReport','analytics_report_trees','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x194f13,_0x39e6b3){var _0x31efc4=function(_0x29b124){while(--_0x29b124){_0x194f13['push'](_0x194f13['shift']());}};_0x31efc4(++_0x39e6b3);}(_0xec9d,0x155));var _0xdec9=function(_0x14e6de,_0x293358){_0x14e6de=_0x14e6de-0x0;var _0xc157fc=_0xec9d[_0x14e6de];return _0xc157fc;};'use strict';var _=require(_0xdec9('0x0'));var util=require(_0xdec9('0x1'));var logger=require(_0xdec9('0x2'))(_0xdec9('0x3'));var moment=require(_0xdec9('0x4'));var BPromise=require(_0xdec9('0x5'));var rp=require(_0xdec9('0x6'));var fs=require('fs');var path=require(_0xdec9('0x7'));var rimraf=require(_0xdec9('0x8'));var config=require(_0xdec9('0x9'));var attributes=require(_0xdec9('0xa'));module[_0xdec9('0xb')]=function(_0x168578,_0xf0577e){return _0x168578['define'](_0xdec9('0xc'),attributes,{'tableName':_0xdec9('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};