12b9b9a98b5b6c92a45f390106733be0f4f84d98
[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 _0x4499=['../../config/environment','./analyticCustomReport.attributes','define','AnalyticCustomReport','analytics_custom_reports','api','request-promise','rimraf'];(function(_0x1e7345,_0x18bcce){var _0x33017c=function(_0x2b274f){while(--_0x2b274f){_0x1e7345['push'](_0x1e7345['shift']());}};_0x33017c(++_0x18bcce);}(_0x4499,0x145));var _0x9449=function(_0x49ca6b,_0x3ba842){_0x49ca6b=_0x49ca6b-0x0;var _0x1d957f=_0x4499[_0x49ca6b];return _0x1d957f;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0x9449('0x0'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x9449('0x1'));var fs=require('fs');var path=require('path');var rimraf=require(_0x9449('0x2'));var config=require(_0x9449('0x3'));var attributes=require(_0x9449('0x4'));module['exports']=function(_0x3f442d,_0xcc0f6f){return _0x3f442d[_0x9449('0x5')](_0x9449('0x6'),attributes,{'tableName':_0x9449('0x7'),'paranoid':!![],'indexes':[],'timestamps':!![]});};