Built motion from commit (unavailable).|2.5.14
[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 _0x8818=['AnalyticDefaultReport','analytics_default_reports','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define'];(function(_0x31a371,_0x50828e){var _0x2a5bd6=function(_0x2fb481){while(--_0x2fb481){_0x31a371['push'](_0x31a371['shift']());}};_0x2a5bd6(++_0x50828e);}(_0x8818,0x64));var _0x8881=function(_0x5b644e,_0x2e5e07){_0x5b644e=_0x5b644e-0x0;var _0x49c6bf=_0x8818[_0x5b644e];return _0x49c6bf;};'use strict';var _=require(_0x8881('0x0'));var util=require(_0x8881('0x1'));var logger=require(_0x8881('0x2'))(_0x8881('0x3'));var moment=require(_0x8881('0x4'));var BPromise=require(_0x8881('0x5'));var rp=require(_0x8881('0x6'));var fs=require('fs');var path=require(_0x8881('0x7'));var rimraf=require(_0x8881('0x8'));var config=require(_0x8881('0x9'));var attributes=require('./analyticDefaultReport.attributes');module[_0x8881('0xa')]=function(_0x2678bf,_0xc768d7){return _0x2678bf[_0x8881('0xb')](_0x8881('0xc'),attributes,{'tableName':_0x8881('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};