Built motion from commit (unavailable).|2.5.8
[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 _0xe545=['exports','define','AnalyticFieldReport','analytics_report_fields','lodash','../../config/logger','api','moment','bluebird','../../config/environment'];(function(_0x347d5f,_0x4a6f59){var _0x560eb5=function(_0x1026a7){while(--_0x1026a7){_0x347d5f['push'](_0x347d5f['shift']());}};_0x560eb5(++_0x4a6f59);}(_0xe545,0x14e));var _0x5e54=function(_0x56e570,_0x1fee0b){_0x56e570=_0x56e570-0x0;var _0x311ee5=_0xe545[_0x56e570];return _0x311ee5;};'use strict';var _=require(_0x5e54('0x0'));var util=require('util');var logger=require(_0x5e54('0x1'))(_0x5e54('0x2'));var moment=require(_0x5e54('0x3'));var BPromise=require(_0x5e54('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x5e54('0x5'));var attributes=require('./analyticFieldReport.attributes');module[_0x5e54('0x6')]=function(_0x535472,_0x594853){return _0x535472[_0x5e54('0x7')](_0x5e54('0x8'),attributes,{'tableName':_0x5e54('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};