refactor(server): auth dtos (#4881)
* refactor: auth dtos * chore: open api
This commit is contained in:
-19
@@ -1,19 +0,0 @@
|
||||
# openapi.model.AdminSignupResponseDto
|
||||
|
||||
## Load the model package
|
||||
```dart
|
||||
import 'package:openapi/api.dart';
|
||||
```
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**createdAt** | [**DateTime**](DateTime.md) | |
|
||||
**email** | **String** | |
|
||||
**firstName** | **String** | |
|
||||
**id** | **String** | |
|
||||
**lastName** | **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)
|
||||
|
||||
|
||||
Generated
+2
-2
@@ -322,7 +322,7 @@ void (empty response body)
|
||||
[[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)
|
||||
|
||||
# **signUpAdmin**
|
||||
> AdminSignupResponseDto signUpAdmin(signUpDto)
|
||||
> UserResponseDto signUpAdmin(signUpDto)
|
||||
|
||||
|
||||
|
||||
@@ -349,7 +349,7 @@ Name | Type | Description | Notes
|
||||
|
||||
### Return type
|
||||
|
||||
[**AdminSignupResponseDto**](AdminSignupResponseDto.md)
|
||||
[**UserResponseDto**](UserResponseDto.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
|
||||
Generated
+8
-8
@@ -8,14 +8,14 @@ import 'package:openapi/api.dart';
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**accessToken** | **String** | | [readonly]
|
||||
**firstName** | **String** | | [readonly]
|
||||
**isAdmin** | **bool** | | [readonly]
|
||||
**lastName** | **String** | | [readonly]
|
||||
**profileImagePath** | **String** | | [readonly]
|
||||
**shouldChangePassword** | **bool** | | [readonly]
|
||||
**userEmail** | **String** | | [readonly]
|
||||
**userId** | **String** | | [readonly]
|
||||
**accessToken** | **String** | |
|
||||
**firstName** | **String** | |
|
||||
**isAdmin** | **bool** | |
|
||||
**lastName** | **String** | |
|
||||
**profileImagePath** | **String** | |
|
||||
**shouldChangePassword** | **bool** | |
|
||||
**userEmail** | **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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user