cbee07adee9f1d90e9c095c05fb21976eeaa62ad
[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 _0xa649=['rimraf','../../config/environment','./analyticDefaultReport.attributes','exports','define','analytics_default_reports','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x32a3c4,_0x1e7e25){var _0x24ddc2=function(_0x31ef94){while(--_0x31ef94){_0x32a3c4['push'](_0x32a3c4['shift']());}};_0x24ddc2(++_0x1e7e25);}(_0xa649,0x12c));var _0x9a64=function(_0x4b055c,_0x4b870b){_0x4b055c=_0x4b055c-0x0;var _0x4b62bb=_0xa649[_0x4b055c];return _0x4b62bb;};'use strict';var _=require(_0x9a64('0x0'));var util=require(_0x9a64('0x1'));var logger=require(_0x9a64('0x2'))(_0x9a64('0x3'));var moment=require(_0x9a64('0x4'));var BPromise=require(_0x9a64('0x5'));var rp=require(_0x9a64('0x6'));var fs=require('fs');var path=require(_0x9a64('0x7'));var rimraf=require(_0x9a64('0x8'));var config=require(_0x9a64('0x9'));var attributes=require(_0x9a64('0xa'));module[_0x9a64('0xb')]=function(_0x276dc0,_0x145014){return _0x276dc0[_0x9a64('0xc')]('AnalyticDefaultReport',attributes,{'tableName':_0x9a64('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};