in src/libs/zuora.ts [276:290]
async function readDataFileFromZuora(
stage: string,
zuoraBearerToken: string,
fileId: string,
): Promise<string> {
const url = `${zuoraServerUrl(stage)}/apps/api/batch-query/file/${fileId}`;
const response = await fetch(url, {
method: 'GET',
headers: {
Authorization: `Bearer ${zuoraBearerToken}`,
'Content-Type': 'application/json',
},
});
return await response.text();
}