Built motion from commit 753c950e.|2.5.42
[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 _0x1426=['AnalyticFieldReport','lodash','util','../../config/logger','api','bluebird','rimraf','../../config/environment','./analyticFieldReport.attributes','exports'];(function(_0x1c60ab,_0x30a8ea){var _0x12ab53=function(_0x3822ed){while(--_0x3822ed){_0x1c60ab['push'](_0x1c60ab['shift']());}};_0x12ab53(++_0x30a8ea);}(_0x1426,0x6f));var _0x6142=function(_0x325373,_0x4e6f25){_0x325373=_0x325373-0x0;var _0x3f5fee=_0x1426[_0x325373];return _0x3f5fee;};'use strict';var _=require(_0x6142('0x0'));var util=require(_0x6142('0x1'));var logger=require(_0x6142('0x2'))(_0x6142('0x3'));var moment=require('moment');var BPromise=require(_0x6142('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x6142('0x5'));var config=require(_0x6142('0x6'));var attributes=require(_0x6142('0x7'));module[_0x6142('0x8')]=function(_0x16ab6f,_0x5b3ba3){return _0x16ab6f['define'](_0x6142('0x9'),attributes,{'tableName':'analytics_report_fields','paranoid':![],'indexes':[],'timestamps':!![]});};