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 _0x90d0=['membername_interface','membername','interface','lodash','util','../../config/logger','request-promise','path','../../config/environment','define','report_member'];(function(_0x49e6d7,_0x54e483){var _0x5301f6=function(_0x56f28b){while(--_0x56f28b){_0x49e6d7['push'](_0x49e6d7['shift']());}};_0x5301f6(++_0x54e483);}(_0x90d0,0x1d1));var _0x090d=function(_0xd336fa,_0x39d1b2){_0xd336fa=_0xd336fa-0x0;var _0x3370b1=_0x90d0[_0xd336fa];return _0x3370b1;};'use strict';var _=require(_0x090d('0x0'));var util=require(_0x090d('0x1'));var logger=require(_0x090d('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x090d('0x3'));var fs=require('fs');var path=require(_0x090d('0x4'));var rimraf=require('rimraf');var config=require(_0x090d('0x5'));var attributes=require('./memberReport.attributes');module['exports']=function(_0x33deb7,_0x22ce9d){return _0x33deb7[_0x090d('0x6')]('MemberReport',attributes,{'tableName':_0x090d('0x7'),'paranoid':![],'indexes':[{'name':_0x090d('0x8'),'fields':[_0x090d('0x9'),_0x090d('0xa')]}],'timestamps':!![]});};