Built motion from commit (unavailable).|2.4.18
[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 _0x4fc0=['path','../../config/environment','./analyticFieldReport.attributes','exports','define','AnalyticFieldReport','analytics_report_fields','lodash','util','../../config/logger','api','moment','request-promise'];(function(_0x334f88,_0x3031ae){var _0x415432=function(_0x444934){while(--_0x444934){_0x334f88['push'](_0x334f88['shift']());}};_0x415432(++_0x3031ae);}(_0x4fc0,0x118));var _0x04fc=function(_0x3b4ae8,_0x57c305){_0x3b4ae8=_0x3b4ae8-0x0;var _0x6fca45=_0x4fc0[_0x3b4ae8];return _0x6fca45;};'use strict';var _=require(_0x04fc('0x0'));var util=require(_0x04fc('0x1'));var logger=require(_0x04fc('0x2'))(_0x04fc('0x3'));var moment=require(_0x04fc('0x4'));var BPromise=require('bluebird');var rp=require(_0x04fc('0x5'));var fs=require('fs');var path=require(_0x04fc('0x6'));var rimraf=require('rimraf');var config=require(_0x04fc('0x7'));var attributes=require(_0x04fc('0x8'));module[_0x04fc('0x9')]=function(_0x454b51,_0x586a0c){return _0x454b51[_0x04fc('0xa')](_0x04fc('0xb'),attributes,{'tableName':_0x04fc('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};