1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xe0c9=['../../config/environment','./memberReport.attributes','exports','define','MemberReport','report_member','membername_interface','membername','interface','util','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x500419,_0x549162){var _0x241c1a=function(_0x3bea1a){while(--_0x3bea1a){_0x500419['push'](_0x500419['shift']());}};_0x241c1a(++_0x549162);}(_0xe0c9,0x1e9));var _0x9e0c=function(_0x3f66c1,_0x457adc){_0x3f66c1=_0x3f66c1-0x0;var _0x4716ff=_0xe0c9[_0x3f66c1];return _0x4716ff;};'use strict';var _=require('lodash');var util=require(_0x9e0c('0x0'));var logger=require('../../config/logger')(_0x9e0c('0x1'));var moment=require(_0x9e0c('0x2'));var BPromise=require(_0x9e0c('0x3'));var rp=require(_0x9e0c('0x4'));var fs=require('fs');var path=require(_0x9e0c('0x5'));var rimraf=require(_0x9e0c('0x6'));var config=require(_0x9e0c('0x7'));var attributes=require(_0x9e0c('0x8'));module[_0x9e0c('0x9')]=function(_0x46f45c,_0x4f8051){return _0x46f45c[_0x9e0c('0xa')](_0x9e0c('0xb'),attributes,{'tableName':_0x9e0c('0xc'),'paranoid':![],'indexes':[{'name':_0x9e0c('0xd'),'fields':[_0x9e0c('0xe'),_0x9e0c('0xf')]}],'timestamps':!![]});};