Built motion from commit 753c950e.|2.5.42
[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 _0x1b71=['../../config/environment','exports','AnalyticExtractedReport','analytics_extracted_reports','lodash','util','moment','bluebird','request-promise','path','rimraf'];(function(_0x2581be,_0x59eec3){var _0x36c076=function(_0x9d6a87){while(--_0x9d6a87){_0x2581be['push'](_0x2581be['shift']());}};_0x36c076(++_0x59eec3);}(_0x1b71,0x67));var _0x11b7=function(_0x13dd24,_0x38fa33){_0x13dd24=_0x13dd24-0x0;var _0x1fd2f3=_0x1b71[_0x13dd24];return _0x1fd2f3;};'use strict';var _=require(_0x11b7('0x0'));var util=require(_0x11b7('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x11b7('0x2'));var BPromise=require(_0x11b7('0x3'));var rp=require(_0x11b7('0x4'));var fs=require('fs');var path=require(_0x11b7('0x5'));var rimraf=require(_0x11b7('0x6'));var config=require(_0x11b7('0x7'));var attributes=require('./analyticExtractedReport.attributes');module[_0x11b7('0x8')]=function(_0x55946b,_0x233056){return _0x55946b['define'](_0x11b7('0x9'),attributes,{'tableName':_0x11b7('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};