Built motion from commit e6806ed6.|2.6.0
[motion2.git] / server / api / integrationReport / integrationReport.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 _0xdb36=['lodash','util','../../config/logger','bluebird','request-promise','path','rimraf','./integrationReport.attributes','exports','define','IntegrationReport','report_integration'];(function(_0xb918b4,_0x6f2f72){var _0x4ee6ed=function(_0x5b37c3){while(--_0x5b37c3){_0xb918b4['push'](_0xb918b4['shift']());}};_0x4ee6ed(++_0x6f2f72);}(_0xdb36,0x1d4));var _0x6db3=function(_0x123568,_0x4c3a24){_0x123568=_0x123568-0x0;var _0x25db12=_0xdb36[_0x123568];return _0x25db12;};'use strict';var _=require(_0x6db3('0x0'));var util=require(_0x6db3('0x1'));var logger=require(_0x6db3('0x2'))('api');var moment=require('moment');var BPromise=require(_0x6db3('0x3'));var rp=require(_0x6db3('0x4'));var fs=require('fs');var path=require(_0x6db3('0x5'));var rimraf=require(_0x6db3('0x6'));var config=require('../../config/environment');var attributes=require(_0x6db3('0x7'));module[_0x6db3('0x8')]=function(_0x382852,_0x29de91){return _0x382852[_0x6db3('0x9')](_0x6db3('0xa'),attributes,{'tableName':_0x6db3('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};