@@ -984,6 +984,9 @@ export interface paths {
984984 put: operations["assignLabel"];
985985 delete: operations["unassignLabel"];
986986 };
987+ "/v2/projects/{projectId}/translations/{translationId}/qa-issues": {
988+ get: operations["getIssues"];
989+ };
987990 "/v2/projects/{projectId}/translations/{translationId}/set-outdated-flag/{state}": {
988991 /** Set's "outdated" flag indicating the base translation was changed without updating current translation. */
989992 put: operations["setOutdated"];
@@ -1810,6 +1813,11 @@ export interface components {
18101813 qaCheckResults?: components["schemas"]["QaCheckResultModel"][];
18111814 };
18121815 };
1816+ CollectionModelQaIssueModel: {
1817+ _embedded?: {
1818+ qaIssues?: components["schemas"]["QaIssueModel"][];
1819+ };
1820+ };
18131821 CollectionModelQueueItemModel: {
18141822 _embedded?: {
18151823 queueItemModelList?: components["schemas"]["QueueItemModel"][];
@@ -5448,6 +5456,52 @@ export interface components {
54485456 | "SPELLING"
54495457 | "UNRESOLVED_COMMENTS";
54505458 };
5459+ QaIssueModel: {
5460+ /** Format: int64 */
5461+ id: number;
5462+ /** @enum {string} */
5463+ message:
5464+ | "qa_empty_translation"
5465+ | "qa_check_failed"
5466+ | "qa_spaces_leading_added"
5467+ | "qa_spaces_leading_removed"
5468+ | "qa_spaces_trailing_added"
5469+ | "qa_spaces_trailing_removed"
5470+ | "qa_spaces_doubled"
5471+ | "qa_spaces_non_breaking_added"
5472+ | "qa_spaces_non_breaking_removed"
5473+ | "qa_punctuation_add"
5474+ | "qa_punctuation_remove"
5475+ | "qa_punctuation_replace"
5476+ | "qa_case_capitalize"
5477+ | "qa_case_lowercase"
5478+ | "qa_numbers_missing";
5479+ params?: { [key: string]: string };
5480+ /** Format: int32 */
5481+ positionEnd: number;
5482+ /** Format: int32 */
5483+ positionStart: number;
5484+ replacement?: string;
5485+ /** @enum {string} */
5486+ state: "OPEN" | "IGNORED";
5487+ /** @enum {string} */
5488+ type:
5489+ | "EMPTY_TRANSLATION"
5490+ | "SPACES_MISMATCH"
5491+ | "UNMATCHED_NEWLINES"
5492+ | "CHARACTER_CASE_MISMATCH"
5493+ | "MISSING_NUMBERS"
5494+ | "PUNCTUATION_MISMATCH"
5495+ | "BRACKETS_MISMATCH"
5496+ | "SPECIAL_CHARACTER_MISMATCH"
5497+ | "DIFFERENT_URLS"
5498+ | "INCONSISTENT_PLACEHOLDERS"
5499+ | "INCONSISTENT_HTML"
5500+ | "ICU_SYNTAX"
5501+ | "REPEATED_WORDS"
5502+ | "SPELLING"
5503+ | "UNRESOLVED_COMMENTS";
5504+ };
54515505 QueueItemModel: {
54525506 /** Format: int64 */
54535507 chunkExecutionId: number;
@@ -6649,6 +6703,11 @@ export interface components {
66496703 mtProvider?: "GOOGLE" | "AWS" | "DEEPL" | "AZURE" | "BAIDU" | "PROMPT";
66506704 /** @description Whether base language translation was changed after this translation was updated */
66516705 outdated: boolean;
6706+ /**
6707+ * Format: int64
6708+ * @description Number of open QA issues
6709+ */
6710+ qaIssueCount: number;
66526711 /**
66536712 * @description State of translation
66546713 * @enum {string}
@@ -20466,6 +20525,46 @@ export interface operations {
2046620525 };
2046720526 };
2046820527 };
20528+ getIssues: {
20529+ parameters: {
20530+ path: {
20531+ projectId: number;
20532+ translationId: number;
20533+ };
20534+ };
20535+ responses: {
20536+ /** OK */
20537+ 200: {
20538+ content: {
20539+ "application/json": components["schemas"]["CollectionModelQaIssueModel"];
20540+ };
20541+ };
20542+ /** Bad Request */
20543+ 400: {
20544+ content: {
20545+ "application/json": string;
20546+ };
20547+ };
20548+ /** Unauthorized */
20549+ 401: {
20550+ content: {
20551+ "application/json": string;
20552+ };
20553+ };
20554+ /** Forbidden */
20555+ 403: {
20556+ content: {
20557+ "application/json": string;
20558+ };
20559+ };
20560+ /** Not Found */
20561+ 404: {
20562+ content: {
20563+ "application/json": string;
20564+ };
20565+ };
20566+ };
20567+ };
2046920568 /** Set's "outdated" flag indicating the base translation was changed without updating current translation. */
2047020569 setOutdated: {
2047120570 parameters: {
0 commit comments