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 _0xd1e2=['util','../../config/logger','api','moment','request-promise','path','../../config/environment','MemberReport','membername_interface','lodash'];(function(_0x4fd165,_0x4bc0ff){var _0x227ad1=function(_0x5fee4){while(--_0x5fee4){_0x4fd165['push'](_0x4fd165['shift']());}};_0x227ad1(++_0x4bc0ff);}(_0xd1e2,0x13f));var _0x2d1e=function(_0x5a126e,_0x3fb407){_0x5a126e=_0x5a126e-0x0;var _0x194ffc=_0xd1e2[_0x5a126e];return _0x194ffc;};'use strict';var _=require(_0x2d1e('0x0'));var util=require(_0x2d1e('0x1'));var logger=require(_0x2d1e('0x2'))(_0x2d1e('0x3'));var moment=require(_0x2d1e('0x4'));var BPromise=require('bluebird');var rp=require(_0x2d1e('0x5'));var fs=require('fs');var path=require(_0x2d1e('0x6'));var rimraf=require('rimraf');var config=require(_0x2d1e('0x7'));var attributes=require('./memberReport.attributes');module['exports']=function(_0x2bf413,_0x166c33){return _0x2bf413['define'](_0x2d1e('0x8'),attributes,{'tableName':'report_member','paranoid':![],'indexes':[{'name':_0x2d1e('0x9'),'fields':['membername','interface']}],'timestamps':!![]});};