Built motion from commit 5ae82ce5.|2.6.7
[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 _0x3f2b=['define','AnalyticTreeReport','analytics_report_trees','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./analyticTreeReport.attributes','exports'];(function(_0x266c69,_0xa8e09b){var _0x5f40b1=function(_0x462884){while(--_0x462884){_0x266c69['push'](_0x266c69['shift']());}};_0x5f40b1(++_0xa8e09b);}(_0x3f2b,0x9d));var _0xb3f2=function(_0x4a6949,_0x19f035){_0x4a6949=_0x4a6949-0x0;var _0x142277=_0x3f2b[_0x4a6949];return _0x142277;};'use strict';var _=require(_0xb3f2('0x0'));var util=require(_0xb3f2('0x1'));var logger=require(_0xb3f2('0x2'))(_0xb3f2('0x3'));var moment=require(_0xb3f2('0x4'));var BPromise=require(_0xb3f2('0x5'));var rp=require(_0xb3f2('0x6'));var fs=require('fs');var path=require(_0xb3f2('0x7'));var rimraf=require('rimraf');var config=require(_0xb3f2('0x8'));var attributes=require(_0xb3f2('0x9'));module[_0xb3f2('0xa')]=function(_0x58609b,_0x421be4){return _0x58609b[_0xb3f2('0xb')](_0xb3f2('0xc'),attributes,{'tableName':_0xb3f2('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};