Built motion from commit 19a84241.|2.5.34
[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 _0xf534=['exports','define','AnalyticFieldReport','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment'];(function(_0x43a786,_0x38a98e){var _0x2b0c30=function(_0x231080){while(--_0x231080){_0x43a786['push'](_0x43a786['shift']());}};_0x2b0c30(++_0x38a98e);}(_0xf534,0x7c));var _0x4f53=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xf534[_0x14add3];return _0x4a174f;};'use strict';var _=require('lodash');var util=require(_0x4f53('0x0'));var logger=require(_0x4f53('0x1'))(_0x4f53('0x2'));var moment=require(_0x4f53('0x3'));var BPromise=require(_0x4f53('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x4f53('0x5'));var rimraf=require(_0x4f53('0x6'));var config=require(_0x4f53('0x7'));var attributes=require('./analyticFieldReport.attributes');module[_0x4f53('0x8')]=function(_0x3ac57f,_0xfa4a72){return _0x3ac57f[_0x4f53('0x9')](_0x4f53('0xa'),attributes,{'tableName':'analytics_report_fields','paranoid':![],'indexes':[],'timestamps':!![]});};