Built motion from commit (unavailable).|2.5.0
[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 _0xdb7e=['bluebird','request-promise','rimraf','../../config/environment','./analyticTreeReport.attributes','exports','define','AnalyticTreeReport','analytics_report_trees','lodash','util','../../config/logger','moment'];(function(_0x52e363,_0x48062a){var _0x3fc2b5=function(_0x1b0cf9){while(--_0x1b0cf9){_0x52e363['push'](_0x52e363['shift']());}};_0x3fc2b5(++_0x48062a);}(_0xdb7e,0x11a));var _0xedb7=function(_0x241d2f,_0x327dae){_0x241d2f=_0x241d2f-0x0;var _0x20ebff=_0xdb7e[_0x241d2f];return _0x20ebff;};'use strict';var _=require(_0xedb7('0x0'));var util=require(_0xedb7('0x1'));var logger=require(_0xedb7('0x2'))('api');var moment=require(_0xedb7('0x3'));var BPromise=require(_0xedb7('0x4'));var rp=require(_0xedb7('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xedb7('0x6'));var config=require(_0xedb7('0x7'));var attributes=require(_0xedb7('0x8'));module[_0xedb7('0x9')]=function(_0xea2925,_0x153a3a){return _0xea2925[_0xedb7('0xa')](_0xedb7('0xb'),attributes,{'tableName':_0xedb7('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};