dify/packages/contracts/generated/api/console/onboarding/orpc.gen.ts
Jingyi cb64446fa3
feat(web): add step-by-step tour shell (#38785)
Co-authored-by: hjlarry <hjlarry@163.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-07-20 09:23:25 +00:00

56 lines
1.3 KiB
TypeScript

// 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'
/**
* 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,
}