import UnstructuredClient from 'unstructured-sdk';
const client = new UnstructuredClient({
authMethod: 'My Auth Method',
username: process.env['UNSTRUCTURED_USERNAME'], // This is the default and can be omitted
password: process.env['UNSTRUCTURED_PASSWORD'], // This is the default and can be omitted
});
const response = await client.dataSlice.exportVdb({
target_data_connector_name: 'target_data_connector_name',
});
console.log(response.details);