Built motion from commit eddce310.|2.6.12
[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 _0x598f=['../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','define','MemberReport','report_member','membername_interface','interface','lodash','util'];(function(_0x39fca6,_0x252aa7){var _0x3afbc8=function(_0x36e744){while(--_0x36e744){_0x39fca6['push'](_0x39fca6['shift']());}};_0x3afbc8(++_0x252aa7);}(_0x598f,0x1cf));var _0xf598=function(_0x43d426,_0x589cfb){_0x43d426=_0x43d426-0x0;var _0x2c1597=_0x598f[_0x43d426];return _0x2c1597;};'use strict';var _=require(_0xf598('0x0'));var util=require(_0xf598('0x1'));var logger=require(_0xf598('0x2'))(_0xf598('0x3'));var moment=require(_0xf598('0x4'));var BPromise=require(_0xf598('0x5'));var rp=require(_0xf598('0x6'));var fs=require('fs');var path=require(_0xf598('0x7'));var rimraf=require(_0xf598('0x8'));var config=require(_0xf598('0x9'));var attributes=require('./memberReport.attributes');module['exports']=function(_0x41b1f8,_0x32be03){return _0x41b1f8[_0xf598('0xa')](_0xf598('0xb'),attributes,{'tableName':_0xf598('0xc'),'paranoid':![],'indexes':[{'name':_0xf598('0xd'),'fields':['membername',_0xf598('0xe')]}],'timestamps':!![]});};