Built motion from commit ffdca78c.|2.6.24
[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 _0x37a5=['util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','define','MemberReport','membername','lodash'];(function(_0x3a1ad6,_0x52a9de){var _0x3b87c1=function(_0x4b5ec2){while(--_0x4b5ec2){_0x3a1ad6['push'](_0x3a1ad6['shift']());}};_0x3b87c1(++_0x52a9de);}(_0x37a5,0x107));var _0x537a=function(_0x4b055c,_0x4b870b){_0x4b055c=_0x4b055c-0x0;var _0x4b62bb=_0x37a5[_0x4b055c];return _0x4b62bb;};'use strict';var _=require(_0x537a('0x0'));var util=require(_0x537a('0x1'));var logger=require('../../config/logger')(_0x537a('0x2'));var moment=require(_0x537a('0x3'));var BPromise=require(_0x537a('0x4'));var rp=require(_0x537a('0x5'));var fs=require('fs');var path=require(_0x537a('0x6'));var rimraf=require(_0x537a('0x7'));var config=require(_0x537a('0x8'));var attributes=require('./memberReport.attributes');module['exports']=function(_0x1db78e,_0x1603eb){return _0x1db78e[_0x537a('0x9')](_0x537a('0xa'),attributes,{'tableName':'report_member','paranoid':![],'indexes':[{'name':'membername_interface','fields':[_0x537a('0xb'),'interface']}],'timestamps':!![]});};