UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

24 lines 800 B
import { z } from 'zod'; import { BaseResponseSchema } from '../../../core/schemas'; /** * Schema for /users/verify-password POST endpoint * Verifies user credentials and returns authentication information */ export const UsersVerifyPasswordRequestSchema = z .object({ username: z.string().min(1, 'Username is required'), password: z.string().min(1, 'Password is required'), siteId: z.string().optional(), }) .passthrough(); export const UsersVerifyPasswordDataSchema = z .object({ id: z.number(), isVerified: z.boolean(), username: z.string(), token: z.string(), email: z.string(), }) .passthrough(); export const UsersVerifyPasswordResponseSchema = BaseResponseSchema(UsersVerifyPasswordDataSchema); //# sourceMappingURL=usersVerifyPassword.js.map