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 _0x5f6b=['path','rimraf','./memberReport.attributes','exports','define','MemberReport','report_member','membername_interface','membername','../../config/logger','api','moment'];(function(_0x5d1044,_0x18f656){var _0x3cd90e=function(_0x3c40be){while(--_0x3c40be){_0x5d1044['push'](_0x5d1044['shift']());}};_0x3cd90e(++_0x18f656);}(_0x5f6b,0x81));var _0xb5f6=function(_0x27583f,_0x466f35){_0x27583f=_0x27583f-0x0;var _0x50d98f=_0x5f6b[_0x27583f];return _0x50d98f;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xb5f6('0x0'))(_0xb5f6('0x1'));var moment=require(_0xb5f6('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xb5f6('0x3'));var rimraf=require(_0xb5f6('0x4'));var config=require('../../config/environment');var attributes=require(_0xb5f6('0x5'));module[_0xb5f6('0x6')]=function(_0x56f55b,_0x587b9a){return _0x56f55b[_0xb5f6('0x7')](_0xb5f6('0x8'),attributes,{'tableName':_0xb5f6('0x9'),'paranoid':![],'indexes':[{'name':_0xb5f6('0xa'),'fields':[_0xb5f6('0xb'),'interface']}],'timestamps':!![]});};