Built motion from commit (unavailable).|2.5.31
[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 _0x8f69=['interface','../../config/logger','api','bluebird','request-promise','../../config/environment','./memberReport.attributes','define','MemberReport','report_member','membername_interface','membername'];(function(_0x582c31,_0x4404a0){var _0x14cd56=function(_0x48e5d4){while(--_0x48e5d4){_0x582c31['push'](_0x582c31['shift']());}};_0x14cd56(++_0x4404a0);}(_0x8f69,0x12d));var _0x98f6=function(_0xa388a2,_0x40bde6){_0xa388a2=_0xa388a2-0x0;var _0x7ce7f6=_0x8f69[_0xa388a2];return _0x7ce7f6;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x98f6('0x0'))(_0x98f6('0x1'));var moment=require('moment');var BPromise=require(_0x98f6('0x2'));var rp=require(_0x98f6('0x3'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x98f6('0x4'));var attributes=require(_0x98f6('0x5'));module['exports']=function(_0x531e10,_0x55b307){return _0x531e10[_0x98f6('0x6')](_0x98f6('0x7'),attributes,{'tableName':_0x98f6('0x8'),'paranoid':![],'indexes':[{'name':_0x98f6('0x9'),'fields':[_0x98f6('0xa'),_0x98f6('0xb')]}],'timestamps':!![]});};