// This file is auto-generated by @hey-api/openapi-ts export const AuthResponseDtoUserDetailDtoSchema = { type: 'object', properties: { token: { type: [ 'string', 'null' ] }, data: { type: 'null', $ref: '#/components/schemas/UserDetailDto' }, roleName: { type: [ 'string', 'null' ] }, modulePermissions: { type: [ 'array', 'null' ], items: { $ref: '#/components/schemas/ModulePermission' } } } } as const; export const ModuleDefinitionSchema = {} as const; export const ModulePermissionSchema = { type: 'object', properties: { module: { $ref: '#/components/schemas/ModuleDefinition' }, permissions: { type: 'array', items: { $ref: '#/components/schemas/PermissionDefinition' }, maxItems: 512, minItems: 0 } }, required: [ 'module', 'permissions' ] } as const; export const PermissionDefinitionSchema = {} as const; export const RestResponseAuthResponseDtoUserDetailDtoSchema = { type: 'object', properties: { message: { type: [ 'string', 'null' ] }, status: { type: [ 'boolean', 'null' ] }, data: { type: 'null', $ref: '#/components/schemas/AuthResponseDtoUserDetailDto' } } } as const; export const UserDetailDtoSchema = { type: 'object', properties: { id: { type: 'string' }, slug: { type: 'string' }, email: { type: 'string', format: 'email', maxLength: 256, minLength: 1 } }, required: [ 'email', 'id', 'slug' ] } as const; export const RestResponseStringSchema = { type: 'object', properties: { message: { type: [ 'string', 'null' ] }, status: { type: [ 'boolean', 'null' ] }, data: { type: [ 'string', 'null' ] } } } as const; export const UserResetPasswordDtoSchema = { type: 'object', properties: { email: { type: 'string', format: 'email', maxLength: 256, minLength: 1 }, password: { type: 'string', format: 'password', maxLength: 32, minLength: 6 }, otp: { type: 'string', maxLength: 12, minLength: 4 } }, required: [ 'email', 'otp', 'password' ] } as const; export const UserSignupDtoSchema = { type: 'object', properties: { password: { type: 'string' }, email: { type: 'string', format: 'email', maxLength: 256, minLength: 1 } }, required: [ 'email', 'password' ] } as const; export const UserLoginDtoSchema = { type: 'object', properties: { email: { type: 'string', format: 'email', maxLength: 256, minLength: 1 }, password: { type: 'string', format: 'password', maxLength: 32, minLength: 6 } }, required: [ 'email', 'password' ] } as const;