Built motion from commit 449495f6.|2.6.27
[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 _0x1f0c=['analytics_report_trees','lodash','util','api','moment','bluebird','request-promise','rimraf','./analyticTreeReport.attributes','exports','define','AnalyticTreeReport'];(function(_0x32fa25,_0xce5f04){var _0x4d1f05=function(_0x9d9179){while(--_0x9d9179){_0x32fa25['push'](_0x32fa25['shift']());}};_0x4d1f05(++_0xce5f04);}(_0x1f0c,0x175));var _0xc1f0=function(_0x4107b5,_0x5ee5ce){_0x4107b5=_0x4107b5-0x0;var _0x1af40b=_0x1f0c[_0x4107b5];return _0x1af40b;};'use strict';var _=require(_0xc1f0('0x0'));var util=require(_0xc1f0('0x1'));var logger=require('../../config/logger')(_0xc1f0('0x2'));var moment=require(_0xc1f0('0x3'));var BPromise=require(_0xc1f0('0x4'));var rp=require(_0xc1f0('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xc1f0('0x6'));var config=require('../../config/environment');var attributes=require(_0xc1f0('0x7'));module[_0xc1f0('0x8')]=function(_0x4aaf35,_0x1521b3){return _0x4aaf35[_0xc1f0('0x9')](_0xc1f0('0xa'),attributes,{'tableName':_0xc1f0('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};