Built motion from commit 85328c08.|2.5.50
[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 _0x44cd=['AnalyticCustomReport','analytics_custom_reports','lodash','../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment','exports'];(function(_0x21d94c,_0x564a82){var _0x4772dc=function(_0x4d8107){while(--_0x4d8107){_0x21d94c['push'](_0x21d94c['shift']());}};_0x4772dc(++_0x564a82);}(_0x44cd,0xde));var _0xd44c=function(_0x4c2623,_0x4838bb){_0x4c2623=_0x4c2623-0x0;var _0x2be431=_0x44cd[_0x4c2623];return _0x2be431;};'use strict';var _=require(_0xd44c('0x0'));var util=require('util');var logger=require(_0xd44c('0x1'))('api');var moment=require('moment');var BPromise=require(_0xd44c('0x2'));var rp=require(_0xd44c('0x3'));var fs=require('fs');var path=require(_0xd44c('0x4'));var rimraf=require(_0xd44c('0x5'));var config=require(_0xd44c('0x6'));var attributes=require('./analyticCustomReport.attributes');module[_0xd44c('0x7')]=function(_0x3478d8,_0x1c5caf){return _0x3478d8['define'](_0xd44c('0x8'),attributes,{'tableName':_0xd44c('0x9'),'paranoid':!![],'indexes':[],'timestamps':!![]});};