Built motion from commit 9d0783e6.|2.6.13
[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 _0x8878=['util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./analyticExtractedReport.attributes','exports','define','AnalyticExtractedReport','analytics_extracted_reports'];(function(_0x254dc4,_0x32c927){var _0x21901a=function(_0x54f55a){while(--_0x54f55a){_0x254dc4['push'](_0x254dc4['shift']());}};_0x21901a(++_0x32c927);}(_0x8878,0xea));var _0x8887=function(_0xf3897e,_0x3ac8b7){_0xf3897e=_0xf3897e-0x0;var _0x26b187=_0x8878[_0xf3897e];return _0x26b187;};'use strict';var _=require('lodash');var util=require(_0x8887('0x0'));var logger=require('../../config/logger')(_0x8887('0x1'));var moment=require(_0x8887('0x2'));var BPromise=require(_0x8887('0x3'));var rp=require(_0x8887('0x4'));var fs=require('fs');var path=require(_0x8887('0x5'));var rimraf=require(_0x8887('0x6'));var config=require(_0x8887('0x7'));var attributes=require(_0x8887('0x8'));module[_0x8887('0x9')]=function(_0x5f2c25,_0x148d01){return _0x5f2c25[_0x8887('0xa')](_0x8887('0xb'),attributes,{'tableName':_0x8887('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};