c7cb680a48ac1992d8bdfe2bd4da2b48bcb1c2b5
[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 _0xbef3=['rimraf','../../config/environment','exports','define','analytics_custom_reports','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x5f37d2,_0x9f0cbc){var _0x4b145d=function(_0x5d0259){while(--_0x5d0259){_0x5f37d2['push'](_0x5f37d2['shift']());}};_0x4b145d(++_0x9f0cbc);}(_0xbef3,0x109));var _0x3bef=function(_0x23b987,_0x3832b4){_0x23b987=_0x23b987-0x0;var _0x4943fb=_0xbef3[_0x23b987];return _0x4943fb;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x3bef('0x0'))(_0x3bef('0x1'));var moment=require(_0x3bef('0x2'));var BPromise=require(_0x3bef('0x3'));var rp=require(_0x3bef('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x3bef('0x5'));var config=require(_0x3bef('0x6'));var attributes=require('./analyticCustomReport.attributes');module[_0x3bef('0x7')]=function(_0x4e1477,_0x467f2b){return _0x4e1477[_0x3bef('0x8')]('AnalyticCustomReport',attributes,{'tableName':_0x3bef('0x9'),'paranoid':!![],'indexes':[],'timestamps':!![]});};