Built motion from commit da617fac.|2.6.6
[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 _0x4300=['analytics_extracted_reports','util','../../config/logger','api','bluebird','request-promise','rimraf','../../config/environment','./analyticExtractedReport.attributes','exports','define','AnalyticExtractedReport'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x4300,0xa9));var _0x0430=function(_0x35af9b,_0x4caccb){_0x35af9b=_0x35af9b-0x0;var _0x3e5f32=_0x4300[_0x35af9b];return _0x3e5f32;};'use strict';var _=require('lodash');var util=require(_0x0430('0x0'));var logger=require(_0x0430('0x1'))(_0x0430('0x2'));var moment=require('moment');var BPromise=require(_0x0430('0x3'));var rp=require(_0x0430('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x0430('0x5'));var config=require(_0x0430('0x6'));var attributes=require(_0x0430('0x7'));module[_0x0430('0x8')]=function(_0x556d49,_0x2b29ed){return _0x556d49[_0x0430('0x9')](_0x0430('0xa'),attributes,{'tableName':_0x0430('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};