d4db1c82581763c1141a93234ad3b17e3b864a28
[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 _0xda58=['define','AnalyticTreeReport','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./analyticTreeReport.attributes','exports'];(function(_0x5b3ab8,_0x3daf20){var _0x4892ca=function(_0x11e9e5){while(--_0x11e9e5){_0x5b3ab8['push'](_0x5b3ab8['shift']());}};_0x4892ca(++_0x3daf20);}(_0xda58,0x1ca));var _0x8da5=function(_0xfa0695,_0x4f4fd4){_0xfa0695=_0xfa0695-0x0;var _0xf20b68=_0xda58[_0xfa0695];return _0xf20b68;};'use strict';var _=require('lodash');var util=require(_0x8da5('0x0'));var logger=require(_0x8da5('0x1'))(_0x8da5('0x2'));var moment=require('moment');var BPromise=require(_0x8da5('0x3'));var rp=require(_0x8da5('0x4'));var fs=require('fs');var path=require(_0x8da5('0x5'));var rimraf=require(_0x8da5('0x6'));var config=require(_0x8da5('0x7'));var attributes=require(_0x8da5('0x8'));module[_0x8da5('0x9')]=function(_0x10af3f,_0xe858f1){return _0x10af3f[_0x8da5('0xa')](_0x8da5('0xb'),attributes,{'tableName':'analytics_report_trees','paranoid':![],'indexes':[],'timestamps':!![]});};