Built motion from commit 25580385.|2.6.2
[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 _0x3a5a=['./memberReport.attributes','exports','define','MemberReport','report_member','membername','interface','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment'];(function(_0x1a2e14,_0x5ed2ab){var _0x7b8c94=function(_0x16c66a){while(--_0x16c66a){_0x1a2e14['push'](_0x1a2e14['shift']());}};_0x7b8c94(++_0x5ed2ab);}(_0x3a5a,0x167));var _0xa3a5=function(_0x1003eb,_0xc3c682){_0x1003eb=_0x1003eb-0x0;var _0x3e9558=_0x3a5a[_0x1003eb];return _0x3e9558;};'use strict';var _=require(_0xa3a5('0x0'));var util=require(_0xa3a5('0x1'));var logger=require(_0xa3a5('0x2'))(_0xa3a5('0x3'));var moment=require(_0xa3a5('0x4'));var BPromise=require(_0xa3a5('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xa3a5('0x6'));var rimraf=require(_0xa3a5('0x7'));var config=require(_0xa3a5('0x8'));var attributes=require(_0xa3a5('0x9'));module[_0xa3a5('0xa')]=function(_0x577b82,_0x3374fb){return _0x577b82[_0xa3a5('0xb')](_0xa3a5('0xc'),attributes,{'tableName':_0xa3a5('0xd'),'paranoid':![],'indexes':[{'name':'membername_interface','fields':[_0xa3a5('0xe'),_0xa3a5('0xf')]}],'timestamps':!![]});};