chore(api): regenerate TypeScript API types from updated OpenAPI spec

Includes PersonSummaryDTO with documentCount, StatsDTO, and new
/api/stats endpoint.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Marcel
2026-03-29 19:47:13 +02:00
parent 707a7610f8
commit 7b03aada3b

View File

@@ -468,6 +468,22 @@ export interface paths {
patch?: never;
trace?: never;
};
"/api/stats": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get: operations["getStats"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/api/persons/{id}/received-documents": {
parameters: {
query?: never;
@@ -708,22 +724,6 @@ export interface paths {
patch?: never;
trace?: never;
};
"/api/auth/reset-token-for-test": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get: operations["getResetTokenForTest"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/api/admin/import-status": {
parameters: {
query?: never;
@@ -1003,12 +1003,34 @@ export interface components {
createdAt: string;
actorName?: string;
};
StatsDTO: {
/** Format: int64 */
totalPersons?: number;
/** Format: int64 */
totalDocuments?: number;
};
PersonSummaryDTO: {
/** Format: uuid */
id?: string;
firstName?: string;
lastName?: string;
/** Format: int32 */
birthYear?: number;
/** Format: int32 */
deathYear?: number;
alias?: string;
notes?: string;
/** Format: int64 */
documentCount?: number;
};
PageNotificationDTO: {
/** Format: int64 */
totalElements?: number;
/** Format: int32 */
totalPages?: number;
pageable?: components["schemas"]["PageableObject"];
first?: boolean;
last?: boolean;
/** Format: int32 */
size?: number;
content?: components["schemas"]["NotificationDTO"][];
@@ -1017,8 +1039,6 @@ export interface components {
sort?: components["schemas"]["SortObject"];
/** Format: int32 */
numberOfElements?: number;
first?: boolean;
last?: boolean;
empty?: boolean;
};
PageableObject: {
@@ -1479,7 +1499,7 @@ export interface operations {
[name: string]: unknown;
};
content: {
"*/*": components["schemas"]["Person"][];
"*/*": components["schemas"]["PersonSummaryDTO"][];
};
};
};
@@ -1493,9 +1513,7 @@ export interface operations {
};
requestBody: {
content: {
"application/json": {
[key: string]: string;
};
"application/json": components["schemas"]["PersonUpdateDTO"];
};
};
responses: {
@@ -2111,6 +2129,26 @@ export interface operations {
};
};
};
getStats: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"*/*": components["schemas"]["StatsDTO"];
};
};
};
};
getPersonReceivedDocuments: {
parameters: {
query?: never;
@@ -2184,9 +2222,7 @@ export interface operations {
query?: {
page?: number;
size?: number;
/** @description Filter by notification type */
type?: "REPLY" | "MENTION";
/** @description Filter by read status */
read?: boolean;
};
header?: never;
@@ -2459,28 +2495,6 @@ export interface operations {
};
};
};
getResetTokenForTest: {
parameters: {
query: {
email: string;
};
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"*/*": string;
};
};
};
};
importStatus: {
parameters: {
query?: never;