mirror of
https://github.com/langgenius/dify.git
synced 2026-06-14 12:51:07 +08:00
43 lines
1.0 KiB
TypeScript
43 lines
1.0 KiB
TypeScript
// This file is auto-generated by @hey-api/openapi-ts
|
|
|
|
import * as z from 'zod'
|
|
|
|
/**
|
|
* ConsoleHumanInputFormDefinitionResponse
|
|
*/
|
|
export const zConsoleHumanInputFormDefinitionResponse = z.record(z.string(), z.unknown())
|
|
|
|
/**
|
|
* HumanInputFormSubmitPayload
|
|
*/
|
|
export const zHumanInputFormSubmitPayload = z.object({
|
|
action: z.string(),
|
|
form_inputs: z.record(z.string(), z.unknown()),
|
|
inputs: z.record(z.string(), z.unknown()),
|
|
})
|
|
|
|
/**
|
|
* ConsoleHumanInputFormSubmitResponse
|
|
*/
|
|
export const zConsoleHumanInputFormSubmitResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zGetFormHumanInputByFormTokenPath = z.object({
|
|
form_token: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetFormHumanInputByFormTokenResponse = zConsoleHumanInputFormDefinitionResponse
|
|
|
|
export const zPostFormHumanInputByFormTokenBody = zHumanInputFormSubmitPayload
|
|
|
|
export const zPostFormHumanInputByFormTokenPath = z.object({
|
|
form_token: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostFormHumanInputByFormTokenResponse = zConsoleHumanInputFormSubmitResponse
|