mirror of
https://github.com/langgenius/dify.git
synced 2026-05-31 22:26:19 +08:00
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
48 lines
1.1 KiB
TypeScript
48 lines
1.1 KiB
TypeScript
// This file is auto-generated by @hey-api/openapi-ts
|
|
|
|
import * as z from 'zod'
|
|
|
|
/**
|
|
* HumanInputPauseTypeResponse
|
|
*/
|
|
export const zHumanInputPauseTypeResponse = z.object({
|
|
backstage_input_url: z.string().nullish(),
|
|
form_id: z.string(),
|
|
type: z.string(),
|
|
})
|
|
|
|
/**
|
|
* PausedNodeResponse
|
|
*/
|
|
export const zPausedNodeResponse = z.object({
|
|
node_id: z.string(),
|
|
node_title: z.string(),
|
|
pause_type: zHumanInputPauseTypeResponse,
|
|
})
|
|
|
|
/**
|
|
* WorkflowPauseDetailsResponse
|
|
*/
|
|
export const zWorkflowPauseDetailsResponse = z.object({
|
|
paused_at: z.string().nullish(),
|
|
paused_nodes: z.array(zPausedNodeResponse),
|
|
})
|
|
|
|
export const zGetWorkflowByWorkflowRunIdEventsPath = z.object({
|
|
workflow_run_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkflowByWorkflowRunIdEventsResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zGetWorkflowByWorkflowRunIdPauseDetailsPath = z.object({
|
|
workflow_run_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Workflow pause details retrieved successfully
|
|
*/
|
|
export const zGetWorkflowByWorkflowRunIdPauseDetailsResponse = zWorkflowPauseDetailsResponse
|