mirror of
https://github.com/langgenius/dify.git
synced 2026-05-11 14:58:23 +08:00
41 lines
1.0 KiB
TypeScript
41 lines
1.0 KiB
TypeScript
// This file is auto-generated by @hey-api/openapi-ts
|
|
|
|
import * as z from 'zod'
|
|
|
|
/**
|
|
* NotionEstimatePayload
|
|
*/
|
|
export const zNotionEstimatePayload = z.object({
|
|
doc_form: z.string().optional().default('text_model'),
|
|
doc_language: z.string().optional().default('English'),
|
|
notion_info_list: z.array(z.record(z.string(), z.unknown())),
|
|
process_rule: z.record(z.string(), z.unknown()),
|
|
})
|
|
|
|
export const zGetNotionPagesByPageIdByPageTypePreviewPath = z.object({
|
|
page_id: z.string(),
|
|
page_type: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetNotionPagesByPageIdByPageTypePreviewResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostNotionPagesByPageIdByPageTypePreviewBody = zNotionEstimatePayload
|
|
|
|
export const zPostNotionPagesByPageIdByPageTypePreviewPath = z.object({
|
|
page_id: z.string(),
|
|
page_type: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostNotionPagesByPageIdByPageTypePreviewResponse = z.record(z.string(), z.unknown())
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetNotionPreImportPagesResponse = z.record(z.string(), z.unknown())
|