2c85d6fd26820571306ee55a2219e722eecaec77
[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 _0xa79e=['rimraf','../../config/environment','./analyticExtractedReport.attributes','exports','AnalyticExtractedReport','analytics_extracted_reports','../../config/logger','api','bluebird','request-promise'];(function(_0xefd519,_0xc62635){var _0x4bb882=function(_0x37e0a1){while(--_0x37e0a1){_0xefd519['push'](_0xefd519['shift']());}};_0x4bb882(++_0xc62635);}(_0xa79e,0x11e));var _0xea79=function(_0x4bacb6,_0x2b299d){_0x4bacb6=_0x4bacb6-0x0;var _0x58c029=_0xa79e[_0x4bacb6];return _0x58c029;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xea79('0x0'))(_0xea79('0x1'));var moment=require('moment');var BPromise=require(_0xea79('0x2'));var rp=require(_0xea79('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xea79('0x4'));var config=require(_0xea79('0x5'));var attributes=require(_0xea79('0x6'));module[_0xea79('0x7')]=function(_0x271635,_0x310d2e){return _0x271635['define'](_0xea79('0x8'),attributes,{'tableName':_0xea79('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};