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 _0xf33b=['bluebird','path','rimraf','../../config/environment','./memberReport.attributes','exports','define','MemberReport','report_member','membername_interface','membername','util','../../config/logger','api','moment'];(function(_0x3594ee,_0x590e85){var _0x1ece8a=function(_0x562e88){while(--_0x562e88){_0x3594ee['push'](_0x3594ee['shift']());}};_0x1ece8a(++_0x590e85);}(_0xf33b,0x146));var _0xbf33=function(_0x5466ab,_0x227b13){_0x5466ab=_0x5466ab-0x0;var _0x40751a=_0xf33b[_0x5466ab];return _0x40751a;};'use strict';var _=require('lodash');var util=require(_0xbf33('0x0'));var logger=require(_0xbf33('0x1'))(_0xbf33('0x2'));var moment=require(_0xbf33('0x3'));var BPromise=require(_0xbf33('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xbf33('0x5'));var rimraf=require(_0xbf33('0x6'));var config=require(_0xbf33('0x7'));var attributes=require(_0xbf33('0x8'));module[_0xbf33('0x9')]=function(_0x39586f,_0x40f7b3){return _0x39586f[_0xbf33('0xa')](_0xbf33('0xb'),attributes,{'tableName':_0xbf33('0xc'),'paranoid':![],'indexes':[{'name':_0xbf33('0xd'),'fields':[_0xbf33('0xe'),'interface']}],'timestamps':!![]});};