2ad5b2b7d386a5a2630f8b1cfee98b2aa62a3cc7
[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 _0xf068=['api','moment','bluebird','request-promise','rimraf','./analyticExtractedReport.attributes','exports','define','AnalyticExtractedReport','analytics_extracted_reports','lodash','util','../../config/logger'];(function(_0x11dde4,_0x1d4852){var _0x6eea94=function(_0x182859){while(--_0x182859){_0x11dde4['push'](_0x11dde4['shift']());}};_0x6eea94(++_0x1d4852);}(_0xf068,0x101));var _0x8f06=function(_0x3828f1,_0x502302){_0x3828f1=_0x3828f1-0x0;var _0x178120=_0xf068[_0x3828f1];return _0x178120;};'use strict';var _=require(_0x8f06('0x0'));var util=require(_0x8f06('0x1'));var logger=require(_0x8f06('0x2'))(_0x8f06('0x3'));var moment=require(_0x8f06('0x4'));var BPromise=require(_0x8f06('0x5'));var rp=require(_0x8f06('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x8f06('0x7'));var config=require('../../config/environment');var attributes=require(_0x8f06('0x8'));module[_0x8f06('0x9')]=function(_0x470c26,_0x2afd96){return _0x470c26[_0x8f06('0xa')](_0x8f06('0xb'),attributes,{'tableName':_0x8f06('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};