Built motion from commit (unavailable).|2.5.26
[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 _0xa817=['api','moment','bluebird','request-promise','path','rimraf','./analyticTreeReport.attributes','exports','define','AnalyticTreeReport','analytics_report_trees','lodash','util','../../config/logger'];(function(_0x3fcc20,_0x57c31b){var _0x15d3ce=function(_0x575619){while(--_0x575619){_0x3fcc20['push'](_0x3fcc20['shift']());}};_0x15d3ce(++_0x57c31b);}(_0xa817,0x7b));var _0x7a81=function(_0x4a9c2a,_0x516745){_0x4a9c2a=_0x4a9c2a-0x0;var _0x36e7d0=_0xa817[_0x4a9c2a];return _0x36e7d0;};'use strict';var _=require(_0x7a81('0x0'));var util=require(_0x7a81('0x1'));var logger=require(_0x7a81('0x2'))(_0x7a81('0x3'));var moment=require(_0x7a81('0x4'));var BPromise=require(_0x7a81('0x5'));var rp=require(_0x7a81('0x6'));var fs=require('fs');var path=require(_0x7a81('0x7'));var rimraf=require(_0x7a81('0x8'));var config=require('../../config/environment');var attributes=require(_0x7a81('0x9'));module[_0x7a81('0xa')]=function(_0x5bf69b,_0x2249d1){return _0x5bf69b[_0x7a81('0xb')](_0x7a81('0xc'),attributes,{'tableName':_0x7a81('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};