60d422f91df75ab3852c7ce89d39087b5ca9523f
[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 _0x4e78=['../../config/environment','./analyticDefaultReport.attributes','define','AnalyticDefaultReport','analytics_default_reports','lodash','util','../../config/logger','api','moment','request-promise','path'];(function(_0x3a3005,_0x2c4d53){var _0x8dc531=function(_0x3dd274){while(--_0x3dd274){_0x3a3005['push'](_0x3a3005['shift']());}};_0x8dc531(++_0x2c4d53);}(_0x4e78,0x1cd));var _0x84e7=function(_0xe2c95e,_0x3e6545){_0xe2c95e=_0xe2c95e-0x0;var _0x42ce6f=_0x4e78[_0xe2c95e];return _0x42ce6f;};'use strict';var _=require(_0x84e7('0x0'));var util=require(_0x84e7('0x1'));var logger=require(_0x84e7('0x2'))(_0x84e7('0x3'));var moment=require(_0x84e7('0x4'));var BPromise=require('bluebird');var rp=require(_0x84e7('0x5'));var fs=require('fs');var path=require(_0x84e7('0x6'));var rimraf=require('rimraf');var config=require(_0x84e7('0x7'));var attributes=require(_0x84e7('0x8'));module['exports']=function(_0x487c5a,_0x393f50){return _0x487c5a[_0x84e7('0x9')](_0x84e7('0xa'),attributes,{'tableName':_0x84e7('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};