83e9715600ca0065a7fa62477925f7fc1602caac
[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 _0x69a3=['./analyticExtractedReport.attributes','exports','define','AnalyticExtractedReport','analytics_extracted_reports','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x7a0ec2,_0xa75285){var _0xb23bde=function(_0x51f6cd){while(--_0x51f6cd){_0x7a0ec2['push'](_0x7a0ec2['shift']());}};_0xb23bde(++_0xa75285);}(_0x69a3,0x1f4));var _0x369a=function(_0xc8ed2e,_0x31023a){_0xc8ed2e=_0xc8ed2e-0x0;var _0x42a00c=_0x69a3[_0xc8ed2e];return _0x42a00c;};'use strict';var _=require(_0x369a('0x0'));var util=require(_0x369a('0x1'));var logger=require(_0x369a('0x2'))(_0x369a('0x3'));var moment=require(_0x369a('0x4'));var BPromise=require(_0x369a('0x5'));var rp=require(_0x369a('0x6'));var fs=require('fs');var path=require(_0x369a('0x7'));var rimraf=require(_0x369a('0x8'));var config=require(_0x369a('0x9'));var attributes=require(_0x369a('0xa'));module[_0x369a('0xb')]=function(_0x297dfa,_0x2585e9){return _0x297dfa[_0x369a('0xc')](_0x369a('0xd'),attributes,{'tableName':_0x369a('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};