Built motion from commit 3c2ce842.|2.6.31
[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 _0xe0ca=['request-promise','path','rimraf','./analyticTreeReport.attributes','analytics_report_trees','lodash','util','../../config/logger','moment','bluebird'];(function(_0x1928c9,_0x13a6d1){var _0x51b5fb=function(_0x24cf70){while(--_0x24cf70){_0x1928c9['push'](_0x1928c9['shift']());}};_0x51b5fb(++_0x13a6d1);}(_0xe0ca,0x1c7));var _0xae0c=function(_0x1111ac,_0x27f3d9){_0x1111ac=_0x1111ac-0x0;var _0x2b30c6=_0xe0ca[_0x1111ac];return _0x2b30c6;};'use strict';var _=require(_0xae0c('0x0'));var util=require(_0xae0c('0x1'));var logger=require(_0xae0c('0x2'))('api');var moment=require(_0xae0c('0x3'));var BPromise=require(_0xae0c('0x4'));var rp=require(_0xae0c('0x5'));var fs=require('fs');var path=require(_0xae0c('0x6'));var rimraf=require(_0xae0c('0x7'));var config=require('../../config/environment');var attributes=require(_0xae0c('0x8'));module['exports']=function(_0x693deb,_0x3ef4b2){return _0x693deb['define']('AnalyticTreeReport',attributes,{'tableName':_0xae0c('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};