Built motion from commit (unavailable).|2.4.6
[motion2.git] / server / api / analyticExtractedReport / analyticExtractedReport.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 _0xd3a4=['../../config/environment','./analyticExtractedReport.attributes','exports','define','AnalyticExtractedReport','analytics_extracted_reports','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x4eefcd,_0x4fcac9){var _0x8e81cb=function(_0x5606ee){while(--_0x5606ee){_0x4eefcd['push'](_0x4eefcd['shift']());}};_0x8e81cb(++_0x4fcac9);}(_0xd3a4,0x158));var _0x4d3a=function(_0x578482,_0x5f3424){_0x578482=_0x578482-0x0;var _0x5582ea=_0xd3a4[_0x578482];return _0x5582ea;};'use strict';var _=require('lodash');var util=require(_0x4d3a('0x0'));var logger=require(_0x4d3a('0x1'))(_0x4d3a('0x2'));var moment=require(_0x4d3a('0x3'));var BPromise=require(_0x4d3a('0x4'));var rp=require(_0x4d3a('0x5'));var fs=require('fs');var path=require(_0x4d3a('0x6'));var rimraf=require('rimraf');var config=require(_0x4d3a('0x7'));var attributes=require(_0x4d3a('0x8'));module[_0x4d3a('0x9')]=function(_0x153013,_0x22dbc2){return _0x153013[_0x4d3a('0xa')](_0x4d3a('0xb'),attributes,{'tableName':_0x4d3a('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};