Files
vontor-cz/frontend/src/api/generated/public/models/patchedCustomUser.ts
2026-04-20 00:04:15 +02:00

46 lines
939 B
TypeScript

/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
import type { RoleEnum } from "./roleEnum";
export interface PatchedCustomUser {
readonly id?: number;
/** Požadováno. 150 znaků nebo méně. Pouze písmena, číslice a znaky @/./+/-/_. */
readonly username?: string;
/** @maxLength 150 */
first_name?: string;
/** @maxLength 150 */
last_name?: string;
/** @maxLength 254 */
email?: string;
role?: RoleEnum;
email_verified?: boolean;
/**
* @maxLength 16
* @nullable
* @pattern ^\+?\d{9,15}$
*/
phone_number?: string | null;
readonly create_time?: Date;
/**
* @maxLength 100
* @nullable
*/
city?: string | null;
/**
* @maxLength 200
* @nullable
*/
street?: string | null;
/**
* @maxLength 5
* @nullable
* @pattern ^\d{5}$
*/
postal_code?: string | null;
readonly gdpr?: boolean;
is_active?: boolean;
}