Built motion from commit 1fd437e9.|2.6.19
[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 _0x3fc5=['moment','request-promise','path','rimraf','../../config/environment','./analyticExtractedReport.attributes','define','AnalyticExtractedReport','analytics_extracted_reports','util','api'];(function(_0x582f7e,_0x4c080e){var _0x29528e=function(_0x88354){while(--_0x88354){_0x582f7e['push'](_0x582f7e['shift']());}};_0x29528e(++_0x4c080e);}(_0x3fc5,0x13d));var _0x53fc=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0x3fc5[_0x3b380d];return _0x54502b;};'use strict';var _=require('lodash');var util=require(_0x53fc('0x0'));var logger=require('../../config/logger')(_0x53fc('0x1'));var moment=require(_0x53fc('0x2'));var BPromise=require('bluebird');var rp=require(_0x53fc('0x3'));var fs=require('fs');var path=require(_0x53fc('0x4'));var rimraf=require(_0x53fc('0x5'));var config=require(_0x53fc('0x6'));var attributes=require(_0x53fc('0x7'));module['exports']=function(_0x12ee8a,_0x524d1b){return _0x12ee8a[_0x53fc('0x8')](_0x53fc('0x9'),attributes,{'tableName':_0x53fc('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};