diff --git a/cli/src/api/open-api/api.ts b/cli/src/api/open-api/api.ts index e89d2eef51..edee313546 100644 --- a/cli/src/api/open-api/api.ts +++ b/cli/src/api/open-api/api.ts @@ -666,13 +666,13 @@ export interface AssetStatsResponseDto { * @type {number} * @memberof AssetStatsResponseDto */ - 'videos': number; + 'total': number; /** * * @type {number} * @memberof AssetStatsResponseDto */ - 'total': number; + 'videos': number; } /** * diff --git a/mobile/openapi/doc/AssetStatsResponseDto.md b/mobile/openapi/doc/AssetStatsResponseDto.md index d7937a7eda..370b7c059b 100644 Binary files a/mobile/openapi/doc/AssetStatsResponseDto.md and b/mobile/openapi/doc/AssetStatsResponseDto.md differ diff --git a/mobile/openapi/lib/model/asset_stats_response_dto.dart b/mobile/openapi/lib/model/asset_stats_response_dto.dart index 1221712d89..d910917745 100644 Binary files a/mobile/openapi/lib/model/asset_stats_response_dto.dart and b/mobile/openapi/lib/model/asset_stats_response_dto.dart differ diff --git a/mobile/openapi/test/asset_stats_response_dto_test.dart b/mobile/openapi/test/asset_stats_response_dto_test.dart index 3e5d8b548f..eaeace92a7 100644 Binary files a/mobile/openapi/test/asset_stats_response_dto_test.dart and b/mobile/openapi/test/asset_stats_response_dto_test.dart differ diff --git a/server/immich-openapi-specs.json b/server/immich-openapi-specs.json index 7ddf3bfc6c..53148546d7 100644 --- a/server/immich-openapi-specs.json +++ b/server/immich-openapi-specs.json @@ -4973,15 +4973,14 @@ "type": "object" }, "AssetStatsResponseDto": { - "type": "object", "properties": { "images": { "type": "integer" }, - "videos": { + "total": { "type": "integer" }, - "total": { + "videos": { "type": "integer" } }, @@ -4989,7 +4988,8 @@ "images", "videos", "total" - ] + ], + "type": "object" }, "AssetTypeEnum": { "enum": [ diff --git a/web/src/api/open-api/api.ts b/web/src/api/open-api/api.ts index ef165bd4ba..4cf39af6d5 100644 --- a/web/src/api/open-api/api.ts +++ b/web/src/api/open-api/api.ts @@ -666,13 +666,13 @@ export interface AssetStatsResponseDto { * @type {number} * @memberof AssetStatsResponseDto */ - 'videos': number; + 'total': number; /** * * @type {number} * @memberof AssetStatsResponseDto */ - 'total': number; + 'videos': number; } /** *