Added openapi generator
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface AcceptFriendRequest {
|
||||
friendId?: number;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { CreateUserGroupDto } from './create-user-group-dto';
|
||||
|
||||
|
||||
export interface CreateGroupDto {
|
||||
label?: string | null;
|
||||
title?: string | null;
|
||||
description?: string | null;
|
||||
duration?: number;
|
||||
userGroups?: Array<CreateUserGroupDto> | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface CreateMessageDto {
|
||||
libelle?: string | null;
|
||||
sendDate?: string;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface CreateUserDto {
|
||||
firstName?: string | null;
|
||||
name?: string | null;
|
||||
username?: string | null;
|
||||
email?: string | null;
|
||||
password?: string | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface CreateUserGroupDto {
|
||||
userId?: number;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface DeleteFriendRequest {
|
||||
friendId?: number;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface GetAchievementDto {
|
||||
id?: number;
|
||||
label?: string | null;
|
||||
description?: string | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface GetDesignationDto {
|
||||
id?: number;
|
||||
label?: string | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface GetFriendDto {
|
||||
username?: string | null;
|
||||
score?: number;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface GetFriendRequestDto {
|
||||
username?: string | null;
|
||||
score?: number;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { GetMessageDto } from './get-message-dto';
|
||||
import { GetUserGroupDto } from './get-user-group-dto';
|
||||
|
||||
|
||||
export interface GetGroupDetailsDto {
|
||||
id?: number;
|
||||
label?: string | null;
|
||||
isFinished?: boolean;
|
||||
title?: string | null;
|
||||
description?: string | null;
|
||||
duration?: number;
|
||||
creationDate?: string;
|
||||
messages?: Array<GetMessageDto> | null;
|
||||
users?: Array<GetUserGroupDto> | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface GetGroupDto {
|
||||
id?: number;
|
||||
label?: string | null;
|
||||
isFinished?: boolean;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface GetGroupRankingDto {
|
||||
userId?: number;
|
||||
username?: string | null;
|
||||
score?: number;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface GetMessageDto {
|
||||
id?: number;
|
||||
libelle?: string | null;
|
||||
sendDate?: string;
|
||||
userId?: number;
|
||||
username?: string | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface GetProofDto {
|
||||
userId?: number;
|
||||
username?: string | null;
|
||||
proof?: string | null;
|
||||
score?: number;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface GetRandomChallengeDto {
|
||||
id?: number;
|
||||
libelle?: string | null;
|
||||
duration?: number;
|
||||
isAlreadyPast?: boolean;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface GetTokenDto {
|
||||
token?: string | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface GetUserChallengeDto {
|
||||
challengeTitle?: string | null;
|
||||
challengeDescription?: string | null;
|
||||
challengeDuration?: number;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { GetUserStatsDto } from './get-user-stats-dto';
|
||||
|
||||
|
||||
export interface GetUserDetailsDto {
|
||||
id?: number;
|
||||
firstName?: string | null;
|
||||
name?: string | null;
|
||||
username?: string | null;
|
||||
email?: string | null;
|
||||
designationId?: number;
|
||||
creationDate?: string;
|
||||
getUserStatsDto?: GetUserStatsDto | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { GetUserStatsDto } from './get-user-stats-dto';
|
||||
|
||||
|
||||
export interface GetUserDto {
|
||||
id?: number;
|
||||
firstName?: string | null;
|
||||
name?: string | null;
|
||||
username?: string | null;
|
||||
designationId?: number;
|
||||
getUserStatsDto?: GetUserStatsDto | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface GetUserGroupDto {
|
||||
id?: number;
|
||||
username?: string | null;
|
||||
grade?: string | null;
|
||||
score?: number;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface GetUserProofDto {
|
||||
id?: number;
|
||||
proof?: string | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface GetUserStatsDto {
|
||||
id?: number;
|
||||
score?: number;
|
||||
totalWin?: number;
|
||||
totalChallenge?: number;
|
||||
totalPodium?: number;
|
||||
totalBonusChallenge?: number;
|
||||
series?: number;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface LoginDto {
|
||||
username?: string | null;
|
||||
password?: string | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
export * from './accept-friend-request';
|
||||
export * from './create-group-dto';
|
||||
export * from './create-message-dto';
|
||||
export * from './create-user-dto';
|
||||
export * from './create-user-group-dto';
|
||||
export * from './delete-friend-request';
|
||||
export * from './get-achievement-dto';
|
||||
export * from './get-designation-dto';
|
||||
export * from './get-friend-dto';
|
||||
export * from './get-friend-request-dto';
|
||||
export * from './get-group-details-dto';
|
||||
export * from './get-group-dto';
|
||||
export * from './get-group-ranking-dto';
|
||||
export * from './get-message-dto';
|
||||
export * from './get-proof-dto';
|
||||
export * from './get-random-challenge-dto';
|
||||
export * from './get-token-dto';
|
||||
export * from './get-user-challenge-dto';
|
||||
export * from './get-user-details-dto';
|
||||
export * from './get-user-dto';
|
||||
export * from './get-user-group-dto';
|
||||
export * from './get-user-proof-dto';
|
||||
export * from './get-user-stats-dto';
|
||||
export * from './login-dto';
|
||||
export * from './patch-user-designation-dto';
|
||||
export * from './patch-user-password-dto';
|
||||
export * from './random-challenge-proof-request';
|
||||
export * from './refresh-token-dto';
|
||||
export * from './reject-friend-request';
|
||||
export * from './update-user-dto';
|
||||
export * from './user-proof-request';
|
||||
export * from './user-vote-request';
|
||||
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface PatchUserDesignationDto {
|
||||
designationId?: number;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface PatchUserPasswordDto {
|
||||
password?: string | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface RandomChallengeProofRequest {
|
||||
proof?: string | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface RefreshTokenDto {
|
||||
token?: string | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface RejectFriendRequest {
|
||||
friendId?: number;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface UpdateUserDto {
|
||||
firstName?: string | null;
|
||||
name?: string | null;
|
||||
username?: string | null;
|
||||
email?: string | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface UserProofRequest {
|
||||
proof?: string | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* BeReadyBackend
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface UserVoteRequest {
|
||||
votedProofId?: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user