c40d61a0a913ac89efe9f8ea0b90d42a205de445
[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 _0xf2f9=['./analyticTreeReport.attributes','define','AnalyticTreeReport','../../config/logger','api','bluebird','path'];(function(_0x408cbb,_0x368547){var _0x57f5cd=function(_0x41c2c3){while(--_0x41c2c3){_0x408cbb['push'](_0x408cbb['shift']());}};_0x57f5cd(++_0x368547);}(_0xf2f9,0x1ae));var _0x9f2f=function(_0x37656f,_0x350ac6){_0x37656f=_0x37656f-0x0;var _0x5cd9d8=_0xf2f9[_0x37656f];return _0x5cd9d8;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x9f2f('0x0'))(_0x9f2f('0x1'));var moment=require('moment');var BPromise=require(_0x9f2f('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x9f2f('0x3'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x9f2f('0x4'));module['exports']=function(_0x4a0b4f,_0x373cf3){return _0x4a0b4f[_0x9f2f('0x5')](_0x9f2f('0x6'),attributes,{'tableName':'analytics_report_trees','paranoid':![],'indexes':[],'timestamps':!![]});};