b96321763d7b3234a203c8cb5cb2a8eb631f176a
[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 _0x3974=['analytics_report_trees','lodash','util','../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment','exports','define'];(function(_0x11a962,_0x3cc338){var _0x55d423=function(_0xf4b236){while(--_0xf4b236){_0x11a962['push'](_0x11a962['shift']());}};_0x55d423(++_0x3cc338);}(_0x3974,0xbc));var _0x4397=function(_0x5e6179,_0x23288d){_0x5e6179=_0x5e6179-0x0;var _0x53d5cf=_0x3974[_0x5e6179];return _0x53d5cf;};'use strict';var _=require(_0x4397('0x0'));var util=require(_0x4397('0x1'));var logger=require(_0x4397('0x2'))('api');var moment=require('moment');var BPromise=require(_0x4397('0x3'));var rp=require(_0x4397('0x4'));var fs=require('fs');var path=require(_0x4397('0x5'));var rimraf=require(_0x4397('0x6'));var config=require(_0x4397('0x7'));var attributes=require('./analyticTreeReport.attributes');module[_0x4397('0x8')]=function(_0x2bf887,_0x32f617){return _0x2bf887[_0x4397('0x9')]('AnalyticTreeReport',attributes,{'tableName':_0x4397('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};