Skip to content

High performance self-hosted photo and video management solution.

chore(server): auto sort open api spec (#3500)

Jason Rasmussen310fab526d7d
diff --git a/cli/src/api/open-api/api.ts b/cli/src/api/open-api/api.ts
index 6e237d8640..6d10c4eb2a 100644
--- a/cli/src/api/open-api/api.ts
+++ b/cli/src/api/open-api/api.ts
@@ -44,16 +44,16 @@ export interface APIKeyCreateDto {
export interface APIKeyCreateResponseDto {
/**
*
- * @type {string}
+ * @type {APIKeyResponseDto}
* @memberof APIKeyCreateResponseDto
*/
- 'secret': string;
+ 'apiKey': APIKeyResponseDto;
/**
*
- * @type {APIKeyResponseDto}
+ * @type {string}
* @memberof APIKeyCreateResponseDto
*/
- 'apiKey': APIKeyResponseDto;
+ 'secret': string;
}
/**
*
@@ -66,19 +66,19 @@ export interface APIKeyResponseDto {
* @type {string}
* @memberof APIKeyResponseDto
*/
- 'id': string;
+ 'createdAt': string;
/**
*
* @type {string}
* @memberof APIKeyResponseDto
*/
- 'name': string;
+ 'id': string;
/**
*
* @type {string}
* @memberof APIKeyResponseDto
*/
- 'createdAt': string;
+ 'name': string;
/**
*
* @type {string}
@@ -120,10 +120,10 @@ export interface AddAssetsDto {
export interface AddAssetsResponseDto {
/**
*
- * @type {number}
+ * @type {AlbumResponseDto}
* @memberof AddAssetsResponseDto
*/
- 'successfullyAdded': number;
+ 'album'?: AlbumResponseDto;
/**
*
* @type {Array<string>}
@@ -132,10 +132,10 @@ export interface AddAssetsResponseDto {
'alreadyInAlbum': Array<string>;
/**
*
- * @type {AlbumResponseDto}
+ * @type {number}
* @memberof AddAssetsResponseDto
*/
- 'album'?: AlbumResponseDto;
+ 'successfullyAdded': number;
}
/**
*
@@ -161,7 +161,7 @@ export interface AdminSignupResponseDto {
* @type {string}
* @memberof AdminSignupResponseDto
*/
- 'id': string;
+ 'createdAt': string;
/**
*
* @type {string}
@@ -179,13 +179,13 @@ export interface AdminSignupResponseDto {
* @type {string}
* @memberof AdminSignupResponseDto
*/
- 'lastName': string;
+ 'id': string;
/**
*
* @type {string}
* @memberof AdminSignupResponseDto
*/
- 'createdAt': string;
+ 'lastName': string;
}
/**
*
@@ -198,19 +198,19 @@ export interface AlbumCountResponseDto {
* @type {number}
* @memberof AlbumCountResponseDto
*/
- 'owned': number;
+ 'notShared': number;
/**
*
* @type {number}
* @memberof AlbumCountResponseDto
*/
- 'shared': number;
+ 'owned': number;
/**
*
* @type {number}
* @memberof AlbumCountResponseDto
*/
- 'notShared': number;
+ 'shared': number;
}
/**
*
@@ -220,28 +220,28 @@ export interface AlbumCountResponseDto {
export interface AlbumResponseDto {
/**
*
- * @type {number}
+ * @type {string}
* @memberof AlbumResponseDto
*/
- 'assetCount': number;
+ 'albumName': string;
/**
*
* @type {string}
* @memberof AlbumResponseDto
*/
- 'id': string;
+ 'albumThumbnailAssetId': string | null;
/**
*
- * @type {string}
+ * @type {number}
* @memberof AlbumResponseDto
*/
- 'ownerId': string;
+ 'assetCount': number;
/**
*
- * @type {string}
+ * @type {Array<AssetResponseDto>}
* @memberof AlbumResponseDto
*/
- 'albumName': string;
+ 'assets': Array<AssetResponseDto>;
/**
*
* @type {string}
@@ -253,43 +253,43 @@ export interface AlbumResponseDto {
* @type {string}
* @memberof AlbumResponseDto
*/
- 'updatedAt': string;
+ 'id': string;
/**
*
* @type {string}
* @memberof AlbumResponseDto
*/
- 'albumThumbnailAssetId': string | null;
+ 'lastModifiedAssetTimestamp'?: string;
/**
*
- * @type {boolean}
+ * @type {UserResponseDto}
* @memberof AlbumResponseDto
*/
- 'shared': boolean;
+ 'owner': UserResponseDto;
/**
*
- * @type {Array<UserResponseDto>}
+ * @type {string}
* @memberof AlbumResponseDto
*/
- 'sharedUsers': Array<UserResponseDto>;
+ 'ownerId': string;
/**
*
- * @type {Array<AssetResponseDto>}
+ * @type {boolean}
* @memberof AlbumResponseDto
*/
- 'assets': Array<AssetResponseDto>;
+ 'shared': boolean;
/**
*
- * @type {UserResponseDto}
+ * @type {Array<UserResponseDto>}
* @memberof AlbumResponseDto
*/
- 'owner': UserResponseDto;
+ 'sharedUsers': Array<UserResponseDto>;
/**
*
* @type {string}
* @memberof AlbumResponseDto
*/
- 'lastModifiedAssetTimestamp'?: string;
+ 'updatedAt': string;
}
/**
*
@@ -302,19 +302,19 @@ export interface AllJobStatusResponseDto {
* @type {JobStatusDto}
* @memberof AllJobStatusResponseDto
*/
- 'thumbnailGeneration': JobStatusDto;
+ 'backgroundTask': JobStatusDto;
/**
*
* @type {JobStatusDto}
* @memberof AllJobStatusResponseDto
*/
- 'metadataExtraction': JobStatusDto;
+ 'clipEncoding': JobStatusDto;
/**
*
* @type {JobStatusDto}
* @memberof AllJobStatusResponseDto
*/
- 'videoConversion': JobStatusDto;
+ 'metadataExtraction': JobStatusDto;
/**
*
* @type {JobStatusDto}
@@ -326,37 +326,37 @@ export interface AllJobStatusResponseDto {
* @type {JobStatusDto}
* @memberof AllJobStatusResponseDto
*/
- 'clipEncoding': JobStatusDto;
+ 'recognizeFaces': JobStatusDto;
/**
*
* @type {JobStatusDto}
* @memberof AllJobStatusResponseDto
*/
- 'storageTemplateMigration': JobStatusDto;
+ 'search': JobStatusDto;
/**
*
* @type {JobStatusDto}
* @memberof AllJobStatusResponseDto
*/
- 'backgroundTask': JobStatusDto;
+ 'sidecar': JobStatusDto;
/**
*
* @type {JobStatusDto}
* @memberof AllJobStatusResponseDto
*/
- 'search': JobStatusDto;
+ 'storageTemplateMigration': JobStatusDto;
/**
*
* @type {JobStatusDto}
* @memberof AllJobStatusResponseDto
*/
- 'recognizeFaces': JobStatusDto;
+ 'thumbnailGeneration': JobStatusDto;
/**
*
* @type {JobStatusDto}
* @memberof AllJobStatusResponseDto
*/
- 'sidecar': JobStatusDto;
+ 'videoConversion': JobStatusDto;
}
/**
*
@@ -378,17 +378,17 @@ export interface AssetBulkUploadCheckDto {
*/
export interface AssetBulkUploadCheckItem {
/**
- *
+ * base64 or hex encoded sha1 hash
* @type {string}
* @memberof AssetBulkUploadCheckItem
*/
- 'id': string;
+ 'checksum': string;
/**
- * base64 or hex encoded sha1 hash
+ *
* @type {string}
* @memberof AssetBulkUploadCheckItem
*/
- 'checksum': string;
+ 'id': string;
}
/**
*
@@ -414,25 +414,25 @@ export interface AssetBulkUploadCheckResult {
* @type {string}
* @memberof AssetBulkUploadCheckResult
*/
- 'id': string;
+ 'action': AssetBulkUploadCheckResultActionEnum;
/**
*
* @type {string}
* @memberof AssetBulkUploadCheckResult
*/
- 'action': AssetBulkUploadCheckResultActionEnum;
+ 'assetId'?: string;
/**
*
* @type {string}
* @memberof AssetBulkUploadCheckResult
*/
- 'reason'?: AssetBulkUploadCheckResultReasonEnum;
+ 'id': string;
/**
*
* @type {string}
* @memberof AssetBulkUploadCheckResult
*/
- 'assetId'?: string;
+ 'reason'?: AssetBulkUploadCheckResultReasonEnum;
}
export const AssetBulkUploadCheckResultActionEnum = {
@@ -456,16 +456,16 @@ export type AssetBulkUploadCheckResultReasonEnum = typeof AssetBulkUploadCheckRe
export interface AssetCountByTimeBucket {
/**
*
- * @type {string}
+ * @type {number}
* @memberof AssetCountByTimeBucket
*/
- 'timeBucket': string;
+ 'count': number;
/**
*
- * @type {number}
+ * @type {string}
* @memberof AssetCountByTimeBucket
*/
- 'count': number;
+ 'timeBucket': string;
}
/**
*
@@ -475,16 +475,16 @@ export interface AssetCountByTimeBucket {
export interface AssetCountByTimeBucketResponseDto {
/**
*
- * @type {number}
+ * @type {Array<AssetCountByTimeBucket>}
* @memberof AssetCountByTimeBucketResponseDto
*/
- 'totalCount': number;
+ 'buckets': Array<AssetCountByTimeBucket>;
/**
*
- * @type {Array<AssetCountByTimeBucket>}
+ * @type {number}
* @memberof AssetCountByTimeBucketResponseDto
*/
- 'buckets': Array<AssetCountByTimeBucket>;
+ 'totalCount': number;
}
/**
*
@@ -494,16 +494,16 @@ export interface AssetCountByTimeBucketResponseDto {
export interface AssetFileUploadResponseDto {
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof AssetFileUploadResponseDto
*/
- 'id': string;
+ 'duplicate': boolean;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof AssetFileUploadResponseDto
*/
- 'duplicate': boolean;
+ 'id': string;
}
/**
*
@@ -532,16 +532,16 @@ export interface AssetIdsResponseDto {
'assetId': string;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof AssetIdsResponseDto
*/
- 'success': boolean;
+ 'error'?: AssetIdsResponseDtoErrorEnum;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof AssetIdsResponseDto
*/
- 'error'?: AssetIdsResponseDtoErrorEnum;
+ 'success': boolean;
}
export const AssetIdsResponseDtoErrorEnum = {
@@ -559,101 +559,101 @@ export type AssetIdsResponseDtoErrorEnum = typeof AssetIdsResponseDtoErrorEnum[k
*/
export interface AssetResponseDto {
/**
- *
- * @type {AssetTypeEnum}
+ * base64 encoded sha1 hash
+ * @type {string}
* @memberof AssetResponseDto
*/
- 'type': AssetTypeEnum;
+ 'checksum': string;
/**
*
* @type {string}
* @memberof AssetResponseDto
*/
- 'id': string;
+ 'deviceAssetId': string;
/**
*
* @type {string}
* @memberof AssetResponseDto
*/
- 'deviceAssetId': string;
+ 'deviceId': string;
/**
*
* @type {string}
* @memberof AssetResponseDto
*/
- 'ownerId': string;
+ 'duration': string;
/**
*
- * @type {string}
+ * @type {ExifResponseDto}
* @memberof AssetResponseDto
*/
- 'deviceId': string;
+ 'exifInfo'?: ExifResponseDto;
/**
*
* @type {string}
* @memberof AssetResponseDto
*/
- 'originalPath': string;
+ 'fileCreatedAt': string;
/**
*
* @type {string}
* @memberof AssetResponseDto
*/
- 'originalFileName': string;
+ 'fileModifiedAt': string;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof AssetResponseDto
*/
- 'resized': boolean;
+ 'id': string;
/**
- * base64 encoded thumbhash
- * @type {string}
+ *
+ * @type {boolean}
* @memberof AssetResponseDto
*/
- 'thumbhash': string | null;
+ 'isArchived': boolean;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof AssetResponseDto
*/
- 'fileCreatedAt': string;
+ 'isFavorite': boolean;
/**
*
* @type {string}
* @memberof AssetResponseDto
*/
- 'fileModifiedAt': string;
+ 'livePhotoVideoId'?: string | null;
/**
*
* @type {string}
* @memberof AssetResponseDto
*/
- 'updatedAt': string;
+ 'originalFileName': string;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof AssetResponseDto
*/
- 'isFavorite': boolean;
+ 'originalPath': string;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof AssetResponseDto
*/
- 'isArchived': boolean;
+ 'ownerId': string;
/**
*
- * @type {string}
+ * @type {Array<PersonResponseDto>}
* @memberof AssetResponseDto
*/
- 'duration': string;
+ 'people'?: Array<PersonResponseDto>;
/**
*
- * @type {ExifResponseDto}
+ * @type {boolean}
* @memberof AssetResponseDto
*/
- 'exifInfo'?: ExifResponseDto;
+ 'resized': boolean;
/**
*
* @type {SmartInfoResponseDto}
@@ -662,28 +662,28 @@ export interface AssetResponseDto {
'smartInfo'?: SmartInfoResponseDto;
/**
*
- * @type {string}
+ * @type {Array<TagResponseDto>}
* @memberof AssetResponseDto
*/
- 'livePhotoVideoId'?: string | null;
+ 'tags'?: Array<TagResponseDto>;
/**
- *
- * @type {Array<TagResponseDto>}
+ * base64 encoded thumbhash
+ * @type {string}
* @memberof AssetResponseDto
*/
- 'tags'?: Array<TagResponseDto>;
+ 'thumbhash': string | null;
/**
*
- * @type {Array<PersonResponseDto>}
+ * @type {AssetTypeEnum}
* @memberof AssetResponseDto
*/
- 'people'?: Array<PersonResponseDto>;
+ 'type': AssetTypeEnum;
/**
- * base64 encoded sha1 hash
+ *
* @type {string}
* @memberof AssetResponseDto
*/
- 'checksum': string;
+ 'updatedAt': string;
}
@@ -704,13 +704,13 @@ export interface AssetStatsResponseDto {
* @type {number}
* @memberof AssetStatsResponseDto
*/
- 'videos': number;
+ 'total': number;
/**
*
* @type {number}
* @memberof AssetStatsResponseDto
*/
- 'total': number;
+ 'videos': number;
}
/**
*
@@ -754,37 +754,37 @@ export interface AuthDeviceResponseDto {
* @type {string}
* @memberof AuthDeviceResponseDto
*/
- 'id': string;
+ 'createdAt': string;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof AuthDeviceResponseDto
*/
- 'createdAt': string;
+ 'current': boolean;
/**
*
* @type {string}
* @memberof AuthDeviceResponseDto
*/
- 'updatedAt': string;
+ 'deviceOS': string;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof AuthDeviceResponseDto
*/
- 'current': boolean;
+ 'deviceType': string;
/**
*
* @type {string}
* @memberof AuthDeviceResponseDto
*/
- 'deviceType': string;
+ 'id': string;
/**
*
* @type {string}
* @memberof AuthDeviceResponseDto
*/
- 'deviceOS': string;
+ 'updatedAt': string;
}
/**
*
@@ -797,19 +797,19 @@ export interface BulkIdResponseDto {
* @type {string}
* @memberof BulkIdResponseDto
*/
- 'id': string;
+ 'error'?: BulkIdResponseDtoErrorEnum;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof BulkIdResponseDto
*/
- 'success': boolean;
+ 'id': string;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof BulkIdResponseDto
*/
- 'error'?: BulkIdResponseDtoErrorEnum;
+ 'success': boolean;
}
export const BulkIdResponseDtoErrorEnum = {
@@ -832,13 +832,13 @@ export interface ChangePasswordDto {
* @type {string}
* @memberof ChangePasswordDto
*/
- 'password': string;
+ 'newPassword': string;
/**
*
* @type {string}
* @memberof ChangePasswordDto
*/
- 'newPassword': string;
+ 'password': string;
}
/**
*
@@ -867,16 +867,16 @@ export interface CheckDuplicateAssetDto {
export interface CheckDuplicateAssetResponseDto {
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof CheckDuplicateAssetResponseDto
*/
- 'isExist': boolean;
+ 'id'?: string;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof CheckDuplicateAssetResponseDto
*/
- 'id'?: string;
+ 'isExist': boolean;
}
/**
*
@@ -927,13 +927,13 @@ export interface CreateAlbumDto {
* @type {Array<string>}
* @memberof CreateAlbumDto
*/
- 'sharedWithUserIds'?: Array<string>;
+ 'assetIds'?: Array<string>;
/**
*
* @type {Array<string>}
* @memberof CreateAlbumDto
*/
- 'assetIds'?: Array<string>;
+ 'sharedWithUserIds'?: Array<string>;
}
/**
*
@@ -946,13 +946,13 @@ export interface CreateProfileImageResponseDto {
* @type {string}
* @memberof CreateProfileImageResponseDto
*/
- 'userId': string;
+ 'profileImagePath': string;
/**
*
* @type {string}
* @memberof CreateProfileImageResponseDto
*/
- 'profileImagePath': string;
+ 'userId': string;
}
/**
*
@@ -962,16 +962,16 @@ export interface CreateProfileImageResponseDto {
export interface CreateTagDto {
/**
*
- * @type {TagTypeEnum}
+ * @type {string}
* @memberof CreateTagDto
*/
- 'type': TagTypeEnum;
+ 'name': string;
/**
*
- * @type {string}
+ * @type {TagTypeEnum}
* @memberof CreateTagDto
*/
- 'name': string;
+ 'type': TagTypeEnum;
}
@@ -992,7 +992,7 @@ export interface CreateUserDto {
* @type {string}
* @memberof CreateUserDto
*/
- 'password': string;
+ 'externalPath'?: string | null;
/**
*
* @type {string}
@@ -1010,13 +1010,13 @@ export interface CreateUserDto {
* @type {string}
* @memberof CreateUserDto
*/
- 'storageLabel'?: string | null;
+ 'password': string;
/**
*
* @type {string}
* @memberof CreateUserDto
*/
- 'externalPath'?: string | null;
+ 'storageLabel'?: string | null;
}
/**
*
@@ -1029,31 +1029,31 @@ export interface CuratedLocationsResponseDto {
* @type {string}
* @memberof CuratedLocationsResponseDto
*/
- 'id': string;
+ 'city': string;
/**
*
* @type {string}
* @memberof CuratedLocationsResponseDto
*/
- 'city': string;
+ 'deviceAssetId': string;
/**
*
* @type {string}
* @memberof CuratedLocationsResponseDto
*/
- 'resizePath': string;
+ 'deviceId': string;
/**
*
* @type {string}
* @memberof CuratedLocationsResponseDto
*/
- 'deviceAssetId': string;
+ 'id': string;
/**
*
* @type {string}
* @memberof CuratedLocationsResponseDto
*/
- 'deviceId': string;
+ 'resizePath': string;
}
/**
*
@@ -1066,31 +1066,31 @@ export interface CuratedObjectsResponseDto {
* @type {string}
* @memberof CuratedObjectsResponseDto
*/
- 'id': string;
+ 'deviceAssetId': string;
/**
*
* @type {string}
* @memberof CuratedObjectsResponseDto
*/
- 'object': string;
+ 'deviceId': string;
/**
*
* @type {string}
* @memberof CuratedObjectsResponseDto
*/
- 'resizePath': string;
+ 'id': string;
/**
*
* @type {string}
* @memberof CuratedObjectsResponseDto
*/
- 'deviceAssetId': string;
+ 'object': string;
/**
*
* @type {string}
* @memberof CuratedObjectsResponseDto
*/
- 'deviceId': string;
+ 'resizePath': string;
}
/**
*
@@ -1113,16 +1113,16 @@ export interface DeleteAssetDto {
export interface DeleteAssetResponseDto {
/**
*
- * @type {DeleteAssetStatus}
+ * @type {string}
* @memberof DeleteAssetResponseDto
*/
- 'status': DeleteAssetStatus;
+ 'id': string;
/**
*
- * @type {string}
+ * @type {DeleteAssetStatus}
* @memberof DeleteAssetResponseDto
*/
- 'id': string;
+ 'status': DeleteAssetStatus;
}
@@ -1148,16 +1148,16 @@ export type DeleteAssetStatus = typeof DeleteAssetStatus[keyof typeof DeleteAsse
export interface DownloadArchiveInfo {
/**
*
- * @type {number}
+ * @type {Array<string>}
* @memberof DownloadArchiveInfo
*/
- 'size': number;
+ 'assetIds': Array<string>;
/**
*
- * @type {Array<string>}
+ * @type {number}
* @memberof DownloadArchiveInfo
*/
- 'assetIds': Array<string>;
+ 'size': number;
}
/**
*
@@ -1167,16 +1167,16 @@ export interface DownloadArchiveInfo {
export interface DownloadResponseDto {
/**
*
- * @type {number}
+ * @type {Array<DownloadArchiveInfo>}
* @memberof DownloadResponseDto
*/
- 'totalSize': number;
+ 'archives': Array<DownloadArchiveInfo>;
/**
*
- * @type {Array<DownloadArchiveInfo>}
+ * @type {number}
* @memberof DownloadResponseDto
*/
- 'archives': Array<DownloadArchiveInfo>;
+ 'totalSize': number;
}
/**
*
@@ -1186,28 +1186,28 @@ export interface DownloadResponseDto {
export interface ExifResponseDto {
/**
*
- * @type {number}
+ * @type {string}
* @memberof ExifResponseDto
*/
- 'fileSizeInByte'?: number | null;
+ 'city'?: string | null;
/**
*
* @type {string}
* @memberof ExifResponseDto
*/
- 'make'?: string | null;
+ 'country'?: string | null;
/**
*
* @type {string}
* @memberof ExifResponseDto
*/
- 'model'?: string | null;
+ 'dateTimeOriginal'?: string | null;
/**
*
- * @type {number}
+ * @type {string}
* @memberof ExifResponseDto
*/
- 'exifImageWidth'?: number | null;
+ 'description'?: string | null;
/**
*
* @type {number}
@@ -1216,100 +1216,100 @@ export interface ExifResponseDto {
'exifImageHeight'?: number | null;
/**
*
- * @type {string}
+ * @type {number}
* @memberof ExifResponseDto
*/
- 'orientation'?: string | null;
+ 'exifImageWidth'?: number | null;
/**
*
* @type {string}
* @memberof ExifResponseDto
*/
- 'dateTimeOriginal'?: string | null;
+ 'exposureTime'?: string | null;
/**
*
- * @type {string}
+ * @type {number}
* @memberof ExifResponseDto
*/
- 'modifyDate'?: string | null;
+ 'fNumber'?: number | null;
/**
*
- * @type {string}
+ * @type {number}
* @memberof ExifResponseDto
*/
- 'timeZone'?: string | null;
+ 'fileSizeInByte'?: number | null;
/**
*
- * @type {string}
+ * @type {number}
* @memberof ExifResponseDto
*/
- 'lensModel'?: string | null;
+ 'focalLength'?: number | null;
/**
*
* @type {number}
* @memberof ExifResponseDto
*/
- 'fNumber'?: number | null;
+ 'iso'?: number | null;
/**
*
* @type {number}
* @memberof ExifResponseDto
*/
- 'focalLength'?: number | null;
+ 'latitude'?: number | null;
/**
*
- * @type {number}
+ * @type {string}
* @memberof ExifResponseDto
*/
- 'iso'?: number | null;
+ 'lensModel'?: string | null;
/**
*
- * @type {string}
+ * @type {number}
* @memberof ExifResponseDto
*/
- 'exposureTime'?: string | null;
+ 'longitude'?: number | null;
/**
*
- * @type {number}
+ * @type {string}
* @memberof ExifResponseDto
*/
- 'latitude'?: number | null;
+ 'make'?: string | null;
/**
*
- * @type {number}
+ * @type {string}
* @memberof ExifResponseDto
*/
- 'longitude'?: number | null;
+ 'model'?: string | null;
/**
*
* @type {string}
* @memberof ExifResponseDto
*/
- 'city'?: string | null;
+ 'modifyDate'?: string | null;
/**
*
* @type {string}
* @memberof ExifResponseDto
*/
- 'state'?: string | null;
+ 'orientation'?: string | null;
/**
*
* @type {string}
* @memberof ExifResponseDto
*/
- 'country'?: string | null;
+ 'projectionType'?: string | null;
/**
*
* @type {string}
* @memberof ExifResponseDto
*/
- 'description'?: string | null;
+ 'state'?: string | null;
/**
*
* @type {string}
* @memberof ExifResponseDto
*/
- 'projectionType'?: string | null;
+ 'timeZone'?: string | null;
}
/**
*
@@ -1369,12 +1369,6 @@ export interface GetAssetCountByTimeBucketDto {
* @interface ImportAssetDto
*/
export interface ImportAssetDto {
- /**
- *
- * @type {boolean}
- * @memberof ImportAssetDto
- */
- 'isReadOnly'?: boolean;
/**
*
* @type {string}
@@ -1386,19 +1380,19 @@ export interface ImportAssetDto {
* @type {string}
* @memberof ImportAssetDto
*/
- 'sidecarPath'?: string;
+ 'deviceAssetId': string;
/**
*
* @type {string}
* @memberof ImportAssetDto
*/
- 'deviceAssetId': string;
+ 'deviceId': string;
/**
*
* @type {string}
* @memberof ImportAssetDto
*/
- 'deviceId': string;
+ 'duration'?: string;
/**
*
* @type {string}
@@ -1411,6 +1405,12 @@ export interface ImportAssetDto {
* @memberof ImportAssetDto
*/
'fileModifiedAt': string;
+ /**
+ *
+ * @type {boolean}
+ * @memberof ImportAssetDto
+ */
+ 'isArchived'?: boolean;
/**
*
* @type {boolean}
@@ -1422,7 +1422,7 @@ export interface ImportAssetDto {
* @type {boolean}
* @memberof ImportAssetDto
*/
- 'isArchived'?: boolean;
+ 'isReadOnly'?: boolean;
/**
*
* @type {boolean}
@@ -1434,7 +1434,7 @@ export interface ImportAssetDto {
* @type {string}
* @memberof ImportAssetDto
*/
- 'duration'?: string;
+ 'sidecarPath'?: string;
}
/**
*
@@ -1496,25 +1496,25 @@ export interface JobCountsDto {
* @type {number}
* @memberof JobCountsDto
*/
- 'failed': number;
+ 'delayed': number;
/**
*
* @type {number}
* @memberof JobCountsDto
*/
- 'delayed': number;
+ 'failed': number;
/**
*
* @type {number}
* @memberof JobCountsDto
*/
- 'waiting': number;
+ 'paused': number;
/**
*
* @type {number}
* @memberof JobCountsDto
*/
- 'paused': number;
+ 'waiting': number;
}
/**
*
@@ -1606,43 +1606,43 @@ export interface LoginResponseDto {
* @type {string}
* @memberof LoginResponseDto
*/
- 'userId': string;
+ 'firstName': string;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof LoginResponseDto
*/
- 'userEmail': string;
+ 'isAdmin': boolean;
/**
*
* @type {string}
* @memberof LoginResponseDto
*/
- 'firstName': string;
+ 'lastName': string;
/**
*
* @type {string}
* @memberof LoginResponseDto
*/
- 'lastName': string;
+ 'profileImagePath': string;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof LoginResponseDto
*/
- 'profileImagePath': string;
+ 'shouldChangePassword': boolean;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof LoginResponseDto
*/
- 'isAdmin': boolean;
+ 'userEmail': string;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof LoginResponseDto
*/
- 'shouldChangePassword': boolean;
+ 'userId': string;
}
/**
*
@@ -1652,16 +1652,16 @@ export interface LoginResponseDto {
export interface LogoutResponseDto {
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof LogoutResponseDto
*/
- 'successful': boolean;
+ 'redirectUri': string;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof LogoutResponseDto
*/
- 'redirectUri': string;
+ 'successful': boolean;
}
/**
*
@@ -1696,16 +1696,16 @@ export interface MapMarkerResponseDto {
export interface MemoryLaneResponseDto {
/**
*
- * @type {string}
+ * @type {Array<AssetResponseDto>}
* @memberof MemoryLaneResponseDto
*/
- 'title': string;
+ 'assets': Array<AssetResponseDto>;
/**
*
- * @type {Array<AssetResponseDto>}
+ * @type {string}
* @memberof MemoryLaneResponseDto
*/
- 'assets': Array<AssetResponseDto>;
+ 'title': string;
}
/**
*
@@ -1757,31 +1757,31 @@ export interface OAuthConfigResponseDto {
* @type {boolean}
* @memberof OAuthConfigResponseDto
*/
- 'enabled': boolean;
+ 'autoLaunch'?: boolean;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof OAuthConfigResponseDto
*/
- 'passwordLoginEnabled': boolean;
+ 'buttonText'?: string;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof OAuthConfigResponseDto
*/
- 'url'?: string;
+ 'enabled': boolean;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof OAuthConfigResponseDto
*/
- 'buttonText'?: string;
+ 'passwordLoginEnabled': boolean;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof OAuthConfigResponseDto
*/
- 'autoLaunch'?: boolean;
+ 'url'?: string;
}
/**
*
@@ -1791,22 +1791,22 @@ export interface OAuthConfigResponseDto {
export interface PeopleResponseDto {
/**
*
- * @type {number}
+ * @type {Array<PersonResponseDto>}
* @memberof PeopleResponseDto
*/
- 'total': number;
+ 'people': Array<PersonResponseDto>;
/**
*
* @type {number}
* @memberof PeopleResponseDto
*/
- 'visible': number;
+ 'total': number;
/**
*
- * @type {Array<PersonResponseDto>}
+ * @type {number}
* @memberof PeopleResponseDto
*/
- 'people': Array<PersonResponseDto>;
+ 'visible': number;
}
/**
*
@@ -1828,29 +1828,29 @@ export interface PeopleUpdateDto {
*/
export interface PeopleUpdateItem {
/**
- * Person id.
- * @type {string}
- * @memberof PeopleUpdateItem
- */
- 'id': string;
- /**
- * Person name.
+ * Asset is used to get the feature face thumbnail.
* @type {string}
* @memberof PeopleUpdateItem
*/
- 'name'?: string;
+ 'featureFaceAssetId'?: string;
/**
- * Asset is used to get the feature face thumbnail.
+ * Person id.
* @type {string}
* @memberof PeopleUpdateItem
*/
- 'featureFaceAssetId'?: string;
+ 'id': string;
/**
* Person visibility
* @type {boolean}
* @memberof PeopleUpdateItem
*/
'isHidden'?: boolean;
+ /**
+ * Person name.
+ * @type {string}
+ * @memberof PeopleUpdateItem
+ */
+ 'name'?: string;
}
/**
*
@@ -1866,22 +1866,22 @@ export interface PersonResponseDto {
'id': string;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof PersonResponseDto
*/
- 'name': string;
+ 'isHidden': boolean;
/**
*
* @type {string}
* @memberof PersonResponseDto
*/
- 'thumbnailPath': string;
+ 'name': string;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof PersonResponseDto
*/
- 'isHidden': boolean;
+ 'thumbnailPath': string;
}
/**
*
@@ -1889,12 +1889,6 @@ export interface PersonResponseDto {
* @interface PersonUpdateDto
*/
export interface PersonUpdateDto {
- /**
- * Person name.
- * @type {string}
- * @memberof PersonUpdateDto
- */
- 'name'?: string;
/**
* Asset is used to get the feature face thumbnail.
* @type {string}
@@ -1907,6 +1901,12 @@ export interface PersonUpdateDto {
* @memberof PersonUpdateDto
*/
'isHidden'?: boolean;
+ /**
+ * Person name.
+ * @type {string}
+ * @memberof PersonUpdateDto
+ */
+ 'name'?: string;
}
/**
*
@@ -1951,13 +1951,13 @@ export interface SearchAlbumResponseDto {
* @type {number}
* @memberof SearchAlbumResponseDto
*/
- 'total': number;
+ 'count': number;
/**
*
- * @type {number}
+ * @type {Array<SearchFacetResponseDto>}
* @memberof SearchAlbumResponseDto
*/
- 'count': number;
+ 'facets': Array<SearchFacetResponseDto>;
/**
*
* @type {Array<AlbumResponseDto>}
@@ -1966,10 +1966,10 @@ export interface SearchAlbumResponseDto {
'items': Array<AlbumResponseDto>;
/**
*
- * @type {Array<SearchFacetResponseDto>}
+ * @type {number}
* @memberof SearchAlbumResponseDto
*/
- 'facets': Array<SearchFacetResponseDto>;
+ 'total': number;
}
/**
*
@@ -1995,13 +1995,13 @@ export interface SearchAssetResponseDto {
* @type {number}
* @memberof SearchAssetResponseDto
*/
- 'total': number;
+ 'count': number;
/**
*
- * @type {number}
+ * @type {Array<SearchFacetResponseDto>}
* @memberof SearchAssetResponseDto
*/
- 'count': number;
+ 'facets': Array<SearchFacetResponseDto>;
/**
*
* @type {Array<AssetResponseDto>}
@@ -2010,10 +2010,10 @@ export interface SearchAssetResponseDto {
'items': Array<AssetResponseDto>;
/**
*
- * @type {Array<SearchFacetResponseDto>}
+ * @type {number}
* @memberof SearchAssetResponseDto
*/
- 'facets': Array<SearchFacetResponseDto>;
+ 'total': number;
}
/**
*
@@ -2036,16 +2036,16 @@ export interface SearchConfigResponseDto {
export interface SearchExploreItem {
/**
*
- * @type {string}
+ * @type {AssetResponseDto}
* @memberof SearchExploreItem
*/
- 'value': string;
+ 'data': AssetResponseDto;
/**
*
- * @type {AssetResponseDto}
+ * @type {string}
* @memberof SearchExploreItem
*/
- 'data': AssetResponseDto;
+ 'value': string;
}
/**
*
@@ -2093,16 +2093,16 @@ export interface SearchFacetCountResponseDto {
export interface SearchFacetResponseDto {
/**
*
- * @type {string}
+ * @type {Array<SearchFacetCountResponseDto>}
* @memberof SearchFacetResponseDto
*/
- 'fieldName': string;
+ 'counts': Array<SearchFacetCountResponseDto>;
/**
*
- * @type {Array<SearchFacetCountResponseDto>}
+ * @type {string}
* @memberof SearchFacetResponseDto
*/
- 'counts': Array<SearchFacetCountResponseDto>;
+ 'fieldName': string;
}
/**
*
@@ -2131,34 +2131,34 @@ export interface SearchResponseDto {
export interface ServerInfoResponseDto {
/**
*
- * @type {number}
+ * @type {string}
* @memberof ServerInfoResponseDto
*/
- 'diskSizeRaw': number;
+ 'diskAvailable': string;
/**
*
* @type {number}
* @memberof ServerInfoResponseDto
*/
- 'diskUseRaw': number;
+ 'diskAvailableRaw': number;
/**
*
- * @type {number}
+ * @type {string}
* @memberof ServerInfoResponseDto
*/
- 'diskAvailableRaw': number;
+ 'diskSize': string;
/**
*
* @type {number}
* @memberof ServerInfoResponseDto
*/
- 'diskUsagePercentage': number;
+ 'diskSizeRaw': number;
/**
*
- * @type {string}
+ * @type {number}
* @memberof ServerInfoResponseDto
*/
- 'diskSize': string;
+ 'diskUsagePercentage': number;
/**
*
* @type {string}
@@ -2167,10 +2167,10 @@ export interface ServerInfoResponseDto {
'diskUse': string;
/**
*
- * @type {string}
+ * @type {number}
* @memberof ServerInfoResponseDto
*/
- 'diskAvailable': string;
+ 'diskUseRaw': number;
}
/**
*
@@ -2183,19 +2183,19 @@ export interface ServerMediaTypesResponseDto {
* @type {Array<string>}
* @memberof ServerMediaTypesResponseDto
*/
- 'video': Array<string>;
+ 'image': Array<string>;
/**
*
* @type {Array<string>}
* @memberof ServerMediaTypesResponseDto
*/
- 'image': Array<string>;
+ 'sidecar': Array<string>;
/**
*
* @type {Array<string>}
* @memberof ServerMediaTypesResponseDto
*/
- 'sidecar': Array<string>;
+ 'video': Array<string>;
}
/**
*
@@ -2227,19 +2227,19 @@ export interface ServerStatsResponseDto {
* @type {number}
* @memberof ServerStatsResponseDto
*/
- 'videos': number;
+ 'usage': number;
/**
*
- * @type {number}
+ * @type {Array<UsageByUserDto>}
* @memberof ServerStatsResponseDto
*/
- 'usage': number;
+ 'usageByUser': Array<UsageByUserDto>;
/**
*
- * @type {Array<UsageByUserDto>}
+ * @type {number}
* @memberof ServerStatsResponseDto
*/
- 'usageByUser': Array<UsageByUserDto>;
+ 'videos': number;
}
/**
*
@@ -2274,52 +2274,52 @@ export interface ServerVersionReponseDto {
export interface SharedLinkCreateDto {
/**
*
- * @type {SharedLinkType}
+ * @type {string}
* @memberof SharedLinkCreateDto
*/
- 'type': SharedLinkType;
+ 'albumId'?: string;
/**
*
- * @type {Array<string>}
+ * @type {boolean}
* @memberof SharedLinkCreateDto
*/
- 'assetIds'?: Array<string>;
+ 'allowDownload'?: boolean;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof SharedLinkCreateDto
*/
- 'albumId'?: string;
+ 'allowUpload'?: boolean;
/**
*
- * @type {string}
+ * @type {Array<string>}
* @memberof SharedLinkCreateDto
*/
- 'description'?: string;
+ 'assetIds'?: Array<string>;
/**
*
* @type {string}
* @memberof SharedLinkCreateDto
*/
- 'expiresAt'?: string | null;
+ 'description'?: string;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof SharedLinkCreateDto
*/
- 'allowUpload'?: boolean;
+ 'expiresAt'?: string | null;
/**
*
* @type {boolean}
* @memberof SharedLinkCreateDto
*/
- 'allowDownload'?: boolean;
+ 'showExif'?: boolean;
/**
*
- * @type {boolean}
+ * @type {SharedLinkType}
* @memberof SharedLinkCreateDto
*/
- 'showExif'?: boolean;
+ 'type': SharedLinkType;
}
@@ -2331,28 +2331,28 @@ export interface SharedLinkCreateDto {
export interface SharedLinkEditDto {
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof SharedLinkEditDto
*/
- 'description'?: string;
+ 'allowDownload'?: boolean;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof SharedLinkEditDto
*/
- 'expiresAt'?: string | null;
+ 'allowUpload'?: boolean;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof SharedLinkEditDto
*/
- 'allowUpload'?: boolean;
+ 'description'?: string;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof SharedLinkEditDto
*/
- 'allowDownload'?: boolean;
+ 'expiresAt'?: string | null;
/**
*
* @type {boolean}
@@ -2368,40 +2368,40 @@ export interface SharedLinkEditDto {
export interface SharedLinkResponseDto {
/**
*
- * @type {SharedLinkType}
+ * @type {AlbumResponseDto}
* @memberof SharedLinkResponseDto
*/
- 'type': SharedLinkType;
+ 'album'?: AlbumResponseDto;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof SharedLinkResponseDto
*/
- 'id': string;
+ 'allowDownload': boolean;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof SharedLinkResponseDto
*/
- 'description': string | null;
+ 'allowUpload': boolean;
/**
*
- * @type {string}
+ * @type {Array<AssetResponseDto>}
* @memberof SharedLinkResponseDto
*/
- 'userId': string;
+ 'assets': Array<AssetResponseDto>;
/**
*
* @type {string}
* @memberof SharedLinkResponseDto
*/
- 'key': string;
+ 'createdAt': string;
/**
*
* @type {string}
* @memberof SharedLinkResponseDto
*/
- 'createdAt': string;
+ 'description': string | null;
/**
*
* @type {string}
@@ -2410,34 +2410,34 @@ export interface SharedLinkResponseDto {
'expiresAt': string | null;
/**
*
- * @type {Array<AssetResponseDto>}
+ * @type {string}
* @memberof SharedLinkResponseDto
*/
- 'assets': Array<AssetResponseDto>;
+ 'id': string;
/**
*
- * @type {AlbumResponseDto}
+ * @type {string}
* @memberof SharedLinkResponseDto
*/
- 'album'?: AlbumResponseDto;
+ 'key': string;
/**
*
* @type {boolean}
* @memberof SharedLinkResponseDto
*/
- 'allowUpload': boolean;
+ 'showExif': boolean;
/**
*
- * @type {boolean}
+ * @type {SharedLinkType}
* @memberof SharedLinkResponseDto
*/
- 'allowDownload': boolean;
+ 'type': SharedLinkType;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof SharedLinkResponseDto
*/
- 'showExif': boolean;
+ 'userId': string;
}
@@ -2472,19 +2472,19 @@ export interface SignUpDto {
* @type {string}
* @memberof SignUpDto
*/
- 'password': string;
+ 'firstName': string;
/**
*
* @type {string}
* @memberof SignUpDto
*/
- 'firstName': string;
+ 'lastName': string;
/**
*
* @type {string}
* @memberof SignUpDto
*/
- 'lastName': string;
+ 'password': string;
}
/**
*
@@ -2497,13 +2497,13 @@ export interface SmartInfoResponseDto {
* @type {Array<string>}
* @memberof SmartInfoResponseDto
*/
- 'tags'?: Array<string> | null;
+ 'objects'?: Array<string> | null;
/**
*
* @type {Array<string>}
* @memberof SmartInfoResponseDto
*/
- 'objects'?: Array<string> | null;
+ 'tags'?: Array<string> | null;
}
/**
*
@@ -2516,7 +2516,13 @@ export interface SystemConfigDto {
* @type {SystemConfigFFmpegDto}
* @memberof SystemConfigDto
*/
- 'ffmpeg': SystemConfigFFmpegDto;
+ 'ffmpeg': SystemConfigFFmpegDto;
+ /**
+ *
+ * @type {SystemConfigJobDto}
+ * @memberof SystemConfigDto
+ */
+ 'job': SystemConfigJobDto;
/**
*
* @type {SystemConfigOAuthDto}
@@ -2535,12 +2541,6 @@ export interface SystemConfigDto {
* @memberof SystemConfigDto
*/
'storageTemplate': SystemConfigStorageTemplateDto;
- /**
- *
- * @type {SystemConfigJobDto}
- * @memberof SystemConfigDto
- */
- 'job': SystemConfigJobDto;
}
/**
*
@@ -2556,16 +2556,16 @@ export interface SystemConfigFFmpegDto {
'crf': number;
/**
*
- * @type {number}
+ * @type {string}
* @memberof SystemConfigFFmpegDto
*/
- 'threads': number;
+ 'maxBitrate': string;
/**
*
- * @type {VideoCodec}
+ * @type {string}
* @memberof SystemConfigFFmpegDto
*/
- 'targetVideoCodec': VideoCodec;
+ 'preset': string;
/**
*
* @type {AudioCodec}
@@ -2574,28 +2574,28 @@ export interface SystemConfigFFmpegDto {
'targetAudioCodec': AudioCodec;
/**
*
- * @type {TranscodePolicy}
+ * @type {string}
* @memberof SystemConfigFFmpegDto
*/
- 'transcode': TranscodePolicy;
+ 'targetResolution': string;
/**
*
- * @type {string}
+ * @type {VideoCodec}
* @memberof SystemConfigFFmpegDto
*/
- 'preset': string;
+ 'targetVideoCodec': VideoCodec;
/**
*
- * @type {string}
+ * @type {number}
* @memberof SystemConfigFFmpegDto
*/
- 'targetResolution': string;
+ 'threads': number;
/**
*
- * @type {string}
+ * @type {TranscodePolicy}
* @memberof SystemConfigFFmpegDto
*/
- 'maxBitrate': string;
+ 'transcode': TranscodePolicy;
/**
*
* @type {boolean}
@@ -2616,19 +2616,19 @@ export interface SystemConfigJobDto {
* @type {JobSettingsDto}
* @memberof SystemConfigJobDto
*/
- 'thumbnailGeneration': JobSettingsDto;
+ 'backgroundTask': JobSettingsDto;
/**
*
* @type {JobSettingsDto}
* @memberof SystemConfigJobDto
*/
- 'metadataExtraction': JobSettingsDto;
+ 'clipEncoding': JobSettingsDto;
/**
*
* @type {JobSettingsDto}
* @memberof SystemConfigJobDto
*/
- 'videoConversion': JobSettingsDto;
+ 'metadataExtraction': JobSettingsDto;
/**
*
* @type {JobSettingsDto}
@@ -2640,37 +2640,37 @@ export interface SystemConfigJobDto {
* @type {JobSettingsDto}
* @memberof SystemConfigJobDto
*/
- 'clipEncoding': JobSettingsDto;
+ 'recognizeFaces': JobSettingsDto;
/**
*
* @type {JobSettingsDto}
* @memberof SystemConfigJobDto
*/
- 'storageTemplateMigration': JobSettingsDto;
+ 'search': JobSettingsDto;
/**
*
* @type {JobSettingsDto}
* @memberof SystemConfigJobDto
*/
- 'backgroundTask': JobSettingsDto;
+ 'sidecar': JobSettingsDto;
/**
*
* @type {JobSettingsDto}
* @memberof SystemConfigJobDto
*/
- 'search': JobSettingsDto;
+ 'storageTemplateMigration': JobSettingsDto;
/**
*
* @type {JobSettingsDto}
* @memberof SystemConfigJobDto
*/
- 'recognizeFaces': JobSettingsDto;
+ 'thumbnailGeneration': JobSettingsDto;
/**
*
* @type {JobSettingsDto}
* @memberof SystemConfigJobDto
*/
- 'sidecar': JobSettingsDto;
+ 'videoConversion': JobSettingsDto;
}
/**
*
@@ -2683,67 +2683,67 @@ export interface SystemConfigOAuthDto {
* @type {boolean}
* @memberof SystemConfigOAuthDto
*/
- 'enabled': boolean;
+ 'autoLaunch': boolean;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof SystemConfigOAuthDto
*/
- 'issuerUrl': string;
+ 'autoRegister': boolean;
/**
*
* @type {string}
* @memberof SystemConfigOAuthDto
*/
- 'clientId': string;
+ 'buttonText': string;
/**
*
* @type {string}
* @memberof SystemConfigOAuthDto
*/
- 'clientSecret': string;
+ 'clientId': string;
/**
*
* @type {string}
* @memberof SystemConfigOAuthDto
*/
- 'scope': string;
+ 'clientSecret': string;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof SystemConfigOAuthDto
*/
- 'storageLabelClaim': string;
+ 'enabled': boolean;
/**
*
* @type {string}
* @memberof SystemConfigOAuthDto
*/
- 'buttonText': string;
+ 'issuerUrl': string;
/**
*
* @type {boolean}
* @memberof SystemConfigOAuthDto
*/
- 'autoRegister': boolean;
+ 'mobileOverrideEnabled': boolean;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof SystemConfigOAuthDto
*/
- 'autoLaunch': boolean;
+ 'mobileRedirectUri': string;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof SystemConfigOAuthDto
*/
- 'mobileOverrideEnabled': boolean;
+ 'scope': string;
/**
*
* @type {string}
* @memberof SystemConfigOAuthDto
*/
- 'mobileRedirectUri': string;
+ 'storageLabelClaim': string;
}
/**
*
@@ -2782,31 +2782,31 @@ export interface SystemConfigTemplateStorageOptionDto {
* @type {Array<string>}
* @memberof SystemConfigTemplateStorageOptionDto
*/
- 'yearOptions': Array<string>;
+ 'dayOptions': Array<string>;
/**
*
* @type {Array<string>}
* @memberof SystemConfigTemplateStorageOptionDto
*/
- 'monthOptions': Array<string>;
+ 'hourOptions': Array<string>;
/**
*
* @type {Array<string>}
* @memberof SystemConfigTemplateStorageOptionDto
*/
- 'dayOptions': Array<string>;
+ 'minuteOptions': Array<string>;
/**
*
* @type {Array<string>}
* @memberof SystemConfigTemplateStorageOptionDto
*/
- 'hourOptions': Array<string>;
+ 'monthOptions': Array<string>;
/**
*
* @type {Array<string>}
* @memberof SystemConfigTemplateStorageOptionDto
*/
- 'minuteOptions': Array<string>;
+ 'presetOptions': Array<string>;
/**
*
* @type {Array<string>}
@@ -2818,7 +2818,7 @@ export interface SystemConfigTemplateStorageOptionDto {
* @type {Array<string>}
* @memberof SystemConfigTemplateStorageOptionDto
*/
- 'presetOptions': Array<string>;
+ 'yearOptions': Array<string>;
}
/**
*
@@ -2828,22 +2828,22 @@ export interface SystemConfigTemplateStorageOptionDto {
export interface TagResponseDto {
/**
*
- * @type {TagTypeEnum}
+ * @type {string}
* @memberof TagResponseDto
*/
- 'type': TagTypeEnum;
+ 'id': string;
/**
*
* @type {string}
* @memberof TagResponseDto
*/
- 'id': string;
+ 'name': string;
/**
*
- * @type {string}
+ * @type {TagTypeEnum}
* @memberof TagResponseDto
*/
- 'name': string;
+ 'type': TagTypeEnum;
/**
*
* @type {string}
@@ -2939,28 +2939,28 @@ export interface UpdateAlbumDto {
export interface UpdateAssetDto {
/**
*
- * @type {Array<string>}
+ * @type {string}
* @memberof UpdateAssetDto
*/
- 'tagIds'?: Array<string>;
+ 'description'?: string;
/**
*
* @type {boolean}
* @memberof UpdateAssetDto
*/
- 'isFavorite'?: boolean;
+ 'isArchived'?: boolean;
/**
*
* @type {boolean}
* @memberof UpdateAssetDto
*/
- 'isArchived'?: boolean;
+ 'isFavorite'?: boolean;
/**
*
- * @type {string}
+ * @type {Array<string>}
* @memberof UpdateAssetDto
*/
- 'description'?: string;
+ 'tagIds'?: Array<string>;
}
/**
*
@@ -2986,55 +2986,55 @@ export interface UpdateUserDto {
* @type {string}
* @memberof UpdateUserDto
*/
- 'id': string;
+ 'email'?: string;
/**
*
* @type {string}
* @memberof UpdateUserDto
*/
- 'email'?: string;
+ 'externalPath'?: string;
/**
*
* @type {string}
* @memberof UpdateUserDto
*/
- 'password'?: string;
+ 'firstName'?: string;
/**
*
* @type {string}
* @memberof UpdateUserDto
*/
- 'firstName'?: string;
+ 'id': string;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof UpdateUserDto
*/
- 'lastName'?: string;
+ 'isAdmin'?: boolean;
/**
*
* @type {string}
* @memberof UpdateUserDto
*/
- 'storageLabel'?: string;
+ 'lastName'?: string;
/**
*
* @type {string}
* @memberof UpdateUserDto
*/
- 'externalPath'?: string;
+ 'password'?: string;
/**
*
* @type {boolean}
* @memberof UpdateUserDto
*/
- 'isAdmin'?: boolean;
+ 'shouldChangePassword'?: boolean;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof UpdateUserDto
*/
- 'shouldChangePassword'?: boolean;
+ 'storageLabel'?: string;
}
/**
*
@@ -3044,40 +3044,40 @@ export interface UpdateUserDto {
export interface UsageByUserDto {
/**
*
- * @type {string}
+ * @type {number}
* @memberof UsageByUserDto
*/
- 'userId': string;
+ 'photos': number;
/**
*
- * @type {string}
+ * @type {number}
* @memberof UsageByUserDto
*/
- 'userFirstName': string;
+ 'usage': number;
/**
*
* @type {string}
* @memberof UsageByUserDto
*/
- 'userLastName': string;
+ 'userFirstName': string;
/**
*
- * @type {number}
+ * @type {string}
* @memberof UsageByUserDto
*/
- 'photos': number;
+ 'userId': string;
/**
*
- * @type {number}
+ * @type {string}
* @memberof UsageByUserDto
*/
- 'videos': number;
+ 'userLastName': string;
/**
*
* @type {number}
* @memberof UsageByUserDto
*/
- 'usage': number;
+ 'videos': number;
}
/**
*
@@ -3103,79 +3103,79 @@ export interface UserResponseDto {
* @type {string}
* @memberof UserResponseDto
*/
- 'id': string;
+ 'createdAt': string;
/**
*
* @type {string}
* @memberof UserResponseDto
*/
- 'email': string;
+ 'deletedAt': string | null;
/**
*
* @type {string}
* @memberof UserResponseDto
*/
- 'firstName': string;
+ 'email': string;
/**
*
* @type {string}
* @memberof UserResponseDto
*/
- 'lastName': string;
+ 'externalPath': string | null;
/**
*
* @type {string}
* @memberof UserResponseDto
*/
- 'storageLabel': string | null;
+ 'firstName': string;
/**
*
* @type {string}
* @memberof UserResponseDto
*/
- 'externalPath': string | null;
+ 'id': string;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof UserResponseDto
*/
- 'profileImagePath': string;
+ 'isAdmin': boolean;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof UserResponseDto
*/
- 'shouldChangePassword': boolean;
+ 'lastName': string;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof UserResponseDto
*/
- 'isAdmin': boolean;
+ 'oauthId': string;
/**
*
* @type {string}
* @memberof UserResponseDto
*/
- 'createdAt': string;
+ 'profileImagePath': string;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof UserResponseDto
*/
- 'deletedAt': string | null;
+ 'shouldChangePassword': boolean;
/**
*
* @type {string}
* @memberof UserResponseDto
*/
- 'updatedAt': string;
+ 'storageLabel': string | null;
/**
*
* @type {string}
* @memberof UserResponseDto
*/
- 'oauthId': string;
+ 'updatedAt': string;
}
/**
*
@@ -5767,16 +5767,16 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
* @param {string} fileModifiedAt
* @param {boolean} isFavorite
* @param {string} [key]
- * @param {File} [livePhotoData]
- * @param {File} [sidecarData]
- * @param {boolean} [isReadOnly]
+ * @param {string} [duration]
* @param {boolean} [isArchived]
+ * @param {boolean} [isReadOnly]
* @param {boolean} [isVisible]
- * @param {string} [duration]
+ * @param {File} [livePhotoData]
+ * @param {File} [sidecarData]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
- uploadFile: async (assetData: File, deviceAssetId: string, deviceId: string, fileCreatedAt: string, fileModifiedAt: string, isFavorite: boolean, key?: string, livePhotoData?: File, sidecarData?: File, isReadOnly?: boolean, isArchived?: boolean, isVisible?: boolean, duration?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
+ uploadFile: async (assetData: File, deviceAssetId: string, deviceId: string, fileCreatedAt: string, fileModifiedAt: string, isFavorite: boolean, key?: string, duration?: string, isArchived?: boolean, isReadOnly?: boolean, isVisible?: boolean, livePhotoData?: File, sidecarData?: File, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'assetData' is not null or undefined
assertParamExists('uploadFile', 'assetData', assetData)
// verify required parameter 'deviceAssetId' is not null or undefined
@@ -5820,18 +5820,6 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
localVarFormParams.append('assetData', assetData as any);
}
- if (livePhotoData !== undefined) {
- localVarFormParams.append('livePhotoData', livePhotoData as any);
- }
-
- if (sidecarData !== undefined) {
- localVarFormParams.append('sidecarData', sidecarData as any);
- }
-
- if (isReadOnly !== undefined) {
- localVarFormParams.append('isReadOnly', isReadOnly as any);
- }
-
if (deviceAssetId !== undefined) {
localVarFormParams.append('deviceAssetId', deviceAssetId as any);
}
@@ -5840,6 +5828,10 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
localVarFormParams.append('deviceId', deviceId as any);
}
+ if (duration !== undefined) {
+ localVarFormParams.append('duration', duration as any);
+ }
+
if (fileCreatedAt !== undefined) {
localVarFormParams.append('fileCreatedAt', fileCreatedAt as any);
}
@@ -5848,20 +5840,28 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
localVarFormParams.append('fileModifiedAt', fileModifiedAt as any);
}
+ if (isArchived !== undefined) {
+ localVarFormParams.append('isArchived', isArchived as any);
+ }
+
if (isFavorite !== undefined) {
localVarFormParams.append('isFavorite', isFavorite as any);
}
- if (isArchived !== undefined) {
- localVarFormParams.append('isArchived', isArchived as any);
+ if (isReadOnly !== undefined) {
+ localVarFormParams.append('isReadOnly', isReadOnly as any);
}
if (isVisible !== undefined) {
localVarFormParams.append('isVisible', isVisible as any);
}
- if (duration !== undefined) {
- localVarFormParams.append('duration', duration as any);
+ if (livePhotoData !== undefined) {
+ localVarFormParams.append('livePhotoData', livePhotoData as any);
+ }
+
+ if (sidecarData !== undefined) {
+ localVarFormParams.append('sidecarData', sidecarData as any);
}
@@ -6145,17 +6145,17 @@ export const AssetApiFp = function(configuration?: Configuration) {
* @param {string} fileModifiedAt
* @param {boolean} isFavorite
* @param {string} [key]
- * @param {File} [livePhotoData]
- * @param {File} [sidecarData]
- * @param {boolean} [isReadOnly]
+ * @param {string} [duration]
* @param {boolean} [isArchived]
+ * @param {boolean} [isReadOnly]
* @param {boolean} [isVisible]
- * @param {string} [duration]
+ * @param {File} [livePhotoData]
+ * @param {File} [sidecarData]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
- async uploadFile(assetData: File, deviceAssetId: string, deviceId: string, fileCreatedAt: string, fileModifiedAt: string, isFavorite: boolean, key?: string, livePhotoData?: File, sidecarData?: File, isReadOnly?: boolean, isArchived?: boolean, isVisible?: boolean, duration?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AssetFileUploadResponseDto>> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.uploadFile(assetData, deviceAssetId, deviceId, fileCreatedAt, fileModifiedAt, isFavorite, key, livePhotoData, sidecarData, isReadOnly, isArchived, isVisible, duration, options);
+ async uploadFile(assetData: File, deviceAssetId: string, deviceId: string, fileCreatedAt: string, fileModifiedAt: string, isFavorite: boolean, key?: string, duration?: string, isArchived?: boolean, isReadOnly?: boolean, isVisible?: boolean, livePhotoData?: File, sidecarData?: File, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AssetFileUploadResponseDto>> {
+ const localVarAxiosArgs = await localVarAxiosParamCreator.uploadFile(assetData, deviceAssetId, deviceId, fileCreatedAt, fileModifiedAt, isFavorite, key, duration, isArchived, isReadOnly, isVisible, livePhotoData, sidecarData, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
}
@@ -6379,7 +6379,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath
* @throws {RequiredError}
*/
uploadFile(requestParameters: AssetApiUploadFileRequest, options?: AxiosRequestConfig): AxiosPromise<AssetFileUploadResponseDto> {
- return localVarFp.uploadFile(requestParameters.assetData, requestParameters.deviceAssetId, requestParameters.deviceId, requestParameters.fileCreatedAt, requestParameters.fileModifiedAt, requestParameters.isFavorite, requestParameters.key, requestParameters.livePhotoData, requestParameters.sidecarData, requestParameters.isReadOnly, requestParameters.isArchived, requestParameters.isVisible, requestParameters.duration, options).then((request) => request(axios, basePath));
+ return localVarFp.uploadFile(requestParameters.assetData, requestParameters.deviceAssetId, requestParameters.deviceId, requestParameters.fileCreatedAt, requestParameters.fileModifiedAt, requestParameters.isFavorite, requestParameters.key, requestParameters.duration, requestParameters.isArchived, requestParameters.isReadOnly, requestParameters.isVisible, requestParameters.livePhotoData, requestParameters.sidecarData, options).then((request) => request(axios, basePath));
},
};
};
@@ -6875,17 +6875,17 @@ export interface AssetApiUploadFileRequest {
/**
*
- * @type {File}
+ * @type {string}
* @memberof AssetApiUploadFile
*/
- readonly livePhotoData?: File
+ readonly duration?: string
/**
*
- * @type {File}
+ * @type {boolean}
* @memberof AssetApiUploadFile
*/
- readonly sidecarData?: File
+ readonly isArchived?: boolean
/**
*
@@ -6899,21 +6899,21 @@ export interface AssetApiUploadFileRequest {
* @type {boolean}
* @memberof AssetApiUploadFile
*/
- readonly isArchived?: boolean
+ readonly isVisible?: boolean
/**
*
- * @type {boolean}
+ * @type {File}
* @memberof AssetApiUploadFile
*/
- readonly isVisible?: boolean
+ readonly livePhotoData?: File
/**
*
- * @type {string}
+ * @type {File}
* @memberof AssetApiUploadFile
*/
- readonly duration?: string
+ readonly sidecarData?: File
}
/**
@@ -7181,7 +7181,7 @@ export class AssetApi extends BaseAPI {
* @memberof AssetApi
*/
public uploadFile(requestParameters: AssetApiUploadFileRequest, options?: AxiosRequestConfig) {
- return AssetApiFp(this.configuration).uploadFile(requestParameters.assetData, requestParameters.deviceAssetId, requestParameters.deviceId, requestParameters.fileCreatedAt, requestParameters.fileModifiedAt, requestParameters.isFavorite, requestParameters.key, requestParameters.livePhotoData, requestParameters.sidecarData, requestParameters.isReadOnly, requestParameters.isArchived, requestParameters.isVisible, requestParameters.duration, options).then((request) => request(this.axios, this.basePath));
+ return AssetApiFp(this.configuration).uploadFile(requestParameters.assetData, requestParameters.deviceAssetId, requestParameters.deviceId, requestParameters.fileCreatedAt, requestParameters.fileModifiedAt, requestParameters.isFavorite, requestParameters.key, requestParameters.duration, requestParameters.isArchived, requestParameters.isReadOnly, requestParameters.isVisible, requestParameters.livePhotoData, requestParameters.sidecarData, options).then((request) => request(this.axios, this.basePath));
}
}
diff --git a/mobile/openapi/doc/APIKeyCreateResponseDto.md b/mobile/openapi/doc/APIKeyCreateResponseDto.md
index d0d4bea105..3b29bf9402 100644
--- a/mobile/openapi/doc/APIKeyCreateResponseDto.md
+++ b/mobile/openapi/doc/APIKeyCreateResponseDto.md
@@ -8,8 +8,8 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**secret** | **String** | |
**apiKey** | [**APIKeyResponseDto**](APIKeyResponseDto.md) | |
+**secret** | **String** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/APIKeyResponseDto.md b/mobile/openapi/doc/APIKeyResponseDto.md
index 7e36819b9b..c40947fa74 100644
--- a/mobile/openapi/doc/APIKeyResponseDto.md
+++ b/mobile/openapi/doc/APIKeyResponseDto.md
@@ -8,9 +8,9 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**createdAt** | [**DateTime**](DateTime.md) | |
**id** | **String** | |
**name** | **String** | |
-**createdAt** | [**DateTime**](DateTime.md) | |
**updatedAt** | [**DateTime**](DateTime.md) | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/AddAssetsResponseDto.md b/mobile/openapi/doc/AddAssetsResponseDto.md
index cf76581356..3a8d747ea9 100644
--- a/mobile/openapi/doc/AddAssetsResponseDto.md
+++ b/mobile/openapi/doc/AddAssetsResponseDto.md
@@ -8,9 +8,9 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**successfullyAdded** | **int** | |
-**alreadyInAlbum** | **List<String>** | | [default to const []]
**album** | [**AlbumResponseDto**](AlbumResponseDto.md) | | [optional]
+**alreadyInAlbum** | **List<String>** | | [default to const []]
+**successfullyAdded** | **int** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/AdminSignupResponseDto.md b/mobile/openapi/doc/AdminSignupResponseDto.md
index bfca912d9a..08d3d8bfa6 100644
--- a/mobile/openapi/doc/AdminSignupResponseDto.md
+++ b/mobile/openapi/doc/AdminSignupResponseDto.md
@@ -8,11 +8,11 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **String** | |
+**createdAt** | [**DateTime**](DateTime.md) | |
**email** | **String** | |
**firstName** | **String** | |
+**id** | **String** | |
**lastName** | **String** | |
-**createdAt** | [**DateTime**](DateTime.md) | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/AlbumCountResponseDto.md b/mobile/openapi/doc/AlbumCountResponseDto.md
index 57b6e156c8..20e496b274 100644
--- a/mobile/openapi/doc/AlbumCountResponseDto.md
+++ b/mobile/openapi/doc/AlbumCountResponseDto.md
@@ -8,9 +8,9 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**notShared** | **int** | |
**owned** | **int** | |
**shared** | **int** | |
-**notShared** | **int** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/AlbumResponseDto.md b/mobile/openapi/doc/AlbumResponseDto.md
index 08425de5cb..0f2f203819 100644
--- a/mobile/openapi/doc/AlbumResponseDto.md
+++ b/mobile/openapi/doc/AlbumResponseDto.md
@@ -8,18 +8,18 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**albumName** | **String** | |
+**albumThumbnailAssetId** | **String** | |
**assetCount** | **int** | |
+**assets** | [**List<AssetResponseDto>**](AssetResponseDto.md) | | [default to const []]
+**createdAt** | [**DateTime**](DateTime.md) | |
**id** | **String** | |
+**lastModifiedAssetTimestamp** | [**DateTime**](DateTime.md) | | [optional]
+**owner** | [**UserResponseDto**](UserResponseDto.md) | |
**ownerId** | **String** | |
-**albumName** | **String** | |
-**createdAt** | [**DateTime**](DateTime.md) | |
-**updatedAt** | [**DateTime**](DateTime.md) | |
-**albumThumbnailAssetId** | **String** | |
**shared** | **bool** | |
**sharedUsers** | [**List<UserResponseDto>**](UserResponseDto.md) | | [default to const []]
-**assets** | [**List<AssetResponseDto>**](AssetResponseDto.md) | | [default to const []]
-**owner** | [**UserResponseDto**](UserResponseDto.md) | |
-**lastModifiedAssetTimestamp** | [**DateTime**](DateTime.md) | | [optional]
+**updatedAt** | [**DateTime**](DateTime.md) | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/AllJobStatusResponseDto.md b/mobile/openapi/doc/AllJobStatusResponseDto.md
index 7ab4eaf9d4..18db99f19e 100644
--- a/mobile/openapi/doc/AllJobStatusResponseDto.md
+++ b/mobile/openapi/doc/AllJobStatusResponseDto.md
@@ -8,16 +8,16 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**thumbnailGeneration** | [**JobStatusDto**](JobStatusDto.md) | |
+**backgroundTask** | [**JobStatusDto**](JobStatusDto.md) | |
+**clipEncoding** | [**JobStatusDto**](JobStatusDto.md) | |
**metadataExtraction** | [**JobStatusDto**](JobStatusDto.md) | |
-**videoConversion** | [**JobStatusDto**](JobStatusDto.md) | |
**objectTagging** | [**JobStatusDto**](JobStatusDto.md) | |
-**clipEncoding** | [**JobStatusDto**](JobStatusDto.md) | |
-**storageTemplateMigration** | [**JobStatusDto**](JobStatusDto.md) | |
-**backgroundTask** | [**JobStatusDto**](JobStatusDto.md) | |
-**search** | [**JobStatusDto**](JobStatusDto.md) | |
**recognizeFaces** | [**JobStatusDto**](JobStatusDto.md) | |
+**search** | [**JobStatusDto**](JobStatusDto.md) | |
**sidecar** | [**JobStatusDto**](JobStatusDto.md) | |
+**storageTemplateMigration** | [**JobStatusDto**](JobStatusDto.md) | |
+**thumbnailGeneration** | [**JobStatusDto**](JobStatusDto.md) | |
+**videoConversion** | [**JobStatusDto**](JobStatusDto.md) | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/AssetApi.md b/mobile/openapi/doc/AssetApi.md
index 644907d1e5..8f6912676c 100644
--- a/mobile/openapi/doc/AssetApi.md
+++ b/mobile/openapi/doc/AssetApi.md
@@ -1347,7 +1347,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **uploadFile**
-> AssetFileUploadResponseDto uploadFile(assetData, deviceAssetId, deviceId, fileCreatedAt, fileModifiedAt, isFavorite, key, livePhotoData, sidecarData, isReadOnly, isArchived, isVisible, duration)
+> AssetFileUploadResponseDto uploadFile(assetData, deviceAssetId, deviceId, fileCreatedAt, fileModifiedAt, isFavorite, key, duration, isArchived, isReadOnly, isVisible, livePhotoData, sidecarData)
@@ -1377,15 +1377,15 @@ final fileCreatedAt = 2013-10-20T19:20:30+01:00; // DateTime |
final fileModifiedAt = 2013-10-20T19:20:30+01:00; // DateTime |
final isFavorite = true; // bool |
final key = key_example; // String |
-final livePhotoData = BINARY_DATA_HERE; // MultipartFile |
-final sidecarData = BINARY_DATA_HERE; // MultipartFile |
-final isReadOnly = true; // bool |
+final duration = duration_example; // String |
final isArchived = true; // bool |
+final isReadOnly = true; // bool |
final isVisible = true; // bool |
-final duration = duration_example; // String |
+final livePhotoData = BINARY_DATA_HERE; // MultipartFile |
+final sidecarData = BINARY_DATA_HERE; // MultipartFile |
try {
- final result = api_instance.uploadFile(assetData, deviceAssetId, deviceId, fileCreatedAt, fileModifiedAt, isFavorite, key, livePhotoData, sidecarData, isReadOnly, isArchived, isVisible, duration);
+ final result = api_instance.uploadFile(assetData, deviceAssetId, deviceId, fileCreatedAt, fileModifiedAt, isFavorite, key, duration, isArchived, isReadOnly, isVisible, livePhotoData, sidecarData);
print(result);
} catch (e) {
print('Exception when calling AssetApi->uploadFile: $e\n');
@@ -1403,12 +1403,12 @@ Name | Type | Description | Notes
**fileModifiedAt** | **DateTime**| |
**isFavorite** | **bool**| |
**key** | **String**| | [optional]
- **livePhotoData** | **MultipartFile**| | [optional]
- **sidecarData** | **MultipartFile**| | [optional]
- **isReadOnly** | **bool**| | [optional] [default to false]
+ **duration** | **String**| | [optional]
**isArchived** | **bool**| | [optional]
+ **isReadOnly** | **bool**| | [optional] [default to false]
**isVisible** | **bool**| | [optional]
- **duration** | **String**| | [optional]
+ **livePhotoData** | **MultipartFile**| | [optional]
+ **sidecarData** | **MultipartFile**| | [optional]
### Return type
diff --git a/mobile/openapi/doc/AssetBulkUploadCheckItem.md b/mobile/openapi/doc/AssetBulkUploadCheckItem.md
index 45494c2c5f..edc739a652 100644
--- a/mobile/openapi/doc/AssetBulkUploadCheckItem.md
+++ b/mobile/openapi/doc/AssetBulkUploadCheckItem.md
@@ -8,8 +8,8 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **String** | |
**checksum** | **String** | base64 or hex encoded sha1 hash |
+**id** | **String** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/AssetBulkUploadCheckResult.md b/mobile/openapi/doc/AssetBulkUploadCheckResult.md
index 670d1d9fa4..c22f6c249e 100644
--- a/mobile/openapi/doc/AssetBulkUploadCheckResult.md
+++ b/mobile/openapi/doc/AssetBulkUploadCheckResult.md
@@ -8,10 +8,10 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **String** | |
**action** | **String** | |
-**reason** | **String** | | [optional]
**assetId** | **String** | | [optional]
+**id** | **String** | |
+**reason** | **String** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/AssetCountByTimeBucket.md b/mobile/openapi/doc/AssetCountByTimeBucket.md
index ee71538759..334e00bb7b 100644
--- a/mobile/openapi/doc/AssetCountByTimeBucket.md
+++ b/mobile/openapi/doc/AssetCountByTimeBucket.md
@@ -8,8 +8,8 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**timeBucket** | **String** | |
**count** | **int** | |
+**timeBucket** | **String** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/AssetCountByTimeBucketResponseDto.md b/mobile/openapi/doc/AssetCountByTimeBucketResponseDto.md
index 77b03c26f9..b8c7978084 100644
--- a/mobile/openapi/doc/AssetCountByTimeBucketResponseDto.md
+++ b/mobile/openapi/doc/AssetCountByTimeBucketResponseDto.md
@@ -8,8 +8,8 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalCount** | **int** | |
**buckets** | [**List<AssetCountByTimeBucket>**](AssetCountByTimeBucket.md) | | [default to const []]
+**totalCount** | **int** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/AssetFileUploadResponseDto.md b/mobile/openapi/doc/AssetFileUploadResponseDto.md
index b945d531c2..a698529ac7 100644
--- a/mobile/openapi/doc/AssetFileUploadResponseDto.md
+++ b/mobile/openapi/doc/AssetFileUploadResponseDto.md
@@ -8,8 +8,8 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **String** | |
**duplicate** | **bool** | |
+**id** | **String** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/AssetIdsResponseDto.md b/mobile/openapi/doc/AssetIdsResponseDto.md
index 4aaebf73a7..8a9eba650c 100644
--- a/mobile/openapi/doc/AssetIdsResponseDto.md
+++ b/mobile/openapi/doc/AssetIdsResponseDto.md
@@ -9,8 +9,8 @@ import 'package:openapi/api.dart';
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**assetId** | **String** | |
-**success** | **bool** | |
**error** | **String** | | [optional]
+**success** | **bool** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/AssetResponseDto.md b/mobile/openapi/doc/AssetResponseDto.md
index 8b09386361..b122147ff1 100644
--- a/mobile/openapi/doc/AssetResponseDto.md
+++ b/mobile/openapi/doc/AssetResponseDto.md
@@ -8,27 +8,27 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**type** | [**AssetTypeEnum**](AssetTypeEnum.md) | |
-**id** | **String** | |
+**checksum** | **String** | base64 encoded sha1 hash |
**deviceAssetId** | **String** | |
-**ownerId** | **String** | |
**deviceId** | **String** | |
-**originalPath** | **String** | |
-**originalFileName** | **String** | |
-**resized** | **bool** | |
-**thumbhash** | **String** | base64 encoded thumbhash |
+**duration** | **String** | |
+**exifInfo** | [**ExifResponseDto**](ExifResponseDto.md) | | [optional]
**fileCreatedAt** | [**DateTime**](DateTime.md) | |
**fileModifiedAt** | [**DateTime**](DateTime.md) | |
-**updatedAt** | [**DateTime**](DateTime.md) | |
-**isFavorite** | **bool** | |
+**id** | **String** | |
**isArchived** | **bool** | |
-**duration** | **String** | |
-**exifInfo** | [**ExifResponseDto**](ExifResponseDto.md) | | [optional]
-**smartInfo** | [**SmartInfoResponseDto**](SmartInfoResponseDto.md) | | [optional]
+**isFavorite** | **bool** | |
**livePhotoVideoId** | **String** | | [optional]
-**tags** | [**List<TagResponseDto>**](TagResponseDto.md) | | [optional] [default to const []]
+**originalFileName** | **String** | |
+**originalPath** | **String** | |
+**ownerId** | **String** | |
**people** | [**List<PersonResponseDto>**](PersonResponseDto.md) | | [optional] [default to const []]
-**checksum** | **String** | base64 encoded sha1 hash |
+**resized** | **bool** | |
+**smartInfo** | [**SmartInfoResponseDto**](SmartInfoResponseDto.md) | | [optional]
+**tags** | [**List<TagResponseDto>**](TagResponseDto.md) | | [optional] [default to const []]
+**thumbhash** | **String** | base64 encoded thumbhash |
+**type** | [**AssetTypeEnum**](AssetTypeEnum.md) | |
+**updatedAt** | [**DateTime**](DateTime.md) | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/AssetStatsResponseDto.md b/mobile/openapi/doc/AssetStatsResponseDto.md
index d7937a7eda..370b7c059b 100644
--- a/mobile/openapi/doc/AssetStatsResponseDto.md
+++ b/mobile/openapi/doc/AssetStatsResponseDto.md
@@ -9,8 +9,8 @@ import 'package:openapi/api.dart';
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**images** | **int** | |
-**videos** | **int** | |
**total** | **int** | |
+**videos** | **int** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/AuthDeviceResponseDto.md b/mobile/openapi/doc/AuthDeviceResponseDto.md
index 261e767d92..4433e33385 100644
--- a/mobile/openapi/doc/AuthDeviceResponseDto.md
+++ b/mobile/openapi/doc/AuthDeviceResponseDto.md
@@ -8,12 +8,12 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **String** | |
**createdAt** | **String** | |
-**updatedAt** | **String** | |
**current** | **bool** | |
-**deviceType** | **String** | |
**deviceOS** | **String** | |
+**deviceType** | **String** | |
+**id** | **String** | |
+**updatedAt** | **String** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/BulkIdResponseDto.md b/mobile/openapi/doc/BulkIdResponseDto.md
index ce07f262d3..27ad767e6e 100644
--- a/mobile/openapi/doc/BulkIdResponseDto.md
+++ b/mobile/openapi/doc/BulkIdResponseDto.md
@@ -8,9 +8,9 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**error** | **String** | | [optional]
**id** | **String** | |
**success** | **bool** | |
-**error** | **String** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/ChangePasswordDto.md b/mobile/openapi/doc/ChangePasswordDto.md
index a257395ba3..ff23b2a822 100644
--- a/mobile/openapi/doc/ChangePasswordDto.md
+++ b/mobile/openapi/doc/ChangePasswordDto.md
@@ -8,8 +8,8 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**password** | **String** | |
**newPassword** | **String** | |
+**password** | **String** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/CheckDuplicateAssetResponseDto.md b/mobile/openapi/doc/CheckDuplicateAssetResponseDto.md
index 90010481e6..0f49eb22af 100644
--- a/mobile/openapi/doc/CheckDuplicateAssetResponseDto.md
+++ b/mobile/openapi/doc/CheckDuplicateAssetResponseDto.md
@@ -8,8 +8,8 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**isExist** | **bool** | |
**id** | **String** | | [optional]
+**isExist** | **bool** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/CreateAlbumDto.md b/mobile/openapi/doc/CreateAlbumDto.md
index 2f91dba103..557a2499ba 100644
--- a/mobile/openapi/doc/CreateAlbumDto.md
+++ b/mobile/openapi/doc/CreateAlbumDto.md
@@ -9,8 +9,8 @@ import 'package:openapi/api.dart';
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**albumName** | **String** | |
-**sharedWithUserIds** | **List<String>** | | [optional] [default to const []]
**assetIds** | **List<String>** | | [optional] [default to const []]
+**sharedWithUserIds** | **List<String>** | | [optional] [default to const []]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/CreateProfileImageResponseDto.md b/mobile/openapi/doc/CreateProfileImageResponseDto.md
index 3323e7df43..968f262b39 100644
--- a/mobile/openapi/doc/CreateProfileImageResponseDto.md
+++ b/mobile/openapi/doc/CreateProfileImageResponseDto.md
@@ -8,8 +8,8 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**userId** | **String** | |
**profileImagePath** | **String** | |
+**userId** | **String** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/CreateTagDto.md b/mobile/openapi/doc/CreateTagDto.md
index 64222db499..729b39de3f 100644
--- a/mobile/openapi/doc/CreateTagDto.md
+++ b/mobile/openapi/doc/CreateTagDto.md
@@ -8,8 +8,8 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**type** | [**TagTypeEnum**](TagTypeEnum.md) | |
**name** | **String** | |
+**type** | [**TagTypeEnum**](TagTypeEnum.md) | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/CreateUserDto.md b/mobile/openapi/doc/CreateUserDto.md
index 09b963b928..531e2cf199 100644
--- a/mobile/openapi/doc/CreateUserDto.md
+++ b/mobile/openapi/doc/CreateUserDto.md
@@ -9,11 +9,11 @@ import 'package:openapi/api.dart';
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**email** | **String** | |
-**password** | **String** | |
+**externalPath** | **String** | | [optional]
**firstName** | **String** | |
**lastName** | **String** | |
+**password** | **String** | |
**storageLabel** | **String** | | [optional]
-**externalPath** | **String** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/CuratedLocationsResponseDto.md b/mobile/openapi/doc/CuratedLocationsResponseDto.md
index abd86ea535..627bcbf854 100644
--- a/mobile/openapi/doc/CuratedLocationsResponseDto.md
+++ b/mobile/openapi/doc/CuratedLocationsResponseDto.md
@@ -8,11 +8,11 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **String** | |
**city** | **String** | |
-**resizePath** | **String** | |
**deviceAssetId** | **String** | |
**deviceId** | **String** | |
+**id** | **String** | |
+**resizePath** | **String** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/CuratedObjectsResponseDto.md b/mobile/openapi/doc/CuratedObjectsResponseDto.md
index 559f25148f..ee041a8215 100644
--- a/mobile/openapi/doc/CuratedObjectsResponseDto.md
+++ b/mobile/openapi/doc/CuratedObjectsResponseDto.md
@@ -8,11 +8,11 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**deviceAssetId** | **String** | |
+**deviceId** | **String** | |
**id** | **String** | |
**object** | **String** | |
**resizePath** | **String** | |
-**deviceAssetId** | **String** | |
-**deviceId** | **String** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/DeleteAssetResponseDto.md b/mobile/openapi/doc/DeleteAssetResponseDto.md
index 4cd44e030e..c354f53b00 100644
--- a/mobile/openapi/doc/DeleteAssetResponseDto.md
+++ b/mobile/openapi/doc/DeleteAssetResponseDto.md
@@ -8,8 +8,8 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**status** | [**DeleteAssetStatus**](DeleteAssetStatus.md) | |
**id** | **String** | |
+**status** | [**DeleteAssetStatus**](DeleteAssetStatus.md) | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/DownloadArchiveInfo.md b/mobile/openapi/doc/DownloadArchiveInfo.md
index 5ec8c668ff..9094270f0e 100644
--- a/mobile/openapi/doc/DownloadArchiveInfo.md
+++ b/mobile/openapi/doc/DownloadArchiveInfo.md
@@ -8,8 +8,8 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**size** | **int** | |
**assetIds** | **List<String>** | | [default to const []]
+**size** | **int** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/DownloadResponseDto.md b/mobile/openapi/doc/DownloadResponseDto.md
index 2a7bbc9b19..085d69a4e8 100644
--- a/mobile/openapi/doc/DownloadResponseDto.md
+++ b/mobile/openapi/doc/DownloadResponseDto.md
@@ -8,8 +8,8 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalSize** | **int** | |
**archives** | [**List<DownloadArchiveInfo>**](DownloadArchiveInfo.md) | | [default to const []]
+**totalSize** | **int** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/ExifResponseDto.md b/mobile/openapi/doc/ExifResponseDto.md
index 144ac4f49c..065495dcd0 100644
--- a/mobile/openapi/doc/ExifResponseDto.md
+++ b/mobile/openapi/doc/ExifResponseDto.md
@@ -8,27 +8,27 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**fileSizeInByte** | **int** | | [optional]
-**make** | **String** | | [optional]
-**model** | **String** | | [optional]
-**exifImageWidth** | **num** | | [optional]
-**exifImageHeight** | **num** | | [optional]
-**orientation** | **String** | | [optional]
+**city** | **String** | | [optional]
+**country** | **String** | | [optional]
**dateTimeOriginal** | [**DateTime**](DateTime.md) | | [optional]
-**modifyDate** | [**DateTime**](DateTime.md) | | [optional]
-**timeZone** | **String** | | [optional]
-**lensModel** | **String** | | [optional]
+**description** | **String** | | [optional]
+**exifImageHeight** | **num** | | [optional]
+**exifImageWidth** | **num** | | [optional]
+**exposureTime** | **String** | | [optional]
**fNumber** | **num** | | [optional]
+**fileSizeInByte** | **int** | | [optional]
**focalLength** | **num** | | [optional]
**iso** | **num** | | [optional]
-**exposureTime** | **String** | | [optional]
**latitude** | **num** | | [optional]
+**lensModel** | **String** | | [optional]
**longitude** | **num** | | [optional]
-**city** | **String** | | [optional]
-**state** | **String** | | [optional]
-**country** | **String** | | [optional]
-**description** | **String** | | [optional]
+**make** | **String** | | [optional]
+**model** | **String** | | [optional]
+**modifyDate** | [**DateTime**](DateTime.md) | | [optional]
+**orientation** | **String** | | [optional]
**projectionType** | **String** | | [optional]
+**state** | **String** | | [optional]
+**timeZone** | **String** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/ImportAssetDto.md b/mobile/openapi/doc/ImportAssetDto.md
index 408e3519cf..2444c47493 100644
--- a/mobile/openapi/doc/ImportAssetDto.md
+++ b/mobile/openapi/doc/ImportAssetDto.md
@@ -8,17 +8,17 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**isReadOnly** | **bool** | | [optional] [default to true]
**assetPath** | **String** | |
-**sidecarPath** | **String** | | [optional]
**deviceAssetId** | **String** | |
**deviceId** | **String** | |
+**duration** | **String** | | [optional]
**fileCreatedAt** | [**DateTime**](DateTime.md) | |
**fileModifiedAt** | [**DateTime**](DateTime.md) | |
-**isFavorite** | **bool** | |
**isArchived** | **bool** | | [optional]
+**isFavorite** | **bool** | |
+**isReadOnly** | **bool** | | [optional] [default to true]
**isVisible** | **bool** | | [optional]
-**duration** | **String** | | [optional]
+**sidecarPath** | **String** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/JobCountsDto.md b/mobile/openapi/doc/JobCountsDto.md
index 8f5b47c6f1..25154690ab 100644
--- a/mobile/openapi/doc/JobCountsDto.md
+++ b/mobile/openapi/doc/JobCountsDto.md
@@ -10,10 +10,10 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**active** | **int** | |
**completed** | **int** | |
-**failed** | **int** | |
**delayed** | **int** | |
-**waiting** | **int** | |
+**failed** | **int** | |
**paused** | **int** | |
+**waiting** | **int** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/LoginResponseDto.md b/mobile/openapi/doc/LoginResponseDto.md
index b4033fe52c..ad3592eff9 100644
--- a/mobile/openapi/doc/LoginResponseDto.md
+++ b/mobile/openapi/doc/LoginResponseDto.md
@@ -9,13 +9,13 @@ import 'package:openapi/api.dart';
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**accessToken** | **String** | | [readonly]
-**userId** | **String** | | [readonly]
-**userEmail** | **String** | | [readonly]
**firstName** | **String** | | [readonly]
+**isAdmin** | **bool** | | [readonly]
**lastName** | **String** | | [readonly]
**profileImagePath** | **String** | | [readonly]
-**isAdmin** | **bool** | | [readonly]
**shouldChangePassword** | **bool** | | [readonly]
+**userEmail** | **String** | | [readonly]
+**userId** | **String** | | [readonly]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/LogoutResponseDto.md b/mobile/openapi/doc/LogoutResponseDto.md
index 9d17baf2ce..4231190bb2 100644
--- a/mobile/openapi/doc/LogoutResponseDto.md
+++ b/mobile/openapi/doc/LogoutResponseDto.md
@@ -8,8 +8,8 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**successful** | **bool** | |
**redirectUri** | **String** | |
+**successful** | **bool** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/MemoryLaneResponseDto.md b/mobile/openapi/doc/MemoryLaneResponseDto.md
index 9aafda1424..4712744466 100644
--- a/mobile/openapi/doc/MemoryLaneResponseDto.md
+++ b/mobile/openapi/doc/MemoryLaneResponseDto.md
@@ -8,8 +8,8 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**title** | **String** | |
**assets** | [**List<AssetResponseDto>**](AssetResponseDto.md) | | [default to const []]
+**title** | **String** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/OAuthConfigResponseDto.md b/mobile/openapi/doc/OAuthConfigResponseDto.md
index ae1d42c12f..8abc6bb607 100644
--- a/mobile/openapi/doc/OAuthConfigResponseDto.md
+++ b/mobile/openapi/doc/OAuthConfigResponseDto.md
@@ -8,11 +8,11 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**autoLaunch** | **bool** | | [optional]
+**buttonText** | **String** | | [optional]
**enabled** | **bool** | |
**passwordLoginEnabled** | **bool** | |
**url** | **String** | | [optional]
-**buttonText** | **String** | | [optional]
-**autoLaunch** | **bool** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/PeopleResponseDto.md b/mobile/openapi/doc/PeopleResponseDto.md
index 9d00d8608c..8e02531c78 100644
--- a/mobile/openapi/doc/PeopleResponseDto.md
+++ b/mobile/openapi/doc/PeopleResponseDto.md
@@ -8,9 +8,9 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**people** | [**List<PersonResponseDto>**](PersonResponseDto.md) | | [default to const []]
**total** | **num** | |
**visible** | **num** | |
-**people** | [**List<PersonResponseDto>**](PersonResponseDto.md) | | [default to const []]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/PeopleUpdateItem.md b/mobile/openapi/doc/PeopleUpdateItem.md
index 7f7edf311b..43a1b02259 100644
--- a/mobile/openapi/doc/PeopleUpdateItem.md
+++ b/mobile/openapi/doc/PeopleUpdateItem.md
@@ -8,10 +8,10 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **String** | Person id. |
-**name** | **String** | Person name. | [optional]
**featureFaceAssetId** | **String** | Asset is used to get the feature face thumbnail. | [optional]
+**id** | **String** | Person id. |
**isHidden** | **bool** | Person visibility | [optional]
+**name** | **String** | Person name. | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/PersonResponseDto.md b/mobile/openapi/doc/PersonResponseDto.md
index 6660b063cf..e43d67a611 100644
--- a/mobile/openapi/doc/PersonResponseDto.md
+++ b/mobile/openapi/doc/PersonResponseDto.md
@@ -9,9 +9,9 @@ import 'package:openapi/api.dart';
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **String** | |
+**isHidden** | **bool** | |
**name** | **String** | |
**thumbnailPath** | **String** | |
-**isHidden** | **bool** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/PersonUpdateDto.md b/mobile/openapi/doc/PersonUpdateDto.md
index 9a59c852bb..935b4348c3 100644
--- a/mobile/openapi/doc/PersonUpdateDto.md
+++ b/mobile/openapi/doc/PersonUpdateDto.md
@@ -8,9 +8,9 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**name** | **String** | Person name. | [optional]
**featureFaceAssetId** | **String** | Asset is used to get the feature face thumbnail. | [optional]
**isHidden** | **bool** | Person visibility | [optional]
+**name** | **String** | Person name. | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/SearchAlbumResponseDto.md b/mobile/openapi/doc/SearchAlbumResponseDto.md
index f78a51a0f9..b7897c1263 100644
--- a/mobile/openapi/doc/SearchAlbumResponseDto.md
+++ b/mobile/openapi/doc/SearchAlbumResponseDto.md
@@ -8,10 +8,10 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**total** | **int** | |
**count** | **int** | |
-**items** | [**List<AlbumResponseDto>**](AlbumResponseDto.md) | | [default to const []]
**facets** | [**List<SearchFacetResponseDto>**](SearchFacetResponseDto.md) | | [default to const []]
+**items** | [**List<AlbumResponseDto>**](AlbumResponseDto.md) | | [default to const []]
+**total** | **int** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/SearchAssetResponseDto.md b/mobile/openapi/doc/SearchAssetResponseDto.md
index 871a70693a..2fc33feb41 100644
--- a/mobile/openapi/doc/SearchAssetResponseDto.md
+++ b/mobile/openapi/doc/SearchAssetResponseDto.md
@@ -8,10 +8,10 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**total** | **int** | |
**count** | **int** | |
-**items** | [**List<AssetResponseDto>**](AssetResponseDto.md) | | [default to const []]
**facets** | [**List<SearchFacetResponseDto>**](SearchFacetResponseDto.md) | | [default to const []]
+**items** | [**List<AssetResponseDto>**](AssetResponseDto.md) | | [default to const []]
+**total** | **int** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/SearchExploreItem.md b/mobile/openapi/doc/SearchExploreItem.md
index 75eaabd8b1..9ac85893ef 100644
--- a/mobile/openapi/doc/SearchExploreItem.md
+++ b/mobile/openapi/doc/SearchExploreItem.md
@@ -8,8 +8,8 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**value** | **String** | |
**data** | [**AssetResponseDto**](AssetResponseDto.md) | |
+**value** | **String** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/SearchFacetResponseDto.md b/mobile/openapi/doc/SearchFacetResponseDto.md
index c78d5ae8e5..39868d06c8 100644
--- a/mobile/openapi/doc/SearchFacetResponseDto.md
+++ b/mobile/openapi/doc/SearchFacetResponseDto.md
@@ -8,8 +8,8 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**fieldName** | **String** | |
**counts** | [**List<SearchFacetCountResponseDto>**](SearchFacetCountResponseDto.md) | | [default to const []]
+**fieldName** | **String** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/ServerInfoResponseDto.md b/mobile/openapi/doc/ServerInfoResponseDto.md
index 75694d60de..eeabb45bf2 100644
--- a/mobile/openapi/doc/ServerInfoResponseDto.md
+++ b/mobile/openapi/doc/ServerInfoResponseDto.md
@@ -8,13 +8,13 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**diskSizeRaw** | **int** | |
-**diskUseRaw** | **int** | |
+**diskAvailable** | **String** | |
**diskAvailableRaw** | **int** | |
-**diskUsagePercentage** | **double** | |
**diskSize** | **String** | |
+**diskSizeRaw** | **int** | |
+**diskUsagePercentage** | **double** | |
**diskUse** | **String** | |
-**diskAvailable** | **String** | |
+**diskUseRaw** | **int** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/ServerMediaTypesResponseDto.md b/mobile/openapi/doc/ServerMediaTypesResponseDto.md
index 78253e27f7..d4c247e684 100644
--- a/mobile/openapi/doc/ServerMediaTypesResponseDto.md
+++ b/mobile/openapi/doc/ServerMediaTypesResponseDto.md
@@ -8,9 +8,9 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**video** | **List<String>** | | [default to const []]
**image** | **List<String>** | | [default to const []]
**sidecar** | **List<String>** | | [default to const []]
+**video** | **List<String>** | | [default to const []]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/ServerStatsResponseDto.md b/mobile/openapi/doc/ServerStatsResponseDto.md
index 96446e1c28..59af9f2862 100644
--- a/mobile/openapi/doc/ServerStatsResponseDto.md
+++ b/mobile/openapi/doc/ServerStatsResponseDto.md
@@ -9,9 +9,9 @@ import 'package:openapi/api.dart';
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**photos** | **int** | | [default to 0]
-**videos** | **int** | | [default to 0]
**usage** | **int** | | [default to 0]
**usageByUser** | [**List<UsageByUserDto>**](UsageByUserDto.md) | | [default to const []]
+**videos** | **int** | | [default to 0]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/SharedLinkCreateDto.md b/mobile/openapi/doc/SharedLinkCreateDto.md
index fbed9ef71c..807a8d18e7 100644
--- a/mobile/openapi/doc/SharedLinkCreateDto.md
+++ b/mobile/openapi/doc/SharedLinkCreateDto.md
@@ -8,14 +8,14 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**type** | [**SharedLinkType**](SharedLinkType.md) | |
-**assetIds** | **List<String>** | | [optional] [default to const []]
**albumId** | **String** | | [optional]
+**allowDownload** | **bool** | | [optional] [default to true]
+**allowUpload** | **bool** | | [optional] [default to false]
+**assetIds** | **List<String>** | | [optional] [default to const []]
**description** | **String** | | [optional]
**expiresAt** | [**DateTime**](DateTime.md) | | [optional]
-**allowUpload** | **bool** | | [optional] [default to false]
-**allowDownload** | **bool** | | [optional] [default to true]
**showExif** | **bool** | | [optional] [default to true]
+**type** | [**SharedLinkType**](SharedLinkType.md) | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/SharedLinkEditDto.md b/mobile/openapi/doc/SharedLinkEditDto.md
index 5105726cbe..387ef4c503 100644
--- a/mobile/openapi/doc/SharedLinkEditDto.md
+++ b/mobile/openapi/doc/SharedLinkEditDto.md
@@ -8,10 +8,10 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**allowDownload** | **bool** | | [optional]
+**allowUpload** | **bool** | | [optional]
**description** | **String** | | [optional]
**expiresAt** | [**DateTime**](DateTime.md) | | [optional]
-**allowUpload** | **bool** | | [optional]
-**allowDownload** | **bool** | | [optional]
**showExif** | **bool** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/SharedLinkResponseDto.md b/mobile/openapi/doc/SharedLinkResponseDto.md
index f649807f4c..3e7c8256b2 100644
--- a/mobile/openapi/doc/SharedLinkResponseDto.md
+++ b/mobile/openapi/doc/SharedLinkResponseDto.md
@@ -8,18 +8,18 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**type** | [**SharedLinkType**](SharedLinkType.md) | |
-**id** | **String** | |
-**description** | **String** | |
-**userId** | **String** | |
-**key** | **String** | |
-**createdAt** | [**DateTime**](DateTime.md) | |
-**expiresAt** | [**DateTime**](DateTime.md) | |
-**assets** | [**List<AssetResponseDto>**](AssetResponseDto.md) | | [default to const []]
**album** | [**AlbumResponseDto**](AlbumResponseDto.md) | | [optional]
-**allowUpload** | **bool** | |
**allowDownload** | **bool** | |
+**allowUpload** | **bool** | |
+**assets** | [**List<AssetResponseDto>**](AssetResponseDto.md) | | [default to const []]
+**createdAt** | [**DateTime**](DateTime.md) | |
+**description** | **String** | |
+**expiresAt** | [**DateTime**](DateTime.md) | |
+**id** | **String** | |
+**key** | **String** | |
**showExif** | **bool** | |
+**type** | [**SharedLinkType**](SharedLinkType.md) | |
+**userId** | **String** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/SignUpDto.md b/mobile/openapi/doc/SignUpDto.md
index 6ca6759a93..92294df026 100644
--- a/mobile/openapi/doc/SignUpDto.md
+++ b/mobile/openapi/doc/SignUpDto.md
@@ -9,9 +9,9 @@ import 'package:openapi/api.dart';
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**email** | **String** | |
-**password** | **String** | |
**firstName** | **String** | |
**lastName** | **String** | |
+**password** | **String** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/SmartInfoResponseDto.md b/mobile/openapi/doc/SmartInfoResponseDto.md
index 39d162abe4..ea8353829d 100644
--- a/mobile/openapi/doc/SmartInfoResponseDto.md
+++ b/mobile/openapi/doc/SmartInfoResponseDto.md
@@ -8,8 +8,8 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**tags** | **List<String>** | | [optional] [default to const []]
**objects** | **List<String>** | | [optional] [default to const []]
+**tags** | **List<String>** | | [optional] [default to const []]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/SystemConfigDto.md b/mobile/openapi/doc/SystemConfigDto.md
index 908fc46da4..f1526854a1 100644
--- a/mobile/openapi/doc/SystemConfigDto.md
+++ b/mobile/openapi/doc/SystemConfigDto.md
@@ -9,10 +9,10 @@ import 'package:openapi/api.dart';
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ffmpeg** | [**SystemConfigFFmpegDto**](SystemConfigFFmpegDto.md) | |
+**job** | [**SystemConfigJobDto**](SystemConfigJobDto.md) | |
**oauth** | [**SystemConfigOAuthDto**](SystemConfigOAuthDto.md) | |
**passwordLogin** | [**SystemConfigPasswordLoginDto**](SystemConfigPasswordLoginDto.md) | |
**storageTemplate** | [**SystemConfigStorageTemplateDto**](SystemConfigStorageTemplateDto.md) | |
-**job** | [**SystemConfigJobDto**](SystemConfigJobDto.md) | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/SystemConfigFFmpegDto.md b/mobile/openapi/doc/SystemConfigFFmpegDto.md
index a08261e797..a23815e9dc 100644
--- a/mobile/openapi/doc/SystemConfigFFmpegDto.md
+++ b/mobile/openapi/doc/SystemConfigFFmpegDto.md
@@ -9,13 +9,13 @@ import 'package:openapi/api.dart';
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**crf** | **int** | |
-**threads** | **int** | |
-**targetVideoCodec** | [**VideoCodec**](VideoCodec.md) | |
-**targetAudioCodec** | [**AudioCodec**](AudioCodec.md) | |
-**transcode** | [**TranscodePolicy**](TranscodePolicy.md) | |
+**maxBitrate** | **String** | |
**preset** | **String** | |
+**targetAudioCodec** | [**AudioCodec**](AudioCodec.md) | |
**targetResolution** | **String** | |
-**maxBitrate** | **String** | |
+**targetVideoCodec** | [**VideoCodec**](VideoCodec.md) | |
+**threads** | **int** | |
+**transcode** | [**TranscodePolicy**](TranscodePolicy.md) | |
**twoPass** | **bool** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/SystemConfigJobDto.md b/mobile/openapi/doc/SystemConfigJobDto.md
index bdff864764..7ded1184aa 100644
--- a/mobile/openapi/doc/SystemConfigJobDto.md
+++ b/mobile/openapi/doc/SystemConfigJobDto.md
@@ -8,16 +8,16 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**thumbnailGeneration** | [**JobSettingsDto**](JobSettingsDto.md) | |
+**backgroundTask** | [**JobSettingsDto**](JobSettingsDto.md) | |
+**clipEncoding** | [**JobSettingsDto**](JobSettingsDto.md) | |
**metadataExtraction** | [**JobSettingsDto**](JobSettingsDto.md) | |
-**videoConversion** | [**JobSettingsDto**](JobSettingsDto.md) | |
**objectTagging** | [**JobSettingsDto**](JobSettingsDto.md) | |
-**clipEncoding** | [**JobSettingsDto**](JobSettingsDto.md) | |
-**storageTemplateMigration** | [**JobSettingsDto**](JobSettingsDto.md) | |
-**backgroundTask** | [**JobSettingsDto**](JobSettingsDto.md) | |
-**search** | [**JobSettingsDto**](JobSettingsDto.md) | |
**recognizeFaces** | [**JobSettingsDto**](JobSettingsDto.md) | |
+**search** | [**JobSettingsDto**](JobSettingsDto.md) | |
**sidecar** | [**JobSettingsDto**](JobSettingsDto.md) | |
+**storageTemplateMigration** | [**JobSettingsDto**](JobSettingsDto.md) | |
+**thumbnailGeneration** | [**JobSettingsDto**](JobSettingsDto.md) | |
+**videoConversion** | [**JobSettingsDto**](JobSettingsDto.md) | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/SystemConfigOAuthDto.md b/mobile/openapi/doc/SystemConfigOAuthDto.md
index a79b0729f9..f3618a08d5 100644
--- a/mobile/openapi/doc/SystemConfigOAuthDto.md
+++ b/mobile/openapi/doc/SystemConfigOAuthDto.md
@@ -8,17 +8,17 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**enabled** | **bool** | |
-**issuerUrl** | **String** | |
+**autoLaunch** | **bool** | |
+**autoRegister** | **bool** | |
+**buttonText** | **String** | |
**clientId** | **String** | |
**clientSecret** | **String** | |
-**scope** | **String** | |
-**storageLabelClaim** | **String** | |
-**buttonText** | **String** | |
-**autoRegister** | **bool** | |
-**autoLaunch** | **bool** | |
+**enabled** | **bool** | |
+**issuerUrl** | **String** | |
**mobileOverrideEnabled** | **bool** | |
**mobileRedirectUri** | **String** | |
+**scope** | **String** | |
+**storageLabelClaim** | **String** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/SystemConfigTemplateStorageOptionDto.md b/mobile/openapi/doc/SystemConfigTemplateStorageOptionDto.md
index 5aa9aa195e..18adaa6fad 100644
--- a/mobile/openapi/doc/SystemConfigTemplateStorageOptionDto.md
+++ b/mobile/openapi/doc/SystemConfigTemplateStorageOptionDto.md
@@ -8,13 +8,13 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**yearOptions** | **List<String>** | | [default to const []]
-**monthOptions** | **List<String>** | | [default to const []]
**dayOptions** | **List<String>** | | [default to const []]
**hourOptions** | **List<String>** | | [default to const []]
**minuteOptions** | **List<String>** | | [default to const []]
-**secondOptions** | **List<String>** | | [default to const []]
+**monthOptions** | **List<String>** | | [default to const []]
**presetOptions** | **List<String>** | | [default to const []]
+**secondOptions** | **List<String>** | | [default to const []]
+**yearOptions** | **List<String>** | | [default to const []]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/TagResponseDto.md b/mobile/openapi/doc/TagResponseDto.md
index 366e950337..caa47669f3 100644
--- a/mobile/openapi/doc/TagResponseDto.md
+++ b/mobile/openapi/doc/TagResponseDto.md
@@ -8,9 +8,9 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**type** | [**TagTypeEnum**](TagTypeEnum.md) | |
**id** | **String** | |
**name** | **String** | |
+**type** | [**TagTypeEnum**](TagTypeEnum.md) | |
**userId** | **String** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/UpdateAssetDto.md b/mobile/openapi/doc/UpdateAssetDto.md
index bc08c8175c..3e14538b38 100644
--- a/mobile/openapi/doc/UpdateAssetDto.md
+++ b/mobile/openapi/doc/UpdateAssetDto.md
@@ -8,10 +8,10 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**tagIds** | **List<String>** | | [optional] [default to const []]
-**isFavorite** | **bool** | | [optional]
-**isArchived** | **bool** | | [optional]
**description** | **String** | | [optional]
+**isArchived** | **bool** | | [optional]
+**isFavorite** | **bool** | | [optional]
+**tagIds** | **List<String>** | | [optional] [default to const []]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/UpdateUserDto.md b/mobile/openapi/doc/UpdateUserDto.md
index 6376c18b10..d3b41f3c38 100644
--- a/mobile/openapi/doc/UpdateUserDto.md
+++ b/mobile/openapi/doc/UpdateUserDto.md
@@ -8,15 +8,15 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **String** | |
**email** | **String** | | [optional]
-**password** | **String** | | [optional]
-**firstName** | **String** | | [optional]
-**lastName** | **String** | | [optional]
-**storageLabel** | **String** | | [optional]
**externalPath** | **String** | | [optional]
+**firstName** | **String** | | [optional]
+**id** | **String** | |
**isAdmin** | **bool** | | [optional]
+**lastName** | **String** | | [optional]
+**password** | **String** | | [optional]
**shouldChangePassword** | **bool** | | [optional]
+**storageLabel** | **String** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/UsageByUserDto.md b/mobile/openapi/doc/UsageByUserDto.md
index 1d1bef8858..c1c5240b99 100644
--- a/mobile/openapi/doc/UsageByUserDto.md
+++ b/mobile/openapi/doc/UsageByUserDto.md
@@ -8,12 +8,12 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**userId** | **String** | |
+**photos** | **int** | |
+**usage** | **int** | |
**userFirstName** | **String** | |
+**userId** | **String** | |
**userLastName** | **String** | |
-**photos** | **int** | |
**videos** | **int** | |
-**usage** | **int** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/doc/UserResponseDto.md b/mobile/openapi/doc/UserResponseDto.md
index 1c7557b96e..320827f984 100644
--- a/mobile/openapi/doc/UserResponseDto.md
+++ b/mobile/openapi/doc/UserResponseDto.md
@@ -8,19 +8,19 @@ import 'package:openapi/api.dart';
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **String** | |
+**createdAt** | [**DateTime**](DateTime.md) | |
+**deletedAt** | [**DateTime**](DateTime.md) | |
**email** | **String** | |
+**externalPath** | **String** | |
**firstName** | **String** | |
+**id** | **String** | |
+**isAdmin** | **bool** | |
**lastName** | **String** | |
-**storageLabel** | **String** | |
-**externalPath** | **String** | |
+**oauthId** | **String** | |
**profileImagePath** | **String** | |
**shouldChangePassword** | **bool** | |
-**isAdmin** | **bool** | |
-**createdAt** | [**DateTime**](DateTime.md) | |
-**deletedAt** | [**DateTime**](DateTime.md) | |
+**storageLabel** | **String** | |
**updatedAt** | [**DateTime**](DateTime.md) | |
-**oauthId** | **String** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/mobile/openapi/lib/api/asset_api.dart b/mobile/openapi/lib/api/asset_api.dart
index c570229aaf..b4ac396d33 100644
--- a/mobile/openapi/lib/api/asset_api.dart
+++ b/mobile/openapi/lib/api/asset_api.dart
@@ -1349,18 +1349,18 @@ class AssetApi {
///
/// * [String] key:
///
- /// * [MultipartFile] livePhotoData:
+ /// * [String] duration:
///
- /// * [MultipartFile] sidecarData:
+ /// * [bool] isArchived:
///
/// * [bool] isReadOnly:
///
- /// * [bool] isArchived:
- ///
/// * [bool] isVisible:
///
- /// * [String] duration:
- Future<Response> uploadFileWithHttpInfo(MultipartFile assetData, String deviceAssetId, String deviceId, DateTime fileCreatedAt, DateTime fileModifiedAt, bool isFavorite, { String? key, MultipartFile? livePhotoData, MultipartFile? sidecarData, bool? isReadOnly, bool? isArchived, bool? isVisible, String? duration, }) async {
+ /// * [MultipartFile] livePhotoData:
+ ///
+ /// * [MultipartFile] sidecarData:
+ Future<Response> uploadFileWithHttpInfo(MultipartFile assetData, String deviceAssetId, String deviceId, DateTime fileCreatedAt, DateTime fileModifiedAt, bool isFavorite, { String? key, String? duration, bool? isArchived, bool? isReadOnly, bool? isVisible, MultipartFile? livePhotoData, MultipartFile? sidecarData, }) async {
// ignore: prefer_const_declarations
final path = r'/asset/upload';
@@ -1384,20 +1384,6 @@ class AssetApi {
mp.fields[r'assetData'] = assetData.field;
mp.files.add(assetData);
}
- if (livePhotoData != null) {
- hasFields = true;
- mp.fields[r'livePhotoData'] = livePhotoData.field;
- mp.files.add(livePhotoData);
- }
- if (sidecarData != null) {
- hasFields = true;
- mp.fields[r'sidecarData'] = sidecarData.field;
- mp.files.add(sidecarData);
- }
- if (isReadOnly != null) {
- hasFields = true;
- mp.fields[r'isReadOnly'] = parameterToString(isReadOnly);
- }
if (deviceAssetId != null) {
hasFields = true;
mp.fields[r'deviceAssetId'] = parameterToString(deviceAssetId);
@@ -1406,6 +1392,10 @@ class AssetApi {
hasFields = true;
mp.fields[r'deviceId'] = parameterToString(deviceId);
}
+ if (duration != null) {
+ hasFields = true;
+ mp.fields[r'duration'] = parameterToString(duration);
+ }
if (fileCreatedAt != null) {
hasFields = true;
mp.fields[r'fileCreatedAt'] = parameterToString(fileCreatedAt);
@@ -1414,21 +1404,31 @@ class AssetApi {
hasFields = true;
mp.fields[r'fileModifiedAt'] = parameterToString(fileModifiedAt);
}
+ if (isArchived != null) {
+ hasFields = true;
+ mp.fields[r'isArchived'] = parameterToString(isArchived);
+ }
if (isFavorite != null) {
hasFields = true;
mp.fields[r'isFavorite'] = parameterToString(isFavorite);
}
- if (isArchived != null) {
+ if (isReadOnly != null) {
hasFields = true;
- mp.fields[r'isArchived'] = parameterToString(isArchived);
+ mp.fields[r'isReadOnly'] = parameterToString(isReadOnly);
}
if (isVisible != null) {
hasFields = true;
mp.fields[r'isVisible'] = parameterToString(isVisible);
}
- if (duration != null) {
+ if (livePhotoData != null) {
hasFields = true;
- mp.fields[r'duration'] = parameterToString(duration);
+ mp.fields[r'livePhotoData'] = livePhotoData.field;
+ mp.files.add(livePhotoData);
+ }
+ if (sidecarData != null) {
+ hasFields = true;
+ mp.fields[r'sidecarData'] = sidecarData.field;
+ mp.files.add(sidecarData);
}
if (hasFields) {
postBody = mp;
@@ -1461,19 +1461,19 @@ class AssetApi {
///
/// * [String] key:
///
- /// * [MultipartFile] livePhotoData:
+ /// * [String] duration:
///
- /// * [MultipartFile] sidecarData:
+ /// * [bool] isArchived:
///
/// * [bool] isReadOnly:
///
- /// * [bool] isArchived:
- ///
/// * [bool] isVisible:
///
- /// * [String] duration:
- Future<AssetFileUploadResponseDto?> uploadFile(MultipartFile assetData, String deviceAssetId, String deviceId, DateTime fileCreatedAt, DateTime fileModifiedAt, bool isFavorite, { String? key, MultipartFile? livePhotoData, MultipartFile? sidecarData, bool? isReadOnly, bool? isArchived, bool? isVisible, String? duration, }) async {
- final response = await uploadFileWithHttpInfo(assetData, deviceAssetId, deviceId, fileCreatedAt, fileModifiedAt, isFavorite, key: key, livePhotoData: livePhotoData, sidecarData: sidecarData, isReadOnly: isReadOnly, isArchived: isArchived, isVisible: isVisible, duration: duration, );
+ /// * [MultipartFile] livePhotoData:
+ ///
+ /// * [MultipartFile] sidecarData:
+ Future<AssetFileUploadResponseDto?> uploadFile(MultipartFile assetData, String deviceAssetId, String deviceId, DateTime fileCreatedAt, DateTime fileModifiedAt, bool isFavorite, { String? key, String? duration, bool? isArchived, bool? isReadOnly, bool? isVisible, MultipartFile? livePhotoData, MultipartFile? sidecarData, }) async {
+ final response = await uploadFileWithHttpInfo(assetData, deviceAssetId, deviceId, fileCreatedAt, fileModifiedAt, isFavorite, key: key, duration: duration, isArchived: isArchived, isReadOnly: isReadOnly, isVisible: isVisible, livePhotoData: livePhotoData, sidecarData: sidecarData, );
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
diff --git a/mobile/openapi/lib/model/add_assets_response_dto.dart b/mobile/openapi/lib/model/add_assets_response_dto.dart
index 5b3586d85a..a5b293e1fc 100644
--- a/mobile/openapi/lib/model/add_assets_response_dto.dart
+++ b/mobile/openapi/lib/model/add_assets_response_dto.dart
@@ -13,15 +13,11 @@ part of openapi.api;
class AddAssetsResponseDto {
/// Returns a new [AddAssetsResponseDto] instance.
AddAssetsResponseDto({
- required this.successfullyAdded,
- this.alreadyInAlbum = const [],
this.album,
+ this.alreadyInAlbum = const [],
+ required this.successfullyAdded,
});
- int successfullyAdded;
-
- List<String> alreadyInAlbum;
-
///
/// 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
@@ -30,31 +26,35 @@ class AddAssetsResponseDto {
///
AlbumResponseDto? album;
+ List<String> alreadyInAlbum;
+
+ int successfullyAdded;
+
@override
bool operator ==(Object other) => identical(this, other) || other is AddAssetsResponseDto &&
- other.successfullyAdded == successfullyAdded &&
+ other.album == album &&
other.alreadyInAlbum == alreadyInAlbum &&
- other.album == album;
+ other.successfullyAdded == successfullyAdded;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (successfullyAdded.hashCode) +
+ (album == null ? 0 : album!.hashCode) +
(alreadyInAlbum.hashCode) +
- (album == null ? 0 : album!.hashCode);
+ (successfullyAdded.hashCode);
@override
- String toString() => 'AddAssetsResponseDto[successfullyAdded=$successfullyAdded, alreadyInAlbum=$alreadyInAlbum, album=$album]';
+ String toString() => 'AddAssetsResponseDto[album=$album, alreadyInAlbum=$alreadyInAlbum, successfullyAdded=$successfullyAdded]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'successfullyAdded'] = this.successfullyAdded;
- json[r'alreadyInAlbum'] = this.alreadyInAlbum;
if (this.album != null) {
json[r'album'] = this.album;
} else {
// json[r'album'] = null;
}
+ json[r'alreadyInAlbum'] = this.alreadyInAlbum;
+ json[r'successfullyAdded'] = this.successfullyAdded;
return json;
}
@@ -66,11 +66,11 @@ class AddAssetsResponseDto {
final json = value.cast<String, dynamic>();
return AddAssetsResponseDto(
- successfullyAdded: mapValueOfType<int>(json, r'successfullyAdded')!,
+ album: AlbumResponseDto.fromJson(json[r'album']),
alreadyInAlbum: json[r'alreadyInAlbum'] is Iterable
? (json[r'alreadyInAlbum'] as Iterable).cast<String>().toList(growable: false)
: const [],
- album: AlbumResponseDto.fromJson(json[r'album']),
+ successfullyAdded: mapValueOfType<int>(json, r'successfullyAdded')!,
);
}
return null;
@@ -118,8 +118,8 @@ class AddAssetsResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'successfullyAdded',
'alreadyInAlbum',
+ 'successfullyAdded',
};
}
diff --git a/mobile/openapi/lib/model/admin_signup_response_dto.dart b/mobile/openapi/lib/model/admin_signup_response_dto.dart
index 6eabcd7c36..b63e305a78 100644
--- a/mobile/openapi/lib/model/admin_signup_response_dto.dart
+++ b/mobile/openapi/lib/model/admin_signup_response_dto.dart
@@ -13,50 +13,50 @@ part of openapi.api;
class AdminSignupResponseDto {
/// Returns a new [AdminSignupResponseDto] instance.
AdminSignupResponseDto({
- required this.id,
+ required this.createdAt,
required this.email,
required this.firstName,
+ required this.id,
required this.lastName,
- required this.createdAt,
});
- String id;
+ DateTime createdAt;
String email;
String firstName;
- String lastName;
+ String id;
- DateTime createdAt;
+ String lastName;
@override
bool operator ==(Object other) => identical(this, other) || other is AdminSignupResponseDto &&
- other.id == id &&
+ other.createdAt == createdAt &&
other.email == email &&
other.firstName == firstName &&
- other.lastName == lastName &&
- other.createdAt == createdAt;
+ other.id == id &&
+ other.lastName == lastName;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (id.hashCode) +
+ (createdAt.hashCode) +
(email.hashCode) +
(firstName.hashCode) +
- (lastName.hashCode) +
- (createdAt.hashCode);
+ (id.hashCode) +
+ (lastName.hashCode);
@override
- String toString() => 'AdminSignupResponseDto[id=$id, email=$email, firstName=$firstName, lastName=$lastName, createdAt=$createdAt]';
+ String toString() => 'AdminSignupResponseDto[createdAt=$createdAt, email=$email, firstName=$firstName, id=$id, lastName=$lastName]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'id'] = this.id;
+ json[r'createdAt'] = this.createdAt.toUtc().toIso8601String();
json[r'email'] = this.email;
json[r'firstName'] = this.firstName;
+ json[r'id'] = this.id;
json[r'lastName'] = this.lastName;
- json[r'createdAt'] = this.createdAt.toUtc().toIso8601String();
return json;
}
@@ -68,11 +68,11 @@ class AdminSignupResponseDto {
final json = value.cast<String, dynamic>();
return AdminSignupResponseDto(
- id: mapValueOfType<String>(json, r'id')!,
+ createdAt: mapDateTime(json, r'createdAt', r'')!,
email: mapValueOfType<String>(json, r'email')!,
firstName: mapValueOfType<String>(json, r'firstName')!,
+ id: mapValueOfType<String>(json, r'id')!,
lastName: mapValueOfType<String>(json, r'lastName')!,
- createdAt: mapDateTime(json, r'createdAt', r'')!,
);
}
return null;
@@ -120,11 +120,11 @@ class AdminSignupResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'id',
+ 'createdAt',
'email',
'firstName',
+ 'id',
'lastName',
- 'createdAt',
};
}
diff --git a/mobile/openapi/lib/model/album_count_response_dto.dart b/mobile/openapi/lib/model/album_count_response_dto.dart
index 33fea91a8a..7227cbf55a 100644
--- a/mobile/openapi/lib/model/album_count_response_dto.dart
+++ b/mobile/openapi/lib/model/album_count_response_dto.dart
@@ -13,38 +13,38 @@ part of openapi.api;
class AlbumCountResponseDto {
/// Returns a new [AlbumCountResponseDto] instance.
AlbumCountResponseDto({
+ required this.notShared,
required this.owned,
required this.shared,
- required this.notShared,
});
+ int notShared;
+
int owned;
int shared;
- int notShared;
-
@override
bool operator ==(Object other) => identical(this, other) || other is AlbumCountResponseDto &&
+ other.notShared == notShared &&
other.owned == owned &&
- other.shared == shared &&
- other.notShared == notShared;
+ other.shared == shared;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
+ (notShared.hashCode) +
(owned.hashCode) +
- (shared.hashCode) +
- (notShared.hashCode);
+ (shared.hashCode);
@override
- String toString() => 'AlbumCountResponseDto[owned=$owned, shared=$shared, notShared=$notShared]';
+ String toString() => 'AlbumCountResponseDto[notShared=$notShared, owned=$owned, shared=$shared]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
+ json[r'notShared'] = this.notShared;
json[r'owned'] = this.owned;
json[r'shared'] = this.shared;
- json[r'notShared'] = this.notShared;
return json;
}
@@ -56,9 +56,9 @@ class AlbumCountResponseDto {
final json = value.cast<String, dynamic>();
return AlbumCountResponseDto(
+ notShared: mapValueOfType<int>(json, r'notShared')!,
owned: mapValueOfType<int>(json, r'owned')!,
shared: mapValueOfType<int>(json, r'shared')!,
- notShared: mapValueOfType<int>(json, r'notShared')!,
);
}
return null;
@@ -106,9 +106,9 @@ class AlbumCountResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
+ 'notShared',
'owned',
'shared',
- 'notShared',
};
}
diff --git a/mobile/openapi/lib/model/album_response_dto.dart b/mobile/openapi/lib/model/album_response_dto.dart
index dc76a67054..e8a07c26dc 100644
--- a/mobile/openapi/lib/model/album_response_dto.dart
+++ b/mobile/openapi/lib/model/album_response_dto.dart
@@ -13,41 +13,31 @@ part of openapi.api;
class AlbumResponseDto {
/// Returns a new [AlbumResponseDto] instance.
AlbumResponseDto({
+ required this.albumName,
+ required this.albumThumbnailAssetId,
required this.assetCount,
+ this.assets = const [],
+ required this.createdAt,
required this.id,
+ this.lastModifiedAssetTimestamp,
+ required this.owner,
required this.ownerId,
- required this.albumName,
- required this.createdAt,
- required this.updatedAt,
- required this.albumThumbnailAssetId,
required this.shared,
this.sharedUsers = const [],
- this.assets = const [],
- required this.owner,
- this.lastModifiedAssetTimestamp,
+ required this.updatedAt,
});
- int assetCount;
-
- String id;
-
- String ownerId;
-
String albumName;
- DateTime createdAt;
-
- DateTime updatedAt;
-
String? albumThumbnailAssetId;
- bool shared;
-
- List<UserResponseDto> sharedUsers;
+ int assetCount;
List<AssetResponseDto> assets;
- UserResponseDto owner;
+ DateTime createdAt;
+
+ String id;
///
/// Please note: This property should have been non-nullable! Since the specification file
@@ -57,62 +47,72 @@ class AlbumResponseDto {
///
DateTime? lastModifiedAssetTimestamp;
+ UserResponseDto owner;
+
+ String ownerId;
+
+ bool shared;
+
+ List<UserResponseDto> sharedUsers;
+
+ DateTime updatedAt;
+
@override
bool operator ==(Object other) => identical(this, other) || other is AlbumResponseDto &&
+ other.albumName == albumName &&
+ other.albumThumbnailAssetId == albumThumbnailAssetId &&
other.assetCount == assetCount &&
+ other.assets == assets &&
+ other.createdAt == createdAt &&
other.id == id &&
+ other.lastModifiedAssetTimestamp == lastModifiedAssetTimestamp &&
+ other.owner == owner &&
other.ownerId == ownerId &&
- other.albumName == albumName &&
- other.createdAt == createdAt &&
- other.updatedAt == updatedAt &&
- other.albumThumbnailAssetId == albumThumbnailAssetId &&
other.shared == shared &&
other.sharedUsers == sharedUsers &&
- other.assets == assets &&
- other.owner == owner &&
- other.lastModifiedAssetTimestamp == lastModifiedAssetTimestamp;
+ other.updatedAt == updatedAt;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
+ (albumName.hashCode) +
+ (albumThumbnailAssetId == null ? 0 : albumThumbnailAssetId!.hashCode) +
(assetCount.hashCode) +
+ (assets.hashCode) +
+ (createdAt.hashCode) +
(id.hashCode) +
+ (lastModifiedAssetTimestamp == null ? 0 : lastModifiedAssetTimestamp!.hashCode) +
+ (owner.hashCode) +
(ownerId.hashCode) +
- (albumName.hashCode) +
- (createdAt.hashCode) +
- (updatedAt.hashCode) +
- (albumThumbnailAssetId == null ? 0 : albumThumbnailAssetId!.hashCode) +
(shared.hashCode) +
(sharedUsers.hashCode) +
- (assets.hashCode) +
- (owner.hashCode) +
- (lastModifiedAssetTimestamp == null ? 0 : lastModifiedAssetTimestamp!.hashCode);
+ (updatedAt.hashCode);
@override
- String toString() => 'AlbumResponseDto[assetCount=$assetCount, id=$id, ownerId=$ownerId, albumName=$albumName, createdAt=$createdAt, updatedAt=$updatedAt, albumThumbnailAssetId=$albumThumbnailAssetId, shared=$shared, sharedUsers=$sharedUsers, assets=$assets, owner=$owner, lastModifiedAssetTimestamp=$lastModifiedAssetTimestamp]';
+ String toString() => 'AlbumResponseDto[albumName=$albumName, albumThumbnailAssetId=$albumThumbnailAssetId, assetCount=$assetCount, assets=$assets, createdAt=$createdAt, id=$id, lastModifiedAssetTimestamp=$lastModifiedAssetTimestamp, owner=$owner, ownerId=$ownerId, shared=$shared, sharedUsers=$sharedUsers, updatedAt=$updatedAt]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'assetCount'] = this.assetCount;
- json[r'id'] = this.id;
- json[r'ownerId'] = this.ownerId;
json[r'albumName'] = this.albumName;
- json[r'createdAt'] = this.createdAt.toUtc().toIso8601String();
- json[r'updatedAt'] = this.updatedAt.toUtc().toIso8601String();
if (this.albumThumbnailAssetId != null) {
json[r'albumThumbnailAssetId'] = this.albumThumbnailAssetId;
} else {
// json[r'albumThumbnailAssetId'] = null;
}
- json[r'shared'] = this.shared;
- json[r'sharedUsers'] = this.sharedUsers;
+ json[r'assetCount'] = this.assetCount;
json[r'assets'] = this.assets;
- json[r'owner'] = this.owner;
+ json[r'createdAt'] = this.createdAt.toUtc().toIso8601String();
+ json[r'id'] = this.id;
if (this.lastModifiedAssetTimestamp != null) {
json[r'lastModifiedAssetTimestamp'] = this.lastModifiedAssetTimestamp!.toUtc().toIso8601String();
} else {
// json[r'lastModifiedAssetTimestamp'] = null;
}
+ json[r'owner'] = this.owner;
+ json[r'ownerId'] = this.ownerId;
+ json[r'shared'] = this.shared;
+ json[r'sharedUsers'] = this.sharedUsers;
+ json[r'updatedAt'] = this.updatedAt.toUtc().toIso8601String();
return json;
}
@@ -124,18 +124,18 @@ class AlbumResponseDto {
final json = value.cast<String, dynamic>();
return AlbumResponseDto(
+ albumName: mapValueOfType<String>(json, r'albumName')!,
+ albumThumbnailAssetId: mapValueOfType<String>(json, r'albumThumbnailAssetId'),
assetCount: mapValueOfType<int>(json, r'assetCount')!,
+ assets: AssetResponseDto.listFromJson(json[r'assets']),
+ createdAt: mapDateTime(json, r'createdAt', r'')!,
id: mapValueOfType<String>(json, r'id')!,
+ lastModifiedAssetTimestamp: mapDateTime(json, r'lastModifiedAssetTimestamp', r''),
+ owner: UserResponseDto.fromJson(json[r'owner'])!,
ownerId: mapValueOfType<String>(json, r'ownerId')!,
- albumName: mapValueOfType<String>(json, r'albumName')!,
- createdAt: mapDateTime(json, r'createdAt', r'')!,
- updatedAt: mapDateTime(json, r'updatedAt', r'')!,
- albumThumbnailAssetId: mapValueOfType<String>(json, r'albumThumbnailAssetId'),
shared: mapValueOfType<bool>(json, r'shared')!,
sharedUsers: UserResponseDto.listFromJson(json[r'sharedUsers']),
- assets: AssetResponseDto.listFromJson(json[r'assets']),
- owner: UserResponseDto.fromJson(json[r'owner'])!,
- lastModifiedAssetTimestamp: mapDateTime(json, r'lastModifiedAssetTimestamp', r''),
+ updatedAt: mapDateTime(json, r'updatedAt', r'')!,
);
}
return null;
@@ -183,17 +183,17 @@ class AlbumResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
+ 'albumName',
+ 'albumThumbnailAssetId',
'assetCount',
+ 'assets',
+ 'createdAt',
'id',
+ 'owner',
'ownerId',
- 'albumName',
- 'createdAt',
- 'updatedAt',
- 'albumThumbnailAssetId',
'shared',
'sharedUsers',
- 'assets',
- 'owner',
+ 'updatedAt',
};
}
diff --git a/mobile/openapi/lib/model/all_job_status_response_dto.dart b/mobile/openapi/lib/model/all_job_status_response_dto.dart
index aa3ba1d74d..17c443abef 100644
--- a/mobile/openapi/lib/model/all_job_status_response_dto.dart
+++ b/mobile/openapi/lib/model/all_job_status_response_dto.dart
@@ -13,80 +13,80 @@ part of openapi.api;
class AllJobStatusResponseDto {
/// Returns a new [AllJobStatusResponseDto] instance.
AllJobStatusResponseDto({
- required this.thumbnailGeneration,
+ required this.backgroundTask,
+ required this.clipEncoding,
required this.metadataExtraction,
- required this.videoConversion,
required this.objectTagging,
- required this.clipEncoding,
- required this.storageTemplateMigration,
- required this.backgroundTask,
- required this.search,
required this.recognizeFaces,
+ required this.search,
required this.sidecar,
+ required this.storageTemplateMigration,
+ required this.thumbnailGeneration,
+ required this.videoConversion,
});
- JobStatusDto thumbnailGeneration;
+ JobStatusDto backgroundTask;
- JobStatusDto metadataExtraction;
+ JobStatusDto clipEncoding;
- JobStatusDto videoConversion;
+ JobStatusDto metadataExtraction;
JobStatusDto objectTagging;
- JobStatusDto clipEncoding;
+ JobStatusDto recognizeFaces;
- JobStatusDto storageTemplateMigration;
+ JobStatusDto search;
- JobStatusDto backgroundTask;
+ JobStatusDto sidecar;
- JobStatusDto search;
+ JobStatusDto storageTemplateMigration;
- JobStatusDto recognizeFaces;
+ JobStatusDto thumbnailGeneration;
- JobStatusDto sidecar;
+ JobStatusDto videoConversion;
@override
bool operator ==(Object other) => identical(this, other) || other is AllJobStatusResponseDto &&
- other.thumbnailGeneration == thumbnailGeneration &&
+ other.backgroundTask == backgroundTask &&
+ other.clipEncoding == clipEncoding &&
other.metadataExtraction == metadataExtraction &&
- other.videoConversion == videoConversion &&
other.objectTagging == objectTagging &&
- other.clipEncoding == clipEncoding &&
- other.storageTemplateMigration == storageTemplateMigration &&
- other.backgroundTask == backgroundTask &&
- other.search == search &&
other.recognizeFaces == recognizeFaces &&
- other.sidecar == sidecar;
+ other.search == search &&
+ other.sidecar == sidecar &&
+ other.storageTemplateMigration == storageTemplateMigration &&
+ other.thumbnailGeneration == thumbnailGeneration &&
+ other.videoConversion == videoConversion;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (thumbnailGeneration.hashCode) +
+ (backgroundTask.hashCode) +
+ (clipEncoding.hashCode) +
(metadataExtraction.hashCode) +
- (videoConversion.hashCode) +
(objectTagging.hashCode) +
- (clipEncoding.hashCode) +
- (storageTemplateMigration.hashCode) +
- (backgroundTask.hashCode) +
- (search.hashCode) +
(recognizeFaces.hashCode) +
- (sidecar.hashCode);
+ (search.hashCode) +
+ (sidecar.hashCode) +
+ (storageTemplateMigration.hashCode) +
+ (thumbnailGeneration.hashCode) +
+ (videoConversion.hashCode);
@override
- String toString() => 'AllJobStatusResponseDto[thumbnailGeneration=$thumbnailGeneration, metadataExtraction=$metadataExtraction, videoConversion=$videoConversion, objectTagging=$objectTagging, clipEncoding=$clipEncoding, storageTemplateMigration=$storageTemplateMigration, backgroundTask=$backgroundTask, search=$search, recognizeFaces=$recognizeFaces, sidecar=$sidecar]';
+ String toString() => 'AllJobStatusResponseDto[backgroundTask=$backgroundTask, clipEncoding=$clipEncoding, metadataExtraction=$metadataExtraction, objectTagging=$objectTagging, recognizeFaces=$recognizeFaces, search=$search, sidecar=$sidecar, storageTemplateMigration=$storageTemplateMigration, thumbnailGeneration=$thumbnailGeneration, videoConversion=$videoConversion]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'thumbnailGeneration'] = this.thumbnailGeneration;
+ json[r'backgroundTask'] = this.backgroundTask;
+ json[r'clipEncoding'] = this.clipEncoding;
json[r'metadataExtraction'] = this.metadataExtraction;
- json[r'videoConversion'] = this.videoConversion;
json[r'objectTagging'] = this.objectTagging;
- json[r'clipEncoding'] = this.clipEncoding;
- json[r'storageTemplateMigration'] = this.storageTemplateMigration;
- json[r'backgroundTask'] = this.backgroundTask;
- json[r'search'] = this.search;
json[r'recognizeFaces'] = this.recognizeFaces;
+ json[r'search'] = this.search;
json[r'sidecar'] = this.sidecar;
+ json[r'storageTemplateMigration'] = this.storageTemplateMigration;
+ json[r'thumbnailGeneration'] = this.thumbnailGeneration;
+ json[r'videoConversion'] = this.videoConversion;
return json;
}
@@ -98,16 +98,16 @@ class AllJobStatusResponseDto {
final json = value.cast<String, dynamic>();
return AllJobStatusResponseDto(
- thumbnailGeneration: JobStatusDto.fromJson(json[r'thumbnailGeneration'])!,
+ backgroundTask: JobStatusDto.fromJson(json[r'backgroundTask'])!,
+ clipEncoding: JobStatusDto.fromJson(json[r'clipEncoding'])!,
metadataExtraction: JobStatusDto.fromJson(json[r'metadataExtraction'])!,
- videoConversion: JobStatusDto.fromJson(json[r'videoConversion'])!,
objectTagging: JobStatusDto.fromJson(json[r'objectTagging'])!,
- clipEncoding: JobStatusDto.fromJson(json[r'clipEncoding'])!,
- storageTemplateMigration: JobStatusDto.fromJson(json[r'storageTemplateMigration'])!,
- backgroundTask: JobStatusDto.fromJson(json[r'backgroundTask'])!,
- search: JobStatusDto.fromJson(json[r'search'])!,
recognizeFaces: JobStatusDto.fromJson(json[r'recognizeFaces'])!,
+ search: JobStatusDto.fromJson(json[r'search'])!,
sidecar: JobStatusDto.fromJson(json[r'sidecar'])!,
+ storageTemplateMigration: JobStatusDto.fromJson(json[r'storageTemplateMigration'])!,
+ thumbnailGeneration: JobStatusDto.fromJson(json[r'thumbnailGeneration'])!,
+ videoConversion: JobStatusDto.fromJson(json[r'videoConversion'])!,
);
}
return null;
@@ -155,16 +155,16 @@ class AllJobStatusResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'thumbnailGeneration',
+ 'backgroundTask',
+ 'clipEncoding',
'metadataExtraction',
- 'videoConversion',
'objectTagging',
- 'clipEncoding',
- 'storageTemplateMigration',
- 'backgroundTask',
- 'search',
'recognizeFaces',
+ 'search',
'sidecar',
+ 'storageTemplateMigration',
+ 'thumbnailGeneration',
+ 'videoConversion',
};
}
diff --git a/mobile/openapi/lib/model/api_key_create_response_dto.dart b/mobile/openapi/lib/model/api_key_create_response_dto.dart
index 69f7ad6ec5..dae46f9b9e 100644
--- a/mobile/openapi/lib/model/api_key_create_response_dto.dart
+++ b/mobile/openapi/lib/model/api_key_create_response_dto.dart
@@ -13,32 +13,32 @@ part of openapi.api;
class APIKeyCreateResponseDto {
/// Returns a new [APIKeyCreateResponseDto] instance.
APIKeyCreateResponseDto({
- required this.secret,
required this.apiKey,
+ required this.secret,
});
- String secret;
-
APIKeyResponseDto apiKey;
+ String secret;
+
@override
bool operator ==(Object other) => identical(this, other) || other is APIKeyCreateResponseDto &&
- other.secret == secret &&
- other.apiKey == apiKey;
+ other.apiKey == apiKey &&
+ other.secret == secret;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (secret.hashCode) +
- (apiKey.hashCode);
+ (apiKey.hashCode) +
+ (secret.hashCode);
@override
- String toString() => 'APIKeyCreateResponseDto[secret=$secret, apiKey=$apiKey]';
+ String toString() => 'APIKeyCreateResponseDto[apiKey=$apiKey, secret=$secret]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'secret'] = this.secret;
json[r'apiKey'] = this.apiKey;
+ json[r'secret'] = this.secret;
return json;
}
@@ -50,8 +50,8 @@ class APIKeyCreateResponseDto {
final json = value.cast<String, dynamic>();
return APIKeyCreateResponseDto(
- secret: mapValueOfType<String>(json, r'secret')!,
apiKey: APIKeyResponseDto.fromJson(json[r'apiKey'])!,
+ secret: mapValueOfType<String>(json, r'secret')!,
);
}
return null;
@@ -99,8 +99,8 @@ class APIKeyCreateResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'secret',
'apiKey',
+ 'secret',
};
}
diff --git a/mobile/openapi/lib/model/api_key_response_dto.dart b/mobile/openapi/lib/model/api_key_response_dto.dart
index 5aa143414d..a680b32153 100644
--- a/mobile/openapi/lib/model/api_key_response_dto.dart
+++ b/mobile/openapi/lib/model/api_key_response_dto.dart
@@ -13,43 +13,43 @@ part of openapi.api;
class APIKeyResponseDto {
/// Returns a new [APIKeyResponseDto] instance.
APIKeyResponseDto({
+ required this.createdAt,
required this.id,
required this.name,
- required this.createdAt,
required this.updatedAt,
});
+ DateTime createdAt;
+
String id;
String name;
- DateTime createdAt;
-
DateTime updatedAt;
@override
bool operator ==(Object other) => identical(this, other) || other is APIKeyResponseDto &&
+ other.createdAt == createdAt &&
other.id == id &&
other.name == name &&
- other.createdAt == createdAt &&
other.updatedAt == updatedAt;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
+ (createdAt.hashCode) +
(id.hashCode) +
(name.hashCode) +
- (createdAt.hashCode) +
(updatedAt.hashCode);
@override
- String toString() => 'APIKeyResponseDto[id=$id, name=$name, createdAt=$createdAt, updatedAt=$updatedAt]';
+ String toString() => 'APIKeyResponseDto[createdAt=$createdAt, id=$id, name=$name, updatedAt=$updatedAt]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
+ json[r'createdAt'] = this.createdAt.toUtc().toIso8601String();
json[r'id'] = this.id;
json[r'name'] = this.name;
- json[r'createdAt'] = this.createdAt.toUtc().toIso8601String();
json[r'updatedAt'] = this.updatedAt.toUtc().toIso8601String();
return json;
}
@@ -62,9 +62,9 @@ class APIKeyResponseDto {
final json = value.cast<String, dynamic>();
return APIKeyResponseDto(
+ createdAt: mapDateTime(json, r'createdAt', r'')!,
id: mapValueOfType<String>(json, r'id')!,
name: mapValueOfType<String>(json, r'name')!,
- createdAt: mapDateTime(json, r'createdAt', r'')!,
updatedAt: mapDateTime(json, r'updatedAt', r'')!,
);
}
@@ -113,9 +113,9 @@ class APIKeyResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
+ 'createdAt',
'id',
'name',
- 'createdAt',
'updatedAt',
};
}
diff --git a/mobile/openapi/lib/model/asset_bulk_upload_check_item.dart b/mobile/openapi/lib/model/asset_bulk_upload_check_item.dart
index 4cc8689814..304944122f 100644
--- a/mobile/openapi/lib/model/asset_bulk_upload_check_item.dart
+++ b/mobile/openapi/lib/model/asset_bulk_upload_check_item.dart
@@ -13,33 +13,33 @@ part of openapi.api;
class AssetBulkUploadCheckItem {
/// Returns a new [AssetBulkUploadCheckItem] instance.
AssetBulkUploadCheckItem({
- required this.id,
required this.checksum,
+ required this.id,
});
- String id;
-
/// base64 or hex encoded sha1 hash
String checksum;
+ String id;
+
@override
bool operator ==(Object other) => identical(this, other) || other is AssetBulkUploadCheckItem &&
- other.id == id &&
- other.checksum == checksum;
+ other.checksum == checksum &&
+ other.id == id;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (id.hashCode) +
- (checksum.hashCode);
+ (checksum.hashCode) +
+ (id.hashCode);
@override
- String toString() => 'AssetBulkUploadCheckItem[id=$id, checksum=$checksum]';
+ String toString() => 'AssetBulkUploadCheckItem[checksum=$checksum, id=$id]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'id'] = this.id;
json[r'checksum'] = this.checksum;
+ json[r'id'] = this.id;
return json;
}
@@ -51,8 +51,8 @@ class AssetBulkUploadCheckItem {
final json = value.cast<String, dynamic>();
return AssetBulkUploadCheckItem(
- id: mapValueOfType<String>(json, r'id')!,
checksum: mapValueOfType<String>(json, r'checksum')!,
+ id: mapValueOfType<String>(json, r'id')!,
);
}
return null;
@@ -100,8 +100,8 @@ class AssetBulkUploadCheckItem {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'id',
'checksum',
+ 'id',
};
}
diff --git a/mobile/openapi/lib/model/asset_bulk_upload_check_result.dart b/mobile/openapi/lib/model/asset_bulk_upload_check_result.dart
index 3ca23ea4dc..4c9bde6dbc 100644
--- a/mobile/openapi/lib/model/asset_bulk_upload_check_result.dart
+++ b/mobile/openapi/lib/model/asset_bulk_upload_check_result.dart
@@ -13,18 +13,14 @@ part of openapi.api;
class AssetBulkUploadCheckResult {
/// Returns a new [AssetBulkUploadCheckResult] instance.
AssetBulkUploadCheckResult({
- required this.id,
required this.action,
- this.reason,
this.assetId,
+ required this.id,
+ this.reason,
});
- String id;
-
AssetBulkUploadCheckResultActionEnum action;
- AssetBulkUploadCheckResultReasonEnum? reason;
-
///
/// 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
@@ -33,37 +29,41 @@ class AssetBulkUploadCheckResult {
///
String? assetId;
+ String id;
+
+ AssetBulkUploadCheckResultReasonEnum? reason;
+
@override
bool operator ==(Object other) => identical(this, other) || other is AssetBulkUploadCheckResult &&
- other.id == id &&
other.action == action &&
- other.reason == reason &&
- other.assetId == assetId;
+ other.assetId == assetId &&
+ other.id == id &&
+ other.reason == reason;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (id.hashCode) +
(action.hashCode) +
- (reason == null ? 0 : reason!.hashCode) +
- (assetId == null ? 0 : assetId!.hashCode);
+ (assetId == null ? 0 : assetId!.hashCode) +
+ (id.hashCode) +
+ (reason == null ? 0 : reason!.hashCode);
@override
- String toString() => 'AssetBulkUploadCheckResult[id=$id, action=$action, reason=$reason, assetId=$assetId]';
+ String toString() => 'AssetBulkUploadCheckResult[action=$action, assetId=$assetId, id=$id, reason=$reason]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'id'] = this.id;
json[r'action'] = this.action;
- if (this.reason != null) {
- json[r'reason'] = this.reason;
- } else {
- // json[r'reason'] = null;
- }
if (this.assetId != null) {
json[r'assetId'] = this.assetId;
} else {
// json[r'assetId'] = null;
+ }
+ json[r'id'] = this.id;
+ if (this.reason != null) {
+ json[r'reason'] = this.reason;
+ } else {
+ // json[r'reason'] = null;
}
return json;
}
@@ -76,10 +76,10 @@ class AssetBulkUploadCheckResult {
final json = value.cast<String, dynamic>();
return AssetBulkUploadCheckResult(
- id: mapValueOfType<String>(json, r'id')!,
action: AssetBulkUploadCheckResultActionEnum.fromJson(json[r'action'])!,
- reason: AssetBulkUploadCheckResultReasonEnum.fromJson(json[r'reason']),
assetId: mapValueOfType<String>(json, r'assetId'),
+ id: mapValueOfType<String>(json, r'id')!,
+ reason: AssetBulkUploadCheckResultReasonEnum.fromJson(json[r'reason']),
);
}
return null;
@@ -127,8 +127,8 @@ class AssetBulkUploadCheckResult {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'id',
'action',
+ 'id',
};
}
diff --git a/mobile/openapi/lib/model/asset_count_by_time_bucket.dart b/mobile/openapi/lib/model/asset_count_by_time_bucket.dart
index 0790d714a8..7dba56d82f 100644
--- a/mobile/openapi/lib/model/asset_count_by_time_bucket.dart
+++ b/mobile/openapi/lib/model/asset_count_by_time_bucket.dart
@@ -13,32 +13,32 @@ part of openapi.api;
class AssetCountByTimeBucket {
/// Returns a new [AssetCountByTimeBucket] instance.
AssetCountByTimeBucket({
- required this.timeBucket,
required this.count,
+ required this.timeBucket,
});
- String timeBucket;
-
int count;
+ String timeBucket;
+
@override
bool operator ==(Object other) => identical(this, other) || other is AssetCountByTimeBucket &&
- other.timeBucket == timeBucket &&
- other.count == count;
+ other.count == count &&
+ other.timeBucket == timeBucket;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (timeBucket.hashCode) +
- (count.hashCode);
+ (count.hashCode) +
+ (timeBucket.hashCode);
@override
- String toString() => 'AssetCountByTimeBucket[timeBucket=$timeBucket, count=$count]';
+ String toString() => 'AssetCountByTimeBucket[count=$count, timeBucket=$timeBucket]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'timeBucket'] = this.timeBucket;
json[r'count'] = this.count;
+ json[r'timeBucket'] = this.timeBucket;
return json;
}
@@ -50,8 +50,8 @@ class AssetCountByTimeBucket {
final json = value.cast<String, dynamic>();
return AssetCountByTimeBucket(
- timeBucket: mapValueOfType<String>(json, r'timeBucket')!,
count: mapValueOfType<int>(json, r'count')!,
+ timeBucket: mapValueOfType<String>(json, r'timeBucket')!,
);
}
return null;
@@ -99,8 +99,8 @@ class AssetCountByTimeBucket {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'timeBucket',
'count',
+ 'timeBucket',
};
}
diff --git a/mobile/openapi/lib/model/asset_count_by_time_bucket_response_dto.dart b/mobile/openapi/lib/model/asset_count_by_time_bucket_response_dto.dart
index 49eb399a64..0375649b72 100644
--- a/mobile/openapi/lib/model/asset_count_by_time_bucket_response_dto.dart
+++ b/mobile/openapi/lib/model/asset_count_by_time_bucket_response_dto.dart
@@ -13,32 +13,32 @@ part of openapi.api;
class AssetCountByTimeBucketResponseDto {
/// Returns a new [AssetCountByTimeBucketResponseDto] instance.
AssetCountByTimeBucketResponseDto({
- required this.totalCount,
this.buckets = const [],
+ required this.totalCount,
});
- int totalCount;
-
List<AssetCountByTimeBucket> buckets;
+ int totalCount;
+
@override
bool operator ==(Object other) => identical(this, other) || other is AssetCountByTimeBucketResponseDto &&
- other.totalCount == totalCount &&
- other.buckets == buckets;
+ other.buckets == buckets &&
+ other.totalCount == totalCount;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (totalCount.hashCode) +
- (buckets.hashCode);
+ (buckets.hashCode) +
+ (totalCount.hashCode);
@override
- String toString() => 'AssetCountByTimeBucketResponseDto[totalCount=$totalCount, buckets=$buckets]';
+ String toString() => 'AssetCountByTimeBucketResponseDto[buckets=$buckets, totalCount=$totalCount]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'totalCount'] = this.totalCount;
json[r'buckets'] = this.buckets;
+ json[r'totalCount'] = this.totalCount;
return json;
}
@@ -50,8 +50,8 @@ class AssetCountByTimeBucketResponseDto {
final json = value.cast<String, dynamic>();
return AssetCountByTimeBucketResponseDto(
- totalCount: mapValueOfType<int>(json, r'totalCount')!,
buckets: AssetCountByTimeBucket.listFromJson(json[r'buckets']),
+ totalCount: mapValueOfType<int>(json, r'totalCount')!,
);
}
return null;
@@ -99,8 +99,8 @@ class AssetCountByTimeBucketResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'totalCount',
'buckets',
+ 'totalCount',
};
}
diff --git a/mobile/openapi/lib/model/asset_file_upload_response_dto.dart b/mobile/openapi/lib/model/asset_file_upload_response_dto.dart
index 7dd7ee0e26..ce43f8c15f 100644
--- a/mobile/openapi/lib/model/asset_file_upload_response_dto.dart
+++ b/mobile/openapi/lib/model/asset_file_upload_response_dto.dart
@@ -13,32 +13,32 @@ part of openapi.api;
class AssetFileUploadResponseDto {
/// Returns a new [AssetFileUploadResponseDto] instance.
AssetFileUploadResponseDto({
- required this.id,
required this.duplicate,
+ required this.id,
});
- String id;
-
bool duplicate;
+ String id;
+
@override
bool operator ==(Object other) => identical(this, other) || other is AssetFileUploadResponseDto &&
- other.id == id &&
- other.duplicate == duplicate;
+ other.duplicate == duplicate &&
+ other.id == id;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (id.hashCode) +
- (duplicate.hashCode);
+ (duplicate.hashCode) +
+ (id.hashCode);
@override
- String toString() => 'AssetFileUploadResponseDto[id=$id, duplicate=$duplicate]';
+ String toString() => 'AssetFileUploadResponseDto[duplicate=$duplicate, id=$id]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'id'] = this.id;
json[r'duplicate'] = this.duplicate;
+ json[r'id'] = this.id;
return json;
}
@@ -50,8 +50,8 @@ class AssetFileUploadResponseDto {
final json = value.cast<String, dynamic>();
return AssetFileUploadResponseDto(
- id: mapValueOfType<String>(json, r'id')!,
duplicate: mapValueOfType<bool>(json, r'duplicate')!,
+ id: mapValueOfType<String>(json, r'id')!,
);
}
return null;
@@ -99,8 +99,8 @@ class AssetFileUploadResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'id',
'duplicate',
+ 'id',
};
}
diff --git a/mobile/openapi/lib/model/asset_ids_response_dto.dart b/mobile/openapi/lib/model/asset_ids_response_dto.dart
index e3829a0425..958c1bb9be 100644
--- a/mobile/openapi/lib/model/asset_ids_response_dto.dart
+++ b/mobile/openapi/lib/model/asset_ids_response_dto.dart
@@ -14,41 +14,41 @@ class AssetIdsResponseDto {
/// Returns a new [AssetIdsResponseDto] instance.
AssetIdsResponseDto({
required this.assetId,
- required this.success,
this.error,
+ required this.success,
});
String assetId;
- bool success;
-
AssetIdsResponseDtoErrorEnum? error;
+ bool success;
+
@override
bool operator ==(Object other) => identical(this, other) || other is AssetIdsResponseDto &&
other.assetId == assetId &&
- other.success == success &&
- other.error == error;
+ other.error == error &&
+ other.success == success;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
(assetId.hashCode) +
- (success.hashCode) +
- (error == null ? 0 : error!.hashCode);
+ (error == null ? 0 : error!.hashCode) +
+ (success.hashCode);
@override
- String toString() => 'AssetIdsResponseDto[assetId=$assetId, success=$success, error=$error]';
+ String toString() => 'AssetIdsResponseDto[assetId=$assetId, error=$error, success=$success]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'assetId'] = this.assetId;
- json[r'success'] = this.success;
if (this.error != null) {
json[r'error'] = this.error;
} else {
// json[r'error'] = null;
}
+ json[r'success'] = this.success;
return json;
}
@@ -61,8 +61,8 @@ class AssetIdsResponseDto {
return AssetIdsResponseDto(
assetId: mapValueOfType<String>(json, r'assetId')!,
- success: mapValueOfType<bool>(json, r'success')!,
error: AssetIdsResponseDtoErrorEnum.fromJson(json[r'error']),
+ success: mapValueOfType<bool>(json, r'success')!,
);
}
return null;
diff --git a/mobile/openapi/lib/model/asset_response_dto.dart b/mobile/openapi/lib/model/asset_response_dto.dart
index e979e4fc31..16895ea56e 100644
--- a/mobile/openapi/lib/model/asset_response_dto.dart
+++ b/mobile/openapi/lib/model/asset_response_dto.dart
@@ -13,67 +13,67 @@ part of openapi.api;
class AssetResponseDto {
/// Returns a new [AssetResponseDto] instance.
AssetResponseDto({
- required this.type,
- required this.id,
+ required this.checksum,
required this.deviceAssetId,
- required this.ownerId,
required this.deviceId,
- required this.originalPath,
- required this.originalFileName,
- required this.resized,
- required this.thumbhash,
+ required this.duration,
+ this.exifInfo,
required this.fileCreatedAt,
required this.fileModifiedAt,
- required this.updatedAt,
- required this.isFavorite,
+ required this.id,
required this.isArchived,
- required this.duration,
- this.exifInfo,
- this.smartInfo,
+ required this.isFavorite,
this.livePhotoVideoId,
- this.tags = const [],
+ required this.originalFileName,
+ required this.originalPath,
+ required this.ownerId,
this.people = const [],
- required this.checksum,
+ required this.resized,
+ this.smartInfo,
+ this.tags = const [],
+ required this.thumbhash,
+ required this.type,
+ required this.updatedAt,
});
- AssetTypeEnum type;
-
- String id;
+ /// base64 encoded sha1 hash
+ String checksum;
String deviceAssetId;
- String ownerId;
-
String deviceId;
- String originalPath;
-
- String originalFileName;
-
- bool resized;
+ String duration;
- /// base64 encoded thumbhash
- String? thumbhash;
+ ///
+ /// 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.
+ ///
+ ExifResponseDto? exifInfo;
DateTime fileCreatedAt;
DateTime fileModifiedAt;
- DateTime updatedAt;
+ String id;
+
+ bool isArchived;
bool isFavorite;
- bool isArchived;
+ String? livePhotoVideoId;
- String duration;
+ String originalFileName;
- ///
- /// 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.
- ///
- ExifResponseDto? exifInfo;
+ String originalPath;
+
+ String ownerId;
+
+ List<PersonResponseDto> people;
+
+ bool resized;
///
/// Please note: This property should have been non-nullable! Since the specification file
@@ -83,106 +83,106 @@ class AssetResponseDto {
///
SmartInfoResponseDto? smartInfo;
- String? livePhotoVideoId;
-
List<TagResponseDto> tags;
- List<PersonResponseDto> people;
+ /// base64 encoded thumbhash
+ String? thumbhash;
- /// base64 encoded sha1 hash
- String checksum;
+ AssetTypeEnum type;
+
+ DateTime updatedAt;
@override
bool operator ==(Object other) => identical(this, other) || other is AssetResponseDto &&
- other.type == type &&
- other.id == id &&
+ other.checksum == checksum &&
other.deviceAssetId == deviceAssetId &&
- other.ownerId == ownerId &&
other.deviceId == deviceId &&
- other.originalPath == originalPath &&
- other.originalFileName == originalFileName &&
- other.resized == resized &&
- other.thumbhash == thumbhash &&
+ other.duration == duration &&
+ other.exifInfo == exifInfo &&
other.fileCreatedAt == fileCreatedAt &&
other.fileModifiedAt == fileModifiedAt &&
- other.updatedAt == updatedAt &&
- other.isFavorite == isFavorite &&
+ other.id == id &&
other.isArchived == isArchived &&
- other.duration == duration &&
- other.exifInfo == exifInfo &&
- other.smartInfo == smartInfo &&
+ other.isFavorite == isFavorite &&
other.livePhotoVideoId == livePhotoVideoId &&
- other.tags == tags &&
+ other.originalFileName == originalFileName &&
+ other.originalPath == originalPath &&
+ other.ownerId == ownerId &&
other.people == people &&
- other.checksum == checksum;
+ other.resized == resized &&
+ other.smartInfo == smartInfo &&
+ other.tags == tags &&
+ other.thumbhash == thumbhash &&
+ other.type == type &&
+ other.updatedAt == updatedAt;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (type.hashCode) +
- (id.hashCode) +
+ (checksum.hashCode) +
(deviceAssetId.hashCode) +
- (ownerId.hashCode) +
(deviceId.hashCode) +
- (originalPath.hashCode) +
- (originalFileName.hashCode) +
- (resized.hashCode) +
- (thumbhash == null ? 0 : thumbhash!.hashCode) +
+ (duration.hashCode) +
+ (exifInfo == null ? 0 : exifInfo!.hashCode) +
(fileCreatedAt.hashCode) +
(fileModifiedAt.hashCode) +
- (updatedAt.hashCode) +
- (isFavorite.hashCode) +
+ (id.hashCode) +
(isArchived.hashCode) +
- (duration.hashCode) +
- (exifInfo == null ? 0 : exifInfo!.hashCode) +
- (smartInfo == null ? 0 : smartInfo!.hashCode) +
+ (isFavorite.hashCode) +
(livePhotoVideoId == null ? 0 : livePhotoVideoId!.hashCode) +
- (tags.hashCode) +
+ (originalFileName.hashCode) +
+ (originalPath.hashCode) +
+ (ownerId.hashCode) +
(people.hashCode) +
- (checksum.hashCode);
+ (resized.hashCode) +
+ (smartInfo == null ? 0 : smartInfo!.hashCode) +
+ (tags.hashCode) +
+ (thumbhash == null ? 0 : thumbhash!.hashCode) +
+ (type.hashCode) +
+ (updatedAt.hashCode);
@override
- String toString() => 'AssetResponseDto[type=$type, id=$id, deviceAssetId=$deviceAssetId, ownerId=$ownerId, deviceId=$deviceId, originalPath=$originalPath, originalFileName=$originalFileName, resized=$resized, thumbhash=$thumbhash, fileCreatedAt=$fileCreatedAt, fileModifiedAt=$fileModifiedAt, updatedAt=$updatedAt, isFavorite=$isFavorite, isArchived=$isArchived, duration=$duration, exifInfo=$exifInfo, smartInfo=$smartInfo, livePhotoVideoId=$livePhotoVideoId, tags=$tags, people=$people, checksum=$checksum]';
+ String toString() => 'AssetResponseDto[checksum=$checksum, deviceAssetId=$deviceAssetId, deviceId=$deviceId, duration=$duration, exifInfo=$exifInfo, fileCreatedAt=$fileCreatedAt, fileModifiedAt=$fileModifiedAt, id=$id, isArchived=$isArchived, isFavorite=$isFavorite, livePhotoVideoId=$livePhotoVideoId, originalFileName=$originalFileName, originalPath=$originalPath, ownerId=$ownerId, people=$people, resized=$resized, smartInfo=$smartInfo, tags=$tags, thumbhash=$thumbhash, type=$type, updatedAt=$updatedAt]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'type'] = this.type;
- json[r'id'] = this.id;
+ json[r'checksum'] = this.checksum;
json[r'deviceAssetId'] = this.deviceAssetId;
- json[r'ownerId'] = this.ownerId;
json[r'deviceId'] = this.deviceId;
- json[r'originalPath'] = this.originalPath;
- json[r'originalFileName'] = this.originalFileName;
- json[r'resized'] = this.resized;
- if (this.thumbhash != null) {
- json[r'thumbhash'] = this.thumbhash;
+ json[r'duration'] = this.duration;
+ if (this.exifInfo != null) {
+ json[r'exifInfo'] = this.exifInfo;
} else {
- // json[r'thumbhash'] = null;
+ // json[r'exifInfo'] = null;
}
json[r'fileCreatedAt'] = this.fileCreatedAt.toUtc().toIso8601String();
json[r'fileModifiedAt'] = this.fileModifiedAt.toUtc().toIso8601String();
- json[r'updatedAt'] = this.updatedAt.toUtc().toIso8601String();
- json[r'isFavorite'] = this.isFavorite;
+ json[r'id'] = this.id;
json[r'isArchived'] = this.isArchived;
- json[r'duration'] = this.duration;
- if (this.exifInfo != null) {
- json[r'exifInfo'] = this.exifInfo;
+ json[r'isFavorite'] = this.isFavorite;
+ if (this.livePhotoVideoId != null) {
+ json[r'livePhotoVideoId'] = this.livePhotoVideoId;
} else {
- // json[r'exifInfo'] = null;
+ // json[r'livePhotoVideoId'] = null;
}
+ json[r'originalFileName'] = this.originalFileName;
+ json[r'originalPath'] = this.originalPath;
+ json[r'ownerId'] = this.ownerId;
+ json[r'people'] = this.people;
+ json[r'resized'] = this.resized;
if (this.smartInfo != null) {
json[r'smartInfo'] = this.smartInfo;
} else {
// json[r'smartInfo'] = null;
}
- if (this.livePhotoVideoId != null) {
- json[r'livePhotoVideoId'] = this.livePhotoVideoId;
+ json[r'tags'] = this.tags;
+ if (this.thumbhash != null) {
+ json[r'thumbhash'] = this.thumbhash;
} else {
- // json[r'livePhotoVideoId'] = null;
+ // json[r'thumbhash'] = null;
}
- json[r'tags'] = this.tags;
- json[r'people'] = this.people;
- json[r'checksum'] = this.checksum;
+ json[r'type'] = this.type;
+ json[r'updatedAt'] = this.updatedAt.toUtc().toIso8601String();
return json;
}
@@ -194,27 +194,27 @@ class AssetResponseDto {
final json = value.cast<String, dynamic>();
return AssetResponseDto(
- type: AssetTypeEnum.fromJson(json[r'type'])!,
- id: mapValueOfType<String>(json, r'id')!,
+ checksum: mapValueOfType<String>(json, r'checksum')!,
deviceAssetId: mapValueOfType<String>(json, r'deviceAssetId')!,
- ownerId: mapValueOfType<String>(json, r'ownerId')!,
deviceId: mapValueOfType<String>(json, r'deviceId')!,
- originalPath: mapValueOfType<String>(json, r'originalPath')!,
- originalFileName: mapValueOfType<String>(json, r'originalFileName')!,
- resized: mapValueOfType<bool>(json, r'resized')!,
- thumbhash: mapValueOfType<String>(json, r'thumbhash'),
+ duration: mapValueOfType<String>(json, r'duration')!,
+ exifInfo: ExifResponseDto.fromJson(json[r'exifInfo']),
fileCreatedAt: mapDateTime(json, r'fileCreatedAt', r'')!,
fileModifiedAt: mapDateTime(json, r'fileModifiedAt', r'')!,
- updatedAt: mapDateTime(json, r'updatedAt', r'')!,
- isFavorite: mapValueOfType<bool>(json, r'isFavorite')!,
+ id: mapValueOfType<String>(json, r'id')!,
isArchived: mapValueOfType<bool>(json, r'isArchived')!,
- duration: mapValueOfType<String>(json, r'duration')!,
- exifInfo: ExifResponseDto.fromJson(json[r'exifInfo']),
- smartInfo: SmartInfoResponseDto.fromJson(json[r'smartInfo']),
+ isFavorite: mapValueOfType<bool>(json, r'isFavorite')!,
livePhotoVideoId: mapValueOfType<String>(json, r'livePhotoVideoId'),
- tags: TagResponseDto.listFromJson(json[r'tags']),
+ originalFileName: mapValueOfType<String>(json, r'originalFileName')!,
+ originalPath: mapValueOfType<String>(json, r'originalPath')!,
+ ownerId: mapValueOfType<String>(json, r'ownerId')!,
people: PersonResponseDto.listFromJson(json[r'people']),
- checksum: mapValueOfType<String>(json, r'checksum')!,
+ resized: mapValueOfType<bool>(json, r'resized')!,
+ smartInfo: SmartInfoResponseDto.fromJson(json[r'smartInfo']),
+ tags: TagResponseDto.listFromJson(json[r'tags']),
+ thumbhash: mapValueOfType<String>(json, r'thumbhash'),
+ type: AssetTypeEnum.fromJson(json[r'type'])!,
+ updatedAt: mapDateTime(json, r'updatedAt', r'')!,
);
}
return null;
@@ -262,22 +262,22 @@ class AssetResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'type',
- 'id',
+ 'checksum',
'deviceAssetId',
- 'ownerId',
'deviceId',
- 'originalPath',
+ 'duration',
+ 'fileCreatedAt',
+ 'fileModifiedAt',
+ 'id',
+ 'isArchived',
+ 'isFavorite',
'originalFileName',
+ 'originalPath',
+ 'ownerId',
'resized',
'thumbhash',
- 'fileCreatedAt',
- 'fileModifiedAt',
+ 'type',
'updatedAt',
- 'isFavorite',
- 'isArchived',
- 'duration',
- 'checksum',
};
}
diff --git a/mobile/openapi/lib/model/asset_stats_response_dto.dart b/mobile/openapi/lib/model/asset_stats_response_dto.dart
index 1221712d89..d910917745 100644
--- a/mobile/openapi/lib/model/asset_stats_response_dto.dart
+++ b/mobile/openapi/lib/model/asset_stats_response_dto.dart
@@ -14,37 +14,37 @@ class AssetStatsResponseDto {
/// Returns a new [AssetStatsResponseDto] instance.
AssetStatsResponseDto({
required this.images,
- required this.videos,
required this.total,
+ required this.videos,
});
int images;
- int videos;
-
int total;
+ int videos;
+
@override
bool operator ==(Object other) => identical(this, other) || other is AssetStatsResponseDto &&
other.images == images &&
- other.videos == videos &&
- other.total == total;
+ other.total == total &&
+ other.videos == videos;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
(images.hashCode) +
- (videos.hashCode) +
- (total.hashCode);
+ (total.hashCode) +
+ (videos.hashCode);
@override
- String toString() => 'AssetStatsResponseDto[images=$images, videos=$videos, total=$total]';
+ String toString() => 'AssetStatsResponseDto[images=$images, total=$total, videos=$videos]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'images'] = this.images;
- json[r'videos'] = this.videos;
json[r'total'] = this.total;
+ json[r'videos'] = this.videos;
return json;
}
@@ -57,8 +57,8 @@ class AssetStatsResponseDto {
return AssetStatsResponseDto(
images: mapValueOfType<int>(json, r'images')!,
- videos: mapValueOfType<int>(json, r'videos')!,
total: mapValueOfType<int>(json, r'total')!,
+ videos: mapValueOfType<int>(json, r'videos')!,
);
}
return null;
@@ -107,8 +107,8 @@ class AssetStatsResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
'images',
- 'videos',
'total',
+ 'videos',
};
}
diff --git a/mobile/openapi/lib/model/auth_device_response_dto.dart b/mobile/openapi/lib/model/auth_device_response_dto.dart
index eace07a353..655193f49c 100644
--- a/mobile/openapi/lib/model/auth_device_response_dto.dart
+++ b/mobile/openapi/lib/model/auth_device_response_dto.dart
@@ -13,56 +13,56 @@ part of openapi.api;
class AuthDeviceResponseDto {
/// Returns a new [AuthDeviceResponseDto] instance.
AuthDeviceResponseDto({
- required this.id,
required this.createdAt,
- required this.updatedAt,
required this.current,
- required this.deviceType,
required this.deviceOS,
+ required this.deviceType,
+ required this.id,
+ required this.updatedAt,
});
- String id;
-
String createdAt;
- String updatedAt;
-
bool current;
+ String deviceOS;
+
String deviceType;
- String deviceOS;
+ String id;
+
+ String updatedAt;
@override
bool operator ==(Object other) => identical(this, other) || other is AuthDeviceResponseDto &&
- other.id == id &&
other.createdAt == createdAt &&
- other.updatedAt == updatedAt &&
other.current == current &&
+ other.deviceOS == deviceOS &&
other.deviceType == deviceType &&
- other.deviceOS == deviceOS;
+ other.id == id &&
+ other.updatedAt == updatedAt;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (id.hashCode) +
(createdAt.hashCode) +
- (updatedAt.hashCode) +
(current.hashCode) +
+ (deviceOS.hashCode) +
(deviceType.hashCode) +
- (deviceOS.hashCode);
+ (id.hashCode) +
+ (updatedAt.hashCode);
@override
- String toString() => 'AuthDeviceResponseDto[id=$id, createdAt=$createdAt, updatedAt=$updatedAt, current=$current, deviceType=$deviceType, deviceOS=$deviceOS]';
+ String toString() => 'AuthDeviceResponseDto[createdAt=$createdAt, current=$current, deviceOS=$deviceOS, deviceType=$deviceType, id=$id, updatedAt=$updatedAt]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'id'] = this.id;
json[r'createdAt'] = this.createdAt;
- json[r'updatedAt'] = this.updatedAt;
json[r'current'] = this.current;
- json[r'deviceType'] = this.deviceType;
json[r'deviceOS'] = this.deviceOS;
+ json[r'deviceType'] = this.deviceType;
+ json[r'id'] = this.id;
+ json[r'updatedAt'] = this.updatedAt;
return json;
}
@@ -74,12 +74,12 @@ class AuthDeviceResponseDto {
final json = value.cast<String, dynamic>();
return AuthDeviceResponseDto(
- id: mapValueOfType<String>(json, r'id')!,
createdAt: mapValueOfType<String>(json, r'createdAt')!,
- updatedAt: mapValueOfType<String>(json, r'updatedAt')!,
current: mapValueOfType<bool>(json, r'current')!,
- deviceType: mapValueOfType<String>(json, r'deviceType')!,
deviceOS: mapValueOfType<String>(json, r'deviceOS')!,
+ deviceType: mapValueOfType<String>(json, r'deviceType')!,
+ id: mapValueOfType<String>(json, r'id')!,
+ updatedAt: mapValueOfType<String>(json, r'updatedAt')!,
);
}
return null;
@@ -127,12 +127,12 @@ class AuthDeviceResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'id',
'createdAt',
- 'updatedAt',
'current',
- 'deviceType',
'deviceOS',
+ 'deviceType',
+ 'id',
+ 'updatedAt',
};
}
diff --git a/mobile/openapi/lib/model/bulk_id_response_dto.dart b/mobile/openapi/lib/model/bulk_id_response_dto.dart
index 18fb45108d..2d23373589 100644
--- a/mobile/openapi/lib/model/bulk_id_response_dto.dart
+++ b/mobile/openapi/lib/model/bulk_id_response_dto.dart
@@ -13,42 +13,42 @@ part of openapi.api;
class BulkIdResponseDto {
/// Returns a new [BulkIdResponseDto] instance.
BulkIdResponseDto({
+ this.error,
required this.id,
required this.success,
- this.error,
});
+ BulkIdResponseDtoErrorEnum? error;
+
String id;
bool success;
- BulkIdResponseDtoErrorEnum? error;
-
@override
bool operator ==(Object other) => identical(this, other) || other is BulkIdResponseDto &&
+ other.error == error &&
other.id == id &&
- other.success == success &&
- other.error == error;
+ other.success == success;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
+ (error == null ? 0 : error!.hashCode) +
(id.hashCode) +
- (success.hashCode) +
- (error == null ? 0 : error!.hashCode);
+ (success.hashCode);
@override
- String toString() => 'BulkIdResponseDto[id=$id, success=$success, error=$error]';
+ String toString() => 'BulkIdResponseDto[error=$error, id=$id, success=$success]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'id'] = this.id;
- json[r'success'] = this.success;
if (this.error != null) {
json[r'error'] = this.error;
} else {
// json[r'error'] = null;
}
+ json[r'id'] = this.id;
+ json[r'success'] = this.success;
return json;
}
@@ -60,9 +60,9 @@ class BulkIdResponseDto {
final json = value.cast<String, dynamic>();
return BulkIdResponseDto(
+ error: BulkIdResponseDtoErrorEnum.fromJson(json[r'error']),
id: mapValueOfType<String>(json, r'id')!,
success: mapValueOfType<bool>(json, r'success')!,
- error: BulkIdResponseDtoErrorEnum.fromJson(json[r'error']),
);
}
return null;
diff --git a/mobile/openapi/lib/model/change_password_dto.dart b/mobile/openapi/lib/model/change_password_dto.dart
index 21547a245f..5147c922a0 100644
--- a/mobile/openapi/lib/model/change_password_dto.dart
+++ b/mobile/openapi/lib/model/change_password_dto.dart
@@ -13,32 +13,32 @@ part of openapi.api;
class ChangePasswordDto {
/// Returns a new [ChangePasswordDto] instance.
ChangePasswordDto({
- required this.password,
required this.newPassword,
+ required this.password,
});
- String password;
-
String newPassword;
+ String password;
+
@override
bool operator ==(Object other) => identical(this, other) || other is ChangePasswordDto &&
- other.password == password &&
- other.newPassword == newPassword;
+ other.newPassword == newPassword &&
+ other.password == password;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (password.hashCode) +
- (newPassword.hashCode);
+ (newPassword.hashCode) +
+ (password.hashCode);
@override
- String toString() => 'ChangePasswordDto[password=$password, newPassword=$newPassword]';
+ String toString() => 'ChangePasswordDto[newPassword=$newPassword, password=$password]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'password'] = this.password;
json[r'newPassword'] = this.newPassword;
+ json[r'password'] = this.password;
return json;
}
@@ -50,8 +50,8 @@ class ChangePasswordDto {
final json = value.cast<String, dynamic>();
return ChangePasswordDto(
- password: mapValueOfType<String>(json, r'password')!,
newPassword: mapValueOfType<String>(json, r'newPassword')!,
+ password: mapValueOfType<String>(json, r'password')!,
);
}
return null;
@@ -99,8 +99,8 @@ class ChangePasswordDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'password',
'newPassword',
+ 'password',
};
}
diff --git a/mobile/openapi/lib/model/check_duplicate_asset_response_dto.dart b/mobile/openapi/lib/model/check_duplicate_asset_response_dto.dart
index d8b29ff51e..f16ba2e9e5 100644
--- a/mobile/openapi/lib/model/check_duplicate_asset_response_dto.dart
+++ b/mobile/openapi/lib/model/check_duplicate_asset_response_dto.dart
@@ -13,12 +13,10 @@ part of openapi.api;
class CheckDuplicateAssetResponseDto {
/// Returns a new [CheckDuplicateAssetResponseDto] instance.
CheckDuplicateAssetResponseDto({
- required this.isExist,
this.id,
+ required this.isExist,
});
- bool isExist;
-
///
/// 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
@@ -27,28 +25,30 @@ class CheckDuplicateAssetResponseDto {
///
String? id;
+ bool isExist;
+
@override
bool operator ==(Object other) => identical(this, other) || other is CheckDuplicateAssetResponseDto &&
- other.isExist == isExist &&
- other.id == id;
+ other.id == id &&
+ other.isExist == isExist;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (isExist.hashCode) +
- (id == null ? 0 : id!.hashCode);
+ (id == null ? 0 : id!.hashCode) +
+ (isExist.hashCode);
@override
- String toString() => 'CheckDuplicateAssetResponseDto[isExist=$isExist, id=$id]';
+ String toString() => 'CheckDuplicateAssetResponseDto[id=$id, isExist=$isExist]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'isExist'] = this.isExist;
if (this.id != null) {
json[r'id'] = this.id;
} else {
// json[r'id'] = null;
}
+ json[r'isExist'] = this.isExist;
return json;
}
@@ -60,8 +60,8 @@ class CheckDuplicateAssetResponseDto {
final json = value.cast<String, dynamic>();
return CheckDuplicateAssetResponseDto(
- isExist: mapValueOfType<bool>(json, r'isExist')!,
id: mapValueOfType<String>(json, r'id'),
+ isExist: mapValueOfType<bool>(json, r'isExist')!,
);
}
return null;
diff --git a/mobile/openapi/lib/model/create_album_dto.dart b/mobile/openapi/lib/model/create_album_dto.dart
index 32e107371b..d25a59c135 100644
--- a/mobile/openapi/lib/model/create_album_dto.dart
+++ b/mobile/openapi/lib/model/create_album_dto.dart
@@ -14,37 +14,37 @@ class CreateAlbumDto {
/// Returns a new [CreateAlbumDto] instance.
CreateAlbumDto({
required this.albumName,
- this.sharedWithUserIds = const [],
this.assetIds = const [],
+ this.sharedWithUserIds = const [],
});
String albumName;
- List<String> sharedWithUserIds;
-
List<String> assetIds;
+ List<String> sharedWithUserIds;
+
@override
bool operator ==(Object other) => identical(this, other) || other is CreateAlbumDto &&
other.albumName == albumName &&
- other.sharedWithUserIds == sharedWithUserIds &&
- other.assetIds == assetIds;
+ other.assetIds == assetIds &&
+ other.sharedWithUserIds == sharedWithUserIds;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
(albumName.hashCode) +
- (sharedWithUserIds.hashCode) +
- (assetIds.hashCode);
+ (assetIds.hashCode) +
+ (sharedWithUserIds.hashCode);
@override
- String toString() => 'CreateAlbumDto[albumName=$albumName, sharedWithUserIds=$sharedWithUserIds, assetIds=$assetIds]';
+ String toString() => 'CreateAlbumDto[albumName=$albumName, assetIds=$assetIds, sharedWithUserIds=$sharedWithUserIds]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'albumName'] = this.albumName;
- json[r'sharedWithUserIds'] = this.sharedWithUserIds;
json[r'assetIds'] = this.assetIds;
+ json[r'sharedWithUserIds'] = this.sharedWithUserIds;
return json;
}
@@ -57,12 +57,12 @@ class CreateAlbumDto {
return CreateAlbumDto(
albumName: mapValueOfType<String>(json, r'albumName')!,
- sharedWithUserIds: json[r'sharedWithUserIds'] is Iterable
- ? (json[r'sharedWithUserIds'] as Iterable).cast<String>().toList(growable: false)
- : const [],
assetIds: json[r'assetIds'] is Iterable
? (json[r'assetIds'] as Iterable).cast<String>().toList(growable: false)
: const [],
+ sharedWithUserIds: json[r'sharedWithUserIds'] is Iterable
+ ? (json[r'sharedWithUserIds'] as Iterable).cast<String>().toList(growable: false)
+ : const [],
);
}
return null;
diff --git a/mobile/openapi/lib/model/create_profile_image_response_dto.dart b/mobile/openapi/lib/model/create_profile_image_response_dto.dart
index f86da6385e..d5de750154 100644
--- a/mobile/openapi/lib/model/create_profile_image_response_dto.dart
+++ b/mobile/openapi/lib/model/create_profile_image_response_dto.dart
@@ -13,32 +13,32 @@ part of openapi.api;
class CreateProfileImageResponseDto {
/// Returns a new [CreateProfileImageResponseDto] instance.
CreateProfileImageResponseDto({
- required this.userId,
required this.profileImagePath,
+ required this.userId,
});
- String userId;
-
String profileImagePath;
+ String userId;
+
@override
bool operator ==(Object other) => identical(this, other) || other is CreateProfileImageResponseDto &&
- other.userId == userId &&
- other.profileImagePath == profileImagePath;
+ other.profileImagePath == profileImagePath &&
+ other.userId == userId;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (userId.hashCode) +
- (profileImagePath.hashCode);
+ (profileImagePath.hashCode) +
+ (userId.hashCode);
@override
- String toString() => 'CreateProfileImageResponseDto[userId=$userId, profileImagePath=$profileImagePath]';
+ String toString() => 'CreateProfileImageResponseDto[profileImagePath=$profileImagePath, userId=$userId]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'userId'] = this.userId;
json[r'profileImagePath'] = this.profileImagePath;
+ json[r'userId'] = this.userId;
return json;
}
@@ -50,8 +50,8 @@ class CreateProfileImageResponseDto {
final json = value.cast<String, dynamic>();
return CreateProfileImageResponseDto(
- userId: mapValueOfType<String>(json, r'userId')!,
profileImagePath: mapValueOfType<String>(json, r'profileImagePath')!,
+ userId: mapValueOfType<String>(json, r'userId')!,
);
}
return null;
@@ -99,8 +99,8 @@ class CreateProfileImageResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'userId',
'profileImagePath',
+ 'userId',
};
}
diff --git a/mobile/openapi/lib/model/create_tag_dto.dart b/mobile/openapi/lib/model/create_tag_dto.dart
index 461c94ab1b..6e9ec685f1 100644
--- a/mobile/openapi/lib/model/create_tag_dto.dart
+++ b/mobile/openapi/lib/model/create_tag_dto.dart
@@ -13,32 +13,32 @@ part of openapi.api;
class CreateTagDto {
/// Returns a new [CreateTagDto] instance.
CreateTagDto({
- required this.type,
required this.name,
+ required this.type,
});
- TagTypeEnum type;
-
String name;
+ TagTypeEnum type;
+
@override
bool operator ==(Object other) => identical(this, other) || other is CreateTagDto &&
- other.type == type &&
- other.name == name;
+ other.name == name &&
+ other.type == type;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (type.hashCode) +
- (name.hashCode);
+ (name.hashCode) +
+ (type.hashCode);
@override
- String toString() => 'CreateTagDto[type=$type, name=$name]';
+ String toString() => 'CreateTagDto[name=$name, type=$type]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'type'] = this.type;
json[r'name'] = this.name;
+ json[r'type'] = this.type;
return json;
}
@@ -50,8 +50,8 @@ class CreateTagDto {
final json = value.cast<String, dynamic>();
return CreateTagDto(
- type: TagTypeEnum.fromJson(json[r'type'])!,
name: mapValueOfType<String>(json, r'name')!,
+ type: TagTypeEnum.fromJson(json[r'type'])!,
);
}
return null;
@@ -99,8 +99,8 @@ class CreateTagDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'type',
'name',
+ 'type',
};
}
diff --git a/mobile/openapi/lib/model/create_user_dto.dart b/mobile/openapi/lib/model/create_user_dto.dart
index b5197aa70f..0535d94060 100644
--- a/mobile/openapi/lib/model/create_user_dto.dart
+++ b/mobile/openapi/lib/model/create_user_dto.dart
@@ -14,63 +14,63 @@ class CreateUserDto {
/// Returns a new [CreateUserDto] instance.
CreateUserDto({
required this.email,
- required this.password,
+ this.externalPath,
required this.firstName,
required this.lastName,
+ required this.password,
this.storageLabel,
- this.externalPath,
});
String email;
- String password;
+ String? externalPath;
String firstName;
String lastName;
- String? storageLabel;
+ String password;
- String? externalPath;
+ String? storageLabel;
@override
bool operator ==(Object other) => identical(this, other) || other is CreateUserDto &&
other.email == email &&
- other.password == password &&
+ other.externalPath == externalPath &&
other.firstName == firstName &&
other.lastName == lastName &&
- other.storageLabel == storageLabel &&
- other.externalPath == externalPath;
+ other.password == password &&
+ other.storageLabel == storageLabel;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
(email.hashCode) +
- (password.hashCode) +
+ (externalPath == null ? 0 : externalPath!.hashCode) +
(firstName.hashCode) +
(lastName.hashCode) +
- (storageLabel == null ? 0 : storageLabel!.hashCode) +
- (externalPath == null ? 0 : externalPath!.hashCode);
+ (password.hashCode) +
+ (storageLabel == null ? 0 : storageLabel!.hashCode);
@override
- String toString() => 'CreateUserDto[email=$email, password=$password, firstName=$firstName, lastName=$lastName, storageLabel=$storageLabel, externalPath=$externalPath]';
+ String toString() => 'CreateUserDto[email=$email, externalPath=$externalPath, firstName=$firstName, lastName=$lastName, password=$password, storageLabel=$storageLabel]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'email'] = this.email;
- json[r'password'] = this.password;
+ if (this.externalPath != null) {
+ json[r'externalPath'] = this.externalPath;
+ } else {
+ // json[r'externalPath'] = null;
+ }
json[r'firstName'] = this.firstName;
json[r'lastName'] = this.lastName;
+ json[r'password'] = this.password;
if (this.storageLabel != null) {
json[r'storageLabel'] = this.storageLabel;
} else {
// json[r'storageLabel'] = null;
}
- if (this.externalPath != null) {
- json[r'externalPath'] = this.externalPath;
- } else {
- // json[r'externalPath'] = null;
- }
return json;
}
@@ -83,11 +83,11 @@ class CreateUserDto {
return CreateUserDto(
email: mapValueOfType<String>(json, r'email')!,
- password: mapValueOfType<String>(json, r'password')!,
+ externalPath: mapValueOfType<String>(json, r'externalPath'),
firstName: mapValueOfType<String>(json, r'firstName')!,
lastName: mapValueOfType<String>(json, r'lastName')!,
+ password: mapValueOfType<String>(json, r'password')!,
storageLabel: mapValueOfType<String>(json, r'storageLabel'),
- externalPath: mapValueOfType<String>(json, r'externalPath'),
);
}
return null;
@@ -136,9 +136,9 @@ class CreateUserDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
'email',
- 'password',
'firstName',
'lastName',
+ 'password',
};
}
diff --git a/mobile/openapi/lib/model/curated_locations_response_dto.dart b/mobile/openapi/lib/model/curated_locations_response_dto.dart
index 5bedb93624..9aac5cc72d 100644
--- a/mobile/openapi/lib/model/curated_locations_response_dto.dart
+++ b/mobile/openapi/lib/model/curated_locations_response_dto.dart
@@ -13,50 +13,50 @@ part of openapi.api;
class CuratedLocationsResponseDto {
/// Returns a new [CuratedLocationsResponseDto] instance.
CuratedLocationsResponseDto({
- required this.id,
required this.city,
- required this.resizePath,
required this.deviceAssetId,
required this.deviceId,
+ required this.id,
+ required this.resizePath,
});
- String id;
-
String city;
- String resizePath;
-
String deviceAssetId;
String deviceId;
+ String id;
+
+ String resizePath;
+
@override
bool operator ==(Object other) => identical(this, other) || other is CuratedLocationsResponseDto &&
- other.id == id &&
other.city == city &&
- other.resizePath == resizePath &&
other.deviceAssetId == deviceAssetId &&
- other.deviceId == deviceId;
+ other.deviceId == deviceId &&
+ other.id == id &&
+ other.resizePath == resizePath;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (id.hashCode) +
(city.hashCode) +
- (resizePath.hashCode) +
(deviceAssetId.hashCode) +
- (deviceId.hashCode);
+ (deviceId.hashCode) +
+ (id.hashCode) +
+ (resizePath.hashCode);
@override
- String toString() => 'CuratedLocationsResponseDto[id=$id, city=$city, resizePath=$resizePath, deviceAssetId=$deviceAssetId, deviceId=$deviceId]';
+ String toString() => 'CuratedLocationsResponseDto[city=$city, deviceAssetId=$deviceAssetId, deviceId=$deviceId, id=$id, resizePath=$resizePath]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'id'] = this.id;
json[r'city'] = this.city;
- json[r'resizePath'] = this.resizePath;
json[r'deviceAssetId'] = this.deviceAssetId;
json[r'deviceId'] = this.deviceId;
+ json[r'id'] = this.id;
+ json[r'resizePath'] = this.resizePath;
return json;
}
@@ -68,11 +68,11 @@ class CuratedLocationsResponseDto {
final json = value.cast<String, dynamic>();
return CuratedLocationsResponseDto(
- id: mapValueOfType<String>(json, r'id')!,
city: mapValueOfType<String>(json, r'city')!,
- resizePath: mapValueOfType<String>(json, r'resizePath')!,
deviceAssetId: mapValueOfType<String>(json, r'deviceAssetId')!,
deviceId: mapValueOfType<String>(json, r'deviceId')!,
+ id: mapValueOfType<String>(json, r'id')!,
+ resizePath: mapValueOfType<String>(json, r'resizePath')!,
);
}
return null;
@@ -120,11 +120,11 @@ class CuratedLocationsResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'id',
'city',
- 'resizePath',
'deviceAssetId',
'deviceId',
+ 'id',
+ 'resizePath',
};
}
diff --git a/mobile/openapi/lib/model/curated_objects_response_dto.dart b/mobile/openapi/lib/model/curated_objects_response_dto.dart
index 76ea315ce1..8b2cc99495 100644
--- a/mobile/openapi/lib/model/curated_objects_response_dto.dart
+++ b/mobile/openapi/lib/model/curated_objects_response_dto.dart
@@ -13,50 +13,50 @@ part of openapi.api;
class CuratedObjectsResponseDto {
/// Returns a new [CuratedObjectsResponseDto] instance.
CuratedObjectsResponseDto({
+ required this.deviceAssetId,
+ required this.deviceId,
required this.id,
required this.object,
required this.resizePath,
- required this.deviceAssetId,
- required this.deviceId,
});
+ String deviceAssetId;
+
+ String deviceId;
+
String id;
String object;
String resizePath;
- String deviceAssetId;
-
- String deviceId;
-
@override
bool operator ==(Object other) => identical(this, other) || other is CuratedObjectsResponseDto &&
+ other.deviceAssetId == deviceAssetId &&
+ other.deviceId == deviceId &&
other.id == id &&
other.object == object &&
- other.resizePath == resizePath &&
- other.deviceAssetId == deviceAssetId &&
- other.deviceId == deviceId;
+ other.resizePath == resizePath;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
+ (deviceAssetId.hashCode) +
+ (deviceId.hashCode) +
(id.hashCode) +
(object.hashCode) +
- (resizePath.hashCode) +
- (deviceAssetId.hashCode) +
- (deviceId.hashCode);
+ (resizePath.hashCode);
@override
- String toString() => 'CuratedObjectsResponseDto[id=$id, object=$object, resizePath=$resizePath, deviceAssetId=$deviceAssetId, deviceId=$deviceId]';
+ String toString() => 'CuratedObjectsResponseDto[deviceAssetId=$deviceAssetId, deviceId=$deviceId, id=$id, object=$object, resizePath=$resizePath]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
+ json[r'deviceAssetId'] = this.deviceAssetId;
+ json[r'deviceId'] = this.deviceId;
json[r'id'] = this.id;
json[r'object'] = this.object;
json[r'resizePath'] = this.resizePath;
- json[r'deviceAssetId'] = this.deviceAssetId;
- json[r'deviceId'] = this.deviceId;
return json;
}
@@ -68,11 +68,11 @@ class CuratedObjectsResponseDto {
final json = value.cast<String, dynamic>();
return CuratedObjectsResponseDto(
+ deviceAssetId: mapValueOfType<String>(json, r'deviceAssetId')!,
+ deviceId: mapValueOfType<String>(json, r'deviceId')!,
id: mapValueOfType<String>(json, r'id')!,
object: mapValueOfType<String>(json, r'object')!,
resizePath: mapValueOfType<String>(json, r'resizePath')!,
- deviceAssetId: mapValueOfType<String>(json, r'deviceAssetId')!,
- deviceId: mapValueOfType<String>(json, r'deviceId')!,
);
}
return null;
@@ -120,11 +120,11 @@ class CuratedObjectsResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
+ 'deviceAssetId',
+ 'deviceId',
'id',
'object',
'resizePath',
- 'deviceAssetId',
- 'deviceId',
};
}
diff --git a/mobile/openapi/lib/model/delete_asset_response_dto.dart b/mobile/openapi/lib/model/delete_asset_response_dto.dart
index 7a33b5b5f0..6e435adcb6 100644
--- a/mobile/openapi/lib/model/delete_asset_response_dto.dart
+++ b/mobile/openapi/lib/model/delete_asset_response_dto.dart
@@ -13,32 +13,32 @@ part of openapi.api;
class DeleteAssetResponseDto {
/// Returns a new [DeleteAssetResponseDto] instance.
DeleteAssetResponseDto({
- required this.status,
required this.id,
+ required this.status,
});
- DeleteAssetStatus status;
-
String id;
+ DeleteAssetStatus status;
+
@override
bool operator ==(Object other) => identical(this, other) || other is DeleteAssetResponseDto &&
- other.status == status &&
- other.id == id;
+ other.id == id &&
+ other.status == status;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (status.hashCode) +
- (id.hashCode);
+ (id.hashCode) +
+ (status.hashCode);
@override
- String toString() => 'DeleteAssetResponseDto[status=$status, id=$id]';
+ String toString() => 'DeleteAssetResponseDto[id=$id, status=$status]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'status'] = this.status;
json[r'id'] = this.id;
+ json[r'status'] = this.status;
return json;
}
@@ -50,8 +50,8 @@ class DeleteAssetResponseDto {
final json = value.cast<String, dynamic>();
return DeleteAssetResponseDto(
- status: DeleteAssetStatus.fromJson(json[r'status'])!,
id: mapValueOfType<String>(json, r'id')!,
+ status: DeleteAssetStatus.fromJson(json[r'status'])!,
);
}
return null;
@@ -99,8 +99,8 @@ class DeleteAssetResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'status',
'id',
+ 'status',
};
}
diff --git a/mobile/openapi/lib/model/download_archive_info.dart b/mobile/openapi/lib/model/download_archive_info.dart
index ff370f4231..d495df0cec 100644
--- a/mobile/openapi/lib/model/download_archive_info.dart
+++ b/mobile/openapi/lib/model/download_archive_info.dart
@@ -13,32 +13,32 @@ part of openapi.api;
class DownloadArchiveInfo {
/// Returns a new [DownloadArchiveInfo] instance.
DownloadArchiveInfo({
- required this.size,
this.assetIds = const [],
+ required this.size,
});
- int size;
-
List<String> assetIds;
+ int size;
+
@override
bool operator ==(Object other) => identical(this, other) || other is DownloadArchiveInfo &&
- other.size == size &&
- other.assetIds == assetIds;
+ other.assetIds == assetIds &&
+ other.size == size;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (size.hashCode) +
- (assetIds.hashCode);
+ (assetIds.hashCode) +
+ (size.hashCode);
@override
- String toString() => 'DownloadArchiveInfo[size=$size, assetIds=$assetIds]';
+ String toString() => 'DownloadArchiveInfo[assetIds=$assetIds, size=$size]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'size'] = this.size;
json[r'assetIds'] = this.assetIds;
+ json[r'size'] = this.size;
return json;
}
@@ -50,10 +50,10 @@ class DownloadArchiveInfo {
final json = value.cast<String, dynamic>();
return DownloadArchiveInfo(
- size: mapValueOfType<int>(json, r'size')!,
assetIds: json[r'assetIds'] is Iterable
? (json[r'assetIds'] as Iterable).cast<String>().toList(growable: false)
: const [],
+ size: mapValueOfType<int>(json, r'size')!,
);
}
return null;
@@ -101,8 +101,8 @@ class DownloadArchiveInfo {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'size',
'assetIds',
+ 'size',
};
}
diff --git a/mobile/openapi/lib/model/download_response_dto.dart b/mobile/openapi/lib/model/download_response_dto.dart
index 89269c71a3..352fd5edff 100644
--- a/mobile/openapi/lib/model/download_response_dto.dart
+++ b/mobile/openapi/lib/model/download_response_dto.dart
@@ -13,32 +13,32 @@ part of openapi.api;
class DownloadResponseDto {
/// Returns a new [DownloadResponseDto] instance.
DownloadResponseDto({
- required this.totalSize,
this.archives = const [],
+ required this.totalSize,
});
- int totalSize;
-
List<DownloadArchiveInfo> archives;
+ int totalSize;
+
@override
bool operator ==(Object other) => identical(this, other) || other is DownloadResponseDto &&
- other.totalSize == totalSize &&
- other.archives == archives;
+ other.archives == archives &&
+ other.totalSize == totalSize;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (totalSize.hashCode) +
- (archives.hashCode);
+ (archives.hashCode) +
+ (totalSize.hashCode);
@override
- String toString() => 'DownloadResponseDto[totalSize=$totalSize, archives=$archives]';
+ String toString() => 'DownloadResponseDto[archives=$archives, totalSize=$totalSize]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'totalSize'] = this.totalSize;
json[r'archives'] = this.archives;
+ json[r'totalSize'] = this.totalSize;
return json;
}
@@ -50,8 +50,8 @@ class DownloadResponseDto {
final json = value.cast<String, dynamic>();
return DownloadResponseDto(
- totalSize: mapValueOfType<int>(json, r'totalSize')!,
archives: DownloadArchiveInfo.listFromJson(json[r'archives']),
+ totalSize: mapValueOfType<int>(json, r'totalSize')!,
);
}
return null;
@@ -99,8 +99,8 @@ class DownloadResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'totalSize',
'archives',
+ 'totalSize',
};
}
diff --git a/mobile/openapi/lib/model/exif_response_dto.dart b/mobile/openapi/lib/model/exif_response_dto.dart
index 330c254e58..c871a3f89e 100644
--- a/mobile/openapi/lib/model/exif_response_dto.dart
+++ b/mobile/openapi/lib/model/exif_response_dto.dart
@@ -13,180 +13,170 @@ part of openapi.api;
class ExifResponseDto {
/// Returns a new [ExifResponseDto] instance.
ExifResponseDto({
- this.fileSizeInByte,
- this.make,
- this.model,
- this.exifImageWidth,
- this.exifImageHeight,
- this.orientation,
+ this.city,
+ this.country,
this.dateTimeOriginal,
- this.modifyDate,
- this.timeZone,
- this.lensModel,
+ this.description,
+ this.exifImageHeight,
+ this.exifImageWidth,
+ this.exposureTime,
this.fNumber,
+ this.fileSizeInByte,
this.focalLength,
this.iso,
- this.exposureTime,
this.latitude,
+ this.lensModel,
this.longitude,
- this.city,
- this.state,
- this.country,
- this.description,
+ this.make,
+ this.model,
+ this.modifyDate,
+ this.orientation,
this.projectionType,
+ this.state,
+ this.timeZone,
});
- int? fileSizeInByte;
+ String? city;
- String? make;
+ String? country;
- String? model;
+ DateTime? dateTimeOriginal;
- num? exifImageWidth;
+ String? description;
num? exifImageHeight;
- String? orientation;
-
- DateTime? dateTimeOriginal;
-
- DateTime? modifyDate;
-
- String? timeZone;
+ num? exifImageWidth;
- String? lensModel;
+ String? exposureTime;
num? fNumber;
+ int? fileSizeInByte;
+
num? focalLength;
num? iso;
- String? exposureTime;
-
num? latitude;
+ String? lensModel;
+
num? longitude;
- String? city;
+ String? make;
- String? state;
+ String? model;
- String? country;
+ DateTime? modifyDate;
- String? description;
+ String? orientation;
String? projectionType;
+ String? state;
+
+ String? timeZone;
+
@override
bool operator ==(Object other) => identical(this, other) || other is ExifResponseDto &&
- other.fileSizeInByte == fileSizeInByte &&
- other.make == make &&
- other.model == model &&
- other.exifImageWidth == exifImageWidth &&
- other.exifImageHeight == exifImageHeight &&
- other.orientation == orientation &&
+ other.city == city &&
+ other.country == country &&
other.dateTimeOriginal == dateTimeOriginal &&
- other.modifyDate == modifyDate &&
- other.timeZone == timeZone &&
- other.lensModel == lensModel &&
+ other.description == description &&
+ other.exifImageHeight == exifImageHeight &&
+ other.exifImageWidth == exifImageWidth &&
+ other.exposureTime == exposureTime &&
other.fNumber == fNumber &&
+ other.fileSizeInByte == fileSizeInByte &&
other.focalLength == focalLength &&
other.iso == iso &&
- other.exposureTime == exposureTime &&
other.latitude == latitude &&
+ other.lensModel == lensModel &&
other.longitude == longitude &&
- other.city == city &&
+ other.make == make &&
+ other.model == model &&
+ other.modifyDate == modifyDate &&
+ other.orientation == orientation &&
+ other.projectionType == projectionType &&
other.state == state &&
- other.country == country &&
- other.description == description &&
- other.projectionType == projectionType;
+ other.timeZone == timeZone;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (fileSizeInByte == null ? 0 : fileSizeInByte!.hashCode) +
- (make == null ? 0 : make!.hashCode) +
- (model == null ? 0 : model!.hashCode) +
- (exifImageWidth == null ? 0 : exifImageWidth!.hashCode) +
- (exifImageHeight == null ? 0 : exifImageHeight!.hashCode) +
- (orientation == null ? 0 : orientation!.hashCode) +
+ (city == null ? 0 : city!.hashCode) +
+ (country == null ? 0 : country!.hashCode) +
(dateTimeOriginal == null ? 0 : dateTimeOriginal!.hashCode) +
- (modifyDate == null ? 0 : modifyDate!.hashCode) +
- (timeZone == null ? 0 : timeZone!.hashCode) +
- (lensModel == null ? 0 : lensModel!.hashCode) +
+ (description == null ? 0 : description!.hashCode) +
+ (exifImageHeight == null ? 0 : exifImageHeight!.hashCode) +
+ (exifImageWidth == null ? 0 : exifImageWidth!.hashCode) +
+ (exposureTime == null ? 0 : exposureTime!.hashCode) +
(fNumber == null ? 0 : fNumber!.hashCode) +
+ (fileSizeInByte == null ? 0 : fileSizeInByte!.hashCode) +
(focalLength == null ? 0 : focalLength!.hashCode) +
(iso == null ? 0 : iso!.hashCode) +
- (exposureTime == null ? 0 : exposureTime!.hashCode) +
(latitude == null ? 0 : latitude!.hashCode) +
+ (lensModel == null ? 0 : lensModel!.hashCode) +
(longitude == null ? 0 : longitude!.hashCode) +
- (city == null ? 0 : city!.hashCode) +
+ (make == null ? 0 : make!.hashCode) +
+ (model == null ? 0 : model!.hashCode) +
+ (modifyDate == null ? 0 : modifyDate!.hashCode) +
+ (orientation == null ? 0 : orientation!.hashCode) +
+ (projectionType == null ? 0 : projectionType!.hashCode) +
(state == null ? 0 : state!.hashCode) +
- (country == null ? 0 : country!.hashCode) +
- (description == null ? 0 : description!.hashCode) +
- (projectionType == null ? 0 : projectionType!.hashCode);
+ (timeZone == null ? 0 : timeZone!.hashCode);
@override
- String toString() => 'ExifResponseDto[fileSizeInByte=$fileSizeInByte, make=$make, model=$model, exifImageWidth=$exifImageWidth, exifImageHeight=$exifImageHeight, orientation=$orientation, dateTimeOriginal=$dateTimeOriginal, modifyDate=$modifyDate, timeZone=$timeZone, lensModel=$lensModel, fNumber=$fNumber, focalLength=$focalLength, iso=$iso, exposureTime=$exposureTime, latitude=$latitude, longitude=$longitude, city=$city, state=$state, country=$country, description=$description, projectionType=$projectionType]';
+ String toString() => 'ExifResponseDto[city=$city, country=$country, dateTimeOriginal=$dateTimeOriginal, description=$description, exifImageHeight=$exifImageHeight, exifImageWidth=$exifImageWidth, exposureTime=$exposureTime, fNumber=$fNumber, fileSizeInByte=$fileSizeInByte, focalLength=$focalLength, iso=$iso, latitude=$latitude, lensModel=$lensModel, longitude=$longitude, make=$make, model=$model, modifyDate=$modifyDate, orientation=$orientation, projectionType=$projectionType, state=$state, timeZone=$timeZone]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- if (this.fileSizeInByte != null) {
- json[r'fileSizeInByte'] = this.fileSizeInByte;
+ if (this.city != null) {
+ json[r'city'] = this.city;
} else {
- // json[r'fileSizeInByte'] = null;
+ // json[r'city'] = null;
}
- if (this.make != null) {
- json[r'make'] = this.make;
+ if (this.country != null) {
+ json[r'country'] = this.country;
} else {
- // json[r'make'] = null;
+ // json[r'country'] = null;
}
- if (this.model != null) {
- json[r'model'] = this.model;
+ if (this.dateTimeOriginal != null) {
+ json[r'dateTimeOriginal'] = this.dateTimeOriginal!.toUtc().toIso8601String();
} else {
- // json[r'model'] = null;
+ // json[r'dateTimeOriginal'] = null;
}
- if (this.exifImageWidth != null) {
- json[r'exifImageWidth'] = this.exifImageWidth;
+ if (this.description != null) {
+ json[r'description'] = this.description;
} else {
- // json[r'exifImageWidth'] = null;
+ // json[r'description'] = null;
}
if (this.exifImageHeight != null) {
json[r'exifImageHeight'] = this.exifImageHeight;
} else {
// json[r'exifImageHeight'] = null;
}
- if (this.orientation != null) {
- json[r'orientation'] = this.orientation;
- } else {
- // json[r'orientation'] = null;
- }
- if (this.dateTimeOriginal != null) {
- json[r'dateTimeOriginal'] = this.dateTimeOriginal!.toUtc().toIso8601String();
- } else {
- // json[r'dateTimeOriginal'] = null;
- }
- if (this.modifyDate != null) {
- json[r'modifyDate'] = this.modifyDate!.toUtc().toIso8601String();
- } else {
- // json[r'modifyDate'] = null;
- }
- if (this.timeZone != null) {
- json[r'timeZone'] = this.timeZone;
+ if (this.exifImageWidth != null) {
+ json[r'exifImageWidth'] = this.exifImageWidth;
} else {
- // json[r'timeZone'] = null;
+ // json[r'exifImageWidth'] = null;
}
- if (this.lensModel != null) {
- json[r'lensModel'] = this.lensModel;
+ if (this.exposureTime != null) {
+ json[r'exposureTime'] = this.exposureTime;
} else {
- // json[r'lensModel'] = null;
+ // json[r'exposureTime'] = null;
}
if (this.fNumber != null) {
json[r'fNumber'] = this.fNumber;
} else {
// json[r'fNumber'] = null;
}
+ if (this.fileSizeInByte != null) {
+ json[r'fileSizeInByte'] = this.fileSizeInByte;
+ } else {
+ // json[r'fileSizeInByte'] = null;
+ }
if (this.focalLength != null) {
json[r'focalLength'] = this.focalLength;
} else {
@@ -197,46 +187,56 @@ class ExifResponseDto {
} else {
// json[r'iso'] = null;
}
- if (this.exposureTime != null) {
- json[r'exposureTime'] = this.exposureTime;
- } else {
- // json[r'exposureTime'] = null;
- }
if (this.latitude != null) {
json[r'latitude'] = this.latitude;
} else {
// json[r'latitude'] = null;
}
+ if (this.lensModel != null) {
+ json[r'lensModel'] = this.lensModel;
+ } else {
+ // json[r'lensModel'] = null;
+ }
if (this.longitude != null) {
json[r'longitude'] = this.longitude;
} else {
// json[r'longitude'] = null;
}
- if (this.city != null) {
- json[r'city'] = this.city;
+ if (this.make != null) {
+ json[r'make'] = this.make;
} else {
- // json[r'city'] = null;
+ // json[r'make'] = null;
}
- if (this.state != null) {
- json[r'state'] = this.state;
+ if (this.model != null) {
+ json[r'model'] = this.model;
} else {
- // json[r'state'] = null;
+ // json[r'model'] = null;
}
- if (this.country != null) {
- json[r'country'] = this.country;
+ if (this.modifyDate != null) {
+ json[r'modifyDate'] = this.modifyDate!.toUtc().toIso8601String();
} else {
- // json[r'country'] = null;
+ // json[r'modifyDate'] = null;
}
- if (this.description != null) {
- json[r'description'] = this.description;
+ if (this.orientation != null) {
+ json[r'orientation'] = this.orientation;
} else {
- // json[r'description'] = null;
+ // json[r'orientation'] = null;
}
if (this.projectionType != null) {
json[r'projectionType'] = this.projectionType;
} else {
// json[r'projectionType'] = null;
}
+ if (this.state != null) {
+ json[r'state'] = this.state;
+ } else {
+ // json[r'state'] = null;
+ }
+ if (this.timeZone != null) {
+ json[r'timeZone'] = this.timeZone;
+ } else {
+ // json[r'timeZone'] = null;
+ }
return json;
}
@@ -248,41 +248,41 @@ class ExifResponseDto {
final json = value.cast<String, dynamic>();
return ExifResponseDto(
- fileSizeInByte: mapValueOfType<int>(json, r'fileSizeInByte'),
- make: mapValueOfType<String>(json, r'make'),
- model: mapValueOfType<String>(json, r'model'),
- exifImageWidth: json[r'exifImageWidth'] == null
- ? null
- : num.parse('${json[r'exifImageWidth']}'),
+ city: mapValueOfType<String>(json, r'city'),
+ country: mapValueOfType<String>(json, r'country'),
+ dateTimeOriginal: mapDateTime(json, r'dateTimeOriginal', r''),
+ description: mapValueOfType<String>(json, r'description'),
exifImageHeight: json[r'exifImageHeight'] == null
? null
: num.parse('${json[r'exifImageHeight']}'),
- orientation: mapValueOfType<String>(json, r'orientation'),
- dateTimeOriginal: mapDateTime(json, r'dateTimeOriginal', r''),
- modifyDate: mapDateTime(json, r'modifyDate', r''),
- timeZone: mapValueOfType<String>(json, r'timeZone'),
- lensModel: mapValueOfType<String>(json, r'lensModel'),
+ exifImageWidth: json[r'exifImageWidth'] == null
+ ? null
+ : num.parse('${json[r'exifImageWidth']}'),
+ exposureTime: mapValueOfType<String>(json, r'exposureTime'),
fNumber: json[r'fNumber'] == null
? null
: num.parse('${json[r'fNumber']}'),
+ fileSizeInByte: mapValueOfType<int>(json, r'fileSizeInByte'),
focalLength: json[r'focalLength'] == null
? null
: num.parse('${json[r'focalLength']}'),
iso: json[r'iso'] == null
? null
: num.parse('${json[r'iso']}'),
- exposureTime: mapValueOfType<String>(json, r'exposureTime'),
latitude: json[r'latitude'] == null
? null
: num.parse('${json[r'latitude']}'),
+ lensModel: mapValueOfType<String>(json, r'lensModel'),
longitude: json[r'longitude'] == null
? null
: num.parse('${json[r'longitude']}'),
- city: mapValueOfType<String>(json, r'city'),
- state: mapValueOfType<String>(json, r'state'),
- country: mapValueOfType<String>(json, r'country'),
- description: mapValueOfType<String>(json, r'description'),
+ make: mapValueOfType<String>(json, r'make'),
+ model: mapValueOfType<String>(json, r'model'),
+ modifyDate: mapDateTime(json, r'modifyDate', r''),
+ orientation: mapValueOfType<String>(json, r'orientation'),
projectionType: mapValueOfType<String>(json, r'projectionType'),
+ state: mapValueOfType<String>(json, r'state'),
+ timeZone: mapValueOfType<String>(json, r'timeZone'),
);
}
return null;
diff --git a/mobile/openapi/lib/model/import_asset_dto.dart b/mobile/openapi/lib/model/import_asset_dto.dart
index 1ebaeee75f..2cbc7c7e1b 100644
--- a/mobile/openapi/lib/model/import_asset_dto.dart
+++ b/mobile/openapi/lib/model/import_asset_dto.dart
@@ -13,41 +13,37 @@ part of openapi.api;
class ImportAssetDto {
/// Returns a new [ImportAssetDto] instance.
ImportAssetDto({
- this.isReadOnly = true,
required this.assetPath,
- this.sidecarPath,
required this.deviceAssetId,
required this.deviceId,
+ this.duration,
required this.fileCreatedAt,
required this.fileModifiedAt,
- required this.isFavorite,
this.isArchived,
+ required this.isFavorite,
+ this.isReadOnly = true,
this.isVisible,
- this.duration,
+ this.sidecarPath,
});
- bool isReadOnly;
-
String assetPath;
+ String deviceAssetId;
+
+ String deviceId;
+
///
/// 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.
///
- String? sidecarPath;
-
- String deviceAssetId;
-
- String deviceId;
+ String? duration;
DateTime fileCreatedAt;
DateTime fileModifiedAt;
- bool isFavorite;
-
///
/// 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
@@ -56,6 +52,10 @@ class ImportAssetDto {
///
bool? isArchived;
+ bool isFavorite;
+
+ bool isReadOnly;
+
///
/// 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
@@ -70,68 +70,68 @@ class ImportAssetDto {
/// source code must fall back to having a nullable type.
/// Consider adding a "default:" property in the specification file to hide this note.
///
- String? duration;
+ String? sidecarPath;
@override
bool operator ==(Object other) => identical(this, other) || other is ImportAssetDto &&
- other.isReadOnly == isReadOnly &&
other.assetPath == assetPath &&
- other.sidecarPath == sidecarPath &&
other.deviceAssetId == deviceAssetId &&
other.deviceId == deviceId &&
+ other.duration == duration &&
other.fileCreatedAt == fileCreatedAt &&
other.fileModifiedAt == fileModifiedAt &&
- other.isFavorite == isFavorite &&
other.isArchived == isArchived &&
+ other.isFavorite == isFavorite &&
+ other.isReadOnly == isReadOnly &&
other.isVisible == isVisible &&
- other.duration == duration;
+ other.sidecarPath == sidecarPath;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (isReadOnly.hashCode) +
(assetPath.hashCode) +
- (sidecarPath == null ? 0 : sidecarPath!.hashCode) +
(deviceAssetId.hashCode) +
(deviceId.hashCode) +
+ (duration == null ? 0 : duration!.hashCode) +
(fileCreatedAt.hashCode) +
(fileModifiedAt.hashCode) +
- (isFavorite.hashCode) +
(isArchived == null ? 0 : isArchived!.hashCode) +
+ (isFavorite.hashCode) +
+ (isReadOnly.hashCode) +
(isVisible == null ? 0 : isVisible!.hashCode) +
- (duration == null ? 0 : duration!.hashCode);
+ (sidecarPath == null ? 0 : sidecarPath!.hashCode);
@override
- String toString() => 'ImportAssetDto[isReadOnly=$isReadOnly, assetPath=$assetPath, sidecarPath=$sidecarPath, deviceAssetId=$deviceAssetId, deviceId=$deviceId, fileCreatedAt=$fileCreatedAt, fileModifiedAt=$fileModifiedAt, isFavorite=$isFavorite, isArchived=$isArchived, isVisible=$isVisible, duration=$duration]';
+ String toString() => 'ImportAssetDto[assetPath=$assetPath, deviceAssetId=$deviceAssetId, deviceId=$deviceId, duration=$duration, fileCreatedAt=$fileCreatedAt, fileModifiedAt=$fileModifiedAt, isArchived=$isArchived, isFavorite=$isFavorite, isReadOnly=$isReadOnly, isVisible=$isVisible, sidecarPath=$sidecarPath]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'isReadOnly'] = this.isReadOnly;
json[r'assetPath'] = this.assetPath;
- if (this.sidecarPath != null) {
- json[r'sidecarPath'] = this.sidecarPath;
- } else {
- // json[r'sidecarPath'] = null;
- }
json[r'deviceAssetId'] = this.deviceAssetId;
json[r'deviceId'] = this.deviceId;
+ if (this.duration != null) {
+ json[r'duration'] = this.duration;
+ } else {
+ // json[r'duration'] = null;
+ }
json[r'fileCreatedAt'] = this.fileCreatedAt.toUtc().toIso8601String();
json[r'fileModifiedAt'] = this.fileModifiedAt.toUtc().toIso8601String();
- json[r'isFavorite'] = this.isFavorite;
if (this.isArchived != null) {
json[r'isArchived'] = this.isArchived;
} else {
// json[r'isArchived'] = null;
}
+ json[r'isFavorite'] = this.isFavorite;
+ json[r'isReadOnly'] = this.isReadOnly;
if (this.isVisible != null) {
json[r'isVisible'] = this.isVisible;
} else {
// json[r'isVisible'] = null;
}
- if (this.duration != null) {
- json[r'duration'] = this.duration;
+ if (this.sidecarPath != null) {
+ json[r'sidecarPath'] = this.sidecarPath;
} else {
- // json[r'duration'] = null;
+ // json[r'sidecarPath'] = null;
}
return json;
}
@@ -144,17 +144,17 @@ class ImportAssetDto {
final json = value.cast<String, dynamic>();
return ImportAssetDto(
- isReadOnly: mapValueOfType<bool>(json, r'isReadOnly') ?? true,
assetPath: mapValueOfType<String>(json, r'assetPath')!,
- sidecarPath: mapValueOfType<String>(json, r'sidecarPath'),
deviceAssetId: mapValueOfType<String>(json, r'deviceAssetId')!,
deviceId: mapValueOfType<String>(json, r'deviceId')!,
+ duration: mapValueOfType<String>(json, r'duration'),
fileCreatedAt: mapDateTime(json, r'fileCreatedAt', r'')!,
fileModifiedAt: mapDateTime(json, r'fileModifiedAt', r'')!,
- isFavorite: mapValueOfType<bool>(json, r'isFavorite')!,
isArchived: mapValueOfType<bool>(json, r'isArchived'),
+ isFavorite: mapValueOfType<bool>(json, r'isFavorite')!,
+ isReadOnly: mapValueOfType<bool>(json, r'isReadOnly') ?? true,
isVisible: mapValueOfType<bool>(json, r'isVisible'),
- duration: mapValueOfType<String>(json, r'duration'),
+ sidecarPath: mapValueOfType<String>(json, r'sidecarPath'),
);
}
return null;
diff --git a/mobile/openapi/lib/model/job_counts_dto.dart b/mobile/openapi/lib/model/job_counts_dto.dart
index 5006279cec..077e5a2141 100644
--- a/mobile/openapi/lib/model/job_counts_dto.dart
+++ b/mobile/openapi/lib/model/job_counts_dto.dart
@@ -15,54 +15,54 @@ class JobCountsDto {
JobCountsDto({
required this.active,
required this.completed,
- required this.failed,
required this.delayed,
- required this.waiting,
+ required this.failed,
required this.paused,
+ required this.waiting,
});
int active;
int completed;
- int failed;
-
int delayed;
- int waiting;
+ int failed;
int paused;
+ int waiting;
+
@override
bool operator ==(Object other) => identical(this, other) || other is JobCountsDto &&
other.active == active &&
other.completed == completed &&
- other.failed == failed &&
other.delayed == delayed &&
- other.waiting == waiting &&
- other.paused == paused;
+ other.failed == failed &&
+ other.paused == paused &&
+ other.waiting == waiting;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
(active.hashCode) +
(completed.hashCode) +
- (failed.hashCode) +
(delayed.hashCode) +
- (waiting.hashCode) +
- (paused.hashCode);
+ (failed.hashCode) +
+ (paused.hashCode) +
+ (waiting.hashCode);
@override
- String toString() => 'JobCountsDto[active=$active, completed=$completed, failed=$failed, delayed=$delayed, waiting=$waiting, paused=$paused]';
+ String toString() => 'JobCountsDto[active=$active, completed=$completed, delayed=$delayed, failed=$failed, paused=$paused, waiting=$waiting]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'active'] = this.active;
json[r'completed'] = this.completed;
- json[r'failed'] = this.failed;
json[r'delayed'] = this.delayed;
- json[r'waiting'] = this.waiting;
+ json[r'failed'] = this.failed;
json[r'paused'] = this.paused;
+ json[r'waiting'] = this.waiting;
return json;
}
@@ -76,10 +76,10 @@ class JobCountsDto {
return JobCountsDto(
active: mapValueOfType<int>(json, r'active')!,
completed: mapValueOfType<int>(json, r'completed')!,
- failed: mapValueOfType<int>(json, r'failed')!,
delayed: mapValueOfType<int>(json, r'delayed')!,
- waiting: mapValueOfType<int>(json, r'waiting')!,
+ failed: mapValueOfType<int>(json, r'failed')!,
paused: mapValueOfType<int>(json, r'paused')!,
+ waiting: mapValueOfType<int>(json, r'waiting')!,
);
}
return null;
@@ -129,10 +129,10 @@ class JobCountsDto {
static const requiredKeys = <String>{
'active',
'completed',
- 'failed',
'delayed',
- 'waiting',
+ 'failed',
'paused',
+ 'waiting',
};
}
diff --git a/mobile/openapi/lib/model/login_response_dto.dart b/mobile/openapi/lib/model/login_response_dto.dart
index 01a3338c3e..94da05a50c 100644
--- a/mobile/openapi/lib/model/login_response_dto.dart
+++ b/mobile/openapi/lib/model/login_response_dto.dart
@@ -14,67 +14,67 @@ class LoginResponseDto {
/// Returns a new [LoginResponseDto] instance.
LoginResponseDto({
required this.accessToken,
- required this.userId,
- required this.userEmail,
required this.firstName,
+ required this.isAdmin,
required this.lastName,
required this.profileImagePath,
- required this.isAdmin,
required this.shouldChangePassword,
+ required this.userEmail,
+ required this.userId,
});
String accessToken;
- String userId;
-
- String userEmail;
-
String firstName;
+ bool isAdmin;
+
String lastName;
String profileImagePath;
- bool isAdmin;
-
bool shouldChangePassword;
+ String userEmail;
+
+ String userId;
+
@override
bool operator ==(Object other) => identical(this, other) || other is LoginResponseDto &&
other.accessToken == accessToken &&
- other.userId == userId &&
- other.userEmail == userEmail &&
other.firstName == firstName &&
+ other.isAdmin == isAdmin &&
other.lastName == lastName &&
other.profileImagePath == profileImagePath &&
- other.isAdmin == isAdmin &&
- other.shouldChangePassword == shouldChangePassword;
+ other.shouldChangePassword == shouldChangePassword &&
+ other.userEmail == userEmail &&
+ other.userId == userId;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
(accessToken.hashCode) +
- (userId.hashCode) +
- (userEmail.hashCode) +
(firstName.hashCode) +
+ (isAdmin.hashCode) +
(lastName.hashCode) +
(profileImagePath.hashCode) +
- (isAdmin.hashCode) +
- (shouldChangePassword.hashCode);
+ (shouldChangePassword.hashCode) +
+ (userEmail.hashCode) +
+ (userId.hashCode);
@override
- String toString() => 'LoginResponseDto[accessToken=$accessToken, userId=$userId, userEmail=$userEmail, firstName=$firstName, lastName=$lastName, profileImagePath=$profileImagePath, isAdmin=$isAdmin, shouldChangePassword=$shouldChangePassword]';
+ String toString() => 'LoginResponseDto[accessToken=$accessToken, firstName=$firstName, isAdmin=$isAdmin, lastName=$lastName, profileImagePath=$profileImagePath, shouldChangePassword=$shouldChangePassword, userEmail=$userEmail, userId=$userId]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'accessToken'] = this.accessToken;
- json[r'userId'] = this.userId;
- json[r'userEmail'] = this.userEmail;
json[r'firstName'] = this.firstName;
+ json[r'isAdmin'] = this.isAdmin;
json[r'lastName'] = this.lastName;
json[r'profileImagePath'] = this.profileImagePath;
- json[r'isAdmin'] = this.isAdmin;
json[r'shouldChangePassword'] = this.shouldChangePassword;
+ json[r'userEmail'] = this.userEmail;
+ json[r'userId'] = this.userId;
return json;
}
@@ -87,13 +87,13 @@ class LoginResponseDto {
return LoginResponseDto(
accessToken: mapValueOfType<String>(json, r'accessToken')!,
- userId: mapValueOfType<String>(json, r'userId')!,
- userEmail: mapValueOfType<String>(json, r'userEmail')!,
firstName: mapValueOfType<String>(json, r'firstName')!,
+ isAdmin: mapValueOfType<bool>(json, r'isAdmin')!,
lastName: mapValueOfType<String>(json, r'lastName')!,
profileImagePath: mapValueOfType<String>(json, r'profileImagePath')!,
- isAdmin: mapValueOfType<bool>(json, r'isAdmin')!,
shouldChangePassword: mapValueOfType<bool>(json, r'shouldChangePassword')!,
+ userEmail: mapValueOfType<String>(json, r'userEmail')!,
+ userId: mapValueOfType<String>(json, r'userId')!,
);
}
return null;
@@ -142,13 +142,13 @@ class LoginResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
'accessToken',
- 'userId',
- 'userEmail',
'firstName',
+ 'isAdmin',
'lastName',
'profileImagePath',
- 'isAdmin',
'shouldChangePassword',
+ 'userEmail',
+ 'userId',
};
}
diff --git a/mobile/openapi/lib/model/logout_response_dto.dart b/mobile/openapi/lib/model/logout_response_dto.dart
index f8f77ba0a5..bcb6681d59 100644
--- a/mobile/openapi/lib/model/logout_response_dto.dart
+++ b/mobile/openapi/lib/model/logout_response_dto.dart
@@ -13,32 +13,32 @@ part of openapi.api;
class LogoutResponseDto {
/// Returns a new [LogoutResponseDto] instance.
LogoutResponseDto({
- required this.successful,
required this.redirectUri,
+ required this.successful,
});
- bool successful;
-
String redirectUri;
+ bool successful;
+
@override
bool operator ==(Object other) => identical(this, other) || other is LogoutResponseDto &&
- other.successful == successful &&
- other.redirectUri == redirectUri;
+ other.redirectUri == redirectUri &&
+ other.successful == successful;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (successful.hashCode) +
- (redirectUri.hashCode);
+ (redirectUri.hashCode) +
+ (successful.hashCode);
@override
- String toString() => 'LogoutResponseDto[successful=$successful, redirectUri=$redirectUri]';
+ String toString() => 'LogoutResponseDto[redirectUri=$redirectUri, successful=$successful]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'successful'] = this.successful;
json[r'redirectUri'] = this.redirectUri;
+ json[r'successful'] = this.successful;
return json;
}
@@ -50,8 +50,8 @@ class LogoutResponseDto {
final json = value.cast<String, dynamic>();
return LogoutResponseDto(
- successful: mapValueOfType<bool>(json, r'successful')!,
redirectUri: mapValueOfType<String>(json, r'redirectUri')!,
+ successful: mapValueOfType<bool>(json, r'successful')!,
);
}
return null;
@@ -99,8 +99,8 @@ class LogoutResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'successful',
'redirectUri',
+ 'successful',
};
}
diff --git a/mobile/openapi/lib/model/memory_lane_response_dto.dart b/mobile/openapi/lib/model/memory_lane_response_dto.dart
index fc33e4210f..1f816da868 100644
--- a/mobile/openapi/lib/model/memory_lane_response_dto.dart
+++ b/mobile/openapi/lib/model/memory_lane_response_dto.dart
@@ -13,32 +13,32 @@ part of openapi.api;
class MemoryLaneResponseDto {
/// Returns a new [MemoryLaneResponseDto] instance.
MemoryLaneResponseDto({
- required this.title,
this.assets = const [],
+ required this.title,
});
- String title;
-
List<AssetResponseDto> assets;
+ String title;
+
@override
bool operator ==(Object other) => identical(this, other) || other is MemoryLaneResponseDto &&
- other.title == title &&
- other.assets == assets;
+ other.assets == assets &&
+ other.title == title;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (title.hashCode) +
- (assets.hashCode);
+ (assets.hashCode) +
+ (title.hashCode);
@override
- String toString() => 'MemoryLaneResponseDto[title=$title, assets=$assets]';
+ String toString() => 'MemoryLaneResponseDto[assets=$assets, title=$title]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'title'] = this.title;
json[r'assets'] = this.assets;
+ json[r'title'] = this.title;
return json;
}
@@ -50,8 +50,8 @@ class MemoryLaneResponseDto {
final json = value.cast<String, dynamic>();
return MemoryLaneResponseDto(
- title: mapValueOfType<String>(json, r'title')!,
assets: AssetResponseDto.listFromJson(json[r'assets']),
+ title: mapValueOfType<String>(json, r'title')!,
);
}
return null;
@@ -99,8 +99,8 @@ class MemoryLaneResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'title',
'assets',
+ 'title',
};
}
diff --git a/mobile/openapi/lib/model/o_auth_config_response_dto.dart b/mobile/openapi/lib/model/o_auth_config_response_dto.dart
index 872455fb4c..4b6846af25 100644
--- a/mobile/openapi/lib/model/o_auth_config_response_dto.dart
+++ b/mobile/openapi/lib/model/o_auth_config_response_dto.dart
@@ -13,24 +13,20 @@ part of openapi.api;
class OAuthConfigResponseDto {
/// Returns a new [OAuthConfigResponseDto] instance.
OAuthConfigResponseDto({
+ this.autoLaunch,
+ this.buttonText,
required this.enabled,
required this.passwordLoginEnabled,
this.url,
- this.buttonText,
- this.autoLaunch,
});
- bool enabled;
-
- bool passwordLoginEnabled;
-
///
/// 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.
///
- String? url;
+ bool? autoLaunch;
///
/// Please note: This property should have been non-nullable! Since the specification file
@@ -40,52 +36,56 @@ class OAuthConfigResponseDto {
///
String? buttonText;
+ bool enabled;
+
+ bool passwordLoginEnabled;
+
///
/// 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? autoLaunch;
+ String? url;
@override
bool operator ==(Object other) => identical(this, other) || other is OAuthConfigResponseDto &&
+ other.autoLaunch == autoLaunch &&
+ other.buttonText == buttonText &&
other.enabled == enabled &&
other.passwordLoginEnabled == passwordLoginEnabled &&
- other.url == url &&
- other.buttonText == buttonText &&
- other.autoLaunch == autoLaunch;
+ other.url == url;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
+ (autoLaunch == null ? 0 : autoLaunch!.hashCode) +
+ (buttonText == null ? 0 : buttonText!.hashCode) +
(enabled.hashCode) +
(passwordLoginEnabled.hashCode) +
- (url == null ? 0 : url!.hashCode) +
- (buttonText == null ? 0 : buttonText!.hashCode) +
- (autoLaunch == null ? 0 : autoLaunch!.hashCode);
+ (url == null ? 0 : url!.hashCode);
@override
- String toString() => 'OAuthConfigResponseDto[enabled=$enabled, passwordLoginEnabled=$passwordLoginEnabled, url=$url, buttonText=$buttonText, autoLaunch=$autoLaunch]';
+ String toString() => 'OAuthConfigResponseDto[autoLaunch=$autoLaunch, buttonText=$buttonText, enabled=$enabled, passwordLoginEnabled=$passwordLoginEnabled, url=$url]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'enabled'] = this.enabled;
- json[r'passwordLoginEnabled'] = this.passwordLoginEnabled;
- if (this.url != null) {
- json[r'url'] = this.url;
+ if (this.autoLaunch != null) {
+ json[r'autoLaunch'] = this.autoLaunch;
} else {
- // json[r'url'] = null;
+ // json[r'autoLaunch'] = null;
}
if (this.buttonText != null) {
json[r'buttonText'] = this.buttonText;
} else {
// json[r'buttonText'] = null;
}
- if (this.autoLaunch != null) {
- json[r'autoLaunch'] = this.autoLaunch;
+ json[r'enabled'] = this.enabled;
+ json[r'passwordLoginEnabled'] = this.passwordLoginEnabled;
+ if (this.url != null) {
+ json[r'url'] = this.url;
} else {
- // json[r'autoLaunch'] = null;
+ // json[r'url'] = null;
}
return json;
}
@@ -98,11 +98,11 @@ class OAuthConfigResponseDto {
final json = value.cast<String, dynamic>();
return OAuthConfigResponseDto(
+ autoLaunch: mapValueOfType<bool>(json, r'autoLaunch'),
+ buttonText: mapValueOfType<String>(json, r'buttonText'),
enabled: mapValueOfType<bool>(json, r'enabled')!,
passwordLoginEnabled: mapValueOfType<bool>(json, r'passwordLoginEnabled')!,
url: mapValueOfType<String>(json, r'url'),
- buttonText: mapValueOfType<String>(json, r'buttonText'),
- autoLaunch: mapValueOfType<bool>(json, r'autoLaunch'),
);
}
return null;
diff --git a/mobile/openapi/lib/model/people_response_dto.dart b/mobile/openapi/lib/model/people_response_dto.dart
index 9470a827eb..a1e3832166 100644
--- a/mobile/openapi/lib/model/people_response_dto.dart
+++ b/mobile/openapi/lib/model/people_response_dto.dart
@@ -13,38 +13,38 @@ part of openapi.api;
class PeopleResponseDto {
/// Returns a new [PeopleResponseDto] instance.
PeopleResponseDto({
+ this.people = const [],
required this.total,
required this.visible,
- this.people = const [],
});
+ List<PersonResponseDto> people;
+
num total;
num visible;
- List<PersonResponseDto> people;
-
@override
bool operator ==(Object other) => identical(this, other) || other is PeopleResponseDto &&
+ other.people == people &&
other.total == total &&
- other.visible == visible &&
- other.people == people;
+ other.visible == visible;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
+ (people.hashCode) +
(total.hashCode) +
- (visible.hashCode) +
- (people.hashCode);
+ (visible.hashCode);
@override
- String toString() => 'PeopleResponseDto[total=$total, visible=$visible, people=$people]';
+ String toString() => 'PeopleResponseDto[people=$people, total=$total, visible=$visible]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
+ json[r'people'] = this.people;
json[r'total'] = this.total;
json[r'visible'] = this.visible;
- json[r'people'] = this.people;
return json;
}
@@ -56,9 +56,9 @@ class PeopleResponseDto {
final json = value.cast<String, dynamic>();
return PeopleResponseDto(
+ people: PersonResponseDto.listFromJson(json[r'people']),
total: num.parse('${json[r'total']}'),
visible: num.parse('${json[r'visible']}'),
- people: PersonResponseDto.listFromJson(json[r'people']),
);
}
return null;
@@ -106,9 +106,9 @@ class PeopleResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
+ 'people',
'total',
'visible',
- 'people',
};
}
diff --git a/mobile/openapi/lib/model/people_update_item.dart b/mobile/openapi/lib/model/people_update_item.dart
index 16130b4036..3a35c8a58e 100644
--- a/mobile/openapi/lib/model/people_update_item.dart
+++ b/mobile/openapi/lib/model/people_update_item.dart
@@ -13,78 +13,78 @@ part of openapi.api;
class PeopleUpdateItem {
/// Returns a new [PeopleUpdateItem] instance.
PeopleUpdateItem({
- required this.id,
- this.name,
this.featureFaceAssetId,
+ required this.id,
this.isHidden,
+ this.name,
});
- /// Person id.
- String id;
-
- /// Person name.
+ /// Asset is used to get the feature face thumbnail.
///
/// 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.
///
- String? name;
+ String? featureFaceAssetId;
- /// Asset is used to get the feature face thumbnail.
+ /// Person id.
+ String id;
+
+ /// Person visibility
///
/// 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.
///
- String? featureFaceAssetId;
+ bool? isHidden;
- /// Person visibility
+ /// Person name.
///
/// 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? isHidden;
+ String? name;
@override
bool operator ==(Object other) => identical(this, other) || other is PeopleUpdateItem &&
- other.id == id &&
- other.name == name &&
other.featureFaceAssetId == featureFaceAssetId &&
- other.isHidden == isHidden;
+ other.id == id &&
+ other.isHidden == isHidden &&
+ other.name == name;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (id.hashCode) +
- (name == null ? 0 : name!.hashCode) +
(featureFaceAssetId == null ? 0 : featureFaceAssetId!.hashCode) +
- (isHidden == null ? 0 : isHidden!.hashCode);
+ (id.hashCode) +
+ (isHidden == null ? 0 : isHidden!.hashCode) +
+ (name == null ? 0 : name!.hashCode);
@override
- String toString() => 'PeopleUpdateItem[id=$id, name=$name, featureFaceAssetId=$featureFaceAssetId, isHidden=$isHidden]';
+ String toString() => 'PeopleUpdateItem[featureFaceAssetId=$featureFaceAssetId, id=$id, isHidden=$isHidden, name=$name]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'id'] = this.id;
- if (this.name != null) {
- json[r'name'] = this.name;
- } else {
- // json[r'name'] = null;
- }
if (this.featureFaceAssetId != null) {
json[r'featureFaceAssetId'] = this.featureFaceAssetId;
} else {
// json[r'featureFaceAssetId'] = null;
}
+ json[r'id'] = this.id;
if (this.isHidden != null) {
json[r'isHidden'] = this.isHidden;
} else {
// json[r'isHidden'] = null;
}
+ if (this.name != null) {
+ json[r'name'] = this.name;
+ } else {
+ // json[r'name'] = null;
+ }
return json;
}
@@ -96,10 +96,10 @@ class PeopleUpdateItem {
final json = value.cast<String, dynamic>();
return PeopleUpdateItem(
- id: mapValueOfType<String>(json, r'id')!,
- name: mapValueOfType<String>(json, r'name'),
featureFaceAssetId: mapValueOfType<String>(json, r'featureFaceAssetId'),
+ id: mapValueOfType<String>(json, r'id')!,
isHidden: mapValueOfType<bool>(json, r'isHidden'),
+ name: mapValueOfType<String>(json, r'name'),
);
}
return null;
diff --git a/mobile/openapi/lib/model/person_response_dto.dart b/mobile/openapi/lib/model/person_response_dto.dart
index 909901f8af..21120f23b8 100644
--- a/mobile/openapi/lib/model/person_response_dto.dart
+++ b/mobile/openapi/lib/model/person_response_dto.dart
@@ -14,43 +14,43 @@ class PersonResponseDto {
/// Returns a new [PersonResponseDto] instance.
PersonResponseDto({
required this.id,
+ required this.isHidden,
required this.name,
required this.thumbnailPath,
- required this.isHidden,
});
String id;
+ bool isHidden;
+
String name;
String thumbnailPath;
- bool isHidden;
-
@override
bool operator ==(Object other) => identical(this, other) || other is PersonResponseDto &&
other.id == id &&
+ other.isHidden == isHidden &&
other.name == name &&
- other.thumbnailPath == thumbnailPath &&
- other.isHidden == isHidden;
+ other.thumbnailPath == thumbnailPath;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
(id.hashCode) +
+ (isHidden.hashCode) +
(name.hashCode) +
- (thumbnailPath.hashCode) +
- (isHidden.hashCode);
+ (thumbnailPath.hashCode);
@override
- String toString() => 'PersonResponseDto[id=$id, name=$name, thumbnailPath=$thumbnailPath, isHidden=$isHidden]';
+ String toString() => 'PersonResponseDto[id=$id, isHidden=$isHidden, name=$name, thumbnailPath=$thumbnailPath]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'id'] = this.id;
+ json[r'isHidden'] = this.isHidden;
json[r'name'] = this.name;
json[r'thumbnailPath'] = this.thumbnailPath;
- json[r'isHidden'] = this.isHidden;
return json;
}
@@ -63,9 +63,9 @@ class PersonResponseDto {
return PersonResponseDto(
id: mapValueOfType<String>(json, r'id')!,
+ isHidden: mapValueOfType<bool>(json, r'isHidden')!,
name: mapValueOfType<String>(json, r'name')!,
thumbnailPath: mapValueOfType<String>(json, r'thumbnailPath')!,
- isHidden: mapValueOfType<bool>(json, r'isHidden')!,
);
}
return null;
@@ -114,9 +114,9 @@ class PersonResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
'id',
+ 'isHidden',
'name',
'thumbnailPath',
- 'isHidden',
};
}
diff --git a/mobile/openapi/lib/model/person_update_dto.dart b/mobile/openapi/lib/model/person_update_dto.dart
index 4b1b9967e5..baa985b1c7 100644
--- a/mobile/openapi/lib/model/person_update_dto.dart
+++ b/mobile/openapi/lib/model/person_update_dto.dart
@@ -13,61 +13,56 @@ part of openapi.api;
class PersonUpdateDto {
/// Returns a new [PersonUpdateDto] instance.
PersonUpdateDto({
- this.name,
this.featureFaceAssetId,
this.isHidden,
+ this.name,
});
- /// Person name.
+ /// Asset is used to get the feature face thumbnail.
///
/// 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.
///
- String? name;
+ String? featureFaceAssetId;
- /// Asset is used to get the feature face thumbnail.
+ /// Person visibility
///
/// 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.
///
- String? featureFaceAssetId;
+ bool? isHidden;
- /// Person visibility
+ /// Person name.
///
/// 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? isHidden;
+ String? name;
@override
bool operator ==(Object other) => identical(this, other) || other is PersonUpdateDto &&
- other.name == name &&
other.featureFaceAssetId == featureFaceAssetId &&
- other.isHidden == isHidden;
+ other.isHidden == isHidden &&
+ other.name == name;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (name == null ? 0 : name!.hashCode) +
(featureFaceAssetId == null ? 0 : featureFaceAssetId!.hashCode) +
- (isHidden == null ? 0 : isHidden!.hashCode);
+ (isHidden == null ? 0 : isHidden!.hashCode) +
+ (name == null ? 0 : name!.hashCode);
@override
- String toString() => 'PersonUpdateDto[name=$name, featureFaceAssetId=$featureFaceAssetId, isHidden=$isHidden]';
+ String toString() => 'PersonUpdateDto[featureFaceAssetId=$featureFaceAssetId, isHidden=$isHidden, name=$name]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- if (this.name != null) {
- json[r'name'] = this.name;
- } else {
- // json[r'name'] = null;
- }
if (this.featureFaceAssetId != null) {
json[r'featureFaceAssetId'] = this.featureFaceAssetId;
} else {
@@ -78,6 +73,11 @@ class PersonUpdateDto {
} else {
// json[r'isHidden'] = null;
}
+ if (this.name != null) {
+ json[r'name'] = this.name;
+ } else {
+ // json[r'name'] = null;
+ }
return json;
}
@@ -89,9 +89,9 @@ class PersonUpdateDto {
final json = value.cast<String, dynamic>();
return PersonUpdateDto(
- name: mapValueOfType<String>(json, r'name'),
featureFaceAssetId: mapValueOfType<String>(json, r'featureFaceAssetId'),
isHidden: mapValueOfType<bool>(json, r'isHidden'),
+ name: mapValueOfType<String>(json, r'name'),
);
}
return null;
diff --git a/mobile/openapi/lib/model/search_album_response_dto.dart b/mobile/openapi/lib/model/search_album_response_dto.dart
index d15513963d..6ca6d21031 100644
--- a/mobile/openapi/lib/model/search_album_response_dto.dart
+++ b/mobile/openapi/lib/model/search_album_response_dto.dart
@@ -13,44 +13,44 @@ part of openapi.api;
class SearchAlbumResponseDto {
/// Returns a new [SearchAlbumResponseDto] instance.
SearchAlbumResponseDto({
- required this.total,
required this.count,
- this.items = const [],
this.facets = const [],
+ this.items = const [],
+ required this.total,
});
- int total;
-
int count;
+ List<SearchFacetResponseDto> facets;
+
List<AlbumResponseDto> items;
- List<SearchFacetResponseDto> facets;
+ int total;
@override
bool operator ==(Object other) => identical(this, other) || other is SearchAlbumResponseDto &&
- other.total == total &&
other.count == count &&
+ other.facets == facets &&
other.items == items &&
- other.facets == facets;
+ other.total == total;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (total.hashCode) +
(count.hashCode) +
+ (facets.hashCode) +
(items.hashCode) +
- (facets.hashCode);
+ (total.hashCode);
@override
- String toString() => 'SearchAlbumResponseDto[total=$total, count=$count, items=$items, facets=$facets]';
+ String toString() => 'SearchAlbumResponseDto[count=$count, facets=$facets, items=$items, total=$total]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'total'] = this.total;
json[r'count'] = this.count;
- json[r'items'] = this.items;
json[r'facets'] = this.facets;
+ json[r'items'] = this.items;
+ json[r'total'] = this.total;
return json;
}
@@ -62,10 +62,10 @@ class SearchAlbumResponseDto {
final json = value.cast<String, dynamic>();
return SearchAlbumResponseDto(
- total: mapValueOfType<int>(json, r'total')!,
count: mapValueOfType<int>(json, r'count')!,
- items: AlbumResponseDto.listFromJson(json[r'items']),
facets: SearchFacetResponseDto.listFromJson(json[r'facets']),
+ items: AlbumResponseDto.listFromJson(json[r'items']),
+ total: mapValueOfType<int>(json, r'total')!,
);
}
return null;
@@ -113,10 +113,10 @@ class SearchAlbumResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'total',
'count',
- 'items',
'facets',
+ 'items',
+ 'total',
};
}
diff --git a/mobile/openapi/lib/model/search_asset_response_dto.dart b/mobile/openapi/lib/model/search_asset_response_dto.dart
index 866dbbdcd0..8253ad0b14 100644
--- a/mobile/openapi/lib/model/search_asset_response_dto.dart
+++ b/mobile/openapi/lib/model/search_asset_response_dto.dart
@@ -13,44 +13,44 @@ part of openapi.api;
class SearchAssetResponseDto {
/// Returns a new [SearchAssetResponseDto] instance.
SearchAssetResponseDto({
- required this.total,
required this.count,
- this.items = const [],
this.facets = const [],
+ this.items = const [],
+ required this.total,
});
- int total;
-
int count;
+ List<SearchFacetResponseDto> facets;
+
List<AssetResponseDto> items;
- List<SearchFacetResponseDto> facets;
+ int total;
@override
bool operator ==(Object other) => identical(this, other) || other is SearchAssetResponseDto &&
- other.total == total &&
other.count == count &&
+ other.facets == facets &&
other.items == items &&
- other.facets == facets;
+ other.total == total;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (total.hashCode) +
(count.hashCode) +
+ (facets.hashCode) +
(items.hashCode) +
- (facets.hashCode);
+ (total.hashCode);
@override
- String toString() => 'SearchAssetResponseDto[total=$total, count=$count, items=$items, facets=$facets]';
+ String toString() => 'SearchAssetResponseDto[count=$count, facets=$facets, items=$items, total=$total]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'total'] = this.total;
json[r'count'] = this.count;
- json[r'items'] = this.items;
json[r'facets'] = this.facets;
+ json[r'items'] = this.items;
+ json[r'total'] = this.total;
return json;
}
@@ -62,10 +62,10 @@ class SearchAssetResponseDto {
final json = value.cast<String, dynamic>();
return SearchAssetResponseDto(
- total: mapValueOfType<int>(json, r'total')!,
count: mapValueOfType<int>(json, r'count')!,
- items: AssetResponseDto.listFromJson(json[r'items']),
facets: SearchFacetResponseDto.listFromJson(json[r'facets']),
+ items: AssetResponseDto.listFromJson(json[r'items']),
+ total: mapValueOfType<int>(json, r'total')!,
);
}
return null;
@@ -113,10 +113,10 @@ class SearchAssetResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'total',
'count',
- 'items',
'facets',
+ 'items',
+ 'total',
};
}
diff --git a/mobile/openapi/lib/model/search_explore_item.dart b/mobile/openapi/lib/model/search_explore_item.dart
index 6dd35b9562..ddc8f5282b 100644
--- a/mobile/openapi/lib/model/search_explore_item.dart
+++ b/mobile/openapi/lib/model/search_explore_item.dart
@@ -13,32 +13,32 @@ part of openapi.api;
class SearchExploreItem {
/// Returns a new [SearchExploreItem] instance.
SearchExploreItem({
- required this.value,
required this.data,
+ required this.value,
});
- String value;
-
AssetResponseDto data;
+ String value;
+
@override
bool operator ==(Object other) => identical(this, other) || other is SearchExploreItem &&
- other.value == value &&
- other.data == data;
+ other.data == data &&
+ other.value == value;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (value.hashCode) +
- (data.hashCode);
+ (data.hashCode) +
+ (value.hashCode);
@override
- String toString() => 'SearchExploreItem[value=$value, data=$data]';
+ String toString() => 'SearchExploreItem[data=$data, value=$value]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'value'] = this.value;
json[r'data'] = this.data;
+ json[r'value'] = this.value;
return json;
}
@@ -50,8 +50,8 @@ class SearchExploreItem {
final json = value.cast<String, dynamic>();
return SearchExploreItem(
- value: mapValueOfType<String>(json, r'value')!,
data: AssetResponseDto.fromJson(json[r'data'])!,
+ value: mapValueOfType<String>(json, r'value')!,
);
}
return null;
@@ -99,8 +99,8 @@ class SearchExploreItem {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'value',
'data',
+ 'value',
};
}
diff --git a/mobile/openapi/lib/model/search_facet_response_dto.dart b/mobile/openapi/lib/model/search_facet_response_dto.dart
index aadbecb390..a675dd881b 100644
--- a/mobile/openapi/lib/model/search_facet_response_dto.dart
+++ b/mobile/openapi/lib/model/search_facet_response_dto.dart
@@ -13,32 +13,32 @@ part of openapi.api;
class SearchFacetResponseDto {
/// Returns a new [SearchFacetResponseDto] instance.
SearchFacetResponseDto({
- required this.fieldName,
this.counts = const [],
+ required this.fieldName,
});
- String fieldName;
-
List<SearchFacetCountResponseDto> counts;
+ String fieldName;
+
@override
bool operator ==(Object other) => identical(this, other) || other is SearchFacetResponseDto &&
- other.fieldName == fieldName &&
- other.counts == counts;
+ other.counts == counts &&
+ other.fieldName == fieldName;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (fieldName.hashCode) +
- (counts.hashCode);
+ (counts.hashCode) +
+ (fieldName.hashCode);
@override
- String toString() => 'SearchFacetResponseDto[fieldName=$fieldName, counts=$counts]';
+ String toString() => 'SearchFacetResponseDto[counts=$counts, fieldName=$fieldName]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'fieldName'] = this.fieldName;
json[r'counts'] = this.counts;
+ json[r'fieldName'] = this.fieldName;
return json;
}
@@ -50,8 +50,8 @@ class SearchFacetResponseDto {
final json = value.cast<String, dynamic>();
return SearchFacetResponseDto(
- fieldName: mapValueOfType<String>(json, r'fieldName')!,
counts: SearchFacetCountResponseDto.listFromJson(json[r'counts']),
+ fieldName: mapValueOfType<String>(json, r'fieldName')!,
);
}
return null;
@@ -99,8 +99,8 @@ class SearchFacetResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'fieldName',
'counts',
+ 'fieldName',
};
}
diff --git a/mobile/openapi/lib/model/server_info_response_dto.dart b/mobile/openapi/lib/model/server_info_response_dto.dart
index fa643d1221..d5b90bcd6d 100644
--- a/mobile/openapi/lib/model/server_info_response_dto.dart
+++ b/mobile/openapi/lib/model/server_info_response_dto.dart
@@ -13,62 +13,62 @@ part of openapi.api;
class ServerInfoResponseDto {
/// Returns a new [ServerInfoResponseDto] instance.
ServerInfoResponseDto({
- required this.diskSizeRaw,
- required this.diskUseRaw,
+ required this.diskAvailable,
required this.diskAvailableRaw,
- required this.diskUsagePercentage,
required this.diskSize,
+ required this.diskSizeRaw,
+ required this.diskUsagePercentage,
required this.diskUse,
- required this.diskAvailable,
+ required this.diskUseRaw,
});
- int diskSizeRaw;
-
- int diskUseRaw;
+ String diskAvailable;
int diskAvailableRaw;
- double diskUsagePercentage;
-
String diskSize;
+ int diskSizeRaw;
+
+ double diskUsagePercentage;
+
String diskUse;
- String diskAvailable;
+ int diskUseRaw;
@override
bool operator ==(Object other) => identical(this, other) || other is ServerInfoResponseDto &&
- other.diskSizeRaw == diskSizeRaw &&
- other.diskUseRaw == diskUseRaw &&
+ other.diskAvailable == diskAvailable &&
other.diskAvailableRaw == diskAvailableRaw &&
- other.diskUsagePercentage == diskUsagePercentage &&
other.diskSize == diskSize &&
+ other.diskSizeRaw == diskSizeRaw &&
+ other.diskUsagePercentage == diskUsagePercentage &&
other.diskUse == diskUse &&
- other.diskAvailable == diskAvailable;
+ other.diskUseRaw == diskUseRaw;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (diskSizeRaw.hashCode) +
- (diskUseRaw.hashCode) +
+ (diskAvailable.hashCode) +
(diskAvailableRaw.hashCode) +
- (diskUsagePercentage.hashCode) +
(diskSize.hashCode) +
+ (diskSizeRaw.hashCode) +
+ (diskUsagePercentage.hashCode) +
(diskUse.hashCode) +
- (diskAvailable.hashCode);
+ (diskUseRaw.hashCode);
@override
- String toString() => 'ServerInfoResponseDto[diskSizeRaw=$diskSizeRaw, diskUseRaw=$diskUseRaw, diskAvailableRaw=$diskAvailableRaw, diskUsagePercentage=$diskUsagePercentage, diskSize=$diskSize, diskUse=$diskUse, diskAvailable=$diskAvailable]';
+ String toString() => 'ServerInfoResponseDto[diskAvailable=$diskAvailable, diskAvailableRaw=$diskAvailableRaw, diskSize=$diskSize, diskSizeRaw=$diskSizeRaw, diskUsagePercentage=$diskUsagePercentage, diskUse=$diskUse, diskUseRaw=$diskUseRaw]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'diskSizeRaw'] = this.diskSizeRaw;
- json[r'diskUseRaw'] = this.diskUseRaw;
+ json[r'diskAvailable'] = this.diskAvailable;
json[r'diskAvailableRaw'] = this.diskAvailableRaw;
- json[r'diskUsagePercentage'] = this.diskUsagePercentage;
json[r'diskSize'] = this.diskSize;
+ json[r'diskSizeRaw'] = this.diskSizeRaw;
+ json[r'diskUsagePercentage'] = this.diskUsagePercentage;
json[r'diskUse'] = this.diskUse;
- json[r'diskAvailable'] = this.diskAvailable;
+ json[r'diskUseRaw'] = this.diskUseRaw;
return json;
}
@@ -80,13 +80,13 @@ class ServerInfoResponseDto {
final json = value.cast<String, dynamic>();
return ServerInfoResponseDto(
- diskSizeRaw: mapValueOfType<int>(json, r'diskSizeRaw')!,
- diskUseRaw: mapValueOfType<int>(json, r'diskUseRaw')!,
+ diskAvailable: mapValueOfType<String>(json, r'diskAvailable')!,
diskAvailableRaw: mapValueOfType<int>(json, r'diskAvailableRaw')!,
- diskUsagePercentage: mapValueOfType<double>(json, r'diskUsagePercentage')!,
diskSize: mapValueOfType<String>(json, r'diskSize')!,
+ diskSizeRaw: mapValueOfType<int>(json, r'diskSizeRaw')!,
+ diskUsagePercentage: mapValueOfType<double>(json, r'diskUsagePercentage')!,
diskUse: mapValueOfType<String>(json, r'diskUse')!,
- diskAvailable: mapValueOfType<String>(json, r'diskAvailable')!,
+ diskUseRaw: mapValueOfType<int>(json, r'diskUseRaw')!,
);
}
return null;
@@ -134,13 +134,13 @@ class ServerInfoResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'diskSizeRaw',
- 'diskUseRaw',
+ 'diskAvailable',
'diskAvailableRaw',
- 'diskUsagePercentage',
'diskSize',
+ 'diskSizeRaw',
+ 'diskUsagePercentage',
'diskUse',
- 'diskAvailable',
+ 'diskUseRaw',
};
}
diff --git a/mobile/openapi/lib/model/server_media_types_response_dto.dart b/mobile/openapi/lib/model/server_media_types_response_dto.dart
index 2cba41363d..c5961eb631 100644
--- a/mobile/openapi/lib/model/server_media_types_response_dto.dart
+++ b/mobile/openapi/lib/model/server_media_types_response_dto.dart
@@ -13,38 +13,38 @@ part of openapi.api;
class ServerMediaTypesResponseDto {
/// Returns a new [ServerMediaTypesResponseDto] instance.
ServerMediaTypesResponseDto({
- this.video = const [],
this.image = const [],
this.sidecar = const [],
+ this.video = const [],
});
- List<String> video;
-
List<String> image;
List<String> sidecar;
+ List<String> video;
+
@override
bool operator ==(Object other) => identical(this, other) || other is ServerMediaTypesResponseDto &&
- other.video == video &&
other.image == image &&
- other.sidecar == sidecar;
+ other.sidecar == sidecar &&
+ other.video == video;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (video.hashCode) +
(image.hashCode) +
- (sidecar.hashCode);
+ (sidecar.hashCode) +
+ (video.hashCode);
@override
- String toString() => 'ServerMediaTypesResponseDto[video=$video, image=$image, sidecar=$sidecar]';
+ String toString() => 'ServerMediaTypesResponseDto[image=$image, sidecar=$sidecar, video=$video]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'video'] = this.video;
json[r'image'] = this.image;
json[r'sidecar'] = this.sidecar;
+ json[r'video'] = this.video;
return json;
}
@@ -56,15 +56,15 @@ class ServerMediaTypesResponseDto {
final json = value.cast<String, dynamic>();
return ServerMediaTypesResponseDto(
- video: json[r'video'] is Iterable
- ? (json[r'video'] as Iterable).cast<String>().toList(growable: false)
- : const [],
image: json[r'image'] is Iterable
? (json[r'image'] as Iterable).cast<String>().toList(growable: false)
: const [],
sidecar: json[r'sidecar'] is Iterable
? (json[r'sidecar'] as Iterable).cast<String>().toList(growable: false)
: const [],
+ video: json[r'video'] is Iterable
+ ? (json[r'video'] as Iterable).cast<String>().toList(growable: false)
+ : const [],
);
}
return null;
@@ -112,9 +112,9 @@ class ServerMediaTypesResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'video',
'image',
'sidecar',
+ 'video',
};
}
diff --git a/mobile/openapi/lib/model/server_stats_response_dto.dart b/mobile/openapi/lib/model/server_stats_response_dto.dart
index 3e54152929..37db37a3ed 100644
--- a/mobile/openapi/lib/model/server_stats_response_dto.dart
+++ b/mobile/openapi/lib/model/server_stats_response_dto.dart
@@ -14,43 +14,43 @@ class ServerStatsResponseDto {
/// Returns a new [ServerStatsResponseDto] instance.
ServerStatsResponseDto({
this.photos = 0,
- this.videos = 0,
this.usage = 0,
this.usageByUser = const [],
+ this.videos = 0,
});
int photos;
- int videos;
-
int usage;
List<UsageByUserDto> usageByUser;
+ int videos;
+
@override
bool operator ==(Object other) => identical(this, other) || other is ServerStatsResponseDto &&
other.photos == photos &&
- other.videos == videos &&
other.usage == usage &&
- other.usageByUser == usageByUser;
+ other.usageByUser == usageByUser &&
+ other.videos == videos;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
(photos.hashCode) +
- (videos.hashCode) +
(usage.hashCode) +
- (usageByUser.hashCode);
+ (usageByUser.hashCode) +
+ (videos.hashCode);
@override
- String toString() => 'ServerStatsResponseDto[photos=$photos, videos=$videos, usage=$usage, usageByUser=$usageByUser]';
+ String toString() => 'ServerStatsResponseDto[photos=$photos, usage=$usage, usageByUser=$usageByUser, videos=$videos]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'photos'] = this.photos;
- json[r'videos'] = this.videos;
json[r'usage'] = this.usage;
json[r'usageByUser'] = this.usageByUser;
+ json[r'videos'] = this.videos;
return json;
}
@@ -63,9 +63,9 @@ class ServerStatsResponseDto {
return ServerStatsResponseDto(
photos: mapValueOfType<int>(json, r'photos')!,
- videos: mapValueOfType<int>(json, r'videos')!,
usage: mapValueOfType<int>(json, r'usage')!,
usageByUser: UsageByUserDto.listFromJson(json[r'usageByUser']),
+ videos: mapValueOfType<int>(json, r'videos')!,
);
}
return null;
@@ -114,9 +114,9 @@ class ServerStatsResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
'photos',
- 'videos',
'usage',
'usageByUser',
+ 'videos',
};
}
diff --git a/mobile/openapi/lib/model/shared_link_create_dto.dart b/mobile/openapi/lib/model/shared_link_create_dto.dart
index 8c699424dd..6bfb78315f 100644
--- a/mobile/openapi/lib/model/shared_link_create_dto.dart
+++ b/mobile/openapi/lib/model/shared_link_create_dto.dart
@@ -13,20 +13,16 @@ part of openapi.api;
class SharedLinkCreateDto {
/// Returns a new [SharedLinkCreateDto] instance.
SharedLinkCreateDto({
- required this.type,
- this.assetIds = const [],
this.albumId,
+ this.allowDownload = true,
+ this.allowUpload = false,
+ this.assetIds = const [],
this.description,
this.expiresAt,
- this.allowUpload = false,
- this.allowDownload = true,
this.showExif = true,
+ required this.type,
});
- SharedLinkType type;
-
- List<String> assetIds;
-
///
/// 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
@@ -35,6 +31,12 @@ class SharedLinkCreateDto {
///
String? albumId;
+ bool allowDownload;
+
+ bool allowUpload;
+
+ List<String> assetIds;
+
///
/// 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
@@ -45,47 +47,46 @@ class SharedLinkCreateDto {
DateTime? expiresAt;
- bool allowUpload;
-
- bool allowDownload;
-
bool showExif;
+ SharedLinkType type;
+
@override
bool operator ==(Object other) => identical(this, other) || other is SharedLinkCreateDto &&
- other.type == type &&
- other.assetIds == assetIds &&
other.albumId == albumId &&
+ other.allowDownload == allowDownload &&
+ other.allowUpload == allowUpload &&
+ other.assetIds == assetIds &&
other.description == description &&
other.expiresAt == expiresAt &&
- other.allowUpload == allowUpload &&
- other.allowDownload == allowDownload &&
- other.showExif == showExif;
+ other.showExif == showExif &&
+ other.type == type;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (type.hashCode) +
- (assetIds.hashCode) +
(albumId == null ? 0 : albumId!.hashCode) +
+ (allowDownload.hashCode) +
+ (allowUpload.hashCode) +
+ (assetIds.hashCode) +
(description == null ? 0 : description!.hashCode) +
(expiresAt == null ? 0 : expiresAt!.hashCode) +
- (allowUpload.hashCode) +
- (allowDownload.hashCode) +
- (showExif.hashCode);
+ (showExif.hashCode) +
+ (type.hashCode);
@override
- String toString() => 'SharedLinkCreateDto[type=$type, assetIds=$assetIds, albumId=$albumId, description=$description, expiresAt=$expiresAt, allowUpload=$allowUpload, allowDownload=$allowDownload, showExif=$showExif]';
+ String toString() => 'SharedLinkCreateDto[albumId=$albumId, allowDownload=$allowDownload, allowUpload=$allowUpload, assetIds=$assetIds, description=$description, expiresAt=$expiresAt, showExif=$showExif, type=$type]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'type'] = this.type;
- json[r'assetIds'] = this.assetIds;
if (this.albumId != null) {
json[r'albumId'] = this.albumId;
} else {
// json[r'albumId'] = null;
}
+ json[r'allowDownload'] = this.allowDownload;
+ json[r'allowUpload'] = this.allowUpload;
+ json[r'assetIds'] = this.assetIds;
if (this.description != null) {
json[r'description'] = this.description;
} else {
@@ -96,9 +97,8 @@ class SharedLinkCreateDto {
} else {
// json[r'expiresAt'] = null;
}
- json[r'allowUpload'] = this.allowUpload;
- json[r'allowDownload'] = this.allowDownload;
json[r'showExif'] = this.showExif;
+ json[r'type'] = this.type;
return json;
}
@@ -110,16 +110,16 @@ class SharedLinkCreateDto {
final json = value.cast<String, dynamic>();
return SharedLinkCreateDto(
- type: SharedLinkType.fromJson(json[r'type'])!,
+ albumId: mapValueOfType<String>(json, r'albumId'),
+ allowDownload: mapValueOfType<bool>(json, r'allowDownload') ?? true,
+ allowUpload: mapValueOfType<bool>(json, r'allowUpload') ?? false,
assetIds: json[r'assetIds'] is Iterable
? (json[r'assetIds'] as Iterable).cast<String>().toList(growable: false)
: const [],
- albumId: mapValueOfType<String>(json, r'albumId'),
description: mapValueOfType<String>(json, r'description'),
expiresAt: mapDateTime(json, r'expiresAt', r''),
- allowUpload: mapValueOfType<bool>(json, r'allowUpload') ?? false,
- allowDownload: mapValueOfType<bool>(json, r'allowDownload') ?? true,
showExif: mapValueOfType<bool>(json, r'showExif') ?? true,
+ type: SharedLinkType.fromJson(json[r'type'])!,
);
}
return null;
diff --git a/mobile/openapi/lib/model/shared_link_edit_dto.dart b/mobile/openapi/lib/model/shared_link_edit_dto.dart
index d5693058c6..579eaf3e76 100644
--- a/mobile/openapi/lib/model/shared_link_edit_dto.dart
+++ b/mobile/openapi/lib/model/shared_link_edit_dto.dart
@@ -13,10 +13,10 @@ part of openapi.api;
class SharedLinkEditDto {
/// Returns a new [SharedLinkEditDto] instance.
SharedLinkEditDto({
+ this.allowDownload,
+ this.allowUpload,
this.description,
this.expiresAt,
- this.allowUpload,
- this.allowDownload,
this.showExif,
});
@@ -26,9 +26,7 @@ class SharedLinkEditDto {
/// source code must fall back to having a nullable type.
/// Consider adding a "default:" property in the specification file to hide this note.
///
- String? description;
-
- DateTime? expiresAt;
+ bool? allowDownload;
///
/// Please note: This property should have been non-nullable! Since the specification file
@@ -44,7 +42,9 @@ class SharedLinkEditDto {
/// source code must fall back to having a nullable type.
/// Consider adding a "default:" property in the specification file to hide this note.
///
- bool? allowDownload;
+ String? description;
+
+ DateTime? expiresAt;
///
/// Please note: This property should have been non-nullable! Since the specification file
@@ -56,26 +56,36 @@ class SharedLinkEditDto {
@override
bool operator ==(Object other) => identical(this, other) || other is SharedLinkEditDto &&
+ other.allowDownload == allowDownload &&
+ other.allowUpload == allowUpload &&
other.description == description &&
other.expiresAt == expiresAt &&
- other.allowUpload == allowUpload &&
- other.allowDownload == allowDownload &&
other.showExif == showExif;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
+ (allowDownload == null ? 0 : allowDownload!.hashCode) +
+ (allowUpload == null ? 0 : allowUpload!.hashCode) +
(description == null ? 0 : description!.hashCode) +
(expiresAt == null ? 0 : expiresAt!.hashCode) +
- (allowUpload == null ? 0 : allowUpload!.hashCode) +
- (allowDownload == null ? 0 : allowDownload!.hashCode) +
(showExif == null ? 0 : showExif!.hashCode);
@override
- String toString() => 'SharedLinkEditDto[description=$description, expiresAt=$expiresAt, allowUpload=$allowUpload, allowDownload=$allowDownload, showExif=$showExif]';
+ String toString() => 'SharedLinkEditDto[allowDownload=$allowDownload, allowUpload=$allowUpload, description=$description, expiresAt=$expiresAt, showExif=$showExif]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
+ if (this.allowDownload != null) {
+ json[r'allowDownload'] = this.allowDownload;
+ } else {
+ // json[r'allowDownload'] = null;
+ }
+ if (this.allowUpload != null) {
+ json[r'allowUpload'] = this.allowUpload;
+ } else {
+ // json[r'allowUpload'] = null;
+ }
if (this.description != null) {
json[r'description'] = this.description;
} else {
@@ -86,16 +96,6 @@ class SharedLinkEditDto {
} else {
// json[r'expiresAt'] = null;
}
- if (this.allowUpload != null) {
- json[r'allowUpload'] = this.allowUpload;
- } else {
- // json[r'allowUpload'] = null;
- }
- if (this.allowDownload != null) {
- json[r'allowDownload'] = this.allowDownload;
- } else {
- // json[r'allowDownload'] = null;
- }
if (this.showExif != null) {
json[r'showExif'] = this.showExif;
} else {
@@ -112,10 +112,10 @@ class SharedLinkEditDto {
final json = value.cast<String, dynamic>();
return SharedLinkEditDto(
+ allowDownload: mapValueOfType<bool>(json, r'allowDownload'),
+ allowUpload: mapValueOfType<bool>(json, r'allowUpload'),
description: mapValueOfType<String>(json, r'description'),
expiresAt: mapDateTime(json, r'expiresAt', r''),
- allowUpload: mapValueOfType<bool>(json, r'allowUpload'),
- allowDownload: mapValueOfType<bool>(json, r'allowDownload'),
showExif: mapValueOfType<bool>(json, r'showExif'),
);
}
diff --git a/mobile/openapi/lib/model/shared_link_response_dto.dart b/mobile/openapi/lib/model/shared_link_response_dto.dart
index 9e40fd29a6..78feacfd1f 100644
--- a/mobile/openapi/lib/model/shared_link_response_dto.dart
+++ b/mobile/openapi/lib/model/shared_link_response_dto.dart
@@ -13,36 +13,20 @@ part of openapi.api;
class SharedLinkResponseDto {
/// Returns a new [SharedLinkResponseDto] instance.
SharedLinkResponseDto({
- required this.type,
- required this.id,
- required this.description,
- required this.userId,
- required this.key,
- required this.createdAt,
- required this.expiresAt,
- this.assets = const [],
this.album,
- required this.allowUpload,
required this.allowDownload,
+ required this.allowUpload,
+ this.assets = const [],
+ required this.createdAt,
+ required this.description,
+ required this.expiresAt,
+ required this.id,
+ required this.key,
required this.showExif,
+ required this.type,
+ required this.userId,
});
- SharedLinkType type;
-
- String id;
-
- String? description;
-
- String userId;
-
- String key;
-
- DateTime createdAt;
-
- DateTime? expiresAt;
-
- List<AssetResponseDto> assets;
-
///
/// 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
@@ -51,72 +35,88 @@ class SharedLinkResponseDto {
///
AlbumResponseDto? album;
+ bool allowDownload;
+
bool allowUpload;
- bool allowDownload;
+ List<AssetResponseDto> assets;
+
+ DateTime createdAt;
+
+ String? description;
+
+ DateTime? expiresAt;
+
+ String id;
+
+ String key;
bool showExif;
+ SharedLinkType type;
+
+ String userId;
+
@override
bool operator ==(Object other) => identical(this, other) || other is SharedLinkResponseDto &&
- other.type == type &&
- other.id == id &&
- other.description == description &&
- other.userId == userId &&
- other.key == key &&
- other.createdAt == createdAt &&
- other.expiresAt == expiresAt &&
- other.assets == assets &&
other.album == album &&
- other.allowUpload == allowUpload &&
other.allowDownload == allowDownload &&
- other.showExif == showExif;
+ other.allowUpload == allowUpload &&
+ other.assets == assets &&
+ other.createdAt == createdAt &&
+ other.description == description &&
+ other.expiresAt == expiresAt &&
+ other.id == id &&
+ other.key == key &&
+ other.showExif == showExif &&
+ other.type == type &&
+ other.userId == userId;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (type.hashCode) +
- (id.hashCode) +
- (description == null ? 0 : description!.hashCode) +
- (userId.hashCode) +
- (key.hashCode) +
- (createdAt.hashCode) +
- (expiresAt == null ? 0 : expiresAt!.hashCode) +
- (assets.hashCode) +
(album == null ? 0 : album!.hashCode) +
- (allowUpload.hashCode) +
(allowDownload.hashCode) +
- (showExif.hashCode);
+ (allowUpload.hashCode) +
+ (assets.hashCode) +
+ (createdAt.hashCode) +
+ (description == null ? 0 : description!.hashCode) +
+ (expiresAt == null ? 0 : expiresAt!.hashCode) +
+ (id.hashCode) +
+ (key.hashCode) +
+ (showExif.hashCode) +
+ (type.hashCode) +
+ (userId.hashCode);
@override
- String toString() => 'SharedLinkResponseDto[type=$type, id=$id, description=$description, userId=$userId, key=$key, createdAt=$createdAt, expiresAt=$expiresAt, assets=$assets, album=$album, allowUpload=$allowUpload, allowDownload=$allowDownload, showExif=$showExif]';
+ String toString() => 'SharedLinkResponseDto[album=$album, allowDownload=$allowDownload, allowUpload=$allowUpload, assets=$assets, createdAt=$createdAt, description=$description, expiresAt=$expiresAt, id=$id, key=$key, showExif=$showExif, type=$type, userId=$userId]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'type'] = this.type;
- json[r'id'] = this.id;
+ if (this.album != null) {
+ json[r'album'] = this.album;
+ } else {
+ // json[r'album'] = null;
+ }
+ json[r'allowDownload'] = this.allowDownload;
+ json[r'allowUpload'] = this.allowUpload;
+ json[r'assets'] = this.assets;
+ json[r'createdAt'] = this.createdAt.toUtc().toIso8601String();
if (this.description != null) {
json[r'description'] = this.description;
} else {
// json[r'description'] = null;
}
- json[r'userId'] = this.userId;
- json[r'key'] = this.key;
- json[r'createdAt'] = this.createdAt.toUtc().toIso8601String();
if (this.expiresAt != null) {
json[r'expiresAt'] = this.expiresAt!.toUtc().toIso8601String();
} else {
// json[r'expiresAt'] = null;
}
- json[r'assets'] = this.assets;
- if (this.album != null) {
- json[r'album'] = this.album;
- } else {
- // json[r'album'] = null;
- }
- json[r'allowUpload'] = this.allowUpload;
- json[r'allowDownload'] = this.allowDownload;
+ json[r'id'] = this.id;
+ json[r'key'] = this.key;
json[r'showExif'] = this.showExif;
+ json[r'type'] = this.type;
+ json[r'userId'] = this.userId;
return json;
}
@@ -128,18 +128,18 @@ class SharedLinkResponseDto {
final json = value.cast<String, dynamic>();
return SharedLinkResponseDto(
- type: SharedLinkType.fromJson(json[r'type'])!,
- id: mapValueOfType<String>(json, r'id')!,
- description: mapValueOfType<String>(json, r'description'),
- userId: mapValueOfType<String>(json, r'userId')!,
- key: mapValueOfType<String>(json, r'key')!,
- createdAt: mapDateTime(json, r'createdAt', r'')!,
- expiresAt: mapDateTime(json, r'expiresAt', r''),
- assets: AssetResponseDto.listFromJson(json[r'assets']),
album: AlbumResponseDto.fromJson(json[r'album']),
- allowUpload: mapValueOfType<bool>(json, r'allowUpload')!,
allowDownload: mapValueOfType<bool>(json, r'allowDownload')!,
+ allowUpload: mapValueOfType<bool>(json, r'allowUpload')!,
+ assets: AssetResponseDto.listFromJson(json[r'assets']),
+ createdAt: mapDateTime(json, r'createdAt', r'')!,
+ description: mapValueOfType<String>(json, r'description'),
+ expiresAt: mapDateTime(json, r'expiresAt', r''),
+ id: mapValueOfType<String>(json, r'id')!,
+ key: mapValueOfType<String>(json, r'key')!,
showExif: mapValueOfType<bool>(json, r'showExif')!,
+ type: SharedLinkType.fromJson(json[r'type'])!,
+ userId: mapValueOfType<String>(json, r'userId')!,
);
}
return null;
@@ -187,17 +187,17 @@ class SharedLinkResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'type',
- 'id',
- 'description',
- 'userId',
- 'key',
+ 'allowDownload',
+ 'allowUpload',
+ 'assets',
'createdAt',
+ 'description',
'expiresAt',
- 'assets',
- 'allowUpload',
- 'allowDownload',
+ 'id',
+ 'key',
'showExif',
+ 'type',
+ 'userId',
};
}
diff --git a/mobile/openapi/lib/model/sign_up_dto.dart b/mobile/openapi/lib/model/sign_up_dto.dart
index c2637b0c0f..e6b7f2abf9 100644
--- a/mobile/openapi/lib/model/sign_up_dto.dart
+++ b/mobile/openapi/lib/model/sign_up_dto.dart
@@ -14,43 +14,43 @@ class SignUpDto {
/// Returns a new [SignUpDto] instance.
SignUpDto({
required this.email,
- required this.password,
required this.firstName,
required this.lastName,
+ required this.password,
});
String email;
- String password;
-
String firstName;
String lastName;
+ String password;
+
@override
bool operator ==(Object other) => identical(this, other) || other is SignUpDto &&
other.email == email &&
- other.password == password &&
other.firstName == firstName &&
- other.lastName == lastName;
+ other.lastName == lastName &&
+ other.password == password;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
(email.hashCode) +
- (password.hashCode) +
(firstName.hashCode) +
- (lastName.hashCode);
+ (lastName.hashCode) +
+ (password.hashCode);
@override
- String toString() => 'SignUpDto[email=$email, password=$password, firstName=$firstName, lastName=$lastName]';
+ String toString() => 'SignUpDto[email=$email, firstName=$firstName, lastName=$lastName, password=$password]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'email'] = this.email;
- json[r'password'] = this.password;
json[r'firstName'] = this.firstName;
json[r'lastName'] = this.lastName;
+ json[r'password'] = this.password;
return json;
}
@@ -63,9 +63,9 @@ class SignUpDto {
return SignUpDto(
email: mapValueOfType<String>(json, r'email')!,
- password: mapValueOfType<String>(json, r'password')!,
firstName: mapValueOfType<String>(json, r'firstName')!,
lastName: mapValueOfType<String>(json, r'lastName')!,
+ password: mapValueOfType<String>(json, r'password')!,
);
}
return null;
@@ -114,9 +114,9 @@ class SignUpDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
'email',
- 'password',
'firstName',
'lastName',
+ 'password',
};
}
diff --git a/mobile/openapi/lib/model/smart_info_response_dto.dart b/mobile/openapi/lib/model/smart_info_response_dto.dart
index 6af7cf9cfa..b10345f3d0 100644
--- a/mobile/openapi/lib/model/smart_info_response_dto.dart
+++ b/mobile/openapi/lib/model/smart_info_response_dto.dart
@@ -13,40 +13,40 @@ part of openapi.api;
class SmartInfoResponseDto {
/// Returns a new [SmartInfoResponseDto] instance.
SmartInfoResponseDto({
- this.tags = const [],
this.objects = const [],
+ this.tags = const [],
});
- List<String>? tags;
-
List<String>? objects;
+ List<String>? tags;
+
@override
bool operator ==(Object other) => identical(this, other) || other is SmartInfoResponseDto &&
- other.tags == tags &&
- other.objects == objects;
+ other.objects == objects &&
+ other.tags == tags;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (tags == null ? 0 : tags!.hashCode) +
- (objects == null ? 0 : objects!.hashCode);
+ (objects == null ? 0 : objects!.hashCode) +
+ (tags == null ? 0 : tags!.hashCode);
@override
- String toString() => 'SmartInfoResponseDto[tags=$tags, objects=$objects]';
+ String toString() => 'SmartInfoResponseDto[objects=$objects, tags=$tags]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- if (this.tags != null) {
- json[r'tags'] = this.tags;
- } else {
- // json[r'tags'] = null;
- }
if (this.objects != null) {
json[r'objects'] = this.objects;
} else {
// json[r'objects'] = null;
}
+ if (this.tags != null) {
+ json[r'tags'] = this.tags;
+ } else {
+ // json[r'tags'] = null;
+ }
return json;
}
@@ -58,12 +58,12 @@ class SmartInfoResponseDto {
final json = value.cast<String, dynamic>();
return SmartInfoResponseDto(
- tags: json[r'tags'] is Iterable
- ? (json[r'tags'] as Iterable).cast<String>().toList(growable: false)
- : const [],
objects: json[r'objects'] is Iterable
? (json[r'objects'] as Iterable).cast<String>().toList(growable: false)
: const [],
+ tags: json[r'tags'] is Iterable
+ ? (json[r'tags'] as Iterable).cast<String>().toList(growable: false)
+ : const [],
);
}
return null;
diff --git a/mobile/openapi/lib/model/system_config_dto.dart b/mobile/openapi/lib/model/system_config_dto.dart
index 4bcbd2634b..6bc4e5e2a2 100644
--- a/mobile/openapi/lib/model/system_config_dto.dart
+++ b/mobile/openapi/lib/model/system_config_dto.dart
@@ -14,49 +14,49 @@ class SystemConfigDto {
/// Returns a new [SystemConfigDto] instance.
SystemConfigDto({
required this.ffmpeg,
+ required this.job,
required this.oauth,
required this.passwordLogin,
required this.storageTemplate,
- required this.job,
});
SystemConfigFFmpegDto ffmpeg;
+ SystemConfigJobDto job;
+
SystemConfigOAuthDto oauth;
SystemConfigPasswordLoginDto passwordLogin;
SystemConfigStorageTemplateDto storageTemplate;
- SystemConfigJobDto job;
-
@override
bool operator ==(Object other) => identical(this, other) || other is SystemConfigDto &&
other.ffmpeg == ffmpeg &&
+ other.job == job &&
other.oauth == oauth &&
other.passwordLogin == passwordLogin &&
- other.storageTemplate == storageTemplate &&
- other.job == job;
+ other.storageTemplate == storageTemplate;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
(ffmpeg.hashCode) +
+ (job.hashCode) +
(oauth.hashCode) +
(passwordLogin.hashCode) +
- (storageTemplate.hashCode) +
- (job.hashCode);
+ (storageTemplate.hashCode);
@override
- String toString() => 'SystemConfigDto[ffmpeg=$ffmpeg, oauth=$oauth, passwordLogin=$passwordLogin, storageTemplate=$storageTemplate, job=$job]';
+ String toString() => 'SystemConfigDto[ffmpeg=$ffmpeg, job=$job, oauth=$oauth, passwordLogin=$passwordLogin, storageTemplate=$storageTemplate]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'ffmpeg'] = this.ffmpeg;
+ json[r'job'] = this.job;
json[r'oauth'] = this.oauth;
json[r'passwordLogin'] = this.passwordLogin;
json[r'storageTemplate'] = this.storageTemplate;
- json[r'job'] = this.job;
return json;
}
@@ -69,10 +69,10 @@ class SystemConfigDto {
return SystemConfigDto(
ffmpeg: SystemConfigFFmpegDto.fromJson(json[r'ffmpeg'])!,
+ job: SystemConfigJobDto.fromJson(json[r'job'])!,
oauth: SystemConfigOAuthDto.fromJson(json[r'oauth'])!,
passwordLogin: SystemConfigPasswordLoginDto.fromJson(json[r'passwordLogin'])!,
storageTemplate: SystemConfigStorageTemplateDto.fromJson(json[r'storageTemplate'])!,
- job: SystemConfigJobDto.fromJson(json[r'job'])!,
);
}
return null;
@@ -121,10 +121,10 @@ class SystemConfigDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
'ffmpeg',
+ 'job',
'oauth',
'passwordLogin',
'storageTemplate',
- 'job',
};
}
diff --git a/mobile/openapi/lib/model/system_config_f_fmpeg_dto.dart b/mobile/openapi/lib/model/system_config_f_fmpeg_dto.dart
index 7f21d9d6e1..003d98ca14 100644
--- a/mobile/openapi/lib/model/system_config_f_fmpeg_dto.dart
+++ b/mobile/openapi/lib/model/system_config_f_fmpeg_dto.dart
@@ -14,72 +14,72 @@ class SystemConfigFFmpegDto {
/// Returns a new [SystemConfigFFmpegDto] instance.
SystemConfigFFmpegDto({
required this.crf,
- required this.threads,
- required this.targetVideoCodec,
- required this.targetAudioCodec,
- required this.transcode,
+ required this.maxBitrate,
required this.preset,
+ required this.targetAudioCodec,
required this.targetResolution,
- required this.maxBitrate,
+ required this.targetVideoCodec,
+ required this.threads,
+ required this.transcode,
required this.twoPass,
});
int crf;
- int threads;
+ String maxBitrate;
- VideoCodec targetVideoCodec;
+ String preset;
AudioCodec targetAudioCodec;
- TranscodePolicy transcode;
+ String targetResolution;
- String preset;
+ VideoCodec targetVideoCodec;
- String targetResolution;
+ int threads;
- String maxBitrate;
+ TranscodePolicy transcode;
bool twoPass;
@override
bool operator ==(Object other) => identical(this, other) || other is SystemConfigFFmpegDto &&
other.crf == crf &&
- other.threads == threads &&
- other.targetVideoCodec == targetVideoCodec &&
- other.targetAudioCodec == targetAudioCodec &&
- other.transcode == transcode &&
+ other.maxBitrate == maxBitrate &&
other.preset == preset &&
+ other.targetAudioCodec == targetAudioCodec &&
other.targetResolution == targetResolution &&
- other.maxBitrate == maxBitrate &&
+ other.targetVideoCodec == targetVideoCodec &&
+ other.threads == threads &&
+ other.transcode == transcode &&
other.twoPass == twoPass;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
(crf.hashCode) +
- (threads.hashCode) +
- (targetVideoCodec.hashCode) +
- (targetAudioCodec.hashCode) +
- (transcode.hashCode) +
+ (maxBitrate.hashCode) +
(preset.hashCode) +
+ (targetAudioCodec.hashCode) +
(targetResolution.hashCode) +
- (maxBitrate.hashCode) +
+ (targetVideoCodec.hashCode) +
+ (threads.hashCode) +
+ (transcode.hashCode) +
(twoPass.hashCode);
@override
- String toString() => 'SystemConfigFFmpegDto[crf=$crf, threads=$threads, targetVideoCodec=$targetVideoCodec, targetAudioCodec=$targetAudioCodec, transcode=$transcode, preset=$preset, targetResolution=$targetResolution, maxBitrate=$maxBitrate, twoPass=$twoPass]';
+ String toString() => 'SystemConfigFFmpegDto[crf=$crf, maxBitrate=$maxBitrate, preset=$preset, targetAudioCodec=$targetAudioCodec, targetResolution=$targetResolution, targetVideoCodec=$targetVideoCodec, threads=$threads, transcode=$transcode, twoPass=$twoPass]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'crf'] = this.crf;
- json[r'threads'] = this.threads;
- json[r'targetVideoCodec'] = this.targetVideoCodec;
- json[r'targetAudioCodec'] = this.targetAudioCodec;
- json[r'transcode'] = this.transcode;
+ json[r'maxBitrate'] = this.maxBitrate;
json[r'preset'] = this.preset;
+ json[r'targetAudioCodec'] = this.targetAudioCodec;
json[r'targetResolution'] = this.targetResolution;
- json[r'maxBitrate'] = this.maxBitrate;
+ json[r'targetVideoCodec'] = this.targetVideoCodec;
+ json[r'threads'] = this.threads;
+ json[r'transcode'] = this.transcode;
json[r'twoPass'] = this.twoPass;
return json;
}
@@ -93,13 +93,13 @@ class SystemConfigFFmpegDto {
return SystemConfigFFmpegDto(
crf: mapValueOfType<int>(json, r'crf')!,
- threads: mapValueOfType<int>(json, r'threads')!,
- targetVideoCodec: VideoCodec.fromJson(json[r'targetVideoCodec'])!,
- targetAudioCodec: AudioCodec.fromJson(json[r'targetAudioCodec'])!,
- transcode: TranscodePolicy.fromJson(json[r'transcode'])!,
+ maxBitrate: mapValueOfType<String>(json, r'maxBitrate')!,
preset: mapValueOfType<String>(json, r'preset')!,
+ targetAudioCodec: AudioCodec.fromJson(json[r'targetAudioCodec'])!,
targetResolution: mapValueOfType<String>(json, r'targetResolution')!,
- maxBitrate: mapValueOfType<String>(json, r'maxBitrate')!,
+ targetVideoCodec: VideoCodec.fromJson(json[r'targetVideoCodec'])!,
+ threads: mapValueOfType<int>(json, r'threads')!,
+ transcode: TranscodePolicy.fromJson(json[r'transcode'])!,
twoPass: mapValueOfType<bool>(json, r'twoPass')!,
);
}
@@ -149,13 +149,13 @@ class SystemConfigFFmpegDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
'crf',
- 'threads',
- 'targetVideoCodec',
- 'targetAudioCodec',
- 'transcode',
+ 'maxBitrate',
'preset',
+ 'targetAudioCodec',
'targetResolution',
- 'maxBitrate',
+ 'targetVideoCodec',
+ 'threads',
+ 'transcode',
'twoPass',
};
}
diff --git a/mobile/openapi/lib/model/system_config_job_dto.dart b/mobile/openapi/lib/model/system_config_job_dto.dart
index bc667a3e76..ca3dab9e6d 100644
--- a/mobile/openapi/lib/model/system_config_job_dto.dart
+++ b/mobile/openapi/lib/model/system_config_job_dto.dart
@@ -13,80 +13,80 @@ part of openapi.api;
class SystemConfigJobDto {
/// Returns a new [SystemConfigJobDto] instance.
SystemConfigJobDto({
- required this.thumbnailGeneration,
+ required this.backgroundTask,
+ required this.clipEncoding,
required this.metadataExtraction,
- required this.videoConversion,
required this.objectTagging,
- required this.clipEncoding,
- required this.storageTemplateMigration,
- required this.backgroundTask,
- required this.search,
required this.recognizeFaces,
+ required this.search,
required this.sidecar,
+ required this.storageTemplateMigration,
+ required this.thumbnailGeneration,
+ required this.videoConversion,
});
- JobSettingsDto thumbnailGeneration;
+ JobSettingsDto backgroundTask;
- JobSettingsDto metadataExtraction;
+ JobSettingsDto clipEncoding;
- JobSettingsDto videoConversion;
+ JobSettingsDto metadataExtraction;
JobSettingsDto objectTagging;
- JobSettingsDto clipEncoding;
+ JobSettingsDto recognizeFaces;
- JobSettingsDto storageTemplateMigration;
+ JobSettingsDto search;
- JobSettingsDto backgroundTask;
+ JobSettingsDto sidecar;
- JobSettingsDto search;
+ JobSettingsDto storageTemplateMigration;
- JobSettingsDto recognizeFaces;
+ JobSettingsDto thumbnailGeneration;
- JobSettingsDto sidecar;
+ JobSettingsDto videoConversion;
@override
bool operator ==(Object other) => identical(this, other) || other is SystemConfigJobDto &&
- other.thumbnailGeneration == thumbnailGeneration &&
+ other.backgroundTask == backgroundTask &&
+ other.clipEncoding == clipEncoding &&
other.metadataExtraction == metadataExtraction &&
- other.videoConversion == videoConversion &&
other.objectTagging == objectTagging &&
- other.clipEncoding == clipEncoding &&
- other.storageTemplateMigration == storageTemplateMigration &&
- other.backgroundTask == backgroundTask &&
- other.search == search &&
other.recognizeFaces == recognizeFaces &&
- other.sidecar == sidecar;
+ other.search == search &&
+ other.sidecar == sidecar &&
+ other.storageTemplateMigration == storageTemplateMigration &&
+ other.thumbnailGeneration == thumbnailGeneration &&
+ other.videoConversion == videoConversion;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (thumbnailGeneration.hashCode) +
+ (backgroundTask.hashCode) +
+ (clipEncoding.hashCode) +
(metadataExtraction.hashCode) +
- (videoConversion.hashCode) +
(objectTagging.hashCode) +
- (clipEncoding.hashCode) +
- (storageTemplateMigration.hashCode) +
- (backgroundTask.hashCode) +
- (search.hashCode) +
(recognizeFaces.hashCode) +
- (sidecar.hashCode);
+ (search.hashCode) +
+ (sidecar.hashCode) +
+ (storageTemplateMigration.hashCode) +
+ (thumbnailGeneration.hashCode) +
+ (videoConversion.hashCode);
@override
- String toString() => 'SystemConfigJobDto[thumbnailGeneration=$thumbnailGeneration, metadataExtraction=$metadataExtraction, videoConversion=$videoConversion, objectTagging=$objectTagging, clipEncoding=$clipEncoding, storageTemplateMigration=$storageTemplateMigration, backgroundTask=$backgroundTask, search=$search, recognizeFaces=$recognizeFaces, sidecar=$sidecar]';
+ String toString() => 'SystemConfigJobDto[backgroundTask=$backgroundTask, clipEncoding=$clipEncoding, metadataExtraction=$metadataExtraction, objectTagging=$objectTagging, recognizeFaces=$recognizeFaces, search=$search, sidecar=$sidecar, storageTemplateMigration=$storageTemplateMigration, thumbnailGeneration=$thumbnailGeneration, videoConversion=$videoConversion]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'thumbnailGeneration'] = this.thumbnailGeneration;
+ json[r'backgroundTask'] = this.backgroundTask;
+ json[r'clipEncoding'] = this.clipEncoding;
json[r'metadataExtraction'] = this.metadataExtraction;
- json[r'videoConversion'] = this.videoConversion;
json[r'objectTagging'] = this.objectTagging;
- json[r'clipEncoding'] = this.clipEncoding;
- json[r'storageTemplateMigration'] = this.storageTemplateMigration;
- json[r'backgroundTask'] = this.backgroundTask;
- json[r'search'] = this.search;
json[r'recognizeFaces'] = this.recognizeFaces;
+ json[r'search'] = this.search;
json[r'sidecar'] = this.sidecar;
+ json[r'storageTemplateMigration'] = this.storageTemplateMigration;
+ json[r'thumbnailGeneration'] = this.thumbnailGeneration;
+ json[r'videoConversion'] = this.videoConversion;
return json;
}
@@ -98,16 +98,16 @@ class SystemConfigJobDto {
final json = value.cast<String, dynamic>();
return SystemConfigJobDto(
- thumbnailGeneration: JobSettingsDto.fromJson(json[r'thumbnailGeneration'])!,
+ backgroundTask: JobSettingsDto.fromJson(json[r'backgroundTask'])!,
+ clipEncoding: JobSettingsDto.fromJson(json[r'clipEncoding'])!,
metadataExtraction: JobSettingsDto.fromJson(json[r'metadataExtraction'])!,
- videoConversion: JobSettingsDto.fromJson(json[r'videoConversion'])!,
objectTagging: JobSettingsDto.fromJson(json[r'objectTagging'])!,
- clipEncoding: JobSettingsDto.fromJson(json[r'clipEncoding'])!,
- storageTemplateMigration: JobSettingsDto.fromJson(json[r'storageTemplateMigration'])!,
- backgroundTask: JobSettingsDto.fromJson(json[r'backgroundTask'])!,
- search: JobSettingsDto.fromJson(json[r'search'])!,
recognizeFaces: JobSettingsDto.fromJson(json[r'recognizeFaces'])!,
+ search: JobSettingsDto.fromJson(json[r'search'])!,
sidecar: JobSettingsDto.fromJson(json[r'sidecar'])!,
+ storageTemplateMigration: JobSettingsDto.fromJson(json[r'storageTemplateMigration'])!,
+ thumbnailGeneration: JobSettingsDto.fromJson(json[r'thumbnailGeneration'])!,
+ videoConversion: JobSettingsDto.fromJson(json[r'videoConversion'])!,
);
}
return null;
@@ -155,16 +155,16 @@ class SystemConfigJobDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'thumbnailGeneration',
+ 'backgroundTask',
+ 'clipEncoding',
'metadataExtraction',
- 'videoConversion',
'objectTagging',
- 'clipEncoding',
- 'storageTemplateMigration',
- 'backgroundTask',
- 'search',
'recognizeFaces',
+ 'search',
'sidecar',
+ 'storageTemplateMigration',
+ 'thumbnailGeneration',
+ 'videoConversion',
};
}
diff --git a/mobile/openapi/lib/model/system_config_o_auth_dto.dart b/mobile/openapi/lib/model/system_config_o_auth_dto.dart
index edfa240eeb..bf39f969cc 100644
--- a/mobile/openapi/lib/model/system_config_o_auth_dto.dart
+++ b/mobile/openapi/lib/model/system_config_o_auth_dto.dart
@@ -13,86 +13,86 @@ part of openapi.api;
class SystemConfigOAuthDto {
/// Returns a new [SystemConfigOAuthDto] instance.
SystemConfigOAuthDto({
- required this.enabled,
- required this.issuerUrl,
+ required this.autoLaunch,
+ required this.autoRegister,
+ required this.buttonText,
required this.clientId,
required this.clientSecret,
- required this.scope,
- required this.storageLabelClaim,
- required this.buttonText,
- required this.autoRegister,
- required this.autoLaunch,
+ required this.enabled,
+ required this.issuerUrl,
required this.mobileOverrideEnabled,
required this.mobileRedirectUri,
+ required this.scope,
+ required this.storageLabelClaim,
});
- bool enabled;
+ bool autoLaunch;
- String issuerUrl;
+ bool autoRegister;
+
+ String buttonText;
String clientId;
String clientSecret;
- String scope;
-
- String storageLabelClaim;
-
- String buttonText;
-
- bool autoRegister;
+ bool enabled;
- bool autoLaunch;
+ String issuerUrl;
bool mobileOverrideEnabled;
String mobileRedirectUri;
+ String scope;
+
+ String storageLabelClaim;
+
@override
bool operator ==(Object other) => identical(this, other) || other is SystemConfigOAuthDto &&
- other.enabled == enabled &&
- other.issuerUrl == issuerUrl &&
+ other.autoLaunch == autoLaunch &&
+ other.autoRegister == autoRegister &&
+ other.buttonText == buttonText &&
other.clientId == clientId &&
other.clientSecret == clientSecret &&
- other.scope == scope &&
- other.storageLabelClaim == storageLabelClaim &&
- other.buttonText == buttonText &&
- other.autoRegister == autoRegister &&
- other.autoLaunch == autoLaunch &&
+ other.enabled == enabled &&
+ other.issuerUrl == issuerUrl &&
other.mobileOverrideEnabled == mobileOverrideEnabled &&
- other.mobileRedirectUri == mobileRedirectUri;
+ other.mobileRedirectUri == mobileRedirectUri &&
+ other.scope == scope &&
+ other.storageLabelClaim == storageLabelClaim;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (enabled.hashCode) +
- (issuerUrl.hashCode) +
+ (autoLaunch.hashCode) +
+ (autoRegister.hashCode) +
+ (buttonText.hashCode) +
(clientId.hashCode) +
(clientSecret.hashCode) +
- (scope.hashCode) +
- (storageLabelClaim.hashCode) +
- (buttonText.hashCode) +
- (autoRegister.hashCode) +
- (autoLaunch.hashCode) +
+ (enabled.hashCode) +
+ (issuerUrl.hashCode) +
(mobileOverrideEnabled.hashCode) +
- (mobileRedirectUri.hashCode);
+ (mobileRedirectUri.hashCode) +
+ (scope.hashCode) +
+ (storageLabelClaim.hashCode);
@override
- String toString() => 'SystemConfigOAuthDto[enabled=$enabled, issuerUrl=$issuerUrl, clientId=$clientId, clientSecret=$clientSecret, scope=$scope, storageLabelClaim=$storageLabelClaim, buttonText=$buttonText, autoRegister=$autoRegister, autoLaunch=$autoLaunch, mobileOverrideEnabled=$mobileOverrideEnabled, mobileRedirectUri=$mobileRedirectUri]';
+ String toString() => 'SystemConfigOAuthDto[autoLaunch=$autoLaunch, autoRegister=$autoRegister, buttonText=$buttonText, clientId=$clientId, clientSecret=$clientSecret, enabled=$enabled, issuerUrl=$issuerUrl, mobileOverrideEnabled=$mobileOverrideEnabled, mobileRedirectUri=$mobileRedirectUri, scope=$scope, storageLabelClaim=$storageLabelClaim]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'enabled'] = this.enabled;
- json[r'issuerUrl'] = this.issuerUrl;
+ json[r'autoLaunch'] = this.autoLaunch;
+ json[r'autoRegister'] = this.autoRegister;
+ json[r'buttonText'] = this.buttonText;
json[r'clientId'] = this.clientId;
json[r'clientSecret'] = this.clientSecret;
- json[r'scope'] = this.scope;
- json[r'storageLabelClaim'] = this.storageLabelClaim;
- json[r'buttonText'] = this.buttonText;
- json[r'autoRegister'] = this.autoRegister;
- json[r'autoLaunch'] = this.autoLaunch;
+ json[r'enabled'] = this.enabled;
+ json[r'issuerUrl'] = this.issuerUrl;
json[r'mobileOverrideEnabled'] = this.mobileOverrideEnabled;
json[r'mobileRedirectUri'] = this.mobileRedirectUri;
+ json[r'scope'] = this.scope;
+ json[r'storageLabelClaim'] = this.storageLabelClaim;
return json;
}
@@ -104,17 +104,17 @@ class SystemConfigOAuthDto {
final json = value.cast<String, dynamic>();
return SystemConfigOAuthDto(
- enabled: mapValueOfType<bool>(json, r'enabled')!,
- issuerUrl: mapValueOfType<String>(json, r'issuerUrl')!,
+ autoLaunch: mapValueOfType<bool>(json, r'autoLaunch')!,
+ autoRegister: mapValueOfType<bool>(json, r'autoRegister')!,
+ buttonText: mapValueOfType<String>(json, r'buttonText')!,
clientId: mapValueOfType<String>(json, r'clientId')!,
clientSecret: mapValueOfType<String>(json, r'clientSecret')!,
- scope: mapValueOfType<String>(json, r'scope')!,
- storageLabelClaim: mapValueOfType<String>(json, r'storageLabelClaim')!,
- buttonText: mapValueOfType<String>(json, r'buttonText')!,
- autoRegister: mapValueOfType<bool>(json, r'autoRegister')!,
- autoLaunch: mapValueOfType<bool>(json, r'autoLaunch')!,
+ enabled: mapValueOfType<bool>(json, r'enabled')!,
+ issuerUrl: mapValueOfType<String>(json, r'issuerUrl')!,
mobileOverrideEnabled: mapValueOfType<bool>(json, r'mobileOverrideEnabled')!,
mobileRedirectUri: mapValueOfType<String>(json, r'mobileRedirectUri')!,
+ scope: mapValueOfType<String>(json, r'scope')!,
+ storageLabelClaim: mapValueOfType<String>(json, r'storageLabelClaim')!,
);
}
return null;
@@ -162,17 +162,17 @@ class SystemConfigOAuthDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'enabled',
- 'issuerUrl',
+ 'autoLaunch',
+ 'autoRegister',
+ 'buttonText',
'clientId',
'clientSecret',
- 'scope',
- 'storageLabelClaim',
- 'buttonText',
- 'autoRegister',
- 'autoLaunch',
+ 'enabled',
+ 'issuerUrl',
'mobileOverrideEnabled',
'mobileRedirectUri',
+ 'scope',
+ 'storageLabelClaim',
};
}
diff --git a/mobile/openapi/lib/model/system_config_template_storage_option_dto.dart b/mobile/openapi/lib/model/system_config_template_storage_option_dto.dart
index 81ac59f49c..f4a9a73a7b 100644
--- a/mobile/openapi/lib/model/system_config_template_storage_option_dto.dart
+++ b/mobile/openapi/lib/model/system_config_template_storage_option_dto.dart
@@ -13,62 +13,62 @@ part of openapi.api;
class SystemConfigTemplateStorageOptionDto {
/// Returns a new [SystemConfigTemplateStorageOptionDto] instance.
SystemConfigTemplateStorageOptionDto({
- this.yearOptions = const [],
- this.monthOptions = const [],
this.dayOptions = const [],
this.hourOptions = const [],
this.minuteOptions = const [],
- this.secondOptions = const [],
+ this.monthOptions = const [],
this.presetOptions = const [],
+ this.secondOptions = const [],
+ this.yearOptions = const [],
});
- List<String> yearOptions;
-
- List<String> monthOptions;
-
List<String> dayOptions;
List<String> hourOptions;
List<String> minuteOptions;
- List<String> secondOptions;
+ List<String> monthOptions;
List<String> presetOptions;
+ List<String> secondOptions;
+
+ List<String> yearOptions;
+
@override
bool operator ==(Object other) => identical(this, other) || other is SystemConfigTemplateStorageOptionDto &&
- other.yearOptions == yearOptions &&
- other.monthOptions == monthOptions &&
other.dayOptions == dayOptions &&
other.hourOptions == hourOptions &&
other.minuteOptions == minuteOptions &&
+ other.monthOptions == monthOptions &&
+ other.presetOptions == presetOptions &&
other.secondOptions == secondOptions &&
- other.presetOptions == presetOptions;
+ other.yearOptions == yearOptions;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (yearOptions.hashCode) +
- (monthOptions.hashCode) +
(dayOptions.hashCode) +
(hourOptions.hashCode) +
(minuteOptions.hashCode) +
+ (monthOptions.hashCode) +
+ (presetOptions.hashCode) +
(secondOptions.hashCode) +
- (presetOptions.hashCode);
+ (yearOptions.hashCode);
@override
- String toString() => 'SystemConfigTemplateStorageOptionDto[yearOptions=$yearOptions, monthOptions=$monthOptions, dayOptions=$dayOptions, hourOptions=$hourOptions, minuteOptions=$minuteOptions, secondOptions=$secondOptions, presetOptions=$presetOptions]';
+ String toString() => 'SystemConfigTemplateStorageOptionDto[dayOptions=$dayOptions, hourOptions=$hourOptions, minuteOptions=$minuteOptions, monthOptions=$monthOptions, presetOptions=$presetOptions, secondOptions=$secondOptions, yearOptions=$yearOptions]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'yearOptions'] = this.yearOptions;
- json[r'monthOptions'] = this.monthOptions;
json[r'dayOptions'] = this.dayOptions;
json[r'hourOptions'] = this.hourOptions;
json[r'minuteOptions'] = this.minuteOptions;
- json[r'secondOptions'] = this.secondOptions;
+ json[r'monthOptions'] = this.monthOptions;
json[r'presetOptions'] = this.presetOptions;
+ json[r'secondOptions'] = this.secondOptions;
+ json[r'yearOptions'] = this.yearOptions;
return json;
}
@@ -80,12 +80,6 @@ class SystemConfigTemplateStorageOptionDto {
final json = value.cast<String, dynamic>();
return SystemConfigTemplateStorageOptionDto(
- yearOptions: json[r'yearOptions'] is Iterable
- ? (json[r'yearOptions'] as Iterable).cast<String>().toList(growable: false)
- : const [],
- monthOptions: json[r'monthOptions'] is Iterable
- ? (json[r'monthOptions'] as Iterable).cast<String>().toList(growable: false)
- : const [],
dayOptions: json[r'dayOptions'] is Iterable
? (json[r'dayOptions'] as Iterable).cast<String>().toList(growable: false)
: const [],
@@ -95,12 +89,18 @@ class SystemConfigTemplateStorageOptionDto {
minuteOptions: json[r'minuteOptions'] is Iterable
? (json[r'minuteOptions'] as Iterable).cast<String>().toList(growable: false)
: const [],
- secondOptions: json[r'secondOptions'] is Iterable
- ? (json[r'secondOptions'] as Iterable).cast<String>().toList(growable: false)
+ monthOptions: json[r'monthOptions'] is Iterable
+ ? (json[r'monthOptions'] as Iterable).cast<String>().toList(growable: false)
: const [],
presetOptions: json[r'presetOptions'] is Iterable
? (json[r'presetOptions'] as Iterable).cast<String>().toList(growable: false)
: const [],
+ secondOptions: json[r'secondOptions'] is Iterable
+ ? (json[r'secondOptions'] as Iterable).cast<String>().toList(growable: false)
+ : const [],
+ yearOptions: json[r'yearOptions'] is Iterable
+ ? (json[r'yearOptions'] as Iterable).cast<String>().toList(growable: false)
+ : const [],
);
}
return null;
@@ -148,13 +148,13 @@ class SystemConfigTemplateStorageOptionDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'yearOptions',
- 'monthOptions',
'dayOptions',
'hourOptions',
'minuteOptions',
- 'secondOptions',
+ 'monthOptions',
'presetOptions',
+ 'secondOptions',
+ 'yearOptions',
};
}
diff --git a/mobile/openapi/lib/model/tag_response_dto.dart b/mobile/openapi/lib/model/tag_response_dto.dart
index d7eee99a4a..621223b8dd 100644
--- a/mobile/openapi/lib/model/tag_response_dto.dart
+++ b/mobile/openapi/lib/model/tag_response_dto.dart
@@ -13,43 +13,43 @@ part of openapi.api;
class TagResponseDto {
/// Returns a new [TagResponseDto] instance.
TagResponseDto({
- required this.type,
required this.id,
required this.name,
+ required this.type,
required this.userId,
});
- TagTypeEnum type;
-
String id;
String name;
+ TagTypeEnum type;
+
String userId;
@override
bool operator ==(Object other) => identical(this, other) || other is TagResponseDto &&
- other.type == type &&
other.id == id &&
other.name == name &&
+ other.type == type &&
other.userId == userId;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (type.hashCode) +
(id.hashCode) +
(name.hashCode) +
+ (type.hashCode) +
(userId.hashCode);
@override
- String toString() => 'TagResponseDto[type=$type, id=$id, name=$name, userId=$userId]';
+ String toString() => 'TagResponseDto[id=$id, name=$name, type=$type, userId=$userId]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'type'] = this.type;
json[r'id'] = this.id;
json[r'name'] = this.name;
+ json[r'type'] = this.type;
json[r'userId'] = this.userId;
return json;
}
@@ -62,9 +62,9 @@ class TagResponseDto {
final json = value.cast<String, dynamic>();
return TagResponseDto(
- type: TagTypeEnum.fromJson(json[r'type'])!,
id: mapValueOfType<String>(json, r'id')!,
name: mapValueOfType<String>(json, r'name')!,
+ type: TagTypeEnum.fromJson(json[r'type'])!,
userId: mapValueOfType<String>(json, r'userId')!,
);
}
@@ -113,9 +113,9 @@ class TagResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'type',
'id',
'name',
+ 'type',
'userId',
};
}
diff --git a/mobile/openapi/lib/model/update_asset_dto.dart b/mobile/openapi/lib/model/update_asset_dto.dart
index 6b2916b505..edbe28aed7 100644
--- a/mobile/openapi/lib/model/update_asset_dto.dart
+++ b/mobile/openapi/lib/model/update_asset_dto.dart
@@ -13,21 +13,19 @@ part of openapi.api;
class UpdateAssetDto {
/// Returns a new [UpdateAssetDto] instance.
UpdateAssetDto({
- this.tagIds = const [],
- this.isFavorite,
- this.isArchived,
this.description,
+ this.isArchived,
+ this.isFavorite,
+ this.tagIds = const [],
});
- List<String> tagIds;
-
///
/// 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? isFavorite;
+ String? description;
///
/// Please note: This property should have been non-nullable! Since the specification file
@@ -43,44 +41,46 @@ class UpdateAssetDto {
/// source code must fall back to having a nullable type.
/// Consider adding a "default:" property in the specification file to hide this note.
///
- String? description;
+ bool? isFavorite;
+
+ List<String> tagIds;
@override
bool operator ==(Object other) => identical(this, other) || other is UpdateAssetDto &&
- other.tagIds == tagIds &&
- other.isFavorite == isFavorite &&
+ other.description == description &&
other.isArchived == isArchived &&
- other.description == description;
+ other.isFavorite == isFavorite &&
+ other.tagIds == tagIds;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (tagIds.hashCode) +
- (isFavorite == null ? 0 : isFavorite!.hashCode) +
+ (description == null ? 0 : description!.hashCode) +
(isArchived == null ? 0 : isArchived!.hashCode) +
- (description == null ? 0 : description!.hashCode);
+ (isFavorite == null ? 0 : isFavorite!.hashCode) +
+ (tagIds.hashCode);
@override
- String toString() => 'UpdateAssetDto[tagIds=$tagIds, isFavorite=$isFavorite, isArchived=$isArchived, description=$description]';
+ String toString() => 'UpdateAssetDto[description=$description, isArchived=$isArchived, isFavorite=$isFavorite, tagIds=$tagIds]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'tagIds'] = this.tagIds;
- if (this.isFavorite != null) {
- json[r'isFavorite'] = this.isFavorite;
+ if (this.description != null) {
+ json[r'description'] = this.description;
} else {
- // json[r'isFavorite'] = null;
+ // json[r'description'] = null;
}
if (this.isArchived != null) {
json[r'isArchived'] = this.isArchived;
} else {
// json[r'isArchived'] = null;
}
- if (this.description != null) {
- json[r'description'] = this.description;
+ if (this.isFavorite != null) {
+ json[r'isFavorite'] = this.isFavorite;
} else {
- // json[r'description'] = null;
+ // json[r'isFavorite'] = null;
}
+ json[r'tagIds'] = this.tagIds;
return json;
}
@@ -92,12 +92,12 @@ class UpdateAssetDto {
final json = value.cast<String, dynamic>();
return UpdateAssetDto(
+ description: mapValueOfType<String>(json, r'description'),
+ isArchived: mapValueOfType<bool>(json, r'isArchived'),
+ isFavorite: mapValueOfType<bool>(json, r'isFavorite'),
tagIds: json[r'tagIds'] is Iterable
? (json[r'tagIds'] as Iterable).cast<String>().toList(growable: false)
: const [],
- isFavorite: mapValueOfType<bool>(json, r'isFavorite'),
- isArchived: mapValueOfType<bool>(json, r'isArchived'),
- description: mapValueOfType<String>(json, r'description'),
);
}
return null;
diff --git a/mobile/openapi/lib/model/update_user_dto.dart b/mobile/openapi/lib/model/update_user_dto.dart
index bf655ead34..71f3f16e8a 100644
--- a/mobile/openapi/lib/model/update_user_dto.dart
+++ b/mobile/openapi/lib/model/update_user_dto.dart
@@ -13,19 +13,17 @@ part of openapi.api;
class UpdateUserDto {
/// Returns a new [UpdateUserDto] instance.
UpdateUserDto({
- required this.id,
this.email,
- this.password,
- this.firstName,
- this.lastName,
- this.storageLabel,
this.externalPath,
+ this.firstName,
+ required this.id,
this.isAdmin,
+ this.lastName,
+ this.password,
this.shouldChangePassword,
+ this.storageLabel,
});
- String id;
-
///
/// 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
@@ -40,7 +38,7 @@ class UpdateUserDto {
/// source code must fall back to having a nullable type.
/// Consider adding a "default:" property in the specification file to hide this note.
///
- String? password;
+ String? externalPath;
///
/// Please note: This property should have been non-nullable! Since the specification file
@@ -50,13 +48,15 @@ class UpdateUserDto {
///
String? firstName;
+ String id;
+
///
/// 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.
///
- String? lastName;
+ bool? isAdmin;
///
/// Please note: This property should have been non-nullable! Since the specification file
@@ -64,7 +64,7 @@ class UpdateUserDto {
/// source code must fall back to having a nullable type.
/// Consider adding a "default:" property in the specification file to hide this note.
///
- String? storageLabel;
+ String? lastName;
///
/// Please note: This property should have been non-nullable! Since the specification file
@@ -72,7 +72,7 @@ class UpdateUserDto {
/// source code must fall back to having a nullable type.
/// Consider adding a "default:" property in the specification file to hide this note.
///
- String? externalPath;
+ String? password;
///
/// Please note: This property should have been non-nullable! Since the specification file
@@ -80,7 +80,7 @@ class UpdateUserDto {
/// source code must fall back to having a nullable type.
/// Consider adding a "default:" property in the specification file to hide this note.
///
- bool? isAdmin;
+ bool? shouldChangePassword;
///
/// Please note: This property should have been non-nullable! Since the specification file
@@ -88,79 +88,79 @@ class UpdateUserDto {
/// source code must fall back to having a nullable type.
/// Consider adding a "default:" property in the specification file to hide this note.
///
- bool? shouldChangePassword;
+ String? storageLabel;
@override
bool operator ==(Object other) => identical(this, other) || other is UpdateUserDto &&
- other.id == id &&
other.email == email &&
- other.password == password &&
- other.firstName == firstName &&
- other.lastName == lastName &&
- other.storageLabel == storageLabel &&
other.externalPath == externalPath &&
+ other.firstName == firstName &&
+ other.id == id &&
other.isAdmin == isAdmin &&
- other.shouldChangePassword == shouldChangePassword;
+ other.lastName == lastName &&
+ other.password == password &&
+ other.shouldChangePassword == shouldChangePassword &&
+ other.storageLabel == storageLabel;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (id.hashCode) +
(email == null ? 0 : email!.hashCode) +
- (password == null ? 0 : password!.hashCode) +
- (firstName == null ? 0 : firstName!.hashCode) +
- (lastName == null ? 0 : lastName!.hashCode) +
- (storageLabel == null ? 0 : storageLabel!.hashCode) +
(externalPath == null ? 0 : externalPath!.hashCode) +
+ (firstName == null ? 0 : firstName!.hashCode) +
+ (id.hashCode) +
(isAdmin == null ? 0 : isAdmin!.hashCode) +
- (shouldChangePassword == null ? 0 : shouldChangePassword!.hashCode);
+ (lastName == null ? 0 : lastName!.hashCode) +
+ (password == null ? 0 : password!.hashCode) +
+ (shouldChangePassword == null ? 0 : shouldChangePassword!.hashCode) +
+ (storageLabel == null ? 0 : storageLabel!.hashCode);
@override
- String toString() => 'UpdateUserDto[id=$id, email=$email, password=$password, firstName=$firstName, lastName=$lastName, storageLabel=$storageLabel, externalPath=$externalPath, isAdmin=$isAdmin, shouldChangePassword=$shouldChangePassword]';
+ String toString() => 'UpdateUserDto[email=$email, externalPath=$externalPath, firstName=$firstName, id=$id, isAdmin=$isAdmin, lastName=$lastName, password=$password, shouldChangePassword=$shouldChangePassword, storageLabel=$storageLabel]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'id'] = this.id;
if (this.email != null) {
json[r'email'] = this.email;
} else {
// json[r'email'] = null;
}
- if (this.password != null) {
- json[r'password'] = this.password;
+ if (this.externalPath != null) {
+ json[r'externalPath'] = this.externalPath;
} else {
- // json[r'password'] = null;
+ // json[r'externalPath'] = null;
}
if (this.firstName != null) {
json[r'firstName'] = this.firstName;
} else {
// json[r'firstName'] = null;
+ }
+ json[r'id'] = this.id;
+ if (this.isAdmin != null) {
+ json[r'isAdmin'] = this.isAdmin;
+ } else {
+ // json[r'isAdmin'] = null;
}
if (this.lastName != null) {
json[r'lastName'] = this.lastName;
} else {
// json[r'lastName'] = null;
}
- if (this.storageLabel != null) {
- json[r'storageLabel'] = this.storageLabel;
- } else {
- // json[r'storageLabel'] = null;
- }
- if (this.externalPath != null) {
- json[r'externalPath'] = this.externalPath;
- } else {
- // json[r'externalPath'] = null;
- }
- if (this.isAdmin != null) {
- json[r'isAdmin'] = this.isAdmin;
+ if (this.password != null) {
+ json[r'password'] = this.password;
} else {
- // json[r'isAdmin'] = null;
+ // json[r'password'] = null;
}
if (this.shouldChangePassword != null) {
json[r'shouldChangePassword'] = this.shouldChangePassword;
} else {
// json[r'shouldChangePassword'] = null;
}
+ if (this.storageLabel != null) {
+ json[r'storageLabel'] = this.storageLabel;
+ } else {
+ // json[r'storageLabel'] = null;
+ }
return json;
}
@@ -172,15 +172,15 @@ class UpdateUserDto {
final json = value.cast<String, dynamic>();
return UpdateUserDto(
- id: mapValueOfType<String>(json, r'id')!,
email: mapValueOfType<String>(json, r'email'),
- password: mapValueOfType<String>(json, r'password'),
- firstName: mapValueOfType<String>(json, r'firstName'),
- lastName: mapValueOfType<String>(json, r'lastName'),
- storageLabel: mapValueOfType<String>(json, r'storageLabel'),
externalPath: mapValueOfType<String>(json, r'externalPath'),
+ firstName: mapValueOfType<String>(json, r'firstName'),
+ id: mapValueOfType<String>(json, r'id')!,
isAdmin: mapValueOfType<bool>(json, r'isAdmin'),
+ lastName: mapValueOfType<String>(json, r'lastName'),
+ password: mapValueOfType<String>(json, r'password'),
shouldChangePassword: mapValueOfType<bool>(json, r'shouldChangePassword'),
+ storageLabel: mapValueOfType<String>(json, r'storageLabel'),
);
}
return null;
diff --git a/mobile/openapi/lib/model/usage_by_user_dto.dart b/mobile/openapi/lib/model/usage_by_user_dto.dart
index a1def6e1e9..052ebaa9fc 100644
--- a/mobile/openapi/lib/model/usage_by_user_dto.dart
+++ b/mobile/openapi/lib/model/usage_by_user_dto.dart
@@ -13,56 +13,56 @@ part of openapi.api;
class UsageByUserDto {
/// Returns a new [UsageByUserDto] instance.
UsageByUserDto({
- required this.userId,
+ required this.photos,
+ required this.usage,
required this.userFirstName,
+ required this.userId,
required this.userLastName,
- required this.photos,
required this.videos,
- required this.usage,
});
- String userId;
+ int photos;
+
+ int usage;
String userFirstName;
- String userLastName;
+ String userId;
- int photos;
+ String userLastName;
int videos;
- int usage;
-
@override
bool operator ==(Object other) => identical(this, other) || other is UsageByUserDto &&
- other.userId == userId &&
+ other.photos == photos &&
+ other.usage == usage &&
other.userFirstName == userFirstName &&
+ other.userId == userId &&
other.userLastName == userLastName &&
- other.photos == photos &&
- other.videos == videos &&
- other.usage == usage;
+ other.videos == videos;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (userId.hashCode) +
+ (photos.hashCode) +
+ (usage.hashCode) +
(userFirstName.hashCode) +
+ (userId.hashCode) +
(userLastName.hashCode) +
- (photos.hashCode) +
- (videos.hashCode) +
- (usage.hashCode);
+ (videos.hashCode);
@override
- String toString() => 'UsageByUserDto[userId=$userId, userFirstName=$userFirstName, userLastName=$userLastName, photos=$photos, videos=$videos, usage=$usage]';
+ String toString() => 'UsageByUserDto[photos=$photos, usage=$usage, userFirstName=$userFirstName, userId=$userId, userLastName=$userLastName, videos=$videos]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'userId'] = this.userId;
+ json[r'photos'] = this.photos;
+ json[r'usage'] = this.usage;
json[r'userFirstName'] = this.userFirstName;
+ json[r'userId'] = this.userId;
json[r'userLastName'] = this.userLastName;
- json[r'photos'] = this.photos;
json[r'videos'] = this.videos;
- json[r'usage'] = this.usage;
return json;
}
@@ -74,12 +74,12 @@ class UsageByUserDto {
final json = value.cast<String, dynamic>();
return UsageByUserDto(
- userId: mapValueOfType<String>(json, r'userId')!,
+ photos: mapValueOfType<int>(json, r'photos')!,
+ usage: mapValueOfType<int>(json, r'usage')!,
userFirstName: mapValueOfType<String>(json, r'userFirstName')!,
+ userId: mapValueOfType<String>(json, r'userId')!,
userLastName: mapValueOfType<String>(json, r'userLastName')!,
- photos: mapValueOfType<int>(json, r'photos')!,
videos: mapValueOfType<int>(json, r'videos')!,
- usage: mapValueOfType<int>(json, r'usage')!,
);
}
return null;
@@ -127,12 +127,12 @@ class UsageByUserDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'userId',
+ 'photos',
+ 'usage',
'userFirstName',
+ 'userId',
'userLastName',
- 'photos',
'videos',
- 'usage',
};
}
diff --git a/mobile/openapi/lib/model/user_response_dto.dart b/mobile/openapi/lib/model/user_response_dto.dart
index 29fd788f53..163ba4dd1d 100644
--- a/mobile/openapi/lib/model/user_response_dto.dart
+++ b/mobile/openapi/lib/model/user_response_dto.dart
@@ -13,110 +13,110 @@ part of openapi.api;
class UserResponseDto {
/// Returns a new [UserResponseDto] instance.
UserResponseDto({
- required this.id,
+ required this.createdAt,
+ required this.deletedAt,
required this.email,
+ required this.externalPath,
required this.firstName,
+ required this.id,
+ required this.isAdmin,
required this.lastName,
- required this.storageLabel,
- required this.externalPath,
+ required this.oauthId,
required this.profileImagePath,
required this.shouldChangePassword,
- required this.isAdmin,
- required this.createdAt,
- required this.deletedAt,
+ required this.storageLabel,
required this.updatedAt,
- required this.oauthId,
});
- String id;
+ DateTime createdAt;
+
+ DateTime? deletedAt;
String email;
+ String? externalPath;
+
String firstName;
- String lastName;
+ String id;
- String? storageLabel;
+ bool isAdmin;
- String? externalPath;
+ String lastName;
+
+ String oauthId;
String profileImagePath;
bool shouldChangePassword;
- bool isAdmin;
-
- DateTime createdAt;
-
- DateTime? deletedAt;
+ String? storageLabel;
DateTime updatedAt;
- String oauthId;
-
@override
bool operator ==(Object other) => identical(this, other) || other is UserResponseDto &&
- other.id == id &&
+ other.createdAt == createdAt &&
+ other.deletedAt == deletedAt &&
other.email == email &&
+ other.externalPath == externalPath &&
other.firstName == firstName &&
+ other.id == id &&
+ other.isAdmin == isAdmin &&
other.lastName == lastName &&
- other.storageLabel == storageLabel &&
- other.externalPath == externalPath &&
+ other.oauthId == oauthId &&
other.profileImagePath == profileImagePath &&
other.shouldChangePassword == shouldChangePassword &&
- other.isAdmin == isAdmin &&
- other.createdAt == createdAt &&
- other.deletedAt == deletedAt &&
- other.updatedAt == updatedAt &&
- other.oauthId == oauthId;
+ other.storageLabel == storageLabel &&
+ other.updatedAt == updatedAt;
@override
int get hashCode =>
// ignore: unnecessary_parenthesis
- (id.hashCode) +
+ (createdAt.hashCode) +
+ (deletedAt == null ? 0 : deletedAt!.hashCode) +
(email.hashCode) +
+ (externalPath == null ? 0 : externalPath!.hashCode) +
(firstName.hashCode) +
+ (id.hashCode) +
+ (isAdmin.hashCode) +
(lastName.hashCode) +
- (storageLabel == null ? 0 : storageLabel!.hashCode) +
- (externalPath == null ? 0 : externalPath!.hashCode) +
+ (oauthId.hashCode) +
(profileImagePath.hashCode) +
(shouldChangePassword.hashCode) +
- (isAdmin.hashCode) +
- (createdAt.hashCode) +
- (deletedAt == null ? 0 : deletedAt!.hashCode) +
- (updatedAt.hashCode) +
- (oauthId.hashCode);
+ (storageLabel == null ? 0 : storageLabel!.hashCode) +
+ (updatedAt.hashCode);
@override
- String toString() => 'UserResponseDto[id=$id, email=$email, firstName=$firstName, lastName=$lastName, storageLabel=$storageLabel, externalPath=$externalPath, profileImagePath=$profileImagePath, shouldChangePassword=$shouldChangePassword, isAdmin=$isAdmin, createdAt=$createdAt, deletedAt=$deletedAt, updatedAt=$updatedAt, oauthId=$oauthId]';
+ String toString() => 'UserResponseDto[createdAt=$createdAt, deletedAt=$deletedAt, email=$email, externalPath=$externalPath, firstName=$firstName, id=$id, isAdmin=$isAdmin, lastName=$lastName, oauthId=$oauthId, profileImagePath=$profileImagePath, shouldChangePassword=$shouldChangePassword, storageLabel=$storageLabel, updatedAt=$updatedAt]';
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
- json[r'id'] = this.id;
- json[r'email'] = this.email;
- json[r'firstName'] = this.firstName;
- json[r'lastName'] = this.lastName;
- if (this.storageLabel != null) {
- json[r'storageLabel'] = this.storageLabel;
+ json[r'createdAt'] = this.createdAt.toUtc().toIso8601String();
+ if (this.deletedAt != null) {
+ json[r'deletedAt'] = this.deletedAt!.toUtc().toIso8601String();
} else {
- // json[r'storageLabel'] = null;
+ // json[r'deletedAt'] = null;
}
+ json[r'email'] = this.email;
if (this.externalPath != null) {
json[r'externalPath'] = this.externalPath;
} else {
// json[r'externalPath'] = null;
}
+ json[r'firstName'] = this.firstName;
+ json[r'id'] = this.id;
+ json[r'isAdmin'] = this.isAdmin;
+ json[r'lastName'] = this.lastName;
+ json[r'oauthId'] = this.oauthId;
json[r'profileImagePath'] = this.profileImagePath;
json[r'shouldChangePassword'] = this.shouldChangePassword;
- json[r'isAdmin'] = this.isAdmin;
- json[r'createdAt'] = this.createdAt.toUtc().toIso8601String();
- if (this.deletedAt != null) {
- json[r'deletedAt'] = this.deletedAt!.toUtc().toIso8601String();
+ if (this.storageLabel != null) {
+ json[r'storageLabel'] = this.storageLabel;
} else {
- // json[r'deletedAt'] = null;
+ // json[r'storageLabel'] = null;
}
json[r'updatedAt'] = this.updatedAt.toUtc().toIso8601String();
- json[r'oauthId'] = this.oauthId;
return json;
}
@@ -128,19 +128,19 @@ class UserResponseDto {
final json = value.cast<String, dynamic>();
return UserResponseDto(
- id: mapValueOfType<String>(json, r'id')!,
+ createdAt: mapDateTime(json, r'createdAt', r'')!,
+ deletedAt: mapDateTime(json, r'deletedAt', r''),
email: mapValueOfType<String>(json, r'email')!,
+ externalPath: mapValueOfType<String>(json, r'externalPath'),
firstName: mapValueOfType<String>(json, r'firstName')!,
+ id: mapValueOfType<String>(json, r'id')!,
+ isAdmin: mapValueOfType<bool>(json, r'isAdmin')!,
lastName: mapValueOfType<String>(json, r'lastName')!,
- storageLabel: mapValueOfType<String>(json, r'storageLabel'),
- externalPath: mapValueOfType<String>(json, r'externalPath'),
+ oauthId: mapValueOfType<String>(json, r'oauthId')!,
profileImagePath: mapValueOfType<String>(json, r'profileImagePath')!,
shouldChangePassword: mapValueOfType<bool>(json, r'shouldChangePassword')!,
- isAdmin: mapValueOfType<bool>(json, r'isAdmin')!,
- createdAt: mapDateTime(json, r'createdAt', r'')!,
- deletedAt: mapDateTime(json, r'deletedAt', r''),
+ storageLabel: mapValueOfType<String>(json, r'storageLabel'),
updatedAt: mapDateTime(json, r'updatedAt', r'')!,
- oauthId: mapValueOfType<String>(json, r'oauthId')!,
);
}
return null;
@@ -188,19 +188,19 @@ class UserResponseDto {
/// The list of required keys that must be present in a JSON.
static const requiredKeys = <String>{
- 'id',
+ 'createdAt',
+ 'deletedAt',
'email',
+ 'externalPath',
'firstName',
+ 'id',
+ 'isAdmin',
'lastName',
- 'storageLabel',
- 'externalPath',
+ 'oauthId',
'profileImagePath',
'shouldChangePassword',
- 'isAdmin',
- 'createdAt',
- 'deletedAt',
+ 'storageLabel',
'updatedAt',
- 'oauthId',
};
}
diff --git a/mobile/openapi/test/add_assets_response_dto_test.dart b/mobile/openapi/test/add_assets_response_dto_test.dart
index bce8a0f7d3..5dacd3943b 100644
--- a/mobile/openapi/test/add_assets_response_dto_test.dart
+++ b/mobile/openapi/test/add_assets_response_dto_test.dart
@@ -16,8 +16,8 @@ void main() {
// final instance = AddAssetsResponseDto();
group('test AddAssetsResponseDto', () {
- // int successfullyAdded
- test('to test the property `successfullyAdded`', () async {
+ // AlbumResponseDto album
+ test('to test the property `album`', () async {
// TODO
});
@@ -26,8 +26,8 @@ void main() {
// TODO
});
- // AlbumResponseDto album
- test('to test the property `album`', () async {
+ // int successfullyAdded
+ test('to test the property `successfullyAdded`', () async {
// TODO
});
diff --git a/mobile/openapi/test/admin_signup_response_dto_test.dart b/mobile/openapi/test/admin_signup_response_dto_test.dart
index 62eb488fe1..62582e9b3a 100644
--- a/mobile/openapi/test/admin_signup_response_dto_test.dart
+++ b/mobile/openapi/test/admin_signup_response_dto_test.dart
@@ -16,8 +16,8 @@ void main() {
// final instance = AdminSignupResponseDto();
group('test AdminSignupResponseDto', () {
- // String id
- test('to test the property `id`', () async {
+ // DateTime createdAt
+ test('to test the property `createdAt`', () async {
// TODO
});
@@ -31,13 +31,13 @@ void main() {
// TODO
});
- // String lastName
- test('to test the property `lastName`', () async {
+ // String id
+ test('to test the property `id`', () async {
// TODO
});
- // DateTime createdAt
- test('to test the property `createdAt`', () async {
+ // String lastName
+ test('to test the property `lastName`', () async {
// TODO
});
diff --git a/mobile/openapi/test/album_count_response_dto_test.dart b/mobile/openapi/test/album_count_response_dto_test.dart
index 2f294f463e..5da1acb072 100644
--- a/mobile/openapi/test/album_count_response_dto_test.dart
+++ b/mobile/openapi/test/album_count_response_dto_test.dart
@@ -16,6 +16,11 @@ void main() {
// final instance = AlbumCountResponseDto();
group('test AlbumCountResponseDto', () {
+ // int notShared
+ test('to test the property `notShared`', () async {
+ // TODO
+ });
+
// int owned
test('to test the property `owned`', () async {
// TODO
@@ -26,11 +31,6 @@ void main() {
// TODO
});
- // int notShared
- test('to test the property `notShared`', () async {
- // TODO
- });
-
});
diff --git a/mobile/openapi/test/album_response_dto_test.dart b/mobile/openapi/test/album_response_dto_test.dart
index b55b0eb219..da80f49920 100644
--- a/mobile/openapi/test/album_response_dto_test.dart
+++ b/mobile/openapi/test/album_response_dto_test.dart
@@ -16,23 +16,23 @@ void main() {
// final instance = AlbumResponseDto();
group('test AlbumResponseDto', () {
- // int assetCount
- test('to test the property `assetCount`', () async {
+ // String albumName
+ test('to test the property `albumName`', () async {
// TODO
});
- // String id
- test('to test the property `id`', () async {
+ // String albumThumbnailAssetId
+ test('to test the property `albumThumbnailAssetId`', () async {
// TODO
});
- // String ownerId
- test('to test the property `ownerId`', () async {
+ // int assetCount
+ test('to test the property `assetCount`', () async {
// TODO
});
- // String albumName
- test('to test the property `albumName`', () async {
+ // List<AssetResponseDto> assets (default value: const [])
+ test('to test the property `assets`', () async {
// TODO
});
@@ -41,38 +41,38 @@ void main() {
// TODO
});
- // DateTime updatedAt
- test('to test the property `updatedAt`', () async {
+ // String id
+ test('to test the property `id`', () async {
// TODO
});
- // String albumThumbnailAssetId
- test('to test the property `albumThumbnailAssetId`', () async {
+ // DateTime lastModifiedAssetTimestamp
+ test('to test the property `lastModifiedAssetTimestamp`', () async {
// TODO
});
- // bool shared
- test('to test the property `shared`', () async {
+ // UserResponseDto owner
+ test('to test the property `owner`', () async {
// TODO
});
- // List<UserResponseDto> sharedUsers (default value: const [])
- test('to test the property `sharedUsers`', () async {
+ // String ownerId
+ test('to test the property `ownerId`', () async {
// TODO
});
- // List<AssetResponseDto> assets (default value: const [])
- test('to test the property `assets`', () async {
+ // bool shared
+ test('to test the property `shared`', () async {
// TODO
});
- // UserResponseDto owner
- test('to test the property `owner`', () async {
+ // List<UserResponseDto> sharedUsers (default value: const [])
+ test('to test the property `sharedUsers`', () async {
// TODO
});
- // DateTime lastModifiedAssetTimestamp
- test('to test the property `lastModifiedAssetTimestamp`', () async {
+ // DateTime updatedAt
+ test('to test the property `updatedAt`', () async {
// TODO
});
diff --git a/mobile/openapi/test/all_job_status_response_dto_test.dart b/mobile/openapi/test/all_job_status_response_dto_test.dart
index 657191ec97..e981b1a36d 100644
--- a/mobile/openapi/test/all_job_status_response_dto_test.dart
+++ b/mobile/openapi/test/all_job_status_response_dto_test.dart
@@ -16,18 +16,18 @@ void main() {
// final instance = AllJobStatusResponseDto();
group('test AllJobStatusResponseDto', () {
- // JobStatusDto thumbnailGeneration
- test('to test the property `thumbnailGeneration`', () async {
+ // JobStatusDto backgroundTask
+ test('to test the property `backgroundTask`', () async {
// TODO
});
- // JobStatusDto metadataExtraction
- test('to test the property `metadataExtraction`', () async {
+ // JobStatusDto clipEncoding
+ test('to test the property `clipEncoding`', () async {
// TODO
});
- // JobStatusDto videoConversion
- test('to test the property `videoConversion`', () async {
+ // JobStatusDto metadataExtraction
+ test('to test the property `metadataExtraction`', () async {
// TODO
});
@@ -36,33 +36,33 @@ void main() {
// TODO
});
- // JobStatusDto clipEncoding
- test('to test the property `clipEncoding`', () async {
+ // JobStatusDto recognizeFaces
+ test('to test the property `recognizeFaces`', () async {
// TODO
});
- // JobStatusDto storageTemplateMigration
- test('to test the property `storageTemplateMigration`', () async {
+ // JobStatusDto search
+ test('to test the property `search`', () async {
// TODO
});
- // JobStatusDto backgroundTask
- test('to test the property `backgroundTask`', () async {
+ // JobStatusDto sidecar
+ test('to test the property `sidecar`', () async {
// TODO
});
- // JobStatusDto search
- test('to test the property `search`', () async {
+ // JobStatusDto storageTemplateMigration
+ test('to test the property `storageTemplateMigration`', () async {
// TODO
});
- // JobStatusDto recognizeFaces
- test('to test the property `recognizeFaces`', () async {
+ // JobStatusDto thumbnailGeneration
+ test('to test the property `thumbnailGeneration`', () async {
// TODO
});
- // JobStatusDto sidecar
- test('to test the property `sidecar`', () async {
+ // JobStatusDto videoConversion
+ test('to test the property `videoConversion`', () async {
// TODO
});
diff --git a/mobile/openapi/test/api_key_create_response_dto_test.dart b/mobile/openapi/test/api_key_create_response_dto_test.dart
index 6998ea6a92..9d9a8d24ee 100644
--- a/mobile/openapi/test/api_key_create_response_dto_test.dart
+++ b/mobile/openapi/test/api_key_create_response_dto_test.dart
@@ -16,13 +16,13 @@ void main() {
// final instance = APIKeyCreateResponseDto();
group('test APIKeyCreateResponseDto', () {
- // String secret
- test('to test the property `secret`', () async {
+ // APIKeyResponseDto apiKey
+ test('to test the property `apiKey`', () async {
// TODO
});
- // APIKeyResponseDto apiKey
- test('to test the property `apiKey`', () async {
+ // String secret
+ test('to test the property `secret`', () async {
// TODO
});
diff --git a/mobile/openapi/test/api_key_response_dto_test.dart b/mobile/openapi/test/api_key_response_dto_test.dart
index c849e7629f..399a01429a 100644
--- a/mobile/openapi/test/api_key_response_dto_test.dart
+++ b/mobile/openapi/test/api_key_response_dto_test.dart
@@ -16,6 +16,11 @@ void main() {
// final instance = APIKeyResponseDto();
group('test APIKeyResponseDto', () {
+ // DateTime createdAt
+ test('to test the property `createdAt`', () async {
+ // TODO
+ });
+
// String id
test('to test the property `id`', () async {
// TODO
@@ -26,11 +31,6 @@ void main() {
// TODO
});
- // DateTime createdAt
- test('to test the property `createdAt`', () async {
- // TODO
- });
-
// DateTime updatedAt
test('to test the property `updatedAt`', () async {
// TODO
diff --git a/mobile/openapi/test/asset_api_test.dart b/mobile/openapi/test/asset_api_test.dart
index 426e5e79a2..e09bb4d0f5 100644
--- a/mobile/openapi/test/asset_api_test.dart
+++ b/mobile/openapi/test/asset_api_test.dart
@@ -146,7 +146,7 @@ void main() {
// TODO
});
- //Future<AssetFileUploadResponseDto> uploadFile(MultipartFile assetData, String deviceAssetId, String deviceId, DateTime fileCreatedAt, DateTime fileModifiedAt, bool isFavorite, { String key, MultipartFile livePhotoData, MultipartFile sidecarData, bool isReadOnly, bool isArchived, bool isVisible, String duration }) async
+ //Future<AssetFileUploadResponseDto> uploadFile(MultipartFile assetData, String deviceAssetId, String deviceId, DateTime fileCreatedAt, DateTime fileModifiedAt, bool isFavorite, { String key, String duration, bool isArchived, bool isReadOnly, bool isVisible, MultipartFile livePhotoData, MultipartFile sidecarData }) async
test('test uploadFile', () async {
// TODO
});
diff --git a/mobile/openapi/test/asset_bulk_upload_check_item_test.dart b/mobile/openapi/test/asset_bulk_upload_check_item_test.dart
index eac05427fa..9f3e6e72fa 100644
--- a/mobile/openapi/test/asset_bulk_upload_check_item_test.dart
+++ b/mobile/openapi/test/asset_bulk_upload_check_item_test.dart
@@ -16,17 +16,17 @@ void main() {
// final instance = AssetBulkUploadCheckItem();
group('test AssetBulkUploadCheckItem', () {
- // String id
- test('to test the property `id`', () async {
- // TODO
- });
-
// base64 or hex encoded sha1 hash
// String checksum
test('to test the property `checksum`', () async {
// TODO
});
+ // String id
+ test('to test the property `id`', () async {
+ // TODO
+ });
+
});
diff --git a/mobile/openapi/test/asset_bulk_upload_check_result_test.dart b/mobile/openapi/test/asset_bulk_upload_check_result_test.dart
index dc1bf68a52..dd0a28ba57 100644
--- a/mobile/openapi/test/asset_bulk_upload_check_result_test.dart
+++ b/mobile/openapi/test/asset_bulk_upload_check_result_test.dart
@@ -16,23 +16,23 @@ void main() {
// final instance = AssetBulkUploadCheckResult();
group('test AssetBulkUploadCheckResult', () {
- // String id
- test('to test the property `id`', () async {
+ // String action
+ test('to test the property `action`', () async {
// TODO
});
- // String action
- test('to test the property `action`', () async {
+ // String assetId
+ test('to test the property `assetId`', () async {
// TODO
});
- // String reason
- test('to test the property `reason`', () async {
+ // String id
+ test('to test the property `id`', () async {
// TODO
});
- // String assetId
- test('to test the property `assetId`', () async {
+ // String reason
+ test('to test the property `reason`', () async {
// TODO
});
diff --git a/mobile/openapi/test/asset_count_by_time_bucket_response_dto_test.dart b/mobile/openapi/test/asset_count_by_time_bucket_response_dto_test.dart
index 993e679ffe..3df5ba0d31 100644
--- a/mobile/openapi/test/asset_count_by_time_bucket_response_dto_test.dart
+++ b/mobile/openapi/test/asset_count_by_time_bucket_response_dto_test.dart
@@ -16,13 +16,13 @@ void main() {
// final instance = AssetCountByTimeBucketResponseDto();
group('test AssetCountByTimeBucketResponseDto', () {
- // int totalCount
- test('to test the property `totalCount`', () async {
+ // List<AssetCountByTimeBucket> buckets (default value: const [])
+ test('to test the property `buckets`', () async {
// TODO
});
- // List<AssetCountByTimeBucket> buckets (default value: const [])
- test('to test the property `buckets`', () async {
+ // int totalCount
+ test('to test the property `totalCount`', () async {
// TODO
});
diff --git a/mobile/openapi/test/asset_count_by_time_bucket_test.dart b/mobile/openapi/test/asset_count_by_time_bucket_test.dart
index 7bf41e3d75..7dbe5bc4be 100644
--- a/mobile/openapi/test/asset_count_by_time_bucket_test.dart
+++ b/mobile/openapi/test/asset_count_by_time_bucket_test.dart
@@ -16,13 +16,13 @@ void main() {
// final instance = AssetCountByTimeBucket();
group('test AssetCountByTimeBucket', () {
- // String timeBucket
- test('to test the property `timeBucket`', () async {
+ // int count
+ test('to test the property `count`', () async {
// TODO
});
- // int count
- test('to test the property `count`', () async {
+ // String timeBucket
+ test('to test the property `timeBucket`', () async {
// TODO
});
diff --git a/mobile/openapi/test/asset_file_upload_response_dto_test.dart b/mobile/openapi/test/asset_file_upload_response_dto_test.dart
index 2c53be8539..6d050c589b 100644
--- a/mobile/openapi/test/asset_file_upload_response_dto_test.dart
+++ b/mobile/openapi/test/asset_file_upload_response_dto_test.dart
@@ -16,13 +16,13 @@ void main() {
// final instance = AssetFileUploadResponseDto();
group('test AssetFileUploadResponseDto', () {
- // String id
- test('to test the property `id`', () async {
+ // bool duplicate
+ test('to test the property `duplicate`', () async {
// TODO
});
- // bool duplicate
- test('to test the property `duplicate`', () async {
+ // String id
+ test('to test the property `id`', () async {
// TODO
});
diff --git a/mobile/openapi/test/asset_ids_response_dto_test.dart b/mobile/openapi/test/asset_ids_response_dto_test.dart
index df6a8642d8..cb03844cca 100644
--- a/mobile/openapi/test/asset_ids_response_dto_test.dart
+++ b/mobile/openapi/test/asset_ids_response_dto_test.dart
@@ -21,13 +21,13 @@ void main() {
// TODO
});
- // bool success
- test('to test the property `success`', () async {
+ // String error
+ test('to test the property `error`', () async {
// TODO
});
- // String error
- test('to test the property `error`', () async {
+ // bool success
+ test('to test the property `success`', () async {
// TODO
});
diff --git a/mobile/openapi/test/asset_response_dto_test.dart b/mobile/openapi/test/asset_response_dto_test.dart
index c9e33fb3bc..f89eacf986 100644
--- a/mobile/openapi/test/asset_response_dto_test.dart
+++ b/mobile/openapi/test/asset_response_dto_test.dart
@@ -16,84 +16,84 @@ void main() {
// final instance = AssetResponseDto();
group('test AssetResponseDto', () {
- // AssetTypeEnum type
- test('to test the property `type`', () async {
+ // base64 encoded sha1 hash
+ // String checksum
+ test('to test the property `checksum`', () async {
// TODO
});
- // String id
- test('to test the property `id`', () async {
+ // String deviceAssetId
+ test('to test the property `deviceAssetId`', () async {
// TODO
});
- // String deviceAssetId
- test('to test the property `deviceAssetId`', () async {
+ // String deviceId
+ test('to test the property `deviceId`', () async {
// TODO
});
- // String ownerId
- test('to test the property `ownerId`', () async {
+ // String duration
+ test('to test the property `duration`', () async {
// TODO
});
- // String deviceId
- test('to test the property `deviceId`', () async {
+ // ExifResponseDto exifInfo
+ test('to test the property `exifInfo`', () async {
// TODO
});
- // String originalPath
- test('to test the property `originalPath`', () async {
+ // DateTime fileCreatedAt
+ test('to test the property `fileCreatedAt`', () async {
// TODO
});
- // String originalFileName
- test('to test the property `originalFileName`', () async {
+ // DateTime fileModifiedAt
+ test('to test the property `fileModifiedAt`', () async {
// TODO
});
- // bool resized
- test('to test the property `resized`', () async {
+ // String id
+ test('to test the property `id`', () async {
// TODO
});
- // base64 encoded thumbhash
- // String thumbhash
- test('to test the property `thumbhash`', () async {
+ // bool isArchived
+ test('to test the property `isArchived`', () async {
// TODO
});
- // DateTime fileCreatedAt
- test('to test the property `fileCreatedAt`', () async {
+ // bool isFavorite
+ test('to test the property `isFavorite`', () async {
// TODO
});
- // DateTime fileModifiedAt
- test('to test the property `fileModifiedAt`', () async {
+ // String livePhotoVideoId
+ test('to test the property `livePhotoVideoId`', () async {
// TODO
});
- // DateTime updatedAt
- test('to test the property `updatedAt`', () async {
+ // String originalFileName
+ test('to test the property `originalFileName`', () async {
// TODO
});
- // bool isFavorite
- test('to test the property `isFavorite`', () async {
+ // String originalPath
+ test('to test the property `originalPath`', () async {
// TODO
});
- // bool isArchived
- test('to test the property `isArchived`', () async {
+ // String ownerId
+ test('to test the property `ownerId`', () async {
// TODO
});
- // String duration
- test('to test the property `duration`', () async {
+ // List<PersonResponseDto> people (default value: const [])
+ test('to test the property `people`', () async {
// TODO
});
- // ExifResponseDto exifInfo
- test('to test the property `exifInfo`', () async {
+ // bool resized
+ test('to test the property `resized`', () async {
// TODO
});
@@ -102,24 +102,24 @@ void main() {
// TODO
});
- // String livePhotoVideoId
- test('to test the property `livePhotoVideoId`', () async {
+ // List<TagResponseDto> tags (default value: const [])
+ test('to test the property `tags`', () async {
// TODO
});
- // List<TagResponseDto> tags (default value: const [])
- test('to test the property `tags`', () async {
+ // base64 encoded thumbhash
+ // String thumbhash
+ test('to test the property `thumbhash`', () async {
// TODO
});
- // List<PersonResponseDto> people (default value: const [])
- test('to test the property `people`', () async {
+ // AssetTypeEnum type
+ test('to test the property `type`', () async {
// TODO
});
- // base64 encoded sha1 hash
- // String checksum
- test('to test the property `checksum`', () async {
+ // DateTime updatedAt
+ test('to test the property `updatedAt`', () async {
// TODO
});
diff --git a/mobile/openapi/test/asset_stats_response_dto_test.dart b/mobile/openapi/test/asset_stats_response_dto_test.dart
index 3e5d8b548f..eaeace92a7 100644
--- a/mobile/openapi/test/asset_stats_response_dto_test.dart
+++ b/mobile/openapi/test/asset_stats_response_dto_test.dart
@@ -21,13 +21,13 @@ void main() {
// TODO
});
- // int videos
- test('to test the property `videos`', () async {
+ // int total
+ test('to test the property `total`', () async {
// TODO
});
- // int total
- test('to test the property `total`', () async {
+ // int videos
+ test('to test the property `videos`', () async {
// TODO
});
diff --git a/mobile/openapi/test/auth_device_response_dto_test.dart b/mobile/openapi/test/auth_device_response_dto_test.dart
index 615b34b1d7..c0cccf8d65 100644
--- a/mobile/openapi/test/auth_device_response_dto_test.dart
+++ b/mobile/openapi/test/auth_device_response_dto_test.dart
@@ -16,23 +16,18 @@ void main() {
// final instance = AuthDeviceResponseDto();
group('test AuthDeviceResponseDto', () {
- // String id
- test('to test the property `id`', () async {
- // TODO
- });
-
// String createdAt
test('to test the property `createdAt`', () async {
// TODO
});
- // String updatedAt
- test('to test the property `updatedAt`', () async {
+ // bool current
+ test('to test the property `current`', () async {
// TODO
});
- // bool current
- test('to test the property `current`', () async {
+ // String deviceOS
+ test('to test the property `deviceOS`', () async {
// TODO
});
@@ -41,8 +36,13 @@ void main() {
// TODO
});
- // String deviceOS
- test('to test the property `deviceOS`', () async {
+ // String id
+ test('to test the property `id`', () async {
+ // TODO
+ });
+
+ // String updatedAt
+ test('to test the property `updatedAt`', () async {
// TODO
});
diff --git a/mobile/openapi/test/bulk_id_response_dto_test.dart b/mobile/openapi/test/bulk_id_response_dto_test.dart
index 25baca9860..23e13ef507 100644
--- a/mobile/openapi/test/bulk_id_response_dto_test.dart
+++ b/mobile/openapi/test/bulk_id_response_dto_test.dart
@@ -16,6 +16,11 @@ void main() {
// final instance = BulkIdResponseDto();
group('test BulkIdResponseDto', () {
+ // String error
+ test('to test the property `error`', () async {
+ // TODO
+ });
+
// String id
test('to test the property `id`', () async {
// TODO
@@ -26,11 +31,6 @@ void main() {
// TODO
});
- // String error
- test('to test the property `error`', () async {
- // TODO
- });
-
});
diff --git a/mobile/openapi/test/change_password_dto_test.dart b/mobile/openapi/test/change_password_dto_test.dart
index 5095250fc6..21ed393bc4 100644
--- a/mobile/openapi/test/change_password_dto_test.dart
+++ b/mobile/openapi/test/change_password_dto_test.dart
@@ -16,13 +16,13 @@ void main() {
// final instance = ChangePasswordDto();
group('test ChangePasswordDto', () {
- // String password
- test('to test the property `password`', () async {
+ // String newPassword
+ test('to test the property `newPassword`', () async {
// TODO
});
- // String newPassword
- test('to test the property `newPassword`', () async {
+ // String password
+ test('to test the property `password`', () async {
// TODO
});
diff --git a/mobile/openapi/test/check_duplicate_asset_response_dto_test.dart b/mobile/openapi/test/check_duplicate_asset_response_dto_test.dart
index 393acc1216..2c0d28bb37 100644
--- a/mobile/openapi/test/check_duplicate_asset_response_dto_test.dart
+++ b/mobile/openapi/test/check_duplicate_asset_response_dto_test.dart
@@ -16,13 +16,13 @@ void main() {
// final instance = CheckDuplicateAssetResponseDto();
group('test CheckDuplicateAssetResponseDto', () {
- // bool isExist
- test('to test the property `isExist`', () async {
+ // String id
+ test('to test the property `id`', () async {
// TODO
});
- // String id
- test('to test the property `id`', () async {
+ // bool isExist
+ test('to test the property `isExist`', () async {
// TODO
});
diff --git a/mobile/openapi/test/create_album_dto_test.dart b/mobile/openapi/test/create_album_dto_test.dart
index 48263d393a..c727c20062 100644
--- a/mobile/openapi/test/create_album_dto_test.dart
+++ b/mobile/openapi/test/create_album_dto_test.dart
@@ -21,13 +21,13 @@ void main() {
// TODO
});
- // List<String> sharedWithUserIds (default value: const [])
- test('to test the property `sharedWithUserIds`', () async {
+ // List<String> assetIds (default value: const [])
+ test('to test the property `assetIds`', () async {
// TODO
});
- // List<String> assetIds (default value: const [])
- test('to test the property `assetIds`', () async {
+ // List<String> sharedWithUserIds (default value: const [])
+ test('to test the property `sharedWithUserIds`', () async {
// TODO
});
diff --git a/mobile/openapi/test/create_profile_image_response_dto_test.dart b/mobile/openapi/test/create_profile_image_response_dto_test.dart
index 83fee5b295..a09fed9504 100644
--- a/mobile/openapi/test/create_profile_image_response_dto_test.dart
+++ b/mobile/openapi/test/create_profile_image_response_dto_test.dart
@@ -16,13 +16,13 @@ void main() {
// final instance = CreateProfileImageResponseDto();
group('test CreateProfileImageResponseDto', () {
- // String userId
- test('to test the property `userId`', () async {
+ // String profileImagePath
+ test('to test the property `profileImagePath`', () async {
// TODO
});
- // String profileImagePath
- test('to test the property `profileImagePath`', () async {
+ // String userId
+ test('to test the property `userId`', () async {
// TODO
});
diff --git a/mobile/openapi/test/create_tag_dto_test.dart b/mobile/openapi/test/create_tag_dto_test.dart
index 8df20a4ef5..6bffb3200a 100644
--- a/mobile/openapi/test/create_tag_dto_test.dart
+++ b/mobile/openapi/test/create_tag_dto_test.dart
@@ -16,13 +16,13 @@ void main() {
// final instance = CreateTagDto();
group('test CreateTagDto', () {
- // TagTypeEnum type
- test('to test the property `type`', () async {
+ // String name
+ test('to test the property `name`', () async {
// TODO
});
- // String name
- test('to test the property `name`', () async {
+ // TagTypeEnum type
+ test('to test the property `type`', () async {
// TODO
});
diff --git a/mobile/openapi/test/create_user_dto_test.dart b/mobile/openapi/test/create_user_dto_test.dart
index 327acbbe38..872635e2fb 100644
--- a/mobile/openapi/test/create_user_dto_test.dart
+++ b/mobile/openapi/test/create_user_dto_test.dart
@@ -21,8 +21,8 @@ void main() {
// TODO
});
- // String password
- test('to test the property `password`', () async {
+ // String externalPath
+ test('to test the property `externalPath`', () async {
// TODO
});
@@ -36,13 +36,13 @@ void main() {
// TODO
});
- // String storageLabel
- test('to test the property `storageLabel`', () async {
+ // String password
+ test('to test the property `password`', () async {
// TODO
});
- // String externalPath
- test('to test the property `externalPath`', () async {
+ // String storageLabel
+ test('to test the property `storageLabel`', () async {
// TODO
});
diff --git a/mobile/openapi/test/curated_locations_response_dto_test.dart b/mobile/openapi/test/curated_locations_response_dto_test.dart
index da4cccf3da..7529aaf7c8 100644
--- a/mobile/openapi/test/curated_locations_response_dto_test.dart
+++ b/mobile/openapi/test/curated_locations_response_dto_test.dart
@@ -16,21 +16,11 @@ void main() {
// final instance = CuratedLocationsResponseDto();
group('test CuratedLocationsResponseDto', () {
- // String id
- test('to test the property `id`', () async {
- // TODO
- });
-
// String city
test('to test the property `city`', () async {
// TODO
});
- // String resizePath
- test('to test the property `resizePath`', () async {
- // TODO
- });
-
// String deviceAssetId
test('to test the property `deviceAssetId`', () async {
// TODO
@@ -41,6 +31,16 @@ void main() {
// TODO
});
+ // String id
+ test('to test the property `id`', () async {
+ // TODO
+ });
+
+ // String resizePath
+ test('to test the property `resizePath`', () async {
+ // TODO
+ });
+
});
diff --git a/mobile/openapi/test/curated_objects_response_dto_test.dart b/mobile/openapi/test/curated_objects_response_dto_test.dart
index 8ef640bd92..f71723ab27 100644
--- a/mobile/openapi/test/curated_objects_response_dto_test.dart
+++ b/mobile/openapi/test/curated_objects_response_dto_test.dart
@@ -16,28 +16,28 @@ void main() {
// final instance = CuratedObjectsResponseDto();
group('test CuratedObjectsResponseDto', () {
- // String id
- test('to test the property `id`', () async {
+ // String deviceAssetId
+ test('to test the property `deviceAssetId`', () async {
// TODO
});
- // String object
- test('to test the property `object`', () async {
+ // String deviceId
+ test('to test the property `deviceId`', () async {
// TODO
});
- // String resizePath
- test('to test the property `resizePath`', () async {
+ // String id
+ test('to test the property `id`', () async {
// TODO
});
- // String deviceAssetId
- test('to test the property `deviceAssetId`', () async {
+ // String object
+ test('to test the property `object`', () async {
// TODO
});
- // String deviceId
- test('to test the property `deviceId`', () async {
+ // String resizePath
+ test('to test the property `resizePath`', () async {
// TODO
});
diff --git a/mobile/openapi/test/delete_asset_response_dto_test.dart b/mobile/openapi/test/delete_asset_response_dto_test.dart
index de09a5b31a..7766caec7f 100644
--- a/mobile/openapi/test/delete_asset_response_dto_test.dart
+++ b/mobile/openapi/test/delete_asset_response_dto_test.dart
@@ -16,13 +16,13 @@ void main() {
// final instance = DeleteAssetResponseDto();
group('test DeleteAssetResponseDto', () {
- // DeleteAssetStatus status
- test('to test the property `status`', () async {
+ // String id
+ test('to test the property `id`', () async {
// TODO
});
- // String id
- test('to test the property `id`', () async {
+ // DeleteAssetStatus status
+ test('to test the property `status`', () async {
// TODO
});
diff --git a/mobile/openapi/test/download_archive_info_test.dart b/mobile/openapi/test/download_archive_info_test.dart
index 35f29ef99a..53c705a378 100644
--- a/mobile/openapi/test/download_archive_info_test.dart
+++ b/mobile/openapi/test/download_archive_info_test.dart
@@ -16,13 +16,13 @@ void main() {
// final instance = DownloadArchiveInfo();
group('test DownloadArchiveInfo', () {
- // int size
- test('to test the property `size`', () async {
+ // List<String> assetIds (default value: const [])
+ test('to test the property `assetIds`', () async {
// TODO
});
- // List<String> assetIds (default value: const [])
- test('to test the property `assetIds`', () async {
+ // int size
+ test('to test the property `size`', () async {
// TODO
});
diff --git a/mobile/openapi/test/download_response_dto_test.dart b/mobile/openapi/test/download_response_dto_test.dart
index b823c1441e..949c9517aa 100644
--- a/mobile/openapi/test/download_response_dto_test.dart
+++ b/mobile/openapi/test/download_response_dto_test.dart
@@ -16,13 +16,13 @@ void main() {
// final instance = DownloadResponseDto();
group('test DownloadResponseDto', () {
- // int totalSize
- test('to test the property `totalSize`', () async {
+ // List<DownloadArchiveInfo> archives (default value: const [])
+ test('to test the property `archives`', () async {
// TODO
});
- // List<DownloadArchiveInfo> archives (default value: const [])
- test('to test the property `archives`', () async {
+ // int totalSize
+ test('to test the property `totalSize`', () async {
// TODO
});
diff --git a/mobile/openapi/test/exif_response_dto_test.dart b/mobile/openapi/test/exif_response_dto_test.dart
index 6ab5d1edbd..43d5b2673b 100644
--- a/mobile/openapi/test/exif_response_dto_test.dart
+++ b/mobile/openapi/test/exif_response_dto_test.dart
@@ -16,23 +16,23 @@ void main() {
// final instance = ExifResponseDto();
group('test ExifResponseDto', () {
- // int fileSizeInByte
- test('to test the property `fileSizeInByte`', () async {
+ // String city
+ test('to test the property `city`', () async {
// TODO
});
- // String make
- test('to test the property `make`', () async {
+ // String country
+ test('to test the property `country`', () async {
// TODO
});
- // String model
- test('to test the property `model`', () async {
+ // DateTime dateTimeOriginal
+ test('to test the property `dateTimeOriginal`', () async {
// TODO
});
- // num exifImageWidth
- test('to test the property `exifImageWidth`', () async {
+ // String description
+ test('to test the property `description`', () async {
// TODO
});
@@ -41,33 +41,23 @@ void main() {
// TODO
});
- // String orientation
- test('to test the property `orientation`', () async {
- // TODO
- });
-
- // DateTime dateTimeOriginal
- test('to test the property `dateTimeOriginal`', () async {
- // TODO
- });
-
- // DateTime modifyDate
- test('to test the property `modifyDate`', () async {
+ // num exifImageWidth
+ test('to test the property `exifImageWidth`', () async {
// TODO
});
- // String timeZone
- test('to test the property `timeZone`', () async {
+ // String exposureTime
+ test('to test the property `exposureTime`', () async {
// TODO
});
- // String lensModel
- test('to test the property `lensModel`', () async {
+ // num fNumber
+ test('to test the property `fNumber`', () async {
// TODO
});
- // num fNumber
- test('to test the property `fNumber`', () async {
+ // int fileSizeInByte
+ test('to test the property `fileSizeInByte`', () async {
// TODO
});
@@ -81,13 +71,13 @@ void main() {
// TODO
});
- // String exposureTime
- test('to test the property `exposureTime`', () async {
+ // num latitude
+ test('to test the property `latitude`', () async {
// TODO
});
- // num latitude
- test('to test the property `latitude`', () async {
+ // String lensModel
+ test('to test the property `lensModel`', () async {
// TODO
});
@@ -96,23 +86,23 @@ void main() {
// TODO
});
- // String city
- test('to test the property `city`', () async {
+ // String make
+ test('to test the property `make`', () async {
// TODO
});
- // String state
- test('to test the property `state`', () async {
+ // String model
+ test('to test the property `model`', () async {
// TODO
});
- // String country
- test('to test the property `country`', () async {
+ // DateTime modifyDate
+ test('to test the property `modifyDate`', () async {
// TODO
});
- // String description
- test('to test the property `description`', () async {
+ // String orientation
+ test('to test the property `orientation`', () async {
// TODO
});
@@ -121,6 +111,16 @@ void main() {
// TODO
});
+ // String state
+ test('to test the property `state`', () async {
+ // TODO
+ });
+
+ // String timeZone
+ test('to test the property `timeZone`', () async {
+ // TODO
+ });
+
});
diff --git a/mobile/openapi/test/import_asset_dto_test.dart b/mobile/openapi/test/import_asset_dto_test.dart
index c602c83ec5..213a75265b 100644
--- a/mobile/openapi/test/import_asset_dto_test.dart
+++ b/mobile/openapi/test/import_asset_dto_test.dart
@@ -16,21 +16,11 @@ void main() {
// final instance = ImportAssetDto();
group('test ImportAssetDto', () {
- // bool isReadOnly (default value: true)
- test('to test the property `isReadOnly`', () async {
- // TODO
- });
-
// String assetPath
test('to test the property `assetPath`', () async {
// TODO
});
- // String sidecarPath
- test('to test the property `sidecarPath`', () async {
- // TODO
- });
-
// String deviceAssetId
test('to test the property `deviceAssetId`', () async {
// TODO
@@ -41,6 +31,11 @@ void main() {
// TODO
});
+ // String duration
+ test('to test the property `duration`', () async {
+ // TODO
+ });
+
// DateTime fileCreatedAt
test('to test the property `fileCreatedAt`', () async {
// TODO
@@ -51,13 +46,18 @@ void main() {
// TODO
});
+ // bool isArchived
+ test('to test the property `isArchived`', () async {
+ // TODO
+ });
+
// bool isFavorite
test('to test the property `isFavorite`', () async {
// TODO
});
- // bool isArchived
- test('to test the property `isArchived`', () async {
+ // bool isReadOnly (default value: true)
+ test('to test the property `isReadOnly`', () async {
// TODO
});
@@ -66,8 +66,8 @@ void main() {
// TODO
});
- // String duration
- test('to test the property `duration`', () async {
+ // String sidecarPath
+ test('to test the property `sidecarPath`', () async {
// TODO
});
diff --git a/mobile/openapi/test/job_counts_dto_test.dart b/mobile/openapi/test/job_counts_dto_test.dart
index 299ac292db..43e24df0fc 100644
--- a/mobile/openapi/test/job_counts_dto_test.dart
+++ b/mobile/openapi/test/job_counts_dto_test.dart
@@ -26,18 +26,13 @@ void main() {
// TODO
});
- // int failed
- test('to test the property `failed`', () async {
- // TODO
- });
-
// int delayed
test('to test the property `delayed`', () async {
// TODO
});
- // int waiting
- test('to test the property `waiting`', () async {
+ // int failed
+ test('to test the property `failed`', () async {
// TODO
});
@@ -46,6 +41,11 @@ void main() {
// TODO
});
+ // int waiting
+ test('to test the property `waiting`', () async {
+ // TODO
+ });
+
});
diff --git a/mobile/openapi/test/login_response_dto_test.dart b/mobile/openapi/test/login_response_dto_test.dart
index f707799798..408b7fade6 100644
--- a/mobile/openapi/test/login_response_dto_test.dart
+++ b/mobile/openapi/test/login_response_dto_test.dart
@@ -21,18 +21,13 @@ void main() {
// TODO
});
- // String userId
- test('to test the property `userId`', () async {
- // TODO
- });
-
- // String userEmail
- test('to test the property `userEmail`', () async {
+ // String firstName
+ test('to test the property `firstName`', () async {
// TODO
});
- // String firstName
- test('to test the property `firstName`', () async {
+ // bool isAdmin
+ test('to test the property `isAdmin`', () async {
// TODO
});
@@ -46,13 +41,18 @@ void main() {
// TODO
});
- // bool isAdmin
- test('to test the property `isAdmin`', () async {
+ // bool shouldChangePassword
+ test('to test the property `shouldChangePassword`', () async {
// TODO
});
- // bool shouldChangePassword
- test('to test the property `shouldChangePassword`', () async {
+ // String userEmail
+ test('to test the property `userEmail`', () async {
+ // TODO
+ });
+
+ // String userId
+ test('to test the property `userId`', () async {
// TODO
});
diff --git a/mobile/openapi/test/logout_response_dto_test.dart b/mobile/openapi/test/logout_response_dto_test.dart
index 2d83e1613a..1d16ab3c6c 100644
--- a/mobile/openapi/test/logout_response_dto_test.dart
+++ b/mobile/openapi/test/logout_response_dto_test.dart
@@ -16,13 +16,13 @@ void main() {
// final instance = LogoutResponseDto();
group('test LogoutResponseDto', () {
- // bool successful
- test('to test the property `successful`', () async {
+ // String redirectUri
+ test('to test the property `redirectUri`', () async {
// TODO
});
- // String redirectUri
- test('to test the property `redirectUri`', () async {
+ // bool successful
+ test('to test the property `successful`', () async {
// TODO
});
diff --git a/mobile/openapi/test/memory_lane_response_dto_test.dart b/mobile/openapi/test/memory_lane_response_dto_test.dart
index 4e25825cdb..2dad2c356b 100644
--- a/mobile/openapi/test/memory_lane_response_dto_test.dart
+++ b/mobile/openapi/test/memory_lane_response_dto_test.dart
@@ -16,13 +16,13 @@ void main() {
// final instance = MemoryLaneResponseDto();
group('test MemoryLaneResponseDto', () {
- // String title
- test('to test the property `title`', () async {
+ // List<AssetResponseDto> assets (default value: const [])
+ test('to test the property `assets`', () async {
// TODO
});
- // List<AssetResponseDto> assets (default value: const [])
- test('to test the property `assets`', () async {
+ // String title
+ test('to test the property `title`', () async {
// TODO
});
diff --git a/mobile/openapi/test/o_auth_config_response_dto_test.dart b/mobile/openapi/test/o_auth_config_response_dto_test.dart
index 309324f884..fd10307b31 100644
--- a/mobile/openapi/test/o_auth_config_response_dto_test.dart
+++ b/mobile/openapi/test/o_auth_config_response_dto_test.dart
@@ -16,28 +16,28 @@ void main() {
// final instance = OAuthConfigResponseDto();
group('test OAuthConfigResponseDto', () {
- // bool enabled
- test('to test the property `enabled`', () async {
+ // bool autoLaunch
+ test('to test the property `autoLaunch`', () async {
// TODO
});
- // bool passwordLoginEnabled
- test('to test the property `passwordLoginEnabled`', () async {
+ // String buttonText
+ test('to test the property `buttonText`', () async {
// TODO
});
- // String url
- test('to test the property `url`', () async {
+ // bool enabled
+ test('to test the property `enabled`', () async {
// TODO
});
- // String buttonText
- test('to test the property `buttonText`', () async {
+ // bool passwordLoginEnabled
+ test('to test the property `passwordLoginEnabled`', () async {
// TODO
});
- // bool autoLaunch
- test('to test the property `autoLaunch`', () async {
+ // String url
+ test('to test the property `url`', () async {
// TODO
});
diff --git a/mobile/openapi/test/people_response_dto_test.dart b/mobile/openapi/test/people_response_dto_test.dart
index c48f0099ad..0b155b0deb 100644
--- a/mobile/openapi/test/people_response_dto_test.dart
+++ b/mobile/openapi/test/people_response_dto_test.dart
@@ -16,6 +16,11 @@ void main() {
// final instance = PeopleResponseDto();
group('test PeopleResponseDto', () {
+ // List<PersonResponseDto> people (default value: const [])
+ test('to test the property `people`', () async {
+ // TODO
+ });
+
// num total
test('to test the property `total`', () async {
// TODO
@@ -26,11 +31,6 @@ void main() {
// TODO
});
- // List<PersonResponseDto> people (default value: const [])
- test('to test the property `people`', () async {
- // TODO
- });
-
});
diff --git a/mobile/openapi/test/people_update_item_test.dart b/mobile/openapi/test/people_update_item_test.dart
index 3a9d3b5c86..9c366e4ebe 100644
--- a/mobile/openapi/test/people_update_item_test.dart
+++ b/mobile/openapi/test/people_update_item_test.dart
@@ -16,30 +16,30 @@ void main() {
// final instance = PeopleUpdateItem();
group('test PeopleUpdateItem', () {
- // Person id.
- // String id
- test('to test the property `id`', () async {
- // TODO
- });
-
- // Person name.
- // String name
- test('to test the property `name`', () async {
- // TODO
- });
-
// Asset is used to get the feature face thumbnail.
// String featureFaceAssetId
test('to test the property `featureFaceAssetId`', () async {
// TODO
});
+ // Person id.
+ // String id
+ test('to test the property `id`', () async {
+ // TODO
+ });
+
// Person visibility
// bool isHidden
test('to test the property `isHidden`', () async {
// TODO
});
+ // Person name.
+ // String name
+ test('to test the property `name`', () async {
+ // TODO
+ });
+
});
diff --git a/mobile/openapi/test/person_response_dto_test.dart b/mobile/openapi/test/person_response_dto_test.dart
index 129a9c3140..8b9f7bec8a 100644
--- a/mobile/openapi/test/person_response_dto_test.dart
+++ b/mobile/openapi/test/person_response_dto_test.dart
@@ -21,6 +21,11 @@ void main() {
// TODO
});
+ // bool isHidden
+ test('to test the property `isHidden`', () async {
+ // TODO
+ });
+
// String name
test('to test the property `name`', () async {
// TODO
@@ -31,11 +36,6 @@ void main() {
// TODO
});
- // bool isHidden
- test('to test the property `isHidden`', () async {
- // TODO
- });
-
});
diff --git a/mobile/openapi/test/person_update_dto_test.dart b/mobile/openapi/test/person_update_dto_test.dart
index 47de2eb877..b515c2c8e1 100644
--- a/mobile/openapi/test/person_update_dto_test.dart
+++ b/mobile/openapi/test/person_update_dto_test.dart
@@ -16,12 +16,6 @@ void main() {
// final instance = PersonUpdateDto();
group('test PersonUpdateDto', () {
- // Person name.
- // String name
- test('to test the property `name`', () async {
- // TODO
- });
-
// Asset is used to get the feature face thumbnail.
// String featureFaceAssetId
test('to test the property `featureFaceAssetId`', () async {
@@ -34,6 +28,12 @@ void main() {
// TODO
});
+ // Person name.
+ // String name
+ test('to test the property `name`', () async {
+ // TODO
+ });
+
});
diff --git a/mobile/openapi/test/search_album_response_dto_test.dart b/mobile/openapi/test/search_album_response_dto_test.dart
index 7de4a859bf..7002d34b09 100644
--- a/mobile/openapi/test/search_album_response_dto_test.dart
+++ b/mobile/openapi/test/search_album_response_dto_test.dart
@@ -16,13 +16,13 @@ void main() {
// final instance = SearchAlbumResponseDto();
group('test SearchAlbumResponseDto', () {
- // int total
- test('to test the property `total`', () async {
+ // int count
+ test('to test the property `count`', () async {
// TODO
});
- // int count
- test('to test the property `count`', () async {
+ // List<SearchFacetResponseDto> facets (default value: const [])
+ test('to test the property `facets`', () async {
// TODO
});
@@ -31,8 +31,8 @@ void main() {
// TODO
});
- // List<SearchFacetResponseDto> facets (default value: const [])
- test('to test the property `facets`', () async {
+ // int total
+ test('to test the property `total`', () async {
// TODO
});
diff --git a/mobile/openapi/test/search_asset_response_dto_test.dart b/mobile/openapi/test/search_asset_response_dto_test.dart
index b1452681ca..87a7a61e9d 100644
--- a/mobile/openapi/test/search_asset_response_dto_test.dart
+++ b/mobile/openapi/test/search_asset_response_dto_test.dart
@@ -16,13 +16,13 @@ void main() {
// final instance = SearchAssetResponseDto();
group('test SearchAssetResponseDto', () {
- // int total
- test('to test the property `total`', () async {
+ // int count
+ test('to test the property `count`', () async {
// TODO
});
- // int count
- test('to test the property `count`', () async {
+ // List<SearchFacetResponseDto> facets (default value: const [])
+ test('to test the property `facets`', () async {
// TODO
});
@@ -31,8 +31,8 @@ void main() {
// TODO
});
- // List<SearchFacetResponseDto> facets (default value: const [])
- test('to test the property `facets`', () async {
+ // int total
+ test('to test the property `total`', () async {
// TODO
});
diff --git a/mobile/openapi/test/search_explore_item_test.dart b/mobile/openapi/test/search_explore_item_test.dart
index d4fae1dbff..2bc3ad7aee 100644
--- a/mobile/openapi/test/search_explore_item_test.dart
+++ b/mobile/openapi/test/search_explore_item_test.dart
@@ -16,13 +16,13 @@ void main() {
// final instance = SearchExploreItem();
group('test SearchExploreItem', () {
- // String value
- test('to test the property `value`', () async {
+ // AssetResponseDto data
+ test('to test the property `data`', () async {
// TODO
});
- // AssetResponseDto data
- test('to test the property `data`', () async {
+ // String value
+ test('to test the property `value`', () async {
// TODO
});
diff --git a/mobile/openapi/test/search_facet_response_dto_test.dart b/mobile/openapi/test/search_facet_response_dto_test.dart
index 06c374497a..ed5e0d83aa 100644
--- a/mobile/openapi/test/search_facet_response_dto_test.dart
+++ b/mobile/openapi/test/search_facet_response_dto_test.dart
@@ -16,13 +16,13 @@ void main() {
// final instance = SearchFacetResponseDto();
group('test SearchFacetResponseDto', () {
- // String fieldName
- test('to test the property `fieldName`', () async {
+ // List<SearchFacetCountResponseDto> counts (default value: const [])
+ test('to test the property `counts`', () async {
// TODO
});
- // List<SearchFacetCountResponseDto> counts (default value: const [])
- test('to test the property `counts`', () async {
+ // String fieldName
+ test('to test the property `fieldName`', () async {
// TODO
});
diff --git a/mobile/openapi/test/server_info_response_dto_test.dart b/mobile/openapi/test/server_info_response_dto_test.dart
index 8ecf13fc49..e41635ec51 100644
--- a/mobile/openapi/test/server_info_response_dto_test.dart
+++ b/mobile/openapi/test/server_info_response_dto_test.dart
@@ -16,28 +16,28 @@ void main() {
// final instance = ServerInfoResponseDto();
group('test ServerInfoResponseDto', () {
- // int diskSizeRaw
- test('to test the property `diskSizeRaw`', () async {
+ // String diskAvailable
+ test('to test the property `diskAvailable`', () async {
// TODO
});
- // int diskUseRaw
- test('to test the property `diskUseRaw`', () async {
+ // int diskAvailableRaw
+ test('to test the property `diskAvailableRaw`', () async {
// TODO
});
- // int diskAvailableRaw
- test('to test the property `diskAvailableRaw`', () async {
+ // String diskSize
+ test('to test the property `diskSize`', () async {
// TODO
});
- // double diskUsagePercentage
- test('to test the property `diskUsagePercentage`', () async {
+ // int diskSizeRaw
+ test('to test the property `diskSizeRaw`', () async {
// TODO
});
- // String diskSize
- test('to test the property `diskSize`', () async {
+ // double diskUsagePercentage
+ test('to test the property `diskUsagePercentage`', () async {
// TODO
});
@@ -46,8 +46,8 @@ void main() {
// TODO
});
- // String diskAvailable
- test('to test the property `diskAvailable`', () async {
+ // int diskUseRaw
+ test('to test the property `diskUseRaw`', () async {
// TODO
});
diff --git a/mobile/openapi/test/server_media_types_response_dto_test.dart b/mobile/openapi/test/server_media_types_response_dto_test.dart
index 041e646805..9ae2bfa2d9 100644
--- a/mobile/openapi/test/server_media_types_response_dto_test.dart
+++ b/mobile/openapi/test/server_media_types_response_dto_test.dart
@@ -16,11 +16,6 @@ void main() {
// final instance = ServerMediaTypesResponseDto();
group('test ServerMediaTypesResponseDto', () {
- // List<String> video (default value: const [])
- test('to test the property `video`', () async {
- // TODO
- });
-
// List<String> image (default value: const [])
test('to test the property `image`', () async {
// TODO
@@ -31,6 +26,11 @@ void main() {
// TODO
});
+ // List<String> video (default value: const [])
+ test('to test the property `video`', () async {
+ // TODO
+ });
+
});
diff --git a/mobile/openapi/test/server_stats_response_dto_test.dart b/mobile/openapi/test/server_stats_response_dto_test.dart
index f5d2c3dc9b..fa7e032aa1 100644
--- a/mobile/openapi/test/server_stats_response_dto_test.dart
+++ b/mobile/openapi/test/server_stats_response_dto_test.dart
@@ -21,11 +21,6 @@ void main() {
// TODO
});
- // int videos (default value: 0)
- test('to test the property `videos`', () async {
- // TODO
- });
-
// int usage (default value: 0)
test('to test the property `usage`', () async {
// TODO
@@ -36,6 +31,11 @@ void main() {
// TODO
});
+ // int videos (default value: 0)
+ test('to test the property `videos`', () async {
+ // TODO
+ });
+
});
diff --git a/mobile/openapi/test/shared_link_create_dto_test.dart b/mobile/openapi/test/shared_link_create_dto_test.dart
index 0a2a6a7f99..397e6e902b 100644
--- a/mobile/openapi/test/shared_link_create_dto_test.dart
+++ b/mobile/openapi/test/shared_link_create_dto_test.dart
@@ -16,18 +16,23 @@ void main() {
// final instance = SharedLinkCreateDto();
group('test SharedLinkCreateDto', () {
- // SharedLinkType type
- test('to test the property `type`', () async {
+ // String albumId
+ test('to test the property `albumId`', () async {
// TODO
});
- // List<String> assetIds (default value: const [])
- test('to test the property `assetIds`', () async {
+ // bool allowDownload (default value: true)
+ test('to test the property `allowDownload`', () async {
// TODO
});
- // String albumId
- test('to test the property `albumId`', () async {
+ // bool allowUpload (default value: false)
+ test('to test the property `allowUpload`', () async {
+ // TODO
+ });
+
+ // List<String> assetIds (default value: const [])
+ test('to test the property `assetIds`', () async {
// TODO
});
@@ -41,18 +46,13 @@ void main() {
// TODO
});
- // bool allowUpload (default value: false)
- test('to test the property `allowUpload`', () async {
- // TODO
- });
-
- // bool allowDownload (default value: true)
- test('to test the property `allowDownload`', () async {
+ // bool showExif (default value: true)
+ test('to test the property `showExif`', () async {
// TODO
});
- // bool showExif (default value: true)
- test('to test the property `showExif`', () async {
+ // SharedLinkType type
+ test('to test the property `type`', () async {
// TODO
});
diff --git a/mobile/openapi/test/shared_link_edit_dto_test.dart b/mobile/openapi/test/shared_link_edit_dto_test.dart
index 575892f1e2..7df8a5e488 100644
--- a/mobile/openapi/test/shared_link_edit_dto_test.dart
+++ b/mobile/openapi/test/shared_link_edit_dto_test.dart
@@ -16,23 +16,23 @@ void main() {
// final instance = SharedLinkEditDto();
group('test SharedLinkEditDto', () {
- // String description
- test('to test the property `description`', () async {
+ // bool allowDownload
+ test('to test the property `allowDownload`', () async {
// TODO
});
- // DateTime expiresAt
- test('to test the property `expiresAt`', () async {
+ // bool allowUpload
+ test('to test the property `allowUpload`', () async {
// TODO
});
- // bool allowUpload
- test('to test the property `allowUpload`', () async {
+ // String description
+ test('to test the property `description`', () async {
// TODO
});
- // bool allowDownload
- test('to test the property `allowDownload`', () async {
+ // DateTime expiresAt
+ test('to test the property `expiresAt`', () async {
// TODO
});
diff --git a/mobile/openapi/test/shared_link_response_dto_test.dart b/mobile/openapi/test/shared_link_response_dto_test.dart
index 0554a0553d..867fb0b133 100644
--- a/mobile/openapi/test/shared_link_response_dto_test.dart
+++ b/mobile/openapi/test/shared_link_response_dto_test.dart
@@ -16,33 +16,33 @@ void main() {
// final instance = SharedLinkResponseDto();
group('test SharedLinkResponseDto', () {
- // SharedLinkType type
- test('to test the property `type`', () async {
+ // AlbumResponseDto album
+ test('to test the property `album`', () async {
// TODO
});
- // String id
- test('to test the property `id`', () async {
+ // bool allowDownload
+ test('to test the property `allowDownload`', () async {
// TODO
});
- // String description
- test('to test the property `description`', () async {
+ // bool allowUpload
+ test('to test the property `allowUpload`', () async {
// TODO
});
- // String userId
- test('to test the property `userId`', () async {
+ // List<AssetResponseDto> assets (default value: const [])
+ test('to test the property `assets`', () async {
// TODO
});
- // String key
- test('to test the property `key`', () async {
+ // DateTime createdAt
+ test('to test the property `createdAt`', () async {
// TODO
});
- // DateTime createdAt
- test('to test the property `createdAt`', () async {
+ // String description
+ test('to test the property `description`', () async {
// TODO
});
@@ -51,28 +51,28 @@ void main() {
// TODO
});
- // List<AssetResponseDto> assets (default value: const [])
- test('to test the property `assets`', () async {
+ // String id
+ test('to test the property `id`', () async {
// TODO
});
- // AlbumResponseDto album
- test('to test the property `album`', () async {
+ // String key
+ test('to test the property `key`', () async {
// TODO
});
- // bool allowUpload
- test('to test the property `allowUpload`', () async {
+ // bool showExif
+ test('to test the property `showExif`', () async {
// TODO
});
- // bool allowDownload
- test('to test the property `allowDownload`', () async {
+ // SharedLinkType type
+ test('to test the property `type`', () async {
// TODO
});
- // bool showExif
- test('to test the property `showExif`', () async {
+ // String userId
+ test('to test the property `userId`', () async {
// TODO
});
diff --git a/mobile/openapi/test/sign_up_dto_test.dart b/mobile/openapi/test/sign_up_dto_test.dart
index 4c4d376b82..5b02f04352 100644
--- a/mobile/openapi/test/sign_up_dto_test.dart
+++ b/mobile/openapi/test/sign_up_dto_test.dart
@@ -21,11 +21,6 @@ void main() {
// TODO
});
- // String password
- test('to test the property `password`', () async {
- // TODO
- });
-
// String firstName
test('to test the property `firstName`', () async {
// TODO
@@ -36,6 +31,11 @@ void main() {
// TODO
});
+ // String password
+ test('to test the property `password`', () async {
+ // TODO
+ });
+
});
diff --git a/mobile/openapi/test/smart_info_response_dto_test.dart b/mobile/openapi/test/smart_info_response_dto_test.dart
index 711e62cc5b..15758d0636 100644
--- a/mobile/openapi/test/smart_info_response_dto_test.dart
+++ b/mobile/openapi/test/smart_info_response_dto_test.dart
@@ -16,13 +16,13 @@ void main() {
// final instance = SmartInfoResponseDto();
group('test SmartInfoResponseDto', () {
- // List<String> tags (default value: const [])
- test('to test the property `tags`', () async {
+ // List<String> objects (default value: const [])
+ test('to test the property `objects`', () async {
// TODO
});
- // List<String> objects (default value: const [])
- test('to test the property `objects`', () async {
+ // List<String> tags (default value: const [])
+ test('to test the property `tags`', () async {
// TODO
});
diff --git a/mobile/openapi/test/system_config_dto_test.dart b/mobile/openapi/test/system_config_dto_test.dart
index 7ba7608efc..34b5a8cde3 100644
--- a/mobile/openapi/test/system_config_dto_test.dart
+++ b/mobile/openapi/test/system_config_dto_test.dart
@@ -21,6 +21,11 @@ void main() {
// TODO
});
+ // SystemConfigJobDto job
+ test('to test the property `job`', () async {
+ // TODO
+ });
+
// SystemConfigOAuthDto oauth
test('to test the property `oauth`', () async {
// TODO
@@ -36,11 +41,6 @@ void main() {
// TODO
});
- // SystemConfigJobDto job
- test('to test the property `job`', () async {
- // TODO
- });
-
});
diff --git a/mobile/openapi/test/system_config_f_fmpeg_dto_test.dart b/mobile/openapi/test/system_config_f_fmpeg_dto_test.dart
index 7f210e9780..f2aac1e60e 100644
--- a/mobile/openapi/test/system_config_f_fmpeg_dto_test.dart
+++ b/mobile/openapi/test/system_config_f_fmpeg_dto_test.dart
@@ -21,13 +21,13 @@ void main() {
// TODO
});
- // int threads
- test('to test the property `threads`', () async {
+ // String maxBitrate
+ test('to test the property `maxBitrate`', () async {
// TODO
});
- // VideoCodec targetVideoCodec
- test('to test the property `targetVideoCodec`', () async {
+ // String preset
+ test('to test the property `preset`', () async {
// TODO
});
@@ -36,23 +36,23 @@ void main() {
// TODO
});
- // TranscodePolicy transcode
- test('to test the property `transcode`', () async {
+ // String targetResolution
+ test('to test the property `targetResolution`', () async {
// TODO
});
- // String preset
- test('to test the property `preset`', () async {
+ // VideoCodec targetVideoCodec
+ test('to test the property `targetVideoCodec`', () async {
// TODO
});
- // String targetResolution
- test('to test the property `targetResolution`', () async {
+ // int threads
+ test('to test the property `threads`', () async {
// TODO
});
- // String maxBitrate
- test('to test the property `maxBitrate`', () async {
+ // TranscodePolicy transcode
+ test('to test the property `transcode`', () async {
// TODO
});
diff --git a/mobile/openapi/test/system_config_job_dto_test.dart b/mobile/openapi/test/system_config_job_dto_test.dart
index 3fd36d1846..0dbc6feee4 100644
--- a/mobile/openapi/test/system_config_job_dto_test.dart
+++ b/mobile/openapi/test/system_config_job_dto_test.dart
@@ -16,18 +16,18 @@ void main() {
// final instance = SystemConfigJobDto();
group('test SystemConfigJobDto', () {
- // JobSettingsDto thumbnailGeneration
- test('to test the property `thumbnailGeneration`', () async {
+ // JobSettingsDto backgroundTask
+ test('to test the property `backgroundTask`', () async {
// TODO
});
- // JobSettingsDto metadataExtraction
- test('to test the property `metadataExtraction`', () async {
+ // JobSettingsDto clipEncoding
+ test('to test the property `clipEncoding`', () async {
// TODO
});
- // JobSettingsDto videoConversion
- test('to test the property `videoConversion`', () async {
+ // JobSettingsDto metadataExtraction
+ test('to test the property `metadataExtraction`', () async {
// TODO
});
@@ -36,33 +36,33 @@ void main() {
// TODO
});
- // JobSettingsDto clipEncoding
- test('to test the property `clipEncoding`', () async {
+ // JobSettingsDto recognizeFaces
+ test('to test the property `recognizeFaces`', () async {
// TODO
});
- // JobSettingsDto storageTemplateMigration
- test('to test the property `storageTemplateMigration`', () async {
+ // JobSettingsDto search
+ test('to test the property `search`', () async {
// TODO
});
- // JobSettingsDto backgroundTask
- test('to test the property `backgroundTask`', () async {
+ // JobSettingsDto sidecar
+ test('to test the property `sidecar`', () async {
// TODO
});
- // JobSettingsDto search
- test('to test the property `search`', () async {
+ // JobSettingsDto storageTemplateMigration
+ test('to test the property `storageTemplateMigration`', () async {
// TODO
});
- // JobSettingsDto recognizeFaces
- test('to test the property `recognizeFaces`', () async {
+ // JobSettingsDto thumbnailGeneration
+ test('to test the property `thumbnailGeneration`', () async {
// TODO
});
- // JobSettingsDto sidecar
- test('to test the property `sidecar`', () async {
+ // JobSettingsDto videoConversion
+ test('to test the property `videoConversion`', () async {
// TODO
});
diff --git a/mobile/openapi/test/system_config_o_auth_dto_test.dart b/mobile/openapi/test/system_config_o_auth_dto_test.dart
index 88c8d2aa85..5fde153f1c 100644
--- a/mobile/openapi/test/system_config_o_auth_dto_test.dart
+++ b/mobile/openapi/test/system_config_o_auth_dto_test.dart
@@ -16,13 +16,18 @@ void main() {
// final instance = SystemConfigOAuthDto();
group('test SystemConfigOAuthDto', () {
- // bool enabled
- test('to test the property `enabled`', () async {
+ // bool autoLaunch
+ test('to test the property `autoLaunch`', () async {
// TODO
});
- // String issuerUrl
- test('to test the property `issuerUrl`', () async {
+ // bool autoRegister
+ test('to test the property `autoRegister`', () async {
+ // TODO
+ });
+
+ // String buttonText
+ test('to test the property `buttonText`', () async {
// TODO
});
@@ -36,38 +41,33 @@ void main() {
// TODO
});
- // String scope
- test('to test the property `scope`', () async {
- // TODO
- });
-
- // String storageLabelClaim
- test('to test the property `storageLabelClaim`', () async {
+ // bool enabled
+ test('to test the property `enabled`', () async {
// TODO
});
- // String buttonText
- test('to test the property `buttonText`', () async {
+ // String issuerUrl
+ test('to test the property `issuerUrl`', () async {
// TODO
});
- // bool autoRegister
- test('to test the property `autoRegister`', () async {
+ // bool mobileOverrideEnabled
+ test('to test the property `mobileOverrideEnabled`', () async {
// TODO
});
- // bool autoLaunch
- test('to test the property `autoLaunch`', () async {
+ // String mobileRedirectUri
+ test('to test the property `mobileRedirectUri`', () async {
// TODO
});
- // bool mobileOverrideEnabled
- test('to test the property `mobileOverrideEnabled`', () async {
+ // String scope
+ test('to test the property `scope`', () async {
// TODO
});
- // String mobileRedirectUri
- test('to test the property `mobileRedirectUri`', () async {
+ // String storageLabelClaim
+ test('to test the property `storageLabelClaim`', () async {
// TODO
});
diff --git a/mobile/openapi/test/system_config_template_storage_option_dto_test.dart b/mobile/openapi/test/system_config_template_storage_option_dto_test.dart
index 2824cc64d2..57e059d9b8 100644
--- a/mobile/openapi/test/system_config_template_storage_option_dto_test.dart
+++ b/mobile/openapi/test/system_config_template_storage_option_dto_test.dart
@@ -16,16 +16,6 @@ void main() {
// final instance = SystemConfigTemplateStorageOptionDto();
group('test SystemConfigTemplateStorageOptionDto', () {
- // List<String> yearOptions (default value: const [])
- test('to test the property `yearOptions`', () async {
- // TODO
- });
-
- // List<String> monthOptions (default value: const [])
- test('to test the property `monthOptions`', () async {
- // TODO
- });
-
// List<String> dayOptions (default value: const [])
test('to test the property `dayOptions`', () async {
// TODO
@@ -41,8 +31,8 @@ void main() {
// TODO
});
- // List<String> secondOptions (default value: const [])
- test('to test the property `secondOptions`', () async {
+ // List<String> monthOptions (default value: const [])
+ test('to test the property `monthOptions`', () async {
// TODO
});
@@ -51,6 +41,16 @@ void main() {
// TODO
});
+ // List<String> secondOptions (default value: const [])
+ test('to test the property `secondOptions`', () async {
+ // TODO
+ });
+
+ // List<String> yearOptions (default value: const [])
+ test('to test the property `yearOptions`', () async {
+ // TODO
+ });
+
});
diff --git a/mobile/openapi/test/tag_response_dto_test.dart b/mobile/openapi/test/tag_response_dto_test.dart
index 705a21ecd0..88f483caf5 100644
--- a/mobile/openapi/test/tag_response_dto_test.dart
+++ b/mobile/openapi/test/tag_response_dto_test.dart
@@ -16,11 +16,6 @@ void main() {
// final instance = TagResponseDto();
group('test TagResponseDto', () {
- // TagTypeEnum type
- test('to test the property `type`', () async {
- // TODO
- });
-
// String id
test('to test the property `id`', () async {
// TODO
@@ -31,6 +26,11 @@ void main() {
// TODO
});
+ // TagTypeEnum type
+ test('to test the property `type`', () async {
+ // TODO
+ });
+
// String userId
test('to test the property `userId`', () async {
// TODO
diff --git a/mobile/openapi/test/update_asset_dto_test.dart b/mobile/openapi/test/update_asset_dto_test.dart
index 94dcb27fc7..57ebfcee26 100644
--- a/mobile/openapi/test/update_asset_dto_test.dart
+++ b/mobile/openapi/test/update_asset_dto_test.dart
@@ -16,23 +16,23 @@ void main() {
// final instance = UpdateAssetDto();
group('test UpdateAssetDto', () {
- // List<String> tagIds (default value: const [])
- test('to test the property `tagIds`', () async {
+ // String description
+ test('to test the property `description`', () async {
// TODO
});
- // bool isFavorite
- test('to test the property `isFavorite`', () async {
+ // bool isArchived
+ test('to test the property `isArchived`', () async {
// TODO
});
- // bool isArchived
- test('to test the property `isArchived`', () async {
+ // bool isFavorite
+ test('to test the property `isFavorite`', () async {
// TODO
});
- // String description
- test('to test the property `description`', () async {
+ // List<String> tagIds (default value: const [])
+ test('to test the property `tagIds`', () async {
// TODO
});
diff --git a/mobile/openapi/test/update_user_dto_test.dart b/mobile/openapi/test/update_user_dto_test.dart
index 5e89eca18f..0654364354 100644
--- a/mobile/openapi/test/update_user_dto_test.dart
+++ b/mobile/openapi/test/update_user_dto_test.dart
@@ -16,18 +16,13 @@ void main() {
// final instance = UpdateUserDto();
group('test UpdateUserDto', () {
- // String id
- test('to test the property `id`', () async {
- // TODO
- });
-
// String email
test('to test the property `email`', () async {
// TODO
});
- // String password
- test('to test the property `password`', () async {
+ // String externalPath
+ test('to test the property `externalPath`', () async {
// TODO
});
@@ -36,23 +31,23 @@ void main() {
// TODO
});
- // String lastName
- test('to test the property `lastName`', () async {
+ // String id
+ test('to test the property `id`', () async {
// TODO
});
- // String storageLabel
- test('to test the property `storageLabel`', () async {
+ // bool isAdmin
+ test('to test the property `isAdmin`', () async {
// TODO
});
- // String externalPath
- test('to test the property `externalPath`', () async {
+ // String lastName
+ test('to test the property `lastName`', () async {
// TODO
});
- // bool isAdmin
- test('to test the property `isAdmin`', () async {
+ // String password
+ test('to test the property `password`', () async {
// TODO
});
@@ -61,6 +56,11 @@ void main() {
// TODO
});
+ // String storageLabel
+ test('to test the property `storageLabel`', () async {
+ // TODO
+ });
+
});
diff --git a/mobile/openapi/test/usage_by_user_dto_test.dart b/mobile/openapi/test/usage_by_user_dto_test.dart
index a4bec3f71d..685d49e9f9 100644
--- a/mobile/openapi/test/usage_by_user_dto_test.dart
+++ b/mobile/openapi/test/usage_by_user_dto_test.dart
@@ -16,8 +16,13 @@ void main() {
// final instance = UsageByUserDto();
group('test UsageByUserDto', () {
- // String userId
- test('to test the property `userId`', () async {
+ // int photos
+ test('to test the property `photos`', () async {
+ // TODO
+ });
+
+ // int usage
+ test('to test the property `usage`', () async {
// TODO
});
@@ -26,13 +31,13 @@ void main() {
// TODO
});
- // String userLastName
- test('to test the property `userLastName`', () async {
+ // String userId
+ test('to test the property `userId`', () async {
// TODO
});
- // int photos
- test('to test the property `photos`', () async {
+ // String userLastName
+ test('to test the property `userLastName`', () async {
// TODO
});
@@ -41,11 +46,6 @@ void main() {
// TODO
});
- // int usage
- test('to test the property `usage`', () async {
- // TODO
- });
-
});
diff --git a/mobile/openapi/test/user_response_dto_test.dart b/mobile/openapi/test/user_response_dto_test.dart
index f5c70f21ff..cd6fa7694f 100644
--- a/mobile/openapi/test/user_response_dto_test.dart
+++ b/mobile/openapi/test/user_response_dto_test.dart
@@ -16,8 +16,13 @@ void main() {
// final instance = UserResponseDto();
group('test UserResponseDto', () {
- // String id
- test('to test the property `id`', () async {
+ // DateTime createdAt
+ test('to test the property `createdAt`', () async {
+ // TODO
+ });
+
+ // DateTime deletedAt
+ test('to test the property `deletedAt`', () async {
// TODO
});
@@ -26,48 +31,48 @@ void main() {
// TODO
});
- // String firstName
- test('to test the property `firstName`', () async {
+ // String externalPath
+ test('to test the property `externalPath`', () async {
// TODO
});
- // String lastName
- test('to test the property `lastName`', () async {
+ // String firstName
+ test('to test the property `firstName`', () async {
// TODO
});
- // String storageLabel
- test('to test the property `storageLabel`', () async {
+ // String id
+ test('to test the property `id`', () async {
// TODO
});
- // String externalPath
- test('to test the property `externalPath`', () async {
+ // bool isAdmin
+ test('to test the property `isAdmin`', () async {
// TODO
});
- // String profileImagePath
- test('to test the property `profileImagePath`', () async {
+ // String lastName
+ test('to test the property `lastName`', () async {
// TODO
});
- // bool shouldChangePassword
- test('to test the property `shouldChangePassword`', () async {
+ // String oauthId
+ test('to test the property `oauthId`', () async {
// TODO
});
- // bool isAdmin
- test('to test the property `isAdmin`', () async {
+ // String profileImagePath
+ test('to test the property `profileImagePath`', () async {
// TODO
});
- // DateTime createdAt
- test('to test the property `createdAt`', () async {
+ // bool shouldChangePassword
+ test('to test the property `shouldChangePassword`', () async {
// TODO
});
- // DateTime deletedAt
- test('to test the property `deletedAt`', () async {
+ // String storageLabel
+ test('to test the property `storageLabel`', () async {
// TODO
});
@@ -76,11 +81,6 @@ void main() {
// TODO
});
- // String oauthId
- test('to test the property `oauthId`', () async {
- // TODO
- });
-
});
diff --git a/server/immich-openapi-specs.json b/server/immich-openapi-specs.json
index 56e96bd116..28db8ca291 100644
--- a/server/immich-openapi-specs.json
+++ b/server/immich-openapi-specs.json
@@ -26,22 +26,19 @@
],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/AlbumResponseDto"
- }
+ },
+ "type": "array"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Album"
- ],
"security": [
{
"bearer": []
@@ -52,36 +49,36 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Album"
]
},
"post": {
"operationId": "createAlbum",
"parameters": [],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CreateAlbumDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"201": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AlbumResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Album"
- ],
"security": [
{
"bearer": []
@@ -92,6 +89,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Album"
]
}
},
@@ -101,19 +101,16 @@
"parameters": [],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AlbumCountResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Album"
- ],
"security": [
{
"bearer": []
@@ -124,12 +121,15 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Album"
]
}
},
"/album/{id}": {
- "patch": {
- "operationId": "updateAlbumInfo",
+ "delete": {
+ "operationId": "deleteAlbum",
"parameters": [
{
"name": "id",
@@ -141,31 +141,11 @@
}
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdateAlbumDto"
- }
- }
- }
- },
"responses": {
"200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/AlbumResponseDto"
- }
- }
- }
+ "description": ""
}
},
- "tags": [
- "Album"
- ],
"security": [
{
"bearer": []
@@ -176,10 +156,13 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Album"
]
},
- "delete": {
- "operationId": "deleteAlbum",
+ "get": {
+ "operationId": "getAlbumInfo",
"parameters": [
{
"name": "id",
@@ -189,16 +172,28 @@
"format": "uuid",
"type": "string"
}
+ },
+ {
+ "name": "key",
+ "required": false,
+ "in": "query",
+ "schema": {
+ "type": "string"
+ }
}
],
"responses": {
"200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/AlbumResponseDto"
+ }
+ }
+ },
"description": ""
}
},
- "tags": [
- "Album"
- ],
"security": [
{
"bearer": []
@@ -209,10 +204,13 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Album"
]
},
- "get": {
- "operationId": "getAlbumInfo",
+ "patch": {
+ "operationId": "updateAlbumInfo",
"parameters": [
{
"name": "id",
@@ -222,31 +220,30 @@
"format": "uuid",
"type": "string"
}
- },
- {
- "name": "key",
- "required": false,
- "in": "query",
- "schema": {
- "type": "string"
- }
}
],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UpdateAlbumDto"
+ }
+ }
+ },
+ "required": true
+ },
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AlbumResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Album"
- ],
"security": [
{
"bearer": []
@@ -257,12 +254,15 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Album"
]
}
},
"/album/{id}/assets": {
- "put": {
- "operationId": "addAssetsToAlbum",
+ "delete": {
+ "operationId": "removeAssetFromAlbum",
"parameters": [
{
"name": "id",
@@ -272,41 +272,30 @@
"format": "uuid",
"type": "string"
}
- },
- {
- "name": "key",
- "required": false,
- "in": "query",
- "schema": {
- "type": "string"
- }
}
],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/AddAssetsDto"
+ "$ref": "#/components/schemas/RemoveAssetsDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/AddAssetsResponseDto"
+ "$ref": "#/components/schemas/AlbumResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Album"
- ],
"security": [
{
"bearer": []
@@ -317,10 +306,13 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Album"
]
},
- "delete": {
- "operationId": "removeAssetFromAlbum",
+ "put": {
+ "operationId": "addAssetsToAlbum",
"parameters": [
{
"name": "id",
@@ -330,33 +322,38 @@
"format": "uuid",
"type": "string"
}
+ },
+ {
+ "name": "key",
+ "required": false,
+ "in": "query",
+ "schema": {
+ "type": "string"
+ }
}
],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/RemoveAssetsDto"
+ "$ref": "#/components/schemas/AddAssetsDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/AlbumResponseDto"
+ "$ref": "#/components/schemas/AddAssetsResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Album"
- ],
"security": [
{
"bearer": []
@@ -367,6 +364,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Album"
]
}
},
@@ -397,9 +397,6 @@
"description": ""
}
},
- "tags": [
- "Album"
- ],
"security": [
{
"bearer": []
@@ -410,6 +407,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Album"
]
}
},
@@ -428,30 +428,27 @@
}
],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AddUsersDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AlbumResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Album"
- ],
"security": [
{
"bearer": []
@@ -462,38 +459,31 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Album"
]
}
},
"/api-key": {
- "post": {
- "operationId": "createKey",
+ "get": {
+ "operationId": "getKeys",
"parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIKeyCreateDto"
- }
- }
- }
- },
"responses": {
- "201": {
- "description": "",
+ "200": {
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/APIKeyCreateResponseDto"
+ "items": {
+ "$ref": "#/components/schemas/APIKeyResponseDto"
+ },
+ "type": "array"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "API Key"
- ],
"security": [
{
"bearer": []
@@ -504,29 +494,36 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "API Key"
]
},
- "get": {
- "operationId": "getKeys",
+ "post": {
+ "operationId": "createKey",
"parameters": [],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIKeyCreateDto"
+ }
+ }
+ },
+ "required": true
+ },
"responses": {
- "200": {
- "description": "",
+ "201": {
"content": {
"application/json": {
"schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/APIKeyResponseDto"
- }
+ "$ref": "#/components/schemas/APIKeyCreateResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "API Key"
- ],
"security": [
{
"bearer": []
@@ -537,12 +534,15 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "API Key"
]
}
},
"/api-key/{id}": {
- "get": {
- "operationId": "getKey",
+ "delete": {
+ "operationId": "deleteKey",
"parameters": [
{
"name": "id",
@@ -556,19 +556,9 @@
],
"responses": {
"200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIKeyResponseDto"
- }
- }
- }
+ "description": ""
}
},
- "tags": [
- "API Key"
- ],
"security": [
{
"bearer": []
@@ -579,10 +569,13 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "API Key"
]
},
- "put": {
- "operationId": "updateKey",
+ "get": {
+ "operationId": "getKey",
"parameters": [
{
"name": "id",
@@ -594,31 +587,18 @@
}
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/APIKeyUpdateDto"
- }
- }
- }
- },
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/APIKeyResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "API Key"
- ],
"security": [
{
"bearer": []
@@ -629,10 +609,13 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "API Key"
]
},
- "delete": {
- "operationId": "deleteKey",
+ "put": {
+ "operationId": "updateKey",
"parameters": [
{
"name": "id",
@@ -644,14 +627,28 @@
}
}
],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIKeyUpdateDto"
+ }
+ }
+ },
+ "required": true
+ },
"responses": {
"200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIKeyResponseDto"
+ }
+ }
+ },
"description": ""
}
},
- "tags": [
- "API Key"
- ],
"security": [
{
"bearer": []
@@ -662,13 +659,59 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "API Key"
]
}
},
"/asset": {
+ "delete": {
+ "operationId": "deleteAsset",
+ "parameters": [],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/DeleteAssetDto"
+ }
+ }
+ },
+ "required": true
+ },
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "items": {
+ "$ref": "#/components/schemas/DeleteAssetResponseDto"
+ },
+ "type": "array"
+ }
+ }
+ },
+ "description": ""
+ }
+ },
+ "security": [
+ {
+ "bearer": []
+ },
+ {
+ "cookie": []
+ },
+ {
+ "api_key": []
+ }
+ ],
+ "tags": [
+ "Asset"
+ ]
+ },
"get": {
- "operationId": "getAllAssets",
"description": "Get all AssetEntity belong to the user",
+ "operationId": "getAllAssets",
"parameters": [
{
"name": "userId",
@@ -724,22 +767,19 @@
],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/AssetResponseDto"
- }
+ },
+ "type": "array"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Asset"
- ],
"security": [
{
"bearer": []
@@ -750,56 +790,16 @@
{
"api_key": []
}
- ]
- },
- "delete": {
- "operationId": "deleteAsset",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/DeleteAssetDto"
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/DeleteAssetResponseDto"
- }
- }
- }
- }
- }
- },
+ ],
"tags": [
"Asset"
- ],
- "security": [
- {
- "bearer": []
- },
- {
- "cookie": []
- },
- {
- "api_key": []
- }
]
}
},
"/asset/assetById/{id}": {
"get": {
- "operationId": "getAssetById",
"description": "Get a single asset's information",
+ "operationId": "getAssetById",
"parameters": [
{
"name": "id",
@@ -821,19 +821,16 @@
],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Asset"
- ],
"security": [
{
"bearer": []
@@ -844,39 +841,39 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Asset"
]
}
},
"/asset/bulk-upload-check": {
"post": {
- "operationId": "bulkUploadCheck",
"description": "Checks if assets exist by checksums",
+ "operationId": "bulkUploadCheck",
"parameters": [],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetBulkUploadCheckDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetBulkUploadCheckResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Asset"
- ],
"security": [
{
"bearer": []
@@ -887,13 +884,16 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Asset"
]
}
},
"/asset/check": {
"post": {
- "operationId": "checkDuplicateAsset",
"description": "Check duplicated asset before uploading - for Web upload used",
+ "operationId": "checkDuplicateAsset",
"parameters": [
{
"name": "key",
@@ -905,30 +905,27 @@
}
],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CheckDuplicateAssetDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CheckDuplicateAssetResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Asset"
- ],
"security": [
{
"bearer": []
@@ -939,6 +936,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Asset"
]
}
},
@@ -947,30 +947,27 @@
"operationId": "getAssetCountByTimeBucket",
"parameters": [],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GetAssetCountByTimeBucketDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetCountByTimeBucketResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Asset"
- ],
"security": [
{
"bearer": []
@@ -981,6 +978,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Asset"
]
}
},
@@ -990,22 +990,19 @@
"parameters": [],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/CuratedLocationsResponseDto"
- }
+ },
+ "type": "array"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Asset"
- ],
"security": [
{
"bearer": []
@@ -1016,6 +1013,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Asset"
]
}
},
@@ -1025,22 +1025,19 @@
"parameters": [],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/CuratedObjectsResponseDto"
- }
+ },
+ "type": "array"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Asset"
- ],
"security": [
{
"bearer": []
@@ -1051,6 +1048,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Asset"
]
}
},
@@ -1107,19 +1107,16 @@
],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DownloadResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Asset"
- ],
"security": [
{
"bearer": []
@@ -1130,6 +1127,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Asset"
]
},
"post": {
@@ -1145,31 +1145,28 @@
}
],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetIdsDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"200": {
"content": {
"application/octet-stream": {
"schema": {
- "type": "string",
- "format": "binary"
+ "format": "binary",
+ "type": "string"
}
}
},
"description": ""
}
},
- "tags": [
- "Asset"
- ],
"security": [
{
"bearer": []
@@ -1180,6 +1177,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Asset"
]
}
},
@@ -1210,17 +1210,14 @@
"content": {
"application/octet-stream": {
"schema": {
- "type": "string",
- "format": "binary"
+ "format": "binary",
+ "type": "string"
}
}
},
"description": ""
}
},
- "tags": [
- "Asset"
- ],
"security": [
{
"bearer": []
@@ -1231,39 +1228,39 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Asset"
]
}
},
"/asset/exist": {
"post": {
- "operationId": "checkExistingAssets",
"description": "Checks if multiple assets exist on the server and returns all existing - used by background backup",
+ "operationId": "checkExistingAssets",
"parameters": [],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CheckExistingAssetsDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CheckExistingAssetsResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Asset"
- ],
"security": [
{
"bearer": []
@@ -1274,6 +1271,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Asset"
]
}
},
@@ -1322,17 +1322,14 @@
"content": {
"application/octet-stream": {
"schema": {
- "type": "string",
- "format": "binary"
+ "format": "binary",
+ "type": "string"
}
}
},
"description": ""
}
},
- "tags": [
- "Asset"
- ],
"security": [
{
"bearer": []
@@ -1343,6 +1340,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Asset"
]
}
},
@@ -1351,30 +1351,27 @@
"operationId": "importFile",
"parameters": [],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ImportAssetDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"201": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetFileUploadResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Asset"
- ],
"security": [
{
"bearer": []
@@ -1385,6 +1382,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Asset"
]
}
},
@@ -1421,22 +1421,19 @@
],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/MapMarkerResponseDto"
- }
+ },
+ "type": "array"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Asset"
- ],
"security": [
{
"bearer": []
@@ -1447,6 +1444,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Asset"
]
}
},
@@ -1467,22 +1467,19 @@
],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/MemoryLaneResponseDto"
- }
+ },
+ "type": "array"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Asset"
- ],
"security": [
{
"bearer": []
@@ -1493,6 +1490,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Asset"
]
}
},
@@ -1501,33 +1501,30 @@
"operationId": "searchAsset",
"parameters": [],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SearchAssetDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/AssetResponseDto"
- }
+ },
+ "type": "array"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Asset"
- ],
"security": [
{
"bearer": []
@@ -1538,6 +1535,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Asset"
]
}
},
@@ -1547,22 +1547,19 @@
"parameters": [],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
- "type": "array",
"items": {
"type": "string"
- }
+ },
+ "type": "array"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Asset"
- ],
"security": [
{
"bearer": []
@@ -1573,6 +1570,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Asset"
]
}
},
@@ -1599,19 +1599,16 @@
],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetStatsResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Asset"
- ],
"security": [
{
"bearer": []
@@ -1622,6 +1619,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Asset"
]
}
},
@@ -1660,23 +1660,20 @@
"content": {
"image/jpeg": {
"schema": {
- "type": "string",
- "format": "binary"
+ "format": "binary",
+ "type": "string"
}
},
"image/webp": {
"schema": {
- "type": "string",
- "format": "binary"
+ "format": "binary",
+ "type": "string"
}
}
},
"description": ""
}
},
- "tags": [
- "Asset"
- ],
"security": [
{
"bearer": []
@@ -1687,6 +1684,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Asset"
]
}
},
@@ -1695,33 +1695,30 @@
"operationId": "getAssetByTimeBucket",
"parameters": [],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GetAssetByTimeBucketDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/AssetResponseDto"
- }
+ },
+ "type": "array"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Asset"
- ],
"security": [
{
"bearer": []
@@ -1732,6 +1729,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Asset"
]
}
},
@@ -1749,31 +1749,28 @@
}
],
"requestBody": {
- "required": true,
- "description": "Asset Upload Information",
"content": {
"multipart/form-data": {
"schema": {
"$ref": "#/components/schemas/CreateAssetDto"
}
}
- }
+ },
+ "description": "Asset Upload Information",
+ "required": true
},
"responses": {
"201": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetFileUploadResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Asset"
- ],
"security": [
{
"bearer": []
@@ -1784,13 +1781,16 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Asset"
]
}
},
"/asset/{deviceId}": {
"get": {
- "operationId": "getUserAssetsByDeviceId",
"description": "Get all asset of a device that are in the database, ID only.",
+ "operationId": "getUserAssetsByDeviceId",
"parameters": [
{
"name": "deviceId",
@@ -1804,22 +1804,19 @@
],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
- "type": "array",
"items": {
"type": "string"
- }
+ },
+ "type": "array"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Asset"
- ],
"security": [
{
"bearer": []
@@ -1830,13 +1827,16 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Asset"
]
}
},
"/asset/{id}": {
"put": {
- "operationId": "updateAsset",
"description": "Update an asset",
+ "operationId": "updateAsset",
"parameters": [
{
"name": "id",
@@ -1849,30 +1849,27 @@
}
],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateAssetDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Asset"
- ],
"security": [
{
"bearer": []
@@ -1883,6 +1880,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Asset"
]
}
},
@@ -1891,25 +1891,25 @@
"operationId": "adminSignUp",
"parameters": [],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SignUpDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"201": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AdminSignupResponseDto"
}
}
- }
+ },
+ "description": ""
},
"400": {
"description": "The server already has an admin"
@@ -1925,30 +1925,27 @@
"operationId": "changePassword",
"parameters": [],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ChangePasswordDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
- "201": {
- "description": "",
+ "200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Authentication"
- ],
"security": [
{
"bearer": []
@@ -1959,31 +1956,21 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Authentication"
]
}
},
"/auth/devices": {
- "get": {
- "operationId": "getAuthDevices",
+ "delete": {
+ "operationId": "logoutAuthDevices",
"parameters": [],
"responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/AuthDeviceResponseDto"
- }
- }
- }
- }
+ "204": {
+ "description": ""
}
},
- "tags": [
- "Authentication"
- ],
"security": [
{
"bearer": []
@@ -1994,19 +1981,29 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Authentication"
]
},
- "delete": {
- "operationId": "logoutAuthDevices",
+ "get": {
+ "operationId": "getAuthDevices",
"parameters": [],
"responses": {
"200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "items": {
+ "$ref": "#/components/schemas/AuthDeviceResponseDto"
+ },
+ "type": "array"
+ }
+ }
+ },
"description": ""
}
},
- "tags": [
- "Authentication"
- ],
"security": [
{
"bearer": []
@@ -2017,6 +2014,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Authentication"
]
}
},
@@ -2035,13 +2035,10 @@
}
],
"responses": {
- "200": {
+ "204": {
"description": ""
}
},
- "tags": [
- "Authentication"
- ],
"security": [
{
"bearer": []
@@ -2052,6 +2049,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Authentication"
]
}
},
@@ -2060,25 +2060,25 @@
"operationId": "login",
"parameters": [],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/LoginCredentialDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"201": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/LoginResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
"tags": [
@@ -2091,20 +2091,17 @@
"operationId": "logout",
"parameters": [],
"responses": {
- "201": {
- "description": "",
+ "200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/LogoutResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Authentication"
- ],
"security": [
{
"bearer": []
@@ -2115,6 +2112,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Authentication"
]
}
},
@@ -2123,20 +2123,17 @@
"operationId": "validateAccessToken",
"parameters": [],
"responses": {
- "201": {
- "description": "",
+ "200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ValidateAccessTokenResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Authentication"
- ],
"security": [
{
"bearer": []
@@ -2147,6 +2144,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Authentication"
]
}
},
@@ -2156,19 +2156,16 @@
"parameters": [],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AllJobStatusResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Job"
- ],
"security": [
{
"bearer": []
@@ -2179,6 +2176,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Job"
]
}
},
@@ -2196,30 +2196,27 @@
}
],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/JobCommandDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/JobStatusDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Job"
- ],
"security": [
{
"bearer": []
@@ -2230,6 +2227,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Job"
]
}
},
@@ -2238,25 +2238,25 @@
"operationId": "callback",
"parameters": [],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/OAuthCallbackDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"201": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/LoginResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
"tags": [
@@ -2269,25 +2269,25 @@
"operationId": "generateConfig",
"parameters": [],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/OAuthConfigDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"201": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/OAuthConfigResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
"tags": [
@@ -2300,30 +2300,27 @@
"operationId": "link",
"parameters": [],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/OAuthCallbackDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"201": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "OAuth"
- ],
"security": [
{
"bearer": []
@@ -2334,6 +2331,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "OAuth"
]
}
},
@@ -2357,19 +2357,16 @@
"parameters": [],
"responses": {
"201": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "OAuth"
- ],
"security": [
{
"bearer": []
@@ -2380,6 +2377,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "OAuth"
]
}
},
@@ -2402,22 +2402,19 @@
],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/UserResponseDto"
- }
+ },
+ "type": "array"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Partner"
- ],
"security": [
{
"bearer": []
@@ -2428,12 +2425,15 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Partner"
]
}
},
"/partner/{id}": {
- "post": {
- "operationId": "createPartner",
+ "delete": {
+ "operationId": "removePartner",
"parameters": [
{
"name": "id",
@@ -2446,20 +2446,10 @@
}
],
"responses": {
- "201": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserResponseDto"
- }
- }
- }
+ "200": {
+ "description": ""
}
},
- "tags": [
- "Partner"
- ],
"security": [
{
"bearer": []
@@ -2470,10 +2460,13 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Partner"
]
},
- "delete": {
- "operationId": "removePartner",
+ "post": {
+ "operationId": "createPartner",
"parameters": [
{
"name": "id",
@@ -2486,13 +2479,17 @@
}
],
"responses": {
- "200": {
+ "201": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserResponseDto"
+ }
+ }
+ },
"description": ""
}
},
- "tags": [
- "Partner"
- ],
"security": [
{
"bearer": []
@@ -2503,6 +2500,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Partner"
]
}
},
@@ -2522,19 +2522,16 @@
],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PeopleResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Person"
- ],
"security": [
{
"bearer": []
@@ -2545,39 +2542,39 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Person"
]
},
"put": {
"operationId": "updatePeople",
"parameters": [],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PeopleUpdateDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/BulkIdResponseDto"
- }
+ },
+ "type": "array"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Person"
- ],
"security": [
{
"bearer": []
@@ -2588,6 +2585,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Person"
]
}
},
@@ -2607,19 +2607,16 @@
],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PersonResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Person"
- ],
"security": [
{
"bearer": []
@@ -2630,6 +2627,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Person"
]
},
"put": {
@@ -2646,30 +2646,27 @@
}
],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PersonUpdateDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PersonResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Person"
- ],
"security": [
{
"bearer": []
@@ -2680,6 +2677,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Person"
]
}
},
@@ -2699,22 +2699,19 @@
],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/AssetResponseDto"
- }
+ },
+ "type": "array"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Person"
- ],
"security": [
{
"bearer": []
@@ -2725,6 +2722,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Person"
]
}
},
@@ -2743,33 +2743,30 @@
}
],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/MergePersonDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"201": {
- "description": "",
"content": {
"application/json": {
"schema": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/BulkIdResponseDto"
- }
+ },
+ "type": "array"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Person"
- ],
"security": [
{
"bearer": []
@@ -2780,6 +2777,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Person"
]
}
},
@@ -2802,17 +2802,14 @@
"content": {
"image/jpeg": {
"schema": {
- "type": "string",
- "format": "binary"
+ "format": "binary",
+ "type": "string"
}
}
},
"description": ""
}
},
- "tags": [
- "Person"
- ],
"security": [
{
"bearer": []
@@ -2823,6 +2820,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Person"
]
}
},
@@ -2973,19 +2973,16 @@
],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SearchResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Search"
- ],
"security": [
{
"bearer": []
@@ -2996,6 +2993,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Search"
]
}
},
@@ -3005,19 +3005,16 @@
"parameters": [],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SearchConfigResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Search"
- ],
"security": [
{
"bearer": []
@@ -3028,6 +3025,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Search"
]
}
},
@@ -3037,22 +3037,19 @@
"parameters": [],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/SearchExploreResponseDto"
- }
+ },
+ "type": "array"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Search"
- ],
"security": [
{
"bearer": []
@@ -3063,6 +3060,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Search"
]
}
},
@@ -3072,19 +3072,16 @@
"parameters": [],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ServerInfoResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Server Info"
- ],
"security": [
{
"bearer": []
@@ -3095,6 +3092,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Server Info"
]
}
},
@@ -3104,14 +3104,14 @@
"parameters": [],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ServerMediaTypesResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
"tags": [
@@ -3125,14 +3125,14 @@
"parameters": [],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ServerPingResponse"
}
}
- }
+ },
+ "description": ""
}
},
"tags": [
@@ -3146,19 +3146,16 @@
"parameters": [],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ServerStatsResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Server Info"
- ],
"security": [
{
"bearer": []
@@ -3169,6 +3166,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Server Info"
]
}
},
@@ -3178,14 +3178,14 @@
"parameters": [],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ServerVersionReponseDto"
}
}
- }
+ },
+ "description": ""
}
},
"tags": [
@@ -3199,22 +3199,19 @@
"parameters": [],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/SharedLinkResponseDto"
- }
+ },
+ "type": "array"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Shared Link"
- ],
"security": [
{
"bearer": []
@@ -3225,36 +3222,36 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Shared Link"
]
},
"post": {
"operationId": "createSharedLink",
"parameters": [],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SharedLinkCreateDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"201": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SharedLinkResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Shared Link"
- ],
"security": [
{
"bearer": []
@@ -3265,6 +3262,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Shared Link"
]
}
},
@@ -3283,19 +3283,16 @@
],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SharedLinkResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Shared Link"
- ],
"security": [
{
"bearer": []
@@ -3306,12 +3303,15 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Shared Link"
]
}
},
"/shared-link/{id}": {
- "get": {
- "operationId": "getSharedLinkById",
+ "delete": {
+ "operationId": "removeSharedLink",
"parameters": [
{
"name": "id",
@@ -3325,19 +3325,9 @@
],
"responses": {
"200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/SharedLinkResponseDto"
- }
- }
- }
+ "description": ""
}
},
- "tags": [
- "Shared Link"
- ],
"security": [
{
"bearer": []
@@ -3348,10 +3338,13 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Shared Link"
]
},
- "patch": {
- "operationId": "updateSharedLink",
+ "get": {
+ "operationId": "getSharedLinkById",
"parameters": [
{
"name": "id",
@@ -3363,31 +3356,18 @@
}
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/SharedLinkEditDto"
- }
- }
- }
- },
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SharedLinkResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Shared Link"
- ],
"security": [
{
"bearer": []
@@ -3398,10 +3378,13 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Shared Link"
]
},
- "delete": {
- "operationId": "removeSharedLink",
+ "patch": {
+ "operationId": "updateSharedLink",
"parameters": [
{
"name": "id",
@@ -3413,14 +3396,28 @@
}
}
],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/SharedLinkEditDto"
+ }
+ }
+ },
+ "required": true
+ },
"responses": {
"200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/SharedLinkResponseDto"
+ }
+ }
+ },
"description": ""
}
},
- "tags": [
- "Shared Link"
- ],
"security": [
{
"bearer": []
@@ -3431,12 +3428,15 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Shared Link"
]
}
},
"/shared-link/{id}/assets": {
- "put": {
- "operationId": "addSharedLinkAssets",
+ "delete": {
+ "operationId": "removeSharedLinkAssets",
"parameters": [
{
"name": "id",
@@ -3457,33 +3457,30 @@
}
],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetIdsDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/AssetIdsResponseDto"
- }
+ },
+ "type": "array"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Shared Link"
- ],
"security": [
{
"bearer": []
@@ -3494,10 +3491,13 @@
{
"api_key": []
}
- ]
+ ],
+ "tags": [
+ "Shared Link"
+ ]
},
- "delete": {
- "operationId": "removeSharedLinkAssets",
+ "put": {
+ "operationId": "addSharedLinkAssets",
"parameters": [
{
"name": "id",
@@ -3518,33 +3518,30 @@
}
],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetIdsDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/AssetIdsResponseDto"
- }
+ },
+ "type": "array"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Shared Link"
- ],
"security": [
{
"bearer": []
@@ -3555,6 +3552,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Shared Link"
]
}
},
@@ -3564,19 +3564,16 @@
"parameters": [],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SystemConfigDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "System Config"
- ],
"security": [
{
"bearer": []
@@ -3587,36 +3584,36 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "System Config"
]
},
"put": {
"operationId": "updateConfig",
"parameters": [],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SystemConfigDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SystemConfigDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "System Config"
- ],
"security": [
{
"bearer": []
@@ -3627,6 +3624,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "System Config"
]
}
},
@@ -3636,19 +3636,16 @@
"parameters": [],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SystemConfigDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "System Config"
- ],
"security": [
{
"bearer": []
@@ -3659,6 +3656,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "System Config"
]
}
},
@@ -3668,19 +3668,16 @@
"parameters": [],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SystemConfigTemplateStorageOptionDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "System Config"
- ],
"security": [
{
"bearer": []
@@ -3691,38 +3688,31 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "System Config"
]
}
},
"/tag": {
- "post": {
- "operationId": "createTag",
+ "get": {
+ "operationId": "getAllTags",
"parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreateTagDto"
- }
- }
- }
- },
"responses": {
- "201": {
- "description": "",
+ "200": {
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/TagResponseDto"
+ "items": {
+ "$ref": "#/components/schemas/TagResponseDto"
+ },
+ "type": "array"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Tag"
- ],
"security": [
{
"bearer": []
@@ -3733,29 +3723,36 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Tag"
]
},
- "get": {
- "operationId": "getAllTags",
+ "post": {
+ "operationId": "createTag",
"parameters": [],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreateTagDto"
+ }
+ }
+ },
+ "required": true
+ },
"responses": {
- "200": {
- "description": "",
+ "201": {
"content": {
"application/json": {
"schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/TagResponseDto"
- }
+ "$ref": "#/components/schemas/TagResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Tag"
- ],
"security": [
{
"bearer": []
@@ -3766,12 +3763,15 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Tag"
]
}
},
"/tag/{id}": {
- "get": {
- "operationId": "getTagById",
+ "delete": {
+ "operationId": "deleteTag",
"parameters": [
{
"name": "id",
@@ -3785,19 +3785,9 @@
],
"responses": {
"200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/TagResponseDto"
- }
- }
- }
+ "description": ""
}
},
- "tags": [
- "Tag"
- ],
"security": [
{
"bearer": []
@@ -3808,10 +3798,13 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Tag"
]
},
- "patch": {
- "operationId": "updateTag",
+ "get": {
+ "operationId": "getTagById",
"parameters": [
{
"name": "id",
@@ -3823,31 +3816,18 @@
}
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdateTagDto"
- }
- }
- }
- },
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/TagResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Tag"
- ],
"security": [
{
"bearer": []
@@ -3858,10 +3838,13 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Tag"
]
},
- "delete": {
- "operationId": "deleteTag",
+ "patch": {
+ "operationId": "updateTag",
"parameters": [
{
"name": "id",
@@ -3873,14 +3856,28 @@
}
}
],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UpdateTagDto"
+ }
+ }
+ },
+ "required": true
+ },
"responses": {
"200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/TagResponseDto"
+ }
+ }
+ },
"description": ""
}
},
- "tags": [
- "Tag"
- ],
"security": [
{
"bearer": []
@@ -3891,12 +3888,15 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Tag"
]
}
},
"/tag/{id}/assets": {
- "get": {
- "operationId": "getTagAssets",
+ "delete": {
+ "operationId": "untagAssets",
"parameters": [
{
"name": "id",
@@ -3908,24 +3908,31 @@
}
}
],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/AssetIdsDto"
+ }
+ }
+ },
+ "required": true
+ },
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
- "type": "array",
"items": {
- "$ref": "#/components/schemas/AssetResponseDto"
- }
+ "$ref": "#/components/schemas/AssetIdsResponseDto"
+ },
+ "type": "array"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Tag"
- ],
"security": [
{
"bearer": []
@@ -3936,10 +3943,13 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Tag"
]
},
- "put": {
- "operationId": "tagAssets",
+ "get": {
+ "operationId": "getTagAssets",
"parameters": [
{
"name": "id",
@@ -3951,34 +3961,21 @@
}
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/AssetIdsDto"
- }
- }
- }
- },
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
- "type": "array",
"items": {
- "$ref": "#/components/schemas/AssetIdsResponseDto"
- }
+ "$ref": "#/components/schemas/AssetResponseDto"
+ },
+ "type": "array"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Tag"
- ],
"security": [
{
"bearer": []
@@ -3989,10 +3986,13 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Tag"
]
},
- "delete": {
- "operationId": "untagAssets",
+ "put": {
+ "operationId": "tagAssets",
"parameters": [
{
"name": "id",
@@ -4005,33 +4005,30 @@
}
],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetIdsDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/AssetIdsResponseDto"
- }
+ },
+ "type": "array"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "Tag"
- ],
"security": [
{
"bearer": []
@@ -4042,6 +4039,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "Tag"
]
}
},
@@ -4060,22 +4060,19 @@
],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/UserResponseDto"
- }
+ },
+ "type": "array"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "User"
- ],
"security": [
{
"bearer": []
@@ -4086,36 +4083,36 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "User"
]
},
"post": {
"operationId": "createUser",
"parameters": [],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CreateUserDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"201": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "User"
- ],
"security": [
{
"bearer": []
@@ -4126,36 +4123,36 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "User"
]
},
"put": {
"operationId": "updateUser",
"parameters": [],
"requestBody": {
- "required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateUserDto"
}
}
- }
+ },
+ "required": true
},
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "User"
- ],
"security": [
{
"bearer": []
@@ -4166,6 +4163,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "User"
]
}
},
@@ -4185,14 +4185,14 @@
],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserCountResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
"tags": [
@@ -4216,19 +4216,16 @@
],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "User"
- ],
"security": [
{
"bearer": []
@@ -4239,6 +4236,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "User"
]
}
},
@@ -4248,19 +4248,16 @@
"parameters": [],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "User"
- ],
"security": [
{
"bearer": []
@@ -4271,6 +4268,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "User"
]
}
},
@@ -4279,31 +4279,28 @@
"operationId": "createProfileImage",
"parameters": [],
"requestBody": {
- "required": true,
- "description": "A new avatar for the user",
"content": {
"multipart/form-data": {
"schema": {
"$ref": "#/components/schemas/CreateProfileImageDto"
}
}
- }
+ },
+ "description": "A new avatar for the user",
+ "required": true
},
"responses": {
"201": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CreateProfileImageResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "User"
- ],
"security": [
{
"bearer": []
@@ -4314,6 +4311,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "User"
]
}
},
@@ -4333,19 +4333,16 @@
],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "User"
- ],
"security": [
{
"bearer": []
@@ -4356,6 +4353,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "User"
]
}
},
@@ -4375,19 +4375,16 @@
],
"responses": {
"200": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "User"
- ],
"security": [
{
"bearer": []
@@ -4398,6 +4395,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "User"
]
}
},
@@ -4417,19 +4417,16 @@
],
"responses": {
"201": {
- "description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserResponseDto"
}
}
- }
+ },
+ "description": ""
}
},
- "tags": [
- "User"
- ],
"security": [
{
"bearer": []
@@ -4440,6 +4437,9 @@
{
"api_key": []
}
+ ],
+ "tags": [
+ "User"
]
}
}
@@ -4477,39 +4477,38 @@
},
"schemas": {
"APIKeyCreateDto": {
- "type": "object",
"properties": {
"name": {
"type": "string"
}
- }
+ },
+ "type": "object"
},
"APIKeyCreateResponseDto": {
- "type": "object",
"properties": {
- "secret": {
- "type": "string"
- },
"apiKey": {
"$ref": "#/components/schemas/APIKeyResponseDto"
+ },
+ "secret": {
+ "type": "string"
}
},
"required": [
"secret",
"apiKey"
- ]
+ ],
+ "type": "object"
},
"APIKeyResponseDto": {
- "type": "object",
"properties": {
- "id": {
+ "createdAt": {
+ "format": "date-time",
"type": "string"
},
- "name": {
+ "id": {
"type": "string"
},
- "createdAt": {
- "format": "date-time",
+ "name": {
"type": "string"
},
"updatedAt": {
@@ -4522,10 +4521,10 @@
"name",
"createdAt",
"updatedAt"
- ]
+ ],
+ "type": "object"
},
"APIKeyUpdateDto": {
- "type": "object",
"properties": {
"name": {
"type": "string"
@@ -4533,63 +4532,64 @@
},
"required": [
"name"
- ]
+ ],
+ "type": "object"
},
"AddAssetsDto": {
- "type": "object",
"properties": {
"assetIds": {
- "type": "array",
"items": {
- "type": "string",
- "format": "uuid"
- }
+ "format": "uuid",
+ "type": "string"
+ },
+ "type": "array"
}
},
"required": [
"assetIds"
- ]
+ ],
+ "type": "object"
},
"AddAssetsResponseDto": {
- "type": "object",
"properties": {
- "successfullyAdded": {
- "type": "integer"
+ "album": {
+ "$ref": "#/components/schemas/AlbumResponseDto"
},
"alreadyInAlbum": {
- "type": "array",
"items": {
"type": "string"
- }
+ },
+ "type": "array"
},
- "album": {
- "$ref": "#/components/schemas/AlbumResponseDto"
+ "successfullyAdded": {
+ "type": "integer"
}
},
"required": [
"successfullyAdded",
"alreadyInAlbum"
- ]
+ ],
+ "type": "object"
},
"AddUsersDto": {
- "type": "object",
"properties": {
"sharedUserIds": {
- "type": "array",
"items": {
- "type": "string",
- "format": "uuid"
- }
+ "format": "uuid",
+ "type": "string"
+ },
+ "type": "array"
}
},
"required": [
"sharedUserIds"
- ]
+ ],
+ "type": "object"
},
"AdminSignupResponseDto": {
- "type": "object",
"properties": {
- "id": {
+ "createdAt": {
+ "format": "date-time",
"type": "string"
},
"email": {
@@ -4598,11 +4598,10 @@
"firstName": {
"type": "string"
},
- "lastName": {
+ "id": {
"type": "string"
},
- "createdAt": {
- "format": "date-time",
+ "lastName": {
"type": "string"
}
},
@@ -4612,18 +4611,18 @@
"firstName",
"lastName",
"createdAt"
- ]
+ ],
+ "type": "object"
},
"AlbumCountResponseDto": {
- "type": "object",
"properties": {
- "owned": {
+ "notShared": {
"type": "integer"
},
- "shared": {
+ "owned": {
"type": "integer"
},
- "notShared": {
+ "shared": {
"type": "integer"
}
},
@@ -4631,54 +4630,54 @@
"owned",
"shared",
"notShared"
- ]
+ ],
+ "type": "object"
},
"AlbumResponseDto": {
- "type": "object",
"properties": {
- "assetCount": {
- "type": "integer"
- },
- "id": {
+ "albumName": {
"type": "string"
},
- "ownerId": {
+ "albumThumbnailAssetId": {
+ "nullable": true,
"type": "string"
},
- "albumName": {
- "type": "string"
+ "assetCount": {
+ "type": "integer"
+ },
+ "assets": {
+ "items": {
+ "$ref": "#/components/schemas/AssetResponseDto"
+ },
+ "type": "array"
},
"createdAt": {
"format": "date-time",
"type": "string"
},
- "updatedAt": {
+ "id": {
+ "type": "string"
+ },
+ "lastModifiedAssetTimestamp": {
"format": "date-time",
"type": "string"
},
- "albumThumbnailAssetId": {
- "type": "string",
- "nullable": true
+ "owner": {
+ "$ref": "#/components/schemas/UserResponseDto"
+ },
+ "ownerId": {
+ "type": "string"
},
"shared": {
"type": "boolean"
},
"sharedUsers": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/UserResponseDto"
- }
- },
- "assets": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/AssetResponseDto"
- }
- },
- "owner": {
- "$ref": "#/components/schemas/UserResponseDto"
+ },
+ "type": "array"
},
- "lastModifiedAssetTimestamp": {
+ "updatedAt": {
"format": "date-time",
"type": "string"
}
@@ -4695,39 +4694,39 @@
"sharedUsers",
"assets",
"owner"
- ]
+ ],
+ "type": "object"
},
"AllJobStatusResponseDto": {
- "type": "object",
"properties": {
- "thumbnailGeneration": {
+ "backgroundTask": {
"$ref": "#/components/schemas/JobStatusDto"
},
- "metadataExtraction": {
+ "clipEncoding": {
"$ref": "#/components/schemas/JobStatusDto"
},
- "videoConversion": {
+ "metadataExtraction": {
"$ref": "#/components/schemas/JobStatusDto"
},
"objectTagging": {
"$ref": "#/components/schemas/JobStatusDto"
},
- "clipEncoding": {
+ "recognizeFaces": {
"$ref": "#/components/schemas/JobStatusDto"
},
- "storageTemplateMigration": {
+ "search": {
"$ref": "#/components/schemas/JobStatusDto"
},
- "backgroundTask": {
+ "sidecar": {
"$ref": "#/components/schemas/JobStatusDto"
},
- "search": {
+ "storageTemplateMigration": {
"$ref": "#/components/schemas/JobStatusDto"
},
- "recognizeFaces": {
+ "thumbnailGeneration": {
"$ref": "#/components/schemas/JobStatusDto"
},
- "sidecar": {
+ "videoConversion": {
"$ref": "#/components/schemas/JobStatusDto"
}
},
@@ -4742,153 +4741,150 @@
"search",
"recognizeFaces",
"sidecar"
- ]
+ ],
+ "type": "object"
},
"AssetBulkUploadCheckDto": {
- "type": "object",
"properties": {
"assets": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/AssetBulkUploadCheckItem"
- }
+ },
+ "type": "array"
}
},
"required": [
"assets"
- ]
+ ],
+ "type": "object"
},
"AssetBulkUploadCheckItem": {
- "type": "object",
"properties": {
- "id": {
+ "checksum": {
+ "description": "base64 or hex encoded sha1 hash",
"type": "string"
},
- "checksum": {
- "type": "string",
- "description": "base64 or hex encoded sha1 hash"
+ "id": {
+ "type": "string"
}
},
"required": [
"id",
"checksum"
- ]
+ ],
+ "type": "object"
},
"AssetBulkUploadCheckResponseDto": {
- "type": "object",
"properties": {
"results": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/AssetBulkUploadCheckResult"
- }
+ },
+ "type": "array"
}
},
"required": [
"results"
- ]
+ ],
+ "type": "object"
},
"AssetBulkUploadCheckResult": {
- "type": "object",
"properties": {
- "id": {
- "type": "string"
- },
"action": {
- "type": "string",
"enum": [
"accept",
"reject"
- ]
+ ],
+ "type": "string"
+ },
+ "assetId": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
},
"reason": {
- "type": "string",
"enum": [
"duplicate",
"unsupported-format"
- ]
- },
- "assetId": {
+ ],
"type": "string"
}
},
"required": [
"id",
"action"
- ]
+ ],
+ "type": "object"
},
"AssetCountByTimeBucket": {
- "type": "object",
"properties": {
- "timeBucket": {
- "type": "string"
- },
"count": {
"type": "integer"
+ },
+ "timeBucket": {
+ "type": "string"
}
},
"required": [
"timeBucket",
"count"
- ]
+ ],
+ "type": "object"
},
"AssetCountByTimeBucketResponseDto": {
- "type": "object",
"properties": {
- "totalCount": {
- "type": "integer"
- },
"buckets": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/AssetCountByTimeBucket"
- }
+ },
+ "type": "array"
+ },
+ "totalCount": {
+ "type": "integer"
}
},
"required": [
"totalCount",
"buckets"
- ]
+ ],
+ "type": "object"
},
"AssetFileUploadResponseDto": {
- "type": "object",
"properties": {
- "id": {
- "type": "string"
- },
"duplicate": {
"type": "boolean"
+ },
+ "id": {
+ "type": "string"
}
},
"required": [
"id",
"duplicate"
- ]
+ ],
+ "type": "object"
},
"AssetIdsDto": {
- "type": "object",
"properties": {
"assetIds": {
- "type": "array",
"items": {
- "type": "string",
- "format": "uuid"
- }
+ "format": "uuid",
+ "type": "string"
+ },
+ "type": "array"
}
},
"required": [
"assetIds"
- ]
+ ],
+ "type": "object"
},
"AssetIdsResponseDto": {
- "type": "object",
"properties": {
"assetId": {
"type": "string"
},
- "success": {
- "type": "boolean"
- },
"error": {
"enum": [
"duplicate",
@@ -4896,44 +4892,34 @@
"not_found"
],
"type": "string"
+ },
+ "success": {
+ "type": "boolean"
}
},
"required": [
"assetId",
"success"
- ]
+ ],
+ "type": "object"
},
"AssetResponseDto": {
- "type": "object",
"properties": {
- "type": {
- "$ref": "#/components/schemas/AssetTypeEnum"
- },
- "id": {
+ "checksum": {
+ "description": "base64 encoded sha1 hash",
"type": "string"
},
"deviceAssetId": {
"type": "string"
},
- "ownerId": {
- "type": "string"
- },
"deviceId": {
"type": "string"
},
- "originalPath": {
- "type": "string"
- },
- "originalFileName": {
+ "duration": {
"type": "string"
},
- "resized": {
- "type": "boolean"
- },
- "thumbhash": {
- "type": "string",
- "nullable": true,
- "description": "base64 encoded thumbhash"
+ "exifInfo": {
+ "$ref": "#/components/schemas/ExifResponseDto"
},
"fileCreatedAt": {
"format": "date-time",
@@ -4943,44 +4929,57 @@
"format": "date-time",
"type": "string"
},
- "updatedAt": {
- "format": "date-time",
+ "id": {
"type": "string"
},
- "isFavorite": {
+ "isArchived": {
"type": "boolean"
},
- "isArchived": {
+ "isFavorite": {
"type": "boolean"
},
- "duration": {
+ "livePhotoVideoId": {
+ "nullable": true,
"type": "string"
},
- "exifInfo": {
- "$ref": "#/components/schemas/ExifResponseDto"
+ "originalFileName": {
+ "type": "string"
+ },
+ "originalPath": {
+ "type": "string"
+ },
+ "ownerId": {
+ "type": "string"
+ },
+ "people": {
+ "items": {
+ "$ref": "#/components/schemas/PersonResponseDto"
+ },
+ "type": "array"
+ },
+ "resized": {
+ "type": "boolean"
},
"smartInfo": {
"$ref": "#/components/schemas/SmartInfoResponseDto"
},
- "livePhotoVideoId": {
- "type": "string",
- "nullable": true
- },
"tags": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/TagResponseDto"
- }
+ },
+ "type": "array"
},
- "people": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/PersonResponseDto"
- }
+ "thumbhash": {
+ "description": "base64 encoded thumbhash",
+ "nullable": true,
+ "type": "string"
},
- "checksum": {
- "type": "string",
- "description": "base64 encoded sha1 hash"
+ "type": {
+ "$ref": "#/components/schemas/AssetTypeEnum"
+ },
+ "updatedAt": {
+ "format": "date-time",
+ "type": "string"
}
},
"required": [
@@ -5000,18 +4999,18 @@
"isArchived",
"duration",
"checksum"
- ]
+ ],
+ "type": "object"
},
"AssetStatsResponseDto": {
- "type": "object",
"properties": {
"images": {
"type": "integer"
},
- "videos": {
+ "total": {
"type": "integer"
},
- "total": {
+ "videos": {
"type": "integer"
}
},
@@ -5019,44 +5018,44 @@
"images",
"videos",
"total"
- ]
+ ],
+ "type": "object"
},
"AssetTypeEnum": {
- "type": "string",
"enum": [
"IMAGE",
"VIDEO",
"AUDIO",
"OTHER"
- ]
+ ],
+ "type": "string"
},
"AudioCodec": {
- "type": "string",
"enum": [
"mp3",
"aac",
"opus"
- ]
+ ],
+ "type": "string"
},
"AuthDeviceResponseDto": {
- "type": "object",
"properties": {
- "id": {
- "type": "string"
- },
"createdAt": {
"type": "string"
},
- "updatedAt": {
- "type": "string"
- },
"current": {
"type": "boolean"
},
+ "deviceOS": {
+ "type": "string"
+ },
"deviceType": {
"type": "string"
},
- "deviceOS": {
+ "id": {
+ "type": "string"
+ },
+ "updatedAt": {
"type": "string"
}
},
@@ -5067,17 +5066,11 @@
"current",
"deviceType",
"deviceOS"
- ]
+ ],
+ "type": "object"
},
"BulkIdResponseDto": {
- "type": "object",
"properties": {
- "id": {
- "type": "string"
- },
- "success": {
- "type": "boolean"
- },
"error": {
"enum": [
"duplicate",
@@ -5086,32 +5079,38 @@
"unknown"
],
"type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "success": {
+ "type": "boolean"
}
},
"required": [
"id",
"success"
- ]
+ ],
+ "type": "object"
},
"ChangePasswordDto": {
- "type": "object",
"properties": {
- "password": {
- "type": "string",
- "example": "password"
- },
"newPassword": {
- "type": "string",
- "example": "password"
+ "example": "password",
+ "type": "string"
+ },
+ "password": {
+ "example": "password",
+ "type": "string"
}
},
"required": [
"password",
"newPassword"
- ]
+ ],
+ "type": "object"
},
"CheckDuplicateAssetDto": {
- "type": "object",
"properties": {
"deviceAssetId": {
"type": "string"
@@ -5123,30 +5122,30 @@
"required": [
"deviceAssetId",
"deviceId"
- ]
+ ],
+ "type": "object"
},
"CheckDuplicateAssetResponseDto": {
- "type": "object",
"properties": {
- "isExist": {
- "type": "boolean"
- },
"id": {
"type": "string"
+ },
+ "isExist": {
+ "type": "boolean"
}
},
"required": [
"isExist"
- ]
+ ],
+ "type": "object"
},
"CheckExistingAssetsDto": {
- "type": "object",
"properties": {
"deviceAssetIds": {
- "type": "array",
"items": {
"type": "string"
- }
+ },
+ "type": "array"
},
"deviceId": {
"type": "string"
@@ -5155,65 +5154,53 @@
"required": [
"deviceAssetIds",
"deviceId"
- ]
+ ],
+ "type": "object"
},
"CheckExistingAssetsResponseDto": {
- "type": "object",
"properties": {
"existingIds": {
- "type": "array",
"items": {
"type": "string"
- }
+ },
+ "type": "array"
}
},
"required": [
"existingIds"
- ]
+ ],
+ "type": "object"
},
"CreateAlbumDto": {
- "type": "object",
"properties": {
"albumName": {
"type": "string"
},
- "sharedWithUserIds": {
- "type": "array",
+ "assetIds": {
"items": {
- "type": "string",
- "format": "uuid"
- }
+ "format": "uuid",
+ "type": "string"
+ },
+ "type": "array"
},
- "assetIds": {
- "type": "array",
+ "sharedWithUserIds": {
"items": {
- "type": "string",
- "format": "uuid"
- }
+ "format": "uuid",
+ "type": "string"
+ },
+ "type": "array"
}
},
"required": [
"albumName"
- ]
+ ],
+ "type": "object"
},
"CreateAssetDto": {
- "type": "object",
"properties": {
"assetData": {
- "type": "string",
- "format": "binary"
- },
- "livePhotoData": {
- "type": "string",
- "format": "binary"
- },
- "sidecarData": {
- "type": "string",
- "format": "binary"
- },
- "isReadOnly": {
- "type": "boolean",
- "default": false
+ "format": "binary",
+ "type": "string"
},
"deviceAssetId": {
"type": "string"
@@ -5221,6 +5208,9 @@
"deviceId": {
"type": "string"
},
+ "duration": {
+ "type": "string"
+ },
"fileCreatedAt": {
"format": "date-time",
"type": "string"
@@ -5229,16 +5219,25 @@
"format": "date-time",
"type": "string"
},
+ "isArchived": {
+ "type": "boolean"
+ },
"isFavorite": {
"type": "boolean"
},
- "isArchived": {
+ "isReadOnly": {
+ "default": false,
"type": "boolean"
},
"isVisible": {
"type": "boolean"
},
- "duration": {
+ "livePhotoData": {
+ "format": "binary",
+ "type": "string"
+ },
+ "sidecarData": {
+ "format": "binary",
"type": "string"
}
},
@@ -5249,57 +5248,58 @@
"fileCreatedAt",
"fileModifiedAt",
"isFavorite"
- ]
+ ],
+ "type": "object"
},
"CreateProfileImageDto": {
- "type": "object",
"properties": {
"file": {
- "type": "string",
- "format": "binary"
+ "format": "binary",
+ "type": "string"
}
},
"required": [
"file"
- ]
+ ],
+ "type": "object"
},
"CreateProfileImageResponseDto": {
- "type": "object",
"properties": {
- "userId": {
+ "profileImagePath": {
"type": "string"
},
- "profileImagePath": {
+ "userId": {
"type": "string"
}
},
"required": [
"userId",
"profileImagePath"
- ]
+ ],
+ "type": "object"
},
"CreateTagDto": {
- "type": "object",
"properties": {
- "type": {
- "$ref": "#/components/schemas/TagTypeEnum"
- },
"name": {
"type": "string"
+ },
+ "type": {
+ "$ref": "#/components/schemas/TagTypeEnum"
}
},
"required": [
"type",
"name"
- ]
+ ],
+ "type": "object"
},
"CreateUserDto": {
- "type": "object",
"properties": {
"email": {
"type": "string"
},
- "password": {
+ "externalPath": {
+ "nullable": true,
"type": "string"
},
"firstName": {
@@ -5308,13 +5308,12 @@
"lastName": {
"type": "string"
},
- "storageLabel": {
- "type": "string",
- "nullable": true
+ "password": {
+ "type": "string"
},
- "externalPath": {
- "type": "string",
- "nullable": true
+ "storageLabel": {
+ "nullable": true,
+ "type": "string"
}
},
"required": [
@@ -5322,24 +5321,24 @@
"password",
"firstName",
"lastName"
- ]
+ ],
+ "type": "object"
},
"CuratedLocationsResponseDto": {
- "type": "object",
"properties": {
- "id": {
+ "city": {
"type": "string"
},
- "city": {
+ "deviceAssetId": {
"type": "string"
},
- "resizePath": {
+ "deviceId": {
"type": "string"
},
- "deviceAssetId": {
+ "id": {
"type": "string"
},
- "deviceId": {
+ "resizePath": {
"type": "string"
}
},
@@ -5349,24 +5348,24 @@
"resizePath",
"deviceAssetId",
"deviceId"
- ]
+ ],
+ "type": "object"
},
"CuratedObjectsResponseDto": {
- "type": "object",
"properties": {
- "id": {
+ "deviceAssetId": {
"type": "string"
},
- "object": {
+ "deviceId": {
"type": "string"
},
- "resizePath": {
+ "id": {
"type": "string"
},
- "deviceAssetId": {
+ "object": {
"type": "string"
},
- "deviceId": {
+ "resizePath": {
"type": "string"
}
},
@@ -5376,265 +5375,261 @@
"resizePath",
"deviceAssetId",
"deviceId"
- ]
+ ],
+ "type": "object"
},
"DeleteAssetDto": {
- "type": "object",
"properties": {
"ids": {
- "title": "Array of asset IDs to delete",
"example": [
"bf973405-3f2a-48d2-a687-2ed4167164be",
"dd41870b-5d00-46d2-924e-1d8489a0aa0f",
"fad77c3f-deef-4e7e-9608-14c1aa4e559a"
],
- "type": "array",
"items": {
"type": "string"
- }
+ },
+ "title": "Array of asset IDs to delete",
+ "type": "array"
}
},
"required": [
"ids"
- ]
+ ],
+ "type": "object"
},
"DeleteAssetResponseDto": {
- "type": "object",
"properties": {
- "status": {
- "$ref": "#/components/schemas/DeleteAssetStatus"
- },
"id": {
"type": "string"
+ },
+ "status": {
+ "$ref": "#/components/schemas/DeleteAssetStatus"
}
},
"required": [
"status",
"id"
- ]
+ ],
+ "type": "object"
},
"DeleteAssetStatus": {
- "type": "string",
"enum": [
"SUCCESS",
"FAILED"
- ]
+ ],
+ "type": "string"
},
"DownloadArchiveInfo": {
- "type": "object",
"properties": {
- "size": {
- "type": "integer"
- },
"assetIds": {
- "type": "array",
"items": {
"type": "string"
- }
+ },
+ "type": "array"
+ },
+ "size": {
+ "type": "integer"
}
},
"required": [
"size",
"assetIds"
- ]
+ ],
+ "type": "object"
},
"DownloadResponseDto": {
- "type": "object",
"properties": {
- "totalSize": {
- "type": "integer"
- },
"archives": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/DownloadArchiveInfo"
- }
+ },
+ "type": "array"
+ },
+ "totalSize": {
+ "type": "integer"
}
},
"required": [
"totalSize",
"archives"
- ]
+ ],
+ "type": "object"
},
"ExifResponseDto": {
- "type": "object",
"properties": {
- "fileSizeInByte": {
- "type": "integer",
- "nullable": true,
+ "city": {
"default": null,
- "format": "int64"
- },
- "make": {
- "type": "string",
"nullable": true,
- "default": null
- },
- "model": {
- "type": "string",
- "nullable": true,
- "default": null
+ "type": "string"
},
- "exifImageWidth": {
- "type": "number",
+ "country": {
+ "default": null,
"nullable": true,
- "default": null
+ "type": "string"
},
- "exifImageHeight": {
- "type": "number",
+ "dateTimeOriginal": {
+ "default": null,
+ "format": "date-time",
"nullable": true,
- "default": null
+ "type": "string"
},
- "orientation": {
- "type": "string",
+ "description": {
+ "default": null,
"nullable": true,
- "default": null
+ "type": "string"
},
- "dateTimeOriginal": {
- "format": "date-time",
- "type": "string",
+ "exifImageHeight": {
+ "default": null,
"nullable": true,
- "default": null
+ "type": "number"
},
- "modifyDate": {
- "format": "date-time",
- "type": "string",
+ "exifImageWidth": {
+ "default": null,
"nullable": true,
- "default": null
+ "type": "number"
},
- "timeZone": {
- "type": "string",
+ "exposureTime": {
+ "default": null,
"nullable": true,
- "default": null
+ "type": "string"
},
- "lensModel": {
- "type": "string",
+ "fNumber": {
+ "default": null,
"nullable": true,
- "default": null
+ "type": "number"
},
- "fNumber": {
- "type": "number",
+ "fileSizeInByte": {
+ "default": null,
+ "format": "int64",
"nullable": true,
- "default": null
+ "type": "integer"
},
"focalLength": {
- "type": "number",
+ "default": null,
"nullable": true,
- "default": null
+ "type": "number"
},
"iso": {
- "type": "number",
+ "default": null,
"nullable": true,
- "default": null
+ "type": "number"
},
- "exposureTime": {
- "type": "string",
+ "latitude": {
+ "default": null,
"nullable": true,
- "default": null
+ "type": "number"
},
- "latitude": {
- "type": "number",
+ "lensModel": {
+ "default": null,
"nullable": true,
- "default": null
+ "type": "string"
},
"longitude": {
- "type": "number",
+ "default": null,
"nullable": true,
- "default": null
+ "type": "number"
},
- "city": {
- "type": "string",
+ "make": {
+ "default": null,
"nullable": true,
- "default": null
+ "type": "string"
},
- "state": {
- "type": "string",
+ "model": {
+ "default": null,
"nullable": true,
- "default": null
+ "type": "string"
},
- "country": {
- "type": "string",
+ "modifyDate": {
+ "default": null,
+ "format": "date-time",
"nullable": true,
- "default": null
+ "type": "string"
},
- "description": {
- "type": "string",
+ "orientation": {
+ "default": null,
"nullable": true,
- "default": null
+ "type": "string"
},
"projectionType": {
- "type": "string",
+ "default": null,
+ "nullable": true,
+ "type": "string"
+ },
+ "state": {
+ "default": null,
+ "nullable": true,
+ "type": "string"
+ },
+ "timeZone": {
+ "default": null,
"nullable": true,
- "default": null
+ "type": "string"
}
- }
+ },
+ "type": "object"
},
"GetAssetByTimeBucketDto": {
- "type": "object",
"properties": {
"timeBucket": {
- "title": "Array of date time buckets",
"example": [
"2015-06-01T00:00:00.000Z",
"2016-02-01T00:00:00.000Z",
"2016-03-01T00:00:00.000Z"
],
- "type": "array",
"items": {
"type": "string"
- }
+ },
+ "title": "Array of date time buckets",
+ "type": "array"
},
"userId": {
- "type": "string",
- "format": "uuid"
+ "format": "uuid",
+ "type": "string"
},
"withoutThumbs": {
- "type": "boolean",
- "description": "Include assets without thumbnails"
+ "description": "Include assets without thumbnails",
+ "type": "boolean"
}
},
"required": [
"timeBucket"
- ]
+ ],
+ "type": "object"
},
"GetAssetCountByTimeBucketDto": {
- "type": "object",
"properties": {
"timeGroup": {
"$ref": "#/components/schemas/TimeGroupEnum"
},
"userId": {
- "type": "string",
- "format": "uuid"
+ "format": "uuid",
+ "type": "string"
},
"withoutThumbs": {
- "type": "boolean",
- "description": "Include assets without thumbnails"
+ "description": "Include assets without thumbnails",
+ "type": "boolean"
}
},
"required": [
"timeGroup"
- ]
+ ],
+ "type": "object"
},
"ImportAssetDto": {
- "type": "object",
"properties": {
- "isReadOnly": {
- "type": "boolean",
- "default": true
- },
"assetPath": {
"type": "string"
},
- "sidecarPath": {
- "type": "string"
- },
"deviceAssetId": {
"type": "string"
},
"deviceId": {
"type": "string"
},
+ "duration": {
+ "type": "string"
+ },
"fileCreatedAt": {
"format": "date-time",
"type": "string"
@@ -5643,16 +5638,20 @@
"format": "date-time",
"type": "string"
},
+ "isArchived": {
+ "type": "boolean"
+ },
"isFavorite": {
"type": "boolean"
},
- "isArchived": {
+ "isReadOnly": {
+ "default": true,
"type": "boolean"
},
"isVisible": {
"type": "boolean"
},
- "duration": {
+ "sidecarPath": {
"type": "string"
}
},
@@ -5663,19 +5662,19 @@
"fileCreatedAt",
"fileModifiedAt",
"isFavorite"
- ]
+ ],
+ "type": "object"
},
"JobCommand": {
- "type": "string",
"enum": [
"start",
"pause",
"resume",
"empty"
- ]
+ ],
+ "type": "string"
},
"JobCommandDto": {
- "type": "object",
"properties": {
"command": {
"$ref": "#/components/schemas/JobCommand"
@@ -5687,10 +5686,10 @@
"required": [
"command",
"force"
- ]
+ ],
+ "type": "object"
},
"JobCountsDto": {
- "type": "object",
"properties": {
"active": {
"type": "integer"
@@ -5698,17 +5697,17 @@
"completed": {
"type": "integer"
},
- "failed": {
- "type": "integer"
- },
"delayed": {
"type": "integer"
},
- "waiting": {
+ "failed": {
"type": "integer"
},
"paused": {
"type": "integer"
+ },
+ "waiting": {
+ "type": "integer"
}
},
"required": [
@@ -5718,10 +5717,10 @@
"delayed",
"waiting",
"paused"
- ]
+ ],
+ "type": "object"
},
"JobName": {
- "type": "string",
"enum": [
"thumbnailGeneration",
"metadataExtraction",
@@ -5733,10 +5732,10 @@
"storageTemplateMigration",
"search",
"sidecar"
- ]
+ ],
+ "type": "string"
},
"JobSettingsDto": {
- "type": "object",
"properties": {
"concurrency": {
"type": "integer"
@@ -5744,10 +5743,10 @@
},
"required": [
"concurrency"
- ]
+ ],
+ "type": "object"
},
"JobStatusDto": {
- "type": "object",
"properties": {
"jobCounts": {
"$ref": "#/components/schemas/JobCountsDto"
@@ -5759,59 +5758,59 @@
"required": [
"jobCounts",
"queueStatus"
- ]
+ ],
+ "type": "object"
},
"LoginCredentialDto": {
- "type": "object",
"properties": {
"email": {
- "type": "string",
- "example": "[email protected]"
+ "example": "[email protected]",
+ "type": "string"
},
"password": {
- "type": "string",
- "example": "password"
+ "example": "password",
+ "type": "string"
}
},
"required": [
"email",
"password"
- ]
+ ],
+ "type": "object"
},
"LoginResponseDto": {
- "type": "object",
"properties": {
"accessToken": {
- "type": "string",
- "readOnly": true
- },
- "userId": {
- "type": "string",
- "readOnly": true
- },
- "userEmail": {
- "type": "string",
- "readOnly": true
+ "readOnly": true,
+ "type": "string"
},
"firstName": {
- "type": "string",
- "readOnly": true
+ "readOnly": true,
+ "type": "string"
+ },
+ "isAdmin": {
+ "readOnly": true,
+ "type": "boolean"
},
"lastName": {
- "type": "string",
- "readOnly": true
+ "readOnly": true,
+ "type": "string"
},
"profileImagePath": {
- "type": "string",
- "readOnly": true
- },
- "isAdmin": {
- "type": "boolean",
- "readOnly": true
+ "readOnly": true,
+ "type": "string"
},
"shouldChangePassword": {
- "type": "boolean",
- "readOnly": true
+ "readOnly": true,
+ "type": "boolean"
+ },
+ "userEmail": {
+ "readOnly": true,
+ "type": "string"
+ },
+ "userId": {
+ "readOnly": true,
+ "type": "string"
}
},
"required": [
@@ -5823,79 +5822,79 @@
"profileImagePath",
"isAdmin",
"shouldChangePassword"
- ]
+ ],
+ "type": "object"
},
"LogoutResponseDto": {
- "type": "object",
"properties": {
- "successful": {
- "type": "boolean"
- },
"redirectUri": {
"type": "string"
+ },
+ "successful": {
+ "type": "boolean"
}
},
"required": [
"successful",
"redirectUri"
- ]
+ ],
+ "type": "object"
},
"MapMarkerResponseDto": {
- "type": "object",
"properties": {
"id": {
"type": "string"
},
"lat": {
- "type": "number",
- "format": "double"
+ "format": "double",
+ "type": "number"
},
"lon": {
- "type": "number",
- "format": "double"
+ "format": "double",
+ "type": "number"
}
},
"required": [
"id",
"lat",
"lon"
- ]
+ ],
+ "type": "object"
},
"MemoryLaneResponseDto": {
- "type": "object",
"properties": {
- "title": {
- "type": "string"
- },
"assets": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/AssetResponseDto"
- }
+ },
+ "type": "array"
+ },
+ "title": {
+ "type": "string"
}
},
"required": [
"title",
"assets"
- ]
+ ],
+ "type": "object"
},
"MergePersonDto": {
- "type": "object",
"properties": {
"ids": {
- "type": "array",
"items": {
- "type": "string",
- "format": "uuid"
- }
+ "format": "uuid",
+ "type": "string"
+ },
+ "type": "array"
}
},
"required": [
"ids"
- ]
+ ],
+ "type": "object"
},
"OAuthCallbackDto": {
- "type": "object",
"properties": {
"url": {
"type": "string"
@@ -5903,10 +5902,10 @@
},
"required": [
"url"
- ]
+ ],
+ "type": "object"
},
"OAuthConfigDto": {
- "type": "object",
"properties": {
"redirectUri": {
"type": "string"
@@ -5914,11 +5913,17 @@
},
"required": [
"redirectUri"
- ]
+ ],
+ "type": "object"
},
"OAuthConfigResponseDto": {
- "type": "object",
"properties": {
+ "autoLaunch": {
+ "type": "boolean"
+ },
+ "buttonText": {
+ "type": "string"
+ },
"enabled": {
"type": "boolean"
},
@@ -5927,93 +5932,87 @@
},
"url": {
"type": "string"
- },
- "buttonText": {
- "type": "string"
- },
- "autoLaunch": {
- "type": "boolean"
}
},
"required": [
"enabled",
"passwordLoginEnabled"
- ]
+ ],
+ "type": "object"
},
"PeopleResponseDto": {
- "type": "object",
"properties": {
+ "people": {
+ "items": {
+ "$ref": "#/components/schemas/PersonResponseDto"
+ },
+ "type": "array"
+ },
"total": {
"type": "number"
},
"visible": {
"type": "number"
- },
- "people": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/PersonResponseDto"
- }
}
},
"required": [
"total",
"visible",
"people"
- ]
+ ],
+ "type": "object"
},
"PeopleUpdateDto": {
- "type": "object",
"properties": {
"people": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/PeopleUpdateItem"
- }
+ },
+ "type": "array"
}
},
"required": [
"people"
- ]
+ ],
+ "type": "object"
},
"PeopleUpdateItem": {
- "type": "object",
"properties": {
- "id": {
- "type": "string",
- "description": "Person id."
- },
- "name": {
- "type": "string",
- "description": "Person name."
- },
"featureFaceAssetId": {
- "type": "string",
- "description": "Asset is used to get the feature face thumbnail."
+ "description": "Asset is used to get the feature face thumbnail.",
+ "type": "string"
+ },
+ "id": {
+ "description": "Person id.",
+ "type": "string"
},
"isHidden": {
- "type": "boolean",
- "description": "Person visibility"
+ "description": "Person visibility",
+ "type": "boolean"
+ },
+ "name": {
+ "description": "Person name.",
+ "type": "string"
}
},
"required": [
"id"
- ]
+ ],
+ "type": "object"
},
"PersonResponseDto": {
- "type": "object",
"properties": {
"id": {
"type": "string"
},
+ "isHidden": {
+ "type": "boolean"
+ },
"name": {
"type": "string"
},
"thumbnailPath": {
"type": "string"
- },
- "isHidden": {
- "type": "boolean"
}
},
"required": [
@@ -6021,27 +6020,27 @@
"name",
"thumbnailPath",
"isHidden"
- ]
+ ],
+ "type": "object"
},
"PersonUpdateDto": {
- "type": "object",
"properties": {
- "name": {
- "type": "string",
- "description": "Person name."
- },
"featureFaceAssetId": {
- "type": "string",
- "description": "Asset is used to get the feature face thumbnail."
+ "description": "Asset is used to get the feature face thumbnail.",
+ "type": "string"
},
"isHidden": {
- "type": "boolean",
- "description": "Person visibility"
+ "description": "Person visibility",
+ "type": "boolean"
+ },
+ "name": {
+ "description": "Person name.",
+ "type": "string"
}
- }
+ },
+ "type": "object"
},
"QueueStatusDto": {
- "type": "object",
"properties": {
"isActive": {
"type": "boolean"
@@ -6053,43 +6052,43 @@
"required": [
"isActive",
"isPaused"
- ]
+ ],
+ "type": "object"
},
"RemoveAssetsDto": {
- "type": "object",
"properties": {
"assetIds": {
- "type": "array",
"items": {
- "type": "string",
- "format": "uuid"
- }
+ "format": "uuid",
+ "type": "string"
+ },
+ "type": "array"
}
},
"required": [
"assetIds"
- ]
+ ],
+ "type": "object"
},
"SearchAlbumResponseDto": {
- "type": "object",
"properties": {
- "total": {
- "type": "integer"
- },
"count": {
"type": "integer"
},
+ "facets": {
+ "items": {
+ "$ref": "#/components/schemas/SearchFacetResponseDto"
+ },
+ "type": "array"
+ },
"items": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/AlbumResponseDto"
- }
+ },
+ "type": "array"
},
- "facets": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/SearchFacetResponseDto"
- }
+ "total": {
+ "type": "integer"
}
},
"required": [
@@ -6097,10 +6096,10 @@
"count",
"items",
"facets"
- ]
+ ],
+ "type": "object"
},
"SearchAssetDto": {
- "type": "object",
"properties": {
"searchTerm": {
"type": "string"
@@ -6108,28 +6107,28 @@
},
"required": [
"searchTerm"
- ]
+ ],
+ "type": "object"
},
"SearchAssetResponseDto": {
- "type": "object",
"properties": {
- "total": {
- "type": "integer"
- },
"count": {
"type": "integer"
},
+ "facets": {
+ "items": {
+ "$ref": "#/components/schemas/SearchFacetResponseDto"
+ },
+ "type": "array"
+ },
"items": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/AssetResponseDto"
- }
+ },
+ "type": "array"
},
- "facets": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/SearchFacetResponseDto"
- }
+ "total": {
+ "type": "integer"
}
},
"required": [
@@ -6137,10 +6136,10 @@
"count",
"items",
"facets"
- ]
+ ],
+ "type": "object"
},
"SearchConfigResponseDto": {
- "type": "object",
"properties": {
"enabled": {
"type": "boolean"
@@ -6148,43 +6147,43 @@
},
"required": [
"enabled"
- ]
+ ],
+ "type": "object"
},
"SearchExploreItem": {
- "type": "object",
"properties": {
- "value": {
- "type": "string"
- },
"data": {
"$ref": "#/components/schemas/AssetResponseDto"
+ },
+ "value": {
+ "type": "string"
}
},
"required": [
"value",
"data"
- ]
+ ],
+ "type": "object"
},
"SearchExploreResponseDto": {
- "type": "object",
"properties": {
"fieldName": {
"type": "string"
},
"items": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/SearchExploreItem"
- }
+ },
+ "type": "array"
}
},
"required": [
"fieldName",
"items"
- ]
+ ],
+ "type": "object"
},
"SearchFacetCountResponseDto": {
- "type": "object",
"properties": {
"count": {
"type": "integer"
@@ -6196,28 +6195,28 @@
"required": [
"count",
"value"
- ]
+ ],
+ "type": "object"
},
"SearchFacetResponseDto": {
- "type": "object",
"properties": {
- "fieldName": {
- "type": "string"
- },
"counts": {
- "type": "array",
"items": {
"$ref": "#/components/schemas/SearchFacetCountResponseDto"
- }
+ },
+ "type": "array"
+ },
+ "fieldName": {
+ "type": "string"
}
},
"required": [
"fieldName",
"counts"
- ]
+ ],
+ "type": "object"
},
"SearchResponseDto": {
- "type": "object",
"properties": {
"albums": {
"$ref": "#/components/schemas/SearchAlbumResponseDto"
@@ -6229,35 +6228,35 @@
"required": [
"albums",
"assets"
- ]
+ ],
+ "type": "object"
},
"ServerInfoResponseDto": {
- "type": "object",
"properties": {
- "diskSizeRaw": {
- "type": "integer",
- "format": "int64"
- },
- "diskUseRaw": {
- "type": "integer",
- "format": "int64"
+ "diskAvailable": {
+ "type": "string"
},
"diskAvailableRaw": {
- "type": "integer",
- "format": "int64"
- },
- "diskUsagePercentage": {
- "type": "number",
- "format": "float"
+ "format": "int64",
+ "type": "integer"
},
"diskSize": {
"type": "string"
},
+ "diskSizeRaw": {
+ "format": "int64",
+ "type": "integer"
+ },
+ "diskUsagePercentage": {
+ "format": "float",
+ "type": "number"
+ },
"diskUse": {
"type": "string"
},
- "diskAvailable": {
- "type": "string"
+ "diskUseRaw": {
+ "format": "int64",
+ "type": "integer"
}
},
"required": [
@@ -6268,68 +6267,63 @@
"diskSize",
"diskUse",
"diskAvailable"
- ]
+ ],
+ "type": "object"
},
"ServerMediaTypesResponseDto": {
- "type": "object",
"properties": {
- "video": {
- "type": "array",
+ "image": {
"items": {
"type": "string"
- }
+ },
+ "type": "array"
},
- "image": {
- "type": "array",
+ "sidecar": {
"items": {
"type": "string"
- }
+ },
+ "type": "array"
},
- "sidecar": {
- "type": "array",
+ "video": {
"items": {
"type": "string"
- }
+ },
+ "type": "array"
}
},
"required": [
"video",
"image",
"sidecar"
- ]
+ ],
+ "type": "object"
},
"ServerPingResponse": {
- "type": "object",
"properties": {
"res": {
- "type": "string",
+ "example": "pong",
"readOnly": true,
- "example": "pong"
+ "type": "string"
}
},
"required": [
"res"
- ]
+ ],
+ "type": "object"
},
"ServerStatsResponseDto": {
- "type": "object",
"properties": {
"photos": {
- "type": "integer",
- "default": 0
- },
- "videos": {
- "type": "integer",
- "default": 0
+ "default": 0,
+ "type": "integer"
},
"usage": {
- "type": "integer",
"default": 0,
- "format": "int64"
+ "format": "int64",
+ "type": "integer"
},
"usageByUser": {
"default": [],
- "title": "Array of usage for each user",
"example": [
{
"photos": 1,
@@ -6337,10 +6331,15 @@
"diskUsageRaw": 1
}
],
- "type": "array",
"items": {
"$ref": "#/components/schemas/UsageByUserDto"
- }
+ },
+ "title": "Array of usage for each user",
+ "type": "array"
+ },
+ "videos": {
+ "default": 0,
+ "type": "integer"
}
},
"required": [
@@ -6348,10 +6347,10 @@
"videos",
"usage",
"usageByUser"
- ]
+ ],
+ "type": "object"
},
"ServerVersionReponseDto": {
- "type": "object",
"properties": {
"major": {
"type": "integer"
@@ -6367,118 +6366,118 @@
"major",
"minor",
"patch"
- ]
+ ],
+ "type": "object"
},
"SharedLinkCreateDto": {
- "type": "object",
"properties": {
- "type": {
- "$ref": "#/components/schemas/SharedLinkType"
+ "albumId": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "allowDownload": {
+ "default": true,
+ "type": "boolean"
+ },
+ "allowUpload": {
+ "default": false,
+ "type": "boolean"
},
"assetIds": {
- "type": "array",
"items": {
- "type": "string",
- "format": "uuid"
- }
- },
- "albumId": {
- "type": "string",
- "format": "uuid"
+ "format": "uuid",
+ "type": "string"
+ },
+ "type": "array"
},
"description": {
"type": "string"
},
"expiresAt": {
+ "default": null,
"format": "date-time",
- "type": "string",
"nullable": true,
- "default": null
- },
- "allowUpload": {
- "type": "boolean",
- "default": false
- },
- "allowDownload": {
- "type": "boolean",
- "default": true
+ "type": "string"
},
"showExif": {
- "type": "boolean",
- "default": true
+ "default": true,
+ "type": "boolean"
+ },
+ "type": {
+ "$ref": "#/components/schemas/SharedLinkType"
}
},
"required": [
"type"
- ]
+ ],
+ "type": "object"
},
"SharedLinkEditDto": {
- "type": "object",
"properties": {
+ "allowDownload": {
+ "type": "boolean"
+ },
+ "allowUpload": {
+ "type": "boolean"
+ },
"description": {
"type": "string"
},
"expiresAt": {
"format": "date-time",
- "type": "string",
- "nullable": true
- },
- "allowUpload": {
- "type": "boolean"
- },
- "allowDownload": {
- "type": "boolean"
+ "nullable": true,
+ "type": "string"
},
"showExif": {
"type": "boolean"
}
- }
+ },
+ "type": "object"
},
"SharedLinkResponseDto": {
- "type": "object",
"properties": {
- "type": {
- "$ref": "#/components/schemas/SharedLinkType"
- },
- "id": {
- "type": "string"
+ "album": {
+ "$ref": "#/components/schemas/AlbumResponseDto"
},
- "description": {
- "type": "string",
- "nullable": true
+ "allowDownload": {
+ "type": "boolean"
},
- "userId": {
- "type": "string"
+ "allowUpload": {
+ "type": "boolean"
},
- "key": {
- "type": "string"
+ "assets": {
+ "items": {
+ "$ref": "#/components/schemas/AssetResponseDto"
+ },
+ "type": "array"
},
"createdAt": {
"format": "date-time",
"type": "string"
},
+ "description": {
+ "nullable": true,
+ "type": "string"
+ },
"expiresAt": {
"format": "date-time",
- "type": "string",
- "nullable": true
+ "nullable": true,
+ "type": "string"
},
- "assets": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/AssetResponseDto"
- }
+ "id": {
+ "type": "string"
},
- "album": {
- "$ref": "#/components/schemas/AlbumResponseDto"
+ "key": {
+ "type": "string"
},
- "allowUpload": {
+ "showExif": {
"type": "boolean"
},
- "allowDownload": {
- "type": "boolean"
+ "type": {
+ "$ref": "#/components/schemas/SharedLinkType"
},
- "showExif": {
- "type": "boolean"
+ "userId": {
+ "type": "string"
}
},
"required": [
@@ -6493,33 +6492,33 @@
"allowUpload",
"allowDownload",
"showExif"
- ]
+ ],
+ "type": "object"
},
"SharedLinkType": {
- "type": "string",
"enum": [
"ALBUM",
"INDIVIDUAL"
- ]
+ ],
+ "type": "string"
},
"SignUpDto": {
- "type": "object",
"properties": {
"email": {
- "type": "string",
- "example": "[email protected]"
- },
- "password": {
- "type": "string",
- "example": "password"
+ "example": "[email protected]",
+ "type": "string"
},
"firstName": {
- "type": "string",
- "example": "Admin"
+ "example": "Admin",
+ "type": "string"
},
"lastName": {
- "type": "string",
- "example": "Doe"
+ "example": "Doe",
+ "type": "string"
+ },
+ "password": {
+ "example": "password",
+ "type": "string"
}
},
"required": [
@@ -6527,33 +6526,36 @@
"password",
"firstName",
"lastName"
- ]
+ ],
+ "type": "object"
},
"SmartInfoResponseDto": {
- "type": "object",
"properties": {
- "tags": {
- "nullable": true,
- "type": "array",
+ "objects": {
"items": {
"type": "string"
- }
- },
- "objects": {
+ },
"nullable": true,
- "type": "array",
+ "type": "array"
+ },
+ "tags": {
"items": {
"type": "string"
- }
+ },
+ "nullable": true,
+ "type": "array"
}
- }
+ },
+ "type": "object"
},
"SystemConfigDto": {
- "type": "object",
"properties": {
"ffmpeg": {
"$ref": "#/components/schemas/SystemConfigFFmpegDto"
},
+ "job": {
+ "$ref": "#/components/schemas/SystemConfigJobDto"
+ },
"oauth": {
"$ref": "#/components/schemas/SystemConfigOAuthDto"
},
@@ -6562,9 +6564,6 @@
},
"storageTemplate": {
"$ref": "#/components/schemas/SystemConfigStorageTemplateDto"
- },
- "job": {
- "$ref": "#/components/schemas/SystemConfigJobDto"
}
},
"required": [
@@ -6573,34 +6572,34 @@
"passwordLogin",
"storageTemplate",
"job"
- ]
+ ],
+ "type": "object"
},
"SystemConfigFFmpegDto": {
- "type": "object",
"properties": {
"crf": {
"type": "integer"
},
- "threads": {
- "type": "integer"
+ "maxBitrate": {
+ "type": "string"
},
- "targetVideoCodec": {
- "$ref": "#/components/schemas/VideoCodec"
+ "preset": {
+ "type": "string"
},
"targetAudioCodec": {
"$ref": "#/components/schemas/AudioCodec"
},
- "transcode": {
- "$ref": "#/components/schemas/TranscodePolicy"
- },
- "preset": {
- "type": "string"
- },
"targetResolution": {
"type": "string"
},
- "maxBitrate": {
- "type": "string"
+ "targetVideoCodec": {
+ "$ref": "#/components/schemas/VideoCodec"
+ },
+ "threads": {
+ "type": "integer"
+ },
+ "transcode": {
+ "$ref": "#/components/schemas/TranscodePolicy"
},
"twoPass": {
"type": "boolean"
@@ -6616,39 +6615,39 @@
"targetResolution",
"maxBitrate",
"twoPass"
- ]
+ ],
+ "type": "object"
},
"SystemConfigJobDto": {
- "type": "object",
"properties": {
- "thumbnailGeneration": {
+ "backgroundTask": {
"$ref": "#/components/schemas/JobSettingsDto"
},
- "metadataExtraction": {
+ "clipEncoding": {
"$ref": "#/components/schemas/JobSettingsDto"
},
- "videoConversion": {
+ "metadataExtraction": {
"$ref": "#/components/schemas/JobSettingsDto"
},
"objectTagging": {
"$ref": "#/components/schemas/JobSettingsDto"
},
- "clipEncoding": {
+ "recognizeFaces": {
"$ref": "#/components/schemas/JobSettingsDto"
},
- "storageTemplateMigration": {
+ "search": {
"$ref": "#/components/schemas/JobSettingsDto"
},
- "backgroundTask": {
+ "sidecar": {
"$ref": "#/components/schemas/JobSettingsDto"
},
- "search": {
+ "storageTemplateMigration": {
"$ref": "#/components/schemas/JobSettingsDto"
},
- "recognizeFaces": {
+ "thumbnailGeneration": {
"$ref": "#/components/schemas/JobSettingsDto"
},
- "sidecar": {
+ "videoConversion": {
"$ref": "#/components/schemas/JobSettingsDto"
}
},
@@ -6663,15 +6662,18 @@
"search",
"recognizeFaces",
"sidecar"
- ]
+ ],
+ "type": "object"
},
"SystemConfigOAuthDto": {
- "type": "object",
"properties": {
- "enabled": {
+ "autoLaunch": {
"type": "boolean"
},
- "issuerUrl": {
+ "autoRegister": {
+ "type": "boolean"
+ },
+ "buttonText": {
"type": "string"
},
"clientId": {
@@ -6680,26 +6682,23 @@
"clientSecret": {
"type": "string"
},
- "scope": {
- "type": "string"
- },
- "storageLabelClaim": {
- "type": "string"
- },
- "buttonText": {
- "type": "string"
- },
- "autoRegister": {
+ "enabled": {
"type": "boolean"
},
- "autoLaunch": {
- "type": "boolean"
+ "issuerUrl": {
+ "type": "string"
},
"mobileOverrideEnabled": {
"type": "boolean"
},
"mobileRedirectUri": {
"type": "string"
+ },
+ "scope": {
+ "type": "string"
+ },
+ "storageLabelClaim": {
+ "type": "string"
}
},
"required": [
@@ -6714,10 +6713,10 @@
"autoLaunch",
"mobileOverrideEnabled",
"mobileRedirectUri"
- ]
+ ],
+ "type": "object"
},
"SystemConfigPasswordLoginDto": {
- "type": "object",
"properties": {
"enabled": {
"type": "boolean"
@@ -6725,10 +6724,10 @@
},
"required": [
"enabled"
- ]
+ ],
+ "type": "object"
},
"SystemConfigStorageTemplateDto": {
- "type": "object",
"properties": {
"template": {
"type": "string"
@@ -6736,52 +6735,52 @@
},
"required": [
"template"
- ]
+ ],
+ "type": "object"
},
"SystemConfigTemplateStorageOptionDto": {
- "type": "object",
"properties": {
- "yearOptions": {
- "type": "array",
+ "dayOptions": {
"items": {
"type": "string"
- }
+ },
+ "type": "array"
},
- "monthOptions": {
- "type": "array",
+ "hourOptions": {
"items": {
"type": "string"
- }
+ },
+ "type": "array"
},
- "dayOptions": {
- "type": "array",
+ "minuteOptions": {
"items": {
"type": "string"
- }
+ },
+ "type": "array"
},
- "hourOptions": {
- "type": "array",
+ "monthOptions": {
"items": {
"type": "string"
- }
+ },
+ "type": "array"
},
- "minuteOptions": {
- "type": "array",
+ "presetOptions": {
"items": {
"type": "string"
- }
+ },
+ "type": "array"
},
"secondOptions": {
- "type": "array",
"items": {
"type": "string"
- }
+ },
+ "type": "array"
},
- "presetOptions": {
- "type": "array",
+ "yearOptions": {
"items": {
"type": "string"
- }
+ },
+ "type": "array"
}
},
"required": [
@@ -6792,20 +6791,20 @@
"minuteOptions",
"secondOptions",
"presetOptions"
- ]
+ ],
+ "type": "object"
},
"TagResponseDto": {
- "type": "object",
"properties": {
- "type": {
- "$ref": "#/components/schemas/TagTypeEnum"
- },
"id": {
"type": "string"
},
"name": {
"type": "string"
},
+ "type": {
+ "$ref": "#/components/schemas/TagTypeEnum"
+ },
"userId": {
"type": "string"
}
@@ -6815,142 +6814,142 @@
"id",
"name",
"userId"
- ]
+ ],
+ "type": "object"
},
"TagTypeEnum": {
- "type": "string",
"enum": [
"OBJECT",
"FACE",
"CUSTOM"
- ]
+ ],
+ "type": "string"
},
"ThumbnailFormat": {
- "type": "string",
"enum": [
"JPEG",
"WEBP"
- ]
+ ],
+ "type": "string"
},
"TimeGroupEnum": {
- "type": "string",
"enum": [
"day",
"month"
- ]
+ ],
+ "type": "string"
},
"TranscodePolicy": {
- "type": "string",
"enum": [
"all",
"optimal",
"required",
"disabled"
- ]
+ ],
+ "type": "string"
},
"UpdateAlbumDto": {
- "type": "object",
"properties": {
"albumName": {
"type": "string"
},
"albumThumbnailAssetId": {
- "type": "string",
- "format": "uuid"
+ "format": "uuid",
+ "type": "string"
}
- }
+ },
+ "type": "object"
},
"UpdateAssetDto": {
- "type": "object",
"properties": {
+ "description": {
+ "type": "string"
+ },
+ "isArchived": {
+ "type": "boolean"
+ },
+ "isFavorite": {
+ "type": "boolean"
+ },
"tagIds": {
- "title": "Array of tag IDs to add to the asset",
"example": [
"bf973405-3f2a-48d2-a687-2ed4167164be",
"dd41870b-5d00-46d2-924e-1d8489a0aa0f",
"fad77c3f-deef-4e7e-9608-14c1aa4e559a"
],
- "type": "array",
"items": {
"type": "string"
- }
- },
- "isFavorite": {
- "type": "boolean"
- },
- "isArchived": {
- "type": "boolean"
- },
- "description": {
- "type": "string"
+ },
+ "title": "Array of tag IDs to add to the asset",
+ "type": "array"
}
- }
+ },
+ "type": "object"
},
"UpdateTagDto": {
- "type": "object",
"properties": {
"name": {
"type": "string"
}
- }
+ },
+ "type": "object"
},
"UpdateUserDto": {
- "type": "object",
"properties": {
- "id": {
- "type": "string",
- "format": "uuid"
- },
"email": {
"type": "string"
},
- "password": {
+ "externalPath": {
"type": "string"
},
"firstName": {
"type": "string"
},
- "lastName": {
+ "id": {
+ "format": "uuid",
"type": "string"
},
- "storageLabel": {
- "type": "string"
+ "isAdmin": {
+ "type": "boolean"
},
- "externalPath": {
+ "lastName": {
"type": "string"
},
- "isAdmin": {
- "type": "boolean"
+ "password": {
+ "type": "string"
},
"shouldChangePassword": {
"type": "boolean"
+ },
+ "storageLabel": {
+ "type": "string"
}
},
"required": [
"id"
- ]
+ ],
+ "type": "object"
},
"UsageByUserDto": {
- "type": "object",
"properties": {
- "userId": {
- "type": "string"
+ "photos": {
+ "type": "integer"
+ },
+ "usage": {
+ "format": "int64",
+ "type": "integer"
},
"userFirstName": {
"type": "string"
},
- "userLastName": {
+ "userId": {
"type": "string"
},
- "photos": {
- "type": "integer"
+ "userLastName": {
+ "type": "string"
},
"videos": {
"type": "integer"
- },
- "usage": {
- "type": "integer",
- "format": "int64"
}
},
"required": [
@@ -6960,10 +6959,10 @@
"photos",
"videos",
"usage"
- ]
+ ],
+ "type": "object"
},
"UserCountResponseDto": {
- "type": "object",
"properties": {
"userCount": {
"type": "integer"
@@ -6971,30 +6970,41 @@
},
"required": [
"userCount"
- ]
+ ],
+ "type": "object"
},
"UserResponseDto": {
- "type": "object",
"properties": {
- "id": {
+ "createdAt": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "deletedAt": {
+ "format": "date-time",
+ "nullable": true,
"type": "string"
},
"email": {
"type": "string"
},
+ "externalPath": {
+ "nullable": true,
+ "type": "string"
+ },
"firstName": {
"type": "string"
},
- "lastName": {
+ "id": {
"type": "string"
},
- "storageLabel": {
- "type": "string",
- "nullable": true
+ "isAdmin": {
+ "type": "boolean"
},
- "externalPath": {
- "type": "string",
- "nullable": true
+ "lastName": {
+ "type": "string"
+ },
+ "oauthId": {
+ "type": "string"
},
"profileImagePath": {
"type": "string"
@@ -7002,24 +7012,13 @@
"shouldChangePassword": {
"type": "boolean"
},
- "isAdmin": {
- "type": "boolean"
- },
- "createdAt": {
- "format": "date-time",
+ "storageLabel": {
+ "nullable": true,
"type": "string"
},
- "deletedAt": {
- "format": "date-time",
- "type": "string",
- "nullable": true
- },
"updatedAt": {
"format": "date-time",
"type": "string"
- },
- "oauthId": {
- "type": "string"
}
},
"required": [
@@ -7036,10 +7035,10 @@
"deletedAt",
"updatedAt",
"oauthId"
- ]
+ ],
+ "type": "object"
},
"ValidateAccessTokenResponseDto": {
- "type": "object",
"properties": {
"authStatus": {
"type": "boolean"
@@ -7047,15 +7046,16 @@
},
"required": [
"authStatus"
- ]
+ ],
+ "type": "object"
},
"VideoCodec": {
- "type": "string",
"enum": [
"h264",
"hevc",
"vp9"
- ]
+ ],
+ "type": "string"
}
}
}
diff --git a/server/src/immich/app.utils.ts b/server/src/immich/app.utils.ts
index 44eaa9f23c..707e5e6ca2 100644
--- a/server/src/immich/app.utils.ts
+++ b/server/src/immich/app.utils.ts
@@ -34,21 +34,25 @@ export const asStreamableFile = ({ stream, type, length }: ImmichReadStream) =>
return new StreamableFile(stream, { type, length });
};
-function sortKeys<T extends object>(obj: T): T {
- if (!obj) {
+function sortKeys<T>(obj: T): T {
+ if (!obj || typeof obj !== 'object' || Array.isArray(obj)) {
return obj;
}
const result: Partial<T> = {};
const keys = Object.keys(obj).sort() as Array<keyof T>;
for (const key of keys) {
- result[key] = obj[key];
+ result[key] = sortKeys(obj[key]);
}
return result as T;
}
const patchOpenAPI = (document: OpenAPIObject) => {
+ for (const [key, value] of Object.entries(document.paths)) {
+ document.paths[key] = sortKeys(value);
+ }
document.paths = sortKeys(document.paths);
+
if (document.components?.schemas) {
document.components.schemas = sortKeys(document.components.schemas);
}
diff --git a/web/src/api/open-api/api.ts b/web/src/api/open-api/api.ts
index e42b66ccbf..453e9ae84e 100644
--- a/web/src/api/open-api/api.ts
+++ b/web/src/api/open-api/api.ts
@@ -44,16 +44,16 @@ export interface APIKeyCreateDto {
export interface APIKeyCreateResponseDto {
/**
*
- * @type {string}
+ * @type {APIKeyResponseDto}
* @memberof APIKeyCreateResponseDto
*/
- 'secret': string;
+ 'apiKey': APIKeyResponseDto;
/**
*
- * @type {APIKeyResponseDto}
+ * @type {string}
* @memberof APIKeyCreateResponseDto
*/
- 'apiKey': APIKeyResponseDto;
+ 'secret': string;
}
/**
*
@@ -66,19 +66,19 @@ export interface APIKeyResponseDto {
* @type {string}
* @memberof APIKeyResponseDto
*/
- 'id': string;
+ 'createdAt': string;
/**
*
* @type {string}
* @memberof APIKeyResponseDto
*/
- 'name': string;
+ 'id': string;
/**
*
* @type {string}
* @memberof APIKeyResponseDto
*/
- 'createdAt': string;
+ 'name': string;
/**
*
* @type {string}
@@ -120,10 +120,10 @@ export interface AddAssetsDto {
export interface AddAssetsResponseDto {
/**
*
- * @type {number}
+ * @type {AlbumResponseDto}
* @memberof AddAssetsResponseDto
*/
- 'successfullyAdded': number;
+ 'album'?: AlbumResponseDto;
/**
*
* @type {Array<string>}
@@ -132,10 +132,10 @@ export interface AddAssetsResponseDto {
'alreadyInAlbum': Array<string>;
/**
*
- * @type {AlbumResponseDto}
+ * @type {number}
* @memberof AddAssetsResponseDto
*/
- 'album'?: AlbumResponseDto;
+ 'successfullyAdded': number;
}
/**
*
@@ -161,7 +161,7 @@ export interface AdminSignupResponseDto {
* @type {string}
* @memberof AdminSignupResponseDto
*/
- 'id': string;
+ 'createdAt': string;
/**
*
* @type {string}
@@ -179,13 +179,13 @@ export interface AdminSignupResponseDto {
* @type {string}
* @memberof AdminSignupResponseDto
*/
- 'lastName': string;
+ 'id': string;
/**
*
* @type {string}
* @memberof AdminSignupResponseDto
*/
- 'createdAt': string;
+ 'lastName': string;
}
/**
*
@@ -198,19 +198,19 @@ export interface AlbumCountResponseDto {
* @type {number}
* @memberof AlbumCountResponseDto
*/
- 'owned': number;
+ 'notShared': number;
/**
*
* @type {number}
* @memberof AlbumCountResponseDto
*/
- 'shared': number;
+ 'owned': number;
/**
*
* @type {number}
* @memberof AlbumCountResponseDto
*/
- 'notShared': number;
+ 'shared': number;
}
/**
*
@@ -220,28 +220,28 @@ export interface AlbumCountResponseDto {
export interface AlbumResponseDto {
/**
*
- * @type {number}
+ * @type {string}
* @memberof AlbumResponseDto
*/
- 'assetCount': number;
+ 'albumName': string;
/**
*
* @type {string}
* @memberof AlbumResponseDto
*/
- 'id': string;
+ 'albumThumbnailAssetId': string | null;
/**
*
- * @type {string}
+ * @type {number}
* @memberof AlbumResponseDto
*/
- 'ownerId': string;
+ 'assetCount': number;
/**
*
- * @type {string}
+ * @type {Array<AssetResponseDto>}
* @memberof AlbumResponseDto
*/
- 'albumName': string;
+ 'assets': Array<AssetResponseDto>;
/**
*
* @type {string}
@@ -253,43 +253,43 @@ export interface AlbumResponseDto {
* @type {string}
* @memberof AlbumResponseDto
*/
- 'updatedAt': string;
+ 'id': string;
/**
*
* @type {string}
* @memberof AlbumResponseDto
*/
- 'albumThumbnailAssetId': string | null;
+ 'lastModifiedAssetTimestamp'?: string;
/**
*
- * @type {boolean}
+ * @type {UserResponseDto}
* @memberof AlbumResponseDto
*/
- 'shared': boolean;
+ 'owner': UserResponseDto;
/**
*
- * @type {Array<UserResponseDto>}
+ * @type {string}
* @memberof AlbumResponseDto
*/
- 'sharedUsers': Array<UserResponseDto>;
+ 'ownerId': string;
/**
*
- * @type {Array<AssetResponseDto>}
+ * @type {boolean}
* @memberof AlbumResponseDto
*/
- 'assets': Array<AssetResponseDto>;
+ 'shared': boolean;
/**
*
- * @type {UserResponseDto}
+ * @type {Array<UserResponseDto>}
* @memberof AlbumResponseDto
*/
- 'owner': UserResponseDto;
+ 'sharedUsers': Array<UserResponseDto>;
/**
*
* @type {string}
* @memberof AlbumResponseDto
*/
- 'lastModifiedAssetTimestamp'?: string;
+ 'updatedAt': string;
}
/**
*
@@ -302,19 +302,19 @@ export interface AllJobStatusResponseDto {
* @type {JobStatusDto}
* @memberof AllJobStatusResponseDto
*/
- 'thumbnailGeneration': JobStatusDto;
+ 'backgroundTask': JobStatusDto;
/**
*
* @type {JobStatusDto}
* @memberof AllJobStatusResponseDto
*/
- 'metadataExtraction': JobStatusDto;
+ 'clipEncoding': JobStatusDto;
/**
*
* @type {JobStatusDto}
* @memberof AllJobStatusResponseDto
*/
- 'videoConversion': JobStatusDto;
+ 'metadataExtraction': JobStatusDto;
/**
*
* @type {JobStatusDto}
@@ -326,37 +326,37 @@ export interface AllJobStatusResponseDto {
* @type {JobStatusDto}
* @memberof AllJobStatusResponseDto
*/
- 'clipEncoding': JobStatusDto;
+ 'recognizeFaces': JobStatusDto;
/**
*
* @type {JobStatusDto}
* @memberof AllJobStatusResponseDto
*/
- 'storageTemplateMigration': JobStatusDto;
+ 'search': JobStatusDto;
/**
*
* @type {JobStatusDto}
* @memberof AllJobStatusResponseDto
*/
- 'backgroundTask': JobStatusDto;
+ 'sidecar': JobStatusDto;
/**
*
* @type {JobStatusDto}
* @memberof AllJobStatusResponseDto
*/
- 'search': JobStatusDto;
+ 'storageTemplateMigration': JobStatusDto;
/**
*
* @type {JobStatusDto}
* @memberof AllJobStatusResponseDto
*/
- 'recognizeFaces': JobStatusDto;
+ 'thumbnailGeneration': JobStatusDto;
/**
*
* @type {JobStatusDto}
* @memberof AllJobStatusResponseDto
*/
- 'sidecar': JobStatusDto;
+ 'videoConversion': JobStatusDto;
}
/**
*
@@ -378,17 +378,17 @@ export interface AssetBulkUploadCheckDto {
*/
export interface AssetBulkUploadCheckItem {
/**
- *
+ * base64 or hex encoded sha1 hash
* @type {string}
* @memberof AssetBulkUploadCheckItem
*/
- 'id': string;
+ 'checksum': string;
/**
- * base64 or hex encoded sha1 hash
+ *
* @type {string}
* @memberof AssetBulkUploadCheckItem
*/
- 'checksum': string;
+ 'id': string;
}
/**
*
@@ -414,25 +414,25 @@ export interface AssetBulkUploadCheckResult {
* @type {string}
* @memberof AssetBulkUploadCheckResult
*/
- 'id': string;
+ 'action': AssetBulkUploadCheckResultActionEnum;
/**
*
* @type {string}
* @memberof AssetBulkUploadCheckResult
*/
- 'action': AssetBulkUploadCheckResultActionEnum;
+ 'assetId'?: string;
/**
*
* @type {string}
* @memberof AssetBulkUploadCheckResult
*/
- 'reason'?: AssetBulkUploadCheckResultReasonEnum;
+ 'id': string;
/**
*
* @type {string}
* @memberof AssetBulkUploadCheckResult
*/
- 'assetId'?: string;
+ 'reason'?: AssetBulkUploadCheckResultReasonEnum;
}
export const AssetBulkUploadCheckResultActionEnum = {
@@ -456,16 +456,16 @@ export type AssetBulkUploadCheckResultReasonEnum = typeof AssetBulkUploadCheckRe
export interface AssetCountByTimeBucket {
/**
*
- * @type {string}
+ * @type {number}
* @memberof AssetCountByTimeBucket
*/
- 'timeBucket': string;
+ 'count': number;
/**
*
- * @type {number}
+ * @type {string}
* @memberof AssetCountByTimeBucket
*/
- 'count': number;
+ 'timeBucket': string;
}
/**
*
@@ -475,16 +475,16 @@ export interface AssetCountByTimeBucket {
export interface AssetCountByTimeBucketResponseDto {
/**
*
- * @type {number}
+ * @type {Array<AssetCountByTimeBucket>}
* @memberof AssetCountByTimeBucketResponseDto
*/
- 'totalCount': number;
+ 'buckets': Array<AssetCountByTimeBucket>;
/**
*
- * @type {Array<AssetCountByTimeBucket>}
+ * @type {number}
* @memberof AssetCountByTimeBucketResponseDto
*/
- 'buckets': Array<AssetCountByTimeBucket>;
+ 'totalCount': number;
}
/**
*
@@ -494,16 +494,16 @@ export interface AssetCountByTimeBucketResponseDto {
export interface AssetFileUploadResponseDto {
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof AssetFileUploadResponseDto
*/
- 'id': string;
+ 'duplicate': boolean;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof AssetFileUploadResponseDto
*/
- 'duplicate': boolean;
+ 'id': string;
}
/**
*
@@ -532,16 +532,16 @@ export interface AssetIdsResponseDto {
'assetId': string;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof AssetIdsResponseDto
*/
- 'success': boolean;
+ 'error'?: AssetIdsResponseDtoErrorEnum;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof AssetIdsResponseDto
*/
- 'error'?: AssetIdsResponseDtoErrorEnum;
+ 'success': boolean;
}
export const AssetIdsResponseDtoErrorEnum = {
@@ -559,101 +559,101 @@ export type AssetIdsResponseDtoErrorEnum = typeof AssetIdsResponseDtoErrorEnum[k
*/
export interface AssetResponseDto {
/**
- *
- * @type {AssetTypeEnum}
+ * base64 encoded sha1 hash
+ * @type {string}
* @memberof AssetResponseDto
*/
- 'type': AssetTypeEnum;
+ 'checksum': string;
/**
*
* @type {string}
* @memberof AssetResponseDto
*/
- 'id': string;
+ 'deviceAssetId': string;
/**
*
* @type {string}
* @memberof AssetResponseDto
*/
- 'deviceAssetId': string;
+ 'deviceId': string;
/**
*
* @type {string}
* @memberof AssetResponseDto
*/
- 'ownerId': string;
+ 'duration': string;
/**
*
- * @type {string}
+ * @type {ExifResponseDto}
* @memberof AssetResponseDto
*/
- 'deviceId': string;
+ 'exifInfo'?: ExifResponseDto;
/**
*
* @type {string}
* @memberof AssetResponseDto
*/
- 'originalPath': string;
+ 'fileCreatedAt': string;
/**
*
* @type {string}
* @memberof AssetResponseDto
*/
- 'originalFileName': string;
+ 'fileModifiedAt': string;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof AssetResponseDto
*/
- 'resized': boolean;
+ 'id': string;
/**
- * base64 encoded thumbhash
- * @type {string}
+ *
+ * @type {boolean}
* @memberof AssetResponseDto
*/
- 'thumbhash': string | null;
+ 'isArchived': boolean;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof AssetResponseDto
*/
- 'fileCreatedAt': string;
+ 'isFavorite': boolean;
/**
*
* @type {string}
* @memberof AssetResponseDto
*/
- 'fileModifiedAt': string;
+ 'livePhotoVideoId'?: string | null;
/**
*
* @type {string}
* @memberof AssetResponseDto
*/
- 'updatedAt': string;
+ 'originalFileName': string;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof AssetResponseDto
*/
- 'isFavorite': boolean;
+ 'originalPath': string;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof AssetResponseDto
*/
- 'isArchived': boolean;
+ 'ownerId': string;
/**
*
- * @type {string}
+ * @type {Array<PersonResponseDto>}
* @memberof AssetResponseDto
*/
- 'duration': string;
+ 'people'?: Array<PersonResponseDto>;
/**
*
- * @type {ExifResponseDto}
+ * @type {boolean}
* @memberof AssetResponseDto
*/
- 'exifInfo'?: ExifResponseDto;
+ 'resized': boolean;
/**
*
* @type {SmartInfoResponseDto}
@@ -662,28 +662,28 @@ export interface AssetResponseDto {
'smartInfo'?: SmartInfoResponseDto;
/**
*
- * @type {string}
+ * @type {Array<TagResponseDto>}
* @memberof AssetResponseDto
*/
- 'livePhotoVideoId'?: string | null;
+ 'tags'?: Array<TagResponseDto>;
/**
- *
- * @type {Array<TagResponseDto>}
+ * base64 encoded thumbhash
+ * @type {string}
* @memberof AssetResponseDto
*/
- 'tags'?: Array<TagResponseDto>;
+ 'thumbhash': string | null;
/**
*
- * @type {Array<PersonResponseDto>}
+ * @type {AssetTypeEnum}
* @memberof AssetResponseDto
*/
- 'people'?: Array<PersonResponseDto>;
+ 'type': AssetTypeEnum;
/**
- * base64 encoded sha1 hash
+ *
* @type {string}
* @memberof AssetResponseDto
*/
- 'checksum': string;
+ 'updatedAt': string;
}
@@ -704,13 +704,13 @@ export interface AssetStatsResponseDto {
* @type {number}
* @memberof AssetStatsResponseDto
*/
- 'videos': number;
+ 'total': number;
/**
*
* @type {number}
* @memberof AssetStatsResponseDto
*/
- 'total': number;
+ 'videos': number;
}
/**
*
@@ -754,37 +754,37 @@ export interface AuthDeviceResponseDto {
* @type {string}
* @memberof AuthDeviceResponseDto
*/
- 'id': string;
+ 'createdAt': string;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof AuthDeviceResponseDto
*/
- 'createdAt': string;
+ 'current': boolean;
/**
*
* @type {string}
* @memberof AuthDeviceResponseDto
*/
- 'updatedAt': string;
+ 'deviceOS': string;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof AuthDeviceResponseDto
*/
- 'current': boolean;
+ 'deviceType': string;
/**
*
* @type {string}
* @memberof AuthDeviceResponseDto
*/
- 'deviceType': string;
+ 'id': string;
/**
*
* @type {string}
* @memberof AuthDeviceResponseDto
*/
- 'deviceOS': string;
+ 'updatedAt': string;
}
/**
*
@@ -797,19 +797,19 @@ export interface BulkIdResponseDto {
* @type {string}
* @memberof BulkIdResponseDto
*/
- 'id': string;
+ 'error'?: BulkIdResponseDtoErrorEnum;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof BulkIdResponseDto
*/
- 'success': boolean;
+ 'id': string;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof BulkIdResponseDto
*/
- 'error'?: BulkIdResponseDtoErrorEnum;
+ 'success': boolean;
}
export const BulkIdResponseDtoErrorEnum = {
@@ -832,13 +832,13 @@ export interface ChangePasswordDto {
* @type {string}
* @memberof ChangePasswordDto
*/
- 'password': string;
+ 'newPassword': string;
/**
*
* @type {string}
* @memberof ChangePasswordDto
*/
- 'newPassword': string;
+ 'password': string;
}
/**
*
@@ -867,16 +867,16 @@ export interface CheckDuplicateAssetDto {
export interface CheckDuplicateAssetResponseDto {
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof CheckDuplicateAssetResponseDto
*/
- 'isExist': boolean;
+ 'id'?: string;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof CheckDuplicateAssetResponseDto
*/
- 'id'?: string;
+ 'isExist': boolean;
}
/**
*
@@ -927,13 +927,13 @@ export interface CreateAlbumDto {
* @type {Array<string>}
* @memberof CreateAlbumDto
*/
- 'sharedWithUserIds'?: Array<string>;
+ 'assetIds'?: Array<string>;
/**
*
* @type {Array<string>}
* @memberof CreateAlbumDto
*/
- 'assetIds'?: Array<string>;
+ 'sharedWithUserIds'?: Array<string>;
}
/**
*
@@ -946,13 +946,13 @@ export interface CreateProfileImageResponseDto {
* @type {string}
* @memberof CreateProfileImageResponseDto
*/
- 'userId': string;
+ 'profileImagePath': string;
/**
*
* @type {string}
* @memberof CreateProfileImageResponseDto
*/
- 'profileImagePath': string;
+ 'userId': string;
}
/**
*
@@ -962,16 +962,16 @@ export interface CreateProfileImageResponseDto {
export interface CreateTagDto {
/**
*
- * @type {TagTypeEnum}
+ * @type {string}
* @memberof CreateTagDto
*/
- 'type': TagTypeEnum;
+ 'name': string;
/**
*
- * @type {string}
+ * @type {TagTypeEnum}
* @memberof CreateTagDto
*/
- 'name': string;
+ 'type': TagTypeEnum;
}
@@ -992,7 +992,7 @@ export interface CreateUserDto {
* @type {string}
* @memberof CreateUserDto
*/
- 'password': string;
+ 'externalPath'?: string | null;
/**
*
* @type {string}
@@ -1010,13 +1010,13 @@ export interface CreateUserDto {
* @type {string}
* @memberof CreateUserDto
*/
- 'storageLabel'?: string | null;
+ 'password': string;
/**
*
* @type {string}
* @memberof CreateUserDto
*/
- 'externalPath'?: string | null;
+ 'storageLabel'?: string | null;
}
/**
*
@@ -1029,31 +1029,31 @@ export interface CuratedLocationsResponseDto {
* @type {string}
* @memberof CuratedLocationsResponseDto
*/
- 'id': string;
+ 'city': string;
/**
*
* @type {string}
* @memberof CuratedLocationsResponseDto
*/
- 'city': string;
+ 'deviceAssetId': string;
/**
*
* @type {string}
* @memberof CuratedLocationsResponseDto
*/
- 'resizePath': string;
+ 'deviceId': string;
/**
*
* @type {string}
* @memberof CuratedLocationsResponseDto
*/
- 'deviceAssetId': string;
+ 'id': string;
/**
*
* @type {string}
* @memberof CuratedLocationsResponseDto
*/
- 'deviceId': string;
+ 'resizePath': string;
}
/**
*
@@ -1066,31 +1066,31 @@ export interface CuratedObjectsResponseDto {
* @type {string}
* @memberof CuratedObjectsResponseDto
*/
- 'id': string;
+ 'deviceAssetId': string;
/**
*
* @type {string}
* @memberof CuratedObjectsResponseDto
*/
- 'object': string;
+ 'deviceId': string;
/**
*
* @type {string}
* @memberof CuratedObjectsResponseDto
*/
- 'resizePath': string;
+ 'id': string;
/**
*
* @type {string}
* @memberof CuratedObjectsResponseDto
*/
- 'deviceAssetId': string;
+ 'object': string;
/**
*
* @type {string}
* @memberof CuratedObjectsResponseDto
*/
- 'deviceId': string;
+ 'resizePath': string;
}
/**
*
@@ -1113,16 +1113,16 @@ export interface DeleteAssetDto {
export interface DeleteAssetResponseDto {
/**
*
- * @type {DeleteAssetStatus}
+ * @type {string}
* @memberof DeleteAssetResponseDto
*/
- 'status': DeleteAssetStatus;
+ 'id': string;
/**
*
- * @type {string}
+ * @type {DeleteAssetStatus}
* @memberof DeleteAssetResponseDto
*/
- 'id': string;
+ 'status': DeleteAssetStatus;
}
@@ -1148,16 +1148,16 @@ export type DeleteAssetStatus = typeof DeleteAssetStatus[keyof typeof DeleteAsse
export interface DownloadArchiveInfo {
/**
*
- * @type {number}
+ * @type {Array<string>}
* @memberof DownloadArchiveInfo
*/
- 'size': number;
+ 'assetIds': Array<string>;
/**
*
- * @type {Array<string>}
+ * @type {number}
* @memberof DownloadArchiveInfo
*/
- 'assetIds': Array<string>;
+ 'size': number;
}
/**
*
@@ -1167,16 +1167,16 @@ export interface DownloadArchiveInfo {
export interface DownloadResponseDto {
/**
*
- * @type {number}
+ * @type {Array<DownloadArchiveInfo>}
* @memberof DownloadResponseDto
*/
- 'totalSize': number;
+ 'archives': Array<DownloadArchiveInfo>;
/**
*
- * @type {Array<DownloadArchiveInfo>}
+ * @type {number}
* @memberof DownloadResponseDto
*/
- 'archives': Array<DownloadArchiveInfo>;
+ 'totalSize': number;
}
/**
*
@@ -1186,28 +1186,28 @@ export interface DownloadResponseDto {
export interface ExifResponseDto {
/**
*
- * @type {number}
+ * @type {string}
* @memberof ExifResponseDto
*/
- 'fileSizeInByte'?: number | null;
+ 'city'?: string | null;
/**
*
* @type {string}
* @memberof ExifResponseDto
*/
- 'make'?: string | null;
+ 'country'?: string | null;
/**
*
* @type {string}
* @memberof ExifResponseDto
*/
- 'model'?: string | null;
+ 'dateTimeOriginal'?: string | null;
/**
*
- * @type {number}
+ * @type {string}
* @memberof ExifResponseDto
*/
- 'exifImageWidth'?: number | null;
+ 'description'?: string | null;
/**
*
* @type {number}
@@ -1216,100 +1216,100 @@ export interface ExifResponseDto {
'exifImageHeight'?: number | null;
/**
*
- * @type {string}
+ * @type {number}
* @memberof ExifResponseDto
*/
- 'orientation'?: string | null;
+ 'exifImageWidth'?: number | null;
/**
*
* @type {string}
* @memberof ExifResponseDto
*/
- 'dateTimeOriginal'?: string | null;
+ 'exposureTime'?: string | null;
/**
*
- * @type {string}
+ * @type {number}
* @memberof ExifResponseDto
*/
- 'modifyDate'?: string | null;
+ 'fNumber'?: number | null;
/**
*
- * @type {string}
+ * @type {number}
* @memberof ExifResponseDto
*/
- 'timeZone'?: string | null;
+ 'fileSizeInByte'?: number | null;
/**
*
- * @type {string}
+ * @type {number}
* @memberof ExifResponseDto
*/
- 'lensModel'?: string | null;
+ 'focalLength'?: number | null;
/**
*
* @type {number}
* @memberof ExifResponseDto
*/
- 'fNumber'?: number | null;
+ 'iso'?: number | null;
/**
*
* @type {number}
* @memberof ExifResponseDto
*/
- 'focalLength'?: number | null;
+ 'latitude'?: number | null;
/**
*
- * @type {number}
+ * @type {string}
* @memberof ExifResponseDto
*/
- 'iso'?: number | null;
+ 'lensModel'?: string | null;
/**
*
- * @type {string}
+ * @type {number}
* @memberof ExifResponseDto
*/
- 'exposureTime'?: string | null;
+ 'longitude'?: number | null;
/**
*
- * @type {number}
+ * @type {string}
* @memberof ExifResponseDto
*/
- 'latitude'?: number | null;
+ 'make'?: string | null;
/**
*
- * @type {number}
+ * @type {string}
* @memberof ExifResponseDto
*/
- 'longitude'?: number | null;
+ 'model'?: string | null;
/**
*
* @type {string}
* @memberof ExifResponseDto
*/
- 'city'?: string | null;
+ 'modifyDate'?: string | null;
/**
*
* @type {string}
* @memberof ExifResponseDto
*/
- 'state'?: string | null;
+ 'orientation'?: string | null;
/**
*
* @type {string}
* @memberof ExifResponseDto
*/
- 'country'?: string | null;
+ 'projectionType'?: string | null;
/**
*
* @type {string}
* @memberof ExifResponseDto
*/
- 'description'?: string | null;
+ 'state'?: string | null;
/**
*
* @type {string}
* @memberof ExifResponseDto
*/
- 'projectionType'?: string | null;
+ 'timeZone'?: string | null;
}
/**
*
@@ -1369,12 +1369,6 @@ export interface GetAssetCountByTimeBucketDto {
* @interface ImportAssetDto
*/
export interface ImportAssetDto {
- /**
- *
- * @type {boolean}
- * @memberof ImportAssetDto
- */
- 'isReadOnly'?: boolean;
/**
*
* @type {string}
@@ -1386,19 +1380,19 @@ export interface ImportAssetDto {
* @type {string}
* @memberof ImportAssetDto
*/
- 'sidecarPath'?: string;
+ 'deviceAssetId': string;
/**
*
* @type {string}
* @memberof ImportAssetDto
*/
- 'deviceAssetId': string;
+ 'deviceId': string;
/**
*
* @type {string}
* @memberof ImportAssetDto
*/
- 'deviceId': string;
+ 'duration'?: string;
/**
*
* @type {string}
@@ -1411,6 +1405,12 @@ export interface ImportAssetDto {
* @memberof ImportAssetDto
*/
'fileModifiedAt': string;
+ /**
+ *
+ * @type {boolean}
+ * @memberof ImportAssetDto
+ */
+ 'isArchived'?: boolean;
/**
*
* @type {boolean}
@@ -1422,7 +1422,7 @@ export interface ImportAssetDto {
* @type {boolean}
* @memberof ImportAssetDto
*/
- 'isArchived'?: boolean;
+ 'isReadOnly'?: boolean;
/**
*
* @type {boolean}
@@ -1434,7 +1434,7 @@ export interface ImportAssetDto {
* @type {string}
* @memberof ImportAssetDto
*/
- 'duration'?: string;
+ 'sidecarPath'?: string;
}
/**
*
@@ -1496,25 +1496,25 @@ export interface JobCountsDto {
* @type {number}
* @memberof JobCountsDto
*/
- 'failed': number;
+ 'delayed': number;
/**
*
* @type {number}
* @memberof JobCountsDto
*/
- 'delayed': number;
+ 'failed': number;
/**
*
* @type {number}
* @memberof JobCountsDto
*/
- 'waiting': number;
+ 'paused': number;
/**
*
* @type {number}
* @memberof JobCountsDto
*/
- 'paused': number;
+ 'waiting': number;
}
/**
*
@@ -1606,43 +1606,43 @@ export interface LoginResponseDto {
* @type {string}
* @memberof LoginResponseDto
*/
- 'userId': string;
+ 'firstName': string;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof LoginResponseDto
*/
- 'userEmail': string;
+ 'isAdmin': boolean;
/**
*
* @type {string}
* @memberof LoginResponseDto
*/
- 'firstName': string;
+ 'lastName': string;
/**
*
* @type {string}
* @memberof LoginResponseDto
*/
- 'lastName': string;
+ 'profileImagePath': string;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof LoginResponseDto
*/
- 'profileImagePath': string;
+ 'shouldChangePassword': boolean;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof LoginResponseDto
*/
- 'isAdmin': boolean;
+ 'userEmail': string;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof LoginResponseDto
*/
- 'shouldChangePassword': boolean;
+ 'userId': string;
}
/**
*
@@ -1652,16 +1652,16 @@ export interface LoginResponseDto {
export interface LogoutResponseDto {
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof LogoutResponseDto
*/
- 'successful': boolean;
+ 'redirectUri': string;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof LogoutResponseDto
*/
- 'redirectUri': string;
+ 'successful': boolean;
}
/**
*
@@ -1696,16 +1696,16 @@ export interface MapMarkerResponseDto {
export interface MemoryLaneResponseDto {
/**
*
- * @type {string}
+ * @type {Array<AssetResponseDto>}
* @memberof MemoryLaneResponseDto
*/
- 'title': string;
+ 'assets': Array<AssetResponseDto>;
/**
*
- * @type {Array<AssetResponseDto>}
+ * @type {string}
* @memberof MemoryLaneResponseDto
*/
- 'assets': Array<AssetResponseDto>;
+ 'title': string;
}
/**
*
@@ -1757,31 +1757,31 @@ export interface OAuthConfigResponseDto {
* @type {boolean}
* @memberof OAuthConfigResponseDto
*/
- 'enabled': boolean;
+ 'autoLaunch'?: boolean;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof OAuthConfigResponseDto
*/
- 'passwordLoginEnabled': boolean;
+ 'buttonText'?: string;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof OAuthConfigResponseDto
*/
- 'url'?: string;
+ 'enabled': boolean;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof OAuthConfigResponseDto
*/
- 'buttonText'?: string;
+ 'passwordLoginEnabled': boolean;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof OAuthConfigResponseDto
*/
- 'autoLaunch'?: boolean;
+ 'url'?: string;
}
/**
*
@@ -1791,22 +1791,22 @@ export interface OAuthConfigResponseDto {
export interface PeopleResponseDto {
/**
*
- * @type {number}
+ * @type {Array<PersonResponseDto>}
* @memberof PeopleResponseDto
*/
- 'total': number;
+ 'people': Array<PersonResponseDto>;
/**
*
* @type {number}
* @memberof PeopleResponseDto
*/
- 'visible': number;
+ 'total': number;
/**
*
- * @type {Array<PersonResponseDto>}
+ * @type {number}
* @memberof PeopleResponseDto
*/
- 'people': Array<PersonResponseDto>;
+ 'visible': number;
}
/**
*
@@ -1828,29 +1828,29 @@ export interface PeopleUpdateDto {
*/
export interface PeopleUpdateItem {
/**
- * Person id.
- * @type {string}
- * @memberof PeopleUpdateItem
- */
- 'id': string;
- /**
- * Person name.
+ * Asset is used to get the feature face thumbnail.
* @type {string}
* @memberof PeopleUpdateItem
*/
- 'name'?: string;
+ 'featureFaceAssetId'?: string;
/**
- * Asset is used to get the feature face thumbnail.
+ * Person id.
* @type {string}
* @memberof PeopleUpdateItem
*/
- 'featureFaceAssetId'?: string;
+ 'id': string;
/**
* Person visibility
* @type {boolean}
* @memberof PeopleUpdateItem
*/
'isHidden'?: boolean;
+ /**
+ * Person name.
+ * @type {string}
+ * @memberof PeopleUpdateItem
+ */
+ 'name'?: string;
}
/**
*
@@ -1866,22 +1866,22 @@ export interface PersonResponseDto {
'id': string;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof PersonResponseDto
*/
- 'name': string;
+ 'isHidden': boolean;
/**
*
* @type {string}
* @memberof PersonResponseDto
*/
- 'thumbnailPath': string;
+ 'name': string;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof PersonResponseDto
*/
- 'isHidden': boolean;
+ 'thumbnailPath': string;
}
/**
*
@@ -1889,12 +1889,6 @@ export interface PersonResponseDto {
* @interface PersonUpdateDto
*/
export interface PersonUpdateDto {
- /**
- * Person name.
- * @type {string}
- * @memberof PersonUpdateDto
- */
- 'name'?: string;
/**
* Asset is used to get the feature face thumbnail.
* @type {string}
@@ -1907,6 +1901,12 @@ export interface PersonUpdateDto {
* @memberof PersonUpdateDto
*/
'isHidden'?: boolean;
+ /**
+ * Person name.
+ * @type {string}
+ * @memberof PersonUpdateDto
+ */
+ 'name'?: string;
}
/**
*
@@ -1951,13 +1951,13 @@ export interface SearchAlbumResponseDto {
* @type {number}
* @memberof SearchAlbumResponseDto
*/
- 'total': number;
+ 'count': number;
/**
*
- * @type {number}
+ * @type {Array<SearchFacetResponseDto>}
* @memberof SearchAlbumResponseDto
*/
- 'count': number;
+ 'facets': Array<SearchFacetResponseDto>;
/**
*
* @type {Array<AlbumResponseDto>}
@@ -1966,10 +1966,10 @@ export interface SearchAlbumResponseDto {
'items': Array<AlbumResponseDto>;
/**
*
- * @type {Array<SearchFacetResponseDto>}
+ * @type {number}
* @memberof SearchAlbumResponseDto
*/
- 'facets': Array<SearchFacetResponseDto>;
+ 'total': number;
}
/**
*
@@ -1995,13 +1995,13 @@ export interface SearchAssetResponseDto {
* @type {number}
* @memberof SearchAssetResponseDto
*/
- 'total': number;
+ 'count': number;
/**
*
- * @type {number}
+ * @type {Array<SearchFacetResponseDto>}
* @memberof SearchAssetResponseDto
*/
- 'count': number;
+ 'facets': Array<SearchFacetResponseDto>;
/**
*
* @type {Array<AssetResponseDto>}
@@ -2010,10 +2010,10 @@ export interface SearchAssetResponseDto {
'items': Array<AssetResponseDto>;
/**
*
- * @type {Array<SearchFacetResponseDto>}
+ * @type {number}
* @memberof SearchAssetResponseDto
*/
- 'facets': Array<SearchFacetResponseDto>;
+ 'total': number;
}
/**
*
@@ -2036,16 +2036,16 @@ export interface SearchConfigResponseDto {
export interface SearchExploreItem {
/**
*
- * @type {string}
+ * @type {AssetResponseDto}
* @memberof SearchExploreItem
*/
- 'value': string;
+ 'data': AssetResponseDto;
/**
*
- * @type {AssetResponseDto}
+ * @type {string}
* @memberof SearchExploreItem
*/
- 'data': AssetResponseDto;
+ 'value': string;
}
/**
*
@@ -2093,16 +2093,16 @@ export interface SearchFacetCountResponseDto {
export interface SearchFacetResponseDto {
/**
*
- * @type {string}
+ * @type {Array<SearchFacetCountResponseDto>}
* @memberof SearchFacetResponseDto
*/
- 'fieldName': string;
+ 'counts': Array<SearchFacetCountResponseDto>;
/**
*
- * @type {Array<SearchFacetCountResponseDto>}
+ * @type {string}
* @memberof SearchFacetResponseDto
*/
- 'counts': Array<SearchFacetCountResponseDto>;
+ 'fieldName': string;
}
/**
*
@@ -2131,34 +2131,34 @@ export interface SearchResponseDto {
export interface ServerInfoResponseDto {
/**
*
- * @type {number}
+ * @type {string}
* @memberof ServerInfoResponseDto
*/
- 'diskSizeRaw': number;
+ 'diskAvailable': string;
/**
*
* @type {number}
* @memberof ServerInfoResponseDto
*/
- 'diskUseRaw': number;
+ 'diskAvailableRaw': number;
/**
*
- * @type {number}
+ * @type {string}
* @memberof ServerInfoResponseDto
*/
- 'diskAvailableRaw': number;
+ 'diskSize': string;
/**
*
* @type {number}
* @memberof ServerInfoResponseDto
*/
- 'diskUsagePercentage': number;
+ 'diskSizeRaw': number;
/**
*
- * @type {string}
+ * @type {number}
* @memberof ServerInfoResponseDto
*/
- 'diskSize': string;
+ 'diskUsagePercentage': number;
/**
*
* @type {string}
@@ -2167,10 +2167,10 @@ export interface ServerInfoResponseDto {
'diskUse': string;
/**
*
- * @type {string}
+ * @type {number}
* @memberof ServerInfoResponseDto
*/
- 'diskAvailable': string;
+ 'diskUseRaw': number;
}
/**
*
@@ -2183,19 +2183,19 @@ export interface ServerMediaTypesResponseDto {
* @type {Array<string>}
* @memberof ServerMediaTypesResponseDto
*/
- 'video': Array<string>;
+ 'image': Array<string>;
/**
*
* @type {Array<string>}
* @memberof ServerMediaTypesResponseDto
*/
- 'image': Array<string>;
+ 'sidecar': Array<string>;
/**
*
* @type {Array<string>}
* @memberof ServerMediaTypesResponseDto
*/
- 'sidecar': Array<string>;
+ 'video': Array<string>;
}
/**
*
@@ -2227,19 +2227,19 @@ export interface ServerStatsResponseDto {
* @type {number}
* @memberof ServerStatsResponseDto
*/
- 'videos': number;
+ 'usage': number;
/**
*
- * @type {number}
+ * @type {Array<UsageByUserDto>}
* @memberof ServerStatsResponseDto
*/
- 'usage': number;
+ 'usageByUser': Array<UsageByUserDto>;
/**
*
- * @type {Array<UsageByUserDto>}
+ * @type {number}
* @memberof ServerStatsResponseDto
*/
- 'usageByUser': Array<UsageByUserDto>;
+ 'videos': number;
}
/**
*
@@ -2274,52 +2274,52 @@ export interface ServerVersionReponseDto {
export interface SharedLinkCreateDto {
/**
*
- * @type {SharedLinkType}
+ * @type {string}
* @memberof SharedLinkCreateDto
*/
- 'type': SharedLinkType;
+ 'albumId'?: string;
/**
*
- * @type {Array<string>}
+ * @type {boolean}
* @memberof SharedLinkCreateDto
*/
- 'assetIds'?: Array<string>;
+ 'allowDownload'?: boolean;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof SharedLinkCreateDto
*/
- 'albumId'?: string;
+ 'allowUpload'?: boolean;
/**
*
- * @type {string}
+ * @type {Array<string>}
* @memberof SharedLinkCreateDto
*/
- 'description'?: string;
+ 'assetIds'?: Array<string>;
/**
*
* @type {string}
* @memberof SharedLinkCreateDto
*/
- 'expiresAt'?: string | null;
+ 'description'?: string;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof SharedLinkCreateDto
*/
- 'allowUpload'?: boolean;
+ 'expiresAt'?: string | null;
/**
*
* @type {boolean}
* @memberof SharedLinkCreateDto
*/
- 'allowDownload'?: boolean;
+ 'showExif'?: boolean;
/**
*
- * @type {boolean}
+ * @type {SharedLinkType}
* @memberof SharedLinkCreateDto
*/
- 'showExif'?: boolean;
+ 'type': SharedLinkType;
}
@@ -2331,28 +2331,28 @@ export interface SharedLinkCreateDto {
export interface SharedLinkEditDto {
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof SharedLinkEditDto
*/
- 'description'?: string;
+ 'allowDownload'?: boolean;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof SharedLinkEditDto
*/
- 'expiresAt'?: string | null;
+ 'allowUpload'?: boolean;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof SharedLinkEditDto
*/
- 'allowUpload'?: boolean;
+ 'description'?: string;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof SharedLinkEditDto
*/
- 'allowDownload'?: boolean;
+ 'expiresAt'?: string | null;
/**
*
* @type {boolean}
@@ -2368,40 +2368,40 @@ export interface SharedLinkEditDto {
export interface SharedLinkResponseDto {
/**
*
- * @type {SharedLinkType}
+ * @type {AlbumResponseDto}
* @memberof SharedLinkResponseDto
*/
- 'type': SharedLinkType;
+ 'album'?: AlbumResponseDto;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof SharedLinkResponseDto
*/
- 'id': string;
+ 'allowDownload': boolean;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof SharedLinkResponseDto
*/
- 'description': string | null;
+ 'allowUpload': boolean;
/**
*
- * @type {string}
+ * @type {Array<AssetResponseDto>}
* @memberof SharedLinkResponseDto
*/
- 'userId': string;
+ 'assets': Array<AssetResponseDto>;
/**
*
* @type {string}
* @memberof SharedLinkResponseDto
*/
- 'key': string;
+ 'createdAt': string;
/**
*
* @type {string}
* @memberof SharedLinkResponseDto
*/
- 'createdAt': string;
+ 'description': string | null;
/**
*
* @type {string}
@@ -2410,34 +2410,34 @@ export interface SharedLinkResponseDto {
'expiresAt': string | null;
/**
*
- * @type {Array<AssetResponseDto>}
+ * @type {string}
* @memberof SharedLinkResponseDto
*/
- 'assets': Array<AssetResponseDto>;
+ 'id': string;
/**
*
- * @type {AlbumResponseDto}
+ * @type {string}
* @memberof SharedLinkResponseDto
*/
- 'album'?: AlbumResponseDto;
+ 'key': string;
/**
*
* @type {boolean}
* @memberof SharedLinkResponseDto
*/
- 'allowUpload': boolean;
+ 'showExif': boolean;
/**
*
- * @type {boolean}
+ * @type {SharedLinkType}
* @memberof SharedLinkResponseDto
*/
- 'allowDownload': boolean;
+ 'type': SharedLinkType;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof SharedLinkResponseDto
*/
- 'showExif': boolean;
+ 'userId': string;
}
@@ -2472,19 +2472,19 @@ export interface SignUpDto {
* @type {string}
* @memberof SignUpDto
*/
- 'password': string;
+ 'firstName': string;
/**
*
* @type {string}
* @memberof SignUpDto
*/
- 'firstName': string;
+ 'lastName': string;
/**
*
* @type {string}
* @memberof SignUpDto
*/
- 'lastName': string;
+ 'password': string;
}
/**
*
@@ -2497,13 +2497,13 @@ export interface SmartInfoResponseDto {
* @type {Array<string>}
* @memberof SmartInfoResponseDto
*/
- 'tags'?: Array<string> | null;
+ 'objects'?: Array<string> | null;
/**
*
* @type {Array<string>}
* @memberof SmartInfoResponseDto
*/
- 'objects'?: Array<string> | null;
+ 'tags'?: Array<string> | null;
}
/**
*
@@ -2517,6 +2517,12 @@ export interface SystemConfigDto {
* @memberof SystemConfigDto
*/
'ffmpeg': SystemConfigFFmpegDto;
+ /**
+ *
+ * @type {SystemConfigJobDto}
+ * @memberof SystemConfigDto
+ */
+ 'job': SystemConfigJobDto;
/**
*
* @type {SystemConfigOAuthDto}
@@ -2535,12 +2541,6 @@ export interface SystemConfigDto {
* @memberof SystemConfigDto
*/
'storageTemplate': SystemConfigStorageTemplateDto;
- /**
- *
- * @type {SystemConfigJobDto}
- * @memberof SystemConfigDto
- */
- 'job': SystemConfigJobDto;
}
/**
*
@@ -2556,16 +2556,16 @@ export interface SystemConfigFFmpegDto {
'crf': number;
/**
*
- * @type {number}
+ * @type {string}
* @memberof SystemConfigFFmpegDto
*/
- 'threads': number;
+ 'maxBitrate': string;
/**
*
- * @type {VideoCodec}
+ * @type {string}
* @memberof SystemConfigFFmpegDto
*/
- 'targetVideoCodec': VideoCodec;
+ 'preset': string;
/**
*
* @type {AudioCodec}
@@ -2574,28 +2574,28 @@ export interface SystemConfigFFmpegDto {
'targetAudioCodec': AudioCodec;
/**
*
- * @type {TranscodePolicy}
+ * @type {string}
* @memberof SystemConfigFFmpegDto
*/
- 'transcode': TranscodePolicy;
+ 'targetResolution': string;
/**
*
- * @type {string}
+ * @type {VideoCodec}
* @memberof SystemConfigFFmpegDto
*/
- 'preset': string;
+ 'targetVideoCodec': VideoCodec;
/**
*
- * @type {string}
+ * @type {number}
* @memberof SystemConfigFFmpegDto
*/
- 'targetResolution': string;
+ 'threads': number;
/**
*
- * @type {string}
+ * @type {TranscodePolicy}
* @memberof SystemConfigFFmpegDto
*/
- 'maxBitrate': string;
+ 'transcode': TranscodePolicy;
/**
*
* @type {boolean}
@@ -2616,19 +2616,19 @@ export interface SystemConfigJobDto {
* @type {JobSettingsDto}
* @memberof SystemConfigJobDto
*/
- 'thumbnailGeneration': JobSettingsDto;
+ 'backgroundTask': JobSettingsDto;
/**
*
* @type {JobSettingsDto}
* @memberof SystemConfigJobDto
*/
- 'metadataExtraction': JobSettingsDto;
+ 'clipEncoding': JobSettingsDto;
/**
*
* @type {JobSettingsDto}
* @memberof SystemConfigJobDto
*/
- 'videoConversion': JobSettingsDto;
+ 'metadataExtraction': JobSettingsDto;
/**
*
* @type {JobSettingsDto}
@@ -2640,37 +2640,37 @@ export interface SystemConfigJobDto {
* @type {JobSettingsDto}
* @memberof SystemConfigJobDto
*/
- 'clipEncoding': JobSettingsDto;
+ 'recognizeFaces': JobSettingsDto;
/**
*
* @type {JobSettingsDto}
* @memberof SystemConfigJobDto
*/
- 'storageTemplateMigration': JobSettingsDto;
+ 'search': JobSettingsDto;
/**
*
* @type {JobSettingsDto}
* @memberof SystemConfigJobDto
*/
- 'backgroundTask': JobSettingsDto;
+ 'sidecar': JobSettingsDto;
/**
*
* @type {JobSettingsDto}
* @memberof SystemConfigJobDto
*/
- 'search': JobSettingsDto;
+ 'storageTemplateMigration': JobSettingsDto;
/**
*
* @type {JobSettingsDto}
* @memberof SystemConfigJobDto
*/
- 'recognizeFaces': JobSettingsDto;
+ 'thumbnailGeneration': JobSettingsDto;
/**
*
* @type {JobSettingsDto}
* @memberof SystemConfigJobDto
*/
- 'sidecar': JobSettingsDto;
+ 'videoConversion': JobSettingsDto;
}
/**
*
@@ -2683,67 +2683,67 @@ export interface SystemConfigOAuthDto {
* @type {boolean}
* @memberof SystemConfigOAuthDto
*/
- 'enabled': boolean;
+ 'autoLaunch': boolean;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof SystemConfigOAuthDto
*/
- 'issuerUrl': string;
+ 'autoRegister': boolean;
/**
*
* @type {string}
* @memberof SystemConfigOAuthDto
*/
- 'clientId': string;
+ 'buttonText': string;
/**
*
* @type {string}
* @memberof SystemConfigOAuthDto
*/
- 'clientSecret': string;
+ 'clientId': string;
/**
*
* @type {string}
* @memberof SystemConfigOAuthDto
*/
- 'scope': string;
+ 'clientSecret': string;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof SystemConfigOAuthDto
*/
- 'storageLabelClaim': string;
+ 'enabled': boolean;
/**
*
* @type {string}
* @memberof SystemConfigOAuthDto
*/
- 'buttonText': string;
+ 'issuerUrl': string;
/**
*
* @type {boolean}
* @memberof SystemConfigOAuthDto
*/
- 'autoRegister': boolean;
+ 'mobileOverrideEnabled': boolean;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof SystemConfigOAuthDto
*/
- 'autoLaunch': boolean;
+ 'mobileRedirectUri': string;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof SystemConfigOAuthDto
*/
- 'mobileOverrideEnabled': boolean;
+ 'scope': string;
/**
*
* @type {string}
* @memberof SystemConfigOAuthDto
*/
- 'mobileRedirectUri': string;
+ 'storageLabelClaim': string;
}
/**
*
@@ -2782,31 +2782,31 @@ export interface SystemConfigTemplateStorageOptionDto {
* @type {Array<string>}
* @memberof SystemConfigTemplateStorageOptionDto
*/
- 'yearOptions': Array<string>;
+ 'dayOptions': Array<string>;
/**
*
* @type {Array<string>}
* @memberof SystemConfigTemplateStorageOptionDto
*/
- 'monthOptions': Array<string>;
+ 'hourOptions': Array<string>;
/**
*
* @type {Array<string>}
* @memberof SystemConfigTemplateStorageOptionDto
*/
- 'dayOptions': Array<string>;
+ 'minuteOptions': Array<string>;
/**
*
* @type {Array<string>}
* @memberof SystemConfigTemplateStorageOptionDto
*/
- 'hourOptions': Array<string>;
+ 'monthOptions': Array<string>;
/**
*
* @type {Array<string>}
* @memberof SystemConfigTemplateStorageOptionDto
*/
- 'minuteOptions': Array<string>;
+ 'presetOptions': Array<string>;
/**
*
* @type {Array<string>}
@@ -2818,7 +2818,7 @@ export interface SystemConfigTemplateStorageOptionDto {
* @type {Array<string>}
* @memberof SystemConfigTemplateStorageOptionDto
*/
- 'presetOptions': Array<string>;
+ 'yearOptions': Array<string>;
}
/**
*
@@ -2828,22 +2828,22 @@ export interface SystemConfigTemplateStorageOptionDto {
export interface TagResponseDto {
/**
*
- * @type {TagTypeEnum}
+ * @type {string}
* @memberof TagResponseDto
*/
- 'type': TagTypeEnum;
+ 'id': string;
/**
*
* @type {string}
* @memberof TagResponseDto
*/
- 'id': string;
+ 'name': string;
/**
*
- * @type {string}
+ * @type {TagTypeEnum}
* @memberof TagResponseDto
*/
- 'name': string;
+ 'type': TagTypeEnum;
/**
*
* @type {string}
@@ -2939,28 +2939,28 @@ export interface UpdateAlbumDto {
export interface UpdateAssetDto {
/**
*
- * @type {Array<string>}
+ * @type {string}
* @memberof UpdateAssetDto
*/
- 'tagIds'?: Array<string>;
+ 'description'?: string;
/**
*
* @type {boolean}
* @memberof UpdateAssetDto
*/
- 'isFavorite'?: boolean;
+ 'isArchived'?: boolean;
/**
*
* @type {boolean}
* @memberof UpdateAssetDto
*/
- 'isArchived'?: boolean;
+ 'isFavorite'?: boolean;
/**
*
- * @type {string}
+ * @type {Array<string>}
* @memberof UpdateAssetDto
*/
- 'description'?: string;
+ 'tagIds'?: Array<string>;
}
/**
*
@@ -2986,55 +2986,55 @@ export interface UpdateUserDto {
* @type {string}
* @memberof UpdateUserDto
*/
- 'id': string;
+ 'email'?: string;
/**
*
* @type {string}
* @memberof UpdateUserDto
*/
- 'email'?: string;
+ 'externalPath'?: string;
/**
*
* @type {string}
* @memberof UpdateUserDto
*/
- 'password'?: string;
+ 'firstName'?: string;
/**
*
* @type {string}
* @memberof UpdateUserDto
*/
- 'firstName'?: string;
+ 'id': string;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof UpdateUserDto
*/
- 'lastName'?: string;
+ 'isAdmin'?: boolean;
/**
*
* @type {string}
* @memberof UpdateUserDto
*/
- 'storageLabel'?: string;
+ 'lastName'?: string;
/**
*
* @type {string}
* @memberof UpdateUserDto
*/
- 'externalPath'?: string;
+ 'password'?: string;
/**
*
* @type {boolean}
* @memberof UpdateUserDto
*/
- 'isAdmin'?: boolean;
+ 'shouldChangePassword'?: boolean;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof UpdateUserDto
*/
- 'shouldChangePassword'?: boolean;
+ 'storageLabel'?: string;
}
/**
*
@@ -3044,40 +3044,40 @@ export interface UpdateUserDto {
export interface UsageByUserDto {
/**
*
- * @type {string}
+ * @type {number}
* @memberof UsageByUserDto
*/
- 'userId': string;
+ 'photos': number;
/**
*
- * @type {string}
+ * @type {number}
* @memberof UsageByUserDto
*/
- 'userFirstName': string;
+ 'usage': number;
/**
*
* @type {string}
* @memberof UsageByUserDto
*/
- 'userLastName': string;
+ 'userFirstName': string;
/**
*
- * @type {number}
+ * @type {string}
* @memberof UsageByUserDto
*/
- 'photos': number;
+ 'userId': string;
/**
*
- * @type {number}
+ * @type {string}
* @memberof UsageByUserDto
*/
- 'videos': number;
+ 'userLastName': string;
/**
*
* @type {number}
* @memberof UsageByUserDto
*/
- 'usage': number;
+ 'videos': number;
}
/**
*
@@ -3103,79 +3103,79 @@ export interface UserResponseDto {
* @type {string}
* @memberof UserResponseDto
*/
- 'id': string;
+ 'createdAt': string;
/**
*
* @type {string}
* @memberof UserResponseDto
*/
- 'email': string;
+ 'deletedAt': string | null;
/**
*
* @type {string}
* @memberof UserResponseDto
*/
- 'firstName': string;
+ 'email': string;
/**
*
* @type {string}
* @memberof UserResponseDto
*/
- 'lastName': string;
+ 'externalPath': string | null;
/**
*
* @type {string}
* @memberof UserResponseDto
*/
- 'storageLabel': string | null;
+ 'firstName': string;
/**
*
* @type {string}
* @memberof UserResponseDto
*/
- 'externalPath': string | null;
+ 'id': string;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof UserResponseDto
*/
- 'profileImagePath': string;
+ 'isAdmin': boolean;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof UserResponseDto
*/
- 'shouldChangePassword': boolean;
+ 'lastName': string;
/**
*
- * @type {boolean}
+ * @type {string}
* @memberof UserResponseDto
*/
- 'isAdmin': boolean;
+ 'oauthId': string;
/**
*
* @type {string}
* @memberof UserResponseDto
*/
- 'createdAt': string;
+ 'profileImagePath': string;
/**
*
- * @type {string}
+ * @type {boolean}
* @memberof UserResponseDto
*/
- 'deletedAt': string | null;
+ 'shouldChangePassword': boolean;
/**
*
* @type {string}
* @memberof UserResponseDto
*/
- 'updatedAt': string;
+ 'storageLabel': string | null;
/**
*
* @type {string}
* @memberof UserResponseDto
*/
- 'oauthId': string;
+ 'updatedAt': string;
}
/**
*
@@ -5776,16 +5776,16 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
* @param {string} fileModifiedAt
* @param {boolean} isFavorite
* @param {string} [key]
- * @param {File} [livePhotoData]
- * @param {File} [sidecarData]
- * @param {boolean} [isReadOnly]
+ * @param {string} [duration]
* @param {boolean} [isArchived]
+ * @param {boolean} [isReadOnly]
* @param {boolean} [isVisible]
- * @param {string} [duration]
+ * @param {File} [livePhotoData]
+ * @param {File} [sidecarData]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
- uploadFile: async (assetData: File, deviceAssetId: string, deviceId: string, fileCreatedAt: string, fileModifiedAt: string, isFavorite: boolean, key?: string, livePhotoData?: File, sidecarData?: File, isReadOnly?: boolean, isArchived?: boolean, isVisible?: boolean, duration?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
+ uploadFile: async (assetData: File, deviceAssetId: string, deviceId: string, fileCreatedAt: string, fileModifiedAt: string, isFavorite: boolean, key?: string, duration?: string, isArchived?: boolean, isReadOnly?: boolean, isVisible?: boolean, livePhotoData?: File, sidecarData?: File, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'assetData' is not null or undefined
assertParamExists('uploadFile', 'assetData', assetData)
// verify required parameter 'deviceAssetId' is not null or undefined
@@ -5829,18 +5829,6 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
localVarFormParams.append('assetData', assetData as any);
}
- if (livePhotoData !== undefined) {
- localVarFormParams.append('livePhotoData', livePhotoData as any);
- }
-
- if (sidecarData !== undefined) {
- localVarFormParams.append('sidecarData', sidecarData as any);
- }
-
- if (isReadOnly !== undefined) {
- localVarFormParams.append('isReadOnly', isReadOnly as any);
- }
-
if (deviceAssetId !== undefined) {
localVarFormParams.append('deviceAssetId', deviceAssetId as any);
}
@@ -5849,6 +5837,10 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
localVarFormParams.append('deviceId', deviceId as any);
}
+ if (duration !== undefined) {
+ localVarFormParams.append('duration', duration as any);
+ }
+
if (fileCreatedAt !== undefined) {
localVarFormParams.append('fileCreatedAt', fileCreatedAt as any);
}
@@ -5857,20 +5849,28 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
localVarFormParams.append('fileModifiedAt', fileModifiedAt as any);
}
+ if (isArchived !== undefined) {
+ localVarFormParams.append('isArchived', isArchived as any);
+ }
+
if (isFavorite !== undefined) {
localVarFormParams.append('isFavorite', isFavorite as any);
}
- if (isArchived !== undefined) {
- localVarFormParams.append('isArchived', isArchived as any);
+ if (isReadOnly !== undefined) {
+ localVarFormParams.append('isReadOnly', isReadOnly as any);
}
if (isVisible !== undefined) {
localVarFormParams.append('isVisible', isVisible as any);
}
- if (duration !== undefined) {
- localVarFormParams.append('duration', duration as any);
+ if (livePhotoData !== undefined) {
+ localVarFormParams.append('livePhotoData', livePhotoData as any);
+ }
+
+ if (sidecarData !== undefined) {
+ localVarFormParams.append('sidecarData', sidecarData as any);
}
@@ -6154,17 +6154,17 @@ export const AssetApiFp = function(configuration?: Configuration) {
* @param {string} fileModifiedAt
* @param {boolean} isFavorite
* @param {string} [key]
- * @param {File} [livePhotoData]
- * @param {File} [sidecarData]
- * @param {boolean} [isReadOnly]
+ * @param {string} [duration]
* @param {boolean} [isArchived]
+ * @param {boolean} [isReadOnly]
* @param {boolean} [isVisible]
- * @param {string} [duration]
+ * @param {File} [livePhotoData]
+ * @param {File} [sidecarData]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
- async uploadFile(assetData: File, deviceAssetId: string, deviceId: string, fileCreatedAt: string, fileModifiedAt: string, isFavorite: boolean, key?: string, livePhotoData?: File, sidecarData?: File, isReadOnly?: boolean, isArchived?: boolean, isVisible?: boolean, duration?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AssetFileUploadResponseDto>> {
- const localVarAxiosArgs = await localVarAxiosParamCreator.uploadFile(assetData, deviceAssetId, deviceId, fileCreatedAt, fileModifiedAt, isFavorite, key, livePhotoData, sidecarData, isReadOnly, isArchived, isVisible, duration, options);
+ async uploadFile(assetData: File, deviceAssetId: string, deviceId: string, fileCreatedAt: string, fileModifiedAt: string, isFavorite: boolean, key?: string, duration?: string, isArchived?: boolean, isReadOnly?: boolean, isVisible?: boolean, livePhotoData?: File, sidecarData?: File, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AssetFileUploadResponseDto>> {
+ const localVarAxiosArgs = await localVarAxiosParamCreator.uploadFile(assetData, deviceAssetId, deviceId, fileCreatedAt, fileModifiedAt, isFavorite, key, duration, isArchived, isReadOnly, isVisible, livePhotoData, sidecarData, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
}
@@ -6412,17 +6412,17 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath
* @param {string} fileModifiedAt
* @param {boolean} isFavorite
* @param {string} [key]
- * @param {File} [livePhotoData]
- * @param {File} [sidecarData]
- * @param {boolean} [isReadOnly]
+ * @param {string} [duration]
* @param {boolean} [isArchived]
+ * @param {boolean} [isReadOnly]
* @param {boolean} [isVisible]
- * @param {string} [duration]
+ * @param {File} [livePhotoData]
+ * @param {File} [sidecarData]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
- uploadFile(assetData: File, deviceAssetId: string, deviceId: string, fileCreatedAt: string, fileModifiedAt: string, isFavorite: boolean, key?: string, livePhotoData?: File, sidecarData?: File, isReadOnly?: boolean, isArchived?: boolean, isVisible?: boolean, duration?: string, options?: any): AxiosPromise<AssetFileUploadResponseDto> {
- return localVarFp.uploadFile(assetData, deviceAssetId, deviceId, fileCreatedAt, fileModifiedAt, isFavorite, key, livePhotoData, sidecarData, isReadOnly, isArchived, isVisible, duration, options).then((request) => request(axios, basePath));
+ uploadFile(assetData: File, deviceAssetId: string, deviceId: string, fileCreatedAt: string, fileModifiedAt: string, isFavorite: boolean, key?: string, duration?: string, isArchived?: boolean, isReadOnly?: boolean, isVisible?: boolean, livePhotoData?: File, sidecarData?: File, options?: any): AxiosPromise<AssetFileUploadResponseDto> {
+ return localVarFp.uploadFile(assetData, deviceAssetId, deviceId, fileCreatedAt, fileModifiedAt, isFavorite, key, duration, isArchived, isReadOnly, isVisible, livePhotoData, sidecarData, options).then((request) => request(axios, basePath));
},
};
};
@@ -6918,17 +6918,17 @@ export interface AssetApiUploadFileRequest {
/**
*
- * @type {File}
+ * @type {string}
* @memberof AssetApiUploadFile
*/
- readonly livePhotoData?: File
+ readonly duration?: string
/**
*
- * @type {File}
+ * @type {boolean}
* @memberof AssetApiUploadFile
*/
- readonly sidecarData?: File
+ readonly isArchived?: boolean
/**
*
@@ -6942,21 +6942,21 @@ export interface AssetApiUploadFileRequest {
* @type {boolean}
* @memberof AssetApiUploadFile
*/
- readonly isArchived?: boolean
+ readonly isVisible?: boolean
/**
*
- * @type {boolean}
+ * @type {File}
* @memberof AssetApiUploadFile
*/
- readonly isVisible?: boolean
+ readonly livePhotoData?: File
/**
*
- * @type {string}
+ * @type {File}
* @memberof AssetApiUploadFile
*/
- readonly duration?: string
+ readonly sidecarData?: File
}
/**
@@ -7224,7 +7224,7 @@ export class AssetApi extends BaseAPI {
* @memberof AssetApi
*/
public uploadFile(requestParameters: AssetApiUploadFileRequest, options?: AxiosRequestConfig) {
- return AssetApiFp(this.configuration).uploadFile(requestParameters.assetData, requestParameters.deviceAssetId, requestParameters.deviceId, requestParameters.fileCreatedAt, requestParameters.fileModifiedAt, requestParameters.isFavorite, requestParameters.key, requestParameters.livePhotoData, requestParameters.sidecarData, requestParameters.isReadOnly, requestParameters.isArchived, requestParameters.isVisible, requestParameters.duration, options).then((request) => request(this.axios, this.basePath));
+ return AssetApiFp(this.configuration).uploadFile(requestParameters.assetData, requestParameters.deviceAssetId, requestParameters.deviceId, requestParameters.fileCreatedAt, requestParameters.fileModifiedAt, requestParameters.isFavorite, requestParameters.key, requestParameters.duration, requestParameters.isArchived, requestParameters.isReadOnly, requestParameters.isVisible, requestParameters.livePhotoData, requestParameters.sidecarData, options).then((request) => request(this.axios, this.basePath));
}
}