diff --git a/mobile/openapi/README.md b/mobile/openapi/README.md index 601763537a..b2a760ab70 100644 --- a/mobile/openapi/README.md +++ b/mobile/openapi/README.md @@ -3,7 +3,8 @@ Immich API This Dart package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 1.103.1 +- API version: 1.105.1 +- Generator version: 7.5.0 - Build package: org.openapitools.codegen.languages.DartClientCodegen ## Requirements @@ -72,30 +73,29 @@ All URIs are relative to */api* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- -*APIKeyApi* | [**createApiKey**](doc//APIKeyApi.md#createapikey) | **POST** /api-key | -*APIKeyApi* | [**deleteApiKey**](doc//APIKeyApi.md#deleteapikey) | **DELETE** /api-key/{id} | -*APIKeyApi* | [**getApiKey**](doc//APIKeyApi.md#getapikey) | **GET** /api-key/{id} | -*APIKeyApi* | [**getApiKeys**](doc//APIKeyApi.md#getapikeys) | **GET** /api-key | -*APIKeyApi* | [**updateApiKey**](doc//APIKeyApi.md#updateapikey) | **PUT** /api-key/{id} | -*ActivityApi* | [**createActivity**](doc//ActivityApi.md#createactivity) | **POST** /activity | -*ActivityApi* | [**deleteActivity**](doc//ActivityApi.md#deleteactivity) | **DELETE** /activity/{id} | -*ActivityApi* | [**getActivities**](doc//ActivityApi.md#getactivities) | **GET** /activity | -*ActivityApi* | [**getActivityStatistics**](doc//ActivityApi.md#getactivitystatistics) | **GET** /activity/statistics | -*AlbumApi* | [**addAssetsToAlbum**](doc//AlbumApi.md#addassetstoalbum) | **PUT** /album/{id}/assets | -*AlbumApi* | [**addUsersToAlbum**](doc//AlbumApi.md#adduserstoalbum) | **PUT** /album/{id}/users | -*AlbumApi* | [**createAlbum**](doc//AlbumApi.md#createalbum) | **POST** /album | -*AlbumApi* | [**deleteAlbum**](doc//AlbumApi.md#deletealbum) | **DELETE** /album/{id} | -*AlbumApi* | [**getAlbumCount**](doc//AlbumApi.md#getalbumcount) | **GET** /album/count | -*AlbumApi* | [**getAlbumInfo**](doc//AlbumApi.md#getalbuminfo) | **GET** /album/{id} | -*AlbumApi* | [**getAllAlbums**](doc//AlbumApi.md#getallalbums) | **GET** /album | -*AlbumApi* | [**removeAssetFromAlbum**](doc//AlbumApi.md#removeassetfromalbum) | **DELETE** /album/{id}/assets | -*AlbumApi* | [**removeUserFromAlbum**](doc//AlbumApi.md#removeuserfromalbum) | **DELETE** /album/{id}/user/{userId} | -*AlbumApi* | [**updateAlbumInfo**](doc//AlbumApi.md#updatealbuminfo) | **PATCH** /album/{id} | -*AlbumApi* | [**updateAlbumUser**](doc//AlbumApi.md#updatealbumuser) | **PUT** /album/{id}/user/{userId} | +*APIKeyApi* | [**createApiKey**](doc//APIKeyApi.md#createapikey) | **POST** /api-keys | +*APIKeyApi* | [**deleteApiKey**](doc//APIKeyApi.md#deleteapikey) | **DELETE** /api-keys/{id} | +*APIKeyApi* | [**getApiKey**](doc//APIKeyApi.md#getapikey) | **GET** /api-keys/{id} | +*APIKeyApi* | [**getApiKeys**](doc//APIKeyApi.md#getapikeys) | **GET** /api-keys | +*APIKeyApi* | [**updateApiKey**](doc//APIKeyApi.md#updateapikey) | **PUT** /api-keys/{id} | +*ActivityApi* | [**createActivity**](doc//ActivityApi.md#createactivity) | **POST** /activities | +*ActivityApi* | [**deleteActivity**](doc//ActivityApi.md#deleteactivity) | **DELETE** /activities/{id} | +*ActivityApi* | [**getActivities**](doc//ActivityApi.md#getactivities) | **GET** /activities | +*ActivityApi* | [**getActivityStatistics**](doc//ActivityApi.md#getactivitystatistics) | **GET** /activities/statistics | +*AlbumApi* | [**addAssetsToAlbum**](doc//AlbumApi.md#addassetstoalbum) | **PUT** /albums/{id}/assets | +*AlbumApi* | [**addUsersToAlbum**](doc//AlbumApi.md#adduserstoalbum) | **PUT** /albums/{id}/users | +*AlbumApi* | [**createAlbum**](doc//AlbumApi.md#createalbum) | **POST** /albums | +*AlbumApi* | [**deleteAlbum**](doc//AlbumApi.md#deletealbum) | **DELETE** /albums/{id} | +*AlbumApi* | [**getAlbumCount**](doc//AlbumApi.md#getalbumcount) | **GET** /albums/count | +*AlbumApi* | [**getAlbumInfo**](doc//AlbumApi.md#getalbuminfo) | **GET** /albums/{id} | +*AlbumApi* | [**getAllAlbums**](doc//AlbumApi.md#getallalbums) | **GET** /albums | +*AlbumApi* | [**removeAssetFromAlbum**](doc//AlbumApi.md#removeassetfromalbum) | **DELETE** /albums/{id}/assets | +*AlbumApi* | [**removeUserFromAlbum**](doc//AlbumApi.md#removeuserfromalbum) | **DELETE** /albums/{id}/user/{userId} | +*AlbumApi* | [**updateAlbumInfo**](doc//AlbumApi.md#updatealbuminfo) | **PATCH** /albums/{id} | +*AlbumApi* | [**updateAlbumUser**](doc//AlbumApi.md#updatealbumuser) | **PUT** /albums/{id}/user/{userId} | *AssetApi* | [**checkBulkUpload**](doc//AssetApi.md#checkbulkupload) | **POST** /asset/bulk-upload-check | *AssetApi* | [**checkExistingAssets**](doc//AssetApi.md#checkexistingassets) | **POST** /asset/exist | *AssetApi* | [**deleteAssets**](doc//AssetApi.md#deleteassets) | **DELETE** /asset | -*AssetApi* | [**getAllAssets**](doc//AssetApi.md#getallassets) | **GET** /asset | *AssetApi* | [**getAllUserAssetsByDeviceId**](doc//AssetApi.md#getalluserassetsbydeviceid) | **GET** /asset/device/{deviceId} | *AssetApi* | [**getAssetInfo**](doc//AssetApi.md#getassetinfo) | **GET** /asset/{id} | *AssetApi* | [**getAssetStatistics**](doc//AssetApi.md#getassetstatistics) | **GET** /asset/statistics | @@ -103,6 +103,7 @@ Class | Method | HTTP request | Description *AssetApi* | [**getMapMarkers**](doc//AssetApi.md#getmapmarkers) | **GET** /asset/map-marker | *AssetApi* | [**getMemoryLane**](doc//AssetApi.md#getmemorylane) | **GET** /asset/memory-lane | *AssetApi* | [**getRandom**](doc//AssetApi.md#getrandom) | **GET** /asset/random | +*AssetApi* | [**replaceAsset**](doc//AssetApi.md#replaceasset) | **PUT** /asset/{id}/file | *AssetApi* | [**runAssetJobs**](doc//AssetApi.md#runassetjobs) | **POST** /asset/jobs | *AssetApi* | [**serveFile**](doc//AssetApi.md#servefile) | **GET** /asset/file/{id} | *AssetApi* | [**updateAsset**](doc//AssetApi.md#updateasset) | **PUT** /asset/{id} | @@ -118,23 +119,24 @@ Class | Method | HTTP request | Description *DownloadApi* | [**downloadArchive**](doc//DownloadApi.md#downloadarchive) | **POST** /download/archive | *DownloadApi* | [**downloadFile**](doc//DownloadApi.md#downloadfile) | **POST** /download/asset/{id} | *DownloadApi* | [**getDownloadInfo**](doc//DownloadApi.md#getdownloadinfo) | **POST** /download/info | -*FaceApi* | [**getFaces**](doc//FaceApi.md#getfaces) | **GET** /face | -*FaceApi* | [**reassignFacesById**](doc//FaceApi.md#reassignfacesbyid) | **PUT** /face/{id} | -*FaceApi* | [**unassignFace**](doc//FaceApi.md#unassignface) | **DELETE** /face/{id} | -*FileReportApi* | [**fixAuditFiles**](doc//FileReportApi.md#fixauditfiles) | **POST** /report/fix | -*FileReportApi* | [**getAuditFiles**](doc//FileReportApi.md#getauditfiles) | **GET** /report | -*FileReportApi* | [**getFileChecksums**](doc//FileReportApi.md#getfilechecksums) | **POST** /report/checksum | +*DuplicateApi* | [**getAssetDuplicates**](doc//DuplicateApi.md#getassetduplicates) | **GET** /duplicates | +*FaceApi* | [**getFaces**](doc//FaceApi.md#getfaces) | **GET** /faces | +*FaceApi* | [**reassignFacesById**](doc//FaceApi.md#reassignfacesbyid) | **PUT** /faces/{id} | +*FaceApi* | [**unassignFace**](doc//FaceApi.md#unassignface) | **DELETE** /faces/{id} | +*FileReportApi* | [**fixAuditFiles**](doc//FileReportApi.md#fixauditfiles) | **POST** /reports/fix | +*FileReportApi* | [**getAuditFiles**](doc//FileReportApi.md#getauditfiles) | **GET** /reports | +*FileReportApi* | [**getFileChecksums**](doc//FileReportApi.md#getfilechecksums) | **POST** /reports/checksum | *JobApi* | [**getAllJobsStatus**](doc//JobApi.md#getalljobsstatus) | **GET** /jobs | *JobApi* | [**sendJobCommand**](doc//JobApi.md#sendjobcommand) | **PUT** /jobs/{id} | -*LibraryApi* | [**createLibrary**](doc//LibraryApi.md#createlibrary) | **POST** /library | -*LibraryApi* | [**deleteLibrary**](doc//LibraryApi.md#deletelibrary) | **DELETE** /library/{id} | -*LibraryApi* | [**getAllLibraries**](doc//LibraryApi.md#getalllibraries) | **GET** /library | -*LibraryApi* | [**getLibrary**](doc//LibraryApi.md#getlibrary) | **GET** /library/{id} | -*LibraryApi* | [**getLibraryStatistics**](doc//LibraryApi.md#getlibrarystatistics) | **GET** /library/{id}/statistics | -*LibraryApi* | [**removeOfflineFiles**](doc//LibraryApi.md#removeofflinefiles) | **POST** /library/{id}/removeOffline | -*LibraryApi* | [**scanLibrary**](doc//LibraryApi.md#scanlibrary) | **POST** /library/{id}/scan | -*LibraryApi* | [**updateLibrary**](doc//LibraryApi.md#updatelibrary) | **PUT** /library/{id} | -*LibraryApi* | [**validate**](doc//LibraryApi.md#validate) | **POST** /library/{id}/validate | +*LibraryApi* | [**createLibrary**](doc//LibraryApi.md#createlibrary) | **POST** /libraries | +*LibraryApi* | [**deleteLibrary**](doc//LibraryApi.md#deletelibrary) | **DELETE** /libraries/{id} | +*LibraryApi* | [**getAllLibraries**](doc//LibraryApi.md#getalllibraries) | **GET** /libraries | +*LibraryApi* | [**getLibrary**](doc//LibraryApi.md#getlibrary) | **GET** /libraries/{id} | +*LibraryApi* | [**getLibraryStatistics**](doc//LibraryApi.md#getlibrarystatistics) | **GET** /libraries/{id}/statistics | +*LibraryApi* | [**removeOfflineFiles**](doc//LibraryApi.md#removeofflinefiles) | **POST** /libraries/{id}/removeOffline | +*LibraryApi* | [**scanLibrary**](doc//LibraryApi.md#scanlibrary) | **POST** /libraries/{id}/scan | +*LibraryApi* | [**updateLibrary**](doc//LibraryApi.md#updatelibrary) | **PUT** /libraries/{id} | +*LibraryApi* | [**validate**](doc//LibraryApi.md#validate) | **POST** /libraries/{id}/validate | *MemoryApi* | [**addMemoryAssets**](doc//MemoryApi.md#addmemoryassets) | **PUT** /memories/{id}/assets | *MemoryApi* | [**createMemory**](doc//MemoryApi.md#creatememory) | **POST** /memories | *MemoryApi* | [**deleteMemory**](doc//MemoryApi.md#deletememory) | **DELETE** /memories/{id} | @@ -147,21 +149,21 @@ Class | Method | HTTP request | Description *OAuthApi* | [**redirectOAuthToMobile**](doc//OAuthApi.md#redirectoauthtomobile) | **GET** /oauth/mobile-redirect | *OAuthApi* | [**startOAuth**](doc//OAuthApi.md#startoauth) | **POST** /oauth/authorize | *OAuthApi* | [**unlinkOAuthAccount**](doc//OAuthApi.md#unlinkoauthaccount) | **POST** /oauth/unlink | -*PartnerApi* | [**createPartner**](doc//PartnerApi.md#createpartner) | **POST** /partner/{id} | -*PartnerApi* | [**getPartners**](doc//PartnerApi.md#getpartners) | **GET** /partner | -*PartnerApi* | [**removePartner**](doc//PartnerApi.md#removepartner) | **DELETE** /partner/{id} | -*PartnerApi* | [**updatePartner**](doc//PartnerApi.md#updatepartner) | **PUT** /partner/{id} | -*PersonApi* | [**createPerson**](doc//PersonApi.md#createperson) | **POST** /person | -*PersonApi* | [**getAllPeople**](doc//PersonApi.md#getallpeople) | **GET** /person | -*PersonApi* | [**getPerson**](doc//PersonApi.md#getperson) | **GET** /person/{id} | -*PersonApi* | [**getPersonAssets**](doc//PersonApi.md#getpersonassets) | **GET** /person/{id}/assets | -*PersonApi* | [**getPersonStatistics**](doc//PersonApi.md#getpersonstatistics) | **GET** /person/{id}/statistics | -*PersonApi* | [**getPersonThumbnail**](doc//PersonApi.md#getpersonthumbnail) | **GET** /person/{id}/thumbnail | -*PersonApi* | [**mergePerson**](doc//PersonApi.md#mergeperson) | **POST** /person/{id}/merge | -*PersonApi* | [**reassignFaces**](doc//PersonApi.md#reassignfaces) | **PUT** /person/{id}/reassign | -*PersonApi* | [**unassignFaces**](doc//PersonApi.md#unassignfaces) | **DELETE** /person | -*PersonApi* | [**updatePeople**](doc//PersonApi.md#updatepeople) | **PUT** /person | -*PersonApi* | [**updatePerson**](doc//PersonApi.md#updateperson) | **PUT** /person/{id} | +*PartnerApi* | [**createPartner**](doc//PartnerApi.md#createpartner) | **POST** /partners/{id} | +*PartnerApi* | [**getPartners**](doc//PartnerApi.md#getpartners) | **GET** /partners | +*PartnerApi* | [**removePartner**](doc//PartnerApi.md#removepartner) | **DELETE** /partners/{id} | +*PartnerApi* | [**updatePartner**](doc//PartnerApi.md#updatepartner) | **PUT** /partners/{id} | +*PersonApi* | [**createPerson**](doc//PersonApi.md#createperson) | **POST** /people | +*PersonApi* | [**getAllPeople**](doc//PersonApi.md#getallpeople) | **GET** /people | +*PersonApi* | [**getPerson**](doc//PersonApi.md#getperson) | **GET** /people/{id} | +*PersonApi* | [**getPersonAssets**](doc//PersonApi.md#getpersonassets) | **GET** /people/{id}/assets | +*PersonApi* | [**getPersonStatistics**](doc//PersonApi.md#getpersonstatistics) | **GET** /people/{id}/statistics | +*PersonApi* | [**getPersonThumbnail**](doc//PersonApi.md#getpersonthumbnail) | **GET** /people/{id}/thumbnail | +*PersonApi* | [**mergePerson**](doc//PersonApi.md#mergeperson) | **POST** /people/{id}/merge | +*PersonApi* | [**reassignFaces**](doc//PersonApi.md#reassignfaces) | **PUT** /people/{id}/reassign | +*PersonApi* | [**unassignFaces**](doc//PersonApi.md#unassignfaces) | **DELETE** /people | +*PersonApi* | [**updatePeople**](doc//PersonApi.md#updatepeople) | **PUT** /people | +*PersonApi* | [**updatePerson**](doc//PersonApi.md#updateperson) | **PUT** /people/{id} | *SearchApi* | [**getAssetsByCity**](doc//SearchApi.md#getassetsbycity) | **GET** /search/cities | *SearchApi* | [**getExploreData**](doc//SearchApi.md#getexploredata) | **GET** /search/explore | *SearchApi* | [**getSearchSuggestions**](doc//SearchApi.md#getsearchsuggestions) | **GET** /search/suggestions | @@ -171,23 +173,23 @@ Class | Method | HTTP request | Description *SearchApi* | [**searchSmart**](doc//SearchApi.md#searchsmart) | **POST** /search/smart | *ServerInfoApi* | [**getServerConfig**](doc//ServerInfoApi.md#getserverconfig) | **GET** /server-info/config | *ServerInfoApi* | [**getServerFeatures**](doc//ServerInfoApi.md#getserverfeatures) | **GET** /server-info/features | -*ServerInfoApi* | [**getServerInfo**](doc//ServerInfoApi.md#getserverinfo) | **GET** /server-info | *ServerInfoApi* | [**getServerStatistics**](doc//ServerInfoApi.md#getserverstatistics) | **GET** /server-info/statistics | *ServerInfoApi* | [**getServerVersion**](doc//ServerInfoApi.md#getserverversion) | **GET** /server-info/version | +*ServerInfoApi* | [**getStorage**](doc//ServerInfoApi.md#getstorage) | **GET** /server-info/storage | *ServerInfoApi* | [**getSupportedMediaTypes**](doc//ServerInfoApi.md#getsupportedmediatypes) | **GET** /server-info/media-types | *ServerInfoApi* | [**getTheme**](doc//ServerInfoApi.md#gettheme) | **GET** /server-info/theme | *ServerInfoApi* | [**pingServer**](doc//ServerInfoApi.md#pingserver) | **GET** /server-info/ping | *SessionsApi* | [**deleteAllSessions**](doc//SessionsApi.md#deleteallsessions) | **DELETE** /sessions | *SessionsApi* | [**deleteSession**](doc//SessionsApi.md#deletesession) | **DELETE** /sessions/{id} | *SessionsApi* | [**getSessions**](doc//SessionsApi.md#getsessions) | **GET** /sessions | -*SharedLinkApi* | [**addSharedLinkAssets**](doc//SharedLinkApi.md#addsharedlinkassets) | **PUT** /shared-link/{id}/assets | -*SharedLinkApi* | [**createSharedLink**](doc//SharedLinkApi.md#createsharedlink) | **POST** /shared-link | -*SharedLinkApi* | [**getAllSharedLinks**](doc//SharedLinkApi.md#getallsharedlinks) | **GET** /shared-link | -*SharedLinkApi* | [**getMySharedLink**](doc//SharedLinkApi.md#getmysharedlink) | **GET** /shared-link/me | -*SharedLinkApi* | [**getSharedLinkById**](doc//SharedLinkApi.md#getsharedlinkbyid) | **GET** /shared-link/{id} | -*SharedLinkApi* | [**removeSharedLink**](doc//SharedLinkApi.md#removesharedlink) | **DELETE** /shared-link/{id} | -*SharedLinkApi* | [**removeSharedLinkAssets**](doc//SharedLinkApi.md#removesharedlinkassets) | **DELETE** /shared-link/{id}/assets | -*SharedLinkApi* | [**updateSharedLink**](doc//SharedLinkApi.md#updatesharedlink) | **PATCH** /shared-link/{id} | +*SharedLinkApi* | [**addSharedLinkAssets**](doc//SharedLinkApi.md#addsharedlinkassets) | **PUT** /shared-links/{id}/assets | +*SharedLinkApi* | [**createSharedLink**](doc//SharedLinkApi.md#createsharedlink) | **POST** /shared-links | +*SharedLinkApi* | [**getAllSharedLinks**](doc//SharedLinkApi.md#getallsharedlinks) | **GET** /shared-links | +*SharedLinkApi* | [**getMySharedLink**](doc//SharedLinkApi.md#getmysharedlink) | **GET** /shared-links/me | +*SharedLinkApi* | [**getSharedLinkById**](doc//SharedLinkApi.md#getsharedlinkbyid) | **GET** /shared-links/{id} | +*SharedLinkApi* | [**removeSharedLink**](doc//SharedLinkApi.md#removesharedlink) | **DELETE** /shared-links/{id} | +*SharedLinkApi* | [**removeSharedLinkAssets**](doc//SharedLinkApi.md#removesharedlinkassets) | **DELETE** /shared-links/{id}/assets | +*SharedLinkApi* | [**updateSharedLink**](doc//SharedLinkApi.md#updatesharedlink) | **PATCH** /shared-links/{id} | *SyncApi* | [**getDeltaSync**](doc//SyncApi.md#getdeltasync) | **POST** /sync/delta-sync | *SyncApi* | [**getFullSyncForUser**](doc//SyncApi.md#getfullsyncforuser) | **POST** /sync/full-sync | *SystemConfigApi* | [**getConfig**](doc//SystemConfigApi.md#getconfig) | **GET** /system-config | @@ -198,29 +200,29 @@ Class | Method | HTTP request | Description *SystemMetadataApi* | [**getAdminOnboarding**](doc//SystemMetadataApi.md#getadminonboarding) | **GET** /system-metadata/admin-onboarding | *SystemMetadataApi* | [**getReverseGeocodingState**](doc//SystemMetadataApi.md#getreversegeocodingstate) | **GET** /system-metadata/reverse-geocoding-state | *SystemMetadataApi* | [**updateAdminOnboarding**](doc//SystemMetadataApi.md#updateadminonboarding) | **POST** /system-metadata/admin-onboarding | -*TagApi* | [**createTag**](doc//TagApi.md#createtag) | **POST** /tag | -*TagApi* | [**deleteTag**](doc//TagApi.md#deletetag) | **DELETE** /tag/{id} | -*TagApi* | [**getAllTags**](doc//TagApi.md#getalltags) | **GET** /tag | -*TagApi* | [**getTagAssets**](doc//TagApi.md#gettagassets) | **GET** /tag/{id}/assets | -*TagApi* | [**getTagById**](doc//TagApi.md#gettagbyid) | **GET** /tag/{id} | -*TagApi* | [**tagAssets**](doc//TagApi.md#tagassets) | **PUT** /tag/{id}/assets | -*TagApi* | [**untagAssets**](doc//TagApi.md#untagassets) | **DELETE** /tag/{id}/assets | -*TagApi* | [**updateTag**](doc//TagApi.md#updatetag) | **PATCH** /tag/{id} | +*TagApi* | [**createTag**](doc//TagApi.md#createtag) | **POST** /tags | +*TagApi* | [**deleteTag**](doc//TagApi.md#deletetag) | **DELETE** /tags/{id} | +*TagApi* | [**getAllTags**](doc//TagApi.md#getalltags) | **GET** /tags | +*TagApi* | [**getTagAssets**](doc//TagApi.md#gettagassets) | **GET** /tags/{id}/assets | +*TagApi* | [**getTagById**](doc//TagApi.md#gettagbyid) | **GET** /tags/{id} | +*TagApi* | [**tagAssets**](doc//TagApi.md#tagassets) | **PUT** /tags/{id}/assets | +*TagApi* | [**untagAssets**](doc//TagApi.md#untagassets) | **DELETE** /tags/{id}/assets | +*TagApi* | [**updateTag**](doc//TagApi.md#updatetag) | **PATCH** /tags/{id} | *TimelineApi* | [**getTimeBucket**](doc//TimelineApi.md#gettimebucket) | **GET** /timeline/bucket | *TimelineApi* | [**getTimeBuckets**](doc//TimelineApi.md#gettimebuckets) | **GET** /timeline/buckets | *TrashApi* | [**emptyTrash**](doc//TrashApi.md#emptytrash) | **POST** /trash/empty | *TrashApi* | [**restoreAssets**](doc//TrashApi.md#restoreassets) | **POST** /trash/restore/assets | *TrashApi* | [**restoreTrash**](doc//TrashApi.md#restoretrash) | **POST** /trash/restore | -*UserApi* | [**createProfileImage**](doc//UserApi.md#createprofileimage) | **POST** /user/profile-image | -*UserApi* | [**createUser**](doc//UserApi.md#createuser) | **POST** /user | -*UserApi* | [**deleteProfileImage**](doc//UserApi.md#deleteprofileimage) | **DELETE** /user/profile-image | -*UserApi* | [**deleteUser**](doc//UserApi.md#deleteuser) | **DELETE** /user/{id} | -*UserApi* | [**getAllUsers**](doc//UserApi.md#getallusers) | **GET** /user | -*UserApi* | [**getMyUserInfo**](doc//UserApi.md#getmyuserinfo) | **GET** /user/me | -*UserApi* | [**getProfileImage**](doc//UserApi.md#getprofileimage) | **GET** /user/profile-image/{id} | -*UserApi* | [**getUserById**](doc//UserApi.md#getuserbyid) | **GET** /user/info/{id} | -*UserApi* | [**restoreUser**](doc//UserApi.md#restoreuser) | **POST** /user/{id}/restore | -*UserApi* | [**updateUser**](doc//UserApi.md#updateuser) | **PUT** /user | +*UserApi* | [**createProfileImage**](doc//UserApi.md#createprofileimage) | **POST** /users/profile-image | +*UserApi* | [**createUser**](doc//UserApi.md#createuser) | **POST** /users | +*UserApi* | [**deleteProfileImage**](doc//UserApi.md#deleteprofileimage) | **DELETE** /users/profile-image | +*UserApi* | [**deleteUser**](doc//UserApi.md#deleteuser) | **DELETE** /users/{id} | +*UserApi* | [**getAllUsers**](doc//UserApi.md#getallusers) | **GET** /users | +*UserApi* | [**getMyUserInfo**](doc//UserApi.md#getmyuserinfo) | **GET** /users/me | +*UserApi* | [**getProfileImage**](doc//UserApi.md#getprofileimage) | **GET** /users/{id}/profile-image | +*UserApi* | [**getUserById**](doc//UserApi.md#getuserbyid) | **GET** /users/{id} | +*UserApi* | [**restoreUser**](doc//UserApi.md#restoreuser) | **POST** /users/{id}/restore | +*UserApi* | [**updateUser**](doc//UserApi.md#updateuser) | **PUT** /users | ## Documentation For Models @@ -259,6 +261,8 @@ Class | Method | HTTP request | Description - [AssetIdsResponseDto](doc//AssetIdsResponseDto.md) - [AssetJobName](doc//AssetJobName.md) - [AssetJobsDto](doc//AssetJobsDto.md) + - [AssetMediaResponseDto](doc//AssetMediaResponseDto.md) + - [AssetMediaStatus](doc//AssetMediaStatus.md) - [AssetOrder](doc//AssetOrder.md) - [AssetResponseDto](doc//AssetResponseDto.md) - [AssetStatsResponseDto](doc//AssetStatsResponseDto.md) @@ -283,6 +287,8 @@ Class | Method | HTTP request | Description - [DownloadArchiveInfo](doc//DownloadArchiveInfo.md) - [DownloadInfoDto](doc//DownloadInfoDto.md) - [DownloadResponseDto](doc//DownloadResponseDto.md) + - [DuplicateDetectionConfig](doc//DuplicateDetectionConfig.md) + - [DuplicateResponseDto](doc//DuplicateResponseDto.md) - [EntityType](doc//EntityType.md) - [ExifResponseDto](doc//ExifResponseDto.md) - [FaceDto](doc//FaceDto.md) @@ -300,7 +306,6 @@ Class | Method | HTTP request | Description - [JobStatusDto](doc//JobStatusDto.md) - [LibraryResponseDto](doc//LibraryResponseDto.md) - [LibraryStatsResponseDto](doc//LibraryStatsResponseDto.md) - - [LibraryType](doc//LibraryType.md) - [LogLevel](doc//LogLevel.md) - [LoginCredentialDto](doc//LoginCredentialDto.md) - [LoginResponseDto](doc//LoginResponseDto.md) @@ -348,10 +353,10 @@ Class | Method | HTTP request | Description - [SearchSuggestionType](doc//SearchSuggestionType.md) - [ServerConfigDto](doc//ServerConfigDto.md) - [ServerFeaturesDto](doc//ServerFeaturesDto.md) - - [ServerInfoResponseDto](doc//ServerInfoResponseDto.md) - [ServerMediaTypesResponseDto](doc//ServerMediaTypesResponseDto.md) - [ServerPingResponse](doc//ServerPingResponse.md) - [ServerStatsResponseDto](doc//ServerStatsResponseDto.md) + - [ServerStorageResponseDto](doc//ServerStorageResponseDto.md) - [ServerThemeDto](doc//ServerThemeDto.md) - [ServerVersionResponseDto](doc//ServerVersionResponseDto.md) - [SessionResponseDto](doc//SessionResponseDto.md) diff --git a/mobile/openapi/lib/api.dart b/mobile/openapi/lib/api.dart index a76f3ef364..67d109d4cc 100644 --- a/mobile/openapi/lib/api.dart +++ b/mobile/openapi/lib/api.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first @@ -36,6 +36,7 @@ part 'api/asset_api.dart'; part 'api/audit_api.dart'; part 'api/authentication_api.dart'; part 'api/download_api.dart'; +part 'api/duplicate_api.dart'; part 'api/face_api.dart'; part 'api/file_report_api.dart'; part 'api/job_api.dart'; @@ -90,6 +91,8 @@ part 'model/asset_ids_dto.dart'; part 'model/asset_ids_response_dto.dart'; part 'model/asset_job_name.dart'; part 'model/asset_jobs_dto.dart'; +part 'model/asset_media_response_dto.dart'; +part 'model/asset_media_status.dart'; part 'model/asset_order.dart'; part 'model/asset_response_dto.dart'; part 'model/asset_stats_response_dto.dart'; @@ -114,6 +117,8 @@ part 'model/delete_user_dto.dart'; part 'model/download_archive_info.dart'; part 'model/download_info_dto.dart'; part 'model/download_response_dto.dart'; +part 'model/duplicate_detection_config.dart'; +part 'model/duplicate_response_dto.dart'; part 'model/entity_type.dart'; part 'model/exif_response_dto.dart'; part 'model/face_dto.dart'; @@ -131,7 +136,6 @@ part 'model/job_settings_dto.dart'; part 'model/job_status_dto.dart'; part 'model/library_response_dto.dart'; part 'model/library_stats_response_dto.dart'; -part 'model/library_type.dart'; part 'model/log_level.dart'; part 'model/login_credential_dto.dart'; part 'model/login_response_dto.dart'; @@ -179,10 +183,10 @@ part 'model/search_response_dto.dart'; part 'model/search_suggestion_type.dart'; part 'model/server_config_dto.dart'; part 'model/server_features_dto.dart'; -part 'model/server_info_response_dto.dart'; part 'model/server_media_types_response_dto.dart'; part 'model/server_ping_response.dart'; part 'model/server_stats_response_dto.dart'; +part 'model/server_storage_response_dto.dart'; part 'model/server_theme_dto.dart'; part 'model/server_version_response_dto.dart'; part 'model/session_response_dto.dart'; diff --git a/mobile/openapi/lib/api/face_api.dart b/mobile/openapi/lib/api/face_api.dart index fb0c426555..063a1b0119 100644 --- a/mobile/openapi/lib/api/face_api.dart +++ b/mobile/openapi/lib/api/face_api.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first @@ -16,13 +16,13 @@ class FaceApi { final ApiClient apiClient; - /// Performs an HTTP 'GET /face' operation and returns the [Response]. + /// Performs an HTTP 'GET /faces' operation and returns the [Response]. /// Parameters: /// /// * [String] id (required): Future getFacesWithHttpInfo(String id,) async { // ignore: prefer_const_declarations - final path = r'/face'; + final path = r'/faces'; // ignore: prefer_final_locals Object? postBody; @@ -68,7 +68,7 @@ class FaceApi { return null; } - /// Performs an HTTP 'PUT /face/{id}' operation and returns the [Response]. + /// Performs an HTTP 'PUT /faces/{id}' operation and returns the [Response]. /// Parameters: /// /// * [String] id (required): @@ -76,7 +76,7 @@ class FaceApi { /// * [FaceDto] faceDto (required): Future reassignFacesByIdWithHttpInfo(String id, FaceDto faceDto,) async { // ignore: prefer_const_declarations - final path = r'/face/{id}' + final path = r'/faces/{id}' .replaceAll('{id}', id); // ignore: prefer_final_locals @@ -120,13 +120,13 @@ class FaceApi { return null; } - /// Performs an HTTP 'DELETE /face/{id}' operation and returns the [Response]. + /// Performs an HTTP 'DELETE /faces/{id}' operation and returns the [Response]. /// Parameters: /// /// * [String] id (required): Future unassignFaceWithHttpInfo(String id,) async { // ignore: prefer_const_declarations - final path = r'/face/{id}' + final path = r'/faces/{id}' .replaceAll('{id}', id); // ignore: prefer_final_locals diff --git a/mobile/openapi/lib/api/person_api.dart b/mobile/openapi/lib/api/person_api.dart index ad3ffe8e5e..3e9f742767 100644 --- a/mobile/openapi/lib/api/person_api.dart +++ b/mobile/openapi/lib/api/person_api.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first @@ -16,13 +16,13 @@ class PersonApi { final ApiClient apiClient; - /// Performs an HTTP 'POST /person' operation and returns the [Response]. + /// Performs an HTTP 'POST /people' operation and returns the [Response]. /// Parameters: /// /// * [PersonCreateDto] personCreateDto (required): Future createPersonWithHttpInfo(PersonCreateDto personCreateDto,) async { // ignore: prefer_const_declarations - final path = r'/person'; + final path = r'/people'; // ignore: prefer_final_locals Object? postBody = personCreateDto; @@ -63,13 +63,13 @@ class PersonApi { return null; } - /// Performs an HTTP 'GET /person' operation and returns the [Response]. + /// Performs an HTTP 'GET /people' operation and returns the [Response]. /// Parameters: /// /// * [bool] withHidden: Future getAllPeopleWithHttpInfo({ bool? withHidden, }) async { // ignore: prefer_const_declarations - final path = r'/person'; + final path = r'/people'; // ignore: prefer_final_locals Object? postBody; @@ -114,13 +114,13 @@ class PersonApi { return null; } - /// Performs an HTTP 'GET /person/{id}' operation and returns the [Response]. + /// Performs an HTTP 'GET /people/{id}' operation and returns the [Response]. /// Parameters: /// /// * [String] id (required): Future getPersonWithHttpInfo(String id,) async { // ignore: prefer_const_declarations - final path = r'/person/{id}' + final path = r'/people/{id}' .replaceAll('{id}', id); // ignore: prefer_final_locals @@ -162,13 +162,13 @@ class PersonApi { return null; } - /// Performs an HTTP 'GET /person/{id}/assets' operation and returns the [Response]. + /// Performs an HTTP 'GET /people/{id}/assets' operation and returns the [Response]. /// Parameters: /// /// * [String] id (required): Future getPersonAssetsWithHttpInfo(String id,) async { // ignore: prefer_const_declarations - final path = r'/person/{id}/assets' + final path = r'/people/{id}/assets' .replaceAll('{id}', id); // ignore: prefer_final_locals @@ -213,13 +213,13 @@ class PersonApi { return null; } - /// Performs an HTTP 'GET /person/{id}/statistics' operation and returns the [Response]. + /// Performs an HTTP 'GET /people/{id}/statistics' operation and returns the [Response]. /// Parameters: /// /// * [String] id (required): Future getPersonStatisticsWithHttpInfo(String id,) async { // ignore: prefer_const_declarations - final path = r'/person/{id}/statistics' + final path = r'/people/{id}/statistics' .replaceAll('{id}', id); // ignore: prefer_final_locals @@ -261,13 +261,13 @@ class PersonApi { return null; } - /// Performs an HTTP 'GET /person/{id}/thumbnail' operation and returns the [Response]. + /// Performs an HTTP 'GET /people/{id}/thumbnail' operation and returns the [Response]. /// Parameters: /// /// * [String] id (required): Future getPersonThumbnailWithHttpInfo(String id,) async { // ignore: prefer_const_declarations - final path = r'/person/{id}/thumbnail' + final path = r'/people/{id}/thumbnail' .replaceAll('{id}', id); // ignore: prefer_final_locals @@ -309,7 +309,7 @@ class PersonApi { return null; } - /// Performs an HTTP 'POST /person/{id}/merge' operation and returns the [Response]. + /// Performs an HTTP 'POST /people/{id}/merge' operation and returns the [Response]. /// Parameters: /// /// * [String] id (required): @@ -317,7 +317,7 @@ class PersonApi { /// * [MergePersonDto] mergePersonDto (required): Future mergePersonWithHttpInfo(String id, MergePersonDto mergePersonDto,) async { // ignore: prefer_const_declarations - final path = r'/person/{id}/merge' + final path = r'/people/{id}/merge' .replaceAll('{id}', id); // ignore: prefer_final_locals @@ -364,7 +364,7 @@ class PersonApi { return null; } - /// Performs an HTTP 'PUT /person/{id}/reassign' operation and returns the [Response]. + /// Performs an HTTP 'PUT /people/{id}/reassign' operation and returns the [Response]. /// Parameters: /// /// * [String] id (required): @@ -372,7 +372,7 @@ class PersonApi { /// * [AssetFaceUpdateDto] assetFaceUpdateDto (required): Future reassignFacesWithHttpInfo(String id, AssetFaceUpdateDto assetFaceUpdateDto,) async { // ignore: prefer_const_declarations - final path = r'/person/{id}/reassign' + final path = r'/people/{id}/reassign' .replaceAll('{id}', id); // ignore: prefer_final_locals @@ -419,13 +419,13 @@ class PersonApi { return null; } - /// Performs an HTTP 'DELETE /person' operation and returns the [Response]. + /// Performs an HTTP 'DELETE /people' operation and returns the [Response]. /// Parameters: /// /// * [AssetFaceUpdateDto] assetFaceUpdateDto (required): Future unassignFacesWithHttpInfo(AssetFaceUpdateDto assetFaceUpdateDto,) async { // ignore: prefer_const_declarations - final path = r'/person'; + final path = r'/people'; // ignore: prefer_final_locals Object? postBody = assetFaceUpdateDto; @@ -469,13 +469,13 @@ class PersonApi { return null; } - /// Performs an HTTP 'PUT /person' operation and returns the [Response]. + /// Performs an HTTP 'PUT /people' operation and returns the [Response]. /// Parameters: /// /// * [PeopleUpdateDto] peopleUpdateDto (required): Future updatePeopleWithHttpInfo(PeopleUpdateDto peopleUpdateDto,) async { // ignore: prefer_const_declarations - final path = r'/person'; + final path = r'/people'; // ignore: prefer_final_locals Object? postBody = peopleUpdateDto; @@ -519,7 +519,7 @@ class PersonApi { return null; } - /// Performs an HTTP 'PUT /person/{id}' operation and returns the [Response]. + /// Performs an HTTP 'PUT /people/{id}' operation and returns the [Response]. /// Parameters: /// /// * [String] id (required): @@ -527,7 +527,7 @@ class PersonApi { /// * [PersonUpdateDto] personUpdateDto (required): Future updatePersonWithHttpInfo(String id, PersonUpdateDto personUpdateDto,) async { // ignore: prefer_const_declarations - final path = r'/person/{id}' + final path = r'/people/{id}' .replaceAll('{id}', id); // ignore: prefer_final_locals diff --git a/mobile/openapi/lib/api_client.dart b/mobile/openapi/lib/api_client.dart index 0a57fc67f2..06e64dde37 100644 --- a/mobile/openapi/lib/api_client.dart +++ b/mobile/openapi/lib/api_client.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first @@ -250,6 +250,10 @@ class ApiClient { return AssetJobNameTypeTransformer().decode(value); case 'AssetJobsDto': return AssetJobsDto.fromJson(value); + case 'AssetMediaResponseDto': + return AssetMediaResponseDto.fromJson(value); + case 'AssetMediaStatus': + return AssetMediaStatusTypeTransformer().decode(value); case 'AssetOrder': return AssetOrderTypeTransformer().decode(value); case 'AssetResponseDto': @@ -298,6 +302,10 @@ class ApiClient { return DownloadInfoDto.fromJson(value); case 'DownloadResponseDto': return DownloadResponseDto.fromJson(value); + case 'DuplicateDetectionConfig': + return DuplicateDetectionConfig.fromJson(value); + case 'DuplicateResponseDto': + return DuplicateResponseDto.fromJson(value); case 'EntityType': return EntityTypeTypeTransformer().decode(value); case 'ExifResponseDto': @@ -332,8 +340,6 @@ class ApiClient { return LibraryResponseDto.fromJson(value); case 'LibraryStatsResponseDto': return LibraryStatsResponseDto.fromJson(value); - case 'LibraryType': - return LibraryTypeTypeTransformer().decode(value); case 'LogLevel': return LogLevelTypeTransformer().decode(value); case 'LoginCredentialDto': @@ -428,14 +434,14 @@ class ApiClient { return ServerConfigDto.fromJson(value); case 'ServerFeaturesDto': return ServerFeaturesDto.fromJson(value); - case 'ServerInfoResponseDto': - return ServerInfoResponseDto.fromJson(value); case 'ServerMediaTypesResponseDto': return ServerMediaTypesResponseDto.fromJson(value); case 'ServerPingResponse': return ServerPingResponse.fromJson(value); case 'ServerStatsResponseDto': return ServerStatsResponseDto.fromJson(value); + case 'ServerStorageResponseDto': + return ServerStorageResponseDto.fromJson(value); case 'ServerThemeDto': return ServerThemeDto.fromJson(value); case 'ServerVersionResponseDto': diff --git a/mobile/openapi/lib/model/asset_response_dto.dart b/mobile/openapi/lib/model/asset_response_dto.dart index 8f5ae04942..2dfa3e8dc2 100644 --- a/mobile/openapi/lib/model/asset_response_dto.dart +++ b/mobile/openapi/lib/model/asset_response_dto.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first @@ -16,6 +16,7 @@ class AssetResponseDto { required this.checksum, required this.deviceAssetId, required this.deviceId, + this.duplicateId, required this.duration, this.exifInfo, required this.fileCreatedAt, @@ -23,12 +24,10 @@ class AssetResponseDto { required this.hasMetadata, required this.id, required this.isArchived, - this.isExternal, required this.isFavorite, required this.isOffline, - this.isReadOnly, required this.isTrashed, - required this.libraryId, + this.libraryId, this.livePhotoVideoId, required this.localDateTime, required this.originalFileName, @@ -54,6 +53,8 @@ class AssetResponseDto { String deviceId; + String? duplicateId; + String duration; /// @@ -74,31 +75,14 @@ class AssetResponseDto { bool isArchived; - /// This property was deprecated in v1.104.0 - /// - /// Please note: This property should have been non-nullable! Since the specification file - /// does not include a default value (using the "default:" property), however, the generated - /// source code must fall back to having a nullable type. - /// Consider adding a "default:" property in the specification file to hide this note. - /// - bool? isExternal; - bool isFavorite; bool isOffline; - /// This property was deprecated in v1.104.0 - /// - /// Please note: This property should have been non-nullable! Since the specification file - /// does not include a default value (using the "default:" property), however, the generated - /// source code must fall back to having a nullable type. - /// Consider adding a "default:" property in the specification file to hide this note. - /// - bool? isReadOnly; - bool isTrashed; - String libraryId; + /// This property was deprecated in v1.106.0 + String? libraryId; String? livePhotoVideoId; @@ -155,6 +139,7 @@ class AssetResponseDto { other.checksum == checksum && other.deviceAssetId == deviceAssetId && other.deviceId == deviceId && + other.duplicateId == duplicateId && other.duration == duration && other.exifInfo == exifInfo && other.fileCreatedAt == fileCreatedAt && @@ -162,10 +147,8 @@ class AssetResponseDto { other.hasMetadata == hasMetadata && other.id == id && other.isArchived == isArchived && - other.isExternal == isExternal && other.isFavorite == isFavorite && other.isOffline == isOffline && - other.isReadOnly == isReadOnly && other.isTrashed == isTrashed && other.libraryId == libraryId && other.livePhotoVideoId == livePhotoVideoId && @@ -191,6 +174,7 @@ class AssetResponseDto { (checksum.hashCode) + (deviceAssetId.hashCode) + (deviceId.hashCode) + + (duplicateId == null ? 0 : duplicateId!.hashCode) + (duration.hashCode) + (exifInfo == null ? 0 : exifInfo!.hashCode) + (fileCreatedAt.hashCode) + @@ -198,12 +182,10 @@ class AssetResponseDto { (hasMetadata.hashCode) + (id.hashCode) + (isArchived.hashCode) + - (isExternal == null ? 0 : isExternal!.hashCode) + (isFavorite.hashCode) + (isOffline.hashCode) + - (isReadOnly == null ? 0 : isReadOnly!.hashCode) + (isTrashed.hashCode) + - (libraryId.hashCode) + + (libraryId == null ? 0 : libraryId!.hashCode) + (livePhotoVideoId == null ? 0 : livePhotoVideoId!.hashCode) + (localDateTime.hashCode) + (originalFileName.hashCode) + @@ -222,13 +204,18 @@ class AssetResponseDto { (updatedAt.hashCode); @override - String toString() => 'AssetResponseDto[checksum=$checksum, deviceAssetId=$deviceAssetId, deviceId=$deviceId, duration=$duration, exifInfo=$exifInfo, fileCreatedAt=$fileCreatedAt, fileModifiedAt=$fileModifiedAt, hasMetadata=$hasMetadata, id=$id, isArchived=$isArchived, isExternal=$isExternal, isFavorite=$isFavorite, isOffline=$isOffline, isReadOnly=$isReadOnly, isTrashed=$isTrashed, libraryId=$libraryId, livePhotoVideoId=$livePhotoVideoId, localDateTime=$localDateTime, originalFileName=$originalFileName, originalPath=$originalPath, owner=$owner, ownerId=$ownerId, people=$people, resized=$resized, smartInfo=$smartInfo, stack=$stack, stackCount=$stackCount, stackParentId=$stackParentId, tags=$tags, thumbhash=$thumbhash, type=$type, updatedAt=$updatedAt]'; + String toString() => 'AssetResponseDto[checksum=$checksum, deviceAssetId=$deviceAssetId, deviceId=$deviceId, duplicateId=$duplicateId, duration=$duration, exifInfo=$exifInfo, fileCreatedAt=$fileCreatedAt, fileModifiedAt=$fileModifiedAt, hasMetadata=$hasMetadata, id=$id, isArchived=$isArchived, isFavorite=$isFavorite, isOffline=$isOffline, isTrashed=$isTrashed, libraryId=$libraryId, livePhotoVideoId=$livePhotoVideoId, localDateTime=$localDateTime, originalFileName=$originalFileName, originalPath=$originalPath, owner=$owner, ownerId=$ownerId, people=$people, resized=$resized, smartInfo=$smartInfo, stack=$stack, stackCount=$stackCount, stackParentId=$stackParentId, tags=$tags, thumbhash=$thumbhash, type=$type, updatedAt=$updatedAt]'; Map toJson() { final json = {}; json[r'checksum'] = this.checksum; json[r'deviceAssetId'] = this.deviceAssetId; json[r'deviceId'] = this.deviceId; + if (this.duplicateId != null) { + json[r'duplicateId'] = this.duplicateId; + } else { + // json[r'duplicateId'] = null; + } json[r'duration'] = this.duration; if (this.exifInfo != null) { json[r'exifInfo'] = this.exifInfo; @@ -240,20 +227,14 @@ class AssetResponseDto { json[r'hasMetadata'] = this.hasMetadata; json[r'id'] = this.id; json[r'isArchived'] = this.isArchived; - if (this.isExternal != null) { - json[r'isExternal'] = this.isExternal; - } else { - // json[r'isExternal'] = null; - } json[r'isFavorite'] = this.isFavorite; json[r'isOffline'] = this.isOffline; - if (this.isReadOnly != null) { - json[r'isReadOnly'] = this.isReadOnly; - } else { - // json[r'isReadOnly'] = null; - } json[r'isTrashed'] = this.isTrashed; + if (this.libraryId != null) { json[r'libraryId'] = this.libraryId; + } else { + // json[r'libraryId'] = null; + } if (this.livePhotoVideoId != null) { json[r'livePhotoVideoId'] = this.livePhotoVideoId; } else { @@ -312,6 +293,7 @@ class AssetResponseDto { checksum: mapValueOfType(json, r'checksum')!, deviceAssetId: mapValueOfType(json, r'deviceAssetId')!, deviceId: mapValueOfType(json, r'deviceId')!, + duplicateId: mapValueOfType(json, r'duplicateId'), duration: mapValueOfType(json, r'duration')!, exifInfo: ExifResponseDto.fromJson(json[r'exifInfo']), fileCreatedAt: mapDateTime(json, r'fileCreatedAt', r'')!, @@ -319,12 +301,10 @@ class AssetResponseDto { hasMetadata: mapValueOfType(json, r'hasMetadata')!, id: mapValueOfType(json, r'id')!, isArchived: mapValueOfType(json, r'isArchived')!, - isExternal: mapValueOfType(json, r'isExternal'), isFavorite: mapValueOfType(json, r'isFavorite')!, isOffline: mapValueOfType(json, r'isOffline')!, - isReadOnly: mapValueOfType(json, r'isReadOnly'), isTrashed: mapValueOfType(json, r'isTrashed')!, - libraryId: mapValueOfType(json, r'libraryId')!, + libraryId: mapValueOfType(json, r'libraryId'), livePhotoVideoId: mapValueOfType(json, r'livePhotoVideoId'), localDateTime: mapDateTime(json, r'localDateTime', r'')!, originalFileName: mapValueOfType(json, r'originalFileName')!, @@ -400,7 +380,6 @@ class AssetResponseDto { 'isFavorite', 'isOffline', 'isTrashed', - 'libraryId', 'localDateTime', 'originalFileName', 'originalPath', diff --git a/mobile/openapi/lib/model/people_with_faces_response_dto.dart b/mobile/openapi/lib/model/people_with_faces_response_dto.dart index e6a03b6df3..d8793ed172 100644 --- a/mobile/openapi/lib/model/people_with_faces_response_dto.dart +++ b/mobile/openapi/lib/model/people_with_faces_response_dto.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/mobile/openapi/test/people_with_faces_response_dto_test.dart b/mobile/openapi/test/people_with_faces_response_dto_test.dart index ff8c3aea0d..59391ec22a 100644 --- a/mobile/openapi/test/people_with_faces_response_dto_test.dart +++ b/mobile/openapi/test/people_with_faces_response_dto_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/open-api/immich-openapi-specs.json b/open-api/immich-openapi-specs.json index cefcff2d82..ab4f606b09 100644 --- a/open-api/immich-openapi-specs.json +++ b/open-api/immich-openapi-specs.json @@ -75,7 +75,9 @@ "api_key": [] } ], - "tags": ["Activity"] + "tags": [ + "Activity" + ] }, "post": { "operationId": "createActivity", @@ -113,7 +115,9 @@ "api_key": [] } ], - "tags": ["Activity"] + "tags": [ + "Activity" + ] } }, "/activities/statistics": { @@ -162,7 +166,9 @@ "api_key": [] } ], - "tags": ["Activity"] + "tags": [ + "Activity" + ] } }, "/activities/{id}": { @@ -195,7 +201,9 @@ "api_key": [] } ], - "tags": ["Activity"] + "tags": [ + "Activity" + ] } }, "/albums": { @@ -247,7 +255,9 @@ "api_key": [] } ], - "tags": ["Album"] + "tags": [ + "Album" + ] }, "post": { "operationId": "createAlbum", @@ -285,7 +295,9 @@ "api_key": [] } ], - "tags": ["Album"] + "tags": [ + "Album" + ] } }, "/albums/count": { @@ -315,7 +327,9 @@ "api_key": [] } ], - "tags": ["Album"] + "tags": [ + "Album" + ] } }, "/albums/{id}": { @@ -348,7 +362,9 @@ "api_key": [] } ], - "tags": ["Album"] + "tags": [ + "Album" + ] }, "get": { "operationId": "getAlbumInfo", @@ -402,7 +418,9 @@ "api_key": [] } ], - "tags": ["Album"] + "tags": [ + "Album" + ] }, "patch": { "operationId": "updateAlbumInfo", @@ -450,7 +468,9 @@ "api_key": [] } ], - "tags": ["Album"] + "tags": [ + "Album" + ] } }, "/albums/{id}/assets": { @@ -503,7 +523,9 @@ "api_key": [] } ], - "tags": ["Album"] + "tags": [ + "Album" + ] }, "put": { "operationId": "addAssetsToAlbum", @@ -562,7 +584,9 @@ "api_key": [] } ], - "tags": ["Album"] + "tags": [ + "Album" + ] } }, "/albums/{id}/user/{userId}": { @@ -603,7 +627,9 @@ "api_key": [] } ], - "tags": ["Album"] + "tags": [ + "Album" + ] }, "put": { "operationId": "updateAlbumUser", @@ -652,7 +678,9 @@ "api_key": [] } ], - "tags": ["Album"] + "tags": [ + "Album" + ] } }, "/albums/{id}/users": { @@ -702,7 +730,9 @@ "api_key": [] } ], - "tags": ["Album"] + "tags": [ + "Album" + ] } }, "/api-keys": { @@ -735,7 +765,9 @@ "api_key": [] } ], - "tags": ["API Key"] + "tags": [ + "API Key" + ] }, "post": { "operationId": "createApiKey", @@ -773,7 +805,9 @@ "api_key": [] } ], - "tags": ["API Key"] + "tags": [ + "API Key" + ] } }, "/api-keys/{id}": { @@ -806,7 +840,9 @@ "api_key": [] } ], - "tags": ["API Key"] + "tags": [ + "API Key" + ] }, "get": { "operationId": "getApiKey", @@ -844,7 +880,9 @@ "api_key": [] } ], - "tags": ["API Key"] + "tags": [ + "API Key" + ] }, "put": { "operationId": "updateApiKey", @@ -892,7 +930,9 @@ "api_key": [] } ], - "tags": ["API Key"] + "tags": [ + "API Key" + ] } }, "/asset": { @@ -925,7 +965,9 @@ "api_key": [] } ], - "tags": ["Asset"] + "tags": [ + "Asset" + ] }, "put": { "operationId": "updateAssets", @@ -956,7 +998,9 @@ "api_key": [] } ], - "tags": ["Asset"] + "tags": [ + "Asset" + ] } }, "/asset/bulk-upload-check": { @@ -997,7 +1041,9 @@ "api_key": [] } ], - "tags": ["Asset"] + "tags": [ + "Asset" + ] } }, "/asset/device/{deviceId}": { @@ -1040,7 +1086,9 @@ "api_key": [] } ], - "tags": ["Asset"] + "tags": [ + "Asset" + ] } }, "/asset/exist": { @@ -1081,7 +1129,9 @@ "api_key": [] } ], - "tags": ["Asset"] + "tags": [ + "Asset" + ] } }, "/asset/file/{id}": { @@ -1148,7 +1198,9 @@ "api_key": [] } ], - "tags": ["Asset"] + "tags": [ + "Asset" + ] } }, "/asset/jobs": { @@ -1181,7 +1233,9 @@ "api_key": [] } ], - "tags": ["Asset"] + "tags": [ + "Asset" + ] } }, "/asset/map-marker": { @@ -1265,7 +1319,9 @@ "api_key": [] } ], - "tags": ["Asset"] + "tags": [ + "Asset" + ] } }, "/asset/memory-lane": { @@ -1319,7 +1375,9 @@ "api_key": [] } ], - "tags": ["Asset"] + "tags": [ + "Asset" + ] } }, "/asset/random": { @@ -1362,7 +1420,9 @@ "api_key": [] } ], - "tags": ["Asset"] + "tags": [ + "Asset" + ] } }, "/asset/stack/parent": { @@ -1395,7 +1455,9 @@ "api_key": [] } ], - "tags": ["Asset"] + "tags": [ + "Asset" + ] } }, "/asset/statistics": { @@ -1450,7 +1512,9 @@ "api_key": [] } ], - "tags": ["Asset"] + "tags": [ + "Asset" + ] } }, "/asset/thumbnail/{id}": { @@ -1507,7 +1571,9 @@ "api_key": [] } ], - "tags": ["Asset"] + "tags": [ + "Asset" + ] } }, "/asset/upload": { @@ -1566,7 +1632,9 @@ "api_key": [] } ], - "tags": ["Asset"] + "tags": [ + "Asset" + ] } }, "/asset/{id}": { @@ -1614,7 +1682,9 @@ "api_key": [] } ], - "tags": ["Asset"] + "tags": [ + "Asset" + ] }, "put": { "operationId": "updateAsset", @@ -1662,7 +1732,9 @@ "api_key": [] } ], - "tags": ["Asset"] + "tags": [ + "Asset" + ] } }, "/asset/{id}/file": { @@ -1721,7 +1793,9 @@ "api_key": [] } ], - "tags": ["Asset"], + "tags": [ + "Asset" + ], "x-immich-lifecycle": { "addedAt": "v1.106.0" } @@ -1781,7 +1855,9 @@ "api_key": [] } ], - "tags": ["Audit"] + "tags": [ + "Audit" + ] } }, "/auth/admin-sign-up": { @@ -1810,7 +1886,9 @@ "description": "" } }, - "tags": ["Authentication"] + "tags": [ + "Authentication" + ] } }, "/auth/change-password": { @@ -1850,7 +1928,9 @@ "api_key": [] } ], - "tags": ["Authentication"] + "tags": [ + "Authentication" + ] } }, "/auth/login": { @@ -1879,7 +1959,9 @@ "description": "" } }, - "tags": ["Authentication"] + "tags": [ + "Authentication" + ] } }, "/auth/logout": { @@ -1909,7 +1991,9 @@ "api_key": [] } ], - "tags": ["Authentication"] + "tags": [ + "Authentication" + ] } }, "/auth/validateToken": { @@ -1939,7 +2023,9 @@ "api_key": [] } ], - "tags": ["Authentication"] + "tags": [ + "Authentication" + ] } }, "/download/archive": { @@ -1989,7 +2075,9 @@ "api_key": [] } ], - "tags": ["Download"] + "tags": [ + "Download" + ] } }, "/download/asset/{id}": { @@ -2038,7 +2126,9 @@ "api_key": [] } ], - "tags": ["Download"] + "tags": [ + "Download" + ] } }, "/download/info": { @@ -2087,7 +2177,9 @@ "api_key": [] } ], - "tags": ["Download"] + "tags": [ + "Download" + ] } }, "/duplicates": { @@ -2120,7 +2212,9 @@ "api_key": [] } ], - "tags": ["Duplicate"] + "tags": [ + "Duplicate" + ] } }, "/faces": { @@ -2163,10 +2257,52 @@ "api_key": [] } ], - "tags": ["Face"] + "tags": [ + "Face" + ] } }, "/faces/{id}": { + "delete": { + "operationId": "unassignFace", + "parameters": [ + { + "name": "id", + "required": true, + "in": "path", + "schema": { + "format": "uuid", + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AssetFaceResponseDto" + } + } + }, + "description": "" + } + }, + "security": [ + { + "bearer": [] + }, + { + "cookie": [] + }, + { + "api_key": [] + } + ], + "tags": [ + "Face" + ] + }, "put": { "operationId": "reassignFacesById", "parameters": [ @@ -2213,7 +2349,9 @@ "api_key": [] } ], - "tags": ["Face"] + "tags": [ + "Face" + ] } }, "/jobs": { @@ -2243,7 +2381,9 @@ "api_key": [] } ], - "tags": ["Job"] + "tags": [ + "Job" + ] } }, "/jobs/{id}": { @@ -2292,7 +2432,9 @@ "api_key": [] } ], - "tags": ["Job"] + "tags": [ + "Job" + ] } }, "/libraries": { @@ -2325,7 +2467,9 @@ "api_key": [] } ], - "tags": ["Library"] + "tags": [ + "Library" + ] }, "post": { "operationId": "createLibrary", @@ -2363,7 +2507,9 @@ "api_key": [] } ], - "tags": ["Library"] + "tags": [ + "Library" + ] } }, "/libraries/{id}": { @@ -2396,7 +2542,9 @@ "api_key": [] } ], - "tags": ["Library"] + "tags": [ + "Library" + ] }, "get": { "operationId": "getLibrary", @@ -2434,7 +2582,9 @@ "api_key": [] } ], - "tags": ["Library"] + "tags": [ + "Library" + ] }, "put": { "operationId": "updateLibrary", @@ -2482,7 +2632,9 @@ "api_key": [] } ], - "tags": ["Library"] + "tags": [ + "Library" + ] } }, "/libraries/{id}/removeOffline": { @@ -2515,7 +2667,9 @@ "api_key": [] } ], - "tags": ["Library"] + "tags": [ + "Library" + ] } }, "/libraries/{id}/scan": { @@ -2558,7 +2712,9 @@ "api_key": [] } ], - "tags": ["Library"] + "tags": [ + "Library" + ] } }, "/libraries/{id}/statistics": { @@ -2598,7 +2754,9 @@ "api_key": [] } ], - "tags": ["Library"] + "tags": [ + "Library" + ] } }, "/libraries/{id}/validate": { @@ -2648,7 +2806,9 @@ "api_key": [] } ], - "tags": ["Library"] + "tags": [ + "Library" + ] } }, "/memories": { @@ -2681,7 +2841,9 @@ "api_key": [] } ], - "tags": ["Memory"] + "tags": [ + "Memory" + ] }, "post": { "operationId": "createMemory", @@ -2719,7 +2881,9 @@ "api_key": [] } ], - "tags": ["Memory"] + "tags": [ + "Memory" + ] } }, "/memories/{id}": { @@ -2752,7 +2916,9 @@ "api_key": [] } ], - "tags": ["Memory"] + "tags": [ + "Memory" + ] }, "get": { "operationId": "getMemory", @@ -2790,7 +2956,9 @@ "api_key": [] } ], - "tags": ["Memory"] + "tags": [ + "Memory" + ] }, "put": { "operationId": "updateMemory", @@ -2838,7 +3006,9 @@ "api_key": [] } ], - "tags": ["Memory"] + "tags": [ + "Memory" + ] } }, "/memories/{id}/assets": { @@ -2891,7 +3061,9 @@ "api_key": [] } ], - "tags": ["Memory"] + "tags": [ + "Memory" + ] }, "put": { "operationId": "addMemoryAssets", @@ -2942,7 +3114,9 @@ "api_key": [] } ], - "tags": ["Memory"] + "tags": [ + "Memory" + ] } }, "/oauth/authorize": { @@ -2971,7 +3145,9 @@ "description": "" } }, - "tags": ["OAuth"] + "tags": [ + "OAuth" + ] } }, "/oauth/callback": { @@ -3000,7 +3176,9 @@ "description": "" } }, - "tags": ["OAuth"] + "tags": [ + "OAuth" + ] } }, "/oauth/link": { @@ -3040,7 +3218,9 @@ "api_key": [] } ], - "tags": ["OAuth"] + "tags": [ + "OAuth" + ] } }, "/oauth/mobile-redirect": { @@ -3052,7 +3232,9 @@ "description": "" } }, - "tags": ["OAuth"] + "tags": [ + "OAuth" + ] } }, "/oauth/unlink": { @@ -3082,7 +3264,9 @@ "api_key": [] } ], - "tags": ["OAuth"] + "tags": [ + "OAuth" + ] } }, "/partners": { @@ -3094,7 +3278,10 @@ "required": true, "in": "query", "schema": { - "enum": ["shared-by", "shared-with"], + "enum": [ + "shared-by", + "shared-with" + ], "type": "string" } } @@ -3125,7 +3312,9 @@ "api_key": [] } ], - "tags": ["Partner"] + "tags": [ + "Partner" + ] } }, "/partners/{id}": { @@ -3158,7 +3347,9 @@ "api_key": [] } ], - "tags": ["Partner"] + "tags": [ + "Partner" + ] }, "post": { "operationId": "createPartner", @@ -3196,7 +3387,9 @@ "api_key": [] } ], - "tags": ["Partner"] + "tags": [ + "Partner" + ] }, "put": { "operationId": "updatePartner", @@ -3244,10 +3437,44 @@ "api_key": [] } ], - "tags": ["Partner"] + "tags": [ + "Partner" + ] } }, "/people": { + "delete": { + "operationId": "unassignFaces", + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AssetFaceUpdateDto" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/BulkIdResponseDto" + }, + "type": "array" + } + } + }, + "description": "" + } + }, + "tags": [ + "Person" + ] + }, "get": { "operationId": "getAllPeople", "parameters": [ @@ -3283,7 +3510,9 @@ "api_key": [] } ], - "tags": ["Person"] + "tags": [ + "Person" + ] }, "post": { "operationId": "createPerson", @@ -3321,7 +3550,9 @@ "api_key": [] } ], - "tags": ["Person"] + "tags": [ + "Person" + ] }, "put": { "operationId": "updatePeople", @@ -3362,7 +3593,9 @@ "api_key": [] } ], - "tags": ["Person"] + "tags": [ + "Person" + ] } }, "/people/{id}": { @@ -3402,7 +3635,9 @@ "api_key": [] } ], - "tags": ["Person"] + "tags": [ + "Person" + ] }, "put": { "operationId": "updatePerson", @@ -3450,7 +3685,9 @@ "api_key": [] } ], - "tags": ["Person"] + "tags": [ + "Person" + ] } }, "/people/{id}/assets": { @@ -3493,7 +3730,9 @@ "api_key": [] } ], - "tags": ["Person"] + "tags": [ + "Person" + ] } }, "/people/{id}/merge": { @@ -3546,7 +3785,9 @@ "api_key": [] } ], - "tags": ["Person"] + "tags": [ + "Person" + ] } }, "/people/{id}/reassign": { @@ -3599,7 +3840,9 @@ "api_key": [] } ], - "tags": ["Person"] + "tags": [ + "Person" + ] } }, "/people/{id}/statistics": { @@ -3639,7 +3882,9 @@ "api_key": [] } ], - "tags": ["Person"] + "tags": [ + "Person" + ] } }, "/people/{id}/thumbnail": { @@ -3680,7 +3925,9 @@ "api_key": [] } ], - "tags": ["Person"] + "tags": [ + "Person" + ] } }, "/reports": { @@ -3710,7 +3957,9 @@ "api_key": [] } ], - "tags": ["File Report"] + "tags": [ + "File Report" + ] } }, "/reports/checksum": { @@ -3753,7 +4002,9 @@ "api_key": [] } ], - "tags": ["File Report"] + "tags": [ + "File Report" + ] } }, "/reports/fix": { @@ -3786,7 +4037,9 @@ "api_key": [] } ], - "tags": ["File Report"] + "tags": [ + "File Report" + ] } }, "/search/cities": { @@ -3819,7 +4072,9 @@ "api_key": [] } ], - "tags": ["Search"] + "tags": [ + "Search" + ] } }, "/search/explore": { @@ -3852,7 +4107,9 @@ "api_key": [] } ], - "tags": ["Search"] + "tags": [ + "Search" + ] } }, "/search/metadata": { @@ -3892,7 +4149,9 @@ "api_key": [] } ], - "tags": ["Search"] + "tags": [ + "Search" + ] } }, "/search/person": { @@ -3942,7 +4201,9 @@ "api_key": [] } ], - "tags": ["Search"] + "tags": [ + "Search" + ] } }, "/search/places": { @@ -3984,7 +4245,9 @@ "api_key": [] } ], - "tags": ["Search"] + "tags": [ + "Search" + ] } }, "/search/smart": { @@ -4024,7 +4287,9 @@ "api_key": [] } ], - "tags": ["Search"] + "tags": [ + "Search" + ] } }, "/search/suggestions": { @@ -4098,7 +4363,9 @@ "api_key": [] } ], - "tags": ["Search"] + "tags": [ + "Search" + ] } }, "/server-info/config": { @@ -4117,7 +4384,9 @@ "description": "" } }, - "tags": ["Server Info"] + "tags": [ + "Server Info" + ] } }, "/server-info/features": { @@ -4136,7 +4405,9 @@ "description": "" } }, - "tags": ["Server Info"] + "tags": [ + "Server Info" + ] } }, "/server-info/media-types": { @@ -4155,7 +4426,9 @@ "description": "" } }, - "tags": ["Server Info"] + "tags": [ + "Server Info" + ] } }, "/server-info/ping": { @@ -4174,7 +4447,9 @@ "description": "" } }, - "tags": ["Server Info"] + "tags": [ + "Server Info" + ] } }, "/server-info/statistics": { @@ -4204,7 +4479,9 @@ "api_key": [] } ], - "tags": ["Server Info"] + "tags": [ + "Server Info" + ] } }, "/server-info/storage": { @@ -4234,7 +4511,9 @@ "api_key": [] } ], - "tags": ["Server Info"] + "tags": [ + "Server Info" + ] } }, "/server-info/theme": { @@ -4253,7 +4532,9 @@ "description": "" } }, - "tags": ["Server Info"] + "tags": [ + "Server Info" + ] } }, "/server-info/version": { @@ -4272,7 +4553,9 @@ "description": "" } }, - "tags": ["Server Info"] + "tags": [ + "Server Info" + ] } }, "/sessions": { @@ -4295,7 +4578,9 @@ "api_key": [] } ], - "tags": ["Sessions"] + "tags": [ + "Sessions" + ] }, "get": { "operationId": "getSessions", @@ -4326,7 +4611,9 @@ "api_key": [] } ], - "tags": ["Sessions"] + "tags": [ + "Sessions" + ] } }, "/sessions/{id}": { @@ -4359,7 +4646,9 @@ "api_key": [] } ], - "tags": ["Sessions"] + "tags": [ + "Sessions" + ] } }, "/shared-links": { @@ -4392,7 +4681,9 @@ "api_key": [] } ], - "tags": ["Shared Link"] + "tags": [ + "Shared Link" + ] }, "post": { "operationId": "createSharedLink", @@ -4430,7 +4721,9 @@ "api_key": [] } ], - "tags": ["Shared Link"] + "tags": [ + "Shared Link" + ] } }, "/shared-links/me": { @@ -4486,7 +4779,9 @@ "api_key": [] } ], - "tags": ["Shared Link"] + "tags": [ + "Shared Link" + ] } }, "/shared-links/{id}": { @@ -4519,7 +4814,9 @@ "api_key": [] } ], - "tags": ["Shared Link"] + "tags": [ + "Shared Link" + ] }, "get": { "operationId": "getSharedLinkById", @@ -4557,7 +4854,9 @@ "api_key": [] } ], - "tags": ["Shared Link"] + "tags": [ + "Shared Link" + ] }, "patch": { "operationId": "updateSharedLink", @@ -4605,7 +4904,9 @@ "api_key": [] } ], - "tags": ["Shared Link"] + "tags": [ + "Shared Link" + ] } }, "/shared-links/{id}/assets": { @@ -4666,7 +4967,9 @@ "api_key": [] } ], - "tags": ["Shared Link"] + "tags": [ + "Shared Link" + ] }, "put": { "operationId": "addSharedLinkAssets", @@ -4725,7 +5028,9 @@ "api_key": [] } ], - "tags": ["Shared Link"] + "tags": [ + "Shared Link" + ] } }, "/sync/delta-sync": { @@ -4765,7 +5070,9 @@ "api_key": [] } ], - "tags": ["Sync"] + "tags": [ + "Sync" + ] } }, "/sync/full-sync": { @@ -4808,7 +5115,9 @@ "api_key": [] } ], - "tags": ["Sync"] + "tags": [ + "Sync" + ] } }, "/system-config": { @@ -4838,7 +5147,9 @@ "api_key": [] } ], - "tags": ["System Config"] + "tags": [ + "System Config" + ] }, "put": { "operationId": "updateConfig", @@ -4876,7 +5187,9 @@ "api_key": [] } ], - "tags": ["System Config"] + "tags": [ + "System Config" + ] } }, "/system-config/defaults": { @@ -4906,7 +5219,9 @@ "api_key": [] } ], - "tags": ["System Config"] + "tags": [ + "System Config" + ] } }, "/system-config/map/style.json": { @@ -4953,7 +5268,9 @@ "api_key": [] } ], - "tags": ["System Config"] + "tags": [ + "System Config" + ] } }, "/system-config/storage-template-options": { @@ -4983,7 +5300,9 @@ "api_key": [] } ], - "tags": ["System Config"] + "tags": [ + "System Config" + ] } }, "/system-metadata/admin-onboarding": { @@ -5013,7 +5332,9 @@ "api_key": [] } ], - "tags": ["System Metadata"] + "tags": [ + "System Metadata" + ] }, "post": { "operationId": "updateAdminOnboarding", @@ -5044,7 +5365,9 @@ "api_key": [] } ], - "tags": ["System Metadata"] + "tags": [ + "System Metadata" + ] } }, "/system-metadata/reverse-geocoding-state": { @@ -5074,7 +5397,9 @@ "api_key": [] } ], - "tags": ["System Metadata"] + "tags": [ + "System Metadata" + ] } }, "/tags": { @@ -5107,7 +5432,9 @@ "api_key": [] } ], - "tags": ["Tag"] + "tags": [ + "Tag" + ] }, "post": { "operationId": "createTag", @@ -5145,7 +5472,9 @@ "api_key": [] } ], - "tags": ["Tag"] + "tags": [ + "Tag" + ] } }, "/tags/{id}": { @@ -5178,7 +5507,9 @@ "api_key": [] } ], - "tags": ["Tag"] + "tags": [ + "Tag" + ] }, "get": { "operationId": "getTagById", @@ -5216,7 +5547,9 @@ "api_key": [] } ], - "tags": ["Tag"] + "tags": [ + "Tag" + ] }, "patch": { "operationId": "updateTag", @@ -5264,7 +5597,9 @@ "api_key": [] } ], - "tags": ["Tag"] + "tags": [ + "Tag" + ] } }, "/tags/{id}/assets": { @@ -5317,7 +5652,9 @@ "api_key": [] } ], - "tags": ["Tag"] + "tags": [ + "Tag" + ] }, "get": { "operationId": "getTagAssets", @@ -5358,7 +5695,9 @@ "api_key": [] } ], - "tags": ["Tag"] + "tags": [ + "Tag" + ] }, "put": { "operationId": "tagAssets", @@ -5409,7 +5748,9 @@ "api_key": [] } ], - "tags": ["Tag"] + "tags": [ + "Tag" + ] } }, "/timeline/bucket": { @@ -5542,7 +5883,9 @@ "api_key": [] } ], - "tags": ["Timeline"] + "tags": [ + "Timeline" + ] } }, "/timeline/buckets": { @@ -5667,7 +6010,9 @@ "api_key": [] } ], - "tags": ["Timeline"] + "tags": [ + "Timeline" + ] } }, "/trash/empty": { @@ -5690,7 +6035,9 @@ "api_key": [] } ], - "tags": ["Trash"] + "tags": [ + "Trash" + ] } }, "/trash/restore": { @@ -5713,7 +6060,9 @@ "api_key": [] } ], - "tags": ["Trash"] + "tags": [ + "Trash" + ] } }, "/trash/restore/assets": { @@ -5746,7 +6095,9 @@ "api_key": [] } ], - "tags": ["Trash"] + "tags": [ + "Trash" + ] } }, "/users": { @@ -5788,7 +6139,9 @@ "api_key": [] } ], - "tags": ["User"] + "tags": [ + "User" + ] }, "post": { "operationId": "createUser", @@ -5826,7 +6179,9 @@ "api_key": [] } ], - "tags": ["User"] + "tags": [ + "User" + ] }, "put": { "operationId": "updateUser", @@ -5864,7 +6219,9 @@ "api_key": [] } ], - "tags": ["User"] + "tags": [ + "User" + ] } }, "/users/me": { @@ -5894,7 +6251,9 @@ "api_key": [] } ], - "tags": ["User"] + "tags": [ + "User" + ] } }, "/users/profile-image": { @@ -5917,7 +6276,9 @@ "api_key": [] } ], - "tags": ["User"] + "tags": [ + "User" + ] }, "post": { "operationId": "createProfileImage", @@ -5956,7 +6317,9 @@ "api_key": [] } ], - "tags": ["User"] + "tags": [ + "User" + ] } }, "/users/{id}": { @@ -6006,7 +6369,9 @@ "api_key": [] } ], - "tags": ["User"] + "tags": [ + "User" + ] }, "get": { "operationId": "getUserById", @@ -6044,7 +6409,9 @@ "api_key": [] } ], - "tags": ["User"] + "tags": [ + "User" + ] } }, "/users/{id}/profile-image": { @@ -6085,7 +6452,9 @@ "api_key": [] } ], - "tags": ["User"] + "tags": [ + "User" + ] } }, "/users/{id}/restore": { @@ -6125,7 +6494,9 @@ "api_key": [] } ], - "tags": ["User"] + "tags": [ + "User" + ] } } }, @@ -6178,7 +6549,10 @@ "type": "string" } }, - "required": ["apiKey", "secret"], + "required": [ + "apiKey", + "secret" + ], "type": "object" }, "APIKeyResponseDto": { @@ -6198,7 +6572,12 @@ "type": "string" } }, - "required": ["createdAt", "id", "name", "updatedAt"], + "required": [ + "createdAt", + "id", + "name", + "updatedAt" + ], "type": "object" }, "APIKeyUpdateDto": { @@ -6207,7 +6586,9 @@ "type": "string" } }, - "required": ["name"], + "required": [ + "name" + ], "type": "object" }, "ActivityCreateDto": { @@ -6227,7 +6608,10 @@ "$ref": "#/components/schemas/ReactionType" } }, - "required": ["albumId", "type"], + "required": [ + "albumId", + "type" + ], "type": "object" }, "ActivityResponseDto": { @@ -6248,14 +6632,23 @@ "type": "string" }, "type": { - "enum": ["comment", "like"], + "enum": [ + "comment", + "like" + ], "type": "string" }, "user": { "$ref": "#/components/schemas/UserDto" } }, - "required": ["assetId", "createdAt", "id", "type", "user"], + "required": [ + "assetId", + "createdAt", + "id", + "type", + "user" + ], "type": "object" }, "ActivityStatisticsResponseDto": { @@ -6264,7 +6657,9 @@ "type": "integer" } }, - "required": ["comments"], + "required": [ + "comments" + ], "type": "object" }, "AddUsersDto": { @@ -6276,7 +6671,9 @@ "type": "array" } }, - "required": ["albumUsers"], + "required": [ + "albumUsers" + ], "type": "object" }, "AdminOnboardingUpdateDto": { @@ -6285,7 +6682,9 @@ "type": "boolean" } }, - "required": ["isOnboarded"], + "required": [ + "isOnboarded" + ], "type": "object" }, "AlbumCountResponseDto": { @@ -6300,7 +6699,11 @@ "type": "integer" } }, - "required": ["notShared", "owned", "shared"], + "required": [ + "notShared", + "owned", + "shared" + ], "type": "object" }, "AlbumResponseDto": { @@ -6400,7 +6803,9 @@ "type": "string" } }, - "required": ["userId"], + "required": [ + "userId" + ], "type": "object" }, "AlbumUserCreateDto": { @@ -6413,7 +6818,10 @@ "type": "string" } }, - "required": ["role", "userId"], + "required": [ + "role", + "userId" + ], "type": "object" }, "AlbumUserResponseDto": { @@ -6425,11 +6833,17 @@ "$ref": "#/components/schemas/UserResponseDto" } }, - "required": ["role", "user"], + "required": [ + "role", + "user" + ], "type": "object" }, "AlbumUserRole": { - "enum": ["editor", "viewer"], + "enum": [ + "editor", + "viewer" + ], "type": "string" }, "AllJobStatusResponseDto": { @@ -6508,7 +6922,9 @@ "type": "array" } }, - "required": ["ids"], + "required": [ + "ids" + ], "type": "object" }, "AssetBulkUpdateDto": { @@ -6547,7 +6963,9 @@ "type": "string" } }, - "required": ["ids"], + "required": [ + "ids" + ], "type": "object" }, "AssetBulkUploadCheckDto": { @@ -6559,7 +6977,9 @@ "type": "array" } }, - "required": ["assets"], + "required": [ + "assets" + ], "type": "object" }, "AssetBulkUploadCheckItem": { @@ -6572,7 +6992,10 @@ "type": "string" } }, - "required": ["checksum", "id"], + "required": [ + "checksum", + "id" + ], "type": "object" }, "AssetBulkUploadCheckResponseDto": { @@ -6584,13 +7007,18 @@ "type": "array" } }, - "required": ["results"], + "required": [ + "results" + ], "type": "object" }, "AssetBulkUploadCheckResult": { "properties": { "action": { - "enum": ["accept", "reject"], + "enum": [ + "accept", + "reject" + ], "type": "string" }, "assetId": { @@ -6600,11 +7028,17 @@ "type": "string" }, "reason": { - "enum": ["duplicate", "unsupported-format"], + "enum": [ + "duplicate", + "unsupported-format" + ], "type": "string" } }, - "required": ["action", "id"], + "required": [ + "action", + "id" + ], "type": "object" }, "AssetDeltaSyncDto": { @@ -6621,7 +7055,10 @@ "type": "array" } }, - "required": ["updatedAfter", "userIds"], + "required": [ + "updatedAfter", + "userIds" + ], "type": "object" }, "AssetDeltaSyncResponseDto": { @@ -6642,7 +7079,11 @@ "type": "array" } }, - "required": ["deleted", "needsFullSync", "upserted"], + "required": [ + "deleted", + "needsFullSync", + "upserted" + ], "type": "object" }, "AssetFaceResponseDto": { @@ -6699,7 +7140,9 @@ "type": "array" } }, - "required": ["data"], + "required": [ + "data" + ], "type": "object" }, "AssetFaceUpdateItem": { @@ -6713,7 +7156,10 @@ "type": "string" } }, - "required": ["assetId", "personId"], + "required": [ + "assetId", + "personId" + ], "type": "object" }, "AssetFaceWithoutPersonResponseDto": { @@ -6761,7 +7207,10 @@ "type": "string" } }, - "required": ["duplicate", "id"], + "required": [ + "duplicate", + "id" + ], "type": "object" }, "AssetFullSyncDto": { @@ -6787,7 +7236,10 @@ "type": "string" } }, - "required": ["limit", "updatedUntil"], + "required": [ + "limit", + "updatedUntil" + ], "type": "object" }, "AssetIdsDto": { @@ -6800,7 +7252,9 @@ "type": "array" } }, - "required": ["assetIds"], + "required": [ + "assetIds" + ], "type": "object" }, "AssetIdsResponseDto": { @@ -6809,18 +7263,29 @@ "type": "string" }, "error": { - "enum": ["duplicate", "no_permission", "not_found"], + "enum": [ + "duplicate", + "no_permission", + "not_found" + ], "type": "string" }, "success": { "type": "boolean" } }, - "required": ["assetId", "success"], + "required": [ + "assetId", + "success" + ], "type": "object" }, "AssetJobName": { - "enum": ["regenerate-thumbnail", "refresh-metadata", "transcode-video"], + "enum": [ + "regenerate-thumbnail", + "refresh-metadata", + "transcode-video" + ], "type": "string" }, "AssetJobsDto": { @@ -6836,7 +7301,10 @@ "$ref": "#/components/schemas/AssetJobName" } }, - "required": ["assetIds", "name"], + "required": [ + "assetIds", + "name" + ], "type": "object" }, "AssetMediaReplaceDto": { @@ -6881,15 +7349,24 @@ "$ref": "#/components/schemas/AssetMediaStatus" } }, - "required": ["id", "status"], + "required": [ + "id", + "status" + ], "type": "object" }, "AssetMediaStatus": { - "enum": ["replaced", "duplicate"], + "enum": [ + "replaced", + "duplicate" + ], "type": "string" }, "AssetOrder": { - "enum": ["asc", "desc"], + "enum": [ + "asc", + "desc" + ], "type": "string" }, "AssetResponseDto": { @@ -7044,15 +7521,28 @@ "type": "integer" } }, - "required": ["images", "total", "videos"], + "required": [ + "images", + "total", + "videos" + ], "type": "object" }, "AssetTypeEnum": { - "enum": ["IMAGE", "VIDEO", "AUDIO", "OTHER"], + "enum": [ + "IMAGE", + "VIDEO", + "AUDIO", + "OTHER" + ], "type": "string" }, "AudioCodec": { - "enum": ["mp3", "aac", "libopus"], + "enum": [ + "mp3", + "aac", + "libopus" + ], "type": "string" }, "AuditDeletesResponseDto": { @@ -7067,13 +7557,21 @@ "type": "boolean" } }, - "required": ["ids", "needsFullSync"], + "required": [ + "ids", + "needsFullSync" + ], "type": "object" }, "BulkIdResponseDto": { "properties": { "error": { - "enum": ["duplicate", "no_permission", "not_found", "unknown"], + "enum": [ + "duplicate", + "no_permission", + "not_found", + "unknown" + ], "type": "string" }, "id": { @@ -7083,7 +7581,10 @@ "type": "boolean" } }, - "required": ["id", "success"], + "required": [ + "id", + "success" + ], "type": "object" }, "BulkIdsDto": { @@ -7096,7 +7597,9 @@ "type": "array" } }, - "required": ["ids"], + "required": [ + "ids" + ], "type": "object" }, "CLIPConfig": { @@ -7114,15 +7617,25 @@ "$ref": "#/components/schemas/ModelType" } }, - "required": ["enabled", "modelName"], + "required": [ + "enabled", + "modelName" + ], "type": "object" }, "CLIPMode": { - "enum": ["vision", "text"], + "enum": [ + "vision", + "text" + ], "type": "string" }, "CQMode": { - "enum": ["auto", "cqp", "icq"], + "enum": [ + "auto", + "cqp", + "icq" + ], "type": "string" }, "ChangePasswordDto": { @@ -7137,7 +7650,10 @@ "type": "string" } }, - "required": ["newPassword", "password"], + "required": [ + "newPassword", + "password" + ], "type": "object" }, "CheckExistingAssetsDto": { @@ -7152,7 +7668,10 @@ "type": "string" } }, - "required": ["deviceAssetIds", "deviceId"], + "required": [ + "deviceAssetIds", + "deviceId" + ], "type": "object" }, "CheckExistingAssetsResponseDto": { @@ -7164,11 +7683,16 @@ "type": "array" } }, - "required": ["existingIds"], + "required": [ + "existingIds" + ], "type": "object" }, "Colorspace": { - "enum": ["srgb", "p3"], + "enum": [ + "srgb", + "p3" + ], "type": "string" }, "CreateAlbumDto": { @@ -7193,7 +7717,9 @@ "type": "string" } }, - "required": ["albumName"], + "required": [ + "albumName" + ], "type": "object" }, "CreateAssetDto": { @@ -7271,7 +7797,9 @@ "type": "string" } }, - "required": ["ownerId"], + "required": [ + "ownerId" + ], "type": "object" }, "CreateProfileImageDto": { @@ -7281,7 +7809,9 @@ "type": "string" } }, - "required": ["file"], + "required": [ + "file" + ], "type": "object" }, "CreateProfileImageResponseDto": { @@ -7293,7 +7823,10 @@ "type": "string" } }, - "required": ["profileImagePath", "userId"], + "required": [ + "profileImagePath", + "userId" + ], "type": "object" }, "CreateTagDto": { @@ -7305,7 +7838,10 @@ "$ref": "#/components/schemas/TagTypeEnum" } }, - "required": ["name", "type"], + "required": [ + "name", + "type" + ], "type": "object" }, "CreateUserDto": { @@ -7339,7 +7875,11 @@ "type": "string" } }, - "required": ["email", "name", "password"], + "required": [ + "email", + "name", + "password" + ], "type": "object" }, "DeleteUserDto": { @@ -7362,7 +7902,10 @@ "type": "integer" } }, - "required": ["assetIds", "size"], + "required": [ + "assetIds", + "size" + ], "type": "object" }, "DownloadInfoDto": { @@ -7401,7 +7944,10 @@ "type": "integer" } }, - "required": ["archives", "totalSize"], + "required": [ + "archives", + "totalSize" + ], "type": "object" }, "DuplicateDetectionConfig": { @@ -7416,7 +7962,10 @@ "type": "number" } }, - "required": ["enabled", "maxDistance"], + "required": [ + "enabled", + "maxDistance" + ], "type": "object" }, "DuplicateResponseDto": { @@ -7431,11 +7980,17 @@ "type": "string" } }, - "required": ["assets", "duplicateId"], + "required": [ + "assets", + "duplicateId" + ], "type": "object" }, "EntityType": { - "enum": ["ASSET", "ALBUM"], + "enum": [ + "ASSET", + "ALBUM" + ], "type": "string" }, "ExifResponseDto": { @@ -7558,7 +8113,9 @@ "type": "string" } }, - "required": ["id"], + "required": [ + "id" + ], "type": "object" }, "FileChecksumDto": { @@ -7570,7 +8127,9 @@ "type": "array" } }, - "required": ["filenames"], + "required": [ + "filenames" + ], "type": "object" }, "FileChecksumResponseDto": { @@ -7582,7 +8141,10 @@ "type": "string" } }, - "required": ["checksum", "filename"], + "required": [ + "checksum", + "filename" + ], "type": "object" }, "FileReportDto": { @@ -7600,7 +8162,10 @@ "type": "array" } }, - "required": ["extras", "orphans"], + "required": [ + "extras", + "orphans" + ], "type": "object" }, "FileReportFixDto": { @@ -7612,7 +8177,9 @@ "type": "array" } }, - "required": ["items"], + "required": [ + "items" + ], "type": "object" }, "FileReportItemDto": { @@ -7634,15 +8201,29 @@ "type": "string" } }, - "required": ["entityId", "entityType", "pathType", "pathValue"], + "required": [ + "entityId", + "entityType", + "pathType", + "pathValue" + ], "type": "object" }, "ImageFormat": { - "enum": ["jpeg", "webp"], + "enum": [ + "jpeg", + "webp" + ], "type": "string" }, "JobCommand": { - "enum": ["start", "pause", "resume", "empty", "clear-failed"], + "enum": [ + "start", + "pause", + "resume", + "empty", + "clear-failed" + ], "type": "string" }, "JobCommandDto": { @@ -7654,7 +8235,10 @@ "type": "boolean" } }, - "required": ["command", "force"], + "required": [ + "command", + "force" + ], "type": "object" }, "JobCountsDto": { @@ -7714,7 +8298,9 @@ "type": "integer" } }, - "required": ["concurrency"], + "required": [ + "concurrency" + ], "type": "object" }, "JobStatusDto": { @@ -7726,7 +8312,10 @@ "$ref": "#/components/schemas/QueueStatusDto" } }, - "required": ["jobCounts", "queueStatus"], + "required": [ + "jobCounts", + "queueStatus" + ], "type": "object" }, "LibraryResponseDto": { @@ -7802,11 +8391,23 @@ "type": "integer" } }, - "required": ["photos", "total", "usage", "videos"], + "required": [ + "photos", + "total", + "usage", + "videos" + ], "type": "object" }, "LogLevel": { - "enum": ["verbose", "debug", "log", "warn", "error", "fatal"], + "enum": [ + "verbose", + "debug", + "log", + "warn", + "error", + "fatal" + ], "type": "string" }, "LoginCredentialDto": { @@ -7820,7 +8421,10 @@ "type": "string" } }, - "required": ["email", "password"], + "required": [ + "email", + "password" + ], "type": "object" }, "LoginResponseDto": { @@ -7867,7 +8471,10 @@ "type": "boolean" } }, - "required": ["redirectUri", "successful"], + "required": [ + "redirectUri", + "successful" + ], "type": "object" }, "MapMarkerResponseDto": { @@ -7896,11 +8503,21 @@ "type": "string" } }, - "required": ["city", "country", "id", "lat", "lon", "state"], + "required": [ + "city", + "country", + "id", + "lat", + "lon", + "state" + ], "type": "object" }, "MapTheme": { - "enum": ["light", "dark"], + "enum": [ + "light", + "dark" + ], "type": "string" }, "MemoryCreateDto": { @@ -7930,7 +8547,11 @@ "$ref": "#/components/schemas/MemoryType" } }, - "required": ["data", "memoryAt", "type"], + "required": [ + "data", + "memoryAt", + "type" + ], "type": "object" }, "MemoryLaneResponseDto": { @@ -7945,7 +8566,10 @@ "type": "integer" } }, - "required": ["assets", "yearsAgo"], + "required": [ + "assets", + "yearsAgo" + ], "type": "object" }, "MemoryResponseDto": { @@ -7985,7 +8609,9 @@ "type": "string" }, "type": { - "enum": ["on_this_day"], + "enum": [ + "on_this_day" + ], "type": "string" }, "updatedAt": { @@ -8007,7 +8633,9 @@ "type": "object" }, "MemoryType": { - "enum": ["on_this_day"], + "enum": [ + "on_this_day" + ], "type": "string" }, "MemoryUpdateDto": { @@ -8036,7 +8664,9 @@ "type": "array" } }, - "required": ["ids"], + "required": [ + "ids" + ], "type": "object" }, "MetadataSearchDto": { @@ -8186,7 +8816,10 @@ "type": "object" }, "ModelType": { - "enum": ["facial-recognition", "clip"], + "enum": [ + "facial-recognition", + "clip" + ], "type": "string" }, "OAuthAuthorizeResponseDto": { @@ -8195,7 +8828,9 @@ "type": "string" } }, - "required": ["url"], + "required": [ + "url" + ], "type": "object" }, "OAuthCallbackDto": { @@ -8204,7 +8839,9 @@ "type": "string" } }, - "required": ["url"], + "required": [ + "url" + ], "type": "object" }, "OAuthConfigDto": { @@ -8213,7 +8850,9 @@ "type": "string" } }, - "required": ["redirectUri"], + "required": [ + "redirectUri" + ], "type": "object" }, "OnThisDayDto": { @@ -8223,7 +8862,9 @@ "type": "number" } }, - "required": ["year"], + "required": [ + "year" + ], "type": "object" }, "PartnerResponseDto": { @@ -8309,7 +8950,11 @@ "type": "object" }, "PathEntityType": { - "enum": ["asset", "person", "user"], + "enum": [ + "asset", + "person", + "user" + ], "type": "string" }, "PathType": { @@ -8339,7 +8984,11 @@ "type": "integer" } }, - "required": ["hidden", "people", "total"], + "required": [ + "hidden", + "people", + "total" + ], "type": "object" }, "PeopleUpdateDto": { @@ -8351,7 +9000,9 @@ "type": "array" } }, - "required": ["people"], + "required": [ + "people" + ], "type": "object" }, "PeopleUpdateItem": { @@ -8379,7 +9030,9 @@ "type": "string" } }, - "required": ["id"], + "required": [ + "id" + ], "type": "object" }, "PeopleWithFacesResponseDto": { @@ -8394,7 +9047,10 @@ "type": "array" } }, - "required": ["numberOfFaces", "visiblePeople"], + "required": [ + "numberOfFaces", + "visiblePeople" + ], "type": "object" }, "PersonCreateDto": { @@ -8436,7 +9092,13 @@ "type": "string" } }, - "required": ["birthDate", "id", "isHidden", "name", "thumbnailPath"], + "required": [ + "birthDate", + "id", + "isHidden", + "name", + "thumbnailPath" + ], "type": "object" }, "PersonStatisticsResponseDto": { @@ -8445,7 +9107,9 @@ "type": "integer" } }, - "required": ["assets"], + "required": [ + "assets" + ], "type": "object" }, "PersonUpdateDto": { @@ -8525,7 +9189,11 @@ "type": "string" } }, - "required": ["latitude", "longitude", "name"], + "required": [ + "latitude", + "longitude", + "name" + ], "type": "object" }, "QueueStatusDto": { @@ -8537,15 +9205,24 @@ "type": "boolean" } }, - "required": ["isActive", "isPaused"], + "required": [ + "isActive", + "isPaused" + ], "type": "object" }, "ReactionLevel": { - "enum": ["album", "asset"], + "enum": [ + "album", + "asset" + ], "type": "string" }, "ReactionType": { - "enum": ["comment", "like"], + "enum": [ + "comment", + "like" + ], "type": "string" }, "RecognitionConfig": { @@ -8596,7 +9273,10 @@ "type": "string" } }, - "required": ["lastImportFileName", "lastUpdate"], + "required": [ + "lastImportFileName", + "lastUpdate" + ], "type": "object" }, "ScanLibraryDto": { @@ -8631,7 +9311,12 @@ "type": "integer" } }, - "required": ["count", "facets", "items", "total"], + "required": [ + "count", + "facets", + "items", + "total" + ], "type": "object" }, "SearchAssetResponseDto": { @@ -8659,7 +9344,13 @@ "type": "integer" } }, - "required": ["count", "facets", "items", "nextPage", "total"], + "required": [ + "count", + "facets", + "items", + "nextPage", + "total" + ], "type": "object" }, "SearchExploreItem": { @@ -8671,7 +9362,10 @@ "type": "string" } }, - "required": ["data", "value"], + "required": [ + "data", + "value" + ], "type": "object" }, "SearchExploreResponseDto": { @@ -8686,7 +9380,10 @@ "type": "array" } }, - "required": ["fieldName", "items"], + "required": [ + "fieldName", + "items" + ], "type": "object" }, "SearchFacetCountResponseDto": { @@ -8698,7 +9395,10 @@ "type": "string" } }, - "required": ["count", "value"], + "required": [ + "count", + "value" + ], "type": "object" }, "SearchFacetResponseDto": { @@ -8713,7 +9413,10 @@ "type": "string" } }, - "required": ["counts", "fieldName"], + "required": [ + "counts", + "fieldName" + ], "type": "object" }, "SearchResponseDto": { @@ -8725,11 +9428,20 @@ "$ref": "#/components/schemas/SearchAssetResponseDto" } }, - "required": ["albums", "assets"], + "required": [ + "albums", + "assets" + ], "type": "object" }, "SearchSuggestionType": { - "enum": ["country", "state", "city", "camera-make", "camera-model"], + "enum": [ + "country", + "state", + "city", + "camera-make", + "camera-model" + ], "type": "string" }, "ServerConfigDto": { @@ -8847,7 +9559,11 @@ "type": "array" } }, - "required": ["image", "sidecar", "video"], + "required": [ + "image", + "sidecar", + "video" + ], "type": "object" }, "ServerPingResponse": { @@ -8858,7 +9574,9 @@ "type": "string" } }, - "required": ["res"], + "required": [ + "res" + ], "type": "object" }, "ServerStatsResponseDto": { @@ -8892,7 +9610,12 @@ "type": "integer" } }, - "required": ["photos", "usage", "usageByUser", "videos"], + "required": [ + "photos", + "usage", + "usageByUser", + "videos" + ], "type": "object" }, "ServerStorageResponseDto": { @@ -8940,7 +9663,9 @@ "type": "string" } }, - "required": ["customCss"], + "required": [ + "customCss" + ], "type": "object" }, "ServerVersionResponseDto": { @@ -8955,7 +9680,11 @@ "type": "integer" } }, - "required": ["major", "minor", "patch"], + "required": [ + "major", + "minor", + "patch" + ], "type": "object" }, "SessionResponseDto": { @@ -9029,7 +9758,9 @@ "$ref": "#/components/schemas/SharedLinkType" } }, - "required": ["type"], + "required": [ + "type" + ], "type": "object" }, "SharedLinkEditDto": { @@ -9132,7 +9863,10 @@ "type": "object" }, "SharedLinkType": { - "enum": ["ALBUM", "INDIVIDUAL"], + "enum": [ + "ALBUM", + "INDIVIDUAL" + ], "type": "string" }, "SignUpDto": { @@ -9150,7 +9884,11 @@ "type": "string" } }, - "required": ["email", "name", "password"], + "required": [ + "email", + "name", + "password" + ], "type": "object" }, "SmartInfoResponseDto": { @@ -9285,7 +10023,9 @@ "type": "boolean" } }, - "required": ["query"], + "required": [ + "query" + ], "type": "object" }, "SystemConfigDto": { @@ -9568,7 +10308,10 @@ "$ref": "#/components/schemas/SystemConfigLibraryWatchDto" } }, - "required": ["scan", "watch"], + "required": [ + "scan", + "watch" + ], "type": "object" }, "SystemConfigLibraryScanDto": { @@ -9580,7 +10323,10 @@ "type": "boolean" } }, - "required": ["cronExpression", "enabled"], + "required": [ + "cronExpression", + "enabled" + ], "type": "object" }, "SystemConfigLibraryWatchDto": { @@ -9589,7 +10335,9 @@ "type": "boolean" } }, - "required": ["enabled"], + "required": [ + "enabled" + ], "type": "object" }, "SystemConfigLoggingDto": { @@ -9601,7 +10349,10 @@ "$ref": "#/components/schemas/LogLevel" } }, - "required": ["enabled", "level"], + "required": [ + "enabled", + "level" + ], "type": "object" }, "SystemConfigMachineLearningDto": { @@ -9643,7 +10394,11 @@ "type": "string" } }, - "required": ["darkStyle", "enabled", "lightStyle"], + "required": [ + "darkStyle", + "enabled", + "lightStyle" + ], "type": "object" }, "SystemConfigNewVersionCheckDto": { @@ -9652,7 +10407,9 @@ "type": "boolean" } }, - "required": ["enabled"], + "required": [ + "enabled" + ], "type": "object" }, "SystemConfigNotificationsDto": { @@ -9661,7 +10418,9 @@ "$ref": "#/components/schemas/SystemConfigSmtpDto" } }, - "required": ["smtp"], + "required": [ + "smtp" + ], "type": "object" }, "SystemConfigOAuthDto": { @@ -9734,7 +10493,9 @@ "type": "boolean" } }, - "required": ["enabled"], + "required": [ + "enabled" + ], "type": "object" }, "SystemConfigReverseGeocodingDto": { @@ -9743,7 +10504,9 @@ "type": "boolean" } }, - "required": ["enabled"], + "required": [ + "enabled" + ], "type": "object" }, "SystemConfigServerDto": { @@ -9755,7 +10518,10 @@ "type": "string" } }, - "required": ["externalDomain", "loginPageMessage"], + "required": [ + "externalDomain", + "loginPageMessage" + ], "type": "object" }, "SystemConfigSmtpDto": { @@ -9773,7 +10539,12 @@ "$ref": "#/components/schemas/SystemConfigSmtpTransportDto" } }, - "required": ["enabled", "from", "replyTo", "transport"], + "required": [ + "enabled", + "from", + "replyTo", + "transport" + ], "type": "object" }, "SystemConfigSmtpTransportDto": { @@ -9796,7 +10567,13 @@ "type": "string" } }, - "required": ["host", "ignoreCert", "password", "port", "username"], + "required": [ + "host", + "ignoreCert", + "password", + "port", + "username" + ], "type": "object" }, "SystemConfigStorageTemplateDto": { @@ -9811,7 +10588,11 @@ "type": "string" } }, - "required": ["enabled", "hashVerificationEnabled", "template"], + "required": [ + "enabled", + "hashVerificationEnabled", + "template" + ], "type": "object" }, "SystemConfigTemplateStorageOptionDto": { @@ -9883,7 +10664,9 @@ "type": "string" } }, - "required": ["customCss"], + "required": [ + "customCss" + ], "type": "object" }, "SystemConfigTrashDto": { @@ -9896,7 +10679,10 @@ "type": "boolean" } }, - "required": ["days", "enabled"], + "required": [ + "days", + "enabled" + ], "type": "object" }, "SystemConfigUserDto": { @@ -9906,7 +10692,9 @@ "type": "integer" } }, - "required": ["deleteDelay"], + "required": [ + "deleteDelay" + ], "type": "object" }, "TagResponseDto": { @@ -9924,15 +10712,27 @@ "type": "string" } }, - "required": ["id", "name", "type", "userId"], + "required": [ + "id", + "name", + "type", + "userId" + ], "type": "object" }, "TagTypeEnum": { - "enum": ["OBJECT", "FACE", "CUSTOM"], + "enum": [ + "OBJECT", + "FACE", + "CUSTOM" + ], "type": "string" }, "ThumbnailFormat": { - "enum": ["JPEG", "WEBP"], + "enum": [ + "JPEG", + "WEBP" + ], "type": "string" }, "TimeBucketResponseDto": { @@ -9944,23 +10744,46 @@ "type": "string" } }, - "required": ["count", "timeBucket"], + "required": [ + "count", + "timeBucket" + ], "type": "object" }, "TimeBucketSize": { - "enum": ["DAY", "MONTH"], + "enum": [ + "DAY", + "MONTH" + ], "type": "string" }, "ToneMapping": { - "enum": ["hable", "mobius", "reinhard", "disabled"], + "enum": [ + "hable", + "mobius", + "reinhard", + "disabled" + ], "type": "string" }, "TranscodeHWAccel": { - "enum": ["nvenc", "qsv", "vaapi", "rkmpp", "disabled"], + "enum": [ + "nvenc", + "qsv", + "vaapi", + "rkmpp", + "disabled" + ], "type": "string" }, "TranscodePolicy": { - "enum": ["all", "optimal", "bitrate", "required", "disabled"], + "enum": [ + "all", + "optimal", + "bitrate", + "required", + "disabled" + ], "type": "string" }, "UpdateAlbumDto": { @@ -9990,7 +10813,9 @@ "$ref": "#/components/schemas/AlbumUserRole" } }, - "required": ["role"], + "required": [ + "role" + ], "type": "object" }, "UpdateAssetDto": { @@ -10042,7 +10867,9 @@ "type": "boolean" } }, - "required": ["inTimeline"], + "required": [ + "inTimeline" + ], "type": "object" }, "UpdateStackParentDto": { @@ -10056,7 +10883,10 @@ "type": "string" } }, - "required": ["newParentId", "oldParentId"], + "required": [ + "newParentId", + "oldParentId" + ], "type": "object" }, "UpdateTagDto": { @@ -10104,7 +10934,9 @@ "type": "string" } }, - "required": ["id"], + "required": [ + "id" + ], "type": "object" }, "UsageByUserDto": { @@ -10174,7 +11006,13 @@ "type": "string" } }, - "required": ["avatarColor", "email", "id", "name", "profileImagePath"], + "required": [ + "avatarColor", + "email", + "id", + "name", + "profileImagePath" + ], "type": "object" }, "UserResponseDto": { @@ -10257,7 +11095,11 @@ "type": "object" }, "UserStatus": { - "enum": ["active", "removing", "deleted"], + "enum": [ + "active", + "removing", + "deleted" + ], "type": "string" }, "ValidateAccessTokenResponseDto": { @@ -10266,7 +11108,9 @@ "type": "boolean" } }, - "required": ["authStatus"], + "required": [ + "authStatus" + ], "type": "object" }, "ValidateLibraryDto": { @@ -10299,7 +11143,10 @@ "type": "string" } }, - "required": ["importPath", "isValid"], + "required": [ + "importPath", + "isValid" + ], "type": "object" }, "ValidateLibraryResponseDto": { @@ -10314,9 +11161,14 @@ "type": "object" }, "VideoCodec": { - "enum": ["h264", "hevc", "vp9", "av1"], + "enum": [ + "h264", + "hevc", + "vp9", + "av1" + ], "type": "string" } } } -} +} \ No newline at end of file diff --git a/open-api/typescript-sdk/src/fetch-client.ts b/open-api/typescript-sdk/src/fetch-client.ts index a82bd78148..19c7df34a3 100644 --- a/open-api/typescript-sdk/src/fetch-client.ts +++ b/open-api/typescript-sdk/src/fetch-client.ts @@ -1712,7 +1712,7 @@ export function unassignFace({ id }: { return oazapfts.ok(oazapfts.fetchJson<{ status: 200; data: AssetFaceResponseDto; - }>(`/face/${encodeURIComponent(id)}`, { + }>(`/faces/${encodeURIComponent(id)}`, { ...opts, method: "DELETE" })); @@ -2020,7 +2020,7 @@ export function unassignFaces({ assetFaceUpdateDto }: { return oazapfts.ok(oazapfts.fetchJson<{ status: 200; data: BulkIdResponseDto[]; - }>("/person", oazapfts.json({ + }>("/people", oazapfts.json({ ...opts, method: "DELETE", body: assetFaceUpdateDto