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 _0x9ffa=['../../config/environment','exports','define','MemberReport','report_member','membername_interface','membername','lodash','util','../../config/logger','moment','rimraf'];(function(_0x10cdac,_0x2a3e5f){var _0x70c6a6=function(_0x97c380){while(--_0x97c380){_0x10cdac['push'](_0x10cdac['shift']());}};_0x70c6a6(++_0x2a3e5f);}(_0x9ffa,0x1b7));var _0xa9ff=function(_0xf7ff4,_0x543a19){_0xf7ff4=_0xf7ff4-0x0;var _0x554e6a=_0x9ffa[_0xf7ff4];return _0x554e6a;};'use strict';var _=require(_0xa9ff('0x0'));var util=require(_0xa9ff('0x1'));var logger=require(_0xa9ff('0x2'))('api');var moment=require(_0xa9ff('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xa9ff('0x4'));var config=require(_0xa9ff('0x5'));var attributes=require('./memberReport.attributes');module[_0xa9ff('0x6')]=function(_0xd4bd53,_0x3559ad){return _0xd4bd53[_0xa9ff('0x7')](_0xa9ff('0x8'),attributes,{'tableName':_0xa9ff('0x9'),'paranoid':![],'indexes':[{'name':_0xa9ff('0xa'),'fields':[_0xa9ff('0xb'),'interface']}],'timestamps':!![]});};