Built motion from commit (unavailable).|2.5.4
[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 _0xc77d=['moment','bluebird','path','./analyticTreeReport.attributes','exports','AnalyticTreeReport','analytics_report_trees','util','../../config/logger'];(function(_0x433bff,_0x55d2da){var _0x23105e=function(_0x2efdde){while(--_0x2efdde){_0x433bff['push'](_0x433bff['shift']());}};_0x23105e(++_0x55d2da);}(_0xc77d,0x6a));var _0xdc77=function(_0x35b7ba,_0x155c7f){_0x35b7ba=_0x35b7ba-0x0;var _0x25ea5e=_0xc77d[_0x35b7ba];return _0x25ea5e;};'use strict';var _=require('lodash');var util=require(_0xdc77('0x0'));var logger=require(_0xdc77('0x1'))('api');var moment=require(_0xdc77('0x2'));var BPromise=require(_0xdc77('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xdc77('0x4'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xdc77('0x5'));module[_0xdc77('0x6')]=function(_0x3646f8,_0x2da1aa){return _0x3646f8['define'](_0xdc77('0x7'),attributes,{'tableName':_0xdc77('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};