generate the nodejs code to create a report on squashtm using the rest api v4
Here is an example of Node.js code that creates a report on Squash TM using the REST API v4:
```
const axios = require('axios');

// Set your Squash TM API credentials and report parameters
const apiUsername = 'your-username';
const apiPassword = 'your-password';
const apiUrl = 'https://your-squash-tm-instance.com/api/v4';
const projectId = 123; // Replace with your project ID
const reportType = 'test-execution'; // Replace with the report type you want to generate (e.g. test-execution, test-case, etc.)
const reportFormat = 'pdf'; // Replace with the report format you want (e.g. pdf, csv, etc.)
const reportName = 'My Report'; // Replace with the report name you want

// Set the authentication headers
const auth = {
  username: apiUsername,
  password: apiPassword
};

// Set the report parameters
const reportParams = {
  'project_id': projectId,
 'report_type': reportType,
  'format': reportFormat,
  'name': reportName
};

// Create the report using the Squash TM REST API
axios.post(`${apiUrl}/reports`, reportParams, {
  auth,
  headers: {
    'Content-Type': 'application/json'
  }
})
.then(response => {
  console.log(`Report created successfully: ${response.data.id}`);
  const reportId = response.data.id;

  //
const express = require('express');
const app = express();
const bodyParser = require('body-parser');
const squashtmRestApiV4 = require('squashtm-rest-api-v4');

app.use(bodyParser.json());

const report = squashtmRestApiV4.createReport(app);

report.get('/', (req, res) => {
  res.status(200).json({ message: 'Successfully created report' });
});

report.listen(3000);