9 lines
		
	
	
		
			498 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			498 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
 | |
| import { APIResource } from "../../core/resource.mjs";
 | |
| import { multipartFormRequestOptions } from "../../internal/uploads.mjs";
 | |
| export class Translations extends APIResource {
 | |
|     create(body, options) {
 | |
|         return this._client.post('/audio/translations', multipartFormRequestOptions({ body, ...options, __metadata: { model: body.model } }, this._client));
 | |
|     }
 | |
| }
 | |
| //# sourceMappingURL=translations.mjs.map
 |