fix(web): empty album is not auto deleted ()

* fix(web): empty album is not auto deleted

* regenerate api

* fix test
This commit is contained in:
Alex 2023-04-18 11:26:04 -05:00 committed by GitHub
parent 8a421831ab
commit 975d23ee5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
42 changed files with 108 additions and 824 deletions
mobile/openapi/lib/api

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) {