ccafc52f186e10bd1ea1fd86448c23e8bffbf2a8
[motion2.git] / server / api / analyticFieldReport / analyticFieldReport.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 _0xeef3=['../../config/logger','moment','request-promise','path','../../config/environment','AnalyticFieldReport','util'];(function(_0x429e65,_0x1c70eb){var _0x35bb4d=function(_0x18a366){while(--_0x18a366){_0x429e65['push'](_0x429e65['shift']());}};_0x35bb4d(++_0x1c70eb);}(_0xeef3,0x141));var _0x3eef=function(_0x3a0863,_0x4cd5ef){_0x3a0863=_0x3a0863-0x0;var _0x85c557=_0xeef3[_0x3a0863];return _0x85c557;};'use strict';var _=require('lodash');var util=require(_0x3eef('0x0'));var logger=require(_0x3eef('0x1'))('api');var moment=require(_0x3eef('0x2'));var BPromise=require('bluebird');var rp=require(_0x3eef('0x3'));var fs=require('fs');var path=require(_0x3eef('0x4'));var rimraf=require('rimraf');var config=require(_0x3eef('0x5'));var attributes=require('./analyticFieldReport.attributes');module['exports']=function(_0x3be3f0,_0x4a12b3){return _0x3be3f0['define'](_0x3eef('0x6'),attributes,{'tableName':'analytics_report_fields','paranoid':![],'indexes':[],'timestamps':!![]});};