656c95c16002bc0cba606a37789641c5dc1f1ed4
[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 _0x6e16=['lodash','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./analyticExtractedReport.attributes','exports','AnalyticExtractedReport','analytics_extracted_reports'];(function(_0x19950b,_0x53d0d7){var _0x3c6b41=function(_0x3924ad){while(--_0x3924ad){_0x19950b['push'](_0x19950b['shift']());}};_0x3c6b41(++_0x53d0d7);}(_0x6e16,0x1b0));var _0x66e1=function(_0x460d00,_0xff714){_0x460d00=_0x460d00-0x0;var _0x4e6ddd=_0x6e16[_0x460d00];return _0x4e6ddd;};'use strict';var _=require(_0x66e1('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x66e1('0x1'));var moment=require(_0x66e1('0x2'));var BPromise=require(_0x66e1('0x3'));var rp=require(_0x66e1('0x4'));var fs=require('fs');var path=require(_0x66e1('0x5'));var rimraf=require(_0x66e1('0x6'));var config=require(_0x66e1('0x7'));var attributes=require(_0x66e1('0x8'));module[_0x66e1('0x9')]=function(_0x3cc718,_0x4e07b9){return _0x3cc718['define'](_0x66e1('0xa'),attributes,{'tableName':_0x66e1('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};