662d512b053b016ca2bc6c0389181685b9bd8de1
[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 _0x175d=['membername','interface','lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./memberReport.attributes','exports','define','report_member','membername_interface'];(function(_0x46b83a,_0xd83509){var _0x5f51ad=function(_0x14b135){while(--_0x14b135){_0x46b83a['push'](_0x46b83a['shift']());}};_0x5f51ad(++_0xd83509);}(_0x175d,0x152));var _0xd175=function(_0x48c97e,_0x47dc06){_0x48c97e=_0x48c97e-0x0;var _0x5793e9=_0x175d[_0x48c97e];return _0x5793e9;};'use strict';var _=require(_0xd175('0x0'));var util=require(_0xd175('0x1'));var logger=require('../../config/logger')(_0xd175('0x2'));var moment=require(_0xd175('0x3'));var BPromise=require(_0xd175('0x4'));var rp=require(_0xd175('0x5'));var fs=require('fs');var path=require(_0xd175('0x6'));var rimraf=require(_0xd175('0x7'));var config=require(_0xd175('0x8'));var attributes=require(_0xd175('0x9'));module[_0xd175('0xa')]=function(_0x760aec,_0x53ee7e){return _0x760aec[_0xd175('0xb')]('MemberReport',attributes,{'tableName':_0xd175('0xc'),'paranoid':![],'indexes':[{'name':_0xd175('0xd'),'fields':[_0xd175('0xe'),_0xd175('0xf')]}],'timestamps':!![]});};