Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

712 B
Raw Blame
// This file is auto-generated by @hey-api/openapi-ts

import * as z from 'zod'

/**
 * SetupStatusResponse
 */
export const zSetupStatusResponse = z.object({
  setup_at: z.string().nullish(),
  step: z.enum(['finished', 'not_started']),
})

/**
 * SetupRequestPayload
 */
export const zSetupRequestPayload = z.object({
  email: z.string(),
  language: z.string().nullish(),
  name: z.string().max(30),
  password: z.string(),
})

/**
 * SetupResponse
 */
export const zSetupResponse = z.object({
  result: z.string(),
})

/**
 * OK
 */
export const zGetSetupResponse = zSetupStatusResponse

export const zPostSetupBody = zSetupRequestPayload

/**
 * Created
 */
export const zPostSetupResponse = zSetupResponse