55d54ca94d21d0b64a21fa65aa69410e5672753a
[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 _0xe79f=['rimraf','./analyticDefaultReport.attributes','exports','define','analytics_default_reports','lodash','util','api','bluebird','request-promise','path'];(function(_0x63e72,_0x223b4a){var _0x563dd4=function(_0x5b0a0a){while(--_0x5b0a0a){_0x63e72['push'](_0x63e72['shift']());}};_0x563dd4(++_0x223b4a);}(_0xe79f,0x1b2));var _0xfe79=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xe79f[_0x321bb2];return _0x9c12ed;};'use strict';var _=require(_0xfe79('0x0'));var util=require(_0xfe79('0x1'));var logger=require('../../config/logger')(_0xfe79('0x2'));var moment=require('moment');var BPromise=require(_0xfe79('0x3'));var rp=require(_0xfe79('0x4'));var fs=require('fs');var path=require(_0xfe79('0x5'));var rimraf=require(_0xfe79('0x6'));var config=require('../../config/environment');var attributes=require(_0xfe79('0x7'));module[_0xfe79('0x8')]=function(_0x59c092,_0x22a949){return _0x59c092[_0xfe79('0x9')]('AnalyticDefaultReport',attributes,{'tableName':_0xfe79('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};