0428298f9f4e0e27438126c116d3ce2cc1bb4f18
[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 _0x4f95=['define','AnalyticFieldReport','analytics_report_fields','util','../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment','./analyticFieldReport.attributes','exports'];(function(_0x117ab9,_0x52a992){var _0x50f27c=function(_0x28692e){while(--_0x28692e){_0x117ab9['push'](_0x117ab9['shift']());}};_0x50f27c(++_0x52a992);}(_0x4f95,0x15f));var _0x54f9=function(_0x53dd25,_0x4655ff){_0x53dd25=_0x53dd25-0x0;var _0x391747=_0x4f95[_0x53dd25];return _0x391747;};'use strict';var _=require('lodash');var util=require(_0x54f9('0x0'));var logger=require(_0x54f9('0x1'))('api');var moment=require('moment');var BPromise=require(_0x54f9('0x2'));var rp=require(_0x54f9('0x3'));var fs=require('fs');var path=require(_0x54f9('0x4'));var rimraf=require(_0x54f9('0x5'));var config=require(_0x54f9('0x6'));var attributes=require(_0x54f9('0x7'));module[_0x54f9('0x8')]=function(_0xce8f26,_0x23261f){return _0xce8f26[_0x54f9('0x9')](_0x54f9('0xa'),attributes,{'tableName':_0x54f9('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};