Built motion from commit (unavailable).|2.4.3
[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 _0x8039=['../../config/environment','./analyticFieldReport.attributes','exports','define','AnalyticFieldReport','analytics_report_fields','lodash','../../config/logger','api','bluebird','request-promise'];(function(_0x240676,_0x498ab2){var _0x53586e=function(_0x11f604){while(--_0x11f604){_0x240676['push'](_0x240676['shift']());}};_0x53586e(++_0x498ab2);}(_0x8039,0x150));var _0x9803=function(_0x5ee3d3,_0x537c30){_0x5ee3d3=_0x5ee3d3-0x0;var _0x4b272f=_0x8039[_0x5ee3d3];return _0x4b272f;};'use strict';var _=require(_0x9803('0x0'));var util=require('util');var logger=require(_0x9803('0x1'))(_0x9803('0x2'));var moment=require('moment');var BPromise=require(_0x9803('0x3'));var rp=require(_0x9803('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x9803('0x5'));var attributes=require(_0x9803('0x6'));module[_0x9803('0x7')]=function(_0x112abf,_0x31621d){return _0x112abf[_0x9803('0x8')](_0x9803('0x9'),attributes,{'tableName':_0x9803('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};