Built motion from commit 1fa89557.|2.6.10
[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 _0x0088=['request-promise','path','rimraf','../../config/environment','./analyticTreeReport.attributes','exports','define','AnalyticTreeReport','lodash','util','api','moment'];(function(_0xd1c39b,_0x16f0c6){var _0x58f5bc=function(_0x412cf3){while(--_0x412cf3){_0xd1c39b['push'](_0xd1c39b['shift']());}};_0x58f5bc(++_0x16f0c6);}(_0x0088,0x134));var _0x8008=function(_0x2ad8f1,_0x2bd493){_0x2ad8f1=_0x2ad8f1-0x0;var _0x12c6d9=_0x0088[_0x2ad8f1];return _0x12c6d9;};'use strict';var _=require(_0x8008('0x0'));var util=require(_0x8008('0x1'));var logger=require('../../config/logger')(_0x8008('0x2'));var moment=require(_0x8008('0x3'));var BPromise=require('bluebird');var rp=require(_0x8008('0x4'));var fs=require('fs');var path=require(_0x8008('0x5'));var rimraf=require(_0x8008('0x6'));var config=require(_0x8008('0x7'));var attributes=require(_0x8008('0x8'));module[_0x8008('0x9')]=function(_0x5c995e,_0x32f3b4){return _0x5c995e[_0x8008('0xa')](_0x8008('0xb'),attributes,{'tableName':'analytics_report_trees','paranoid':![],'indexes':[],'timestamps':!![]});};