Built motion from commit 9d1906d1.|2.5.40
[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 _0x7ab5=['../../config/logger','api','moment','bluebird','request-promise','rimraf','./analyticTreeReport.attributes','exports','define','AnalyticTreeReport','lodash','util'];(function(_0x3947c9,_0x4d6c97){var _0x2e7871=function(_0x1236cc){while(--_0x1236cc){_0x3947c9['push'](_0x3947c9['shift']());}};_0x2e7871(++_0x4d6c97);}(_0x7ab5,0x112));var _0x57ab=function(_0x37e111,_0x37e808){_0x37e111=_0x37e111-0x0;var _0x2b6469=_0x7ab5[_0x37e111];return _0x2b6469;};'use strict';var _=require(_0x57ab('0x0'));var util=require(_0x57ab('0x1'));var logger=require(_0x57ab('0x2'))(_0x57ab('0x3'));var moment=require(_0x57ab('0x4'));var BPromise=require(_0x57ab('0x5'));var rp=require(_0x57ab('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x57ab('0x7'));var config=require('../../config/environment');var attributes=require(_0x57ab('0x8'));module[_0x57ab('0x9')]=function(_0x266176,_0xe18e46){return _0x266176[_0x57ab('0xa')](_0x57ab('0xb'),attributes,{'tableName':'analytics_report_trees','paranoid':![],'indexes':[],'timestamps':!![]});};