2c2fc92e9b98d2aac857d0342c56d85708009097
[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 _0x744f=['lodash','util','../../config/logger','api','bluebird','rimraf','../../config/environment','./analyticFieldReport.attributes','exports','AnalyticFieldReport','analytics_report_fields'];(function(_0x1d1779,_0x284147){var _0x2377e9=function(_0x299f6f){while(--_0x299f6f){_0x1d1779['push'](_0x1d1779['shift']());}};_0x2377e9(++_0x284147);}(_0x744f,0xd1));var _0xf744=function(_0x6b601a,_0x158dcb){_0x6b601a=_0x6b601a-0x0;var _0x582b4a=_0x744f[_0x6b601a];return _0x582b4a;};'use strict';var _=require(_0xf744('0x0'));var util=require(_0xf744('0x1'));var logger=require(_0xf744('0x2'))(_0xf744('0x3'));var moment=require('moment');var BPromise=require(_0xf744('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xf744('0x5'));var config=require(_0xf744('0x6'));var attributes=require(_0xf744('0x7'));module[_0xf744('0x8')]=function(_0x1b0aae,_0x41ede5){return _0x1b0aae['define'](_0xf744('0x9'),attributes,{'tableName':_0xf744('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};