Built motion from commit 775e2a94.|2.6.3
[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 _0x67fd=['../../config/environment','./analyticExtractedReport.attributes','exports','define','AnalyticExtractedReport','analytics_extracted_reports','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x413feb,_0x10477f){var _0x40ee88=function(_0x32a3f6){while(--_0x32a3f6){_0x413feb['push'](_0x413feb['shift']());}};_0x40ee88(++_0x10477f);}(_0x67fd,0xd8));var _0xd67f=function(_0x518fc9,_0xc716f){_0x518fc9=_0x518fc9-0x0;var _0x245271=_0x67fd[_0x518fc9];return _0x245271;};'use strict';var _=require(_0xd67f('0x0'));var util=require(_0xd67f('0x1'));var logger=require(_0xd67f('0x2'))(_0xd67f('0x3'));var moment=require(_0xd67f('0x4'));var BPromise=require(_0xd67f('0x5'));var rp=require(_0xd67f('0x6'));var fs=require('fs');var path=require(_0xd67f('0x7'));var rimraf=require('rimraf');var config=require(_0xd67f('0x8'));var attributes=require(_0xd67f('0x9'));module[_0xd67f('0xa')]=function(_0x1119e8,_0x5b5d9c){return _0x1119e8[_0xd67f('0xb')](_0xd67f('0xc'),attributes,{'tableName':_0xd67f('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};