3a5df04c132964678a997e2b81bd5327c0691792
[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 _0x7275=['./memberReport.attributes','MemberReport','report_member','membername_interface','membername','interface','lodash','util','../../config/logger','api','moment','bluebird','request-promise','../../config/environment'];(function(_0x2a56bf,_0x200235){var _0x4713f0=function(_0x3e70c1){while(--_0x3e70c1){_0x2a56bf['push'](_0x2a56bf['shift']());}};_0x4713f0(++_0x200235);}(_0x7275,0x148));var _0x5727=function(_0x1e2c67,_0x20db26){_0x1e2c67=_0x1e2c67-0x0;var _0x142720=_0x7275[_0x1e2c67];return _0x142720;};'use strict';var _=require(_0x5727('0x0'));var util=require(_0x5727('0x1'));var logger=require(_0x5727('0x2'))(_0x5727('0x3'));var moment=require(_0x5727('0x4'));var BPromise=require(_0x5727('0x5'));var rp=require(_0x5727('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x5727('0x7'));var attributes=require(_0x5727('0x8'));module['exports']=function(_0x2091c8,_0x59bb93){return _0x2091c8['define'](_0x5727('0x9'),attributes,{'tableName':_0x5727('0xa'),'paranoid':![],'indexes':[{'name':_0x5727('0xb'),'fields':[_0x5727('0xc'),_0x5727('0xd')]}],'timestamps':!![]});};