diff --git a/frontend/src/lib/generated/api.ts b/frontend/src/lib/generated/api.ts index 30cec4fb..4d2787ad 100644 --- a/frontend/src/lib/generated/api.ts +++ b/frontend/src/lib/generated/api.ts @@ -132,6 +132,22 @@ export interface paths { patch?: never; trace?: never; }; + "/api/documents/{documentId}/transcription-blocks/review-all": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put: operations["markAllBlocksReviewed"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/api/documents/{documentId}/transcription-blocks/reorder": { parameters: { query?: never; @@ -1611,9 +1627,15 @@ export interface components { trainingLabels?: ("KURRENT_RECOGNITION" | "KURRENT_SEGMENTATION")[]; thumbnailUrl?: string; }; + PersonMention: { + /** Format: uuid */ + personId: string; + displayName: string; + }; UpdateTranscriptionBlockDTO: { text?: string; label?: string; + mentionedPersons?: components["schemas"]["PersonMention"][]; }; TranscriptionBlock: { /** Format: uuid */ @@ -1623,6 +1645,7 @@ export interface components { /** Format: uuid */ documentId: string; text?: string; + mentionedPersons: components["schemas"]["PersonMention"][]; label?: string; /** Format: int32 */ sortOrder: number; @@ -1665,7 +1688,8 @@ export interface components { CreateRelationshipRequest: { /** Format: uuid */ relatedPersonId: string; - relationType: string; + /** @enum {string} */ + relationType: "PARENT_OF" | "SPOUSE_OF" | "SIBLING_OF" | "FRIEND" | "COLLEAGUE" | "EMPLOYER" | "DOCTOR" | "NEIGHBOR" | "OTHER"; /** Format: int32 */ fromYear?: number; /** Format: int32 */ @@ -1796,6 +1820,7 @@ export interface components { height?: number; text?: string; label?: string; + mentionedPersons?: components["schemas"]["PersonMention"][]; }; CreateCommentDTO: { content?: string; @@ -2747,6 +2772,28 @@ export interface operations { }; }; }; + markAllBlocksReviewed: { + parameters: { + query?: never; + header?: never; + path: { + documentId: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description OK */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "*/*": components["schemas"]["TranscriptionBlock"][]; + }; + }; + }; + }; reorderBlocks: { parameters: { query?: never;