aef9d3615e0d2afcf639dfd39506e25dddb55598
[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 _0xc730=['api','moment','rimraf','../../config/environment','./analyticExtractedReport.attributes','AnalyticExtractedReport','analytics_extracted_reports','lodash','../../config/logger'];(function(_0x1f904a,_0x28c22f){var _0xc689ba=function(_0x777474){while(--_0x777474){_0x1f904a['push'](_0x1f904a['shift']());}};_0xc689ba(++_0x28c22f);}(_0xc730,0x181));var _0x0c73=function(_0xa02697,_0x1876fa){_0xa02697=_0xa02697-0x0;var _0x3200f2=_0xc730[_0xa02697];return _0x3200f2;};'use strict';var _=require(_0x0c73('0x0'));var util=require('util');var logger=require(_0x0c73('0x1'))(_0x0c73('0x2'));var moment=require(_0x0c73('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x0c73('0x4'));var config=require(_0x0c73('0x5'));var attributes=require(_0x0c73('0x6'));module['exports']=function(_0x25aae6,_0x39b57e){return _0x25aae6['define'](_0x0c73('0x7'),attributes,{'tableName':_0x0c73('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};