ff45ddf17e515a52136ae8f869b1499526bafacd
[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 _0xbd9e=['./analyticTreeReport.attributes','define','AnalyticTreeReport','analytics_report_trees','../../config/logger','moment','bluebird','request-promise','path','rimraf'];(function(_0x4a9fb1,_0x273043){var _0x348672=function(_0x142b69){while(--_0x142b69){_0x4a9fb1['push'](_0x4a9fb1['shift']());}};_0x348672(++_0x273043);}(_0xbd9e,0x108));var _0xebd9=function(_0x373dee,_0x1a8c45){_0x373dee=_0x373dee-0x0;var _0x46798f=_0xbd9e[_0x373dee];return _0x46798f;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xebd9('0x0'))('api');var moment=require(_0xebd9('0x1'));var BPromise=require(_0xebd9('0x2'));var rp=require(_0xebd9('0x3'));var fs=require('fs');var path=require(_0xebd9('0x4'));var rimraf=require(_0xebd9('0x5'));var config=require('../../config/environment');var attributes=require(_0xebd9('0x6'));module['exports']=function(_0x3b2ade,_0x17f877){return _0x3b2ade[_0xebd9('0x7')](_0xebd9('0x8'),attributes,{'tableName':_0xebd9('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};