00cf36aafb18f32413f14c58e30c2955a0c23644
[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 _0x8508=['../../config/environment','./analyticFieldReport.attributes','exports','define','analytics_report_fields','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x175805,_0x5ee228){var _0x22e981=function(_0x309e95){while(--_0x309e95){_0x175805['push'](_0x175805['shift']());}};_0x22e981(++_0x5ee228);}(_0x8508,0x9f));var _0x8850=function(_0x499cf9,_0x1b3135){_0x499cf9=_0x499cf9-0x0;var _0x3e06d2=_0x8508[_0x499cf9];return _0x3e06d2;};'use strict';var _=require(_0x8850('0x0'));var util=require(_0x8850('0x1'));var logger=require(_0x8850('0x2'))(_0x8850('0x3'));var moment=require(_0x8850('0x4'));var BPromise=require(_0x8850('0x5'));var rp=require(_0x8850('0x6'));var fs=require('fs');var path=require(_0x8850('0x7'));var rimraf=require(_0x8850('0x8'));var config=require(_0x8850('0x9'));var attributes=require(_0x8850('0xa'));module[_0x8850('0xb')]=function(_0x54077d,_0x4bfbfd){return _0x54077d[_0x8850('0xc')]('AnalyticFieldReport',attributes,{'tableName':_0x8850('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};