322c5b7b70076ae3f6add07b9d953284368d50b0
[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 _0x8f3a=['./analyticTreeReport.attributes','exports','define','AnalyticTreeReport','lodash','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment'];(function(_0x581af1,_0x4f02c5){var _0x54c22e=function(_0x5a7a5a){while(--_0x5a7a5a){_0x581af1['push'](_0x581af1['shift']());}};_0x54c22e(++_0x4f02c5);}(_0x8f3a,0xf4));var _0xa8f3=function(_0x2e35db,_0x5d79b5){_0x2e35db=_0x2e35db-0x0;var _0xd37845=_0x8f3a[_0x2e35db];return _0xd37845;};'use strict';var _=require(_0xa8f3('0x0'));var util=require('util');var logger=require(_0xa8f3('0x1'))(_0xa8f3('0x2'));var moment=require(_0xa8f3('0x3'));var BPromise=require(_0xa8f3('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xa8f3('0x5'));var rimraf=require(_0xa8f3('0x6'));var config=require(_0xa8f3('0x7'));var attributes=require(_0xa8f3('0x8'));module[_0xa8f3('0x9')]=function(_0x2716ee,_0x99cfd0){return _0x2716ee[_0xa8f3('0xa')](_0xa8f3('0xb'),attributes,{'tableName':'analytics_report_trees','paranoid':![],'indexes':[],'timestamps':!![]});};