Built motion from commit 67e5df37.|2.0.66
[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 _0x0a91=['lodash','util','../../config/logger','moment','bluebird','./analyticTreeReport.attributes','exports','AnalyticTreeReport','analytics_report_trees'];(function(_0x4f9239,_0xf445c4){var _0x3915ba=function(_0x556358){while(--_0x556358){_0x4f9239['push'](_0x4f9239['shift']());}};_0x3915ba(++_0xf445c4);}(_0x0a91,0x75));var _0x10a9=function(_0x10bb45,_0xa57a18){_0x10bb45=_0x10bb45-0x0;var _0x4f1846=_0x0a91[_0x10bb45];return _0x4f1846;};'use strict';var _=require(_0x10a9('0x0'));var util=require(_0x10a9('0x1'));var logger=require(_0x10a9('0x2'))('api');var moment=require(_0x10a9('0x3'));var BPromise=require(_0x10a9('0x4'));var rp=require('request-promise');var attributes=require(_0x10a9('0x5'));module[_0x10a9('0x6')]=function(_0x5b3019,_0x382b57){return _0x5b3019['define'](_0x10a9('0x7'),attributes,{'tableName':_0x10a9('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};