Built motion from commit (unavailable).|2.5.21
[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 _0x2e3b=['../../config/logger','api','moment','request-promise','../../config/environment','./analyticExtractedReport.attributes','exports','define','AnalyticExtractedReport','analytics_extracted_reports','util'];(function(_0x15995d,_0x34884e){var _0x1fb775=function(_0xba4e52){while(--_0xba4e52){_0x15995d['push'](_0x15995d['shift']());}};_0x1fb775(++_0x34884e);}(_0x2e3b,0x1c2));var _0xb2e3=function(_0x3095bc,_0x248dd3){_0x3095bc=_0x3095bc-0x0;var _0x28fd57=_0x2e3b[_0x3095bc];return _0x28fd57;};'use strict';var _=require('lodash');var util=require(_0xb2e3('0x0'));var logger=require(_0xb2e3('0x1'))(_0xb2e3('0x2'));var moment=require(_0xb2e3('0x3'));var BPromise=require('bluebird');var rp=require(_0xb2e3('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xb2e3('0x5'));var attributes=require(_0xb2e3('0x6'));module[_0xb2e3('0x7')]=function(_0x472e16,_0x1d73eb){return _0x472e16[_0xb2e3('0x8')](_0xb2e3('0x9'),attributes,{'tableName':_0xb2e3('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};