mirror of
https://github.com/fastapi/full-stack-fastapi-template.git
synced 2026-11-03 20:36:27 +00:00
Generate client (types.gen.ts step 4)
This commit is contained in:
@@ -4,114 +4,339 @@ export type ClientOptions = {
|
|||||||
baseURL: `${string}://${string}` | (string & {});
|
baseURL: `${string}://${string}` | (string & {});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Body_login-login_access_token
|
||||||
|
*/
|
||||||
export type Body_login_login_access_token = {
|
export type Body_login_login_access_token = {
|
||||||
|
/**
|
||||||
|
* Grant Type
|
||||||
|
*/
|
||||||
grant_type?: string | null;
|
grant_type?: string | null;
|
||||||
|
/**
|
||||||
|
* Username
|
||||||
|
*/
|
||||||
username: string;
|
username: string;
|
||||||
|
/**
|
||||||
|
* Password
|
||||||
|
*/
|
||||||
password: string;
|
password: string;
|
||||||
|
/**
|
||||||
|
* Scope
|
||||||
|
*/
|
||||||
scope?: string;
|
scope?: string;
|
||||||
|
/**
|
||||||
|
* Client Id
|
||||||
|
*/
|
||||||
client_id?: string | null;
|
client_id?: string | null;
|
||||||
|
/**
|
||||||
|
* Client Secret
|
||||||
|
*/
|
||||||
client_secret?: string | null;
|
client_secret?: string | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* HTTPValidationError
|
||||||
|
*/
|
||||||
export type HTTPValidationError = {
|
export type HTTPValidationError = {
|
||||||
|
/**
|
||||||
|
* Detail
|
||||||
|
*/
|
||||||
detail?: Array<ValidationError>;
|
detail?: Array<ValidationError>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ItemCreate
|
||||||
|
*/
|
||||||
export type ItemCreate = {
|
export type ItemCreate = {
|
||||||
|
/**
|
||||||
|
* Title
|
||||||
|
*/
|
||||||
title: string;
|
title: string;
|
||||||
|
/**
|
||||||
|
* Description
|
||||||
|
*/
|
||||||
description?: string | null;
|
description?: string | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ItemPublic
|
||||||
|
*/
|
||||||
export type ItemPublic = {
|
export type ItemPublic = {
|
||||||
|
/**
|
||||||
|
* Title
|
||||||
|
*/
|
||||||
title: string;
|
title: string;
|
||||||
|
/**
|
||||||
|
* Description
|
||||||
|
*/
|
||||||
description?: string | null;
|
description?: string | null;
|
||||||
|
/**
|
||||||
|
* Id
|
||||||
|
*/
|
||||||
id: string;
|
id: string;
|
||||||
|
/**
|
||||||
|
* Owner Id
|
||||||
|
*/
|
||||||
owner_id: string;
|
owner_id: string;
|
||||||
|
/**
|
||||||
|
* Created At
|
||||||
|
*/
|
||||||
created_at?: string | null;
|
created_at?: string | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ItemUpdate
|
||||||
|
*/
|
||||||
export type ItemUpdate = {
|
export type ItemUpdate = {
|
||||||
|
/**
|
||||||
|
* Title
|
||||||
|
*/
|
||||||
title?: string | null;
|
title?: string | null;
|
||||||
|
/**
|
||||||
|
* Description
|
||||||
|
*/
|
||||||
description?: string | null;
|
description?: string | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ItemsPublic
|
||||||
|
*/
|
||||||
export type ItemsPublic = {
|
export type ItemsPublic = {
|
||||||
|
/**
|
||||||
|
* Data
|
||||||
|
*/
|
||||||
data: Array<ItemPublic>;
|
data: Array<ItemPublic>;
|
||||||
|
/**
|
||||||
|
* Count
|
||||||
|
*/
|
||||||
count: number;
|
count: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Message
|
||||||
|
*/
|
||||||
export type Message = {
|
export type Message = {
|
||||||
|
/**
|
||||||
|
* Message
|
||||||
|
*/
|
||||||
message: string;
|
message: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* NewPassword
|
||||||
|
*/
|
||||||
export type NewPassword = {
|
export type NewPassword = {
|
||||||
|
/**
|
||||||
|
* Token
|
||||||
|
*/
|
||||||
token: string;
|
token: string;
|
||||||
|
/**
|
||||||
|
* New Password
|
||||||
|
*/
|
||||||
new_password: string;
|
new_password: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* PrivateUserCreate
|
||||||
|
*/
|
||||||
export type PrivateUserCreate = {
|
export type PrivateUserCreate = {
|
||||||
|
/**
|
||||||
|
* Email
|
||||||
|
*/
|
||||||
email: string;
|
email: string;
|
||||||
|
/**
|
||||||
|
* Password
|
||||||
|
*/
|
||||||
password: string;
|
password: string;
|
||||||
|
/**
|
||||||
|
* Full Name
|
||||||
|
*/
|
||||||
full_name: string;
|
full_name: string;
|
||||||
|
/**
|
||||||
|
* Is Verified
|
||||||
|
*/
|
||||||
is_verified?: boolean;
|
is_verified?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Token
|
||||||
|
*/
|
||||||
export type Token = {
|
export type Token = {
|
||||||
|
/**
|
||||||
|
* Access Token
|
||||||
|
*/
|
||||||
access_token: string;
|
access_token: string;
|
||||||
|
/**
|
||||||
|
* Token Type
|
||||||
|
*/
|
||||||
token_type?: string;
|
token_type?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* UpdatePassword
|
||||||
|
*/
|
||||||
export type UpdatePassword = {
|
export type UpdatePassword = {
|
||||||
|
/**
|
||||||
|
* Current Password
|
||||||
|
*/
|
||||||
current_password: string;
|
current_password: string;
|
||||||
|
/**
|
||||||
|
* New Password
|
||||||
|
*/
|
||||||
new_password: string;
|
new_password: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* UserCreate
|
||||||
|
*/
|
||||||
export type UserCreate = {
|
export type UserCreate = {
|
||||||
|
/**
|
||||||
|
* Email
|
||||||
|
*/
|
||||||
email: string;
|
email: string;
|
||||||
|
/**
|
||||||
|
* Is Active
|
||||||
|
*/
|
||||||
is_active?: boolean;
|
is_active?: boolean;
|
||||||
|
/**
|
||||||
|
* Is Superuser
|
||||||
|
*/
|
||||||
is_superuser?: boolean;
|
is_superuser?: boolean;
|
||||||
|
/**
|
||||||
|
* Full Name
|
||||||
|
*/
|
||||||
full_name?: string | null;
|
full_name?: string | null;
|
||||||
|
/**
|
||||||
|
* Password
|
||||||
|
*/
|
||||||
password: string;
|
password: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* UserPublic
|
||||||
|
*/
|
||||||
export type UserPublic = {
|
export type UserPublic = {
|
||||||
|
/**
|
||||||
|
* Email
|
||||||
|
*/
|
||||||
email: string;
|
email: string;
|
||||||
|
/**
|
||||||
|
* Is Active
|
||||||
|
*/
|
||||||
is_active?: boolean;
|
is_active?: boolean;
|
||||||
|
/**
|
||||||
|
* Is Superuser
|
||||||
|
*/
|
||||||
is_superuser?: boolean;
|
is_superuser?: boolean;
|
||||||
|
/**
|
||||||
|
* Full Name
|
||||||
|
*/
|
||||||
full_name?: string | null;
|
full_name?: string | null;
|
||||||
|
/**
|
||||||
|
* Id
|
||||||
|
*/
|
||||||
id: string;
|
id: string;
|
||||||
|
/**
|
||||||
|
* Created At
|
||||||
|
*/
|
||||||
created_at?: string | null;
|
created_at?: string | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* UserRegister
|
||||||
|
*/
|
||||||
export type UserRegister = {
|
export type UserRegister = {
|
||||||
|
/**
|
||||||
|
* Email
|
||||||
|
*/
|
||||||
email: string;
|
email: string;
|
||||||
|
/**
|
||||||
|
* Password
|
||||||
|
*/
|
||||||
password: string;
|
password: string;
|
||||||
|
/**
|
||||||
|
* Full Name
|
||||||
|
*/
|
||||||
full_name?: string | null;
|
full_name?: string | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* UserUpdate
|
||||||
|
*/
|
||||||
export type UserUpdate = {
|
export type UserUpdate = {
|
||||||
|
/**
|
||||||
|
* Email
|
||||||
|
*/
|
||||||
email?: string | null;
|
email?: string | null;
|
||||||
|
/**
|
||||||
|
* Is Active
|
||||||
|
*/
|
||||||
is_active?: boolean | null;
|
is_active?: boolean | null;
|
||||||
|
/**
|
||||||
|
* Is Superuser
|
||||||
|
*/
|
||||||
is_superuser?: boolean | null;
|
is_superuser?: boolean | null;
|
||||||
|
/**
|
||||||
|
* Full Name
|
||||||
|
*/
|
||||||
full_name?: string | null;
|
full_name?: string | null;
|
||||||
|
/**
|
||||||
|
* Password
|
||||||
|
*/
|
||||||
password?: string | null;
|
password?: string | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* UserUpdateMe
|
||||||
|
*/
|
||||||
export type UserUpdateMe = {
|
export type UserUpdateMe = {
|
||||||
|
/**
|
||||||
|
* Full Name
|
||||||
|
*/
|
||||||
full_name?: string | null;
|
full_name?: string | null;
|
||||||
|
/**
|
||||||
|
* Email
|
||||||
|
*/
|
||||||
email?: string | null;
|
email?: string | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* UsersPublic
|
||||||
|
*/
|
||||||
export type UsersPublic = {
|
export type UsersPublic = {
|
||||||
|
/**
|
||||||
|
* Data
|
||||||
|
*/
|
||||||
data: Array<UserPublic>;
|
data: Array<UserPublic>;
|
||||||
|
/**
|
||||||
|
* Count
|
||||||
|
*/
|
||||||
count: number;
|
count: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ValidationError
|
||||||
|
*/
|
||||||
export type ValidationError = {
|
export type ValidationError = {
|
||||||
|
/**
|
||||||
|
* Location
|
||||||
|
*/
|
||||||
loc: Array<string | number>;
|
loc: Array<string | number>;
|
||||||
|
/**
|
||||||
|
* Message
|
||||||
|
*/
|
||||||
msg: string;
|
msg: string;
|
||||||
|
/**
|
||||||
|
* Error Type
|
||||||
|
*/
|
||||||
type: string;
|
type: string;
|
||||||
|
/**
|
||||||
|
* Input
|
||||||
|
*/
|
||||||
input?: unknown;
|
input?: unknown;
|
||||||
|
/**
|
||||||
|
* Context
|
||||||
|
*/
|
||||||
ctx?: {
|
ctx?: {
|
||||||
[key: string]: unknown;
|
[key: string]: unknown;
|
||||||
};
|
};
|
||||||
@@ -125,12 +350,18 @@ export type loginLoginAccessTokenData = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type loginLoginAccessTokenErrors = {
|
export type loginLoginAccessTokenErrors = {
|
||||||
|
/**
|
||||||
|
* Validation Error
|
||||||
|
*/
|
||||||
422: HTTPValidationError;
|
422: HTTPValidationError;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type loginLoginAccessTokenError = loginLoginAccessTokenErrors[keyof loginLoginAccessTokenErrors];
|
export type loginLoginAccessTokenError = loginLoginAccessTokenErrors[keyof loginLoginAccessTokenErrors];
|
||||||
|
|
||||||
export type loginLoginAccessTokenResponses = {
|
export type loginLoginAccessTokenResponses = {
|
||||||
|
/**
|
||||||
|
* Successful Response
|
||||||
|
*/
|
||||||
200: Token;
|
200: Token;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -144,6 +375,9 @@ export type loginTestTokenData = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type loginTestTokenResponses = {
|
export type loginTestTokenResponses = {
|
||||||
|
/**
|
||||||
|
* Successful Response
|
||||||
|
*/
|
||||||
200: UserPublic;
|
200: UserPublic;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -152,6 +386,9 @@ export type loginTestTokenResponse = loginTestTokenResponses[keyof loginTestToke
|
|||||||
export type loginRecoverPasswordData = {
|
export type loginRecoverPasswordData = {
|
||||||
body?: never;
|
body?: never;
|
||||||
path: {
|
path: {
|
||||||
|
/**
|
||||||
|
* Email
|
||||||
|
*/
|
||||||
email: string;
|
email: string;
|
||||||
};
|
};
|
||||||
query?: never;
|
query?: never;
|
||||||
@@ -159,12 +396,18 @@ export type loginRecoverPasswordData = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type loginRecoverPasswordErrors = {
|
export type loginRecoverPasswordErrors = {
|
||||||
|
/**
|
||||||
|
* Validation Error
|
||||||
|
*/
|
||||||
422: HTTPValidationError;
|
422: HTTPValidationError;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type loginRecoverPasswordError = loginRecoverPasswordErrors[keyof loginRecoverPasswordErrors];
|
export type loginRecoverPasswordError = loginRecoverPasswordErrors[keyof loginRecoverPasswordErrors];
|
||||||
|
|
||||||
export type loginRecoverPasswordResponses = {
|
export type loginRecoverPasswordResponses = {
|
||||||
|
/**
|
||||||
|
* Successful Response
|
||||||
|
*/
|
||||||
200: Message;
|
200: Message;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -178,12 +421,18 @@ export type loginResetPasswordData = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type loginResetPasswordErrors = {
|
export type loginResetPasswordErrors = {
|
||||||
|
/**
|
||||||
|
* Validation Error
|
||||||
|
*/
|
||||||
422: HTTPValidationError;
|
422: HTTPValidationError;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type loginResetPasswordError = loginResetPasswordErrors[keyof loginResetPasswordErrors];
|
export type loginResetPasswordError = loginResetPasswordErrors[keyof loginResetPasswordErrors];
|
||||||
|
|
||||||
export type loginResetPasswordResponses = {
|
export type loginResetPasswordResponses = {
|
||||||
|
/**
|
||||||
|
* Successful Response
|
||||||
|
*/
|
||||||
200: Message;
|
200: Message;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -192,6 +441,9 @@ export type loginResetPasswordResponse = loginResetPasswordResponses[keyof login
|
|||||||
export type loginRecoverPasswordHtmlContentData = {
|
export type loginRecoverPasswordHtmlContentData = {
|
||||||
body?: never;
|
body?: never;
|
||||||
path: {
|
path: {
|
||||||
|
/**
|
||||||
|
* Email
|
||||||
|
*/
|
||||||
email: string;
|
email: string;
|
||||||
};
|
};
|
||||||
query?: never;
|
query?: never;
|
||||||
@@ -199,12 +451,18 @@ export type loginRecoverPasswordHtmlContentData = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type loginRecoverPasswordHtmlContentErrors = {
|
export type loginRecoverPasswordHtmlContentErrors = {
|
||||||
|
/**
|
||||||
|
* Validation Error
|
||||||
|
*/
|
||||||
422: HTTPValidationError;
|
422: HTTPValidationError;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type loginRecoverPasswordHtmlContentError = loginRecoverPasswordHtmlContentErrors[keyof loginRecoverPasswordHtmlContentErrors];
|
export type loginRecoverPasswordHtmlContentError = loginRecoverPasswordHtmlContentErrors[keyof loginRecoverPasswordHtmlContentErrors];
|
||||||
|
|
||||||
export type loginRecoverPasswordHtmlContentResponses = {
|
export type loginRecoverPasswordHtmlContentResponses = {
|
||||||
|
/**
|
||||||
|
* Successful Response
|
||||||
|
*/
|
||||||
200: string;
|
200: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -214,19 +472,31 @@ export type usersReadUsersData = {
|
|||||||
body?: never;
|
body?: never;
|
||||||
path?: never;
|
path?: never;
|
||||||
query?: {
|
query?: {
|
||||||
|
/**
|
||||||
|
* Skip
|
||||||
|
*/
|
||||||
skip?: number;
|
skip?: number;
|
||||||
|
/**
|
||||||
|
* Limit
|
||||||
|
*/
|
||||||
limit?: number;
|
limit?: number;
|
||||||
};
|
};
|
||||||
url: '/api/v1/users/';
|
url: '/api/v1/users/';
|
||||||
};
|
};
|
||||||
|
|
||||||
export type usersReadUsersErrors = {
|
export type usersReadUsersErrors = {
|
||||||
|
/**
|
||||||
|
* Validation Error
|
||||||
|
*/
|
||||||
422: HTTPValidationError;
|
422: HTTPValidationError;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type usersReadUsersError = usersReadUsersErrors[keyof usersReadUsersErrors];
|
export type usersReadUsersError = usersReadUsersErrors[keyof usersReadUsersErrors];
|
||||||
|
|
||||||
export type usersReadUsersResponses = {
|
export type usersReadUsersResponses = {
|
||||||
|
/**
|
||||||
|
* Successful Response
|
||||||
|
*/
|
||||||
200: UsersPublic;
|
200: UsersPublic;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -240,12 +510,18 @@ export type usersCreateUserData = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type usersCreateUserErrors = {
|
export type usersCreateUserErrors = {
|
||||||
|
/**
|
||||||
|
* Validation Error
|
||||||
|
*/
|
||||||
422: HTTPValidationError;
|
422: HTTPValidationError;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type usersCreateUserError = usersCreateUserErrors[keyof usersCreateUserErrors];
|
export type usersCreateUserError = usersCreateUserErrors[keyof usersCreateUserErrors];
|
||||||
|
|
||||||
export type usersCreateUserResponses = {
|
export type usersCreateUserResponses = {
|
||||||
|
/**
|
||||||
|
* Successful Response
|
||||||
|
*/
|
||||||
200: UserPublic;
|
200: UserPublic;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -259,6 +535,9 @@ export type usersDeleteUserMeData = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type usersDeleteUserMeResponses = {
|
export type usersDeleteUserMeResponses = {
|
||||||
|
/**
|
||||||
|
* Successful Response
|
||||||
|
*/
|
||||||
200: Message;
|
200: Message;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -272,6 +551,9 @@ export type usersReadUserMeData = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type usersReadUserMeResponses = {
|
export type usersReadUserMeResponses = {
|
||||||
|
/**
|
||||||
|
* Successful Response
|
||||||
|
*/
|
||||||
200: UserPublic;
|
200: UserPublic;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -285,12 +567,18 @@ export type usersUpdateUserMeData = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type usersUpdateUserMeErrors = {
|
export type usersUpdateUserMeErrors = {
|
||||||
|
/**
|
||||||
|
* Validation Error
|
||||||
|
*/
|
||||||
422: HTTPValidationError;
|
422: HTTPValidationError;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type usersUpdateUserMeError = usersUpdateUserMeErrors[keyof usersUpdateUserMeErrors];
|
export type usersUpdateUserMeError = usersUpdateUserMeErrors[keyof usersUpdateUserMeErrors];
|
||||||
|
|
||||||
export type usersUpdateUserMeResponses = {
|
export type usersUpdateUserMeResponses = {
|
||||||
|
/**
|
||||||
|
* Successful Response
|
||||||
|
*/
|
||||||
200: UserPublic;
|
200: UserPublic;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -304,12 +592,18 @@ export type usersUpdatePasswordMeData = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type usersUpdatePasswordMeErrors = {
|
export type usersUpdatePasswordMeErrors = {
|
||||||
|
/**
|
||||||
|
* Validation Error
|
||||||
|
*/
|
||||||
422: HTTPValidationError;
|
422: HTTPValidationError;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type usersUpdatePasswordMeError = usersUpdatePasswordMeErrors[keyof usersUpdatePasswordMeErrors];
|
export type usersUpdatePasswordMeError = usersUpdatePasswordMeErrors[keyof usersUpdatePasswordMeErrors];
|
||||||
|
|
||||||
export type usersUpdatePasswordMeResponses = {
|
export type usersUpdatePasswordMeResponses = {
|
||||||
|
/**
|
||||||
|
* Successful Response
|
||||||
|
*/
|
||||||
200: Message;
|
200: Message;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -323,12 +617,18 @@ export type usersRegisterUserData = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type usersRegisterUserErrors = {
|
export type usersRegisterUserErrors = {
|
||||||
|
/**
|
||||||
|
* Validation Error
|
||||||
|
*/
|
||||||
422: HTTPValidationError;
|
422: HTTPValidationError;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type usersRegisterUserError = usersRegisterUserErrors[keyof usersRegisterUserErrors];
|
export type usersRegisterUserError = usersRegisterUserErrors[keyof usersRegisterUserErrors];
|
||||||
|
|
||||||
export type usersRegisterUserResponses = {
|
export type usersRegisterUserResponses = {
|
||||||
|
/**
|
||||||
|
* Successful Response
|
||||||
|
*/
|
||||||
200: UserPublic;
|
200: UserPublic;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -337,6 +637,9 @@ export type usersRegisterUserResponse = usersRegisterUserResponses[keyof usersRe
|
|||||||
export type usersDeleteUserData = {
|
export type usersDeleteUserData = {
|
||||||
body?: never;
|
body?: never;
|
||||||
path: {
|
path: {
|
||||||
|
/**
|
||||||
|
* User Id
|
||||||
|
*/
|
||||||
user_id: string;
|
user_id: string;
|
||||||
};
|
};
|
||||||
query?: never;
|
query?: never;
|
||||||
@@ -344,12 +647,18 @@ export type usersDeleteUserData = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type usersDeleteUserErrors = {
|
export type usersDeleteUserErrors = {
|
||||||
|
/**
|
||||||
|
* Validation Error
|
||||||
|
*/
|
||||||
422: HTTPValidationError;
|
422: HTTPValidationError;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type usersDeleteUserError = usersDeleteUserErrors[keyof usersDeleteUserErrors];
|
export type usersDeleteUserError = usersDeleteUserErrors[keyof usersDeleteUserErrors];
|
||||||
|
|
||||||
export type usersDeleteUserResponses = {
|
export type usersDeleteUserResponses = {
|
||||||
|
/**
|
||||||
|
* Successful Response
|
||||||
|
*/
|
||||||
200: Message;
|
200: Message;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -358,6 +667,9 @@ export type usersDeleteUserResponse = usersDeleteUserResponses[keyof usersDelete
|
|||||||
export type usersReadUserByIdData = {
|
export type usersReadUserByIdData = {
|
||||||
body?: never;
|
body?: never;
|
||||||
path: {
|
path: {
|
||||||
|
/**
|
||||||
|
* User Id
|
||||||
|
*/
|
||||||
user_id: string;
|
user_id: string;
|
||||||
};
|
};
|
||||||
query?: never;
|
query?: never;
|
||||||
@@ -365,12 +677,18 @@ export type usersReadUserByIdData = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type usersReadUserByIdErrors = {
|
export type usersReadUserByIdErrors = {
|
||||||
|
/**
|
||||||
|
* Validation Error
|
||||||
|
*/
|
||||||
422: HTTPValidationError;
|
422: HTTPValidationError;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type usersReadUserByIdError = usersReadUserByIdErrors[keyof usersReadUserByIdErrors];
|
export type usersReadUserByIdError = usersReadUserByIdErrors[keyof usersReadUserByIdErrors];
|
||||||
|
|
||||||
export type usersReadUserByIdResponses = {
|
export type usersReadUserByIdResponses = {
|
||||||
|
/**
|
||||||
|
* Successful Response
|
||||||
|
*/
|
||||||
200: UserPublic;
|
200: UserPublic;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -379,6 +697,9 @@ export type usersReadUserByIdResponse = usersReadUserByIdResponses[keyof usersRe
|
|||||||
export type usersUpdateUserData = {
|
export type usersUpdateUserData = {
|
||||||
body: UserUpdate;
|
body: UserUpdate;
|
||||||
path: {
|
path: {
|
||||||
|
/**
|
||||||
|
* User Id
|
||||||
|
*/
|
||||||
user_id: string;
|
user_id: string;
|
||||||
};
|
};
|
||||||
query?: never;
|
query?: never;
|
||||||
@@ -386,12 +707,18 @@ export type usersUpdateUserData = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type usersUpdateUserErrors = {
|
export type usersUpdateUserErrors = {
|
||||||
|
/**
|
||||||
|
* Validation Error
|
||||||
|
*/
|
||||||
422: HTTPValidationError;
|
422: HTTPValidationError;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type usersUpdateUserError = usersUpdateUserErrors[keyof usersUpdateUserErrors];
|
export type usersUpdateUserError = usersUpdateUserErrors[keyof usersUpdateUserErrors];
|
||||||
|
|
||||||
export type usersUpdateUserResponses = {
|
export type usersUpdateUserResponses = {
|
||||||
|
/**
|
||||||
|
* Successful Response
|
||||||
|
*/
|
||||||
200: UserPublic;
|
200: UserPublic;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -401,18 +728,27 @@ export type utilsTestEmailData = {
|
|||||||
body?: never;
|
body?: never;
|
||||||
path?: never;
|
path?: never;
|
||||||
query: {
|
query: {
|
||||||
|
/**
|
||||||
|
* Email To
|
||||||
|
*/
|
||||||
email_to: string;
|
email_to: string;
|
||||||
};
|
};
|
||||||
url: '/api/v1/utils/test-email/';
|
url: '/api/v1/utils/test-email/';
|
||||||
};
|
};
|
||||||
|
|
||||||
export type utilsTestEmailErrors = {
|
export type utilsTestEmailErrors = {
|
||||||
|
/**
|
||||||
|
* Validation Error
|
||||||
|
*/
|
||||||
422: HTTPValidationError;
|
422: HTTPValidationError;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type utilsTestEmailError = utilsTestEmailErrors[keyof utilsTestEmailErrors];
|
export type utilsTestEmailError = utilsTestEmailErrors[keyof utilsTestEmailErrors];
|
||||||
|
|
||||||
export type utilsTestEmailResponses = {
|
export type utilsTestEmailResponses = {
|
||||||
|
/**
|
||||||
|
* Successful Response
|
||||||
|
*/
|
||||||
201: Message;
|
201: Message;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -426,6 +762,11 @@ export type utilsHealthCheckData = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type utilsHealthCheckResponses = {
|
export type utilsHealthCheckResponses = {
|
||||||
|
/**
|
||||||
|
* Response Utils-Health Check
|
||||||
|
*
|
||||||
|
* Successful Response
|
||||||
|
*/
|
||||||
200: boolean;
|
200: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -435,19 +776,31 @@ export type itemsReadItemsData = {
|
|||||||
body?: never;
|
body?: never;
|
||||||
path?: never;
|
path?: never;
|
||||||
query?: {
|
query?: {
|
||||||
|
/**
|
||||||
|
* Skip
|
||||||
|
*/
|
||||||
skip?: number;
|
skip?: number;
|
||||||
|
/**
|
||||||
|
* Limit
|
||||||
|
*/
|
||||||
limit?: number;
|
limit?: number;
|
||||||
};
|
};
|
||||||
url: '/api/v1/items/';
|
url: '/api/v1/items/';
|
||||||
};
|
};
|
||||||
|
|
||||||
export type itemsReadItemsErrors = {
|
export type itemsReadItemsErrors = {
|
||||||
|
/**
|
||||||
|
* Validation Error
|
||||||
|
*/
|
||||||
422: HTTPValidationError;
|
422: HTTPValidationError;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type itemsReadItemsError = itemsReadItemsErrors[keyof itemsReadItemsErrors];
|
export type itemsReadItemsError = itemsReadItemsErrors[keyof itemsReadItemsErrors];
|
||||||
|
|
||||||
export type itemsReadItemsResponses = {
|
export type itemsReadItemsResponses = {
|
||||||
|
/**
|
||||||
|
* Successful Response
|
||||||
|
*/
|
||||||
200: ItemsPublic;
|
200: ItemsPublic;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -461,12 +814,18 @@ export type itemsCreateItemData = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type itemsCreateItemErrors = {
|
export type itemsCreateItemErrors = {
|
||||||
|
/**
|
||||||
|
* Validation Error
|
||||||
|
*/
|
||||||
422: HTTPValidationError;
|
422: HTTPValidationError;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type itemsCreateItemError = itemsCreateItemErrors[keyof itemsCreateItemErrors];
|
export type itemsCreateItemError = itemsCreateItemErrors[keyof itemsCreateItemErrors];
|
||||||
|
|
||||||
export type itemsCreateItemResponses = {
|
export type itemsCreateItemResponses = {
|
||||||
|
/**
|
||||||
|
* Successful Response
|
||||||
|
*/
|
||||||
200: ItemPublic;
|
200: ItemPublic;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -475,6 +834,9 @@ export type itemsCreateItemResponse = itemsCreateItemResponses[keyof itemsCreate
|
|||||||
export type itemsDeleteItemData = {
|
export type itemsDeleteItemData = {
|
||||||
body?: never;
|
body?: never;
|
||||||
path: {
|
path: {
|
||||||
|
/**
|
||||||
|
* Id
|
||||||
|
*/
|
||||||
id: string;
|
id: string;
|
||||||
};
|
};
|
||||||
query?: never;
|
query?: never;
|
||||||
@@ -482,12 +844,18 @@ export type itemsDeleteItemData = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type itemsDeleteItemErrors = {
|
export type itemsDeleteItemErrors = {
|
||||||
|
/**
|
||||||
|
* Validation Error
|
||||||
|
*/
|
||||||
422: HTTPValidationError;
|
422: HTTPValidationError;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type itemsDeleteItemError = itemsDeleteItemErrors[keyof itemsDeleteItemErrors];
|
export type itemsDeleteItemError = itemsDeleteItemErrors[keyof itemsDeleteItemErrors];
|
||||||
|
|
||||||
export type itemsDeleteItemResponses = {
|
export type itemsDeleteItemResponses = {
|
||||||
|
/**
|
||||||
|
* Successful Response
|
||||||
|
*/
|
||||||
200: Message;
|
200: Message;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -496,6 +864,9 @@ export type itemsDeleteItemResponse = itemsDeleteItemResponses[keyof itemsDelete
|
|||||||
export type itemsReadItemData = {
|
export type itemsReadItemData = {
|
||||||
body?: never;
|
body?: never;
|
||||||
path: {
|
path: {
|
||||||
|
/**
|
||||||
|
* Id
|
||||||
|
*/
|
||||||
id: string;
|
id: string;
|
||||||
};
|
};
|
||||||
query?: never;
|
query?: never;
|
||||||
@@ -503,12 +874,18 @@ export type itemsReadItemData = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type itemsReadItemErrors = {
|
export type itemsReadItemErrors = {
|
||||||
|
/**
|
||||||
|
* Validation Error
|
||||||
|
*/
|
||||||
422: HTTPValidationError;
|
422: HTTPValidationError;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type itemsReadItemError = itemsReadItemErrors[keyof itemsReadItemErrors];
|
export type itemsReadItemError = itemsReadItemErrors[keyof itemsReadItemErrors];
|
||||||
|
|
||||||
export type itemsReadItemResponses = {
|
export type itemsReadItemResponses = {
|
||||||
|
/**
|
||||||
|
* Successful Response
|
||||||
|
*/
|
||||||
200: ItemPublic;
|
200: ItemPublic;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -517,6 +894,9 @@ export type itemsReadItemResponse = itemsReadItemResponses[keyof itemsReadItemRe
|
|||||||
export type itemsUpdateItemData = {
|
export type itemsUpdateItemData = {
|
||||||
body: ItemUpdate;
|
body: ItemUpdate;
|
||||||
path: {
|
path: {
|
||||||
|
/**
|
||||||
|
* Id
|
||||||
|
*/
|
||||||
id: string;
|
id: string;
|
||||||
};
|
};
|
||||||
query?: never;
|
query?: never;
|
||||||
@@ -524,12 +904,18 @@ export type itemsUpdateItemData = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type itemsUpdateItemErrors = {
|
export type itemsUpdateItemErrors = {
|
||||||
|
/**
|
||||||
|
* Validation Error
|
||||||
|
*/
|
||||||
422: HTTPValidationError;
|
422: HTTPValidationError;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type itemsUpdateItemError = itemsUpdateItemErrors[keyof itemsUpdateItemErrors];
|
export type itemsUpdateItemError = itemsUpdateItemErrors[keyof itemsUpdateItemErrors];
|
||||||
|
|
||||||
export type itemsUpdateItemResponses = {
|
export type itemsUpdateItemResponses = {
|
||||||
|
/**
|
||||||
|
* Successful Response
|
||||||
|
*/
|
||||||
200: ItemPublic;
|
200: ItemPublic;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -543,12 +929,18 @@ export type privateCreateUserData = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type privateCreateUserErrors = {
|
export type privateCreateUserErrors = {
|
||||||
|
/**
|
||||||
|
* Validation Error
|
||||||
|
*/
|
||||||
422: HTTPValidationError;
|
422: HTTPValidationError;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type privateCreateUserError = privateCreateUserErrors[keyof privateCreateUserErrors];
|
export type privateCreateUserError = privateCreateUserErrors[keyof privateCreateUserErrors];
|
||||||
|
|
||||||
export type privateCreateUserResponses = {
|
export type privateCreateUserResponses = {
|
||||||
|
/**
|
||||||
|
* Successful Response
|
||||||
|
*/
|
||||||
200: UserPublic;
|
200: UserPublic;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user