interface ProjectSettings {
    aiPreTranslate: {
        aiPrompts: {
            aiPromptId: number;
            languageIds: string[];
        }[];
        enabled: boolean;
    };
    assignedGlossaries: number[];
    assignedTms: {
        [id: string]: {
            priority: number;
        };
    };
    assistActionAiPromptId: number;
    autoSubstitution: boolean;
    autoTranslateDialects: boolean;
    background: string;
    clientOrganizationId: number;
    cname: string;
    createdAt: string;
    customQaCheckIds: number[];
    defaultGlossaryId: number;
    defaultTmId: number;
    delayedWorkflowStart: boolean;
    description: string;
    exportApprovedOnly: boolean;
    exportStringsThatPassedWorkflow: boolean;
    exportTranslatedOnly: boolean;
    exportWithMinApprovalsCount: number;
    externalType: string;
    glossaryAccess: boolean;
    groupId: number;
    hasCrowdsourcing: boolean;
    hiddenStringsProofreadersAccess: boolean;
    id: number;
    identifier: string;
    inContext: boolean;
    inContextProcessHiddenStrings: string;
    inContextPseudoLanguage: Language;
    inContextPseudoLanguageId: string;
    isExternal: boolean;
    isMtAllowed: boolean;
    isSuspended: boolean;
    languageAccessPolicy: LanguageAccessPolicy;
    languageMapping: LanguageMapping;
    lastActivity: string;
    logo: string;
    mtPreTranslate: {
        enabled: boolean;
        mts: {
            languageIds: string[];
            mtId: number;
        }[];
    };
    name: string;
    normalizePlaceholder: boolean;
    notificationSettings: NotificationSettings;
    publicDownloads: boolean;
    qaApprovalsCount: number;
    qaCheckCategories: CheckCategories;
    qaCheckIsActive: boolean;
    qaChecksIgnorableCategories: CheckCategories;
    saveMetaInfoInSource: boolean;
    savingsReportSettingsTemplateId: number;
    showTmSuggestionsDialects: boolean;
    skipUntranslatedFiles: boolean;
    skipUntranslatedStrings: boolean;
    sourceLanguage: Language;
    sourceLanguageId: string;
    tagsDetection: TagDetection;
    targetLanguageIds: string[];
    targetLanguages: Language[];
    taskBasedAccessControl: boolean;
    tmContextType: TmContextType;
    tmPenalties: {
        autoSubstitution: number;
        multipleTranslations: number;
        timeSinceLastModified: {
            months: number;
            penalty: number;
        };
        timeSinceLastUsage: {
            months: number;
            penalty: number;
        };
        tmPriority: {
            penalty: number;
            priority: number;
        };
    };
    tmPreTranslate: {
        autoApproveOption:
            | "all"
            | "none"
            | "perfectMatchOnly"
            | "exceptAutoSubstituted"
            | "perfectMatchApprovedOnly";
        enabled: boolean;
        minimumMatchRatio: "perfect" | "100";
    };
    translateDuplicates: TranslateDuplicates;
    type?: ProjectsGroupsModel.Type;
    updatedAt: string;
    useGlobalTm: boolean;
    userId: number;
    visibility: string;
    webUrl: string;
    workflowId: number;
}

Hierarchy (view full)

Properties

aiPreTranslate: {
    aiPrompts: {
        aiPromptId: number;
        languageIds: string[];
    }[];
    enabled: boolean;
}
assignedGlossaries: number[]
assignedTms: {
    [id: string]: {
        priority: number;
    };
}
assistActionAiPromptId: number
autoSubstitution: boolean
autoTranslateDialects: boolean
background: string
clientOrganizationId: number
cname: string
createdAt: string
customQaCheckIds: number[]
defaultGlossaryId: number
defaultTmId: number
delayedWorkflowStart: boolean
description: string
exportApprovedOnly: boolean
exportStringsThatPassedWorkflow: boolean
exportTranslatedOnly: boolean
exportWithMinApprovalsCount: number
externalType: string
glossaryAccess: boolean
groupId: number
hasCrowdsourcing: boolean
hiddenStringsProofreadersAccess: boolean
id: number
identifier: string
inContext: boolean
inContextProcessHiddenStrings: string
inContextPseudoLanguage: Language
inContextPseudoLanguageId: string
isExternal: boolean
isMtAllowed: boolean
isSuspended: boolean
languageAccessPolicy: LanguageAccessPolicy
languageMapping: LanguageMapping
lastActivity: string
logo: string
mtPreTranslate: {
    enabled: boolean;
    mts: {
        languageIds: string[];
        mtId: number;
    }[];
}
name: string
normalizePlaceholder: boolean
notificationSettings: NotificationSettings
publicDownloads: boolean
qaApprovalsCount: number
qaCheckCategories: CheckCategories
qaCheckIsActive: boolean
qaChecksIgnorableCategories: CheckCategories
saveMetaInfoInSource: boolean
savingsReportSettingsTemplateId: number
showTmSuggestionsDialects: boolean
skipUntranslatedFiles: boolean
skipUntranslatedStrings: boolean
sourceLanguage: Language
sourceLanguageId: string
tagsDetection: TagDetection
targetLanguageIds: string[]
targetLanguages: Language[]
taskBasedAccessControl: boolean
tmContextType: TmContextType
tmPenalties: {
    autoSubstitution: number;
    multipleTranslations: number;
    timeSinceLastModified: {
        months: number;
        penalty: number;
    };
    timeSinceLastUsage: {
        months: number;
        penalty: number;
    };
    tmPriority: {
        penalty: number;
        priority: number;
    };
}
tmPreTranslate: {
    autoApproveOption:
        | "all"
        | "none"
        | "perfectMatchOnly"
        | "exceptAutoSubstituted"
        | "perfectMatchApprovedOnly";
    enabled: boolean;
    minimumMatchRatio: "perfect" | "100";
}
translateDuplicates: TranslateDuplicates
updatedAt: string
useGlobalTm: boolean
userId: number
visibility: string
webUrl: string
workflowId: number