A valid BCP 47 specification compliant language code
The human-readable name of the track
import { buildClient } from '@datocms/cma-client-node';async function run() {const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });const uploadId = 'xBe7u01029ipxBLQhYzZCJ1cke01zCkuUsgnYtH0017nNzbpv2YcsoMDmw';const uploadTrack = await client.uploadTracks.generateSubtitles(uploadId, {language_code: 'it-IT'});console.log(uploadTrack);}run();