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 _0x119f=['exports','MemberReport','report_member','membername_interface','interface','lodash','util','../../config/logger','api','moment','request-promise','../../config/environment'];(function(_0x55f8b4,_0x43f30d){var _0x2475f9=function(_0xdd6f4a){while(--_0xdd6f4a){_0x55f8b4['push'](_0x55f8b4['shift']());}};_0x2475f9(++_0x43f30d);}(_0x119f,0xf5));var _0xf119=function(_0x17f396,_0x3f829d){_0x17f396=_0x17f396-0x0;var _0x1f9ab8=_0x119f[_0x17f396];return _0x1f9ab8;};'use strict';var _=require(_0xf119('0x0'));var util=require(_0xf119('0x1'));var logger=require(_0xf119('0x2'))(_0xf119('0x3'));var moment=require(_0xf119('0x4'));var BPromise=require('bluebird');var rp=require(_0xf119('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xf119('0x6'));var attributes=require('./memberReport.attributes');module[_0xf119('0x7')]=function(_0x5b343b,_0x3b1696){return _0x5b343b['define'](_0xf119('0x8'),attributes,{'tableName':_0xf119('0x9'),'paranoid':![],'indexes':[{'name':_0xf119('0xa'),'fields':['membername',_0xf119('0xb')]}],'timestamps':!![]});};