@@ -317,36 +317,56 @@ export namespace TranslationsModel {
317317 languageIds : string [ ] ;
318318 fileIds : number [ ] ;
319319 method ?: Method ;
320+ priority ?: Priority ;
320321 engineId ?: number ;
321322 aiPromptId ?: number ;
322323 autoApproveOption ?: AutoApproveOption ;
323324 duplicateTranslations ?: boolean ;
324325 skipApprovedTranslations ?: boolean ;
326+ /**
327+ * @deprecated Use {@link scope} instead
328+ */
325329 translateUntranslatedOnly ?: boolean ;
330+ scope ?: Scope ;
331+ translationModifiedBefore ?: string ;
332+ replaceTranslationsOption ?: ReplaceTranslationsOption ;
333+ resetApprovalStatus ?: boolean ;
326334 translateWithPerfectMatchOnly ?: boolean ;
327335 fallbackLanguages ?: {
328336 languageId ?: string [ ] ;
329337 } ;
330338 labelIds ?: number [ ] ;
331339 excludeLabelIds ?: number [ ] ;
340+ sourceLanguageId ?: string ;
341+ customInstruction ?: string ;
332342 }
333343
334344 export interface PreTranslateStringsRequest {
335345 languageIds : string [ ] ;
336346 branchIds ?: number [ ] ;
337347 method ?: Method ;
348+ priority ?: Priority ;
338349 engineId ?: number ;
339350 aiPromptId ?: number ;
340351 autoApproveOption ?: AutoApproveOption ;
341352 duplicateTranslations ?: boolean ;
342353 skipApprovedTranslations ?: boolean ;
354+ /**
355+ * @deprecated Use {@link scope} instead
356+ */
343357 translateUntranslatedOnly ?: boolean ;
358+ scope ?: Scope ;
359+ translationModifiedBefore ?: string ;
360+ replaceTranslationsOption ?: ReplaceTranslationsOption ;
361+ resetApprovalStatus ?: boolean ;
344362 translateWithPerfectMatchOnly ?: boolean ;
345363 fallbackLanguages ?: {
346364 languageId : string [ ] ;
347365 } ;
348366 labelIds ?: number [ ] ;
349367 excludeLabelIds ?: number [ ] ;
368+ sourceLanguageId ?: string ;
369+ customInstruction ?: string ;
350370 }
351371
352372 export interface BuildProjectDirectoryTranslationRequest {
@@ -407,7 +427,16 @@ export namespace TranslationsModel {
407427
408428 export type Method = 'tm' | 'mt' | 'ai' ;
409429
410- export type AutoApproveOption = 'all' | 'exceptAutoSubstituted' | 'perfectMatchOnly' | 'none' ;
430+ export type AutoApproveOption =
431+ | 'all'
432+ | 'exceptAutoSubstituted'
433+ | 'perfectMatchOnly'
434+ | 'perfectMatchApprovedOnly'
435+ | 'none' ;
436+
437+ export type Scope = 'untranslated' | 'translated' | 'all' ;
438+
439+ export type ReplaceTranslationsOption = 'none' | 'autoTranslated' | 'all' ;
411440
412441 export type Priority = 'low' | 'normal' | 'high' ;
413442
0 commit comments