Built motion from commit 9d0783e6.|2.6.13
[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 _0x84cb=['analytics_extracted_reports','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./analyticExtractedReport.attributes','exports','define','AnalyticExtractedReport'];(function(_0x4c184d,_0x4278ab){var _0x23d997=function(_0x22d068){while(--_0x22d068){_0x4c184d['push'](_0x4c184d['shift']());}};_0x23d997(++_0x4278ab);}(_0x84cb,0x90));var _0xb84c=function(_0x5ccfa9,_0x415e4d){_0x5ccfa9=_0x5ccfa9-0x0;var _0x228ced=_0x84cb[_0x5ccfa9];return _0x228ced;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xb84c('0x0'))(_0xb84c('0x1'));var moment=require(_0xb84c('0x2'));var BPromise=require(_0xb84c('0x3'));var rp=require(_0xb84c('0x4'));var fs=require('fs');var path=require(_0xb84c('0x5'));var rimraf=require(_0xb84c('0x6'));var config=require(_0xb84c('0x7'));var attributes=require(_0xb84c('0x8'));module[_0xb84c('0x9')]=function(_0x7753a4,_0xc7f346){return _0x7753a4[_0xb84c('0xa')](_0xb84c('0xb'),attributes,{'tableName':_0xb84c('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};