diff --git a/mobile/openapi/doc/SmartSearchDto.md b/mobile/openapi/doc/SmartSearchDto.md index 5d34143df2..fd9bc35490 100644 Binary files a/mobile/openapi/doc/SmartSearchDto.md and b/mobile/openapi/doc/SmartSearchDto.md differ diff --git a/mobile/openapi/lib/model/smart_search_dto.dart b/mobile/openapi/lib/model/smart_search_dto.dart index b82a3345fb..269a071020 100644 Binary files a/mobile/openapi/lib/model/smart_search_dto.dart and b/mobile/openapi/lib/model/smart_search_dto.dart differ diff --git a/mobile/openapi/test/smart_search_dto_test.dart b/mobile/openapi/test/smart_search_dto_test.dart index 858c7769c8..84a85cf208 100644 Binary files a/mobile/openapi/test/smart_search_dto_test.dart and b/mobile/openapi/test/smart_search_dto_test.dart differ diff --git a/open-api/immich-openapi-specs.json b/open-api/immich-openapi-specs.json index 6870e140ca..790fe8e8ec 100644 --- a/open-api/immich-openapi-specs.json +++ b/open-api/immich-openapi-specs.json @@ -9435,6 +9435,9 @@ "isMotion": { "type": "boolean" }, + "isNotInAlbum": { + "type": "boolean" + }, "isOffline": { "type": "boolean" }, diff --git a/open-api/typescript-sdk/axios-client/api.ts b/open-api/typescript-sdk/axios-client/api.ts index 622820c752..e57a95a127 100644 --- a/open-api/typescript-sdk/axios-client/api.ts +++ b/open-api/typescript-sdk/axios-client/api.ts @@ -3880,6 +3880,12 @@ export interface SmartSearchDto { * @memberof SmartSearchDto */ 'isMotion'?: boolean; + /** + * + * @type {boolean} + * @memberof SmartSearchDto + */ + 'isNotInAlbum'?: boolean; /** * * @type {boolean} diff --git a/open-api/typescript-sdk/fetch-client.ts b/open-api/typescript-sdk/fetch-client.ts index 9b3a359863..2c14eb4fae 100644 Binary files a/open-api/typescript-sdk/fetch-client.ts and b/open-api/typescript-sdk/fetch-client.ts differ diff --git a/server/src/domain/search/dto/search.dto.ts b/server/src/domain/search/dto/search.dto.ts index 5aa73433d9..519e39fd2e 100644 --- a/server/src/domain/search/dto/search.dto.ts +++ b/server/src/domain/search/dto/search.dto.ts @@ -118,6 +118,9 @@ class BaseSearchDto { @Type(() => Number) @Optional() size?: number; + + @QueryBoolean({ optional: true }) + isNotInAlbum?: boolean; } export class MetadataSearchDto extends BaseSearchDto { @@ -170,9 +173,6 @@ export class MetadataSearchDto extends BaseSearchDto { @ApiProperty({ enumName: 'AssetOrder', enum: AssetOrder }) order?: AssetOrder; - @QueryBoolean({ optional: true }) - isNotInAlbum?: boolean; - @Optional() personIds?: string[]; }