Built motion from commit 47436d59.|2.6.7
[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 _0xae75=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./memberReport.attributes','exports','define','MemberReport','report_member','membername_interface','membername','lodash','util'];(function(_0x1fc122,_0x5e2c17){var _0xa2cb13=function(_0x263b13){while(--_0x263b13){_0x1fc122['push'](_0x1fc122['shift']());}};_0xa2cb13(++_0x5e2c17);}(_0xae75,0xce));var _0x5ae7=function(_0x2df4e9,_0x57e45f){_0x2df4e9=_0x2df4e9-0x0;var _0x520c66=_0xae75[_0x2df4e9];return _0x520c66;};'use strict';var _=require(_0x5ae7('0x0'));var util=require(_0x5ae7('0x1'));var logger=require('../../config/logger')(_0x5ae7('0x2'));var moment=require(_0x5ae7('0x3'));var BPromise=require(_0x5ae7('0x4'));var rp=require(_0x5ae7('0x5'));var fs=require('fs');var path=require(_0x5ae7('0x6'));var rimraf=require(_0x5ae7('0x7'));var config=require(_0x5ae7('0x8'));var attributes=require(_0x5ae7('0x9'));module[_0x5ae7('0xa')]=function(_0x33d211,_0x3009ef){return _0x33d211[_0x5ae7('0xb')](_0x5ae7('0xc'),attributes,{'tableName':_0x5ae7('0xd'),'paranoid':![],'indexes':[{'name':_0x5ae7('0xe'),'fields':[_0x5ae7('0xf'),'interface']}],'timestamps':!![]});};