ea45442e7dc2ee7e36f09e671804c61307aaf1d5
[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 _0xd0b5=['AnalyticDefaultReport','analytics_default_reports','lodash','api','moment','bluebird','./analyticDefaultReport.attributes','exports'];(function(_0x211840,_0x28e4c9){var _0x512f1a=function(_0x57b45b){while(--_0x57b45b){_0x211840['push'](_0x211840['shift']());}};_0x512f1a(++_0x28e4c9);}(_0xd0b5,0x1da));var _0x5d0b=function(_0xde600b,_0x29616a){_0xde600b=_0xde600b-0x0;var _0x1a35d8=_0xd0b5[_0xde600b];return _0x1a35d8;};'use strict';var _=require(_0x5d0b('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x5d0b('0x1'));var moment=require(_0x5d0b('0x2'));var BPromise=require(_0x5d0b('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x5d0b('0x4'));module[_0x5d0b('0x5')]=function(_0xb652b3,_0x335886){return _0xb652b3['define'](_0x5d0b('0x6'),attributes,{'tableName':_0x5d0b('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};