fdcfef3b5e4cee318b4ad6a57cf9b0132c90dde4
[motion2.git] / server / api / analyticCustomReport / analyticCustomReport.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 _0x2fef=['define','AnalyticCustomReport','analytics_custom_reports','lodash','util','../../config/logger','api','moment','request-promise','path','../../config/environment','./analyticCustomReport.attributes','exports'];(function(_0x3de8af,_0x422dea){var _0x34b286=function(_0x3785e2){while(--_0x3785e2){_0x3de8af['push'](_0x3de8af['shift']());}};_0x34b286(++_0x422dea);}(_0x2fef,0x1a3));var _0xf2fe=function(_0x4fab1e,_0x34b507){_0x4fab1e=_0x4fab1e-0x0;var _0x59bf51=_0x2fef[_0x4fab1e];return _0x59bf51;};'use strict';var _=require(_0xf2fe('0x0'));var util=require(_0xf2fe('0x1'));var logger=require(_0xf2fe('0x2'))(_0xf2fe('0x3'));var moment=require(_0xf2fe('0x4'));var BPromise=require('bluebird');var rp=require(_0xf2fe('0x5'));var fs=require('fs');var path=require(_0xf2fe('0x6'));var rimraf=require('rimraf');var config=require(_0xf2fe('0x7'));var attributes=require(_0xf2fe('0x8'));module[_0xf2fe('0x9')]=function(_0x5c8301,_0x28bd5d){return _0x5c8301[_0xf2fe('0xa')](_0xf2fe('0xb'),attributes,{'tableName':_0xf2fe('0xc'),'paranoid':!![],'indexes':[],'timestamps':!![]});};