2b1924ba8a607fc7e3ce9b082398fef4e78fa271
[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 _0x014c=['api','moment','bluebird','rimraf','../../config/environment','./analyticTreeReport.attributes','exports','define','AnalyticTreeReport','util'];(function(_0x84ab96,_0x47c95d){var _0x16ed1b=function(_0x23bf4c){while(--_0x23bf4c){_0x84ab96['push'](_0x84ab96['shift']());}};_0x16ed1b(++_0x47c95d);}(_0x014c,0x17b));var _0xc014=function(_0x9729d7,_0x1b79a8){_0x9729d7=_0x9729d7-0x0;var _0x3c4ac6=_0x014c[_0x9729d7];return _0x3c4ac6;};'use strict';var _=require('lodash');var util=require(_0xc014('0x0'));var logger=require('../../config/logger')(_0xc014('0x1'));var moment=require(_0xc014('0x2'));var BPromise=require(_0xc014('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xc014('0x4'));var config=require(_0xc014('0x5'));var attributes=require(_0xc014('0x6'));module[_0xc014('0x7')]=function(_0x10f3cb,_0x5138a8){return _0x10f3cb[_0xc014('0x8')](_0xc014('0x9'),attributes,{'tableName':'analytics_report_trees','paranoid':![],'indexes':[],'timestamps':!![]});};