49f54dddd5add0e1717a5f2d26473966f941bd2d
[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 _0xd8f6=['lodash','util','../../config/logger','api','bluebird','request-promise','rimraf','../../config/environment','./analyticExtractedReport.attributes','exports','AnalyticExtractedReport','analytics_extracted_reports'];(function(_0x13caaa,_0x5e834f){var _0x2ec145=function(_0x1fc192){while(--_0x1fc192){_0x13caaa['push'](_0x13caaa['shift']());}};_0x2ec145(++_0x5e834f);}(_0xd8f6,0x15c));var _0x6d8f=function(_0x4a67c6,_0x46ab2f){_0x4a67c6=_0x4a67c6-0x0;var _0x381dc4=_0xd8f6[_0x4a67c6];return _0x381dc4;};'use strict';var _=require(_0x6d8f('0x0'));var util=require(_0x6d8f('0x1'));var logger=require(_0x6d8f('0x2'))(_0x6d8f('0x3'));var moment=require('moment');var BPromise=require(_0x6d8f('0x4'));var rp=require(_0x6d8f('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x6d8f('0x6'));var config=require(_0x6d8f('0x7'));var attributes=require(_0x6d8f('0x8'));module[_0x6d8f('0x9')]=function(_0x59bd11,_0x5f2b2a){return _0x59bd11['define'](_0x6d8f('0xa'),attributes,{'tableName':_0x6d8f('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};