4d121098ca4520b8fccdf00027931edb3fb00383
[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 _0xfd5e=['../../config/environment','./analyticTreeReport.attributes','exports','AnalyticTreeReport','lodash','../../config/logger','request-promise','path'];(function(_0x6e0bc7,_0x9b200){var _0x213ae6=function(_0x473672){while(--_0x473672){_0x6e0bc7['push'](_0x6e0bc7['shift']());}};_0x213ae6(++_0x9b200);}(_0xfd5e,0xdc));var _0xefd5=function(_0x400f2a,_0x52a559){_0x400f2a=_0x400f2a-0x0;var _0x3dd8d1=_0xfd5e[_0x400f2a];return _0x3dd8d1;};'use strict';var _=require(_0xefd5('0x0'));var util=require('util');var logger=require(_0xefd5('0x1'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xefd5('0x2'));var fs=require('fs');var path=require(_0xefd5('0x3'));var rimraf=require('rimraf');var config=require(_0xefd5('0x4'));var attributes=require(_0xefd5('0x5'));module[_0xefd5('0x6')]=function(_0x23eeef,_0x1d2707){return _0x23eeef['define'](_0xefd5('0x7'),attributes,{'tableName':'analytics_report_trees','paranoid':![],'indexes':[],'timestamps':!![]});};