@keystrokehq/notion 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (266) hide show
  1. package/README.md +1 -1
  2. package/dist/actions/add-multiple-page-content.cjs +5 -5
  3. package/dist/actions/add-multiple-page-content.cjs.map +1 -1
  4. package/dist/actions/add-multiple-page-content.d.cts +18 -16
  5. package/dist/actions/add-multiple-page-content.d.cts.map +1 -1
  6. package/dist/actions/add-multiple-page-content.d.mts +18 -16
  7. package/dist/actions/add-multiple-page-content.d.mts.map +1 -1
  8. package/dist/actions/add-multiple-page-content.mjs +5 -5
  9. package/dist/actions/add-multiple-page-content.mjs.map +1 -1
  10. package/dist/actions/append-code-blocks.cjs +60 -60
  11. package/dist/actions/append-code-blocks.cjs.map +1 -1
  12. package/dist/actions/append-code-blocks.d.cts +167 -149
  13. package/dist/actions/append-code-blocks.d.mts +167 -149
  14. package/dist/actions/append-code-blocks.mjs +60 -60
  15. package/dist/actions/append-code-blocks.mjs.map +1 -1
  16. package/dist/actions/append-layout-blocks.cjs +51 -51
  17. package/dist/actions/append-layout-blocks.cjs.map +1 -1
  18. package/dist/actions/append-layout-blocks.d.cts +151 -141
  19. package/dist/actions/append-layout-blocks.d.mts +151 -141
  20. package/dist/actions/append-layout-blocks.mjs +51 -51
  21. package/dist/actions/append-layout-blocks.mjs.map +1 -1
  22. package/dist/actions/append-media-blocks.cjs +85 -85
  23. package/dist/actions/append-media-blocks.cjs.map +1 -1
  24. package/dist/actions/append-media-blocks.d.cts +217 -174
  25. package/dist/actions/append-media-blocks.d.mts +217 -174
  26. package/dist/actions/append-media-blocks.mjs +85 -85
  27. package/dist/actions/append-media-blocks.mjs.map +1 -1
  28. package/dist/actions/append-table-blocks.cjs +47 -47
  29. package/dist/actions/append-table-blocks.cjs.map +1 -1
  30. package/dist/actions/append-table-blocks.d.cts +143 -137
  31. package/dist/actions/append-table-blocks.d.mts +143 -137
  32. package/dist/actions/append-table-blocks.mjs +47 -47
  33. package/dist/actions/append-table-blocks.mjs.map +1 -1
  34. package/dist/actions/append-task-blocks.cjs +61 -61
  35. package/dist/actions/append-task-blocks.cjs.map +1 -1
  36. package/dist/actions/append-task-blocks.d.cts +169 -150
  37. package/dist/actions/append-task-blocks.d.mts +169 -150
  38. package/dist/actions/append-task-blocks.mjs +61 -61
  39. package/dist/actions/append-task-blocks.mjs.map +1 -1
  40. package/dist/actions/append-text-blocks.cjs +78 -78
  41. package/dist/actions/append-text-blocks.cjs.map +1 -1
  42. package/dist/actions/append-text-blocks.d.cts +203 -167
  43. package/dist/actions/append-text-blocks.d.mts +203 -167
  44. package/dist/actions/append-text-blocks.mjs +78 -78
  45. package/dist/actions/append-text-blocks.mjs.map +1 -1
  46. package/dist/actions/archive-notion-page.cjs +17 -17
  47. package/dist/actions/archive-notion-page.cjs.map +1 -1
  48. package/dist/actions/archive-notion-page.d.cts +20 -20
  49. package/dist/actions/archive-notion-page.d.mts +20 -20
  50. package/dist/actions/archive-notion-page.mjs +17 -17
  51. package/dist/actions/archive-notion-page.mjs.map +1 -1
  52. package/dist/actions/create-comment.d.cts +9 -9
  53. package/dist/actions/create-comment.d.mts +9 -9
  54. package/dist/actions/create-database.cjs +15 -15
  55. package/dist/actions/create-database.cjs.map +1 -1
  56. package/dist/actions/create-database.d.cts +26 -25
  57. package/dist/actions/create-database.d.mts +26 -25
  58. package/dist/actions/create-database.mjs +15 -15
  59. package/dist/actions/create-database.mjs.map +1 -1
  60. package/dist/actions/create-file-upload.cjs +1 -1
  61. package/dist/actions/create-file-upload.cjs.map +1 -1
  62. package/dist/actions/create-file-upload.d.cts +1 -1
  63. package/dist/actions/create-file-upload.d.mts +1 -1
  64. package/dist/actions/create-file-upload.mjs +1 -1
  65. package/dist/actions/create-file-upload.mjs.map +1 -1
  66. package/dist/actions/create-notion-page.cjs +14 -14
  67. package/dist/actions/create-notion-page.cjs.map +1 -1
  68. package/dist/actions/create-notion-page.d.cts +18 -18
  69. package/dist/actions/create-notion-page.d.mts +18 -18
  70. package/dist/actions/create-notion-page.mjs +14 -14
  71. package/dist/actions/create-notion-page.mjs.map +1 -1
  72. package/dist/actions/delete-block.cjs +46 -46
  73. package/dist/actions/delete-block.cjs.map +1 -1
  74. package/dist/actions/delete-block.d.cts +338 -338
  75. package/dist/actions/delete-block.d.mts +338 -338
  76. package/dist/actions/delete-block.mjs +46 -46
  77. package/dist/actions/delete-block.mjs.map +1 -1
  78. package/dist/actions/duplicate-page.cjs +20 -20
  79. package/dist/actions/duplicate-page.cjs.map +1 -1
  80. package/dist/actions/duplicate-page.d.cts +24 -24
  81. package/dist/actions/duplicate-page.d.mts +24 -24
  82. package/dist/actions/duplicate-page.mjs +20 -20
  83. package/dist/actions/duplicate-page.mjs.map +1 -1
  84. package/dist/actions/fetch-all-block-contents.cjs +58 -58
  85. package/dist/actions/fetch-all-block-contents.cjs.map +1 -1
  86. package/dist/actions/fetch-all-block-contents.d.cts +4 -4
  87. package/dist/actions/fetch-all-block-contents.d.mts +4 -4
  88. package/dist/actions/fetch-all-block-contents.mjs +58 -58
  89. package/dist/actions/fetch-all-block-contents.mjs.map +1 -1
  90. package/dist/actions/fetch-block-contents.cjs +49 -49
  91. package/dist/actions/fetch-block-contents.cjs.map +1 -1
  92. package/dist/actions/fetch-block-contents.d.cts +172 -172
  93. package/dist/actions/fetch-block-contents.d.mts +172 -172
  94. package/dist/actions/fetch-block-contents.mjs +49 -49
  95. package/dist/actions/fetch-block-contents.mjs.map +1 -1
  96. package/dist/actions/fetch-block-metadata.cjs +43 -43
  97. package/dist/actions/fetch-block-metadata.cjs.map +1 -1
  98. package/dist/actions/fetch-block-metadata.d.cts +296 -296
  99. package/dist/actions/fetch-block-metadata.d.mts +296 -296
  100. package/dist/actions/fetch-block-metadata.mjs +43 -43
  101. package/dist/actions/fetch-block-metadata.mjs.map +1 -1
  102. package/dist/actions/fetch-comments.cjs +24 -24
  103. package/dist/actions/fetch-comments.cjs.map +1 -1
  104. package/dist/actions/fetch-comments.d.cts +33 -33
  105. package/dist/actions/fetch-comments.d.mts +33 -33
  106. package/dist/actions/fetch-comments.mjs +24 -24
  107. package/dist/actions/fetch-comments.mjs.map +1 -1
  108. package/dist/actions/fetch-data.cjs +33 -33
  109. package/dist/actions/fetch-data.cjs.map +1 -1
  110. package/dist/actions/fetch-data.d.cts +131 -131
  111. package/dist/actions/fetch-data.d.mts +131 -131
  112. package/dist/actions/fetch-data.mjs +33 -33
  113. package/dist/actions/fetch-data.mjs.map +1 -1
  114. package/dist/actions/fetch-database.cjs +13 -13
  115. package/dist/actions/fetch-database.cjs.map +1 -1
  116. package/dist/actions/fetch-database.d.cts +18 -18
  117. package/dist/actions/fetch-database.d.mts +18 -18
  118. package/dist/actions/fetch-database.mjs +13 -13
  119. package/dist/actions/fetch-database.mjs.map +1 -1
  120. package/dist/actions/fetch-row.cjs +23 -23
  121. package/dist/actions/fetch-row.cjs.map +1 -1
  122. package/dist/actions/fetch-row.d.cts +40 -40
  123. package/dist/actions/fetch-row.d.mts +40 -40
  124. package/dist/actions/fetch-row.mjs +23 -23
  125. package/dist/actions/fetch-row.mjs.map +1 -1
  126. package/dist/actions/get-about-user.cjs +6 -6
  127. package/dist/actions/get-about-user.cjs.map +1 -1
  128. package/dist/actions/get-about-user.d.cts +8 -8
  129. package/dist/actions/get-about-user.d.mts +8 -8
  130. package/dist/actions/get-about-user.mjs +6 -6
  131. package/dist/actions/get-about-user.mjs.map +1 -1
  132. package/dist/actions/get-page-markdown.cjs +1 -1
  133. package/dist/actions/get-page-markdown.cjs.map +1 -1
  134. package/dist/actions/get-page-markdown.d.cts +1 -1
  135. package/dist/actions/get-page-markdown.d.mts +1 -1
  136. package/dist/actions/get-page-markdown.mjs +1 -1
  137. package/dist/actions/get-page-markdown.mjs.map +1 -1
  138. package/dist/actions/insert-row-database.cjs +22 -22
  139. package/dist/actions/insert-row-database.cjs.map +1 -1
  140. package/dist/actions/insert-row-database.d.cts +40 -38
  141. package/dist/actions/insert-row-database.d.mts +40 -38
  142. package/dist/actions/insert-row-database.mjs +22 -22
  143. package/dist/actions/insert-row-database.mjs.map +1 -1
  144. package/dist/actions/insert-row-from-nl.cjs +1 -1
  145. package/dist/actions/insert-row-from-nl.cjs.map +1 -1
  146. package/dist/actions/insert-row-from-nl.d.cts +1 -1
  147. package/dist/actions/insert-row-from-nl.d.mts +1 -1
  148. package/dist/actions/insert-row-from-nl.mjs +1 -1
  149. package/dist/actions/insert-row-from-nl.mjs.map +1 -1
  150. package/dist/actions/list-data-source-templates.cjs +2 -2
  151. package/dist/actions/list-data-source-templates.cjs.map +1 -1
  152. package/dist/actions/list-data-source-templates.d.cts +2 -2
  153. package/dist/actions/list-data-source-templates.d.mts +2 -2
  154. package/dist/actions/list-data-source-templates.mjs +2 -2
  155. package/dist/actions/list-data-source-templates.mjs.map +1 -1
  156. package/dist/actions/list-file-uploads.cjs +2 -2
  157. package/dist/actions/list-file-uploads.cjs.map +1 -1
  158. package/dist/actions/list-file-uploads.d.cts +2 -2
  159. package/dist/actions/list-file-uploads.d.mts +2 -2
  160. package/dist/actions/list-file-uploads.mjs +2 -2
  161. package/dist/actions/list-file-uploads.mjs.map +1 -1
  162. package/dist/actions/list-users.cjs +8 -8
  163. package/dist/actions/list-users.cjs.map +1 -1
  164. package/dist/actions/list-users.d.cts +11 -11
  165. package/dist/actions/list-users.d.mts +11 -11
  166. package/dist/actions/list-users.mjs +8 -8
  167. package/dist/actions/list-users.mjs.map +1 -1
  168. package/dist/actions/move-page.cjs +18 -18
  169. package/dist/actions/move-page.cjs.map +1 -1
  170. package/dist/actions/move-page.d.cts +23 -21
  171. package/dist/actions/move-page.d.mts +23 -21
  172. package/dist/actions/move-page.mjs +18 -18
  173. package/dist/actions/move-page.mjs.map +1 -1
  174. package/dist/actions/query-data-source.cjs +18 -18
  175. package/dist/actions/query-data-source.cjs.map +1 -1
  176. package/dist/actions/query-data-source.d.cts +34 -32
  177. package/dist/actions/query-data-source.d.cts.map +1 -1
  178. package/dist/actions/query-data-source.d.mts +34 -32
  179. package/dist/actions/query-data-source.d.mts.map +1 -1
  180. package/dist/actions/query-data-source.mjs +18 -18
  181. package/dist/actions/query-data-source.mjs.map +1 -1
  182. package/dist/actions/query-database-with-filter.cjs +25 -25
  183. package/dist/actions/query-database-with-filter.cjs.map +1 -1
  184. package/dist/actions/query-database-with-filter.d.cts +50 -48
  185. package/dist/actions/query-database-with-filter.d.cts.map +1 -1
  186. package/dist/actions/query-database-with-filter.d.mts +50 -48
  187. package/dist/actions/query-database-with-filter.d.mts.map +1 -1
  188. package/dist/actions/query-database-with-filter.mjs +25 -25
  189. package/dist/actions/query-database-with-filter.mjs.map +1 -1
  190. package/dist/actions/query-database.cjs +24 -24
  191. package/dist/actions/query-database.cjs.map +1 -1
  192. package/dist/actions/query-database.d.cts +49 -48
  193. package/dist/actions/query-database.d.mts +49 -48
  194. package/dist/actions/query-database.mjs +24 -24
  195. package/dist/actions/query-database.mjs.map +1 -1
  196. package/dist/actions/replace-page-content.cjs +130 -130
  197. package/dist/actions/replace-page-content.cjs.map +1 -1
  198. package/dist/actions/replace-page-content.d.cts +261 -131
  199. package/dist/actions/replace-page-content.d.mts +261 -131
  200. package/dist/actions/replace-page-content.mjs +130 -130
  201. package/dist/actions/replace-page-content.mjs.map +1 -1
  202. package/dist/actions/retrieve-database-property.cjs +25 -25
  203. package/dist/actions/retrieve-database-property.cjs.map +1 -1
  204. package/dist/actions/retrieve-database-property.d.cts +28 -28
  205. package/dist/actions/retrieve-database-property.d.mts +28 -28
  206. package/dist/actions/retrieve-database-property.mjs +25 -25
  207. package/dist/actions/retrieve-database-property.mjs.map +1 -1
  208. package/dist/actions/retrieve-file-upload.cjs +1 -1
  209. package/dist/actions/retrieve-file-upload.cjs.map +1 -1
  210. package/dist/actions/retrieve-file-upload.d.cts +1 -1
  211. package/dist/actions/retrieve-file-upload.d.mts +1 -1
  212. package/dist/actions/retrieve-file-upload.mjs +1 -1
  213. package/dist/actions/retrieve-file-upload.mjs.map +1 -1
  214. package/dist/actions/retrieve-page.cjs +23 -23
  215. package/dist/actions/retrieve-page.cjs.map +1 -1
  216. package/dist/actions/retrieve-page.d.cts +38 -38
  217. package/dist/actions/retrieve-page.d.mts +38 -38
  218. package/dist/actions/retrieve-page.mjs +23 -23
  219. package/dist/actions/retrieve-page.mjs.map +1 -1
  220. package/dist/actions/search-notion-page.cjs +34 -34
  221. package/dist/actions/search-notion-page.cjs.map +1 -1
  222. package/dist/actions/search-notion-page.d.cts +157 -157
  223. package/dist/actions/search-notion-page.d.mts +157 -157
  224. package/dist/actions/search-notion-page.mjs +34 -34
  225. package/dist/actions/search-notion-page.mjs.map +1 -1
  226. package/dist/actions/send-file-upload.cjs +1 -1
  227. package/dist/actions/send-file-upload.cjs.map +1 -1
  228. package/dist/actions/send-file-upload.d.cts +1 -1
  229. package/dist/actions/send-file-upload.d.mts +1 -1
  230. package/dist/actions/send-file-upload.mjs +1 -1
  231. package/dist/actions/send-file-upload.mjs.map +1 -1
  232. package/dist/actions/update-block.cjs +47 -47
  233. package/dist/actions/update-block.cjs.map +1 -1
  234. package/dist/actions/update-block.d.cts +141 -141
  235. package/dist/actions/update-block.d.mts +141 -141
  236. package/dist/actions/update-block.mjs +47 -47
  237. package/dist/actions/update-block.mjs.map +1 -1
  238. package/dist/actions/update-page.cjs +16 -16
  239. package/dist/actions/update-page.cjs.map +1 -1
  240. package/dist/actions/update-page.d.cts +23 -23
  241. package/dist/actions/update-page.d.mts +23 -23
  242. package/dist/actions/update-page.mjs +16 -16
  243. package/dist/actions/update-page.mjs.map +1 -1
  244. package/dist/actions/update-row-database.cjs +21 -21
  245. package/dist/actions/update-row-database.cjs.map +1 -1
  246. package/dist/actions/update-row-database.d.cts +29 -28
  247. package/dist/actions/update-row-database.d.mts +29 -28
  248. package/dist/actions/update-row-database.mjs +21 -21
  249. package/dist/actions/update-row-database.mjs.map +1 -1
  250. package/dist/actions/update-schema-database.cjs +8 -8
  251. package/dist/actions/update-schema-database.cjs.map +1 -1
  252. package/dist/actions/update-schema-database.d.cts +12 -11
  253. package/dist/actions/update-schema-database.d.mts +12 -11
  254. package/dist/actions/update-schema-database.mjs +8 -8
  255. package/dist/actions/update-schema-database.mjs.map +1 -1
  256. package/dist/actions/upsert-row-database.cjs +28 -28
  257. package/dist/actions/upsert-row-database.cjs.map +1 -1
  258. package/dist/actions/upsert-row-database.d.cts +54 -30
  259. package/dist/actions/upsert-row-database.d.mts +54 -30
  260. package/dist/actions/upsert-row-database.mjs +28 -28
  261. package/dist/actions/upsert-row-database.mjs.map +1 -1
  262. package/dist/execute.cjs +1 -1
  263. package/dist/execute.cjs.map +1 -1
  264. package/dist/execute.mjs +1 -1
  265. package/dist/execute.mjs.map +1 -1
  266. package/package.json +1 -1
@@ -6,14 +6,14 @@ const NotionFetchBlockContentsInput = z.object({
6
6
  page_size: z.number().int().describe("The maximum number of child blocks to return in a single response. The actual number of results may be lower if there are fewer child blocks available or if the end of the list is reached. Maximum allowed value is 100. If unspecified, Notion's default page size will be used.").optional(),
7
7
  start_cursor: z.string().describe("Pagination cursor from next_cursor in a previous API response. When paginating through results, pass the next_cursor value from the previous response here to fetch the next page. Must be a valid UUID format or cursor string returned by Notion's API. If omitted, returns the first page of results.").optional()
8
8
  });
9
- const NotionFetchBlockContents_BlockPaginationMarkerSchema = z.object({}).describe("Empty object marker for block-type pagination responses.");
10
- const NotionFetchBlockContents_TextLinkSchema = z.object({ url: z.string().describe("The URL the text links to.").nullable() });
9
+ const NotionFetchBlockContents_BlockPaginationMarkerSchema = z.record(z.string(), z.unknown()).describe("Empty object marker for block-type pagination responses.");
10
+ const NotionFetchBlockContents_TextLinkSchema = z.object({ url: z.string().describe("The URL the text links to.").nullable() }).passthrough();
11
11
  const NotionFetchBlockContents_TextContentSchema = z.object({
12
12
  link: NotionFetchBlockContents_TextLinkSchema.nullable().optional(),
13
13
  content: z.string().describe("The actual text content.").nullable()
14
- });
15
- const NotionFetchBlockContents_MentionContentSchema = z.object({ type: z.string().describe("Type of mention ('database', 'date', 'link_preview', 'page', 'template_mention', or 'user').").nullable() });
16
- const NotionFetchBlockContents_EquationContentSchema = z.object({ expression: z.string().describe("LaTeX formula representation.").nullable() });
14
+ }).passthrough();
15
+ const NotionFetchBlockContents_MentionContentSchema = z.object({ type: z.string().describe("Type of mention ('database', 'date', 'link_preview', 'page', 'template_mention', or 'user').").nullable() }).passthrough();
16
+ const NotionFetchBlockContents_EquationContentSchema = z.object({ expression: z.string().describe("LaTeX formula representation.").nullable() }).passthrough();
17
17
  const NotionFetchBlockContents_RichTextAnnotationsSchema = z.object({
18
18
  bold: z.boolean().describe("Whether text is bold.").nullable(),
19
19
  code: z.boolean().describe("Whether text is formatted as code.").nullable(),
@@ -21,7 +21,7 @@ const NotionFetchBlockContents_RichTextAnnotationsSchema = z.object({
21
21
  italic: z.boolean().describe("Whether text is italic.").nullable(),
22
22
  underline: z.boolean().describe("Whether text is underlined.").nullable(),
23
23
  strikethrough: z.boolean().describe("Whether text has strikethrough.").nullable()
24
- });
24
+ }).passthrough();
25
25
  const NotionFetchBlockContents_RichTextSchema = z.object({
26
26
  href: z.string().describe("URL if the text is a link, otherwise null.").nullable().optional(),
27
27
  text: NotionFetchBlockContents_TextContentSchema.nullable().optional(),
@@ -30,52 +30,52 @@ const NotionFetchBlockContents_RichTextSchema = z.object({
30
30
  equation: NotionFetchBlockContents_EquationContentSchema.nullable().optional(),
31
31
  plain_text: z.string().describe("Unformatted text content.").nullable(),
32
32
  annotations: NotionFetchBlockContents_RichTextAnnotationsSchema.nullable()
33
- });
33
+ }).passthrough();
34
34
  const NotionFetchBlockContents_PdfBlockSchema = z.object({
35
35
  type: z.string().describe("Type of PDF source ('external', 'file', or 'file_upload'). May be absent for incomplete or placeholder PDF blocks.").nullable().optional(),
36
36
  caption: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects for the PDF caption.")
37
- });
37
+ }).passthrough();
38
38
  const NotionFetchBlockContents_CodeBlockSchema = z.object({
39
39
  caption: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects for the caption."),
40
40
  language: z.string().describe("Programming language for syntax highlighting (supports 170+ languages).").nullable(),
41
41
  rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects containing the code content.")
42
- });
42
+ }).passthrough();
43
43
  const NotionFetchBlockContents_FileBlockSchema = z.object({
44
44
  name: z.string().describe("Name of the file.").nullable(),
45
45
  type: z.string().describe("Type of file source ('external', 'file', or 'file_upload'). May be absent for incomplete or placeholder file blocks.").nullable().optional(),
46
46
  caption: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects for the file caption.")
47
- });
47
+ }).passthrough();
48
48
  const NotionFetchBlockContents_AudioBlockSchema = z.object({
49
49
  type: z.string().describe("Type of audio source ('external', 'file', or 'file_upload'). May be absent for incomplete or placeholder audio blocks.").nullable().optional(),
50
50
  caption: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects for the audio caption.")
51
- });
51
+ }).passthrough();
52
52
  const NotionFetchBlockContents_EmbedBlockSchema = z.object({
53
53
  url: z.string().describe("URL of the embedded content.").nullable(),
54
54
  caption: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects for the embed caption.")
55
- });
55
+ }).passthrough();
56
56
  const NotionFetchBlockContents_ImageBlockSchema = z.object({
57
57
  type: z.string().describe("Type of image source ('external', 'file', or 'file_upload'). May be absent for incomplete or placeholder image blocks.").nullable().optional(),
58
58
  caption: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects for the image caption.")
59
- });
59
+ }).passthrough();
60
60
  const NotionFetchBlockContents_QuoteBlockSchema = z.object({
61
61
  color: z.string().describe("Color of the quote.").nullable(),
62
62
  rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects containing the quote content.")
63
- });
63
+ }).passthrough();
64
64
  const NotionFetchBlockContents_TableBlockSchema = z.object({
65
65
  table_width: z.number().int().describe("Number of columns in the table.").nullable(),
66
66
  has_row_header: z.boolean().describe("Whether the table has a row header.").nullable(),
67
67
  has_column_header: z.boolean().describe("Whether the table has a column header.").nullable()
68
- });
68
+ }).passthrough();
69
69
  const NotionFetchBlockContents_ToDoBlockSchema = z.object({
70
70
  color: z.string().describe("Color of the to-do item.").nullable(),
71
71
  checked: z.boolean().describe("Whether the to-do is checked.").nullable(),
72
72
  rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects containing the to-do text.")
73
- });
73
+ }).passthrough();
74
74
  const NotionFetchBlockContents_VideoBlockSchema = z.object({
75
75
  type: z.string().describe("Type of video source ('external', 'file', or 'file_upload'). May be absent for incomplete or placeholder video blocks.").nullable().optional(),
76
76
  caption: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects for the video caption.")
77
- });
78
- const NotionFetchBlockContents_ColumnBlockSchema = z.object({ width_ratio: z.number().describe("Width ratio of the column (0-1). Optional field that may not be present in all API responses.").nullable().optional() });
77
+ }).passthrough();
78
+ const NotionFetchBlockContents_ColumnBlockSchema = z.object({ width_ratio: z.number().describe("Width ratio of the column (0-1). Optional field that may not be present in all API responses.").nullable().optional() }).passthrough();
79
79
  const NotionFetchBlockContents_ParentObjectSchema = z.object({
80
80
  type: z.string().describe("Type of parent ('page_id', 'database_id', 'block_id', 'workspace', or 'data_source_id').").nullable(),
81
81
  page_id: z.string().describe("UUID of the parent page (present when type is 'page_id').").nullable().optional(),
@@ -83,37 +83,37 @@ const NotionFetchBlockContents_ParentObjectSchema = z.object({
83
83
  workspace: z.boolean().describe("Always true when type is 'workspace', indicating a top-level page.").nullable().optional(),
84
84
  database_id: z.string().describe("UUID of the parent database (present when type is 'database_id').").nullable().optional(),
85
85
  data_source_id: z.string().describe("UUID of the parent data source (present when type is 'data_source_id').").nullable().optional()
86
- });
86
+ }).passthrough();
87
87
  const NotionFetchBlockContents_ToggleBlockSchema = z.object({
88
88
  color: z.string().describe("Color of the toggle.").nullable(),
89
89
  rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects containing the toggle content.")
90
- });
90
+ }).passthrough();
91
91
  const NotionFetchBlockContents_EmojiIconSchema = z.object({
92
92
  type: z.string().describe("Always 'emoji' for emoji icons.").nullable(),
93
93
  emoji: z.string().describe("The emoji character (e.g., '😻', '📌').").nullable()
94
- }).describe("Emoji icon object for callouts and pages.");
94
+ }).passthrough().describe("Emoji icon object for callouts and pages.");
95
95
  const NotionFetchBlockContents_CustomEmojiDataSchema = z.object({
96
96
  id: z.string().describe("Unique identifier for the custom emoji.").nullable(),
97
97
  url: z.string().describe("Hosted URL pointing to the custom emoji image.").nullable().optional(),
98
98
  name: z.string().describe("Display name of the custom emoji.").nullable().optional()
99
- }).describe("Custom emoji data containing metadata.");
99
+ }).passthrough().describe("Custom emoji data containing metadata.");
100
100
  const NotionFetchBlockContents_CustomEmojiIconSchema = z.object({
101
101
  type: z.string().describe("Always 'custom_emoji' for workspace custom emoji icons.").nullable(),
102
102
  custom_emoji: NotionFetchBlockContents_CustomEmojiDataSchema.nullable()
103
- }).describe("Custom emoji icon object for callouts and pages.");
104
- const NotionFetchBlockContents_ExternalFileDataSchema = z.object({ url: z.string().describe("HTTPS URL to the external file.").nullable() }).describe("External file data with URL.");
103
+ }).passthrough().describe("Custom emoji icon object for callouts and pages.");
104
+ const NotionFetchBlockContents_ExternalFileDataSchema = z.object({ url: z.string().describe("HTTPS URL to the external file.").nullable() }).passthrough().describe("External file data with URL.");
105
105
  const NotionFetchBlockContents_ExternalFileIconSchema = z.object({
106
106
  type: z.string().describe("Always 'external' for externally hosted files.").nullable(),
107
107
  external: NotionFetchBlockContents_ExternalFileDataSchema.nullable()
108
- }).describe("External file icon object for callouts.");
108
+ }).passthrough().describe("External file icon object for callouts.");
109
109
  const NotionFetchBlockContents_NotionFileDataSchema = z.object({
110
110
  url: z.string().describe("Authenticated S3 URL for the file (valid for 1 hour).").nullable(),
111
111
  expiry_time: z.string().describe("ISO 8601 timestamp when the URL expires.").nullable()
112
- }).describe("Notion-hosted file data with URL and expiry time.");
112
+ }).passthrough().describe("Notion-hosted file data with URL and expiry time.");
113
113
  const NotionFetchBlockContents_NotionFileIconSchema = z.object({
114
114
  file: NotionFetchBlockContents_NotionFileDataSchema.nullable(),
115
115
  type: z.string().describe("Always 'file' for Notion-hosted files.").nullable()
116
- }).describe("Notion-hosted file icon object.");
116
+ }).passthrough().describe("Notion-hosted file icon object.");
117
117
  const NotionFetchBlockContents_CalloutBlockSchema = z.object({
118
118
  icon: z.union([
119
119
  NotionFetchBlockContents_EmojiIconSchema,
@@ -123,48 +123,48 @@ const NotionFetchBlockContents_CalloutBlockSchema = z.object({
123
123
  ]).nullable().optional(),
124
124
  color: z.string().describe("Background color of the callout.").nullable(),
125
125
  rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects containing the callout content.")
126
- });
127
- const NotionFetchBlockContents_DividerBlockSchema = z.object({}).describe("Divider block properties. Divider blocks contain no additional properties.");
126
+ }).passthrough();
127
+ const NotionFetchBlockContents_DividerBlockSchema = z.record(z.string(), z.unknown()).describe("Divider block properties. Divider blocks contain no additional properties.");
128
128
  const NotionFetchBlockContents_BookmarkBlockSchema = z.object({
129
129
  url: z.string().describe("URL of the bookmarked resource.").nullable(),
130
130
  caption: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects for the bookmark caption.")
131
- });
132
- const NotionFetchBlockContents_EquationBlockSchema = z.object({ expression: z.string().describe("LaTeX expression for the equation.").nullable() });
133
- const NotionFetchBlockContents_TemplateBlockSchema = z.object({ rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects displayed in the template button title.") }).describe("Template block properties. Note: Template blocks are deprecated as of March 27, 2023.");
131
+ }).passthrough();
132
+ const NotionFetchBlockContents_EquationBlockSchema = z.object({ expression: z.string().describe("LaTeX expression for the equation.").nullable() }).passthrough();
133
+ const NotionFetchBlockContents_TemplateBlockSchema = z.object({ rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects displayed in the template button title.") }).passthrough().describe("Template block properties. Note: Template blocks are deprecated as of March 27, 2023.");
134
134
  const NotionFetchBlockContents_HeadingBlockSchema = z.object({
135
135
  color: z.string().describe("Color of the heading.").nullable(),
136
136
  rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects containing the heading content."),
137
137
  is_toggleable: z.boolean().describe("Whether the heading can be toggled to show/hide children.").nullable()
138
- });
138
+ }).passthrough();
139
139
  const NotionFetchBlockContents_ParagraphBlockSchema = z.object({
140
140
  color: z.string().describe("Color of the paragraph block.").nullable(),
141
141
  rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects containing the paragraph content.")
142
- });
143
- const NotionFetchBlockContents_TableRowBlockSchema = z.object({ cells: z.array(z.array(NotionFetchBlockContents_RichTextSchema)).describe("Array of arrays, where each inner array contains rich text objects for a cell.") });
144
- const NotionFetchBlockContents_BreadcrumbBlockSchema = z.object({}).describe("Breadcrumb block properties. Breadcrumb blocks contain no additional properties.");
145
- const NotionFetchBlockContents_ChildPageBlockSchema = z.object({ title: z.string().describe("Title of the child page.").nullable() });
142
+ }).passthrough();
143
+ const NotionFetchBlockContents_TableRowBlockSchema = z.object({ cells: z.array(z.array(NotionFetchBlockContents_RichTextSchema)).describe("Array of arrays, where each inner array contains rich text objects for a cell.") }).passthrough();
144
+ const NotionFetchBlockContents_BreadcrumbBlockSchema = z.record(z.string(), z.unknown()).describe("Breadcrumb block properties. Breadcrumb blocks contain no additional properties.");
145
+ const NotionFetchBlockContents_ChildPageBlockSchema = z.object({ title: z.string().describe("Title of the child page.").nullable() }).passthrough();
146
146
  const NotionFetchBlockContents_PartialUserSchema = z.object({
147
147
  id: z.string().describe("UUID of the user.").nullable(),
148
148
  object: z.string().describe("Always 'user'.").nullable()
149
- });
150
- const NotionFetchBlockContents_ColumnListBlockSchema = z.object({}).describe("Column list block properties. Column lists are parent blocks for columns and contain no additional properties.");
151
- const NotionFetchBlockContents_UnsupportedBlockSchema = z.object({}).describe("Unsupported block properties. Represents block types not supported by the API.");
152
- const NotionFetchBlockContents_LinkPreviewBlockSchema = z.object({ url: z.string().describe("URL of the link preview.").nullable() });
149
+ }).passthrough();
150
+ const NotionFetchBlockContents_ColumnListBlockSchema = z.record(z.string(), z.unknown()).describe("Column list block properties. Column lists are parent blocks for columns and contain no additional properties.");
151
+ const NotionFetchBlockContents_UnsupportedBlockSchema = z.record(z.string(), z.unknown()).describe("Unsupported block properties. Represents block types not supported by the API.");
152
+ const NotionFetchBlockContents_LinkPreviewBlockSchema = z.object({ url: z.string().describe("URL of the link preview.").nullable() }).passthrough();
153
153
  const NotionFetchBlockContents_SyncedFromReferenceSchema = z.object({
154
154
  type: z.string().describe("Always 'block_id' for synced block references.").nullable(),
155
155
  block_id: z.string().describe("UUID of the original synced block that this block syncs from.").nullable()
156
- }).describe("Reference to the original synced block.");
157
- const NotionFetchBlockContents_SyncedBlockBlockSchema = z.object({ synced_from: NotionFetchBlockContents_SyncedFromReferenceSchema.nullable().optional() }).describe("Synced block properties.");
158
- const NotionFetchBlockContents_ChildDatabaseBlockSchema = z.object({ title: z.string().describe("Title of the child database.").nullable() });
159
- const NotionFetchBlockContents_TableOfContentsBlockSchema = z.object({ color: z.string().describe("Color of the table of contents block (e.g., 'default', 'blue', 'red', 'green', 'yellow', 'orange', 'pink', 'purple', 'brown', 'gray').").nullable() }).describe("Table of contents block properties.");
156
+ }).passthrough().describe("Reference to the original synced block.");
157
+ const NotionFetchBlockContents_SyncedBlockBlockSchema = z.object({ synced_from: NotionFetchBlockContents_SyncedFromReferenceSchema.nullable().optional() }).passthrough().describe("Synced block properties.");
158
+ const NotionFetchBlockContents_ChildDatabaseBlockSchema = z.object({ title: z.string().describe("Title of the child database.").nullable() }).passthrough();
159
+ const NotionFetchBlockContents_TableOfContentsBlockSchema = z.object({ color: z.string().describe("Color of the table of contents block (e.g., 'default', 'blue', 'red', 'green', 'yellow', 'orange', 'pink', 'purple', 'brown', 'gray').").nullable() }).passthrough().describe("Table of contents block properties.");
160
160
  const NotionFetchBlockContents_BulletedListItemBlockSchema = z.object({
161
161
  color: z.string().describe("Color of the list item.").nullable(),
162
162
  rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects containing the list item content.")
163
- });
163
+ }).passthrough();
164
164
  const NotionFetchBlockContents_NumberedListItemBlockSchema = z.object({
165
165
  color: z.string().describe("Color of the list item.").nullable(),
166
166
  rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects containing the list item content.")
167
- });
167
+ }).passthrough();
168
168
  const NotionFetchBlockContents_BlockSchema = z.object({
169
169
  id: z.string().describe("Unique identifier for the block (UUIDv4 format).").nullable(),
170
170
  pdf: NotionFetchBlockContents_PdfBlockSchema.nullable().optional(),
@@ -209,7 +209,7 @@ const NotionFetchBlockContents_BlockSchema = z.object({
209
209
  table_of_contents: NotionFetchBlockContents_TableOfContentsBlockSchema.nullable().optional(),
210
210
  bulleted_list_item: NotionFetchBlockContents_BulletedListItemBlockSchema.nullable().optional(),
211
211
  numbered_list_item: NotionFetchBlockContents_NumberedListItemBlockSchema.nullable().optional()
212
- });
212
+ }).passthrough();
213
213
  const notionFetchBlockContents = action("NOTION_FETCH_BLOCK_CONTENTS", {
214
214
  slug: "notion-fetch-block-contents",
215
215
  name: "Fetch Notion Block Children",
@@ -223,7 +223,7 @@ const notionFetchBlockContents = action("NOTION_FETCH_BLOCK_CONTENTS", {
223
223
  has_more: z.boolean().describe("Whether there are more results available beyond this page. Used for pagination.").nullable(),
224
224
  next_cursor: z.string().describe("Cursor for retrieving the next page of results. Null if has_more is false. Use as start_cursor parameter in subsequent requests.").nullable().optional(),
225
225
  composio_execution_message: z.string().describe("Optional message explaining special circumstances during execution, such as when a block type is not supported by the Notion API.").nullable().optional()
226
- })
226
+ }).passthrough()
227
227
  });
228
228
  //#endregion
229
229
  export { notionFetchBlockContents };
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-block-contents.mjs","names":[],"sources":["../../src/actions/fetch-block-contents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionFetchBlockContentsInput = z.object({\n block_id: z.string().describe(\"UUID of the parent Notion block or page whose children are to be fetched. Accepts both hyphenated (e.g., 'c02fc1d3-db8b-45c5-a222-27595b15aea7') and non-hyphenated (e.g., 'c02fc1d3db8b45c5a22227595b15aea7') UUID formats. Notion's API does not support special identifiers like 'root' or 'top-level' - you must always provide an actual page or block UUID. To discover valid page/block IDs, first use 'NOTION_SEARCH_NOTION_PAGE' to find pages or 'NOTION_QUERY_DATABASE' to query databases.\"),\n page_size: z.number().int().describe(\"The maximum number of child blocks to return in a single response. The actual number of results may be lower if there are fewer child blocks available or if the end of the list is reached. Maximum allowed value is 100. If unspecified, Notion's default page size will be used.\").optional(),\n start_cursor: z.string().describe(\"Pagination cursor from next_cursor in a previous API response. When paginating through results, pass the next_cursor value from the previous response here to fetch the next page. Must be a valid UUID format or cursor string returned by Notion's API. If omitted, returns the first page of results.\").optional(),\n});\nconst NotionFetchBlockContents_BlockPaginationMarkerSchema = z.object({}).describe(\"Empty object marker for block-type pagination responses.\");\nconst NotionFetchBlockContents_TextLinkSchema = z.object({\n url: z.string().describe(\"The URL the text links to.\").nullable(),\n});\nconst NotionFetchBlockContents_TextContentSchema = z.object({\n link: NotionFetchBlockContents_TextLinkSchema.nullable().optional(),\n content: z.string().describe(\"The actual text content.\").nullable(),\n});\nconst NotionFetchBlockContents_MentionContentSchema = z.object({\n type: z.string().describe(\"Type of mention ('database', 'date', 'link_preview', 'page', 'template_mention', or 'user').\").nullable(),\n});\nconst NotionFetchBlockContents_EquationContentSchema = z.object({\n expression: z.string().describe(\"LaTeX formula representation.\").nullable(),\n});\nconst NotionFetchBlockContents_RichTextAnnotationsSchema = z.object({\n bold: z.boolean().describe(\"Whether text is bold.\").nullable(),\n code: z.boolean().describe(\"Whether text is formatted as code.\").nullable(),\n color: z.string().describe(\"Text color or background color (e.g., 'default', 'blue', 'green', 'red', 'yellow', 'orange', 'pink', 'purple', 'brown', 'gray', or with '_background' suffix).\").nullable(),\n italic: z.boolean().describe(\"Whether text is italic.\").nullable(),\n underline: z.boolean().describe(\"Whether text is underlined.\").nullable(),\n strikethrough: z.boolean().describe(\"Whether text has strikethrough.\").nullable(),\n});\nconst NotionFetchBlockContents_RichTextSchema = z.object({\n href: z.string().describe(\"URL if the text is a link, otherwise null.\").nullable().optional(),\n text: NotionFetchBlockContents_TextContentSchema.nullable().optional(),\n type: z.string().describe(\"Type of rich text ('text', 'mention', or 'equation').\").nullable(),\n mention: NotionFetchBlockContents_MentionContentSchema.nullable().optional(),\n equation: NotionFetchBlockContents_EquationContentSchema.nullable().optional(),\n plain_text: z.string().describe(\"Unformatted text content.\").nullable(),\n annotations: NotionFetchBlockContents_RichTextAnnotationsSchema.nullable(),\n});\nconst NotionFetchBlockContents_PdfBlockSchema = z.object({\n type: z.string().describe(\"Type of PDF source ('external', 'file', or 'file_upload'). May be absent for incomplete or placeholder PDF blocks.\").nullable().optional(),\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the PDF caption.\"),\n});\nconst NotionFetchBlockContents_CodeBlockSchema = z.object({\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the caption.\"),\n language: z.string().describe(\"Programming language for syntax highlighting (supports 170+ languages).\").nullable(),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the code content.\"),\n});\nconst NotionFetchBlockContents_FileBlockSchema = z.object({\n name: z.string().describe(\"Name of the file.\").nullable(),\n type: z.string().describe(\"Type of file source ('external', 'file', or 'file_upload'). May be absent for incomplete or placeholder file blocks.\").nullable().optional(),\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the file caption.\"),\n});\nconst NotionFetchBlockContents_AudioBlockSchema = z.object({\n type: z.string().describe(\"Type of audio source ('external', 'file', or 'file_upload'). May be absent for incomplete or placeholder audio blocks.\").nullable().optional(),\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the audio caption.\"),\n});\nconst NotionFetchBlockContents_EmbedBlockSchema = z.object({\n url: z.string().describe(\"URL of the embedded content.\").nullable(),\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the embed caption.\"),\n});\nconst NotionFetchBlockContents_ImageBlockSchema = z.object({\n type: z.string().describe(\"Type of image source ('external', 'file', or 'file_upload'). May be absent for incomplete or placeholder image blocks.\").nullable().optional(),\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the image caption.\"),\n});\nconst NotionFetchBlockContents_QuoteBlockSchema = z.object({\n color: z.string().describe(\"Color of the quote.\").nullable(),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the quote content.\"),\n});\nconst NotionFetchBlockContents_TableBlockSchema = z.object({\n table_width: z.number().int().describe(\"Number of columns in the table.\").nullable(),\n has_row_header: z.boolean().describe(\"Whether the table has a row header.\").nullable(),\n has_column_header: z.boolean().describe(\"Whether the table has a column header.\").nullable(),\n});\nconst NotionFetchBlockContents_ToDoBlockSchema = z.object({\n color: z.string().describe(\"Color of the to-do item.\").nullable(),\n checked: z.boolean().describe(\"Whether the to-do is checked.\").nullable(),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the to-do text.\"),\n});\nconst NotionFetchBlockContents_VideoBlockSchema = z.object({\n type: z.string().describe(\"Type of video source ('external', 'file', or 'file_upload'). May be absent for incomplete or placeholder video blocks.\").nullable().optional(),\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the video caption.\"),\n});\nconst NotionFetchBlockContents_ColumnBlockSchema = z.object({\n width_ratio: z.number().describe(\"Width ratio of the column (0-1). Optional field that may not be present in all API responses.\").nullable().optional(),\n});\nconst NotionFetchBlockContents_ParentObjectSchema = z.object({\n type: z.string().describe(\"Type of parent ('page_id', 'database_id', 'block_id', 'workspace', or 'data_source_id').\").nullable(),\n page_id: z.string().describe(\"UUID of the parent page (present when type is 'page_id').\").nullable().optional(),\n block_id: z.string().describe(\"UUID of the parent block (present when type is 'block_id').\").nullable().optional(),\n workspace: z.boolean().describe(\"Always true when type is 'workspace', indicating a top-level page.\").nullable().optional(),\n database_id: z.string().describe(\"UUID of the parent database (present when type is 'database_id').\").nullable().optional(),\n data_source_id: z.string().describe(\"UUID of the parent data source (present when type is 'data_source_id').\").nullable().optional(),\n});\nconst NotionFetchBlockContents_ToggleBlockSchema = z.object({\n color: z.string().describe(\"Color of the toggle.\").nullable(),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the toggle content.\"),\n});\nconst NotionFetchBlockContents_EmojiIconSchema = z.object({\n type: z.string().describe(\"Always 'emoji' for emoji icons.\").nullable(),\n emoji: z.string().describe(\"The emoji character (e.g., '😻', '📌').\").nullable(),\n}).describe(\"Emoji icon object for callouts and pages.\");\nconst NotionFetchBlockContents_CustomEmojiDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji.\").nullable(),\n url: z.string().describe(\"Hosted URL pointing to the custom emoji image.\").nullable().optional(),\n name: z.string().describe(\"Display name of the custom emoji.\").nullable().optional(),\n}).describe(\"Custom emoji data containing metadata.\");\nconst NotionFetchBlockContents_CustomEmojiIconSchema = z.object({\n type: z.string().describe(\"Always 'custom_emoji' for workspace custom emoji icons.\").nullable(),\n custom_emoji: NotionFetchBlockContents_CustomEmojiDataSchema.nullable(),\n}).describe(\"Custom emoji icon object for callouts and pages.\");\nconst NotionFetchBlockContents_ExternalFileDataSchema = z.object({\n url: z.string().describe(\"HTTPS URL to the external file.\").nullable(),\n}).describe(\"External file data with URL.\");\nconst NotionFetchBlockContents_ExternalFileIconSchema = z.object({\n type: z.string().describe(\"Always 'external' for externally hosted files.\").nullable(),\n external: NotionFetchBlockContents_ExternalFileDataSchema.nullable(),\n}).describe(\"External file icon object for callouts.\");\nconst NotionFetchBlockContents_NotionFileDataSchema = z.object({\n url: z.string().describe(\"Authenticated S3 URL for the file (valid for 1 hour).\").nullable(),\n expiry_time: z.string().describe(\"ISO 8601 timestamp when the URL expires.\").nullable(),\n}).describe(\"Notion-hosted file data with URL and expiry time.\");\nconst NotionFetchBlockContents_NotionFileIconSchema = z.object({\n file: NotionFetchBlockContents_NotionFileDataSchema.nullable(),\n type: z.string().describe(\"Always 'file' for Notion-hosted files.\").nullable(),\n}).describe(\"Notion-hosted file icon object.\");\nconst NotionFetchBlockContents_CalloutBlockSchema = z.object({\n icon: z.union([NotionFetchBlockContents_EmojiIconSchema, NotionFetchBlockContents_CustomEmojiIconSchema, NotionFetchBlockContents_ExternalFileIconSchema, NotionFetchBlockContents_NotionFileIconSchema]).nullable().optional(),\n color: z.string().describe(\"Background color of the callout.\").nullable(),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the callout content.\"),\n});\nconst NotionFetchBlockContents_DividerBlockSchema = z.object({}).describe(\"Divider block properties. Divider blocks contain no additional properties.\");\nconst NotionFetchBlockContents_BookmarkBlockSchema = z.object({\n url: z.string().describe(\"URL of the bookmarked resource.\").nullable(),\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the bookmark caption.\"),\n});\nconst NotionFetchBlockContents_EquationBlockSchema = z.object({\n expression: z.string().describe(\"LaTeX expression for the equation.\").nullable(),\n});\nconst NotionFetchBlockContents_TemplateBlockSchema = z.object({\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects displayed in the template button title.\"),\n}).describe(\"Template block properties. Note: Template blocks are deprecated as of March 27, 2023.\");\nconst NotionFetchBlockContents_HeadingBlockSchema = z.object({\n color: z.string().describe(\"Color of the heading.\").nullable(),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the heading content.\"),\n is_toggleable: z.boolean().describe(\"Whether the heading can be toggled to show/hide children.\").nullable(),\n});\nconst NotionFetchBlockContents_ParagraphBlockSchema = z.object({\n color: z.string().describe(\"Color of the paragraph block.\").nullable(),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the paragraph content.\"),\n});\nconst NotionFetchBlockContents_TableRowBlockSchema = z.object({\n cells: z.array(z.array(NotionFetchBlockContents_RichTextSchema)).describe(\"Array of arrays, where each inner array contains rich text objects for a cell.\"),\n});\nconst NotionFetchBlockContents_BreadcrumbBlockSchema = z.object({}).describe(\"Breadcrumb block properties. Breadcrumb blocks contain no additional properties.\");\nconst NotionFetchBlockContents_ChildPageBlockSchema = z.object({\n title: z.string().describe(\"Title of the child page.\").nullable(),\n});\nconst NotionFetchBlockContents_PartialUserSchema = z.object({\n id: z.string().describe(\"UUID of the user.\").nullable(),\n object: z.string().describe(\"Always 'user'.\").nullable(),\n});\nconst NotionFetchBlockContents_ColumnListBlockSchema = z.object({}).describe(\"Column list block properties. Column lists are parent blocks for columns and contain no additional properties.\");\nconst NotionFetchBlockContents_UnsupportedBlockSchema = z.object({}).describe(\"Unsupported block properties. Represents block types not supported by the API.\");\nconst NotionFetchBlockContents_LinkPreviewBlockSchema = z.object({\n url: z.string().describe(\"URL of the link preview.\").nullable(),\n});\nconst NotionFetchBlockContents_SyncedFromReferenceSchema = z.object({\n type: z.string().describe(\"Always 'block_id' for synced block references.\").nullable(),\n block_id: z.string().describe(\"UUID of the original synced block that this block syncs from.\").nullable(),\n}).describe(\"Reference to the original synced block.\");\nconst NotionFetchBlockContents_SyncedBlockBlockSchema = z.object({\n synced_from: NotionFetchBlockContents_SyncedFromReferenceSchema.nullable().optional(),\n}).describe(\"Synced block properties.\");\nconst NotionFetchBlockContents_ChildDatabaseBlockSchema = z.object({\n title: z.string().describe(\"Title of the child database.\").nullable(),\n});\nconst NotionFetchBlockContents_TableOfContentsBlockSchema = z.object({\n color: z.string().describe(\"Color of the table of contents block (e.g., 'default', 'blue', 'red', 'green', 'yellow', 'orange', 'pink', 'purple', 'brown', 'gray').\").nullable(),\n}).describe(\"Table of contents block properties.\");\nconst NotionFetchBlockContents_BulletedListItemBlockSchema = z.object({\n color: z.string().describe(\"Color of the list item.\").nullable(),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the list item content.\"),\n});\nconst NotionFetchBlockContents_NumberedListItemBlockSchema = z.object({\n color: z.string().describe(\"Color of the list item.\").nullable(),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the list item content.\"),\n});\nconst NotionFetchBlockContents_BlockSchema = z.object({\n id: z.string().describe(\"Unique identifier for the block (UUIDv4 format).\").nullable(),\n pdf: NotionFetchBlockContents_PdfBlockSchema.nullable().optional(),\n code: NotionFetchBlockContents_CodeBlockSchema.nullable().optional(),\n file: NotionFetchBlockContents_FileBlockSchema.nullable().optional(),\n type: z.string().describe(\"Type of block (e.g., 'paragraph', 'heading_1', 'heading_2', 'heading_3', 'bulleted_list_item', 'numbered_list_item', 'to_do', 'toggle', 'code', 'quote', 'callout', 'divider', 'table', 'table_row', 'column_list', 'column', 'child_database', 'child_page', 'image', 'video', 'file', 'pdf', 'bookmark', 'embed', 'equation', 'synced_block', 'template', 'table_of_contents', 'breadcrumb', 'link_preview', 'audio', 'unsupported').\").nullable(),\n audio: NotionFetchBlockContents_AudioBlockSchema.nullable().optional(),\n embed: NotionFetchBlockContents_EmbedBlockSchema.nullable().optional(),\n image: NotionFetchBlockContents_ImageBlockSchema.nullable().optional(),\n quote: NotionFetchBlockContents_QuoteBlockSchema.nullable().optional(),\n table: NotionFetchBlockContents_TableBlockSchema.nullable().optional(),\n to_do: NotionFetchBlockContents_ToDoBlockSchema.nullable().optional(),\n video: NotionFetchBlockContents_VideoBlockSchema.nullable().optional(),\n column: NotionFetchBlockContents_ColumnBlockSchema.nullable().optional(),\n object: z.string().describe(\"Always 'block'.\").nullable(),\n parent: NotionFetchBlockContents_ParentObjectSchema.nullable(),\n toggle: NotionFetchBlockContents_ToggleBlockSchema.nullable().optional(),\n callout: NotionFetchBlockContents_CalloutBlockSchema.nullable().optional(),\n divider: NotionFetchBlockContents_DividerBlockSchema.nullable().optional(),\n archived: z.boolean().describe(\"Whether the block is archived.\").nullable(),\n bookmark: NotionFetchBlockContents_BookmarkBlockSchema.nullable().optional(),\n equation: NotionFetchBlockContents_EquationBlockSchema.nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the block has been deleted.\").nullable().optional(),\n template: NotionFetchBlockContents_TemplateBlockSchema.nullable().optional(),\n heading_1: NotionFetchBlockContents_HeadingBlockSchema.nullable().optional(),\n heading_2: NotionFetchBlockContents_HeadingBlockSchema.nullable().optional(),\n heading_3: NotionFetchBlockContents_HeadingBlockSchema.nullable().optional(),\n paragraph: NotionFetchBlockContents_ParagraphBlockSchema.nullable().optional(),\n table_row: NotionFetchBlockContents_TableRowBlockSchema.nullable().optional(),\n breadcrumb: NotionFetchBlockContents_BreadcrumbBlockSchema.nullable().optional(),\n child_page: NotionFetchBlockContents_ChildPageBlockSchema.nullable().optional(),\n created_by: NotionFetchBlockContents_PartialUserSchema.nullable(),\n column_list: NotionFetchBlockContents_ColumnListBlockSchema.nullable().optional(),\n unsupported: NotionFetchBlockContents_UnsupportedBlockSchema.nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when the block was created.\").nullable(),\n has_children: z.boolean().describe(\"Whether the block contains nested child blocks. When true, use retrieve block children recursively to get nested content.\").nullable(),\n link_preview: NotionFetchBlockContents_LinkPreviewBlockSchema.nullable().optional(),\n synced_block: NotionFetchBlockContents_SyncedBlockBlockSchema.nullable().optional(),\n child_database: NotionFetchBlockContents_ChildDatabaseBlockSchema.nullable().optional(),\n last_edited_by: NotionFetchBlockContents_PartialUserSchema.nullable(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp when the block was last edited.\").nullable(),\n table_of_contents: NotionFetchBlockContents_TableOfContentsBlockSchema.nullable().optional(),\n bulleted_list_item: NotionFetchBlockContents_BulletedListItemBlockSchema.nullable().optional(),\n numbered_list_item: NotionFetchBlockContents_NumberedListItemBlockSchema.nullable().optional(),\n});\nexport const NotionFetchBlockContentsOutput = z.object({\n type: z.string().describe(\"Always 'block' for block list responses, indicating this is a block-type pagination.\").nullable().optional(),\n block: NotionFetchBlockContents_BlockPaginationMarkerSchema.nullable().optional(),\n object: z.string().describe(\"Always 'list' for paginated responses.\").nullable(),\n results: z.array(NotionFetchBlockContents_BlockSchema).describe(\"Array of child block objects contained in the specified block. Only includes first level children.\"),\n has_more: z.boolean().describe(\"Whether there are more results available beyond this page. Used for pagination.\").nullable(),\n next_cursor: z.string().describe(\"Cursor for retrieving the next page of results. Null if has_more is false. Use as start_cursor parameter in subsequent requests.\").nullable().optional(),\n composio_execution_message: z.string().describe(\"Optional message explaining special circumstances during execution, such as when a block type is not supported by the Notion API.\").nullable().optional(),\n});\n\nexport const notionFetchBlockContents = action(\"NOTION_FETCH_BLOCK_CONTENTS\", {\n slug: \"notion-fetch-block-contents\",\n name: \"Fetch Notion Block Children\",\n description: \"Retrieves a paginated list of direct, first-level child block objects along with contents for a given parent Notion block or page ID; use block IDs from the response for subsequent calls to access deeply nested content.\",\n input: NotionFetchBlockContentsInput,\n output: NotionFetchBlockContentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,weAAwe;CACtgB,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qRAAqR,CAAC,CAAC,SAAS;CACrU,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0SAA0S,CAAC,CAAC,SAAS;AACzV,CAAC;AACD,MAAM,uDAAuD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAC7I,MAAM,0CAA0C,EAAE,OAAO,EACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EA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C3H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzL,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3M,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"fetch-block-contents.mjs","names":[],"sources":["../../src/actions/fetch-block-contents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionFetchBlockContentsInput = z.object({\n block_id: z.string().describe(\"UUID of the parent Notion block or page whose children are to be fetched. Accepts both hyphenated (e.g., 'c02fc1d3-db8b-45c5-a222-27595b15aea7') and non-hyphenated (e.g., 'c02fc1d3db8b45c5a22227595b15aea7') UUID formats. Notion's API does not support special identifiers like 'root' or 'top-level' - you must always provide an actual page or block UUID. To discover valid page/block IDs, first use 'NOTION_SEARCH_NOTION_PAGE' to find pages or 'NOTION_QUERY_DATABASE' to query databases.\"),\n page_size: z.number().int().describe(\"The maximum number of child blocks to return in a single response. The actual number of results may be lower if there are fewer child blocks available or if the end of the list is reached. Maximum allowed value is 100. If unspecified, Notion's default page size will be used.\").optional(),\n start_cursor: z.string().describe(\"Pagination cursor from next_cursor in a previous API response. When paginating through results, pass the next_cursor value from the previous response here to fetch the next page. Must be a valid UUID format or cursor string returned by Notion's API. If omitted, returns the first page of results.\").optional(),\n});\nconst NotionFetchBlockContents_BlockPaginationMarkerSchema = z.record(z.string(), z.unknown()).describe(\"Empty object marker for block-type pagination responses.\");\nconst NotionFetchBlockContents_TextLinkSchema = z.object({\n url: z.string().describe(\"The URL the text links to.\").nullable(),\n}).passthrough();\nconst NotionFetchBlockContents_TextContentSchema = z.object({\n link: NotionFetchBlockContents_TextLinkSchema.nullable().optional(),\n content: z.string().describe(\"The actual text content.\").nullable(),\n}).passthrough();\nconst NotionFetchBlockContents_MentionContentSchema = z.object({\n type: z.string().describe(\"Type of mention ('database', 'date', 'link_preview', 'page', 'template_mention', or 'user').\").nullable(),\n}).passthrough();\nconst NotionFetchBlockContents_EquationContentSchema = z.object({\n expression: z.string().describe(\"LaTeX formula representation.\").nullable(),\n}).passthrough();\nconst NotionFetchBlockContents_RichTextAnnotationsSchema = z.object({\n bold: z.boolean().describe(\"Whether text is bold.\").nullable(),\n code: z.boolean().describe(\"Whether text is formatted as code.\").nullable(),\n color: z.string().describe(\"Text color or background color (e.g., 'default', 'blue', 'green', 'red', 'yellow', 'orange', 'pink', 'purple', 'brown', 'gray', or with '_background' suffix).\").nullable(),\n italic: z.boolean().describe(\"Whether text is italic.\").nullable(),\n underline: z.boolean().describe(\"Whether text is underlined.\").nullable(),\n strikethrough: z.boolean().describe(\"Whether text has strikethrough.\").nullable(),\n}).passthrough();\nconst NotionFetchBlockContents_RichTextSchema = z.object({\n href: z.string().describe(\"URL if the text is a link, otherwise null.\").nullable().optional(),\n text: NotionFetchBlockContents_TextContentSchema.nullable().optional(),\n type: z.string().describe(\"Type of rich text ('text', 'mention', or 'equation').\").nullable(),\n mention: NotionFetchBlockContents_MentionContentSchema.nullable().optional(),\n equation: NotionFetchBlockContents_EquationContentSchema.nullable().optional(),\n plain_text: z.string().describe(\"Unformatted text content.\").nullable(),\n annotations: NotionFetchBlockContents_RichTextAnnotationsSchema.nullable(),\n}).passthrough();\nconst NotionFetchBlockContents_PdfBlockSchema = z.object({\n type: z.string().describe(\"Type of PDF source ('external', 'file', or 'file_upload'). May be absent for incomplete or placeholder PDF blocks.\").nullable().optional(),\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the PDF caption.\"),\n}).passthrough();\nconst NotionFetchBlockContents_CodeBlockSchema = z.object({\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the caption.\"),\n language: z.string().describe(\"Programming language for syntax highlighting (supports 170+ languages).\").nullable(),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the code content.\"),\n}).passthrough();\nconst NotionFetchBlockContents_FileBlockSchema = z.object({\n name: z.string().describe(\"Name of the file.\").nullable(),\n type: z.string().describe(\"Type of file source ('external', 'file', or 'file_upload'). May be absent for incomplete or placeholder file blocks.\").nullable().optional(),\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the file caption.\"),\n}).passthrough();\nconst NotionFetchBlockContents_AudioBlockSchema = z.object({\n type: z.string().describe(\"Type of audio source ('external', 'file', or 'file_upload'). May be absent for incomplete or placeholder audio blocks.\").nullable().optional(),\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the audio caption.\"),\n}).passthrough();\nconst NotionFetchBlockContents_EmbedBlockSchema = z.object({\n url: z.string().describe(\"URL of the embedded content.\").nullable(),\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the embed caption.\"),\n}).passthrough();\nconst NotionFetchBlockContents_ImageBlockSchema = z.object({\n type: z.string().describe(\"Type of image source ('external', 'file', or 'file_upload'). May be absent for incomplete or placeholder image blocks.\").nullable().optional(),\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the image caption.\"),\n}).passthrough();\nconst NotionFetchBlockContents_QuoteBlockSchema = z.object({\n color: z.string().describe(\"Color of the quote.\").nullable(),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the quote content.\"),\n}).passthrough();\nconst NotionFetchBlockContents_TableBlockSchema = z.object({\n table_width: z.number().int().describe(\"Number of columns in the table.\").nullable(),\n has_row_header: z.boolean().describe(\"Whether the table has a row header.\").nullable(),\n has_column_header: z.boolean().describe(\"Whether the table has a column header.\").nullable(),\n}).passthrough();\nconst NotionFetchBlockContents_ToDoBlockSchema = z.object({\n color: z.string().describe(\"Color of the to-do item.\").nullable(),\n checked: z.boolean().describe(\"Whether the to-do is checked.\").nullable(),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the to-do text.\"),\n}).passthrough();\nconst NotionFetchBlockContents_VideoBlockSchema = z.object({\n type: z.string().describe(\"Type of video source ('external', 'file', or 'file_upload'). May be absent for incomplete or placeholder video blocks.\").nullable().optional(),\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the video caption.\"),\n}).passthrough();\nconst NotionFetchBlockContents_ColumnBlockSchema = z.object({\n width_ratio: z.number().describe(\"Width ratio of the column (0-1). Optional field that may not be present in all API responses.\").nullable().optional(),\n}).passthrough();\nconst NotionFetchBlockContents_ParentObjectSchema = z.object({\n type: z.string().describe(\"Type of parent ('page_id', 'database_id', 'block_id', 'workspace', or 'data_source_id').\").nullable(),\n page_id: z.string().describe(\"UUID of the parent page (present when type is 'page_id').\").nullable().optional(),\n block_id: z.string().describe(\"UUID of the parent block (present when type is 'block_id').\").nullable().optional(),\n workspace: z.boolean().describe(\"Always true when type is 'workspace', indicating a top-level page.\").nullable().optional(),\n database_id: z.string().describe(\"UUID of the parent database (present when type is 'database_id').\").nullable().optional(),\n data_source_id: z.string().describe(\"UUID of the parent data source (present when type is 'data_source_id').\").nullable().optional(),\n}).passthrough();\nconst NotionFetchBlockContents_ToggleBlockSchema = z.object({\n color: z.string().describe(\"Color of the toggle.\").nullable(),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the toggle content.\"),\n}).passthrough();\nconst NotionFetchBlockContents_EmojiIconSchema = z.object({\n type: z.string().describe(\"Always 'emoji' for emoji icons.\").nullable(),\n emoji: z.string().describe(\"The emoji character (e.g., '😻', '📌').\").nullable(),\n}).passthrough().describe(\"Emoji icon object for callouts and pages.\");\nconst NotionFetchBlockContents_CustomEmojiDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji.\").nullable(),\n url: z.string().describe(\"Hosted URL pointing to the custom emoji image.\").nullable().optional(),\n name: z.string().describe(\"Display name of the custom emoji.\").nullable().optional(),\n}).passthrough().describe(\"Custom emoji data containing metadata.\");\nconst NotionFetchBlockContents_CustomEmojiIconSchema = z.object({\n type: z.string().describe(\"Always 'custom_emoji' for workspace custom emoji icons.\").nullable(),\n custom_emoji: NotionFetchBlockContents_CustomEmojiDataSchema.nullable(),\n}).passthrough().describe(\"Custom emoji icon object for callouts and pages.\");\nconst NotionFetchBlockContents_ExternalFileDataSchema = z.object({\n url: z.string().describe(\"HTTPS URL to the external file.\").nullable(),\n}).passthrough().describe(\"External file data with URL.\");\nconst NotionFetchBlockContents_ExternalFileIconSchema = z.object({\n type: z.string().describe(\"Always 'external' for externally hosted files.\").nullable(),\n external: NotionFetchBlockContents_ExternalFileDataSchema.nullable(),\n}).passthrough().describe(\"External file icon object for callouts.\");\nconst NotionFetchBlockContents_NotionFileDataSchema = z.object({\n url: z.string().describe(\"Authenticated S3 URL for the file (valid for 1 hour).\").nullable(),\n expiry_time: z.string().describe(\"ISO 8601 timestamp when the URL expires.\").nullable(),\n}).passthrough().describe(\"Notion-hosted file data with URL and expiry time.\");\nconst NotionFetchBlockContents_NotionFileIconSchema = z.object({\n file: NotionFetchBlockContents_NotionFileDataSchema.nullable(),\n type: z.string().describe(\"Always 'file' for Notion-hosted files.\").nullable(),\n}).passthrough().describe(\"Notion-hosted file icon object.\");\nconst NotionFetchBlockContents_CalloutBlockSchema = z.object({\n icon: z.union([NotionFetchBlockContents_EmojiIconSchema, NotionFetchBlockContents_CustomEmojiIconSchema, NotionFetchBlockContents_ExternalFileIconSchema, NotionFetchBlockContents_NotionFileIconSchema]).nullable().optional(),\n color: z.string().describe(\"Background color of the callout.\").nullable(),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the callout content.\"),\n}).passthrough();\nconst NotionFetchBlockContents_DividerBlockSchema = z.record(z.string(), z.unknown()).describe(\"Divider block properties. Divider blocks contain no additional properties.\");\nconst NotionFetchBlockContents_BookmarkBlockSchema = z.object({\n url: z.string().describe(\"URL of the bookmarked resource.\").nullable(),\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the bookmark caption.\"),\n}).passthrough();\nconst NotionFetchBlockContents_EquationBlockSchema = z.object({\n expression: z.string().describe(\"LaTeX expression for the equation.\").nullable(),\n}).passthrough();\nconst NotionFetchBlockContents_TemplateBlockSchema = z.object({\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects displayed in the template button title.\"),\n}).passthrough().describe(\"Template block properties. Note: Template blocks are deprecated as of March 27, 2023.\");\nconst NotionFetchBlockContents_HeadingBlockSchema = z.object({\n color: z.string().describe(\"Color of the heading.\").nullable(),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the heading content.\"),\n is_toggleable: z.boolean().describe(\"Whether the heading can be toggled to show/hide children.\").nullable(),\n}).passthrough();\nconst NotionFetchBlockContents_ParagraphBlockSchema = z.object({\n color: z.string().describe(\"Color of the paragraph block.\").nullable(),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the paragraph content.\"),\n}).passthrough();\nconst NotionFetchBlockContents_TableRowBlockSchema = z.object({\n cells: z.array(z.array(NotionFetchBlockContents_RichTextSchema)).describe(\"Array of arrays, where each inner array contains rich text objects for a cell.\"),\n}).passthrough();\nconst NotionFetchBlockContents_BreadcrumbBlockSchema = z.record(z.string(), z.unknown()).describe(\"Breadcrumb block properties. Breadcrumb blocks contain no additional properties.\");\nconst NotionFetchBlockContents_ChildPageBlockSchema = z.object({\n title: z.string().describe(\"Title of the child page.\").nullable(),\n}).passthrough();\nconst NotionFetchBlockContents_PartialUserSchema = z.object({\n id: z.string().describe(\"UUID of the user.\").nullable(),\n object: z.string().describe(\"Always 'user'.\").nullable(),\n}).passthrough();\nconst NotionFetchBlockContents_ColumnListBlockSchema = z.record(z.string(), z.unknown()).describe(\"Column list block properties. Column lists are parent blocks for columns and contain no additional properties.\");\nconst NotionFetchBlockContents_UnsupportedBlockSchema = z.record(z.string(), z.unknown()).describe(\"Unsupported block properties. Represents block types not supported by the API.\");\nconst NotionFetchBlockContents_LinkPreviewBlockSchema = z.object({\n url: z.string().describe(\"URL of the link preview.\").nullable(),\n}).passthrough();\nconst NotionFetchBlockContents_SyncedFromReferenceSchema = z.object({\n type: z.string().describe(\"Always 'block_id' for synced block references.\").nullable(),\n block_id: z.string().describe(\"UUID of the original synced block that this block syncs from.\").nullable(),\n}).passthrough().describe(\"Reference to the original synced block.\");\nconst NotionFetchBlockContents_SyncedBlockBlockSchema = z.object({\n synced_from: NotionFetchBlockContents_SyncedFromReferenceSchema.nullable().optional(),\n}).passthrough().describe(\"Synced block properties.\");\nconst NotionFetchBlockContents_ChildDatabaseBlockSchema = z.object({\n title: z.string().describe(\"Title of the child database.\").nullable(),\n}).passthrough();\nconst NotionFetchBlockContents_TableOfContentsBlockSchema = z.object({\n color: z.string().describe(\"Color of the table of contents block (e.g., 'default', 'blue', 'red', 'green', 'yellow', 'orange', 'pink', 'purple', 'brown', 'gray').\").nullable(),\n}).passthrough().describe(\"Table of contents block properties.\");\nconst NotionFetchBlockContents_BulletedListItemBlockSchema = z.object({\n color: z.string().describe(\"Color of the list item.\").nullable(),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the list item content.\"),\n}).passthrough();\nconst NotionFetchBlockContents_NumberedListItemBlockSchema = z.object({\n color: z.string().describe(\"Color of the list item.\").nullable(),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the list item content.\"),\n}).passthrough();\nconst NotionFetchBlockContents_BlockSchema = z.object({\n id: z.string().describe(\"Unique identifier for the block (UUIDv4 format).\").nullable(),\n pdf: NotionFetchBlockContents_PdfBlockSchema.nullable().optional(),\n code: NotionFetchBlockContents_CodeBlockSchema.nullable().optional(),\n file: NotionFetchBlockContents_FileBlockSchema.nullable().optional(),\n type: z.string().describe(\"Type of block (e.g., 'paragraph', 'heading_1', 'heading_2', 'heading_3', 'bulleted_list_item', 'numbered_list_item', 'to_do', 'toggle', 'code', 'quote', 'callout', 'divider', 'table', 'table_row', 'column_list', 'column', 'child_database', 'child_page', 'image', 'video', 'file', 'pdf', 'bookmark', 'embed', 'equation', 'synced_block', 'template', 'table_of_contents', 'breadcrumb', 'link_preview', 'audio', 'unsupported').\").nullable(),\n audio: NotionFetchBlockContents_AudioBlockSchema.nullable().optional(),\n embed: NotionFetchBlockContents_EmbedBlockSchema.nullable().optional(),\n image: NotionFetchBlockContents_ImageBlockSchema.nullable().optional(),\n quote: NotionFetchBlockContents_QuoteBlockSchema.nullable().optional(),\n table: NotionFetchBlockContents_TableBlockSchema.nullable().optional(),\n to_do: NotionFetchBlockContents_ToDoBlockSchema.nullable().optional(),\n video: NotionFetchBlockContents_VideoBlockSchema.nullable().optional(),\n column: NotionFetchBlockContents_ColumnBlockSchema.nullable().optional(),\n object: z.string().describe(\"Always 'block'.\").nullable(),\n parent: NotionFetchBlockContents_ParentObjectSchema.nullable(),\n toggle: NotionFetchBlockContents_ToggleBlockSchema.nullable().optional(),\n callout: NotionFetchBlockContents_CalloutBlockSchema.nullable().optional(),\n divider: NotionFetchBlockContents_DividerBlockSchema.nullable().optional(),\n archived: z.boolean().describe(\"Whether the block is archived.\").nullable(),\n bookmark: NotionFetchBlockContents_BookmarkBlockSchema.nullable().optional(),\n equation: NotionFetchBlockContents_EquationBlockSchema.nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the block has been deleted.\").nullable().optional(),\n template: NotionFetchBlockContents_TemplateBlockSchema.nullable().optional(),\n heading_1: NotionFetchBlockContents_HeadingBlockSchema.nullable().optional(),\n heading_2: NotionFetchBlockContents_HeadingBlockSchema.nullable().optional(),\n heading_3: NotionFetchBlockContents_HeadingBlockSchema.nullable().optional(),\n paragraph: NotionFetchBlockContents_ParagraphBlockSchema.nullable().optional(),\n table_row: NotionFetchBlockContents_TableRowBlockSchema.nullable().optional(),\n breadcrumb: NotionFetchBlockContents_BreadcrumbBlockSchema.nullable().optional(),\n child_page: NotionFetchBlockContents_ChildPageBlockSchema.nullable().optional(),\n created_by: NotionFetchBlockContents_PartialUserSchema.nullable(),\n column_list: NotionFetchBlockContents_ColumnListBlockSchema.nullable().optional(),\n unsupported: NotionFetchBlockContents_UnsupportedBlockSchema.nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when the block was created.\").nullable(),\n has_children: z.boolean().describe(\"Whether the block contains nested child blocks. When true, use retrieve block children recursively to get nested content.\").nullable(),\n link_preview: NotionFetchBlockContents_LinkPreviewBlockSchema.nullable().optional(),\n synced_block: NotionFetchBlockContents_SyncedBlockBlockSchema.nullable().optional(),\n child_database: NotionFetchBlockContents_ChildDatabaseBlockSchema.nullable().optional(),\n last_edited_by: NotionFetchBlockContents_PartialUserSchema.nullable(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp when the block was last edited.\").nullable(),\n table_of_contents: NotionFetchBlockContents_TableOfContentsBlockSchema.nullable().optional(),\n bulleted_list_item: NotionFetchBlockContents_BulletedListItemBlockSchema.nullable().optional(),\n numbered_list_item: NotionFetchBlockContents_NumberedListItemBlockSchema.nullable().optional(),\n}).passthrough();\nexport const NotionFetchBlockContentsOutput = z.object({\n type: z.string().describe(\"Always 'block' for block list responses, indicating this is a block-type pagination.\").nullable().optional(),\n block: NotionFetchBlockContents_BlockPaginationMarkerSchema.nullable().optional(),\n object: z.string().describe(\"Always 'list' for paginated responses.\").nullable(),\n results: z.array(NotionFetchBlockContents_BlockSchema).describe(\"Array of child block objects contained in the specified block. Only includes first level children.\"),\n has_more: z.boolean().describe(\"Whether there are more results available beyond this page. Used for pagination.\").nullable(),\n next_cursor: z.string().describe(\"Cursor for retrieving the next page of results. Null if has_more is false. Use as start_cursor parameter in subsequent requests.\").nullable().optional(),\n composio_execution_message: z.string().describe(\"Optional message explaining special circumstances during execution, such as when a block type is not supported by the Notion API.\").nullable().optional(),\n}).passthrough();\n\nexport const notionFetchBlockContents = action(\"NOTION_FETCH_BLOCK_CONTENTS\", {\n slug: \"notion-fetch-block-contents\",\n name: \"Fetch Notion Block Children\",\n description: \"Retrieves a paginated list of direct, first-level child block objects along with contents for a given parent Notion block or page ID; use block IDs from the response for subsequent calls to access deeply nested content.\",\n input: NotionFetchBlockContentsInput,\n output: NotionFetchBlockContentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,weAAwe;CACtgB,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qRAAqR,CAAC,CAAC,SAAS;CACrU,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0SAA0S,CAAC,CAAC,SAAS;AACzV,CAAC;AACD,MAAM,uDAAuD,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAClK,MAAM,0CAA0C,EAAE,OAAO,EACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,wCAAwC,SAAS,CAAC,CAAC,SAAS;CAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,gDAAgD,EAAE,OAAO,EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,EACrI,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,iDAAiD,EAAE,OAAO,EAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,EAC5E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,qDAAqD,EAAE,OAAO;CAClE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC7D,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS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