augnitosdk
Version:
AugnitoSDK lets you make use of the Speech Recognition AI. You can edit, format and complete reports at the speed of human speech, with the best-in-class accuracy
39 lines (38 loc) • 1.03 kB
TypeScript
import { BaseResult, Edge, GetCommonPersonalisationRequest } from '../BaseAPI';
export interface RemoveVocabularyRequest {
Word: string;
}
export interface UpsertCommonVocabularyRequest extends GetCommonPersonalisationRequest {
DeviceCode: string;
SourceApp: string;
}
export interface UserVocabularyRequest {
PageId?: Edge;
Limit?: number;
}
export interface VocabularyResult extends BaseResult {
Data: {
StatusMessage: string;
WordItems?: {
SubscriptionCode: string;
UserCode: string;
PageSize: number;
PageIdNext?: Edge;
PageIdPrevious?: Edge;
Items: Array<VocabularyItem>;
};
};
}
export interface VocabularyItem {
Word: string;
SpokenWord: string | null;
IsAbbreviation: boolean;
CreatedAt: Date;
Status: string;
}
export interface UpsertVocabularyRequest {
file: File;
Word: string;
SpokenWord: string;
IsAbbreviation: boolean;
}