chore(server): update openapi (#2205)

This commit is contained in:
Michel Heusschen 2023-04-09 04:26:09 +02:00 committed by GitHub
parent 91e27affeb
commit 983abf5e14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
65 changed files with 756 additions and 1458 deletions

View file

@ -16,10 +16,7 @@ class AlbumApi {
final ApiClient apiClient;
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'PUT /album/{albumId}/assets' operation and returns the [Response].
/// Parameters:
///
/// * [String] albumId (required):
@ -57,8 +54,6 @@ class AlbumApi {
);
}
///
///
/// Parameters:
///
/// * [String] albumId (required):
@ -81,10 +76,7 @@ class AlbumApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'PUT /album/{albumId}/users' operation and returns the [Response].
/// Parameters:
///
/// * [String] albumId (required):
@ -116,8 +108,6 @@ class AlbumApi {
);
}
///
///
/// Parameters:
///
/// * [String] albumId (required):
@ -138,10 +128,7 @@ class AlbumApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'POST /album' operation and returns the [Response].
/// Parameters:
///
/// * [CreateAlbumDto] createAlbumDto (required):
@ -170,8 +157,6 @@ class AlbumApi {
);
}
///
///
/// Parameters:
///
/// * [CreateAlbumDto] createAlbumDto (required):
@ -190,10 +175,7 @@ class AlbumApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'POST /album/create-shared-link' operation and returns the [Response].
/// Parameters:
///
/// * [CreateAlbumShareLinkDto] createAlbumShareLinkDto (required):
@ -222,8 +204,6 @@ class AlbumApi {
);
}
///
///
/// Parameters:
///
/// * [CreateAlbumShareLinkDto] createAlbumShareLinkDto (required):
@ -242,10 +222,7 @@ class AlbumApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'DELETE /album/{albumId}' operation and returns the [Response].
/// Parameters:
///
/// * [String] albumId (required):
@ -275,8 +252,6 @@ class AlbumApi {
);
}
///
///
/// Parameters:
///
/// * [String] albumId (required):
@ -287,10 +262,7 @@ class AlbumApi {
}
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'GET /album/{albumId}/download' operation and returns the [Response].
/// Parameters:
///
/// * [String] albumId (required):
@ -336,8 +308,6 @@ class AlbumApi {
);
}
///
///
/// Parameters:
///
/// * [String] albumId (required):
@ -362,9 +332,7 @@ class AlbumApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'GET /album/count-by-user-id' operation and returns the [Response].
Future<Response> getAlbumCountByUserIdWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/album/count-by-user-id';
@ -390,7 +358,6 @@ class AlbumApi {
);
}
///
Future<AlbumCountResponseDto?> getAlbumCountByUserId() async {
final response = await getAlbumCountByUserIdWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@ -406,10 +373,7 @@ class AlbumApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'GET /album/{albumId}' operation and returns the [Response].
/// Parameters:
///
/// * [String] albumId (required):
@ -445,8 +409,6 @@ class AlbumApi {
);
}
///
///
/// Parameters:
///
/// * [String] albumId (required):
@ -467,10 +429,7 @@ class AlbumApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'GET /album' operation and returns the [Response].
/// Parameters:
///
/// * [bool] shared:
@ -509,8 +468,6 @@ class AlbumApi {
);
}
///
///
/// Parameters:
///
/// * [bool] shared:
@ -535,10 +492,7 @@ class AlbumApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'DELETE /album/{albumId}/assets' operation and returns the [Response].
/// Parameters:
///
/// * [String] albumId (required):
@ -570,8 +524,6 @@ class AlbumApi {
);
}
///
///
/// Parameters:
///
/// * [String] albumId (required):
@ -592,10 +544,7 @@ class AlbumApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'DELETE /album/{albumId}/user/{userId}' operation and returns the [Response].
/// Parameters:
///
/// * [String] albumId (required):
@ -628,8 +577,6 @@ class AlbumApi {
);
}
///
///
/// Parameters:
///
/// * [String] albumId (required):
@ -642,10 +589,7 @@ class AlbumApi {
}
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'PATCH /album/{albumId}' operation and returns the [Response].
/// Parameters:
///
/// * [String] albumId (required):
@ -677,8 +621,6 @@ class AlbumApi {
);
}
///
///
/// Parameters:
///
/// * [String] albumId (required):

View file

@ -16,10 +16,7 @@ class APIKeyApi {
final ApiClient apiClient;
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'POST /api-key' operation and returns the [Response].
/// Parameters:
///
/// * [APIKeyCreateDto] aPIKeyCreateDto (required):
@ -48,8 +45,6 @@ class APIKeyApi {
);
}
///
///
/// Parameters:
///
/// * [APIKeyCreateDto] aPIKeyCreateDto (required):
@ -68,10 +63,7 @@ class APIKeyApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'DELETE /api-key/{id}' operation and returns the [Response].
/// Parameters:
///
/// * [String] id (required):
@ -101,8 +93,6 @@ class APIKeyApi {
);
}
///
///
/// Parameters:
///
/// * [String] id (required):
@ -113,10 +103,7 @@ class APIKeyApi {
}
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'GET /api-key/{id}' operation and returns the [Response].
/// Parameters:
///
/// * [String] id (required):
@ -146,8 +133,6 @@ class APIKeyApi {
);
}
///
///
/// Parameters:
///
/// * [String] id (required):
@ -166,9 +151,7 @@ class APIKeyApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'GET /api-key' operation and returns the [Response].
Future<Response> getKeysWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/api-key';
@ -194,7 +177,6 @@ class APIKeyApi {
);
}
///
Future<List<APIKeyResponseDto>?> getKeys() async {
final response = await getKeysWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@ -213,10 +195,7 @@ class APIKeyApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'PUT /api-key/{id}' operation and returns the [Response].
/// Parameters:
///
/// * [String] id (required):
@ -248,8 +227,6 @@ class APIKeyApi {
);
}
///
///
/// Parameters:
///
/// * [String] id (required):

View file

@ -16,10 +16,7 @@ class AssetApi {
final ApiClient apiClient;
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'PATCH /asset/shared-link/add' operation and returns the [Response].
/// Parameters:
///
/// * [AddAssetsDto] addAssetsDto (required):
@ -54,8 +51,6 @@ class AssetApi {
);
}
///
///
/// Parameters:
///
/// * [AddAssetsDto] addAssetsDto (required):
@ -188,10 +183,7 @@ class AssetApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'POST /asset/shared-link' operation and returns the [Response].
/// Parameters:
///
/// * [CreateAssetsShareLinkDto] createAssetsShareLinkDto (required):
@ -220,8 +212,6 @@ class AssetApi {
);
}
///
///
/// Parameters:
///
/// * [CreateAssetsShareLinkDto] createAssetsShareLinkDto (required):
@ -240,10 +230,7 @@ class AssetApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'DELETE /asset' operation and returns the [Response].
/// Parameters:
///
/// * [DeleteAssetDto] deleteAssetDto (required):
@ -272,8 +259,6 @@ class AssetApi {
);
}
///
///
/// Parameters:
///
/// * [DeleteAssetDto] deleteAssetDto (required):
@ -295,10 +280,7 @@ class AssetApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'GET /asset/download/{assetId}' operation and returns the [Response].
/// Parameters:
///
/// * [String] assetId (required):
@ -334,8 +316,6 @@ class AssetApi {
);
}
///
///
/// Parameters:
///
/// * [String] assetId (required):
@ -356,10 +336,7 @@ class AssetApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'POST /asset/download-files' operation and returns the [Response].
/// Parameters:
///
/// * [DownloadFilesDto] downloadFilesDto (required):
@ -394,8 +371,6 @@ class AssetApi {
);
}
///
///
/// Parameters:
///
/// * [DownloadFilesDto] downloadFilesDto (required):
@ -623,10 +598,7 @@ class AssetApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'POST /asset/time-bucket' operation and returns the [Response].
/// Parameters:
///
/// * [GetAssetByTimeBucketDto] getAssetByTimeBucketDto (required):
@ -655,8 +627,6 @@ class AssetApi {
);
}
///
///
/// Parameters:
///
/// * [GetAssetByTimeBucketDto] getAssetByTimeBucketDto (required):
@ -678,10 +648,7 @@ class AssetApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'POST /asset/count-by-time-bucket' operation and returns the [Response].
/// Parameters:
///
/// * [GetAssetCountByTimeBucketDto] getAssetCountByTimeBucketDto (required):
@ -710,8 +677,6 @@ class AssetApi {
);
}
///
///
/// Parameters:
///
/// * [GetAssetCountByTimeBucketDto] getAssetCountByTimeBucketDto (required):
@ -730,9 +695,7 @@ class AssetApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'GET /asset/count-by-user-id' operation and returns the [Response].
Future<Response> getAssetCountByUserIdWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/asset/count-by-user-id';
@ -758,7 +721,6 @@ class AssetApi {
);
}
///
Future<AssetCountByUserIdResponseDto?> getAssetCountByUserId() async {
final response = await getAssetCountByUserIdWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@ -774,9 +736,7 @@ class AssetApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'GET /asset/search-terms' operation and returns the [Response].
Future<Response> getAssetSearchTermsWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/asset/search-terms';
@ -802,7 +762,6 @@ class AssetApi {
);
}
///
Future<List<String>?> getAssetSearchTerms() async {
final response = await getAssetSearchTermsWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@ -821,10 +780,7 @@ class AssetApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'GET /asset/thumbnail/{assetId}' operation and returns the [Response].
/// Parameters:
///
/// * [String] assetId (required):
@ -865,8 +821,6 @@ class AssetApi {
);
}
///
///
/// Parameters:
///
/// * [String] assetId (required):
@ -889,9 +843,7 @@ class AssetApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'GET /asset/curated-locations' operation and returns the [Response].
Future<Response> getCuratedLocationsWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/asset/curated-locations';
@ -917,7 +869,6 @@ class AssetApi {
);
}
///
Future<List<CuratedLocationsResponseDto>?> getCuratedLocations() async {
final response = await getCuratedLocationsWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@ -936,9 +887,7 @@ class AssetApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'GET /asset/curated-objects' operation and returns the [Response].
Future<Response> getCuratedObjectsWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/asset/curated-objects';
@ -964,7 +913,6 @@ class AssetApi {
);
}
///
Future<List<CuratedObjectsResponseDto>?> getCuratedObjects() async {
final response = await getCuratedObjectsWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@ -1039,10 +987,7 @@ class AssetApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'PATCH /asset/shared-link/remove' operation and returns the [Response].
/// Parameters:
///
/// * [RemoveAssetsDto] removeAssetsDto (required):
@ -1077,8 +1022,6 @@ class AssetApi {
);
}
///
///
/// Parameters:
///
/// * [RemoveAssetsDto] removeAssetsDto (required):
@ -1099,10 +1042,7 @@ class AssetApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'POST /asset/search' operation and returns the [Response].
/// Parameters:
///
/// * [SearchAssetDto] searchAssetDto (required):
@ -1131,8 +1071,6 @@ class AssetApi {
);
}
///
///
/// Parameters:
///
/// * [SearchAssetDto] searchAssetDto (required):
@ -1154,10 +1092,7 @@ class AssetApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'GET /asset/file/{assetId}' operation and returns the [Response].
/// Parameters:
///
/// * [String] assetId (required):
@ -1203,8 +1138,6 @@ class AssetApi {
);
}
///
///
/// Parameters:
///
/// * [String] assetId (required):
@ -1286,10 +1219,7 @@ class AssetApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'POST /asset/upload' operation and returns the [Response].
/// Parameters:
///
/// * [AssetTypeEnum] assetType (required):
@ -1395,8 +1325,6 @@ class AssetApi {
);
}
///
///
/// Parameters:
///
/// * [AssetTypeEnum] assetType (required):

View file

@ -16,10 +16,7 @@ class AuthenticationApi {
final ApiClient apiClient;
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'POST /auth/admin-sign-up' operation and returns the [Response].
/// Parameters:
///
/// * [SignUpDto] signUpDto (required):
@ -48,8 +45,6 @@ class AuthenticationApi {
);
}
///
///
/// Parameters:
///
/// * [SignUpDto] signUpDto (required):
@ -68,10 +63,7 @@ class AuthenticationApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'POST /auth/change-password' operation and returns the [Response].
/// Parameters:
///
/// * [ChangePasswordDto] changePasswordDto (required):
@ -100,8 +92,6 @@ class AuthenticationApi {
);
}
///
///
/// Parameters:
///
/// * [ChangePasswordDto] changePasswordDto (required):
@ -120,10 +110,7 @@ class AuthenticationApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'POST /auth/login' operation and returns the [Response].
/// Parameters:
///
/// * [LoginCredentialDto] loginCredentialDto (required):
@ -152,8 +139,6 @@ class AuthenticationApi {
);
}
///
///
/// Parameters:
///
/// * [LoginCredentialDto] loginCredentialDto (required):
@ -172,9 +157,7 @@ class AuthenticationApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'POST /auth/logout' operation and returns the [Response].
Future<Response> logoutWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/auth/logout';
@ -200,7 +183,6 @@ class AuthenticationApi {
);
}
///
Future<LogoutResponseDto?> logout() async {
final response = await logoutWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@ -216,9 +198,7 @@ class AuthenticationApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'POST /auth/validateToken' operation and returns the [Response].
Future<Response> validateAccessTokenWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/auth/validateToken';
@ -244,7 +224,6 @@ class AuthenticationApi {
);
}
///
Future<ValidateAccessTokenResponseDto?> validateAccessToken() async {
final response = await validateAccessTokenWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {

View file

@ -16,10 +16,7 @@ class DeviceInfoApi {
final ApiClient apiClient;
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'PUT /device-info' operation and returns the [Response].
/// Parameters:
///
/// * [UpsertDeviceInfoDto] upsertDeviceInfoDto (required):
@ -48,8 +45,6 @@ class DeviceInfoApi {
);
}
///
///
/// Parameters:
///
/// * [UpsertDeviceInfoDto] upsertDeviceInfoDto (required):

View file

@ -16,9 +16,7 @@ class JobApi {
final ApiClient apiClient;
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'GET /jobs' operation and returns the [Response].
Future<Response> getAllJobsStatusWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/jobs';
@ -44,7 +42,6 @@ class JobApi {
);
}
///
Future<AllJobStatusResponseDto?> getAllJobsStatus() async {
final response = await getAllJobsStatusWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@ -60,10 +57,7 @@ class JobApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'PUT /jobs/{jobId}' operation and returns the [Response].
/// Parameters:
///
/// * [JobName] jobId (required):
@ -95,8 +89,6 @@ class JobApi {
);
}
///
///
/// Parameters:
///
/// * [JobName] jobId (required):

View file

@ -16,10 +16,7 @@ class OAuthApi {
final ApiClient apiClient;
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'POST /oauth/callback' operation and returns the [Response].
/// Parameters:
///
/// * [OAuthCallbackDto] oAuthCallbackDto (required):
@ -48,8 +45,6 @@ class OAuthApi {
);
}
///
///
/// Parameters:
///
/// * [OAuthCallbackDto] oAuthCallbackDto (required):
@ -68,10 +63,7 @@ class OAuthApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'POST /oauth/config' operation and returns the [Response].
/// Parameters:
///
/// * [OAuthConfigDto] oAuthConfigDto (required):
@ -100,8 +92,6 @@ class OAuthApi {
);
}
///
///
/// Parameters:
///
/// * [OAuthConfigDto] oAuthConfigDto (required):
@ -120,10 +110,7 @@ class OAuthApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'POST /oauth/link' operation and returns the [Response].
/// Parameters:
///
/// * [OAuthCallbackDto] oAuthCallbackDto (required):
@ -152,8 +139,6 @@ class OAuthApi {
);
}
///
///
/// Parameters:
///
/// * [OAuthCallbackDto] oAuthCallbackDto (required):
@ -172,9 +157,7 @@ class OAuthApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'GET /oauth/mobile-redirect' operation and returns the [Response].
Future<Response> mobileRedirectWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/oauth/mobile-redirect';
@ -200,7 +183,6 @@ class OAuthApi {
);
}
///
Future<void> mobileRedirect() async {
final response = await mobileRedirectWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@ -208,9 +190,7 @@ class OAuthApi {
}
}
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'POST /oauth/unlink' operation and returns the [Response].
Future<Response> unlinkWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/oauth/unlink';
@ -236,7 +216,6 @@ class OAuthApi {
);
}
///
Future<UserResponseDto?> unlink() async {
final response = await unlinkWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {

View file

@ -16,9 +16,7 @@ class SearchApi {
final ApiClient apiClient;
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'GET /search/explore' operation and returns the [Response].
Future<Response> getExploreDataWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/search/explore';
@ -44,7 +42,6 @@ class SearchApi {
);
}
///
Future<List<SearchExploreResponseDto>?> getExploreData() async {
final response = await getExploreDataWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@ -63,9 +60,7 @@ class SearchApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'GET /search/config' operation and returns the [Response].
Future<Response> getSearchConfigWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/search/config';
@ -91,7 +86,6 @@ class SearchApi {
);
}
///
Future<SearchConfigResponseDto?> getSearchConfig() async {
final response = await getSearchConfigWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@ -107,10 +101,7 @@ class SearchApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'GET /search' operation and returns the [Response].
/// Parameters:
///
/// * [String] q:
@ -208,8 +199,6 @@ class SearchApi {
);
}
///
///
/// Parameters:
///
/// * [String] q:

View file

@ -16,9 +16,7 @@ class ServerInfoApi {
final ApiClient apiClient;
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'GET /server-info' operation and returns the [Response].
Future<Response> getServerInfoWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/server-info';
@ -44,7 +42,6 @@ class ServerInfoApi {
);
}
///
Future<ServerInfoResponseDto?> getServerInfo() async {
final response = await getServerInfoWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@ -60,9 +57,7 @@ class ServerInfoApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'GET /server-info/version' operation and returns the [Response].
Future<Response> getServerVersionWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/server-info/version';
@ -88,7 +83,6 @@ class ServerInfoApi {
);
}
///
Future<ServerVersionReponseDto?> getServerVersion() async {
final response = await getServerVersionWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@ -104,9 +98,7 @@ class ServerInfoApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'GET /server-info/stats' operation and returns the [Response].
Future<Response> getStatsWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/server-info/stats';
@ -132,7 +124,6 @@ class ServerInfoApi {
);
}
///
Future<ServerStatsResponseDto?> getStats() async {
final response = await getStatsWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@ -148,9 +139,7 @@ class ServerInfoApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'GET /server-info/ping' operation and returns the [Response].
Future<Response> pingServerWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/server-info/ping';
@ -176,7 +165,6 @@ class ServerInfoApi {
);
}
///
Future<ServerPingResponse?> pingServer() async {
final response = await pingServerWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {

View file

@ -16,10 +16,7 @@ class ShareApi {
final ApiClient apiClient;
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'PATCH /share/{id}' operation and returns the [Response].
/// Parameters:
///
/// * [String] id (required):
@ -51,8 +48,6 @@ class ShareApi {
);
}
///
///
/// Parameters:
///
/// * [String] id (required):
@ -73,9 +68,7 @@ class ShareApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'GET /share' operation and returns the [Response].
Future<Response> getAllSharedLinksWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/share';
@ -101,7 +94,6 @@ class ShareApi {
);
}
///
Future<List<SharedLinkResponseDto>?> getAllSharedLinks() async {
final response = await getAllSharedLinksWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@ -120,10 +112,7 @@ class ShareApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'GET /share/me' operation and returns the [Response].
/// Parameters:
///
/// * [String] key:
@ -156,8 +145,6 @@ class ShareApi {
);
}
///
///
/// Parameters:
///
/// * [String] key:
@ -176,10 +163,7 @@ class ShareApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'GET /share/{id}' operation and returns the [Response].
/// Parameters:
///
/// * [String] id (required):
@ -209,8 +193,6 @@ class ShareApi {
);
}
///
///
/// Parameters:
///
/// * [String] id (required):
@ -229,10 +211,7 @@ class ShareApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'DELETE /share/{id}' operation and returns the [Response].
/// Parameters:
///
/// * [String] id (required):
@ -262,8 +241,6 @@ class ShareApi {
);
}
///
///
/// Parameters:
///
/// * [String] id (required):

View file

@ -16,9 +16,7 @@ class SystemConfigApi {
final ApiClient apiClient;
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'GET /system-config' operation and returns the [Response].
Future<Response> getConfigWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/system-config';
@ -44,7 +42,6 @@ class SystemConfigApi {
);
}
///
Future<SystemConfigDto?> getConfig() async {
final response = await getConfigWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@ -60,9 +57,7 @@ class SystemConfigApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'GET /system-config/defaults' operation and returns the [Response].
Future<Response> getDefaultsWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/system-config/defaults';
@ -88,7 +83,6 @@ class SystemConfigApi {
);
}
///
Future<SystemConfigDto?> getDefaults() async {
final response = await getDefaultsWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@ -104,9 +98,7 @@ class SystemConfigApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'GET /system-config/storage-template-options' operation and returns the [Response].
Future<Response> getStorageTemplateOptionsWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/system-config/storage-template-options';
@ -132,7 +124,6 @@ class SystemConfigApi {
);
}
///
Future<SystemConfigTemplateStorageOptionDto?> getStorageTemplateOptions() async {
final response = await getStorageTemplateOptionsWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@ -148,10 +139,7 @@ class SystemConfigApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'PUT /system-config' operation and returns the [Response].
/// Parameters:
///
/// * [SystemConfigDto] systemConfigDto (required):
@ -180,8 +168,6 @@ class SystemConfigApi {
);
}
///
///
/// Parameters:
///
/// * [SystemConfigDto] systemConfigDto (required):

View file

@ -16,10 +16,7 @@ class TagApi {
final ApiClient apiClient;
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'POST /tag' operation and returns the [Response].
/// Parameters:
///
/// * [CreateTagDto] createTagDto (required):
@ -48,8 +45,6 @@ class TagApi {
);
}
///
///
/// Parameters:
///
/// * [CreateTagDto] createTagDto (required):
@ -68,10 +63,7 @@ class TagApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'DELETE /tag/{id}' operation and returns the [Response].
/// Parameters:
///
/// * [String] id (required):
@ -101,8 +93,6 @@ class TagApi {
);
}
///
///
/// Parameters:
///
/// * [String] id (required):
@ -113,9 +103,7 @@ class TagApi {
}
}
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'GET /tag' operation and returns the [Response].
Future<Response> findAllWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/tag';
@ -141,7 +129,6 @@ class TagApi {
);
}
///
Future<List<TagResponseDto>?> findAll() async {
final response = await findAllWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@ -160,10 +147,7 @@ class TagApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'GET /tag/{id}' operation and returns the [Response].
/// Parameters:
///
/// * [String] id (required):
@ -193,8 +177,6 @@ class TagApi {
);
}
///
///
/// Parameters:
///
/// * [String] id (required):
@ -213,10 +195,7 @@ class TagApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'PATCH /tag/{id}' operation and returns the [Response].
/// Parameters:
///
/// * [String] id (required):
@ -248,8 +227,6 @@ class TagApi {
);
}
///
///
/// Parameters:
///
/// * [String] id (required):

View file

@ -16,10 +16,7 @@ class UserApi {
final ApiClient apiClient;
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'POST /user/profile-image' operation and returns the [Response].
/// Parameters:
///
/// * [MultipartFile] file (required):
@ -58,8 +55,6 @@ class UserApi {
);
}
///
///
/// Parameters:
///
/// * [MultipartFile] file (required):
@ -78,10 +73,7 @@ class UserApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'POST /user' operation and returns the [Response].
/// Parameters:
///
/// * [CreateUserDto] createUserDto (required):
@ -110,8 +102,6 @@ class UserApi {
);
}
///
///
/// Parameters:
///
/// * [CreateUserDto] createUserDto (required):
@ -130,10 +120,7 @@ class UserApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'DELETE /user/{userId}' operation and returns the [Response].
/// Parameters:
///
/// * [String] userId (required):
@ -163,8 +150,6 @@ class UserApi {
);
}
///
///
/// Parameters:
///
/// * [String] userId (required):
@ -183,10 +168,7 @@ class UserApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'GET /user' operation and returns the [Response].
/// Parameters:
///
/// * [bool] isAll (required):
@ -217,8 +199,6 @@ class UserApi {
);
}
///
///
/// Parameters:
///
/// * [bool] isAll (required):
@ -240,9 +220,7 @@ class UserApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
/// Performs an HTTP 'GET /user/me' operation and returns the [Response].
Future<Response> getMyUserInfoWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/user/me';
@ -268,7 +246,6 @@ class UserApi {
);
}
///
Future<UserResponseDto?> getMyUserInfo() async {
final response = await getMyUserInfoWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@ -284,10 +261,7 @@ class UserApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'GET /user/profile-image/{userId}' operation and returns the [Response].
/// Parameters:
///
/// * [String] userId (required):
@ -317,8 +291,6 @@ class UserApi {
);
}
///
///
/// Parameters:
///
/// * [String] userId (required):
@ -337,10 +309,7 @@ class UserApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'GET /user/info/{userId}' operation and returns the [Response].
/// Parameters:
///
/// * [String] userId (required):
@ -370,8 +339,6 @@ class UserApi {
);
}
///
///
/// Parameters:
///
/// * [String] userId (required):
@ -390,10 +357,7 @@ class UserApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'GET /user/count' operation and returns the [Response].
/// Parameters:
///
/// * [bool] admin:
@ -426,8 +390,6 @@ class UserApi {
);
}
///
///
/// Parameters:
///
/// * [bool] admin:
@ -446,10 +408,7 @@ class UserApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'POST /user/{userId}/restore' operation and returns the [Response].
/// Parameters:
///
/// * [String] userId (required):
@ -479,8 +438,6 @@ class UserApi {
);
}
///
///
/// Parameters:
///
/// * [String] userId (required):
@ -499,10 +456,7 @@ class UserApi {
return null;
}
///
///
/// Note: This method returns the HTTP [Response].
///
/// Performs an HTTP 'PUT /user' operation and returns the [Response].
/// Parameters:
///
/// * [UpdateUserDto] updateUserDto (required):
@ -531,8 +485,6 @@ class UserApi {
);
}
///
///
/// Parameters:
///
/// * [UpdateUserDto] updateUserDto (required):