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.

1.3 KB
Raw Blame
// This file is auto-generated by @hey-api/openapi-ts

import { oc } from '@orpc/contract'
import * as z from 'zod'
import {
  zGetOnboardingStepByStepTourStateResponse,
  zPatchOnboardingStepByStepTourStateBody,
  zPatchOnboardingStepByStepTourStateResponse,
} from './zod.gen.ts'

/**
 * Get account-level Step-by-step Tour state
 */
export const get = oc
  .route({
    description: 'Get account-level Step-by-step Tour state',
    inputStructure: 'detailed',
    method: 'GET',
    operationId: 'getOnboardingStepByStepTourState',
    path: '/onboarding/step-by-step-tour/state',
    tags: ['console'],
  })
  .output(zGetOnboardingStepByStepTourStateResponse)

/**
 * Update account-level Step-by-step Tour state
 */
export const patch = oc
  .route({
    description: 'Update account-level Step-by-step Tour state',
    inputStructure: 'detailed',
    method: 'PATCH',
    operationId: 'patchOnboardingStepByStepTourState',
    path: '/onboarding/step-by-step-tour/state',
    tags: ['console'],
  })
  .input(z.object({ body: zPatchOnboardingStepByStepTourStateBody }))
  .output(zPatchOnboardingStepByStepTourStateResponse)

export const state = {
  get,
  patch,
}

export const stepByStepTour = {
  state,
}

export const onboarding = {
  stepByStepTour,
}

export const contract = {
  onboarding,
}