@keystrokehq/notion 0.1.2 → 0.1.4

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 (280) 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 +30 -16
  5. package/dist/actions/add-multiple-page-content.d.cts.map +1 -1
  6. package/dist/actions/add-multiple-page-content.d.mts +30 -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 +178 -148
  13. package/dist/actions/append-code-blocks.d.mts +178 -148
  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 +162 -140
  19. package/dist/actions/append-layout-blocks.d.mts +162 -140
  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 +228 -173
  25. package/dist/actions/append-media-blocks.d.mts +228 -173
  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 +154 -136
  31. package/dist/actions/append-table-blocks.d.mts +154 -136
  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 +180 -149
  37. package/dist/actions/append-task-blocks.d.mts +180 -149
  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 +214 -166
  43. package/dist/actions/append-text-blocks.d.mts +214 -166
  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 +33 -21
  49. package/dist/actions/archive-notion-page.d.mts +33 -21
  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 +21 -9
  53. package/dist/actions/create-comment.d.mts +21 -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 +39 -26
  57. package/dist/actions/create-database.d.mts +39 -26
  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 +14 -2
  63. package/dist/actions/create-file-upload.d.mts +14 -2
  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 +31 -19
  69. package/dist/actions/create-notion-page.d.mts +31 -19
  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 +345 -333
  75. package/dist/actions/delete-block.d.mts +345 -333
  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 +37 -25
  81. package/dist/actions/duplicate-page.d.mts +37 -25
  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 +17 -5
  87. package/dist/actions/fetch-all-block-contents.d.mts +17 -5
  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 +185 -173
  93. package/dist/actions/fetch-block-contents.d.mts +185 -173
  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 +304 -292
  99. package/dist/actions/fetch-block-metadata.d.mts +304 -292
  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 +42 -30
  105. package/dist/actions/fetch-comments.d.mts +42 -30
  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 +122 -110
  111. package/dist/actions/fetch-data.d.mts +122 -110
  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 +31 -19
  117. package/dist/actions/fetch-database.d.mts +31 -19
  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 +51 -39
  123. package/dist/actions/fetch-row.d.mts +51 -39
  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 +20 -8
  129. package/dist/actions/get-about-user.d.mts +20 -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 +14 -2
  135. package/dist/actions/get-page-markdown.d.mts +14 -2
  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/get-page-property-action.d.cts +13 -1
  139. package/dist/actions/get-page-property-action.d.mts +13 -1
  140. package/dist/actions/insert-row-database.cjs +22 -22
  141. package/dist/actions/insert-row-database.cjs.map +1 -1
  142. package/dist/actions/insert-row-database.d.cts +52 -38
  143. package/dist/actions/insert-row-database.d.mts +52 -38
  144. package/dist/actions/insert-row-database.mjs +22 -22
  145. package/dist/actions/insert-row-database.mjs.map +1 -1
  146. package/dist/actions/insert-row-from-nl.cjs +1 -1
  147. package/dist/actions/insert-row-from-nl.cjs.map +1 -1
  148. package/dist/actions/insert-row-from-nl.d.cts +14 -2
  149. package/dist/actions/insert-row-from-nl.d.mts +14 -2
  150. package/dist/actions/insert-row-from-nl.mjs +1 -1
  151. package/dist/actions/insert-row-from-nl.mjs.map +1 -1
  152. package/dist/actions/list-data-source-templates.cjs +2 -2
  153. package/dist/actions/list-data-source-templates.cjs.map +1 -1
  154. package/dist/actions/list-data-source-templates.d.cts +15 -3
  155. package/dist/actions/list-data-source-templates.d.mts +15 -3
  156. package/dist/actions/list-data-source-templates.mjs +2 -2
  157. package/dist/actions/list-data-source-templates.mjs.map +1 -1
  158. package/dist/actions/list-file-uploads.cjs +2 -2
  159. package/dist/actions/list-file-uploads.cjs.map +1 -1
  160. package/dist/actions/list-file-uploads.d.cts +15 -3
  161. package/dist/actions/list-file-uploads.d.mts +15 -3
  162. package/dist/actions/list-file-uploads.mjs +2 -2
  163. package/dist/actions/list-file-uploads.mjs.map +1 -1
  164. package/dist/actions/list-users.cjs +8 -8
  165. package/dist/actions/list-users.cjs.map +1 -1
  166. package/dist/actions/list-users.d.cts +22 -10
  167. package/dist/actions/list-users.d.mts +22 -10
  168. package/dist/actions/list-users.mjs +8 -8
  169. package/dist/actions/list-users.mjs.map +1 -1
  170. package/dist/actions/move-page.cjs +18 -18
  171. package/dist/actions/move-page.cjs.map +1 -1
  172. package/dist/actions/move-page.d.cts +36 -22
  173. package/dist/actions/move-page.d.mts +36 -22
  174. package/dist/actions/move-page.mjs +18 -18
  175. package/dist/actions/move-page.mjs.map +1 -1
  176. package/dist/actions/query-data-source.cjs +18 -18
  177. package/dist/actions/query-data-source.cjs.map +1 -1
  178. package/dist/actions/query-data-source.d.cts +42 -28
  179. package/dist/actions/query-data-source.d.cts.map +1 -1
  180. package/dist/actions/query-data-source.d.mts +42 -28
  181. package/dist/actions/query-data-source.d.mts.map +1 -1
  182. package/dist/actions/query-data-source.mjs +18 -18
  183. package/dist/actions/query-data-source.mjs.map +1 -1
  184. package/dist/actions/query-database-with-filter.cjs +25 -25
  185. package/dist/actions/query-database-with-filter.cjs.map +1 -1
  186. package/dist/actions/query-database-with-filter.d.cts +63 -49
  187. package/dist/actions/query-database-with-filter.d.cts.map +1 -1
  188. package/dist/actions/query-database-with-filter.d.mts +63 -49
  189. package/dist/actions/query-database-with-filter.d.mts.map +1 -1
  190. package/dist/actions/query-database-with-filter.mjs +25 -25
  191. package/dist/actions/query-database-with-filter.mjs.map +1 -1
  192. package/dist/actions/query-database.cjs +24 -24
  193. package/dist/actions/query-database.cjs.map +1 -1
  194. package/dist/actions/query-database.d.cts +62 -49
  195. package/dist/actions/query-database.d.mts +62 -49
  196. package/dist/actions/query-database.mjs +24 -24
  197. package/dist/actions/query-database.mjs.map +1 -1
  198. package/dist/actions/replace-page-content.cjs +130 -130
  199. package/dist/actions/replace-page-content.cjs.map +1 -1
  200. package/dist/actions/replace-page-content.d.cts +274 -132
  201. package/dist/actions/replace-page-content.d.mts +274 -132
  202. package/dist/actions/replace-page-content.mjs +130 -130
  203. package/dist/actions/replace-page-content.mjs.map +1 -1
  204. package/dist/actions/retrieve-comment.d.cts +13 -1
  205. package/dist/actions/retrieve-comment.d.mts +13 -1
  206. package/dist/actions/retrieve-database-property.cjs +25 -25
  207. package/dist/actions/retrieve-database-property.cjs.map +1 -1
  208. package/dist/actions/retrieve-database-property.d.cts +41 -29
  209. package/dist/actions/retrieve-database-property.d.mts +41 -29
  210. package/dist/actions/retrieve-database-property.mjs +25 -25
  211. package/dist/actions/retrieve-database-property.mjs.map +1 -1
  212. package/dist/actions/retrieve-file-upload.cjs +1 -1
  213. package/dist/actions/retrieve-file-upload.cjs.map +1 -1
  214. package/dist/actions/retrieve-file-upload.d.cts +14 -2
  215. package/dist/actions/retrieve-file-upload.d.mts +14 -2
  216. package/dist/actions/retrieve-file-upload.mjs +1 -1
  217. package/dist/actions/retrieve-file-upload.mjs.map +1 -1
  218. package/dist/actions/retrieve-page.cjs +23 -23
  219. package/dist/actions/retrieve-page.cjs.map +1 -1
  220. package/dist/actions/retrieve-page.d.cts +49 -37
  221. package/dist/actions/retrieve-page.d.mts +49 -37
  222. package/dist/actions/retrieve-page.mjs +23 -23
  223. package/dist/actions/retrieve-page.mjs.map +1 -1
  224. package/dist/actions/search-notion-page.cjs +34 -34
  225. package/dist/actions/search-notion-page.cjs.map +1 -1
  226. package/dist/actions/search-notion-page.d.cts +152 -140
  227. package/dist/actions/search-notion-page.d.mts +152 -140
  228. package/dist/actions/search-notion-page.mjs +34 -34
  229. package/dist/actions/search-notion-page.mjs.map +1 -1
  230. package/dist/actions/send-file-upload.cjs +1 -1
  231. package/dist/actions/send-file-upload.cjs.map +1 -1
  232. package/dist/actions/send-file-upload.d.cts +14 -2
  233. package/dist/actions/send-file-upload.d.mts +14 -2
  234. package/dist/actions/send-file-upload.mjs +1 -1
  235. package/dist/actions/send-file-upload.mjs.map +1 -1
  236. package/dist/actions/update-block.cjs +47 -47
  237. package/dist/actions/update-block.cjs.map +1 -1
  238. package/dist/actions/update-block.d.cts +154 -142
  239. package/dist/actions/update-block.d.cts.map +1 -1
  240. package/dist/actions/update-block.d.mts +154 -142
  241. package/dist/actions/update-block.d.mts.map +1 -1
  242. package/dist/actions/update-block.mjs +47 -47
  243. package/dist/actions/update-block.mjs.map +1 -1
  244. package/dist/actions/update-page.cjs +16 -16
  245. package/dist/actions/update-page.cjs.map +1 -1
  246. package/dist/actions/update-page.d.cts +36 -24
  247. package/dist/actions/update-page.d.mts +36 -24
  248. package/dist/actions/update-page.mjs +16 -16
  249. package/dist/actions/update-page.mjs.map +1 -1
  250. package/dist/actions/update-row-database.cjs +21 -21
  251. package/dist/actions/update-row-database.cjs.map +1 -1
  252. package/dist/actions/update-row-database.d.cts +42 -29
  253. package/dist/actions/update-row-database.d.mts +42 -29
  254. package/dist/actions/update-row-database.mjs +21 -21
  255. package/dist/actions/update-row-database.mjs.map +1 -1
  256. package/dist/actions/update-schema-database.cjs +8 -8
  257. package/dist/actions/update-schema-database.cjs.map +1 -1
  258. package/dist/actions/update-schema-database.d.cts +25 -12
  259. package/dist/actions/update-schema-database.d.mts +25 -12
  260. package/dist/actions/update-schema-database.mjs +8 -8
  261. package/dist/actions/update-schema-database.mjs.map +1 -1
  262. package/dist/actions/upsert-row-database.cjs +28 -28
  263. package/dist/actions/upsert-row-database.cjs.map +1 -1
  264. package/dist/actions/upsert-row-database.d.cts +67 -31
  265. package/dist/actions/upsert-row-database.d.mts +67 -31
  266. package/dist/actions/upsert-row-database.mjs +28 -28
  267. package/dist/actions/upsert-row-database.mjs.map +1 -1
  268. package/dist/app.cjs +5 -2
  269. package/dist/app.cjs.map +1 -1
  270. package/dist/app.d.cts +9 -1
  271. package/dist/app.d.cts.map +1 -1
  272. package/dist/app.d.mts +9 -1
  273. package/dist/app.d.mts.map +1 -1
  274. package/dist/app.mjs +3 -1
  275. package/dist/app.mjs.map +1 -1
  276. package/dist/execute.cjs +1 -1
  277. package/dist/execute.cjs.map +1 -1
  278. package/dist/execute.mjs +1 -1
  279. package/dist/execute.mjs.map +1 -1
  280. package/package.json +1 -1
@@ -9,28 +9,28 @@ const NotionFetchAllBlockContentsInput = z.object({
9
9
  recursive: z.boolean().default(false).describe("If true, fetches nested children for blocks with 'has_children' set to true, appending all descendants to the output list. Subject to max_depth and max_blocks limits.").optional(),
10
10
  max_blocks: z.number().int().default(5e3).describe("Maximum total blocks to return when recursive=true. Prevents runaway fetches on extremely large block trees. Defaults to 5000. When limit is reached, blocks fetched so far are returned with a warning in the response.").optional()
11
11
  }).describe("Request parameters for fetching all block children with optional recursion.");
12
- const NotionFetchAllBlockContents_BlockPaginationMetadataSchema = z.object({}).describe("Type-specific pagination metadata for block results.\nFor block children endpoint, this is typically an empty object.");
12
+ const NotionFetchAllBlockContents_BlockPaginationMetadataSchema = z.record(z.string(), z.unknown()).describe("Type-specific pagination metadata for block results.\nFor block children endpoint, this is typically an empty object.");
13
13
  const NotionFetchAllBlockContents_HostedFileSchema = z.object({
14
14
  url: z.string().describe("URL of the hosted file (authenticated and temporary).").nullable(),
15
15
  expiry_time: z.string().describe("Expiration time of the file URL in ISO 8601 format.").nullable().optional()
16
- }).describe("Hosted file information.");
17
- const NotionFetchAllBlockContents_TextLinkSchema = z.object({ url: z.string().describe("URL of the link.").nullable() }).describe("Link object within text.");
16
+ }).passthrough().describe("Hosted file information.");
17
+ const NotionFetchAllBlockContents_TextLinkSchema = z.object({ url: z.string().describe("URL of the link.").nullable() }).passthrough().describe("Link object within text.");
18
18
  const NotionFetchAllBlockContents_TextContentSchema = z.object({
19
19
  link: NotionFetchAllBlockContents_TextLinkSchema.nullable().optional(),
20
20
  content: z.string().describe("Actual text content.").nullable()
21
- }).describe("Text-specific content.");
21
+ }).passthrough().describe("Text-specific content.");
22
22
  const NotionFetchAllBlockContents_DateMentionValueSchema = z.object({
23
23
  end: z.string().describe("End date in ISO 8601 format, or null for single dates.").nullable().optional(),
24
24
  start: z.string().describe("Start date in ISO 8601 format.").nullable(),
25
25
  time_zone: z.string().describe("Time zone information if applicable.").nullable().optional()
26
- }).describe("Date value within a mention.");
27
- const NotionFetchAllBlockContents_PageMentionReferenceSchema = z.object({ id: z.string().describe("UUIDv4 identifier for the mentioned page.").nullable() }).describe("Page reference within a mention.");
28
- const NotionFetchAllBlockContents_BotOwnerSchema = z.object({ type: z.string().describe("Either 'workspace' or 'user'.").nullable().optional() }).describe("Bot owner information.");
26
+ }).passthrough().describe("Date value within a mention.");
27
+ const NotionFetchAllBlockContents_PageMentionReferenceSchema = z.object({ id: z.string().describe("UUIDv4 identifier for the mentioned page.").nullable() }).passthrough().describe("Page reference within a mention.");
28
+ const NotionFetchAllBlockContents_BotOwnerSchema = z.object({ type: z.string().describe("Either 'workspace' or 'user'.").nullable().optional() }).passthrough().describe("Bot owner information.");
29
29
  const NotionFetchAllBlockContents_BotInfoSchema = z.object({
30
30
  owner: NotionFetchAllBlockContents_BotOwnerSchema.nullable().optional(),
31
31
  workspace_name: z.string().describe("Workspace name; null if owner is a user.").nullable().optional()
32
- }).describe("Bot-specific user information.");
33
- const NotionFetchAllBlockContents_PersonInfoSchema = z.object({ email: z.string().describe("Email address of the person. Only present if integration has user capabilities.").nullable().optional() }).describe("Person-specific user information.");
32
+ }).passthrough().describe("Bot-specific user information.");
33
+ const NotionFetchAllBlockContents_PersonInfoSchema = z.object({ email: z.string().describe("Email address of the person. Only present if integration has user capabilities.").nullable().optional() }).passthrough().describe("Person-specific user information.");
34
34
  const NotionFetchAllBlockContents_UserSchema = z.object({
35
35
  id: z.string().describe("Unique identifier for the user (UUID).").nullable(),
36
36
  bot: NotionFetchAllBlockContents_BotInfoSchema.nullable().optional(),
@@ -39,17 +39,17 @@ const NotionFetchAllBlockContents_UserSchema = z.object({
39
39
  object: z.string().describe("Always 'user'.").nullable(),
40
40
  person: NotionFetchAllBlockContents_PersonInfoSchema.nullable().optional(),
41
41
  avatar_url: z.string().describe("URL of the user's chosen avatar image.").nullable().optional()
42
- }).describe("User object representing a Notion user.");
43
- const NotionFetchAllBlockContents_DatabaseMentionReferenceSchema = z.object({ id: z.string().describe("UUIDv4 identifier for the mentioned database.").nullable() }).describe("Database reference within a mention.");
44
- const NotionFetchAllBlockContents_LinkPreviewMentionValueSchema = z.object({ url: z.string().describe("URL of the link preview.").nullable() }).describe("Link preview value within a mention.");
42
+ }).passthrough().describe("User object representing a Notion user.");
43
+ const NotionFetchAllBlockContents_DatabaseMentionReferenceSchema = z.object({ id: z.string().describe("UUIDv4 identifier for the mentioned database.").nullable() }).passthrough().describe("Database reference within a mention.");
44
+ const NotionFetchAllBlockContents_LinkPreviewMentionValueSchema = z.object({ url: z.string().describe("URL of the link preview.").nullable() }).passthrough().describe("Link preview value within a mention.");
45
45
  const NotionFetchAllBlockContents_TemplateMentionDateValueSchema = z.object({
46
46
  type: z.string().describe("Type of template mention date: 'template_mention_date'.").nullable(),
47
47
  template_mention_date: z.string().describe("Template date value: 'today' or 'now'.").nullable()
48
- }).describe("Template mention date value.");
48
+ }).passthrough().describe("Template mention date value.");
49
49
  const NotionFetchAllBlockContents_TemplateMentionUserValueSchema = z.object({
50
50
  type: z.string().describe("Type of template mention user: 'template_mention_user'.").nullable(),
51
51
  template_mention_user: z.string().describe("Template user value: 'me'.").nullable()
52
- }).describe("Template mention user value.");
52
+ }).passthrough().describe("Template mention user value.");
53
53
  const NotionFetchAllBlockContents_MentionObjectSchema = z.object({
54
54
  date: NotionFetchAllBlockContents_DateMentionValueSchema.nullable().optional(),
55
55
  page: NotionFetchAllBlockContents_PageMentionReferenceSchema.nullable().optional(),
@@ -58,8 +58,8 @@ const NotionFetchAllBlockContents_MentionObjectSchema = z.object({
58
58
  database: NotionFetchAllBlockContents_DatabaseMentionReferenceSchema.nullable().optional(),
59
59
  link_preview: NotionFetchAllBlockContents_LinkPreviewMentionValueSchema.nullable().optional(),
60
60
  template_mention: z.union([NotionFetchAllBlockContents_TemplateMentionDateValueSchema, NotionFetchAllBlockContents_TemplateMentionUserValueSchema]).nullable().optional()
61
- }).describe("Mention object containing reference to database, date, link_preview, page, template_mention, or user.");
62
- const NotionFetchAllBlockContents_EquationContentSchema = z.object({ expression: z.string().describe("LaTeX formula representation.").nullable() }).describe("Equation-specific content.");
61
+ }).passthrough().describe("Mention object containing reference to database, date, link_preview, page, template_mention, or user.");
62
+ const NotionFetchAllBlockContents_EquationContentSchema = z.object({ expression: z.string().describe("LaTeX formula representation.").nullable() }).passthrough().describe("Equation-specific content.");
63
63
  const NotionFetchAllBlockContents_AnnotationsSchema = z.object({
64
64
  bold: z.boolean().describe("Whether text is bold.").nullable(),
65
65
  code: z.boolean().describe("Whether text is formatted as code.").nullable(),
@@ -67,7 +67,7 @@ const NotionFetchAllBlockContents_AnnotationsSchema = z.object({
67
67
  italic: z.boolean().describe("Whether text is italic.").nullable(),
68
68
  underline: z.boolean().describe("Whether text is underlined.").nullable(),
69
69
  strikethrough: z.boolean().describe("Whether text has strikethrough.").nullable()
70
- }).describe("Styling configuration for rich text.");
70
+ }).passthrough().describe("Styling configuration for rich text.");
71
71
  const NotionFetchAllBlockContents_RichTextSchema = z.object({
72
72
  href: z.string().describe("URL for links or Notion mentions.").nullable().optional(),
73
73
  text: NotionFetchAllBlockContents_TextContentSchema.nullable().optional(),
@@ -76,35 +76,35 @@ const NotionFetchAllBlockContents_RichTextSchema = z.object({
76
76
  equation: NotionFetchAllBlockContents_EquationContentSchema.nullable().optional(),
77
77
  plain_text: z.string().describe("Unformatted text content.").nullable(),
78
78
  annotations: NotionFetchAllBlockContents_AnnotationsSchema.nullable()
79
- }).describe("Rich text object.");
80
- const NotionFetchAllBlockContents_ExternalFileSchema = z.object({ url: z.string().describe("URL of the external file.").nullable() }).describe("External file information.");
79
+ }).passthrough().describe("Rich text object.");
80
+ const NotionFetchAllBlockContents_ExternalFileSchema = z.object({ url: z.string().describe("URL of the external file.").nullable() }).passthrough().describe("External file information.");
81
81
  const NotionFetchAllBlockContents_FileBlockSchema = z.object({
82
82
  file: NotionFetchAllBlockContents_HostedFileSchema.nullable().optional(),
83
83
  type: z.string().describe("Type of file: 'external' or 'file'.").nullable(),
84
84
  caption: z.array(NotionFetchAllBlockContents_RichTextSchema).describe("Array of rich text objects for the caption.").nullable().optional(),
85
85
  external: NotionFetchAllBlockContents_ExternalFileSchema.nullable().optional()
86
- }).describe("File/Image/Video/PDF block content.");
86
+ }).passthrough().describe("File/Image/Video/PDF block content.");
87
87
  const NotionFetchAllBlockContents_CodeBlockSchema = z.object({
88
88
  caption: z.array(NotionFetchAllBlockContents_RichTextSchema).describe("Array of rich text objects for the code caption.").nullable().optional(),
89
89
  language: z.string().describe("Programming language of the code block.").nullable(),
90
90
  rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe("Array of rich text objects containing the code content.")
91
- }).describe("Code block content.");
92
- const NotionFetchAllBlockContents_EmbedBlockSchema = z.object({ url: z.string().describe("URL of the embed.").nullable() }).describe("Embed block content.");
91
+ }).passthrough().describe("Code block content.");
92
+ const NotionFetchAllBlockContents_EmbedBlockSchema = z.object({ url: z.string().describe("URL of the embed.").nullable() }).passthrough().describe("Embed block content.");
93
93
  const NotionFetchAllBlockContents_QuoteBlockSchema = z.object({
94
94
  color: z.string().describe("Color of the quote block.").nullable().optional(),
95
95
  rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe("Array of rich text objects containing the quote content.")
96
- }).describe("Quote block content.");
96
+ }).passthrough().describe("Quote block content.");
97
97
  const NotionFetchAllBlockContents_TableBlockSchema = z.object({
98
98
  table_width: z.number().int().describe("Number of columns in the table.").nullable(),
99
99
  has_row_header: z.boolean().describe("Whether the table has a row header.").nullable().optional(),
100
100
  has_column_header: z.boolean().describe("Whether the table has a column header.").nullable().optional()
101
- }).describe("Table block content.");
101
+ }).passthrough().describe("Table block content.");
102
102
  const NotionFetchAllBlockContents_ToDoBlockSchema = z.object({
103
103
  color: z.string().describe("Color of the to-do block.").nullable().optional(),
104
104
  checked: z.boolean().describe("Whether the to-do is checked.").nullable().optional(),
105
105
  rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe("Array of rich text objects containing the to-do content.")
106
- }).describe("To-do block content.");
107
- const NotionFetchAllBlockContents_ColumnBlockSchema = z.object({}).describe("Column block content (empty object but has children blocks).");
106
+ }).passthrough().describe("To-do block content.");
107
+ const NotionFetchAllBlockContents_ColumnBlockSchema = z.record(z.string(), z.unknown()).describe("Column block content (empty object but has children blocks).");
108
108
  const NotionFetchAllBlockContents_ParentInfoSchema = z.object({
109
109
  type: z.string().describe("Type of parent: 'page_id', 'database_id', 'block_id', 'data_source_id', or 'workspace'.").nullable(),
110
110
  page_id: z.string().describe("ID of the parent page (UUIDv4). Present when type is 'page_id'.").nullable().optional(),
@@ -112,37 +112,37 @@ const NotionFetchAllBlockContents_ParentInfoSchema = z.object({
112
112
  workspace: z.boolean().describe("Always true when type is 'workspace', indicating a top-level block.").nullable().optional(),
113
113
  database_id: z.string().describe("ID of the parent database (UUIDv4). Present when type is 'database_id'.").nullable().optional(),
114
114
  data_source_id: z.string().describe("ID of the parent data source (UUIDv4). Present when type is 'data_source_id'.").nullable().optional()
115
- }).describe("Information about the block's parent.");
115
+ }).passthrough().describe("Information about the block's parent.");
116
116
  const NotionFetchAllBlockContents_ToggleBlockSchema = z.object({
117
117
  color: z.string().describe("Color of the toggle block.").nullable().optional(),
118
118
  rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe("Array of rich text objects containing the toggle content.")
119
- }).describe("Toggle block content.");
119
+ }).passthrough().describe("Toggle block content.");
120
120
  const NotionFetchAllBlockContents_EmojiIconSchema = z.object({
121
121
  type: z.string().default("emoji").describe("Always 'emoji' for standard emoji icons.").nullable().optional(),
122
122
  emoji: z.string().describe("Emoji character (e.g., '😻').").nullable()
123
- }).describe("Emoji icon object.");
123
+ }).passthrough().describe("Emoji icon object.");
124
124
  const NotionFetchAllBlockContents_CustomEmojiValueSchema = z.object({
125
125
  id: z.string().describe("Unique identifier for the custom emoji.").nullable(),
126
126
  url: z.string().describe("HTTP link to the custom emoji image.").nullable().optional(),
127
127
  name: z.string().describe("Display name of the custom emoji.").nullable().optional()
128
- }).describe("Custom emoji value containing id, name, and url.");
128
+ }).passthrough().describe("Custom emoji value containing id, name, and url.");
129
129
  const NotionFetchAllBlockContents_CustomEmojiIconSchema = z.object({
130
130
  type: z.string().default("custom_emoji").describe("Always 'custom_emoji' for custom emoji icons.").nullable().optional(),
131
131
  custom_emoji: NotionFetchAllBlockContents_CustomEmojiValueSchema.nullable()
132
- }).describe("Custom emoji icon object.");
133
- const NotionFetchAllBlockContents_ExternalIconFileSchema = z.object({ url: z.string().describe("URL of the external icon file.").nullable() }).describe("External file information for icon.");
132
+ }).passthrough().describe("Custom emoji icon object.");
133
+ const NotionFetchAllBlockContents_ExternalIconFileSchema = z.object({ url: z.string().describe("URL of the external icon file.").nullable() }).passthrough().describe("External file information for icon.");
134
134
  const NotionFetchAllBlockContents_ExternalIconSchema = z.object({
135
135
  type: z.string().default("external").describe("Always 'external' for external file icons.").nullable().optional(),
136
136
  external: NotionFetchAllBlockContents_ExternalIconFileSchema.nullable()
137
- }).describe("External file icon object.");
137
+ }).passthrough().describe("External file icon object.");
138
138
  const NotionFetchAllBlockContents_HostedIconFileSchema = z.object({
139
139
  url: z.string().describe("URL of the hosted icon file (authenticated and temporary).").nullable(),
140
140
  expiry_time: z.string().describe("Expiration time of the file URL in ISO 8601 format.").nullable().optional()
141
- }).describe("Hosted file information for icon.");
141
+ }).passthrough().describe("Hosted file information for icon.");
142
142
  const NotionFetchAllBlockContents_FileIconSchema = z.object({
143
143
  file: NotionFetchAllBlockContents_HostedIconFileSchema.nullable(),
144
144
  type: z.string().default("file").describe("Always 'file' for Notion-hosted file icons.").nullable().optional()
145
- }).describe("Notion-hosted file icon object.");
145
+ }).passthrough().describe("Notion-hosted file icon object.");
146
146
  const NotionFetchAllBlockContents_CalloutBlockSchema = z.object({
147
147
  icon: z.union([
148
148
  NotionFetchAllBlockContents_EmojiIconSchema,
@@ -152,42 +152,42 @@ const NotionFetchAllBlockContents_CalloutBlockSchema = z.object({
152
152
  ]).nullable().optional(),
153
153
  color: z.string().describe("Color of the callout block.").nullable().optional(),
154
154
  rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe("Array of rich text objects containing the callout content.")
155
- }).describe("Callout block content.");
156
- const NotionFetchAllBlockContents_DividerBlockSchema = z.object({}).describe("Divider block content (empty object).");
155
+ }).passthrough().describe("Callout block content.");
156
+ const NotionFetchAllBlockContents_DividerBlockSchema = z.record(z.string(), z.unknown()).describe("Divider block content (empty object).");
157
157
  const NotionFetchAllBlockContents_BookmarkBlockSchema = z.object({
158
158
  url: z.string().describe("URL of the bookmark.").nullable(),
159
159
  caption: z.array(NotionFetchAllBlockContents_RichTextSchema).describe("Array of rich text objects for the bookmark caption.").nullable().optional()
160
- }).describe("Bookmark block content.");
161
- const NotionFetchAllBlockContents_EquationBlockSchema = z.object({ expression: z.string().describe("KaTeX compatible string representing the equation.").nullable() }).describe("Equation block content.");
162
- const NotionFetchAllBlockContents_TemplateBlockSchema = z.object({ rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe("Array of rich text objects for template content.") }).describe("Template block content.");
160
+ }).passthrough().describe("Bookmark block content.");
161
+ const NotionFetchAllBlockContents_EquationBlockSchema = z.object({ expression: z.string().describe("KaTeX compatible string representing the equation.").nullable() }).passthrough().describe("Equation block content.");
162
+ const NotionFetchAllBlockContents_TemplateBlockSchema = z.object({ rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe("Array of rich text objects for template content.") }).passthrough().describe("Template block content.");
163
163
  const NotionFetchAllBlockContents_HeadingBlockSchema = z.object({
164
164
  color: z.string().describe("Color of the heading block.").nullable().optional(),
165
165
  rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe("Array of rich text objects containing the heading content.")
166
- }).describe("Heading block content (heading_1, heading_2, heading_3).");
166
+ }).passthrough().describe("Heading block content (heading_1, heading_2, heading_3).");
167
167
  const NotionFetchAllBlockContents_ParagraphBlockSchema = z.object({
168
168
  color: z.string().describe("Color of the paragraph block (e.g., 'default', 'blue', 'green', 'red').").nullable().optional(),
169
169
  rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe("Array of rich text objects containing the paragraph content.")
170
- }).describe("Paragraph block content.");
171
- const NotionFetchAllBlockContents_TableRowBlockSchema = z.object({ cells: z.array(z.array(NotionFetchAllBlockContents_RichTextSchema)).describe("Array of arrays, where each inner array contains rich text objects for a cell.") }).describe("Table row block content.");
172
- const NotionFetchAllBlockContents_BreadcrumbBlockSchema = z.object({}).describe("Breadcrumb block content (empty object).");
173
- const NotionFetchAllBlockContents_ChildPageBlockSchema = z.object({ title: z.string().describe("Title of the child page.").nullable() }).describe("Child page block content.");
174
- const NotionFetchAllBlockContents_ColumnListBlockSchema = z.object({}).describe("Column list block content (empty object but has children columns).");
175
- const NotionFetchAllBlockContents_UnsupportedBlockSchema = z.object({}).describe("Unsupported block content.");
176
- const NotionFetchAllBlockContents_LinkPreviewBlockSchema = z.object({ url: z.string().describe("URL of the link preview.").nullable() }).describe("Link preview block content.");
170
+ }).passthrough().describe("Paragraph block content.");
171
+ const NotionFetchAllBlockContents_TableRowBlockSchema = z.object({ cells: z.array(z.array(NotionFetchAllBlockContents_RichTextSchema)).describe("Array of arrays, where each inner array contains rich text objects for a cell.") }).passthrough().describe("Table row block content.");
172
+ const NotionFetchAllBlockContents_BreadcrumbBlockSchema = z.record(z.string(), z.unknown()).describe("Breadcrumb block content (empty object).");
173
+ const NotionFetchAllBlockContents_ChildPageBlockSchema = z.object({ title: z.string().describe("Title of the child page.").nullable() }).passthrough().describe("Child page block content.");
174
+ const NotionFetchAllBlockContents_ColumnListBlockSchema = z.record(z.string(), z.unknown()).describe("Column list block content (empty object but has children columns).");
175
+ const NotionFetchAllBlockContents_UnsupportedBlockSchema = z.record(z.string(), z.unknown()).describe("Unsupported block content.");
176
+ const NotionFetchAllBlockContents_LinkPreviewBlockSchema = z.object({ url: z.string().describe("URL of the link preview.").nullable() }).passthrough().describe("Link preview block content.");
177
177
  const NotionFetchAllBlockContents_LinkToPageBlockSchema = z.object({
178
178
  type: z.string().describe("Type of linked page: 'page_id', 'database_id', or 'comment_id'.").nullable(),
179
179
  page_id: z.string().describe("ID of the linked page.").nullable().optional(),
180
180
  comment_id: z.string().describe("ID of the linked comment.").nullable().optional(),
181
181
  database_id: z.string().describe("ID of the linked database.").nullable().optional()
182
- }).describe("Link to page block content.");
183
- const NotionFetchAllBlockContents_SyncedFromInfoSchema = z.object({ block_id: z.string().describe("ID of the original synced block.").nullable().optional() }).describe("Synced from information.");
184
- const NotionFetchAllBlockContents_SyncedBlockSchema = z.object({ synced_from: NotionFetchAllBlockContents_SyncedFromInfoSchema.nullable().optional() }).describe("Synced block content.");
185
- const NotionFetchAllBlockContents_ChildDatabaseBlockSchema = z.object({ title: z.string().describe("Title of the child database.").nullable() }).describe("Child database block content.");
186
- const NotionFetchAllBlockContents_TableOfContentsBlockSchema = z.object({ color: z.string().describe("Color of the table of contents block.").nullable().optional() }).describe("Table of contents block content.");
182
+ }).passthrough().describe("Link to page block content.");
183
+ const NotionFetchAllBlockContents_SyncedFromInfoSchema = z.object({ block_id: z.string().describe("ID of the original synced block.").nullable().optional() }).passthrough().describe("Synced from information.");
184
+ const NotionFetchAllBlockContents_SyncedBlockSchema = z.object({ synced_from: NotionFetchAllBlockContents_SyncedFromInfoSchema.nullable().optional() }).passthrough().describe("Synced block content.");
185
+ const NotionFetchAllBlockContents_ChildDatabaseBlockSchema = z.object({ title: z.string().describe("Title of the child database.").nullable() }).passthrough().describe("Child database block content.");
186
+ const NotionFetchAllBlockContents_TableOfContentsBlockSchema = z.object({ color: z.string().describe("Color of the table of contents block.").nullable().optional() }).passthrough().describe("Table of contents block content.");
187
187
  const NotionFetchAllBlockContents_ListItemBlockSchema = z.object({
188
188
  color: z.string().describe("Color of the list item block.").nullable().optional(),
189
189
  rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe("Array of rich text objects containing the list item content.")
190
- }).describe("List item block content (bulleted_list_item, numbered_list_item).");
190
+ }).passthrough().describe("List item block content (bulleted_list_item, numbered_list_item).");
191
191
  const NotionFetchAllBlockContents_BlockSchema = z.object({
192
192
  id: z.string().describe("Unique identifier for the block (UUIDv4 format).").nullable(),
193
193
  pdf: NotionFetchAllBlockContents_FileBlockSchema.nullable().optional(),
@@ -232,13 +232,13 @@ const NotionFetchAllBlockContents_BlockSchema = z.object({
232
232
  table_of_contents: NotionFetchAllBlockContents_TableOfContentsBlockSchema.nullable().optional(),
233
233
  bulleted_list_item: NotionFetchAllBlockContents_ListItemBlockSchema.nullable().optional(),
234
234
  numbered_list_item: NotionFetchAllBlockContents_ListItemBlockSchema.nullable().optional()
235
- }).describe("Block object with common and type-specific properties.");
235
+ }).passthrough().describe("Block object with common and type-specific properties.");
236
236
  const NotionFetchAllBlockContents_BlockAccessibilityInfoSchema = z.object({
237
237
  block_type: z.string().describe("The type of the block (e.g., 'page', 'paragraph', 'toggle'). Only present when block_exists is true.").nullable().optional(),
238
238
  block_exists: z.boolean().describe("Whether the block was confirmed to exist and be accessible. True means the block exists and the integration has access to it.").nullable(),
239
239
  has_children: z.boolean().describe("Whether the block has child blocks according to its metadata. Only present when block_exists is true. When false and results are empty, it confirms the block legitimately has no children.").nullable().optional(),
240
240
  is_empty_valid: z.boolean().describe("When results are empty: True means the block exists but legitimately has no children (valid empty state). False or None means something may be wrong with the block or access.").nullable().optional()
241
- }).describe("Information about the accessibility and state of the requested block.");
241
+ }).passthrough().describe("Information about the accessibility and state of the requested block.");
242
242
  const NotionFetchAllBlockContents_RecursionLimitInfoSchema = z.object({
243
243
  max_depth_used: z.number().int().describe("The max_depth limit that was applied.").nullable().optional(),
244
244
  max_blocks_used: z.number().int().describe("The max_blocks limit that was applied.").nullable().optional(),
@@ -246,7 +246,7 @@ const NotionFetchAllBlockContents_RecursionLimitInfoSchema = z.object({
246
246
  depth_limit_reached: z.boolean().default(false).describe("True if max_depth limit was reached during traversal. Some nested content may not be included.").nullable().optional(),
247
247
  actual_depth_reached: z.number().int().describe("The deepest nesting level actually reached during traversal.").nullable().optional(),
248
248
  total_blocks_fetched: z.number().int().describe("Total number of blocks fetched (may equal max_blocks if limit was hit).").nullable().optional()
249
- }).describe("Information about recursion limits when recursive=true.");
249
+ }).passthrough().describe("Information about recursion limits when recursive=true.");
250
250
  const notionFetchAllBlockContents = action("NOTION_FETCH_ALL_BLOCK_CONTENTS", {
251
251
  slug: "notion-fetch-all-block-contents",
252
252
  name: "Fetch All Notion Block Contents",
@@ -261,7 +261,7 @@ const notionFetchAllBlockContents = action("NOTION_FETCH_ALL_BLOCK_CONTENTS", {
261
261
  block_info: NotionFetchAllBlockContents_BlockAccessibilityInfoSchema.nullable().optional(),
262
262
  next_cursor: z.string().describe("Cursor value to fetch the next page of results. Only present when has_more is true. Treat as an opaque value and pass as start_cursor parameter in subsequent requests.").nullable().optional(),
263
263
  recursion_info: NotionFetchAllBlockContents_RecursionLimitInfoSchema.nullable().optional()
264
- }).describe("Response from the Notion API retrieve block children endpoint (GET /v1/blocks/{block_id}/children).")
264
+ }).passthrough().describe("Response from the Notion API retrieve block children endpoint (GET /v1/blocks/{block_id}/children).")
265
265
  });
266
266
  //#endregion
267
267
  export { notionFetchAllBlockContents };
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-all-block-contents.mjs","names":[],"sources":["../../src/actions/fetch-all-block-contents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionFetchAllBlockContentsInput = z.object({\n block_id: z.string().describe(\"Identifier (UUID) of the parent Notion block or page whose children to list. Pages are blocks in Notion. Accepts UUIDs with or without hyphens (e.g., 'c02fc1d3-db8b-45c5-a222-27595b15aea7' or 'c02fc1d3db8b45c5a22227595b15aea7'). Either block_id or page_url must be provided. The block must be shared with your integration.\").optional(),\n page_url: z.string().describe(\"Notion page URL from which to extract the page/block ID. Either block_id or page_url must be provided. NOTE: Database view URLs (those containing '?v=' parameter) are NOT supported. Database views are filtered views of a database and do not have block children. To access database content, use the NOTION_QUERY_DATABASE action instead.\").optional(),\n max_depth: z.number().int().default(10).describe(\"Maximum recursion depth when recursive=true. Prevents excessive nesting traversal. Defaults to 10. Set higher for deeply nested structures, lower for faster results.\").optional(),\n page_size: z.number().int().default(100).describe(\"Maximum number of child blocks to return per request. Defaults to 100, with a maximum of 100 as per Notion API limits.\").optional(),\n recursive: z.boolean().default(false).describe(\"If true, fetches nested children for blocks with 'has_children' set to true, appending all descendants to the output list. Subject to max_depth and max_blocks limits.\").optional(),\n max_blocks: z.number().int().default(5000).describe(\"Maximum total blocks to return when recursive=true. Prevents runaway fetches on extremely large block trees. Defaults to 5000. When limit is reached, blocks fetched so far are returned with a warning in the response.\").optional(),\n}).describe(\"Request parameters for fetching all block children with optional recursion.\");\nconst NotionFetchAllBlockContents_BlockPaginationMetadataSchema = z.object({}).describe(\"Type-specific pagination metadata for block results.\\nFor block children endpoint, this is typically an empty object.\");\nconst NotionFetchAllBlockContents_HostedFileSchema = z.object({\n url: z.string().describe(\"URL of the hosted file (authenticated and temporary).\").nullable(),\n expiry_time: z.string().describe(\"Expiration time of the file URL in ISO 8601 format.\").nullable().optional(),\n}).describe(\"Hosted file information.\");\nconst NotionFetchAllBlockContents_TextLinkSchema = z.object({\n url: z.string().describe(\"URL of the link.\").nullable(),\n}).describe(\"Link object within text.\");\nconst NotionFetchAllBlockContents_TextContentSchema = z.object({\n link: NotionFetchAllBlockContents_TextLinkSchema.nullable().optional(),\n content: z.string().describe(\"Actual text content.\").nullable(),\n}).describe(\"Text-specific content.\");\nconst NotionFetchAllBlockContents_DateMentionValueSchema = z.object({\n end: z.string().describe(\"End date in ISO 8601 format, or null for single dates.\").nullable().optional(),\n start: z.string().describe(\"Start date in ISO 8601 format.\").nullable(),\n time_zone: z.string().describe(\"Time zone information if applicable.\").nullable().optional(),\n}).describe(\"Date value within a mention.\");\nconst NotionFetchAllBlockContents_PageMentionReferenceSchema = z.object({\n id: z.string().describe(\"UUIDv4 identifier for the mentioned page.\").nullable(),\n}).describe(\"Page reference within a mention.\");\nconst NotionFetchAllBlockContents_BotOwnerSchema = z.object({\n type: z.string().describe(\"Either 'workspace' or 'user'.\").nullable().optional(),\n}).describe(\"Bot owner information.\");\nconst NotionFetchAllBlockContents_BotInfoSchema = z.object({\n owner: NotionFetchAllBlockContents_BotOwnerSchema.nullable().optional(),\n workspace_name: z.string().describe(\"Workspace name; null if owner is a user.\").nullable().optional(),\n}).describe(\"Bot-specific user information.\");\nconst NotionFetchAllBlockContents_PersonInfoSchema = z.object({\n email: z.string().describe(\"Email address of the person. Only present if integration has user capabilities.\").nullable().optional(),\n}).describe(\"Person-specific user information.\");\nconst NotionFetchAllBlockContents_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID).\").nullable(),\n bot: NotionFetchAllBlockContents_BotInfoSchema.nullable().optional(),\n name: z.string().describe(\"User's name as displayed in Notion.\").nullable().optional(),\n type: z.string().describe(\"Either 'person' or 'bot'.\").nullable().optional(),\n object: z.string().describe(\"Always 'user'.\").nullable(),\n person: NotionFetchAllBlockContents_PersonInfoSchema.nullable().optional(),\n avatar_url: z.string().describe(\"URL of the user's chosen avatar image.\").nullable().optional(),\n}).describe(\"User object representing a Notion user.\");\nconst NotionFetchAllBlockContents_DatabaseMentionReferenceSchema = z.object({\n id: z.string().describe(\"UUIDv4 identifier for the mentioned database.\").nullable(),\n}).describe(\"Database reference within a mention.\");\nconst NotionFetchAllBlockContents_LinkPreviewMentionValueSchema = z.object({\n url: z.string().describe(\"URL of the link preview.\").nullable(),\n}).describe(\"Link preview value within a mention.\");\nconst NotionFetchAllBlockContents_TemplateMentionDateValueSchema = z.object({\n type: z.string().describe(\"Type of template mention date: 'template_mention_date'.\").nullable(),\n template_mention_date: z.string().describe(\"Template date value: 'today' or 'now'.\").nullable(),\n}).describe(\"Template mention date value.\");\nconst NotionFetchAllBlockContents_TemplateMentionUserValueSchema = z.object({\n type: z.string().describe(\"Type of template mention user: 'template_mention_user'.\").nullable(),\n template_mention_user: z.string().describe(\"Template user value: 'me'.\").nullable(),\n}).describe(\"Template mention user value.\");\nconst NotionFetchAllBlockContents_MentionObjectSchema = z.object({\n date: NotionFetchAllBlockContents_DateMentionValueSchema.nullable().optional(),\n page: NotionFetchAllBlockContents_PageMentionReferenceSchema.nullable().optional(),\n type: z.string().describe(\"Type of mention: 'database', 'date', 'link_preview', 'page', 'template_mention', or 'user'.\").nullable(),\n user: NotionFetchAllBlockContents_UserSchema.nullable().optional(),\n database: NotionFetchAllBlockContents_DatabaseMentionReferenceSchema.nullable().optional(),\n link_preview: NotionFetchAllBlockContents_LinkPreviewMentionValueSchema.nullable().optional(),\n template_mention: z.union([NotionFetchAllBlockContents_TemplateMentionDateValueSchema, NotionFetchAllBlockContents_TemplateMentionUserValueSchema]).nullable().optional(),\n}).describe(\"Mention object containing reference to database, date, link_preview, page, template_mention, or user.\");\nconst NotionFetchAllBlockContents_EquationContentSchema = z.object({\n expression: z.string().describe(\"LaTeX formula representation.\").nullable(),\n}).describe(\"Equation-specific content.\");\nconst NotionFetchAllBlockContents_AnnotationsSchema = 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(\"Color of the text (e.g., 'default', 'blue', 'green', 'red', or background variants).\").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}).describe(\"Styling configuration for rich text.\");\nconst NotionFetchAllBlockContents_RichTextSchema = z.object({\n href: z.string().describe(\"URL for links or Notion mentions.\").nullable().optional(),\n text: NotionFetchAllBlockContents_TextContentSchema.nullable().optional(),\n type: z.string().describe(\"Type of rich text: 'text', 'mention', or 'equation'.\").nullable(),\n mention: NotionFetchAllBlockContents_MentionObjectSchema.nullable().optional(),\n equation: NotionFetchAllBlockContents_EquationContentSchema.nullable().optional(),\n plain_text: z.string().describe(\"Unformatted text content.\").nullable(),\n annotations: NotionFetchAllBlockContents_AnnotationsSchema.nullable(),\n}).describe(\"Rich text object.\");\nconst NotionFetchAllBlockContents_ExternalFileSchema = z.object({\n url: z.string().describe(\"URL of the external file.\").nullable(),\n}).describe(\"External file information.\");\nconst NotionFetchAllBlockContents_FileBlockSchema = z.object({\n file: NotionFetchAllBlockContents_HostedFileSchema.nullable().optional(),\n type: z.string().describe(\"Type of file: 'external' or 'file'.\").nullable(),\n caption: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects for the caption.\").nullable().optional(),\n external: NotionFetchAllBlockContents_ExternalFileSchema.nullable().optional(),\n}).describe(\"File/Image/Video/PDF block content.\");\nconst NotionFetchAllBlockContents_CodeBlockSchema = z.object({\n caption: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects for the code caption.\").nullable().optional(),\n language: z.string().describe(\"Programming language of the code block.\").nullable(),\n rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the code content.\"),\n}).describe(\"Code block content.\");\nconst NotionFetchAllBlockContents_EmbedBlockSchema = z.object({\n url: z.string().describe(\"URL of the embed.\").nullable(),\n}).describe(\"Embed block content.\");\nconst NotionFetchAllBlockContents_QuoteBlockSchema = z.object({\n color: z.string().describe(\"Color of the quote block.\").nullable().optional(),\n rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the quote content.\"),\n}).describe(\"Quote block content.\");\nconst NotionFetchAllBlockContents_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().optional(),\n has_column_header: z.boolean().describe(\"Whether the table has a column header.\").nullable().optional(),\n}).describe(\"Table block content.\");\nconst NotionFetchAllBlockContents_ToDoBlockSchema = z.object({\n color: z.string().describe(\"Color of the to-do block.\").nullable().optional(),\n checked: z.boolean().describe(\"Whether the to-do is checked.\").nullable().optional(),\n rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the to-do content.\"),\n}).describe(\"To-do block content.\");\nconst NotionFetchAllBlockContents_ColumnBlockSchema = z.object({}).describe(\"Column block content (empty object but has children blocks).\");\nconst NotionFetchAllBlockContents_ParentInfoSchema = z.object({\n type: z.string().describe(\"Type of parent: 'page_id', 'database_id', 'block_id', 'data_source_id', or 'workspace'.\").nullable(),\n page_id: z.string().describe(\"ID of the parent page (UUIDv4). Present when type is 'page_id'.\").nullable().optional(),\n block_id: z.string().describe(\"ID of the parent block (UUIDv4). Present when type is 'block_id'.\").nullable().optional(),\n workspace: z.boolean().describe(\"Always true when type is 'workspace', indicating a top-level block.\").nullable().optional(),\n database_id: z.string().describe(\"ID of the parent database (UUIDv4). Present when type is 'database_id'.\").nullable().optional(),\n data_source_id: z.string().describe(\"ID of the parent data source (UUIDv4). Present when type is 'data_source_id'.\").nullable().optional(),\n}).describe(\"Information about the block's parent.\");\nconst NotionFetchAllBlockContents_ToggleBlockSchema = z.object({\n color: z.string().describe(\"Color of the toggle block.\").nullable().optional(),\n rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the toggle content.\"),\n}).describe(\"Toggle block content.\");\nconst NotionFetchAllBlockContents_EmojiIconSchema = z.object({\n type: z.string().default(\"emoji\").describe(\"Always 'emoji' for standard emoji icons.\").nullable().optional(),\n emoji: z.string().describe(\"Emoji character (e.g., '😻').\").nullable(),\n}).describe(\"Emoji icon object.\");\nconst NotionFetchAllBlockContents_CustomEmojiValueSchema = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji.\").nullable(),\n url: z.string().describe(\"HTTP link to the custom emoji image.\").nullable().optional(),\n name: z.string().describe(\"Display name of the custom emoji.\").nullable().optional(),\n}).describe(\"Custom emoji value containing id, name, and url.\");\nconst NotionFetchAllBlockContents_CustomEmojiIconSchema = z.object({\n type: z.string().default(\"custom_emoji\").describe(\"Always 'custom_emoji' for custom emoji icons.\").nullable().optional(),\n custom_emoji: NotionFetchAllBlockContents_CustomEmojiValueSchema.nullable(),\n}).describe(\"Custom emoji icon object.\");\nconst NotionFetchAllBlockContents_ExternalIconFileSchema = z.object({\n url: z.string().describe(\"URL of the external icon file.\").nullable(),\n}).describe(\"External file information for icon.\");\nconst NotionFetchAllBlockContents_ExternalIconSchema = z.object({\n type: z.string().default(\"external\").describe(\"Always 'external' for external file icons.\").nullable().optional(),\n external: NotionFetchAllBlockContents_ExternalIconFileSchema.nullable(),\n}).describe(\"External file icon object.\");\nconst NotionFetchAllBlockContents_HostedIconFileSchema = z.object({\n url: z.string().describe(\"URL of the hosted icon file (authenticated and temporary).\").nullable(),\n expiry_time: z.string().describe(\"Expiration time of the file URL in ISO 8601 format.\").nullable().optional(),\n}).describe(\"Hosted file information for icon.\");\nconst NotionFetchAllBlockContents_FileIconSchema = z.object({\n file: NotionFetchAllBlockContents_HostedIconFileSchema.nullable(),\n type: z.string().default(\"file\").describe(\"Always 'file' for Notion-hosted file icons.\").nullable().optional(),\n}).describe(\"Notion-hosted file icon object.\");\nconst NotionFetchAllBlockContents_CalloutBlockSchema = z.object({\n icon: z.union([NotionFetchAllBlockContents_EmojiIconSchema, NotionFetchAllBlockContents_CustomEmojiIconSchema, NotionFetchAllBlockContents_ExternalIconSchema, NotionFetchAllBlockContents_FileIconSchema]).nullable().optional(),\n color: z.string().describe(\"Color of the callout block.\").nullable().optional(),\n rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the callout content.\"),\n}).describe(\"Callout block content.\");\nconst NotionFetchAllBlockContents_DividerBlockSchema = z.object({}).describe(\"Divider block content (empty object).\");\nconst NotionFetchAllBlockContents_BookmarkBlockSchema = z.object({\n url: z.string().describe(\"URL of the bookmark.\").nullable(),\n caption: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects for the bookmark caption.\").nullable().optional(),\n}).describe(\"Bookmark block content.\");\nconst NotionFetchAllBlockContents_EquationBlockSchema = z.object({\n expression: z.string().describe(\"KaTeX compatible string representing the equation.\").nullable(),\n}).describe(\"Equation block content.\");\nconst NotionFetchAllBlockContents_TemplateBlockSchema = z.object({\n rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects for template content.\"),\n}).describe(\"Template block content.\");\nconst NotionFetchAllBlockContents_HeadingBlockSchema = z.object({\n color: z.string().describe(\"Color of the heading block.\").nullable().optional(),\n rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the heading content.\"),\n}).describe(\"Heading block content (heading_1, heading_2, heading_3).\");\nconst NotionFetchAllBlockContents_ParagraphBlockSchema = z.object({\n color: z.string().describe(\"Color of the paragraph block (e.g., 'default', 'blue', 'green', 'red').\").nullable().optional(),\n rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the paragraph content.\"),\n}).describe(\"Paragraph block content.\");\nconst NotionFetchAllBlockContents_TableRowBlockSchema = z.object({\n cells: z.array(z.array(NotionFetchAllBlockContents_RichTextSchema)).describe(\"Array of arrays, where each inner array contains rich text objects for a cell.\"),\n}).describe(\"Table row block content.\");\nconst NotionFetchAllBlockContents_BreadcrumbBlockSchema = z.object({}).describe(\"Breadcrumb block content (empty object).\");\nconst NotionFetchAllBlockContents_ChildPageBlockSchema = z.object({\n title: z.string().describe(\"Title of the child page.\").nullable(),\n}).describe(\"Child page block content.\");\nconst NotionFetchAllBlockContents_ColumnListBlockSchema = z.object({}).describe(\"Column list block content (empty object but has children columns).\");\nconst NotionFetchAllBlockContents_UnsupportedBlockSchema = z.object({}).describe(\"Unsupported block content.\");\nconst NotionFetchAllBlockContents_LinkPreviewBlockSchema = z.object({\n url: z.string().describe(\"URL of the link preview.\").nullable(),\n}).describe(\"Link preview block content.\");\nconst NotionFetchAllBlockContents_LinkToPageBlockSchema = z.object({\n type: z.string().describe(\"Type of linked page: 'page_id', 'database_id', or 'comment_id'.\").nullable(),\n page_id: z.string().describe(\"ID of the linked page.\").nullable().optional(),\n comment_id: z.string().describe(\"ID of the linked comment.\").nullable().optional(),\n database_id: z.string().describe(\"ID of the linked database.\").nullable().optional(),\n}).describe(\"Link to page block content.\");\nconst NotionFetchAllBlockContents_SyncedFromInfoSchema = z.object({\n block_id: z.string().describe(\"ID of the original synced block.\").nullable().optional(),\n}).describe(\"Synced from information.\");\nconst NotionFetchAllBlockContents_SyncedBlockSchema = z.object({\n synced_from: NotionFetchAllBlockContents_SyncedFromInfoSchema.nullable().optional(),\n}).describe(\"Synced block content.\");\nconst NotionFetchAllBlockContents_ChildDatabaseBlockSchema = z.object({\n title: z.string().describe(\"Title of the child database.\").nullable(),\n}).describe(\"Child database block content.\");\nconst NotionFetchAllBlockContents_TableOfContentsBlockSchema = z.object({\n color: z.string().describe(\"Color of the table of contents block.\").nullable().optional(),\n}).describe(\"Table of contents block content.\");\nconst NotionFetchAllBlockContents_ListItemBlockSchema = z.object({\n color: z.string().describe(\"Color of the list item block.\").nullable().optional(),\n rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the list item content.\"),\n}).describe(\"List item block content (bulleted_list_item, numbered_list_item).\");\nconst NotionFetchAllBlockContents_BlockSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the block (UUIDv4 format).\").nullable(),\n pdf: NotionFetchAllBlockContents_FileBlockSchema.nullable().optional(),\n code: NotionFetchAllBlockContents_CodeBlockSchema.nullable().optional(),\n file: NotionFetchAllBlockContents_FileBlockSchema.nullable().optional(),\n type: z.string().describe(\"Block classification type (e.g., 'paragraph', 'heading_1', 'heading_2', etc.).\").nullable(),\n embed: NotionFetchAllBlockContents_EmbedBlockSchema.nullable().optional(),\n image: NotionFetchAllBlockContents_FileBlockSchema.nullable().optional(),\n quote: NotionFetchAllBlockContents_QuoteBlockSchema.nullable().optional(),\n table: NotionFetchAllBlockContents_TableBlockSchema.nullable().optional(),\n to_do: NotionFetchAllBlockContents_ToDoBlockSchema.nullable().optional(),\n video: NotionFetchAllBlockContents_FileBlockSchema.nullable().optional(),\n column: NotionFetchAllBlockContents_ColumnBlockSchema.nullable().optional(),\n object: z.string().describe(\"Always 'block'.\").nullable(),\n parent: NotionFetchAllBlockContents_ParentInfoSchema.nullable().optional(),\n toggle: NotionFetchAllBlockContents_ToggleBlockSchema.nullable().optional(),\n callout: NotionFetchAllBlockContents_CalloutBlockSchema.nullable().optional(),\n divider: NotionFetchAllBlockContents_DividerBlockSchema.nullable().optional(),\n archived: z.boolean().describe(\"Whether the block is archived.\").nullable().optional(),\n bookmark: NotionFetchAllBlockContents_BookmarkBlockSchema.nullable().optional(),\n equation: NotionFetchAllBlockContents_EquationBlockSchema.nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the block has been deleted.\").nullable().optional(),\n template: NotionFetchAllBlockContents_TemplateBlockSchema.nullable().optional(),\n heading_1: NotionFetchAllBlockContents_HeadingBlockSchema.nullable().optional(),\n heading_2: NotionFetchAllBlockContents_HeadingBlockSchema.nullable().optional(),\n heading_3: NotionFetchAllBlockContents_HeadingBlockSchema.nullable().optional(),\n paragraph: NotionFetchAllBlockContents_ParagraphBlockSchema.nullable().optional(),\n table_row: NotionFetchAllBlockContents_TableRowBlockSchema.nullable().optional(),\n breadcrumb: NotionFetchAllBlockContents_BreadcrumbBlockSchema.nullable().optional(),\n child_page: NotionFetchAllBlockContents_ChildPageBlockSchema.nullable().optional(),\n created_by: NotionFetchAllBlockContents_UserSchema.nullable().optional(),\n column_list: NotionFetchAllBlockContents_ColumnListBlockSchema.nullable().optional(),\n unsupported: NotionFetchAllBlockContents_UnsupportedBlockSchema.nullable().optional(),\n created_time: z.string().describe(\"Creation timestamp in ISO 8601 format.\").nullable().optional(),\n has_children: z.boolean().describe(\"Whether the block contains nested child blocks.\").nullable().optional(),\n link_preview: NotionFetchAllBlockContents_LinkPreviewBlockSchema.nullable().optional(),\n link_to_page: NotionFetchAllBlockContents_LinkToPageBlockSchema.nullable().optional(),\n synced_block: NotionFetchAllBlockContents_SyncedBlockSchema.nullable().optional(),\n child_database: NotionFetchAllBlockContents_ChildDatabaseBlockSchema.nullable().optional(),\n last_edited_by: NotionFetchAllBlockContents_UserSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"Last modification timestamp in ISO 8601 format.\").nullable().optional(),\n table_of_contents: NotionFetchAllBlockContents_TableOfContentsBlockSchema.nullable().optional(),\n bulleted_list_item: NotionFetchAllBlockContents_ListItemBlockSchema.nullable().optional(),\n numbered_list_item: NotionFetchAllBlockContents_ListItemBlockSchema.nullable().optional(),\n}).describe(\"Block object with common and type-specific properties.\");\nconst NotionFetchAllBlockContents_BlockAccessibilityInfoSchema = z.object({\n block_type: z.string().describe(\"The type of the block (e.g., 'page', 'paragraph', 'toggle'). Only present when block_exists is true.\").nullable().optional(),\n block_exists: z.boolean().describe(\"Whether the block was confirmed to exist and be accessible. True means the block exists and the integration has access to it.\").nullable(),\n has_children: z.boolean().describe(\"Whether the block has child blocks according to its metadata. Only present when block_exists is true. When false and results are empty, it confirms the block legitimately has no children.\").nullable().optional(),\n is_empty_valid: z.boolean().describe(\"When results are empty: True means the block exists but legitimately has no children (valid empty state). False or None means something may be wrong with the block or access.\").nullable().optional(),\n}).describe(\"Information about the accessibility and state of the requested block.\");\nconst NotionFetchAllBlockContents_RecursionLimitInfoSchema = z.object({\n max_depth_used: z.number().int().describe(\"The max_depth limit that was applied.\").nullable().optional(),\n max_blocks_used: z.number().int().describe(\"The max_blocks limit that was applied.\").nullable().optional(),\n block_limit_reached: z.boolean().default(false).describe(\"True if max_blocks limit was reached. The response contains partial results.\").nullable().optional(),\n depth_limit_reached: z.boolean().default(false).describe(\"True if max_depth limit was reached during traversal. Some nested content may not be included.\").nullable().optional(),\n actual_depth_reached: z.number().int().describe(\"The deepest nesting level actually reached during traversal.\").nullable().optional(),\n total_blocks_fetched: z.number().int().describe(\"Total number of blocks fetched (may equal max_blocks if limit was hit).\").nullable().optional(),\n}).describe(\"Information about recursion limits when recursive=true.\");\nexport const NotionFetchAllBlockContentsOutput = z.object({\n type: z.string().describe(\"Constant string indicating the object types within results. For this endpoint, typically 'block'.\").nullable().optional(),\n block: NotionFetchAllBlockContents_BlockPaginationMetadataSchema.nullable().optional(),\n object: z.string().describe(\"Always 'list' for paginated responses.\").nullable(),\n results: z.array(NotionFetchAllBlockContents_BlockSchema).describe(\"Array of child block objects contained in the specified block.\"),\n has_more: z.boolean().describe(\"Whether additional results exist beyond this page. Returns false when all results have been retrieved, true when more data is available.\").nullable(),\n block_info: NotionFetchAllBlockContents_BlockAccessibilityInfoSchema.nullable().optional(),\n next_cursor: z.string().describe(\"Cursor value to fetch the next page of results. Only present when has_more is true. Treat as an opaque value and pass as start_cursor parameter in subsequent requests.\").nullable().optional(),\n recursion_info: NotionFetchAllBlockContents_RecursionLimitInfoSchema.nullable().optional(),\n}).describe(\"Response from the Notion API retrieve block children endpoint (GET /v1/blocks/{block_id}/children).\");\n\nexport const notionFetchAllBlockContents = action(\"NOTION_FETCH_ALL_BLOCK_CONTENTS\", {\n slug: \"notion-fetch-all-block-contents\",\n name: \"Fetch All Notion Block Contents\",\n description: \"Tool to fetch all child blocks for a given Notion block. Use when you need a complete listing of a block's children beyond a single page; supports optional recursive expansion of nested blocks.\",\n input: NotionFetchAllBlockContentsInput,\n output: NotionFetchAllBlockContentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oUAAoU,CAAC,CAAC,SAAS;CAC7W,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iVAAiV,CAAC,CAAC,SAAS;CAC1X,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uKAAuK,CAAC,CAAC,SAAS;CACnO,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;CACrL,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS;CAClO,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAI,CAAC,CAAC,SAAS,0NAA0N,CAAC,CAAC,SAAS;AAC3R,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACzF,MAAM,4DAA4D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uHAAuH;AAC/M,MAAM,+CAA+C,EAAE,OAAO;CAC5D,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CAAC,SAAS;CAC7J,qBAAqB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/K,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjJ,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAYrE,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhB+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnJ,OAAO,0DAA0D,SAAS,CAAC,CAAC,SAAS;EACrF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC/E,SAAS,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,gEAAgE;EACnI,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;EACpL,YAAY,yDAAyD,SAAS,CAAC,CAAC,SAAS;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChO,gBAAgB,qDAAqD,SAAS,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,SAAS,qGAOF;AACV,CAAC"}
1
+ {"version":3,"file":"fetch-all-block-contents.mjs","names":[],"sources":["../../src/actions/fetch-all-block-contents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionFetchAllBlockContentsInput = z.object({\n block_id: z.string().describe(\"Identifier (UUID) of the parent Notion block or page whose children to list. Pages are blocks in Notion. Accepts UUIDs with or without hyphens (e.g., 'c02fc1d3-db8b-45c5-a222-27595b15aea7' or 'c02fc1d3db8b45c5a22227595b15aea7'). Either block_id or page_url must be provided. The block must be shared with your integration.\").optional(),\n page_url: z.string().describe(\"Notion page URL from which to extract the page/block ID. Either block_id or page_url must be provided. NOTE: Database view URLs (those containing '?v=' parameter) are NOT supported. Database views are filtered views of a database and do not have block children. To access database content, use the NOTION_QUERY_DATABASE action instead.\").optional(),\n max_depth: z.number().int().default(10).describe(\"Maximum recursion depth when recursive=true. Prevents excessive nesting traversal. Defaults to 10. Set higher for deeply nested structures, lower for faster results.\").optional(),\n page_size: z.number().int().default(100).describe(\"Maximum number of child blocks to return per request. Defaults to 100, with a maximum of 100 as per Notion API limits.\").optional(),\n recursive: z.boolean().default(false).describe(\"If true, fetches nested children for blocks with 'has_children' set to true, appending all descendants to the output list. Subject to max_depth and max_blocks limits.\").optional(),\n max_blocks: z.number().int().default(5000).describe(\"Maximum total blocks to return when recursive=true. Prevents runaway fetches on extremely large block trees. Defaults to 5000. When limit is reached, blocks fetched so far are returned with a warning in the response.\").optional(),\n}).describe(\"Request parameters for fetching all block children with optional recursion.\");\nconst NotionFetchAllBlockContents_BlockPaginationMetadataSchema = z.record(z.string(), z.unknown()).describe(\"Type-specific pagination metadata for block results.\\nFor block children endpoint, this is typically an empty object.\");\nconst NotionFetchAllBlockContents_HostedFileSchema = z.object({\n url: z.string().describe(\"URL of the hosted file (authenticated and temporary).\").nullable(),\n expiry_time: z.string().describe(\"Expiration time of the file URL in ISO 8601 format.\").nullable().optional(),\n}).passthrough().describe(\"Hosted file information.\");\nconst NotionFetchAllBlockContents_TextLinkSchema = z.object({\n url: z.string().describe(\"URL of the link.\").nullable(),\n}).passthrough().describe(\"Link object within text.\");\nconst NotionFetchAllBlockContents_TextContentSchema = z.object({\n link: NotionFetchAllBlockContents_TextLinkSchema.nullable().optional(),\n content: z.string().describe(\"Actual text content.\").nullable(),\n}).passthrough().describe(\"Text-specific content.\");\nconst NotionFetchAllBlockContents_DateMentionValueSchema = z.object({\n end: z.string().describe(\"End date in ISO 8601 format, or null for single dates.\").nullable().optional(),\n start: z.string().describe(\"Start date in ISO 8601 format.\").nullable(),\n time_zone: z.string().describe(\"Time zone information if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Date value within a mention.\");\nconst NotionFetchAllBlockContents_PageMentionReferenceSchema = z.object({\n id: z.string().describe(\"UUIDv4 identifier for the mentioned page.\").nullable(),\n}).passthrough().describe(\"Page reference within a mention.\");\nconst NotionFetchAllBlockContents_BotOwnerSchema = z.object({\n type: z.string().describe(\"Either 'workspace' or 'user'.\").nullable().optional(),\n}).passthrough().describe(\"Bot owner information.\");\nconst NotionFetchAllBlockContents_BotInfoSchema = z.object({\n owner: NotionFetchAllBlockContents_BotOwnerSchema.nullable().optional(),\n workspace_name: z.string().describe(\"Workspace name; null if owner is a user.\").nullable().optional(),\n}).passthrough().describe(\"Bot-specific user information.\");\nconst NotionFetchAllBlockContents_PersonInfoSchema = z.object({\n email: z.string().describe(\"Email address of the person. Only present if integration has user capabilities.\").nullable().optional(),\n}).passthrough().describe(\"Person-specific user information.\");\nconst NotionFetchAllBlockContents_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID).\").nullable(),\n bot: NotionFetchAllBlockContents_BotInfoSchema.nullable().optional(),\n name: z.string().describe(\"User's name as displayed in Notion.\").nullable().optional(),\n type: z.string().describe(\"Either 'person' or 'bot'.\").nullable().optional(),\n object: z.string().describe(\"Always 'user'.\").nullable(),\n person: NotionFetchAllBlockContents_PersonInfoSchema.nullable().optional(),\n avatar_url: z.string().describe(\"URL of the user's chosen avatar image.\").nullable().optional(),\n}).passthrough().describe(\"User object representing a Notion user.\");\nconst NotionFetchAllBlockContents_DatabaseMentionReferenceSchema = z.object({\n id: z.string().describe(\"UUIDv4 identifier for the mentioned database.\").nullable(),\n}).passthrough().describe(\"Database reference within a mention.\");\nconst NotionFetchAllBlockContents_LinkPreviewMentionValueSchema = z.object({\n url: z.string().describe(\"URL of the link preview.\").nullable(),\n}).passthrough().describe(\"Link preview value within a mention.\");\nconst NotionFetchAllBlockContents_TemplateMentionDateValueSchema = z.object({\n type: z.string().describe(\"Type of template mention date: 'template_mention_date'.\").nullable(),\n template_mention_date: z.string().describe(\"Template date value: 'today' or 'now'.\").nullable(),\n}).passthrough().describe(\"Template mention date value.\");\nconst NotionFetchAllBlockContents_TemplateMentionUserValueSchema = z.object({\n type: z.string().describe(\"Type of template mention user: 'template_mention_user'.\").nullable(),\n template_mention_user: z.string().describe(\"Template user value: 'me'.\").nullable(),\n}).passthrough().describe(\"Template mention user value.\");\nconst NotionFetchAllBlockContents_MentionObjectSchema = z.object({\n date: NotionFetchAllBlockContents_DateMentionValueSchema.nullable().optional(),\n page: NotionFetchAllBlockContents_PageMentionReferenceSchema.nullable().optional(),\n type: z.string().describe(\"Type of mention: 'database', 'date', 'link_preview', 'page', 'template_mention', or 'user'.\").nullable(),\n user: NotionFetchAllBlockContents_UserSchema.nullable().optional(),\n database: NotionFetchAllBlockContents_DatabaseMentionReferenceSchema.nullable().optional(),\n link_preview: NotionFetchAllBlockContents_LinkPreviewMentionValueSchema.nullable().optional(),\n template_mention: z.union([NotionFetchAllBlockContents_TemplateMentionDateValueSchema, NotionFetchAllBlockContents_TemplateMentionUserValueSchema]).nullable().optional(),\n}).passthrough().describe(\"Mention object containing reference to database, date, link_preview, page, template_mention, or user.\");\nconst NotionFetchAllBlockContents_EquationContentSchema = z.object({\n expression: z.string().describe(\"LaTeX formula representation.\").nullable(),\n}).passthrough().describe(\"Equation-specific content.\");\nconst NotionFetchAllBlockContents_AnnotationsSchema = 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(\"Color of the text (e.g., 'default', 'blue', 'green', 'red', or background variants).\").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().describe(\"Styling configuration for rich text.\");\nconst NotionFetchAllBlockContents_RichTextSchema = z.object({\n href: z.string().describe(\"URL for links or Notion mentions.\").nullable().optional(),\n text: NotionFetchAllBlockContents_TextContentSchema.nullable().optional(),\n type: z.string().describe(\"Type of rich text: 'text', 'mention', or 'equation'.\").nullable(),\n mention: NotionFetchAllBlockContents_MentionObjectSchema.nullable().optional(),\n equation: NotionFetchAllBlockContents_EquationContentSchema.nullable().optional(),\n plain_text: z.string().describe(\"Unformatted text content.\").nullable(),\n annotations: NotionFetchAllBlockContents_AnnotationsSchema.nullable(),\n}).passthrough().describe(\"Rich text object.\");\nconst NotionFetchAllBlockContents_ExternalFileSchema = z.object({\n url: z.string().describe(\"URL of the external file.\").nullable(),\n}).passthrough().describe(\"External file information.\");\nconst NotionFetchAllBlockContents_FileBlockSchema = z.object({\n file: NotionFetchAllBlockContents_HostedFileSchema.nullable().optional(),\n type: z.string().describe(\"Type of file: 'external' or 'file'.\").nullable(),\n caption: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects for the caption.\").nullable().optional(),\n external: NotionFetchAllBlockContents_ExternalFileSchema.nullable().optional(),\n}).passthrough().describe(\"File/Image/Video/PDF block content.\");\nconst NotionFetchAllBlockContents_CodeBlockSchema = z.object({\n caption: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects for the code caption.\").nullable().optional(),\n language: z.string().describe(\"Programming language of the code block.\").nullable(),\n rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the code content.\"),\n}).passthrough().describe(\"Code block content.\");\nconst NotionFetchAllBlockContents_EmbedBlockSchema = z.object({\n url: z.string().describe(\"URL of the embed.\").nullable(),\n}).passthrough().describe(\"Embed block content.\");\nconst NotionFetchAllBlockContents_QuoteBlockSchema = z.object({\n color: z.string().describe(\"Color of the quote block.\").nullable().optional(),\n rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the quote content.\"),\n}).passthrough().describe(\"Quote block content.\");\nconst NotionFetchAllBlockContents_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().optional(),\n has_column_header: z.boolean().describe(\"Whether the table has a column header.\").nullable().optional(),\n}).passthrough().describe(\"Table block content.\");\nconst NotionFetchAllBlockContents_ToDoBlockSchema = z.object({\n color: z.string().describe(\"Color of the to-do block.\").nullable().optional(),\n checked: z.boolean().describe(\"Whether the to-do is checked.\").nullable().optional(),\n rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the to-do content.\"),\n}).passthrough().describe(\"To-do block content.\");\nconst NotionFetchAllBlockContents_ColumnBlockSchema = z.record(z.string(), z.unknown()).describe(\"Column block content (empty object but has children blocks).\");\nconst NotionFetchAllBlockContents_ParentInfoSchema = z.object({\n type: z.string().describe(\"Type of parent: 'page_id', 'database_id', 'block_id', 'data_source_id', or 'workspace'.\").nullable(),\n page_id: z.string().describe(\"ID of the parent page (UUIDv4). Present when type is 'page_id'.\").nullable().optional(),\n block_id: z.string().describe(\"ID of the parent block (UUIDv4). Present when type is 'block_id'.\").nullable().optional(),\n workspace: z.boolean().describe(\"Always true when type is 'workspace', indicating a top-level block.\").nullable().optional(),\n database_id: z.string().describe(\"ID of the parent database (UUIDv4). Present when type is 'database_id'.\").nullable().optional(),\n data_source_id: z.string().describe(\"ID of the parent data source (UUIDv4). Present when type is 'data_source_id'.\").nullable().optional(),\n}).passthrough().describe(\"Information about the block's parent.\");\nconst NotionFetchAllBlockContents_ToggleBlockSchema = z.object({\n color: z.string().describe(\"Color of the toggle block.\").nullable().optional(),\n rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the toggle content.\"),\n}).passthrough().describe(\"Toggle block content.\");\nconst NotionFetchAllBlockContents_EmojiIconSchema = z.object({\n type: z.string().default(\"emoji\").describe(\"Always 'emoji' for standard emoji icons.\").nullable().optional(),\n emoji: z.string().describe(\"Emoji character (e.g., '😻').\").nullable(),\n}).passthrough().describe(\"Emoji icon object.\");\nconst NotionFetchAllBlockContents_CustomEmojiValueSchema = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji.\").nullable(),\n url: z.string().describe(\"HTTP link 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 value containing id, name, and url.\");\nconst NotionFetchAllBlockContents_CustomEmojiIconSchema = z.object({\n type: z.string().default(\"custom_emoji\").describe(\"Always 'custom_emoji' for custom emoji icons.\").nullable().optional(),\n custom_emoji: NotionFetchAllBlockContents_CustomEmojiValueSchema.nullable(),\n}).passthrough().describe(\"Custom emoji icon object.\");\nconst NotionFetchAllBlockContents_ExternalIconFileSchema = z.object({\n url: z.string().describe(\"URL of the external icon file.\").nullable(),\n}).passthrough().describe(\"External file information for icon.\");\nconst NotionFetchAllBlockContents_ExternalIconSchema = z.object({\n type: z.string().default(\"external\").describe(\"Always 'external' for external file icons.\").nullable().optional(),\n external: NotionFetchAllBlockContents_ExternalIconFileSchema.nullable(),\n}).passthrough().describe(\"External file icon object.\");\nconst NotionFetchAllBlockContents_HostedIconFileSchema = z.object({\n url: z.string().describe(\"URL of the hosted icon file (authenticated and temporary).\").nullable(),\n expiry_time: z.string().describe(\"Expiration time of the file URL in ISO 8601 format.\").nullable().optional(),\n}).passthrough().describe(\"Hosted file information for icon.\");\nconst NotionFetchAllBlockContents_FileIconSchema = z.object({\n file: NotionFetchAllBlockContents_HostedIconFileSchema.nullable(),\n type: z.string().default(\"file\").describe(\"Always 'file' for Notion-hosted file icons.\").nullable().optional(),\n}).passthrough().describe(\"Notion-hosted file icon object.\");\nconst NotionFetchAllBlockContents_CalloutBlockSchema = z.object({\n icon: z.union([NotionFetchAllBlockContents_EmojiIconSchema, NotionFetchAllBlockContents_CustomEmojiIconSchema, NotionFetchAllBlockContents_ExternalIconSchema, NotionFetchAllBlockContents_FileIconSchema]).nullable().optional(),\n color: z.string().describe(\"Color of the callout block.\").nullable().optional(),\n rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the callout content.\"),\n}).passthrough().describe(\"Callout block content.\");\nconst NotionFetchAllBlockContents_DividerBlockSchema = z.record(z.string(), z.unknown()).describe(\"Divider block content (empty object).\");\nconst NotionFetchAllBlockContents_BookmarkBlockSchema = z.object({\n url: z.string().describe(\"URL of the bookmark.\").nullable(),\n caption: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects for the bookmark caption.\").nullable().optional(),\n}).passthrough().describe(\"Bookmark block content.\");\nconst NotionFetchAllBlockContents_EquationBlockSchema = z.object({\n expression: z.string().describe(\"KaTeX compatible string representing the equation.\").nullable(),\n}).passthrough().describe(\"Equation block content.\");\nconst NotionFetchAllBlockContents_TemplateBlockSchema = z.object({\n rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects for template content.\"),\n}).passthrough().describe(\"Template block content.\");\nconst NotionFetchAllBlockContents_HeadingBlockSchema = z.object({\n color: z.string().describe(\"Color of the heading block.\").nullable().optional(),\n rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the heading content.\"),\n}).passthrough().describe(\"Heading block content (heading_1, heading_2, heading_3).\");\nconst NotionFetchAllBlockContents_ParagraphBlockSchema = z.object({\n color: z.string().describe(\"Color of the paragraph block (e.g., 'default', 'blue', 'green', 'red').\").nullable().optional(),\n rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the paragraph content.\"),\n}).passthrough().describe(\"Paragraph block content.\");\nconst NotionFetchAllBlockContents_TableRowBlockSchema = z.object({\n cells: z.array(z.array(NotionFetchAllBlockContents_RichTextSchema)).describe(\"Array of arrays, where each inner array contains rich text objects for a cell.\"),\n}).passthrough().describe(\"Table row block content.\");\nconst NotionFetchAllBlockContents_BreadcrumbBlockSchema = z.record(z.string(), z.unknown()).describe(\"Breadcrumb block content (empty object).\");\nconst NotionFetchAllBlockContents_ChildPageBlockSchema = z.object({\n title: z.string().describe(\"Title of the child page.\").nullable(),\n}).passthrough().describe(\"Child page block content.\");\nconst NotionFetchAllBlockContents_ColumnListBlockSchema = z.record(z.string(), z.unknown()).describe(\"Column list block content (empty object but has children columns).\");\nconst NotionFetchAllBlockContents_UnsupportedBlockSchema = z.record(z.string(), z.unknown()).describe(\"Unsupported block content.\");\nconst NotionFetchAllBlockContents_LinkPreviewBlockSchema = z.object({\n url: z.string().describe(\"URL of the link preview.\").nullable(),\n}).passthrough().describe(\"Link preview block content.\");\nconst NotionFetchAllBlockContents_LinkToPageBlockSchema = z.object({\n type: z.string().describe(\"Type of linked page: 'page_id', 'database_id', or 'comment_id'.\").nullable(),\n page_id: z.string().describe(\"ID of the linked page.\").nullable().optional(),\n comment_id: z.string().describe(\"ID of the linked comment.\").nullable().optional(),\n database_id: z.string().describe(\"ID of the linked database.\").nullable().optional(),\n}).passthrough().describe(\"Link to page block content.\");\nconst NotionFetchAllBlockContents_SyncedFromInfoSchema = z.object({\n block_id: z.string().describe(\"ID of the original synced block.\").nullable().optional(),\n}).passthrough().describe(\"Synced from information.\");\nconst NotionFetchAllBlockContents_SyncedBlockSchema = z.object({\n synced_from: NotionFetchAllBlockContents_SyncedFromInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Synced block content.\");\nconst NotionFetchAllBlockContents_ChildDatabaseBlockSchema = z.object({\n title: z.string().describe(\"Title of the child database.\").nullable(),\n}).passthrough().describe(\"Child database block content.\");\nconst NotionFetchAllBlockContents_TableOfContentsBlockSchema = z.object({\n color: z.string().describe(\"Color of the table of contents block.\").nullable().optional(),\n}).passthrough().describe(\"Table of contents block content.\");\nconst NotionFetchAllBlockContents_ListItemBlockSchema = z.object({\n color: z.string().describe(\"Color of the list item block.\").nullable().optional(),\n rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the list item content.\"),\n}).passthrough().describe(\"List item block content (bulleted_list_item, numbered_list_item).\");\nconst NotionFetchAllBlockContents_BlockSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the block (UUIDv4 format).\").nullable(),\n pdf: NotionFetchAllBlockContents_FileBlockSchema.nullable().optional(),\n code: NotionFetchAllBlockContents_CodeBlockSchema.nullable().optional(),\n file: NotionFetchAllBlockContents_FileBlockSchema.nullable().optional(),\n type: z.string().describe(\"Block classification type (e.g., 'paragraph', 'heading_1', 'heading_2', etc.).\").nullable(),\n embed: NotionFetchAllBlockContents_EmbedBlockSchema.nullable().optional(),\n image: NotionFetchAllBlockContents_FileBlockSchema.nullable().optional(),\n quote: NotionFetchAllBlockContents_QuoteBlockSchema.nullable().optional(),\n table: NotionFetchAllBlockContents_TableBlockSchema.nullable().optional(),\n to_do: NotionFetchAllBlockContents_ToDoBlockSchema.nullable().optional(),\n video: NotionFetchAllBlockContents_FileBlockSchema.nullable().optional(),\n column: NotionFetchAllBlockContents_ColumnBlockSchema.nullable().optional(),\n object: z.string().describe(\"Always 'block'.\").nullable(),\n parent: NotionFetchAllBlockContents_ParentInfoSchema.nullable().optional(),\n toggle: NotionFetchAllBlockContents_ToggleBlockSchema.nullable().optional(),\n callout: NotionFetchAllBlockContents_CalloutBlockSchema.nullable().optional(),\n divider: NotionFetchAllBlockContents_DividerBlockSchema.nullable().optional(),\n archived: z.boolean().describe(\"Whether the block is archived.\").nullable().optional(),\n bookmark: NotionFetchAllBlockContents_BookmarkBlockSchema.nullable().optional(),\n equation: NotionFetchAllBlockContents_EquationBlockSchema.nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the block has been deleted.\").nullable().optional(),\n template: NotionFetchAllBlockContents_TemplateBlockSchema.nullable().optional(),\n heading_1: NotionFetchAllBlockContents_HeadingBlockSchema.nullable().optional(),\n heading_2: NotionFetchAllBlockContents_HeadingBlockSchema.nullable().optional(),\n heading_3: NotionFetchAllBlockContents_HeadingBlockSchema.nullable().optional(),\n paragraph: NotionFetchAllBlockContents_ParagraphBlockSchema.nullable().optional(),\n table_row: NotionFetchAllBlockContents_TableRowBlockSchema.nullable().optional(),\n breadcrumb: NotionFetchAllBlockContents_BreadcrumbBlockSchema.nullable().optional(),\n child_page: NotionFetchAllBlockContents_ChildPageBlockSchema.nullable().optional(),\n created_by: NotionFetchAllBlockContents_UserSchema.nullable().optional(),\n column_list: NotionFetchAllBlockContents_ColumnListBlockSchema.nullable().optional(),\n unsupported: NotionFetchAllBlockContents_UnsupportedBlockSchema.nullable().optional(),\n created_time: z.string().describe(\"Creation timestamp in ISO 8601 format.\").nullable().optional(),\n has_children: z.boolean().describe(\"Whether the block contains nested child blocks.\").nullable().optional(),\n link_preview: NotionFetchAllBlockContents_LinkPreviewBlockSchema.nullable().optional(),\n link_to_page: NotionFetchAllBlockContents_LinkToPageBlockSchema.nullable().optional(),\n synced_block: NotionFetchAllBlockContents_SyncedBlockSchema.nullable().optional(),\n child_database: NotionFetchAllBlockContents_ChildDatabaseBlockSchema.nullable().optional(),\n last_edited_by: NotionFetchAllBlockContents_UserSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"Last modification timestamp in ISO 8601 format.\").nullable().optional(),\n table_of_contents: NotionFetchAllBlockContents_TableOfContentsBlockSchema.nullable().optional(),\n bulleted_list_item: NotionFetchAllBlockContents_ListItemBlockSchema.nullable().optional(),\n numbered_list_item: NotionFetchAllBlockContents_ListItemBlockSchema.nullable().optional(),\n}).passthrough().describe(\"Block object with common and type-specific properties.\");\nconst NotionFetchAllBlockContents_BlockAccessibilityInfoSchema = z.object({\n block_type: z.string().describe(\"The type of the block (e.g., 'page', 'paragraph', 'toggle'). Only present when block_exists is true.\").nullable().optional(),\n block_exists: z.boolean().describe(\"Whether the block was confirmed to exist and be accessible. True means the block exists and the integration has access to it.\").nullable(),\n has_children: z.boolean().describe(\"Whether the block has child blocks according to its metadata. Only present when block_exists is true. When false and results are empty, it confirms the block legitimately has no children.\").nullable().optional(),\n is_empty_valid: z.boolean().describe(\"When results are empty: True means the block exists but legitimately has no children (valid empty state). False or None means something may be wrong with the block or access.\").nullable().optional(),\n}).passthrough().describe(\"Information about the accessibility and state of the requested block.\");\nconst NotionFetchAllBlockContents_RecursionLimitInfoSchema = z.object({\n max_depth_used: z.number().int().describe(\"The max_depth limit that was applied.\").nullable().optional(),\n max_blocks_used: z.number().int().describe(\"The max_blocks limit that was applied.\").nullable().optional(),\n block_limit_reached: z.boolean().default(false).describe(\"True if max_blocks limit was reached. The response contains partial results.\").nullable().optional(),\n depth_limit_reached: z.boolean().default(false).describe(\"True if max_depth limit was reached during traversal. Some nested content may not be included.\").nullable().optional(),\n actual_depth_reached: z.number().int().describe(\"The deepest nesting level actually reached during traversal.\").nullable().optional(),\n total_blocks_fetched: z.number().int().describe(\"Total number of blocks fetched (may equal max_blocks if limit was hit).\").nullable().optional(),\n}).passthrough().describe(\"Information about recursion limits when recursive=true.\");\nexport const NotionFetchAllBlockContentsOutput = z.object({\n type: z.string().describe(\"Constant string indicating the object types within results. For this endpoint, typically 'block'.\").nullable().optional(),\n block: NotionFetchAllBlockContents_BlockPaginationMetadataSchema.nullable().optional(),\n object: z.string().describe(\"Always 'list' for paginated responses.\").nullable(),\n results: z.array(NotionFetchAllBlockContents_BlockSchema).describe(\"Array of child block objects contained in the specified block.\"),\n has_more: z.boolean().describe(\"Whether additional results exist beyond this page. Returns false when all results have been retrieved, true when more data is available.\").nullable(),\n block_info: NotionFetchAllBlockContents_BlockAccessibilityInfoSchema.nullable().optional(),\n next_cursor: z.string().describe(\"Cursor value to fetch the next page of results. Only present when has_more is true. Treat as an opaque value and pass as start_cursor parameter in subsequent requests.\").nullable().optional(),\n recursion_info: NotionFetchAllBlockContents_RecursionLimitInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response from the Notion API retrieve block children endpoint (GET /v1/blocks/{block_id}/children).\");\n\nexport const notionFetchAllBlockContents = action(\"NOTION_FETCH_ALL_BLOCK_CONTENTS\", {\n slug: \"notion-fetch-all-block-contents\",\n name: \"Fetch All Notion Block Contents\",\n description: \"Tool to fetch all child blocks for a given Notion block. Use when you need a complete listing of a block's children beyond a single page; supports optional recursive expansion of nested blocks.\",\n input: NotionFetchAllBlockContentsInput,\n output: NotionFetchAllBlockContentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oUAAoU,CAAC,CAAC,SAAS;CAC7W,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iVAAiV,CAAC,CAAC,SAAS;CAC1X,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uKAAuK,CAAC,CAAC,SAAS;CACnO,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;CACrL,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS;CAClO,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAI,CAAC,CAAC,SAAS,0NAA0N,CAAC,CAAC,SAAS;AAC3R,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACzF,MAAM,4DAA4D,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uHAAuH;AACpO,MAAM,+CAA+C,EAAE,OAAO;CAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;A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