diff --git a/app/client/api-client/types.gen.ts b/app/client/api-client/types.gen.ts index d025a2fe..33078a5d 100644 --- a/app/client/api-client/types.gen.ts +++ b/app/client/api-client/types.gen.ts @@ -2691,6 +2691,12 @@ export type ExportVolumesErrors = { 400: { error: string; }; + /** + * Password required for export + */ + 401: { + error: string; + }; /** * Volume not found */ @@ -2849,6 +2855,12 @@ export type ExportBackupSchedulesErrors = { 400: { error: string; }; + /** + * Password required for export + */ + 401: { + error: string; + }; /** * Backup schedule not found */ diff --git a/app/server/modules/lifecycle/config-export.dto.ts b/app/server/modules/lifecycle/config-export.dto.ts index f0e66859..ce5d53ab 100644 --- a/app/server/modules/lifecycle/config-export.dto.ts +++ b/app/server/modules/lifecycle/config-export.dto.ts @@ -133,6 +133,14 @@ export const volumesExportDto = describeRoute({ }, }, }, + 401: { + description: "Password required for export", + content: { + "application/json": { + schema: resolver(errorResponseSchema), + }, + }, + }, 404: { description: "Volume not found", content: { @@ -269,6 +277,14 @@ export const backupSchedulesExportDto = describeRoute({ }, }, }, + 401: { + description: "Password required for export", + content: { + "application/json": { + schema: resolver(errorResponseSchema), + }, + }, + }, 404: { description: "Backup schedule not found", content: {