VORKOUT-8 #13

Merged
vlad.dev merged 30 commits from VORKOUT-8 into master 2025-07-02 12:23:44 +05:00
2 changed files with 23 additions and 3 deletions
Showing only changes of commit 22064d2b52 - Show all commits

View File

@ -251,6 +251,25 @@ export interface components {
createdAt: string; createdAt: string;
status: components["schemas"]["AccountStatus"]; status: components["schemas"]["AccountStatus"];
}; };
/** UserCreate */
UserCreate: {
/** Name */
name?: string | null;
/** Login */
login?: string | null;
/** Email */
email?: string | null;
/** Password */
password?: string | null;
/** Bindtenantid */
bindTenantId?: string | null;
role?: components["schemas"]["AccountRole"] | null;
/** Meta */
meta?: {
[key: string]: unknown;
} | null;
status?: components["schemas"]["AccountStatus"] | null;
};
/** UserUpdate */ /** UserUpdate */
UserUpdate: { UserUpdate: {
/** Id */ /** Id */
@ -439,7 +458,7 @@ export interface operations {
}; };
requestBody: { requestBody: {
content: { content: {
"application/json": components["schemas"]["UserUpdate"]; "application/json": components["schemas"]["UserCreate"];
}; };
}; };
responses: { responses: {
@ -449,7 +468,7 @@ export interface operations {
[name: string]: unknown; [name: string]: unknown;
}; };
content: { content: {
"application/json": components["schemas"]["User"]; "application/json": components["schemas"]["AllUser"];
}; };
}; };
/** @description Validation Error */ /** @description Validation Error */
@ -480,7 +499,7 @@ export interface operations {
[name: string]: unknown; [name: string]: unknown;
}; };
content: { content: {
"application/json": components["schemas"]["User"]; "application/json": components["schemas"]["UserUpdate"];
}; };
}; };
/** @description Validation Error */ /** @description Validation Error */

View File

@ -6,3 +6,4 @@ export type AllUser = components['schemas']['AllUser'];
export type AccountStatus = components['schemas']['AccountStatus']; export type AccountStatus = components['schemas']['AccountStatus'];
export type AccountRole = components['schemas']['AccountRole']; export type AccountRole = components['schemas']['AccountRole'];
export type UserUpdate = components['schemas']['UserUpdate']; export type UserUpdate = components['schemas']['UserUpdate'];
export type UserCreate = components['schemas']['UserCreate'];