import Gmt from 'gmt-typescript-sdk';
const client = new Gmt({
apiKey: process.env['GMT_API_KEY'], // This is the default and can be omitted
});
const response = await client.purchases.bulk.download('purchase_id');
console.log(response);
const content = await response.blob();
console.log(content);