import { z } from 'zod'; import { ServiceBubble } from '../../../types/service-bubble-class.js'; import type { BubbleContext } from '../../../types/bubble.js'; import { CredentialType } from '@bubblelab/shared-schemas'; declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"create_page">; parent: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"page_id">; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>; properties: z.ZodOptional>; children: z.ZodOptional>; icon: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>, z.ZodObject<{ type: z.ZodLiteral<"emoji">; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>]>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; operation: "create_page"; properties?: Record | undefined; credentials?: Partial> | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | undefined; icon?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | { type: "emoji"; emoji: string; } | undefined; children?: unknown[] | undefined; }, { parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; operation: "create_page"; properties?: Record | undefined; credentials?: Partial> | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | undefined; icon?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | { type: "emoji"; emoji: string; } | undefined; children?: unknown[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"retrieve_page">; page_id: z.ZodString; filter_properties: z.ZodOptional>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "retrieve_page"; page_id: string; credentials?: Partial> | undefined; filter_properties?: string[] | undefined; }, { operation: "retrieve_page"; page_id: string; credentials?: Partial> | undefined; filter_properties?: string[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_page">; page_id: z.ZodString; properties: z.ZodOptional>; icon: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>, z.ZodObject<{ type: z.ZodLiteral<"emoji">; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; archived: z.ZodOptional; in_trash: z.ZodOptional; is_locked: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "update_page"; page_id: string; properties?: Record | undefined; credentials?: Partial> | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | { type: "emoji"; emoji: string; } | null | undefined; archived?: boolean | undefined; in_trash?: boolean | undefined; }, { operation: "update_page"; page_id: string; properties?: Record | undefined; credentials?: Partial> | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | { type: "emoji"; emoji: string; } | null | undefined; archived?: boolean | undefined; in_trash?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"retrieve_database">; database_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "retrieve_database"; database_id: string; credentials?: Partial> | undefined; }, { operation: "retrieve_database"; database_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"retrieve_data_source">; data_source_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "retrieve_data_source"; data_source_id: string; credentials?: Partial> | undefined; }, { operation: "retrieve_data_source"; data_source_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"query_data_source">; data_source_id: z.ZodOptional; database_id: z.ZodOptional; filter: z.ZodOptional>; sorts: z.ZodOptional>; start_cursor: z.ZodOptional; page_size: z.ZodDefault>; filter_properties: z.ZodOptional>; result_type: z.ZodOptional>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "query_data_source"; page_size: number; filter?: Record | undefined; credentials?: Partial> | undefined; database_id?: string | undefined; data_source_id?: string | undefined; filter_properties?: string[] | undefined; sorts?: unknown[] | undefined; start_cursor?: string | undefined; result_type?: "page" | "data_source" | undefined; }, { operation: "query_data_source"; filter?: Record | undefined; credentials?: Partial> | undefined; page_size?: number | undefined; database_id?: string | undefined; data_source_id?: string | undefined; filter_properties?: string[] | undefined; sorts?: unknown[] | undefined; start_cursor?: string | undefined; result_type?: "page" | "data_source" | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_data_source">; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>; properties: z.ZodRecord; title: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; icon: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>, z.ZodObject<{ type: z.ZodLiteral<"emoji">; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>]>>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { properties: Record; parent: { type: "database_id"; database_id: string; }; operation: "create_data_source"; title?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[] | undefined; credentials?: Partial> | undefined; icon?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | { type: "emoji"; emoji: string; } | undefined; }, { properties: Record; parent: { type: "database_id"; database_id: string; }; operation: "create_data_source"; title?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[] | undefined; credentials?: Partial> | undefined; icon?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | { type: "emoji"; emoji: string; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_data_source">; data_source_id: z.ZodString; properties: z.ZodOptional>; title: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; icon: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>, z.ZodObject<{ type: z.ZodLiteral<"emoji">; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>]>>>; in_trash: z.ZodOptional; parent: z.ZodOptional; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "update_data_source"; data_source_id: string; properties?: Record | undefined; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[] | undefined; title?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[] | undefined; credentials?: Partial> | undefined; parent?: { type: "database_id"; database_id: string; } | undefined; icon?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | { type: "emoji"; emoji: string; } | null | undefined; in_trash?: boolean | undefined; }, { operation: "update_data_source"; data_source_id: string; properties?: Record | undefined; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[] | undefined; title?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[] | undefined; credentials?: Partial> | undefined; parent?: { type: "database_id"; database_id: string; } | undefined; icon?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | { type: "emoji"; emoji: string; } | null | undefined; in_trash?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_database">; parent: z.ZodEffects; page_id: z.ZodOptional; workspace: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "workspace" | "page_id"; workspace?: true | undefined; page_id?: string | undefined; }, { type: "workspace" | "page_id"; workspace?: true | undefined; page_id?: string | undefined; }>, { type: "workspace" | "page_id"; workspace?: true | undefined; page_id?: string | undefined; }, { type: "workspace" | "page_id"; workspace?: true | undefined; page_id?: string | undefined; }>, { type: "workspace"; workspace: boolean; page_id?: undefined; } | { type: "page_id"; page_id: string; workspace?: undefined; }, { type: "workspace" | "page_id"; workspace?: true | undefined; page_id?: string | undefined; }>; initial_data_source: z.ZodObject<{ properties: z.ZodRecord; }, "strip", z.ZodTypeAny, { properties: Record; }, { properties: Record; }>; title: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; icon: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>, z.ZodObject<{ type: z.ZodLiteral<"emoji">; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>]>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { parent: { type: "workspace"; workspace: boolean; page_id?: undefined; } | { type: "page_id"; page_id: string; workspace?: undefined; }; operation: "create_database"; initial_data_source: { properties: Record; }; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[] | undefined; title?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[] | undefined; credentials?: Partial> | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | undefined; icon?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | { type: "emoji"; emoji: string; } | undefined; }, { parent: { type: "workspace" | "page_id"; workspace?: true | undefined; page_id?: string | undefined; }; operation: "create_database"; initial_data_source: { properties: Record; }; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[] | undefined; title?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[] | undefined; credentials?: Partial> | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | undefined; icon?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | { type: "emoji"; emoji: string; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_database">; database_id: z.ZodString; title: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; icon: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>, z.ZodObject<{ type: z.ZodLiteral<"emoji">; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; is_inline: z.ZodOptional; in_trash: z.ZodOptional; is_locked: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "update_database"; database_id: string; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[] | undefined; title?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[] | undefined; credentials?: Partial> | undefined; parent?: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; } | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | { type: "emoji"; emoji: string; } | null | undefined; in_trash?: boolean | undefined; is_inline?: boolean | undefined; }, { operation: "update_database"; database_id: string; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[] | undefined; title?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[] | undefined; credentials?: Partial> | undefined; parent?: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; } | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | { type: "emoji"; emoji: string; } | null | undefined; in_trash?: boolean | undefined; is_inline?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"append_block_children">; block_id: z.ZodString; children: z.ZodArray; after: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "append_block_children"; block_id: string; children: unknown[]; credentials?: Partial> | undefined; after?: string | undefined; }, { operation: "append_block_children"; block_id: string; children: unknown[]; credentials?: Partial> | undefined; after?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"retrieve_block_children">; block_id: z.ZodString; start_cursor: z.ZodOptional; page_size: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "retrieve_block_children"; block_id: string; page_size: number; credentials?: Partial> | undefined; start_cursor?: string | undefined; }, { operation: "retrieve_block_children"; block_id: string; credentials?: Partial> | undefined; page_size?: number | undefined; start_cursor?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"retrieve_block">; block_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "retrieve_block"; block_id: string; credentials?: Partial> | undefined; }, { operation: "retrieve_block"; block_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_block">; block_id: z.ZodString; archived: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "update_block"; block_id: string; credentials?: Partial> | undefined; archived?: boolean | undefined; }, { operation: "update_block"; block_id: string; credentials?: Partial> | undefined; archived?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_comment">; parent: z.ZodObject<{ page_id: z.ZodOptional; block_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { block_id?: string | undefined; page_id?: string | undefined; }, { block_id?: string | undefined; page_id?: string | undefined; }>; rich_text: z.ZodArray; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">; attachments: z.ZodOptional>; }, "strip", z.ZodTypeAny, { file_upload_id: string; type?: "file_upload" | undefined; }, { file_upload_id: string; type?: "file_upload" | undefined; }>, "many">>; display_name: z.ZodOptional; custom: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "custom" | "user" | "integration"; custom?: { name: string; } | undefined; }, { type: "custom" | "user" | "integration"; custom?: { name: string; } | undefined; }>>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { parent: { block_id?: string | undefined; page_id?: string | undefined; }; rich_text: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[]; operation: "create_comment"; credentials?: Partial> | undefined; attachments?: { file_upload_id: string; type?: "file_upload" | undefined; }[] | undefined; display_name?: { type: "custom" | "user" | "integration"; custom?: { name: string; } | undefined; } | undefined; }, { parent: { block_id?: string | undefined; page_id?: string | undefined; }; rich_text: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[]; operation: "create_comment"; credentials?: Partial> | undefined; attachments?: { file_upload_id: string; type?: "file_upload" | undefined; }[] | undefined; display_name?: { type: "custom" | "user" | "integration"; custom?: { name: string; } | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"retrieve_comment">; comment_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "retrieve_comment"; comment_id: string; credentials?: Partial> | undefined; }, { operation: "retrieve_comment"; comment_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_users">; start_cursor: z.ZodOptional; page_size: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_users"; page_size: number; credentials?: Partial> | undefined; start_cursor?: string | undefined; }, { operation: "list_users"; credentials?: Partial> | undefined; page_size?: number | undefined; start_cursor?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search">; query: z.ZodOptional; sort: z.ZodOptional; timestamp: z.ZodLiteral<"last_edited_time">; }, "strip", z.ZodTypeAny, { timestamp: "last_edited_time"; direction: "ascending" | "descending"; }, { timestamp: "last_edited_time"; direction: "ascending" | "descending"; }>>; filter: z.ZodOptional; property: z.ZodLiteral<"object">; }, "strip", z.ZodTypeAny, { value: "page" | "data_source"; property: "object"; }, { value: "page" | "data_source"; property: "object"; }>>; start_cursor: z.ZodOptional; page_size: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "search"; page_size: number; sort?: { timestamp: "last_edited_time"; direction: "ascending" | "descending"; } | undefined; filter?: { value: "page" | "data_source"; property: "object"; } | undefined; credentials?: Partial> | undefined; query?: string | undefined; start_cursor?: string | undefined; }, { operation: "search"; sort?: { timestamp: "last_edited_time"; direction: "ascending" | "descending"; } | undefined; filter?: { value: "page" | "data_source"; property: "object"; } | undefined; credentials?: Partial> | undefined; query?: string | undefined; page_size?: number | undefined; start_cursor?: string | undefined; }>]>; declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"create_page">; success: z.ZodBoolean; error: z.ZodString; page: z.ZodOptional; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; parent: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"page_id">; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>; archived: z.ZodBoolean; in_trash: z.ZodOptional; properties: z.ZodRecord; url: z.ZodString; public_url: z.ZodOptional>; }, "strip", z.ZodTypeAny, { object: "page"; properties: Record; id: string; url: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; last_edited_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; archived: boolean; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; }, { object: "page"; properties: Record; id: string; url: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; last_edited_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; archived: boolean; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; }>>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_page"; page?: { object: "page"; properties: Record; id: string; url: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; last_edited_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; archived: boolean; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; } | undefined; }, { error: string; success: boolean; operation: "create_page"; page?: { object: "page"; properties: Record; id: string; url: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; last_edited_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; archived: boolean; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"retrieve_page">; success: z.ZodBoolean; error: z.ZodString; page: z.ZodOptional; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; parent: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"page_id">; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>; archived: z.ZodBoolean; in_trash: z.ZodOptional; properties: z.ZodRecord; url: z.ZodString; public_url: z.ZodOptional>; }, "strip", z.ZodTypeAny, { object: "page"; properties: Record; id: string; url: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; last_edited_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; archived: boolean; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; }, { object: "page"; properties: Record; id: string; url: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; last_edited_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; archived: boolean; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; }>>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "retrieve_page"; page?: { object: "page"; properties: Record; id: string; url: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; last_edited_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; archived: boolean; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; } | undefined; }, { error: string; success: boolean; operation: "retrieve_page"; page?: { object: "page"; properties: Record; id: string; url: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; last_edited_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; archived: boolean; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_page">; success: z.ZodBoolean; error: z.ZodString; page: z.ZodOptional; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; parent: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"page_id">; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>; archived: z.ZodBoolean; in_trash: z.ZodOptional; properties: z.ZodRecord; url: z.ZodString; public_url: z.ZodOptional>; }, "strip", z.ZodTypeAny, { object: "page"; properties: Record; id: string; url: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; last_edited_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; archived: boolean; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; }, { object: "page"; properties: Record; id: string; url: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; last_edited_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; archived: boolean; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; }>>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "update_page"; page?: { object: "page"; properties: Record; id: string; url: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; last_edited_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; archived: boolean; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; } | undefined; }, { error: string; success: boolean; operation: "update_page"; page?: { object: "page"; properties: Record; id: string; url: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; last_edited_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; archived: boolean; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"retrieve_database">; success: z.ZodBoolean; error: z.ZodString; database: z.ZodOptional; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; title: z.ZodArray; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; parent: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"page_id">; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>; is_inline: z.ZodOptional; in_trash: z.ZodOptional; is_locked: z.ZodOptional; data_sources: z.ZodArray; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; }, "strip", z.ZodTypeAny, { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }, { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }>, "many">; url: z.ZodOptional; public_url: z.ZodOptional>; }, "strip", z.ZodTypeAny, { object: "database"; title: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[]; id: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; data_sources: { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }[]; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[] | undefined; url?: string | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; is_inline?: boolean | undefined; }, { object: "database"; title: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[]; id: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; data_sources: { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }[]; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[] | undefined; url?: string | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; is_inline?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "retrieve_database"; database?: { object: "database"; title: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[]; id: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; data_sources: { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }[]; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[] | undefined; url?: string | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; is_inline?: boolean | undefined; } | undefined; }, { error: string; success: boolean; operation: "retrieve_database"; database?: { object: "database"; title: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[]; id: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; data_sources: { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }[]; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[] | undefined; url?: string | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; is_inline?: boolean | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"retrieve_data_source">; success: z.ZodBoolean; error: z.ZodString; data_source: z.ZodOptional; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ object: z.ZodLiteral<"data_source">; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ object: z.ZodLiteral<"data_source">; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "retrieve_data_source"; data_source?: z.objectOutputType<{ object: z.ZodLiteral<"data_source">; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "retrieve_data_source"; data_source?: z.objectInputType<{ object: z.ZodLiteral<"data_source">; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"query_data_source">; success: z.ZodBoolean; error: z.ZodString; results: z.ZodOptional; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; url: z.ZodOptional; properties: z.ZodOptional>; title: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; parent: z.ZodOptional>; archived: z.ZodOptional; in_trash: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ object: z.ZodEnum<["page", "data_source"]>; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; url: z.ZodOptional; properties: z.ZodOptional>; title: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; parent: z.ZodOptional>; archived: z.ZodOptional; in_trash: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ object: z.ZodEnum<["page", "data_source"]>; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; url: z.ZodOptional; properties: z.ZodOptional>; title: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; parent: z.ZodOptional>; archived: z.ZodOptional; in_trash: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; next_cursor: z.ZodOptional>; has_more: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "query_data_source"; next_cursor?: string | null | undefined; has_more?: boolean | undefined; results?: z.objectOutputType<{ object: z.ZodEnum<["page", "data_source"]>; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; url: z.ZodOptional; properties: z.ZodOptional>; title: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; parent: z.ZodOptional>; archived: z.ZodOptional; in_trash: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "query_data_source"; next_cursor?: string | null | undefined; has_more?: boolean | undefined; results?: z.objectInputType<{ object: z.ZodEnum<["page", "data_source"]>; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; url: z.ZodOptional; properties: z.ZodOptional>; title: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; parent: z.ZodOptional>; archived: z.ZodOptional; in_trash: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_data_source">; success: z.ZodBoolean; error: z.ZodString; dataSource: z.ZodOptional; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ object: z.ZodLiteral<"data_source">; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ object: z.ZodLiteral<"data_source">; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_data_source"; dataSource?: z.objectOutputType<{ object: z.ZodLiteral<"data_source">; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "create_data_source"; dataSource?: z.objectInputType<{ object: z.ZodLiteral<"data_source">; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_data_source">; success: z.ZodBoolean; error: z.ZodString; dataSource: z.ZodOptional; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ object: z.ZodLiteral<"data_source">; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ object: z.ZodLiteral<"data_source">; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "update_data_source"; dataSource?: z.objectOutputType<{ object: z.ZodLiteral<"data_source">; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "update_data_source"; dataSource?: z.objectInputType<{ object: z.ZodLiteral<"data_source">; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_database">; success: z.ZodBoolean; error: z.ZodString; database: z.ZodOptional; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; title: z.ZodArray; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; parent: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"page_id">; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>; is_inline: z.ZodOptional; in_trash: z.ZodOptional; is_locked: z.ZodOptional; data_sources: z.ZodArray; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; }, "strip", z.ZodTypeAny, { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }, { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }>, "many">; url: z.ZodOptional; public_url: z.ZodOptional>; }, "strip", z.ZodTypeAny, { object: "database"; title: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[]; id: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; data_sources: { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }[]; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[] | undefined; url?: string | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; is_inline?: boolean | undefined; }, { object: "database"; title: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[]; id: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; data_sources: { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }[]; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[] | undefined; url?: string | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; is_inline?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_database"; database?: { object: "database"; title: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[]; id: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; data_sources: { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }[]; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[] | undefined; url?: string | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; is_inline?: boolean | undefined; } | undefined; }, { error: string; success: boolean; operation: "create_database"; database?: { object: "database"; title: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[]; id: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; data_sources: { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }[]; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[] | undefined; url?: string | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; is_inline?: boolean | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_database">; success: z.ZodBoolean; error: z.ZodString; database: z.ZodOptional; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; title: z.ZodArray; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; parent: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"page_id">; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>; is_inline: z.ZodOptional; in_trash: z.ZodOptional; is_locked: z.ZodOptional; data_sources: z.ZodArray; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; }, "strip", z.ZodTypeAny, { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }, { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }>, "many">; url: z.ZodOptional; public_url: z.ZodOptional>; }, "strip", z.ZodTypeAny, { object: "database"; title: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[]; id: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; data_sources: { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }[]; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[] | undefined; url?: string | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; is_inline?: boolean | undefined; }, { object: "database"; title: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[]; id: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; data_sources: { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }[]; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[] | undefined; url?: string | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; is_inline?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "update_database"; database?: { object: "database"; title: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[]; id: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; data_sources: { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }[]; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[] | undefined; url?: string | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; is_inline?: boolean | undefined; } | undefined; }, { error: string; success: boolean; operation: "update_database"; database?: { object: "database"; title: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[]; id: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; data_sources: { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }[]; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[] | undefined; url?: string | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; is_inline?: boolean | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"append_block_children">; success: z.ZodBoolean; error: z.ZodString; blocks: z.ZodOptional; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">>; next_cursor: z.ZodOptional>; has_more: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "append_block_children"; blocks?: z.objectOutputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough">[] | undefined; next_cursor?: string | null | undefined; has_more?: boolean | undefined; }, { error: string; success: boolean; operation: "append_block_children"; blocks?: z.objectInputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough">[] | undefined; next_cursor?: string | null | undefined; has_more?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"retrieve_block_children">; success: z.ZodBoolean; error: z.ZodString; blocks: z.ZodOptional; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">>; next_cursor: z.ZodOptional>; has_more: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "retrieve_block_children"; blocks?: z.objectOutputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough">[] | undefined; next_cursor?: string | null | undefined; has_more?: boolean | undefined; }, { error: string; success: boolean; operation: "retrieve_block_children"; blocks?: z.objectInputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough">[] | undefined; next_cursor?: string | null | undefined; has_more?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"retrieve_block">; success: z.ZodBoolean; error: z.ZodString; block: z.ZodOptional; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "retrieve_block"; block?: z.objectOutputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "retrieve_block"; block?: z.objectInputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_block">; success: z.ZodBoolean; error: z.ZodString; block: z.ZodOptional; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "update_block"; block?: z.objectOutputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "update_block"; block?: z.objectInputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_comment">; success: z.ZodBoolean; error: z.ZodString; comment: z.ZodOptional; id: z.ZodString; parent: z.ZodObject<{ type: z.ZodEnum<["page_id", "block_id"]>; page_id: z.ZodOptional; block_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["page_id", "block_id"]>; page_id: z.ZodOptional; block_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["page_id", "block_id"]>; page_id: z.ZodOptional; block_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; discussion_id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; rich_text: z.ZodArray; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { object: "comment"; id: string; parent: { type: "block_id" | "page_id"; block_id?: string | undefined; page_id?: string | undefined; } & { [k: string]: unknown; }; rich_text: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[]; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; discussion_id: string; }, { object: "comment"; id: string; parent: { type: "block_id" | "page_id"; block_id?: string | undefined; page_id?: string | undefined; } & { [k: string]: unknown; }; rich_text: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[]; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; discussion_id: string; }>>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_comment"; comment?: { object: "comment"; id: string; parent: { type: "block_id" | "page_id"; block_id?: string | undefined; page_id?: string | undefined; } & { [k: string]: unknown; }; rich_text: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[]; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; discussion_id: string; } | undefined; }, { error: string; success: boolean; operation: "create_comment"; comment?: { object: "comment"; id: string; parent: { type: "block_id" | "page_id"; block_id?: string | undefined; page_id?: string | undefined; } & { [k: string]: unknown; }; rich_text: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[]; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; discussion_id: string; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"retrieve_comment">; success: z.ZodBoolean; error: z.ZodString; comment: z.ZodOptional; id: z.ZodString; parent: z.ZodObject<{ type: z.ZodEnum<["page_id", "block_id"]>; page_id: z.ZodOptional; block_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["page_id", "block_id"]>; page_id: z.ZodOptional; block_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["page_id", "block_id"]>; page_id: z.ZodOptional; block_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; discussion_id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; rich_text: z.ZodArray; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { object: "comment"; id: string; parent: { type: "block_id" | "page_id"; block_id?: string | undefined; page_id?: string | undefined; } & { [k: string]: unknown; }; rich_text: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[]; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; discussion_id: string; }, { object: "comment"; id: string; parent: { type: "block_id" | "page_id"; block_id?: string | undefined; page_id?: string | undefined; } & { [k: string]: unknown; }; rich_text: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[]; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; discussion_id: string; }>>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "retrieve_comment"; comment?: { object: "comment"; id: string; parent: { type: "block_id" | "page_id"; block_id?: string | undefined; page_id?: string | undefined; } & { [k: string]: unknown; }; rich_text: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[]; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; discussion_id: string; } | undefined; }, { error: string; success: boolean; operation: "retrieve_comment"; comment?: { object: "comment"; id: string; parent: { type: "block_id" | "page_id"; block_id?: string | undefined; page_id?: string | undefined; } & { [k: string]: unknown; }; rich_text: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[]; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; discussion_id: string; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_users">; success: z.ZodBoolean; error: z.ZodString; users: z.ZodOptional; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>, "many">>; next_cursor: z.ZodOptional>; has_more: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_users"; users?: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }[] | undefined; next_cursor?: string | null | undefined; has_more?: boolean | undefined; }, { error: string; success: boolean; operation: "list_users"; users?: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }[] | undefined; next_cursor?: string | null | undefined; has_more?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search">; success: z.ZodBoolean; error: z.ZodString; results: z.ZodOptional; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; url: z.ZodOptional; properties: z.ZodOptional>; title: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; parent: z.ZodOptional>; archived: z.ZodOptional; in_trash: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ object: z.ZodEnum<["page", "data_source"]>; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; url: z.ZodOptional; properties: z.ZodOptional>; title: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; parent: z.ZodOptional>; archived: z.ZodOptional; in_trash: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ object: z.ZodEnum<["page", "data_source"]>; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; url: z.ZodOptional; properties: z.ZodOptional>; title: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; parent: z.ZodOptional>; archived: z.ZodOptional; in_trash: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; next_cursor: z.ZodOptional>; has_more: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "search"; next_cursor?: string | null | undefined; has_more?: boolean | undefined; results?: z.objectOutputType<{ object: z.ZodEnum<["page", "data_source"]>; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; url: z.ZodOptional; properties: z.ZodOptional>; title: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; parent: z.ZodOptional>; archived: z.ZodOptional; in_trash: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "search"; next_cursor?: string | null | undefined; has_more?: boolean | undefined; results?: z.objectInputType<{ object: z.ZodEnum<["page", "data_source"]>; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; url: z.ZodOptional; properties: z.ZodOptional>; title: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; parent: z.ZodOptional>; archived: z.ZodOptional; in_trash: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; }>]>; type NotionParams = z.input; type NotionResult = z.output; export declare class NotionBubble extends ServiceBubble>; }, Extract> { static readonly type: "service"; static readonly service = "notion"; static readonly authType: "oauth"; static readonly bubbleName = "notion"; static readonly schema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"create_page">; parent: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"page_id">; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>; properties: z.ZodOptional>; children: z.ZodOptional>; icon: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>, z.ZodObject<{ type: z.ZodLiteral<"emoji">; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>]>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; operation: "create_page"; properties?: Record | undefined; credentials?: Partial> | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | undefined; icon?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | { type: "emoji"; emoji: string; } | undefined; children?: unknown[] | undefined; }, { parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; operation: "create_page"; properties?: Record | undefined; credentials?: Partial> | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | undefined; icon?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | { type: "emoji"; emoji: string; } | undefined; children?: unknown[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"retrieve_page">; page_id: z.ZodString; filter_properties: z.ZodOptional>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "retrieve_page"; page_id: string; credentials?: Partial> | undefined; filter_properties?: string[] | undefined; }, { operation: "retrieve_page"; page_id: string; credentials?: Partial> | undefined; filter_properties?: string[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_page">; page_id: z.ZodString; properties: z.ZodOptional>; icon: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>, z.ZodObject<{ type: z.ZodLiteral<"emoji">; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; archived: z.ZodOptional; in_trash: z.ZodOptional; is_locked: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "update_page"; page_id: string; properties?: Record | undefined; credentials?: Partial> | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | { type: "emoji"; emoji: string; } | null | undefined; archived?: boolean | undefined; in_trash?: boolean | undefined; }, { operation: "update_page"; page_id: string; properties?: Record | undefined; credentials?: Partial> | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | { type: "emoji"; emoji: string; } | null | undefined; archived?: boolean | undefined; in_trash?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"retrieve_database">; database_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "retrieve_database"; database_id: string; credentials?: Partial> | undefined; }, { operation: "retrieve_database"; database_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"retrieve_data_source">; data_source_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "retrieve_data_source"; data_source_id: string; credentials?: Partial> | undefined; }, { operation: "retrieve_data_source"; data_source_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"query_data_source">; data_source_id: z.ZodOptional; database_id: z.ZodOptional; filter: z.ZodOptional>; sorts: z.ZodOptional>; start_cursor: z.ZodOptional; page_size: z.ZodDefault>; filter_properties: z.ZodOptional>; result_type: z.ZodOptional>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "query_data_source"; page_size: number; filter?: Record | undefined; credentials?: Partial> | undefined; database_id?: string | undefined; data_source_id?: string | undefined; filter_properties?: string[] | undefined; sorts?: unknown[] | undefined; start_cursor?: string | undefined; result_type?: "page" | "data_source" | undefined; }, { operation: "query_data_source"; filter?: Record | undefined; credentials?: Partial> | undefined; page_size?: number | undefined; database_id?: string | undefined; data_source_id?: string | undefined; filter_properties?: string[] | undefined; sorts?: unknown[] | undefined; start_cursor?: string | undefined; result_type?: "page" | "data_source" | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_data_source">; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>; properties: z.ZodRecord; title: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; icon: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>, z.ZodObject<{ type: z.ZodLiteral<"emoji">; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>]>>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { properties: Record; parent: { type: "database_id"; database_id: string; }; operation: "create_data_source"; title?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[] | undefined; credentials?: Partial> | undefined; icon?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | { type: "emoji"; emoji: string; } | undefined; }, { properties: Record; parent: { type: "database_id"; database_id: string; }; operation: "create_data_source"; title?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[] | undefined; credentials?: Partial> | undefined; icon?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | { type: "emoji"; emoji: string; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_data_source">; data_source_id: z.ZodString; properties: z.ZodOptional>; title: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; icon: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>, z.ZodObject<{ type: z.ZodLiteral<"emoji">; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>]>>>; in_trash: z.ZodOptional; parent: z.ZodOptional; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "update_data_source"; data_source_id: string; properties?: Record | undefined; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[] | undefined; title?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[] | undefined; credentials?: Partial> | undefined; parent?: { type: "database_id"; database_id: string; } | undefined; icon?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | { type: "emoji"; emoji: string; } | null | undefined; in_trash?: boolean | undefined; }, { operation: "update_data_source"; data_source_id: string; properties?: Record | undefined; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[] | undefined; title?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[] | undefined; credentials?: Partial> | undefined; parent?: { type: "database_id"; database_id: string; } | undefined; icon?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | { type: "emoji"; emoji: string; } | null | undefined; in_trash?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_database">; parent: z.ZodEffects; page_id: z.ZodOptional; workspace: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "workspace" | "page_id"; workspace?: true | undefined; page_id?: string | undefined; }, { type: "workspace" | "page_id"; workspace?: true | undefined; page_id?: string | undefined; }>, { type: "workspace" | "page_id"; workspace?: true | undefined; page_id?: string | undefined; }, { type: "workspace" | "page_id"; workspace?: true | undefined; page_id?: string | undefined; }>, { type: "workspace"; workspace: boolean; page_id?: undefined; } | { type: "page_id"; page_id: string; workspace?: undefined; }, { type: "workspace" | "page_id"; workspace?: true | undefined; page_id?: string | undefined; }>; initial_data_source: z.ZodObject<{ properties: z.ZodRecord; }, "strip", z.ZodTypeAny, { properties: Record; }, { properties: Record; }>; title: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; icon: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>, z.ZodObject<{ type: z.ZodLiteral<"emoji">; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>]>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { parent: { type: "workspace"; workspace: boolean; page_id?: undefined; } | { type: "page_id"; page_id: string; workspace?: undefined; }; operation: "create_database"; initial_data_source: { properties: Record; }; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[] | undefined; title?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[] | undefined; credentials?: Partial> | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | undefined; icon?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | { type: "emoji"; emoji: string; } | undefined; }, { parent: { type: "workspace" | "page_id"; workspace?: true | undefined; page_id?: string | undefined; }; operation: "create_database"; initial_data_source: { properties: Record; }; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[] | undefined; title?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[] | undefined; credentials?: Partial> | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | undefined; icon?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | { type: "emoji"; emoji: string; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_database">; database_id: z.ZodString; title: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; icon: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>, z.ZodObject<{ type: z.ZodLiteral<"emoji">; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; is_inline: z.ZodOptional; in_trash: z.ZodOptional; is_locked: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "update_database"; database_id: string; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[] | undefined; title?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[] | undefined; credentials?: Partial> | undefined; parent?: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; } | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | { type: "emoji"; emoji: string; } | null | undefined; in_trash?: boolean | undefined; is_inline?: boolean | undefined; }, { operation: "update_database"; database_id: string; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[] | undefined; title?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[] | undefined; credentials?: Partial> | undefined; parent?: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; } | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | { type: "emoji"; emoji: string; } | null | undefined; in_trash?: boolean | undefined; is_inline?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"append_block_children">; block_id: z.ZodString; children: z.ZodArray; after: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "append_block_children"; block_id: string; children: unknown[]; credentials?: Partial> | undefined; after?: string | undefined; }, { operation: "append_block_children"; block_id: string; children: unknown[]; credentials?: Partial> | undefined; after?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"retrieve_block_children">; block_id: z.ZodString; start_cursor: z.ZodOptional; page_size: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "retrieve_block_children"; block_id: string; page_size: number; credentials?: Partial> | undefined; start_cursor?: string | undefined; }, { operation: "retrieve_block_children"; block_id: string; credentials?: Partial> | undefined; page_size?: number | undefined; start_cursor?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"retrieve_block">; block_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "retrieve_block"; block_id: string; credentials?: Partial> | undefined; }, { operation: "retrieve_block"; block_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_block">; block_id: z.ZodString; archived: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "update_block"; block_id: string; credentials?: Partial> | undefined; archived?: boolean | undefined; }, { operation: "update_block"; block_id: string; credentials?: Partial> | undefined; archived?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_comment">; parent: z.ZodObject<{ page_id: z.ZodOptional; block_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { block_id?: string | undefined; page_id?: string | undefined; }, { block_id?: string | undefined; page_id?: string | undefined; }>; rich_text: z.ZodArray; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">; attachments: z.ZodOptional>; }, "strip", z.ZodTypeAny, { file_upload_id: string; type?: "file_upload" | undefined; }, { file_upload_id: string; type?: "file_upload" | undefined; }>, "many">>; display_name: z.ZodOptional; custom: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "custom" | "user" | "integration"; custom?: { name: string; } | undefined; }, { type: "custom" | "user" | "integration"; custom?: { name: string; } | undefined; }>>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { parent: { block_id?: string | undefined; page_id?: string | undefined; }; rich_text: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[]; operation: "create_comment"; credentials?: Partial> | undefined; attachments?: { file_upload_id: string; type?: "file_upload" | undefined; }[] | undefined; display_name?: { type: "custom" | "user" | "integration"; custom?: { name: string; } | undefined; } | undefined; }, { parent: { block_id?: string | undefined; page_id?: string | undefined; }; rich_text: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[]; operation: "create_comment"; credentials?: Partial> | undefined; attachments?: { file_upload_id: string; type?: "file_upload" | undefined; }[] | undefined; display_name?: { type: "custom" | "user" | "integration"; custom?: { name: string; } | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"retrieve_comment">; comment_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "retrieve_comment"; comment_id: string; credentials?: Partial> | undefined; }, { operation: "retrieve_comment"; comment_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_users">; start_cursor: z.ZodOptional; page_size: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_users"; page_size: number; credentials?: Partial> | undefined; start_cursor?: string | undefined; }, { operation: "list_users"; credentials?: Partial> | undefined; page_size?: number | undefined; start_cursor?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search">; query: z.ZodOptional; sort: z.ZodOptional; timestamp: z.ZodLiteral<"last_edited_time">; }, "strip", z.ZodTypeAny, { timestamp: "last_edited_time"; direction: "ascending" | "descending"; }, { timestamp: "last_edited_time"; direction: "ascending" | "descending"; }>>; filter: z.ZodOptional; property: z.ZodLiteral<"object">; }, "strip", z.ZodTypeAny, { value: "page" | "data_source"; property: "object"; }, { value: "page" | "data_source"; property: "object"; }>>; start_cursor: z.ZodOptional; page_size: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "search"; page_size: number; sort?: { timestamp: "last_edited_time"; direction: "ascending" | "descending"; } | undefined; filter?: { value: "page" | "data_source"; property: "object"; } | undefined; credentials?: Partial> | undefined; query?: string | undefined; start_cursor?: string | undefined; }, { operation: "search"; sort?: { timestamp: "last_edited_time"; direction: "ascending" | "descending"; } | undefined; filter?: { value: "page" | "data_source"; property: "object"; } | undefined; credentials?: Partial> | undefined; query?: string | undefined; page_size?: number | undefined; start_cursor?: string | undefined; }>]>; static readonly resultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"create_page">; success: z.ZodBoolean; error: z.ZodString; page: z.ZodOptional; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; parent: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"page_id">; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>; archived: z.ZodBoolean; in_trash: z.ZodOptional; properties: z.ZodRecord; url: z.ZodString; public_url: z.ZodOptional>; }, "strip", z.ZodTypeAny, { object: "page"; properties: Record; id: string; url: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; last_edited_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; archived: boolean; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; }, { object: "page"; properties: Record; id: string; url: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; last_edited_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; archived: boolean; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; }>>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_page"; page?: { object: "page"; properties: Record; id: string; url: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; last_edited_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; archived: boolean; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; } | undefined; }, { error: string; success: boolean; operation: "create_page"; page?: { object: "page"; properties: Record; id: string; url: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; last_edited_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; archived: boolean; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"retrieve_page">; success: z.ZodBoolean; error: z.ZodString; page: z.ZodOptional; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; parent: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"page_id">; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>; archived: z.ZodBoolean; in_trash: z.ZodOptional; properties: z.ZodRecord; url: z.ZodString; public_url: z.ZodOptional>; }, "strip", z.ZodTypeAny, { object: "page"; properties: Record; id: string; url: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; last_edited_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; archived: boolean; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; }, { object: "page"; properties: Record; id: string; url: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; last_edited_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; archived: boolean; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; }>>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "retrieve_page"; page?: { object: "page"; properties: Record; id: string; url: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; last_edited_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; archived: boolean; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; } | undefined; }, { error: string; success: boolean; operation: "retrieve_page"; page?: { object: "page"; properties: Record; id: string; url: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; last_edited_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; archived: boolean; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_page">; success: z.ZodBoolean; error: z.ZodString; page: z.ZodOptional; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; parent: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"page_id">; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>; archived: z.ZodBoolean; in_trash: z.ZodOptional; properties: z.ZodRecord; url: z.ZodString; public_url: z.ZodOptional>; }, "strip", z.ZodTypeAny, { object: "page"; properties: Record; id: string; url: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; last_edited_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; archived: boolean; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; }, { object: "page"; properties: Record; id: string; url: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; last_edited_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; archived: boolean; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; }>>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "update_page"; page?: { object: "page"; properties: Record; id: string; url: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; last_edited_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; archived: boolean; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; } | undefined; }, { error: string; success: boolean; operation: "update_page"; page?: { object: "page"; properties: Record; id: string; url: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; last_edited_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; archived: boolean; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"retrieve_database">; success: z.ZodBoolean; error: z.ZodString; database: z.ZodOptional; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; title: z.ZodArray; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; parent: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"page_id">; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>; is_inline: z.ZodOptional; in_trash: z.ZodOptional; is_locked: z.ZodOptional; data_sources: z.ZodArray; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; }, "strip", z.ZodTypeAny, { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }, { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }>, "many">; url: z.ZodOptional; public_url: z.ZodOptional>; }, "strip", z.ZodTypeAny, { object: "database"; title: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[]; id: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; data_sources: { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }[]; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[] | undefined; url?: string | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; is_inline?: boolean | undefined; }, { object: "database"; title: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[]; id: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; data_sources: { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }[]; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[] | undefined; url?: string | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; is_inline?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "retrieve_database"; database?: { object: "database"; title: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[]; id: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; data_sources: { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }[]; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[] | undefined; url?: string | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; is_inline?: boolean | undefined; } | undefined; }, { error: string; success: boolean; operation: "retrieve_database"; database?: { object: "database"; title: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[]; id: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; data_sources: { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }[]; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[] | undefined; url?: string | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; is_inline?: boolean | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"retrieve_data_source">; success: z.ZodBoolean; error: z.ZodString; data_source: z.ZodOptional; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ object: z.ZodLiteral<"data_source">; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ object: z.ZodLiteral<"data_source">; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "retrieve_data_source"; data_source?: z.objectOutputType<{ object: z.ZodLiteral<"data_source">; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "retrieve_data_source"; data_source?: z.objectInputType<{ object: z.ZodLiteral<"data_source">; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"query_data_source">; success: z.ZodBoolean; error: z.ZodString; results: z.ZodOptional; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; url: z.ZodOptional; properties: z.ZodOptional>; title: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; parent: z.ZodOptional>; archived: z.ZodOptional; in_trash: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ object: z.ZodEnum<["page", "data_source"]>; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; url: z.ZodOptional; properties: z.ZodOptional>; title: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; parent: z.ZodOptional>; archived: z.ZodOptional; in_trash: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ object: z.ZodEnum<["page", "data_source"]>; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; url: z.ZodOptional; properties: z.ZodOptional>; title: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; parent: z.ZodOptional>; archived: z.ZodOptional; in_trash: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; next_cursor: z.ZodOptional>; has_more: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "query_data_source"; next_cursor?: string | null | undefined; has_more?: boolean | undefined; results?: z.objectOutputType<{ object: z.ZodEnum<["page", "data_source"]>; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; url: z.ZodOptional; properties: z.ZodOptional>; title: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; parent: z.ZodOptional>; archived: z.ZodOptional; in_trash: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "query_data_source"; next_cursor?: string | null | undefined; has_more?: boolean | undefined; results?: z.objectInputType<{ object: z.ZodEnum<["page", "data_source"]>; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; url: z.ZodOptional; properties: z.ZodOptional>; title: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; parent: z.ZodOptional>; archived: z.ZodOptional; in_trash: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_data_source">; success: z.ZodBoolean; error: z.ZodString; dataSource: z.ZodOptional; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ object: z.ZodLiteral<"data_source">; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ object: z.ZodLiteral<"data_source">; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_data_source"; dataSource?: z.objectOutputType<{ object: z.ZodLiteral<"data_source">; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "create_data_source"; dataSource?: z.objectInputType<{ object: z.ZodLiteral<"data_source">; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_data_source">; success: z.ZodBoolean; error: z.ZodString; dataSource: z.ZodOptional; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ object: z.ZodLiteral<"data_source">; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ object: z.ZodLiteral<"data_source">; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "update_data_source"; dataSource?: z.objectOutputType<{ object: z.ZodLiteral<"data_source">; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "update_data_source"; dataSource?: z.objectInputType<{ object: z.ZodLiteral<"data_source">; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; properties: z.ZodRecord; parent: z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, z.ZodTypeAny, "passthrough">>; database_parent: z.ZodOptional>; archived: z.ZodBoolean; in_trash: z.ZodOptional; is_inline: z.ZodOptional; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; title: z.ZodDefault; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; url: z.ZodOptional; public_url: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_database">; success: z.ZodBoolean; error: z.ZodString; database: z.ZodOptional; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; title: z.ZodArray; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; parent: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"page_id">; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>; is_inline: z.ZodOptional; in_trash: z.ZodOptional; is_locked: z.ZodOptional; data_sources: z.ZodArray; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; }, "strip", z.ZodTypeAny, { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }, { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }>, "many">; url: z.ZodOptional; public_url: z.ZodOptional>; }, "strip", z.ZodTypeAny, { object: "database"; title: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[]; id: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; data_sources: { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }[]; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[] | undefined; url?: string | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; is_inline?: boolean | undefined; }, { object: "database"; title: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[]; id: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; data_sources: { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }[]; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[] | undefined; url?: string | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; is_inline?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_database"; database?: { object: "database"; title: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[]; id: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; data_sources: { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }[]; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[] | undefined; url?: string | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; is_inline?: boolean | undefined; } | undefined; }, { error: string; success: boolean; operation: "create_database"; database?: { object: "database"; title: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[]; id: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; data_sources: { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }[]; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[] | undefined; url?: string | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; is_inline?: boolean | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_database">; success: z.ZodBoolean; error: z.ZodString; database: z.ZodOptional; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; title: z.ZodArray; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">; description: z.ZodOptional; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">>; icon: z.ZodOptional; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; parent: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"page_id">; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>; is_inline: z.ZodOptional; in_trash: z.ZodOptional; is_locked: z.ZodOptional; data_sources: z.ZodArray; emoji: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji"; emoji: string; }, { type: "emoji"; emoji: string; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file">; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>]>>>; cover: z.ZodOptional; file: z.ZodObject<{ url: z.ZodString; expiry_time: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; expiry_time: string; }, { url: string; expiry_time: string; }>; }, "strip", z.ZodTypeAny, { type: "file"; file: { url: string; expiry_time: string; }; }, { type: "file"; file: { url: string; expiry_time: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"file_upload">; file_upload: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; }, "strip", z.ZodTypeAny, { type: "file_upload"; file_upload: { id: string; }; }, { type: "file_upload"; file_upload: { id: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"external">; external: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }, "strip", z.ZodTypeAny, { type: "external"; external: { url: string; }; }, { type: "external"; external: { url: string; }; }>]>>>; }, "strip", z.ZodTypeAny, { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }, { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }>, "many">; url: z.ZodOptional; public_url: z.ZodOptional>; }, "strip", z.ZodTypeAny, { object: "database"; title: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[]; id: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; data_sources: { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }[]; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[] | undefined; url?: string | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; is_inline?: boolean | undefined; }, { object: "database"; title: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[]; id: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; data_sources: { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }[]; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[] | undefined; url?: string | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; is_inline?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "update_database"; database?: { object: "database"; title: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[]; id: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; data_sources: { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }[]; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[] | undefined; url?: string | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; is_inline?: boolean | undefined; } | undefined; }, { error: string; success: boolean; operation: "update_database"; database?: { object: "database"; title: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[]; id: string; parent: { type: "page_id"; page_id: string; } | { type: "database_id"; database_id: string; } | { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; } | { type: "block_id"; block_id: string; } | { type: "workspace"; workspace: true; }; created_time: string; last_edited_time: string; data_sources: { name: string; id: string; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; }[]; description?: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[] | undefined; url?: string | undefined; is_locked?: boolean | undefined; cover?: { type: "file"; file: { url: string; expiry_time: string; }; } | { type: "file_upload"; file_upload: { id: string; }; } | { type: "external"; external: { url: string; }; } | null | undefined; icon?: { type: "emoji"; emoji: string; } | { type: "external"; external: { url: string; }; } | { type: "file"; file: { url: string; expiry_time: string; }; } | null | undefined; in_trash?: boolean | undefined; public_url?: string | null | undefined; is_inline?: boolean | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"append_block_children">; success: z.ZodBoolean; error: z.ZodString; blocks: z.ZodOptional; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">>; next_cursor: z.ZodOptional>; has_more: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "append_block_children"; blocks?: z.objectOutputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough">[] | undefined; next_cursor?: string | null | undefined; has_more?: boolean | undefined; }, { error: string; success: boolean; operation: "append_block_children"; blocks?: z.objectInputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough">[] | undefined; next_cursor?: string | null | undefined; has_more?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"retrieve_block_children">; success: z.ZodBoolean; error: z.ZodString; blocks: z.ZodOptional; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">>; next_cursor: z.ZodOptional>; has_more: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "retrieve_block_children"; blocks?: z.objectOutputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough">[] | undefined; next_cursor?: string | null | undefined; has_more?: boolean | undefined; }, { error: string; success: boolean; operation: "retrieve_block_children"; blocks?: z.objectInputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough">[] | undefined; next_cursor?: string | null | undefined; has_more?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"retrieve_block">; success: z.ZodBoolean; error: z.ZodString; block: z.ZodOptional; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "retrieve_block"; block?: z.objectOutputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "retrieve_block"; block?: z.objectInputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_block">; success: z.ZodBoolean; error: z.ZodString; block: z.ZodOptional; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "update_block"; block?: z.objectOutputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "update_block"; block?: z.objectInputType<{ object: z.ZodLiteral<"block">; id: z.ZodString; parent: z.ZodOptional; page_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "page_id"; page_id: string; }, { type: "page_id"; page_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"database_id">; database_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "database_id"; database_id: string; }, { type: "database_id"; database_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"data_source_id">; data_source_id: z.ZodString; database_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }, { type: "data_source_id"; data_source_id: string; database_id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"block_id">; block_id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "block_id"; block_id: string; }, { type: "block_id"; block_id: string; }>, z.ZodObject<{ type: z.ZodLiteral<"workspace">; workspace: z.ZodLiteral; }, "strip", z.ZodTypeAny, { type: "workspace"; workspace: true; }, { type: "workspace"; workspace: true; }>]>>; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; last_edited_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; has_children: z.ZodBoolean; archived: z.ZodBoolean; in_trash: z.ZodOptional; type: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_comment">; success: z.ZodBoolean; error: z.ZodString; comment: z.ZodOptional; id: z.ZodString; parent: z.ZodObject<{ type: z.ZodEnum<["page_id", "block_id"]>; page_id: z.ZodOptional; block_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["page_id", "block_id"]>; page_id: z.ZodOptional; block_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["page_id", "block_id"]>; page_id: z.ZodOptional; block_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; discussion_id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; rich_text: z.ZodArray; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { object: "comment"; id: string; parent: { type: "block_id" | "page_id"; block_id?: string | undefined; page_id?: string | undefined; } & { [k: string]: unknown; }; rich_text: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[]; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; discussion_id: string; }, { object: "comment"; id: string; parent: { type: "block_id" | "page_id"; block_id?: string | undefined; page_id?: string | undefined; } & { [k: string]: unknown; }; rich_text: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[]; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; discussion_id: string; }>>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_comment"; comment?: { object: "comment"; id: string; parent: { type: "block_id" | "page_id"; block_id?: string | undefined; page_id?: string | undefined; } & { [k: string]: unknown; }; rich_text: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[]; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; discussion_id: string; } | undefined; }, { error: string; success: boolean; operation: "create_comment"; comment?: { object: "comment"; id: string; parent: { type: "block_id" | "page_id"; block_id?: string | undefined; page_id?: string | undefined; } & { [k: string]: unknown; }; rich_text: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[]; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; discussion_id: string; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"retrieve_comment">; success: z.ZodBoolean; error: z.ZodString; comment: z.ZodOptional; id: z.ZodString; parent: z.ZodObject<{ type: z.ZodEnum<["page_id", "block_id"]>; page_id: z.ZodOptional; block_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["page_id", "block_id"]>; page_id: z.ZodOptional; block_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["page_id", "block_id"]>; page_id: z.ZodOptional; block_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; discussion_id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; created_by: z.ZodObject<{ object: z.ZodLiteral<"user">; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>; rich_text: z.ZodArray; text: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { content: string; link?: { url: string; } | null | undefined; }, { content: string; link?: { url: string; } | null | undefined; }>>; annotations: z.ZodOptional; italic: z.ZodDefault; strikethrough: z.ZodDefault; underline: z.ZodDefault; code: z.ZodDefault; color: z.ZodDefault>; }, "strip", z.ZodTypeAny, { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; }, { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; }>>; plain_text: z.ZodOptional; href: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }, { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { object: "comment"; id: string; parent: { type: "block_id" | "page_id"; block_id?: string | undefined; page_id?: string | undefined; } & { [k: string]: unknown; }; rich_text: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[]; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; discussion_id: string; }, { object: "comment"; id: string; parent: { type: "block_id" | "page_id"; block_id?: string | undefined; page_id?: string | undefined; } & { [k: string]: unknown; }; rich_text: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[]; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; discussion_id: string; }>>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "retrieve_comment"; comment?: { object: "comment"; id: string; parent: { type: "block_id" | "page_id"; block_id?: string | undefined; page_id?: string | undefined; } & { [k: string]: unknown; }; rich_text: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code: boolean; bold: boolean; color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red"; italic: boolean; strikethrough: boolean; underline: boolean; } | undefined; href?: string | null | undefined; }[]; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; discussion_id: string; } | undefined; }, { error: string; success: boolean; operation: "retrieve_comment"; comment?: { object: "comment"; id: string; parent: { type: "block_id" | "page_id"; block_id?: string | undefined; page_id?: string | undefined; } & { [k: string]: unknown; }; rich_text: { type: "text" | "mention" | "equation"; text?: { content: string; link?: { url: string; } | null | undefined; } | undefined; plain_text?: string | undefined; annotations?: { code?: boolean | undefined; bold?: boolean | undefined; color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined; italic?: boolean | undefined; strikethrough?: boolean | undefined; underline?: boolean | undefined; } | undefined; href?: string | null | undefined; }[]; created_time: string; last_edited_time: string; created_by: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }; discussion_id: string; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_users">; success: z.ZodBoolean; error: z.ZodString; users: z.ZodOptional; id: z.ZodString; type: z.ZodOptional>; name: z.ZodOptional; avatar_url: z.ZodOptional>; person: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; }, { email?: string | undefined; }>>; bot: z.ZodOptional; workspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "workspace"; workspace?: boolean | undefined; }, { type: "user" | "workspace"; workspace?: boolean | undefined; }>>; workspace_name: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }, { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }, { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }>, "many">>; next_cursor: z.ZodOptional>; has_more: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_users"; users?: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }[] | undefined; next_cursor?: string | null | undefined; has_more?: boolean | undefined; }, { error: string; success: boolean; operation: "list_users"; users?: { object: "user"; id: string; type?: "bot" | "person" | undefined; name?: string | undefined; bot?: { owner?: { type: "user" | "workspace"; workspace?: boolean | undefined; } | undefined; workspace_name?: string | undefined; } | undefined; avatar_url?: string | null | undefined; person?: { email?: string | undefined; } | undefined; }[] | undefined; next_cursor?: string | null | undefined; has_more?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search">; success: z.ZodBoolean; error: z.ZodString; results: z.ZodOptional; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; url: z.ZodOptional; properties: z.ZodOptional>; title: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; parent: z.ZodOptional>; archived: z.ZodOptional; in_trash: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ object: z.ZodEnum<["page", "data_source"]>; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; url: z.ZodOptional; properties: z.ZodOptional>; title: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; parent: z.ZodOptional>; archived: z.ZodOptional; in_trash: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ object: z.ZodEnum<["page", "data_source"]>; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; url: z.ZodOptional; properties: z.ZodOptional>; title: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; parent: z.ZodOptional>; archived: z.ZodOptional; in_trash: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; next_cursor: z.ZodOptional>; has_more: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "search"; next_cursor?: string | null | undefined; has_more?: boolean | undefined; results?: z.objectOutputType<{ object: z.ZodEnum<["page", "data_source"]>; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; url: z.ZodOptional; properties: z.ZodOptional>; title: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; parent: z.ZodOptional>; archived: z.ZodOptional; in_trash: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "search"; next_cursor?: string | null | undefined; has_more?: boolean | undefined; results?: z.objectInputType<{ object: z.ZodEnum<["page", "data_source"]>; id: z.ZodString; created_time: z.ZodString; last_edited_time: z.ZodString; url: z.ZodOptional; properties: z.ZodOptional>; title: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ plain_text: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; parent: z.ZodOptional>; archived: z.ZodOptional; in_trash: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; }>]>; static readonly shortDescription = "Notion API integration for pages, databases, and blocks"; static readonly longDescription = "\n Comprehensive Notion API integration for managing pages, databases, blocks, and comments.\n \n Features:\n - Create, retrieve, and update pages\n - Manage databases and data sources\n - Query data sources with filters and sorting\n - Search pages and data sources by title\n - Append and retrieve block children\n - Create and retrieve comments\n - List workspace users\n \n Use cases:\n - Content management and automation\n - Database operations and queries\n - Page creation and updates\n - Search and discovery of pages and data sources\n - Block manipulation\n - Comment management\n - Workspace user management\n \n Security Features:\n - OAuth token authentication\n - Parameter validation\n - Comprehensive error handling\n - Respects Notion API versioning (2025-09-03)\n "; static readonly alias = "notion"; constructor(params?: T, context?: BubbleContext, instanceId?: string); testCredential(): Promise; protected chooseCredential(): string | undefined; protected performAction(context?: BubbleContext): Promise>; private createPage; private retrievePage; private updatePage; private retrieveDatabase; private retrieveDataSource; private queryDataSource; private updateDataSource; private createDataSource; private createDatabase; private updateDatabase; private appendBlockChildren; private retrieveBlockChildren; private retrieveBlock; private updateBlock; private createComment; private retrieveComment; private listUsers; private search; /** * Resolves a database_id to its default data_source_id by calling retrieve_database. * In Notion API v2025+, databases are containers and data sources are the queryable tables. * They have different UUIDs — users typically only know the database_id from the URL. */ private resolveDataSourceId; private makeNotionApiCall; } export {}; //# sourceMappingURL=notion.d.ts.map