mirror of
https://github.com/langgenius/dify.git
synced 2026-05-11 23:18:39 +08:00
710 lines
16 KiB
TypeScript
710 lines
16 KiB
TypeScript
// This file is auto-generated by @hey-api/openapi-ts
|
|
|
|
import * as z from 'zod'
|
|
|
|
/**
|
|
* RagPipelineDatasetImportPayload
|
|
*/
|
|
export const zRagPipelineDatasetImportPayload = z.object({
|
|
yaml_content: z.string(),
|
|
})
|
|
|
|
/**
|
|
* RagPipelineImportPayload
|
|
*/
|
|
export const zRagPipelineImportPayload = z.object({
|
|
description: z.string().nullish(),
|
|
icon: z.string().nullish(),
|
|
icon_background: z.string().nullish(),
|
|
icon_type: z.string().nullish(),
|
|
mode: z.string(),
|
|
name: z.string().nullish(),
|
|
pipeline_id: z.string().nullish(),
|
|
yaml_content: z.string().nullish(),
|
|
yaml_url: z.string().nullish(),
|
|
})
|
|
|
|
/**
|
|
* Payload
|
|
*/
|
|
export const zPayload = z.object({
|
|
description: z.string().max(400).optional().default(''),
|
|
icon_info: z.record(z.string(), z.unknown()).nullish(),
|
|
name: z.string().min(1).max(40),
|
|
})
|
|
|
|
/**
|
|
* DatasourceNodeRunPayload
|
|
*/
|
|
export const zDatasourceNodeRunPayload = z.object({
|
|
credential_id: z.string().nullish(),
|
|
datasource_type: z.string(),
|
|
inputs: z.record(z.string(), z.unknown()),
|
|
})
|
|
|
|
/**
|
|
* DatasourceVariablesPayload
|
|
*/
|
|
export const zDatasourceVariablesPayload = z.object({
|
|
datasource_info: z.record(z.string(), z.unknown()),
|
|
datasource_type: z.string(),
|
|
start_node_id: z.string(),
|
|
start_node_title: z.string(),
|
|
})
|
|
|
|
/**
|
|
* NodeRunPayload
|
|
*/
|
|
export const zNodeRunPayload = z.object({
|
|
inputs: z.record(z.string(), z.unknown()).nullish(),
|
|
})
|
|
|
|
/**
|
|
* NodeRunRequiredPayload
|
|
*/
|
|
export const zNodeRunRequiredPayload = z.object({
|
|
inputs: z.record(z.string(), z.unknown()),
|
|
})
|
|
|
|
/**
|
|
* DraftWorkflowRunPayload
|
|
*/
|
|
export const zDraftWorkflowRunPayload = z.object({
|
|
datasource_info_list: z.array(z.record(z.string(), z.unknown())),
|
|
datasource_type: z.string(),
|
|
inputs: z.record(z.string(), z.unknown()),
|
|
start_node_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Parser
|
|
*/
|
|
export const zParser = z.object({
|
|
credential_id: z.string().nullish(),
|
|
datasource_type: z.string(),
|
|
inputs: z.record(z.string(), z.unknown()),
|
|
})
|
|
|
|
/**
|
|
* PublishedWorkflowRunPayload
|
|
*/
|
|
export const zPublishedWorkflowRunPayload = z.object({
|
|
datasource_info_list: z.array(z.record(z.string(), z.unknown())),
|
|
datasource_type: z.string(),
|
|
inputs: z.record(z.string(), z.unknown()),
|
|
is_preview: z.boolean().optional().default(false),
|
|
original_document_id: z.string().nullish(),
|
|
response_mode: z.enum(['streaming', 'blocking']).optional().default('streaming'),
|
|
start_node_id: z.string(),
|
|
})
|
|
|
|
export const zDeleteRagPipelineCustomizedTemplatesByTemplateIdPath = z.object({
|
|
template_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zDeleteRagPipelineCustomizedTemplatesByTemplateIdResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPatchRagPipelineCustomizedTemplatesByTemplateIdPath = z.object({
|
|
template_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPatchRagPipelineCustomizedTemplatesByTemplateIdResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostRagPipelineCustomizedTemplatesByTemplateIdPath = z.object({
|
|
template_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostRagPipelineCustomizedTemplatesByTemplateIdResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostRagPipelineDatasetBody = zRagPipelineDatasetImportPayload
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostRagPipelineDatasetResponse = z.record(z.string(), z.unknown())
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostRagPipelineEmptyDatasetResponse = z.record(z.string(), z.unknown())
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetRagPipelineTemplatesResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zGetRagPipelineTemplatesByTemplateIdPath = z.object({
|
|
template_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetRagPipelineTemplatesByTemplateIdResponse = z.record(z.string(), z.unknown())
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetRagPipelinesDatasourcePluginsResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostRagPipelinesImportsBody = zRagPipelineImportPayload
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostRagPipelinesImportsResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostRagPipelinesImportsByImportIdConfirmPath = z.object({
|
|
import_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostRagPipelinesImportsByImportIdConfirmResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zGetRagPipelinesImportsByPipelineIdCheckDependenciesPath = z.object({
|
|
pipeline_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetRagPipelinesImportsByPipelineIdCheckDependenciesResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetRagPipelinesRecommendedPluginsResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostRagPipelinesTransformDatasetsByDatasetIdPath = z.object({
|
|
dataset_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostRagPipelinesTransformDatasetsByDatasetIdResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostRagPipelinesByPipelineIdCustomizedPublishBody = zPayload
|
|
|
|
export const zPostRagPipelinesByPipelineIdCustomizedPublishPath = z.object({
|
|
pipeline_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostRagPipelinesByPipelineIdCustomizedPublishResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zGetRagPipelinesByPipelineIdExportsPath = z.object({
|
|
pipeline_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetRagPipelinesByPipelineIdExportsResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zGetRagPipelinesByPipelineIdWorkflowRunsPath = z.object({
|
|
pipeline_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetRagPipelinesByPipelineIdWorkflowRunsResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostRagPipelinesByPipelineIdWorkflowRunsTasksByTaskIdStopPath = z.object({
|
|
pipeline_id: z.string(),
|
|
task_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostRagPipelinesByPipelineIdWorkflowRunsTasksByTaskIdStopResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zGetRagPipelinesByPipelineIdWorkflowRunsByRunIdPath = z.object({
|
|
pipeline_id: z.string(),
|
|
run_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetRagPipelinesByPipelineIdWorkflowRunsByRunIdResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zGetRagPipelinesByPipelineIdWorkflowRunsByRunIdNodeExecutionsPath = z.object({
|
|
pipeline_id: z.string(),
|
|
run_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetRagPipelinesByPipelineIdWorkflowRunsByRunIdNodeExecutionsResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsPath = z.object({
|
|
pipeline_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsDefaultWorkflowBlockConfigsPath = z.object({
|
|
pipeline_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsDefaultWorkflowBlockConfigsResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsDefaultWorkflowBlockConfigsByBlockTypePath
|
|
= z.object({
|
|
pipeline_id: z.string(),
|
|
block_type: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsDefaultWorkflowBlockConfigsByBlockTypeResponse
|
|
= z.record(z.string(), z.unknown())
|
|
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsDraftPath = z.object({
|
|
pipeline_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsDraftResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsDraftPath = z.object({
|
|
pipeline_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsDraftResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsDraftDatasourceNodesByNodeIdRunBody
|
|
= zDatasourceNodeRunPayload
|
|
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsDraftDatasourceNodesByNodeIdRunPath = z.object({
|
|
pipeline_id: z.string(),
|
|
node_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsDraftDatasourceNodesByNodeIdRunResponse
|
|
= z.record(z.string(), z.unknown())
|
|
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsDraftDatasourceVariablesInspectBody
|
|
= zDatasourceVariablesPayload
|
|
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsDraftDatasourceVariablesInspectPath = z.object({
|
|
pipeline_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsDraftDatasourceVariablesInspectResponse
|
|
= z.record(z.string(), z.unknown())
|
|
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsDraftEnvironmentVariablesPath = z.object({
|
|
pipeline_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsDraftEnvironmentVariablesResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsDraftIterationNodesByNodeIdRunBody
|
|
= zNodeRunPayload
|
|
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsDraftIterationNodesByNodeIdRunPath = z.object({
|
|
pipeline_id: z.string(),
|
|
node_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsDraftIterationNodesByNodeIdRunResponse
|
|
= z.record(z.string(), z.unknown())
|
|
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsDraftLoopNodesByNodeIdRunBody = zNodeRunPayload
|
|
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsDraftLoopNodesByNodeIdRunPath = z.object({
|
|
pipeline_id: z.string(),
|
|
node_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsDraftLoopNodesByNodeIdRunResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsDraftNodesByNodeIdLastRunPath = z.object({
|
|
pipeline_id: z.string(),
|
|
node_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsDraftNodesByNodeIdLastRunResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsDraftNodesByNodeIdRunBody
|
|
= zNodeRunRequiredPayload
|
|
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsDraftNodesByNodeIdRunPath = z.object({
|
|
pipeline_id: z.string(),
|
|
node_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsDraftNodesByNodeIdRunResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zDeleteRagPipelinesByPipelineIdWorkflowsDraftNodesByNodeIdVariablesPath = z.object({
|
|
pipeline_id: z.string(),
|
|
node_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zDeleteRagPipelinesByPipelineIdWorkflowsDraftNodesByNodeIdVariablesResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsDraftNodesByNodeIdVariablesPath = z.object({
|
|
pipeline_id: z.string(),
|
|
node_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsDraftNodesByNodeIdVariablesResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsDraftPreProcessingParametersPath = z.object({
|
|
pipeline_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsDraftPreProcessingParametersResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsDraftProcessingParametersPath = z.object({
|
|
pipeline_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsDraftProcessingParametersResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsDraftRunBody = zDraftWorkflowRunPayload
|
|
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsDraftRunPath = z.object({
|
|
pipeline_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsDraftRunResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsDraftSystemVariablesPath = z.object({
|
|
pipeline_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsDraftSystemVariablesResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zDeleteRagPipelinesByPipelineIdWorkflowsDraftVariablesPath = z.object({
|
|
pipeline_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zDeleteRagPipelinesByPipelineIdWorkflowsDraftVariablesResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsDraftVariablesPath = z.object({
|
|
pipeline_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsDraftVariablesResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zDeleteRagPipelinesByPipelineIdWorkflowsDraftVariablesByVariableIdPath = z.object({
|
|
pipeline_id: z.string(),
|
|
variable_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zDeleteRagPipelinesByPipelineIdWorkflowsDraftVariablesByVariableIdResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsDraftVariablesByVariableIdPath = z.object({
|
|
pipeline_id: z.string(),
|
|
variable_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsDraftVariablesByVariableIdResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPatchRagPipelinesByPipelineIdWorkflowsDraftVariablesByVariableIdPath = z.object({
|
|
pipeline_id: z.string(),
|
|
variable_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPatchRagPipelinesByPipelineIdWorkflowsDraftVariablesByVariableIdResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPutRagPipelinesByPipelineIdWorkflowsDraftVariablesByVariableIdResetPath = z.object({
|
|
pipeline_id: z.string(),
|
|
variable_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPutRagPipelinesByPipelineIdWorkflowsDraftVariablesByVariableIdResetResponse
|
|
= z.record(z.string(), z.unknown())
|
|
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsPublishPath = z.object({
|
|
pipeline_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsPublishResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsPublishPath = z.object({
|
|
pipeline_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsPublishResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsPublishedDatasourceNodesByNodeIdPreviewBody
|
|
= zParser
|
|
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsPublishedDatasourceNodesByNodeIdPreviewPath
|
|
= z.object({
|
|
pipeline_id: z.string(),
|
|
node_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsPublishedDatasourceNodesByNodeIdPreviewResponse
|
|
= z.record(z.string(), z.unknown())
|
|
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsPublishedDatasourceNodesByNodeIdRunBody
|
|
= zDatasourceNodeRunPayload
|
|
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsPublishedDatasourceNodesByNodeIdRunPath
|
|
= z.object({
|
|
pipeline_id: z.string(),
|
|
node_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsPublishedDatasourceNodesByNodeIdRunResponse
|
|
= z.record(z.string(), z.unknown())
|
|
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsPublishedPreProcessingParametersPath = z.object({
|
|
pipeline_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsPublishedPreProcessingParametersResponse
|
|
= z.record(z.string(), z.unknown())
|
|
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsPublishedProcessingParametersPath = z.object({
|
|
pipeline_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetRagPipelinesByPipelineIdWorkflowsPublishedProcessingParametersResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsPublishedRunBody = zPublishedWorkflowRunPayload
|
|
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsPublishedRunPath = z.object({
|
|
pipeline_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsPublishedRunResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zDeleteRagPipelinesByPipelineIdWorkflowsByWorkflowIdPath = z.object({
|
|
pipeline_id: z.string(),
|
|
workflow_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zDeleteRagPipelinesByPipelineIdWorkflowsByWorkflowIdResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPatchRagPipelinesByPipelineIdWorkflowsByWorkflowIdPath = z.object({
|
|
pipeline_id: z.string(),
|
|
workflow_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPatchRagPipelinesByPipelineIdWorkflowsByWorkflowIdResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsByWorkflowIdRestorePath = z.object({
|
|
pipeline_id: z.string(),
|
|
workflow_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostRagPipelinesByPipelineIdWorkflowsByWorkflowIdRestoreResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|