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 _0x1d69=['request-promise','path','../../config/environment','./memberReport.attributes','exports','define','report_member','membername_interface','membername','interface','lodash','util','../../config/logger','moment','bluebird'];(function(_0x38eaa6,_0x169ebb){var _0x2201ac=function(_0x27ddbb){while(--_0x27ddbb){_0x38eaa6['push'](_0x38eaa6['shift']());}};_0x2201ac(++_0x169ebb);}(_0x1d69,0x154));var _0x91d6=function(_0x1314d4,_0xb0b16d){_0x1314d4=_0x1314d4-0x0;var _0x584ba5=_0x1d69[_0x1314d4];return _0x584ba5;};'use strict';var _=require(_0x91d6('0x0'));var util=require(_0x91d6('0x1'));var logger=require(_0x91d6('0x2'))('api');var moment=require(_0x91d6('0x3'));var BPromise=require(_0x91d6('0x4'));var rp=require(_0x91d6('0x5'));var fs=require('fs');var path=require(_0x91d6('0x6'));var rimraf=require('rimraf');var config=require(_0x91d6('0x7'));var attributes=require(_0x91d6('0x8'));module[_0x91d6('0x9')]=function(_0x1fcfa2,_0x2796d1){return _0x1fcfa2[_0x91d6('0xa')]('MemberReport',attributes,{'tableName':_0x91d6('0xb'),'paranoid':![],'indexes':[{'name':_0x91d6('0xc'),'fields':[_0x91d6('0xd'),_0x91d6('0xe')]}],'timestamps':!![]});};