1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xa2c9=['util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./integrationReport.attributes','define','report_integration'];(function(_0x31a371,_0x50828e){var _0x2a5bd6=function(_0x2fb481){while(--_0x2fb481){_0x31a371['push'](_0x31a371['shift']());}};_0x2a5bd6(++_0x50828e);}(_0xa2c9,0x1a2));var _0x9a2c=function(_0x5c4c78,_0x28caf2){_0x5c4c78=_0x5c4c78-0x0;var _0x5c9133=_0xa2c9[_0x5c4c78];return _0x5c9133;};'use strict';var _=require('lodash');var util=require(_0x9a2c('0x0'));var logger=require(_0x9a2c('0x1'))(_0x9a2c('0x2'));var moment=require(_0x9a2c('0x3'));var BPromise=require(_0x9a2c('0x4'));var rp=require(_0x9a2c('0x5'));var fs=require('fs');var path=require(_0x9a2c('0x6'));var rimraf=require(_0x9a2c('0x7'));var config=require('../../config/environment');var attributes=require(_0x9a2c('0x8'));module['exports']=function(_0x36fcf5,_0x356091){return _0x36fcf5[_0x9a2c('0x9')]('IntegrationReport',attributes,{'tableName':_0x9a2c('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};