mirror of
https://github.com/langgenius/dify.git
synced 2026-05-08 09:00:22 -04:00
26 lines
557 B
TypeScript
26 lines
557 B
TypeScript
// This file is auto-generated by @hey-api/openapi-ts
|
|
|
|
import { oc } from '@orpc/contract'
|
|
import * as z from 'zod'
|
|
|
|
import { zPostResetPasswordBody, zPostResetPasswordResponse } from './zod.gen'
|
|
|
|
export const post = oc
|
|
.route({
|
|
inputStructure: 'detailed',
|
|
method: 'POST',
|
|
operationId: 'postResetPassword',
|
|
path: '/reset-password',
|
|
tags: ['console'],
|
|
})
|
|
.input(z.object({ body: zPostResetPasswordBody }))
|
|
.output(zPostResetPasswordResponse)
|
|
|
|
export const resetPassword = {
|
|
post,
|
|
}
|
|
|
|
export const contract = {
|
|
resetPassword,
|
|
}
|