Built motion from commit (unavailable).|2.5.2
[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 _0xc88c=['util','api','bluebird','./analyticExtractedReport.attributes','define','analytics_extracted_reports','lodash'];(function(_0x40a045,_0x516f0e){var _0x1a687c=function(_0x48c9fe){while(--_0x48c9fe){_0x40a045['push'](_0x40a045['shift']());}};_0x1a687c(++_0x516f0e);}(_0xc88c,0x1cd));var _0xcc88=function(_0x58499d,_0x3eef5d){_0x58499d=_0x58499d-0x0;var _0x176839=_0xc88c[_0x58499d];return _0x176839;};'use strict';var _=require(_0xcc88('0x0'));var util=require(_0xcc88('0x1'));var logger=require('../../config/logger')(_0xcc88('0x2'));var moment=require('moment');var BPromise=require(_0xcc88('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xcc88('0x4'));module['exports']=function(_0x2934af,_0x3fd19e){return _0x2934af[_0xcc88('0x5')]('AnalyticExtractedReport',attributes,{'tableName':_0xcc88('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};