// This file is auto-generated by @hey-api/openapi-ts

export type ClientOptions = {
  baseUrl: `${string}://${string}/console/api` | (string & {})
}

export type TextContentResponse = {
  content: string
}

export type NotionEstimatePayload = {
  doc_form?: string
  doc_language?: string
  notion_info_list: Array<{
    [key: string]: unknown
  }>
  process_rule: {
    [key: string]: unknown
  }
}

export type GetNotionPagesByPageIdByPageTypePreviewData = {
  body?: never
  path: {
    page_id: string
    page_type: string
  }
  query?: never
  url: '/notion/pages/{page_id}/{page_type}/preview'
}

export type GetNotionPagesByPageIdByPageTypePreviewResponses = {
  200: TextContentResponse
}

export type GetNotionPagesByPageIdByPageTypePreviewResponse
  = GetNotionPagesByPageIdByPageTypePreviewResponses[keyof GetNotionPagesByPageIdByPageTypePreviewResponses]

export type PostNotionPagesByPageIdByPageTypePreviewData = {
  body: NotionEstimatePayload
  path: {
    page_id: string
    page_type: string
  }
  query?: never
  url: '/notion/pages/{page_id}/{page_type}/preview'
}

export type PostNotionPagesByPageIdByPageTypePreviewResponses = {
  200: {
    [key: string]: unknown
  }
}

export type PostNotionPagesByPageIdByPageTypePreviewResponse
  = PostNotionPagesByPageIdByPageTypePreviewResponses[keyof PostNotionPagesByPageIdByPageTypePreviewResponses]

export type GetNotionPreImportPagesData = {
  body?: never
  path?: never
  query?: never
  url: '/notion/pre-import/pages'
}

export type GetNotionPreImportPagesResponses = {
  200: {
    [key: string]: unknown
  }
}

export type GetNotionPreImportPagesResponse
  = GetNotionPreImportPagesResponses[keyof GetNotionPreImportPagesResponses]
