| 
									
										
										
										
											2022-07-13 07:23:48 -05: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-02-15 15:21:22 -06:00
										 |  |  |     // 
 | 
					
						
							|  |  |  |     //
 | 
					
						
							|  |  |  |     //Future<SharedLinkResponseDto> addAssetsToSharedLink(AddAssetsDto addAssetsDto) async
 | 
					
						
							|  |  |  |     test('test addAssetsToSharedLink', () async { | 
					
						
							|  |  |  |       // TODO
 | 
					
						
							|  |  |  |     }); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-13 07:23:48 -05:00
										 |  |  |     // Check duplicated asset before uploading - for Web upload used
 | 
					
						
							|  |  |  |     //
 | 
					
						
							|  |  |  |     //Future<CheckDuplicateAssetResponseDto> checkDuplicateAsset(CheckDuplicateAssetDto checkDuplicateAssetDto) async
 | 
					
						
							|  |  |  |     test('test checkDuplicateAsset', () async { | 
					
						
							|  |  |  |       // TODO
 | 
					
						
							|  |  |  |     }); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-12-06 16:10:04 -06: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-01-14 23:49:47 -06:00
										 |  |  |     // 
 | 
					
						
							|  |  |  |     //
 | 
					
						
							|  |  |  |     //Future<SharedLinkResponseDto> createAssetsSharedLink(CreateAssetsShareLinkDto createAssetsShareLinkDto) async
 | 
					
						
							|  |  |  |     test('test createAssetsSharedLink', () async { | 
					
						
							|  |  |  |       // TODO
 | 
					
						
							|  |  |  |     }); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     // 
 | 
					
						
							|  |  |  |     //
 | 
					
						
							| 
									
										
										
										
											2022-12-06 16:10:04 -06:00
										 |  |  |     //Future<List<DeleteAssetResponseDto>> deleteAsset(DeleteAssetDto deleteAssetDto) async
 | 
					
						
							| 
									
										
										
										
											2022-07-13 07:23:48 -05:00
										 |  |  |     test('test deleteAsset', () async { | 
					
						
							|  |  |  |       // TODO
 | 
					
						
							|  |  |  |     }); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-01-14 23:49:47 -06:00
										 |  |  |     // 
 | 
					
						
							|  |  |  |     //
 | 
					
						
							| 
									
										
										
										
											2023-02-03 10:16:25 -05:00
										 |  |  |     //Future<Object> downloadFile(String assetId) async
 | 
					
						
							| 
									
										
										
										
											2022-07-13 07:23:48 -05:00
										 |  |  |     test('test downloadFile', () async { | 
					
						
							|  |  |  |       // TODO
 | 
					
						
							|  |  |  |     }); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-01-14 23:49:47 -06:00
										 |  |  |     // 
 | 
					
						
							|  |  |  |     //
 | 
					
						
							| 
									
										
										
										
											2023-01-09 14:16:08 -06:00
										 |  |  |     //Future<Object> downloadFiles(DownloadFilesDto downloadFilesDto) async
 | 
					
						
							|  |  |  |     test('test downloadFiles', () async { | 
					
						
							|  |  |  |       // TODO
 | 
					
						
							|  |  |  |     }); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-01-23 22:46:37 -05:00
										 |  |  |     // Current this is not used in any UI element
 | 
					
						
							| 
									
										
										
										
											2023-01-14 23:49:47 -06:00
										 |  |  |     //
 | 
					
						
							| 
									
										
										
										
											2022-12-06 16:10:04 -06:00
										 |  |  |     //Future<Object> downloadLibrary({ num skip }) async
 | 
					
						
							|  |  |  |     test('test downloadLibrary', () async { | 
					
						
							|  |  |  |       // TODO
 | 
					
						
							|  |  |  |     }); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-13 07:23:48 -05:00
										 |  |  |     // Get all AssetEntity belong to the user
 | 
					
						
							|  |  |  |     //
 | 
					
						
							| 
									
										
										
										
											2023-01-23 23:16:20 -05:00
										 |  |  |     //Future<List<AssetResponseDto>> getAllAssets({ bool isFavorite, num skip, String ifNoneMatch }) async
 | 
					
						
							| 
									
										
										
										
											2022-07-13 07:23:48 -05:00
										 |  |  |     test('test getAllAssets', () async { | 
					
						
							|  |  |  |       // TODO
 | 
					
						
							|  |  |  |     }); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     // Get a single asset's information
 | 
					
						
							|  |  |  |     //
 | 
					
						
							|  |  |  |     //Future<AssetResponseDto> getAssetById(String assetId) async
 | 
					
						
							|  |  |  |     test('test getAssetById', () async { | 
					
						
							|  |  |  |       // TODO
 | 
					
						
							|  |  |  |     }); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-01-14 23:49:47 -06:00
										 |  |  |     // 
 | 
					
						
							|  |  |  |     //
 | 
					
						
							| 
									
										
										
										
											2022-12-06 16:10:04 -06:00
										 |  |  |     //Future<List<AssetResponseDto>> getAssetByTimeBucket(GetAssetByTimeBucketDto getAssetByTimeBucketDto) async
 | 
					
						
							|  |  |  |     test('test getAssetByTimeBucket', () async { | 
					
						
							|  |  |  |       // TODO
 | 
					
						
							|  |  |  |     }); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-01-14 23:49:47 -06:00
										 |  |  |     // 
 | 
					
						
							|  |  |  |     //
 | 
					
						
							| 
									
										
										
										
											2022-12-06 16:10:04 -06:00
										 |  |  |     //Future<AssetCountByTimeBucketResponseDto> getAssetCountByTimeBucket(GetAssetCountByTimeBucketDto getAssetCountByTimeBucketDto) async
 | 
					
						
							|  |  |  |     test('test getAssetCountByTimeBucket', () async { | 
					
						
							|  |  |  |       // TODO
 | 
					
						
							|  |  |  |     }); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-01-14 23:49:47 -06:00
										 |  |  |     // 
 | 
					
						
							|  |  |  |     //
 | 
					
						
							| 
									
										
										
										
											2022-12-06 16:10:04 -06:00
										 |  |  |     //Future<AssetCountByUserIdResponseDto> getAssetCountByUserId() async
 | 
					
						
							|  |  |  |     test('test getAssetCountByUserId', () async { | 
					
						
							|  |  |  |       // TODO
 | 
					
						
							|  |  |  |     }); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-01-14 23:49:47 -06:00
										 |  |  |     // 
 | 
					
						
							|  |  |  |     //
 | 
					
						
							| 
									
										
										
										
											2022-12-06 16:10:04 -06:00
										 |  |  |     //Future<List<String>> getAssetSearchTerms() async
 | 
					
						
							| 
									
										
										
										
											2022-07-13 07:23:48 -05:00
										 |  |  |     test('test getAssetSearchTerms', () async { | 
					
						
							|  |  |  |       // TODO
 | 
					
						
							|  |  |  |     }); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-01-14 23:49:47 -06:00
										 |  |  |     // 
 | 
					
						
							|  |  |  |     //
 | 
					
						
							| 
									
										
										
										
											2022-12-06 16:10:04 -06:00
										 |  |  |     //Future<Object> getAssetThumbnail(String assetId, { ThumbnailFormat format }) async
 | 
					
						
							| 
									
										
										
										
											2022-07-13 07:23:48 -05:00
										 |  |  |     test('test getAssetThumbnail', () async { | 
					
						
							|  |  |  |       // TODO
 | 
					
						
							|  |  |  |     }); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-01-14 23:49:47 -06:00
										 |  |  |     // 
 | 
					
						
							|  |  |  |     //
 | 
					
						
							| 
									
										
										
										
											2022-07-13 07:23:48 -05:00
										 |  |  |     //Future<List<CuratedLocationsResponseDto>> getCuratedLocations() async
 | 
					
						
							|  |  |  |     test('test getCuratedLocations', () async { | 
					
						
							|  |  |  |       // TODO
 | 
					
						
							|  |  |  |     }); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-01-14 23:49:47 -06:00
										 |  |  |     // 
 | 
					
						
							|  |  |  |     //
 | 
					
						
							| 
									
										
										
										
											2022-07-13 07:23:48 -05:00
										 |  |  |     //Future<List<CuratedObjectsResponseDto>> getCuratedObjects() async
 | 
					
						
							|  |  |  |     test('test getCuratedObjects', () async { | 
					
						
							|  |  |  |       // TODO
 | 
					
						
							|  |  |  |     }); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     // Get all asset of a device that are in the database, ID only.
 | 
					
						
							|  |  |  |     //
 | 
					
						
							|  |  |  |     //Future<List<String>> getUserAssetsByDeviceId(String deviceId) async
 | 
					
						
							|  |  |  |     test('test getUserAssetsByDeviceId', () async { | 
					
						
							|  |  |  |       // TODO
 | 
					
						
							|  |  |  |     }); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-02-15 15:21:22 -06:00
										 |  |  |     // 
 | 
					
						
							|  |  |  |     //
 | 
					
						
							|  |  |  |     //Future<SharedLinkResponseDto> removeAssetsFromSharedLink(RemoveAssetsDto removeAssetsDto) async
 | 
					
						
							|  |  |  |     test('test removeAssetsFromSharedLink', () async { | 
					
						
							|  |  |  |       // TODO
 | 
					
						
							|  |  |  |     }); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-01-14 23:49:47 -06:00
										 |  |  |     // 
 | 
					
						
							|  |  |  |     //
 | 
					
						
							| 
									
										
										
										
											2022-07-13 07:23:48 -05:00
										 |  |  |     //Future<List<AssetResponseDto>> searchAsset(SearchAssetDto searchAssetDto) async
 | 
					
						
							|  |  |  |     test('test searchAsset', () async { | 
					
						
							|  |  |  |       // TODO
 | 
					
						
							|  |  |  |     }); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-01-14 23:49:47 -06:00
										 |  |  |     // 
 | 
					
						
							|  |  |  |     //
 | 
					
						
							| 
									
										
										
										
											2022-12-06 16:10:04 -06:00
										 |  |  |     //Future<Object> serveFile(String assetId, { bool isThumb, bool isWeb }) async
 | 
					
						
							| 
									
										
										
										
											2022-07-13 07:23:48 -05:00
										 |  |  |     test('test serveFile', () async { | 
					
						
							|  |  |  |       // TODO
 | 
					
						
							|  |  |  |     }); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-12-06 16:10:04 -06:00
										 |  |  |     // Update an asset
 | 
					
						
							|  |  |  |     //
 | 
					
						
							|  |  |  |     //Future<AssetResponseDto> updateAsset(String assetId, UpdateAssetDto updateAssetDto) async
 | 
					
						
							|  |  |  |     test('test updateAsset', () async { | 
					
						
							|  |  |  |       // TODO
 | 
					
						
							|  |  |  |     }); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-01-14 23:49:47 -06:00
										 |  |  |     // 
 | 
					
						
							|  |  |  |     //
 | 
					
						
							| 
									
										
										
										
											2023-02-12 06:54:07 +01:00
										 |  |  |     //Future<AssetFileUploadResponseDto> uploadFile(AssetTypeEnum assetType, MultipartFile assetData, String deviceAssetId, String deviceId, String createdAt, String modifiedAt, bool isFavorite, String fileExtension, { MultipartFile livePhotoData, bool isVisible, String duration }) async
 | 
					
						
							| 
									
										
										
										
											2022-07-13 07:23:48 -05:00
										 |  |  |     test('test uploadFile', () async { | 
					
						
							|  |  |  |       // TODO
 | 
					
						
							|  |  |  |     }); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   }); | 
					
						
							|  |  |  | } |