Built motion from commit (unavailable).|2.5.26
[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 _0xae9b=['AnalyticFieldReport','analytics_report_fields','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports'];(function(_0x58f5a7,_0x95ae3b){var _0x41b46f=function(_0x42f03f){while(--_0x42f03f){_0x58f5a7['push'](_0x58f5a7['shift']());}};_0x41b46f(++_0x95ae3b);}(_0xae9b,0x147));var _0xbae9=function(_0x110b0e,_0x2633af){_0x110b0e=_0x110b0e-0x0;var _0x83cf25=_0xae9b[_0x110b0e];return _0x83cf25;};'use strict';var _=require(_0xbae9('0x0'));var util=require(_0xbae9('0x1'));var logger=require(_0xbae9('0x2'))(_0xbae9('0x3'));var moment=require(_0xbae9('0x4'));var BPromise=require(_0xbae9('0x5'));var rp=require(_0xbae9('0x6'));var fs=require('fs');var path=require(_0xbae9('0x7'));var rimraf=require(_0xbae9('0x8'));var config=require(_0xbae9('0x9'));var attributes=require('./analyticFieldReport.attributes');module[_0xbae9('0xa')]=function(_0x99e376,_0xe048cb){return _0x99e376['define'](_0xbae9('0xb'),attributes,{'tableName':_0xbae9('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};