Built motion from commit f7863d46.|2.5.41
[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 _0xb2eb=['define','AnalyticTreeReport','lodash','api','moment','request-promise','path','rimraf','../../config/environment','exports'];(function(_0x4e0892,_0xe63ffe){var _0x1c4420=function(_0x24dcbc){while(--_0x24dcbc){_0x4e0892['push'](_0x4e0892['shift']());}};_0x1c4420(++_0xe63ffe);}(_0xb2eb,0x1e2));var _0xbb2e=function(_0x5372d3,_0x5c8629){_0x5372d3=_0x5372d3-0x0;var _0xb32cbf=_0xb2eb[_0x5372d3];return _0xb32cbf;};'use strict';var _=require(_0xbb2e('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xbb2e('0x1'));var moment=require(_0xbb2e('0x2'));var BPromise=require('bluebird');var rp=require(_0xbb2e('0x3'));var fs=require('fs');var path=require(_0xbb2e('0x4'));var rimraf=require(_0xbb2e('0x5'));var config=require(_0xbb2e('0x6'));var attributes=require('./analyticTreeReport.attributes');module[_0xbb2e('0x7')]=function(_0x129fdb,_0x3b7978){return _0x129fdb[_0xbb2e('0x8')](_0xbb2e('0x9'),attributes,{'tableName':'analytics_report_trees','paranoid':![],'indexes':[],'timestamps':!![]});};