2022-07-13 14:23:48 +02:00
|
|
|
//
|
|
|
|
// AUTO-GENERATED FILE, DO NOT MODIFY!
|
|
|
|
//
|
|
|
|
// @dart=2.12
|
|
|
|
|
|
|
|
// ignore_for_file: unused_element, unused_import
|
|
|
|
// ignore_for_file: always_put_required_named_parameters_first
|
|
|
|
// ignore_for_file: constant_identifier_names
|
|
|
|
// ignore_for_file: lines_longer_than_80_chars
|
|
|
|
|
|
|
|
import 'package:openapi/api.dart';
|
|
|
|
import 'package:test/test.dart';
|
|
|
|
|
|
|
|
|
|
|
|
/// tests for AssetApi
|
|
|
|
void main() {
|
|
|
|
// final instance = AssetApi();
|
|
|
|
|
|
|
|
group('tests for AssetApi', () {
|
2023-05-24 23:08:21 +02:00
|
|
|
// Checks if assets exist by checksums
|
|
|
|
//
|
2023-11-04 03:33:15 +02:00
|
|
|
//Future<AssetBulkUploadCheckResponseDto> checkBulkUpload(AssetBulkUploadCheckDto assetBulkUploadCheckDto) async
|
|
|
|
test('test checkBulkUpload', () async {
|
2023-05-24 23:08:21 +02:00
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
2022-12-07 00:10:04 +02:00
|
|
|
// Checks if multiple assets exist on the server and returns all existing - used by background backup
|
|
|
|
//
|
|
|
|
//Future<CheckExistingAssetsResponseDto> checkExistingAssets(CheckExistingAssetsDto checkExistingAssetsDto) async
|
|
|
|
test('test checkExistingAssets', () async {
|
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
2023-10-06 09:01:14 +02:00
|
|
|
//Future deleteAssets(AssetBulkDeleteDto assetBulkDeleteDto) async
|
|
|
|
test('test deleteAssets', () async {
|
2022-07-13 14:23:48 +02:00
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
2024-01-26 16:19:13 +02:00
|
|
|
//Future<MultipartFile> downloadArchiveOld(AssetIdsDto assetIdsDto, { String key }) async
|
|
|
|
test('test downloadArchiveOld', () async {
|
2023-01-09 22:16:08 +02:00
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
2024-01-26 16:19:13 +02:00
|
|
|
//Future<MultipartFile> downloadFileOld(String id, { String key }) async
|
|
|
|
test('test downloadFileOld', () async {
|
2022-12-07 00:10:04 +02:00
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
2024-01-26 18:48:37 +02:00
|
|
|
//Future emptyTrashOld() async
|
|
|
|
test('test emptyTrashOld', () async {
|
2023-10-06 09:01:14 +02:00
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
2022-07-13 14:23:48 +02:00
|
|
|
// Get all AssetEntity belong to the user
|
|
|
|
//
|
2024-01-22 18:49:51 +02:00
|
|
|
//Future<List<AssetResponseDto>> getAllAssets({ String ifNoneMatch, bool isArchived, bool isFavorite, int skip, int take, DateTime updatedAfter, DateTime updatedBefore, String userId }) async
|
2022-07-13 14:23:48 +02:00
|
|
|
test('test getAllAssets', () async {
|
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
2023-11-25 17:46:20 +02:00
|
|
|
// Get all asset of a device that are in the database, ID only.
|
|
|
|
//
|
|
|
|
//Future<List<String>> getAllUserAssetsByDeviceId(String deviceId) async
|
|
|
|
test('test getAllUserAssetsByDeviceId', () async {
|
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
2022-07-13 14:23:48 +02:00
|
|
|
// Get a single asset's information
|
|
|
|
//
|
2023-06-02 04:19:25 +02:00
|
|
|
//Future<AssetResponseDto> getAssetById(String id, { String key }) async
|
2022-07-13 14:23:48 +02:00
|
|
|
test('test getAssetById', () async {
|
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
2024-01-25 19:52:21 +02:00
|
|
|
//Future<AssetResponseDto> getAssetInfo(String id, { String key }) async
|
|
|
|
test('test getAssetInfo', () async {
|
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
2023-07-14 15:30:17 +02:00
|
|
|
//Future<List<String>> getAssetSearchTerms() async
|
|
|
|
test('test getAssetSearchTerms', () async {
|
2022-12-07 00:10:04 +02:00
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
2023-11-04 03:33:15 +02:00
|
|
|
//Future<AssetStatsResponseDto> getAssetStatistics({ bool isArchived, bool isFavorite, bool isTrashed }) async
|
|
|
|
test('test getAssetStatistics', () async {
|
2022-07-13 14:23:48 +02:00
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
2023-07-07 00:25:56 +02:00
|
|
|
//Future<MultipartFile> getAssetThumbnail(String id, { ThumbnailFormat format, String key }) async
|
2022-07-13 14:23:48 +02:00
|
|
|
test('test getAssetThumbnail', () async {
|
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
|
|
|
//Future<List<CuratedLocationsResponseDto>> getCuratedLocations() async
|
|
|
|
test('test getCuratedLocations', () async {
|
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
|
|
|
//Future<List<CuratedObjectsResponseDto>> getCuratedObjects() async
|
|
|
|
test('test getCuratedObjects', () async {
|
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
2024-01-26 16:19:13 +02:00
|
|
|
//Future<DownloadResponseDto> getDownloadInfoOld(DownloadInfoDto downloadInfoDto, { String key }) async
|
|
|
|
test('test getDownloadInfoOld', () async {
|
2023-06-30 18:24:28 +02:00
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
2024-01-22 18:49:51 +02:00
|
|
|
//Future<List<MapMarkerResponseDto>> getMapMarkers({ DateTime fileCreatedAfter, DateTime fileCreatedBefore, bool isArchived, bool isFavorite }) async
|
2023-05-06 03:33:30 +02:00
|
|
|
test('test getMapMarkers', () async {
|
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
2023-10-05 00:11:11 +02:00
|
|
|
//Future<List<MemoryLaneResponseDto>> getMemoryLane(int day, int month) async
|
2023-06-15 03:47:18 +02:00
|
|
|
test('test getMemoryLane', () async {
|
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
2023-09-23 17:28:55 +02:00
|
|
|
//Future<List<AssetResponseDto>> getRandom({ num count }) async
|
|
|
|
test('test getRandom', () async {
|
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
2024-01-22 18:49:51 +02:00
|
|
|
//Future<List<AssetResponseDto>> getTimeBucket(TimeBucketSize size, String timeBucket, { String albumId, bool isArchived, bool isFavorite, bool isTrashed, String key, String personId, String userId, bool withPartners, bool withStacked }) async
|
2023-11-04 03:33:15 +02:00
|
|
|
test('test getTimeBucket', () async {
|
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
2024-01-22 18:49:51 +02:00
|
|
|
//Future<List<TimeBucketResponseDto>> getTimeBuckets(TimeBucketSize size, { String albumId, bool isArchived, bool isFavorite, bool isTrashed, String key, String personId, String userId, bool withPartners, bool withStacked }) async
|
2023-08-04 23:07:15 +02:00
|
|
|
test('test getTimeBuckets', () async {
|
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
2024-01-26 18:48:37 +02:00
|
|
|
//Future restoreAssetsOld(BulkIdsDto bulkIdsDto) async
|
|
|
|
test('test restoreAssetsOld', () async {
|
2023-10-06 09:01:14 +02:00
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
2024-01-26 18:48:37 +02:00
|
|
|
//Future restoreTrashOld() async
|
|
|
|
test('test restoreTrashOld', () async {
|
2023-10-06 09:01:14 +02:00
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
2023-08-18 16:31:48 +02:00
|
|
|
//Future runAssetJobs(AssetJobsDto assetJobsDto) async
|
|
|
|
test('test runAssetJobs', () async {
|
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
2024-01-22 18:49:51 +02:00
|
|
|
//Future<List<AssetResponseDto>> searchAssets({ String checksum, String city, String country, DateTime createdAfter, DateTime createdBefore, String deviceAssetId, String deviceId, String encodedVideoPath, String id, bool isArchived, bool isEncoded, bool isExternal, bool isFavorite, bool isMotion, bool isOffline, bool isReadOnly, bool isVisible, String lensModel, String libraryId, String make, String model, AssetOrder order, String originalFileName, String originalPath, num page, String resizePath, num size, String state, DateTime takenAfter, DateTime takenBefore, DateTime trashedAfter, DateTime trashedBefore, AssetTypeEnum type, DateTime updatedAfter, DateTime updatedBefore, String webpPath, bool withDeleted, bool withExif, bool withPeople, bool withStacked }) async
|
2023-11-15 00:47:15 +02:00
|
|
|
test('test searchAssets', () async {
|
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
2023-07-07 00:25:56 +02:00
|
|
|
//Future<MultipartFile> serveFile(String id, { bool isThumb, bool isWeb, String key }) async
|
2022-07-13 14:23:48 +02:00
|
|
|
test('test serveFile', () async {
|
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
2023-06-02 04:19:25 +02:00
|
|
|
//Future<AssetResponseDto> updateAsset(String id, UpdateAssetDto updateAssetDto) async
|
2022-12-07 00:10:04 +02:00
|
|
|
test('test updateAsset', () async {
|
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
2023-08-16 22:04:55 +02:00
|
|
|
//Future updateAssets(AssetBulkUpdateDto assetBulkUpdateDto) async
|
|
|
|
test('test updateAssets', () async {
|
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
2023-10-22 04:38:07 +02:00
|
|
|
//Future updateStackParent(UpdateStackParentDto updateStackParentDto) async
|
|
|
|
test('test updateStackParent', () async {
|
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
2023-11-06 16:04:39 +02:00
|
|
|
//Future<AssetFileUploadResponseDto> uploadFile(MultipartFile assetData, String deviceAssetId, String deviceId, DateTime fileCreatedAt, DateTime fileModifiedAt, { String key, String duration, bool isArchived, bool isExternal, bool isFavorite, bool isOffline, bool isReadOnly, bool isVisible, String libraryId, MultipartFile livePhotoData, MultipartFile sidecarData }) async
|
2022-07-13 14:23:48 +02:00
|
|
|
test('test uploadFile', () async {
|
|
|
|
// TODO
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
}
|