Built motion from commit (unavailable).|2.5.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 _0xec47=['request-promise','path','rimraf','./analyticExtractedReport.attributes','exports','AnalyticExtractedReport','analytics_extracted_reports','lodash','../../config/logger','api','moment','bluebird'];(function(_0x46031f,_0xf76750){var _0x26dee7=function(_0x7a783a){while(--_0x7a783a){_0x46031f['push'](_0x46031f['shift']());}};_0x26dee7(++_0xf76750);}(_0xec47,0xeb));var _0x7ec4=function(_0x5d6456,_0x58ecc7){_0x5d6456=_0x5d6456-0x0;var _0x4d66c1=_0xec47[_0x5d6456];return _0x4d66c1;};'use strict';var _=require(_0x7ec4('0x0'));var util=require('util');var logger=require(_0x7ec4('0x1'))(_0x7ec4('0x2'));var moment=require(_0x7ec4('0x3'));var BPromise=require(_0x7ec4('0x4'));var rp=require(_0x7ec4('0x5'));var fs=require('fs');var path=require(_0x7ec4('0x6'));var rimraf=require(_0x7ec4('0x7'));var config=require('../../config/environment');var attributes=require(_0x7ec4('0x8'));module[_0x7ec4('0x9')]=function(_0x5c16f3,_0x197a73){return _0x5c16f3['define'](_0x7ec4('0xa'),attributes,{'tableName':_0x7ec4('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};