c9995433a121da27b3ad1e355d71f12be9805947
[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 _0xfb9a=['rimraf','../../config/environment','./analyticTreeReport.attributes','analytics_report_trees','util','moment','bluebird','path'];(function(_0x585219,_0x23ba0b){var _0x32c6fe=function(_0x463370){while(--_0x463370){_0x585219['push'](_0x585219['shift']());}};_0x32c6fe(++_0x23ba0b);}(_0xfb9a,0x1bc));var _0xafb9=function(_0x184144,_0x4632a3){_0x184144=_0x184144-0x0;var _0x16a605=_0xfb9a[_0x184144];return _0x16a605;};'use strict';var _=require('lodash');var util=require(_0xafb9('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0xafb9('0x1'));var BPromise=require(_0xafb9('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xafb9('0x3'));var rimraf=require(_0xafb9('0x4'));var config=require(_0xafb9('0x5'));var attributes=require(_0xafb9('0x6'));module['exports']=function(_0x558a78,_0x86ce06){return _0x558a78['define']('AnalyticTreeReport',attributes,{'tableName':_0xafb9('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};