1e9dd923f9d3a546535bc2879ef2425d0daaadae
[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 _0x14f4=['../../config/environment','./memberReport.attributes','exports','define','MemberReport','membername_interface','membername','interface','util','../../config/logger','api','moment','bluebird','request-promise','rimraf'];(function(_0x41fbd7,_0x7f6f29){var _0x9f0555=function(_0x48a7d2){while(--_0x48a7d2){_0x41fbd7['push'](_0x41fbd7['shift']());}};_0x9f0555(++_0x7f6f29);}(_0x14f4,0x1d9));var _0x414f=function(_0x3da122,_0x23c848){_0x3da122=_0x3da122-0x0;var _0x1ace4a=_0x14f4[_0x3da122];return _0x1ace4a;};'use strict';var _=require('lodash');var util=require(_0x414f('0x0'));var logger=require(_0x414f('0x1'))(_0x414f('0x2'));var moment=require(_0x414f('0x3'));var BPromise=require(_0x414f('0x4'));var rp=require(_0x414f('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x414f('0x6'));var config=require(_0x414f('0x7'));var attributes=require(_0x414f('0x8'));module[_0x414f('0x9')]=function(_0x49b714,_0x273f8b){return _0x49b714[_0x414f('0xa')](_0x414f('0xb'),attributes,{'tableName':'report_member','paranoid':![],'indexes':[{'name':_0x414f('0xc'),'fields':[_0x414f('0xd'),_0x414f('0xe')]}],'timestamps':!![]});};