Built motion from commit (unavailable).|2.5.4
[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 _0x3976=['request-promise','path','rimraf','../../config/environment','./analyticFieldReport.attributes','exports','define','AnalyticFieldReport','analytics_report_fields','lodash','util','../../config/logger','api','bluebird'];(function(_0x34dab4,_0x2594fe){var _0x32f0af=function(_0x5b3253){while(--_0x5b3253){_0x34dab4['push'](_0x34dab4['shift']());}};_0x32f0af(++_0x2594fe);}(_0x3976,0x159));var _0x6397=function(_0x365c07,_0x3ef179){_0x365c07=_0x365c07-0x0;var _0x348481=_0x3976[_0x365c07];return _0x348481;};'use strict';var _=require(_0x6397('0x0'));var util=require(_0x6397('0x1'));var logger=require(_0x6397('0x2'))(_0x6397('0x3'));var moment=require('moment');var BPromise=require(_0x6397('0x4'));var rp=require(_0x6397('0x5'));var fs=require('fs');var path=require(_0x6397('0x6'));var rimraf=require(_0x6397('0x7'));var config=require(_0x6397('0x8'));var attributes=require(_0x6397('0x9'));module[_0x6397('0xa')]=function(_0x56e898,_0x25606d){return _0x56e898[_0x6397('0xb')](_0x6397('0xc'),attributes,{'tableName':_0x6397('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};