Built motion from commit d5e4af8c.|2.6.23
[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 _0x04f9=['bluebird','request-promise','path','rimraf','../../config/environment','./memberReport.attributes','define','MemberReport','report_member','membername','interface','util','../../config/logger','api'];(function(_0x5f4488,_0x3e5788){var _0x5141cb=function(_0x4f2a13){while(--_0x4f2a13){_0x5f4488['push'](_0x5f4488['shift']());}};_0x5141cb(++_0x3e5788);}(_0x04f9,0xb3));var _0x904f=function(_0x27a381,_0x4780aa){_0x27a381=_0x27a381-0x0;var _0x42f82c=_0x04f9[_0x27a381];return _0x42f82c;};'use strict';var _=require('lodash');var util=require(_0x904f('0x0'));var logger=require(_0x904f('0x1'))(_0x904f('0x2'));var moment=require('moment');var BPromise=require(_0x904f('0x3'));var rp=require(_0x904f('0x4'));var fs=require('fs');var path=require(_0x904f('0x5'));var rimraf=require(_0x904f('0x6'));var config=require(_0x904f('0x7'));var attributes=require(_0x904f('0x8'));module['exports']=function(_0x4e5a0c,_0x2bcb2a){return _0x4e5a0c[_0x904f('0x9')](_0x904f('0xa'),attributes,{'tableName':_0x904f('0xb'),'paranoid':![],'indexes':[{'name':'membername_interface','fields':[_0x904f('0xc'),_0x904f('0xd')]}],'timestamps':!![]});};