Built motion from commit 52c8a02d.|2.6.29
[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 _0x45e0=['AnalyticTreeReport','lodash','util','../../config/logger','moment','bluebird','rimraf','./analyticTreeReport.attributes','exports','define'];(function(_0x37ea23,_0xa17d31){var _0x3c117c=function(_0xecca57){while(--_0xecca57){_0x37ea23['push'](_0x37ea23['shift']());}};_0x3c117c(++_0xa17d31);}(_0x45e0,0x1eb));var _0x045e=function(_0x5225ac,_0xd08281){_0x5225ac=_0x5225ac-0x0;var _0x37f960=_0x45e0[_0x5225ac];return _0x37f960;};'use strict';var _=require(_0x045e('0x0'));var util=require(_0x045e('0x1'));var logger=require(_0x045e('0x2'))('api');var moment=require(_0x045e('0x3'));var BPromise=require(_0x045e('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x045e('0x5'));var config=require('../../config/environment');var attributes=require(_0x045e('0x6'));module[_0x045e('0x7')]=function(_0x49a8c6,_0x4e67f2){return _0x49a8c6[_0x045e('0x8')](_0x045e('0x9'),attributes,{'tableName':'analytics_report_trees','paranoid':![],'indexes':[],'timestamps':!![]});};