Built motion from commit 616d3211.|2.6.4
[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 _0x6f2d=['exports','define','MemberReport','membername_interface','membername','interface','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./memberReport.attributes'];(function(_0x12324d,_0x155a32){var _0x41ba36=function(_0x11b5fc){while(--_0x11b5fc){_0x12324d['push'](_0x12324d['shift']());}};_0x41ba36(++_0x155a32);}(_0x6f2d,0x116));var _0xd6f2=function(_0x2b50c0,_0x963f01){_0x2b50c0=_0x2b50c0-0x0;var _0x3493b1=_0x6f2d[_0x2b50c0];return _0x3493b1;};'use strict';var _=require(_0xd6f2('0x0'));var util=require(_0xd6f2('0x1'));var logger=require(_0xd6f2('0x2'))(_0xd6f2('0x3'));var moment=require(_0xd6f2('0x4'));var BPromise=require(_0xd6f2('0x5'));var rp=require(_0xd6f2('0x6'));var fs=require('fs');var path=require(_0xd6f2('0x7'));var rimraf=require(_0xd6f2('0x8'));var config=require(_0xd6f2('0x9'));var attributes=require(_0xd6f2('0xa'));module[_0xd6f2('0xb')]=function(_0x4c082e,_0x1eac16){return _0x4c082e[_0xd6f2('0xc')](_0xd6f2('0xd'),attributes,{'tableName':'report_member','paranoid':![],'indexes':[{'name':_0xd6f2('0xe'),'fields':[_0xd6f2('0xf'),_0xd6f2('0x10')]}],'timestamps':!![]});};