Built motion from commit 3e059bc2.|2.5.32
[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 _0xa6e5=['../../config/environment','exports','analytics_extracted_reports','lodash','../../config/logger','moment','request-promise'];(function(_0x2e561f,_0x1b1660){var _0x4160ea=function(_0x1fa2ca){while(--_0x1fa2ca){_0x2e561f['push'](_0x2e561f['shift']());}};_0x4160ea(++_0x1b1660);}(_0xa6e5,0x1b5));var _0x5a6e=function(_0x33754f,_0x48c000){_0x33754f=_0x33754f-0x0;var _0x3094c6=_0xa6e5[_0x33754f];return _0x3094c6;};'use strict';var _=require(_0x5a6e('0x0'));var util=require('util');var logger=require(_0x5a6e('0x1'))('api');var moment=require(_0x5a6e('0x2'));var BPromise=require('bluebird');var rp=require(_0x5a6e('0x3'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x5a6e('0x4'));var attributes=require('./analyticExtractedReport.attributes');module[_0x5a6e('0x5')]=function(_0x2cf14f,_0x51bdf9){return _0x2cf14f['define']('AnalyticExtractedReport',attributes,{'tableName':_0x5a6e('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};