c26006d78ca64a4686a3d4d8a4404e52e96e63ab
[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 _0xae6a=['analytics_report_trees','../../config/logger','moment','bluebird','request-promise','path','../../config/environment','./analyticTreeReport.attributes','define','AnalyticTreeReport'];(function(_0x4d8f25,_0x1b0452){var _0x15ae64=function(_0x20bd6a){while(--_0x20bd6a){_0x4d8f25['push'](_0x4d8f25['shift']());}};_0x15ae64(++_0x1b0452);}(_0xae6a,0x79));var _0xaae6=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0xae6a[_0x3b380d];return _0x54502b;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xaae6('0x0'))('api');var moment=require(_0xaae6('0x1'));var BPromise=require(_0xaae6('0x2'));var rp=require(_0xaae6('0x3'));var fs=require('fs');var path=require(_0xaae6('0x4'));var rimraf=require('rimraf');var config=require(_0xaae6('0x5'));var attributes=require(_0xaae6('0x6'));module['exports']=function(_0x51cdca,_0x1c5361){return _0x51cdca[_0xaae6('0x7')](_0xaae6('0x8'),attributes,{'tableName':_0xaae6('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};