Built motion from commit (unavailable).|2.5.22
[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 _0x783c=['bluebird','request-promise','path','../../config/environment','./analyticExtractedReport.attributes','AnalyticExtractedReport','analytics_extracted_reports','lodash','../../config/logger','api','moment'];(function(_0x4ddb9a,_0x2f072b){var _0xddb9a1=function(_0x3ee3f5){while(--_0x3ee3f5){_0x4ddb9a['push'](_0x4ddb9a['shift']());}};_0xddb9a1(++_0x2f072b);}(_0x783c,0xcd));var _0xc783=function(_0x5bc928,_0x53bf6c){_0x5bc928=_0x5bc928-0x0;var _0x35e2b9=_0x783c[_0x5bc928];return _0x35e2b9;};'use strict';var _=require(_0xc783('0x0'));var util=require('util');var logger=require(_0xc783('0x1'))(_0xc783('0x2'));var moment=require(_0xc783('0x3'));var BPromise=require(_0xc783('0x4'));var rp=require(_0xc783('0x5'));var fs=require('fs');var path=require(_0xc783('0x6'));var rimraf=require('rimraf');var config=require(_0xc783('0x7'));var attributes=require(_0xc783('0x8'));module['exports']=function(_0x162bc7,_0x3bde5a){return _0x162bc7['define'](_0xc783('0x9'),attributes,{'tableName':_0xc783('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};