2ad56d0e20bcb472efdf02220e806079b80aeb35
[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 _0x45cc=['define','AnalyticDefaultReport','analytics_default_reports','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','./analyticDefaultReport.attributes','exports'];(function(_0x530230,_0x1078f0){var _0x5053cf=function(_0x596f72){while(--_0x596f72){_0x530230['push'](_0x530230['shift']());}};_0x5053cf(++_0x1078f0);}(_0x45cc,0x16f));var _0xc45c=function(_0x57aa39,_0x5b7dd9){_0x57aa39=_0x57aa39-0x0;var _0x1d9f2e=_0x45cc[_0x57aa39];return _0x1d9f2e;};'use strict';var _=require(_0xc45c('0x0'));var util=require(_0xc45c('0x1'));var logger=require(_0xc45c('0x2'))('api');var moment=require(_0xc45c('0x3'));var BPromise=require(_0xc45c('0x4'));var rp=require(_0xc45c('0x5'));var fs=require('fs');var path=require(_0xc45c('0x6'));var rimraf=require(_0xc45c('0x7'));var config=require('../../config/environment');var attributes=require(_0xc45c('0x8'));module[_0xc45c('0x9')]=function(_0x491980,_0x469710){return _0x491980[_0xc45c('0xa')](_0xc45c('0xb'),attributes,{'tableName':_0xc45c('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};