Built motion from commit 97153652.|2.6.26
[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 _0x7bbc=['bluebird','request-promise','rimraf','../../config/environment','./analyticExtractedReport.attributes','exports','define','AnalyticExtractedReport','analytics_extracted_reports','lodash','api','moment'];(function(_0x36ed63,_0x1decdf){var _0x1fc9f6=function(_0x19b252){while(--_0x19b252){_0x36ed63['push'](_0x36ed63['shift']());}};_0x1fc9f6(++_0x1decdf);}(_0x7bbc,0x69));var _0xc7bb=function(_0x495552,_0x4da737){_0x495552=_0x495552-0x0;var _0x511110=_0x7bbc[_0x495552];return _0x511110;};'use strict';var _=require(_0xc7bb('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xc7bb('0x1'));var moment=require(_0xc7bb('0x2'));var BPromise=require(_0xc7bb('0x3'));var rp=require(_0xc7bb('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xc7bb('0x5'));var config=require(_0xc7bb('0x6'));var attributes=require(_0xc7bb('0x7'));module[_0xc7bb('0x8')]=function(_0x3c66a9,_0x2c22b2){return _0x3c66a9[_0xc7bb('0x9')](_0xc7bb('0xa'),attributes,{'tableName':_0xc7bb('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};