diff --git a/src/types/prerecordedTranscriptionOptions.ts b/src/types/prerecordedTranscriptionOptions.ts index 1aa41afb..e1560741 100644 --- a/src/types/prerecordedTranscriptionOptions.ts +++ b/src/types/prerecordedTranscriptionOptions.ts @@ -202,7 +202,7 @@ export type PrerecordedTranscriptionOptions = { * For example, 'es', 'fr', 'ja' * If requests translation in the same language as their ASR request, a 400 will be returned. */ - translation?: Array; + translate?: Array; /** * Indicates whether Deepgram will identify and detect topics in the transcript. diff --git a/src/types/usageOptions.ts b/src/types/usageOptions.ts index d6913aa0..bc01847e 100644 --- a/src/types/usageOptions.ts +++ b/src/types/usageOptions.ts @@ -21,7 +21,7 @@ export type UsageOptions = { alternatives?: boolean; numerals?: boolean; numbers?: boolean; - translation?: boolean; + translate?: boolean; detect_entities?: boolean; detect_topics?: boolean; summarize?: boolean; diff --git a/src/types/usageRequestDetail.ts b/src/types/usageRequestDetail.ts index d8ebb8e9..a06de3a5 100644 --- a/src/types/usageRequestDetail.ts +++ b/src/types/usageRequestDetail.ts @@ -26,7 +26,7 @@ export type UsageRequestDetail = { alternatives?: boolean; numerals?: boolean; numbers?: boolean; - translation?: boolean; + translate?: boolean; }; }; };