Built motion from commit (unavailable).|2.5.21
[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 _0x1c85=['membername_interface','lodash','util','api','moment','request-promise','path','rimraf','./memberReport.attributes','exports','define','report_member'];(function(_0x3f7bfd,_0x1c0669){var _0x55e8ee=function(_0x4be4be){while(--_0x4be4be){_0x3f7bfd['push'](_0x3f7bfd['shift']());}};_0x55e8ee(++_0x1c0669);}(_0x1c85,0x18d));var _0x51c8=function(_0x91b72c,_0x590ea4){_0x91b72c=_0x91b72c-0x0;var _0x161205=_0x1c85[_0x91b72c];return _0x161205;};'use strict';var _=require(_0x51c8('0x0'));var util=require(_0x51c8('0x1'));var logger=require('../../config/logger')(_0x51c8('0x2'));var moment=require(_0x51c8('0x3'));var BPromise=require('bluebird');var rp=require(_0x51c8('0x4'));var fs=require('fs');var path=require(_0x51c8('0x5'));var rimraf=require(_0x51c8('0x6'));var config=require('../../config/environment');var attributes=require(_0x51c8('0x7'));module[_0x51c8('0x8')]=function(_0x3c879b,_0x493fa7){return _0x3c879b[_0x51c8('0x9')]('MemberReport',attributes,{'tableName':_0x51c8('0xa'),'paranoid':![],'indexes':[{'name':_0x51c8('0xb'),'fields':['membername','interface']}],'timestamps':!![]});};