Built motion from commit da617fac.|2.6.6
[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 _0x5aac=['request-promise','rimraf','../../config/environment','./memberReport.attributes','exports','define','report_member','membername_interface','membername','interface','lodash','util','api'];(function(_0x313c96,_0x3cee6e){var _0x522f53=function(_0x8961e){while(--_0x8961e){_0x313c96['push'](_0x313c96['shift']());}};_0x522f53(++_0x3cee6e);}(_0x5aac,0x72));var _0xc5aa=function(_0x9a9524,_0x4dc3ba){_0x9a9524=_0x9a9524-0x0;var _0xb6cdec=_0x5aac[_0x9a9524];return _0xb6cdec;};'use strict';var _=require(_0xc5aa('0x0'));var util=require(_0xc5aa('0x1'));var logger=require('../../config/logger')(_0xc5aa('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xc5aa('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xc5aa('0x4'));var config=require(_0xc5aa('0x5'));var attributes=require(_0xc5aa('0x6'));module[_0xc5aa('0x7')]=function(_0x163e2c,_0x174b8d){return _0x163e2c[_0xc5aa('0x8')]('MemberReport',attributes,{'tableName':_0xc5aa('0x9'),'paranoid':![],'indexes':[{'name':_0xc5aa('0xa'),'fields':[_0xc5aa('0xb'),_0xc5aa('0xc')]}],'timestamps':!![]});};