diff --git a/cli/src/api/open-api/api.ts b/cli/src/api/open-api/api.ts index 6e237d864..6d10c4eb2 100644 --- a/cli/src/api/open-api/api.ts +++ b/cli/src/api/open-api/api.ts @@ -42,18 +42,18 @@ export interface APIKeyCreateDto { * @interface APIKeyCreateResponseDto */ export interface APIKeyCreateResponseDto { - /** - * - * @type {string} - * @memberof APIKeyCreateResponseDto - */ - 'secret': string; /** * * @type {APIKeyResponseDto} * @memberof APIKeyCreateResponseDto */ 'apiKey': APIKeyResponseDto; + /** + * + * @type {string} + * @memberof APIKeyCreateResponseDto + */ + 'secret': string; } /** * @@ -61,6 +61,12 @@ export interface APIKeyCreateResponseDto { * @interface APIKeyResponseDto */ export interface APIKeyResponseDto { + /** + * + * @type {string} + * @memberof APIKeyResponseDto + */ + 'createdAt': string; /** * * @type {string} @@ -73,12 +79,6 @@ export interface APIKeyResponseDto { * @memberof APIKeyResponseDto */ 'name': string; - /** - * - * @type {string} - * @memberof APIKeyResponseDto - */ - 'createdAt': 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} @@ -132,10 +132,10 @@ export interface AddAssetsResponseDto { 'alreadyInAlbum': Array; /** * - * @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; } /** * @@ -193,6 +193,12 @@ export interface AdminSignupResponseDto { * @interface AlbumCountResponseDto */ export interface AlbumCountResponseDto { + /** + * + * @type {number} + * @memberof AlbumCountResponseDto + */ + 'notShared': number; /** * * @type {number} @@ -205,12 +211,6 @@ export interface AlbumCountResponseDto { * @memberof AlbumCountResponseDto */ 'shared': number; - /** - * - * @type {number} - * @memberof AlbumCountResponseDto - */ - 'notShared': number; } /** * @@ -218,30 +218,30 @@ export interface AlbumCountResponseDto { * @interface AlbumResponseDto */ export interface AlbumResponseDto { - /** - * - * @type {number} - * @memberof AlbumResponseDto - */ - 'assetCount': number; - /** - * - * @type {string} - * @memberof AlbumResponseDto - */ - 'id': string; - /** - * - * @type {string} - * @memberof AlbumResponseDto - */ - 'ownerId': string; /** * * @type {string} * @memberof AlbumResponseDto */ 'albumName': string; + /** + * + * @type {string} + * @memberof AlbumResponseDto + */ + 'albumThumbnailAssetId': string | null; + /** + * + * @type {number} + * @memberof AlbumResponseDto + */ + 'assetCount': number; + /** + * + * @type {Array} + * @memberof AlbumResponseDto + */ + 'assets': Array; /** * * @type {string} @@ -253,13 +253,25 @@ export interface AlbumResponseDto { * @type {string} * @memberof AlbumResponseDto */ - 'updatedAt': string; + 'id': string; /** * * @type {string} * @memberof AlbumResponseDto */ - 'albumThumbnailAssetId': string | null; + 'lastModifiedAssetTimestamp'?: string; + /** + * + * @type {UserResponseDto} + * @memberof AlbumResponseDto + */ + 'owner': UserResponseDto; + /** + * + * @type {string} + * @memberof AlbumResponseDto + */ + 'ownerId': string; /** * * @type {boolean} @@ -272,24 +284,12 @@ export interface AlbumResponseDto { * @memberof AlbumResponseDto */ 'sharedUsers': Array; - /** - * - * @type {Array} - * @memberof AlbumResponseDto - */ - 'assets': Array; - /** - * - * @type {UserResponseDto} - * @memberof AlbumResponseDto - */ - 'owner': UserResponseDto; /** * * @type {string} * @memberof AlbumResponseDto */ - 'lastModifiedAssetTimestamp'?: string; + 'updatedAt': string; } /** * @@ -302,25 +302,7 @@ export interface AllJobStatusResponseDto { * @type {JobStatusDto} * @memberof AllJobStatusResponseDto */ - 'thumbnailGeneration': JobStatusDto; - /** - * - * @type {JobStatusDto} - * @memberof AllJobStatusResponseDto - */ - 'metadataExtraction': JobStatusDto; - /** - * - * @type {JobStatusDto} - * @memberof AllJobStatusResponseDto - */ - 'videoConversion': JobStatusDto; - /** - * - * @type {JobStatusDto} - * @memberof AllJobStatusResponseDto - */ - 'objectTagging': JobStatusDto; + 'backgroundTask': JobStatusDto; /** * * @type {JobStatusDto} @@ -332,31 +314,49 @@ export interface AllJobStatusResponseDto { * @type {JobStatusDto} * @memberof AllJobStatusResponseDto */ - 'storageTemplateMigration': JobStatusDto; + 'metadataExtraction': JobStatusDto; /** * * @type {JobStatusDto} * @memberof AllJobStatusResponseDto */ - 'backgroundTask': JobStatusDto; - /** - * - * @type {JobStatusDto} - * @memberof AllJobStatusResponseDto - */ - 'search': JobStatusDto; + 'objectTagging': JobStatusDto; /** * * @type {JobStatusDto} * @memberof AllJobStatusResponseDto */ 'recognizeFaces': JobStatusDto; + /** + * + * @type {JobStatusDto} + * @memberof AllJobStatusResponseDto + */ + 'search': JobStatusDto; /** * * @type {JobStatusDto} * @memberof AllJobStatusResponseDto */ 'sidecar': JobStatusDto; + /** + * + * @type {JobStatusDto} + * @memberof AllJobStatusResponseDto + */ + 'storageTemplateMigration': JobStatusDto; + /** + * + * @type {JobStatusDto} + * @memberof AllJobStatusResponseDto + */ + 'thumbnailGeneration': JobStatusDto; + /** + * + * @type {JobStatusDto} + * @memberof AllJobStatusResponseDto + */ + 'videoConversion': JobStatusDto; } /** * @@ -377,18 +377,18 @@ export interface AssetBulkUploadCheckDto { * @interface AssetBulkUploadCheckItem */ export interface AssetBulkUploadCheckItem { - /** - * - * @type {string} - * @memberof AssetBulkUploadCheckItem - */ - 'id': string; /** * base64 or hex encoded sha1 hash * @type {string} * @memberof AssetBulkUploadCheckItem */ 'checksum': string; + /** + * + * @type {string} + * @memberof AssetBulkUploadCheckItem + */ + 'id': string; } /** * @@ -409,12 +409,6 @@ export interface AssetBulkUploadCheckResponseDto { * @interface AssetBulkUploadCheckResult */ export interface AssetBulkUploadCheckResult { - /** - * - * @type {string} - * @memberof AssetBulkUploadCheckResult - */ - 'id': string; /** * * @type {string} @@ -426,13 +420,19 @@ export interface AssetBulkUploadCheckResult { * @type {string} * @memberof AssetBulkUploadCheckResult */ - 'reason'?: AssetBulkUploadCheckResultReasonEnum; + 'assetId'?: string; /** * * @type {string} * @memberof AssetBulkUploadCheckResult */ - 'assetId'?: string; + 'id': string; + /** + * + * @type {string} + * @memberof AssetBulkUploadCheckResult + */ + 'reason'?: AssetBulkUploadCheckResultReasonEnum; } export const AssetBulkUploadCheckResultActionEnum = { @@ -454,18 +454,18 @@ export type AssetBulkUploadCheckResultReasonEnum = typeof AssetBulkUploadCheckRe * @interface AssetCountByTimeBucket */ export interface AssetCountByTimeBucket { - /** - * - * @type {string} - * @memberof AssetCountByTimeBucket - */ - 'timeBucket': string; /** * * @type {number} * @memberof AssetCountByTimeBucket */ 'count': number; + /** + * + * @type {string} + * @memberof AssetCountByTimeBucket + */ + 'timeBucket': string; } /** * @@ -473,18 +473,18 @@ export interface AssetCountByTimeBucket { * @interface AssetCountByTimeBucketResponseDto */ export interface AssetCountByTimeBucketResponseDto { - /** - * - * @type {number} - * @memberof AssetCountByTimeBucketResponseDto - */ - 'totalCount': number; /** * * @type {Array} * @memberof AssetCountByTimeBucketResponseDto */ 'buckets': Array; + /** + * + * @type {number} + * @memberof AssetCountByTimeBucketResponseDto + */ + 'totalCount': number; } /** * @@ -492,18 +492,18 @@ export interface AssetCountByTimeBucketResponseDto { * @interface AssetFileUploadResponseDto */ export interface AssetFileUploadResponseDto { - /** - * - * @type {string} - * @memberof AssetFileUploadResponseDto - */ - 'id': string; /** * * @type {boolean} * @memberof AssetFileUploadResponseDto */ 'duplicate': boolean; + /** + * + * @type {string} + * @memberof AssetFileUploadResponseDto + */ + 'id': string; } /** * @@ -530,18 +530,18 @@ export interface AssetIdsResponseDto { * @memberof AssetIdsResponseDto */ 'assetId': string; - /** - * - * @type {boolean} - * @memberof AssetIdsResponseDto - */ - 'success': boolean; /** * * @type {string} * @memberof AssetIdsResponseDto */ 'error'?: AssetIdsResponseDtoErrorEnum; + /** + * + * @type {boolean} + * @memberof AssetIdsResponseDto + */ + 'success': boolean; } export const AssetIdsResponseDtoErrorEnum = { @@ -559,29 +559,17 @@ export type AssetIdsResponseDtoErrorEnum = typeof AssetIdsResponseDtoErrorEnum[k */ export interface AssetResponseDto { /** - * - * @type {AssetTypeEnum} - * @memberof AssetResponseDto - */ - 'type': AssetTypeEnum; - /** - * + * base64 encoded sha1 hash * @type {string} * @memberof AssetResponseDto */ - 'id': string; + 'checksum': string; /** * * @type {string} * @memberof AssetResponseDto */ 'deviceAssetId': string; - /** - * - * @type {string} - * @memberof AssetResponseDto - */ - 'ownerId': string; /** * * @type {string} @@ -593,25 +581,13 @@ export interface AssetResponseDto { * @type {string} * @memberof AssetResponseDto */ - 'originalPath': string; + 'duration': string; /** * - * @type {string} + * @type {ExifResponseDto} * @memberof AssetResponseDto */ - 'originalFileName': string; - /** - * - * @type {boolean} - * @memberof AssetResponseDto - */ - 'resized': boolean; - /** - * base64 encoded thumbhash - * @type {string} - * @memberof AssetResponseDto - */ - 'thumbhash': string | null; + 'exifInfo'?: ExifResponseDto; /** * * @type {string} @@ -629,13 +605,7 @@ export interface AssetResponseDto { * @type {string} * @memberof AssetResponseDto */ - 'updatedAt': string; - /** - * - * @type {boolean} - * @memberof AssetResponseDto - */ - 'isFavorite': boolean; + 'id': string; /** * * @type {boolean} @@ -644,22 +614,10 @@ export interface AssetResponseDto { 'isArchived': boolean; /** * - * @type {string} + * @type {boolean} * @memberof AssetResponseDto */ - 'duration': string; - /** - * - * @type {ExifResponseDto} - * @memberof AssetResponseDto - */ - 'exifInfo'?: ExifResponseDto; - /** - * - * @type {SmartInfoResponseDto} - * @memberof AssetResponseDto - */ - 'smartInfo'?: SmartInfoResponseDto; + 'isFavorite': boolean; /** * * @type {string} @@ -668,10 +626,22 @@ export interface AssetResponseDto { 'livePhotoVideoId'?: string | null; /** * - * @type {Array} + * @type {string} * @memberof AssetResponseDto */ - 'tags'?: Array; + 'originalFileName': string; + /** + * + * @type {string} + * @memberof AssetResponseDto + */ + 'originalPath': string; + /** + * + * @type {string} + * @memberof AssetResponseDto + */ + 'ownerId': string; /** * * @type {Array} @@ -679,11 +649,41 @@ export interface AssetResponseDto { */ 'people'?: Array; /** - * base64 encoded sha1 hash + * + * @type {boolean} + * @memberof AssetResponseDto + */ + 'resized': boolean; + /** + * + * @type {SmartInfoResponseDto} + * @memberof AssetResponseDto + */ + 'smartInfo'?: SmartInfoResponseDto; + /** + * + * @type {Array} + * @memberof AssetResponseDto + */ + 'tags'?: Array; + /** + * base64 encoded thumbhash * @type {string} * @memberof AssetResponseDto */ - 'checksum': string; + 'thumbhash': string | null; + /** + * + * @type {AssetTypeEnum} + * @memberof AssetResponseDto + */ + 'type': AssetTypeEnum; + /** + * + * @type {string} + * @memberof AssetResponseDto + */ + '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; } /** * @@ -749,30 +749,24 @@ export type AudioCodec = typeof AudioCodec[keyof typeof AudioCodec]; * @interface AuthDeviceResponseDto */ export interface AuthDeviceResponseDto { - /** - * - * @type {string} - * @memberof AuthDeviceResponseDto - */ - 'id': string; /** * * @type {string} * @memberof AuthDeviceResponseDto */ 'createdAt': string; - /** - * - * @type {string} - * @memberof AuthDeviceResponseDto - */ - 'updatedAt': string; /** * * @type {boolean} * @memberof AuthDeviceResponseDto */ 'current': boolean; + /** + * + * @type {string} + * @memberof AuthDeviceResponseDto + */ + 'deviceOS': string; /** * * @type {string} @@ -784,7 +778,13 @@ export interface AuthDeviceResponseDto { * @type {string} * @memberof AuthDeviceResponseDto */ - 'deviceOS': string; + 'id': string; + /** + * + * @type {string} + * @memberof AuthDeviceResponseDto + */ + 'updatedAt': string; } /** * @@ -792,6 +792,12 @@ export interface AuthDeviceResponseDto { * @interface BulkIdResponseDto */ export interface BulkIdResponseDto { + /** + * + * @type {string} + * @memberof BulkIdResponseDto + */ + 'error'?: BulkIdResponseDtoErrorEnum; /** * * @type {string} @@ -804,12 +810,6 @@ export interface BulkIdResponseDto { * @memberof BulkIdResponseDto */ 'success': boolean; - /** - * - * @type {string} - * @memberof BulkIdResponseDto - */ - 'error'?: BulkIdResponseDtoErrorEnum; } 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; } /** * @@ -865,18 +865,18 @@ export interface CheckDuplicateAssetDto { * @interface CheckDuplicateAssetResponseDto */ export interface CheckDuplicateAssetResponseDto { - /** - * - * @type {boolean} - * @memberof CheckDuplicateAssetResponseDto - */ - 'isExist': boolean; /** * * @type {string} * @memberof CheckDuplicateAssetResponseDto */ 'id'?: string; + /** + * + * @type {boolean} + * @memberof CheckDuplicateAssetResponseDto + */ + 'isExist': boolean; } /** * @@ -927,13 +927,13 @@ export interface CreateAlbumDto { * @type {Array} * @memberof CreateAlbumDto */ - 'sharedWithUserIds'?: Array; + 'assetIds'?: Array; /** * * @type {Array} * @memberof CreateAlbumDto */ - 'assetIds'?: Array; + 'sharedWithUserIds'?: Array; } /** * @@ -946,13 +946,13 @@ export interface CreateProfileImageResponseDto { * @type {string} * @memberof CreateProfileImageResponseDto */ - 'userId': string; + 'profileImagePath': string; /** * * @type {string} * @memberof CreateProfileImageResponseDto */ - 'profileImagePath': string; + 'userId': string; } /** * @@ -960,18 +960,18 @@ export interface CreateProfileImageResponseDto { * @interface CreateTagDto */ export interface CreateTagDto { - /** - * - * @type {TagTypeEnum} - * @memberof CreateTagDto - */ - 'type': TagTypeEnum; /** * * @type {string} * @memberof CreateTagDto */ 'name': string; + /** + * + * @type {TagTypeEnum} + * @memberof CreateTagDto + */ + '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; } /** * @@ -1024,24 +1024,12 @@ export interface CreateUserDto { * @interface CuratedLocationsResponseDto */ export interface CuratedLocationsResponseDto { - /** - * - * @type {string} - * @memberof CuratedLocationsResponseDto - */ - 'id': string; /** * * @type {string} * @memberof CuratedLocationsResponseDto */ 'city': string; - /** - * - * @type {string} - * @memberof CuratedLocationsResponseDto - */ - 'resizePath': string; /** * * @type {string} @@ -1054,6 +1042,18 @@ export interface CuratedLocationsResponseDto { * @memberof CuratedLocationsResponseDto */ 'deviceId': string; + /** + * + * @type {string} + * @memberof CuratedLocationsResponseDto + */ + 'id': string; + /** + * + * @type {string} + * @memberof CuratedLocationsResponseDto + */ + 'resizePath': string; } /** * @@ -1061,6 +1061,18 @@ export interface CuratedLocationsResponseDto { * @interface CuratedObjectsResponseDto */ export interface CuratedObjectsResponseDto { + /** + * + * @type {string} + * @memberof CuratedObjectsResponseDto + */ + 'deviceAssetId': string; + /** + * + * @type {string} + * @memberof CuratedObjectsResponseDto + */ + 'deviceId': string; /** * * @type {string} @@ -1079,18 +1091,6 @@ export interface CuratedObjectsResponseDto { * @memberof CuratedObjectsResponseDto */ 'resizePath': string; - /** - * - * @type {string} - * @memberof CuratedObjectsResponseDto - */ - 'deviceAssetId': string; - /** - * - * @type {string} - * @memberof CuratedObjectsResponseDto - */ - 'deviceId': string; } /** * @@ -1111,18 +1111,18 @@ export interface DeleteAssetDto { * @interface DeleteAssetResponseDto */ export interface DeleteAssetResponseDto { - /** - * - * @type {DeleteAssetStatus} - * @memberof DeleteAssetResponseDto - */ - 'status': DeleteAssetStatus; /** * * @type {string} * @memberof DeleteAssetResponseDto */ 'id': string; + /** + * + * @type {DeleteAssetStatus} + * @memberof DeleteAssetResponseDto + */ + 'status': DeleteAssetStatus; } @@ -1146,18 +1146,18 @@ export type DeleteAssetStatus = typeof DeleteAssetStatus[keyof typeof DeleteAsse * @interface DownloadArchiveInfo */ export interface DownloadArchiveInfo { - /** - * - * @type {number} - * @memberof DownloadArchiveInfo - */ - 'size': number; /** * * @type {Array} * @memberof DownloadArchiveInfo */ 'assetIds': Array; + /** + * + * @type {number} + * @memberof DownloadArchiveInfo + */ + 'size': number; } /** * @@ -1165,18 +1165,18 @@ export interface DownloadArchiveInfo { * @interface DownloadResponseDto */ export interface DownloadResponseDto { - /** - * - * @type {number} - * @memberof DownloadResponseDto - */ - 'totalSize': number; /** * * @type {Array} * @memberof DownloadResponseDto */ 'archives': Array; + /** + * + * @type {number} + * @memberof DownloadResponseDto + */ + 'totalSize': number; } /** * @@ -1186,40 +1186,16 @@ 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; - /** - * - * @type {string} - * @memberof ExifResponseDto - */ - 'model'?: string | null; - /** - * - * @type {number} - * @memberof ExifResponseDto - */ - 'exifImageWidth'?: number | null; - /** - * - * @type {number} - * @memberof ExifResponseDto - */ - 'exifImageHeight'?: number | null; - /** - * - * @type {string} - * @memberof ExifResponseDto - */ - 'orientation'?: string | null; + 'country'?: string | null; /** * * @type {string} @@ -1231,25 +1207,37 @@ export interface ExifResponseDto { * @type {string} * @memberof ExifResponseDto */ - 'modifyDate'?: string | null; + 'description'?: string | null; + /** + * + * @type {number} + * @memberof ExifResponseDto + */ + 'exifImageHeight'?: number | null; + /** + * + * @type {number} + * @memberof ExifResponseDto + */ + 'exifImageWidth'?: number | null; /** * * @type {string} * @memberof ExifResponseDto */ - 'timeZone'?: string | null; - /** - * - * @type {string} - * @memberof ExifResponseDto - */ - 'lensModel'?: string | null; + 'exposureTime'?: string | null; /** * * @type {number} * @memberof ExifResponseDto */ 'fNumber'?: number | null; + /** + * + * @type {number} + * @memberof ExifResponseDto + */ + 'fileSizeInByte'?: number | null; /** * * @type {number} @@ -1262,18 +1250,18 @@ export interface ExifResponseDto { * @memberof ExifResponseDto */ 'iso'?: number | null; - /** - * - * @type {string} - * @memberof ExifResponseDto - */ - 'exposureTime'?: string | null; /** * * @type {number} * @memberof ExifResponseDto */ 'latitude'?: number | null; + /** + * + * @type {string} + * @memberof ExifResponseDto + */ + 'lensModel'?: string | null; /** * * @type {number} @@ -1285,7 +1273,31 @@ export interface ExifResponseDto { * @type {string} * @memberof ExifResponseDto */ - 'city'?: string | null; + 'make'?: string | null; + /** + * + * @type {string} + * @memberof ExifResponseDto + */ + 'model'?: string | null; + /** + * + * @type {string} + * @memberof ExifResponseDto + */ + 'modifyDate'?: string | null; + /** + * + * @type {string} + * @memberof ExifResponseDto + */ + 'orientation'?: string | null; + /** + * + * @type {string} + * @memberof ExifResponseDto + */ + 'projectionType'?: string | null; /** * * @type {string} @@ -1297,19 +1309,7 @@ export interface ExifResponseDto { * @type {string} * @memberof ExifResponseDto */ - 'country'?: string | null; - /** - * - * @type {string} - * @memberof ExifResponseDto - */ - 'description'?: string | null; - /** - * - * @type {string} - * @memberof ExifResponseDto - */ - 'projectionType'?: string | null; + 'timeZone'?: string | null; } /** * @@ -1369,24 +1369,12 @@ export interface GetAssetCountByTimeBucketDto { * @interface ImportAssetDto */ export interface ImportAssetDto { - /** - * - * @type {boolean} - * @memberof ImportAssetDto - */ - 'isReadOnly'?: boolean; /** * * @type {string} * @memberof ImportAssetDto */ 'assetPath': string; - /** - * - * @type {string} - * @memberof ImportAssetDto - */ - 'sidecarPath'?: string; /** * * @type {string} @@ -1399,6 +1387,12 @@ export interface ImportAssetDto { * @memberof ImportAssetDto */ 'deviceId': string; + /** + * + * @type {string} + * @memberof ImportAssetDto + */ + '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; } /** * @@ -1491,12 +1491,6 @@ export interface JobCountsDto { * @memberof JobCountsDto */ 'completed': number; - /** - * - * @type {number} - * @memberof JobCountsDto - */ - 'failed': number; /** * * @type {number} @@ -1508,13 +1502,19 @@ export interface JobCountsDto { * @type {number} * @memberof JobCountsDto */ - 'waiting': number; + 'failed': number; /** * * @type {number} * @memberof JobCountsDto */ 'paused': number; + /** + * + * @type {number} + * @memberof JobCountsDto + */ + 'waiting': number; } /** * @@ -1601,24 +1601,18 @@ export interface LoginResponseDto { * @memberof LoginResponseDto */ 'accessToken': string; - /** - * - * @type {string} - * @memberof LoginResponseDto - */ - 'userId': string; - /** - * - * @type {string} - * @memberof LoginResponseDto - */ - 'userEmail': string; /** * * @type {string} * @memberof LoginResponseDto */ 'firstName': string; + /** + * + * @type {boolean} + * @memberof LoginResponseDto + */ + 'isAdmin': boolean; /** * * @type {string} @@ -1636,13 +1630,19 @@ export interface LoginResponseDto { * @type {boolean} * @memberof LoginResponseDto */ - 'isAdmin': boolean; + 'shouldChangePassword': boolean; /** * - * @type {boolean} + * @type {string} * @memberof LoginResponseDto */ - 'shouldChangePassword': boolean; + 'userEmail': string; + /** + * + * @type {string} + * @memberof LoginResponseDto + */ + 'userId': string; } /** * @@ -1650,18 +1650,18 @@ export interface LoginResponseDto { * @interface LogoutResponseDto */ export interface LogoutResponseDto { - /** - * - * @type {boolean} - * @memberof LogoutResponseDto - */ - 'successful': boolean; /** * * @type {string} * @memberof LogoutResponseDto */ 'redirectUri': string; + /** + * + * @type {boolean} + * @memberof LogoutResponseDto + */ + 'successful': boolean; } /** * @@ -1694,18 +1694,18 @@ export interface MapMarkerResponseDto { * @interface MemoryLaneResponseDto */ export interface MemoryLaneResponseDto { - /** - * - * @type {string} - * @memberof MemoryLaneResponseDto - */ - 'title': string; /** * * @type {Array} * @memberof MemoryLaneResponseDto */ 'assets': Array; + /** + * + * @type {string} + * @memberof MemoryLaneResponseDto + */ + 'title': string; } /** * @@ -1752,6 +1752,18 @@ export interface OAuthConfigDto { * @interface OAuthConfigResponseDto */ export interface OAuthConfigResponseDto { + /** + * + * @type {boolean} + * @memberof OAuthConfigResponseDto + */ + 'autoLaunch'?: boolean; + /** + * + * @type {string} + * @memberof OAuthConfigResponseDto + */ + 'buttonText'?: string; /** * * @type {boolean} @@ -1770,18 +1782,6 @@ export interface OAuthConfigResponseDto { * @memberof OAuthConfigResponseDto */ 'url'?: string; - /** - * - * @type {string} - * @memberof OAuthConfigResponseDto - */ - 'buttonText'?: string; - /** - * - * @type {boolean} - * @memberof OAuthConfigResponseDto - */ - 'autoLaunch'?: boolean; } /** * @@ -1789,6 +1789,12 @@ export interface OAuthConfigResponseDto { * @interface PeopleResponseDto */ export interface PeopleResponseDto { + /** + * + * @type {Array} + * @memberof PeopleResponseDto + */ + 'people': Array; /** * * @type {number} @@ -1801,12 +1807,6 @@ export interface PeopleResponseDto { * @memberof PeopleResponseDto */ 'visible': number; - /** - * - * @type {Array} - * @memberof PeopleResponseDto - */ - 'people': Array; } /** * @@ -1827,30 +1827,30 @@ export interface PeopleUpdateDto { * @interface PeopleUpdateItem */ export interface PeopleUpdateItem { - /** - * Person id. - * @type {string} - * @memberof PeopleUpdateItem - */ - 'id': string; - /** - * Person name. - * @type {string} - * @memberof PeopleUpdateItem - */ - 'name'?: string; /** * Asset is used to get the feature face thumbnail. * @type {string} * @memberof PeopleUpdateItem */ 'featureFaceAssetId'?: string; + /** + * Person id. + * @type {string} + * @memberof PeopleUpdateItem + */ + 'id': string; /** * Person visibility * @type {boolean} * @memberof PeopleUpdateItem */ 'isHidden'?: boolean; + /** + * Person name. + * @type {string} + * @memberof PeopleUpdateItem + */ + 'name'?: string; } /** * @@ -1864,6 +1864,12 @@ export interface PersonResponseDto { * @memberof PersonResponseDto */ 'id': string; + /** + * + * @type {boolean} + * @memberof PersonResponseDto + */ + 'isHidden': boolean; /** * * @type {string} @@ -1876,12 +1882,6 @@ export interface PersonResponseDto { * @memberof PersonResponseDto */ 'thumbnailPath': string; - /** - * - * @type {boolean} - * @memberof PersonResponseDto - */ - 'isHidden': boolean; } /** * @@ -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} * @memberof SearchAlbumResponseDto */ - 'count': number; + 'facets': Array; /** * * @type {Array} @@ -1966,10 +1966,10 @@ export interface SearchAlbumResponseDto { 'items': Array; /** * - * @type {Array} + * @type {number} * @memberof SearchAlbumResponseDto */ - 'facets': Array; + 'total': number; } /** * @@ -1995,13 +1995,13 @@ export interface SearchAssetResponseDto { * @type {number} * @memberof SearchAssetResponseDto */ - 'total': number; + 'count': number; /** * - * @type {number} + * @type {Array} * @memberof SearchAssetResponseDto */ - 'count': number; + 'facets': Array; /** * * @type {Array} @@ -2010,10 +2010,10 @@ export interface SearchAssetResponseDto { 'items': Array; /** * - * @type {Array} + * @type {number} * @memberof SearchAssetResponseDto */ - 'facets': Array; + 'total': number; } /** * @@ -2034,18 +2034,18 @@ export interface SearchConfigResponseDto { * @interface SearchExploreItem */ export interface SearchExploreItem { - /** - * - * @type {string} - * @memberof SearchExploreItem - */ - 'value': string; /** * * @type {AssetResponseDto} * @memberof SearchExploreItem */ 'data': AssetResponseDto; + /** + * + * @type {string} + * @memberof SearchExploreItem + */ + 'value': string; } /** * @@ -2091,18 +2091,18 @@ export interface SearchFacetCountResponseDto { * @interface SearchFacetResponseDto */ export interface SearchFacetResponseDto { - /** - * - * @type {string} - * @memberof SearchFacetResponseDto - */ - 'fieldName': string; /** * * @type {Array} * @memberof SearchFacetResponseDto */ 'counts': Array; + /** + * + * @type {string} + * @memberof SearchFacetResponseDto + */ + 'fieldName': string; } /** * @@ -2131,34 +2131,34 @@ export interface SearchResponseDto { export interface ServerInfoResponseDto { /** * - * @type {number} + * @type {string} * @memberof ServerInfoResponseDto */ - 'diskSizeRaw': number; - /** - * - * @type {number} - * @memberof ServerInfoResponseDto - */ - 'diskUseRaw': number; + 'diskAvailable': string; /** * * @type {number} * @memberof ServerInfoResponseDto */ 'diskAvailableRaw': number; + /** + * + * @type {string} + * @memberof ServerInfoResponseDto + */ + 'diskSize': string; + /** + * + * @type {number} + * @memberof ServerInfoResponseDto + */ + 'diskSizeRaw': number; /** * * @type {number} * @memberof ServerInfoResponseDto */ 'diskUsagePercentage': number; - /** - * - * @type {string} - * @memberof ServerInfoResponseDto - */ - 'diskSize': string; /** * * @type {string} @@ -2167,10 +2167,10 @@ export interface ServerInfoResponseDto { 'diskUse': string; /** * - * @type {string} + * @type {number} * @memberof ServerInfoResponseDto */ - 'diskAvailable': string; + 'diskUseRaw': number; } /** * @@ -2178,12 +2178,6 @@ export interface ServerInfoResponseDto { * @interface ServerMediaTypesResponseDto */ export interface ServerMediaTypesResponseDto { - /** - * - * @type {Array} - * @memberof ServerMediaTypesResponseDto - */ - 'video': Array; /** * * @type {Array} @@ -2196,6 +2190,12 @@ export interface ServerMediaTypesResponseDto { * @memberof ServerMediaTypesResponseDto */ 'sidecar': Array; + /** + * + * @type {Array} + * @memberof ServerMediaTypesResponseDto + */ + 'video': Array; } /** * @@ -2222,12 +2222,6 @@ export interface ServerStatsResponseDto { * @memberof ServerStatsResponseDto */ 'photos': number; - /** - * - * @type {number} - * @memberof ServerStatsResponseDto - */ - 'videos': number; /** * * @type {number} @@ -2240,6 +2234,12 @@ export interface ServerStatsResponseDto { * @memberof ServerStatsResponseDto */ 'usageByUser': Array; + /** + * + * @type {number} + * @memberof ServerStatsResponseDto + */ + 'videos': number; } /** * @@ -2274,22 +2274,28 @@ export interface ServerVersionReponseDto { export interface SharedLinkCreateDto { /** * - * @type {SharedLinkType} + * @type {string} * @memberof SharedLinkCreateDto */ - 'type': SharedLinkType; + 'albumId'?: string; + /** + * + * @type {boolean} + * @memberof SharedLinkCreateDto + */ + 'allowDownload'?: boolean; + /** + * + * @type {boolean} + * @memberof SharedLinkCreateDto + */ + 'allowUpload'?: boolean; /** * * @type {Array} * @memberof SharedLinkCreateDto */ 'assetIds'?: Array; - /** - * - * @type {string} - * @memberof SharedLinkCreateDto - */ - 'albumId'?: string; /** * * @type {string} @@ -2302,24 +2308,18 @@ export interface SharedLinkCreateDto { * @memberof SharedLinkCreateDto */ 'expiresAt'?: string | null; - /** - * - * @type {boolean} - * @memberof SharedLinkCreateDto - */ - 'allowUpload'?: boolean; - /** - * - * @type {boolean} - * @memberof SharedLinkCreateDto - */ - 'allowDownload'?: boolean; /** * * @type {boolean} * @memberof SharedLinkCreateDto */ 'showExif'?: boolean; + /** + * + * @type {SharedLinkType} + * @memberof SharedLinkCreateDto + */ + 'type': SharedLinkType; } @@ -2329,6 +2329,18 @@ export interface SharedLinkCreateDto { * @interface SharedLinkEditDto */ export interface SharedLinkEditDto { + /** + * + * @type {boolean} + * @memberof SharedLinkEditDto + */ + 'allowDownload'?: boolean; + /** + * + * @type {boolean} + * @memberof SharedLinkEditDto + */ + 'allowUpload'?: boolean; /** * * @type {string} @@ -2341,18 +2353,6 @@ export interface SharedLinkEditDto { * @memberof SharedLinkEditDto */ 'expiresAt'?: string | null; - /** - * - * @type {boolean} - * @memberof SharedLinkEditDto - */ - 'allowUpload'?: boolean; - /** - * - * @type {boolean} - * @memberof SharedLinkEditDto - */ - 'allowDownload'?: boolean; /** * * @type {boolean} @@ -2366,78 +2366,78 @@ export interface SharedLinkEditDto { * @interface SharedLinkResponseDto */ export interface SharedLinkResponseDto { - /** - * - * @type {SharedLinkType} - * @memberof SharedLinkResponseDto - */ - 'type': SharedLinkType; - /** - * - * @type {string} - * @memberof SharedLinkResponseDto - */ - 'id': string; - /** - * - * @type {string} - * @memberof SharedLinkResponseDto - */ - 'description': string | null; - /** - * - * @type {string} - * @memberof SharedLinkResponseDto - */ - 'userId': string; - /** - * - * @type {string} - * @memberof SharedLinkResponseDto - */ - 'key': string; - /** - * - * @type {string} - * @memberof SharedLinkResponseDto - */ - 'createdAt': string; - /** - * - * @type {string} - * @memberof SharedLinkResponseDto - */ - 'expiresAt': string | null; - /** - * - * @type {Array} - * @memberof SharedLinkResponseDto - */ - 'assets': Array; /** * * @type {AlbumResponseDto} * @memberof SharedLinkResponseDto */ 'album'?: AlbumResponseDto; - /** - * - * @type {boolean} - * @memberof SharedLinkResponseDto - */ - 'allowUpload': boolean; /** * * @type {boolean} * @memberof SharedLinkResponseDto */ 'allowDownload': boolean; + /** + * + * @type {boolean} + * @memberof SharedLinkResponseDto + */ + 'allowUpload': boolean; + /** + * + * @type {Array} + * @memberof SharedLinkResponseDto + */ + 'assets': Array; + /** + * + * @type {string} + * @memberof SharedLinkResponseDto + */ + 'createdAt': string; + /** + * + * @type {string} + * @memberof SharedLinkResponseDto + */ + 'description': string | null; + /** + * + * @type {string} + * @memberof SharedLinkResponseDto + */ + 'expiresAt': string | null; + /** + * + * @type {string} + * @memberof SharedLinkResponseDto + */ + 'id': string; + /** + * + * @type {string} + * @memberof SharedLinkResponseDto + */ + 'key': string; /** * * @type {boolean} * @memberof SharedLinkResponseDto */ 'showExif': boolean; + /** + * + * @type {SharedLinkType} + * @memberof SharedLinkResponseDto + */ + 'type': SharedLinkType; + /** + * + * @type {string} + * @memberof SharedLinkResponseDto + */ + 'userId': string; } @@ -2467,12 +2467,6 @@ export interface SignUpDto { * @memberof SignUpDto */ 'email': string; - /** - * - * @type {string} - * @memberof SignUpDto - */ - 'password': string; /** * * @type {string} @@ -2485,6 +2479,12 @@ export interface SignUpDto { * @memberof SignUpDto */ 'lastName': string; + /** + * + * @type {string} + * @memberof SignUpDto + */ + 'password': string; } /** * @@ -2497,13 +2497,13 @@ export interface SmartInfoResponseDto { * @type {Array} * @memberof SmartInfoResponseDto */ - 'tags'?: Array | null; + 'objects'?: Array | null; /** * * @type {Array} * @memberof SmartInfoResponseDto */ - 'objects'?: Array | null; + 'tags'?: Array | 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,34 +2556,22 @@ export interface SystemConfigFFmpegDto { 'crf': number; /** * - * @type {number} + * @type {string} * @memberof SystemConfigFFmpegDto */ - 'threads': number; - /** - * - * @type {VideoCodec} - * @memberof SystemConfigFFmpegDto - */ - 'targetVideoCodec': VideoCodec; - /** - * - * @type {AudioCodec} - * @memberof SystemConfigFFmpegDto - */ - 'targetAudioCodec': AudioCodec; - /** - * - * @type {TranscodePolicy} - * @memberof SystemConfigFFmpegDto - */ - 'transcode': TranscodePolicy; + 'maxBitrate': string; /** * * @type {string} * @memberof SystemConfigFFmpegDto */ 'preset': string; + /** + * + * @type {AudioCodec} + * @memberof SystemConfigFFmpegDto + */ + 'targetAudioCodec': AudioCodec; /** * * @type {string} @@ -2592,10 +2580,22 @@ export interface SystemConfigFFmpegDto { 'targetResolution': string; /** * - * @type {string} + * @type {VideoCodec} * @memberof SystemConfigFFmpegDto */ - 'maxBitrate': string; + 'targetVideoCodec': VideoCodec; + /** + * + * @type {number} + * @memberof SystemConfigFFmpegDto + */ + 'threads': number; + /** + * + * @type {TranscodePolicy} + * @memberof SystemConfigFFmpegDto + */ + 'transcode': TranscodePolicy; /** * * @type {boolean} @@ -2616,25 +2616,7 @@ export interface SystemConfigJobDto { * @type {JobSettingsDto} * @memberof SystemConfigJobDto */ - 'thumbnailGeneration': JobSettingsDto; - /** - * - * @type {JobSettingsDto} - * @memberof SystemConfigJobDto - */ - 'metadataExtraction': JobSettingsDto; - /** - * - * @type {JobSettingsDto} - * @memberof SystemConfigJobDto - */ - 'videoConversion': JobSettingsDto; - /** - * - * @type {JobSettingsDto} - * @memberof SystemConfigJobDto - */ - 'objectTagging': JobSettingsDto; + 'backgroundTask': JobSettingsDto; /** * * @type {JobSettingsDto} @@ -2646,31 +2628,49 @@ export interface SystemConfigJobDto { * @type {JobSettingsDto} * @memberof SystemConfigJobDto */ - 'storageTemplateMigration': JobSettingsDto; + 'metadataExtraction': JobSettingsDto; /** * * @type {JobSettingsDto} * @memberof SystemConfigJobDto */ - 'backgroundTask': JobSettingsDto; - /** - * - * @type {JobSettingsDto} - * @memberof SystemConfigJobDto - */ - 'search': JobSettingsDto; + 'objectTagging': JobSettingsDto; /** * * @type {JobSettingsDto} * @memberof SystemConfigJobDto */ 'recognizeFaces': JobSettingsDto; + /** + * + * @type {JobSettingsDto} + * @memberof SystemConfigJobDto + */ + 'search': JobSettingsDto; /** * * @type {JobSettingsDto} * @memberof SystemConfigJobDto */ 'sidecar': JobSettingsDto; + /** + * + * @type {JobSettingsDto} + * @memberof SystemConfigJobDto + */ + 'storageTemplateMigration': JobSettingsDto; + /** + * + * @type {JobSettingsDto} + * @memberof SystemConfigJobDto + */ + 'thumbnailGeneration': JobSettingsDto; + /** + * + * @type {JobSettingsDto} + * @memberof SystemConfigJobDto + */ + 'videoConversion': JobSettingsDto; } /** * @@ -2683,13 +2683,19 @@ export interface SystemConfigOAuthDto { * @type {boolean} * @memberof SystemConfigOAuthDto */ - 'enabled': boolean; + 'autoLaunch': boolean; + /** + * + * @type {boolean} + * @memberof SystemConfigOAuthDto + */ + 'autoRegister': boolean; /** * * @type {string} * @memberof SystemConfigOAuthDto */ - 'issuerUrl': string; + 'buttonText': string; /** * * @type {string} @@ -2702,36 +2708,18 @@ export interface SystemConfigOAuthDto { * @memberof SystemConfigOAuthDto */ 'clientSecret': string; - /** - * - * @type {string} - * @memberof SystemConfigOAuthDto - */ - 'scope': string; - /** - * - * @type {string} - * @memberof SystemConfigOAuthDto - */ - 'storageLabelClaim': string; - /** - * - * @type {string} - * @memberof SystemConfigOAuthDto - */ - 'buttonText': string; /** * * @type {boolean} * @memberof SystemConfigOAuthDto */ - 'autoRegister': boolean; + 'enabled': boolean; /** * - * @type {boolean} + * @type {string} * @memberof SystemConfigOAuthDto */ - 'autoLaunch': boolean; + 'issuerUrl': string; /** * * @type {boolean} @@ -2744,6 +2732,18 @@ export interface SystemConfigOAuthDto { * @memberof SystemConfigOAuthDto */ 'mobileRedirectUri': string; + /** + * + * @type {string} + * @memberof SystemConfigOAuthDto + */ + 'scope': string; + /** + * + * @type {string} + * @memberof SystemConfigOAuthDto + */ + 'storageLabelClaim': string; } /** * @@ -2777,18 +2777,6 @@ export interface SystemConfigStorageTemplateDto { * @interface SystemConfigTemplateStorageOptionDto */ export interface SystemConfigTemplateStorageOptionDto { - /** - * - * @type {Array} - * @memberof SystemConfigTemplateStorageOptionDto - */ - 'yearOptions': Array; - /** - * - * @type {Array} - * @memberof SystemConfigTemplateStorageOptionDto - */ - 'monthOptions': Array; /** * * @type {Array} @@ -2812,13 +2800,25 @@ export interface SystemConfigTemplateStorageOptionDto { * @type {Array} * @memberof SystemConfigTemplateStorageOptionDto */ - 'secondOptions': Array; + 'monthOptions': Array; /** * * @type {Array} * @memberof SystemConfigTemplateStorageOptionDto */ 'presetOptions': Array; + /** + * + * @type {Array} + * @memberof SystemConfigTemplateStorageOptionDto + */ + 'secondOptions': Array; + /** + * + * @type {Array} + * @memberof SystemConfigTemplateStorageOptionDto + */ + 'yearOptions': Array; } /** * @@ -2826,12 +2826,6 @@ export interface SystemConfigTemplateStorageOptionDto { * @interface TagResponseDto */ export interface TagResponseDto { - /** - * - * @type {TagTypeEnum} - * @memberof TagResponseDto - */ - 'type': TagTypeEnum; /** * * @type {string} @@ -2844,6 +2838,12 @@ export interface TagResponseDto { * @memberof TagResponseDto */ 'name': string; + /** + * + * @type {TagTypeEnum} + * @memberof TagResponseDto + */ + 'type': TagTypeEnum; /** * * @type {string} @@ -2939,16 +2939,10 @@ export interface UpdateAlbumDto { export interface UpdateAssetDto { /** * - * @type {Array} + * @type {string} * @memberof UpdateAssetDto */ - 'tagIds'?: Array; - /** - * - * @type {boolean} - * @memberof UpdateAssetDto - */ - 'isFavorite'?: boolean; + 'description'?: string; /** * * @type {boolean} @@ -2957,10 +2951,16 @@ export interface UpdateAssetDto { 'isArchived'?: boolean; /** * - * @type {string} + * @type {boolean} * @memberof UpdateAssetDto */ - 'description'?: string; + 'isFavorite'?: boolean; + /** + * + * @type {Array} + * @memberof UpdateAssetDto + */ + 'tagIds'?: Array; } /** * @@ -2981,12 +2981,6 @@ export interface UpdateTagDto { * @interface UpdateUserDto */ export interface UpdateUserDto { - /** - * - * @type {string} - * @memberof UpdateUserDto - */ - 'id': string; /** * * @type {string} @@ -2998,7 +2992,7 @@ export interface UpdateUserDto { * @type {string} * @memberof UpdateUserDto */ - 'password'?: string; + 'externalPath'?: string; /** * * @type {string} @@ -3010,31 +3004,37 @@ export interface UpdateUserDto { * @type {string} * @memberof UpdateUserDto */ - 'lastName'?: string; - /** - * - * @type {string} - * @memberof UpdateUserDto - */ - 'storageLabel'?: string; - /** - * - * @type {string} - * @memberof UpdateUserDto - */ - 'externalPath'?: string; + 'id': string; /** * * @type {boolean} * @memberof UpdateUserDto */ 'isAdmin'?: boolean; + /** + * + * @type {string} + * @memberof UpdateUserDto + */ + 'lastName'?: string; + /** + * + * @type {string} + * @memberof UpdateUserDto + */ + 'password'?: string; /** * * @type {boolean} * @memberof UpdateUserDto */ 'shouldChangePassword'?: boolean; + /** + * + * @type {string} + * @memberof UpdateUserDto + */ + 'storageLabel'?: string; } /** * @@ -3042,24 +3042,6 @@ export interface UpdateUserDto { * @interface UsageByUserDto */ export interface UsageByUserDto { - /** - * - * @type {string} - * @memberof UsageByUserDto - */ - 'userId': string; - /** - * - * @type {string} - * @memberof UsageByUserDto - */ - 'userFirstName': string; - /** - * - * @type {string} - * @memberof UsageByUserDto - */ - 'userLastName': string; /** * * @type {number} @@ -3071,13 +3053,31 @@ export interface UsageByUserDto { * @type {number} * @memberof UsageByUserDto */ - 'videos': number; + 'usage': number; + /** + * + * @type {string} + * @memberof UsageByUserDto + */ + 'userFirstName': string; + /** + * + * @type {string} + * @memberof UsageByUserDto + */ + 'userId': string; + /** + * + * @type {string} + * @memberof UsageByUserDto + */ + 'userLastName': string; /** * * @type {number} * @memberof UsageByUserDto */ - 'usage': number; + 'videos': number; } /** * @@ -3103,19 +3103,43 @@ export interface UserResponseDto { * @type {string} * @memberof UserResponseDto */ - 'id': string; + 'createdAt': string; + /** + * + * @type {string} + * @memberof UserResponseDto + */ + 'deletedAt': string | null; /** * * @type {string} * @memberof UserResponseDto */ 'email': string; + /** + * + * @type {string} + * @memberof UserResponseDto + */ + 'externalPath': string | null; /** * * @type {string} * @memberof UserResponseDto */ 'firstName': string; + /** + * + * @type {string} + * @memberof UserResponseDto + */ + 'id': string; + /** + * + * @type {boolean} + * @memberof UserResponseDto + */ + 'isAdmin': boolean; /** * * @type {string} @@ -3127,13 +3151,7 @@ export interface UserResponseDto { * @type {string} * @memberof UserResponseDto */ - 'storageLabel': string | null; - /** - * - * @type {string} - * @memberof UserResponseDto - */ - 'externalPath': string | null; + 'oauthId': string; /** * * @type {string} @@ -3146,36 +3164,18 @@ export interface UserResponseDto { * @memberof UserResponseDto */ 'shouldChangePassword': boolean; - /** - * - * @type {boolean} - * @memberof UserResponseDto - */ - 'isAdmin': boolean; /** * * @type {string} * @memberof UserResponseDto */ - 'createdAt': string; - /** - * - * @type {string} - * @memberof UserResponseDto - */ - 'deletedAt': string | null; + 'storageLabel': string | null; /** * * @type {string} * @memberof UserResponseDto */ 'updatedAt': string; - /** - * - * @type {string} - * @memberof UserResponseDto - */ - 'oauthId': string; } /** * @@ -5767,16 +5767,16 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {string} fileModifiedAt * @param {boolean} isFavorite * @param {string} [key] + * @param {string} [duration] + * @param {boolean} [isArchived] + * @param {boolean} [isReadOnly] + * @param {boolean} [isVisible] * @param {File} [livePhotoData] * @param {File} [sidecarData] - * @param {boolean} [isReadOnly] - * @param {boolean} [isArchived] - * @param {boolean} [isVisible] - * @param {string} [duration] * @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 => { + 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 => { // 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 {string} [duration] + * @param {boolean} [isArchived] + * @param {boolean} [isReadOnly] + * @param {boolean} [isVisible] * @param {File} [livePhotoData] * @param {File} [sidecarData] - * @param {boolean} [isReadOnly] - * @param {boolean} [isArchived] - * @param {boolean} [isVisible] - * @param {string} [duration] * @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> { - 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> { + 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 { - 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,24 +6875,10 @@ export interface AssetApiUploadFileRequest { /** * - * @type {File} + * @type {string} * @memberof AssetApiUploadFile */ - readonly livePhotoData?: File - - /** - * - * @type {File} - * @memberof AssetApiUploadFile - */ - readonly sidecarData?: File - - /** - * - * @type {boolean} - * @memberof AssetApiUploadFile - */ - readonly isReadOnly?: boolean + readonly duration?: string /** * @@ -6901,6 +6887,13 @@ export interface AssetApiUploadFileRequest { */ readonly isArchived?: boolean + /** + * + * @type {boolean} + * @memberof AssetApiUploadFile + */ + readonly isReadOnly?: boolean + /** * * @type {boolean} @@ -6910,10 +6903,17 @@ export interface AssetApiUploadFileRequest { /** * - * @type {string} + * @type {File} * @memberof AssetApiUploadFile */ - readonly duration?: string + readonly livePhotoData?: File + + /** + * + * @type {File} + * @memberof AssetApiUploadFile + */ + 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 d0d4bea10..3b29bf940 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 7e36819b9..c40947fa7 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 cf7658135..3a8d747ea 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** | | [default to const []] **album** | [**AlbumResponseDto**](AlbumResponseDto.md) | | [optional] +**alreadyInAlbum** | **List** | | [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 bfca912d9..08d3d8bfa 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 57b6e156c..20e496b27 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 08425de5c..0f2f20381 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 ------------ | ------------- | ------------- | ------------- -**assetCount** | **int** | | -**id** | **String** | | -**ownerId** | **String** | | **albumName** | **String** | | -**createdAt** | [**DateTime**](DateTime.md) | | -**updatedAt** | [**DateTime**](DateTime.md) | | **albumThumbnailAssetId** | **String** | | +**assetCount** | **int** | | +**assets** | [**List**](AssetResponseDto.md) | | [default to const []] +**createdAt** | [**DateTime**](DateTime.md) | | +**id** | **String** | | +**lastModifiedAssetTimestamp** | [**DateTime**](DateTime.md) | | [optional] +**owner** | [**UserResponseDto**](UserResponseDto.md) | | +**ownerId** | **String** | | **shared** | **bool** | | **sharedUsers** | [**List**](UserResponseDto.md) | | [default to const []] -**assets** | [**List**](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 7ab4eaf9d..18db99f19 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) | | -**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) | | +**clipEncoding** | [**JobStatusDto**](JobStatusDto.md) | | +**metadataExtraction** | [**JobStatusDto**](JobStatusDto.md) | | +**objectTagging** | [**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 644907d1e..8f6912676 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 duration = duration_example; // String | +final isArchived = true; // bool | +final isReadOnly = true; // bool | +final isVisible = true; // bool | final livePhotoData = BINARY_DATA_HERE; // MultipartFile | final sidecarData = BINARY_DATA_HERE; // MultipartFile | -final isReadOnly = true; // bool | -final isArchived = true; // bool | -final isVisible = true; // bool | -final duration = duration_example; // String | 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] + **duration** | **String**| | [optional] + **isArchived** | **bool**| | [optional] + **isReadOnly** | **bool**| | [optional] [default to false] + **isVisible** | **bool**| | [optional] **livePhotoData** | **MultipartFile**| | [optional] **sidecarData** | **MultipartFile**| | [optional] - **isReadOnly** | **bool**| | [optional] [default to false] - **isArchived** | **bool**| | [optional] - **isVisible** | **bool**| | [optional] - **duration** | **String**| | [optional] ### Return type diff --git a/mobile/openapi/doc/AssetBulkUploadCheckItem.md b/mobile/openapi/doc/AssetBulkUploadCheckItem.md index 45494c2c5..edc739a65 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 670d1d9fa..c22f6c249 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 ee7153875..334e00bb7 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 77b03c26f..b8c797808 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.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 b945d531c..a698529ac 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 4aaebf73a..8a9eba650 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 8b0938636..b122147ff 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 | -**fileCreatedAt** | [**DateTime**](DateTime.md) | | -**fileModifiedAt** | [**DateTime**](DateTime.md) | | -**updatedAt** | [**DateTime**](DateTime.md) | | -**isFavorite** | **bool** | | -**isArchived** | **bool** | | **duration** | **String** | | **exifInfo** | [**ExifResponseDto**](ExifResponseDto.md) | | [optional] -**smartInfo** | [**SmartInfoResponseDto**](SmartInfoResponseDto.md) | | [optional] +**fileCreatedAt** | [**DateTime**](DateTime.md) | | +**fileModifiedAt** | [**DateTime**](DateTime.md) | | +**id** | **String** | | +**isArchived** | **bool** | | +**isFavorite** | **bool** | | **livePhotoVideoId** | **String** | | [optional] -**tags** | [**List**](TagResponseDto.md) | | [optional] [default to const []] +**originalFileName** | **String** | | +**originalPath** | **String** | | +**ownerId** | **String** | | **people** | [**List**](PersonResponseDto.md) | | [optional] [default to const []] -**checksum** | **String** | base64 encoded sha1 hash | +**resized** | **bool** | | +**smartInfo** | [**SmartInfoResponseDto**](SmartInfoResponseDto.md) | | [optional] +**tags** | [**List**](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 d7937a7ed..370b7c059 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 261e767d9..4433e3338 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 ce07f262d..27ad767e6 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 a257395ba..ff23b2a82 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 90010481e..0f49eb22a 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 2f91dba10..557a2499b 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** | | [optional] [default to const []] **assetIds** | **List** | | [optional] [default to const []] +**sharedWithUserIds** | **List** | | [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 3323e7df4..968f262b3 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 64222db49..729b39de3 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 09b963b92..531e2cf19 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 abd86ea53..627bcbf85 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 559f25148..ee041a821 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 4cd44e030..c354f53b0 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 5ec8c668f..9094270f0 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** | | [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 2a7bbc9b1..085d69a4e 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.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 144ac4f49..065495dcd 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 408e3519c..2444c4749 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 8f5b47c6f..25154690a 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 b4033fe52..ad3592eff 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 9d17baf2c..4231190bb 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 9aafda142..471274446 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.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 ae1d42c12..8abc6bb60 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 9d00d8608..8e02531c7 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.md) | | [default to const []] **total** | **num** | | **visible** | **num** | | -**people** | [**List**](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 7f7edf311..43a1b0225 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 6660b063c..e43d67a61 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 9a59c852b..935b4348c 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 f78a51a0f..b7897c126 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.md) | | [default to const []] **facets** | [**List**](SearchFacetResponseDto.md) | | [default to const []] +**items** | [**List**](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 871a70693..2fc33feb4 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.md) | | [default to const []] **facets** | [**List**](SearchFacetResponseDto.md) | | [default to const []] +**items** | [**List**](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 75eaabd8b..9ac85893e 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 c78d5ae8e..39868d06c 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.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 75694d60d..eeabb45bf 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** | | -**diskAvailableRaw** | **int** | | -**diskUsagePercentage** | **double** | | -**diskSize** | **String** | | -**diskUse** | **String** | | **diskAvailable** | **String** | | +**diskAvailableRaw** | **int** | | +**diskSize** | **String** | | +**diskSizeRaw** | **int** | | +**diskUsagePercentage** | **double** | | +**diskUse** | **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 78253e27f..d4c247e68 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** | | [default to const []] **image** | **List** | | [default to const []] **sidecar** | **List** | | [default to const []] +**video** | **List** | | [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 96446e1c2..59af9f286 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.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 fbed9ef71..807a8d18e 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** | | [optional] [default to const []] **albumId** | **String** | | [optional] +**allowDownload** | **bool** | | [optional] [default to true] +**allowUpload** | **bool** | | [optional] [default to false] +**assetIds** | **List** | | [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 5105726cb..387ef4c50 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 f649807f4..3e7c8256b 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.md) | | [default to const []] **album** | [**AlbumResponseDto**](AlbumResponseDto.md) | | [optional] -**allowUpload** | **bool** | | **allowDownload** | **bool** | | +**allowUpload** | **bool** | | +**assets** | [**List**](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 6ca6759a9..92294df02 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 39d162abe..ea8353829 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** | | [optional] [default to const []] **objects** | **List** | | [optional] [default to const []] +**tags** | **List** | | [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 908fc46da..f1526854a 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 a08261e79..a23815e9d 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) | | -**preset** | **String** | | -**targetResolution** | **String** | | **maxBitrate** | **String** | | +**preset** | **String** | | +**targetAudioCodec** | [**AudioCodec**](AudioCodec.md) | | +**targetResolution** | **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 bdff86476..7ded1184a 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) | | -**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) | | +**clipEncoding** | [**JobSettingsDto**](JobSettingsDto.md) | | +**metadataExtraction** | [**JobSettingsDto**](JobSettingsDto.md) | | +**objectTagging** | [**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 a79b0729f..f3618a08d 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 5aa9aa195..18adaa6fa 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** | | [default to const []] -**monthOptions** | **List** | | [default to const []] **dayOptions** | **List** | | [default to const []] **hourOptions** | **List** | | [default to const []] **minuteOptions** | **List** | | [default to const []] -**secondOptions** | **List** | | [default to const []] +**monthOptions** | **List** | | [default to const []] **presetOptions** | **List** | | [default to const []] +**secondOptions** | **List** | | [default to const []] +**yearOptions** | **List** | | [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 366e95033..caa47669f 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 bc08c8175..3e14538b3 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** | | [optional] [default to const []] -**isFavorite** | **bool** | | [optional] -**isArchived** | **bool** | | [optional] **description** | **String** | | [optional] +**isArchived** | **bool** | | [optional] +**isFavorite** | **bool** | | [optional] +**tagIds** | **List** | | [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 6376c18b1..d3b41f3c3 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 1d1bef885..c1c5240b9 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** | | -**userFirstName** | **String** | | -**userLastName** | **String** | | **photos** | **int** | | -**videos** | **int** | | **usage** | **int** | | +**userFirstName** | **String** | | +**userId** | **String** | | +**userLastName** | **String** | | +**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/UserResponseDto.md b/mobile/openapi/doc/UserResponseDto.md index 1c7557b96..320827f98 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** | | -**email** | **String** | | -**firstName** | **String** | | -**lastName** | **String** | | -**storageLabel** | **String** | | -**externalPath** | **String** | | -**profileImagePath** | **String** | | -**shouldChangePassword** | **bool** | | -**isAdmin** | **bool** | | **createdAt** | [**DateTime**](DateTime.md) | | **deletedAt** | [**DateTime**](DateTime.md) | | -**updatedAt** | [**DateTime**](DateTime.md) | | +**email** | **String** | | +**externalPath** | **String** | | +**firstName** | **String** | | +**id** | **String** | | +**isAdmin** | **bool** | | +**lastName** | **String** | | **oauthId** | **String** | | +**profileImagePath** | **String** | | +**shouldChangePassword** | **bool** | | +**storageLabel** | **String** | | +**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/lib/api/asset_api.dart b/mobile/openapi/lib/api/asset_api.dart index c570229aa..b4ac396d3 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: - /// - /// * [MultipartFile] sidecarData: - /// - /// * [bool] isReadOnly: + /// * [String] duration: /// /// * [bool] isArchived: /// + /// * [bool] isReadOnly: + /// /// * [bool] isVisible: /// - /// * [String] duration: - Future 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 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: - /// - /// * [MultipartFile] sidecarData: - /// - /// * [bool] isReadOnly: + /// * [String] duration: /// /// * [bool] isArchived: /// + /// * [bool] isReadOnly: + /// /// * [bool] isVisible: /// - /// * [String] duration: - Future 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 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 5b3586d85..a5b293e1f 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 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 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 toJson() { final json = {}; - 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(); return AddAssetsResponseDto( - successfullyAdded: mapValueOfType(json, r'successfullyAdded')!, + album: AlbumResponseDto.fromJson(json[r'album']), alreadyInAlbum: json[r'alreadyInAlbum'] is Iterable ? (json[r'alreadyInAlbum'] as Iterable).cast().toList(growable: false) : const [], - album: AlbumResponseDto.fromJson(json[r'album']), + successfullyAdded: mapValueOfType(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 = { - '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 6eabcd7c3..b63e305a7 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 toJson() { final json = {}; - 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(); return AdminSignupResponseDto( - id: mapValueOfType(json, r'id')!, + createdAt: mapDateTime(json, r'createdAt', r'')!, email: mapValueOfType(json, r'email')!, firstName: mapValueOfType(json, r'firstName')!, + id: mapValueOfType(json, r'id')!, lastName: mapValueOfType(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 = { - '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 33fea91a8..7227cbf55 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 toJson() { final json = {}; + 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(); return AlbumCountResponseDto( + notShared: mapValueOfType(json, r'notShared')!, owned: mapValueOfType(json, r'owned')!, shared: mapValueOfType(json, r'shared')!, - notShared: mapValueOfType(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 = { + '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 dc76a6705..e8a07c26d 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.assetCount, - required this.id, - required this.ownerId, required this.albumName, - required this.createdAt, - required this.updatedAt, 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.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 sharedUsers; + int assetCount; List 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 sharedUsers; + + DateTime updatedAt; + @override bool operator ==(Object other) => identical(this, other) || other is AlbumResponseDto && - other.assetCount == assetCount && - other.id == id && - other.ownerId == ownerId && other.albumName == albumName && - other.createdAt == createdAt && - other.updatedAt == updatedAt && 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.shared == shared && other.sharedUsers == sharedUsers && - other.assets == assets && - other.owner == owner && - other.lastModifiedAssetTimestamp == lastModifiedAssetTimestamp; + other.updatedAt == updatedAt; @override int get hashCode => // ignore: unnecessary_parenthesis - (assetCount.hashCode) + - (id.hashCode) + - (ownerId.hashCode) + (albumName.hashCode) + - (createdAt.hashCode) + - (updatedAt.hashCode) + (albumThumbnailAssetId == null ? 0 : albumThumbnailAssetId!.hashCode) + + (assetCount.hashCode) + + (assets.hashCode) + + (createdAt.hashCode) + + (id.hashCode) + + (lastModifiedAssetTimestamp == null ? 0 : lastModifiedAssetTimestamp!.hashCode) + + (owner.hashCode) + + (ownerId.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 toJson() { final json = {}; - 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(); return AlbumResponseDto( - assetCount: mapValueOfType(json, r'assetCount')!, - id: mapValueOfType(json, r'id')!, - ownerId: mapValueOfType(json, r'ownerId')!, albumName: mapValueOfType(json, r'albumName')!, - createdAt: mapDateTime(json, r'createdAt', r'')!, - updatedAt: mapDateTime(json, r'updatedAt', r'')!, albumThumbnailAssetId: mapValueOfType(json, r'albumThumbnailAssetId'), + assetCount: mapValueOfType(json, r'assetCount')!, + assets: AssetResponseDto.listFromJson(json[r'assets']), + createdAt: mapDateTime(json, r'createdAt', r'')!, + id: mapValueOfType(json, r'id')!, + lastModifiedAssetTimestamp: mapDateTime(json, r'lastModifiedAssetTimestamp', r''), + owner: UserResponseDto.fromJson(json[r'owner'])!, + ownerId: mapValueOfType(json, r'ownerId')!, shared: mapValueOfType(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 = { - 'assetCount', - 'id', - 'ownerId', 'albumName', - 'createdAt', - 'updatedAt', 'albumThumbnailAssetId', + 'assetCount', + 'assets', + 'createdAt', + 'id', + 'owner', + 'ownerId', '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 aa3ba1d74..17c443abe 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.metadataExtraction, - required this.videoConversion, - required this.objectTagging, - required this.clipEncoding, - required this.storageTemplateMigration, required this.backgroundTask, - required this.search, + required this.clipEncoding, + required this.metadataExtraction, + required this.objectTagging, required this.recognizeFaces, + required this.search, required this.sidecar, + required this.storageTemplateMigration, + required this.thumbnailGeneration, + required this.videoConversion, }); - JobStatusDto thumbnailGeneration; - - JobStatusDto metadataExtraction; - - JobStatusDto videoConversion; - - JobStatusDto objectTagging; - - JobStatusDto clipEncoding; - - JobStatusDto storageTemplateMigration; - JobStatusDto backgroundTask; - JobStatusDto search; + JobStatusDto clipEncoding; + + JobStatusDto metadataExtraction; + + JobStatusDto objectTagging; JobStatusDto recognizeFaces; + JobStatusDto search; + JobStatusDto sidecar; + JobStatusDto storageTemplateMigration; + + JobStatusDto thumbnailGeneration; + + JobStatusDto videoConversion; + @override bool operator ==(Object other) => identical(this, other) || other is AllJobStatusResponseDto && - other.thumbnailGeneration == thumbnailGeneration && - other.metadataExtraction == metadataExtraction && - other.videoConversion == videoConversion && - other.objectTagging == objectTagging && - other.clipEncoding == clipEncoding && - other.storageTemplateMigration == storageTemplateMigration && other.backgroundTask == backgroundTask && - other.search == search && + other.clipEncoding == clipEncoding && + other.metadataExtraction == metadataExtraction && + other.objectTagging == objectTagging && 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) + - (metadataExtraction.hashCode) + - (videoConversion.hashCode) + - (objectTagging.hashCode) + - (clipEncoding.hashCode) + - (storageTemplateMigration.hashCode) + (backgroundTask.hashCode) + - (search.hashCode) + + (clipEncoding.hashCode) + + (metadataExtraction.hashCode) + + (objectTagging.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 toJson() { final json = {}; - json[r'thumbnailGeneration'] = this.thumbnailGeneration; - 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'clipEncoding'] = this.clipEncoding; + json[r'metadataExtraction'] = this.metadataExtraction; + json[r'objectTagging'] = this.objectTagging; 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(); return AllJobStatusResponseDto( - thumbnailGeneration: JobStatusDto.fromJson(json[r'thumbnailGeneration'])!, - 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'])!, + clipEncoding: JobStatusDto.fromJson(json[r'clipEncoding'])!, + metadataExtraction: JobStatusDto.fromJson(json[r'metadataExtraction'])!, + objectTagging: JobStatusDto.fromJson(json[r'objectTagging'])!, 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 = { - 'thumbnailGeneration', - 'metadataExtraction', - 'videoConversion', - 'objectTagging', - 'clipEncoding', - 'storageTemplateMigration', 'backgroundTask', - 'search', + 'clipEncoding', + 'metadataExtraction', + 'objectTagging', '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 69f7ad6ec..dae46f9b9 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 toJson() { final json = {}; - 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(); return APIKeyCreateResponseDto( - secret: mapValueOfType(json, r'secret')!, apiKey: APIKeyResponseDto.fromJson(json[r'apiKey'])!, + secret: mapValueOfType(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 = { - '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 5aa143414..a680b3215 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 toJson() { final json = {}; + 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(); return APIKeyResponseDto( + createdAt: mapDateTime(json, r'createdAt', r'')!, id: mapValueOfType(json, r'id')!, name: mapValueOfType(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 = { + '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 4cc868981..304944122 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 toJson() { final json = {}; - 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(); return AssetBulkUploadCheckItem( - id: mapValueOfType(json, r'id')!, checksum: mapValueOfType(json, r'checksum')!, + id: mapValueOfType(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 = { - '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 3ca23ea4d..4c9bde6db 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 toJson() { final json = {}; - 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(); return AssetBulkUploadCheckResult( - id: mapValueOfType(json, r'id')!, action: AssetBulkUploadCheckResultActionEnum.fromJson(json[r'action'])!, - reason: AssetBulkUploadCheckResultReasonEnum.fromJson(json[r'reason']), assetId: mapValueOfType(json, r'assetId'), + id: mapValueOfType(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 = { - '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 0790d714a..7dba56d82 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 toJson() { final json = {}; - 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(); return AssetCountByTimeBucket( - timeBucket: mapValueOfType(json, r'timeBucket')!, count: mapValueOfType(json, r'count')!, + timeBucket: mapValueOfType(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 = { - '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 49eb399a6..0375649b7 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 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 toJson() { final json = {}; - 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(); return AssetCountByTimeBucketResponseDto( - totalCount: mapValueOfType(json, r'totalCount')!, buckets: AssetCountByTimeBucket.listFromJson(json[r'buckets']), + totalCount: mapValueOfType(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 = { - '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 7dd7ee0e2..ce43f8c15 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 toJson() { final json = {}; - 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(); return AssetFileUploadResponseDto( - id: mapValueOfType(json, r'id')!, duplicate: mapValueOfType(json, r'duplicate')!, + id: mapValueOfType(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 = { - '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 e3829a042..958c1bb9b 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 toJson() { final json = {}; 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(json, r'assetId')!, - success: mapValueOfType(json, r'success')!, error: AssetIdsResponseDtoErrorEnum.fromJson(json[r'error']), + success: mapValueOfType(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 e979e4fc3..16895ea56 100644 --- a/mobile/openapi/lib/model/asset_response_dto.dart +++ b/mobile/openapi/lib/model/asset_response_dto.dart @@ -13,58 +13,36 @@ 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.fileCreatedAt, - required this.fileModifiedAt, - required this.updatedAt, - required this.isFavorite, - required this.isArchived, required this.duration, this.exifInfo, - this.smartInfo, + required this.fileCreatedAt, + required this.fileModifiedAt, + required this.id, + required this.isArchived, + 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; - - /// base64 encoded thumbhash - String? thumbhash; - - DateTime fileCreatedAt; - - DateTime fileModifiedAt; - - DateTime updatedAt; - - bool isFavorite; - - bool isArchived; - String duration; /// @@ -75,6 +53,28 @@ class AssetResponseDto { /// ExifResponseDto? exifInfo; + DateTime fileCreatedAt; + + DateTime fileModifiedAt; + + String id; + + bool isArchived; + + bool isFavorite; + + String? livePhotoVideoId; + + String originalFileName; + + String originalPath; + + String ownerId; + + List people; + + bool resized; + /// /// 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 @@ -83,106 +83,106 @@ class AssetResponseDto { /// SmartInfoResponseDto? smartInfo; - String? livePhotoVideoId; - List tags; - List 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.fileCreatedAt == fileCreatedAt && - other.fileModifiedAt == fileModifiedAt && - other.updatedAt == updatedAt && - other.isFavorite == isFavorite && - other.isArchived == isArchived && other.duration == duration && other.exifInfo == exifInfo && - other.smartInfo == smartInfo && + other.fileCreatedAt == fileCreatedAt && + other.fileModifiedAt == fileModifiedAt && + other.id == id && + other.isArchived == isArchived && + 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) + - (fileCreatedAt.hashCode) + - (fileModifiedAt.hashCode) + - (updatedAt.hashCode) + - (isFavorite.hashCode) + - (isArchived.hashCode) + (duration.hashCode) + (exifInfo == null ? 0 : exifInfo!.hashCode) + - (smartInfo == null ? 0 : smartInfo!.hashCode) + + (fileCreatedAt.hashCode) + + (fileModifiedAt.hashCode) + + (id.hashCode) + + (isArchived.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 toJson() { final json = {}; - 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; - } else { - // json[r'thumbhash'] = 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'isArchived'] = this.isArchived; json[r'duration'] = this.duration; if (this.exifInfo != null) { json[r'exifInfo'] = this.exifInfo; } else { // json[r'exifInfo'] = null; } - if (this.smartInfo != null) { - json[r'smartInfo'] = this.smartInfo; - } else { - // json[r'smartInfo'] = null; - } + json[r'fileCreatedAt'] = this.fileCreatedAt.toUtc().toIso8601String(); + json[r'fileModifiedAt'] = this.fileModifiedAt.toUtc().toIso8601String(); + json[r'id'] = this.id; + json[r'isArchived'] = this.isArchived; + json[r'isFavorite'] = this.isFavorite; if (this.livePhotoVideoId != null) { json[r'livePhotoVideoId'] = this.livePhotoVideoId; } else { // json[r'livePhotoVideoId'] = null; } - json[r'tags'] = this.tags; + json[r'originalFileName'] = this.originalFileName; + json[r'originalPath'] = this.originalPath; + json[r'ownerId'] = this.ownerId; json[r'people'] = this.people; - json[r'checksum'] = this.checksum; + json[r'resized'] = this.resized; + if (this.smartInfo != null) { + json[r'smartInfo'] = this.smartInfo; + } else { + // json[r'smartInfo'] = null; + } + json[r'tags'] = this.tags; + if (this.thumbhash != null) { + json[r'thumbhash'] = this.thumbhash; + } else { + // json[r'thumbhash'] = null; + } + json[r'type'] = this.type; + json[r'updatedAt'] = this.updatedAt.toUtc().toIso8601String(); return json; } @@ -194,27 +194,27 @@ class AssetResponseDto { final json = value.cast(); return AssetResponseDto( - type: AssetTypeEnum.fromJson(json[r'type'])!, - id: mapValueOfType(json, r'id')!, + checksum: mapValueOfType(json, r'checksum')!, deviceAssetId: mapValueOfType(json, r'deviceAssetId')!, - ownerId: mapValueOfType(json, r'ownerId')!, deviceId: mapValueOfType(json, r'deviceId')!, - originalPath: mapValueOfType(json, r'originalPath')!, - originalFileName: mapValueOfType(json, r'originalFileName')!, - resized: mapValueOfType(json, r'resized')!, - thumbhash: mapValueOfType(json, r'thumbhash'), - fileCreatedAt: mapDateTime(json, r'fileCreatedAt', r'')!, - fileModifiedAt: mapDateTime(json, r'fileModifiedAt', r'')!, - updatedAt: mapDateTime(json, r'updatedAt', r'')!, - isFavorite: mapValueOfType(json, r'isFavorite')!, - isArchived: mapValueOfType(json, r'isArchived')!, duration: mapValueOfType(json, r'duration')!, exifInfo: ExifResponseDto.fromJson(json[r'exifInfo']), - smartInfo: SmartInfoResponseDto.fromJson(json[r'smartInfo']), + fileCreatedAt: mapDateTime(json, r'fileCreatedAt', r'')!, + fileModifiedAt: mapDateTime(json, r'fileModifiedAt', r'')!, + id: mapValueOfType(json, r'id')!, + isArchived: mapValueOfType(json, r'isArchived')!, + isFavorite: mapValueOfType(json, r'isFavorite')!, livePhotoVideoId: mapValueOfType(json, r'livePhotoVideoId'), - tags: TagResponseDto.listFromJson(json[r'tags']), + originalFileName: mapValueOfType(json, r'originalFileName')!, + originalPath: mapValueOfType(json, r'originalPath')!, + ownerId: mapValueOfType(json, r'ownerId')!, people: PersonResponseDto.listFromJson(json[r'people']), - checksum: mapValueOfType(json, r'checksum')!, + resized: mapValueOfType(json, r'resized')!, + smartInfo: SmartInfoResponseDto.fromJson(json[r'smartInfo']), + tags: TagResponseDto.listFromJson(json[r'tags']), + thumbhash: mapValueOfType(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 = { - 'type', - 'id', + 'checksum', 'deviceAssetId', - 'ownerId', 'deviceId', - 'originalPath', - 'originalFileName', - 'resized', - 'thumbhash', + 'duration', 'fileCreatedAt', 'fileModifiedAt', - 'updatedAt', - 'isFavorite', + 'id', 'isArchived', - 'duration', - 'checksum', + 'isFavorite', + 'originalFileName', + 'originalPath', + 'ownerId', + 'resized', + 'thumbhash', + 'type', + 'updatedAt', }; } diff --git a/mobile/openapi/lib/model/asset_stats_response_dto.dart b/mobile/openapi/lib/model/asset_stats_response_dto.dart index 1221712d8..d91091774 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 toJson() { final json = {}; 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(json, r'images')!, - videos: mapValueOfType(json, r'videos')!, total: mapValueOfType(json, r'total')!, + videos: mapValueOfType(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 = { '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 eace07a35..655193f49 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 deviceType; - String deviceOS; + String deviceType; + + 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 toJson() { final json = {}; - 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(); return AuthDeviceResponseDto( - id: mapValueOfType(json, r'id')!, createdAt: mapValueOfType(json, r'createdAt')!, - updatedAt: mapValueOfType(json, r'updatedAt')!, current: mapValueOfType(json, r'current')!, - deviceType: mapValueOfType(json, r'deviceType')!, deviceOS: mapValueOfType(json, r'deviceOS')!, + deviceType: mapValueOfType(json, r'deviceType')!, + id: mapValueOfType(json, r'id')!, + updatedAt: mapValueOfType(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 = { - '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 18fb45108..2d2337358 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 toJson() { final json = {}; - 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(); return BulkIdResponseDto( + error: BulkIdResponseDtoErrorEnum.fromJson(json[r'error']), id: mapValueOfType(json, r'id')!, success: mapValueOfType(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 21547a245..5147c922a 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 toJson() { final json = {}; - 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(); return ChangePasswordDto( - password: mapValueOfType(json, r'password')!, newPassword: mapValueOfType(json, r'newPassword')!, + password: mapValueOfType(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 = { - '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 d8b29ff51..f16ba2e9e 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 toJson() { final json = {}; - 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(); return CheckDuplicateAssetResponseDto( - isExist: mapValueOfType(json, r'isExist')!, id: mapValueOfType(json, r'id'), + isExist: mapValueOfType(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 32e107371..d25a59c13 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 sharedWithUserIds; - List assetIds; + List 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 toJson() { final json = {}; 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(json, r'albumName')!, - sharedWithUserIds: json[r'sharedWithUserIds'] is Iterable - ? (json[r'sharedWithUserIds'] as Iterable).cast().toList(growable: false) - : const [], assetIds: json[r'assetIds'] is Iterable ? (json[r'assetIds'] as Iterable).cast().toList(growable: false) : const [], + sharedWithUserIds: json[r'sharedWithUserIds'] is Iterable + ? (json[r'sharedWithUserIds'] as Iterable).cast().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 f86da6385..d5de75015 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 toJson() { final json = {}; - 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(); return CreateProfileImageResponseDto( - userId: mapValueOfType(json, r'userId')!, profileImagePath: mapValueOfType(json, r'profileImagePath')!, + userId: mapValueOfType(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 = { - 'userId', 'profileImagePath', + 'userId', }; } diff --git a/mobile/openapi/lib/model/create_tag_dto.dart b/mobile/openapi/lib/model/create_tag_dto.dart index 461c94ab1..6e9ec685f 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 toJson() { final json = {}; - 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(); return CreateTagDto( - type: TagTypeEnum.fromJson(json[r'type'])!, name: mapValueOfType(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 = { - 'type', 'name', + 'type', }; } diff --git a/mobile/openapi/lib/model/create_user_dto.dart b/mobile/openapi/lib/model/create_user_dto.dart index b5197aa70..0535d9406 100644 --- a/mobile/openapi/lib/model/create_user_dto.dart +++ b/mobile/openapi/lib/model/create_user_dto.dart @@ -14,62 +14,62 @@ 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 toJson() { final json = {}; json[r'email'] = this.email; - json[r'password'] = this.password; - json[r'firstName'] = this.firstName; - json[r'lastName'] = this.lastName; - 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; + } + 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; } return json; } @@ -83,11 +83,11 @@ class CreateUserDto { return CreateUserDto( email: mapValueOfType(json, r'email')!, - password: mapValueOfType(json, r'password')!, + externalPath: mapValueOfType(json, r'externalPath'), firstName: mapValueOfType(json, r'firstName')!, lastName: mapValueOfType(json, r'lastName')!, + password: mapValueOfType(json, r'password')!, storageLabel: mapValueOfType(json, r'storageLabel'), - externalPath: mapValueOfType(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 = { '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 5bedb9362..9aac5cc72 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 toJson() { final json = {}; - 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(); return CuratedLocationsResponseDto( - id: mapValueOfType(json, r'id')!, city: mapValueOfType(json, r'city')!, - resizePath: mapValueOfType(json, r'resizePath')!, deviceAssetId: mapValueOfType(json, r'deviceAssetId')!, deviceId: mapValueOfType(json, r'deviceId')!, + id: mapValueOfType(json, r'id')!, + resizePath: mapValueOfType(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 = { - '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 76ea315ce..8b2cc9949 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 toJson() { final json = {}; + 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(); return CuratedObjectsResponseDto( + deviceAssetId: mapValueOfType(json, r'deviceAssetId')!, + deviceId: mapValueOfType(json, r'deviceId')!, id: mapValueOfType(json, r'id')!, object: mapValueOfType(json, r'object')!, resizePath: mapValueOfType(json, r'resizePath')!, - deviceAssetId: mapValueOfType(json, r'deviceAssetId')!, - deviceId: mapValueOfType(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 = { + '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 7a33b5b5f..6e435adcb 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 toJson() { final json = {}; - 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(); return DeleteAssetResponseDto( - status: DeleteAssetStatus.fromJson(json[r'status'])!, id: mapValueOfType(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 = { - 'status', 'id', + 'status', }; } diff --git a/mobile/openapi/lib/model/download_archive_info.dart b/mobile/openapi/lib/model/download_archive_info.dart index ff370f423..d495df0ce 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 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 toJson() { final json = {}; - 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(); return DownloadArchiveInfo( - size: mapValueOfType(json, r'size')!, assetIds: json[r'assetIds'] is Iterable ? (json[r'assetIds'] as Iterable).cast().toList(growable: false) : const [], + size: mapValueOfType(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 = { - 'size', 'assetIds', + 'size', }; } diff --git a/mobile/openapi/lib/model/download_response_dto.dart b/mobile/openapi/lib/model/download_response_dto.dart index 89269c71a..352fd5edf 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 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 toJson() { final json = {}; - 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(); return DownloadResponseDto( - totalSize: mapValueOfType(json, r'totalSize')!, archives: DownloadArchiveInfo.listFromJson(json[r'archives']), + totalSize: mapValueOfType(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 = { - 'totalSize', 'archives', + 'totalSize', }; } diff --git a/mobile/openapi/lib/model/exif_response_dto.dart b/mobile/openapi/lib/model/exif_response_dto.dart index 330c254e5..c871a3f89 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? model; - - num? exifImageWidth; - - num? exifImageHeight; - - String? orientation; + String? country; DateTime? dateTimeOriginal; - DateTime? modifyDate; + String? description; - String? timeZone; + num? exifImageHeight; - String? lensModel; + num? exifImageWidth; + + 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 toJson() { final json = {}; - 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; - } - if (this.model != null) { - json[r'model'] = this.model; - } else { - // json[r'model'] = null; - } - if (this.exifImageWidth != null) { - json[r'exifImageWidth'] = this.exifImageWidth; - } else { - // json[r'exifImageWidth'] = 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; + // json[r'country'] = 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(); + if (this.description != null) { + json[r'description'] = this.description; } else { - // json[r'modifyDate'] = null; + // json[r'description'] = null; } - if (this.timeZone != null) { - json[r'timeZone'] = this.timeZone; + if (this.exifImageHeight != null) { + json[r'exifImageHeight'] = this.exifImageHeight; } else { - // json[r'timeZone'] = null; + // json[r'exifImageHeight'] = null; } - if (this.lensModel != null) { - json[r'lensModel'] = this.lensModel; + if (this.exifImageWidth != null) { + json[r'exifImageWidth'] = this.exifImageWidth; } else { - // json[r'lensModel'] = null; + // json[r'exifImageWidth'] = null; + } + if (this.exposureTime != null) { + json[r'exposureTime'] = this.exposureTime; + } else { + // 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,45 +187,55 @@ 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.model != null) { + json[r'model'] = this.model; + } else { + // json[r'model'] = null; + } + if (this.modifyDate != null) { + json[r'modifyDate'] = this.modifyDate!.toUtc().toIso8601String(); + } else { + // json[r'modifyDate'] = null; + } + if (this.orientation != null) { + json[r'orientation'] = this.orientation; + } else { + // 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.country != null) { - json[r'country'] = this.country; + if (this.timeZone != null) { + json[r'timeZone'] = this.timeZone; } else { - // json[r'country'] = null; - } - if (this.description != null) { - json[r'description'] = this.description; - } else { - // json[r'description'] = null; - } - if (this.projectionType != null) { - json[r'projectionType'] = this.projectionType; - } else { - // json[r'projectionType'] = null; + // json[r'timeZone'] = null; } return json; } @@ -248,41 +248,41 @@ class ExifResponseDto { final json = value.cast(); return ExifResponseDto( - fileSizeInByte: mapValueOfType(json, r'fileSizeInByte'), - make: mapValueOfType(json, r'make'), - model: mapValueOfType(json, r'model'), - exifImageWidth: json[r'exifImageWidth'] == null - ? null - : num.parse('${json[r'exifImageWidth']}'), + city: mapValueOfType(json, r'city'), + country: mapValueOfType(json, r'country'), + dateTimeOriginal: mapDateTime(json, r'dateTimeOriginal', r''), + description: mapValueOfType(json, r'description'), exifImageHeight: json[r'exifImageHeight'] == null ? null : num.parse('${json[r'exifImageHeight']}'), - orientation: mapValueOfType(json, r'orientation'), - dateTimeOriginal: mapDateTime(json, r'dateTimeOriginal', r''), - modifyDate: mapDateTime(json, r'modifyDate', r''), - timeZone: mapValueOfType(json, r'timeZone'), - lensModel: mapValueOfType(json, r'lensModel'), + exifImageWidth: json[r'exifImageWidth'] == null + ? null + : num.parse('${json[r'exifImageWidth']}'), + exposureTime: mapValueOfType(json, r'exposureTime'), fNumber: json[r'fNumber'] == null ? null : num.parse('${json[r'fNumber']}'), + fileSizeInByte: mapValueOfType(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(json, r'exposureTime'), latitude: json[r'latitude'] == null ? null : num.parse('${json[r'latitude']}'), + lensModel: mapValueOfType(json, r'lensModel'), longitude: json[r'longitude'] == null ? null : num.parse('${json[r'longitude']}'), - city: mapValueOfType(json, r'city'), - state: mapValueOfType(json, r'state'), - country: mapValueOfType(json, r'country'), - description: mapValueOfType(json, r'description'), + make: mapValueOfType(json, r'make'), + model: mapValueOfType(json, r'model'), + modifyDate: mapDateTime(json, r'modifyDate', r''), + orientation: mapValueOfType(json, r'orientation'), projectionType: mapValueOfType(json, r'projectionType'), + state: mapValueOfType(json, r'state'), + timeZone: mapValueOfType(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 1ebaeee75..2cbc7c7e1 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 toJson() { final json = {}; - 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(); return ImportAssetDto( - isReadOnly: mapValueOfType(json, r'isReadOnly') ?? true, assetPath: mapValueOfType(json, r'assetPath')!, - sidecarPath: mapValueOfType(json, r'sidecarPath'), deviceAssetId: mapValueOfType(json, r'deviceAssetId')!, deviceId: mapValueOfType(json, r'deviceId')!, + duration: mapValueOfType(json, r'duration'), fileCreatedAt: mapDateTime(json, r'fileCreatedAt', r'')!, fileModifiedAt: mapDateTime(json, r'fileModifiedAt', r'')!, - isFavorite: mapValueOfType(json, r'isFavorite')!, isArchived: mapValueOfType(json, r'isArchived'), + isFavorite: mapValueOfType(json, r'isFavorite')!, + isReadOnly: mapValueOfType(json, r'isReadOnly') ?? true, isVisible: mapValueOfType(json, r'isVisible'), - duration: mapValueOfType(json, r'duration'), + sidecarPath: mapValueOfType(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 5006279ce..077e5a214 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 toJson() { final json = {}; 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(json, r'active')!, completed: mapValueOfType(json, r'completed')!, - failed: mapValueOfType(json, r'failed')!, delayed: mapValueOfType(json, r'delayed')!, - waiting: mapValueOfType(json, r'waiting')!, + failed: mapValueOfType(json, r'failed')!, paused: mapValueOfType(json, r'paused')!, + waiting: mapValueOfType(json, r'waiting')!, ); } return null; @@ -129,10 +129,10 @@ class JobCountsDto { static const requiredKeys = { '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 01a3338c3..94da05a50 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 toJson() { final json = {}; 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(json, r'accessToken')!, - userId: mapValueOfType(json, r'userId')!, - userEmail: mapValueOfType(json, r'userEmail')!, firstName: mapValueOfType(json, r'firstName')!, + isAdmin: mapValueOfType(json, r'isAdmin')!, lastName: mapValueOfType(json, r'lastName')!, profileImagePath: mapValueOfType(json, r'profileImagePath')!, - isAdmin: mapValueOfType(json, r'isAdmin')!, shouldChangePassword: mapValueOfType(json, r'shouldChangePassword')!, + userEmail: mapValueOfType(json, r'userEmail')!, + userId: mapValueOfType(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 = { '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 f8f77ba0a..bcb6681d5 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 toJson() { final json = {}; - 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(); return LogoutResponseDto( - successful: mapValueOfType(json, r'successful')!, redirectUri: mapValueOfType(json, r'redirectUri')!, + successful: mapValueOfType(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 = { - '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 fc33e4210..1f816da86 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 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 toJson() { final json = {}; - 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(); return MemoryLaneResponseDto( - title: mapValueOfType(json, r'title')!, assets: AssetResponseDto.listFromJson(json[r'assets']), + title: mapValueOfType(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 = { - '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 872455fb4..4b6846af2 100644 --- a/mobile/openapi/lib/model/o_auth_config_response_dto.dart +++ b/mobile/openapi/lib/model/o_auth_config_response_dto.dart @@ -13,13 +13,29 @@ 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, }); + /// + /// 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; + + /// + /// 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? buttonText; + bool enabled; bool passwordLoginEnabled; @@ -32,60 +48,44 @@ class OAuthConfigResponseDto { /// String? url; - /// - /// 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? buttonText; - - /// - /// 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; - @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 toJson() { final json = {}; - 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(); return OAuthConfigResponseDto( + autoLaunch: mapValueOfType(json, r'autoLaunch'), + buttonText: mapValueOfType(json, r'buttonText'), enabled: mapValueOfType(json, r'enabled')!, passwordLoginEnabled: mapValueOfType(json, r'passwordLoginEnabled')!, url: mapValueOfType(json, r'url'), - buttonText: mapValueOfType(json, r'buttonText'), - autoLaunch: mapValueOfType(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 9470a827e..a1e383216 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 people; + num total; num visible; - List 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 toJson() { final json = {}; + 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(); 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 = { + '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 16130b403..3a35c8a58 100644 --- a/mobile/openapi/lib/model/people_update_item.dart +++ b/mobile/openapi/lib/model/people_update_item.dart @@ -13,24 +13,12 @@ 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. - /// - /// 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; - /// Asset is used to get the feature face thumbnail. /// /// Please note: This property should have been non-nullable! Since the specification file @@ -40,6 +28,9 @@ class PeopleUpdateItem { /// String? featureFaceAssetId; + /// Person id. + String id; + /// Person visibility /// /// Please note: This property should have been non-nullable! Since the specification file @@ -49,42 +40,51 @@ class PeopleUpdateItem { /// bool? isHidden; + /// 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. + /// + 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 toJson() { final json = {}; - 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(); return PeopleUpdateItem( - id: mapValueOfType(json, r'id')!, - name: mapValueOfType(json, r'name'), featureFaceAssetId: mapValueOfType(json, r'featureFaceAssetId'), + id: mapValueOfType(json, r'id')!, isHidden: mapValueOfType(json, r'isHidden'), + name: mapValueOfType(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 909901f8a..21120f23b 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 toJson() { final json = {}; 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(json, r'id')!, + isHidden: mapValueOfType(json, r'isHidden')!, name: mapValueOfType(json, r'name')!, thumbnailPath: mapValueOfType(json, r'thumbnailPath')!, - isHidden: mapValueOfType(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 = { '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 4b1b9967e..baa985b1c 100644 --- a/mobile/openapi/lib/model/person_update_dto.dart +++ b/mobile/openapi/lib/model/person_update_dto.dart @@ -13,20 +13,11 @@ part of openapi.api; class PersonUpdateDto { /// Returns a new [PersonUpdateDto] instance. PersonUpdateDto({ - this.name, this.featureFaceAssetId, this.isHidden, + this.name, }); - /// 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. - /// - String? name; - /// Asset is used to get the feature face thumbnail. /// /// Please note: This property should have been non-nullable! Since the specification file @@ -45,29 +36,33 @@ class PersonUpdateDto { /// bool? isHidden; + /// 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. + /// + 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 toJson() { final json = {}; - 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(); return PersonUpdateDto( - name: mapValueOfType(json, r'name'), featureFaceAssetId: mapValueOfType(json, r'featureFaceAssetId'), isHidden: mapValueOfType(json, r'isHidden'), + name: mapValueOfType(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 d15513963..6ca6d2103 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 facets; + List items; - List 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 toJson() { final json = {}; - 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(); return SearchAlbumResponseDto( - total: mapValueOfType(json, r'total')!, count: mapValueOfType(json, r'count')!, - items: AlbumResponseDto.listFromJson(json[r'items']), facets: SearchFacetResponseDto.listFromJson(json[r'facets']), + items: AlbumResponseDto.listFromJson(json[r'items']), + total: mapValueOfType(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 = { - '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 866dbbdcd..8253ad0b1 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 facets; + List items; - List 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 toJson() { final json = {}; - 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(); return SearchAssetResponseDto( - total: mapValueOfType(json, r'total')!, count: mapValueOfType(json, r'count')!, - items: AssetResponseDto.listFromJson(json[r'items']), facets: SearchFacetResponseDto.listFromJson(json[r'facets']), + items: AssetResponseDto.listFromJson(json[r'items']), + total: mapValueOfType(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 = { - '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 6dd35b956..ddc8f5282 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 toJson() { final json = {}; - 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(); return SearchExploreItem( - value: mapValueOfType(json, r'value')!, data: AssetResponseDto.fromJson(json[r'data'])!, + value: mapValueOfType(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 = { - '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 aadbecb39..a675dd881 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 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 toJson() { final json = {}; - 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(); return SearchFacetResponseDto( - fieldName: mapValueOfType(json, r'fieldName')!, counts: SearchFacetCountResponseDto.listFromJson(json[r'counts']), + fieldName: mapValueOfType(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 = { - '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 fa643d122..d5b90bcd6 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.diskAvailableRaw, - required this.diskUsagePercentage, - required this.diskSize, - required this.diskUse, required this.diskAvailable, + required this.diskAvailableRaw, + required this.diskSize, + required this.diskSizeRaw, + required this.diskUsagePercentage, + required this.diskUse, + required this.diskUseRaw, }); - int diskSizeRaw; - - int diskUseRaw; - - int diskAvailableRaw; - - double diskUsagePercentage; - - String diskSize; - - String diskUse; - String diskAvailable; + int diskAvailableRaw; + + String diskSize; + + int diskSizeRaw; + + double diskUsagePercentage; + + String diskUse; + + 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 toJson() { final json = {}; - json[r'diskSizeRaw'] = this.diskSizeRaw; - json[r'diskUseRaw'] = this.diskUseRaw; - json[r'diskAvailableRaw'] = this.diskAvailableRaw; - json[r'diskUsagePercentage'] = this.diskUsagePercentage; - json[r'diskSize'] = this.diskSize; - json[r'diskUse'] = this.diskUse; json[r'diskAvailable'] = this.diskAvailable; + json[r'diskAvailableRaw'] = this.diskAvailableRaw; + json[r'diskSize'] = this.diskSize; + json[r'diskSizeRaw'] = this.diskSizeRaw; + json[r'diskUsagePercentage'] = this.diskUsagePercentage; + json[r'diskUse'] = this.diskUse; + json[r'diskUseRaw'] = this.diskUseRaw; return json; } @@ -80,13 +80,13 @@ class ServerInfoResponseDto { final json = value.cast(); return ServerInfoResponseDto( - diskSizeRaw: mapValueOfType(json, r'diskSizeRaw')!, - diskUseRaw: mapValueOfType(json, r'diskUseRaw')!, - diskAvailableRaw: mapValueOfType(json, r'diskAvailableRaw')!, - diskUsagePercentage: mapValueOfType(json, r'diskUsagePercentage')!, - diskSize: mapValueOfType(json, r'diskSize')!, - diskUse: mapValueOfType(json, r'diskUse')!, diskAvailable: mapValueOfType(json, r'diskAvailable')!, + diskAvailableRaw: mapValueOfType(json, r'diskAvailableRaw')!, + diskSize: mapValueOfType(json, r'diskSize')!, + diskSizeRaw: mapValueOfType(json, r'diskSizeRaw')!, + diskUsagePercentage: mapValueOfType(json, r'diskUsagePercentage')!, + diskUse: mapValueOfType(json, r'diskUse')!, + diskUseRaw: mapValueOfType(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 = { - 'diskSizeRaw', - 'diskUseRaw', - 'diskAvailableRaw', - 'diskUsagePercentage', - 'diskSize', - 'diskUse', 'diskAvailable', + 'diskAvailableRaw', + 'diskSize', + 'diskSizeRaw', + 'diskUsagePercentage', + 'diskUse', + '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 2cba41363..c5961eb63 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 video; - List image; List sidecar; + List 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 toJson() { final json = {}; - 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(); return ServerMediaTypesResponseDto( - video: json[r'video'] is Iterable - ? (json[r'video'] as Iterable).cast().toList(growable: false) - : const [], image: json[r'image'] is Iterable ? (json[r'image'] as Iterable).cast().toList(growable: false) : const [], sidecar: json[r'sidecar'] is Iterable ? (json[r'sidecar'] as Iterable).cast().toList(growable: false) : const [], + video: json[r'video'] is Iterable + ? (json[r'video'] as Iterable).cast().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 = { - '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 3e5415292..37db37a3e 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 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 toJson() { final json = {}; 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(json, r'photos')!, - videos: mapValueOfType(json, r'videos')!, usage: mapValueOfType(json, r'usage')!, usageByUser: UsageByUserDto.listFromJson(json[r'usageByUser']), + videos: mapValueOfType(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 = { '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 8c699424d..6bfb78315 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 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 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 toJson() { final json = {}; - 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(); return SharedLinkCreateDto( - type: SharedLinkType.fromJson(json[r'type'])!, + albumId: mapValueOfType(json, r'albumId'), + allowDownload: mapValueOfType(json, r'allowDownload') ?? true, + allowUpload: mapValueOfType(json, r'allowUpload') ?? false, assetIds: json[r'assetIds'] is Iterable ? (json[r'assetIds'] as Iterable).cast().toList(growable: false) : const [], - albumId: mapValueOfType(json, r'albumId'), description: mapValueOfType(json, r'description'), expiresAt: mapDateTime(json, r'expiresAt', r''), - allowUpload: mapValueOfType(json, r'allowUpload') ?? false, - allowDownload: mapValueOfType(json, r'allowDownload') ?? true, showExif: mapValueOfType(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 d5693058c..579eaf3e7 100644 --- a/mobile/openapi/lib/model/shared_link_edit_dto.dart +++ b/mobile/openapi/lib/model/shared_link_edit_dto.dart @@ -13,13 +13,29 @@ 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, }); + /// + /// 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? allowDownload; + + /// + /// 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? allowUpload; + /// /// 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,22 +46,6 @@ class SharedLinkEditDto { DateTime? expiresAt; - /// - /// 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? allowUpload; - - /// - /// 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? allowDownload; - /// /// 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,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 toJson() { final json = {}; + 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(); return SharedLinkEditDto( + allowDownload: mapValueOfType(json, r'allowDownload'), + allowUpload: mapValueOfType(json, r'allowUpload'), description: mapValueOfType(json, r'description'), expiresAt: mapDateTime(json, r'expiresAt', r''), - allowUpload: mapValueOfType(json, r'allowUpload'), - allowDownload: mapValueOfType(json, r'allowDownload'), showExif: mapValueOfType(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 9e40fd29a..78feacfd1 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 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 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 toJson() { final json = {}; - json[r'type'] = this.type; - json[r'id'] = this.id; - 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'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; + } + if (this.expiresAt != null) { + json[r'expiresAt'] = this.expiresAt!.toUtc().toIso8601String(); + } else { + // json[r'expiresAt'] = null; + } + 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(); return SharedLinkResponseDto( - type: SharedLinkType.fromJson(json[r'type'])!, - id: mapValueOfType(json, r'id')!, - description: mapValueOfType(json, r'description'), - userId: mapValueOfType(json, r'userId')!, - key: mapValueOfType(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(json, r'allowUpload')!, allowDownload: mapValueOfType(json, r'allowDownload')!, + allowUpload: mapValueOfType(json, r'allowUpload')!, + assets: AssetResponseDto.listFromJson(json[r'assets']), + createdAt: mapDateTime(json, r'createdAt', r'')!, + description: mapValueOfType(json, r'description'), + expiresAt: mapDateTime(json, r'expiresAt', r''), + id: mapValueOfType(json, r'id')!, + key: mapValueOfType(json, r'key')!, showExif: mapValueOfType(json, r'showExif')!, + type: SharedLinkType.fromJson(json[r'type'])!, + userId: mapValueOfType(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 = { - 'type', - 'id', - 'description', - 'userId', - 'key', - 'createdAt', - 'expiresAt', - 'assets', - 'allowUpload', 'allowDownload', + 'allowUpload', + 'assets', + 'createdAt', + 'description', + 'expiresAt', + '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 c2637b0c0..e6b7f2abf 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 toJson() { final json = {}; 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(json, r'email')!, - password: mapValueOfType(json, r'password')!, firstName: mapValueOfType(json, r'firstName')!, lastName: mapValueOfType(json, r'lastName')!, + password: mapValueOfType(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 = { '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 6af7cf9cf..b10345f3d 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? tags; - List? objects; + List? 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 toJson() { final json = {}; - 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(); return SmartInfoResponseDto( - tags: json[r'tags'] is Iterable - ? (json[r'tags'] as Iterable).cast().toList(growable: false) - : const [], objects: json[r'objects'] is Iterable ? (json[r'objects'] as Iterable).cast().toList(growable: false) : const [], + tags: json[r'tags'] is Iterable + ? (json[r'tags'] as Iterable).cast().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 4bcbd2634..6bc4e5e2a 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 toJson() { final json = {}; 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 = { '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 7f21d9d6e..003d98ca1 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.preset, - required this.targetResolution, required this.maxBitrate, + required this.preset, + required this.targetAudioCodec, + required this.targetResolution, + required this.targetVideoCodec, + required this.threads, + required this.transcode, required this.twoPass, }); int crf; - int threads; - - VideoCodec targetVideoCodec; - - AudioCodec targetAudioCodec; - - TranscodePolicy transcode; + String maxBitrate; String preset; + AudioCodec targetAudioCodec; + String targetResolution; - String maxBitrate; + VideoCodec targetVideoCodec; + + int threads; + + 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.preset == preset && - other.targetResolution == targetResolution && other.maxBitrate == maxBitrate && + other.preset == preset && + other.targetAudioCodec == targetAudioCodec && + other.targetResolution == targetResolution && + 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) + - (preset.hashCode) + - (targetResolution.hashCode) + (maxBitrate.hashCode) + + (preset.hashCode) + + (targetAudioCodec.hashCode) + + (targetResolution.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 toJson() { final json = {}; 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'preset'] = this.preset; - json[r'targetResolution'] = this.targetResolution; json[r'maxBitrate'] = this.maxBitrate; + json[r'preset'] = this.preset; + json[r'targetAudioCodec'] = this.targetAudioCodec; + json[r'targetResolution'] = this.targetResolution; + 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(json, r'crf')!, - threads: mapValueOfType(json, r'threads')!, - targetVideoCodec: VideoCodec.fromJson(json[r'targetVideoCodec'])!, - targetAudioCodec: AudioCodec.fromJson(json[r'targetAudioCodec'])!, - transcode: TranscodePolicy.fromJson(json[r'transcode'])!, - preset: mapValueOfType(json, r'preset')!, - targetResolution: mapValueOfType(json, r'targetResolution')!, maxBitrate: mapValueOfType(json, r'maxBitrate')!, + preset: mapValueOfType(json, r'preset')!, + targetAudioCodec: AudioCodec.fromJson(json[r'targetAudioCodec'])!, + targetResolution: mapValueOfType(json, r'targetResolution')!, + targetVideoCodec: VideoCodec.fromJson(json[r'targetVideoCodec'])!, + threads: mapValueOfType(json, r'threads')!, + transcode: TranscodePolicy.fromJson(json[r'transcode'])!, twoPass: mapValueOfType(json, r'twoPass')!, ); } @@ -149,13 +149,13 @@ class SystemConfigFFmpegDto { /// The list of required keys that must be present in a JSON. static const requiredKeys = { 'crf', - 'threads', - 'targetVideoCodec', - 'targetAudioCodec', - 'transcode', - 'preset', - 'targetResolution', 'maxBitrate', + 'preset', + 'targetAudioCodec', + 'targetResolution', + '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 bc667a3e7..ca3dab9e6 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.metadataExtraction, - required this.videoConversion, - required this.objectTagging, - required this.clipEncoding, - required this.storageTemplateMigration, required this.backgroundTask, - required this.search, + required this.clipEncoding, + required this.metadataExtraction, + required this.objectTagging, required this.recognizeFaces, + required this.search, required this.sidecar, + required this.storageTemplateMigration, + required this.thumbnailGeneration, + required this.videoConversion, }); - JobSettingsDto thumbnailGeneration; - - JobSettingsDto metadataExtraction; - - JobSettingsDto videoConversion; - - JobSettingsDto objectTagging; - - JobSettingsDto clipEncoding; - - JobSettingsDto storageTemplateMigration; - JobSettingsDto backgroundTask; - JobSettingsDto search; + JobSettingsDto clipEncoding; + + JobSettingsDto metadataExtraction; + + JobSettingsDto objectTagging; JobSettingsDto recognizeFaces; + JobSettingsDto search; + JobSettingsDto sidecar; + JobSettingsDto storageTemplateMigration; + + JobSettingsDto thumbnailGeneration; + + JobSettingsDto videoConversion; + @override bool operator ==(Object other) => identical(this, other) || other is SystemConfigJobDto && - other.thumbnailGeneration == thumbnailGeneration && - other.metadataExtraction == metadataExtraction && - other.videoConversion == videoConversion && - other.objectTagging == objectTagging && - other.clipEncoding == clipEncoding && - other.storageTemplateMigration == storageTemplateMigration && other.backgroundTask == backgroundTask && - other.search == search && + other.clipEncoding == clipEncoding && + other.metadataExtraction == metadataExtraction && + other.objectTagging == objectTagging && 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) + - (metadataExtraction.hashCode) + - (videoConversion.hashCode) + - (objectTagging.hashCode) + - (clipEncoding.hashCode) + - (storageTemplateMigration.hashCode) + (backgroundTask.hashCode) + - (search.hashCode) + + (clipEncoding.hashCode) + + (metadataExtraction.hashCode) + + (objectTagging.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 toJson() { final json = {}; - json[r'thumbnailGeneration'] = this.thumbnailGeneration; - 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'clipEncoding'] = this.clipEncoding; + json[r'metadataExtraction'] = this.metadataExtraction; + json[r'objectTagging'] = this.objectTagging; 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(); return SystemConfigJobDto( - thumbnailGeneration: JobSettingsDto.fromJson(json[r'thumbnailGeneration'])!, - 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'])!, + clipEncoding: JobSettingsDto.fromJson(json[r'clipEncoding'])!, + metadataExtraction: JobSettingsDto.fromJson(json[r'metadataExtraction'])!, + objectTagging: JobSettingsDto.fromJson(json[r'objectTagging'])!, 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 = { - 'thumbnailGeneration', - 'metadataExtraction', - 'videoConversion', - 'objectTagging', - 'clipEncoding', - 'storageTemplateMigration', 'backgroundTask', - 'search', + 'clipEncoding', + 'metadataExtraction', + 'objectTagging', '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 edfa240ee..bf39f969c 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; + bool enabled; - String storageLabelClaim; - - String buttonText; - - bool autoRegister; - - 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 toJson() { final json = {}; - 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(); return SystemConfigOAuthDto( - enabled: mapValueOfType(json, r'enabled')!, - issuerUrl: mapValueOfType(json, r'issuerUrl')!, + autoLaunch: mapValueOfType(json, r'autoLaunch')!, + autoRegister: mapValueOfType(json, r'autoRegister')!, + buttonText: mapValueOfType(json, r'buttonText')!, clientId: mapValueOfType(json, r'clientId')!, clientSecret: mapValueOfType(json, r'clientSecret')!, - scope: mapValueOfType(json, r'scope')!, - storageLabelClaim: mapValueOfType(json, r'storageLabelClaim')!, - buttonText: mapValueOfType(json, r'buttonText')!, - autoRegister: mapValueOfType(json, r'autoRegister')!, - autoLaunch: mapValueOfType(json, r'autoLaunch')!, + enabled: mapValueOfType(json, r'enabled')!, + issuerUrl: mapValueOfType(json, r'issuerUrl')!, mobileOverrideEnabled: mapValueOfType(json, r'mobileOverrideEnabled')!, mobileRedirectUri: mapValueOfType(json, r'mobileRedirectUri')!, + scope: mapValueOfType(json, r'scope')!, + storageLabelClaim: mapValueOfType(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 = { - '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 81ac59f49..f4a9a73a7 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 yearOptions; - - List monthOptions; - List dayOptions; List hourOptions; List minuteOptions; - List secondOptions; + List monthOptions; List presetOptions; + List secondOptions; + + List 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 toJson() { final json = {}; - 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(); return SystemConfigTemplateStorageOptionDto( - yearOptions: json[r'yearOptions'] is Iterable - ? (json[r'yearOptions'] as Iterable).cast().toList(growable: false) - : const [], - monthOptions: json[r'monthOptions'] is Iterable - ? (json[r'monthOptions'] as Iterable).cast().toList(growable: false) - : const [], dayOptions: json[r'dayOptions'] is Iterable ? (json[r'dayOptions'] as Iterable).cast().toList(growable: false) : const [], @@ -95,12 +89,18 @@ class SystemConfigTemplateStorageOptionDto { minuteOptions: json[r'minuteOptions'] is Iterable ? (json[r'minuteOptions'] as Iterable).cast().toList(growable: false) : const [], - secondOptions: json[r'secondOptions'] is Iterable - ? (json[r'secondOptions'] as Iterable).cast().toList(growable: false) + monthOptions: json[r'monthOptions'] is Iterable + ? (json[r'monthOptions'] as Iterable).cast().toList(growable: false) : const [], presetOptions: json[r'presetOptions'] is Iterable ? (json[r'presetOptions'] as Iterable).cast().toList(growable: false) : const [], + secondOptions: json[r'secondOptions'] is Iterable + ? (json[r'secondOptions'] as Iterable).cast().toList(growable: false) + : const [], + yearOptions: json[r'yearOptions'] is Iterable + ? (json[r'yearOptions'] as Iterable).cast().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 = { - '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 d7eee99a4..621223b8d 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 toJson() { final json = {}; - 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(); return TagResponseDto( - type: TagTypeEnum.fromJson(json[r'type'])!, id: mapValueOfType(json, r'id')!, name: mapValueOfType(json, r'name')!, + type: TagTypeEnum.fromJson(json[r'type'])!, userId: mapValueOfType(json, r'userId')!, ); } @@ -113,9 +113,9 @@ class TagResponseDto { /// The list of required keys that must be present in a JSON. static const requiredKeys = { - '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 6b2916b50..edbe28aed 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 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 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 toJson() { final json = {}; - 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(); return UpdateAssetDto( + description: mapValueOfType(json, r'description'), + isArchived: mapValueOfType(json, r'isArchived'), + isFavorite: mapValueOfType(json, r'isFavorite'), tagIds: json[r'tagIds'] is Iterable ? (json[r'tagIds'] as Iterable).cast().toList(growable: false) : const [], - isFavorite: mapValueOfType(json, r'isFavorite'), - isArchived: mapValueOfType(json, r'isArchived'), - description: mapValueOfType(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 bf655ead3..71f3f16e8 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,29 +48,7 @@ class UpdateUserDto { /// String? firstName; - /// - /// 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; - - /// - /// 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? storageLabel; - - /// - /// 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? externalPath; + String id; /// /// Please note: This property should have been non-nullable! Since the specification file @@ -82,6 +58,22 @@ class UpdateUserDto { /// bool? isAdmin; + /// + /// 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; + + /// + /// 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? password; + /// /// 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 @@ -90,77 +82,85 @@ class UpdateUserDto { /// bool? shouldChangePassword; + /// + /// 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? 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 toJson() { final json = {}; - 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; - } else { - // json[r'password'] = null; - } - if (this.firstName != null) { - json[r'firstName'] = this.firstName; - } else { - // json[r'firstName'] = 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.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.password != null) { + json[r'password'] = this.password; + } else { + // 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(); return UpdateUserDto( - id: mapValueOfType(json, r'id')!, email: mapValueOfType(json, r'email'), - password: mapValueOfType(json, r'password'), - firstName: mapValueOfType(json, r'firstName'), - lastName: mapValueOfType(json, r'lastName'), - storageLabel: mapValueOfType(json, r'storageLabel'), externalPath: mapValueOfType(json, r'externalPath'), + firstName: mapValueOfType(json, r'firstName'), + id: mapValueOfType(json, r'id')!, isAdmin: mapValueOfType(json, r'isAdmin'), + lastName: mapValueOfType(json, r'lastName'), + password: mapValueOfType(json, r'password'), shouldChangePassword: mapValueOfType(json, r'shouldChangePassword'), + storageLabel: mapValueOfType(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 a1def6e1e..052ebaa9f 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.userFirstName, - required this.userLastName, required this.photos, - required this.videos, required this.usage, + required this.userFirstName, + required this.userId, + required this.userLastName, + required this.videos, }); - String userId; - - String userFirstName; - - String userLastName; - int photos; - int videos; - int usage; + String userFirstName; + + String userId; + + String userLastName; + + int videos; + @override bool operator ==(Object other) => identical(this, other) || other is UsageByUserDto && - other.userId == userId && - other.userFirstName == userFirstName && - other.userLastName == userLastName && other.photos == photos && - other.videos == videos && - other.usage == usage; + other.usage == usage && + other.userFirstName == userFirstName && + other.userId == userId && + other.userLastName == userLastName && + other.videos == videos; @override int get hashCode => // ignore: unnecessary_parenthesis - (userId.hashCode) + - (userFirstName.hashCode) + - (userLastName.hashCode) + (photos.hashCode) + - (videos.hashCode) + - (usage.hashCode); + (usage.hashCode) + + (userFirstName.hashCode) + + (userId.hashCode) + + (userLastName.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 toJson() { final json = {}; - json[r'userId'] = this.userId; - json[r'userFirstName'] = this.userFirstName; - json[r'userLastName'] = this.userLastName; json[r'photos'] = this.photos; - json[r'videos'] = this.videos; json[r'usage'] = this.usage; + json[r'userFirstName'] = this.userFirstName; + json[r'userId'] = this.userId; + json[r'userLastName'] = this.userLastName; + json[r'videos'] = this.videos; return json; } @@ -74,12 +74,12 @@ class UsageByUserDto { final json = value.cast(); return UsageByUserDto( - userId: mapValueOfType(json, r'userId')!, - userFirstName: mapValueOfType(json, r'userFirstName')!, - userLastName: mapValueOfType(json, r'userLastName')!, photos: mapValueOfType(json, r'photos')!, - videos: mapValueOfType(json, r'videos')!, usage: mapValueOfType(json, r'usage')!, + userFirstName: mapValueOfType(json, r'userFirstName')!, + userId: mapValueOfType(json, r'userId')!, + userLastName: mapValueOfType(json, r'userLastName')!, + videos: mapValueOfType(json, r'videos')!, ); } return null; @@ -127,12 +127,12 @@ class UsageByUserDto { /// The list of required keys that must be present in a JSON. static const requiredKeys = { - 'userId', - 'userFirstName', - 'userLastName', 'photos', - 'videos', 'usage', + 'userFirstName', + 'userId', + 'userLastName', + 'videos', }; } diff --git a/mobile/openapi/lib/model/user_response_dto.dart b/mobile/openapi/lib/model/user_response_dto.dart index 29fd788f5..163ba4dd1 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.email, - required this.firstName, - required this.lastName, - required this.storageLabel, - required this.externalPath, - required this.profileImagePath, - required this.shouldChangePassword, - required this.isAdmin, required this.createdAt, required this.deletedAt, - required this.updatedAt, + required this.email, + required this.externalPath, + required this.firstName, + required this.id, + required this.isAdmin, + required this.lastName, required this.oauthId, + required this.profileImagePath, + required this.shouldChangePassword, + required this.storageLabel, + required this.updatedAt, }); - String id; - - String email; - - String firstName; - - String lastName; - - String? storageLabel; - - String? externalPath; - - String profileImagePath; - - bool shouldChangePassword; - - bool isAdmin; - DateTime createdAt; DateTime? deletedAt; - DateTime updatedAt; + String email; + + String? externalPath; + + String firstName; + + String id; + + bool isAdmin; + + String lastName; String oauthId; + String profileImagePath; + + bool shouldChangePassword; + + String? storageLabel; + + DateTime updatedAt; + @override bool operator ==(Object other) => identical(this, other) || other is UserResponseDto && - other.id == id && - other.email == email && - other.firstName == firstName && - other.lastName == lastName && - other.storageLabel == storageLabel && - other.externalPath == externalPath && - other.profileImagePath == profileImagePath && - other.shouldChangePassword == shouldChangePassword && - other.isAdmin == isAdmin && other.createdAt == createdAt && other.deletedAt == deletedAt && - other.updatedAt == updatedAt && - other.oauthId == oauthId; + other.email == email && + other.externalPath == externalPath && + other.firstName == firstName && + other.id == id && + other.isAdmin == isAdmin && + other.lastName == lastName && + other.oauthId == oauthId && + other.profileImagePath == profileImagePath && + other.shouldChangePassword == shouldChangePassword && + other.storageLabel == storageLabel && + other.updatedAt == updatedAt; @override int get hashCode => // ignore: unnecessary_parenthesis - (id.hashCode) + - (email.hashCode) + - (firstName.hashCode) + - (lastName.hashCode) + - (storageLabel == null ? 0 : storageLabel!.hashCode) + - (externalPath == null ? 0 : externalPath!.hashCode) + - (profileImagePath.hashCode) + - (shouldChangePassword.hashCode) + - (isAdmin.hashCode) + (createdAt.hashCode) + (deletedAt == null ? 0 : deletedAt!.hashCode) + - (updatedAt.hashCode) + - (oauthId.hashCode); + (email.hashCode) + + (externalPath == null ? 0 : externalPath!.hashCode) + + (firstName.hashCode) + + (id.hashCode) + + (isAdmin.hashCode) + + (lastName.hashCode) + + (oauthId.hashCode) + + (profileImagePath.hashCode) + + (shouldChangePassword.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 toJson() { final json = {}; - 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; - } else { - // json[r'storageLabel'] = null; - } - if (this.externalPath != null) { - json[r'externalPath'] = this.externalPath; - } else { - // json[r'externalPath'] = null; - } - 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(); } else { // json[r'deletedAt'] = null; } - json[r'updatedAt'] = this.updatedAt.toUtc().toIso8601String(); + 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; + if (this.storageLabel != null) { + json[r'storageLabel'] = this.storageLabel; + } else { + // json[r'storageLabel'] = null; + } + json[r'updatedAt'] = this.updatedAt.toUtc().toIso8601String(); return json; } @@ -128,19 +128,19 @@ class UserResponseDto { final json = value.cast(); return UserResponseDto( - id: mapValueOfType(json, r'id')!, - email: mapValueOfType(json, r'email')!, - firstName: mapValueOfType(json, r'firstName')!, - lastName: mapValueOfType(json, r'lastName')!, - storageLabel: mapValueOfType(json, r'storageLabel'), - externalPath: mapValueOfType(json, r'externalPath'), - profileImagePath: mapValueOfType(json, r'profileImagePath')!, - shouldChangePassword: mapValueOfType(json, r'shouldChangePassword')!, - isAdmin: mapValueOfType(json, r'isAdmin')!, createdAt: mapDateTime(json, r'createdAt', r'')!, deletedAt: mapDateTime(json, r'deletedAt', r''), - updatedAt: mapDateTime(json, r'updatedAt', r'')!, + email: mapValueOfType(json, r'email')!, + externalPath: mapValueOfType(json, r'externalPath'), + firstName: mapValueOfType(json, r'firstName')!, + id: mapValueOfType(json, r'id')!, + isAdmin: mapValueOfType(json, r'isAdmin')!, + lastName: mapValueOfType(json, r'lastName')!, oauthId: mapValueOfType(json, r'oauthId')!, + profileImagePath: mapValueOfType(json, r'profileImagePath')!, + shouldChangePassword: mapValueOfType(json, r'shouldChangePassword')!, + storageLabel: mapValueOfType(json, r'storageLabel'), + updatedAt: mapDateTime(json, r'updatedAt', r'')!, ); } return null; @@ -188,19 +188,19 @@ class UserResponseDto { /// The list of required keys that must be present in a JSON. static const requiredKeys = { - 'id', - 'email', - 'firstName', - 'lastName', - 'storageLabel', - 'externalPath', - 'profileImagePath', - 'shouldChangePassword', - 'isAdmin', 'createdAt', 'deletedAt', - 'updatedAt', + 'email', + 'externalPath', + 'firstName', + 'id', + 'isAdmin', + 'lastName', 'oauthId', + 'profileImagePath', + 'shouldChangePassword', + 'storageLabel', + 'updatedAt', }; } diff --git a/mobile/openapi/test/add_assets_response_dto_test.dart b/mobile/openapi/test/add_assets_response_dto_test.dart index bce8a0f7d..5dacd3943 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 62eb488fe..62582e9b3 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 2f294f463..5da1acb07 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 b55b0eb21..da80f4992 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', () { + // String albumName + test('to test the property `albumName`', () async { + // TODO + }); + + // String albumThumbnailAssetId + test('to test the property `albumThumbnailAssetId`', () async { + // TODO + }); + // int assetCount test('to test the property `assetCount`', () async { // TODO }); - // String id - test('to test the property `id`', () async { - // TODO - }); - - // String ownerId - test('to test the property `ownerId`', () async { - // TODO - }); - - // String albumName - test('to test the property `albumName`', () async { + // List assets (default value: const []) + test('to test the property `assets`', () async { // TODO }); @@ -41,13 +41,23 @@ 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 + }); + + // UserResponseDto owner + test('to test the property `owner`', () async { + // TODO + }); + + // String ownerId + test('to test the property `ownerId`', () async { // TODO }); @@ -61,18 +71,8 @@ void main() { // TODO }); - // List assets (default value: const []) - test('to test the property `assets`', () async { - // TODO - }); - - // UserResponseDto owner - test('to test the property `owner`', () 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 657191ec9..e981b1a36 100644 --- a/mobile/openapi/test/all_job_status_response_dto_test.dart +++ b/mobile/openapi/test/all_job_status_response_dto_test.dart @@ -16,23 +16,8 @@ void main() { // final instance = AllJobStatusResponseDto(); group('test AllJobStatusResponseDto', () { - // JobStatusDto thumbnailGeneration - test('to test the property `thumbnailGeneration`', () async { - // TODO - }); - - // JobStatusDto metadataExtraction - test('to test the property `metadataExtraction`', () async { - // TODO - }); - - // JobStatusDto videoConversion - test('to test the property `videoConversion`', () async { - // TODO - }); - - // JobStatusDto objectTagging - test('to test the property `objectTagging`', () async { + // JobStatusDto backgroundTask + test('to test the property `backgroundTask`', () async { // TODO }); @@ -41,18 +26,13 @@ void main() { // TODO }); - // JobStatusDto storageTemplateMigration - test('to test the property `storageTemplateMigration`', () async { + // JobStatusDto metadataExtraction + test('to test the property `metadataExtraction`', () async { // TODO }); - // JobStatusDto backgroundTask - test('to test the property `backgroundTask`', () async { - // TODO - }); - - // JobStatusDto search - test('to test the property `search`', () async { + // JobStatusDto objectTagging + test('to test the property `objectTagging`', () async { // TODO }); @@ -61,11 +41,31 @@ void main() { // TODO }); + // JobStatusDto search + test('to test the property `search`', () async { + // TODO + }); + // JobStatusDto sidecar test('to test the property `sidecar`', () async { // TODO }); + // JobStatusDto storageTemplateMigration + test('to test the property `storageTemplateMigration`', () async { + // TODO + }); + + // JobStatusDto thumbnailGeneration + test('to test the property `thumbnailGeneration`', () async { + // TODO + }); + + // 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 6998ea6a9..9d9a8d24e 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 c849e7629..399a01429 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 426e5e79a..e09bb4d0f 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 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 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 eac05427f..9f3e6e72f 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 dc1bf68a5..dd0a28ba5 100644 --- a/mobile/openapi/test/asset_bulk_upload_check_result_test.dart +++ b/mobile/openapi/test/asset_bulk_upload_check_result_test.dart @@ -16,26 +16,26 @@ void main() { // final instance = AssetBulkUploadCheckResult(); group('test AssetBulkUploadCheckResult', () { - // String id - test('to test the property `id`', () async { - // TODO - }); - // String action test('to test the property `action`', () async { // TODO }); - // String reason - test('to test the property `reason`', () async { - // TODO - }); - // String assetId test('to test the property `assetId`', () async { // TODO }); + // String id + test('to test the property `id`', () async { + // TODO + }); + + // 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 993e679ff..3df5ba0d3 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 buckets (default value: const []) + test('to test the property `buckets`', () async { // TODO }); - // List 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 7bf41e3d7..7dbe5bc4b 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 2c53be853..6d050c589 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 df6a8642d..cb03844cc 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 c9e33fb3b..f89eacf98 100644 --- a/mobile/openapi/test/asset_response_dto_test.dart +++ b/mobile/openapi/test/asset_response_dto_test.dart @@ -16,13 +16,9 @@ void main() { // final instance = AssetResponseDto(); group('test AssetResponseDto', () { - // AssetTypeEnum type - test('to test the property `type`', () async { - // TODO - }); - - // String id - test('to test the property `id`', () async { + // base64 encoded sha1 hash + // String checksum + test('to test the property `checksum`', () async { // TODO }); @@ -31,62 +27,11 @@ void main() { // TODO }); - // String ownerId - test('to test the property `ownerId`', () async { - // TODO - }); - // String deviceId test('to test the property `deviceId`', () async { // TODO }); - // String originalPath - test('to test the property `originalPath`', () async { - // TODO - }); - - // String originalFileName - test('to test the property `originalFileName`', () async { - // TODO - }); - - // bool resized - test('to test the property `resized`', () async { - // TODO - }); - - // base64 encoded thumbhash - // String thumbhash - test('to test the property `thumbhash`', () async { - // TODO - }); - - // DateTime fileCreatedAt - test('to test the property `fileCreatedAt`', () async { - // TODO - }); - - // DateTime fileModifiedAt - test('to test the property `fileModifiedAt`', () async { - // TODO - }); - - // DateTime updatedAt - test('to test the property `updatedAt`', () async { - // TODO - }); - - // bool isFavorite - test('to test the property `isFavorite`', () async { - // TODO - }); - - // bool isArchived - test('to test the property `isArchived`', () async { - // TODO - }); - // String duration test('to test the property `duration`', () async { // TODO @@ -97,8 +42,28 @@ void main() { // TODO }); - // SmartInfoResponseDto smartInfo - test('to test the property `smartInfo`', () async { + // DateTime fileCreatedAt + test('to test the property `fileCreatedAt`', () async { + // TODO + }); + + // DateTime fileModifiedAt + test('to test the property `fileModifiedAt`', () async { + // TODO + }); + + // String id + test('to test the property `id`', () async { + // TODO + }); + + // bool isArchived + test('to test the property `isArchived`', () async { + // TODO + }); + + // bool isFavorite + test('to test the property `isFavorite`', () async { // TODO }); @@ -107,8 +72,18 @@ void main() { // TODO }); - // List tags (default value: const []) - test('to test the property `tags`', () async { + // String originalFileName + test('to test the property `originalFileName`', () async { + // TODO + }); + + // String originalPath + test('to test the property `originalPath`', () async { + // TODO + }); + + // String ownerId + test('to test the property `ownerId`', () async { // TODO }); @@ -117,9 +92,34 @@ void main() { // TODO }); - // base64 encoded sha1 hash - // String checksum - test('to test the property `checksum`', () async { + // bool resized + test('to test the property `resized`', () async { + // TODO + }); + + // SmartInfoResponseDto smartInfo + test('to test the property `smartInfo`', () async { + // TODO + }); + + // List tags (default value: const []) + test('to test the property `tags`', () async { + // TODO + }); + + // base64 encoded thumbhash + // String thumbhash + test('to test the property `thumbhash`', () async { + // TODO + }); + + // AssetTypeEnum type + test('to test the property `type`', () async { + // TODO + }); + + // 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 3e5d8b548..eaeace92a 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 615b34b1d..c0cccf8d6 100644 --- a/mobile/openapi/test/auth_device_response_dto_test.dart +++ b/mobile/openapi/test/auth_device_response_dto_test.dart @@ -16,33 +16,33 @@ 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 { - // TODO - }); - // bool current test('to test the property `current`', () async { // TODO }); + // String deviceOS + test('to test the property `deviceOS`', () async { + // TODO + }); + // String deviceType test('to test the property `deviceType`', () async { // 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 25baca986..23e13ef50 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 5095250fc..21ed393bc 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 393acc121..2c0d28bb3 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 48263d393..c727c2006 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 sharedWithUserIds (default value: const []) - test('to test the property `sharedWithUserIds`', () async { + // List assetIds (default value: const []) + test('to test the property `assetIds`', () async { // TODO }); - // List assetIds (default value: const []) - test('to test the property `assetIds`', () async { + // List 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 83fee5b29..a09fed950 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 8df20a4ef..6bffb3200 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 327acbbe3..872635e2f 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 da4cccf3d..7529aaf7c 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 8ef640bd9..f71723ab2 100644 --- a/mobile/openapi/test/curated_objects_response_dto_test.dart +++ b/mobile/openapi/test/curated_objects_response_dto_test.dart @@ -16,6 +16,16 @@ void main() { // final instance = CuratedObjectsResponseDto(); group('test CuratedObjectsResponseDto', () { + // String deviceAssetId + test('to test the property `deviceAssetId`', () async { + // TODO + }); + + // String deviceId + test('to test the property `deviceId`', () async { + // TODO + }); + // String id test('to test the property `id`', () async { // TODO @@ -31,16 +41,6 @@ void main() { // TODO }); - // String deviceAssetId - test('to test the property `deviceAssetId`', () async { - // TODO - }); - - // String deviceId - test('to test the property `deviceId`', () 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 de09a5b31..7766caec7 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 35f29ef99..53c705a37 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 assetIds (default value: const []) + test('to test the property `assetIds`', () async { // TODO }); - // List 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 b823c1441..949c9517a 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 archives (default value: const []) + test('to test the property `archives`', () async { // TODO }); - // List 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 6ab5d1edb..43d5b2673 100644 --- a/mobile/openapi/test/exif_response_dto_test.dart +++ b/mobile/openapi/test/exif_response_dto_test.dart @@ -16,33 +16,13 @@ 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 { - // TODO - }); - - // String model - test('to test the property `model`', () async { - // TODO - }); - - // num exifImageWidth - test('to test the property `exifImageWidth`', () async { - // TODO - }); - - // num exifImageHeight - test('to test the property `exifImageHeight`', () async { - // TODO - }); - - // String orientation - test('to test the property `orientation`', () async { + // String country + test('to test the property `country`', () async { // TODO }); @@ -51,18 +31,23 @@ void main() { // TODO }); - // DateTime modifyDate - test('to test the property `modifyDate`', () async { + // String description + test('to test the property `description`', () async { // TODO }); - // String timeZone - test('to test the property `timeZone`', () async { + // num exifImageHeight + test('to test the property `exifImageHeight`', () async { // TODO }); - // String lensModel - test('to test the property `lensModel`', () async { + // num exifImageWidth + test('to test the property `exifImageWidth`', () async { + // TODO + }); + + // String exposureTime + test('to test the property `exposureTime`', () async { // TODO }); @@ -71,6 +56,11 @@ void main() { // TODO }); + // int fileSizeInByte + test('to test the property `fileSizeInByte`', () async { + // TODO + }); + // num focalLength test('to test the property `focalLength`', () 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 c602c83ec..213a75265 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 299ac292d..43e24df0f 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 f70779979..408b7fade 100644 --- a/mobile/openapi/test/login_response_dto_test.dart +++ b/mobile/openapi/test/login_response_dto_test.dart @@ -21,21 +21,16 @@ void main() { // TODO }); - // String userId - test('to test the property `userId`', () async { - // TODO - }); - - // String userEmail - test('to test the property `userEmail`', () async { - // TODO - }); - // String firstName test('to test the property `firstName`', () async { // TODO }); + // bool isAdmin + test('to test the property `isAdmin`', () async { + // TODO + }); + // String lastName test('to test the property `lastName`', () 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 2d83e1613..1d16ab3c6 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 4e25825cd..2dad2c356 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 assets (default value: const []) + test('to test the property `assets`', () async { // TODO }); - // List 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 309324f88..fd10307b3 100644 --- a/mobile/openapi/test/o_auth_config_response_dto_test.dart +++ b/mobile/openapi/test/o_auth_config_response_dto_test.dart @@ -16,6 +16,16 @@ void main() { // final instance = OAuthConfigResponseDto(); group('test OAuthConfigResponseDto', () { + // bool autoLaunch + test('to test the property `autoLaunch`', () async { + // TODO + }); + + // String buttonText + test('to test the property `buttonText`', () async { + // TODO + }); + // bool enabled test('to test the property `enabled`', () async { // TODO @@ -31,16 +41,6 @@ void main() { // TODO }); - // String buttonText - test('to test the property `buttonText`', () async { - // TODO - }); - - // bool autoLaunch - test('to test the property `autoLaunch`', () async { - // TODO - }); - }); diff --git a/mobile/openapi/test/people_response_dto_test.dart b/mobile/openapi/test/people_response_dto_test.dart index c48f0099a..0b155b0de 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 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 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 3a9d3b5c8..9c366e4eb 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 129a9c314..8b9f7bec8 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 47de2eb87..b515c2c8e 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 7de4a859b..7002d34b0 100644 --- a/mobile/openapi/test/search_album_response_dto_test.dart +++ b/mobile/openapi/test/search_album_response_dto_test.dart @@ -16,26 +16,26 @@ void main() { // final instance = SearchAlbumResponseDto(); group('test SearchAlbumResponseDto', () { - // int total - test('to test the property `total`', () async { - // TODO - }); - // int count test('to test the property `count`', () async { // TODO }); - // List items (default value: const []) - test('to test the property `items`', () async { - // TODO - }); - // List facets (default value: const []) test('to test the property `facets`', () async { // TODO }); + // List items (default value: const []) + test('to test the property `items`', () async { + // TODO + }); + + // 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 b1452681c..87a7a61e9 100644 --- a/mobile/openapi/test/search_asset_response_dto_test.dart +++ b/mobile/openapi/test/search_asset_response_dto_test.dart @@ -16,26 +16,26 @@ void main() { // final instance = SearchAssetResponseDto(); group('test SearchAssetResponseDto', () { - // int total - test('to test the property `total`', () async { - // TODO - }); - // int count test('to test the property `count`', () async { // TODO }); - // List items (default value: const []) - test('to test the property `items`', () async { - // TODO - }); - // List facets (default value: const []) test('to test the property `facets`', () async { // TODO }); + // List items (default value: const []) + test('to test the property `items`', () async { + // TODO + }); + + // 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 d4fae1dbf..2bc3ad7ae 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 06c374497..ed5e0d83a 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 counts (default value: const []) + test('to test the property `counts`', () async { // TODO }); - // List 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 8ecf13fc4..e41635ec5 100644 --- a/mobile/openapi/test/server_info_response_dto_test.dart +++ b/mobile/openapi/test/server_info_response_dto_test.dart @@ -16,13 +16,8 @@ void main() { // final instance = ServerInfoResponseDto(); group('test ServerInfoResponseDto', () { - // int diskSizeRaw - test('to test the property `diskSizeRaw`', () async { - // TODO - }); - - // int diskUseRaw - test('to test the property `diskUseRaw`', () async { + // String diskAvailable + test('to test the property `diskAvailable`', () async { // TODO }); @@ -31,13 +26,18 @@ void main() { // TODO }); - // double diskUsagePercentage - test('to test the property `diskUsagePercentage`', () async { + // String diskSize + test('to test the property `diskSize`', () async { // TODO }); - // String diskSize - test('to test the property `diskSize`', () async { + // int diskSizeRaw + test('to test the property `diskSizeRaw`', () async { + // TODO + }); + + // 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 041e64680..9ae2bfa2d 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 video (default value: const []) - test('to test the property `video`', () async { - // TODO - }); - // List image (default value: const []) test('to test the property `image`', () async { // TODO @@ -31,6 +26,11 @@ void main() { // TODO }); + // List 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 f5d2c3dc9..fa7e032aa 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 0a2a6a7f9..397e6e902 100644 --- a/mobile/openapi/test/shared_link_create_dto_test.dart +++ b/mobile/openapi/test/shared_link_create_dto_test.dart @@ -16,8 +16,18 @@ 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 + }); + + // bool allowDownload (default value: true) + test('to test the property `allowDownload`', () async { + // TODO + }); + + // bool allowUpload (default value: false) + test('to test the property `allowUpload`', () async { // TODO }); @@ -26,11 +36,6 @@ void main() { // TODO }); - // String albumId - test('to test the property `albumId`', () async { - // TODO - }); - // String description test('to test the property `description`', () async { // TODO @@ -41,21 +46,16 @@ 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 { - // TODO - }); - // bool showExif (default value: true) test('to test the property `showExif`', () async { // TODO }); + // 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 575892f1e..7df8a5e48 100644 --- a/mobile/openapi/test/shared_link_edit_dto_test.dart +++ b/mobile/openapi/test/shared_link_edit_dto_test.dart @@ -16,13 +16,8 @@ void main() { // final instance = SharedLinkEditDto(); group('test SharedLinkEditDto', () { - // String description - test('to test the property `description`', () async { - // TODO - }); - - // DateTime expiresAt - test('to test the property `expiresAt`', () async { + // bool allowDownload + test('to test the property `allowDownload`', () async { // TODO }); @@ -31,8 +26,13 @@ void main() { // TODO }); - // bool allowDownload - test('to test the property `allowDownload`', () async { + // String description + test('to test the property `description`', () async { + // TODO + }); + + // 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 0554a0553..867fb0b13 100644 --- a/mobile/openapi/test/shared_link_response_dto_test.dart +++ b/mobile/openapi/test/shared_link_response_dto_test.dart @@ -16,66 +16,66 @@ void main() { // final instance = SharedLinkResponseDto(); group('test SharedLinkResponseDto', () { - // SharedLinkType type - test('to test the property `type`', () async { - // TODO - }); - - // String id - test('to test the property `id`', () async { - // TODO - }); - - // String description - test('to test the property `description`', () async { - // TODO - }); - - // String userId - test('to test the property `userId`', () async { - // TODO - }); - - // String key - test('to test the property `key`', () async { - // TODO - }); - - // DateTime createdAt - test('to test the property `createdAt`', () async { - // TODO - }); - - // DateTime expiresAt - test('to test the property `expiresAt`', () async { - // TODO - }); - - // List assets (default value: const []) - test('to test the property `assets`', () async { - // TODO - }); - // AlbumResponseDto album test('to test the property `album`', () async { // TODO }); - // bool allowUpload - test('to test the property `allowUpload`', () async { - // TODO - }); - // bool allowDownload test('to test the property `allowDownload`', () async { // TODO }); + // bool allowUpload + test('to test the property `allowUpload`', () async { + // TODO + }); + + // List assets (default value: const []) + test('to test the property `assets`', () async { + // TODO + }); + + // DateTime createdAt + test('to test the property `createdAt`', () async { + // TODO + }); + + // String description + test('to test the property `description`', () async { + // TODO + }); + + // DateTime expiresAt + test('to test the property `expiresAt`', () async { + // TODO + }); + + // String id + test('to test the property `id`', () async { + // TODO + }); + + // String key + test('to test the property `key`', () async { + // TODO + }); + // bool showExif test('to test the property `showExif`', () async { // TODO }); + // SharedLinkType 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/sign_up_dto_test.dart b/mobile/openapi/test/sign_up_dto_test.dart index 4c4d376b8..5b02f0435 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 711e62cc5..15758d063 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 tags (default value: const []) - test('to test the property `tags`', () async { + // List objects (default value: const []) + test('to test the property `objects`', () async { // TODO }); - // List objects (default value: const []) - test('to test the property `objects`', () async { + // List 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 7ba7608ef..34b5a8cde 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 7f210e978..f2aac1e60 100644 --- a/mobile/openapi/test/system_config_f_fmpeg_dto_test.dart +++ b/mobile/openapi/test/system_config_f_fmpeg_dto_test.dart @@ -21,23 +21,8 @@ void main() { // TODO }); - // int threads - test('to test the property `threads`', () async { - // TODO - }); - - // VideoCodec targetVideoCodec - test('to test the property `targetVideoCodec`', () async { - // TODO - }); - - // AudioCodec targetAudioCodec - test('to test the property `targetAudioCodec`', () async { - // TODO - }); - - // TranscodePolicy transcode - test('to test the property `transcode`', () async { + // String maxBitrate + test('to test the property `maxBitrate`', () async { // TODO }); @@ -46,13 +31,28 @@ void main() { // TODO }); + // AudioCodec targetAudioCodec + test('to test the property `targetAudioCodec`', () async { + // TODO + }); + // String targetResolution test('to test the property `targetResolution`', () async { // TODO }); - // String maxBitrate - test('to test the property `maxBitrate`', () async { + // VideoCodec targetVideoCodec + test('to test the property `targetVideoCodec`', () async { + // TODO + }); + + // int threads + test('to test the property `threads`', () async { + // TODO + }); + + // 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 3fd36d184..0dbc6feee 100644 --- a/mobile/openapi/test/system_config_job_dto_test.dart +++ b/mobile/openapi/test/system_config_job_dto_test.dart @@ -16,23 +16,8 @@ void main() { // final instance = SystemConfigJobDto(); group('test SystemConfigJobDto', () { - // JobSettingsDto thumbnailGeneration - test('to test the property `thumbnailGeneration`', () async { - // TODO - }); - - // JobSettingsDto metadataExtraction - test('to test the property `metadataExtraction`', () async { - // TODO - }); - - // JobSettingsDto videoConversion - test('to test the property `videoConversion`', () async { - // TODO - }); - - // JobSettingsDto objectTagging - test('to test the property `objectTagging`', () async { + // JobSettingsDto backgroundTask + test('to test the property `backgroundTask`', () async { // TODO }); @@ -41,18 +26,13 @@ void main() { // TODO }); - // JobSettingsDto storageTemplateMigration - test('to test the property `storageTemplateMigration`', () async { + // JobSettingsDto metadataExtraction + test('to test the property `metadataExtraction`', () async { // TODO }); - // JobSettingsDto backgroundTask - test('to test the property `backgroundTask`', () async { - // TODO - }); - - // JobSettingsDto search - test('to test the property `search`', () async { + // JobSettingsDto objectTagging + test('to test the property `objectTagging`', () async { // TODO }); @@ -61,11 +41,31 @@ void main() { // TODO }); + // JobSettingsDto search + test('to test the property `search`', () async { + // TODO + }); + // JobSettingsDto sidecar test('to test the property `sidecar`', () async { // TODO }); + // JobSettingsDto storageTemplateMigration + test('to test the property `storageTemplateMigration`', () async { + // TODO + }); + + // JobSettingsDto thumbnailGeneration + test('to test the property `thumbnailGeneration`', () async { + // TODO + }); + + // 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 88c8d2aa8..5fde153f1 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,28 +41,13 @@ void main() { // TODO }); - // String scope - test('to test the property `scope`', () async { + // bool enabled + test('to test the property `enabled`', () async { // TODO }); - // String storageLabelClaim - test('to test the property `storageLabelClaim`', () async { - // TODO - }); - - // String buttonText - test('to test the property `buttonText`', () async { - // TODO - }); - - // bool autoRegister - test('to test the property `autoRegister`', () async { - // TODO - }); - - // bool autoLaunch - test('to test the property `autoLaunch`', () async { + // String issuerUrl + test('to test the property `issuerUrl`', () async { // TODO }); @@ -71,6 +61,16 @@ void main() { // TODO }); + // String scope + test('to test the property `scope`', () async { + // TODO + }); + + // 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 2824cc64d..57e059d9b 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 yearOptions (default value: const []) - test('to test the property `yearOptions`', () async { - // TODO - }); - - // List monthOptions (default value: const []) - test('to test the property `monthOptions`', () async { - // TODO - }); - // List dayOptions (default value: const []) test('to test the property `dayOptions`', () async { // TODO @@ -41,8 +31,8 @@ void main() { // TODO }); - // List secondOptions (default value: const []) - test('to test the property `secondOptions`', () async { + // List monthOptions (default value: const []) + test('to test the property `monthOptions`', () async { // TODO }); @@ -51,6 +41,16 @@ void main() { // TODO }); + // List secondOptions (default value: const []) + test('to test the property `secondOptions`', () async { + // TODO + }); + + // List 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 705a21ecd..88f483caf 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 94dcb27fc..57ebfcee2 100644 --- a/mobile/openapi/test/update_asset_dto_test.dart +++ b/mobile/openapi/test/update_asset_dto_test.dart @@ -16,13 +16,8 @@ void main() { // final instance = UpdateAssetDto(); group('test UpdateAssetDto', () { - // List tagIds (default value: const []) - test('to test the property `tagIds`', () async { - // TODO - }); - - // bool isFavorite - test('to test the property `isFavorite`', () async { + // String description + test('to test the property `description`', () async { // TODO }); @@ -31,8 +26,13 @@ void main() { // TODO }); - // String description - test('to test the property `description`', () async { + // bool isFavorite + test('to test the property `isFavorite`', () async { + // TODO + }); + + // List 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 5e89eca18..065436435 100644 --- a/mobile/openapi/test/update_user_dto_test.dart +++ b/mobile/openapi/test/update_user_dto_test.dart @@ -16,51 +16,51 @@ 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 { - // TODO - }); - - // String firstName - test('to test the property `firstName`', () async { - // TODO - }); - - // String lastName - test('to test the property `lastName`', () async { - // TODO - }); - - // String storageLabel - test('to test the property `storageLabel`', () async { - // TODO - }); - // String externalPath test('to test the property `externalPath`', () async { // TODO }); + // String firstName + test('to test the property `firstName`', () async { + // TODO + }); + + // String id + test('to test the property `id`', () async { + // TODO + }); + // bool isAdmin test('to test the property `isAdmin`', () async { // TODO }); + // String lastName + test('to test the property `lastName`', () async { + // TODO + }); + + // String password + test('to test the property `password`', () async { + // TODO + }); + // bool shouldChangePassword test('to test the property `shouldChangePassword`', () async { // 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 a4bec3f71..685d49e9f 100644 --- a/mobile/openapi/test/usage_by_user_dto_test.dart +++ b/mobile/openapi/test/usage_by_user_dto_test.dart @@ -16,36 +16,36 @@ void main() { // final instance = UsageByUserDto(); group('test UsageByUserDto', () { - // String userId - test('to test the property `userId`', () async { - // TODO - }); - - // String userFirstName - test('to test the property `userFirstName`', () async { - // TODO - }); - - // String userLastName - test('to test the property `userLastName`', () async { - // TODO - }); - // int photos test('to test the property `photos`', () async { // TODO }); - // int videos - test('to test the property `videos`', () async { - // TODO - }); - // int usage test('to test the property `usage`', () async { // TODO }); + // String userFirstName + test('to test the property `userFirstName`', () async { + // TODO + }); + + // String userId + test('to test the property `userId`', () async { + // TODO + }); + + // String userLastName + test('to test the property `userLastName`', () async { + // TODO + }); + + // int videos + test('to test the property `videos`', () async { + // TODO + }); + }); diff --git a/mobile/openapi/test/user_response_dto_test.dart b/mobile/openapi/test/user_response_dto_test.dart index f5c70f21f..cd6fa7694 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,23 +31,33 @@ void main() { // TODO }); + // String externalPath + test('to test the property `externalPath`', () async { + // TODO + }); + // String firstName test('to test the property `firstName`', () async { // TODO }); + // String id + test('to test the property `id`', () async { + // TODO + }); + + // bool isAdmin + test('to test the property `isAdmin`', () async { + // TODO + }); + // String lastName test('to test the property `lastName`', () async { // TODO }); - // String storageLabel - test('to test the property `storageLabel`', () async { - // TODO - }); - - // String externalPath - test('to test the property `externalPath`', () async { + // String oauthId + test('to test the property `oauthId`', () async { // TODO }); @@ -56,18 +71,8 @@ void main() { // TODO }); - // bool isAdmin - test('to test the property `isAdmin`', () async { - // TODO - }); - - // DateTime createdAt - test('to test the property `createdAt`', () 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 56e96bd11..28db8ca29 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,60 +121,13 @@ { "api_key": [] } + ], + "tags": [ + "Album" ] } }, "/album/{id}": { - "patch": { - "operationId": "updateAlbumInfo", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "schema": { - "format": "uuid", - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateAlbumDto" - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AlbumResponseDto" - } - } - } - } - }, - "tags": [ - "Album" - ], - "security": [ - { - "bearer": [] - }, - { - "cookie": [] - }, - { - "api_key": [] - } - ] - }, "delete": { "operationId": "deleteAlbum", "parameters": [ @@ -196,9 +146,6 @@ "description": "" } }, - "tags": [ - "Album" - ], "security": [ { "bearer": [] @@ -209,6 +156,9 @@ { "api_key": [] } + ], + "tags": [ + "Album" ] }, "get": { @@ -234,19 +184,16 @@ ], "responses": { "200": { - "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AlbumResponseDto" } } - } + }, + "description": "" } }, - "tags": [ - "Album" - ], "security": [ { "bearer": [] @@ -257,10 +204,113 @@ { "api_key": [] } + ], + "tags": [ + "Album" + ] + }, + "patch": { + "operationId": "updateAlbumInfo", + "parameters": [ + { + "name": "id", + "required": true, + "in": "path", + "schema": { + "format": "uuid", + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateAlbumDto" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AlbumResponseDto" + } + } + }, + "description": "" + } + }, + "security": [ + { + "bearer": [] + }, + { + "cookie": [] + }, + { + "api_key": [] + } + ], + "tags": [ + "Album" ] } }, "/album/{id}/assets": { + "delete": { + "operationId": "removeAssetFromAlbum", + "parameters": [ + { + "name": "id", + "required": true, + "in": "path", + "schema": { + "format": "uuid", + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RemoveAssetsDto" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AlbumResponseDto" + } + } + }, + "description": "" + } + }, + "security": [ + { + "bearer": [] + }, + { + "cookie": [] + }, + { + "api_key": [] + } + ], + "tags": [ + "Album" + ] + }, "put": { "operationId": "addAssetsToAlbum", "parameters": [ @@ -283,30 +333,27 @@ } ], "requestBody": { - "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AddAssetsDto" } } - } + }, + "required": true }, "responses": { "200": { - "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AddAssetsResponseDto" } } - } + }, + "description": "" } }, - "tags": [ - "Album" - ], "security": [ { "bearer": [] @@ -317,56 +364,9 @@ { "api_key": [] } - ] - }, - "delete": { - "operationId": "removeAssetFromAlbum", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "schema": { - "format": "uuid", - "type": "string" - } - } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RemoveAssetsDto" - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AlbumResponseDto" - } - } - } - } - }, "tags": [ "Album" - ], - "security": [ - { - "bearer": [] - }, - { - "cookie": [] - }, - { - "api_key": [] - } ] } }, @@ -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,71 @@ { "api_key": [] } + ], + "tags": [ + "Album" ] } }, "/api-key": { + "get": { + "operationId": "getKeys", + "parameters": [], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/APIKeyResponseDto" + }, + "type": "array" + } + } + }, + "description": "" + } + }, + "security": [ + { + "bearer": [] + }, + { + "cookie": [] + }, + { + "api_key": [] + } + ], + "tags": [ + "API Key" + ] + }, "post": { "operationId": "createKey", "parameters": [], "requestBody": { - "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/APIKeyCreateDto" } } - } + }, + "required": true }, "responses": { "201": { - "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/APIKeyCreateResponseDto" } } - } + }, + "description": "" } }, - "tags": [ - "API Key" - ], "security": [ { "bearer": [] @@ -504,133 +534,13 @@ { "api_key": [] } - ] - }, - "get": { - "operationId": "getKeys", - "parameters": [], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/APIKeyResponseDto" - } - } - } - } - } - }, + ], "tags": [ "API Key" - ], - "security": [ - { - "bearer": [] - }, - { - "cookie": [] - }, - { - "api_key": [] - } ] } }, "/api-key/{id}": { - "get": { - "operationId": "getKey", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "schema": { - "format": "uuid", - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIKeyResponseDto" - } - } - } - } - }, - "tags": [ - "API Key" - ], - "security": [ - { - "bearer": [] - }, - { - "cookie": [] - }, - { - "api_key": [] - } - ] - }, - "put": { - "operationId": "updateKey", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "schema": { - "format": "uuid", - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIKeyUpdateDto" - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIKeyResponseDto" - } - } - } - } - }, - "tags": [ - "API Key" - ], - "security": [ - { - "bearer": [] - }, - { - "cookie": [] - }, - { - "api_key": [] - } - ] - }, "delete": { "operationId": "deleteKey", "parameters": [ @@ -649,9 +559,6 @@ "description": "" } }, - "tags": [ - "API Key" - ], "security": [ { "bearer": [] @@ -662,13 +569,149 @@ { "api_key": [] } + ], + "tags": [ + "API Key" + ] + }, + "get": { + "operationId": "getKey", + "parameters": [ + { + "name": "id", + "required": true, + "in": "path", + "schema": { + "format": "uuid", + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIKeyResponseDto" + } + } + }, + "description": "" + } + }, + "security": [ + { + "bearer": [] + }, + { + "cookie": [] + }, + { + "api_key": [] + } + ], + "tags": [ + "API Key" + ] + }, + "put": { + "operationId": "updateKey", + "parameters": [ + { + "name": "id", + "required": true, + "in": "path", + "schema": { + "format": "uuid", + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIKeyUpdateDto" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIKeyResponseDto" + } + } + }, + "description": "" + } + }, + "security": [ + { + "bearer": [] + }, + { + "cookie": [] + }, + { + "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,54 +1956,54 @@ { "api_key": [] } + ], + "tags": [ + "Authentication" ] } }, "/auth/devices": { + "delete": { + "operationId": "logoutAuthDevices", + "parameters": [], + "responses": { + "204": { + "description": "" + } + }, + "security": [ + { + "bearer": [] + }, + { + "cookie": [] + }, + { + "api_key": [] + } + ], + "tags": [ + "Authentication" + ] + }, "get": { "operationId": "getAuthDevices", "parameters": [], "responses": { "200": { - "description": "", "content": { "application/json": { "schema": { - "type": "array", "items": { "$ref": "#/components/schemas/AuthDeviceResponseDto" - } + }, + "type": "array" } } - } - } - }, - "tags": [ - "Authentication" - ], - "security": [ - { - "bearer": [] - }, - { - "cookie": [] - }, - { - "api_key": [] - } - ] - }, - "delete": { - "operationId": "logoutAuthDevices", - "parameters": [], - "responses": { - "200": { + }, "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,50 +2425,13 @@ { "api_key": [] } + ], + "tags": [ + "Partner" ] } }, "/partner/{id}": { - "post": { - "operationId": "createPartner", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "schema": { - "format": "uuid", - "type": "string" - } - } - ], - "responses": { - "201": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserResponseDto" - } - } - } - } - }, - "tags": [ - "Partner" - ], - "security": [ - { - "bearer": [] - }, - { - "cookie": [] - }, - { - "api_key": [] - } - ] - }, "delete": { "operationId": "removePartner", "parameters": [ @@ -2490,9 +2450,6 @@ "description": "" } }, - "tags": [ - "Partner" - ], "security": [ { "bearer": [] @@ -2503,6 +2460,49 @@ { "api_key": [] } + ], + "tags": [ + "Partner" + ] + }, + "post": { + "operationId": "createPartner", + "parameters": [ + { + "name": "id", + "required": true, + "in": "path", + "schema": { + "format": "uuid", + "type": "string" + } + } + ], + "responses": { + "201": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserResponseDto" + } + } + }, + "description": "" + } + }, + "security": [ + { + "bearer": [] + }, + { + "cookie": [] + }, + { + "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,100 +3303,13 @@ { "api_key": [] } + ], + "tags": [ + "Shared Link" ] } }, "/shared-link/{id}": { - "get": { - "operationId": "getSharedLinkById", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "schema": { - "format": "uuid", - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SharedLinkResponseDto" - } - } - } - } - }, - "tags": [ - "Shared Link" - ], - "security": [ - { - "bearer": [] - }, - { - "cookie": [] - }, - { - "api_key": [] - } - ] - }, - "patch": { - "operationId": "updateSharedLink", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "schema": { - "format": "uuid", - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SharedLinkEditDto" - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SharedLinkResponseDto" - } - } - } - } - }, - "tags": [ - "Shared Link" - ], - "security": [ - { - "bearer": [] - }, - { - "cookie": [] - }, - { - "api_key": [] - } - ] - }, "delete": { "operationId": "removeSharedLink", "parameters": [ @@ -3418,9 +3328,6 @@ "description": "" } }, - "tags": [ - "Shared Link" - ], "security": [ { "bearer": [] @@ -3431,12 +3338,13 @@ { "api_key": [] } + ], + "tags": [ + "Shared Link" ] - } - }, - "/shared-link/{id}/assets": { - "put": { - "operationId": "addSharedLinkAssets", + }, + "get": { + "operationId": "getSharedLinkById", "parameters": [ { "name": "id", @@ -3446,44 +3354,20 @@ "format": "uuid", "type": "string" } - }, - { - "name": "key", - "required": false, - "in": "query", - "schema": { - "type": "string" - } } ], - "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/SharedLinkResponseDto" } } - } + }, + "description": "" } }, - "tags": [ - "Shared Link" - ], "security": [ { "bearer": [] @@ -3494,8 +3378,63 @@ { "api_key": [] } + ], + "tags": [ + "Shared Link" ] }, + "patch": { + "operationId": "updateSharedLink", + "parameters": [ + { + "name": "id", + "required": true, + "in": "path", + "schema": { + "format": "uuid", + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SharedLinkEditDto" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SharedLinkResponseDto" + } + } + }, + "description": "" + } + }, + "security": [ + { + "bearer": [] + }, + { + "cookie": [] + }, + { + "api_key": [] + } + ], + "tags": [ + "Shared Link" + ] + } + }, + "/shared-link/{id}/assets": { "delete": { "operationId": "removeSharedLinkAssets", "parameters": [ @@ -3518,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": [] @@ -3555,6 +3491,70 @@ { "api_key": [] } + ], + "tags": [ + "Shared Link" + ] + }, + "put": { + "operationId": "addSharedLinkAssets", + "parameters": [ + { + "name": "id", + "required": true, + "in": "path", + "schema": { + "format": "uuid", + "type": "string" + } + }, + { + "name": "key", + "required": false, + "in": "query", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AssetIdsDto" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/AssetIdsResponseDto" + }, + "type": "array" + } + } + }, + "description": "" + } + }, + "security": [ + { + "bearer": [] + }, + { + "cookie": [] + }, + { + "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,71 @@ { "api_key": [] } + ], + "tags": [ + "System Config" ] } }, "/tag": { + "get": { + "operationId": "getAllTags", + "parameters": [], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/TagResponseDto" + }, + "type": "array" + } + } + }, + "description": "" + } + }, + "security": [ + { + "bearer": [] + }, + { + "cookie": [] + }, + { + "api_key": [] + } + ], + "tags": [ + "Tag" + ] + }, "post": { "operationId": "createTag", "parameters": [], "requestBody": { - "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateTagDto" } } - } + }, + "required": true }, "responses": { "201": { - "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TagResponseDto" } } - } + }, + "description": "" } }, - "tags": [ - "Tag" - ], "security": [ { "bearer": [] @@ -3733,133 +3763,13 @@ { "api_key": [] } - ] - }, - "get": { - "operationId": "getAllTags", - "parameters": [], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TagResponseDto" - } - } - } - } - } - }, + ], "tags": [ "Tag" - ], - "security": [ - { - "bearer": [] - }, - { - "cookie": [] - }, - { - "api_key": [] - } ] } }, "/tag/{id}": { - "get": { - "operationId": "getTagById", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "schema": { - "format": "uuid", - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TagResponseDto" - } - } - } - } - }, - "tags": [ - "Tag" - ], - "security": [ - { - "bearer": [] - }, - { - "cookie": [] - }, - { - "api_key": [] - } - ] - }, - "patch": { - "operationId": "updateTag", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "schema": { - "format": "uuid", - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateTagDto" - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TagResponseDto" - } - } - } - } - }, - "tags": [ - "Tag" - ], - "security": [ - { - "bearer": [] - }, - { - "cookie": [] - }, - { - "api_key": [] - } - ] - }, "delete": { "operationId": "deleteTag", "parameters": [ @@ -3878,9 +3788,6 @@ "description": "" } }, - "tags": [ - "Tag" - ], "security": [ { "bearer": [] @@ -3891,10 +3798,156 @@ { "api_key": [] } + ], + "tags": [ + "Tag" + ] + }, + "get": { + "operationId": "getTagById", + "parameters": [ + { + "name": "id", + "required": true, + "in": "path", + "schema": { + "format": "uuid", + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TagResponseDto" + } + } + }, + "description": "" + } + }, + "security": [ + { + "bearer": [] + }, + { + "cookie": [] + }, + { + "api_key": [] + } + ], + "tags": [ + "Tag" + ] + }, + "patch": { + "operationId": "updateTag", + "parameters": [ + { + "name": "id", + "required": true, + "in": "path", + "schema": { + "format": "uuid", + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateTagDto" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TagResponseDto" + } + } + }, + "description": "" + } + }, + "security": [ + { + "bearer": [] + }, + { + "cookie": [] + }, + { + "api_key": [] + } + ], + "tags": [ + "Tag" ] } }, "/tag/{id}/assets": { + "delete": { + "operationId": "untagAssets", + "parameters": [ + { + "name": "id", + "required": true, + "in": "path", + "schema": { + "format": "uuid", + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AssetIdsDto" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/AssetIdsResponseDto" + }, + "type": "array" + } + } + }, + "description": "" + } + }, + "security": [ + { + "bearer": [] + }, + { + "cookie": [] + }, + { + "api_key": [] + } + ], + "tags": [ + "Tag" + ] + }, "get": { "operationId": "getTagAssets", "parameters": [ @@ -3910,22 +3963,19 @@ ], "responses": { "200": { - "description": "", "content": { "application/json": { "schema": { - "type": "array", "items": { "$ref": "#/components/schemas/AssetResponseDto" - } + }, + "type": "array" } } - } + }, + "description": "" } }, - "tags": [ - "Tag" - ], "security": [ { "bearer": [] @@ -3936,6 +3986,9 @@ { "api_key": [] } + ], + "tags": [ + "Tag" ] }, "put": { @@ -3952,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": [] @@ -3989,59 +4039,9 @@ { "api_key": [] } - ] - }, - "delete": { - "operationId": "untagAssets", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "schema": { - "format": "uuid", - "type": "string" - } - } ], - "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" - } - } - } - } - } - }, "tags": [ "Tag" - ], - "security": [ - { - "bearer": [] - }, - { - "cookie": [] - }, - { - "api_key": [] - } ] } }, @@ -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,41 +4477,40 @@ }, "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": { + "createdAt": { + "format": "date-time", + "type": "string" + }, "id": { "type": "string" }, "name": { "type": "string" }, - "createdAt": { - "format": "date-time", - "type": "string" - }, "updatedAt": { "format": "date-time", "type": "string" @@ -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" - }, - "alreadyInAlbum": { - "type": "array", - "items": { - "type": "string" - } - }, "album": { "$ref": "#/components/schemas/AlbumResponseDto" + }, + "alreadyInAlbum": { + "items": { + "type": "string" + }, + "type": "array" + }, + "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,73 +4611,73 @@ "firstName", "lastName", "createdAt" - ] + ], + "type": "object" }, "AlbumCountResponseDto": { - "type": "object", "properties": { + "notShared": { + "type": "integer" + }, "owned": { "type": "integer" }, "shared": { "type": "integer" - }, - "notShared": { - "type": "integer" } }, "required": [ "owned", "shared", "notShared" - ] + ], + "type": "object" }, "AlbumResponseDto": { - "type": "object", "properties": { + "albumName": { + "type": "string" + }, + "albumThumbnailAssetId": { + "nullable": true, + "type": "string" + }, "assetCount": { "type": "integer" }, - "id": { - "type": "string" - }, - "ownerId": { - "type": "string" - }, - "albumName": { - "type": "string" + "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" - } + }, + "type": "array" }, - "assets": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AssetResponseDto" - } - }, - "owner": { - "$ref": "#/components/schemas/UserResponseDto" - }, - "lastModifiedAssetTimestamp": { + "updatedAt": { "format": "date-time", "type": "string" } @@ -4695,40 +4694,40 @@ "sharedUsers", "assets", "owner" - ] + ], + "type": "object" }, "AllJobStatusResponseDto": { - "type": "object", "properties": { - "thumbnailGeneration": { - "$ref": "#/components/schemas/JobStatusDto" - }, - "metadataExtraction": { - "$ref": "#/components/schemas/JobStatusDto" - }, - "videoConversion": { - "$ref": "#/components/schemas/JobStatusDto" - }, - "objectTagging": { + "backgroundTask": { "$ref": "#/components/schemas/JobStatusDto" }, "clipEncoding": { "$ref": "#/components/schemas/JobStatusDto" }, - "storageTemplateMigration": { + "metadataExtraction": { "$ref": "#/components/schemas/JobStatusDto" }, - "backgroundTask": { - "$ref": "#/components/schemas/JobStatusDto" - }, - "search": { + "objectTagging": { "$ref": "#/components/schemas/JobStatusDto" }, "recognizeFaces": { "$ref": "#/components/schemas/JobStatusDto" }, + "search": { + "$ref": "#/components/schemas/JobStatusDto" + }, "sidecar": { "$ref": "#/components/schemas/JobStatusDto" + }, + "storageTemplateMigration": { + "$ref": "#/components/schemas/JobStatusDto" + }, + "thumbnailGeneration": { + "$ref": "#/components/schemas/JobStatusDto" + }, + "videoConversion": { + "$ref": "#/components/schemas/JobStatusDto" } }, "required": [ @@ -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": { + "duration": { "type": "string" }, - "originalFileName": { - "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": { - "type": "boolean" - }, "isArchived": { "type": "boolean" }, - "duration": { + "isFavorite": { + "type": "boolean" + }, + "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", - "items": { - "type": "string", - "format": "uuid" - } - }, "assetIds": { - "type": "array", "items": { - "type": "string", - "format": "uuid" - } + "format": "uuid", + "type": "string" + }, + "type": "array" + }, + "sharedWithUserIds": { + "items": { + "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,25 +5321,25 @@ "password", "firstName", "lastName" - ] + ], + "type": "object" }, "CuratedLocationsResponseDto": { - "type": "object", "properties": { - "id": { - "type": "string" - }, "city": { "type": "string" }, - "resizePath": { - "type": "string" - }, "deviceAssetId": { "type": "string" }, "deviceId": { "type": "string" + }, + "id": { + "type": "string" + }, + "resizePath": { + "type": "string" } }, "required": [ @@ -5349,11 +5348,17 @@ "resizePath", "deviceAssetId", "deviceId" - ] + ], + "type": "object" }, "CuratedObjectsResponseDto": { - "type": "object", "properties": { + "deviceAssetId": { + "type": "string" + }, + "deviceId": { + "type": "string" + }, "id": { "type": "string" }, @@ -5362,12 +5367,6 @@ }, "resizePath": { "type": "string" - }, - "deviceAssetId": { - "type": "string" - }, - "deviceId": { - "type": "string" } }, "required": [ @@ -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, - "default": null, - "format": "int64" - }, - "make": { - "type": "string", - "nullable": true, - "default": null - }, - "model": { - "type": "string", - "nullable": true, - "default": null - }, - "exifImageWidth": { - "type": "number", - "nullable": true, - "default": null - }, - "exifImageHeight": { - "type": "number", - "nullable": true, - "default": null - }, - "orientation": { - "type": "string", - "nullable": true, - "default": null - }, - "dateTimeOriginal": { - "format": "date-time", - "type": "string", - "nullable": true, - "default": null - }, - "modifyDate": { - "format": "date-time", - "type": "string", - "nullable": true, - "default": null - }, - "timeZone": { - "type": "string", - "nullable": true, - "default": null - }, - "lensModel": { - "type": "string", - "nullable": true, - "default": null - }, - "fNumber": { - "type": "number", - "nullable": true, - "default": null - }, - "focalLength": { - "type": "number", - "nullable": true, - "default": null - }, - "iso": { - "type": "number", - "nullable": true, - "default": null - }, - "exposureTime": { - "type": "string", - "nullable": true, - "default": null - }, - "latitude": { - "type": "number", - "nullable": true, - "default": null - }, - "longitude": { - "type": "number", - "nullable": true, - "default": null - }, "city": { - "type": "string", + "default": null, "nullable": true, - "default": null - }, - "state": { - "type": "string", - "nullable": true, - "default": null + "type": "string" }, "country": { - "type": "string", + "default": null, "nullable": true, - "default": null + "type": "string" + }, + "dateTimeOriginal": { + "default": null, + "format": "date-time", + "nullable": true, + "type": "string" }, "description": { - "type": "string", + "default": null, "nullable": true, - "default": null + "type": "string" + }, + "exifImageHeight": { + "default": null, + "nullable": true, + "type": "number" + }, + "exifImageWidth": { + "default": null, + "nullable": true, + "type": "number" + }, + "exposureTime": { + "default": null, + "nullable": true, + "type": "string" + }, + "fNumber": { + "default": null, + "nullable": true, + "type": "number" + }, + "fileSizeInByte": { + "default": null, + "format": "int64", + "nullable": true, + "type": "integer" + }, + "focalLength": { + "default": null, + "nullable": true, + "type": "number" + }, + "iso": { + "default": null, + "nullable": true, + "type": "number" + }, + "latitude": { + "default": null, + "nullable": true, + "type": "number" + }, + "lensModel": { + "default": null, + "nullable": true, + "type": "string" + }, + "longitude": { + "default": null, + "nullable": true, + "type": "number" + }, + "make": { + "default": null, + "nullable": true, + "type": "string" + }, + "model": { + "default": null, + "nullable": true, + "type": "string" + }, + "modifyDate": { + "default": null, + "format": "date-time", + "nullable": true, + "type": "string" + }, + "orientation": { + "default": null, + "nullable": true, + "type": "string" }, "projectionType": { - "type": "string", + "default": null, "nullable": true, - "default": null + "type": "string" + }, + "state": { + "default": null, + "nullable": true, + "type": "string" + }, + "timeZone": { + "default": null, + "nullable": true, + "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": "testuser@email.com" + "example": "testuser@email.com", + "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 - }, - "lastName": { - "type": "string", - "readOnly": true - }, - "profileImagePath": { - "type": "string", - "readOnly": true + "readOnly": true, + "type": "string" }, "isAdmin": { - "type": "boolean", - "readOnly": true + "readOnly": true, + "type": "boolean" + }, + "lastName": { + "readOnly": true, + "type": "string" + }, + "profileImagePath": { + "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" }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AlbumResponseDto" - } - }, "facets": { - "type": "array", "items": { "$ref": "#/components/schemas/SearchFacetResponseDto" - } + }, + "type": "array" + }, + "items": { + "items": { + "$ref": "#/components/schemas/AlbumResponseDto" + }, + "type": "array" + }, + "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" }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AssetResponseDto" - } - }, "facets": { - "type": "array", "items": { "$ref": "#/components/schemas/SearchFacetResponseDto" - } + }, + "type": "array" + }, + "items": { + "items": { + "$ref": "#/components/schemas/AssetResponseDto" + }, + "type": "array" + }, + "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", - "items": { - "type": "string" - } - }, "image": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "sidecar": { - "type": "array", "items": { "type": "string" - } + }, + "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" + "album": { + "$ref": "#/components/schemas/AlbumResponseDto" }, - "id": { - "type": "string" + "allowDownload": { + "type": "boolean" }, - "description": { - "type": "string", - "nullable": true + "allowUpload": { + "type": "boolean" }, - "userId": { - "type": "string" - }, - "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" - }, - "allowUpload": { - "type": "boolean" - }, - "allowDownload": { - "type": "boolean" + "key": { + "type": "string" }, "showExif": { "type": "boolean" + }, + "type": { + "$ref": "#/components/schemas/SharedLinkType" + }, + "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": "testuser@email.com" - }, - "password": { - "type": "string", - "example": "password" + "example": "testuser@email.com", + "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", - "items": { - "type": "string" - } - }, "objects": { - "nullable": true, - "type": "array", "items": { "type": "string" - } + }, + "nullable": true, + "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" - }, - "targetVideoCodec": { - "$ref": "#/components/schemas/VideoCodec" - }, - "targetAudioCodec": { - "$ref": "#/components/schemas/AudioCodec" - }, - "transcode": { - "$ref": "#/components/schemas/TranscodePolicy" + "maxBitrate": { + "type": "string" }, "preset": { "type": "string" }, + "targetAudioCodec": { + "$ref": "#/components/schemas/AudioCodec" + }, "targetResolution": { "type": "string" }, - "maxBitrate": { - "type": "string" + "targetVideoCodec": { + "$ref": "#/components/schemas/VideoCodec" + }, + "threads": { + "type": "integer" + }, + "transcode": { + "$ref": "#/components/schemas/TranscodePolicy" }, "twoPass": { "type": "boolean" @@ -6616,40 +6615,40 @@ "targetResolution", "maxBitrate", "twoPass" - ] + ], + "type": "object" }, "SystemConfigJobDto": { - "type": "object", "properties": { - "thumbnailGeneration": { - "$ref": "#/components/schemas/JobSettingsDto" - }, - "metadataExtraction": { - "$ref": "#/components/schemas/JobSettingsDto" - }, - "videoConversion": { - "$ref": "#/components/schemas/JobSettingsDto" - }, - "objectTagging": { + "backgroundTask": { "$ref": "#/components/schemas/JobSettingsDto" }, "clipEncoding": { "$ref": "#/components/schemas/JobSettingsDto" }, - "storageTemplateMigration": { + "metadataExtraction": { "$ref": "#/components/schemas/JobSettingsDto" }, - "backgroundTask": { - "$ref": "#/components/schemas/JobSettingsDto" - }, - "search": { + "objectTagging": { "$ref": "#/components/schemas/JobSettingsDto" }, "recognizeFaces": { "$ref": "#/components/schemas/JobSettingsDto" }, + "search": { + "$ref": "#/components/schemas/JobSettingsDto" + }, "sidecar": { "$ref": "#/components/schemas/JobSettingsDto" + }, + "storageTemplateMigration": { + "$ref": "#/components/schemas/JobSettingsDto" + }, + "thumbnailGeneration": { + "$ref": "#/components/schemas/JobSettingsDto" + }, + "videoConversion": { + "$ref": "#/components/schemas/JobSettingsDto" } }, "required": [ @@ -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", - "items": { - "type": "string" - } - }, - "monthOptions": { - "type": "array", - "items": { - "type": "string" - } - }, "dayOptions": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "hourOptions": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "minuteOptions": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, - "secondOptions": { - "type": "array", + "monthOptions": { "items": { "type": "string" - } + }, + "type": "array" }, "presetOptions": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" + }, + "secondOptions": { + "items": { + "type": "string" + }, + "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": { - "type": "string" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "storageLabel": { - "type": "string" - }, "externalPath": { "type": "string" }, + "firstName": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, "isAdmin": { "type": "boolean" }, + "lastName": { + "type": "string" + }, + "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" }, + "userId": { + "type": "string" + }, "userLastName": { "type": "string" }, - "photos": { - "type": "integer" - }, "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" }, + "id": { + "type": "string" + }, + "isAdmin": { + "type": "boolean" + }, "lastName": { "type": "string" }, - "storageLabel": { - "type": "string", - "nullable": true - }, - "externalPath": { - "type": "string", - "nullable": true + "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 44eaa9f23..707e5e6ca 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(obj: T): T { - if (!obj) { +function sortKeys(obj: T): T { + if (!obj || typeof obj !== 'object' || Array.isArray(obj)) { return obj; } const result: Partial = {}; const keys = Object.keys(obj).sort() as Array; 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 e42b66ccb..453e9ae84 100644 --- a/web/src/api/open-api/api.ts +++ b/web/src/api/open-api/api.ts @@ -42,18 +42,18 @@ export interface APIKeyCreateDto { * @interface APIKeyCreateResponseDto */ export interface APIKeyCreateResponseDto { - /** - * - * @type {string} - * @memberof APIKeyCreateResponseDto - */ - 'secret': string; /** * * @type {APIKeyResponseDto} * @memberof APIKeyCreateResponseDto */ 'apiKey': APIKeyResponseDto; + /** + * + * @type {string} + * @memberof APIKeyCreateResponseDto + */ + 'secret': string; } /** * @@ -61,6 +61,12 @@ export interface APIKeyCreateResponseDto { * @interface APIKeyResponseDto */ export interface APIKeyResponseDto { + /** + * + * @type {string} + * @memberof APIKeyResponseDto + */ + 'createdAt': string; /** * * @type {string} @@ -73,12 +79,6 @@ export interface APIKeyResponseDto { * @memberof APIKeyResponseDto */ 'name': string; - /** - * - * @type {string} - * @memberof APIKeyResponseDto - */ - 'createdAt': 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} @@ -132,10 +132,10 @@ export interface AddAssetsResponseDto { 'alreadyInAlbum': Array; /** * - * @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; } /** * @@ -193,6 +193,12 @@ export interface AdminSignupResponseDto { * @interface AlbumCountResponseDto */ export interface AlbumCountResponseDto { + /** + * + * @type {number} + * @memberof AlbumCountResponseDto + */ + 'notShared': number; /** * * @type {number} @@ -205,12 +211,6 @@ export interface AlbumCountResponseDto { * @memberof AlbumCountResponseDto */ 'shared': number; - /** - * - * @type {number} - * @memberof AlbumCountResponseDto - */ - 'notShared': number; } /** * @@ -218,30 +218,30 @@ export interface AlbumCountResponseDto { * @interface AlbumResponseDto */ export interface AlbumResponseDto { - /** - * - * @type {number} - * @memberof AlbumResponseDto - */ - 'assetCount': number; - /** - * - * @type {string} - * @memberof AlbumResponseDto - */ - 'id': string; - /** - * - * @type {string} - * @memberof AlbumResponseDto - */ - 'ownerId': string; /** * * @type {string} * @memberof AlbumResponseDto */ 'albumName': string; + /** + * + * @type {string} + * @memberof AlbumResponseDto + */ + 'albumThumbnailAssetId': string | null; + /** + * + * @type {number} + * @memberof AlbumResponseDto + */ + 'assetCount': number; + /** + * + * @type {Array} + * @memberof AlbumResponseDto + */ + 'assets': Array; /** * * @type {string} @@ -253,13 +253,25 @@ export interface AlbumResponseDto { * @type {string} * @memberof AlbumResponseDto */ - 'updatedAt': string; + 'id': string; /** * * @type {string} * @memberof AlbumResponseDto */ - 'albumThumbnailAssetId': string | null; + 'lastModifiedAssetTimestamp'?: string; + /** + * + * @type {UserResponseDto} + * @memberof AlbumResponseDto + */ + 'owner': UserResponseDto; + /** + * + * @type {string} + * @memberof AlbumResponseDto + */ + 'ownerId': string; /** * * @type {boolean} @@ -272,24 +284,12 @@ export interface AlbumResponseDto { * @memberof AlbumResponseDto */ 'sharedUsers': Array; - /** - * - * @type {Array} - * @memberof AlbumResponseDto - */ - 'assets': Array; - /** - * - * @type {UserResponseDto} - * @memberof AlbumResponseDto - */ - 'owner': UserResponseDto; /** * * @type {string} * @memberof AlbumResponseDto */ - 'lastModifiedAssetTimestamp'?: string; + 'updatedAt': string; } /** * @@ -302,25 +302,7 @@ export interface AllJobStatusResponseDto { * @type {JobStatusDto} * @memberof AllJobStatusResponseDto */ - 'thumbnailGeneration': JobStatusDto; - /** - * - * @type {JobStatusDto} - * @memberof AllJobStatusResponseDto - */ - 'metadataExtraction': JobStatusDto; - /** - * - * @type {JobStatusDto} - * @memberof AllJobStatusResponseDto - */ - 'videoConversion': JobStatusDto; - /** - * - * @type {JobStatusDto} - * @memberof AllJobStatusResponseDto - */ - 'objectTagging': JobStatusDto; + 'backgroundTask': JobStatusDto; /** * * @type {JobStatusDto} @@ -332,31 +314,49 @@ export interface AllJobStatusResponseDto { * @type {JobStatusDto} * @memberof AllJobStatusResponseDto */ - 'storageTemplateMigration': JobStatusDto; + 'metadataExtraction': JobStatusDto; /** * * @type {JobStatusDto} * @memberof AllJobStatusResponseDto */ - 'backgroundTask': JobStatusDto; - /** - * - * @type {JobStatusDto} - * @memberof AllJobStatusResponseDto - */ - 'search': JobStatusDto; + 'objectTagging': JobStatusDto; /** * * @type {JobStatusDto} * @memberof AllJobStatusResponseDto */ 'recognizeFaces': JobStatusDto; + /** + * + * @type {JobStatusDto} + * @memberof AllJobStatusResponseDto + */ + 'search': JobStatusDto; /** * * @type {JobStatusDto} * @memberof AllJobStatusResponseDto */ 'sidecar': JobStatusDto; + /** + * + * @type {JobStatusDto} + * @memberof AllJobStatusResponseDto + */ + 'storageTemplateMigration': JobStatusDto; + /** + * + * @type {JobStatusDto} + * @memberof AllJobStatusResponseDto + */ + 'thumbnailGeneration': JobStatusDto; + /** + * + * @type {JobStatusDto} + * @memberof AllJobStatusResponseDto + */ + 'videoConversion': JobStatusDto; } /** * @@ -377,18 +377,18 @@ export interface AssetBulkUploadCheckDto { * @interface AssetBulkUploadCheckItem */ export interface AssetBulkUploadCheckItem { - /** - * - * @type {string} - * @memberof AssetBulkUploadCheckItem - */ - 'id': string; /** * base64 or hex encoded sha1 hash * @type {string} * @memberof AssetBulkUploadCheckItem */ 'checksum': string; + /** + * + * @type {string} + * @memberof AssetBulkUploadCheckItem + */ + 'id': string; } /** * @@ -409,12 +409,6 @@ export interface AssetBulkUploadCheckResponseDto { * @interface AssetBulkUploadCheckResult */ export interface AssetBulkUploadCheckResult { - /** - * - * @type {string} - * @memberof AssetBulkUploadCheckResult - */ - 'id': string; /** * * @type {string} @@ -426,13 +420,19 @@ export interface AssetBulkUploadCheckResult { * @type {string} * @memberof AssetBulkUploadCheckResult */ - 'reason'?: AssetBulkUploadCheckResultReasonEnum; + 'assetId'?: string; /** * * @type {string} * @memberof AssetBulkUploadCheckResult */ - 'assetId'?: string; + 'id': string; + /** + * + * @type {string} + * @memberof AssetBulkUploadCheckResult + */ + 'reason'?: AssetBulkUploadCheckResultReasonEnum; } export const AssetBulkUploadCheckResultActionEnum = { @@ -454,18 +454,18 @@ export type AssetBulkUploadCheckResultReasonEnum = typeof AssetBulkUploadCheckRe * @interface AssetCountByTimeBucket */ export interface AssetCountByTimeBucket { - /** - * - * @type {string} - * @memberof AssetCountByTimeBucket - */ - 'timeBucket': string; /** * * @type {number} * @memberof AssetCountByTimeBucket */ 'count': number; + /** + * + * @type {string} + * @memberof AssetCountByTimeBucket + */ + 'timeBucket': string; } /** * @@ -473,18 +473,18 @@ export interface AssetCountByTimeBucket { * @interface AssetCountByTimeBucketResponseDto */ export interface AssetCountByTimeBucketResponseDto { - /** - * - * @type {number} - * @memberof AssetCountByTimeBucketResponseDto - */ - 'totalCount': number; /** * * @type {Array} * @memberof AssetCountByTimeBucketResponseDto */ 'buckets': Array; + /** + * + * @type {number} + * @memberof AssetCountByTimeBucketResponseDto + */ + 'totalCount': number; } /** * @@ -492,18 +492,18 @@ export interface AssetCountByTimeBucketResponseDto { * @interface AssetFileUploadResponseDto */ export interface AssetFileUploadResponseDto { - /** - * - * @type {string} - * @memberof AssetFileUploadResponseDto - */ - 'id': string; /** * * @type {boolean} * @memberof AssetFileUploadResponseDto */ 'duplicate': boolean; + /** + * + * @type {string} + * @memberof AssetFileUploadResponseDto + */ + 'id': string; } /** * @@ -530,18 +530,18 @@ export interface AssetIdsResponseDto { * @memberof AssetIdsResponseDto */ 'assetId': string; - /** - * - * @type {boolean} - * @memberof AssetIdsResponseDto - */ - 'success': boolean; /** * * @type {string} * @memberof AssetIdsResponseDto */ 'error'?: AssetIdsResponseDtoErrorEnum; + /** + * + * @type {boolean} + * @memberof AssetIdsResponseDto + */ + 'success': boolean; } export const AssetIdsResponseDtoErrorEnum = { @@ -559,29 +559,17 @@ export type AssetIdsResponseDtoErrorEnum = typeof AssetIdsResponseDtoErrorEnum[k */ export interface AssetResponseDto { /** - * - * @type {AssetTypeEnum} - * @memberof AssetResponseDto - */ - 'type': AssetTypeEnum; - /** - * + * base64 encoded sha1 hash * @type {string} * @memberof AssetResponseDto */ - 'id': string; + 'checksum': string; /** * * @type {string} * @memberof AssetResponseDto */ 'deviceAssetId': string; - /** - * - * @type {string} - * @memberof AssetResponseDto - */ - 'ownerId': string; /** * * @type {string} @@ -593,25 +581,13 @@ export interface AssetResponseDto { * @type {string} * @memberof AssetResponseDto */ - 'originalPath': string; + 'duration': string; /** * - * @type {string} + * @type {ExifResponseDto} * @memberof AssetResponseDto */ - 'originalFileName': string; - /** - * - * @type {boolean} - * @memberof AssetResponseDto - */ - 'resized': boolean; - /** - * base64 encoded thumbhash - * @type {string} - * @memberof AssetResponseDto - */ - 'thumbhash': string | null; + 'exifInfo'?: ExifResponseDto; /** * * @type {string} @@ -629,13 +605,7 @@ export interface AssetResponseDto { * @type {string} * @memberof AssetResponseDto */ - 'updatedAt': string; - /** - * - * @type {boolean} - * @memberof AssetResponseDto - */ - 'isFavorite': boolean; + 'id': string; /** * * @type {boolean} @@ -644,22 +614,10 @@ export interface AssetResponseDto { 'isArchived': boolean; /** * - * @type {string} + * @type {boolean} * @memberof AssetResponseDto */ - 'duration': string; - /** - * - * @type {ExifResponseDto} - * @memberof AssetResponseDto - */ - 'exifInfo'?: ExifResponseDto; - /** - * - * @type {SmartInfoResponseDto} - * @memberof AssetResponseDto - */ - 'smartInfo'?: SmartInfoResponseDto; + 'isFavorite': boolean; /** * * @type {string} @@ -668,10 +626,22 @@ export interface AssetResponseDto { 'livePhotoVideoId'?: string | null; /** * - * @type {Array} + * @type {string} * @memberof AssetResponseDto */ - 'tags'?: Array; + 'originalFileName': string; + /** + * + * @type {string} + * @memberof AssetResponseDto + */ + 'originalPath': string; + /** + * + * @type {string} + * @memberof AssetResponseDto + */ + 'ownerId': string; /** * * @type {Array} @@ -679,11 +649,41 @@ export interface AssetResponseDto { */ 'people'?: Array; /** - * base64 encoded sha1 hash + * + * @type {boolean} + * @memberof AssetResponseDto + */ + 'resized': boolean; + /** + * + * @type {SmartInfoResponseDto} + * @memberof AssetResponseDto + */ + 'smartInfo'?: SmartInfoResponseDto; + /** + * + * @type {Array} + * @memberof AssetResponseDto + */ + 'tags'?: Array; + /** + * base64 encoded thumbhash * @type {string} * @memberof AssetResponseDto */ - 'checksum': string; + 'thumbhash': string | null; + /** + * + * @type {AssetTypeEnum} + * @memberof AssetResponseDto + */ + 'type': AssetTypeEnum; + /** + * + * @type {string} + * @memberof AssetResponseDto + */ + '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; } /** * @@ -749,30 +749,24 @@ export type AudioCodec = typeof AudioCodec[keyof typeof AudioCodec]; * @interface AuthDeviceResponseDto */ export interface AuthDeviceResponseDto { - /** - * - * @type {string} - * @memberof AuthDeviceResponseDto - */ - 'id': string; /** * * @type {string} * @memberof AuthDeviceResponseDto */ 'createdAt': string; - /** - * - * @type {string} - * @memberof AuthDeviceResponseDto - */ - 'updatedAt': string; /** * * @type {boolean} * @memberof AuthDeviceResponseDto */ 'current': boolean; + /** + * + * @type {string} + * @memberof AuthDeviceResponseDto + */ + 'deviceOS': string; /** * * @type {string} @@ -784,7 +778,13 @@ export interface AuthDeviceResponseDto { * @type {string} * @memberof AuthDeviceResponseDto */ - 'deviceOS': string; + 'id': string; + /** + * + * @type {string} + * @memberof AuthDeviceResponseDto + */ + 'updatedAt': string; } /** * @@ -792,6 +792,12 @@ export interface AuthDeviceResponseDto { * @interface BulkIdResponseDto */ export interface BulkIdResponseDto { + /** + * + * @type {string} + * @memberof BulkIdResponseDto + */ + 'error'?: BulkIdResponseDtoErrorEnum; /** * * @type {string} @@ -804,12 +810,6 @@ export interface BulkIdResponseDto { * @memberof BulkIdResponseDto */ 'success': boolean; - /** - * - * @type {string} - * @memberof BulkIdResponseDto - */ - 'error'?: BulkIdResponseDtoErrorEnum; } 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; } /** * @@ -865,18 +865,18 @@ export interface CheckDuplicateAssetDto { * @interface CheckDuplicateAssetResponseDto */ export interface CheckDuplicateAssetResponseDto { - /** - * - * @type {boolean} - * @memberof CheckDuplicateAssetResponseDto - */ - 'isExist': boolean; /** * * @type {string} * @memberof CheckDuplicateAssetResponseDto */ 'id'?: string; + /** + * + * @type {boolean} + * @memberof CheckDuplicateAssetResponseDto + */ + 'isExist': boolean; } /** * @@ -927,13 +927,13 @@ export interface CreateAlbumDto { * @type {Array} * @memberof CreateAlbumDto */ - 'sharedWithUserIds'?: Array; + 'assetIds'?: Array; /** * * @type {Array} * @memberof CreateAlbumDto */ - 'assetIds'?: Array; + 'sharedWithUserIds'?: Array; } /** * @@ -946,13 +946,13 @@ export interface CreateProfileImageResponseDto { * @type {string} * @memberof CreateProfileImageResponseDto */ - 'userId': string; + 'profileImagePath': string; /** * * @type {string} * @memberof CreateProfileImageResponseDto */ - 'profileImagePath': string; + 'userId': string; } /** * @@ -960,18 +960,18 @@ export interface CreateProfileImageResponseDto { * @interface CreateTagDto */ export interface CreateTagDto { - /** - * - * @type {TagTypeEnum} - * @memberof CreateTagDto - */ - 'type': TagTypeEnum; /** * * @type {string} * @memberof CreateTagDto */ 'name': string; + /** + * + * @type {TagTypeEnum} + * @memberof CreateTagDto + */ + '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; } /** * @@ -1024,24 +1024,12 @@ export interface CreateUserDto { * @interface CuratedLocationsResponseDto */ export interface CuratedLocationsResponseDto { - /** - * - * @type {string} - * @memberof CuratedLocationsResponseDto - */ - 'id': string; /** * * @type {string} * @memberof CuratedLocationsResponseDto */ 'city': string; - /** - * - * @type {string} - * @memberof CuratedLocationsResponseDto - */ - 'resizePath': string; /** * * @type {string} @@ -1054,6 +1042,18 @@ export interface CuratedLocationsResponseDto { * @memberof CuratedLocationsResponseDto */ 'deviceId': string; + /** + * + * @type {string} + * @memberof CuratedLocationsResponseDto + */ + 'id': string; + /** + * + * @type {string} + * @memberof CuratedLocationsResponseDto + */ + 'resizePath': string; } /** * @@ -1061,6 +1061,18 @@ export interface CuratedLocationsResponseDto { * @interface CuratedObjectsResponseDto */ export interface CuratedObjectsResponseDto { + /** + * + * @type {string} + * @memberof CuratedObjectsResponseDto + */ + 'deviceAssetId': string; + /** + * + * @type {string} + * @memberof CuratedObjectsResponseDto + */ + 'deviceId': string; /** * * @type {string} @@ -1079,18 +1091,6 @@ export interface CuratedObjectsResponseDto { * @memberof CuratedObjectsResponseDto */ 'resizePath': string; - /** - * - * @type {string} - * @memberof CuratedObjectsResponseDto - */ - 'deviceAssetId': string; - /** - * - * @type {string} - * @memberof CuratedObjectsResponseDto - */ - 'deviceId': string; } /** * @@ -1111,18 +1111,18 @@ export interface DeleteAssetDto { * @interface DeleteAssetResponseDto */ export interface DeleteAssetResponseDto { - /** - * - * @type {DeleteAssetStatus} - * @memberof DeleteAssetResponseDto - */ - 'status': DeleteAssetStatus; /** * * @type {string} * @memberof DeleteAssetResponseDto */ 'id': string; + /** + * + * @type {DeleteAssetStatus} + * @memberof DeleteAssetResponseDto + */ + 'status': DeleteAssetStatus; } @@ -1146,18 +1146,18 @@ export type DeleteAssetStatus = typeof DeleteAssetStatus[keyof typeof DeleteAsse * @interface DownloadArchiveInfo */ export interface DownloadArchiveInfo { - /** - * - * @type {number} - * @memberof DownloadArchiveInfo - */ - 'size': number; /** * * @type {Array} * @memberof DownloadArchiveInfo */ 'assetIds': Array; + /** + * + * @type {number} + * @memberof DownloadArchiveInfo + */ + 'size': number; } /** * @@ -1165,18 +1165,18 @@ export interface DownloadArchiveInfo { * @interface DownloadResponseDto */ export interface DownloadResponseDto { - /** - * - * @type {number} - * @memberof DownloadResponseDto - */ - 'totalSize': number; /** * * @type {Array} * @memberof DownloadResponseDto */ 'archives': Array; + /** + * + * @type {number} + * @memberof DownloadResponseDto + */ + 'totalSize': number; } /** * @@ -1186,40 +1186,16 @@ 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; - /** - * - * @type {string} - * @memberof ExifResponseDto - */ - 'model'?: string | null; - /** - * - * @type {number} - * @memberof ExifResponseDto - */ - 'exifImageWidth'?: number | null; - /** - * - * @type {number} - * @memberof ExifResponseDto - */ - 'exifImageHeight'?: number | null; - /** - * - * @type {string} - * @memberof ExifResponseDto - */ - 'orientation'?: string | null; + 'country'?: string | null; /** * * @type {string} @@ -1231,25 +1207,37 @@ export interface ExifResponseDto { * @type {string} * @memberof ExifResponseDto */ - 'modifyDate'?: string | null; + 'description'?: string | null; + /** + * + * @type {number} + * @memberof ExifResponseDto + */ + 'exifImageHeight'?: number | null; + /** + * + * @type {number} + * @memberof ExifResponseDto + */ + 'exifImageWidth'?: number | null; /** * * @type {string} * @memberof ExifResponseDto */ - 'timeZone'?: string | null; - /** - * - * @type {string} - * @memberof ExifResponseDto - */ - 'lensModel'?: string | null; + 'exposureTime'?: string | null; /** * * @type {number} * @memberof ExifResponseDto */ 'fNumber'?: number | null; + /** + * + * @type {number} + * @memberof ExifResponseDto + */ + 'fileSizeInByte'?: number | null; /** * * @type {number} @@ -1262,18 +1250,18 @@ export interface ExifResponseDto { * @memberof ExifResponseDto */ 'iso'?: number | null; - /** - * - * @type {string} - * @memberof ExifResponseDto - */ - 'exposureTime'?: string | null; /** * * @type {number} * @memberof ExifResponseDto */ 'latitude'?: number | null; + /** + * + * @type {string} + * @memberof ExifResponseDto + */ + 'lensModel'?: string | null; /** * * @type {number} @@ -1285,7 +1273,31 @@ export interface ExifResponseDto { * @type {string} * @memberof ExifResponseDto */ - 'city'?: string | null; + 'make'?: string | null; + /** + * + * @type {string} + * @memberof ExifResponseDto + */ + 'model'?: string | null; + /** + * + * @type {string} + * @memberof ExifResponseDto + */ + 'modifyDate'?: string | null; + /** + * + * @type {string} + * @memberof ExifResponseDto + */ + 'orientation'?: string | null; + /** + * + * @type {string} + * @memberof ExifResponseDto + */ + 'projectionType'?: string | null; /** * * @type {string} @@ -1297,19 +1309,7 @@ export interface ExifResponseDto { * @type {string} * @memberof ExifResponseDto */ - 'country'?: string | null; - /** - * - * @type {string} - * @memberof ExifResponseDto - */ - 'description'?: string | null; - /** - * - * @type {string} - * @memberof ExifResponseDto - */ - 'projectionType'?: string | null; + 'timeZone'?: string | null; } /** * @@ -1369,24 +1369,12 @@ export interface GetAssetCountByTimeBucketDto { * @interface ImportAssetDto */ export interface ImportAssetDto { - /** - * - * @type {boolean} - * @memberof ImportAssetDto - */ - 'isReadOnly'?: boolean; /** * * @type {string} * @memberof ImportAssetDto */ 'assetPath': string; - /** - * - * @type {string} - * @memberof ImportAssetDto - */ - 'sidecarPath'?: string; /** * * @type {string} @@ -1399,6 +1387,12 @@ export interface ImportAssetDto { * @memberof ImportAssetDto */ 'deviceId': string; + /** + * + * @type {string} + * @memberof ImportAssetDto + */ + '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; } /** * @@ -1491,12 +1491,6 @@ export interface JobCountsDto { * @memberof JobCountsDto */ 'completed': number; - /** - * - * @type {number} - * @memberof JobCountsDto - */ - 'failed': number; /** * * @type {number} @@ -1508,13 +1502,19 @@ export interface JobCountsDto { * @type {number} * @memberof JobCountsDto */ - 'waiting': number; + 'failed': number; /** * * @type {number} * @memberof JobCountsDto */ 'paused': number; + /** + * + * @type {number} + * @memberof JobCountsDto + */ + 'waiting': number; } /** * @@ -1601,24 +1601,18 @@ export interface LoginResponseDto { * @memberof LoginResponseDto */ 'accessToken': string; - /** - * - * @type {string} - * @memberof LoginResponseDto - */ - 'userId': string; - /** - * - * @type {string} - * @memberof LoginResponseDto - */ - 'userEmail': string; /** * * @type {string} * @memberof LoginResponseDto */ 'firstName': string; + /** + * + * @type {boolean} + * @memberof LoginResponseDto + */ + 'isAdmin': boolean; /** * * @type {string} @@ -1636,13 +1630,19 @@ export interface LoginResponseDto { * @type {boolean} * @memberof LoginResponseDto */ - 'isAdmin': boolean; + 'shouldChangePassword': boolean; /** * - * @type {boolean} + * @type {string} * @memberof LoginResponseDto */ - 'shouldChangePassword': boolean; + 'userEmail': string; + /** + * + * @type {string} + * @memberof LoginResponseDto + */ + 'userId': string; } /** * @@ -1650,18 +1650,18 @@ export interface LoginResponseDto { * @interface LogoutResponseDto */ export interface LogoutResponseDto { - /** - * - * @type {boolean} - * @memberof LogoutResponseDto - */ - 'successful': boolean; /** * * @type {string} * @memberof LogoutResponseDto */ 'redirectUri': string; + /** + * + * @type {boolean} + * @memberof LogoutResponseDto + */ + 'successful': boolean; } /** * @@ -1694,18 +1694,18 @@ export interface MapMarkerResponseDto { * @interface MemoryLaneResponseDto */ export interface MemoryLaneResponseDto { - /** - * - * @type {string} - * @memberof MemoryLaneResponseDto - */ - 'title': string; /** * * @type {Array} * @memberof MemoryLaneResponseDto */ 'assets': Array; + /** + * + * @type {string} + * @memberof MemoryLaneResponseDto + */ + 'title': string; } /** * @@ -1752,6 +1752,18 @@ export interface OAuthConfigDto { * @interface OAuthConfigResponseDto */ export interface OAuthConfigResponseDto { + /** + * + * @type {boolean} + * @memberof OAuthConfigResponseDto + */ + 'autoLaunch'?: boolean; + /** + * + * @type {string} + * @memberof OAuthConfigResponseDto + */ + 'buttonText'?: string; /** * * @type {boolean} @@ -1770,18 +1782,6 @@ export interface OAuthConfigResponseDto { * @memberof OAuthConfigResponseDto */ 'url'?: string; - /** - * - * @type {string} - * @memberof OAuthConfigResponseDto - */ - 'buttonText'?: string; - /** - * - * @type {boolean} - * @memberof OAuthConfigResponseDto - */ - 'autoLaunch'?: boolean; } /** * @@ -1789,6 +1789,12 @@ export interface OAuthConfigResponseDto { * @interface PeopleResponseDto */ export interface PeopleResponseDto { + /** + * + * @type {Array} + * @memberof PeopleResponseDto + */ + 'people': Array; /** * * @type {number} @@ -1801,12 +1807,6 @@ export interface PeopleResponseDto { * @memberof PeopleResponseDto */ 'visible': number; - /** - * - * @type {Array} - * @memberof PeopleResponseDto - */ - 'people': Array; } /** * @@ -1827,30 +1827,30 @@ export interface PeopleUpdateDto { * @interface PeopleUpdateItem */ export interface PeopleUpdateItem { - /** - * Person id. - * @type {string} - * @memberof PeopleUpdateItem - */ - 'id': string; - /** - * Person name. - * @type {string} - * @memberof PeopleUpdateItem - */ - 'name'?: string; /** * Asset is used to get the feature face thumbnail. * @type {string} * @memberof PeopleUpdateItem */ 'featureFaceAssetId'?: string; + /** + * Person id. + * @type {string} + * @memberof PeopleUpdateItem + */ + 'id': string; /** * Person visibility * @type {boolean} * @memberof PeopleUpdateItem */ 'isHidden'?: boolean; + /** + * Person name. + * @type {string} + * @memberof PeopleUpdateItem + */ + 'name'?: string; } /** * @@ -1864,6 +1864,12 @@ export interface PersonResponseDto { * @memberof PersonResponseDto */ 'id': string; + /** + * + * @type {boolean} + * @memberof PersonResponseDto + */ + 'isHidden': boolean; /** * * @type {string} @@ -1876,12 +1882,6 @@ export interface PersonResponseDto { * @memberof PersonResponseDto */ 'thumbnailPath': string; - /** - * - * @type {boolean} - * @memberof PersonResponseDto - */ - 'isHidden': boolean; } /** * @@ -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} * @memberof SearchAlbumResponseDto */ - 'count': number; + 'facets': Array; /** * * @type {Array} @@ -1966,10 +1966,10 @@ export interface SearchAlbumResponseDto { 'items': Array; /** * - * @type {Array} + * @type {number} * @memberof SearchAlbumResponseDto */ - 'facets': Array; + 'total': number; } /** * @@ -1995,13 +1995,13 @@ export interface SearchAssetResponseDto { * @type {number} * @memberof SearchAssetResponseDto */ - 'total': number; + 'count': number; /** * - * @type {number} + * @type {Array} * @memberof SearchAssetResponseDto */ - 'count': number; + 'facets': Array; /** * * @type {Array} @@ -2010,10 +2010,10 @@ export interface SearchAssetResponseDto { 'items': Array; /** * - * @type {Array} + * @type {number} * @memberof SearchAssetResponseDto */ - 'facets': Array; + 'total': number; } /** * @@ -2034,18 +2034,18 @@ export interface SearchConfigResponseDto { * @interface SearchExploreItem */ export interface SearchExploreItem { - /** - * - * @type {string} - * @memberof SearchExploreItem - */ - 'value': string; /** * * @type {AssetResponseDto} * @memberof SearchExploreItem */ 'data': AssetResponseDto; + /** + * + * @type {string} + * @memberof SearchExploreItem + */ + 'value': string; } /** * @@ -2091,18 +2091,18 @@ export interface SearchFacetCountResponseDto { * @interface SearchFacetResponseDto */ export interface SearchFacetResponseDto { - /** - * - * @type {string} - * @memberof SearchFacetResponseDto - */ - 'fieldName': string; /** * * @type {Array} * @memberof SearchFacetResponseDto */ 'counts': Array; + /** + * + * @type {string} + * @memberof SearchFacetResponseDto + */ + 'fieldName': string; } /** * @@ -2131,34 +2131,34 @@ export interface SearchResponseDto { export interface ServerInfoResponseDto { /** * - * @type {number} + * @type {string} * @memberof ServerInfoResponseDto */ - 'diskSizeRaw': number; - /** - * - * @type {number} - * @memberof ServerInfoResponseDto - */ - 'diskUseRaw': number; + 'diskAvailable': string; /** * * @type {number} * @memberof ServerInfoResponseDto */ 'diskAvailableRaw': number; + /** + * + * @type {string} + * @memberof ServerInfoResponseDto + */ + 'diskSize': string; + /** + * + * @type {number} + * @memberof ServerInfoResponseDto + */ + 'diskSizeRaw': number; /** * * @type {number} * @memberof ServerInfoResponseDto */ 'diskUsagePercentage': number; - /** - * - * @type {string} - * @memberof ServerInfoResponseDto - */ - 'diskSize': string; /** * * @type {string} @@ -2167,10 +2167,10 @@ export interface ServerInfoResponseDto { 'diskUse': string; /** * - * @type {string} + * @type {number} * @memberof ServerInfoResponseDto */ - 'diskAvailable': string; + 'diskUseRaw': number; } /** * @@ -2178,12 +2178,6 @@ export interface ServerInfoResponseDto { * @interface ServerMediaTypesResponseDto */ export interface ServerMediaTypesResponseDto { - /** - * - * @type {Array} - * @memberof ServerMediaTypesResponseDto - */ - 'video': Array; /** * * @type {Array} @@ -2196,6 +2190,12 @@ export interface ServerMediaTypesResponseDto { * @memberof ServerMediaTypesResponseDto */ 'sidecar': Array; + /** + * + * @type {Array} + * @memberof ServerMediaTypesResponseDto + */ + 'video': Array; } /** * @@ -2222,12 +2222,6 @@ export interface ServerStatsResponseDto { * @memberof ServerStatsResponseDto */ 'photos': number; - /** - * - * @type {number} - * @memberof ServerStatsResponseDto - */ - 'videos': number; /** * * @type {number} @@ -2240,6 +2234,12 @@ export interface ServerStatsResponseDto { * @memberof ServerStatsResponseDto */ 'usageByUser': Array; + /** + * + * @type {number} + * @memberof ServerStatsResponseDto + */ + 'videos': number; } /** * @@ -2274,22 +2274,28 @@ export interface ServerVersionReponseDto { export interface SharedLinkCreateDto { /** * - * @type {SharedLinkType} + * @type {string} * @memberof SharedLinkCreateDto */ - 'type': SharedLinkType; + 'albumId'?: string; + /** + * + * @type {boolean} + * @memberof SharedLinkCreateDto + */ + 'allowDownload'?: boolean; + /** + * + * @type {boolean} + * @memberof SharedLinkCreateDto + */ + 'allowUpload'?: boolean; /** * * @type {Array} * @memberof SharedLinkCreateDto */ 'assetIds'?: Array; - /** - * - * @type {string} - * @memberof SharedLinkCreateDto - */ - 'albumId'?: string; /** * * @type {string} @@ -2302,24 +2308,18 @@ export interface SharedLinkCreateDto { * @memberof SharedLinkCreateDto */ 'expiresAt'?: string | null; - /** - * - * @type {boolean} - * @memberof SharedLinkCreateDto - */ - 'allowUpload'?: boolean; - /** - * - * @type {boolean} - * @memberof SharedLinkCreateDto - */ - 'allowDownload'?: boolean; /** * * @type {boolean} * @memberof SharedLinkCreateDto */ 'showExif'?: boolean; + /** + * + * @type {SharedLinkType} + * @memberof SharedLinkCreateDto + */ + 'type': SharedLinkType; } @@ -2329,6 +2329,18 @@ export interface SharedLinkCreateDto { * @interface SharedLinkEditDto */ export interface SharedLinkEditDto { + /** + * + * @type {boolean} + * @memberof SharedLinkEditDto + */ + 'allowDownload'?: boolean; + /** + * + * @type {boolean} + * @memberof SharedLinkEditDto + */ + 'allowUpload'?: boolean; /** * * @type {string} @@ -2341,18 +2353,6 @@ export interface SharedLinkEditDto { * @memberof SharedLinkEditDto */ 'expiresAt'?: string | null; - /** - * - * @type {boolean} - * @memberof SharedLinkEditDto - */ - 'allowUpload'?: boolean; - /** - * - * @type {boolean} - * @memberof SharedLinkEditDto - */ - 'allowDownload'?: boolean; /** * * @type {boolean} @@ -2366,78 +2366,78 @@ export interface SharedLinkEditDto { * @interface SharedLinkResponseDto */ export interface SharedLinkResponseDto { - /** - * - * @type {SharedLinkType} - * @memberof SharedLinkResponseDto - */ - 'type': SharedLinkType; - /** - * - * @type {string} - * @memberof SharedLinkResponseDto - */ - 'id': string; - /** - * - * @type {string} - * @memberof SharedLinkResponseDto - */ - 'description': string | null; - /** - * - * @type {string} - * @memberof SharedLinkResponseDto - */ - 'userId': string; - /** - * - * @type {string} - * @memberof SharedLinkResponseDto - */ - 'key': string; - /** - * - * @type {string} - * @memberof SharedLinkResponseDto - */ - 'createdAt': string; - /** - * - * @type {string} - * @memberof SharedLinkResponseDto - */ - 'expiresAt': string | null; - /** - * - * @type {Array} - * @memberof SharedLinkResponseDto - */ - 'assets': Array; /** * * @type {AlbumResponseDto} * @memberof SharedLinkResponseDto */ 'album'?: AlbumResponseDto; - /** - * - * @type {boolean} - * @memberof SharedLinkResponseDto - */ - 'allowUpload': boolean; /** * * @type {boolean} * @memberof SharedLinkResponseDto */ 'allowDownload': boolean; + /** + * + * @type {boolean} + * @memberof SharedLinkResponseDto + */ + 'allowUpload': boolean; + /** + * + * @type {Array} + * @memberof SharedLinkResponseDto + */ + 'assets': Array; + /** + * + * @type {string} + * @memberof SharedLinkResponseDto + */ + 'createdAt': string; + /** + * + * @type {string} + * @memberof SharedLinkResponseDto + */ + 'description': string | null; + /** + * + * @type {string} + * @memberof SharedLinkResponseDto + */ + 'expiresAt': string | null; + /** + * + * @type {string} + * @memberof SharedLinkResponseDto + */ + 'id': string; + /** + * + * @type {string} + * @memberof SharedLinkResponseDto + */ + 'key': string; /** * * @type {boolean} * @memberof SharedLinkResponseDto */ 'showExif': boolean; + /** + * + * @type {SharedLinkType} + * @memberof SharedLinkResponseDto + */ + 'type': SharedLinkType; + /** + * + * @type {string} + * @memberof SharedLinkResponseDto + */ + 'userId': string; } @@ -2467,12 +2467,6 @@ export interface SignUpDto { * @memberof SignUpDto */ 'email': string; - /** - * - * @type {string} - * @memberof SignUpDto - */ - 'password': string; /** * * @type {string} @@ -2485,6 +2479,12 @@ export interface SignUpDto { * @memberof SignUpDto */ 'lastName': string; + /** + * + * @type {string} + * @memberof SignUpDto + */ + 'password': string; } /** * @@ -2497,13 +2497,13 @@ export interface SmartInfoResponseDto { * @type {Array} * @memberof SmartInfoResponseDto */ - 'tags'?: Array | null; + 'objects'?: Array | null; /** * * @type {Array} * @memberof SmartInfoResponseDto */ - 'objects'?: Array | null; + 'tags'?: Array | 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,34 +2556,22 @@ export interface SystemConfigFFmpegDto { 'crf': number; /** * - * @type {number} + * @type {string} * @memberof SystemConfigFFmpegDto */ - 'threads': number; - /** - * - * @type {VideoCodec} - * @memberof SystemConfigFFmpegDto - */ - 'targetVideoCodec': VideoCodec; - /** - * - * @type {AudioCodec} - * @memberof SystemConfigFFmpegDto - */ - 'targetAudioCodec': AudioCodec; - /** - * - * @type {TranscodePolicy} - * @memberof SystemConfigFFmpegDto - */ - 'transcode': TranscodePolicy; + 'maxBitrate': string; /** * * @type {string} * @memberof SystemConfigFFmpegDto */ 'preset': string; + /** + * + * @type {AudioCodec} + * @memberof SystemConfigFFmpegDto + */ + 'targetAudioCodec': AudioCodec; /** * * @type {string} @@ -2592,10 +2580,22 @@ export interface SystemConfigFFmpegDto { 'targetResolution': string; /** * - * @type {string} + * @type {VideoCodec} * @memberof SystemConfigFFmpegDto */ - 'maxBitrate': string; + 'targetVideoCodec': VideoCodec; + /** + * + * @type {number} + * @memberof SystemConfigFFmpegDto + */ + 'threads': number; + /** + * + * @type {TranscodePolicy} + * @memberof SystemConfigFFmpegDto + */ + 'transcode': TranscodePolicy; /** * * @type {boolean} @@ -2616,25 +2616,7 @@ export interface SystemConfigJobDto { * @type {JobSettingsDto} * @memberof SystemConfigJobDto */ - 'thumbnailGeneration': JobSettingsDto; - /** - * - * @type {JobSettingsDto} - * @memberof SystemConfigJobDto - */ - 'metadataExtraction': JobSettingsDto; - /** - * - * @type {JobSettingsDto} - * @memberof SystemConfigJobDto - */ - 'videoConversion': JobSettingsDto; - /** - * - * @type {JobSettingsDto} - * @memberof SystemConfigJobDto - */ - 'objectTagging': JobSettingsDto; + 'backgroundTask': JobSettingsDto; /** * * @type {JobSettingsDto} @@ -2646,31 +2628,49 @@ export interface SystemConfigJobDto { * @type {JobSettingsDto} * @memberof SystemConfigJobDto */ - 'storageTemplateMigration': JobSettingsDto; + 'metadataExtraction': JobSettingsDto; /** * * @type {JobSettingsDto} * @memberof SystemConfigJobDto */ - 'backgroundTask': JobSettingsDto; - /** - * - * @type {JobSettingsDto} - * @memberof SystemConfigJobDto - */ - 'search': JobSettingsDto; + 'objectTagging': JobSettingsDto; /** * * @type {JobSettingsDto} * @memberof SystemConfigJobDto */ 'recognizeFaces': JobSettingsDto; + /** + * + * @type {JobSettingsDto} + * @memberof SystemConfigJobDto + */ + 'search': JobSettingsDto; /** * * @type {JobSettingsDto} * @memberof SystemConfigJobDto */ 'sidecar': JobSettingsDto; + /** + * + * @type {JobSettingsDto} + * @memberof SystemConfigJobDto + */ + 'storageTemplateMigration': JobSettingsDto; + /** + * + * @type {JobSettingsDto} + * @memberof SystemConfigJobDto + */ + 'thumbnailGeneration': JobSettingsDto; + /** + * + * @type {JobSettingsDto} + * @memberof SystemConfigJobDto + */ + 'videoConversion': JobSettingsDto; } /** * @@ -2683,13 +2683,19 @@ export interface SystemConfigOAuthDto { * @type {boolean} * @memberof SystemConfigOAuthDto */ - 'enabled': boolean; + 'autoLaunch': boolean; + /** + * + * @type {boolean} + * @memberof SystemConfigOAuthDto + */ + 'autoRegister': boolean; /** * * @type {string} * @memberof SystemConfigOAuthDto */ - 'issuerUrl': string; + 'buttonText': string; /** * * @type {string} @@ -2702,36 +2708,18 @@ export interface SystemConfigOAuthDto { * @memberof SystemConfigOAuthDto */ 'clientSecret': string; - /** - * - * @type {string} - * @memberof SystemConfigOAuthDto - */ - 'scope': string; - /** - * - * @type {string} - * @memberof SystemConfigOAuthDto - */ - 'storageLabelClaim': string; - /** - * - * @type {string} - * @memberof SystemConfigOAuthDto - */ - 'buttonText': string; /** * * @type {boolean} * @memberof SystemConfigOAuthDto */ - 'autoRegister': boolean; + 'enabled': boolean; /** * - * @type {boolean} + * @type {string} * @memberof SystemConfigOAuthDto */ - 'autoLaunch': boolean; + 'issuerUrl': string; /** * * @type {boolean} @@ -2744,6 +2732,18 @@ export interface SystemConfigOAuthDto { * @memberof SystemConfigOAuthDto */ 'mobileRedirectUri': string; + /** + * + * @type {string} + * @memberof SystemConfigOAuthDto + */ + 'scope': string; + /** + * + * @type {string} + * @memberof SystemConfigOAuthDto + */ + 'storageLabelClaim': string; } /** * @@ -2777,18 +2777,6 @@ export interface SystemConfigStorageTemplateDto { * @interface SystemConfigTemplateStorageOptionDto */ export interface SystemConfigTemplateStorageOptionDto { - /** - * - * @type {Array} - * @memberof SystemConfigTemplateStorageOptionDto - */ - 'yearOptions': Array; - /** - * - * @type {Array} - * @memberof SystemConfigTemplateStorageOptionDto - */ - 'monthOptions': Array; /** * * @type {Array} @@ -2812,13 +2800,25 @@ export interface SystemConfigTemplateStorageOptionDto { * @type {Array} * @memberof SystemConfigTemplateStorageOptionDto */ - 'secondOptions': Array; + 'monthOptions': Array; /** * * @type {Array} * @memberof SystemConfigTemplateStorageOptionDto */ 'presetOptions': Array; + /** + * + * @type {Array} + * @memberof SystemConfigTemplateStorageOptionDto + */ + 'secondOptions': Array; + /** + * + * @type {Array} + * @memberof SystemConfigTemplateStorageOptionDto + */ + 'yearOptions': Array; } /** * @@ -2826,12 +2826,6 @@ export interface SystemConfigTemplateStorageOptionDto { * @interface TagResponseDto */ export interface TagResponseDto { - /** - * - * @type {TagTypeEnum} - * @memberof TagResponseDto - */ - 'type': TagTypeEnum; /** * * @type {string} @@ -2844,6 +2838,12 @@ export interface TagResponseDto { * @memberof TagResponseDto */ 'name': string; + /** + * + * @type {TagTypeEnum} + * @memberof TagResponseDto + */ + 'type': TagTypeEnum; /** * * @type {string} @@ -2939,16 +2939,10 @@ export interface UpdateAlbumDto { export interface UpdateAssetDto { /** * - * @type {Array} + * @type {string} * @memberof UpdateAssetDto */ - 'tagIds'?: Array; - /** - * - * @type {boolean} - * @memberof UpdateAssetDto - */ - 'isFavorite'?: boolean; + 'description'?: string; /** * * @type {boolean} @@ -2957,10 +2951,16 @@ export interface UpdateAssetDto { 'isArchived'?: boolean; /** * - * @type {string} + * @type {boolean} * @memberof UpdateAssetDto */ - 'description'?: string; + 'isFavorite'?: boolean; + /** + * + * @type {Array} + * @memberof UpdateAssetDto + */ + 'tagIds'?: Array; } /** * @@ -2981,12 +2981,6 @@ export interface UpdateTagDto { * @interface UpdateUserDto */ export interface UpdateUserDto { - /** - * - * @type {string} - * @memberof UpdateUserDto - */ - 'id': string; /** * * @type {string} @@ -2998,7 +2992,7 @@ export interface UpdateUserDto { * @type {string} * @memberof UpdateUserDto */ - 'password'?: string; + 'externalPath'?: string; /** * * @type {string} @@ -3010,31 +3004,37 @@ export interface UpdateUserDto { * @type {string} * @memberof UpdateUserDto */ - 'lastName'?: string; - /** - * - * @type {string} - * @memberof UpdateUserDto - */ - 'storageLabel'?: string; - /** - * - * @type {string} - * @memberof UpdateUserDto - */ - 'externalPath'?: string; + 'id': string; /** * * @type {boolean} * @memberof UpdateUserDto */ 'isAdmin'?: boolean; + /** + * + * @type {string} + * @memberof UpdateUserDto + */ + 'lastName'?: string; + /** + * + * @type {string} + * @memberof UpdateUserDto + */ + 'password'?: string; /** * * @type {boolean} * @memberof UpdateUserDto */ 'shouldChangePassword'?: boolean; + /** + * + * @type {string} + * @memberof UpdateUserDto + */ + 'storageLabel'?: string; } /** * @@ -3042,24 +3042,6 @@ export interface UpdateUserDto { * @interface UsageByUserDto */ export interface UsageByUserDto { - /** - * - * @type {string} - * @memberof UsageByUserDto - */ - 'userId': string; - /** - * - * @type {string} - * @memberof UsageByUserDto - */ - 'userFirstName': string; - /** - * - * @type {string} - * @memberof UsageByUserDto - */ - 'userLastName': string; /** * * @type {number} @@ -3071,13 +3053,31 @@ export interface UsageByUserDto { * @type {number} * @memberof UsageByUserDto */ - 'videos': number; + 'usage': number; + /** + * + * @type {string} + * @memberof UsageByUserDto + */ + 'userFirstName': string; + /** + * + * @type {string} + * @memberof UsageByUserDto + */ + 'userId': string; + /** + * + * @type {string} + * @memberof UsageByUserDto + */ + 'userLastName': string; /** * * @type {number} * @memberof UsageByUserDto */ - 'usage': number; + 'videos': number; } /** * @@ -3103,19 +3103,43 @@ export interface UserResponseDto { * @type {string} * @memberof UserResponseDto */ - 'id': string; + 'createdAt': string; + /** + * + * @type {string} + * @memberof UserResponseDto + */ + 'deletedAt': string | null; /** * * @type {string} * @memberof UserResponseDto */ 'email': string; + /** + * + * @type {string} + * @memberof UserResponseDto + */ + 'externalPath': string | null; /** * * @type {string} * @memberof UserResponseDto */ 'firstName': string; + /** + * + * @type {string} + * @memberof UserResponseDto + */ + 'id': string; + /** + * + * @type {boolean} + * @memberof UserResponseDto + */ + 'isAdmin': boolean; /** * * @type {string} @@ -3127,13 +3151,7 @@ export interface UserResponseDto { * @type {string} * @memberof UserResponseDto */ - 'storageLabel': string | null; - /** - * - * @type {string} - * @memberof UserResponseDto - */ - 'externalPath': string | null; + 'oauthId': string; /** * * @type {string} @@ -3146,36 +3164,18 @@ export interface UserResponseDto { * @memberof UserResponseDto */ 'shouldChangePassword': boolean; - /** - * - * @type {boolean} - * @memberof UserResponseDto - */ - 'isAdmin': boolean; /** * * @type {string} * @memberof UserResponseDto */ - 'createdAt': string; - /** - * - * @type {string} - * @memberof UserResponseDto - */ - 'deletedAt': string | null; + 'storageLabel': string | null; /** * * @type {string} * @memberof UserResponseDto */ 'updatedAt': string; - /** - * - * @type {string} - * @memberof UserResponseDto - */ - 'oauthId': string; } /** * @@ -5776,16 +5776,16 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {string} fileModifiedAt * @param {boolean} isFavorite * @param {string} [key] + * @param {string} [duration] + * @param {boolean} [isArchived] + * @param {boolean} [isReadOnly] + * @param {boolean} [isVisible] * @param {File} [livePhotoData] * @param {File} [sidecarData] - * @param {boolean} [isReadOnly] - * @param {boolean} [isArchived] - * @param {boolean} [isVisible] - * @param {string} [duration] * @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 => { + 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 => { // 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 {string} [duration] + * @param {boolean} [isArchived] + * @param {boolean} [isReadOnly] + * @param {boolean} [isVisible] * @param {File} [livePhotoData] * @param {File} [sidecarData] - * @param {boolean} [isReadOnly] - * @param {boolean} [isArchived] - * @param {boolean} [isVisible] - * @param {string} [duration] * @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> { - 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> { + 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 {string} [duration] + * @param {boolean} [isArchived] + * @param {boolean} [isReadOnly] + * @param {boolean} [isVisible] * @param {File} [livePhotoData] * @param {File} [sidecarData] - * @param {boolean} [isReadOnly] - * @param {boolean} [isArchived] - * @param {boolean} [isVisible] - * @param {string} [duration] * @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 { - 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 { + return localVarFp.uploadFile(assetData, deviceAssetId, deviceId, fileCreatedAt, fileModifiedAt, isFavorite, key, duration, isArchived, isReadOnly, isVisible, livePhotoData, sidecarData, options).then((request) => request(axios, basePath)); }, }; }; @@ -6918,24 +6918,10 @@ export interface AssetApiUploadFileRequest { /** * - * @type {File} + * @type {string} * @memberof AssetApiUploadFile */ - readonly livePhotoData?: File - - /** - * - * @type {File} - * @memberof AssetApiUploadFile - */ - readonly sidecarData?: File - - /** - * - * @type {boolean} - * @memberof AssetApiUploadFile - */ - readonly isReadOnly?: boolean + readonly duration?: string /** * @@ -6944,6 +6930,13 @@ export interface AssetApiUploadFileRequest { */ readonly isArchived?: boolean + /** + * + * @type {boolean} + * @memberof AssetApiUploadFile + */ + readonly isReadOnly?: boolean + /** * * @type {boolean} @@ -6953,10 +6946,17 @@ export interface AssetApiUploadFileRequest { /** * - * @type {string} + * @type {File} * @memberof AssetApiUploadFile */ - readonly duration?: string + readonly livePhotoData?: File + + /** + * + * @type {File} + * @memberof AssetApiUploadFile + */ + 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)); } }