Built motion from commit (unavailable).|2.4.18
[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 _0x4eac=['util','../../config/logger','api','bluebird','path','rimraf','../../config/environment','./analyticExtractedReport.attributes','exports','AnalyticExtractedReport','analytics_extracted_reports','lodash'];(function(_0x5997fb,_0x507e93){var _0x198516=function(_0x18ee0c){while(--_0x18ee0c){_0x5997fb['push'](_0x5997fb['shift']());}};_0x198516(++_0x507e93);}(_0x4eac,0x1df));var _0xc4ea=function(_0x6242bf,_0x57aa4d){_0x6242bf=_0x6242bf-0x0;var _0x4ceab4=_0x4eac[_0x6242bf];return _0x4ceab4;};'use strict';var _=require(_0xc4ea('0x0'));var util=require(_0xc4ea('0x1'));var logger=require(_0xc4ea('0x2'))(_0xc4ea('0x3'));var moment=require('moment');var BPromise=require(_0xc4ea('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xc4ea('0x5'));var rimraf=require(_0xc4ea('0x6'));var config=require(_0xc4ea('0x7'));var attributes=require(_0xc4ea('0x8'));module[_0xc4ea('0x9')]=function(_0x5e6e83,_0x372784){return _0x5e6e83['define'](_0xc4ea('0xa'),attributes,{'tableName':_0xc4ea('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};