3cce215524814f2e7415a1ce2f2b7b1ff819d48b
[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 _0xe07c=['bluebird','request-promise','path','../../config/environment','./analyticDefaultReport.attributes','exports','define','AnalyticDefaultReport','analytics_default_reports','lodash','util','../../config/logger','api','moment'];(function(_0x2e10bd,_0x5ece63){var _0x441b4c=function(_0x55727e){while(--_0x55727e){_0x2e10bd['push'](_0x2e10bd['shift']());}};_0x441b4c(++_0x5ece63);}(_0xe07c,0x1f3));var _0xce07=function(_0x411017,_0x4a8117){_0x411017=_0x411017-0x0;var _0x2adeea=_0xe07c[_0x411017];return _0x2adeea;};'use strict';var _=require(_0xce07('0x0'));var util=require(_0xce07('0x1'));var logger=require(_0xce07('0x2'))(_0xce07('0x3'));var moment=require(_0xce07('0x4'));var BPromise=require(_0xce07('0x5'));var rp=require(_0xce07('0x6'));var fs=require('fs');var path=require(_0xce07('0x7'));var rimraf=require('rimraf');var config=require(_0xce07('0x8'));var attributes=require(_0xce07('0x9'));module[_0xce07('0xa')]=function(_0x220497,_0x402ce1){return _0x220497[_0xce07('0xb')](_0xce07('0xc'),attributes,{'tableName':_0xce07('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};