Built motion from commit (unavailable).|2.3.5
[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 _0xffc8=['membername_interface','membername','interface','util','../../config/logger','api','bluebird','./memberReport.attributes','define'];(function(_0x124c8f,_0xc3115e){var _0x24e52f=function(_0x1d42f7){while(--_0x1d42f7){_0x124c8f['push'](_0x124c8f['shift']());}};_0x24e52f(++_0xc3115e);}(_0xffc8,0x6f));var _0x8ffc=function(_0x3e20b0,_0x410821){_0x3e20b0=_0x3e20b0-0x0;var _0x5e9279=_0xffc8[_0x3e20b0];return _0x5e9279;};'use strict';var _=require('lodash');var util=require(_0x8ffc('0x0'));var logger=require(_0x8ffc('0x1'))(_0x8ffc('0x2'));var moment=require('moment');var BPromise=require(_0x8ffc('0x3'));var rp=require('request-promise');var attributes=require(_0x8ffc('0x4'));module['exports']=function(_0x397b8e,_0x28f13b){return _0x397b8e[_0x8ffc('0x5')]('MemberReport',attributes,{'tableName':'report_member','paranoid':![],'indexes':[{'name':_0x8ffc('0x6'),'fields':[_0x8ffc('0x7'),_0x8ffc('0x8')]}],'timestamps':!![]});};