Built motion from commit (unavailable).|2.5.5
[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 _0xabb0=['util','../../config/logger','api','moment','request-promise','path','../../config/environment','./memberReport.attributes','exports','report_member','membername_interface','interface'];(function(_0x26cdd8,_0x3c3136){var _0x4687aa=function(_0x58aa46){while(--_0x58aa46){_0x26cdd8['push'](_0x26cdd8['shift']());}};_0x4687aa(++_0x3c3136);}(_0xabb0,0x114));var _0x0abb=function(_0x465028,_0x4570ac){_0x465028=_0x465028-0x0;var _0xb783d4=_0xabb0[_0x465028];return _0xb783d4;};'use strict';var _=require('lodash');var util=require(_0x0abb('0x0'));var logger=require(_0x0abb('0x1'))(_0x0abb('0x2'));var moment=require(_0x0abb('0x3'));var BPromise=require('bluebird');var rp=require(_0x0abb('0x4'));var fs=require('fs');var path=require(_0x0abb('0x5'));var rimraf=require('rimraf');var config=require(_0x0abb('0x6'));var attributes=require(_0x0abb('0x7'));module[_0x0abb('0x8')]=function(_0x242e37,_0x1fa2e5){return _0x242e37['define']('MemberReport',attributes,{'tableName':_0x0abb('0x9'),'paranoid':![],'indexes':[{'name':_0x0abb('0xa'),'fields':['membername',_0x0abb('0xb')]}],'timestamps':!![]});};