Built motion from commit (unavailable).|2.5.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 _0xe7c8=['membername','interface','lodash','util','api','moment','bluebird','request-promise','path','../../config/environment','./memberReport.attributes','define','report_member'];(function(_0x2dea24,_0x2fc021){var _0x309d58=function(_0x2eb89f){while(--_0x2eb89f){_0x2dea24['push'](_0x2dea24['shift']());}};_0x309d58(++_0x2fc021);}(_0xe7c8,0x147));var _0x8e7c=function(_0x339969,_0x51a7c6){_0x339969=_0x339969-0x0;var _0xd4165d=_0xe7c8[_0x339969];return _0xd4165d;};'use strict';var _=require(_0x8e7c('0x0'));var util=require(_0x8e7c('0x1'));var logger=require('../../config/logger')(_0x8e7c('0x2'));var moment=require(_0x8e7c('0x3'));var BPromise=require(_0x8e7c('0x4'));var rp=require(_0x8e7c('0x5'));var fs=require('fs');var path=require(_0x8e7c('0x6'));var rimraf=require('rimraf');var config=require(_0x8e7c('0x7'));var attributes=require(_0x8e7c('0x8'));module['exports']=function(_0x2ac54b,_0x518c0c){return _0x2ac54b[_0x8e7c('0x9')]('MemberReport',attributes,{'tableName':_0x8e7c('0xa'),'paranoid':![],'indexes':[{'name':'membername_interface','fields':[_0x8e7c('0xb'),_0x8e7c('0xc')]}],'timestamps':!![]});};