6d92d14087ac96ef25a0b9031d82af7a217aeac0
[motion2.git] / server / api / memberReport / memberReport.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x20ef=['exports','membername_interface','membername','lodash','util','../../config/logger','api','bluebird','rimraf','../../config/environment'];(function(_0x2d61ac,_0x18ff36){var _0x3f7d3c=function(_0x2ba7e5){while(--_0x2ba7e5){_0x2d61ac['push'](_0x2d61ac['shift']());}};_0x3f7d3c(++_0x18ff36);}(_0x20ef,0x189));var _0xf20e=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x20ef[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0xf20e('0x0'));var util=require(_0xf20e('0x1'));var logger=require(_0xf20e('0x2'))(_0xf20e('0x3'));var moment=require('moment');var BPromise=require(_0xf20e('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xf20e('0x5'));var config=require(_0xf20e('0x6'));var attributes=require('./memberReport.attributes');module[_0xf20e('0x7')]=function(_0x52ff82,_0x50a0a7){return _0x52ff82['define']('MemberReport',attributes,{'tableName':'report_member','paranoid':![],'indexes':[{'name':_0xf20e('0x8'),'fields':[_0xf20e('0x9'),'interface']}],'timestamps':!![]});};