@novo-learning/novo-sdk
Version:
SDK for the Novolanguage Speech Analysis API
13 lines (12 loc) • 915 B
TypeScript
import { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
import { PronunciationRequestDtoV1 } from './dto/pronunciation-request.dto.v1';
import { PhrasePronunciationDtoV1 } from './dto/pronunciation.dto.v1';
import { PhrasePronunciationDtoV2 } from './dto/pronunciation.dto.v2';
import { Configuration } from './generated';
export declare class PronunciationApi {
private readonly pronunciationApi;
private readonly languageCodeMapper;
constructor(configuration?: Configuration | undefined, basePath?: string, axios?: AxiosInstance);
getPronunciationsV1(pronunciationRequest: PronunciationRequestDtoV1, options?: AxiosRequestConfig<unknown> | undefined): Promise<AxiosResponse<PhrasePronunciationDtoV1>>;
getPronunciationsV2(pronunciationRequest: PronunciationRequestDtoV1, options?: AxiosRequestConfig<unknown> | undefined): Promise<AxiosResponse<PhrasePronunciationDtoV2>>;
}