Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / api / analyticDefaultReport / analyticDefaultReport.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 _0x6dc5=['define','AnalyticDefaultReport','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./analyticDefaultReport.attributes','exports'];(function(_0x4e2ce2,_0x5d96b4){var _0x5a8d91=function(_0x3aefd1){while(--_0x3aefd1){_0x4e2ce2['push'](_0x4e2ce2['shift']());}};_0x5a8d91(++_0x5d96b4);}(_0x6dc5,0x1f0));var _0x56dc=function(_0x2f9a10,_0x234107){_0x2f9a10=_0x2f9a10-0x0;var _0x20d9bb=_0x6dc5[_0x2f9a10];return _0x20d9bb;};'use strict';var _=require(_0x56dc('0x0'));var util=require(_0x56dc('0x1'));var logger=require(_0x56dc('0x2'))(_0x56dc('0x3'));var moment=require(_0x56dc('0x4'));var BPromise=require(_0x56dc('0x5'));var rp=require(_0x56dc('0x6'));var fs=require('fs');var path=require(_0x56dc('0x7'));var rimraf=require('rimraf');var config=require(_0x56dc('0x8'));var attributes=require(_0x56dc('0x9'));module[_0x56dc('0xa')]=function(_0x308d34,_0x7a58fe){return _0x308d34[_0x56dc('0xb')](_0x56dc('0xc'),attributes,{'tableName':'analytics_default_reports','paranoid':![],'indexes':[],'timestamps':!![]});};