mirror of
https://github.com/langgenius/dify.git
synced 2026-05-13 00:33:37 +08:00
21 lines
418 B
TypeScript
21 lines
418 B
TypeScript
// This file is auto-generated by @hey-api/openapi-ts
|
|
|
|
import * as z from 'zod'
|
|
|
|
/**
|
|
* LoginPayload
|
|
*/
|
|
export const zLoginPayload = z.object({
|
|
email: z.string(),
|
|
invite_token: z.string().nullish(),
|
|
password: z.string(),
|
|
remember_me: z.boolean().optional().default(false),
|
|
})
|
|
|
|
export const zPostLoginBody = zLoginPayload
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostLoginResponse = z.record(z.string(), z.unknown())
|